:root {
  --papier: #f6f4ef;
  --karte: #ffffff;
  --tinte: #1b1f24;
  --leise: #5f6670;
  --linie: #e3dfd6;
  --blau: #0b3d91;
  --blau-hell: #e6edf9;
  --rot: #cd2e3a;
  --rot-hell: #fbe9ea;
  --gruen: #1f7a4d;
  --schatten: 0 1px 2px rgba(20, 20, 20, 0.06);
  --rund: 14px;
  --oben: env(safe-area-inset-top, 0px);
  --unten: env(safe-area-inset-bottom, 0px);
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --papier: #111317;
    --karte: #1b1e24;
    --tinte: #eceae4;
    --leise: #9aa0a8;
    --linie: #2c3038;
    --blau: #7fa7ec;
    --blau-hell: #1c2a44;
    --rot: #ff7b84;
    --rot-hell: #3a1d21;
    --gruen: #5cc28e;
    --schatten: none;
  }
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html, body {
  margin: 0;
  background: var(--papier);
  color: var(--tinte);
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Segoe UI", "Noto Sans KR", sans-serif;
  font-size: 17px;
  line-height: 1.45;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

.kopf {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: calc(var(--oben) + 10px) 16px 10px;
  background: color-mix(in srgb, var(--papier) 92%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--linie);
}
.kopf h1 { margin: 0; font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.zurueck {
  border: 0; background: none; font-size: 32px; line-height: 1; padding: 0 10px 4px 0;
  color: var(--blau); margin-left: -4px;
}

main {
  padding: 14px 16px calc(var(--unten) + 96px);
  max-width: 640px;
  margin: 0 auto;
}

/* Untere Leiste */
.leiste {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 6;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 6px 4px calc(var(--unten) + 6px);
  background: color-mix(in srgb, var(--karte) 94%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--linie);
}
.leiste a {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  font-size: 11px; color: var(--leise); text-decoration: none; padding: 4px 0;
}
.leiste a svg { width: 25px; height: 25px; }
.leiste a.aktiv { color: var(--blau); font-weight: 600; }

/* Bausteine */
.karte {
  background: var(--karte);
  border: 1px solid var(--linie);
  border-radius: var(--rund);
  padding: 14px 16px;
  margin-bottom: 12px;
  box-shadow: var(--schatten);
}
.karte h2 { margin: 0 0 6px; font-size: 19px; letter-spacing: -0.01em; }
.karte h3 { margin: 0 0 4px; font-size: 16px; }
.karte p { margin: 0 0 8px; }
.karte p:last-child { margin-bottom: 0; }
.karte ul { margin: 6px 0 0; padding-left: 20px; }
.karte li { margin: 3px 0; }

.abschnitt { margin: 22px 2px 8px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--leise); }
.leise { color: var(--leise); font-size: 15px; }
.klein { font-size: 13px; }

.marke {
  display: inline-block; font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 999px;
  background: var(--blau-hell); color: var(--blau); vertical-align: middle;
}
.marke.rot { background: var(--rot-hell); color: var(--rot); }

.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border: 0; border-radius: 12px; padding: 12px 16px;
  background: var(--blau); color: #fff; font-weight: 600; text-decoration: none;
}
@media (prefers-color-scheme: dark) { .knopf { color: #0d1420; } }
.knopf.zweit { background: var(--blau-hell); color: var(--blau); }
.knopf.breit { width: 100%; }
.knoepfe { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.knoepfe .knopf { flex: 1 1 140px; }

/* Countdown und Tage */

.tage {
  display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 10px; margin: 0 -16px 4px; padding-left: 16px;
  scrollbar-width: none;
}
.tage::-webkit-scrollbar { display: none; }
.tag {
  flex: 0 0 auto; width: 54px; border: 1px solid var(--linie); background: var(--karte);
  border-radius: 12px; padding: 6px 0; text-align: center; line-height: 1.15;
}
.tag b { display: block; font-size: 20px; }
.tag span { font-size: 12px; color: var(--leise); }
.tag.gewaehlt { background: var(--blau); border-color: var(--blau); color: #fff; }
.tag.gewaehlt span { color: rgba(255, 255, 255, 0.85); }
@media (prefers-color-scheme: dark) { .tag.gewaehlt { color: #0d1420; } .tag.gewaehlt span { color: #0d1420; } }
.tag.heute { border-color: var(--rot); border-width: 2px; }

/* Listen */
.liste { background: var(--karte); border: 1px solid var(--linie); border-radius: var(--rund); overflow: hidden; margin-bottom: 12px; }
.zeile {
  display: flex; align-items: center; gap: 12px; width: 100%; text-align: left;
  padding: 12px 16px; border: 0; background: none; border-top: 1px solid var(--linie);
  text-decoration: none; color: inherit;
}
.zeile:first-child { border-top: 0; }
.zeile .haupt { flex: 1; min-width: 0; }
.zeile .pfeil { color: var(--leise); font-size: 20px; }
.zeile .icon { font-size: 22px; width: 28px; text-align: center; }

.ko { font-size: 22px; font-weight: 600; line-height: 1.3; word-break: keep-all; }
.rr { color: var(--blau); font-size: 15px; }
.ue { font-size: 15px; color: var(--leise); }

.chips { display: flex; gap: 6px; overflow-x: auto; margin: 0 -16px 12px; padding: 0 16px 2px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto; border: 1px solid var(--linie); background: var(--karte); border-radius: 999px;
  padding: 6px 12px; font-size: 14px; white-space: nowrap;
}
.chip.an { background: var(--tinte); color: var(--papier); border-color: var(--tinte); }

.suche {
  width: 100%; border: 1px solid var(--linie); background: var(--karte); border-radius: 12px;
  padding: 11px 14px; margin-bottom: 10px; font-size: 16px;
}

.stern { border: 0; background: none; font-size: 22px; color: var(--leise); padding: 4px; }
.stern.an { color: #e0a100; }
.laut { border: 0; background: var(--blau-hell); color: var(--blau); border-radius: 999px; width: 38px; height: 38px; font-size: 17px; flex: 0 0 auto; }

/* Vollbild zum Zeigen */
.vollbild {
  position: fixed; inset: 0; z-index: 20; background: var(--karte);
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  padding: calc(var(--oben) + 24px) 24px calc(var(--unten) + 24px); text-align: center;
}
.vollbild .gross { font-size: clamp(34px, 10vw, 60px); font-weight: 700; line-height: 1.25; word-break: keep-all; }
.vollbild .mittel { font-size: clamp(22px, 6vw, 30px); font-weight: 600; margin-top: 18px; word-break: keep-all; }
.vollbild .unter { margin-top: 24px; color: var(--leise); font-size: 17px; }
.vollbild .zu { position: absolute; top: calc(var(--oben) + 12px); right: 16px; border: 0; background: var(--blau-hell); color: var(--blau); border-radius: 999px; width: 44px; height: 44px; font-size: 22px; }
.vollbild .knoepfe { justify-content: center; margin-top: 28px; }
.vollbild .knoepfe .knopf { flex: 0 0 auto; }

/* Hangul */
.raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(70px, 1fr)); gap: 8px; margin-bottom: 12px; }
.zeichen {
  border: 1px solid var(--linie); background: var(--karte); border-radius: 12px; padding: 8px 0 6px;
  text-align: center; line-height: 1.1;
}
.zeichen b { display: block; font-size: 32px; font-weight: 600; }
.zeichen span { font-size: 13px; color: var(--blau); }
.balken { height: 8px; background: var(--linie); border-radius: 99px; overflow: hidden; margin-top: 8px; }
.balken i { display: block; height: 100%; background: var(--gruen); border-radius: 99px; }

.frage { text-align: center; padding: 26px 16px; }
.frage .ko { font-size: 64px; font-weight: 700; }
.antworten { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.antwort {
  border: 2px solid var(--linie); background: var(--karte); border-radius: 14px; padding: 16px 8px;
  font-size: 18px; font-weight: 600; min-height: 64px;
}
.antwort.richtig { border-color: var(--gruen); background: color-mix(in srgb, var(--gruen) 14%, var(--karte)); }
.antwort.falsch { border-color: var(--rot); background: var(--rot-hell); }

/* Formulare und Haken */
.feld { display: block; margin-bottom: 12px; }
.feld span { display: block; font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.feld input, .feld textarea {
  width: 100%; border: 1px solid var(--linie); background: var(--papier); border-radius: 10px; padding: 10px 12px; font-size: 16px;
}
.haken { display: flex; gap: 12px; align-items: flex-start; padding: 11px 16px; border-top: 1px solid var(--linie); }
.haken:first-child { border-top: 0; }
.haken input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--blau); flex: 0 0 auto; }
.haken.erledigt span { color: var(--leise); text-decoration: line-through; }



/* ---------- Version 2: auffälligeres Design ---------- */
.kopf h1 { font-weight: 800; }

/* Titelbild */
.hero {
  position: relative; overflow: hidden; color: #fff;
  border-radius: 24px; min-height: 300px; margin-bottom: 14px;
  background:
    linear-gradient(#06173a, #06173a) bottom / 100% 56px no-repeat,
    linear-gradient(165deg, #0a2463 0%, #1450b8 58%, #3d7fe6 100%);
  box-shadow: 0 10px 30px rgba(11, 61, 145, 0.28);
}
@media (prefers-color-scheme: dark) { .hero { box-shadow: none; } }
.hero-bild { position: absolute; left: 0; top: 0; width: 100%; height: calc(100% - 55px); }
.hero-bild .sonne { transform-origin: 318px 70px; animation: glut 6s ease-in-out infinite; }
@keyframes glut { 50% { transform: scale(1.06); opacity: 0.92; } }
.hero-text { position: relative; padding: 18px 20px 0; }
.hero-ort { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.85; }
.hero-zahl { font-size: 68px; font-weight: 900; line-height: 1; letter-spacing: -0.04em; margin-top: 6px; }
.hero-unter { font-size: 16px; font-weight: 600; opacity: 0.92; }
.ticker { font-variant-numeric: tabular-nums; font-size: 15px; opacity: 0.75; margin-top: 2px; letter-spacing: 0.04em; }
.uhren {
  position: absolute; left: 12px; right: 12px; bottom: 10px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}
.uhren > div {
  display: flex; justify-content: space-between; align-items: baseline;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-radius: 12px; padding: 6px 10px; font-size: 12px;
}
.uhren b { font-size: 17px; font-variant-numeric: tabular-nums; }

/* Werkzeug-Kacheln */
.werkzeuge { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 4px; }
.kachel {
  position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 108px; padding: 12px 14px; border-radius: 18px; color: #fff; text-decoration: none;
  transition: transform 0.15s ease;
}
.kachel:active { transform: scale(0.97); }
.kachel b { font-size: 16px; line-height: 1.2; }
.kachel small { font-size: 13px; opacity: 0.88; }
.k-icon {
  position: absolute; top: 8px; right: 12px; font-size: 38px; font-weight: 800; opacity: 0.35; line-height: 1;
}
.k-blau { background: linear-gradient(140deg, #1450b8, #2f86e8); }
.k-lila { background: linear-gradient(140deg, #5b2bb5, #9b5de5); }
.k-rot { background: linear-gradient(140deg, #b3202c, #ef5a4c); }
.k-gruen { background: linear-gradient(140deg, #127a52, #2fb57c); }

/* Einblenden beim Seitenwechsel */
.rein > * { animation: rein 0.38s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.rein > *:nth-child(2) { animation-delay: 0.04s; }
.rein > *:nth-child(3) { animation-delay: 0.08s; }
.rein > *:nth-child(4) { animation-delay: 0.12s; }
.rein > *:nth-child(5) { animation-delay: 0.16s; }
.rein > *:nth-child(n+6) { animation-delay: 0.2s; }
@keyframes rein { from { opacity: 0; transform: translateY(10px); } }
@media (prefers-reduced-motion: reduce) { .rein > *, .hero-bild .sonne { animation: none; } }

/* Untere Leiste: aktiver Reiter mit Pille */
.leiste a svg { padding: 3px 14px; width: 53px; height: 31px; border-radius: 999px; transition: background 0.2s; }
.leiste a.aktiv svg { background: var(--blau-hell); }

/* Startbild */
.start {
  position: fixed; inset: 0; z-index: 50; display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: linear-gradient(165deg, #0a2463 0%, #1450b8 60%, #3d7fe6 100%); color: #fff;
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.start.weg { opacity: 0; transform: scale(1.04); pointer-events: none; }
.start-logo { font-size: 84px; font-weight: 800; letter-spacing: -0.02em; animation: rein 0.6s ease both; }
.start-titel { font-size: 22px; font-weight: 700; margin-top: 4px; animation: rein 0.6s 0.12s ease both; }
.start-unter { font-size: 13px; letter-spacing: 0.2em; opacity: 0.7; margin-top: 10px; animation: rein 0.6s 0.24s ease both; }

/* Werkzeuge */
.name-ergebnis { font-size: clamp(40px, 13vw, 64px); font-weight: 800; text-align: center; padding: 14px 0 6px; word-break: keep-all; color: var(--rot); }
.rechner .feld input { font-size: 26px; font-weight: 700; font-variant-numeric: tabular-nums; }
.tausch { text-align: center; font-size: 22px; color: var(--leise); margin: -4px 0 6px; }
.toast {
  position: fixed; left: 50%; bottom: calc(var(--unten) + 86px); z-index: 30; transform: translate(-50%, 20px);
  background: var(--tinte); color: var(--papier); padding: 10px 16px; border-radius: 999px; font-size: 15px; font-weight: 600;
  opacity: 0; transition: opacity 0.25s, transform 0.25s; pointer-events: none; max-width: calc(100% - 32px); text-align: center;
}
.toast.da { opacity: 1; transform: translate(-50%, 0); }
.feld textarea { resize: vertical; }
.karte h2 + p { margin-top: 2px; }
.karte .chips { padding: 0; margin-left: 0; margin-right: 0; }

/* ---------- Version 3: SOS, Wichtig, neue Mehr-Seite ---------- */
.sos {
  margin-left: auto; background: var(--rot); color: #fff; font-weight: 800; font-size: 13px; letter-spacing: 0.08em;
  padding: 6px 12px; border-radius: 999px; text-decoration: none; box-shadow: 0 2px 8px rgba(205, 46, 58, 0.35);
}
@media (prefers-color-scheme: dark) { .sos { background: #e0444f; box-shadow: none; } }

.schnell { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.schnell-k {
  display: flex; flex-direction: column; align-items: flex-start; gap: 1px; text-align: left;
  background: var(--karte); border: 1px solid var(--linie); border-radius: 16px; padding: 11px 11px 10px;
  text-decoration: none; color: inherit; box-shadow: var(--schatten); min-height: 92px;
}
.schnell-k span { font-size: 22px; line-height: 1; margin-bottom: 6px; }
.schnell-k b { font-size: 15px; line-height: 1.2; }
.schnell-k small { font-size: 12px; color: var(--leise); }
.schnell-k.warn { border-color: #f0a33a; background: color-mix(in srgb, #f0a33a 10%, var(--karte)); }
.schnell-k.warn small { color: #b86e00; font-weight: 600; }
@media (prefers-color-scheme: dark) { .schnell-k.warn small { color: #f5b75a; } }
.hinweis-band {
  display: block; margin-top: 8px; padding: 11px 14px; border-radius: 14px; font-size: 14px; font-weight: 600;
  background: var(--blau-hell); color: var(--blau); text-decoration: none;
}

/* Mehr: Profilkarte */
.profil {
  border-radius: 22px; padding: 16px; color: #fff; margin-bottom: 6px;
  background: linear-gradient(150deg, #0a2463 0%, #1450b8 70%, #3d7fe6 100%);
  box-shadow: 0 8px 24px rgba(11, 61, 145, 0.25);
}
@media (prefers-color-scheme: dark) { .profil { box-shadow: none; } }
.profil-kopf { display: flex; gap: 12px; align-items: center; }
.profil-kopf b { display: block; font-size: 18px; }
.profil-kopf small { opacity: 0.8; font-size: 13px; }
.profil-icon { width: 44px; height: 44px; border-radius: 14px; background: rgba(255, 255, 255, 0.15); display: grid; place-items: center; font-size: 22px; }
.status-reihe { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.status { font-size: 12px; font-weight: 700; padding: 4px 9px; border-radius: 999px; }
.status.ok { background: rgba(92, 214, 150, 0.22); color: #c9f5dc; }
.status.fehlt { background: rgba(255, 186, 90, 0.25); color: #ffe1b3; }
.knopf.hell { background: #fff; color: #0b3d91; }

/* Mehr: Kachelraster */
.mk-raster { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mk {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px;
  background: var(--karte); border: 1px solid var(--linie); border-radius: 16px; padding: 14px 6px 12px;
  text-decoration: none; color: inherit; box-shadow: var(--schatten); transition: transform 0.15s;
}
.mk:active { transform: scale(0.96); }
.mk b { font-size: 14px; line-height: 1.2; }
.mk small { font-size: 11.5px; color: var(--leise); line-height: 1.2; }
.mk-icon { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-size: 21px; font-weight: 800; margin-bottom: 6px; color: #fff; }
.m-rot { background: linear-gradient(140deg, #b3202c, #ef5a4c); }
.m-blau { background: linear-gradient(140deg, #1450b8, #2f86e8); }
.m-lila { background: linear-gradient(140deg, #5b2bb5, #9b5de5); }
.m-gruen { background: linear-gradient(140deg, #127a52, #2fb57c); }
.m-gelb { background: linear-gradient(140deg, #d98a00, #f5b83d); }
.m-grau { background: linear-gradient(140deg, #3a4250, #6b7585); }

.segment { display: grid; grid-template-columns: 1fr 1fr; background: var(--linie); border-radius: 12px; padding: 3px; }
.segment button { border: 0; background: none; padding: 9px; border-radius: 10px; font-weight: 600; color: var(--leise); }
.segment button.an { background: var(--karte); color: var(--tinte); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12); }

.teilen-karte {
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; margin-top: 22px;
  border: 0; border-radius: 18px; padding: 14px 16px; color: #fff;
  background: linear-gradient(140deg, #b3202c, #ef5a4c);
}
.teilen-karte b { display: block; font-size: 16px; }
.teilen-karte small { opacity: 0.85; font-size: 13px; }
.teilen-icon { width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, 0.18); display: grid; place-items: center; font-size: 20px; font-weight: 800; }


/* Notfall: Nummern nur zum Kopieren, nie Anruf-Links */
.notruf { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; text-align: left; font: inherit; color: inherit; cursor: pointer; }
.notruf:active { transform: scale(0.98); }
.notruf-text b { display: block; }
.notruf-text small { color: var(--leise); font-size: 12.5px; }
.nr { font-size: 26px; font-weight: 800; color: var(--rot); white-space: nowrap; font-variant-numeric: tabular-nums; }
.nr.nr-lang { font-size: 17px; }
.nr i { font-style: normal; font-size: 0.6em; margin-left: 6px; opacity: 0.6; }

.segment.drei { grid-template-columns: repeat(3, 1fr); }
.stimme-zeile { display: flex; align-items: center; gap: 12px; margin-top: 12px; text-decoration: none; color: inherit; }
.stimme-zeile > span:first-child { font-size: 22px; }
.stimme-zeile .haupt { flex: 1; min-width: 0; }

/* ---------- Version 4: ruhigere Inhaltsseiten ---------- */
:root {
  --ton-rot: #fdeeee; --ton-rot-t: #b3202c;
  --ton-gelb: #fff3d9; --ton-gelb-t: #a86400;
  --ton-blau: #e9f0fc; --ton-blau-t: #1450b8;
  --ton-gruen: #e5f5ec; --ton-gruen-t: #127a52;
  --ton-lila: #f1eafc; --ton-lila-t: #5b2bb5;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ton-rot: #3a1f22; --ton-rot-t: #ff8a8f;
    --ton-gelb: #3a2f17; --ton-gelb-t: #f5c065;
    --ton-blau: #1c2a44; --ton-blau-t: #8db4f0;
    --ton-gruen: #173328; --ton-gruen-t: #6fd3a0;
    --ton-lila: #2a2140; --ton-lila-t: #c2a5f5;
  }
}
.seitenkopf { display: flex; gap: 14px; align-items: center; padding: 16px; border-radius: 22px; margin-bottom: 14px; }
.seitenkopf.ton-rot { background: linear-gradient(135deg, var(--ton-rot), color-mix(in srgb, var(--ton-rot) 30%, var(--papier))); }
.seitenkopf.ton-gelb { background: linear-gradient(135deg, var(--ton-gelb), color-mix(in srgb, var(--ton-gelb) 30%, var(--papier))); }
.seitenkopf.ton-blau { background: linear-gradient(135deg, var(--ton-blau), color-mix(in srgb, var(--ton-blau) 30%, var(--papier))); }
.seitenkopf.ton-gruen { background: linear-gradient(135deg, var(--ton-gruen), color-mix(in srgb, var(--ton-gruen) 30%, var(--papier))); }
.seitenkopf h2 { margin: 0; font-size: 19px; letter-spacing: -0.01em; }
.seitenkopf p { margin: 3px 0 0; font-size: 14px; color: var(--leise); line-height: 1.4; }
.sk-icon {
  flex: none; width: 54px; height: 54px; border-radius: 17px; display: grid; place-items: center; font-size: 27px;
  background: var(--karte); box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}
.info-karte, .regel-karte {
  display: flex; gap: 14px; align-items: flex-start; background: var(--karte); border: 1px solid var(--linie);
  border-radius: 18px; padding: 14px 16px; margin-bottom: 10px; box-shadow: var(--schatten);
}
.info-icon { flex: none; width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; font-size: 20px; }
.info-icon.ton-rot { background: var(--ton-rot); }
.info-icon.ton-gelb { background: var(--ton-gelb); }
.info-icon.ton-blau { background: var(--ton-blau); }
.info-icon.ton-gruen { background: var(--ton-gruen); }
.info-text { min-width: 0; }
.info-text h3 { margin: 2px 0 4px; font-size: 16px; line-height: 1.3; }
.info-text p { margin: 0; color: var(--leise); font-size: 15px; line-height: 1.5; }
.regel-karte { position: relative; overflow: hidden; padding-left: 18px; }
.regel-karte::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(#f5b83d, #d98a00); }
.regel-nr {
  flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ton-gelb); color: var(--ton-gelb-t); font-weight: 800; font-size: 17px;
}

/* ---------- Version 5: alle Seiten im gleichen ruhigen Stil ---------- */
.seitenkopf.ton-lila { background: linear-gradient(135deg, var(--ton-lila), color-mix(in srgb, var(--ton-lila) 30%, var(--papier))); }
.info-icon.ton-lila { background: var(--ton-lila); }
.gruppenkopf { display: flex; align-items: center; gap: 10px; margin: 20px 2px 8px; }
.gruppenkopf .info-icon { width: 32px; height: 32px; font-size: 16px; border-radius: 10px; }
.gruppenkopf b { font-size: 15px; letter-spacing: -0.005em; }
.karten-kopf { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.karten-kopf h2 { margin: 0; }
.karten-kopf .info-icon { font-weight: 800; }
.klein-icon { width: 38px; height: 38px; font-size: 19px; border-radius: 12px; }
.lektion-nr {
  flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ton-rot); color: var(--ton-rot-t); font-weight: 800; font-size: 16px;
}
.lektion-nr.fertig { background: var(--ton-gruen); color: var(--ton-gruen-t); }
.sk-icon { font-weight: 800; color: var(--tinte); }
.ko-klein { font-size: 17px; font-weight: 600; color: var(--tinte); }
.marke.gruen { background: var(--ton-gruen); color: var(--ton-gruen-t); }
.zeichen { border-radius: 14px; box-shadow: var(--schatten); }
.zeichen b { color: var(--tinte); }
.karte { border-radius: 18px; }
.liste { border-radius: 18px; box-shadow: var(--schatten); }
