/* Papiergaist, Entwurf „Der Gaist erzählt“ (31.10.2026).
   Hell: Tintenblau hell. Dunkel: Nachtblau dunkel mit dem gelben Funken aus Tintenblau. Werte aus tokens-w82.json.
   Bewegung nur über transform und opacity (dazu clip-path, Strich und Schatten, wo es ruhig bleibt). Der Endzustand
   jeder Szene ist der Grundzustand dieses Stylesheets; site.js setzt Startzustände nur, wenn es eine Szene spielt.
   Keine Inline-Stile (CSP): Was site.js bewegt, läuft über Klassen, Attribute, CSSOM und die Web Animations API. */

/* ---------- Schriften (selbst gehostet) ---------- */
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-display: swap;
  src: url("schrift/bricolage-grotesque-variabel-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("schrift/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url("schrift/inter-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens: hell = Tintenblau hell ---------- */
:root {
  color-scheme: light;
  --titel: "Bricolage Grotesque", "Avenir Next Condensed", "Arial Narrow", system-ui, sans-serif;
  --schrift: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --grund-oben: #F4F6FD;
  --grund-mitte: #EAEFFA;
  --grund-unten: #E2E8F6;
  --glas: rgb(255 255 255 / .68);
  --glas-dicht: rgb(255 255 255 / .93);
  --glanz: rgb(255 255 255 / .8);
  --kante-a: #FFFFFF;
  --kante-b: rgb(255 255 255 / .6);
  --kante-c: rgb(16 23 63 / .06);
  --kante-d: rgb(16 23 63 / .14);
  --leiste: rgb(255 255 255 / .62);
  --leiste-aktiv: rgb(16 23 63 / .08);
  --linse-grund: rgb(255 255 255 / .72);
  --linse-licht: rgb(255 255 255 / .9);
  --linse-rand: rgb(16 23 63 / .10);
  --flaeche-leise: rgb(16 23 63 / .04);
  --linie: rgb(16 23 63 / .1);
  --linie-stark: rgb(120 150 255 / .34);
  --knopf-rand: rgb(120 150 255 / .34);
  --text: #10173F;
  --text-2: #4A5378;
  --knopf-hell: #10173F;
  --auf-knopf-hell: #FFFFFF;
  --ueberfaellig: #DB4527;
  --ueberfaellig-text: #B8341A;
  --bald: #3352CC;
  --spaeter: #3352CC;
  --spaeter-fuellung: rgb(51 82 204 / .1);
  --erledigt: #14A273;
  --erledigt-text: #08724F;
  --ring-offen: #6A739A;
  --spur: rgb(16 23 63 / .08);
  --passt: #08724F;
  --auf-passt: #FFFFFF;
  --funke: #FFC83D;
  --funke-text: #8A5B00;
  --funke-kante: #9A6A00;
  --markierung: #FFC83D;
  --auf-markierung: #0A0F2A;
  --fokus: #1B2768;
  --auswahl: #FFC83D;
  --geist-leib: #1B2768;
  --geist-auge: #F4F6FF;
  --geist-licht: #96AAF5;
  --geist-schein: drop-shadow(0 0 7px rgb(150 170 245 / .55)) drop-shadow(0 10px 18px rgb(27 39 104 / .22));
  --aura-innen: rgb(255 255 255 / .95);
  --aura-aussen: rgb(196 208 255 / .55);
  --lk-kuehl: rgb(158 180 255 / .34);
  --lk-dunst: rgb(158 180 255 / .26);
  --tiefe: 0 22px 40px -26px rgb(27 39 104 / .42), 0 2px 6px -3px rgb(27 39 104 / .18);
  --tiefe-gross: 0 40px 70px -40px rgb(27 39 104 / .5), 0 4px 12px -6px rgb(27 39 104 / .2);
  --papier: #FFFFFF;
  --papier-linie: rgb(16 23 63 / .14);
  --papier-schatten: 0 1px 0 rgb(255 255 255 / .7) inset, 0 14px 24px -16px rgb(27 39 104 / .5), 0 1px 3px rgb(27 39 104 / .14);
  --schirm: #F2F2F7;
  --schirm-text: #000000;

  --rand: 16px;
  --breite: 1200px;
  --kopf-h: 76px;

  --expo: cubic-bezier(0.16, 1, 0.3, 1);
  --feder: cubic-bezier(0.34, 1.5, 0.64, 1);
  --fest: cubic-bezier(0.22, 0.9, 0.32, 1);
  --sanft: cubic-bezier(0.45, 0, 0.55, 1);
  --landen: cubic-bezier(0.3, 0.7, 0.4, 1);
  --mit: cubic-bezier(0.3, 0.8, 0.3, 1);
}
@supports (transition-timing-function: linear(0, 1)) {
  :root {
    --feder: linear(0, 0.16 5%, 0.5 12%, 0.83 20%, 1.04 29%, 1.08 35%, 1.06 41%, 1.02 50%, 0.995 61%, 0.993 70%, 1);
    --fest: linear(0, 0.12 7%, 0.346 14%, 0.565 21%, 0.737 29%, 0.856 36%, 0.93 43%, 0.972 50%, 0.994 57%, 1.003 64%, 1.006 71%, 1.006 79%, 1.005 86%, 1.003 93%, 1);
  }
}

/* ---------- Tokens: dunkel = Nachtblau dunkel, Funke gelb (Petrol nicht mehr als Akzent) ---------- */
@media (prefers-color-scheme: dark) {
  :root:not([data-modus="hell"]) {
    color-scheme: dark;
    --grund-oben: #121D33;
    --grund-mitte: #0B1324;
    --grund-unten: #070B15;
    --glas: rgb(28 40 66 / .50);
    --glas-dicht: rgb(30 44 72 / .74);
    --glanz: rgb(205 222 255 / .10);
    --kante-a: rgb(228 238 255 / .55);
    --kante-b: rgb(228 238 255 / .13);
    --kante-c: rgb(228 238 255 / .03);
    --kante-d: rgb(228 238 255 / .09);
    --leiste: rgb(17 26 46 / .62);
    --leiste-aktiv: rgb(200 215 245 / .13);
    --linse-grund: rgb(200 215 245 / .08);
    --linse-licht: rgb(230 238 255 / .2);
    --linse-rand: rgb(220 232 255 / .16);
    --flaeche-leise: rgb(200 215 245 / .08);
    --linie: rgb(200 215 245 / .11);
    --linie-stark: rgb(200 215 245 / .22);
    --knopf-rand: rgb(238 243 251 / .34);
    --text: #EEF3FB;
    --text-2: #A6B4C9;
    --knopf-hell: #EEF3FB;
    --auf-knopf-hell: #070B15;
    --ueberfaellig: #FF6B4A;
    --ueberfaellig-text: #FF8E74;
    --bald: #EEF3FB;
    --spaeter: #A6B4C9;
    --spaeter-fuellung: rgb(166 180 201 / .16);
    --erledigt: #3DD6A3;
    --erledigt-text: #3DD6A3;
    --ring-offen: #A6B4C9;
    --spur: rgb(200 215 245 / .07);
    --passt: #3DD6A3;
    --auf-passt: #070B15;
    --funke-text: #FFC83D;
    --funke-kante: transparent;
    --fokus: #FFC83D;
    --geist-leib: #EEF4FB;
    --geist-auge: #0B1324;
    --geist-licht: #DCE8FF;
    --geist-schein: drop-shadow(0 0 7px rgb(220 232 255 / .85)) drop-shadow(0 0 24px rgb(220 232 255 / .42));
    --aura-innen: rgb(220 232 255 / .40);
    --aura-aussen: rgb(220 232 255 / .12);
    --lk-kuehl: rgb(220 232 255 / .10);
    --lk-dunst: rgb(90 115 185 / .14);
    --tiefe: 0 24px 44px -26px rgb(0 0 0 / .92), 0 2px 8px -3px rgb(0 0 0 / .5);
    --tiefe-gross: 0 44px 80px -40px rgb(0 0 0 / .9), 0 4px 14px -6px rgb(0 0 0 / .55);
    --papier: #D9DDEA;
    --papier-linie: rgb(16 23 63 / .18);
    --papier-schatten: 0 1px 0 rgb(255 255 255 / .35) inset, 0 16px 26px -16px rgb(0 0 0 / .85), 0 1px 3px rgb(0 0 0 / .4);
    --schirm: #0A0A0B;
    --schirm-text: #FFFFFF;
  }
}
:root[data-modus="dunkel"] {
  color-scheme: dark;
  --grund-oben: #121D33;
  --grund-mitte: #0B1324;
  --grund-unten: #070B15;
  --glas: rgb(28 40 66 / .50);
  --glas-dicht: rgb(30 44 72 / .74);
  --glanz: rgb(205 222 255 / .10);
  --kante-a: rgb(228 238 255 / .55);
  --kante-b: rgb(228 238 255 / .13);
  --kante-c: rgb(228 238 255 / .03);
  --kante-d: rgb(228 238 255 / .09);
  --leiste: rgb(17 26 46 / .62);
  --leiste-aktiv: rgb(200 215 245 / .13);
  --linse-grund: rgb(200 215 245 / .08);
  --linse-licht: rgb(230 238 255 / .2);
  --linse-rand: rgb(220 232 255 / .16);
  --flaeche-leise: rgb(200 215 245 / .08);
  --linie: rgb(200 215 245 / .11);
  --linie-stark: rgb(200 215 245 / .22);
  --knopf-rand: rgb(238 243 251 / .34);
  --text: #EEF3FB;
  --text-2: #A6B4C9;
  --knopf-hell: #EEF3FB;
  --auf-knopf-hell: #070B15;
  --ueberfaellig: #FF6B4A;
  --ueberfaellig-text: #FF8E74;
  --bald: #EEF3FB;
  --spaeter: #A6B4C9;
  --spaeter-fuellung: rgb(166 180 201 / .16);
  --erledigt: #3DD6A3;
  --erledigt-text: #3DD6A3;
  --ring-offen: #A6B4C9;
  --spur: rgb(200 215 245 / .07);
  --passt: #3DD6A3;
  --auf-passt: #070B15;
  --funke-text: #FFC83D;
  --funke-kante: transparent;
  --fokus: #FFC83D;
  --geist-leib: #EEF4FB;
  --geist-auge: #0B1324;
  --geist-licht: #DCE8FF;
  --geist-schein: drop-shadow(0 0 7px rgb(220 232 255 / .85)) drop-shadow(0 0 24px rgb(220 232 255 / .42));
  --aura-innen: rgb(220 232 255 / .40);
  --aura-aussen: rgb(220 232 255 / .12);
  --lk-kuehl: rgb(220 232 255 / .10);
  --lk-dunst: rgb(90 115 185 / .14);
  --tiefe: 0 24px 44px -26px rgb(0 0 0 / .92), 0 2px 8px -3px rgb(0 0 0 / .5);
  --tiefe-gross: 0 44px 80px -40px rgb(0 0 0 / .9), 0 4px 14px -6px rgb(0 0 0 / .55);
  --papier: #D9DDEA;
  --papier-linie: rgb(16 23 63 / .18);
  --papier-schatten: 0 1px 0 rgb(255 255 255 / .35) inset, 0 16px 26px -16px rgb(0 0 0 / .85), 0 1px 3px rgb(0 0 0 / .4);
  --schirm: #0A0A0B;
  --schirm-text: #FFFFFF;
}

/* Nacht-Kapitel: hell in Tintenblau-Nacht (gleiche Farbfamilie wie die helle Seite), dunkel in tieferem Nachtblau.
   Die Kopfleiste übernimmt die Werte, solange sie über einem Nacht-Kapitel schwebt (data-nacht). */
.nacht, .kopf[data-nacht] .kopf-pille, .kachel-nacht {
  color-scheme: dark;
  --grund-oben: #1A2456;
  --grund-mitte: #0C122F;
  --grund-unten: #080B1F;
  --glas: rgb(36 48 104 / .56);
  --glas-dicht: rgb(30 40 88 / .88);
  --glanz: rgb(175 195 255 / .11);
  --kante-a: rgb(222 230 255 / .5);
  --kante-b: rgb(222 230 255 / .12);
  --kante-c: rgb(222 230 255 / .03);
  --kante-d: rgb(222 230 255 / .14);
  --leiste: rgb(26 36 82 / .62);
  --leiste-aktiv: rgb(158 180 255 / .16);
  --linse-grund: rgb(158 180 255 / .1);
  --linse-licht: rgb(230 238 255 / .2);
  --linse-rand: rgb(222 230 255 / .16);
  --flaeche-leise: rgb(158 180 255 / .055);
  --linie: rgb(158 180 255 / .14);
  --linie-stark: rgb(158 180 255 / .34);
  --knopf-rand: rgb(158 180 255 / .34);
  --text: #EEF1FF;
  --text-2: #A8B2DA;
  --knopf-hell: #EEF1FF;
  --auf-knopf-hell: #0A0F2A;
  --bald: #9EB4FF;
  --spaeter: #9EB4FF;
  --erledigt: #45E0B0;
  --erledigt-text: #45E0B0;
  --passt: #45E0B0;
  --auf-passt: #0A0F2A;
  --funke-text: #FFC83D;
  --funke-kante: transparent;
  --fokus: #FFC83D;
  --geist-leib: #F4F6FF;
  --geist-auge: #0A0F2A;
  --geist-licht: #9EB4FF;
  --geist-schein: drop-shadow(0 0 7px rgb(158 180 255 / .9)) drop-shadow(0 0 24px rgb(158 180 255 / .5));
  --aura-innen: rgb(158 180 255 / .5);
  --aura-aussen: rgb(158 180 255 / .16);
  --lk-kuehl: rgb(158 180 255 / .2);
  --lk-dunst: rgb(120 140 255 / .16);
  --tiefe: 0 24px 44px -26px rgb(2 3 12 / .9), 0 2px 8px -3px rgb(2 3 12 / .55);
  --tiefe-gross: 0 44px 80px -40px rgb(2 3 12 / .95), 0 4px 14px -6px rgb(2 3 12 / .6);
  --schirm: #000000;
  --schirm-text: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-modus="hell"]) .nacht, :root:not([data-modus="hell"]) .kopf[data-nacht] .kopf-pille {
    --grund-oben: #0E1730;
    --grund-mitte: #080E1C;
    --grund-unten: #04070E;
    --glas: rgb(28 40 66 / .52);
    --glas-dicht: rgb(30 44 72 / .8);
    --text: #EEF3FB;
    --text-2: #A6B4C9;
    --bald: #EEF3FB;
    --spaeter: #A6B4C9;
    --geist-leib: #EEF4FB;
    --geist-auge: #0B1324;
    --geist-licht: #DCE8FF;
    --geist-schein: drop-shadow(0 0 7px rgb(220 232 255 / .85)) drop-shadow(0 0 24px rgb(220 232 255 / .42));
    --aura-innen: rgb(220 232 255 / .40);
    --aura-aussen: rgb(220 232 255 / .12);
  }
}
:root[data-modus="dunkel"] .nacht, :root[data-modus="dunkel"] .kopf[data-nacht] .kopf-pille {
  --grund-oben: #0E1730;
  --grund-mitte: #080E1C;
  --grund-unten: #04070E;
  --glas: rgb(28 40 66 / .52);
  --glas-dicht: rgb(30 44 72 / .8);
  --text: #EEF3FB;
  --text-2: #A6B4C9;
  --bald: #EEF3FB;
  --spaeter: #A6B4C9;
  --geist-leib: #EEF4FB;
  --geist-auge: #0B1324;
  --geist-licht: #DCE8FF;
  --geist-schein: drop-shadow(0 0 7px rgb(220 232 255 / .85)) drop-shadow(0 0 24px rgb(220 232 255 / .42));
  --aura-innen: rgb(220 232 255 / .40);
  --aura-aussen: rgb(220 232 255 / .12);
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  interpolate-size: allow-keywords;
  scroll-padding-top: calc(var(--kopf-h) + 12px);
  background: var(--grund-mitte);
  scrollbar-color: var(--linie-stark) transparent;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  position: relative;
  margin: 0;
  min-height: 100vh;
  overflow-x: clip;
  background:
    radial-gradient(900px 620px at 88% 0%, var(--lk-kuehl), transparent 70%),
    linear-gradient(180deg, var(--grund-oben) 0, var(--grund-mitte) 900px, var(--grund-mitte) 70%, var(--grund-unten) 100%);
  color: var(--text);
  font: 400 1.0625rem/1.55 var(--schrift);
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, picture { display: block; max-width: 100%; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: .08em; }
strong, b { font-weight: 650; color: var(--text); }
i { font-style: normal; }
mark { background: var(--markierung); color: var(--auf-markierung); border-radius: 5px; padding: 0 .2em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
::selection { background: var(--auswahl); color: var(--auf-markierung); }
:focus-visible { outline: 3px solid var(--fokus); outline-offset: 3px; border-radius: 8px; }
a, button, summary, .chip, label { touch-action: manipulation; }
button, summary, .knopf, .chip, .reiter, .quelle-pille { -webkit-user-select: none; user-select: none; }
.zahl, .rolle { font-variant-numeric: tabular-nums; }

.symbole { position: absolute; width: 0; height: 0; overflow: hidden; }
.nur-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.sprunglink {
  position: fixed; left: 16px; top: 12px; z-index: 100;
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 22px;
  background: var(--knopf-hell); color: var(--auf-knopf-hell); font-weight: 650; text-decoration: none;
  translate: 0 -200%;
  transition: translate 240ms var(--expo);
}
.sprunglink:focus-visible { translate: 0 0; }

.huelle { width: min(100% - 2 * var(--rand), var(--breite)); margin-inline: auto; }
.ikon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Glasfläche (lebhaft): Glanz oben links, Lichtkante 1 px im Verlauf. Die Kante ist ein eigenes Pseudo-Element mit
   transparentem Rand, ausgestanzt über padding-box exclude (keine content-box-Maske: Chrome füllte dort die Ecken). */
.glas {
  position: relative;
  background: radial-gradient(130% 90% at 0% 0%, var(--glanz), transparent 52%), var(--glas);
  box-shadow: var(--tiefe);
  border-radius: 26px;
}
.glas::before, .kachel::before, .plan::before, .faq details::before, .blase::before, .kopf-pille::before, .karte-feld::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid transparent;
  background: linear-gradient(150deg, var(--kante-a), var(--kante-b) 32%, var(--kante-c) 62%, var(--kante-d)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) padding-box exclude, linear-gradient(#fff 0 0);
  pointer-events: none;
}

/* ---------- Knöpfe ---------- */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 24px; border: 0; border-radius: 25px;
  background: var(--knopf-hell); color: var(--auf-knopf-hell);
  font: 650 1rem/1 var(--schrift); text-decoration: none; white-space: nowrap;
  box-shadow: 0 10px 24px -12px rgb(27 39 104 / .55), 0 0 22px -6px color-mix(in srgb, var(--geist-licht) 70%, transparent);
  transition: scale 450ms var(--fest), box-shadow 300ms ease, background-color 200ms ease, opacity 200ms ease;
}
.knopf:active { scale: .95; transition-duration: 100ms, 300ms, 200ms, 200ms; transition-timing-function: ease-out, ease, ease, ease; }
.knopf-gross { min-height: 54px; padding: 0 28px; border-radius: 27px; font-size: 1.0625rem; }
.knopf { max-width: 100%; }
.knopf-gross, .formular .knopf { white-space: normal; text-align: center; line-height: 1.15; padding-block: 8px; }
.knopf-klein { min-height: 44px; padding: 0 18px; border-radius: 22px; font-size: .9375rem; }
.knopf-passt { background: var(--passt); color: var(--auf-passt); box-shadow: 0 10px 22px -14px color-mix(in srgb, var(--passt) 80%, transparent); }
.knopf-leise { background: var(--flaeche-leise); color: var(--text); box-shadow: inset 0 0 0 1px var(--knopf-rand); }
.knopf:disabled { cursor: default; }
.js .pruefen .knopf:disabled { opacity: .6; }
.knopf.gedrueckt { scale: .95; transition-duration: 100ms; }
.rund {
  display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none;
  border: 0; border-radius: 50%; padding: 0;
  background: var(--flaeche-leise); color: var(--text);
  box-shadow: inset 0 0 0 1px var(--linie);
  transition: scale 450ms var(--fest), background-color 200ms ease, opacity 200ms ease;
}
.rund:active { scale: .92; transition-duration: 100ms, 200ms, 200ms; transition-timing-function: ease-out, ease, ease; }
.textlink {
  display: inline-flex; align-items: center; min-height: 44px;
  color: var(--text); font-weight: 600; text-decoration: underline;
  text-decoration-color: var(--linie-stark); text-decoration-thickness: 2px; text-underline-offset: 6px;
  transition: text-decoration-color 200ms ease;
}
.textknopf { border: 0; background: none; padding: 0 6px; min-height: 44px; color: var(--text); font-weight: 600; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--linie-stark); }
@media (hover: hover) and (pointer: fine) {
  .knopf:hover { box-shadow: 0 14px 30px -12px rgb(27 39 104 / .6), 0 0 30px -4px color-mix(in srgb, var(--geist-licht) 80%, transparent); }
  .knopf-leise:hover, .chip:hover { background: var(--leiste-aktiv); }
  .rund:hover { background: var(--leiste-aktiv); }
  .textlink:hover, .textknopf:hover { text-decoration-color: currentColor; }
}

/* ---------- Kopfleiste: schwebende Glas-Pille ---------- */
.kopf {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding: max(10px, env(safe-area-inset-top)) var(--rand) 0;
  pointer-events: none;
}
.kopf-pille {
  position: relative; pointer-events: auto;
  display: flex; align-items: center; gap: 8px;
  max-width: var(--breite); height: 60px; margin: 0 auto; padding: 0 10px 0 8px;
  border-radius: 30px; color: var(--text);
  background: var(--leiste);
  -webkit-backdrop-filter: blur(24px) saturate(170%);
  backdrop-filter: blur(24px) saturate(170%);
  box-shadow: 0 22px 36px -20px rgb(27 39 104 / .45);
}
.marke { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--text); text-decoration: none; flex: none; border-radius: 22px; }
.marke .zeichen { width: 30px; height: 30px; flex: none; overflow: visible; }
.bg-koerper { fill: var(--geist-leib); }
.bg-klappe { stroke: var(--geist-auge); }
.bg-auge { fill: var(--geist-auge); }
.bg-funke { fill: var(--funke); stroke: var(--funke-kante); stroke-width: .9px; }
.wortmarke { font: 720 21px/1 var(--titel); font-stretch: 92%; letter-spacing: -.02em; white-space: nowrap; }
.wortmarke .i { position: relative; display: inline-block; }
.wortmarke .i-funke { position: absolute; left: 50%; top: -.14em; width: .44em; height: .44em; translate: -50% 0; fill: var(--funke); stroke: var(--funke-kante); stroke-width: 1px; }
.nav { position: relative; display: none; align-items: center; gap: 2px; margin-inline: auto; }
.nav a {
  position: relative; z-index: 1; display: inline-flex; align-items: center;
  min-height: 44px; padding: 0 15px; border-radius: 22px;
  color: var(--text-2); font: 600 15px/1 var(--schrift); text-decoration: none;
  transition: color 200ms ease;
}
.nav a[aria-current="true"] { color: var(--text); }
.nav-licht {
  position: absolute; left: 0; top: 50%; z-index: 0;
  width: var(--licht-b, 80px); height: 40px; border-radius: 20px;
  background: var(--leiste-aktiv);
  translate: var(--licht-x, 0px) -50%;
  opacity: 0;
  transition: translate 450ms var(--fest), width 450ms var(--fest), opacity 200ms ease;
}
.nav[data-licht] .nav-licht { opacity: 1; }
/* Unter 1000 px: Marke links, Aktionen rechtsbündig (die Navigation ist dort aus und darf das Rechtsbündig nicht aufheben). */
.kopf-aktionen { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.modus-knopf { visibility: hidden; }
.js .modus-knopf { visibility: visible; }
.modus-knopf .ikon { grid-area: 1 / 1; width: 20px; height: 20px; transition: opacity 300ms ease, rotate 450ms var(--fest), scale 450ms var(--fest); }
.modus-knopf[aria-pressed="true"] .modus-mond, .modus-knopf[aria-pressed="false"] .modus-sonne { opacity: 0; rotate: -60deg; scale: .6; }
.kopf-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; color: var(--text); font-weight: 600; font-size: 15px; text-decoration: none; border-radius: 22px; }
.kopf-knopf { font-size: 15px; }
.menue-blatt { font-size: 16px; }
.kopf-knopf .kurz { display: none; }
.menue { position: relative; }
.menue summary { list-style: none; }
.menue summary::-webkit-details-marker { display: none; }
.menue summary .ikon { grid-area: 1 / 1; transition: opacity 200ms ease, rotate 450ms var(--fest); }
.menue:not([open]) .menue-zu, .menue[open] .menue-auf { opacity: 0; rotate: 45deg; }
.menue-blatt {
  position: absolute; right: -2px; top: calc(100% + 14px);
  display: flex; flex-direction: column; gap: 2px;
  width: min(280px, calc(100vw - 2 * var(--rand)));
  padding: 8px; border-radius: 24px;
  background: var(--glas-dicht);
  -webkit-backdrop-filter: blur(24px) saturate(170%);
  backdrop-filter: blur(24px) saturate(170%);
  box-shadow: var(--tiefe-gross), inset 0 0 0 1px var(--linie);
  transform-origin: calc(100% - 22px) -10px;
  transition: opacity 200ms ease, scale 320ms var(--expo);
}
@starting-style { .menue[open] .menue-blatt { opacity: 0; scale: .94; } }
.menue-blatt a { display: flex; align-items: center; min-height: 48px; padding: 0 16px; border-radius: 16px; color: var(--text); font-weight: 600; text-decoration: none; }
.menue-blatt .knopf { margin-top: 6px; justify-content: center; color: var(--auf-knopf-hell); }
@media (hover: hover) and (pointer: fine) {
  .nav a:hover, .kopf-link:hover { color: var(--text); }
  .menue-blatt a:not(.knopf):hover { background: var(--leiste-aktiv); }
}
@media (max-width: 359px) { .kopf-knopf { display: none; } }
@media (max-width: 759px) {
  .kopf-knopf .lang { display: none; }
  .kopf-knopf .kurz { display: inline; }
  .kopf-knopf { padding: 0 14px; }
  .wortmarke { font-size: 19px; }
}
@media (max-width: 389px) { .marke .wortmarke { display: none; } }
/* 390 bis 429 px: Marke, Modus, Warteliste und Menü passen nur dicht gesetzt in die Pille; Trefferflächen bleiben 44 px. */
@media (min-width: 390px) and (max-width: 429px) {
  .kopf-pille { gap: 6px; }
  .marke { gap: 6px; }
  .wortmarke { font-size: 18px; }
  .kopf-aktionen { gap: 4px; }
  .kopf-knopf { padding: 0 12px; font-size: 14px; }
}
/* Ab 1000 px: drei Spalten, die Navigation steht in der Mitte der Pille. Die Randspalten wachsen nie unter ihren Inhalt,
   so verschiebt sich die Navigation lieber, als dass etwas überlappt. */
@media (min-width: 1000px) {
  .kopf-pille { display: grid; grid-template-columns: minmax(max-content, 1fr) auto minmax(max-content, 1fr); column-gap: 8px; padding: 0; }
  .marke { justify-self: start; margin-left: 18px; }
  .nav { display: flex; margin-inline: 0; }
  .kopf-aktionen { justify-self: end; margin: 0 8px 0 0; }
  .menue { display: none; }
}
/* Bis 1159 px reicht der Platz neben der Mitte nur für die kurze Beschriftung (vorhandener Text „Warteliste“). */
@media (min-width: 1000px) and (max-width: 1159px) {
  .kopf-knopf .lang { display: none; }
  .kopf-knopf .kurz { display: inline; }
  .nav a { padding: 0 13px; }
}

/* ---------- Der Gaist: Figur, Licht, Leben auf dem Platz ---------- */
.figur {
  --g: 72px;
  position: relative; display: grid; place-items: center; flex: none;
  width: var(--g); height: var(--g);
  transition: opacity 240ms ease;
}
.figur .gaist { position: relative; z-index: 2; width: 100%; height: 100%; overflow: visible; filter: var(--geist-schein); }
.figur .aura {
  position: absolute; left: 50%; top: 52%; z-index: 0;
  width: calc(var(--g) * 3); aspect-ratio: 1; border-radius: 50%;
  translate: -50% -50%;
  background: radial-gradient(closest-side, var(--aura-innen), var(--aura-aussen) 34%, transparent 74%);
  pointer-events: none;
}
.figur .boden {
  position: absolute; left: 48%; bottom: -8%; z-index: 1;
  width: 56%; height: 11%; border-radius: 50%; translate: -50% 0;
  background: radial-gradient(closest-side, var(--geist-licht), transparent);
  opacity: .55;
}
.g-leib { fill: var(--geist-leib); }
.g-klappe { fill: none; stroke: var(--geist-auge); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.g-augen { fill: var(--geist-auge); transform-box: view-box; transform-origin: 31px 25.5px; }
.g-funke { fill: var(--funke); stroke: var(--funke-kante); stroke-width: .9px; transform-box: view-box; transform-origin: 54px 12px; }
/* Leben auf dem Platz: nur Blinzeln (6,6 s, doppelt) und das Funkeln des kleinen Funkens; kein großflächiges Schweben. */
@media (prefers-reduced-motion: no-preference) {
  .platz.da .g-augen { animation: blinzeln 6.6s var(--sanft) 1.2s infinite; }
  .platz.da .g-funke { animation: funkeln 3.2s var(--sanft) infinite; }
}
@keyframes blinzeln {
  0%, 90%, 100% { scale: 1 1; }
  92% { scale: 1 .12; }
  94% { scale: 1 1; }
  96% { scale: 1 .12; }
  98% { scale: 1 1; }
}
@keyframes funkeln {
  0%, 100% { scale: 1; opacity: 1; }
  50% { scale: 1.25; opacity: .82; }
}

/* Platz: Figur links, Blase rechts; die kleine Ecke der Blase zeigt zu ihm (Sprecher-Regel). */
.platz { position: relative; display: flex; align-items: center; gap: 12px; z-index: 3; }
:where(.platz) .figur { --g: 76px; }
.blase {
  position: relative; z-index: 3;
  max-width: 300px; padding: 12px 16px 13px;
  border-radius: 24px 24px 24px 8px;
  background: radial-gradient(120% 100% at 100% 0%, var(--glanz), transparent 55%), var(--glas-dicht);
  box-shadow: var(--tiefe);
  color: var(--text);
  font: 640 1.125rem/1.24 var(--titel); font-stretch: 88%; letter-spacing: -.01em;
  text-wrap: pretty;
  transform-origin: 0% 100%;
  transition: opacity 240ms ease, transform 640ms var(--feder);
}
.blase::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(70% 90% at 0% 100%, color-mix(in srgb, var(--geist-licht) 18%, transparent), transparent 70%);
}
.blase .satz { position: relative; z-index: 1; display: block; }
.js .platz:not(.da) .figur { opacity: 0; }
.js .platz:not(.spricht) .blase { opacity: 0; transform: translate(-14px, 10px) scale(.72); transition: opacity 170ms ease, transform 0s linear 170ms; }
.js .platz.da:not(.weich) .figur { transition: none; }
/* Abflug: die Figur verschwindet im selben Bild, in dem der Flieger an ihrer Stelle erscheint (kein Doppelbild). */
.js .platz.weg .figur { transition: none; }
.satz.wechselt { animation: satz-wechsel 620ms var(--feder); }
@keyframes satz-wechsel { from { opacity: .35; scale: .94; } }

/* Flugebene in Seitenkoordinaten; der Flieger ist eine Kopie der Figur, seine Farben gleiten zum Ziel. */
.flieger .boden { opacity: 0; }
.flieger .g-leib, .flieger .g-klappe, .flieger .g-augen, .flieger .g-funke { transition: fill 500ms ease, stroke 500ms ease; }
.js .chat[data-stand]:not([data-stand="fertig"]) .chat-frage:not(.offen),
.js .chat[data-stand]:not([data-stand="fertig"]) .blase-chat:not(.offen) { opacity: 0; }
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
.flugebene { position: absolute; inset: 0 0 auto 0; height: 0; z-index: 45; pointer-events: none; }
.flieger-halter { position: absolute; left: 0; top: 0; }
.flieger { position: absolute; left: 0; top: 0; transform-origin: 50% 50%; will-change: transform; }
.spurpunkt { position: absolute; left: 0; top: 0; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--geist-licht); box-shadow: 0 0 10px 1px var(--geist-licht); pointer-events: none; }
.welle { position: absolute; left: 50%; top: 50%; z-index: 1; width: 166px; aspect-ratio: 1; margin: -83px 0 0 -83px; border-radius: 50%; border: 2px solid var(--erledigt); pointer-events: none; opacity: 0; }
.strahl { position: absolute; left: 84%; top: 18%; z-index: 3; width: 2px; height: 12px; margin: -12px 0 0 -1px; border-radius: 2px; background: var(--funke); transform-origin: 50% 100%; pointer-events: none; opacity: 0; }

/* ---------- Kapitel ---------- */
main { display: block; }
.kapitel { position: relative; padding-block: clamp(80px, 10vw, 136px); }
.kopfzeile { max-width: 40rem; }
.titel-kapitel {
  font: 740 clamp(2.25rem, 1.35rem + 3.6vw, 4.25rem)/.98 var(--titel); font-stretch: 80%;
  letter-spacing: -.028em; text-wrap: balance; color: var(--text);
}
.titel-gross { font-size: clamp(2.6rem, 1.4rem + 5vw, 5.25rem); }
.titel-mittel { font: 720 clamp(1.6rem, 1.2rem + 1.6vw, 2.25rem)/1.05 var(--titel); font-stretch: 82%; letter-spacing: -.02em; text-wrap: balance; }
.intro { margin-top: 18px; max-width: 36rem; color: var(--text-2); font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem); line-height: 1.55; text-wrap: pretty; }
.intro strong { color: var(--text); }

/* Alle Abschnittsraster: Spalten dürfen schrumpfen (lange Wörter, 320 px, 200 % Schrift). */
.buehne-raster, .hl-kopf, .pe-raster, .geist-raster, .fr-raster, .hh-raster, .ds-raster, .preise-kopf, .faq-raster, .beta-raster, .ablauf-kopf { grid-template-columns: minmax(0, 1fr); }
.blase-chat, .chat-antwort, .chat-verlauf { min-width: 0; }
.quelle-chip > span { min-width: 0; overflow-wrap: anywhere; }
.blase, .intro, .kachel-text p, .fakt p, .faq-antwort, .plan-werte dt, .titel-kapitel, .held-titel, .titel-mittel, .kachel-text h3 { overflow-wrap: break-word; }
.pr-wer, .hh-brief-was, .fm-was { min-width: 0; }
.textlink, .fakt h3, .fakt p, .haushalt-punkte li, .dank, .preishinweis, .haken label { overflow-wrap: anywhere; }
.pr-titel, .pr-abs, .hh-brief-was b, .fm-was b, .station b, .mb-titel { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }

/* ---------- 1 Bühne: steht in buehne.css (Übergabe am Ende dieser Datei) ---------- */
@keyframes aufsteigen { from { opacity: 0; translate: 0 18px; } }
@keyframes notfall { to { opacity: 1; transform: none; } }

/* ---------- 2 Highlights: Kacheln ---------- */
.highlights { padding-bottom: clamp(56px, 7vw, 96px); }
.hl-kopf { display: grid; gap: 22px; align-items: end; }
.karussell { margin-top: clamp(20px, 3vw, 36px); }
.spur {
  --kachel-b: min(84vw, 360px);
  --spur-rand: max(var(--rand), (100vw - var(--kachel-b)) / 2);
  display: flex; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--spur-rand);
  padding: 14px var(--spur-rand) 30px;
  scrollbar-width: none;
}
.spur::-webkit-scrollbar { display: none; }
.spur:focus-visible { outline-offset: -3px; border-radius: 28px; }
.kachel {
  position: relative; flex: none; display: flex; flex-direction: column;
  width: var(--kachel-b); height: clamp(500px, 136vw, 560px);
  scroll-snap-align: center; scroll-snap-stop: always;
  border-radius: 28px; overflow: hidden; isolation: isolate;
  background: radial-gradient(130% 90% at 0% 0%, var(--glanz), transparent 52%), var(--glas);
  box-shadow: var(--tiefe);
}
.kachel::before { z-index: 5; }
.kachel-text { position: relative; z-index: 2; padding: 22px 22px 0; }
.kachel-text h3 { font: 720 1.625rem/1.02 var(--titel); font-stretch: 84%; letter-spacing: -.015em; }
.kachel-text p { margin-top: 8px; color: var(--text-2); font-size: .9688rem; line-height: 1.45; text-wrap: pretty; }
.kachel-bild { position: relative; flex: 1; min-height: 0; }
.kachel-bild::before { content: ""; position: absolute; left: 6%; right: 6%; top: 10%; height: 70%; background: radial-gradient(closest-side, var(--lk-kuehl), transparent 75%); pointer-events: none; }
.kachel-geraet {
  position: absolute; left: 13%; top: 22px; width: 74%;
  transform-origin: 50% 18%;
  transition: scale 900ms var(--expo);
}
.kachel-bild.fokus-mitte .kachel-geraet { transform-origin: 50% 34%; }
.kachel.aktiv .kachel-geraet { scale: 1.045; }
.kachel-geraet::before { display: none; }
.kachel-geraet .schirm { background: var(--schirm); color: var(--schirm-text); }
/* Kachelbilder sind die Originale der Bildwelle (600 x 1304, echte Statusleiste): der Schirm zeigt sie ab Oberkante. */
.kachel-geraet .schirm picture { position: absolute; left: 0; right: 0; top: 0; height: auto; }
.kachel-geraet .schirm img { width: 100%; height: auto; }
.kachel-nacht { color: var(--text); background: radial-gradient(90% 60% at 50% 0%, rgb(158 180 255 / .24), transparent 70%), linear-gradient(180deg, #1A2456, #0C122F 62%); }
.karussell-leiste { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 2px; }
.zaehler { min-width: 4.6em; color: var(--text-2); font: 600 .875rem/1 var(--schrift); font-variant-numeric: tabular-nums; white-space: nowrap; }
.zaehler-nr { color: var(--text); }
.punkte { display: flex; align-items: center; margin-inline: auto; }
.punkt { display: grid; place-items: center; width: 44px; height: 44px; border: 0; padding: 0; background: none; }
.punkt::before { content: ""; width: 8px; height: 8px; border-radius: 4px; background: var(--linie-stark); transition: width 450ms var(--fest), background-color 300ms ease; }
.punkt[aria-current="true"]::before { width: 22px; background: var(--text); }
.paddel-paar { display: none; gap: 8px; }
.paddel[aria-disabled="true"] { opacity: .4; cursor: default; }
@media (max-width: 479px) { .zaehler { display: none; } }
@media (max-width: 359px) { .punkt { width: 40px; } }
@media (min-width: 760px) {
  .hl-kopf { grid-template-columns: minmax(0, 1fr) auto; }
  .spur { --kachel-b: 360px; --spur-rand: max(var(--rand), (100vw - var(--breite)) / 2); }
  .kachel { scroll-snap-align: start; scroll-snap-stop: always; height: 580px; }
  .paddel-paar { display: flex; }
  .punkte { margin-inline: 0 auto; }
}

/* ---------- C-1: klebende Galerie (Mechanik nach A, Gestalt nach C) ----------
   html.hl-an setzt modus.js vor dem ersten Bild: Skript an, keine reduzierte Bewegung, Fenster hoch genug (schmal ab 620 px, bei 320 px Breite ab 680 px, sonst ab 520 px), Grundschrift
   nicht vergrößert. Der Halter ist so hoch wie die Bühne plus Rollweg (1,2 x Spurweg); die Bühne klebt, solange er
   durchrollt, und site.js schiebt die Reihe nur über transform (Haltezonen je Kachel). Eine Lage: der senkrechte Bildlauf;
   waagrechtes Wischen auf der Reihe ist aus (touch-action), Punkte, Paddel und Pfeiltasten rollen die Seite. Ohne
   Rastpunkte: Einrasten (auch als Nähe) zog in Chromium bei 410 px Abstand jede Lage auf den nächsten Punkt und kämpfte
   mit dem Rad; die Haltezonen tragen das Ruhen. Ohne hl-an bleibt das Wischkarussell von C. */
.hl-an .highlights {
  --kachel-b: min(84vw, 360px);
  padding-top: max(24px, clamp(104px, 13vw, 176px) - var(--kopf-h) - 8px);
}
.hl-an .hl-halter { position: relative; height: calc(100svh + 1.2 * 6 * (var(--kachel-b) + 14px)); }
.hl-an .hl-buehne {
  position: sticky; top: 0; height: 100svh;
  display: grid; grid-template-rows: auto minmax(0, 1fr); grid-template-columns: minmax(0, 1fr);
  padding: calc(var(--kopf-h) + 4px) 0 max(8px, env(safe-area-inset-bottom));
}
.hl-an .hl-kopf { gap: 10px; }
/* Der Satz wechselt je Kachel: feste Blase, damit weder der Gaist noch die Reihe springen. */
.hl-an .hl-kopf .blase { width: min(300px, 100vw - 2 * var(--rand) - 88px); min-height: calc(2 * 1.24em + 25px); }
.hl-an .karussell { display: grid; grid-template-rows: minmax(0, 1fr) auto; grid-template-columns: minmax(0, 1fr); min-width: 0; min-height: 0; margin-top: 6px; overflow-x: clip; }
.hl-an .spur {
  --kachel-b: inherit;
  position: relative; height: 100%; min-height: 0; align-items: center;
  overflow: visible; scroll-snap-type: none; touch-action: pan-y;
  padding: 8px 0 12px;
  will-change: transform;
}
.hl-an .kachel { height: min(100%, 580px); scroll-snap-align: none; }
@media (min-width: 760px) {
  .hl-an .highlights { --kachel-b: clamp(360px, 30vw, 440px); }
}

/* ---------- 3 Posteingang: erfasst und sortiert ---------- */
.pe-raster { display: grid; gap: clamp(28px, 4vw, 48px); align-items: start; }
.eingang { position: relative; max-width: 520px; }
.quellen { display: flex; flex-wrap: wrap; gap: 8px; }
.quelle-pille {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px 0 12px; border-radius: 20px;
  background: var(--glas-dicht); box-shadow: var(--tiefe), inset 0 0 0 1px var(--linie);
  font: 600 .9375rem/1 var(--schrift);
}
.quelle-pille .ikon { width: 20px; height: 20px; color: var(--bald); }
.eingang-feld { position: relative; margin-top: 18px; }
.platz-karte { margin: 0 0 12px; }
.platz-karte .figur { --g: 64px; }
.musterbrief {
  position: absolute; left: calc(50% - min(39%, 165px)); top: 100px; z-index: 6;
  width: min(78%, 330px); aspect-ratio: 1.42;
  border-radius: 10px; padding: 16px 18px;
  background: var(--papier); box-shadow: var(--papier-schatten);
  display: flex; flex-direction: column; gap: 4px; overflow: hidden;
  opacity: 0; pointer-events: none;
}
.mb-kopf { font: 600 .75rem/1.2 var(--schrift); color: #4A5378; }
.mb-titel { font: 700 1rem/1.2 var(--titel); font-stretch: 88%; color: #10173F; }
.mb-zeilen { flex: 1; margin-top: 8px; border-radius: 2px; background: repeating-linear-gradient(180deg, rgb(16 23 63 / .16) 0 3px, transparent 3px 11px); -webkit-mask: linear-gradient(90deg, #000 70%, transparent); mask: linear-gradient(90deg, #000 70%, transparent); }
.mb-strahl { position: absolute; left: 0; right: 0; top: 0; height: 28%; background: linear-gradient(180deg, transparent, rgb(255 200 61 / .32) 70%, rgb(255 200 61 / .9) 96%, transparent); opacity: 0; }

.pruefen { padding: 18px; border-radius: 28px; }
.pr-brief { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.linse {
  position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; flex: none;
  background: radial-gradient(60% 60% at 30% 25%, var(--linse-licht), transparent 70%), var(--linse-grund);
  box-shadow: inset 0 0 0 1px var(--linse-rand), 0 4px 10px -6px rgb(27 39 104 / .35);
  color: var(--text);
}
.linse .ikon { width: 20px; height: 20px; }
.pr-titel { font: 700 1.25rem/1.12 var(--titel); font-stretch: 86%; letter-spacing: -.01em; }
.pr-abs { margin-top: 3px; color: var(--text-2); font-size: .8438rem; line-height: 1.3; }
.pr-frist { text-align: right; line-height: 1; }
.pr-frist-wort { display: block; color: var(--text-2); font: 600 .75rem/1 var(--schrift); margin-bottom: 4px; }
.pr-frist-tag { font: 720 1.875rem/.9 var(--titel); font-stretch: 80%; letter-spacing: -.02em; color: var(--text); }
.marken { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.marke-fakt {
  display: inline-flex; align-items: center; gap: 7px; min-height: 32px; padding: 0 12px 0 9px; border-radius: 16px;
  background: var(--flaeche-leise); box-shadow: inset 0 0 0 1px var(--linie-stark);
  font: 600 .8438rem/1 var(--schrift);
}
.marke-fakt .ikon { width: 17px; height: 17px; color: var(--text-2); }
.kuerzel-mini { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--linse-grund); box-shadow: inset 0 0 0 1px var(--linse-rand); font: 700 .6875rem/1 var(--titel); }
.form-ring, .form-punkt, .form-raute, .form-haken { display: inline-block; flex: none; }
.form-ring { width: 9px; height: 9px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--spaeter); }
.form-punkt { width: 8px; height: 8px; border-radius: 50%; background: var(--bald); transition: background-color 400ms ease; }
.form-raute { width: 8px; height: 8px; border-radius: 1.5px; background: var(--ueberfaellig); rotate: 45deg; }
.form-haken { width: 13px; height: 13px; }
.form-haken svg { width: 100%; height: 100%; fill: none; stroke: var(--erledigt); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.beleg { margin-top: 14px; padding: 12px 14px; border-radius: 18px; background: var(--flaeche-leise); }
.beleg-kopf { display: flex; align-items: center; gap: 7px; color: var(--funke-text); font: 700 .7813rem/1 var(--schrift); }
.funke-zeichen { width: 13px; height: 13px; fill: var(--funke); stroke: var(--funke-kante); stroke-width: 1px; }
/* aufrecht: das einzige Kursive der Seite lud die kursive Inter (52 KB) in jeder Engine (R3 F-3, W-37); die Anführungszeichen tragen das Zitat */
.beleg-zitat { margin-top: 7px; font: 400 .9375rem/1.55 var(--schrift); color: var(--text); }
.beleg-zitat mark { font-style: normal; font-weight: 600; }
.pr-aktion { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); margin-top: 16px; }
.pr-knoepfe, .pr-wahl, .pr-ergebnis { grid-area: 1 / 1; }
.pr-knoepfe { display: flex; flex-wrap: wrap; gap: 10px; }
.pr-knoepfe .knopf { min-width: 0; flex-basis: 110px; }
/* Ergebnis in einer Zeile neben „Rückgängig“: der Satz bricht in sich um, die Zeile nicht (sonst rückt die Tabelle 34 px, WS-5) */
.pr-ergebnis { flex-wrap: nowrap; }
.marke-fakt { max-width: 100%; overflow-wrap: anywhere; }
.pr-knoepfe .knopf-passt { flex: 1.35; }
.pr-knoepfe .knopf-leise { flex: 1; }
.pr-wahl { display: flex; flex-direction: column; gap: 8px; }
.pr-wahl[hidden] { display: none; }
.pr-wahl-frage { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.pr-wahl-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  min-height: 44px; padding: 0 16px; border: 0; border-radius: 22px;
  background: var(--flaeche-leise); box-shadow: inset 0 0 0 1px var(--knopf-rand);
  font: 600 .9375rem/1 var(--schrift); color: var(--text);
  transition: scale 450ms var(--fest), background-color 200ms ease;
}
.chip:active { scale: .95; transition-duration: 100ms, 200ms; transition-timing-function: ease-out, ease; }
.pr-ergebnis { display: flex; align-items: center; justify-content: space-between; gap: 12px; pointer-events: none; }
.pr-ergebnis > * { pointer-events: auto; }
.pr-abgelegt { display: inline-flex; align-items: center; gap: 10px; min-width: 0; color: var(--erledigt-text); font: 650 1rem/1.2 var(--schrift); }
.pr-abgelegt > span:last-child { min-width: 0; }
.pr-zurueck { flex: none; }
.pr-abgelegt b { color: inherit; }
.pr-abgelegt[hidden], .pr-zurueck[hidden] { display: none; }
.haken-kreis { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--erledigt); color: var(--auf-passt); flex: none; }
.haken-kreis svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 16; }
.pruefen[data-stand="abgelegt"] .pr-knoepfe, .pruefen[data-stand="wahl"] .pr-knoepfe { visibility: hidden; }
.pruefen { transition: box-shadow 1150ms var(--expo); }
.pruefen[data-stand="abgelegt"] { box-shadow: var(--tiefe), 0 0 0 1.5px color-mix(in srgb, var(--erledigt) 55%, transparent), 0 0 36px -8px color-mix(in srgb, var(--erledigt) 45%, transparent); }
.bild-web { display: none; position: relative; }
.bild-web .geraet-mac { width: 100%; }
.bild-web::before { content: ""; position: absolute; inset: 10% 5% 0; background: radial-gradient(closest-side, var(--lk-kuehl), transparent 72%); z-index: -1; }
@media (min-width: 1000px) {
  .pe-raster { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-areas: "kopf bild" "szene bild"; column-gap: clamp(40px, 4vw, 64px); }
  .pe-raster > .kopfzeile { grid-area: kopf; }
  .pe-raster > .eingang { grid-area: szene; }
  .pe-raster > .bild-web { grid-area: bild; display: block; align-self: center; }
}

/* Ablauf: fünf Stationen, der Gaist fliegt sie einmal ab. */
.ablauf { margin-top: clamp(64px, 8vw, 104px); }
.ablauf-kopf { display: grid; gap: 16px; }
.platz-klein .figur { --g: 58px; }
.stationen { position: relative; display: grid; gap: 4px; margin-top: 26px; --fortschritt: 1; }
.stationen::before, .stationen::after { content: ""; position: absolute; left: 21px; top: 24px; bottom: 34px; width: 2px; border-radius: 1px; }
.stationen::before { background: var(--linie-stark); }
.stationen::after { background: linear-gradient(180deg, var(--geist-licht), var(--erledigt)); transform-origin: 50% 0; scale: 1 var(--fortschritt); transition: scale 420ms var(--expo); }
.station { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; padding: 6px 0 12px; }
.station b { grid-column: 2; font: 700 1.25rem/1.15 var(--titel); font-stretch: 86%; padding-top: 10px; }
.station > span:last-child { grid-column: 2; color: var(--text-2); font-size: .9375rem; line-height: 1.4; margin-top: 2px; }
.station-punkt {
  grid-row: 1 / span 2; position: relative; z-index: 1; display: grid; place-items: center; align-self: start;
  width: 28px; height: 28px; margin: 8px; border-radius: 50%;
  background: var(--grund-mitte); box-shadow: inset 0 0 0 2px var(--ring-offen);
  transition: background-color 300ms ease, box-shadow 300ms ease, scale 560ms var(--feder);
}
.station-punkt svg { width: 15px; height: 15px; fill: none; stroke: var(--auf-passt); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transition: opacity 200ms ease; }
.station:not(.offen) .station-punkt { background: var(--bald); box-shadow: inset 0 0 0 2px var(--bald), 0 0 0 5px color-mix(in srgb, var(--bald) 16%, transparent); }
.station-ende:not(.offen) .station-punkt { background: var(--erledigt); box-shadow: inset 0 0 0 2px var(--erledigt), 0 0 0 5px color-mix(in srgb, var(--erledigt) 20%, transparent); }
.station-ende:not(.offen) .station-punkt svg { opacity: 1; }
.station.angestossen .station-punkt { scale: 1.2; }
@media (min-width: 900px) {
  .ablauf-kopf { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
  .stationen { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin-top: 34px; }
  .stationen::before, .stationen::after { left: 22px; right: calc(20% - 8px); top: 21px; bottom: auto; width: auto; height: 2px; }
  .stationen::after { transform-origin: 0 50%; scale: var(--fortschritt) 1; background: linear-gradient(90deg, var(--geist-licht), var(--erledigt)); }
  .station { grid-template-columns: 1fr; padding: 0; }
  .station-punkt { grid-row: auto; margin: 7px 0 0 8px; }
  .station b, .station > span:last-child { grid-column: 1; }
  .station b { padding-top: 16px; }
}

/* ---------- Nacht-Kapitel ---------- */
.nacht {
  margin-inline: clamp(0px, 1.6vw, 24px);
  border-radius: clamp(30px, 4vw, 48px);
  color: var(--text);
  background:
    radial-gradient(60% 50% at 16% 0%, color-mix(in srgb, var(--geist-licht) 18%, transparent), transparent 70%),
    radial-gradient(50% 40% at 100% 100%, var(--lk-dunst), transparent 70%),
    linear-gradient(180deg, var(--grund-oben), var(--grund-mitte) 46%, var(--grund-unten));
  isolation: isolate;
  box-shadow: var(--tiefe-gross);
}
.nacht::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; border: 1px solid transparent; pointer-events: none;
  background: linear-gradient(160deg, var(--kante-a), var(--kante-b) 22%, transparent 50%, var(--kante-d)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) padding-box exclude, linear-gradient(#fff 0 0);
}


/* ---------- 4 Chat ---------- */
.geist-raster { display: grid; gap: clamp(28px, 4vw, 48px); align-items: start; }
.chat { max-width: 540px; }
.chat-fenster { display: flex; flex-direction: column; gap: 14px; padding: 14px; border-radius: 30px; min-height: 420px; }
.chat-kopf { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 6px 8px 0; font: 700 1rem/1.2 var(--titel); font-stretch: 88%; }
.chat-kopf-hinweis { color: var(--text-2); font: 500 .8125rem/1.2 var(--schrift); text-align: right; }
.chat-verlauf { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 16px; padding: 4px 4px 0; }
.chat-frage { align-self: flex-end; max-width: 84%; padding: 11px 16px; border-radius: 22px 22px 8px 22px; background: color-mix(in srgb, var(--bald) 24%, var(--glas-dicht)); box-shadow: var(--tiefe), inset 0 0 0 1px var(--linie); font: 550 .9688rem/1.4 var(--schrift); transform-origin: 100% 100%; }
.chat-antwort { display: flex; align-items: flex-end; gap: 10px; }
.platz-chat .figur { --g: 42px; }
.blase-chat { max-width: none; flex: 1; padding: 14px 16px; border-radius: 22px 22px 22px 8px; font: 620 1.125rem/1.36 var(--titel); font-stretch: 90%; }
.blase-chat b { font-weight: 760; }
.quellmarke {
  display: inline-grid; place-items: center; width: 19px; height: 19px; margin-left: 3px; border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px var(--funke); color: var(--funke-text);
  font: 700 .6875rem/1 var(--schrift); vertical-align: .35em;
}
.quelle-chip {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; min-height: 36px; padding: 4px 10px 4px 6px; border-radius: 18px;
  background: var(--flaeche-leise); box-shadow: inset 0 0 0 1px var(--linie-stark);
  font: 550 .8125rem/1.25 var(--schrift); color: var(--text); max-width: 100%;
}
.quelle-chip .quellmarke { margin: 0; vertical-align: 0; flex: none; }
.quelle-chip .ikon { width: 16px; height: 16px; color: var(--text-2); }
.tippt { display: none; gap: 5px; padding: 8px 2px; }
.tippt i { width: 7px; height: 7px; border-radius: 50%; background: var(--text-2); }
.chat[data-stand="tippt"] .tippt { display: flex; }
.chat[data-stand="tippt"] .ant-text, .chat[data-stand="tippt"] .quelle-chip { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .chat[data-stand="tippt"] .tippt i { animation: tippen 900ms var(--sanft) infinite; }
  .chat[data-stand="tippt"] .tippt i:nth-child(2) { animation-delay: 150ms; }
  .chat[data-stand="tippt"] .tippt i:nth-child(3) { animation-delay: 300ms; }
}
@keyframes tippen { 0%, 100% { opacity: .35; translate: 0 0; } 40% { opacity: 1; translate: 0 -3px; } }
.chat-eingabe { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 6px 0 18px; border-radius: 26px; background: var(--flaeche-leise); box-shadow: inset 0 0 0 1px var(--linie-stark); }
.eingabe-text { flex: 1; color: var(--text-2); font-size: .9688rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat[data-stand="schreibt"] .eingabe-text { color: var(--text); }
.senden { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--knopf-hell); color: var(--auf-knopf-hell); transition: scale 450ms var(--fest); }
.senden.gedrueckt { scale: .88; transition-duration: 100ms; }
.senden .ikon { width: 18px; height: 18px; stroke-width: 2.2; }
.wort { display: inline-block; white-space: pre-wrap; }
@media (min-width: 1000px) {
  .geist-raster { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-areas: "kopf bild" "szene bild"; column-gap: clamp(40px, 4vw, 64px); }
  .geist-raster > .kopfzeile { grid-area: kopf; }
  .geist-raster > .chat { grid-area: szene; }
  .geist-raster > .bild-web { grid-area: bild; display: block; align-self: center; }
}

/* ---------- 5 Fristen-Modul (Aufbau wie in der App) ---------- */
.fr-raster { display: grid; gap: clamp(28px, 4vw, 48px); align-items: start; }
.fristen-szene { position: relative; max-width: 560px; }
.platz-modul { margin-bottom: 12px; }
.platz-modul .figur { --g: 64px; }
.fristen-modul { padding: 18px 16px 8px 18px; border-radius: 28px; }
.fm-kopf { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 4px 12px; }
.fm-titel { font: 700 1.5rem/1.05 var(--titel); font-stretch: 84%; letter-spacing: -.015em; }
.fm-unter { margin-top: 4px; color: var(--text-2); font: 500 .8438rem/1.2 var(--schrift); }
.fm-summe { text-align: right; }
.fm-summe .rolle { font: 700 1.5rem/1.1 var(--titel); font-stretch: 80%; letter-spacing: -.02em; }
.fm-summe-wort { display: block; margin-top: 4px; color: var(--text-2); font: 500 .7813rem/1 var(--schrift); }
.fm-diagramm { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 18px repeat(4, minmax(0, 1fr)); align-items: end; height: 194px; margin-top: 14px; }
.fm-raster { position: absolute; left: 0; right: 0; top: 22px; height: 104px; display: flex; flex-direction: column; justify-content: space-between; pointer-events: none; }
.fm-raster i { height: 1px; background: var(--linie); }
.fm-spalte { position: relative; display: flex; flex-direction: column; align-items: center; height: 100%; justify-content: flex-end; }
.fm-betrag { height: 18px; color: var(--text-2); font: 650 12px/18px var(--schrift); white-space: nowrap; }
.fm-saeule { position: relative; display: flex; flex-direction: column-reverse; gap: 2px; width: 30px; height: 104px; margin-top: 4px; border-radius: 11px; background: var(--spur); overflow: hidden; }
.fm-seg { display: block; width: 100%; border-radius: 10px; flex: none; transform-origin: 50% 100%; transition: background-color 600ms ease, box-shadow 600ms ease; }
.seg-bald { height: 91px; background: var(--bald); }
.seg-spaeter { background: var(--spaeter-fuellung); box-shadow: inset 0 0 0 1.5px var(--spaeter); }
.seg-kfz { height: 104px; }
.seg-min { height: 10px; }
.fm-formen { display: flex; justify-content: center; align-items: center; gap: 3px; height: 20px; }
.fm-achse { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; height: 34px; color: var(--text-2); font: 550 11.5px/16px var(--schrift); text-align: center; white-space: nowrap; }
.fm-heute { position: relative; align-self: stretch; }
.fm-heute-pille { position: absolute; top: 0; left: 50%; translate: -50% 0; padding: 4px 8px; border-radius: 999px; background: var(--knopf-hell); color: var(--auf-knopf-hell); font: 750 11.5px/1 var(--schrift); white-space: nowrap; z-index: 1; }
.fm-heute-linie { position: absolute; top: 24px; bottom: 56px; left: 50%; width: 0; border-left: 1.5px dashed color-mix(in srgb, var(--text) 60%, transparent); }
.fm-legende { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 6px; color: var(--text-2); font: 550 .7813rem/1 var(--schrift); }
.fm-legende li { display: inline-flex; align-items: center; gap: 6px; min-height: 22px; }
.fm-liste { margin-top: 10px; }
.fm-zeile { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 8px; min-height: 66px; padding: 6px 0; }
.fm-zeile + .fm-zeile::before { content: ""; position: absolute; left: 52px; right: 0; top: 0; height: 1px; background: var(--linie); }
.abhaken, .abhaken-platz { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border: 0; padding: 0; background: none; border-radius: 50%; }
.abhaken::before, .abhaken-platz::before { content: ""; width: 26px; height: 26px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--ring-offen); transition: box-shadow 300ms ease, background-color 300ms ease, scale 520ms var(--feder); }
.abhaken::before { box-shadow: inset 0 0 0 2px var(--bald); }
.abhaken:disabled { cursor: default; }
.abhaken svg { position: absolute; width: 15px; height: 15px; fill: none; stroke: var(--auf-passt); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 16; stroke-dashoffset: 16; transition: stroke-dashoffset 360ms var(--expo) 120ms; }
.abhaken.gedrueckt::before { scale: .88; transition-duration: 100ms; }
.fm-was { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.fm-was b { position: relative; width: fit-content; max-width: 100%; font: 600 .9688rem/1.25 var(--schrift); }
.fm-was b::after { content: ""; position: absolute; left: 0; right: 0; top: 55%; height: 1.5px; background: currentColor; transform-origin: 0 50%; scale: 0 1; transition: scale 420ms var(--expo); }
.fm-was span { color: var(--text-2); font-size: .8125rem; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fm-wann { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; text-align: right; min-width: 0; }
.fm-zustand { flex-wrap: wrap; justify-content: flex-end; }
.fm-betrag-zeile { font: 700 1.1875rem/1 var(--titel); font-stretch: 82%; transition: color 300ms ease; }
.fm-zustand { display: inline-flex; align-items: center; gap: 6px; font: 620 .7813rem/1 var(--schrift); white-space: nowrap; }
.zustand-bald { color: var(--bald); }
.zustand-spaeter { color: var(--text-2); }
.fm-zeile.erledigt .abhaken::before { background: var(--erledigt); box-shadow: inset 0 0 0 2px var(--erledigt); scale: 1.14; }
.fm-zeile.erledigt .abhaken svg { stroke-dashoffset: 0; }
.fm-zeile.erledigt .fm-was b { color: var(--text-2); }
.fm-zeile.erledigt .fm-was b::after { scale: 1 1; }
.fm-zeile.erledigt .fm-betrag-zeile { color: var(--text-2); }
.fm-zeile.erledigt .fm-zustand { color: var(--erledigt-text); }
.fm-zeile.erledigt .fm-zustand .form-punkt { background: var(--erledigt); }
.fm-zeile.abgeklungen .abhaken::before { scale: 1; }
.fristen-modul[data-strom="erledigt"] .seg-bald { background: var(--erledigt); box-shadow: 0 0 18px -2px color-mix(in srgb, var(--erledigt) 70%, transparent); }
.fristen-modul[data-strom="erledigt"] .form-punkt[data-frist="strom"] { background: var(--erledigt); }
.fm-zeile-neu .fm-was span { color: var(--funke-text); }
.fm-mail {
  display: flex; align-items: center; gap: 10px; margin: 6px -4px 10px; padding: 10px 14px; border-radius: 18px;
  background: var(--glas-dicht); box-shadow: var(--tiefe), inset 0 0 0 1px var(--linie);
  font: 550 .875rem/1.35 var(--schrift);
  transition: opacity 300ms ease, translate 500ms var(--expo);
}
.fm-mail b { display: block; font-weight: 700; }
.fm-mail .ikon { color: var(--bald); }
.fm-mail.wartet { opacity: 0; translate: 0 10px; }
.fr-geraet { display: none; }
.fr-geraet .geraet { width: min(100%, 300px); margin-inline: auto; }
.geraet-unter { margin-top: 14px; text-align: center; color: var(--text-2); font-size: .875rem; }
@media (max-width: 380px) {
  .fm-diagramm { grid-template-columns: minmax(0, 1fr) 14px repeat(4, minmax(0, 1fr)); }
  .fm-saeule { width: 26px; }
  .fm-achse { font-size: 11px; }
}
@media (min-width: 760px) {
  .fr-raster { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-areas: "kopf kopf" "szene geraet"; column-gap: clamp(32px, 5vw, 80px); }
  .fr-raster > .kopfzeile { grid-area: kopf; }
  .fr-raster > .fristen-szene { grid-area: szene; }
  .fr-geraet { grid-area: geraet; display: block; align-self: center; }
}

/* ---------- 6 Haushalt ---------- */
.hh-raster { display: grid; gap: clamp(28px, 4vw, 48px); align-items: start; }
.haushalt-punkte { margin-top: 22px; display: grid; gap: 10px; max-width: 34rem; }
.haushalt-punkte li { position: relative; padding-left: 24px; font-size: 1rem; line-height: 1.45; }
.haushalt-punkte li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--bald); }
.haushalt-szene { position: relative; max-width: 560px; }
.haushalt-szene > .platz { margin-bottom: 12px; }
.haushalt-szene > .platz .figur { --g: 64px; }
.hh-buehne { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 20px 18px 18px; border-radius: 28px; overflow-x: clip; }
.hh-kreis { position: relative; display: grid; grid-template-columns: repeat(5, 44px); justify-content: space-between; row-gap: 12px; }
.linse-person { font: 720 1.0625rem/1 var(--titel); font-stretch: 90%; }
.linse-schluessel { position: absolute; right: -5px; bottom: -4px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--knopf-hell); color: var(--auf-knopf-hell); }
.linse-schluessel .ikon { width: 12px; height: 12px; stroke-width: 2.2; }
.linse.linse-frei { width: 44px; height: 44px; border-radius: 50%; border: 2px dashed var(--linie-stark); background: none; box-shadow: none; }
.hh-einladung {
  position: absolute; left: 0; top: 0; z-index: 2; display: inline-flex; align-items: center; gap: 6px;
  min-height: 30px; padding: 0 11px 0 8px; border-radius: 15px;
  background: var(--knopf-hell); color: var(--auf-knopf-hell); font: 650 .75rem/1 var(--schrift); white-space: nowrap;
  opacity: 0; pointer-events: none;
}
/* Bei großer Schrift darf die ruhende Einladung umbrechen, sonst ragt ihr Kasten über den Rand (Querscroll bei 320 px, WS-6) */
@media (max-width: 759px) { .hh-einladung { max-width: 100%; white-space: normal; } }
.hh-einladung .ikon { width: 15px; height: 15px; }
.hh-zahl { color: var(--text-2); font: 550 .875rem/1 var(--schrift); }
.hh-zahl .rolle { color: var(--text); font: 700 1.125rem/1 var(--titel); }
.hh-brief { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 10px 12px; align-items: center; padding: 12px; border-radius: 22px; background: var(--flaeche-leise); box-shadow: inset 0 0 0 1px var(--linie); }
.hh-brief-was { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.hh-brief-was b { font: 700 1.0625rem/1.15 var(--titel); font-stretch: 88%; }
.hh-brief-was span { color: var(--text-2); font-size: .8125rem; }
.hh-fuer { position: relative; grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 3px; border-radius: 24px; background: var(--flaeche-leise); box-shadow: inset 0 0 0 1px var(--linie); }
.hh-fuer-licht { position: absolute; left: 3px; top: 3px; bottom: 3px; width: calc((100% - 6px) / 3); border-radius: 21px; background: var(--glas-dicht); box-shadow: var(--tiefe), inset 0 0 0 1px var(--linie); translate: calc(var(--fuer, 1) * 100%) 0; transition: translate 450ms var(--fest); }
.hh-wahl { position: relative; z-index: 1; min-width: 0; overflow-wrap: anywhere; min-height: 44px; border: 0; background: none; border-radius: 21px; font: 650 .9375rem/1 var(--schrift); color: var(--text-2); transition: color 200ms ease; }
.hh-wahl[aria-pressed="true"] { color: var(--text); }
.hh-wahl:disabled { cursor: default; }
.hh-privat { display: flex; flex-wrap: wrap; gap: 8px; }
.hh-privat li { display: inline-flex; align-items: center; gap: 7px; max-width: 100%; overflow-wrap: anywhere; min-height: 34px; padding: 0 12px 0 10px; border-radius: 17px; background: var(--flaeche-leise); box-shadow: inset 0 0 0 1px var(--linie-stark); font: 600 .8125rem/1 var(--schrift); }
.hh-privat .ikon { width: 16px; height: 16px; color: var(--text-2); }
.hh-geraet .geraet { width: min(100%, 280px); margin-inline: auto; }
.nur-breit { display: none; }
@media (min-width: 1000px) {
  .nur-breit { display: block; }
  .kopf-link.nur-breit { display: inline-flex; }
  .hh-raster { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); grid-template-areas: "kopf geraet" "szene geraet"; column-gap: clamp(40px, 5vw, 80px); }
  .hh-raster > .kopfzeile { grid-area: kopf; }
  .hh-raster > .haushalt-szene { grid-area: szene; }
  .hh-geraet { grid-area: geraet; align-self: center; }
}

/* ---------- 7 Datenschutz ---------- */
.ds-raster { display: grid; gap: clamp(32px, 4vw, 56px); }
.ds-link { margin-top: 10px; }
.ds-raster .platz { margin-top: 22px; }
.ds-raster .platz .figur { --g: 64px; }
.fakten { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.fakt { position: relative; padding: 16px 14px 18px; border-radius: 24px; background: var(--flaeche-leise); box-shadow: inset 0 0 0 1px var(--linie); }
.fakt-ikon { width: 30px; height: 30px; fill: none; stroke: var(--geist-licht); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 90; stroke-dashoffset: 0; }
.fakt h3 { margin-top: 12px; font: 700 1.125rem/1.1 var(--titel); font-stretch: 86%; letter-spacing: -.01em; hyphens: auto; -webkit-hyphens: auto; }
.fakt p { margin-top: 6px; color: var(--text-2); font-size: .875rem; line-height: 1.45; }
@media (max-width: 639px) {
  .fakten { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 4px 16px; border-radius: 26px; background: var(--flaeche-leise); box-shadow: inset 0 0 0 1px var(--linie); }
  .fakt { display: grid; grid-template-columns: 32px minmax(0, 1fr); column-gap: 14px; padding: 16px 0 17px; border-radius: 0; background: none; box-shadow: none; }
  .fakt + .fakt { border-top: 1px solid var(--linie); }
  .fakt-ikon { grid-row: 1 / span 2; width: 28px; height: 28px; margin-top: 1px; }
  .fakt h3 { margin-top: 0; font-size: 1.0625rem; hyphens: manual; }
  .fakt p { grid-column: 2; margin-top: 4px; font-size: .9063rem; }
}
@media (min-width: 640px) and (max-width: 999px) { .fakt p, .fakt h3 { hyphens: auto; -webkit-hyphens: auto; } }
.fakten[data-stand="start"] .fakt-ikon { stroke-dashoffset: 90; }
.fakten[data-stand="spielt"] .fakt-ikon { stroke-dashoffset: 0; transition: stroke-dashoffset 1100ms var(--expo); }
.fakten[data-stand="spielt"] .fakt:nth-child(2) .fakt-ikon { transition-delay: 90ms; }
.fakten[data-stand="spielt"] .fakt:nth-child(3) .fakt-ikon { transition-delay: 180ms; }
.fakten[data-stand="spielt"] .fakt:nth-child(4) .fakt-ikon { transition-delay: 270ms; }
.fakten[data-stand="spielt"] .fakt:nth-child(5) .fakt-ikon { transition-delay: 360ms; }
.fakten[data-stand="spielt"] .fakt:nth-child(6) .fakt-ikon { transition-delay: 450ms; }
@media (min-width: 640px) { .fakt { padding: 20px 20px 22px; } .fakt p { font-size: .9375rem; } }
@media (min-width: 1000px) {
  .ds-raster { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); align-items: start; column-gap: clamp(40px, 5vw, 72px); }
  .fakten { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
}

/* Positionierung Stufe 1c (D-2115): jeder Faktenblock außerhalb der Nacht-Kapitel trägt das Kartenbild der Referenz in
   #datenschutz. Die Regeln .fakt/.fakten oben lesen Fläche, Kante und Trennlinien aus --flaeche-leise und --linie; hier
   werden nur diese zwei Werte für die Liste gesetzt. Hell: Glasfläche, Kante in Tinte; dunkel: die Nacht-Werte der Referenz.
   Nur Werte, die diese Datei schon trägt. */
.fakten:not(.nacht .fakten) { --flaeche-leise: var(--glas); --linie: rgb(16 23 63 / .18); }
@media (prefers-color-scheme: dark) {
  :root:not([data-modus="hell"]) .fakten:not(.nacht .fakten) { --flaeche-leise: rgb(158 180 255 / .055); --linie: rgb(158 180 255 / .14); }
}
:root[data-modus="dunkel"] .fakten:not(.nacht .fakten) { --flaeche-leise: rgb(158 180 255 / .055); --linie: rgb(158 180 255 / .14); }
/* Positionierung Stufe 1c F1 (D-2124): die Faktenkarten tragen die dezente Lichtkante der Glaskarten (Farben, Winkel und Stärke
   wie .glas::before, eigene Regel, damit die gemeinsame Regel anderer Flächen unberührt bleibt); die Stopps stehen in Pixeln wie
   bei einer Glaskarte der Fragen (358 x 66 px), sonst streckt die hohe Liste den Glanz über die ganze Oberkante. */
.fakten { position: relative; }
.fakten::before, .fakt::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; border: 1px solid transparent; pointer-events: none; opacity: .8;
  background: linear-gradient(150deg, var(--kante-a), var(--kante-b) 76px, var(--kante-c) 146px, var(--kante-d) 236px) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) padding-box exclude, linear-gradient(#fff 0 0);
}
@media (max-width: 639px) { .fakt::before { content: none; } }
@media (min-width: 640px) { .fakten::before { content: none; } }

/* ---------- 8 Preise ---------- */
.preise-kopf { display: grid; gap: 22px; align-items: end; }
.takt { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; margin-top: 30px; padding: 4px; border-radius: 26px; background: var(--flaeche-leise); box-shadow: inset 0 0 0 1px var(--linie); }
.takt-licht { position: absolute; left: 4px; top: 4px; bottom: 4px; width: calc(50% - 4px); border-radius: 22px; background: var(--knopf-hell); translate: calc(var(--takt, 0) * 100%) 0; transition: translate 450ms var(--fest); }
.takt-wahl { position: relative; z-index: 1; min-height: 44px; padding: 0 22px; border: 0; background: none; border-radius: 22px; font: 650 .9375rem/1 var(--schrift); color: var(--text-2); transition: color 250ms ease; }
.takt-wahl[aria-pressed="true"] { color: var(--auf-knopf-hell); }
.takt { display: none; max-width: 100%; }
.takt-wahl { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 359px) { .takt-wahl { padding: 0 14px; } }
.js .takt { display: inline-grid; }
.plaene-huelle { margin-top: 18px; }
.plaene {
  --plan-b: min(78vw, 300px);
  --plan-rand: max(var(--rand), (100vw - var(--plan-b)) / 2);
  display: grid; grid-auto-flow: column; grid-auto-columns: var(--plan-b); grid-template-rows: repeat(4, auto);
  gap: 0 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  padding: 12px var(--plan-rand) 26px; scroll-padding-inline: var(--plan-rand); scrollbar-width: none;
}
.plaene::-webkit-scrollbar { display: none; }
.plan {
  position: relative; display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0;
  padding: 22px 20px 12px; border-radius: 26px; scroll-snap-align: center; scroll-snap-stop: always;
  background: radial-gradient(130% 90% at 0% 0%, var(--glanz), transparent 52%), var(--glas);
  box-shadow: var(--tiefe);
}
.plan-plus { box-shadow: var(--tiefe), 0 0 0 1.5px var(--knopf-rand), 0 0 40px -12px color-mix(in srgb, var(--geist-licht) 70%, transparent); }
.plan-name { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font: 720 1.5rem/1.1 var(--titel); font-stretch: 84%; letter-spacing: -.015em; }
.plan-hinweis { display: inline-flex; align-items: center; min-height: 24px; padding: 0 10px; border-radius: 12px; box-shadow: inset 0 0 0 1.5px var(--bald); color: var(--bald); font: 650 .75rem/1 var(--schrift); letter-spacing: 0; }
.plan-preis { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.plan-preis .rolle { font: 740 2.75rem/1.05 var(--titel); font-stretch: 78%; letter-spacing: -.03em; }
.plan-takt { color: var(--text-2); font: 550 .9375rem/1 var(--schrift); }
.plan-neben { margin-top: 6px; color: var(--text-2); font-size: .875rem; line-height: 1.35; }
.plan-werte { margin-top: 16px; }
.plan-werte div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 11px 0; border-top: 1px solid var(--linie); }
.plan-werte dt { color: var(--text-2); font-size: .875rem; line-height: 1.3; }
.plan-werte dd { font: 700 1.1875rem/1 var(--titel); font-stretch: 84%; white-space: nowrap; }
.preise-fuss { display: grid; gap: 22px; justify-items: start; margin-top: 6px; }
.preishinweis { max-width: 46rem; color: var(--text-2); font-size: .9375rem; line-height: 1.5; }
.rolle { position: relative; display: inline-grid; overflow: hidden; vertical-align: bottom; }
.rolle-wert { grid-area: 1 / 1; display: block; white-space: nowrap; }
@media (min-width: 760px) { .preise-kopf { grid-template-columns: minmax(0, 1fr) auto; } }
@media (min-width: 1000px) {
  .plaene { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-columns: auto; overflow: visible; width: min(100% - 2 * var(--rand), var(--breite)); margin-inline: auto; padding: 12px 0 26px; gap: 0 14px; }
}

/* ---------- 9 Fragen ---------- */
.faq-raster { display: grid; gap: clamp(28px, 4vw, 48px); }
.faq-kopf { display: grid; gap: 22px; align-content: start; }
/* Spalte schrumpft unter den Mindestinhalt, lange Wörter brechen nur, wenn sie nicht passen (250 % Schrift bei 320 px, WS-6) */
.faq { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.faq details { overflow-wrap: break-word; }
/* ebenso: lange Wörter der Stationen und der Kopfzeile der Fragen brechen nur, wenn sie sonst über den Rand ragen */
.station, .faq-kopf .platz { min-width: 0; overflow-wrap: anywhere; }
/* die Blase im Kopf der Fragen schrumpft mit (sonst 300 px fest, bei 250 % und 320 px bis 14 px über den Rand) */
.faq-kopf .platz > .blase { min-width: 0; max-width: min(300px, 100%); }
/* ab 760 px wieder höchstens 320 px wie vor der Nacharbeit (W-57); ohne Prozentwert, denn mit min(…, 100%) misst die
   Gruppe (fit-content) die Blase ungebremst und sitzt 22 px weiter links */
@media (min-width: 760px) { .faq-kopf .platz > .blase { max-width: 320px; } }
.faq details {
  position: relative; border-radius: 24px;
  background: radial-gradient(130% 90% at 0% 0%, var(--glanz), transparent 52%), var(--glas);
  box-shadow: var(--tiefe);
}
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 66px; padding: 14px 16px 14px 20px; border-radius: 24px;
  cursor: pointer; list-style: none;
  font: 650 1.0313rem/1.35 var(--schrift);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ikon { width: 20px; height: 20px; color: var(--text-2); transition: rotate 450ms var(--fest); }
.faq details[open] summary .ikon { rotate: 180deg; }
.faq details::details-content { block-size: 0; overflow-y: clip; transition: block-size 280ms var(--expo), content-visibility 280ms allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
.faq-antwort { padding: 0 20px 20px; color: var(--text-2); font-size: 1rem; line-height: 1.6; max-width: 46rem; }
.faq-antwort p + p { margin-top: 10px; }
.faq-antwort a { color: var(--text); font-weight: 600; }
.faq-antwort a, .haken label a { padding-block: 12px; margin-block: -12px; }
@media (prefers-reduced-motion: no-preference) {
  .faq details[open] .faq-antwort { animation: antwort 420ms var(--expo); }
}
@keyframes antwort { from { opacity: 0; translate: 0 -6px; } }
@media (hover: hover) and (pointer: fine) { .faq summary:hover .ikon { color: var(--text); } }
@media (min-width: 1000px) {
  .faq-raster { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); align-items: start; column-gap: clamp(40px, 5vw, 72px); }
  .faq-kopf { position: sticky; top: calc(var(--kopf-h) + 32px); }
}

/* ---------- 10 Warteliste ---------- */
.warteliste { padding-bottom: clamp(88px, 10vw, 140px); }
.beta-raster { position: relative; display: grid; gap: clamp(28px, 4vw, 56px); align-items: start; }
.dank { display: flex; gap: 12px; align-items: flex-start; margin-top: 22px; max-width: 34rem; padding: 14px 16px; border-radius: 20px; background: var(--flaeche-leise); box-shadow: inset 0 0 0 1px var(--linie); font-size: .9688rem; line-height: 1.5; }
.dank .ikon { color: var(--bald); margin-top: 1px; }
/* R-WKB-1 (R1 H2): bei 200 % trennt der Dank-Satz lange Wörter mit Trennstrich statt mitten im Wort */
@media (max-width: 299px) { .dank > span { min-width: 0; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; } }
.formular-huelle { position: relative; padding-top: 74px; max-width: 520px; width: 100%; }
.platz-lugt { position: absolute; left: 18px; right: 0; top: 0; z-index: 5; align-items: flex-start; }
.platz-lugt .figur { --g: 92px; margin-top: 10px; clip-path: inset(-90% -90% 36% -90%); transition: opacity 240ms ease, clip-path 520ms var(--feder); }
.formular-huelle[data-jubel] .platz-lugt .figur { clip-path: inset(-90% -90% -40% -90%); }
/* N2: Am Handy steht der Gaist ganz über der Karte, die Unterkante der Figur liegt auf der Kartenkante, und sein Schein
   läuft ohne Schnitt weich aus (auch im Jubel; der Hüpfer und der Funke bleiben). Die Hülle behält ihre Höhe. */
@media (max-width: 759px) {
  .platz-lugt .figur, .formular-huelle[data-jubel] .platz-lugt .figur { margin-top: -18px; clip-path: none; }
}
.platz-lugt .blase { max-width: 236px; }
.formular { position: relative; z-index: 4; display: grid; gap: 16px; padding: 24px 20px 22px; border-radius: 28px; background: radial-gradient(130% 90% at 0% 0%, var(--glanz), transparent 52%), var(--glas-dicht); }
.feld { display: grid; gap: 6px; }
.feld label { font: 650 .9375rem/1.2 var(--schrift); }
.optional { color: var(--text-2); font-weight: 500; }
.feld input {
  width: 100%; min-height: 52px; padding: 0 16px; border: 0; border-radius: 16px;
  background: var(--glas-dicht); color: var(--text); font-size: 1rem;
  box-shadow: inset 0 0 0 1px var(--linie-stark), 0 1px 2px rgb(27 39 104 / .06);
  transition: box-shadow 200ms ease;
}
.feld input:focus-visible { outline: 3px solid var(--fokus); outline-offset: 2px; border-radius: 16px; }
.feld input[aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--ueberfaellig); }
.feld-fehler { display: none; align-items: center; gap: 8px; color: var(--ueberfaellig-text); font: 600 .875rem/1.35 var(--schrift); }
.feld-fehler:not(:empty) { display: flex; }
.feld-fehler::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 1.5px; background: var(--ueberfaellig); rotate: 45deg; }
.haken { display: grid; grid-template-columns: 26px minmax(0, 1fr); column-gap: 12px; row-gap: 6px; align-items: start; }
.haken input { width: 24px; height: 24px; margin: 2px 0 0; accent-color: var(--passt); }
.haken input[aria-invalid="true"] { outline: 2px solid var(--ueberfaellig); outline-offset: 2px; }
.haken label { color: var(--text-2); font-size: .875rem; line-height: 1.5; }
.haken label a { color: var(--text); font-weight: 600; }
.haken .feld-fehler { grid-column: 1 / -1; }
.formular .knopf { width: 100%; }
.meldung { min-height: 1.4em; color: var(--text-2); font: 550 .9375rem/1.45 var(--schrift); }
.meldung[data-art="ok"] { color: var(--erledigt-text); }
.meldung[data-art="fehler"] { color: var(--ueberfaellig-text); }
@media (min-width: 1000px) {
  .beta-raster { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); align-items: center; }
  .formular-huelle { justify-self: end; }
}

/* ---------- Fuß ---------- */
.fuss { position: relative; padding: 36px 0 calc(36px + env(safe-area-inset-bottom)); border-top: 1px solid var(--linie); }
.fuss-innen { display: grid; gap: 14px; }
.marke-klein .zeichen { width: 26px; height: 26px; }
.marke-klein .wortmarke { font-size: 18px; }
.fuss-nav { display: flex; flex-wrap: wrap; gap: 0 18px; }
.fuss-nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text-2); text-decoration: none; font-size: .9375rem; }
.kontakt, .copyright { color: var(--text-2); font-size: .9375rem; }
.fuss-nav a, .kontakt, .kontakt a { overflow-wrap: anywhere; min-width: 0; }
.kontakt a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text); text-decoration: underline; text-decoration-color: var(--linie-stark); text-underline-offset: 5px; }
@media (hover: hover) and (pointer: fine) { .fuss-nav a:hover { color: var(--text); } }
@media (min-width: 760px) {
  .fuss-innen { grid-template-columns: auto 1fr auto; align-items: center; }
  .fuss-nav { justify-content: center; }
  .kontakt { grid-column: 1 / -1; grid-row: 2; }
  .copyright { grid-column: 3; grid-row: 1; }
}

/* ---------- Geräte: eigene Bezel als SVG, Bildschirm im Ausschnitt ---------- */
.geraet { position: relative; isolation: isolate; }
.geraet::after { content: ""; position: absolute; inset: 0; z-index: 3; background: no-repeat center / 100% 100%; pointer-events: none; }
.geraet::before { content: ""; position: absolute; z-index: -1; pointer-events: none; background: radial-gradient(closest-side, rgb(16 23 63 / .32), transparent); }
.geraet-iphone { aspect-ratio: 436 / 902; }
.geraet-iphone::after { background-image: url("geraete/iphone.svg"); }
.geraet-iphone::before { left: 8%; right: 8%; bottom: -2.4%; height: 5%; }
.geraet-mac { aspect-ratio: 1840 / 1120; }
.geraet-mac::after { background-image: url("geraete/macbook.svg"); }
.geraet-mac::before { left: 3%; right: 3%; bottom: -4%; height: 9%; }
.schirm { position: absolute; z-index: 1; overflow: hidden; background: var(--schirm); }
.geraet-iphone > .schirm { left: calc(17 / 436 * 100%); top: calc(14 / 902 * 100%); width: calc(402 / 436 * 100%); height: calc(874 / 902 * 100%); border-radius: calc(58 / 402 * 100%) / calc(58 / 874 * 100%); }
.geraet-mac > .schirm { left: calc(120 / 1840 * 100%); top: calc(40 / 1120 * 100%); width: calc(1600 / 1840 * 100%); height: calc(1000 / 1120 * 100%); border-radius: .75% .75% .25% .25% / 1.2% 1.2% .4% .4%; }
.schirm picture, .schirm > img { display: block; width: 100%; height: 100%; }
.schirm img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }

/* ---------- Breiter Bildschirm ---------- */
@media (min-width: 760px) {
  :root { --rand: 28px; }
  .blase { font-size: 1.1875rem; max-width: 320px; }
  :where(.platz) .figur { --g: 84px; }
  .platz-chat .figur { --g: 46px; }
}
@media (min-width: 1200px) { :root { --rand: 40px; } }

/* ---------- Szenen: Startzustände (nur mit Skript, nur solange eine Szene wartet) ---------- */
.js .eingang[data-stand="start"] .quelle-pille,
.js .eingang[data-stand="spielt"] .pruefen,
.js .eingang[data-stand="start"] .pruefen,
.js .haushalt-szene[data-stand="start"] .linse-person,
.js .haushalt-szene[data-stand="start"] .linse-frei,
.js .haushalt-szene[data-stand="start"] .hh-privat li,
.js .fristen-szene[data-stand="start"] .seg-neu,
.js .fristen-szene[data-stand="start"] .form-neu,
.js .fristen-szene[data-stand="start"] .fm-zeile-neu,
.js .karussell[data-stand="start"] .kachel { opacity: 0; }

/* ---------- Reduzierte Bewegung: nur Deckkraft, Endzustände sofort ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  .blase, .js .platz:not(.spricht) .blase { transform: none !important; transition: opacity 150ms ease !important; }
  .figur, .kachel-geraet, .station-punkt, .knopf, .rund, .chip, .nav-licht, .takt-licht, .hh-fuer-licht, .punkt::before, .fm-seg, .abhaken::before, .fm-was b::after, .stationen::after, .menue-blatt, .fm-mail, .platz-lugt .figur { transition-duration: 150ms !important; transition-timing-function: ease !important; transition-delay: 0s !important; }
  .kachel.aktiv .kachel-geraet { scale: 1; }
  .knopf:active, .rund:active, .chip:active, .knopf.gedrueckt { scale: 1; }
  .faq details::details-content { transition: none; }
}

/* ---------- Weniger Transparenz und mehr Kontrast ---------- */
@media (prefers-reduced-transparency: reduce) {
  .kopf-pille, .menue-blatt { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--glas-dicht); }
  .glas, .kachel, .plan, .faq details { background: var(--glas-dicht); }
}
@media (prefers-contrast: more) {
  :root { --linie: rgb(16 23 63 / .4); --linie-stark: rgb(16 23 63 / .6); }
  .glas, .kachel, .plan, .faq details, .kopf-pille, .blase { background: var(--glas-dicht); box-shadow: inset 0 0 0 1.5px var(--linie-stark); }
}

/* ---------- Seiten der Warteliste (bestaetigen.html, austragen.html) ---------- */
.karte-seite {
  min-height: 100vh; min-height: 100svh; display: grid; place-items: center; padding: 24px 16px;
  background: radial-gradient(70% 50% at 50% 0%, var(--lk-kuehl), transparent 70%), linear-gradient(180deg, var(--grund-oben), var(--grund-unten));
}
.karte-feld {
  position: relative; width: min(100%, 460px); padding: 34px 24px 28px; border-radius: 28px; text-align: center;
  background: radial-gradient(130% 90% at 0% 0%, var(--glanz), transparent 52%), var(--glas-dicht);
  box-shadow: var(--tiefe-gross);
}
.karte-seite .zeichen { width: 72px; height: 72px; margin: 0 auto 18px; filter: var(--geist-schein); overflow: visible; }
.karte-seite h1 { font: 740 clamp(1.75rem, 1.3rem + 2vw, 2.35rem)/1.05 var(--titel); font-stretch: 82%; letter-spacing: -.02em; text-wrap: balance; }
.karte-seite p { margin-top: 12px; color: var(--text-2); }
.karte-seite .knopf { margin-top: 24px; }
.karte-seite .meldung { margin-top: 16px; padding: 12px 14px; border-radius: 16px; background: var(--flaeche-leise); }
.karte-seite .meldung[hidden] { display: none; }
.karte-seite .zurueck { margin-top: 18px; }
/* WK-1: Rechtslinks unter „Zur Startseite“; bei 200 % (195 CSS-px) bleibt die Karte im Fenster (an cade3ef7 bis 270 px breit) */
.karte-seite { grid-template-columns: minmax(0, 1fr); }
.karte-seite h1, .karte-seite p, .karte-seite .knopf { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
.karte-seite .knopf { white-space: normal; }
.karte-seite .fuss-nav { justify-content: center; margin-top: 6px; }
/* WK-2: Teilen nach dem Eintrag (Formular) und nach dem Bestätigen (Token-Seite); die Adresse ohne Web Share und Zwischenablage zum Markieren */
.teilen { display: grid; gap: 10px; }
.teilen[hidden] { display: none; }
.teilen > p:first-child { color: var(--text-2); font: 550 .9375rem/1.45 var(--schrift); }
/* A-4: bis der Satz zum nächsten Schritt angesagt wird, hält ein unsichtbarer Platzhalter seine Höhe (kein Sprung des Knopfs) */
.teilen-schritt:empty::before { content: attr(data-satz); visibility: hidden; }
.teilen-stand[data-art="adresse"] { -webkit-user-select: all; user-select: all; overflow-wrap: anywhere; color: var(--text); }
.karte-seite .teilen { margin-top: 16px; justify-items: center; }
.karte-seite .teilen .teilen-stand { margin-top: 0; padding: 0; background: none; }

/* ======================================================================================================
   Fassung 2 (31.10.2026, Nachschärfung nach apple.com/iphone-duo, wiz.io, basewell.com):
   zentrierte, sehr große Köpfe mit zwei bis drei Zeilen Text, Raum statt Schmuck, die App als Held auf großen
   Geräten, scrollgekoppelte Sequenzen mit Aussage (Notebook klappt auf, Frist läuft ab, Säulen bauen sich auf),
   echte Tabellen mit Daten, der Ablauf als dunkle Insel. Bewegung nur über transform und opacity.
   ====================================================================================================== */

/* Ersatzschriften mit angeglichenen Maßen: beim Nachladen springt nichts (font-display: swap). */
@font-face { font-family: "Inter Ersatz"; src: local("Arial"), local("Helvetica"), local("Liberation Sans"); size-adjust: 107.12%; ascent-override: 90.44%; descent-override: 22.52%; line-gap-override: 0%; }
@font-face { font-family: "Bricolage Ersatz"; src: local("Arial Narrow"), local("Helvetica Neue Condensed Bold"), local("Arial"); size-adjust: 94%; ascent-override: 96%; descent-override: 25%; line-gap-override: 0%; }
:root {
  --titel: "Bricolage Grotesque", "Bricolage Ersatz", "Avenir Next Condensed", "Arial Narrow", system-ui, sans-serif;
  --schrift: "Inter", "Inter Ersatz", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --tabelle-fest: #FFFFFF;
}
@media (prefers-color-scheme: dark) { :root:not([data-modus="hell"]) { --tabelle-fest: #17223A; } }
:root[data-modus="dunkel"] { --tabelle-fest: #17223A; }
.nacht { --tabelle-fest: #18214A; }

/* Raum statt Schmuck */
body { background: linear-gradient(180deg, var(--grund-oben) 0, var(--grund-mitte) 1100px, var(--grund-mitte) 100%); }
.kachel-bild::before, .bild-web::before { display: none; }
.kapitel { padding-block: clamp(104px, 13vw, 176px); }

/* Köpfe: zentriert, sehr groß, darunter zwei bis drei Zeilen */
.kopfzeile, .hl-kopf, .preise-kopf, .faq-kopf, .beta-text, .ablauf-kopf { text-align: center; margin-inline: auto; }
.kopfzeile { max-width: 56rem; }
.titel-kapitel { font-size: clamp(2.7rem, 1.25rem + 5.6vw, 5.75rem); line-height: .94; letter-spacing: -.032em; }
.titel-gross { font-size: clamp(2.9rem, 1.3rem + 6vw, 6.25rem); }
.intro { margin-inline: auto; max-width: 38rem; font-size: clamp(1.125rem, 1.02rem + .45vw, 1.3125rem); }
.hl-kopf, .preise-kopf, .faq-kopf, .ablauf-kopf { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 26px; }
.kopfzeile .platz, .hl-kopf .platz, .preise-kopf .platz, .faq-kopf .platz, .ablauf-kopf .platz { margin-inline: auto; width: fit-content; max-width: 100%; }
.blase { text-align: left; }
.haushalt-punkte { width: fit-content; margin-inline: auto; text-align: left; }
.dank { margin-inline: auto; text-align: left; }
.ds-link { display: flex; justify-content: center; }

/* Raster: Kopf oben über die volle Breite, darunter Szene und Bild */
@media (min-width: 1000px) {
  .pe-raster { grid-template-areas: "kopf kopf" "szene bild"; align-items: center; }
  .geist-raster { grid-template-areas: "kopf kopf" "szene bild"; align-items: center; }
  .hh-raster { grid-template-areas: "kopf kopf" "szene geraet"; align-items: center; }
  .ds-raster { grid-template-columns: minmax(0, 1fr); }
  .faq-raster { grid-template-columns: minmax(0, 1fr); }
  .faq-kopf { position: static; }
  .faq { width: min(100%, 860px); margin-inline: auto; }
  .beta-raster { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .formular-huelle { justify-self: center; }
  .pe-raster > .kopfzeile, .geist-raster > .kopfzeile, .hh-raster > .kopfzeile { margin-bottom: clamp(16px, 3vw, 40px); }
}
.beta-raster { justify-items: center; }
.formular-huelle { margin-inline: auto; }


/* ---------- Geräte-Held: die App groß und scharf; das Notebook klappt beim Rollen auf ---------- */
.geraete { position: relative; padding: clamp(40px, 6vw, 88px) 0 clamp(96px, 12vw, 160px); view-timeline: --geraete block; }
.geraete-feld { position: relative; display: grid; justify-items: center; }
.geraete-paar { position: relative; width: min(100%, 920px); }
.mac { position: relative; width: 100%; aspect-ratio: 1840 / 1120; perspective: 2400px; perspective-origin: 50% -20%; }
.mac-deckel {
  position: absolute; inset: 0 0 auto 0; height: calc(1089 / 1120 * 100%);
  background: url("geraete/macbook.svg") no-repeat 50% 0 / 100% calc(1120 / 1089 * 100%);
  transform-origin: 50% 100%;
}
.mac-schirm {
  position: absolute; left: calc(120 / 1840 * 100%); top: calc(40 / 1089 * 100%); width: calc(1600 / 1840 * 100%); height: calc(1000 / 1089 * 100%);
  overflow: hidden; border-radius: .75% .75% .25% .25% / 1.2% 1.2% .4% .4%; background: var(--schirm);
}
.mac-schirm picture, .mac-schirm img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.mac-basis { position: absolute; inset: auto 0 0 0; height: calc(32 / 1120 * 100%); background: url("geraete/macbook.svg") no-repeat 50% 100% / 100% calc(1120 / 32 * 100%); }
.mac::after { content: ""; position: absolute; left: 6%; right: 6%; bottom: -3.5%; height: 7%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgb(16 23 63 / .28), transparent); }
.held-iphone { position: absolute; right: -3%; bottom: -9%; width: 26%; max-width: 250px; }
.held-iphone .geraet-iphone { width: 100%; }
.platz-geraete { margin-bottom: clamp(28px, 4vw, 52px); width: fit-content; max-width: 100%; }
/* Schmal: nur das Notebook (die Kacheln der Bühne zeigen die Startseite schon). Das iPhone-Bild wird hier nicht geladen
   (erste Quelle im picture). Nach dem Aufklappen fährt die Ansicht im Schirm auf „Bitte prüfen“ und hinunter zu „Passt“:
   Maßstab 2,4 um den Punkt, der den Ausschnitt x 390 bis 1057, y 355 bis 772 (Quellpixel) füllt, dann 73 Quellpixel tiefer.
   Grundzustand ist der Endzustand (ohne Scroll-Zeitleiste und bei reduzierter Bewegung fester Ausschnitt). */
@media (max-width: 759px) {
  .held-iphone { display: none; }
  .geraete-paar { width: min(100vw - 16px, 560px); }
  .mac-schirm img { transform-origin: 41.8% 60.9%; scale: 2.4; translate: 0 -17.5%; }
}
/* Endlage ohne gehaltene Animation (W-52): mit fill both bleibt der Deckel nach dem Aufklappen eine animierte 3D-Schicht,
   die Safari nicht neu rastert, der Schirm bleibt verwaschen. backwards hält nur die Anfangslage; nach dem Ende gilt der
   Grundzustand (offen, beim Notebook am Handy Maßstab 2,4), der dem letzten Schlüsselbild gleicht. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .mac-deckel { animation: deckel-auf linear backwards; animation-timeline: --geraete; animation-range: entry 5% cover 45%; }
    .held-iphone { animation: iphone-auf linear backwards; animation-timeline: --geraete; animation-range: entry 30% cover 52%; }
  }
  @media (prefers-reduced-motion: no-preference) and (max-width: 759px) {
    .mac-deckel { animation-range: cover 18% cover 42%; }
    .mac-schirm img { animation: schirm-fahrt linear backwards; animation-timeline: --geraete; animation-range: cover 44% cover 66%; }
  }
}
@keyframes deckel-auf { 0% { transform: rotateX(-84deg); } 55% { transform: rotateX(-22deg); } 100% { transform: rotateX(0deg); } }
@keyframes iphone-auf { 0% { transform: translateY(32%); opacity: 0; } 100% { transform: none; opacity: 1; } }
@keyframes schirm-fahrt {
  0% { scale: 1; translate: 0 0; animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1); }
  55% { scale: 2.4; translate: 0 0; animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1); }
  100% { scale: 2.4; translate: 0 -17.5%; }
}

/* ---------- Echte Oberfläche: Tabellen mit Daten (basewell) ---------- */
.eingang-liste { margin-top: clamp(48px, 6vw, 80px); }
/* Positionierung Stufe 1: Archiv-Fakten im Posteingang mit dem Abstand der Tabelle darüber; Stufe 1b: ebenso die Finanzen
   unter dem Fristen-Lauf */
#archiv, #finanzen { margin-top: clamp(48px, 6vw, 80px); }
.tabelle-rahmen { border-radius: 26px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; }
.tabelle-rahmen:focus-visible { outline-offset: 3px; }
.daten, .vergleich { width: 100%; border-collapse: separate; border-spacing: 0; }
.daten { min-width: 760px; font-size: .9375rem; }
.daten caption { caption-side: top; text-align: left; padding: 20px 20px 8px; font: 700 1.3125rem/1.2 var(--titel); font-stretch: 86%; }
.daten th, .daten td { padding: 14px 18px; text-align: left; border-top: 1px solid var(--linie); white-space: nowrap; }
.daten thead th { color: var(--text-2); font: 600 .8125rem/1.2 var(--schrift); }
.daten tbody th { font-weight: 650; position: sticky; left: 0; z-index: 1; background: var(--tabelle-fest); }
.daten .rechts { text-align: right; }
.stand { display: inline-flex; align-items: center; gap: 7px; font-weight: 650; }
.stand-pruefen { color: var(--funke-text); }
.stand-ok { color: var(--erledigt-text); }
.haken-mini { display: inline-grid; place-items: center; width: 17px; height: 17px; border-radius: 50%; background: var(--erledigt); }
.haken-mini svg { width: 11px; height: 11px; fill: none; stroke: var(--auf-passt); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.daten .zeile-neu th, .daten .zeile-neu td { background: color-mix(in srgb, var(--funke) 9%, var(--tabelle-fest)); }
.daten .zeile-neu.abgelegt th, .daten .zeile-neu.abgelegt td { background: color-mix(in srgb, var(--erledigt) 9%, var(--tabelle-fest)); }

/* ---------- C-1: Posteingang als Feld (Vorbild B), solange die Tabelle nicht ohne Verschieben in ihren Rahmen passt ----------
   Die Tabelle braucht 943 px (Chromium) bis 948 px (WebKit), mit Ersatzschriften vor dem Laden bis 961 px. Unter 61rem
   Rahmenbreite (976 px; ohne Bildlaufleiste Fenster bis 1031 px, mit 15-px-Leiste bis 1046 px) steht jede Zeile als Feld:
   Absender fett, darunter Brief, klein Für und Frist, rechts Betrag und Stand. Alle sechs Zellen bleiben in ihrer Reihenfolge
   (Rollen im Markup), die Köpfe Brief, Für und Frist nur für das Vorlesen. Feste Spalten: „Abgelegt in Versicherung“ hat
   Platz, nach „Passt“ springt nichts. Darüber bleibt die Tabelle, wie sie ist. */
.eingang-liste { container-type: inline-size; }
@container (width < 61rem) {
  .eingang-liste .tabelle-rahmen { overflow: clip; }
  .eingang-liste .daten { display: block; min-width: 0; font-size: .9375rem; }
  .eingang-liste .daten caption { display: block; padding: 20px 18px 10px; text-wrap: balance; }
  .eingang-liste .daten thead, .eingang-liste .daten tbody { display: block; }
  .eingang-liste .daten tr {
    display: grid; column-gap: 12px; row-gap: 3px; align-items: start;
    grid-template-columns: auto minmax(0, 1fr) 8rem;
    grid-template-areas: "abs abs betrag" "brief brief stand" "fuer frist stand";
    padding: 13px 18px 14px; border-top: 1px solid var(--linie);
  }
  .eingang-liste .daten thead tr { grid-template-areas: "abs abs betrag"; padding-block: 10px; }
  .eingang-liste .daten th, .eingang-liste .daten td { display: block; padding: 0; border: 0; white-space: normal; position: static; background: none; min-width: 0; }
  .eingang-liste .daten tr > :nth-child(1) { grid-area: abs; }
  .eingang-liste .daten tr > :nth-child(2) { grid-area: brief; }
  .eingang-liste .daten tr > :nth-child(3) { grid-area: fuer; }
  .eingang-liste .daten tr > :nth-child(4) { grid-area: frist; }
  .eingang-liste .daten tr > :nth-child(5) { grid-area: betrag; text-align: right; }
  .eingang-liste .daten tr > :nth-child(6) { grid-area: stand; text-align: right; }
  .eingang-liste .daten thead th:nth-child(n+2):nth-child(-n+4), .eingang-liste .daten thead th:nth-child(6) {
    position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
  }
  .eingang-liste .daten tbody th { font-weight: 650; line-height: 1.3; }
  .eingang-liste .daten tbody td:nth-child(2) { color: var(--text-2); line-height: 1.35; }
  .eingang-liste .daten tbody td:nth-child(3), .eingang-liste .daten tbody td:nth-child(4) { color: var(--text-2); font-size: .8125rem; line-height: 1.35; }
  .eingang-liste .daten tbody td:nth-child(4) { border-left: 1px solid var(--linie-stark); padding-left: 9px; margin-left: -3px; }
  .eingang-liste .daten tbody td:nth-child(5) { font-weight: 650; font-size: .875rem; line-height: 1.3; }
  .eingang-liste .daten .stand { display: flex; width: 100%; justify-content: flex-end; align-items: flex-start; gap: 6px; line-height: 1.25; font-size: .875rem; }
  .eingang-liste .daten .stand > svg, .eingang-liste .daten .stand > .haken-mini { flex: none; margin-top: 1px; }
  .eingang-liste .daten .zeile-neu { background: color-mix(in srgb, var(--funke) 9%, var(--tabelle-fest)); }
  .eingang-liste .daten .zeile-neu.abgelegt { background: color-mix(in srgb, var(--erledigt) 9%, var(--tabelle-fest)); }
  .eingang-liste .daten .zeile-neu th, .eingang-liste .daten .zeile-neu td { background: none; }
}
@container (width < 22rem) {
  .eingang-liste .daten tr { padding-inline: 14px; grid-template-columns: auto minmax(0, 1fr) 7rem; }
  .eingang-liste .daten caption { padding-inline: 14px; }
}
/* Große Schrift (etwa ab 150 Prozent am Handy): die Spalten in rem fressen den Rahmen, Für, Frist und Stand liefen
   übereinander. Unter 16rem Rahmenbreite (bei normaler Schrift erst unter 256 px) stehen Betrag und Stand in eigenen
   Zeilen, lange Wörter dürfen trennen. 15rem ließ bei 150 Prozent und 392 bis 394 px (iPhone mit 393 px)
   „Zahlungsaufforderung“ unter das Häkchen von „Abgelegt“ laufen. */
@container (width < 16rem) {
  .eingang-liste .daten tr { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "abs abs" "brief brief" "fuer frist" "betrag betrag" "stand stand"; }
  .eingang-liste .daten thead tr { grid-template-areas: "abs betrag"; }
  .eingang-liste .daten th, .eingang-liste .daten td { hyphens: auto; overflow-wrap: anywhere; }
}
/* Ab 37.5rem Rahmenbreite (etwa ab 660 px Fenster) hat der Stand eine eigene Spalte neben dem Betrag. */
@container (37.5rem <= width < 61rem) {
  .eingang-liste .daten tr { grid-template-columns: auto minmax(0, 1fr) 8.5rem 13rem; grid-template-areas: "abs abs betrag stand" "brief brief betrag stand" "fuer frist betrag stand"; }
  .eingang-liste .daten thead tr { grid-template-areas: "abs abs betrag stand"; }
  .eingang-liste .daten thead th:nth-child(6) { position: static; width: auto; height: auto; margin: 0; overflow: visible; clip-path: none; justify-self: end; }
}

/* Vergleichstabelle der Preise (apple.com): am Handy waagrecht verschiebbar, erste Spalte steht. */
.preise-kopf { margin-bottom: clamp(28px, 4vw, 48px); }
.vergleich { min-width: 620px; }
.vergleich th, .vergleich td { padding: 16px 16px; text-align: center; border-top: 1px solid var(--linie); }
.vergleich thead th { border-top: 0; padding-top: 26px; vertical-align: bottom; font: 720 1.375rem/1.1 var(--titel); font-stretch: 84%; }
.vergleich thead td { border-top: 0; }
.vergleich tbody th { position: sticky; left: 0; z-index: 1; text-align: left; background: var(--tabelle-fest); color: var(--text-2); font: 550 .9375rem/1.35 var(--schrift); min-width: 150px; }
.vergleich .preis { font: 740 2.125rem/1 var(--titel); font-stretch: 78%; letter-spacing: -.02em; }
.vergleich td.zahl { font: 700 1.1875rem/1.1 var(--titel); font-stretch: 84%; }
.vergleich .neben { display: block; margin-top: 5px; color: var(--text-2); font: 500 .8125rem/1.3 var(--schrift); }
.vergleich .plus { background: color-mix(in srgb, var(--bald) 8%, transparent); }
.vergleich thead th.plus { border-radius: 18px 18px 0 0; }
.vergleich .plan-hinweis { display: flex; width: fit-content; margin: 8px auto 0; }
.gruppe-werte tr:last-child .plus { border-radius: 0 0 18px 18px; }
.preise-fuss { justify-items: center; text-align: center; margin-top: clamp(28px, 4vw, 44px); }
.preishinweis { margin-inline: auto; }

/* ---------- C-1: Tarifpläne lesbar und luftig (Vorbilder D und B) ----------
   Groß: feste Spalten, schmalere Titelspalte, große Monatspreise, mehr Luft, deutliche Grenze zwischen Preisen und
   Kontingenten, Plus als durchgehend hervorgehobene Spalte. Schmal (bis 759 px, bei großer Schrift Rahmen unter 44rem): jede Zeile als Raster, der
   Zeilentitel steht als eigene Zeile über den vier Werten, der Plankopf klebt mit Glas unter der Kopfleiste. Bei großer
   Schrift (Rahmen unter 18rem) bleibt das Raster und der Rahmen lässt sich verschieben, nichts überlagert sich. */
.preise-tabelle { container: preise / inline-size; }
.vergleich { table-layout: fixed; }
.vergleich .sp-merkmal { width: 25%; }
.vergleich th, .vergleich td { padding: 18px 16px; }
.vergleich tbody th { min-width: 0; }
/* td.preis, weil td.zahl (spezifischer) in C die Preisgröße schon überschrieb: die Monatspreise standen klein. */
.vergleich td.preis { font: 740 2.75rem/1 var(--titel); font-stretch: 78%; letter-spacing: -.025em; font-variant-numeric: tabular-nums; }
.vergleich .gruppe-preis tr:first-child > * { padding-top: 24px; }
.vergleich .gruppe-preis tr:last-child > * { padding-bottom: 24px; }
.vergleich .gruppe-werte tr:first-child > * { border-top: 1px solid var(--linie-stark); padding-top: 22px; }
.vergleich .neben { font-size: .8125rem; }
.vergleich .plan-hinweis { font-size: .8125rem; white-space: nowrap; padding: 0 9px; }
.vergleich thead th { padding-inline: 8px; }
.vergleich thead th.plus { box-shadow: inset 0 1.5px 0 color-mix(in srgb, var(--bald) 55%, transparent); }
@media (max-width: 759px) {
  .vergleich-rahmen { overflow: visible; }
  .vergleich { display: block; min-width: 0; table-layout: auto; }
  .vergleich colgroup { display: none; }
  .vergleich thead, .vergleich tbody { display: block; }
  .vergleich tr { display: grid; grid-template-columns: 1fr 1fr 1.25fr 1fr; }
  .vergleich thead {
    position: sticky; top: calc(var(--kopf-h) - 2px); z-index: 2;
    border-radius: 20px; background: var(--glas-dicht);
    -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
    box-shadow: 0 12px 22px -18px rgb(16 23 63 / .5);
  }
  .vergleich thead td { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); }
  .vergleich thead th { padding: 14px 2px 12px; font-size: 1.0625rem; border-top: 0; }
  .vergleich thead th.plus { border-radius: 16px; box-shadow: none; }
  .vergleich .plan-hinweis { margin-top: 6px; padding: 0 8px; min-height: 22px; }
  .vergleich tbody th { grid-column: 1 / -1; position: static; padding: 16px 8px 4px; text-align: center; background: none; font-size: .875rem; }
  .vergleich td { padding: 4px 3px 14px; border-top: 0; }
  .vergleich td.zahl { font-size: 1.0625rem; }
  .vergleich td.preis { font-size: 1.75rem; }
  .vergleich .neben { margin-top: 4px; }
  .vergleich .gruppe-preis tr:first-child > * { padding-top: 4px; }
  .vergleich .gruppe-preis tr:first-child > th { padding-top: 18px; }
  .vergleich .gruppe-preis tr:last-child > * { padding-bottom: 16px; }
  .vergleich .gruppe-werte tr:first-child > * { border-top: 0; padding-top: 4px; }
  .vergleich .gruppe-werte tr:first-child > th { border-top: 1px solid var(--linie-stark); padding-top: 18px; }
  .vergleich tbody tr + tr > th { border-top: 1px solid var(--linie); }
  .vergleich .plus { border-radius: 0; }
  .vergleich .gruppe-werte tr:last-child .plus { border-radius: 0 0 16px 16px; }
}
/* Große Schrift auf breitem Fenster: dasselbe Raster, sobald der Rahmen schmaler als 44rem ist. */
@container preise (width < 44rem) {
  .vergleich-rahmen { overflow: visible; }
  .vergleich { display: block; min-width: 0; table-layout: auto; }
  .vergleich colgroup { display: none; }
  .vergleich thead, .vergleich tbody { display: block; }
  .vergleich tr { display: grid; grid-template-columns: 1fr 1fr 1.25fr 1fr; }
  .vergleich thead {
    position: sticky; top: calc(var(--kopf-h) - 2px); z-index: 2;
    border-radius: 20px; background: var(--glas-dicht);
    -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
    box-shadow: 0 12px 22px -18px rgb(16 23 63 / .5);
  }
  .vergleich thead td { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); }
  .vergleich thead th { padding: 14px 2px 12px; font-size: 1.0625rem; border-top: 0; }
  .vergleich thead th.plus { border-radius: 16px; box-shadow: none; }
  .vergleich .plan-hinweis { margin-top: 6px; padding: 0 8px; min-height: 22px; }
  .vergleich tbody th { grid-column: 1 / -1; position: static; padding: 16px 8px 4px; text-align: center; background: none; font-size: .875rem; }
  .vergleich td { padding: 4px 3px 14px; border-top: 0; }
  .vergleich td.zahl { font-size: 1.0625rem; }
  .vergleich td.preis { font-size: 1.75rem; }
  .vergleich .neben { margin-top: 4px; }
  .vergleich .gruppe-preis tr:first-child > * { padding-top: 4px; }
  .vergleich .gruppe-preis tr:first-child > th { padding-top: 18px; }
  .vergleich .gruppe-preis tr:last-child > * { padding-bottom: 16px; }
  .vergleich .gruppe-werte tr:first-child > * { border-top: 0; padding-top: 4px; }
  .vergleich .gruppe-werte tr:first-child > th { border-top: 1px solid var(--linie-stark); padding-top: 18px; }
  .vergleich tbody tr + tr > th { border-top: 1px solid var(--linie); }
  .vergleich .plus { border-radius: 0; }
  .vergleich .gruppe-werte tr:last-child .plus { border-radius: 0 0 16px 16px; }
}
@media (max-width: 359px) { .vergleich td.preis { font-size: 1.5rem; } }
@container preise (width < 18rem) {
  .vergleich-rahmen { overflow-x: auto; }
  .vergleich { min-width: 18rem; }
  .vergleich thead { position: static; }
}
/* Monatspreise zählen beim ersten Erscheinen (site.js), danach hebt sich der Hinweis bei Plus. */
@media (prefers-reduced-motion: no-preference) {
  .vergleich.gezaehlt .plan-hinweis { animation: hinweis-hebt 450ms var(--fest); }
}
@keyframes hinweis-hebt { 0% { transform: translateY(6px) scale(.92); opacity: .4; } 100% { transform: none; opacity: 1; } }

/* ---------- Der Ablauf als dunkle Insel mit einem Akzent (wiz.io) ---------- */
.ablauf-insel { position: relative; margin-top: clamp(72px, 9vw, 128px); padding-block: clamp(56px, 7vw, 96px); }
.ablauf-insel .ablauf { margin-top: 0; }
.ablauf-insel .stationen::after { background: linear-gradient(180deg, var(--funke), var(--erledigt)); }
@media (min-width: 900px) { .ablauf-insel .stationen::after { background: linear-gradient(90deg, var(--funke), var(--erledigt)); } }
.ablauf-insel .station:not(.offen) .station-punkt { background: var(--funke); box-shadow: inset 0 0 0 2px var(--funke), 0 0 0 5px color-mix(in srgb, var(--funke) 18%, transparent); }
.ablauf-insel .station-ende:not(.offen) .station-punkt { background: var(--erledigt); box-shadow: inset 0 0 0 2px var(--erledigt), 0 0 0 5px color-mix(in srgb, var(--erledigt) 20%, transparent); }
.ablauf-insel .station-punkt { background: var(--grund-mitte); }

/* ---------- Eine Frist läuft ab: die Szene steht, während man rollt ---------- */
/* Stufe 1b (WPOS2-10 c): mindestens 210 vh, aber nie niedriger als die eigene Szene; bei 200 % Zoom (195 CSS-px) ist die
   Szene höher als 210 vh und lag sonst über dem Folgenden (Haushalt, jetzt die Finanzen) */
.fristen-lauf { position: relative; min-height: 210vh; }
.fristen-lauf > .fristen-szene { position: sticky; top: calc(var(--kopf-h) + 4px); }
@media (min-width: 760px) {
  .fristen-lauf { min-height: 230vh; }
  .fr-raster > .fristen-lauf { grid-area: szene; }
  .fr-geraet { align-self: start; position: sticky; top: calc(var(--kopf-h) + 40px); }
}
.fm-seg { transform: scaleY(var(--wachs, 1)); }
.seg-neu { transform: scaleY(var(--neu, 1)); }
@media (prefers-reduced-motion: reduce) { .fm-seg, .seg-neu { transform: none; } }

/* Glitch-Pass: keine Layout-Verschiebung beim Antworten und beim Herunterzählen. */
.blase-chat { position: relative; }
.tippt { position: absolute; left: 16px; top: 14px; }
.chat[data-stand="tippt"] .ant-text { display: block; visibility: hidden; }
.chat[data-stand="tippt"] .quelle-chip { display: inline-flex; visibility: hidden; }
.fm-wann { min-width: 96px; }
.fm-zustand .rolle { min-width: 5.4em; justify-items: end; }
.fm-summe .rolle { min-width: 4.8em; justify-items: end; }
.platz-modul .blase { width: min(290px, calc(100vw - 136px)); }
.platz-karte .blase { width: min(300px, calc(100vw - 136px)); }
.hl-kopf .platz .blase { width: min(300px, calc(100vw - 136px)); }
.fm-zustand .rolle { min-width: 6.4em; }
.platz-modul, .platz-karte, .hl-kopf .platz { min-height: 84px; }
@media (min-width: 760px) { .platz-modul, .platz-karte, .hl-kopf .platz { min-height: 92px; } }
.platz-modul, .platz-karte, .hl-kopf .platz { align-items: flex-start; }
.fm-kopf { flex-wrap: wrap; }
.fm-kopf > div { flex: 1 1 150px; min-width: 0; }
.fm-summe { flex: none; }
.fm-summe .rolle { min-width: 4.3em; }
.kopfzeile { width: 100%; }
.hl-kopf, .preise-kopf, .faq-kopf, .ablauf-kopf { justify-items: stretch; }
.held-text, .buehne-raster > * { max-width: 100%; }

/* ==========================================================================================================
   Fassung Lichtfaden (frei C, 31.10.2026): die Stimme der Bühne trägt die ganze Seite.
   Titel wie der Bühnentitel in voller Breite (Bricolage 100 %), Zahlen schmal (78 bis 84 %) wie das Zählwerk der
   Kacheln, Sätze des Gaists halbschmal (88 %) wie seine Blase. Kapitelköpfe steigen Wort für Wort auf wie der Titel
   der Bühne. Abstände etwas enger als in der Vorlage, damit die Geschichte des Briefs nicht in Leerflächen zerfällt.
   ========================================================================================================== */
.titel-kapitel {
  font-weight: 640; font-stretch: 100%; letter-spacing: -0.034em; line-height: 1;
  font-size: clamp(2.5rem, 1.3rem + 4.6vw, 5rem);
}
.titel-kapitel.titel-gross { font-size: clamp(2.75rem, 1.3rem + 5.4vw, 5.5rem); }
.titel-mittel { font-weight: 660; font-stretch: 100%; letter-spacing: -0.026em; }
.kachel-text h3, .fm-titel, .plan-name, .fakt h3, .station b, .pr-titel, .chat-kopf, .mb-titel, .hh-brief-was b,
.daten caption, .vergleich thead th { font-stretch: 94%; }
.intro { line-height: 1.5; }
.kapitel { padding-block: clamp(88px, 10vw, 148px); }
/* N2: Am Handy (unter 760 px) liegen zwischen dem letzten Inhalt eines Abschnitts und der nächsten Überschrift 48 bis 64 px
   (vorher 176 bis 272 px); Inhalt sind auch Karten, Inseln und Glasflächen. Die Bühne verliert ihr Polster unten
   (buehne.css:71), Nacht-Inseln behalten 28 px Innenrand. Die klebende Bühne der Galerie klebt hier unter der Kopfleiste
   statt mit Polster, so beginnt der Rollweg erst nach der Überschrift. Groß bleibt alles, wie es war. */
@media (max-width: 759px) {
  .kapitel { padding-block: 28px; }
  #buehne { padding-bottom: 0; }
  .ablauf-insel { margin-top: 28px; padding-block: 28px 24px; }
  .geraete { padding-bottom: 32px; }
  .hl-an .highlights { padding-top: 28px; }
  .hl-an .hl-halter { height: calc(100svh - var(--kopf-h) - 4px + 1.2 * 6 * (var(--kachel-b) + 14px)); }
  .hl-an .hl-buehne { top: calc(var(--kopf-h) + 4px); height: calc(100svh - var(--kopf-h) - 4px); padding-top: 0; }
}

/* Kapitelköpfe Wort für Wort (site.js legt die Wörter in Spannen; ohne Skript bleibt der Kopf, wie er ist) */
.wortweise .w { display: inline-block; }
.js .wortweise:not(.zeigen) .w { opacity: 0; transform: translateY(.42em); }
.js .wortweise.zeigen .w {
  transition: opacity 520ms var(--expo), transform 760ms var(--expo);
  transition-delay: calc(var(--i, 0) * 55ms);
}
.js .wortweise.sofort .w { transition: none; }
@media (prefers-reduced-motion: reduce) {
  .js .wortweise:not(.zeigen) .w { transform: none; }
  .js .wortweise.zeigen .w { transition: opacity 150ms ease; transition-delay: 0ms; }
}

.titel-kapitel .zeile { display: block; }

/* Schmuck-Elemente <i> (Strahlen, Formen, Spur) nie kursiv: sonst lädt Inter kursiv ohne Text (W-37) */
i { font-style: normal; }

/* Fristen (Lichtfaden): die Frist läuft bis „seit 3 Tagen“ ab, wie die Kachel „Überfällig“ der Bühne. Form-zur-Farbe:
   aus dem Punkt wird die Raute in Glut (Drehung 45 Grad, 450 ms fest), Wort und Säule wechseln in Glut (Farbe 400 ms). */
.fm-zeile[data-frist="strom"] .fm-zustand .rolle { min-width: 6.9em; }
.fm-zeile[data-frist="strom"] .fm-zustand { transition: color 400ms ease; }
.fm-zeile[data-frist="strom"] .fm-zustand .form-punkt { transition: background-color 400ms ease, border-radius 0s, rotate 450ms var(--fest); }
.fm-zeile.ueberfaellig .fm-zustand { color: var(--ueberfaellig-text); }
.fm-zeile.ueberfaellig .fm-zustand .form-punkt { background: var(--ueberfaellig); border-radius: 1.5px; rotate: 45deg; }
.fristen-modul[data-strom="ueberfaellig"] .seg-bald[data-frist="strom"] { background: var(--ueberfaellig); }
.fristen-modul[data-strom="ueberfaellig"] .form-punkt[data-frist="strom"] { background: var(--ueberfaellig); border-radius: 1.5px; rotate: 45deg; }
@media (prefers-reduced-motion: reduce) {
  .fm-zeile[data-frist="strom"] .fm-zustand .form-punkt { transition: background-color 150ms ease; }
}

/* Zähler im Haushalt: feste Breite für die Ziffer, damit „von 10 Plätzen“ beim Rollen der Zahl nicht um einen Pixel
   wandert (Bricolage hat keine tabellarischen Ziffern; gemessen 0,00009 CLS beim Rollen, danach 0) */
.hh-zahl .rolle { min-width: .72em; justify-items: end; }

/* Große Schrift (Apple-Soll 7): Titel wachsen bei 150 und 200 Prozent um +8 und +16 px statt mal 1,5 und mal 2 (wie
   Dynamic Type); Wörter der Köpfe trennen sich, wenn ein Wort breiter wäre als die Spalte. */
.buehne { --fs-held: calc(clamp(44px, 22.4px + 5.6vw, 96px) + 1rem - 16px); }
.titel-kapitel { font-size: calc(clamp(40px, 20.8px + 4.6vw, 80px) + 1rem - 16px); }
.titel-kapitel.titel-gross { font-size: calc(clamp(44px, 20.8px + 5.4vw, 88px) + 1rem - 16px); }
.titel-mittel { font-size: calc(clamp(25.6px, 19.2px + 1.6vw, 36px) + 1rem - 16px); }
.wortweise .w, .b-wort { max-width: 100%; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
.fuss-nav a { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }

/* ---------- Beta-Seite (/beta) und Anleitung (/beta/anleitung), TG-B; Band oben auf der Startseite (TG-W-1) ---------- */
.beta-seite main { padding: calc(var(--kopf-h) + clamp(32px, 6vw, 72px)) 0 clamp(64px, 8vw, 112px); }
.beta-spalte { width: min(100% - 2 * var(--rand), 46rem); margin-inline: auto; }
.beta-seite [hidden] { display: none; }
.beta-abschnitt { min-width: 0; overflow-wrap: break-word; }
.beta-abschnitt + .beta-abschnitt { margin-top: clamp(48px, 7vw, 80px); }
.beta-seite h1 { font: 740 clamp(2.4rem, 1.5rem + 3.6vw, 3.75rem)/1 var(--titel); font-stretch: 82%; letter-spacing: -.03em; text-wrap: balance; }
.beta-seite h2 { font: 720 clamp(1.6rem, 1.25rem + 1.4vw, 2.25rem)/1.08 var(--titel); font-stretch: 82%; letter-spacing: -.02em; text-wrap: balance; }
.beta-seite h3 { font: 700 1.25rem/1.15 var(--titel); font-stretch: 86%; letter-spacing: -.01em; }
.beta-seite h2:focus { outline: none; }
.beta-seite h2:focus-visible { outline: 3px solid var(--fokus); outline-offset: 4px; }
.beta-abschnitt > p, .beta-zustand-kopf p, .beta-anleitung li, .beta-anleitung p { color: var(--text-2); font-size: 1.0625rem; line-height: 1.6; text-wrap: pretty; }
.beta-abschnitt > * + *, .beta-zustand-kopf > * + * { margin-top: 14px; }
.beta-lead { color: var(--text) !important; font-size: clamp(1.1875rem, 1.05rem + .5vw, 1.375rem) !important; line-height: 1.45 !important; }
.beta-hinweis { padding: 14px 16px; border-radius: 18px; background: var(--flaeche-leise); color: var(--text) !important; font-size: 1rem !important; line-height: 1.55; }
.beta-mail { color: var(--text); font-weight: 600; text-decoration-color: var(--linie-stark); text-decoration-thickness: 2px; text-underline-offset: 4px; padding-block: 10px; margin-block: -10px; overflow-wrap: anywhere; }
.beta-zustand { padding: clamp(22px, 4vw, 36px) clamp(18px, 4vw, 36px); border-radius: 30px; }
.beta-zustand-satz { color: var(--text) !important; }
.beta-wege { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.beta-weg { display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 20px; border-radius: 22px; background: var(--flaeche-leise); }
.beta-weg p { color: var(--text-2); font-size: 1rem; line-height: 1.55; }
.beta-weg .knopf { margin-top: auto; white-space: normal; text-align: center; line-height: 1.15; padding-block: 12px; }
.beta-leer { margin-top: auto; color: var(--text) !important; font-weight: 600; }
.beta-seite .formular-huelle { padding-top: 0; max-width: none; margin: 24px 0 0; }
.beta-zustand > .beta-wege, .beta-zustand > .beta-hinweis { margin-top: 20px; }
.beta-seite .formular { padding: 0; border-radius: 0; background: none; box-shadow: none; }
.beta-anleitung-link { margin-top: 18px !important; }
.beta-stand { margin-top: clamp(48px, 7vw, 80px); color: var(--text-2); font-size: .9375rem; }
.beta-faq { margin-top: 18px !important; }
@media (min-width: 760px) { .beta-wege { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.beta-anleitung ol { list-style: decimal; padding-left: 1.4em; }
.beta-anleitung ol > li + li { margin-top: 8px; }
.beta-anleitung ol > li::marker { color: var(--text); font-weight: 650; }
.beta-anleitung h3 { margin-top: 22px; }
.beta-anleitung .beta-weg-link { margin-top: 10px; }

/* WK-3 Anfang: Vorführungskarten bei 150 und 200 Prozent Zoom (Leerscan A9). Unter 18 em Kartenbreite wird aus der Spalte
   eine Zeile: der Text steht unter seinem Symbol und trennt nach Silben statt mitten im Wort zu brechen; unter 10 em stehen
   die Achsen der Fristen senkrecht und die Auswahl im Haushalt untereinander. Bei 100 Prozent greift keine Regel
   (Bildvergleich 1440 und 390 px in web/tests/e2e/wk-vorfuehrung-zoom.spec.ts). */
.pruefen { container: wk-pruefen / inline-size; }
.stationen { container: wk-stationen / inline-size; }
.chat-fenster { container: wk-chat / inline-size; }
.fristen-modul { container: wk-fristen / inline-size; }
.hh-buehne { container: wk-haushalt / inline-size; }
.fakten { container: wk-fakten / inline-size; }
@container wk-pruefen (width < 18em) {
  .pr-brief { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .pr-frist { text-align: left; }
  .pr-frist-wort { display: inline; margin: 0 6px 0 0; }
  .pr-titel, .pr-abs, .beleg-zitat, .marke-fakt { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: anywhere; }
  .marke-fakt { flex-wrap: wrap; row-gap: 2px; line-height: 1.2; padding-block: 6px; }
  .pr-knoepfe .knopf { flex-basis: 100%; }
  /* R-WKB-1 (R1 H2): „Abgelegt in Forderungen“ ragt sonst über die Zeile und berührt „Rückgängig“ */
  .pr-ergebnis { flex-wrap: wrap; row-gap: 4px; }
  .pr-abgelegt > span:last-child { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
}
@container wk-stationen (width < 18em) {
  .station, .station b { overflow-wrap: anywhere; }
  .station b, .station > span:last-child { hyphens: auto; -webkit-hyphens: auto; }
}
@container wk-chat (width < 18em) {
  .chat-antwort { flex-direction: column; align-items: flex-start; }
  .blase-chat { flex: none; align-self: stretch; padding: 12px; border-radius: 8px 22px 22px 22px; }
  .quelle-chip { display: grid; grid-template-columns: 19px 16px; justify-content: space-between; row-gap: 4px; padding: 8px; border-radius: 14px; }
  .quelle-chip > span:not(.quellmarke) { grid-column: 1 / -1; grid-row: 2; }
  .blase-chat, .chat-frage, .quelle-chip > span, .chat-kopf-hinweis { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: anywhere; }
}
@container wk-fristen (width < 18em) {
  .fm-kopf { flex-direction: column; align-items: stretch; }
  .fm-kopf > div { flex: none; }
  .fm-summe { text-align: left; }
  .fm-summe .rolle { justify-items: start; }
  .fm-diagramm { height: 214px; }
  .fm-raster { top: 42px; }
  .fm-zeile { grid-template-columns: 32px minmax(0, 1fr); column-gap: 8px; }
  .fm-zeile + .fm-zeile::before { left: 40px; }
  .abhaken, .abhaken-platz { width: 32px; height: 32px; }
  .fm-wann { grid-column: 2; flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; text-align: left; }
  .fm-wann { min-width: 0; }
  /* der Zustand steht auf eigener Zeile: das Herunterzählen („in 3 Tagen“ bis „seit 3 Tagen“) änderte sonst den Umbruch
     neben dem Betrag, und die Zeile spränge (der Vorhalt aus dem Glitch-Pass gilt hier nicht) */
  .fm-zustand { flex-wrap: nowrap; justify-content: flex-start; flex-basis: 100%; }
  .fm-zustand .rolle, .fm-zeile[data-frist="strom"] .fm-zustand .rolle { min-width: 0; justify-items: start; }
  .fm-mail { flex-direction: column; align-items: flex-start; }
  .fm-was b, .fm-mail { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: anywhere; }
}
@container wk-fristen (width < 10em) {
  .fm-diagramm { height: 236px; }
  .fm-raster { top: 64px; }
  .fm-heute-linie { bottom: 78px; }
  .fm-saeule { width: min(26px, 100%); }
  .fm-achse { flex-direction: row; align-items: center; gap: .25em; height: 56px; writing-mode: vertical-rl; rotate: 180deg; }
}
@container wk-haushalt (width < 18em) {
  .hh-brief { grid-template-columns: minmax(0, 1fr); }
  .hh-kreis { grid-template-columns: repeat(auto-fill, 44px); column-gap: 8px; }
  .hh-brief-was b, .hh-privat li { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: anywhere; }
  .hh-privat li { line-height: 1.2; padding-block: 6px; }
}
@container wk-haushalt (width < 10em) {
  .hh-fuer { grid-template-columns: minmax(0, 1fr); }
  .hh-fuer-licht { right: 3px; bottom: auto; width: auto; height: calc((100% - 6px) / 3); translate: 0 calc(var(--fuer, 1) * 100%); }
  .hh-wahl { overflow-wrap: anywhere; }
}
@container wk-fakten (width < 18em) {
  .fakt h3, .fakt p { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: anywhere; }
}
/* WK-9d (D-2080): Fragetext der Beta-FAQ bricht bei 200 % um, das Pfeilsymbol bleibt im Rand (wie Phase A: anywhere, weil ohne
   Wörterbuch die Silbentrennung allein nicht greift) */
.beta-faq summary > span { min-width: 0; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: anywhere; }
/* WK-3 Ende */

/* WK-4 b (B5, WS-N2-3): am Handy unter 620 px ist der Rollweg der Galerie so lang wie der Weg der Reihe (Faktor 1,0
   statt 1,2), jede Kachel hält weiter in ihrer Zone (site.js teilt die Strecke); ab 620 px bleibt der Faktor 1,2. */
@media (max-width: 619px) {
  .hl-an .hl-halter { height: calc(100svh - var(--kopf-h) - 4px + 6 * (var(--kachel-b) + 14px)); }
}
/* WK-4 c (B8, W-58): die Stand-Spalte der Hausrat-Zeile hält die Breite des längsten Standworts vor („Abgelegt in
   Versicherung“, 14,4 em), sonst verschieben sich beim Selbst-Ablegen die Spalten der Tabelle (CLS 0,007 bei 1440 px).
   Erst ab 67 rem: darunter ist die Tabelle mit der vorgehaltenen Spalte breiter als ihr Rahmen (1066 px) und rollt waagrecht. */
@container (width >= 67rem) {
  .daten .zeile-neu .stand { min-width: 14.6em; }
}

/* ---------- Dramaturgie wpos-4 (D-2117, D-2159) ---------- */
/* Vorlage: Entwurf des Planers wplan (entwurf.css). Nur Tokens und Werte, die site.css schon trägt; keine neue Schrift,
   keine neue Farbe. Die Kartenwerte der Pillen sind die der Faktenkarten (Positionierung Stufe 1c, D-2115). */

/* WP-2: der Überblick. Nacht-Insel mit den fünf Stationen, direkt nach der Bühne. */
/* Stationslinks: 11 px oben und unten um die Titelzeile (23 px) ergeben 45 px Trefferfläche (10 px des Entwurfs gaben 43 px). */
.ueberblick { padding-block: clamp(16px, 3vw, 40px) clamp(40px, 6vw, 88px); }
.ueberblick .ablauf-insel { margin-top: 0; }
.ue-intro { margin-top: 10px; max-width: 34rem; color: var(--text-2); font-size: 1rem; line-height: 1.5; text-wrap: pretty; }
.station-link { display: inline-block; padding-block: 11px; margin-block: -11px; color: inherit; text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .station-link:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; } }
.station-beispiel { display: block; margin-top: 6px; color: var(--text); font-size: .875rem; line-height: 1.4; }
.ue-rahmen { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; padding: 0; list-style: none; }
.ue-rahmen a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px; border-radius: 999px;
  color: var(--text); font-size: .9375rem; line-height: 1.25; text-decoration: none;
  background: var(--flaeche-leise); box-shadow: inset 0 0 0 1px var(--linie);
}
@media (hover: hover) and (pointer: fine) { .ue-rahmen a:hover { box-shadow: inset 0 0 0 1px var(--linie-stark); } }

/* WP-11 (D-2128): Satz ohne Handlung unter dem Knopf der Bühne, erscheint mit dem Knopf. */
.b-text .b-zusatz { margin-top: 12px; font-size: .9375rem; line-height: 1.4; color: var(--b-text-2); }
@media (prefers-reduced-motion: no-preference) { .b-text .b-zusatz { animation: b-heben 700ms var(--b-expo) 560ms backwards; } }

/* WB-6 (D-2190): am Handy zeigt der Geräte-Held nur das Notebook; die Regel aus WP-18, die das iPhone dort einblendete,
   ist entfernt, es gilt wieder „Schmal: nur das Notebook“ (display: none bis 759 px). */

/* WP-4: Hauptsache und Rest. Rechte Spalte mit höchstens drei Faktenkarten und einer Zeile „Auch dabei“; Pillen, Such-Probe
   und Beispielkarte tragen dieselben Werte wie die Faktenkarten (Fläche, Kante; dunkel die Nacht-Werte der Referenz). */
.ds-rechts { display: grid; gap: 14px; min-width: 0; align-content: start; }
.auch-dabei { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--text-2); font-size: .875rem; }
.auch-wort { margin-right: 2px; color: var(--text); font-weight: 600; }
.auch-pille { display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 999px; line-height: 1.3; background: var(--flaeche-leise); box-shadow: inset 0 0 0 1px var(--linie); }
.auch-dabei, .such-probe { --flaeche-leise: var(--glas); --linie: rgb(16 23 63 / .18); }
@media (prefers-color-scheme: dark) {
  :root:not([data-modus="hell"]) :is(.auch-dabei, .such-probe):not(.nacht *) { --flaeche-leise: rgb(158 180 255 / .055); --linie: rgb(158 180 255 / .14); }
}
:root[data-modus="dunkel"] :is(.auch-dabei, .such-probe):not(.nacht *) { --flaeche-leise: rgb(158 180 255 / .055); --linie: rgb(158 180 255 / .14); }
@media (min-width: 1000px) { .ds-rechts .fakten { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* WP-8: Such-Probe im Archiv (ruhig; das Tippen wäre ein eigener Punkt in site.js). */
.such-probe { margin-top: 26px; max-width: 30rem; padding: 14px; border-radius: 22px; }
.such-feld {
  display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 14px; border-radius: 999px;
  font-weight: 600; background: var(--flaeche-leise); box-shadow: inset 0 0 0 1px var(--linie);
}
.such-feld .ikon { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--text-2); stroke-width: 1.8; stroke-linecap: round; }
.treffer { margin-top: 10px; padding: 12px 14px 14px; border-radius: 16px; background: var(--flaeche-leise); }
.treffer-titel { font: 700 1.0625rem/1.2 var(--titel); font-stretch: 86%; }
.treffer-wer { margin-top: 2px; color: var(--text-2); font-size: .8125rem; }
.treffer-stelle { margin-top: 8px; font-size: .9375rem; line-height: 1.45; }
.treffer-stelle mark { padding: 0 .2em; border-radius: 4px; background: var(--markierung); color: var(--auf-markierung); }

@media (min-width: 1000px) { .such-probe { margin-inline: auto; text-align: start; } }

/* D-2169: Finanzen ohne Beispielzahl; der Kopf beschreibt die Fähigkeit in einem Satz im Bild der Einleitungen (.intro, eigene
   Klasse, weil #finanzen im Abschnitt #fristen liegt und dieser genau eine Einleitung hat). */
.finanzen-intro { margin: 18px auto 0; max-width: 38rem; color: var(--text-2); font-size: clamp(1.125rem, 1.02rem + .45vw, 1.3125rem); line-height: 1.5; text-wrap: pretty; overflow-wrap: break-word; }
.finanzen-intro strong { color: var(--text); }

/* WP-9, WD-2: die Antwort auf den Musterbrief als ruhige Szene. Der Brief ist Papier wie der Musterbrief im Posteingang;
   Tinte fest wie dort (.mb-kopf, .mb-titel), damit das Papier auch dunkel hell bleibt; Unterschrift im Blau von --bald (hell). */
.antwort-brief { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.antwort-brief-blatt { padding: 20px 22px 22px; border-radius: 14px; background: var(--papier); box-shadow: var(--papier-schatten); color: #10173F; font-size: .875rem; line-height: 1.5; }
.antwort-brief-kopf { color: #4A5378; font-size: .75rem; }
.antwort-brief-an { margin-top: 14px; font-weight: 600; }
.antwort-brief-betreff { margin-top: 14px; font: 700 1.0625rem/1.25 var(--titel); font-stretch: 86%; }
.antwort-brief-text { margin-top: 8px; }
.klammer { padding: 0 .25em; border-radius: 4px; background: color-mix(in srgb, var(--markierung) 38%, transparent); }
.antwort-brief-gruss { margin-top: 12px; }
.antwort-brief-unterschrift span { display: inline-block; margin-top: 4px; font: 500 1.375rem/1.1 var(--titel); font-stretch: 75%; color: #3352CC; rotate: -3deg; }
.wege { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; }
.wege li { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 14px; border-radius: 999px; font-size: .875rem; font-weight: 600; line-height: 1.3; background: var(--flaeche-leise); box-shadow: inset 0 0 0 1px var(--linie); }
.wege .ikon { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.wege { --flaeche-leise: var(--glas); --linie: rgb(16 23 63 / .18); }
/* Der Satz zu den Wegen (Bestand der Faktenkarte „Als E-Mail, teilen, drucken“, WPOS2-9) erklärt die drei Wege in Worten. */
.wege-satz { color: var(--text-2); font-size: .875rem; line-height: 1.45; text-wrap: pretty; }
@media (prefers-color-scheme: dark) {
  :root:not([data-modus="hell"]) .wege:not(.nacht *) { --flaeche-leise: rgb(158 180 255 / .055); --linie: rgb(158 180 255 / .14); }
}
:root[data-modus="dunkel"] .wege:not(.nacht *) { --flaeche-leise: rgb(158 180 255 / .055); --linie: rgb(158 180 255 / .14); }
/* Rechner: .ds-raster ist ab 1000 px einspaltig mit zentriertem Kopf; der Antwortbrief behält Briefbreite in der Mitte. */
@media (min-width: 1000px) {
  #briefe .antwort-brief { width: min(100%, 46rem); margin-inline: auto; }
  #briefe .wege { justify-content: center; }
  #briefe .wege-satz { text-align: center; }
}

/* WP-5: der Gaist als Zeichen in den Faktenkarten (Augen gefüllt, Funke gelb wie in der Marke). */
.ig-auge { fill: var(--geist-licht); stroke: none; }
.ig-funke { fill: var(--funke); stroke: var(--funke-kante); stroke-width: .5px; }

/* WP-13: roter Faden, kleine Marke im Posteingang am Musterbrief (Werte der Pillen). */
.faden {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: 6px 12px 6px 10px; border-radius: 999px;
  color: var(--text-2); font-size: .875rem; line-height: 1.3; background: var(--flaeche-leise); box-shadow: inset 0 0 0 1px var(--linie);
  --flaeche-leise: var(--glas); --linie: rgb(16 23 63 / .18);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-modus="hell"]) .faden:not(.nacht *) { --flaeche-leise: rgb(158 180 255 / .055); --linie: rgb(158 180 255 / .14); }
}
:root[data-modus="dunkel"] .faden:not(.nacht *) { --flaeche-leise: rgb(158 180 255 / .055); --linie: rgb(158 180 255 / .14); }
.faden .ikon { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* WP-10: der Fristen-Lauf hält nur, wenn er auch läuft (bei reduzierter Bewegung und ohne Skript steht die Szene im Endzustand). */
@media (prefers-reduced-motion: reduce) { .fristen-lauf { min-height: 0; } }
:root:not(.js) .fristen-lauf { min-height: 0; }

/* WB-2 (N-4): keine Leerfläche nach dem Startblock. Ursache (gemessen an der Basis, logs/w9b-*): am Rechner liegen unter dem
   Geräte-Held das Polster der Bühne (buehne.css, 136 px) und das des Geräte-Helds (160 px) übereinander (0,33 BH bis zum
   nächsten Abschnitt); am Handy bleibt der Deckel des Notebooks bis 18 % der Zeitleiste fast zu, und der Gaist-Platz darüber
   ist leer, bis der Gaist dort ankommt (0,36 BH ohne sichtbaren Inhalt unter den Kacheln). Das Polster entfällt wie am Handy
   (site.css „#buehne { padding-bottom: 0; }“), der Deckel öffnet am Handy schon beim Einsteigen, der Geräte-Held rückt näher. */
#buehne { padding-bottom: 0; }
@media (max-width: 759px) { #buehne .geraete { padding-top: 24px; } }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) and (max-width: 759px) {
    #buehne .mac-deckel { animation-range: entry 20% cover 30%; }
  }
}

/* WB-3 (N-5): die Posteingang-Tabelle zeigt am Handy drei Zeilen (eine „Zu prüfen“, zwei „Abgelegt“), am Rechner fünf. Die Daten
   im HTML bleiben; display: none nimmt die Zeilen auch aus dem Vorlesebaum, am Rechner liest der Vorleser alle fünf. */
@media (max-width: 699px) { .eingang-liste .daten tbody tr:nth-child(n+4) { display: none; } }

/* WB-7 (D-2191): Preistabelle am Handy. Im schmalen Raster ist jede Zeile ein eigenes Grid, die Zeilentitel liegen als volle
   Zeilen dazwischen; der Spaltengrund der Plus-Zellen zerfiel so in Kästen je Zeile. Schmal trägt nur die Kopfzelle „Plus“ die
   Hervorhebung, die Plus-Werte stehen ohne eigenen Grund und ohne Rundung etwas fetter (Farbe unverändert, Kontrast wie
   heute oder höher). Ab 760 px und ab 44 rem Rahmenbreite bleibt die durchgehende Spalte. tr:nth-child(n) hebt die Gewichtung
   über die Rundung der letzten Zeile (.gruppe-werte tr:last-child .plus). */
@media (max-width: 759px) {
  .vergleich :is(.gruppe-preis, .gruppe-werte) tr:nth-child(n) > td.plus { background: none; border-radius: 0; font-weight: 800; }
}
@container preise (width < 44rem) {
  .vergleich :is(.gruppe-preis, .gruppe-werte) tr:nth-child(n) > td.plus { background: none; border-radius: 0; font-weight: 800; }
}

/* Große Schrift (200 %, 320 px): lange Wörter der neuen Bausteine trennen statt die Spalte zu weiten. */
.ds-rechts > *, .such-probe > *, .antwort-brief > * { min-width: 0; }
.station-beispiel, .ue-intro, .ue-rahmen a, .b-zusatz, .auch-pille, .treffer, .antwort-brief-blatt, .wege li, .wege-satz, .faden { overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
