/* === DEFAULT: DARK MODE === */
body {
  background-color: #0d0d0d;
  color: #e0e0e0;
  font-family: Arial, sans-serif;
  transition: background-color 0.3s, color 0.3s;
}

a {
  color: #5ce1e6;
  text-decoration: none;
}

header, footer {
  background-color: #1a1a1a;
  padding: 1em;
  text-align: center;
}

.button-link {
  display: inline-block;
  background-color: #5ce1e6;
  color: #0d0d0d;
  padding: 0.5em 1em;
  margin-top: 1em;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
}

/* === LIGHT MODE === */
body.light-mode {
  background-color: #ffffff;
  color: #1a1a1a;
}

body.light-mode a {
  color: #0077cc;
}

body.light-mode header,
body.light-mode footer {
  background-color: #f2f2f2;
  color: #1a1a1a;
}

body.light-mode .button-link {
  background-color: #5ce1e6;
  color: #1a1a1a;
}

/* Darkmode (optional, falls du's zentralisieren willst) */
.style-card {
  background-color: #1a1a1a;
  color: #e0e0e0;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s, color 0.3s;
}

/* Brightmode – jetzt korrekt auf .style-card */
body.light-mode .style-card {
  background-color: #f9f9f9;
  color: #1a1a1a;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

body.light-mode .style-card * {
  color: inherit;
}

.theme-toggle-btn {
  position: fixed;
  top: 1rem;
  right: 1rem;
  padding: 0.5em 1em;
  border: none;
  background-color: #5ce1e6;
  color: #0d0d0d;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  transition: background-color 0.3s, color 0.3s;
}

.theme-toggle-btn:hover {
  background-color: #3acfd3;
}

.theme-toggle-btn {
  position: fixed;
  top: 1rem;
  right: 1rem;
  padding: 0.5em 1em;
  border: none;
  background-color: #5ce1e6;
  color: #0d0d0d;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  transition: background-color 0.3s, color 0.3s;
}

.theme-toggle-btn:hover {
  background-color: #3acfd3;
}

.logo-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.logo-img {
  height: 80px;
  max-width: 160px;
  object-fit: contain;
}

.logo-title {
  font-size: 2.5rem;
  font-weight: 500;
  background: linear-gradient(45deg, #ccc, #888);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0;
}

body.light-mode {
  background: #f4f4f4;
  color: #111;
}

body.light-mode h1, 
body.light-mode h2 {
  color: #009ca1;
}

body.light-mode a.button {
  background: #009ca1;
  color: #fff;
}

body.light-mode .button:hover {
  background: #007b7e;
}

body.light-mode table {
  border-color: #ccc;
}

body.light-mode th {
  background: #e0e0e0;
  color: #000;
}

body.light-mode tr:nth-child(even) {
  background: #f9f9f9;
}

body.light-mode tr:nth-child(odd) {
  background: #ffffff;
}

body.light-mode td {
  color: #111;
}

body.light-mode footer {
  color: #555;
}

details {
  background: #1a1a1a;
  margin: 1rem 0;
  padding: 1rem;
  border-radius: 6px;
  cursor: pointer;
}

details[open] {
  background: #2a2a2a;
}

details summary {
  font-weight: bold;
  color: #5ce1e6;
  margin-bottom: 0.5rem;
}

details p {
  margin: 0.5rem 0 0;
}

body.light-mode details {
  background: #fff;
  color: #111;
  border: 1px solid #ddd;
}

body.light-mode details[open] {
  background: #f9f9f9;
}

body.light-mode details summary {
  color: #009ca1;
}
