/* wechselklug.de: mobil zuerst. Hell als Standard, Dunkelmodus über data-theme (auto folgt dem System).
   Schrift Mona Sans (variabel: Stärke und Breite), lokal ausgeliefert. Keine automatische Silbentrennung:
   lange Wörter bekommen im HTML weiche Trennstellen (&shy;) an Wortfugen und am Handy eine kleinere Schrift.
   Bewegungen höchstens 0,3 s und nur ohne prefers-reduced-motion. */
@font-face { font-family: "Mona Sans"; font-style: normal; font-weight: 200 900; font-stretch: 75% 125%; font-display: swap; src: url("/assets/fonts/mona-sans.woff2") format("woff2"); }

:root {
  --bg: #f7f6f2;
  --surface: #ffffff;
  --surface-2: #efeee8;
  --fg: #122020;
  --muted: #4c5958;
  --line: #e2e0d8;
  --haupt: #1d5c60;          /* Petrol aus dem Logo: Flächen, Links */
  --haupt-text: #1d5c60;
  --haupt-hell: #e3eeed;
  --akzent: #13804a;         /* Grün: Vergleichen, Sparen */
  --akzent-stark: #0f6a3d;
  --akzent-hell: #e1f1e7;
  --btn-fg: #ffffff;
  --logo-a: #4b9796;
  --logo-b: #2a6b70;
  --schatten: 0 1px 2px rgba(18, 32, 32, 0.05), 0 10px 30px -12px rgba(18, 32, 32, 0.18);
  --radius: 1.25rem;
  --radius-klein: 0.8rem;
  --rand: 1rem;
  --kurve: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: light;
}
:root[data-theme="dunkel"] {
  --bg: #0c1414; --surface: #131d1d; --surface-2: #192626; --fg: #e8efee; --muted: #a6b6b4; --line: #253434;
  --haupt: #2f7f7d; --haupt-text: #8fd3cd; --haupt-hell: #163232; --akzent: #46c487; --akzent-stark: #5dd59a; --akzent-hell: #12301f;
  --btn-fg: #03160c; --logo-a: #3f8f8c; --logo-b: #8fd3cd; --schatten: 0 1px 2px rgba(0, 0, 0, 0.4), 0 10px 30px -12px rgba(0, 0, 0, 0.6); color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root[data-theme="auto"] {
    --bg: #0c1414; --surface: #131d1d; --surface-2: #192626; --fg: #e8efee; --muted: #a6b6b4; --line: #253434;
    --haupt: #2f7f7d; --haupt-text: #8fd3cd; --haupt-hell: #163232; --akzent: #46c487; --akzent-stark: #5dd59a; --akzent-hell: #12301f;
    --btn-fg: #03160c; --logo-a: #3f8f8c; --logo-b: #8fd3cd; --schatten: 0 1px 2px rgba(0, 0, 0, 0.4), 0 10px 30px -12px rgba(0, 0, 0, 0.6); color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
body { margin: 0; font-family: "Mona Sans", system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 1.0625rem; line-height: 1.6; color: var(--fg); background: var(--bg); -webkit-font-smoothing: antialiased; hyphens: manual; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: var(--haupt-text); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--akzent); outline-offset: 3px; border-radius: 4px; }
.innen { max-width: 74rem; margin: 0 auto; padding: 0 var(--rand); }
.schmal { max-width: 46rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sr-only:focus { position: fixed; top: 0.5rem; left: 0.5rem; width: auto; height: auto; clip: auto; z-index: 50; background: var(--surface); padding: 0.5rem 1rem; border-radius: 0.5rem; }
.i { width: 1.25em; height: 1.25em; flex: none; }

/* Überschriften: breit und kräftig, ohne automatische Trennung. */
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; font-weight: 720; hyphens: manual; overflow-wrap: normal; text-wrap: balance; }
h1 { font-size: clamp(1.7rem, 7vw, 3.3rem); font-stretch: 106%; font-weight: 780; margin: 0.4rem 0 0.9rem; }
h2 { font-size: clamp(1.4rem, 5vw, 2.15rem); font-stretch: 106%; margin: 0 0 0.9rem; }
h3 { font-size: 1.15rem; margin: 0 0 0.35rem; }
p { margin: 0 0 1rem; }
.leise { color: var(--muted); }
.abschnitt { margin-top: 4.5rem; }
.abschnitt-kopf { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 0.5rem 1.5rem; margin-bottom: 1.4rem; }
.abschnitt-kopf h2 { margin: 0; }
.abschnitt-kopf p { margin: 0.4rem 0 0; color: var(--muted); max-width: 34rem; }
.mehr-link { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 0.35rem; }
.mehr-link .i { transition: transform 0.2s var(--kurve); }
.mehr-link:hover .i { transform: translateX(3px); }

/* Kopfzeile */
.kopf { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.kopf.gescrollt { border-bottom-color: var(--line); }
.kopf .innen { max-width: 82rem; display: flex; align-items: center; gap: 0.6rem; min-height: 4rem; }
.marke { display: inline-flex; align-items: center; gap: 0.5rem; text-decoration: none; color: var(--fg); margin-right: auto; }
.marke-zeichen { width: 2.7rem; height: 1.98rem; flex: none; }
.marke span { font-size: 1.3rem; font-weight: 760; font-stretch: 110%; letter-spacing: -0.03em; line-height: 1; }
.marke em { font-style: normal; color: var(--haupt-text); }
.nav { display: none; }
.nav > a, .nav summary { display: inline-flex; align-items: center; gap: 0.2rem; padding: 0.45rem 0.55rem; border-radius: 999px; color: var(--fg); text-decoration: none; font-size: 0.92rem; font-weight: 560; cursor: pointer; list-style: none; transition: background-color 0.18s; }
.nav summary::-webkit-details-marker { display: none; }
.nav summary .i { width: 0.95rem; height: 0.95rem; transition: transform 0.2s var(--kurve); }
.nav details[open] summary .i { transform: rotate(180deg); }
.nav > a:hover, .nav summary:hover, .nav details[open] summary { background: var(--surface-2); }
.nav-gruppe { position: relative; }
.nav-panel { position: absolute; top: calc(100% + 0.5rem); left: 50%; translate: -50% 0; min-width: 19rem; padding: 0.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-klein); box-shadow: var(--schatten); display: grid; gap: 0.1rem; animation: aufklappen 0.18s var(--kurve); }
.nav-panel a { display: flex; align-items: center; gap: 0.7rem; padding: 0.55rem 0.7rem; border-radius: 0.6rem; color: var(--fg); text-decoration: none; font-size: 0.95rem; font-weight: 520; }
.nav-panel a:hover { background: var(--surface-2); }
.nav-panel .i { color: var(--haupt-text); }
@keyframes aufklappen { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.bald { margin-left: auto; font-size: 0.72rem; font-weight: 600; color: var(--muted); background: var(--surface-2); border-radius: 999px; padding: 0.1rem 0.5rem; }
.thema-schalter, .menue-knopf { display: inline-grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--fg); cursor: pointer; transition: background-color 0.18s, transform 0.18s; }
.thema-schalter:hover, .menue-knopf:hover { background: var(--surface-2); }
.thema-schalter:active { transform: scale(0.94); }
.thema-schalter svg { width: 1.15rem; height: 1.15rem; display: none; }
:root[data-theme="auto"] .thema-schalter [data-zeigt="auto"], :root[data-theme="hell"] .thema-schalter [data-zeigt="hell"], :root[data-theme="dunkel"] .thema-schalter [data-zeigt="dunkel"] { display: block; }
.menue-knopf { list-style: none; }
.menue-knopf::-webkit-details-marker { display: none; }
.menue-knopf svg { width: 1.2rem; height: 1.2rem; }
.menue-panel { position: absolute; left: 0; right: 0; top: 100%; max-height: calc(100dvh - 4rem); overflow-y: auto; background: var(--bg); border-bottom: 1px solid var(--line); padding: 0.5rem var(--rand) 1.5rem; box-shadow: var(--schatten); animation: aufklappen 0.2s var(--kurve); }
.menue-panel h3 { font-size: 0.85rem; color: var(--muted); font-weight: 600; letter-spacing: 0; margin: 1.1rem 0 0.3rem; }
.menue-panel a { display: flex; align-items: center; gap: 0.7rem; padding: 0.6rem 0.2rem; color: var(--fg); text-decoration: none; font-weight: 560; border-bottom: 1px solid var(--line); }
.menue-panel .i { color: var(--haupt-text); }
@media (min-width: 76rem) {
  .nav { display: flex; align-items: center; gap: 0.1rem; white-space: nowrap; }
  .menue { display: none; }
}

/* Buttons */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 3.2rem; padding: 0.8rem 1.4rem; border-radius: 999px; background: var(--akzent); color: var(--btn-fg); font-weight: 650; font-size: 1.02rem; text-decoration: none; border: 0; cursor: pointer; transition: background-color 0.2s, transform 0.2s var(--kurve), box-shadow 0.2s; box-shadow: 0 8px 20px -10px color-mix(in srgb, var(--akzent) 70%, transparent); }
.button:hover { background: var(--akzent-stark); transform: translateY(-1px); text-decoration: none; }
.button:active { transform: translateY(0) scale(0.98); }
.button .i { transition: transform 0.2s var(--kurve); }
.button:hover .i { transform: translateX(3px); }
.button.zweit { background: transparent; color: inherit; border: 1.5px solid currentColor; box-shadow: none; }
.button.zweit:hover { background: color-mix(in srgb, currentColor 10%, transparent); }
.werbelink { margin: 0.4rem 0 0; font-size: 0.8rem; color: var(--muted); }

/* Hero (Startseite) */
.hero { position: relative; margin-top: 0.5rem; border-radius: calc(var(--radius) + 0.4rem); overflow: hidden; color: #fff; background: #0b2a2c; isolation: isolate; }
.hero-bild { position: absolute; inset: 0; z-index: -2; }
.hero-bild img { width: 100%; height: 100%; object-fit: cover; object-position: 75% 50%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6, 26, 27, 0.55) 0%, rgba(6, 26, 27, 0.82) 38%, rgba(6, 26, 27, 0.93) 100%); }
@media (min-width: 48rem) { .hero::before { background: linear-gradient(100deg, rgba(6, 26, 27, 0.95) 0%, rgba(6, 26, 27, 0.86) 42%, rgba(6, 26, 27, 0.25) 100%); } }
.hero-inhalt { padding: 1.6rem 1.25rem 1.6rem; max-width: 44rem; }
.hero h1 { color: #fff; font-size: clamp(2.1rem, 9.6vw, 4.3rem); font-stretch: 115%; line-height: 1.02; letter-spacing: -0.035em; margin: 0.9rem 0 1rem; }
.hero h1 .zeile2 { display: block; color: #a8e6c3; }
.hero-text { font-size: 1.06rem; color: rgba(255, 255, 255, 0.88); max-width: 32rem; margin-bottom: 1.3rem; }
.countdown { display: flex; align-items: stretch; gap: 0.4rem; margin: 0 0 0.9rem; font-variant-numeric: tabular-nums; }
.cd-teil { flex: 1 1 0; max-width: 6.2rem; padding: 0.7rem 0.3rem 0.55rem; border-radius: 0.9rem; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.18); text-align: center; overflow: hidden; }
.cd-zahl { display: block; font-size: clamp(1.6rem, 7vw, 2.5rem); font-weight: 760; font-stretch: 110%; line-height: 1; }
.cd-zahl.tick { animation: tick 0.26s var(--kurve); }
@keyframes tick { from { transform: translateY(-45%); opacity: 0; } to { transform: none; opacity: 1; } }
.cd-teil small { display: block; margin-top: 0.3rem; font-size: 0.76rem; color: #fff; }
.saison { max-width: 26rem; margin: 0 0 1.5rem; font-size: 0.85rem; color: rgba(255, 255, 255, 0.82); }
.saison-balken { height: 0.4rem; border-radius: 999px; background: rgba(255, 255, 255, 0.16); overflow: hidden; margin-bottom: 0.4rem; }
.saison-balken span { display: block; height: 100%; width: var(--anteil, 0%); border-radius: inherit; background: linear-gradient(90deg, #5ee39b, #a8e6c3); transform-origin: left; }
.js .saison-balken span { transform: scaleX(0); transition: transform 0.3s var(--kurve) 0.15s; }
.js .geladen .saison-balken span { transform: none; }
.hero-hinweis { background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.25); border-radius: var(--radius-klein); padding: 0.9rem 1rem; margin: 0 0 1.5rem; max-width: 34rem; }
.hero-hinweis a { color: #fff; font-weight: 700; }
.knopfreihe { display: flex; flex-wrap: wrap; gap: 0.75rem 0.9rem; align-items: flex-start; }
.hero .button { background: #5ee39b; color: #052414; box-shadow: 0 10px 28px -10px rgba(94, 227, 155, 0.6); }
.hero .button:hover { background: #7aeab0; }
.hero .button.zweit { background: transparent; color: #fff; box-shadow: none; }
.hero .werbelink { color: rgba(255, 255, 255, 0.8); padding-left: 1rem; }
@media (min-width: 48rem) {
  .hero-inhalt { padding: 3.6rem 3.4rem 4.6rem; }
  .hero { min-height: 35rem; display: flex; align-items: center; }
}

/* Aufgaben-Karten: Was hast du vor? */
.aufgaben { display: grid; gap: 0.75rem; margin-top: 1rem; }
@media (min-width: 48rem) { .aufgaben { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: -2.6rem; position: relative; z-index: 2; padding: 0 1.25rem; } }
.aufgabe { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 0.9rem; padding: 1.1rem 1.15rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); color: var(--fg); text-decoration: none; box-shadow: var(--schatten); transition: transform 0.22s var(--kurve), border-color 0.2s; }
.aufgabe:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--haupt-text) 45%, var(--line)); }
.aufgabe-titel { display: block; margin: 0 0 0.15rem; font-size: 1.06rem; font-weight: 700; line-height: 1.25; letter-spacing: -0.01em; }
.aufgabe p { margin: 0; color: var(--muted); font-size: 0.92rem; line-height: 1.4; }
.ico { display: inline-grid; place-items: center; width: 2.9rem; height: 2.9rem; border-radius: 0.85rem; background: var(--haupt-hell); color: var(--haupt-text); flex: none; }
.ico .i { width: 1.4rem; height: 1.4rem; }
.ico.gruen { background: var(--akzent-hell); color: var(--akzent); }
.pfeil { color: var(--muted); transition: transform 0.2s var(--kurve), color 0.2s; }
.aufgabe:hover .pfeil, .kachel:hover .pfeil, .artikel:hover .pfeil { transform: translateX(4px); color: var(--haupt-text); }

/* Vorteile */
.vorteile { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem 1.1rem; margin-top: 3.2rem; }
@media (min-width: 56rem) { .vorteile { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.vorteil .i { width: 1.6rem; height: 1.6rem; color: var(--akzent); margin-bottom: 0.6rem; }
.vorteil strong { display: block; font-size: 1.02rem; line-height: 1.25; font-weight: 680; margin-bottom: 0.25rem; }
.vorteil span { display: block; font-size: 0.9rem; color: var(--muted); line-height: 1.45; }

/* Bereiche mit Reitern (ohne JavaScript: alle Gruppen untereinander) */
.reiter { display: none; gap: 0.4rem; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--rand)) 1rem; padding: 0.2rem var(--rand); }
.reiter::-webkit-scrollbar { display: none; }
.js .reiter { display: flex; }
.reiter button { flex: none; font: inherit; font-size: 0.94rem; font-weight: 600; padding: 0.55rem 1rem; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--fg); cursor: pointer; transition: background-color 0.2s, color 0.2s, border-color 0.2s; }
.reiter button:hover { border-color: var(--muted); }
.reiter button[aria-selected="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.js .reiter-panel[hidden] { display: none; }
.reiter-panel h3 { margin: 1.4rem 0 0.7rem; font-size: 1rem; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.js .reiter-panel h3 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); margin: 0; }
.js .reiter-panel:not([hidden]) { animation: aufklappen 0.22s var(--kurve); }
.kacheln { display: grid; grid-template-columns: minmax(0, 1fr); column-gap: 2.5rem; border-top: 1px solid var(--line); }
@media (min-width: 40rem) { .kacheln { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .kacheln { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.kachel { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 0.85rem; padding: 1.05rem 0.15rem; border-bottom: 1px solid var(--line); color: var(--fg); text-decoration: none; }
.kachel > .i:first-child { width: 1.3rem; height: 1.3rem; color: var(--muted); transition: color 0.2s; }
.kachel strong { font-weight: 600; font-size: clamp(1rem, 4.2vw, 1.12rem); line-height: 1.25; letter-spacing: -0.01em; transition: transform 0.22s var(--kurve), color 0.2s; }
.kachel-info { font-size: 0.82rem; color: var(--muted); white-space: nowrap; }
.kachel .pfeil { width: 1.05rem; height: 1.05rem; opacity: 0.35; transition: transform 0.22s var(--kurve), opacity 0.2s, color 0.2s; }
.kachel:hover strong { transform: translateX(4px); color: var(--haupt-text); }
.kachel:hover > .i:first-child { color: var(--haupt-text); }
.kachel:hover .pfeil { opacity: 1; transform: translateX(3px); color: var(--haupt-text); }
.kachel.fokus strong { font-weight: 720; }
.kachel.fokus > .i:first-child { color: var(--haupt-text); }
.kachel.fokus .kachel-info { color: var(--akzent); font-weight: 650; }
.kachel.ist-bald strong { color: var(--muted); font-weight: 500; }

/* So funktioniert's */
.schritte { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; position: relative; }
.schritt { position: relative; padding: 1.3rem 1.2rem 1.2rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.schritt .ico { margin-bottom: 0.9rem; }
.schritt h3 { font-size: 1.1rem; }
.schritt p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.schritt-nr { position: absolute; top: 1.25rem; right: 1.25rem; font-size: 0.85rem; font-weight: 600; color: var(--muted); }
@media (min-width: 52rem) { .schritte { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; } }

/* Ratgeber-Karten */
.artikel-liste { display: grid; gap: 0.75rem; }
@media (min-width: 52rem) { .artikel-liste { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.artikel { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 1rem; align-items: center; padding: 1.15rem 1.2rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); color: var(--fg); text-decoration: none; transition: transform 0.2s var(--kurve), border-color 0.2s; }
.artikel:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--haupt-text) 45%, var(--line)); }
.artikel h3 { margin: 0.35rem 0 0.3rem; font-size: 1.06rem; }
.artikel p { margin: 0; color: var(--muted); font-size: 0.93rem; line-height: 1.45; }
.artikel .pfeil { grid-row: 1 / span 3; grid-column: 2; }
.artikel-meta { display: flex; gap: 0.8rem; font-size: 0.8rem; color: var(--muted); }
.artikel-meta span { display: inline-flex; align-items: center; gap: 0.3rem; }
.artikel-meta .i { width: 0.95rem; height: 0.95rem; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); interpolate-size: allow-keywords; }
.faq details::details-content { block-size: 0; overflow: hidden; transition: block-size 0.25s var(--kurve), content-visibility 0.25s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.05rem 0; cursor: pointer; font-weight: 640; list-style: none; font-size: 1.04rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { flex: none; display: inline-grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--surface-2); transition: transform 0.25s var(--kurve), background-color 0.2s; }
.faq summary .plus .i { width: 1rem; height: 1rem; }
.faq details[open] summary .plus { transform: rotate(45deg); background: var(--haupt-hell); color: var(--haupt-text); }
.faq details p { margin: 0 0 1.1rem; color: var(--muted); max-width: 42rem; }
.start-faq { display: grid; gap: 1rem 3rem; }
@media (min-width: 56rem) { .start-faq { grid-template-columns: 1fr 1.6fr; } }

/* Transparenz-Kasten */
.transparenz { display: grid; gap: 1rem; align-items: start; padding: 1.5rem; border-radius: var(--radius); background: var(--haupt-hell); }
.transparenz h2 { font-size: 1.3rem; margin-bottom: 0.4rem; }
.transparenz p { margin: 0; }
@media (min-width: 48rem) { .transparenz { grid-template-columns: auto 1fr; padding: 2rem; } }

/* Inhaltsseiten */
.seite-kopf { padding: 1.2rem 0 0.4rem; }
.brotkrumen ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.3rem; margin: 0; padding: 0; font-size: 0.88rem; color: var(--muted); }
.brotkrumen li + li::before { content: "/"; margin-right: 0.3rem; opacity: 0.6; }
.brotkrumen a { color: var(--muted); }
.meta { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; color: var(--muted); font-size: 0.9rem; margin: 0 0 1.6rem; }
.meta span { display: inline-flex; align-items: center; gap: 0.35rem; }
.meta .i { width: 1rem; height: 1rem; }
.seite-raster { display: grid; gap: 2rem; }
@media (min-width: 64rem) {
  .seite-raster { grid-template-columns: minmax(0, 1fr) 19rem; gap: 3.5rem; align-items: start; }
  .seite-seitenleiste { position: sticky; top: 5.5rem; display: grid; gap: 1rem; }
}
.seite-haupt { min-width: 0; max-width: 46rem; }
.kurz-kasten { padding: 1.3rem 1.3rem 1.1rem; border-radius: var(--radius); background: var(--akzent-hell); margin: 0 0 2rem; }
.kurz-kasten h2 { display: flex; align-items: center; gap: 0.5rem; font-size: 1.08rem; font-stretch: 100%; letter-spacing: -0.01em; margin: 0 0 0.7rem; }
.kurz-kasten h2 .i { color: var(--akzent); }
.kurz-kasten ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.kurz-kasten li { display: grid; grid-template-columns: auto 1fr; gap: 0.6rem; line-height: 1.45; }
.kurz-kasten li .i { width: 1.1rem; height: 1.1rem; margin-top: 0.18rem; color: var(--akzent); }
.inhaltsverzeichnis { border: 1px solid var(--line); border-radius: var(--radius-klein); background: var(--surface); padding: 0.2rem 1rem; }
.inhaltsverzeichnis summary, .inhaltsverzeichnis .titel { display: block; padding: 0.7rem 0; font-weight: 650; cursor: pointer; }
.inhaltsverzeichnis summary { display: flex; justify-content: space-between; align-items: center; list-style: none; }
.inhaltsverzeichnis summary::-webkit-details-marker { display: none; }
.inhaltsverzeichnis summary::after { content: "+"; font-size: 1.3rem; font-weight: 400; line-height: 1; transition: transform 0.2s var(--kurve); }
.inhaltsverzeichnis[open] summary::after { transform: rotate(45deg); }
.inhaltsverzeichnis ol { margin: 0 0 0.9rem; padding-left: 1.2rem; display: grid; gap: 0.35rem; font-size: 0.93rem; }
.inhaltsverzeichnis a { color: var(--fg); text-decoration: none; }
.inhaltsverzeichnis a:hover, .inhaltsverzeichnis a.aktiv { color: var(--haupt-text); text-decoration: underline; }
.seite-haupt > .inhaltsverzeichnis { margin-bottom: 2rem; }
.seite-seitenleiste .inhaltsverzeichnis { display: none; }
@media (min-width: 64rem) { .seite-haupt > details.inhaltsverzeichnis { display: none; } .seite-seitenleiste .inhaltsverzeichnis { display: block; } }
.inhalt h2 { margin-top: 2.6rem; font-size: clamp(1.35rem, 4.6vw, 1.8rem); }
.inhalt h3 { margin-top: 1.8rem; }
.inhalt ul, .inhalt ol { padding-left: 1.3rem; }
.inhalt li { margin-bottom: 0.45rem; }
.inhalt li::marker { color: var(--haupt-text); font-weight: 650; }
.inhalt table { width: 100%; border-collapse: collapse; margin: 1.2rem 0 1.6rem; font-size: 0.94rem; display: block; overflow-x: auto; }
.inhalt th, .inhalt td { text-align: left; padding: 0.6rem 0.75rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.inhalt th { background: var(--surface-2); font-weight: 650; }
.inhalt blockquote { margin: 1.4rem 0; padding: 1rem 1.2rem; border-left: 4px solid var(--haupt); background: var(--surface); border-radius: 0 var(--radius-klein) var(--radius-klein) 0; }
.inhalt strong { font-weight: 680; }
.vergleich-kasten { position: relative; padding: 1.4rem 1.3rem 1.2rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--schatten); margin: 2rem 0; overflow: hidden; }
.vergleich-kasten::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--haupt), var(--akzent)); }
.vergleich-kasten .anzeige { display: inline-block; font-size: 0.75rem; font-weight: 600; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 0.05rem 0.55rem; margin: 0 0 0.6rem; }
.vergleich-kasten h2 { font-size: 1.3rem; font-stretch: 104%; margin: 0 0 0.5rem; }
.vergleich-kasten p { color: var(--muted); font-size: 0.96rem; }
.vergleich-kasten .button { width: 100%; }
.seite-seitenleiste .vergleich-kasten { margin: 0; }
.hinweis-beratung { margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid var(--line); font-size: 0.9rem; color: var(--muted); }
.platzhalter { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; padding: 1.3rem; border-radius: var(--radius); background: var(--surface-2); margin-bottom: 1.5rem; }
.platzhalter p { margin: 0; }
.links-liste { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.links-liste a { display: block; padding: 1rem 1.1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-klein); text-decoration: none; color: var(--fg); font-weight: 650; transition: transform 0.2s var(--kurve), border-color 0.2s; }
.links-liste a:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--haupt-text) 45%, var(--line)); }
.links-liste span { display: block; font-weight: 400; font-size: 0.92rem; color: var(--muted); margin-top: 0.2rem; }
.lesefortschritt { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 30; background: linear-gradient(90deg, var(--haupt), var(--akzent)); transform-origin: left; transform: scaleX(var(--fortschritt, 0)); pointer-events: none; }

/* Handy-Leiste */
.leiste { position: fixed; left: 0; right: 0; bottom: 0; z-index: 15; background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line); padding: 0.55rem 0 calc(0.6rem + env(safe-area-inset-bottom)); transform: translateY(110%); visibility: hidden; transition: transform 0.25s var(--kurve), visibility 0s linear 0.25s; }
.leiste.sichtbar { transform: none; visibility: visible; transition: transform 0.25s var(--kurve); }
.leiste .innen { display: flex; align-items: center; gap: 0.75rem; }
.leiste .button { flex: 1; min-height: 2.9rem; }
.leiste .werbung { flex: none; font-size: 0.8rem; color: var(--muted); }
.mit-leiste { padding-bottom: 4.5rem; }
@media (min-width: 64rem) { .leiste { display: none; } .mit-leiste { padding-bottom: 0; } }

/* Fußzeile */
.fuss { margin-top: 5rem; padding: 3rem 0 2rem; background: var(--surface); border-top: 1px solid var(--line); font-size: 0.93rem; color: var(--muted); }
.fuss-oben { display: grid; gap: 2rem; margin-bottom: 2rem; }
@media (min-width: 52rem) { .fuss-oben { grid-template-columns: 1.3fr 3fr; } }
.fuss-marke p { margin: 0.8rem 0 0; max-width: 20rem; }
.fuss-spalten { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
@media (min-width: 52rem) { .fuss-spalten { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.fuss h3 { font-size: 0.95rem; color: var(--fg); letter-spacing: 0; margin: 0 0 0.6rem; }
.fuss ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; }
.fuss a { color: var(--muted); text-decoration: none; }
.fuss a:hover { color: var(--fg); text-decoration: underline; }
.fuss-unten { border-top: 1px solid var(--line); padding-top: 1.4rem; font-size: 0.86rem; }
.fuss-unten p { margin: 0 0 0.5rem; }

/* Werkzeuge */
.werkzeug { margin: 2.2rem 0; padding: 1.4rem 1.2rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--schatten); }
@media (min-width: 48rem) { .werkzeug { padding: 2rem; } }
.werkzeug > h2 { margin: 0 0 1.2rem; }
.wz-form fieldset { border: 0; padding: 0; margin: 0 0 1.4rem; min-width: 0; }
.wz-form legend { font-weight: 680; font-size: 1rem; margin-bottom: 0.7rem; padding: 0; }
.wz-raster { display: grid; gap: 0.9rem 1rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 36rem) { .wz-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); } .wz-feld.breit { grid-column: 1 / -1; } }
.wz-feld { display: grid; gap: 0.3rem; }
.wz-feld[hidden] { display: none; }
.wz-feld > span { font-size: 0.92rem; font-weight: 600; }
.wz-feld small { color: var(--muted); font-size: 0.82rem; font-weight: 400; }
.wz-feld input, .wz-feld textarea, .wz-feld select { font: inherit; font-size: 1rem; width: 100%; padding: 0.7rem 0.85rem; border-radius: 0.65rem; border: 1.5px solid var(--line); background: var(--bg); color: var(--fg); transition: border-color 0.18s, box-shadow 0.18s; }
.wz-feld input:focus, .wz-feld textarea:focus, .wz-feld select:focus { outline: none; border-color: var(--haupt-text); box-shadow: 0 0 0 3px color-mix(in srgb, var(--haupt-text) 22%, transparent); }
.wz-feld [aria-invalid="true"] { border-color: #c2410c; }
.wz-varianten { display: grid; gap: 0.6rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 36rem) { .wz-varianten { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.wz-varianten legend { grid-column: 1 / -1; }
.wz-option { position: relative; cursor: pointer; }
.wz-option input { position: absolute; opacity: 0; }
.wz-option > span { display: grid; grid-template-columns: auto 1fr; gap: 0.1rem 0.7rem; align-items: center; padding: 0.9rem 1rem; border-radius: var(--radius-klein); border: 1.5px solid var(--line); background: var(--bg); transition: border-color 0.18s, background-color 0.18s; }
.wz-option .i { grid-row: span 2; color: var(--muted); }
.wz-option small { color: var(--muted); font-size: 0.85rem; }
.wz-option input:checked + span { border-color: var(--haupt-text); background: var(--haupt-hell); }
.wz-option input:checked + span .i { color: var(--haupt-text); }
.wz-option input:focus-visible + span { outline: 3px solid var(--akzent); outline-offset: 2px; }
.wz-meldung p { margin: 0 0 0.6rem; padding: 0.8rem 1rem; border-radius: var(--radius-klein); background: var(--surface-2); font-size: 0.93rem; }
.wz-vorschau { margin-top: 0.4rem; }
.wz-vorschau-kopf { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.wz-vorschau-kopf h3 { margin: 0 0 0.6rem; }
.wz-vorschau-kopf span { font-size: 0.85rem; }
.brief { background: #fffdf8; color: #1b1b1b; border: 1px solid var(--line); border-radius: 0.5rem; padding: 1.4rem 1.3rem; font-size: 0.9rem; line-height: 1.5; margin-bottom: 1rem; box-shadow: 0 2px 10px -4px rgba(0, 0, 0, 0.15); max-height: 32rem; overflow-y: auto; }
.brief p { margin: 0; }
.brief p.leer { height: 0.75em; }
.brief mark { background: #fdf0c4; color: #5c4400; border-radius: 0.2rem; padding: 0 0.15rem; }
.wz-status { min-height: 1.4em; margin: 0.7rem 0 0; font-size: 0.92rem; color: var(--muted); }
.wz-datenschutz { display: flex; gap: 0.5rem; align-items: flex-start; margin: 1.2rem 0 0; font-size: 0.87rem; color: var(--muted); }
.wz-datenschutz .i { width: 1.05rem; height: 1.05rem; margin-top: 0.15rem; color: var(--akzent); }
.wz-ergebnis { margin-top: 0.4rem; padding: 1.2rem 1.2rem 0.4rem; border-radius: var(--radius-klein); background: var(--akzent-hell); border-left: 4px solid var(--akzent); animation: aufklappen 0.22s var(--kurve); }
.wz-ergebnis.knapp { background: #fff4e0; border-left-color: #b45309; }
.wz-ergebnis.vorbei { background: #fdecea; border-left-color: #b42318; }
:root[data-theme="dunkel"] .wz-ergebnis.knapp { background: #33240c; } :root[data-theme="dunkel"] .wz-ergebnis.vorbei { background: #361614; }
@media (prefers-color-scheme: dark) { :root[data-theme="auto"] .wz-ergebnis.knapp { background: #33240c; } :root[data-theme="auto"] .wz-ergebnis.vorbei { background: #361614; } }
.wz-gross { font-size: 1.12rem; line-height: 1.45; }
.countdown-band { margin: 0 0 2rem; padding: 1.1rem 1.2rem; border-radius: var(--radius); background: var(--haupt); color: #fff; }
.countdown-band p { margin: 0 0 0.8rem; }
.countdown-band [data-phase="nachher"] { margin: 0; }
.countdown-band a { color: #fff; font-weight: 650; }
.countdown.klein { margin: 0; }
.countdown.klein .cd-teil { padding: 0.5rem 0.25rem 0.4rem; }
.countdown.klein .cd-zahl { font-size: clamp(1.3rem, 5.5vw, 1.8rem); }
.rechner-zustimmung { display: grid; gap: 0.8rem; justify-items: start; padding: 1.1rem; border-radius: var(--radius-klein); background: var(--surface-2); margin-bottom: 1.2rem; }
.rechner-zustimmung > .i { width: 1.6rem; height: 1.6rem; color: var(--haupt-text); }
.rechner-zustimmung p { margin: 0; font-size: 0.92rem; color: var(--muted); }
.rechner-zustimmung .button { width: auto; }
.rechner-geladen { margin-bottom: 1.2rem; min-height: 10rem; }
.rechner-direkt { border-top: 1px solid var(--line); padding-top: 1rem; }
.rechner-direkt p { margin: 0 0 0.7rem; }

/* Link-Seite /start/ */
.start-links { max-width: 30rem; margin: 0 auto; padding: 1.5rem 0 1rem; text-align: center; }
.start-links .marke { margin: 0 auto 0.6rem; justify-content: center; }
.start-links .marke-zeichen { width: 4.4rem; height: 3.2rem; }
.start-links .marke span { font-size: 1.7rem; }
.start-links > p { color: var(--muted); margin-bottom: 1.6rem; }
.start-knoepfe { display: grid; gap: 0.7rem; text-align: left; }
.start-knopf { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 0.85rem; padding: 1rem 1.1rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); color: var(--fg); text-decoration: none; font-weight: 650; font-size: 1.05rem; transition: transform 0.2s var(--kurve), border-color 0.2s; }
.start-knopf:hover { transform: translateY(-2px); border-color: var(--haupt-text); }
.start-knopf .i { color: var(--haupt-text); }
.start-knopf.haupt { background: var(--akzent); border-color: var(--akzent); color: var(--btn-fg); }
.start-knopf.haupt .i { color: inherit; }
.start-knopf small { display: block; font-weight: 400; font-size: 0.85rem; }
.start-links h2 { font-size: 1.15rem; margin: 2.2rem 0 0.8rem; text-align: left; }

/* Einblenden beim Scrollen (nur mit JavaScript; ohne ist alles sichtbar). --n verzögert Geschwister leicht. */
.js .einblenden { opacity: 0; transform: translateY(14px); transition: opacity 0.28s ease-out, transform 0.28s var(--kurve); transition-delay: calc(var(--n, 0) * 50ms); }
.js .einblenden.da { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; transition-delay: 0ms !important; }
  .js .einblenden { opacity: 1; transform: none; }
}

/* Browser-Nachweis für die Statistik (siehe Datenschutz, Abschnitt 7). */
body::after { content: ""; position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); background: url("/v") no-repeat; }
