/* yourlandingpage.de nach dem Gelb-Brandbook v0.2 (BRAND DESIGN 26/Gelb/gelb-brandbook.html, Stand 09.10.2026),
   Rolf 08.10.2026: „Auf Gelb-Brandbook umbauen“, Wortmarke C „Markierung“.
   Rolf 09.10.2026: 60:30:10 mit Gelb 60, Hellblau 30, Lila 10 („pass so übernehme es auf die Landingpage“).
   Abschnitte nur Gelb oder Hellblau, Weiß für Karten mit Lesetext. Tinte für Schrift, Knöpfe und den Fuß.
   Lila ist der Akzent: Störer und Highlights, auf Hellblau in Violett (Lila hat dort nur 1,36 : 1). Violett auch
   als Fokusrahmen. Riesenwörter Gelb auf Hellblau oder Hellblau auf Gelb, immer angeschnitten.
   Anybody (Breitenachse 50 bis 150 %) für Wörter und Überschriften, Instrument Sans für Lesetext. */
@font-face {
  font-family: "Anybody";
  src: url("anybody.woff2") format("woff2-variations"), url("anybody.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 50% 150%;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("instrument-sans.woff2") format("woff2-variations"), url("instrument-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-stretch: 75% 100%;
  font-display: swap;
}

:root {
  --gelb: #ffff00;
  --hellblau: #83c6e6;
  --lila: #b497cc;
  --violett: #572e86;
  --tinte: #021b1c;
  --weiss: #ffffff;
  --linie: rgba(2, 27, 28, 0.16);
  --linie-stark: rgba(2, 27, 28, 0.42);
  --auf-tinte: #ffffff;
  --auf-tinte-leise: #e3ecec;
  --linie-tinte: rgba(255, 255, 255, 0.18);
  /* Offen-Stellen sind Entwurfsmarken, nicht Teil der Marke: eigene Farbe, damit sie auf jedem Grund auffallen */
  --offen: #a3003d;
  --display: "Anybody", "Arial Narrow", Arial, sans-serif;
  --text: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --rand: clamp(16px, 4vw, 40px);
  --breite: 1160px;
  --abschnitt: clamp(64px, 9vw, 112px);
  --pille: 999px;
  --raus: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--weiss);
  color: var(--tinte);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 4px; text-decoration-thickness: 2px; }
a:hover { text-decoration-color: var(--violett); }
:focus-visible { outline: 3px solid var(--violett); outline-offset: 3px; border-radius: 4px; }
.tinte :focus-visible, .fuss :focus-visible { outline-color: var(--gelb); }
h1, h2, h3 { margin: 0; font-family: var(--display); text-wrap: balance; }
p { margin: 0; }
.innen { width: min(100% - 2 * var(--rand), var(--breite)); margin-inline: auto; }
.sprung { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--tinte); color: var(--gelb); padding: 10px 16px; border-radius: var(--pille); font-weight: 600; }
.sprung:focus { top: 12px; }
.unsichtbar { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Wortmarke C „Markierung“ nach der Regel des Brandbooks: klein geschrieben, Anybody 900, Breite 62 %.
   „your“ steht in einem Feld. Das Feld ist Gelb, auf gelbem Grund Tinte mit gelber Schrift. */
.marke { display: inline-flex; align-items: baseline; font-family: var(--display); font-weight: 900; font-stretch: 62%; letter-spacing: -0.005em; line-height: 1; white-space: nowrap; text-decoration: none; font-size: 32px; color: var(--tinte); }
/* Feld als Block, damit die Unterlänge des y im Feld bleibt */
.marke .y { display: inline-block; background: var(--gelb); color: var(--tinte); padding: 0 0.08em 0.04em; margin-right: 0.05em; }
.kopf .marke .y { background: var(--tinte); color: var(--gelb); }
.fuss .marke { color: var(--gelb); }

/* Knöpfe: Pillen wie im Brandbook. Primär Tinte mit gelber Schrift (15,7 : 1), sekundär Tinte-Rahmen. */
.knopf { display: inline-flex; align-items: center; justify-content: center; text-align: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: var(--pille); font: 600 17px/1.2 var(--text); text-decoration: none; cursor: pointer; border: 0; transition: transform 500ms var(--raus), background-color 300ms var(--raus), box-shadow 300ms var(--raus); }
.knopf--signal { background: var(--tinte); color: var(--gelb); }
.knopf--signal:hover { transform: translateY(-2px); box-shadow: 0 8px 18px -8px rgba(2, 27, 28, 0.55); }
.knopf--signal:active { transform: translateY(0); }
/* Sekundär: beim Darüberfahren läuft eine Fläche von links hinein, Gelb auf Hellblau und Weiß, Weiß auf Gelb.
   Die Schrift bleibt Tinte, der Kontrast hält in jedem Zwischenbild. */
.knopf--leise { background: linear-gradient(var(--gelb), var(--gelb)) no-repeat 0 0 / 0 100%; color: var(--tinte); box-shadow: inset 0 0 0 2px var(--tinte); transition: transform 500ms var(--raus), background-size 450ms var(--raus); }
.knopf--leise:hover { background-size: 100% 100%; }
.abschnitt--gelb .knopf--leise { background-image: linear-gradient(var(--weiss), var(--weiss)); }
.abschnitt--gelb .ki__beratung .knopf--leise { background-image: linear-gradient(var(--gelb), var(--gelb)); }
.knopf--klein { min-height: 44px; padding: 0 18px; font-size: 15px; }

/* Offen: Lücken, die Rolf füllen muss. Deutlich sichtbar, damit nichts davon live geht. */
.offen { display: inline-block; font-family: var(--text); font-size: 0.82em; font-weight: 600; font-stretch: 90%; letter-spacing: 0; line-height: 1.25; padding: 0.12em 0.45em; border: 1.5px dashed var(--offen); color: var(--offen); border-radius: 4px; background: var(--weiss); white-space: normal; vertical-align: middle; text-transform: none; }

/* Kopf: gelbe Leiste wie im Brandbook-Nachbau „Website, Startbereich“ */
.kopf { position: sticky; top: 0; z-index: 20; background: var(--gelb); color: var(--tinte); box-shadow: 0 1px 0 var(--linie); }
.kopf__zeile { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.kopf__nav { display: flex; gap: 24px; margin-left: auto; font-size: 16px; font-weight: 600; }
/* Unterstrich zeichnet sich beim Darüberfahren von links, in Tinte: Violett bleibt dem Fokus vorbehalten (Vera, 09.10.2026) */
.kopf__nav a, .kopf__brief { text-decoration: none; background: linear-gradient(var(--tinte), var(--tinte)) no-repeat 0 100% / 0 2px; padding-bottom: 3px; transition: background-size 350ms var(--raus); }
.kopf__nav a:hover, .kopf__brief:hover { background-size: 100% 2px; }
.kopf__brief { font-size: 15px; font-weight: 600; }

/* Bühne: Hellblau mit einem Riesenwort in Gelb als Kulisse. Das Fenster mit dem Vergleich steht davor. */
.buehne { position: relative; background: var(--hellblau); color: var(--tinte); padding-block: clamp(48px, 7vw, 96px) clamp(56px, 7vw, 96px); overflow: hidden; container-type: inline-size; }
/* Das Wort ist SVG-Text: Seine Breite ändert sich beim Stauchen und beim Scrollen, als HTML-Text zählte das als
   Layout-Sprung (gemessen 08.10.2026: CLS 0,34 am Desktop allein durch das Stauchen), als SVG nicht.
   1 Einheit im viewBox = 0,01 em; Grundlinie bei 0,635 em wie zuvor in der 0,72-em-Zeile. --dehnen ist der
   scroll-gebundene Anteil (siehe Bewegung unten). */
@property --dehnen { syntax: "<number>"; inherits: true; initial-value: 1; }
.wort { position: absolute; z-index: 0; font-family: var(--display); font-weight: 900; line-height: 0.72; white-space: nowrap; pointer-events: none; user-select: none; }
.wort svg { display: block; height: 0.72em; overflow: visible; }
.wort text { font-family: var(--display); font-weight: 900; font-size: 100px; fill: currentColor; text-anchor: end; }
.wort tspan { font-stretch: calc(var(--w, 100) * var(--dehnen) * 1%); animation: stauchen 1.6s var(--raus) backwards; }
.wort tspan:nth-child(2) { animation-delay: 0.07s; }
.wort tspan:nth-child(3) { animation-delay: 0.14s; }
@keyframes stauchen { from { font-stretch: 150%; } }
/* Wie im Brandbook-Nachbau „Website, Startbereich“: Wort rechts, senkrecht mittig, das Vergleichsfenster steht davor */
.buehne .wort { color: var(--gelb); right: -13cqi; top: 52%; font-size: 34cqi; transform: translateY(-50%) scaleY(1.5); }
.buehne__raster { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.buehne h1 { font-size: clamp(2.9rem, 7vw, 5.6rem); font-weight: 900; font-stretch: 60%; line-height: 1.04; letter-spacing: -0.02em; }
.buehne h1 .zeile { background: var(--gelb); padding: 0 0.16em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.buehne__text { margin-top: 26px; font-size: clamp(18px, 1.6vw, 20px); max-width: 36ch; }
.buehne__knoepfe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.buehne__fuer { margin-top: 22px; font-size: 15px; max-width: 40ch; }

/* Vergleich: alte und neue Seite übereinander, der Schieber legt die neue frei */
.vergleich { margin: 0; }
.vergleich__fenster { border-radius: 10px; overflow: hidden; background: var(--weiss); box-shadow: 0 30px 60px -24px rgba(2, 27, 28, 0.55), 0 0 0 1px var(--linie); }
.vergleich__leiste { display: flex; align-items: center; gap: 7px; height: 30px; padding-inline: 12px; background: var(--weiss); border-bottom: 1px solid var(--linie); }
.vergleich__leiste i { width: 9px; height: 9px; border-radius: 50%; background: rgba(2, 27, 28, 0.18); }
.vergleich__flaeche { position: relative; aspect-ratio: 1200 / 750; --pos: 58%; touch-action: pan-y; }
.vergleich__flaeche img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.vergleich__neu { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
/* --pos = Anteil der neuen Seite von links. Mit Skript startet er bei 0 (nur alte Seite) und fährt beim Laden auf 58 %,
   so dass Logo, Überschrift und Anruf-Knopf der neuen Seite frei liegen. */
.js .vergleich__flaeche { --pos: 0%; }
/* Strich und Griff fahren als eine Ebene über translate (Prozent = Breite der Fläche). Über left gefahren zählte
   jedes Bild der Fahrt als Layout-Sprung. */
.vergleich__lauf { position: absolute; inset: 0; translate: var(--pos) 0; pointer-events: none; }
.vergleich__strich { position: absolute; top: 0; bottom: 0; left: 0; width: 4px; margin-left: -2px; background: var(--tinte); }
.vergleich__griff { position: absolute; top: 50%; left: 0; width: 50px; height: 50px; margin: -25px 0 0 -25px; border-radius: 50%; background: var(--gelb); color: var(--tinte); display: grid; place-items: center; box-shadow: 0 0 0 3px var(--tinte), 0 8px 18px -6px rgba(2, 27, 28, 0.6); }
.vergleich__griff svg { width: 26px; height: 26px; }
.vergleich__griff::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 3px var(--tinte); opacity: 0; }
.vergleich__regler { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
/* Weißer Unterring, damit der violette Fokusrahmen auch über dunklen Bildstellen trägt (Anke, 09.10.2026) */
.vergleich__regler:focus-visible ~ .vergleich__lauf .vergleich__griff { outline: 3px solid var(--violett); outline-offset: 4px; box-shadow: 0 0 0 3px var(--tinte), 0 0 0 11px var(--weiss), 0 8px 18px -6px rgba(2, 27, 28, 0.6); }
.vergleich__schild { position: absolute; top: 12px; padding: 5px 12px; border-radius: var(--pille); font-size: 13px; font-weight: 600; background: var(--tinte); color: var(--weiss); pointer-events: none; }
.vergleich__schild--alt { right: 12px; }
.vergleich__schild--neu { left: 12px; background: var(--gelb); color: var(--tinte); box-shadow: 0 0 0 1px rgba(2, 27, 28, 0.25); }
.vergleich figcaption { margin-top: 14px; font-size: 14px; }

/* Zusagen unter der Bühne (Vorbild meisterkontor.de: feste Zusagen direkt unter dem ersten Bildschirm) */
.zusagen { background: var(--gelb); color: var(--tinte); }
.zusagen ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.zusagen li { padding: 26px 24px 28px 0; }
.zusagen li + li { padding-left: 24px; border-left: 1px solid var(--linie-stark); }
.zusagen strong { display: block; font-family: var(--display); font-size: clamp(24px, 2.4vw, 30px); font-weight: 850; font-stretch: 72%; line-height: 1.05; }
.zusagen li > span { display: block; margin-top: 6px; font-size: 15px; }

/* Abschnitte */
.abschnitt { padding-block: var(--abschnitt); }
.abschnitt--blau { background: var(--hellblau); }
.abschnitt--gelb { background: var(--gelb); }
.abschnitt h2 { font-size: clamp(2.1rem, 5vw, 3.5rem); font-weight: 880; font-stretch: 66%; line-height: 1; letter-spacing: -0.015em; max-width: 20ch; }
.abschnitt__einleitung { margin-top: 20px; max-width: 62ch; font-size: clamp(18px, 1.6vw, 19px); }

/* Beispiel */
.beispiel__raster { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 88px); margin-top: 48px; align-items: start; }
.handys { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.4vw, 32px); }
.handy { margin: 0; }
.handy__rahmen { position: relative; border-radius: 28px; padding: 9px; background: var(--tinte); box-shadow: 0 24px 48px -24px rgba(2, 27, 28, 0.55); }
/* Bildschirm = eigener Scrollbereich mit der ganzen Seite, Höhe wie ein Handy (540 : 1168) */
.handy__bildschirm { aspect-ratio: 540 / 1168; overflow-y: auto; overflow-x: hidden; border-radius: 20px; background: var(--weiss); scrollbar-width: none; overscroll-behavior-x: none; }
.handy__bildschirm::-webkit-scrollbar { display: none; }
.handy__bildschirm img { width: 100%; height: auto; }
/* Fokus im Tinte-Rahmen in Gelb: Violett auf Tinte hatte nur 1,8 : 1 (Anke, 09.10.2026); 3 + 3 px bleiben im 9-px-Rahmen */
.handy__bildschirm:focus-visible { outline: 3px solid var(--gelb); outline-offset: 3px; border-radius: 20px; }
.handy__hinweis { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px 8px 10px; border-radius: var(--pille); background: var(--tinte); color: var(--gelb); font: 600 14px/1 var(--text); box-shadow: 0 8px 18px -8px rgba(2, 27, 28, 0.6); pointer-events: none; transition: opacity 300ms var(--raus), transform 300ms var(--raus); }
.handy__hinweis[hidden] { display: none; }
/* Dreimal nicken (4,8 s), dann steht der Pfeil: keine Dauerschleife (WCAG 2.2.2) */
.handy__hinweis svg { width: 16px; height: 16px; animation: nicken 1.6s var(--raus) 3; }
@keyframes nicken { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(3px); } }
.gescrollt .handy__hinweis { opacity: 0; transform: translate(-50%, 8px); }
.handy figcaption { margin-top: 14px; font-family: var(--display); font-weight: 800; font-stretch: 80%; font-size: 19px; line-height: 1.1; }
.handy figcaption span { display: block; margin-top: 4px; font-family: var(--text); font-weight: 400; font-stretch: 100%; font-size: 15px; }
/* Messung als Karten (Rolf 09.10.2026: „bitte besseres Design für diesen Part“). Weiße Karten auf Gelb, „Alt“ leise,
   „Neu“ groß in Anybody mit Lila-Marker (Brandbook v0.2: Highlights in Lila, Tinte auf Lila 7,0 : 1).
   Beim Lesetext steht die Größe zusätzlich als Probe in echten Pixeln daneben. */
/* Eine Karte pro Zeile: die Spalte neben den Handys ist am Desktop zu schmal für halbe Karten */
.messung { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.messung__quelle { grid-column: 1 / -1; font-size: 14px; margin-bottom: 2px; }
.messkarte { background: var(--weiss); border-radius: 10px; padding: 18px 20px 20px; box-shadow: 0 12px 26px -20px rgba(2, 27, 28, 0.55); }
.messkarte--breit { grid-column: 1 / -1; }
.messkarte__frage { font-family: var(--text); font-size: 15px; font-weight: 700; line-height: 1.3; }
.messkarte__werte { margin: 14px 0 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px 18px; align-items: start; }
.messkarte dt { display: inline-block; font-size: 12px; font-weight: 700; line-height: 1; padding: 5px 10px 4px; border-radius: var(--pille); }
.messkarte__alt dt { box-shadow: inset 0 0 0 1.5px var(--linie-stark); }
.messkarte__neu dt { background: var(--lila); }
.messkarte dd { margin: 10px 0 0; }
.messkarte__alt dd { font-size: 16px; line-height: 1.35; color: rgba(2, 27, 28, 0.74); }
.messkarte__neu dd { font-family: var(--display); font-weight: 880; font-stretch: 66%; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.04; letter-spacing: -0.01em; }
.messkarte__probe { display: block; margin-top: 12px; font-family: var(--text); font-weight: 400; font-stretch: 100%; line-height: 1.3; letter-spacing: 0; color: var(--tinte); }
/* Marker in Lila hinter dem Ergebnis; der Überstand ist mit negativem Außenabstand ausgeglichen (sonst 4 px zu breit bei 320 px) */
.messung .marker { background: linear-gradient(var(--lila), var(--lila)) no-repeat 0 0 / 100% 100%; padding: 0.02em 0.12em; margin-inline: -0.12em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.beispiel__links { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; font-weight: 600; }

/* Ablauf: die Reihenfolge ist die Information, deshalb Zahlen */
.ablauf { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); counter-reset: schritt; }
/* Linie oben als Hintergrund, damit sie sich beim Scrollen von links zeichnen kann (background-size) */
.ablauf li { counter-increment: schritt; background: linear-gradient(var(--tinte), var(--tinte)) no-repeat 0 0 / 100% 3px; padding-top: 21px; }
.ablauf li::before { content: counter(schritt); display: block; font-family: var(--display); font-size: 64px; font-weight: 900; font-stretch: 60%; line-height: 0.9; margin-bottom: 14px; }
.ablauf h3 { font-size: 22px; font-weight: 800; font-stretch: 80%; line-height: 1.1; }
.ablauf p { margin-top: 8px; font-size: 17px; }

/* Was die Seite anders macht: typografische Liste, keine Kartenwand */
.leistungen { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(32px, 5vw, 80px); margin-top: 48px; }
.leistung { padding-block: 25px 26px; background: linear-gradient(var(--linie-stark), var(--linie-stark)) no-repeat 0 0 / 100% 1px; }
.leistung h3 { font-size: 22px; font-weight: 800; font-stretch: 80%; line-height: 1.1; }
.leistung p { margin-top: 8px; max-width: 52ch; }

/* KI-Suche: Gelb mit dem Riesenwort „KI“ in Hellblau */
.ki { position: relative; overflow: hidden; container-type: inline-size; }
.ki .innen { position: relative; z-index: 1; }
.ki .wort { color: var(--hellblau); right: -2cqi; top: -3cqi; font-size: 30cqi; transform: scaleY(1.5); transform-origin: top right; }
.ki .abschnitt__einleitung, .ki .quelle { max-width: 52ch; }
.quelle { margin-top: 12px; font-size: 14px; }
.ki__beratung { margin-top: 48px; padding: clamp(22px, 3vw, 32px); border-radius: 8px; background: var(--weiss); display: grid; gap: 12px; justify-items: start; max-width: 760px; box-shadow: 0 10px 24px -16px rgba(2, 27, 28, 0.5); }
.ki__beratung h3 { font-size: 24px; font-weight: 850; font-stretch: 72%; line-height: 1.1; }
.ki__beratung p { max-width: 60ch; }
.ki__beratung .knopf { margin-top: 6px; }

/* Preis */
/* Drei Pakete gleich groß nebeneinander, Bedingungen darunter: links Titel, rechts Liste */
.preis { margin-top: 48px; }
.preis__karten { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 32px); align-items: stretch; }
.preis__alle { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 88px); margin-top: clamp(48px, 7vw, 80px); align-items: start; }
.preis__alle-titel, .preis__name { font-size: 24px; font-weight: 850; font-stretch: 72%; line-height: 1.1; }
.preis__name { margin-bottom: 14px; font-size: clamp(20px, 2.1vw, 24px); }
.preis__karte { background: var(--gelb); color: var(--tinte); border-radius: 8px; padding: clamp(24px, 2.6vw, 36px); display: flex; flex-direction: column; }
.preis__betrag { font-family: var(--display); font-size: clamp(3.4rem, 7vw, 5.4rem); font-weight: 900; font-stretch: 60%; line-height: 0.9; letter-spacing: -0.02em; }
.preis__zusatz { margin-top: 12px; font-size: 17px; font-weight: 600; }
.preis__drin { list-style: none; margin: 26px 0 0; padding: 0; }
.preis__drin li { padding: 12px 0 12px 30px; border-top: 1px solid var(--linie-stark); position: relative; }
.preis__drin li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 14px; height: 8px; border-left: 2.5px solid var(--tinte); border-bottom: 2.5px solid var(--tinte); transform: rotate(-45deg); }
.preis__drin { margin-bottom: 28px; }
.preis__karte .knopf { margin-top: auto; width: 100%; padding-inline: 16px; }
/* „Auf Anfrage“ ist breiter als eine Zahl: kleiner, aber auf derselben Grundlinie wie 2.400 € */
.preis__betrag--wort { font-size: clamp(2.6rem, 4.6vw, 4.1rem); min-height: calc(clamp(3.4rem, 7vw, 5.4rem) * 0.9); display: flex; align-items: flex-end; }
/* Baukasten (Rolf 21.10.2026): links das Grundpaket, rechts die Zusätze zum Ankreuzen, darunter die Summe. Die
   Summe klebt am unteren Rand, solange man im Baukasten scrollt, damit sie beim Ankreuzen auf dem Handy sichtbar bleibt. */
.baukasten { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 3vw, 40px); align-items: start; }
.baukasten > * { min-width: 0; }
.zusaetze { border: 0; margin: 0; padding: 0; min-width: 0; }
.zusaetze__titel { padding: 0; font-family: var(--display); font-size: clamp(22px, 2.4vw, 28px); font-weight: 850; font-stretch: 72%; line-height: 1.1; }
.zusaetze__hinweis { margin-top: 8px; font-size: 16px; }
.zusaetze__liste { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 20px; }
.zusatz { position: relative; display: grid; align-content: start; gap: 8px; padding: 18px 18px 18px 60px; border-radius: 8px; background: var(--weiss); box-shadow: inset 0 0 0 2px transparent, 0 10px 24px -18px rgba(2, 27, 28, 0.5); cursor: pointer; transition: box-shadow 220ms var(--raus), transform 220ms var(--raus); }
.zusatz:hover { transform: translateY(-2px); }
.zusatz:has(input:checked) { box-shadow: inset 0 0 0 2.5px var(--violett), 0 12px 26px -18px rgba(2, 27, 28, 0.6); }
/* Echtes Kästchen, nur umgestaltet: Tastatur, Vorlesen und Formularlogik bleiben die des Browsers */
.zusatz input { position: absolute; left: 18px; top: 17px; width: 28px; height: 28px; margin: 0; appearance: none; -webkit-appearance: none; display: grid; place-items: center; border: 2px solid var(--tinte); border-radius: 6px; background: var(--weiss); cursor: pointer; transition: background-color 180ms var(--raus), border-color 180ms var(--raus); }
.zusatz input::after { content: ""; width: 13px; height: 7px; border-left: 2.5px solid var(--gelb); border-bottom: 2.5px solid var(--gelb); transform: translateY(-2px) rotate(-45deg) scale(0); transition: transform 220ms var(--raus); }
.zusatz input:checked { background: var(--violett); border-color: var(--violett); }
.zusatz input:checked::after { transform: translateY(-2px) rotate(-45deg) scale(1); }
.zusatz input:focus-visible { outline: 3px solid var(--violett); outline-offset: 3px; }
.zusatz__kopf { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.zusatz__name { font-weight: 700; font-size: 17px; line-height: 1.25; }
.zusatz__preis { font-family: var(--display); font-weight: 850; font-stretch: 72%; font-size: 20px; line-height: 1; white-space: nowrap; }
.zusatz__text { font-size: 15px; line-height: 1.45; }
.summe { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 28px; padding: 14px 14px 14px 24px; border-radius: 12px; background: var(--tinte); color: var(--weiss); box-shadow: 0 18px 36px -18px rgba(2, 27, 28, 0.7); }
.summe__auswahl { font-size: 15px; font-weight: 600; }
.summe__betrag { margin-top: 2px; font-family: var(--display); font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 900; font-stretch: 60%; line-height: 0.95; color: var(--gelb); font-variant-numeric: tabular-nums; }
.summe__netto { font-family: var(--text); font-size: 15px; font-weight: 600; font-stretch: 100%; color: var(--weiss); }
.summe .knopf { flex: none; gap: 0.28em; background: var(--gelb); color: var(--tinte); }
.summe .knopf:hover { transform: translateY(-2px); }
.summe__hinweis { margin-top: 12px; font-size: 15px; max-width: 70ch; }
.preis__einzeln { margin-top: 28px; max-width: 70ch; font-size: 17px; }
.preis__einzeln a { font-weight: 700; white-space: nowrap; }
.preis__karten--zwei { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: clamp(40px, 6vw, 72px); }
.bedingungen { margin: 0; }
/* Oberlinien als Hintergrund, damit sie sich beim Scrollen von links zeichnen können (1 px Abstand ersetzt den Rand) */
.bedingungen div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 16px; padding-block: 17px 16px; background: linear-gradient(var(--linie-stark), var(--linie-stark)) no-repeat 0 0 / 100% 1px; }
.bedingungen dt { font-weight: 700; }
.bedingungen dd { margin: 0; }

/* Person */
.person { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.person__foto { margin: 0; }
.person__foto img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; border-radius: 8px; }
.person__foto figcaption { margin-top: 10px; font-size: 14px; }
.person__text p { margin-top: 18px; max-width: 58ch; font-size: 19px; }
.person__text p:first-of-type { margin-top: 24px; }

/* Herkunft der Inhalte */
.herkunft { max-width: 760px; }
.herkunft h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.herkunft p { margin-top: 16px; }

/* Fragen */
.fragen { margin-top: 40px; max-width: 860px; }
.fragen details { padding-top: 1px; background: linear-gradient(var(--linie-stark), var(--linie-stark)) no-repeat 0 0 / 100% 1px; }
.fragen details:last-child { border-bottom: 1px solid var(--linie-stark); }
.fragen summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding: 22px 0; font-size: 19px; font-weight: 600; }
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary::after { content: ""; flex: none; width: 12px; height: 12px; margin-top: 7px; border-right: 2.5px solid var(--tinte); border-bottom: 2.5px solid var(--tinte); transform: rotate(45deg); transition: transform 220ms var(--raus); }
.fragen details[open] summary::after { transform: rotate(225deg); margin-top: 13px; }
.fragen details p { padding-bottom: 24px; max-width: 64ch; }

/* Anfrage auf Gelb */
.anfrage__raster { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.formular { display: grid; gap: 18px; }
.feld label { display: block; font-weight: 600; font-size: 16px; margin-bottom: 8px; }
.feld input { width: 100%; min-height: 54px; padding: 0 18px; border-radius: 8px; border: 2px solid var(--tinte); background: var(--weiss); color: var(--tinte); font: inherit; }
.feld input::placeholder { color: #5b6b6c; }
.feld input:focus-visible { outline: 3px solid var(--violett); outline-offset: 2px; }
.formular .knopf { width: 100%; margin-top: 6px; }
.formular__hinweis { font-size: 14px; }
.formular__meldung { font-size: 15px; padding: 12px 16px; border-radius: 8px; background: var(--weiss); box-shadow: inset 0 0 0 1px var(--linie-stark); }
.formular__meldung:empty { display: none; }
.code { margin-top: 48px; padding-top: 32px; border-top: 2px solid var(--tinte); }
.code h3 { font-size: 22px; font-weight: 850; font-stretch: 72%; line-height: 1.1; }
.code p { margin-top: 8px; font-size: 16px; }
.code__zeile { display: flex; gap: 10px; margin-top: 16px; }
.code__zeile .feld { flex: 1; min-width: 0; }

/* Fuß in Tinte, wie im Brandbook */
.tinte { background: var(--tinte); color: var(--auf-tinte); }
.fuss { background: var(--tinte); color: var(--auf-tinte-leise); padding-block: 48px 120px; font-size: 15px; }
.fuss__raster { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px 48px; align-items: flex-start; }
.fuss a { color: var(--gelb); }
.fuss nav { display: flex; gap: 22px; }
.fuss p { margin-top: 14px; max-width: 52ch; }

/* Rechtstexte (Impressum, AGB, Datenschutz) */
.recht { padding-block: clamp(56px, 8vw, 96px); }
.recht__spalte { max-width: 760px; }
.recht h1 { font-size: clamp(2.4rem, 5vw, 3.5rem); font-weight: 880; font-stretch: 66%; line-height: 1; letter-spacing: -0.015em; }
.recht h2 { font-size: 22px; font-weight: 800; font-stretch: 80%; line-height: 1.15; margin-top: 44px; }
.recht p, .recht ul { margin-top: 12px; }
.recht ul { padding-left: 20px; }
.recht li + li { margin-top: 6px; }
.recht h3 { font-size: 17px; font-weight: 800; font-stretch: 85%; line-height: 1.2; margin-top: 28px; }
.recht__kasten { margin-top: 44px; padding: 4px 22px 22px; background: var(--gelb); color: var(--tinte); border-radius: 8px; scroll-margin-top: 16px; }
.recht__kasten h2 { margin-top: 18px; }
.recht__entwurf { margin-top: 20px; padding: 14px 16px; border: 1.5px dashed var(--offen); border-radius: 8px; color: var(--offen); font-weight: 600; }

/* Leiste unten auf dem Handy, erscheint erst, wenn die Bühne aus dem Bild ist */
/* Ausgeblendet ist die Leiste auch für die Tastatur weg (visibility nach dem Hinausfahren); vorher war ihr Knopf
   unsichtbar unter dem Bildrand per Tab erreichbar (Fokus-Test 09.10.2026). */
.leiste { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30; display: none; transform: translateY(140%); visibility: hidden; transition: transform 320ms var(--raus), visibility 0s linear 320ms; }
.leiste .knopf { width: 100%; box-shadow: 0 12px 28px -8px rgba(2, 27, 28, 0.6); }
.leiste.zeigen { transform: none; visibility: visible; transition: transform 320ms var(--raus); }
/* Die Leiste liegt im Fuß und erbte den gelben Fokusring, der auf Weiß und Gelb dahinter verschwand (Anke, 09.10.2026) */
.leiste .knopf:focus-visible { outline-color: var(--violett); box-shadow: 0 0 0 3px var(--weiss), 0 12px 28px -8px rgba(2, 27, 28, 0.6); }

/* Telefon in der Kopfzeile (Recherche Kapitel 7.2: Telefonnummer zum Antippen im Kopf) */
.kopf__tel { font-size: 15px; font-weight: 700; text-decoration: none; white-space: nowrap; font-variant-numeric: tabular-nums; }
.kopf__tel:hover { text-decoration: underline; text-decoration-color: var(--violett); }
/* Kopfzeile: kein Umbruch in Menü und Knöpfen; was nicht passt, weicht gestaffelt */
.kopf .knopf, .kopf__nav a, .kopf__brief { white-space: nowrap; }
.preis__karten > *, .preis__alle > *, .anfrage__raster > *, .beispiel__raster > *, .person > * { min-width: 0; }

/* 60:30:10 (Brandbook v0.2): Abschnitte Gelb oder Hellblau. Folgen zwei gelbe Abschnitte aufeinander, trennt sie
   eine feine Linie. Weiße Karten tragen den Lesetext; die Preiskarte wird auf Gelb weiß. */
:is(.zusagen, .abschnitt--gelb) + .abschnitt--gelb { box-shadow: inset 0 1px 0 var(--linie-stark); }
.abschnitt--gelb .preis__karte { background: var(--weiss); box-shadow: 0 16px 34px -24px rgba(2, 27, 28, 0.6); }

/* Störer (Brandbook v0.2): höchstens einer pro Abschnitt, leicht gedreht, an einer Kante, nie auf Text.
   Lila mit Tinte (7,0 : 1); --tief = Violett mit Gelb (8,6 : 1) für Hellblau und für Abschnitte, die von Hellblau
   nach Gelb wischen. */
.stoerer { --sbg: var(--lila); --sfg: var(--tinte); --d: 120px; display: inline-grid; place-items: center; width: var(--d); aspect-ratio: 1; border-radius: 50%; background: var(--sbg); color: var(--sfg); font-family: var(--display); font-weight: 900; font-stretch: 72%; font-size: calc(var(--d) * 0.2); line-height: 0.9; letter-spacing: -0.01em; text-align: center; transform: rotate(var(--rot, -8deg)); pointer-events: none; user-select: none; }
.stoerer--tief { --sbg: var(--violett); --sfg: var(--gelb); }
.vergleich { position: relative; }
/* Sitzt auf der oberen Fensterkante und reicht nur bis in die Leiste, nicht bis zum „Alt“-Schild (42 px unter der Kante) */
.vergleich > .stoerer { position: absolute; z-index: 4; right: -14px; top: calc(var(--d) * -0.74); --d: clamp(96px, 10vw, 128px); --rot: 9deg; }
.preis__karte { position: relative; }
.preis__karte > .stoerer { position: absolute; right: -16px; top: -30px; --d: clamp(88px, 9vw, 112px); }
.anfrage .stoerer { margin-top: 28px; --d: clamp(112px, 11vw, 132px); font-size: calc(var(--d) * 0.17); }

/* Highlights in Überschriften: ein Wort mit Lila-Marker, auf Hellblau Violett mit Weiß (9,8 : 1).
   Das Skript zerlegt h2 in Wörter und gibt dem markierten Wort die Klasse .hl am Wortbaustein. */
main h2 .hl { background: linear-gradient(var(--lila), var(--lila)) no-repeat 0 62% / 100% 80%; padding-inline: 0.1em; margin-inline: -0.1em; }
.abschnitt--blau h2 .hl { background-image: linear-gradient(var(--violett), var(--violett)); color: var(--weiss); }

/* Kleine Lila-Akzente: Schrittzahlen auf Hellblau in Violett (5,2 : 1), Haken der Preiskarte und Pfeile der Fragen in Violett */
.ablauf li::before { color: var(--violett); }
.preis__drin li::before { border-color: var(--violett); }
.fragen summary::after { border-color: var(--violett); }

@media (min-width: 1021px) and (max-width: 1240px) {
  .kopf__brief { display: none; }
  .kopf__zeile { gap: 20px; }
  .kopf__nav { gap: 16px; font-size: 15px; }
  /* Drei Preiskarten nebeneinander: Knopftext bleibt einzeilig */
  .preis__karte .knopf { font-size: 14px; padding-inline: 12px; }
}
@media (max-width: 1020px) {
  .kopf__nav { display: none; }
  .kopf__tel { margin-left: auto; }
  .buehne__raster, .beispiel__raster, .preis__karten, .preis__alle, .person, .anfrage__raster, .baukasten { grid-template-columns: 1fr; }
  .preis__alle { gap: 8px; }
  /* Einspaltig: das Wort bekommt einen eigenen Streifen unter Bild und Bildunterschrift */
  .buehne { padding-bottom: calc(26cqi + 16px); }
  .buehne .wort { top: auto; right: -6cqi; bottom: -18cqi; font-size: 46cqi; transform: scaleY(1.4); transform-origin: bottom right; }
  .zusagen ul { grid-template-columns: 1fr 1fr; }
  .zusagen li:nth-child(3) { padding-left: 0; border-left: 0; }
  .zusagen li:nth-child(n + 3) { border-top: 1px solid var(--linie-stark); }
  .ablauf { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .person__foto { max-width: 360px; }
}
@media (max-width: 860px) { .kopf__brief { display: none; } }
@media (max-width: 720px) {
  .kopf__tel { display: none; }
  .kopf .knopf { margin-left: auto; }
  .ki .wort { font-size: 44cqi; top: -4cqi; right: -4cqi; }
}
@media (max-width: 640px) {
  .kopf__zeile { min-height: 64px; gap: 14px; }
  .kopf .marke { font-size: 28px; }
  .buehne__knoepfe .knopf { width: 100%; }
  .zusagen li { padding: 18px 12px 20px 0; }
  .zusagen li + li { padding-left: 12px; }
  .zusagen li:nth-child(3) { padding-left: 0; }
  .leistungen { grid-template-columns: 1fr; }
  .ablauf { grid-template-columns: 1fr; }
  .bedingungen div { grid-template-columns: 1fr; gap: 4px; }
  .leiste { display: block; }
  /* Fokus nie unter der festen Leiste (WCAG 2.4.11) */
  html { scroll-padding-bottom: 88px; }
  .code__zeile { flex-direction: column; }
  .messung { grid-template-columns: minmax(0, 1fr); }
  /* Störer am Rand: auf schmalen Bildschirmen nach innen, sonst ragen sie über den Bildschirm */
  .vergleich > .stoerer, .preis__karte > .stoerer { right: -4px; }
  /* Baukasten: Zusätze untereinander, Summe kompakt mit kurzem Knopftext */
  .zusaetze__liste { grid-template-columns: 1fr; gap: 10px; }
  .zusatz { padding: 16px 16px 16px 58px; }
  /* Nur auf dem Handy klebt die Summe unten: beim Ankreuzen liegt sie sonst einen Bildschirm tiefer */
  .summe { position: sticky; bottom: 12px; z-index: 5; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 10px 10px 10px 18px; }
  .summe__text { display: contents; }
  .summe__auswahl { grid-column: 1 / -1; font-size: 14px; }
  .summe__betrag { align-self: center; white-space: nowrap; font-size: 2.1rem; }
  .summe__netto { font-size: 14px; }
  .summe__lang { display: none; }
  .summe .knopf { padding: 0 18px; min-height: 48px; font-size: 16px; }
}
/* Kleine Handys: Kopf-Knopf schmaler, unter 340 px trägt nur die Bühne den Knopf */
@media (max-width: 400px) {
  .kopf__zeile { gap: 10px; }
  .kopf .marke { font-size: 26px; }
  .kopf .knopf { padding: 0 12px; font-size: 14px; min-height: 40px; }
  .zusagen strong { font-size: 21px; }
}
/* Nur ganz schmal: „Ansprechpartner“ passt sonst nicht in die halbe Spalte */
@media (max-width: 359px) { .zusagen strong { font-size: 19px; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; } }
@media (max-width: 340px) { .kopf .knopf { display: none; } }
/* ---------- Bewegung (Rolf 08.10.2026: „braucht noch viel Animationen“) ----------
   Das Brandbook gibt das Stauchen vor (Wörter von 150 % auf ihre Breite). Abgeleitet davon, von Rolf noch
   freizugeben: Gelbe Felder streichen sich von links ein wie ein Textmarker, Schrift steigt aus Masken, Linien
   zeichnen sich von links. Lesetext und Formular stehen sofort da; eingeblendet werden nur Zusagen, KI-Kasten und
   die großen Bausteine. Bewegt werden transform, translate, scale, opacity, clip-path, background-size, box-shadow
   (Kopf) und die Breite von Text, die nichts verschiebt: SVG-Text der Riesenwörter, Zahlen in Blöcken fester Breite
   ohne Umbruch (Ablauf, Preis). Verborgen wird nur unter .js (das Skript nimmt .js bei einem Fehler weg, der Kopf
   nach 2,5 s, wenn das Skript gar nicht lief). Ohne Skript, bei „Bewegung reduzieren“ und beim Drucken steht alles
   sofort und ruhig da. Kein Selbstlauf über 5 s, keine Dauerpulse.
   Runde 2 nach Vera, Anke und Mario (09.10.2026): Formular nie verborgen, Lesetext ohne Einblenden, Fragen und
   Bedingungen zeichnen ihre Linien, Anfrage als Finale, „NEU“ staucht sich erst im Bild, ruhigere Ausschläge
   (Schwindelgefahr), Masken mit mehr Puffer. */
@keyframes markieren { from { background-size: 0 100%; } }
@keyframes hoch { from { transform: translateY(135%); } }
@keyframes auf { from { opacity: 0; transform: translateY(18px); } }
@keyframes auf-satz { from { opacity: 0.12; transform: translateY(18px); } }
@keyframes auftauchen { from { opacity: 0; transform: translateY(36px); } }
@keyframes einfahren { from { transform: translateY(72px) rotate(2deg); } }
@keyframes ring { from { opacity: 0.9; transform: scale(1); } to { opacity: 0; transform: scale(2.2); } }
@keyframes linie { from { background-size: 0 3px; } }
@keyframes linie-duenn { from { background-size: 0 1px; } }
@keyframes handy-auf { from { opacity: 0; transform: translateY(80px); } }
@keyframes karte-auf { from { opacity: 0; transform: translateY(56px) rotate(-3deg); } }
@keyframes haken { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes vorhang { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes wisch { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes kopf-schatten { from { box-shadow: 0 1px 0 var(--linie), 0 0 0 0 rgba(2, 27, 28, 0); } to { box-shadow: 0 1px 0 var(--linie), 0 12px 28px -16px rgba(2, 27, 28, 0.45); } }
@keyframes wort-neu { to { --dehnen: 1.32; translate: 5cqi 0; } }
@keyframes wort-ki { from { --dehnen: 0.85; translate: 5cqi 0; } to { --dehnen: 1.25; translate: -2cqi 0; } }
@keyframes tiefe { to { translate: 0 -56px; } }
@keyframes schweben-alt { from { translate: 0 12px; } to { translate: 0 -12px; } }
@keyframes schweben-neu { from { translate: 0 32px; } to { translate: 0 -32px; } }
@keyframes heran { from { scale: 1.1; } to { scale: 1; } }

/* Nur auf dem Bildschirm: beim Drucken gilt kein verborgener Zustand */
@media screen and (prefers-reduced-motion: no-preference) {
  /* Kopf: „your“-Feld streicht sich ein, „your“ steht gelb auf Gelb und erscheint mit dem Feld */
  .kopf .marke .y { background: linear-gradient(var(--tinte), var(--tinte)) no-repeat 0 0 / 100% 100%; animation: markieren 700ms var(--raus) 150ms backwards; }

  /* Auftritt der Bühne: Riesenwort staucht sich (oben), Zeilenfelder streichen sich ein, die Wörter steigen
     darin auf, Text und Knöpfe folgen (der erste Knopf steht nach 1,2 s, der zweite nach 1,3 s), das Fenster fährt
     erst nach 450 ms herein, damit das Stauchen von „NEU“ einen Moment allein steht (Mario). */
  .buehne h1 .zeile { background: linear-gradient(var(--gelb), var(--gelb)) no-repeat 0 0 / 100% 100%; animation: markieren 1000ms var(--raus) 120ms backwards; }
  .buehne h1 .w, main h2 .w { display: inline-block; overflow: hidden; vertical-align: top; padding-block: 0.08em 0.18em; margin-block: -0.08em -0.18em; }
  .buehne h1 .w > span, main h2 .w > span { display: inline-block; }
  .buehne h1 .w > span { animation: hoch 900ms var(--raus) backwards; animation-delay: calc(280ms + var(--i) * 90ms); }
  /* Am Handy ist der Satz der größte Inhalt im ersten Bild (LCP). Von Deckkraft 0 aus zählte Chrome ihn erst nach
     dem Einblenden (1,28 s gemessen); ab 12 % ist er vom ersten Bild an da. */
  .buehne__text { animation: auf-satz 700ms var(--raus) 420ms backwards; }
  .buehne__knoepfe > :nth-child(1) { animation: auf 700ms var(--raus) 520ms backwards; }
  .buehne__knoepfe > :nth-child(2) { animation: auf 700ms var(--raus) 600ms backwards; }
  .buehne__fuer { animation: auf 700ms var(--raus) 700ms backwards; }
  .vergleich__fenster { animation: einfahren 1300ms var(--raus) 450ms backwards; }
  .vergleich figcaption { animation: auf 700ms var(--raus) 900ms backwards; }
  .angekommen .vergleich__griff::after { animation: ring 1100ms var(--raus) 2; }

  /* Riesenwörter stauchen sich erst, wenn sie im Bild sind: am Handy liegt „NEU“ beim Laden unter dem Fenster
     außerhalb des Bildes, das Stauchen lief dort ungesehen ab (Mario). Das Skript markiert .wort mit .sichtbar. */
  .js .wort:not(.sichtbar) tspan { animation-play-state: paused; }

  /* Beim Scrollen: die Ziele markiert das Skript mit .sichtbar */
  .js main h2:not(.sichtbar) .w > span { transform: translateY(135%); }
  .js main h2.sichtbar .w > span { animation: hoch 900ms var(--raus) backwards; animation-delay: calc(var(--verz, 0ms) + var(--i) * 75ms); }
  /* Highlight-Wort: der Lila-Marker zieht sich auf, nachdem das Wort aufgestiegen ist */
  .js main h2:not(.sichtbar) .w.hl { background-size: 0 80%; }
  .js main h2.sichtbar .w.hl { animation: markieren 800ms var(--raus) backwards; animation-delay: calc(var(--verz, 0ms) + 420ms + var(--i) * 75ms); }
  .js :is(.zusagen li, .ablauf li, .leistung, .ki__beratung):not(.sichtbar):not(:focus-within) { opacity: 0; }
  .js :is(.zusagen li, .ki__beratung).sichtbar { animation: auftauchen 900ms var(--raus) var(--verz, 0ms) backwards; }

  /* Tastaturfokus in einem Element, das gerade auftaucht: sofort ganz da (WCAG 2.4.7) */
  .js :is(.ki__beratung, .handy, .preis__karte).sichtbar:focus-within { animation: none; }
  /* Wer mit der Tastatur in einem Abschnitt ist, bekommt dort keine Auftritte mehr: ein Absatz, der von unten
     hereingleitet, lag sonst kurz über dem fokussierten Link darunter (Fokus-Test 09.10.2026, WCAG 2.4.11) */
  .js section:has(:focus-visible) :is(.sichtbar, .sichtbar .w > span) { animation: none; }

  /* Ablauf: Linie zeichnet sich von links, die Zahl staucht sich; nebeneinander wirkt es wie eine durchgehende Linie */
  .js .ablauf li.sichtbar { animation: auftauchen 900ms var(--raus) var(--verz, 0ms) backwards, linie 900ms var(--raus) var(--verz, 0ms) backwards; }
  .js .ablauf li.sichtbar::before { animation: stauchen 1300ms var(--raus) calc(var(--verz, 0ms) + 150ms) backwards; }
  .js .leistung.sichtbar { animation: auftauchen 900ms var(--raus) var(--verz, 0ms) backwards, linie-duenn 1000ms var(--raus) var(--verz, 0ms) backwards; }
  /* Fragen und Bedingungen: der Text steht sofort, nur die Oberlinie zeichnet sich von links */
  .js :is(.fragen details, .bedingungen > div):not(.sichtbar) { background-size: 0 1px; }
  .js :is(.fragen details, .bedingungen > div).sichtbar { animation: linie-duenn 1000ms var(--raus) var(--verz, 0ms) backwards; }

  /* Beispiel: Handys kommen hoch, Tabellenzeilen folgen zügig, die Ergebnisse werden markiert. Ohne Kippen und mit
     kurzer Kaskade, damit „17 Pixel“ und „Ja“ nicht als Letztes kommen (Mario: hier lief zu viel gleichzeitig). */
  .js .handy:not(.sichtbar):not(:focus-within) { opacity: 0; }
  .js .handy.sichtbar { animation: handy-auf 1100ms var(--raus) var(--verz, 0ms) backwards; }
  .js .handy:not(.sichtbar) .handy__hinweis svg { animation-play-state: paused; }
  .messkarte:nth-of-type(2) { --r: 1; }
  .messkarte:nth-of-type(3) { --r: 2; }
  .messkarte:nth-of-type(4) { --r: 3; }
  .js .messung:not(.sichtbar) :is(.messung__quelle, .messkarte) { opacity: 0; }
  .js .messung:not(.sichtbar) .marker { background-size: 0 100%; }
  .js .messung.sichtbar .messung__quelle { animation: auf 700ms var(--raus) var(--verz, 0ms) backwards; }
  .js .messung.sichtbar .messkarte { animation: auf 700ms var(--raus) backwards; animation-delay: calc(var(--verz, 0ms) + 120ms + var(--r, 0) * 70ms); }
  .js .messung.sichtbar .marker { animation: markieren 800ms var(--raus) backwards; animation-delay: calc(var(--verz, 0ms) + 380ms + var(--r, 0) * 90ms); }

  /* Preis: Karte kippt hoch, der Betrag staucht sich, die Haken zeichnen sich nacheinander */
  .preis__drin li:nth-child(2) { --h: 1; }
  .preis__drin li:nth-child(3) { --h: 2; }
  .preis__drin li:nth-child(4) { --h: 3; }
  .js .preis__karte:not(.sichtbar):not(:focus-within) { opacity: 0; }
  .js .preis__karte.sichtbar { animation: karte-auf 1100ms var(--raus) var(--verz, 0ms) backwards; }
  .js .preis__karte.sichtbar .preis__betrag { animation: stauchen 1500ms var(--raus) calc(var(--verz, 0ms) + 250ms) backwards; }
  .js .preis__karte.sichtbar .preis__drin li::before { animation: haken 450ms var(--raus) backwards; animation-delay: calc(var(--verz, 0ms) + 700ms + var(--h, 0) * 150ms); }

  /* Person: Foto deckt sich wie ein Vorhang auf (beobachtet wird .person, ein ganz verdecktes Foto meldet der Browser nie als sichtbar) */
  .person__foto { overflow: clip; border-radius: 8px; }
  .js .person:not(.sichtbar) .person__foto { clip-path: inset(0 0 100% 0); }
  .js .person.sichtbar .person__foto { animation: vorhang 1300ms var(--raus) var(--verz, 0ms) backwards; }

  /* Fragen: Antwort klappt weich auf, wo der Browser die Höhe auf auto überblenden kann */
  .fragen details[open] p { animation: auf 500ms var(--raus) backwards; }
  @supports (interpolate-size: allow-keywords) and selector(::details-content) {
    .fragen { interpolate-size: allow-keywords; }
    .fragen details::details-content { block-size: 0; overflow: clip; transition: block-size 450ms var(--raus), content-visibility 450ms allow-discrete; }
    .fragen details[open]::details-content { block-size: auto; }
  }

  /* An den Bildlauf gebunden, wo der Browser es kann (Chrome, Edge, Safari 26); sonst bleibt es beim Auftritt.
     .buehne und .ki schneiden mit overflow: hidden ab und wären damit selbst Scroll-Container; view() darin
     stünde still (Lektion Kauer, 08.10.). Deshalb scroll(root) und eine benannte Zeitleiste am Abschnitt. */
  @supports (animation-timeline: scroll()) {
    .kopf { animation: kopf-schatten linear both; animation-timeline: scroll(root); animation-range: 0 240px; }
    .buehne .wort { animation: wort-neu linear both; animation-timeline: scroll(root); animation-range: 0 100vh; }
    /* Einspaltig liegt „NEU“ im Streifen unter dem Fenster: dehnen, solange der Streifen durchs Bild läuft */
    @media (max-width: 1020px) { .buehne .wort { animation-range: 15vh 150vh; } }
    .vergleich { animation: tiefe linear both; animation-timeline: scroll(root); animation-range: 0 100vh; }
    .ki { view-timeline: --ki block; }
    .ki .wort { animation: wort-ki linear both; animation-timeline: --ki; animation-range: cover 0% cover 100%; }
    /* Die Handys schweben verschieden schnell (Tiefe); Auftritt und Schweben teilen sich eine Animationsliste */
    .handy:nth-child(1) { animation: schweben-alt linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
    .handy:nth-child(2) { animation: schweben-neu linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
    .js .handy.sichtbar:nth-child(1) { animation: handy-auf 1200ms var(--raus) var(--verz, 0ms) backwards, schweben-alt linear both; animation-timeline: auto, view(); animation-range: normal, cover 0% cover 100%; }
    .js .handy.sichtbar:nth-child(2) { animation: handy-auf 1200ms var(--raus) var(--verz, 0ms) backwards, schweben-neu linear both; animation-timeline: auto, view(); animation-range: normal, cover 0% cover 100%; }
    .person__foto { view-timeline: --foto block; }
    .person__foto img { animation: heran linear both; animation-timeline: --foto; animation-range: cover 0% cover 100%; }
    /* Anfrage als Finale (Mario): Der Abschnitt beginnt hellblau wie die Fragen davor, beim Hinscrollen streicht
       Gelb von links darüber, am Finger, ohne Selbstlauf. Wer per Knopf hinspringt, landet auf fertigem Gelb.
       Tinte steht auf beiden Flächen (9,5 und 15,7 : 1). Ohne Zeitleiste bleibt der Abschnitt einfach gelb. */
    .anfrage { view-timeline: --anfrage block; position: relative; isolation: isolate; background: var(--hellblau); }
    .anfrage::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--gelb); animation: wisch linear both; animation-timeline: --anfrage; animation-range: entry 10% entry 70%; }
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .fragen details::details-content { transition: none !important; }
}
@media print {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  /* Gedruckt wird der Vergleich auf 58 %, auch wenn der Schieber nie lief; die Riesenwörter sind Kulisse */
  .vergleich__flaeche { --pos: 58% !important; }
  .wort { display: none; }
}
/* Windows-Kontrastmodus: Flächen aus Verläufen fallen weg, Rahmen und Schieber bleiben sichtbar (Anke) */
@media (forced-colors: active) {
  .buehne h1 .zeile, .messung .marker, main h2 .hl, .knopf--leise { background-image: none; }
  .stoerer { border: 2px solid CanvasText; }
  .knopf--leise, .knopf--signal { border: 2px solid ButtonText; }
  /* Die Riesenwörter sind Kulisse; im Kontrastmodus wurden sie zu einer schwarzen Fläche hinter dem Fenster */
  .wort { display: none; }
  .vergleich__strich { background: CanvasText; }
  .vergleich__griff { border: 3px solid CanvasText; }
}
