/* Geldberg-Formel, Mini-Funnel. Tokens aus konzept/konzept.md, Abschnitt Tokens. */
@font-face { font-family: "Instrument Sans"; src: url("../fonts/instrument-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/instrument-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("../fonts/instrument-serif-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --grund: #f5f5f5;
  --flaeche: #ffffff;
  --tinte: #1f1f1f;
  --tinte-2: #424242;
  --linie: #ebebeb;
  --akzent: #5b5fc7;
  --akzent-tief: #4f52b2;
  --akzent-hell: #e8ebfa;
  --spur: #e6e6e6;
  --stempel: #ffc83d;
  --fehler: #c4314b;

  --gr-gross: 28px;  --zh-gross: 32px;
  --gr-text: 16px;   --zh-text: 24px;
  --gr-klein: 13px;  --zh-klein: 18px;

  --spalte: 440px;
  --rand: 16px;
  --takt: 24px;          /* Abstand Satz -> Knopf und Hero -> naechste Sektion (R49); Runde 1: 24 statt 32, damit der Hero-Knopf mit Seite 2 über dem Cookie-Hinweis bleibt */
  --luft: 12px;

  --r-knopf: 4px; --r-feld: 8px; --r-karte: 16px; --r-karte-innen: 10px;
  --schatten: 0 12px 28px -14px rgb(31 31 31 / 0.22), 0 0 0 1px var(--linie);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --schrift: "Instrument Sans", "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--grund); color: var(--tinte);
  font: 400 var(--gr-text)/var(--zh-text) var(--schrift);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, p, figure, blockquote { margin: 0; }
h1, h2 { font-size: var(--gr-gross); line-height: var(--zh-gross); font-weight: 600; letter-spacing: -0.02em; text-wrap: balance; }
em.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; }
.klein { font-size: var(--gr-klein); line-height: var(--zh-klein); }
.leise { color: var(--tinte-2); }
.zeile { display: block; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ico { width: 1em; height: 1em; fill: currentColor; flex: none; }
.symbol { --duo: var(--stempel); --duo-o: 1; }
:focus-visible { outline: 2px solid var(--akzent); outline-offset: 3px; border-radius: 4px; }
[id] { scroll-margin-top: 80px; }

/* Spalte wie ein Linktree: auf jedem Bildschirm nur in der Mitte */
.spalte { width: 100%; max-width: var(--spalte); margin: 0 auto; padding: 0 var(--rand); }
main.spalte { padding-top: var(--rand); }
.sektion + .sektion { margin-top: var(--takt); }

/* Sektion 1: Formel. Buehne aus Formel-Stapel und Ring (Feinschliff #191) */
.buehne {
  display: grid; align-items: center;  /* Spalten siehe Runde 1 unten (vorher Lia, konzept.md Z. 67: 0.9fr / 1.1fr) */
  background: var(--linie); border-radius: var(--r-karte); padding: 6px; isolation: isolate;
}
.formel { position: relative; align-self: stretch; }
/* Runde 1 (#186): rechte Spalte fest so breit, dass „Rest geht ans Finanzamt“ in eine Zeile passt; links bleibt Platz für die lesbare Seite 2 */
.buehne { grid-template-columns: minmax(0, 1fr) 160px; gap: 4px; }
@media (min-width: 768px) { .buehne { grid-template-columns: minmax(0, 1fr) 200px; } }
.stapel { position: relative; height: 100%; min-height: 228px; }
.stapel > img { position: absolute; width: 74%; border-radius: 3px; box-shadow: 0 10px 24px -10px rgb(31 31 31 / 0.28), 0 1px 2px rgb(31 31 31 / 0.08); }
.stapel .blatt-5 { left: 22%; top: 3%;  transform: rotate(8deg); }
.stapel .blatt-4 { left: 18%; top: 2%;  transform: rotate(4deg); }
.stapel .blatt-3 { left: 2%;  top: 3%;  transform: rotate(-8deg); }
.stapel .deckblatt { left: 8%; top: 0; transform: rotate(-4deg); }
/* Seite 2 aufgefächert: liegt vorn, unten bündig; oben bleibt der Titel des Deckblatts sichtbar */
.innenseite {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  background: var(--flaeche); border-radius: 4px; padding: 8px 8px 8px 6px;
  box-shadow: 0 16px 30px -12px rgb(31 31 31 / 0.35), 0 0 0 1px rgb(31 31 31 / 0.06);
  transform: rotate(2deg); transform-origin: 50% 100%;
  font-size: var(--gr-klein); line-height: 16px;  /* eng gesetzt, damit oben der Titel des Deckblatts frei bleibt */
}
.innen-kopf { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 2px 4px; border-bottom: 1px solid var(--linie); font-weight: 600; }
.innen-kopf img { display: block; height: 8px; width: auto; opacity: 0.7; }
.kapitel { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 4px; }
.kapitel li { display: grid; grid-template-columns: 14px 1fr; gap: 2px; color: var(--tinte); }
.kapitel .nr { font-weight: 600; color: var(--akzent-tief); }
.gesperrt { display: flex; align-items: center; gap: 6px; margin-top: 6px; padding-left: 16px; }
.gesperrt .balken { display: block; flex: 1; height: 7px; border-radius: 4px; background: #d6d6d6; filter: blur(1.5px); }
.gesperrt .balken.kurz { flex: 0 0 28%; }
.gesperrt .ico { flex: none; width: 14px; height: 14px; color: var(--tinte-2); }
/* Signature-Move: Das Plus waechst (Ring = dein Brutto) */
.ring { display: grid; justify-items: center; text-align: center; padding: 0 4px; min-width: 0; width: 100%; }
.ring-buehne { position: relative; width: min(100%, 148px); aspect-ratio: 1; }
/* Lia, konzept.md Z. 67 und 71: 192 px ab 768. Am Handy 148 px mit Radius 54 statt 48 im viewBox 120, sichtbar so groß wie vorher (Rückgabe 4, Befund 102162: die längere Legende aus texte.md Z. 31 braucht eine Zeile mehr, der Hero muss über dem Cookie-Hinweis frei bleiben). Am Handy Strich 8, damit „20.000 €“ (28 px) mindestens 6 px Luft zur Innenkante hat */
@media (min-width: 768px) { .ring-buehne { width: min(100%, 192px); } }
.ring-grafik { width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.ring-grafik circle { fill: none; stroke-width: 8; }
@media (min-width: 768px) { .ring-grafik circle { stroke-width: 10; } }
.ring-grafik .spur { stroke: #c9c9c9; }   /* grau = Rest, der ans Finanzamt geht */
.ring-grafik .plus { stroke: var(--stempel); stroke-dasharray: 87 100; }   /* gelb = Lohnsteuer, die als Netto bleibt (texte.md Z. 28) */
/* Zahl in der Ringmitte wie im Bestand (zwei Ringe mit Zahl in der Mitte) */
.ring-mitte { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring-mitte .klein { color: var(--tinte-2); }
.ring-mitte strong { display: grid; font-weight: 600; }
/* Lia, konzept.md Z. 61-62: „über“ eigene Zeile 13 px, „20.000 €“ 28 px wie die h1, nie größer */
.ring-mitte .ueber { font-size: var(--gr-klein); line-height: var(--zh-klein); font-weight: 400; color: var(--tinte-2); }
.ring-mitte .ziel-zahl { font-size: var(--gr-gross); line-height: var(--zh-gross); color: var(--tinte); letter-spacing: -0.02em; font-variant-numeric: proportional-nums; white-space: nowrap; }
/* Rückgabe 3, Adrian (Protokoll 101017): fast die ganze Lohnsteuer bleibt bei dir. Anteile am Brutto nach dem Bestand
   (8.250 € x 12 = 99.000 €, Lohnsteuer 22.867 €, Ziel über 20.000 €): Netto 77, Plus 20, Rest-Lohnsteuer 3 */
/* Befund 100366: jede Ringfarbe mit einem Wort, ohne Betrag (R75) */
.punkt { display: inline-block; width: 10px; height: 10px; margin-right: 6px; border-radius: 2px; vertical-align: 0; }
.zielzahl { margin-top: 4px; color: var(--tinte); text-wrap: balance; }
.zielzahl .punkt { background: var(--stempel); }
/* Befunde 103053/104057/104079: graue Legende als zweite Zeile direkt unter der gelben, am Ring; einzeilig (nowrap), damit der Hero nur um eine Zeile wächst */
.zielzahl.rest { margin-top: 2px; white-space: nowrap; }
.zielzahl.rest .punkt { background: #c9c9c9; }
/* Zahlenreihe wie im Bestand: je Punkt grosse Zahl als eigenes Element */
.zahlen { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: 1.45fr 1fr 0.8fr; gap: 8px; }
.zahlen li { background: var(--flaeche); border-radius: var(--r-karte-innen); padding: 8px; box-shadow: 0 0 0 1px var(--linie); }
/* eine Stufe unter der Überschrift (Befund 99491): Zahlen tragen 16 px fett, die h1 bleibt das größte Element */
.zahlen strong { display: block; font-weight: 600; letter-spacing: 0.01em; white-space: nowrap; }
.zahlen .klein { display: block; color: var(--tinte-2); }
.zahlen .stempel { background: var(--stempel); color: var(--tinte); box-shadow: none; }
.zahlen .stempel .klein { color: var(--tinte); }
/* Absender wie im Bestand (Befund 99496): Signet, Wortmarke, Zielgruppe */
.absender { display: flex; align-items: center; gap: 8px; min-height: 28px; }
.absender .wort { height: 20px; width: auto; }  /* Wortmarke des Bestands mit eigenem Signet */
.absender .fuer { margin-left: 4px; padding-left: 12px; border-left: 1px solid #c8c8c8; color: var(--akzent-tief); font-size: var(--gr-klein); line-height: var(--zh-klein); font-weight: 600; }
.hero h1 { margin-top: var(--luft); }
.hero .satz { margin-top: var(--luft); color: var(--tinte-2); }
.hero .buehne { margin-top: var(--luft); }

/* Knopf im Knopf */
.knopf {
  display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 52px;
  padding: 8px 8px 8px 20px; border: 0; border-radius: var(--r-knopf); cursor: pointer;
  background: var(--akzent); color: #fff; text-decoration: none;
  font: 600 var(--gr-text)/var(--zh-text) var(--schrift);
  transition: transform 120ms var(--ease-out), background-color 150ms ease;
}
.knopf .kreis {
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  background: rgb(255 255 255 / 0.16); font-size: 16px; transition: transform 200ms var(--ease-out);
}
.knopf .text { flex: 1; text-align: center; }
.knopf:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .knopf:hover { background: var(--akzent-tief); }
  .knopf:hover .kreis { transform: translateY(2px); }
  .knopf.senden:hover .kreis { transform: translate(2px, -2px); }
}
.hero .knopf { margin-top: var(--takt); }
.unter-knopf { margin-top: var(--luft); text-align: center; color: var(--tinte-2); }

/* Runde 1 (#186, R56): Inhaltsliste wie im Bestand, als Blatt mit gelbem Rand links (Farbe des Rings) */
.inhalt { scroll-margin-top: 88px; margin-top: var(--takt); background: var(--flaeche); border-radius: var(--r-karte-innen); padding: 16px; box-shadow: var(--schatten); border-left: 4px solid var(--stempel); }
.inhalt-titel { font-weight: 600; color: var(--tinte-2); }
.inhalt-liste { list-style: none; margin: 8px 0 0; padding: 0; }
.inhalt-liste li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid var(--linie); }
.inhalt-liste li:last-child { border-bottom: 0; padding-bottom: 0; }
.inhalt-liste .ico { flex: none; width: 24px; height: 24px; padding: 4px; margin-top: 0; border-radius: 50%; background: var(--stempel); color: var(--tinte); }  /* gelb wie das Plus im Ring */

/* Sektion 2: Formular in Doppelrand-Karte */
.schale { background: var(--linie); border-radius: var(--r-karte); padding: 6px; }
.karte { background: var(--flaeche); border-radius: var(--r-karte-innen); overflow: hidden; }
.zustellung { position: relative; height: 170px; overflow: hidden; background: #f1f1f1; }
.zustellung img { position: absolute; left: 50%; top: -18px; width: 250px; transform: translateX(-34%) rotate(-4deg); }
.karte-innen { padding: var(--rand); }
.karte-innen .lieferung + p { margin-top: var(--luft); color: var(--tinte-2); }
.lieferung { list-style: none; margin: var(--luft) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.lieferung li { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 8px; border-radius: 999px; background: var(--akzent-hell); color: var(--akzent-tief); font-size: var(--gr-klein); line-height: var(--zh-klein); font-weight: 600; }
.lieferung .ico { font-size: 16px; }
.feld-block { margin-top: 20px; }
.feld-block label { display: block; font-size: var(--gr-klein); line-height: var(--zh-klein); font-weight: 600; margin-bottom: 8px; }
.feld {
  display: flex; height: 56px; border: 1.5px solid #c8c8c8; border-radius: var(--r-feld); background: var(--flaeche);
  transition: border-color 150ms ease;
}
.feld:focus-within { border-color: var(--akzent); }
.feld.fehlt { border-color: var(--fehler); }
.vorwahl { position: relative; display: flex; align-items: center; border-right: 1.5px solid var(--linie); }
.vorwahl select {
  appearance: none; -webkit-appearance: none; height: 100%; border: 0; background: transparent; color: var(--tinte);
  font: 600 var(--gr-text)/1 var(--schrift); padding: 0 32px 0 16px; cursor: pointer; border-radius: var(--r-feld) 0 0 var(--r-feld);
}
.vorwahl .ico { position: absolute; right: 12px; pointer-events: none; font-size: 13px; color: var(--tinte-2); }
/* Befunde 104078/104084/104085, R87: WhatsApp-Symbol vor „+49“, 20 px, WhatsApp-Dunkelgrün #128c7e (Grafik-Kontrast 4,2:1 auf Weiß) */
.vorwahl .ico.wa { left: 14px; right: auto; font-size: 20px; color: #128c7e; }
.vorwahl select { padding-left: 42px; }
.feld input {
  flex: 1; min-width: 0; border: 0; background: transparent; padding: 0 16px; color: var(--tinte);
  font: 400 var(--gr-text)/1 var(--schrift); letter-spacing: 0.02em; border-radius: 0 var(--r-feld) var(--r-feld) 0;
}
.feld input:focus, .vorwahl select:focus { outline: none; }
.fehlertext { margin-top: 8px; color: var(--tinte); font-size: var(--gr-klein); line-height: var(--zh-klein); display: flex; gap: 6px; align-items: flex-start; }
.fehlertext::before { content: ""; flex: none; width: 4px; align-self: stretch; border-radius: 2px; background: var(--fehler); }
.fehlertext[hidden] { display: none; }
.haken-zeile { display: flex; align-items: center; gap: 0; min-height: 44px; margin-top: 12px; cursor: pointer; }
/* Klickfläche 44 x 44, sichtbares Kästchen 20 x 20 in der Mitte */
.haken-zeile input {
  appearance: none; -webkit-appearance: none; flex: none; width: 44px; height: 44px; margin: 0 0 0 -12px; cursor: pointer;
  background: no-repeat center / 20px 20px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Crect x='.75' y='.75' width='18.5' height='18.5' rx='4' fill='%23fff' stroke='%23757575' stroke-width='1.5'/%3E%3C/svg%3E");
}
.haken-zeile input:checked {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Crect width='20' height='20' rx='4' fill='%235b5fc7'/%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.haken-zeile input[aria-invalid="true"] {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Crect x='.75' y='.75' width='18.5' height='18.5' rx='4' fill='%23fff' stroke='%23c4314b' stroke-width='1.5'/%3E%3C/svg%3E");
}
.haken-zeile input:focus-visible { outline-offset: -10px; }
.haken-zeile a { text-underline-offset: 2px; }
.formular .knopf { margin-top: 12px; }
.knopf.laedt .kreis .ico { animation: drehen 600ms linear infinite; }
@keyframes drehen { to { transform: rotate(360deg); } }

/* Sektion 3: Letzte Huerde */
.huerde h2 { margin-bottom: 4px; }
.antworten { list-style: none; margin: 0; padding: 0; }
.antworten li { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--linie); }
.antworten li:last-child { border-bottom: 0; }
.symbol { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 50%; background: var(--akzent-hell); color: var(--akzent); font-size: 26px; }
.antworten strong { display: block; font-weight: 600; text-wrap: balance; }  /* Befund 104082: kein „machen?“ allein in Zeile 2 */
.antworten p { color: var(--tinte-2); }
.zwischen { margin-top: 20px; font-weight: 600; color: var(--tinte-2); }
.stimmen { display: grid; gap: 12px; margin-top: 12px; overflow-x: clip; overflow-clip-margin: 8px; }
.stimme { position: relative; background: var(--flaeche); border-radius: var(--r-karte-innen); padding: 16px; box-shadow: var(--schatten); }
.stimme .zitat { display: block; font-size: 24px; color: var(--akzent); }
.stimme blockquote { margin: 8px 0 0; }
.stimme figcaption { margin-top: 8px; color: var(--tinte-2); }
.stimme figcaption strong { color: var(--tinte); font-weight: 600; }
.etikett { position: absolute; top: 12px; right: 12px; padding: 2px 8px; border-radius: 999px; border: 1px dashed var(--tinte-2); color: var(--tinte-2); font-size: var(--gr-klein); line-height: var(--zh-klein); font-weight: 600; background: var(--grund); }
.etikett-fluss { position: static; display: inline-block; margin-left: 4px; }
.huerde .knopf { margin-top: 20px; }

/* Danke-Seite */
.danke { padding-top: 16px; }
.zustellung-danke { height: 220px; }
.zustellung-danke img { width: 300px; top: -16px; transform: translateX(-40%) rotate(-4deg); }
.haken-gross { display: block; width: 56px; height: 56px; margin-top: -44px; position: relative; box-shadow: 0 0 0 6px var(--flaeche); border-radius: 50%; }
.haken-gross path { stroke-dasharray: 1; stroke-dashoffset: 0; }
.danke h1 { margin-top: var(--luft); }
.danke h1 + p { margin-top: var(--luft); color: var(--tinte-2); }

/* Rechtsseiten */
.recht h1 { margin-top: 8px; }
.recht h2 { font-size: var(--gr-text); line-height: var(--zh-text); margin-top: 24px; }
.recht p { margin-top: 8px; color: var(--tinte-2); }
.recht .zurueck { display: inline-flex; align-items: center; min-height: 44px; color: var(--akzent-tief); font-weight: 600; text-decoration: none; }
.recht p { overflow-wrap: anywhere; }
.recht p a { color: var(--akzent-tief); text-underline-offset: 2px; }
.recht .zeilen { color: var(--tinte); }

/* Fuss */
.fuss { margin-top: 56px; padding-top: 24px; padding-bottom: 32px; border-top: 1px solid var(--linie); color: var(--tinte-2); }
.fuss img { height: 14px; width: auto; }
.fuss nav { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 12px; }
.fuss nav a, .fuss nav button { color: var(--tinte-2); font: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; min-height: 44px; display: inline-flex; align-items: center; }
.fuss p { margin-top: 8px; }

/* Kopfleiste: erscheint erst nach dem Hero, nie neben einem gleichnamigen Knopf (R34, R63, R68) */
.kopf {
  position: fixed; top: 8px; left: 50%; z-index: 20; width: calc(min(var(--spalte), 100%) - 2 * var(--rand) + 0px);
  max-width: calc(var(--spalte) - 2 * var(--rand));
  display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 56px; padding: 0 8px 0 16px;
  background: var(--flaeche); border-radius: var(--r-karte-innen);
  /* letzter Schatten: deckende Grundfläche über die ganze Spalte (16 px seitlich, bis zum oberen Rand, 8 px darunter),
     damit keine Überschrift neben oder über der Leiste hervorschaut (#191, Scrollstand 1,6 Bildschirmhöhen) */
  box-shadow: 0 10px 30px -10px rgb(31 31 31 / 0.2), 0 0 0 1px var(--linie), 0 -8px 0 var(--rand) var(--grund);
  transform: translate(-50%, -12px); opacity: 0; visibility: hidden;
  transition: transform 200ms var(--ease-out), opacity 200ms var(--ease-out), visibility 0s 200ms;
}
.kopf.zeigen { transform: translate(-50%, 0); opacity: 1; visibility: visible; transition: transform 200ms var(--ease-out), opacity 200ms var(--ease-out), visibility 0s; }
.kopf .marke img { height: 14px; width: auto; }
.kopf .marke .signet { display: none; height: 22px; }
.kopf .knopf { width: auto; min-height: 44px;  /* Befund 103055: Tap-Ziel mindestens 44 px */ padding: 8px 12px; font-size: var(--gr-klein); line-height: var(--zh-klein); white-space: nowrap; }
@media (max-width: 379px) {
  .kopf .marke .wort { display: none; }
  .kopf .marke .signet { display: block; }
}

/* Cookie-Hinweis */
.cookie {
  position: fixed; left: 50%; bottom: 4px; z-index: 30; width: calc(100% - 12px); max-width: calc(var(--spalte) - 24px);
  transform: translateX(-50%); background: var(--flaeche); border-radius: var(--r-karte-innen); padding: 8px 12px; box-shadow: 0 16px 40px -12px rgb(31 31 31 / 0.3), 0 0 0 1px var(--linie);
}
.cookie[hidden] { display: none; }
.cookie { font-size: var(--gr-klein); line-height: var(--zh-klein); }  /* Zeilenhöhe 18 auch für die laufenden Zeilen */
.cookie p { font-size: var(--gr-klein); line-height: var(--zh-klein); color: var(--tinte-2); }
.cookie .wahl { display: flex; gap: 8px; margin-top: 8px; }
.cookie button { flex: 1; min-height: 44px; border-radius: var(--r-knopf); font: 600 var(--gr-klein)/1 var(--schrift); cursor: pointer; transition: transform 120ms var(--ease-out); }
.cookie button:active { transform: scale(0.97); }
/* Befund 100841: eigener Ton, damit „Alle erlauben“ nicht neben dem lila Hauptknopf konkurriert */
.cookie .ja { background: var(--tinte); color: #fff; border: 0; }
.cookie .nein { background: var(--flaeche); color: var(--tinte); border: 1.5px solid #c8c8c8; }
.cookie .cookie-titel { color: var(--tinte); font-weight: 600; }
/* Rückgabe 3 (Befund 100841, Z-d281ca9f Punkt 4): Titel läuft in die erste Zeile, Hinweis flacher, damit der Hero-Knopf bei 390 x 844 frei bleibt */
.cookie .cookie-titel, .cookie .cookie-titel + p { display: inline; }
.cookie .cookie-titel { margin-right: 4px; }

/* Desktop: dieselbe Spalte, etwas groessere Bilder */
@media (min-width: 768px) {
  .zustellung { height: 210px; }
  .zustellung img { width: 300px; top: -22px; }
  /* Halt am Desktop (Befund 99496): die Linktree-Spalte liegt als weißes Blatt auf der grauen Fläche */
  body { padding: 32px 0; }
  main.spalte { padding-top: 24px; padding-bottom: 32px; background: var(--flaeche); border-radius: var(--r-karte) var(--r-karte) 0 0;
    box-shadow: 0 0 0 1px var(--linie), 0 30px 60px -30px rgb(31 31 31 / 0.18); }
  .fuss { margin-top: 0; padding-left: 24px; padding-right: 24px; background: var(--flaeche); border-radius: 0 0 var(--r-karte) var(--r-karte);
    box-shadow: 0 0 0 1px var(--linie), 0 30px 60px -30px rgb(31 31 31 / 0.18); clip-path: inset(0 -80px -80px -80px); }
  main.spalte { padding-left: 24px; padding-right: 24px; }
  .kopf { box-shadow: 0 10px 30px -10px rgb(31 31 31 / 0.2), 0 0 0 1px var(--linie), 0 -8px 0 var(--rand) var(--flaeche); }
  /* Runde 1 (#186): „7 Mio. €+“ am Desktop in Überschriftgröße, damit die Größe des Hauses nicht nur in drei kleinen Karten steht */
  .zahlen .stempel strong { font-size: var(--gr-gross); line-height: var(--zh-gross); letter-spacing: -0.02em; }
}

/* Runde 1 (#186): Kulisse am Desktop. Der graue Grund wird zur Bühne, die Spalte liegt darauf (A863) */
.kulisse { display: none; }
@media (min-width: 1024px) {
  .kulisse { display: block; position: absolute; inset: 0 0 auto 0; height: 1000px; overflow: hidden; pointer-events: none; z-index: 0; }
  main.spalte, .fuss { position: relative; z-index: 1; }
  .kulisse-ring { position: absolute; left: 50%; top: -20px; width: 1000px; height: 1000px; translate: -50% 0; transform: rotate(-90deg); }
  .kulisse-ring circle { fill: none; stroke-width: 56; }
  .kulisse-ring .spur { stroke: #dcdcdc; }
  .kulisse-ring .plus { stroke: var(--stempel); stroke-dasharray: 87 100; }
  .kulisse img { position: absolute; display: none; border-radius: 4px; box-shadow: 0 30px 60px -24px rgb(31 31 31 / 0.35), 0 0 0 1px rgb(31 31 31 / 0.05); }
}
@media (min-width: 1200px) {
  .kulisse img { display: block; }
  .kulisse-deckblatt { width: 300px; left: calc(50% - 620px); top: 150px; transform: rotate(-8deg); }
  .kulisse-blatt { width: 250px; left: calc(50% + 360px); }
  .kulisse-blatt.kb-1 { top: 330px; transform: rotate(5deg); }
  .kulisse-blatt.kb-2 { top: 300px; left: calc(50% + 390px); transform: rotate(11deg); }
}

/* Bewegung: nur mit JavaScript und ohne reduzierte Bewegung (N04) */
@media (prefers-reduced-motion: no-preference) {
  .js .stapel { animation: hoch 520ms var(--ease-out) both; }
  .js .zahlen .stempel { animation: aufsetzen 220ms var(--ease-out) 380ms both; }
  /* erzählt (Befund 99490, Rückgabe 4): das Gelb wächst über die graue Lohnsteuer, bis fast alles bei dir bleibt */
  .js .ring-grafik .plus { animation: wachsen 1200ms var(--ease-in-out) 300ms both; }
  /* Runde 1 (#186): der große Ring der Kulisse wächst im selben Takt mit; Seite 2 klappt aus dem Stapel nach vorn (Bestand: „aufklappen“) */
  .js .kulisse-ring .plus { animation: wachsen 1200ms var(--ease-in-out) 300ms both; }
  .js .innenseite { animation: aufklappen 640ms var(--ease-out) 560ms both; }
  .js .kapitel li { animation: zeile 360ms var(--ease-out) both; }
  .js .kapitel li:nth-child(1) { animation-delay: 1000ms; }
  .js .kapitel li:nth-child(2) { animation-delay: 1100ms; }
  /* Liste: jede Zeile wird beim Hereinscrollen abgehakt, der Kreis füllt sich gelb wie der Ring (N04: Text immer sichtbar) */
  .js .inhalt-liste li .ico { transform: scale(0.6); background: var(--linie); color: transparent; transition: transform 360ms var(--ease-out), background-color 360ms var(--ease-out), color 200ms var(--ease-out) 160ms; }
  .js .inhalt-liste li.sichtbar .ico { transform: none; background: var(--stempel); color: var(--tinte); }
  /* N04: kein Kerninhalt hängt an einem Einblend-Zustand. Das Handy ist immer sichtbar und
     schiebt sich nur 40 px aus dem Rahmen hoch; die Symbole wachsen nur, statt aus dem Nichts zu kommen. */
  .js .zustellung img { translate: 0 40px; transition: translate 600ms var(--ease-out); }
  .js .zustellung.sichtbar img { translate: 0 0; }
  .js .antworten .symbol { transform: scale(0.7); transition: transform 320ms var(--ease-out); }
  .js .antworten.sichtbar .symbol { transform: scale(1); }
  .js .antworten.sichtbar li:nth-child(2) .symbol { transition-delay: 80ms; }
  .js .antworten.sichtbar li:nth-child(3) .symbol { transition-delay: 160ms; }
  /* Stimmen schieben sich von unten herein (Befund 98779: nie über den Rand); nur Versatz, damit der Text nie blass oder leer ist */
  .js .stimme { transform: translateY(16px); transition: transform 400ms var(--ease-out); }
  .js .stimmen.sichtbar .stimme { transform: none; }
  .js .stimmen.sichtbar .stimme:nth-child(2) { transition-delay: 60ms; }
  .js .stimmen.sichtbar .stimme:nth-child(3) { transition-delay: 120ms; }
  .js .haken-gross path { animation: zeichnen 500ms var(--ease-out) 150ms both; }
  .js .danke .schale { animation: hoch-klein 400ms var(--ease-out) 600ms both; }
}
@keyframes zeichnen { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes hoch-klein { from { transform: translateY(12px); } to { transform: none; } }
@keyframes hoch { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes aufsetzen { from { opacity: 0; transform: scale(1.12); } to { opacity: 1; transform: scale(1); } }
@keyframes wachsen { from { stroke-dasharray: 0 100; } to { stroke-dasharray: 87 100; } }
/* Seite 2 zieht sich unter dem Deckblatt hervor: startet hochgeschoben und schräg, landet unten vorn (nie aus scale 0) */
@keyframes aufklappen { from { transform: translate(6%, -38%) rotate(-6deg) scale(0.94); } to { transform: rotate(2deg); } }
@keyframes zeile { from { opacity: 0.25; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .kopf, .kopf.zeigen { transition: none; }
}
