/*
 * GridNetz — öffentliche Website: gemeinsames Stylesheet (alle Seiten).
 * Zweck: Design-Tokens, Layout, Komponenten, Bewegung, Rechtstexte, Anfrageformular (Zugang), Vorgangsfaden, Einwilligungs-Leiste.
 * Gestaltung: ruhig und weich. Viel Weißraum, eine Schrift (Inter), runde Knöpfe, große runde Ecken; Abstand trennt,
 *   nicht Linien (Linien nur zwischen Zeilen einer Liste). Farbige Abschnitte sind abgerundete Flächen („Tafeln“) mit
 *   Rand zum Bildschirm. Bedienelemente einfarbig. Grün ist keine Dekoration, sondern bedeutet immer dasselbe:
 *   geprüft, genehmigt, Strom fließt. Gelb bedeutet: offen, wartet, Rückfrage.
 * Bewegung: „Vorher“-Zustände gelten nur, wenn bewegung.js die Klasse .js an <html> gesetzt hat. Die beiden
 *   Abläufe (Netzanmeldung, Zählerschrank) hängen an --s1 … --s5, die bewegung.js beim Scrollen setzt; die Vorgabe 1
 *   ist der fertige Endzustand. Ohne JavaScript und bei „Bewegung reduzieren“ bleibt nichts verborgen.
 * Sicherheit/Datenschutz: keine externen Schriften oder Ressourcen — Inter liegt als woff2 im Repo.
 * Ausführung: wird von bauen.mjs nach dist/assets/css/site.css kopiert.
 */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/inter-latin.woff2?v=c940764593") format("woff2");
}

:root {
  /* Bedeutungsfarben */
  --gn-gruen: #0f9b6c;       /* geprüft, genehmigt, Strom fließt */
  --gn-gruen-hell: #22c58a;  /* dasselbe auf dunklem Grund */
  --gn-gruen-text: #0a7a55;  /* Grün als Text auf Weiß (Kontrast ≥ 4,5:1) */
  --gn-gelb: #b97a00;        /* offen, wartet, Rückfrage (Zeichen auf Weiß) */
  --gn-gelb-text: #8a5a00;   /* dasselbe als Text auf Weiß (Kontrast ≥ 4,5:1) */
  --gn-gelb-hell: #ffcf4d;   /* dasselbe auf dunklem Grund */
  --gn-warnung: #a3320b;
  --gn-fehler-bg: #fdf1ee;
  /* Flächen und Schrift (Tinte = Farbe der Wortmarke) */
  --weiss: #ffffff;
  --papier: #f4f6f5;
  --nacht: #0d1512;
  --nacht-2: #17201c;
  --tinte: #0d1512;
  --grau: #5b6461;
  --linie: #dfe3e1;
  /* Rollen — .dunkel kehrt sie um, Bausteine fragen nur diese ab */
  --t: var(--tinte);          /* Text */
  --t2: var(--grau);          /* Text zweiter Ordnung */
  --l: var(--linie);          /* Haarlinie */
  --grund: var(--weiss);      /* Grund des Abschnitts */
  --f: var(--weiss);          /* Fläche von Karten auf dem Grund (mit Schatten) */
  --f2: var(--papier);        /* Fläche weicher Felder auf dem Grund (ohne Schatten) */
  --ja: var(--gn-gruen);      /* Bedeutung „in Ordnung“ */
  --ja-text: var(--gn-gruen-text);
  --offen: var(--gn-gelb);    /* Bedeutung „offen“ */
  --offen-text: var(--gn-gelb-text);
  --schrift: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --rand: clamp(20px, 5vw, 64px);
  --breite: 1360px;
  --abstand: clamp(80px, 11vw, 168px); /* senkrechter Abstand der Abschnitte */
  --kopf-hoehe: 60px;
  --radius: 12px;                              /* Eingabefelder */
  --radius-gross: 24px;                        /* Karten, Felder, Fotos */
  --radius-tafel: clamp(22px, 3vw, 40px);      /* farbige Abschnitte */
  --tafel-rand: clamp(8px, 1.6vw, 24px);       /* Abstand der Tafeln zum Bildschirmrand */
  --ruhig: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: light;
  interpolate-size: allow-keywords; /* FAQ darf auf „auto“ aufklappen (wo der Browser es kann) */
}
@media (min-width: 1040px) { :root { --kopf-hoehe: 72px; } }

.dunkel {
  --t: #ffffff;
  --t2: #a4ada9;
  --l: rgba(255, 255, 255, 0.16);
  --grund: var(--nacht);
  --f: var(--nacht-2);
  --f2: var(--nacht-2);
  --ja: var(--gn-gruen-hell);
  --ja-text: var(--gn-gruen-hell);
  --offen: var(--gn-gelb-hell);
  --offen-text: var(--gn-gelb-hell);
  background: var(--nacht);
  color: #fff;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--kopf-hoehe) + 24px); }
body {
  margin: 0;
  font-family: var(--schrift);
  font-size: 17px;
  line-height: 1.6;
  color: var(--tinte);
  background: var(--weiss);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
main { flex: 1 0 auto; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:hover { color: var(--ja-text); }
:focus-visible { outline: 2px solid var(--gn-gruen); outline-offset: 3px; border-radius: 3px; }
.zahl, .preis { font-variant-numeric: tabular-nums; }
h1, h2, h3, h4 { margin: 0 0 0.5em; font-weight: 600; text-wrap: balance; overflow-wrap: break-word; }
h1 { font-size: clamp(2.4rem, 5.8vw, 4.5rem); line-height: 1; letter-spacing: -0.045em; }
h2 { font-size: clamp(1.95rem, 4.4vw, 3.5rem); line-height: 1.04; letter-spacing: -0.04em; }
h3 { font-size: 1.3rem; line-height: 1.2; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }

.wrap { --bund: var(--rand); width: 100%; max-width: var(--breite); margin-inline: auto; padding-inline: var(--bund); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--tinte); color: #fff; padding: 10px 18px; border-radius: 999px; z-index: 100; font-weight: 600; }
.skip:focus { left: 8px; }
.nur-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

/* Kleine Zeile über einer Überschrift: nennt den Teil des Angebots, um den es geht */
.label, .augenbraue { display: block; margin: 0 0 16px; font-size: 15px; font-weight: 550; color: var(--t2); }
.lead, .einleitung { font-size: clamp(1.08rem, 1.7vw, 1.3rem); line-height: 1.5; color: var(--t2); max-width: 36em; }
.gedaempft { color: var(--t2); }
.klein { font-size: 14px; }
.satz { display: block; }
.oben-m { margin-top: 36px; }
.oben-l { margin-top: clamp(48px, 7vw, 96px); }
.titel-mittel { font-size: clamp(1.5rem, 2.6vw, 2.1rem); letter-spacing: -0.035em; line-height: 1.1; }

/* ── Kopf ─────────────────────────────────────────────── */
.kopf { position: sticky; top: 0; z-index: 50; background: var(--weiss); border-bottom: 1px solid var(--linie); view-transition-name: kopf; }
.kopf-innen { display: flex; align-items: center; gap: 12px; min-height: var(--kopf-hoehe); }
.logo { display: inline-flex; flex: 0 0 auto; }
.logo img { height: 28px; width: auto; }
.nav { display: none; margin-left: 40px; gap: 32px; }
.nav a { position: relative; padding: 6px 0; color: var(--tinte); text-decoration: none; font-size: 15px; font-weight: 500; white-space: nowrap; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ruhig); }
.nav a:hover { color: var(--tinte); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.kopf-aktionen { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.kopf-aktionen > .btn { min-height: 40px; padding: 0 18px; font-size: 14.5px; white-space: nowrap; }
.kopf-anmelden { display: none; margin-right: 16px; color: var(--tinte); text-decoration: none; font-size: 15px; font-weight: 500; white-space: nowrap; }
.kopf-anmelden:hover { color: var(--tinte); text-decoration: underline; }
.menue > summary { list-style: none; cursor: pointer; width: 44px; height: 44px; margin-right: -10px; display: grid; place-items: center; color: var(--tinte); }
.menue > summary::-webkit-details-marker { display: none; }
.menue > summary svg { grid-area: 1 / 1; transition: opacity 0.2s, transform 0.4s var(--ruhig); }
.menue .menue-zu { opacity: 0; transform: rotate(-45deg); }
.menue[open] .menue-auf { opacity: 0; transform: rotate(45deg); }
.menue[open] .menue-zu { opacity: 1; transform: none; }
/* Schleier hinter dem offenen Menü: fängt Tipper ab, damit nichts darunter ausgelöst wird (Bezug ist .kopf) */
.menue[open]::before { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 100vh; background: rgba(13, 21, 18, 0.35); animation: ein 0.3s ease-out; }
.menue-offen { overflow: hidden; }
.menue-liste { position: absolute; left: 0; right: 0; top: 100%; display: grid; padding: 8px var(--rand) 28px; background: var(--weiss); border-bottom: 1px solid var(--linie); max-height: calc(100vh - var(--kopf-hoehe)); max-height: calc(100dvh - var(--kopf-hoehe)); overflow-y: auto; }
.menue[open] .menue-liste { animation: menue-auf 0.45s var(--ruhig); }
.menue-liste a:not(.btn) { padding: 18px 0; border-bottom: 1px solid var(--linie); color: var(--tinte); text-decoration: none; font-size: 1.6rem; font-weight: 600; letter-spacing: -0.035em; line-height: 1.1; }
.menue-liste a[aria-current="page"] { color: var(--gn-gruen-text); }
.menue-liste .btn { margin-top: 24px; }
@keyframes menue-auf { from { opacity: 0; transform: translateY(-12px); } }
@keyframes ein { from { opacity: 0; } }
@media (max-width: 349px) { .kopf-aktionen > .btn { display: none; } }
@media (min-width: 1040px) { .logo img { height: 30px; } }
/* Fünf Menüpunkte (seit „Funktionen“, 20.11.2026) brauchen bis rund 1160 px — darunter bleibt das Klappmenü. */
@media (min-width: 1200px) {
  .nav { display: flex; }
  .menue { display: none; }
  .kopf-anmelden { display: inline-block; }
}

/* ── Knöpfe: rund und einfarbig, die Hauptaktion ist immer die volle Fläche ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 28px; border-radius: 999px; border: 1px solid transparent; font: inherit; font-weight: 560; font-size: 16px; line-height: 1.2; letter-spacing: -0.005em; text-align: center; text-decoration: none; cursor: pointer; transition: background-color 0.3s, border-color 0.3s, color 0.3s, transform 0.3s var(--ruhig); }
.btn:active { transform: scale(0.985); }
.btn-primaer { background: var(--tinte); color: #fff; }
.btn-primaer:hover { background: #2c3531; color: #fff; }
.btn-rand, .btn-rand-hell { background: transparent; color: var(--tinte); border-color: #b4bbb8; }
.btn-rand:hover, .btn-rand-hell:hover { border-color: var(--tinte); color: var(--tinte); background: transparent; }
.dunkel .btn-primaer, .cta-band .btn-primaer { background: #fff; color: var(--tinte); }
.dunkel .btn-primaer:hover, .cta-band .btn-primaer:hover { background: #dfe3e1; color: var(--tinte); }
.dunkel .btn-rand, .cta-band .btn-rand { color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.dunkel .btn-rand:hover, .cta-band .btn-rand:hover { color: #fff; border-color: #fff; }
.btn-gross { min-height: 56px; padding: 0 32px; font-size: 17px; }
.btn-voll { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.textlink { font-weight: 550; }

/* ── Abschnitte ───────────────────────────────────────── */
.abschnitt { position: relative; padding: var(--abstand) 0; background: var(--grund); }
.abschnitt--nah { padding-top: clamp(16px, 3vw, 40px); }
/* Tafel: farbiger Abschnitt als abgerundete Fläche. Der Inhalt bleibt auf der Linie der übrigen Seite (--bund). */
.tafel { margin-inline: var(--tafel-rand); border-radius: var(--radius-tafel); }
.tafel > .wrap { --bund: calc(var(--rand) - var(--tafel-rand)); max-width: calc(var(--breite) - 2 * var(--tafel-rand)); }
.tafel--papier { --grund: var(--papier); --f2: var(--weiss); }
.tafel + .tafel { margin-top: var(--tafel-rand); }
.kapitel-kopf { margin-bottom: clamp(36px, 6vw, 80px); }
.kapitel-kopf h2 { max-width: 17em; }
.kapitel-kopf .lead { margin: 0; }
.kapitel-kopf:last-child { margin-bottom: 0; }
@media (min-width: 1000px) {
  .kapitel-kopf--zweiteilig { display: grid; grid-template-columns: 7fr 5fr; column-gap: 64px; align-items: end; }
  .kapitel-kopf--zweiteilig h2 { margin: 0; }
}
.quelle-klein { margin: 16px 0 0; font-size: 13px; color: var(--t2); }

/* ── Held ─────────────────────────────────────────────── */
.held { position: relative; background: var(--weiss); padding: min(clamp(32px, 6vw, 80px), 7vh) 0 0; overflow: hidden; }
.held > .wrap { container-type: inline-size; }
.held .lead { margin: 0; }
.held-knoepfe { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin: 30px 0 22px; }
.held-fakten { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 26px; font-size: 14.5px; color: var(--t2); }
.held-fakten li { position: relative; padding-left: 16px; }
.held-fakten li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 6px; height: 6px; border-radius: 50%; background: var(--ja); }
.held-hinweis { margin: 0; font-size: 14px; color: var(--t2); max-width: 44em; }
.brotkrumen { margin: 0 0 28px; font-size: 14px; color: var(--t2); }
.brotkrumen a { color: inherit; }
/* Startseite: je Zeile ein Satz; die Schriftgröße folgt der Breite (cqi = Breite des .wrap), damit nichts umbricht */
.held .held-titel { margin: 0 0 0.36em; font-size: 12vw; font-size: calc(100cqi / 7.35); line-height: 0.98; letter-spacing: -0.045em; text-wrap: initial; }
.held-titel .zeile { display: block; overflow: hidden; padding-bottom: 0.14em; margin-bottom: -0.14em; }
.held-titel .zeile > span { display: inline-block; animation: titel-hoch 1.1s var(--ruhig) both; }
.held-titel .zeile:nth-child(2) > span { animation-delay: 0.1s; }
@keyframes titel-hoch { from { transform: translateY(108%); } }
@media (max-width: 699px) { .held--start .held-titel { font-size: clamp(1.75rem, 9.6vw, 4.2rem); font-size: clamp(1.75rem, calc(100cqi / 9.4), 4.2rem); hyphens: none; } }
@media (min-width: 700px) {
  .held .held-titel { font-size: min(6.4rem, 7.4vw, 13.5vh); font-size: min(6.4rem, calc(100cqi / 11.8), 13.5vh); }
  .held-titel .zeile { white-space: nowrap; }
}
.held--start .held-text { animation: sanft-ein 1.1s var(--ruhig) 0.25s both; }
@keyframes sanft-ein { from { opacity: 0; transform: translateY(20px); } }
@media (max-width: 520px) { .held-knoepfe .btn { flex: 1 1 100%; } }
/* Ab 900 px teilen sich Text und Zeichnung eine Fläche: der Text steht im Himmel links, das Haus rechts.
   Auf niedrigen Bildschirmen wird die Zeichnung kleiner (ihre Höhe richtet sich nach 100vh), damit der Boden im Bild bleibt. */
.held-buehne { display: grid; }
.held-buehne > * { min-width: 0; }
@media (min-width: 900px) {
  .held-buehne > * { grid-area: 1 / 1; }
  .held-text { position: relative; z-index: 1; align-self: start; max-width: 41vw; max-width: 43cqi; padding-bottom: 132px; }
  .held-buehne > .haus { margin-top: 0; }
  .haus-bild { width: min(100%, max(62%, calc((100vh - 300px) * 2.667))); margin-left: auto; }
}
/* Unterseiten: Text links, Darstellung rechts. Die Überschrift ist so bemessen, dass „PV-Netzanmeldung.“ (9,1 em)
   auch auf dem kleinsten Smartphone in eine Zeile passt. */
.held--klein { padding-bottom: clamp(56px, 8vw, 112px); }
.held--klein h1 { font-size: clamp(1.85rem, 8.4vw, 4.5rem); }
.held .lead + .held-fakten { margin-top: 26px; }
.nw { white-space: nowrap; }
.held-raster { display: grid; gap: 44px; align-items: center; }
.held-raster > * { min-width: 0; }
@media (min-width: 960px) {
  .held-raster { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(48px, 7vw, 112px); }
  .held-raster h1 { font-size: clamp(2.6rem, 4.6vw, 3.9rem); }
}

/* ── Schnittzeichnung im Held: Anlage, Zählerschrank, Netz ──────────────────
   Die Linien zeichnen sich beim Laden (pathLength="1" an jedem Strich), danach fließt Strom, zuletzt der Anschluss
   ans Netz. Ohne Animation steht die fertige Zeichnung. Die Marken stehen in Prozent des Zeichenfelds 1440 × 540. */
.haus { position: relative; margin: clamp(28px, 6vw, 56px) 0 0; align-self: end; }
.haus-bild { position: relative; }
.haus svg { display: block; width: 100%; height: auto; overflow: visible; }
.haus .strich { fill: none; stroke: var(--tinte); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.haus .fein { stroke: #a9b1ad; stroke-width: 1.3; }
.haus .voll { fill: var(--weiss); }
.haus .leuchte { fill: var(--gn-gruen); }
.haus .strom { fill: none; stroke: var(--gn-gruen); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 0.1 11.9; animation: fliessen 1s linear infinite; }
.haus .hinweislinie { fill: none; stroke: #9aa29e; stroke-width: 1; }
.haus .luefter { transform-box: fill-box; transform-origin: 50% 66.67%; animation: drehen 5s linear infinite; }
.haus-marke { position: absolute; transform: translateY(-50%); font-size: 13px; font-weight: 550; line-height: 1.2; white-space: nowrap; color: var(--tinte); }
.haus-marke--pv { left: 80%; top: 25.9%; }
.haus-marke--speicher { right: 36.1%; top: 72.2%; }
.haus-marke--wp { right: 55.6%; top: 85.6%; }
.haus-marke--wallbox { left: 82.8%; top: 57.6%; }
.haus-marke--mast { right: 0.4%; top: 32.6%; }
.haus-marke--netz { left: 86.8%; top: 89.6%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px 5px 10px; border: 1px solid var(--linie); border-radius: 999px; background: var(--weiss); }
.haus-marke--netz i { width: 7px; height: 7px; border-radius: 50%; background: var(--gn-gruen); }
.haus.spielt .strich { stroke-dasharray: 1 1.1; animation: zeichne 1.6s var(--ruhig) both; animation-delay: calc(0.25s + var(--d, 0) * 0.13s); }
.haus.spielt .hinweislinie, .haus.spielt .haus-marke, .haus.spielt .leuchte { animation: ein 0.8s ease-out 2.1s both; }
.haus.spielt .strom { animation: fliessen 1s linear infinite, ein 0.8s ease-out 2.5s both; }
.haus.spielt .strom--netz { animation: fliessen 1s linear infinite, ein 0.8s ease-out 3.8s both; }
.haus.spielt .haus-marke--netz { animation: marke-ein 0.9s var(--ruhig) 3.3s both; }
.haus.spielt .luefter { animation: zeichne 1.6s var(--ruhig) 1.16s both, drehen 5s linear 2.8s infinite; }
@keyframes zeichne { from { stroke-dashoffset: 1.05; } to { stroke-dashoffset: 0; } }
@keyframes fliessen { to { stroke-dashoffset: -12; } }
@keyframes drehen { to { transform: rotate(360deg); } }
@keyframes marke-ein { from { opacity: 0; transform: translate(-50%, -50%) scale(0.9); } }
@media (max-width: 1199px) { .haus-marke { font-size: 12px; } }
@media (max-width: 899px) {
  /* Hochformat-Tablet: Text oben, Zeichnung darunter — näher heran (Ausschnitt x 300–1440 des Zeichenfelds) */
  .haus { overflow: hidden; margin-inline: calc(var(--rand) * -1); }
  .haus-bild { width: 126.3%; margin-left: -26.3%; }
  .haus .strich { stroke-width: 2; }
  .haus .fein { stroke-width: 1.6; }
  .haus .strom { stroke-width: 3; }
}
@media (max-width: 699px) {
  /* Smartphone: noch näher (Ausschnitt x 590–1440), Striche kräftiger, nur die Zusage als Marke */
  .haus { margin-top: 8px; }
  .haus-bild { width: 169.4%; margin: -9% 0 0 -69.4%; }
  .haus .strich { stroke-width: 2.8; }
  .haus .fein { stroke-width: 2.2; }
  .haus .strom { stroke-width: 4; stroke-dasharray: 0.1 13.9; }
  .haus-marke, .haus .hinweislinie { display: none; }
  .haus-marke--netz { display: inline-flex; font-size: 11.5px; padding: 4px 10px 4px 8px; }
  @keyframes fliessen { to { stroke-dashoffset: -14; } }
}

/* ── Kennzahlen: vier Angaben nebeneinander, getrennt durch Luft ── */
.kennzahlen { list-style: none; margin: 0; padding: clamp(28px, 5vw, 64px) 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 32px 24px; }
.kennzahlen b { display: block; margin: 0 0 8px; font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 600; line-height: 1; letter-spacing: -0.045em; font-variant-numeric: tabular-nums; color: var(--t); }
.kennzahlen span { display: block; margin: 0; font-size: 14.5px; line-height: 1.4; color: var(--t2); max-width: 19em; }
@media (min-width: 900px) { .kennzahlen { grid-template-columns: repeat(4, 1fr); gap: 32px clamp(28px, 4vw, 56px); } }

/* ── Abläufe: Bühne bleibt stehen, die Schritte ziehen vorbei ───────────────
   Aufbau: [data-folge] > .folge-kopf (Überschrift) + .folge-buehne (bleibt stehen) + .folge-schritte.
   Smartphone: Kopf, dann Bühne oben, der Text läuft darunter durch. Breit: Text und Bühne nebeneinander; der Kopf
   füllt die erste Bildschirmhöhe der Textspalte, die Bühne steht von Anfang an daneben.
   bewegung.js setzt je Schritt --s1 … --s5 (0 → 1) am Element [data-folge] und .aktiv am laufenden Schritt.
   Die Bühne ist ein Container (cqw/cqh): alles in ihr misst sich in em und passt sich so der Bühne an. */
.folge { --s1: 1; --s2: 1; --s3: 1; --s4: 1; --s5: 1; position: relative; }
.folge-kopf { margin-bottom: clamp(28px, 5vw, 48px); }
.folge-kopf .lead { margin: 0; }
.folge-buehne { position: sticky; top: var(--kopf-hoehe); z-index: 2; height: min(58vh, 440px); height: min(58svh, 440px); margin-inline: calc(var(--bund) * -1); padding: 14px var(--bund); display: grid; place-items: center; background: var(--grund); border-bottom: 1px solid var(--l); }
.folge-buehne > * { min-width: 0; }
.folge--gedreht .folge-buehne { height: min(60vh, 480px); height: min(60svh, 480px); }
.folge-schritte { list-style: none; margin: 0; padding: 0; }
.folge-schritt { min-height: 42vh; min-height: 42svh; padding: 26px 0 40px; }
.folge-schritt h3 { font-size: clamp(1.5rem, 3vw, 2.2rem); letter-spacing: -0.035em; line-height: 1.08; margin-bottom: 0.45em; }
.folge-schritt p { margin: 0; color: var(--t2); font-size: clamp(1.04rem, 1.5vw, 1.2rem); line-height: 1.5; max-width: 28em; }
.folge-schritt .folge-nr { margin-bottom: 12px; font-size: 14px; font-weight: 550; color: var(--t2); font-variant-numeric: tabular-nums; }
/* Der laufende Schritt hat die dunkle Überschrift. Die anderen bleiben lesbar (kein Abdunkeln des Textes). */
.folge--bereit .folge-schritt h3 { color: var(--t2); transition: color 0.5s; }
.folge--bereit .folge-schritt.aktiv h3 { color: var(--t); }
.folge-fuss { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; padding-top: clamp(28px, 4vw, 40px); }
.folge-fuss > p { flex: 1 1 320px; margin: 0; max-width: 40em; font-size: 1.08rem; color: var(--t2); }
.folge-fuss > p b { color: var(--t); font-weight: 600; }
.folge-fuss .held-knoepfe { margin: 0; }
.abschnitt--folge { padding-bottom: clamp(56px, 7vw, 104px); }
@media (min-width: 960px) {
  .abschnitt--folge { padding-top: 0; }
  .folge { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: auto 1fr; column-gap: clamp(40px, 6vw, 96px); align-items: start; }
  .folge-kopf { grid-area: 1 / 1; display: flex; flex-direction: column; justify-content: center; min-height: calc(100vh - var(--kopf-hoehe)); min-height: calc(100svh - var(--kopf-hoehe)); margin: 0; padding-block: 48px; }
  .folge-kopf h2 { font-size: min(3.15vw, 2.7rem); } /* „Vor der Montage klären.“ (10,7 em) passt in die Textspalte */
  .folge-buehne, .folge--gedreht .folge-buehne { grid-area: 1 / 2 / 3 / 3; height: calc(100vh - var(--kopf-hoehe)); height: calc(100svh - var(--kopf-hoehe)); margin: 0; padding: 28px 0; border: 0; }
  .folge-schritte { grid-area: 2 / 1; padding-bottom: 36vh; } /* der Endzustand bleibt noch einen Moment stehen */
  .folge-schritt { display: flex; flex-direction: column; justify-content: center; min-height: 72vh; padding: 20px 0; }
  .folge--gedreht { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .folge--gedreht .folge-kopf { grid-area: 1 / 2; }
  .folge--gedreht .folge-buehne { grid-area: 1 / 1 / 3 / 2; }
  .folge--gedreht .folge-schritte { grid-area: 2 / 2; }
}

/* Bühne 1 — Netzanmeldung: Ihr Betrieb │ Vorgangsakte │ Netzbetreiber. Blätter wandern auf den Achsen.
   Abgeleitete Schalter (0 oder 1, mit kurzem Übergang): wann ist eine Zeile abgehakt, wann wechselt der Status. */
.szene { width: 100%; font-size: 12px; line-height: 1.35; }
.anmeldung {
  --u1: clamp(0, calc((var(--s1) - 0.36) * 14), 1);   /* Zeilen 1–3 abgehakt, sobald das jeweilige Blatt ankommt */
  --u2: clamp(0, calc((var(--s1) - 0.61) * 14), 1);
  --u3: clamp(0, calc((var(--s1) - 0.86) * 14), 1);
  --ein: clamp(0, calc((var(--s2) - 0.82) * 14), 1);  /* eingereicht */
  --frage: clamp(0, calc((var(--s3) - 0.40) * 14), 1); /* Rückfrage liegt vor */
  --antw: clamp(0, calc((var(--s3) - 0.88) * 14), 1);  /* beantwortet */
  --gen: clamp(0, calc((var(--s4) - 0.80) * 14), 1);   /* genehmigt */
  --ibn: clamp(0, calc((var(--s5) - 0.88) * 14), 1);   /* Inbetriebnahme dokumentiert */
  display: grid; align-items: center;
}
.knoten { position: relative; display: grid; place-items: center; width: 3.2em; height: 3.2em; border: 1.5px solid transparent; border-radius: 50%; background: var(--f); color: var(--t); box-shadow: 0 0 0 1px rgba(13, 21, 18, 0.05), 0 1em 2em -1.2em rgba(13, 21, 18, 0.4); }
.knoten svg { width: 50%; height: 50%; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.knoten-name { position: absolute; font-weight: 550; white-space: nowrap; color: var(--t); }
.knoten--netz { border-color: color-mix(in srgb, var(--ja) calc(var(--gen) * 100%), transparent); }
.achse { position: relative; background: var(--l); }
.blatt { --p: 1; --ort: var(--p); position: absolute; transform: translate(-50%, -50%); width: 1.7em; aspect-ratio: 4 / 5; border: 1px solid #8f9894; border-radius: 2.5px; background: linear-gradient(#aab2ae, #aab2ae) 50% 30% / 54% 1px no-repeat, linear-gradient(#aab2ae, #aab2ae) 50% 50% / 54% 1px no-repeat, linear-gradient(#aab2ae, #aab2ae) 23% 70% / 32% 1px no-repeat, #fff; box-shadow: 0 0.6em 1.1em -0.5em rgba(13, 21, 18, 0.55); opacity: min(clamp(0, calc(var(--p) * 8), 1), clamp(0, calc((1 - var(--p)) * 8), 1)); }
.blatt.b1 { --p: clamp(0, calc(var(--s1) / 0.4), 1); }
.blatt.b2 { --p: clamp(0, calc((var(--s1) - 0.25) / 0.4), 1); }
.blatt.b3 { --p: clamp(0, calc((var(--s1) - 0.5) / 0.4), 1); }
.blatt.b4 { --p: clamp(0, calc(var(--s5) / 0.4), 1); }
.blatt.antrag { --p: clamp(0, calc((var(--s2) - 0.1) / 0.72), 1); }
.blatt.frage { --p: clamp(0, calc(var(--s3) / 0.4), 1); border-color: var(--offen); background: linear-gradient(var(--offen), var(--offen)) 50% 30% / 2px 36% no-repeat, linear-gradient(var(--offen), var(--offen)) 50% 78% / 2px 2px no-repeat, #fff; }
.blatt.antwort { --p: clamp(0, calc((var(--s3) - 0.5) / 0.38), 1); }
.blatt.zusage { --p: clamp(0, calc((var(--s4) - 0.1) / 0.7), 1); border-color: var(--gn-gruen); background: var(--gn-gruen) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 8.3 2.6 2.6L12 5.4' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat; }
.blatt.ibn { --p: clamp(0, calc((var(--s5) - 0.45) / 0.42), 1); }
.blatt { left: 50%; top: calc(var(--ort) * 100%); }
@media (max-width: 959px) {
  /* Schmal: Betrieb und Netzbetreiber stehen oben, die Akte darunter; die Blätter wandern senkrecht */
  .szene:not(.szene--schrank) { max-width: 34em; margin-inline: auto; }
  .anmeldung { grid-template-columns: 1fr 1fr; grid-template-areas: "betrieb netz" "links rechts" "akte akte"; }
  .anmeldung > .knoten { grid-area: betrieb; justify-self: start; margin-left: 1.4em; }
  .anmeldung > .knoten--netz { grid-area: netz; justify-self: end; margin: 0 1.4em 0 0; }
  .knoten-name { left: calc(100% + 0.8em); }
  .knoten--netz .knoten-name { left: auto; right: calc(100% + 0.8em); }
  .anmeldung > .achse { grid-area: links; justify-self: start; width: 1px; height: 4em; margin-left: 3em; }
  .anmeldung > .achse:nth-child(4) { grid-area: rechts; justify-self: end; margin: 0 3em 0 0; }
  .anmeldung > .akte { grid-area: akte; }
  .achse:nth-child(4) .blatt { --ort: calc(1 - var(--p)); }
  .achse:nth-child(4) .blatt--rueck { --ort: var(--p); }
}
@media (min-width: 960px) {
  .szene { max-width: 50em; margin-inline: auto; padding-inline: 1.6em; }
  .szene--schrank { max-width: none; margin: 0; padding: 0; }
  .szene--schrank .schrank { justify-items: start; }
  .szene--schrank .szene-hinweis { text-align: left; margin-top: 2.2em; }
  .anmeldung { grid-template-columns: 4.8em minmax(1.6em, 1fr) 22em minmax(1.6em, 1fr) 4.8em; }
  .knoten { width: 4.8em; height: 4.8em; }
  .knoten-name { left: 50%; top: calc(100% + 0.9em); transform: translateX(-50%); }
  .achse { height: 1px; }
  .blatt { top: 50%; left: calc(var(--ort) * 100%); width: 2em; }
  .achse:nth-child(4) .blatt--rueck { --ort: calc(1 - var(--p)); }
}

/* Vorgangsakte: schematische Darstellung, keine Kundendaten */
.akte { padding: 1.2em 1.4em 1.2em; border-radius: 1.7em; background: var(--f); box-shadow: 0 0 0 1px rgba(13, 21, 18, 0.05), 0 3em 5em -3.2em rgba(13, 21, 18, 0.45); }
.akte-kopf { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; margin-bottom: 0.9em; }
.akte-kopf p { margin: 0; }
.akte-kopf strong { display: block; font-size: 1.1em; font-weight: 600; letter-spacing: -0.01em; }
.akte-kopf p span { font-size: 0.92em; color: var(--t2); }
.melder { display: inline-flex; align-items: center; gap: 0.5em; padding: 0.38em 0.9em 0.38em 0.7em; border-radius: 999px; background: var(--papier); font-size: 0.92em; font-weight: 550; white-space: nowrap; }
.melder i { position: relative; width: 0.55em; height: 0.55em; border-radius: 50%; background: #b4bbb8; }
.melder i::before, .melder i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; }
.melder i::before { background: var(--offen); opacity: var(--ein); }
.melder i::after { background: var(--ja); opacity: var(--gen); }
/* Wechsel: mehrere Fassungen liegen übereinander, sichtbar ist die zum Stand passende */
.wechsel { display: inline-grid; }
.wechsel > * { grid-area: 1 / 1; }
.wechsel--rechts > * { justify-self: end; }
.w-unterlagen { opacity: calc(1 - var(--ein)); }
.w-eingereicht { opacity: min(var(--ein), calc(1 - var(--gen))); }
.w-genehmigt { opacity: min(var(--gen), calc(1 - var(--ibn))); }
.w-betrieb { opacity: var(--ibn); }
.akte-liste { list-style: none; margin: 0; padding: 0; }
.akte-liste li { display: flex; align-items: center; gap: 0.75em; padding: 0.62em 0; border-top: 1px solid var(--l); }
.akte-liste em { margin-left: auto; font-style: normal; font-size: 0.92em; color: var(--t2); white-space: nowrap; }
.haekchen { --an: 1; --warte: 0; position: relative; flex: 0 0 auto; width: 1.3em; height: 1.3em; border: 1px solid #b4bbb8; border-radius: 50%; }
.haekchen::before { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1.5px solid var(--offen); opacity: var(--warte); }
.haekchen::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; background: var(--gn-gruen) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.4 8.3 2.4 2.4 4.8-5' fill='none' stroke='%23fff' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; opacity: var(--an); transform: scale(calc(0.6 + 0.4 * var(--an))); }
.z1 .haekchen { --an: var(--u1); }
.z2 .haekchen { --an: var(--u2); }
.z3 .haekchen { --an: var(--u3); }
.z4 .haekchen { --an: var(--gen); --warte: min(var(--ein), calc(1 - var(--gen))); }
.z5 .haekchen { --an: var(--antw); --warte: min(var(--frage), calc(1 - var(--antw))); }
.z6 .haekchen { --an: var(--ibn); }
.z4 .w-vor { opacity: calc(1 - var(--ein)); }
.z4 .w-ein { opacity: min(var(--ein), calc(1 - var(--gen))); }
.z4 .w-gen { opacity: var(--gen); color: var(--ja-text); }
.z5 .w-keine { opacity: calc(1 - var(--frage)); }
.z5 .w-offen { opacity: min(var(--frage), calc(1 - var(--antw))); color: var(--offen-text); font-weight: 550; }
.z5 .w-antw { opacity: var(--antw); }
.z6 .w-vor { opacity: calc(1 - var(--ibn)); }
.z6 .w-da { opacity: var(--ibn); }
.akte-weg { display: none; }
.szene-hinweis { margin: 1.1em 0 0; text-align: center; font-size: max(0.95em, 10.5px); line-height: 1.4; color: var(--t2); }
@media (min-width: 960px) {
  .akte { padding: 1.5em 1.6em 1.35em; }
  .akte-liste li { padding: 0.7em 0; }
  /* Statusweg unter der Liste: vier Punkte, die Linie füllt sich mit dem Stand */
  .akte-weg { --weg: calc((var(--ein) + var(--gen) + var(--ibn)) / 3); list-style: none; position: relative; margin: 0; padding: 2em 0 0; display: flex; justify-content: space-between; border-top: 1px solid var(--l); font-size: 0.84em; font-weight: 550; color: var(--t2); }
  .akte-weg::before, .akte-weg::after { content: ""; position: absolute; left: 0.35em; right: 0.35em; top: 1.05em; height: 2px; border-radius: 2px; background: var(--l); }
  .akte-weg::after { background: var(--ja); transform: scaleX(var(--weg)); transform-origin: left; }
  .akte-weg li { --an: 1; position: relative; }
  .akte-weg li::before { content: ""; position: absolute; z-index: 1; top: -1.3em; left: 0; width: 0.7em; height: 0.7em; border-radius: 50%; background: var(--ja); background: color-mix(in srgb, var(--ja) calc(var(--an) * 100%), #c1c8c5); box-shadow: 0 0 0 3px var(--f); }
  .akte-weg li:nth-child(2) { --an: var(--ein); }
  .akte-weg li:nth-child(3) { --an: var(--gen); }
  .akte-weg li:nth-child(4) { --an: var(--ibn); }
  .akte-weg li:nth-child(n + 2):not(:last-child)::before { left: 50%; transform: translateX(-50%); }
  .akte-weg li:last-child::before { left: auto; right: 0; }
  .szene-hinweis { margin-top: 4em; }
}

/* Bühne 2 — Zählerschrank: Foto, Sucher, Prüflauf, erkannte Bauteile, offene Frage, Befund.
   --a1 … --a5: Der Prüflauf hat das Bauteil überfahren (Schwelle = Unterkante des Bauteils im Bild). */
.schrank {
  --lauf: var(--s2);
  --a1: clamp(0, calc((var(--s2) - 0.16) * 16), 1);   /* Sammelschiene */
  --a2: clamp(0, calc((var(--s2) - 0.50) * 16), 1);   /* Sicherungsautomaten, obere Reihe */
  --a3: clamp(0, calc((var(--s2) - 0.69) * 16), 1);   /* Zähler */
  --a4: clamp(0, calc((var(--s2) - 0.73) * 16), 1);   /* Sicherungsautomaten, untere Reihe */
  --a5: clamp(0, calc((var(--s2) - 0.85) * 16), 1);   /* Klemmen */
  --frage: clamp(0, calc((var(--s3) - 0.30) * 8), 1); /* offene Frage notiert */
  --frei: clamp(0, calc((var(--s4) - 0.45) * 8), 1);  /* gespeichert, Freigabe beim Betrieb */
  display: grid; justify-items: center; gap: 1.1em;
}
.schrank-foto { position: relative; width: min(100%, 46vh); aspect-ratio: 1 / 1; overflow: hidden; border-radius: 2em; background: #1d2421; isolation: isolate; container: foto / inline-size; }
.schrank-foto img { width: 100%; height: 100%; object-fit: cover; filter: brightness(calc(1 - 0.42 * var(--s2))); }
/* Auslöser: kurzer heller Moment am Ende von Schritt 1 */
.schrank-foto::after { content: ""; position: absolute; inset: 0; background: #fff; pointer-events: none; opacity: calc(0.7 * min(clamp(0, calc((var(--s1) - 0.86) * 12), 1), clamp(0, calc((1 - var(--s1)) * 12), 1))); }
.schrank-linien { position: absolute; inset: 0; width: 100%; height: 100%; }
.schrank-linien .teil { fill: rgba(34, 197, 138, 0.14); stroke: #fff; stroke-width: 1.6px; vector-effect: non-scaling-stroke; }
.schrank-linien .t1 { opacity: var(--a1); }
.schrank-linien .t2 { opacity: var(--a2); }
.schrank-linien .t3 { opacity: var(--a3); }
.schrank-linien .t4 { opacity: var(--a4); }
.schrank-linien .t5 { opacity: var(--a5); }
.schrank-linien .luecke { fill: rgba(255, 207, 77, 0.16); stroke: var(--gn-gelb-hell); stroke-width: 1.6px; stroke-dasharray: 6 5; vector-effect: non-scaling-stroke; opacity: var(--frage); }
.sucher { position: absolute; inset: 4% 7.5% 5.5% 1.5%; opacity: min(clamp(0, calc(var(--s1) * 5), 1), calc(1 - clamp(0, calc(var(--s2) * 8), 1))); transform: scale(calc(1.1 - 0.1 * clamp(0, calc(var(--s1) * 2.5), 1))); }
.sucher i { position: absolute; width: 9%; aspect-ratio: 1; border: 2px solid #fff; }
.sucher i:nth-child(1) { left: 0; top: 0; border-right: 0; border-bottom: 0; }
.sucher i:nth-child(2) { right: 0; top: 0; border-left: 0; border-bottom: 0; }
.sucher i:nth-child(3) { left: 0; bottom: 0; border-right: 0; border-top: 0; }
.sucher i:nth-child(4) { right: 0; bottom: 0; border-left: 0; border-top: 0; }
.schrank-lauf { position: absolute; left: 0; right: 0; top: calc((0.06 + 0.9 * var(--lauf)) * 100%); height: 16%; transform: translateY(-100%); background: linear-gradient(180deg, rgba(34, 197, 138, 0), rgba(34, 197, 138, 0.3)); border-bottom: 1.5px solid var(--gn-gruen-hell); opacity: min(clamp(0, calc(var(--lauf) * 30), 1), clamp(0, calc((1 - var(--lauf)) * 30), 1)); }
/* Marken am Foto (Lage in Prozent des Fotos, passend zu den Umrissen) */
.marke { --an: 1; position: absolute; display: inline-flex; align-items: center; gap: 0.5em; padding: 0.34em 0.75em 0.34em 0.6em; border-radius: 999px; background: #fff; color: var(--tinte); font-size: 0.95em; font-weight: 550; line-height: 1.25; white-space: nowrap; box-shadow: 0 0.4em 1.2em -0.3em rgba(0, 0, 0, 0.55); opacity: var(--an); }
.marke::before { content: ""; width: 0.5em; height: 0.5em; border-radius: 50%; background: var(--gn-gruen); }
.marke.t1 { --an: var(--a1); left: 28.2%; top: 20%; transform: translateY(calc(-100% + (1 - var(--an)) * 0.5em)); }
.marke.t2 { --an: var(--a2); left: 28.3%; top: 34.6%; transform: translateY(calc(-100% + (1 - var(--an)) * 0.5em)); }
.marke.t3 { --an: var(--a3); left: 60.3%; top: 69.4%; transform: translateY(calc((1 - var(--an)) * 0.5em)); }
.marke.t5 { --an: var(--a5); left: 59.2%; top: 83.2%; transform: translateY(calc((1 - var(--an)) * 0.5em)); }
.marke--offen { --an: var(--frage); left: 43.1%; top: 77.5%; transform: translate(-50%, -50%); }
.marke--offen::before { background: var(--gn-gelb); }
.aufnahme { --da: min(clamp(0, calc(var(--s1) * 5), 1), calc(1 - clamp(0, calc(var(--s2) * 8), 1))); list-style: none; position: absolute; left: 3%; right: 3%; bottom: 3.5%; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4em; opacity: var(--da); }
.aufnahme li { --an: 1; display: inline-flex; align-items: center; gap: 0.45em; padding: 0.3em 0.7em 0.3em 0.45em; border-radius: 999px; background: rgba(13, 21, 18, 0.72); color: #fff; font-size: 0.9em; font-weight: 550; line-height: 1.25; white-space: nowrap; }
.aufnahme li::before { content: ""; width: 1.1em; height: 1.1em; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6); background: rgba(34, 197, 138, calc(var(--an))) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.4 8.3 2.4 2.4 4.8-5' fill='none' stroke='%230d1512' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.aufnahme li:nth-child(1) { --an: clamp(0, calc((var(--s1) - 0.25) * 14), 1); }
.aufnahme li:nth-child(2) { --an: clamp(0, calc((var(--s1) - 0.42) * 14), 1); }
.aufnahme li:nth-child(3) { --an: clamp(0, calc((var(--s1) - 0.59) * 14), 1); }
.aufnahme li:nth-child(4) { --an: clamp(0, calc((var(--s1) - 0.76) * 14), 1); }
/* kleines Foto (kleines Smartphone): die vier Aufnahme-Punkte in zwei Reihen statt drei plus eins */
@container foto (max-width: 340px) { .aufnahme { display: grid; grid-template-columns: repeat(2, max-content); } }
.gespeichert { position: absolute; left: 50%; top: 4%; display: inline-flex; align-items: center; gap: 0.5em; padding: 0.36em 0.85em 0.36em 0.5em; border-radius: 999px; background: var(--gn-gruen-hell); color: var(--tinte); font-size: 0.95em; font-weight: 600; line-height: 1.25; white-space: nowrap; opacity: var(--frei); transform: translate(-50%, calc((var(--frei) - 1) * 0.6em)); }
.gespeichert::before { content: ""; width: 1.1em; height: 1.1em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3.6 8.4 2.9 2.9 5.9-6.2' fill='none' stroke='%230d1512' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
/* Befund unter dem Foto: drei Angaben, die sich mit den Schritten füllen */
.befund { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 0.95fr) minmax(0, 1.2fr); width: min(100%, 46vh); margin: 0; }
.befund > div { display: flex; flex-direction: column; justify-content: flex-end; padding: 0 0.8em 0 0.3em; } /* Werte auf einer Linie, auch wenn eine Bezeichnung umbricht */
.befund dt { font-size: 0.92em; line-height: 1.3; color: var(--t2); }
.befund dd { margin: 0.25em 0 0; font-size: 1.7em; font-weight: 600; line-height: 1.1; letter-spacing: -0.035em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.b-merkmale > :nth-child(1) { opacity: calc(1 - var(--a1)); }
.b-merkmale > :nth-child(2) { opacity: min(var(--a1), calc(1 - var(--a2))); }
.b-merkmale > :nth-child(3) { opacity: min(var(--a2), calc(1 - var(--a3))); }
.b-merkmale > :nth-child(4) { opacity: min(var(--a3), calc(1 - var(--a5))); }
.b-merkmale > :nth-child(5) { opacity: var(--a5); }
.b-fragen > :nth-child(1) { opacity: calc(1 - var(--frage)); }
.b-fragen > :nth-child(2) { opacity: var(--frage); color: var(--offen-text); }
.b-freigabe > :nth-child(1) { opacity: calc(1 - var(--frei)); color: var(--t2); }
.b-freigabe > :nth-child(2) { opacity: var(--frei); }
/* Die Bühne als Container: Schriftgrad und Foto richten sich nach Breite UND Höhe der Bühne */
@supports (width: 1cqw) {
  .folge-buehne { container-type: size; }
  .szene { font-size: clamp(9px, min(3.6cqw, 3.15cqh), 13.5px); }
  .szene--schrank { font-size: clamp(10px, min(3.3cqw, 2.9cqh), 13.5px); }
  .schrank-foto, .befund { width: min(100cqw, calc(100cqh - 8.2em)); }
  @media (min-width: 960px) {
    .szene { font-size: clamp(11px, min(2.45cqw, 2.3cqh), 16px); }
    .szene--schrank { font-size: clamp(11px, min(2.4cqw, 1.9cqh), 14.5px); }
    .schrank-foto, .befund { width: min(100cqw, calc(100cqh - 10em), 560px); }
  }
}

/* ── Karten und Listen ────────────────────────────────── */
.raster { display: grid; gap: 16px; }
@media (min-width: 760px) { .raster-2 { grid-template-columns: repeat(2, 1fr); } .raster-3 { grid-template-columns: repeat(3, 1fr); } }
.karte { padding: 28px; border-radius: var(--radius-gross); background: var(--f2); }
.karte h3 { font-size: 1.2rem; }
.karte p:last-child { margin-bottom: 0; }
/* Verweis-Karten: weiche Felder, der Verweis steht unten */
.karte--link { display: flex; flex-direction: column; padding: 30px 30px 32px; }
.karte--link h3 { font-size: 1.35rem; letter-spacing: -0.025em; }
.karte--link p { color: var(--t2); }
.karte--link .textlink { margin-top: auto; padding-top: 12px; align-self: flex-start; }
.nummer { display: block; margin-bottom: 12px; font-size: 14px; font-weight: 550; color: var(--t2); }
.haken { list-style: none; padding: 0; margin: 18px 0 0; }
.haken li { position: relative; padding: 0 0 0 28px; margin-bottom: 10px; }
.haken li::before { content: ""; position: absolute; left: 0; top: 0.34em; width: 16px; height: 16px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m2.8 8.5 3.3 3.3 7.1-7.4' fill='none' stroke='%230f9b6c' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
/* Liste mit Luft: größere Schrift, runde Haken-Marken — untereinander (--gross) oder nebeneinander (--reihe) */
.haken--gross, .haken--reihe { margin: 0; font-size: 1.12rem; }
.haken--gross li, .haken--reihe li { margin: 0; padding: 14px 0 14px 44px; }
.haken--gross li::before, .haken--reihe li::before { top: 13px; width: 28px; height: 28px; border-radius: 50%; background-color: var(--f2); background-size: 14px; }
.haken--reihe { margin-top: clamp(36px, 5vw, 64px); }
@media (min-width: 800px) { .haken--reihe { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); font-size: 1.05rem; line-height: 1.45; } }
.zweispalter { display: grid; gap: 32px; }
.zweispalter > * { min-width: 0; }
@media (min-width: 900px) { .zweispalter { grid-template-columns: 5fr 7fr; gap: clamp(48px, 7vw, 120px); align-items: center; } .zweispalter--oben { align-items: start; } }
.zweispalter h3:not(:first-child) { margin-top: 1.7em; }
.zweispalter h3 + p { color: var(--t2); }
/* Merkmale: Aussagen nebeneinander — getrennt durch Luft, nicht durch Linien */
.merkmale { list-style: none; margin: 0; padding: 0; display: grid; gap: 36px clamp(28px, 4vw, 56px); }
.merkmale li { scroll-margin-top: calc(var(--kopf-hoehe) + 24px); }
.merkmale h3 { font-size: 1.35rem; letter-spacing: -0.025em; margin-bottom: 0.4em; }
.merkmale p { margin: 0; color: var(--t2); }
.zeichen { box-sizing: border-box; width: 72px; height: 72px; margin: 0 0 22px; padding: 16px; border-radius: 50%; background: var(--f2); fill: none; stroke: var(--t); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.merkmale--vier { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 20px; }
@media (min-width: 640px) { .merkmale { grid-template-columns: repeat(2, 1fr); gap: 36px clamp(28px, 4vw, 56px); } }
@media (min-width: 900px) { .merkmale { grid-template-columns: repeat(3, 1fr); } .merkmale--vier { grid-template-columns: repeat(4, 1fr); } }
/* Versprechen: ein ruhiges Feld mit grünem Punkt (Zusage zum Datenschutz) */
.versprechen { position: relative; margin: 0; padding: 18px 22px 18px 44px; border-radius: 20px; background: var(--f2); font-size: 15.5px; line-height: 1.55; color: var(--t2); max-width: 42em; }
.versprechen::before { content: ""; position: absolute; left: 22px; top: calc(18px + 0.56em); width: 8px; height: 8px; border-radius: 50%; background: var(--ja); }
.versprechen a { color: var(--t); }

/* Schematische Vorgangsliste mit Statusfilter (Filter erscheint erst, wenn bewegung.js ihn bedienen kann) */
.demo { margin: 0; padding: 26px 28px 22px; border-radius: var(--radius-gross); background: var(--weiss); box-shadow: 0 0 0 1px rgba(13, 21, 18, 0.06), 0 40px 70px -44px rgba(13, 21, 18, 0.4); }
.demo-kopf { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.demo-kopf strong { font-size: 15px; font-weight: 600; }
.demo-kopf span { font-size: 12.5px; color: var(--t2); text-align: right; }
.demo-filter { display: none; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.demo.bereit .demo-filter { display: flex; }
.chip { min-height: 36px; padding: 0 15px; border-radius: 999px; border: 0; background: var(--papier); color: var(--t); font: inherit; font-size: 13.5px; font-weight: 550; cursor: pointer; transition: background-color 0.25s, color 0.25s; }
.chip:hover { background: #e7ebe9; }
.chip[aria-pressed="true"] { background: var(--tinte); color: #fff; }
.demo-liste { list-style: none; margin: 0; padding: 0; }
.demo-liste li { display: grid; grid-template-rows: 1fr; transition: grid-template-rows 0.45s var(--ruhig), opacity 0.3s; }
.demo-liste li > div { min-height: 0; overflow: hidden; }
.demo-liste li.aus { grid-template-rows: 0fr; opacity: 0; }
.demo-zeile { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 0; border-top: 1px solid var(--l); font-size: 15px; }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 550; white-space: nowrap; color: var(--t2); }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #b4bbb8; }
.status--eingereicht::before { background: var(--offen); }
.status--genehmigt { color: var(--ja-text); }
.status--genehmigt::before { background: var(--ja); }
.demo figcaption { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--l); font-size: 12.5px; line-height: 1.45; color: var(--t2); }

/* ── Zeit-Rechner (ohne JavaScript ausgeblendet, siehe hidden im HTML) ── */
.rechner { display: grid; gap: 32px; }
.rechner > * { min-width: 0; }
.regler { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 0 16px; padding: 6px 0 14px; }
.regler-name { font-size: 15.5px; font-weight: 500; padding-bottom: 6px; }
.regler output { font-size: 2.1rem; font-weight: 600; line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; min-width: 2.2ch; text-align: right; }
.schieber { grid-column: 1 / -1; -webkit-appearance: none; appearance: none; width: 100%; height: 44px; margin: 0; background: transparent; cursor: pointer; touch-action: pan-y; }
.schieber::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--tinte) var(--fuell, 50%), #d3d9d6 var(--fuell, 50%)); }
.schieber::-moz-range-track { height: 4px; border-radius: 4px; background: #d3d9d6; }
.schieber::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--tinte); }
.schieber::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 28px; height: 28px; margin-top: -12px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 1px rgba(13, 21, 18, 0.12), 0 4px 12px rgba(13, 21, 18, 0.22); transition: transform 0.2s; }
.schieber::-moz-range-thumb { width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 1px rgba(13, 21, 18, 0.12), 0 4px 12px rgba(13, 21, 18, 0.22); }
.schieber:active::-webkit-slider-thumb { transform: scale(1.1); }
.schieber:focus-visible { outline: none; }
.schieber:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(15, 155, 108, 0.45), 0 4px 12px rgba(13, 21, 18, 0.22); }
.schieber:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 4px rgba(15, 155, 108, 0.45), 0 4px 12px rgba(13, 21, 18, 0.22); }
.ergebnis { padding: clamp(26px, 4vw, 44px); border-radius: var(--radius-gross); background: var(--weiss); }
.ergebnis-zahl { margin: 0; font-size: clamp(5rem, 13vw, 8.5rem); font-weight: 600; line-height: 0.86; letter-spacing: -0.06em; font-variant-numeric: tabular-nums; }
.ergebnis-einheit { margin: 12px 0 14px; font-size: 1.3rem; font-weight: 600; letter-spacing: -0.02em; }
.ergebnis-satz { margin: 0 0 26px; color: var(--t2); max-width: 26em; }
.ergebnis-satz b { color: var(--t); font-weight: 600; }
.ergebnis .klein { margin: 18px 0 0; color: var(--t2); line-height: 1.5; max-width: 34em; }
@media (max-width: 520px) { .ergebnis .btn { width: 100%; } }
@media (min-width: 900px) { .rechner { grid-template-columns: 5fr 7fr; gap: clamp(48px, 7vw, 120px); align-items: center; } }

/* ── Konten und Preise: vier weiche Felder, das beliebte Konto dunkel ── */
.preise { display: grid; gap: 14px; }
.konto { position: relative; display: flex; flex-direction: column; padding: 30px 28px 28px; border-radius: var(--radius-gross); background: var(--papier); }
.konto--beliebt { --t: #fff; --t2: #a4ada9; --l: rgba(255, 255, 255, 0.16); background: var(--tinte); color: #fff; }
.konto-marke { position: absolute; top: 30px; right: 26px; padding: 3px 11px; border-radius: 999px; background: #fff; color: var(--tinte); font-size: 12.5px; font-weight: 600; line-height: 1.5; }
.konto h3 { font-size: 1.5rem; letter-spacing: -0.03em; margin-bottom: 6px; }
.konto-wofuer { color: var(--t2); font-size: 15px; margin-bottom: 22px; }
.konto-preis { display: flex; align-items: baseline; gap: 8px; margin-bottom: 4px; font-variant-numeric: tabular-nums; }
.konto-preis b { font-size: 3.4rem; font-weight: 600; line-height: 0.95; letter-spacing: -0.055em; }
.konto-preis span { color: var(--t2); font-size: 14px; }
.konto .haken { flex: 1 1 auto; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--l); font-size: 15px; }
.konto--beliebt .haken li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m2.8 8.5 3.3 3.3 7.1-7.4' fill='none' stroke='%2322c58a' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.konto .btn { margin-top: 22px; }
.konto .btn-rand-hell { background: var(--weiss); border-color: transparent; }
.konto .btn-rand-hell:hover { background: var(--weiss); border-color: var(--tinte); }
.konto--beliebt .btn-primaer { background: #fff; color: var(--tinte); }
.konto--beliebt .btn-primaer:hover { background: #dfe3e1; color: var(--tinte); }
.konto--beliebt a:not(.btn):hover { color: var(--gn-gruen-hell); }
@media (max-width: 759px) {
  /* Smartphone: Konten nebeneinander zum Wischen, das nächste schaut hervor */
  .preise { grid-auto-flow: column; grid-auto-columns: min(82%, 320px); gap: 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--rand); margin-inline: calc(var(--rand) * -1); padding: 0 var(--rand) 6px; scrollbar-width: none; }
  .preise::-webkit-scrollbar { display: none; }
  .konto { scroll-snap-align: start; padding: 26px 24px 24px; }
  .konto-marke { top: 26px; right: 22px; }
}
@media (min-width: 760px) { .preise { grid-template-columns: repeat(2, 1fr); } .konto-wofuer { min-height: 3.2em; } }
@media (min-width: 1100px) { .preise { grid-template-columns: repeat(4, 1fr); } }
/* Wisch-Punkte (baut bewegung.js unter Wisch-Leisten auf dem Smartphone) */
.wischpunkte { display: flex; justify-content: center; gap: 2px; margin-top: 8px; }
.wischpunkte button { width: 30px; height: 30px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.wischpunkte button::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #c1c8c5; transition: width 0.4s var(--ruhig), background-color 0.3s; }
.wischpunkte button[aria-current="true"]::before { width: 22px; border-radius: 6px; background: var(--t); }
@media (min-width: 760px) { .wischpunkte--konten { display: none; } }
@media (min-width: 900px) { .wischpunkte--fotos { display: none; } }
/* Aktion: ein Feld mit gelbem Punkt (zeitlich begrenzt) */
.aktion-hinweis { position: relative; margin: 0 0 clamp(20px, 3vw, 32px); padding: 16px 22px 16px 44px; border-radius: 20px; background: var(--papier); font-size: 15.5px; line-height: 1.5; color: var(--t2); max-width: 58em; }
.aktion-hinweis::before { content: ""; position: absolute; left: 22px; top: calc(16px + 0.5em); width: 8px; height: 8px; border-radius: 50%; background: var(--offen); }
.aktion-hinweis strong { color: var(--t); font-weight: 600; }
.aktion-uhr { display: inline-block; margin-left: 6px; padding: 1px 10px; border-radius: 999px; background: var(--weiss); color: var(--t); font-size: 13px; font-weight: 550; white-space: nowrap; font-variant-numeric: tabular-nums; }
.preis-fuss { margin: clamp(28px, 4vw, 44px) 0 0; font-size: 14px; color: var(--t2); max-width: 62em; }
.preis-fuss a { color: var(--t); }
/* Preis je Netzanmeldung: zwei Felder nebeneinander */
.preisstufen { margin: 0; display: grid; gap: 14px; }
.preisstufen > div { padding: 26px 28px 28px; border-radius: var(--radius-gross); background: var(--f2); }
.preisstufen dt { margin-bottom: 14px; font-size: 15px; font-weight: 550; color: var(--t2); }
.preisstufen dd { margin: 0; color: var(--t2); font-size: 15px; }
.preisstufen dd b { display: block; margin-bottom: 8px; font-size: clamp(2.3rem, 4vw, 3rem); font-weight: 600; line-height: 1; letter-spacing: -0.05em; color: var(--t); }
@media (min-width: 560px) { .preisstufen { grid-template-columns: 1fr 1fr; } }

/* ── FAQ ──────────────────────────────────────────────── */
.faq details { border-bottom: 1px solid var(--l); }
.faq details:first-child { border-top: 1px solid var(--l); }
.faq summary { position: relative; cursor: pointer; list-style: none; padding: 24px 56px 24px 0; font-weight: 550; font-size: 1.12rem; line-height: 1.35; letter-spacing: -0.012em; }
.faq summary::-webkit-details-marker { display: none; }
/* runder Knopf mit Plus, das sich beim Öffnen zum Minus dreht */
.faq summary::before { content: ""; position: absolute; right: 0; top: 50%; width: 34px; height: 34px; margin-top: -17px; border-radius: 50%; background: var(--f2) linear-gradient(currentColor, currentColor) center / 13px 1.5px no-repeat; }
.faq summary::after { content: ""; position: absolute; right: 16.25px; top: 50%; width: 1.5px; height: 13px; margin-top: -6.5px; background: currentColor; transition: transform 0.45s var(--ruhig); }
.faq details[open] summary::after { transform: rotate(90deg); }
.faq summary:hover { color: var(--ja-text); }
.faq details p { color: var(--t2); max-width: 40em; padding-bottom: 12px; }
.faq details p a { color: var(--t); }
.faq details::details-content { block-size: 0; overflow: clip; transition: block-size 0.5s var(--ruhig), content-visibility 0.5s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }

/* ── Abschluss: dunkle, abgerundete Fläche ────────────── */
.cta-band { position: relative; margin: 0 var(--tafel-rand) clamp(20px, 4vw, 56px); border-radius: var(--radius-tafel); background: var(--nacht); color: #fff; --t: #fff; --t2: #a4ada9; --l: rgba(255, 255, 255, 0.16); --ja-text: var(--gn-gruen-hell); }
.cta-band .wrap { --bund: calc(var(--rand) - var(--tafel-rand)); max-width: calc(var(--breite) - 2 * var(--tafel-rand)); padding-block: clamp(72px, 10vw, 152px); }
.cta-band h2 { font-size: clamp(2.3rem, 6.4vw, 5rem); line-height: 0.98; letter-spacing: -0.048em; margin-bottom: 0.5em; max-width: 14em; }
.cta-band p { margin: 0; color: var(--t2); font-size: clamp(1.08rem, 1.7vw, 1.3rem); line-height: 1.5; max-width: 30em; }
.cta-zeile { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 48px; }
.cta-zeile p { flex: 1 1 320px; }
.cta-band .held-knoepfe { margin: 0; }

/* ── Foto-Beispiele (Zählerschrank) ───────────────────── */
.fotos { display: grid; gap: 14px; grid-auto-flow: column; grid-auto-columns: min(64%, 250px); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--rand); margin-inline: calc(var(--rand) * -1); padding: 0 var(--rand) 6px; scrollbar-width: none; }
.fotos::-webkit-scrollbar { display: none; }
.foto { margin: 0; scroll-snap-align: start; }
.foto img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 20px; background: var(--papier); }
.foto figcaption { padding: 14px 4px 0; font-size: 14px; line-height: 1.45; color: var(--t2); }
.foto figcaption b { position: relative; display: block; margin-bottom: 3px; padding-left: 16px; font-size: 15px; font-weight: 600; color: var(--t); }
.foto figcaption b::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 7px; height: 7px; border-radius: 50%; background: var(--gn-warnung); }
.foto--ok figcaption b::before { background: var(--ja); }
@media (min-width: 900px) { .fotos { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(5, 1fr); gap: 16px; overflow: visible; margin-inline: 0; padding: 0; } }

/* ── Ratgeber / Fließtext ─────────────────────────────── */
.artikel { max-width: 720px; margin-inline: auto; }
.wrap > .artikel { margin-inline: 0; }
.artikel h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); line-height: 1.04; }
.artikel h2 { font-size: clamp(1.5rem, 3vw, 1.9rem); letter-spacing: -0.03em; line-height: 1.12; margin-top: 2em; }
.artikel .einleitung { margin-bottom: 1em; }
.artikel .meta { color: var(--t2); font-size: 14px; }
.artikel ul, .artikel ol { margin: 0 0 1em; }
.artikel li { margin-bottom: 0.5em; }
.artikel a { color: var(--gn-gruen-text); }
.wrap.artikel { max-width: calc(720px + 2 * var(--rand)); }
.toc { border-radius: 20px; background: var(--papier); padding: 20px 24px; margin: 22px 0 8px; }
.toc b { display: block; margin-bottom: 6px; }
.toc ol { margin: 0; padding-left: 1.2em; }
.quelle { font-size: 14.5px; }

/* ── Checkout / Formulare ─────────────────────────────── */
.co-kopf { background: var(--weiss); border-bottom: 1px solid var(--linie); }
.co-kopf .wrap { display: flex; align-items: center; justify-content: space-between; min-height: var(--kopf-hoehe); }
.co-kopf a.zurueck { color: var(--grau); text-decoration: none; font-size: 15px; }
.co-kopf a.zurueck:hover { color: var(--tinte); }
.co-raster { display: grid; gap: 28px; padding-block: 40px 80px; }
@media (min-width: 960px) { .co-raster { grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: start; } .co-zusammen { position: sticky; top: 24px; } }
.co-zusammen { padding: 30px; border-radius: var(--radius-gross); background: var(--papier); }
.co-zusammen h2 { font-size: 1.9rem; letter-spacing: -0.035em; }
.co-test { position: relative; background: var(--weiss); border-radius: 16px; padding: 14px 16px 14px 36px; margin: 18px 0; font-size: 15px; }
.co-test::before { content: ""; position: absolute; left: 16px; top: calc(14px + 0.55em); width: 8px; height: 8px; border-radius: 50%; background: var(--gn-gruen); }
.co-test b { display: block; font-size: 1.05rem; }
.co-preis { font-size: 2.4rem; font-weight: 600; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.co-preis small { font-size: 14px; font-weight: 400; color: var(--grau); letter-spacing: 0; }
.co-daten { list-style: none; margin: 18px 0 0; padding: 0; font-size: 15px; }
.co-daten li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--linie); }
.co-daten b { font-variant-numeric: tabular-nums; text-align: right; font-weight: 600; }
.co-form { min-width: 0; }
.co-form h2 { font-size: 1.9rem; letter-spacing: -0.035em; }
.co-form a, .co-zusammen a { color: var(--gn-gruen-text); }
.feld { display: block; margin-bottom: 18px; font-weight: 550; font-size: 15px; }
.feld input, .feld select { display: block; width: 100%; margin-top: 8px; min-height: 52px; padding: 10px 16px; font: inherit; font-size: 16px; font-weight: 400; color: var(--tinte); background: #fff; border: 1px solid #b4bbb8; border-radius: var(--radius); transition: border-color 0.2s; }
.feld input:hover, .feld select:hover { border-color: var(--tinte); }
.feld input:focus, .feld select:focus { border-color: var(--tinte); outline: 2px solid var(--gn-gruen); outline-offset: 1px; }
.feld-hinweis { font-weight: 400; font-size: 13.5px; color: var(--grau); margin: -10px 0 18px; }
.feld-zeilen { display: grid; gap: 0 16px; }
@media (min-width: 640px) { .feld-zeilen--2 { grid-template-columns: 1fr 1fr; } .feld-zeilen--3 { grid-template-columns: 0.7fr 1.3fr 1fr; } }
.honig { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.haken-feld { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; margin: 8px 0 22px; }
.haken-feld input { width: 22px; height: 22px; margin-top: 2px; flex: 0 0 auto; accent-color: var(--tinte); }
.meldung { border-radius: 16px; padding: 14px 18px; margin-bottom: 18px; font-size: 15px; }
.meldung--fehler { background: var(--gn-fehler-bg); color: #7a2410; }
.meldung--hinweis { background: #fff6dd; color: #5a4300; }
#checkout-einbettung { min-height: 120px; }
.lade { color: var(--grau); padding: 28px 0; }

/* Bestätigungsseiten */
.mitte { min-height: 62vh; display: grid; place-items: center; padding-block: clamp(56px, 9vw, 120px); }
.mitte-karte { max-width: 640px; width: 100%; }
.mitte-karte .symbol { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 26px; background: #e6f4ee; color: var(--gn-gruen-text); }
.mitte-karte .symbol--hinweis { background: #fff3d1; color: var(--gn-gelb-text); }
.mitte-karte .symbol svg { width: 26px; height: 26px; }
.mitte-karte h1 { font-size: clamp(2.2rem, 5.6vw, 3.6rem); }
.mitte-karte p { color: var(--grau); font-size: 1.1rem; max-width: 34em; }
.mitte-karte .btn { margin: 10px 8px 0 0; }

/* ── Rechtstexte ──────────────────────────────────────── */
.legal-doc { max-width: 800px; margin: 0 auto; padding: clamp(48px, 7vw, 96px) var(--rand) 96px; }
.legal-head { margin-bottom: 36px; }
.legal-head h1 { font-size: clamp(2.2rem, 5.6vw, 3.6rem); margin: 0 0 18px; }
.legal-head .tag { display: block; margin: 0 0 16px; font-size: 15px; font-weight: 550; color: var(--grau); }
.legal-meta { margin-bottom: 18px; display: flex; flex-wrap: wrap; gap: 4px 10px; color: var(--grau); font-size: 14.5px; }
.legal-lead { font-size: 1.1rem; color: var(--grau); }
.legal-doc a { color: var(--gn-gruen-text); }
.legal-toc { border-radius: var(--radius-gross); background: var(--papier); padding: 26px 30px; margin: 0 0 48px; }
.legal-toc-h { font-weight: 600; margin-bottom: 12px; }
.legal-toc ol { list-style: none; margin: 0; padding: 0; columns: 1; }
@media (min-width: 720px) { .legal-toc ol { columns: 2; column-gap: 36px; } }
.legal-toc li { break-inside: avoid; margin-bottom: 6px; font-size: 15px; }
.legal-toc a { color: var(--tinte); text-decoration: none; display: flex; gap: 10px; }
.legal-toc a:hover { text-decoration: underline; }
.legal-toc .n { color: var(--grau); font-variant-numeric: tabular-nums; min-width: 2.4em; }
.legal-doc section { margin-bottom: 40px; scroll-margin-top: 96px; }
.legal-doc h2 { font-size: 1.35rem; line-height: 1.2; letter-spacing: -0.02em; text-wrap: initial; display: flex; gap: 12px; align-items: baseline; }
.legal-doc h2 .s { color: var(--gn-gruen-text); font-variant-numeric: tabular-nums; font-size: 0.9em; flex: 0 0 auto; }
.legal-doc h3 { font-size: 1.1rem; margin-top: 1.4em; }
/* lange Wörter in Paragraphen-Überschriften („Unterauftragsverarbeiter“) dürfen auf schmalen Bildschirmen trennen */
.legal-doc h2, .legal-doc h3 { overflow-wrap: anywhere; hyphens: auto; }
.legal-doc p, .legal-doc li { overflow-wrap: anywhere; }
.legal-doc .pn { font-variant-numeric: tabular-nums; color: var(--grau); }
.legal-card { border-radius: 20px; background: var(--papier); padding: 18px 22px; margin-bottom: 12px; }
.legal-card .k { display: block; font-size: 13px; color: var(--grau); margin-bottom: 4px; }
.legal-card p { margin: 0 0 4px; }
.legal-eu { border-radius: 20px; padding: 20px 24px; margin: 16px 0; background: #e9f5f0; }
.legal-eu-h { display: flex; gap: 10px; align-items: center; font-weight: 600; margin-bottom: 6px; }
.legal-eu-h svg { width: 22px; height: 22px; flex: 0 0 auto; color: var(--gn-gruen); }
.pruefen { background: #fff3b0; color: #4a3b00; padding: 0 4px; border-radius: 4px; font-weight: 650; }

/* ── Fuß: hell und ruhig ──────────────────────────────── */
.fuss { background: var(--weiss); color: var(--grau); padding: clamp(40px, 6vw, 72px) 0 32px; font-size: 15px; }
.fuss-raster { display: grid; gap: 40px 24px; grid-template-columns: 1fr 1fr; }
.fuss-raster > :first-child { grid-column: 1 / -1; max-width: 30em; }
@media (min-width: 800px) { .fuss-raster { grid-template-columns: 1.6fr 1fr 1fr 1fr; } .fuss-raster > :first-child { grid-column: auto; } }
.fuss h3 { margin-bottom: 14px; font-size: 15px; font-weight: 600; letter-spacing: 0; color: var(--tinte); }
.fuss ul { list-style: none; margin: 0; padding: 0; }
.fuss li { margin-bottom: 2px; }
.fuss li a, .fuss li button.linkknopf { display: inline-block; padding: 6px 0; }
.fuss a, .fuss button.linkknopf { color: var(--grau); text-decoration: none; transition: color 0.2s; }
.fuss a:hover, .fuss button.linkknopf:hover { color: var(--tinte); }
.fuss .logo img { height: 30px; margin-bottom: 18px; }
.fuss-unten { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--linie); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 13.5px; }
.fuss--schlank { padding: 28px 0; border-top: 1px solid var(--linie); }
.fuss--schlank .fuss-unten { margin: 0; padding: 0; border: 0; justify-content: center; }
button.linkknopf { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; text-align: left; }

/* ── Haftleiste: schwebender „Kostenlos starten“-Knopf auf dem Smartphone (steuert bewegung.js) ── */
.haftleiste { position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 60; padding: 10px 10px 10px 20px; border-radius: 999px; background: rgba(255, 255, 255, 0.96); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 0 0 1px rgba(13, 21, 18, 0.08), 0 16px 40px -12px rgba(13, 21, 18, 0.35); transform: translateY(calc(100% + 40px)); transition: transform 0.5s var(--ruhig); }
.haftleiste.sichtbar { transform: none; }
.haftleiste-innen { display: flex; align-items: center; justify-content: space-between; gap: 14px; max-width: 560px; margin-inline: auto; }
.haftleiste p { margin: 0; color: var(--grau); font-size: 13px; line-height: 1.3; }
.haftleiste p b { display: block; color: var(--tinte); font-size: 15px; font-weight: 600; }
.haftleiste .btn { min-height: 46px; padding: 0 20px; flex: 0 0 auto; }
@media (min-width: 900px) { .haftleiste { display: none; } }
@media (max-width: 899px) {
  /* solange die Haftleiste steht, weicht der gleiche Knopf im Kopf */
  .kopf-aktionen > .btn { transition: opacity 0.3s, visibility 0.3s; }
  .leiste-an .kopf-aktionen > .btn { opacity: 0; visibility: hidden; }
}

/* ── Einwilligungs-Banner ─────────────────────────────── */
.ew { position: fixed; z-index: 200; left: 0; right: 0; bottom: 0; padding: 10px 10px calc(10px + env(safe-area-inset-bottom)); pointer-events: none; }
.ew-karte { pointer-events: auto; max-width: 780px; margin-inline: auto; background: var(--weiss); color: var(--tinte); border-radius: var(--radius-gross); padding: 18px 20px; box-shadow: 0 0 0 1px rgba(13, 21, 18, 0.1), 0 24px 60px -20px rgba(13, 21, 18, 0.4); display: grid; gap: 12px; }
.ew-titel { font-weight: 600; margin: 0 0 4px; font-size: 15px; }
.ew-text { margin: 0; font-size: 13.5px; color: var(--grau); line-height: 1.45; }
.ew-text a { color: var(--tinte); }
.ew-knoepfe { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ew-btn { min-height: 44px; border-radius: 999px; border: 1px solid var(--tinte); background: transparent; color: var(--tinte); font: inherit; font-size: 15px; font-weight: 560; cursor: pointer; padding: 8px 14px; transition: background-color 0.25s, color 0.25s; }
.ew-btn:hover { background: var(--tinte); color: #fff; }
@media (min-width: 640px) { .ew { padding: 16px var(--rand) calc(16px + env(safe-area-inset-bottom)); } .ew-karte { grid-template-columns: 1fr auto; align-items: center; padding: 22px 26px; } .ew-text { font-size: 14.5px; } .ew-knoepfe { min-width: 280px; } }

/* ── Seitenwechsel: weiches Überblenden zwischen den Seiten (wo der Browser es kann), der Kopf bleibt stehen ── */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.25s; }

/* ── Einblenden beim Scrollen (nur mit .js; Endzustand ist die Vorgabe) ── */
.js [data-zeige] { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ruhig), transform 1.1s var(--ruhig); transition-delay: calc(var(--i, 0) * 90ms); }
.js [data-zeige].da { opacity: 1; transform: none; }
/* außerhalb des Bildschirms ruhen Dauer-Animationen (Klasse setzt bewegung.js) */
.ruht, .ruht *, .ruht *::before, .ruht *::after { animation-play-state: paused !important; }

noscript .meldung { margin: 16px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-zeige] { opacity: 1; transform: none; }
  @view-transition { navigation: none; }
}
@media print { .kopf, .fuss, .ew, .cta-band, .haftleiste { display: none; } .folge-buehne { position: static; } }

/* ── Dachplaner (/dachplaner/): Demo-Rahmen, Schritte, Pakete ── */
.planer-demo-label { margin-bottom: 14px; }
.planer-demo { position: relative; }
.planer-demo-platzhalter { border-radius: var(--radius-gross); overflow: hidden; background: #f3f6fb; }
.planer-demo-platzhalter img { width: 100%; height: auto; }
.planer-demo-hinweis { margin: 0; padding: 12px 18px 16px; font-size: 13.5px; color: var(--grau); }
.planer-demo.ist-aktiv .planer-demo-platzhalter { display: none; }
.planer-demo:not(.ist-aktiv) [data-gridnetz-planer] { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.planer-schritte { list-style: none; margin: clamp(32px, 4vw, 56px) 0 0; padding: 0; display: grid; gap: 0; }
.planer-schritte li { padding: 26px 0; border-top: 1px solid var(--linie); }
.planer-schritte li:last-child { border-bottom: 1px solid var(--linie); }
.planer-schritte .label { color: var(--gn-gruen-text); margin-bottom: 10px; }
.planer-schritte h3 { margin-bottom: 8px; }
.planer-schritte p { margin: 0; color: var(--grau); }
@media (min-width: 900px) {
  .planer-schritte { grid-template-columns: repeat(3, 1fr); }
  .planer-schritte li { padding: 28px 28px 28px 0; }
  .planer-schritte li + li { padding-left: 28px; border-left: 1px solid var(--linie); }
}
.planer-pakete { display: grid; gap: 14px; margin-top: clamp(28px, 4vw, 48px); max-width: 880px; margin-inline: auto; }
@media (min-width: 760px) { .planer-pakete { grid-template-columns: repeat(2, 1fr); align-items: stretch; } }
.planer-paket:not(.konto--beliebt) { background: var(--weiss); }
.planer-paket .konto-preis { margin-bottom: 14px; }
.planer-kontingent { margin: 0; font-size: 1.05rem; font-weight: 600; }
.planer-mehr { margin: 2px 0 14px; color: var(--t2); font-size: 14.5px; }
.planer-einrichtung { display: flex; justify-content: space-between; gap: 12px; margin: 0; padding: 12px 0; border-top: 1px solid var(--l); font-size: 14.5px; color: var(--t2); }
.planer-einrichtung dt, .planer-einrichtung dd { margin: 0; }
.planer-einrichtung dd { color: var(--t); font-weight: 600; }
.planer-paket .haken { margin-top: 6px; padding-top: 18px; }
.planer-bestellhinweis { margin: 22px 0 0; text-align: center; color: var(--t2); font-size: 15px; }
#pakete .preis-fuss { text-align: center; margin-inline: auto; max-width: 52em; }
@media (max-width: 759px) { .planer-pakete { grid-auto-flow: row; overflow: visible; margin-inline: 0; } }

/* ── Beleg-Band (Startseite): eine belegte Zahl, Quelle darunter ─────────────── */
.beleg { padding-block: clamp(36px, 6vw, 80px); }
.beleg-satz { margin: 0 0 12px; max-width: 30em; font-size: clamp(1.35rem, 2.6vw, 2rem); line-height: 1.25; letter-spacing: -0.03em; font-weight: 500; }
.beleg-satz b { font-weight: 650; font-variant-numeric: tabular-nums; }

/* ── Drei Leistungen: Zeilen statt Karten ───────────────────────────────────── */
.leistungen { list-style: none; margin: 0; padding: 0; }
.leistungen li { display: grid; gap: 10px; padding: clamp(24px, 3.4vw, 40px) 0; border-top: 1px solid var(--l); }
.leistungen li:last-child { border-bottom: 1px solid var(--l); }
.leistungen h3 { margin: 0; font-size: clamp(1.4rem, 2.6vw, 2rem); letter-spacing: -0.035em; line-height: 1.1; }
.leistungen p { margin: 0; color: var(--t2); max-width: 34em; }
@media (min-width: 900px) { .leistungen li { grid-template-columns: 1fr 1.3fr 14em; align-items: baseline; gap: 40px; } .leistungen .textlink { justify-self: end; } }

/* ── Vorgangsfaden (Signature-Element): Stationen eines Vorgangs, verbunden durch eine dünne grüne Linie ──
   Fertiger Zustand ist die Vorgabe; wo der Browser scrollgebundene Animation kann, wächst die Linie beim Scrollen. ── */
.faden { --faden: var(--gn-gruen); list-style: none; margin: clamp(32px, 5vw, 64px) 0 0; padding: 0; display: grid; gap: 0; counter-reset: station; }
.dunkel .faden { --faden: var(--gn-gruen-hell); }
.faden li { position: relative; padding: 0 0 30px 40px; }
.faden li:last-child { padding-bottom: 0; }
.faden li::before { content: ""; position: absolute; left: 8px; top: 18px; bottom: -2px; width: 2px; background: var(--l); }
.faden li:last-child::before { display: none; }
.faden li::after { content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; box-sizing: border-box; border-radius: 50%; border: 2px solid var(--l); background: var(--grund); }
.faden li.ist::before { background: var(--faden); }
.faden li.ist::after { border-color: var(--faden); background: var(--faden); }
.faden b { display: block; font-size: 1.1rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.3; }
.faden span { display: block; margin-top: 4px; color: var(--t2); font-size: 0.97rem; line-height: 1.45; max-width: 24em; }
@media (min-width: 860px) {
  .faden:not(.faden--danke) { grid-template-columns: repeat(5, 1fr); gap: 0 20px; }
  .faden:not(.faden--danke) li { padding: 40px 0 0; }
  .faden:not(.faden--danke) li::before { left: 0; right: -20px; top: 8px; bottom: auto; width: auto; height: 2px; }
  .faden:not(.faden--danke) li:last-child::before { display: block; right: 0; background: linear-gradient(90deg, var(--l), var(--l)); }
  .faden:not(.faden--danke) li.ist:last-child::before { background: var(--faden); }
  .faden:not(.faden--danke) li::after { top: 0; }
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .faden--lauf li.ist::before { transform-origin: left top; animation: faden-waechst linear both; animation-timeline: view(); animation-range: entry 20% cover 45%; }
    @keyframes faden-waechst { from { transform: scaleY(0); } to { transform: scaleY(1); } }
    @media (min-width: 860px) {
      .faden--lauf li.ist::before { animation-name: faden-waechst-quer; }
      @keyframes faden-waechst-quer { from { transform: scaleX(0); } to { transform: scaleX(1); } }
    }
  }
}

/* ── Formular „Zugang anfragen“ und Bestätigung ─────────────────────────────── */
.zugang { max-width: 720px; padding-block: clamp(36px, 6vw, 88px); }
.zugang-kopf h1 { font-size: clamp(2.3rem, 6vw, 3.8rem); margin-bottom: 0.3em; }
.zugang-kopf .lead { margin-bottom: 28px; }
.wa-alternative { margin: 0 0 32px; padding: 18px 20px; border: 1px solid var(--l); border-radius: 14px; }
.wa-alternative p:first-child { margin: 0 0 12px; color: var(--t2); }
.wa-alternative .wa-hinweis { margin: 10px 0 0; }
.zugang-form { margin-top: 8px; }
.schritte-leiste { list-style: none; display: flex; gap: 28px; margin: 0 0 28px; padding: 0 0 14px; border-bottom: 2px solid var(--linie); font-weight: 560; color: var(--grau); font-size: 15px; }
.schritte-leiste li { position: relative; display: flex; align-items: center; gap: 10px; }
.schritte-leiste li span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--linie); font-variant-numeric: tabular-nums; font-size: 13px; }
.schritte-leiste li.ist { color: var(--tinte); }
.schritte-leiste li.ist span { border-color: var(--gn-gruen); background: var(--gn-gruen); color: #fff; }
.schritte-leiste li[aria-current="step"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -16px; height: 2px; background: var(--gn-gruen); }
.zugang-schritt { border: 0; margin: 0; padding: 0; min-width: 0; }
.zugang-schritt[hidden] { display: none; }
.feld small, .auswahl small { font-weight: 400; color: var(--grau); }
.feld textarea { display: block; width: 100%; margin-top: 8px; padding: 12px 16px; font: inherit; font-size: 16px; font-weight: 400; color: var(--tinte); background: #fff; border: 1px solid #b4bbb8; border-radius: var(--radius); resize: vertical; min-height: 110px; }
.feld textarea:hover { border-color: var(--tinte); }
.feld textarea:focus { border-color: var(--tinte); outline: 2px solid var(--gn-gruen); outline-offset: 1px; }
.feld input[aria-invalid="true"] { border-color: var(--gn-warnung); }
.feld-fehler { display: block; margin-top: 6px; color: var(--gn-warnung); font-weight: 450; font-size: 14px; }
.haken-feld + .feld-fehler { margin: -14px 0 18px; }
.haken-feld a { color: var(--gn-gruen-text); }
.auswahl { border: 0; margin: 0 0 22px; padding: 0; min-width: 0; }
.auswahl legend { padding: 0; margin-bottom: 10px; font-weight: 550; font-size: 15px; }
.wahl { display: flex; align-items: center; gap: 12px; min-height: 52px; margin-bottom: 8px; padding: 8px 16px; border: 1px solid #b4bbb8; border-radius: var(--radius); background: #fff; cursor: pointer; font-size: 16px; }
.wahl:hover { border-color: var(--tinte); }
.wahl input { width: 20px; height: 20px; flex: 0 0 auto; accent-color: var(--gn-gruen); }
.wahl:has(input:checked) { border-color: var(--gn-gruen); box-shadow: inset 0 0 0 1px var(--gn-gruen); }
.wahl:has(input:focus-visible) { outline: 2px solid var(--gn-gruen); outline-offset: 2px; }
.auswahl--reihe { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.auswahl--reihe legend { grid-column: 1 / -1; margin-bottom: 2px; }
.auswahl--reihe .wahl { margin: 0; }
.auswahl--reihe .feld-fehler { grid-column: 1 / -1; }
@media (min-width: 640px) { .auswahl--reihe { grid-template-columns: repeat(4, 1fr); } }
.zugang-knoepfe { display: flex; gap: 12px; margin-top: 8px; }
.zugang-knoepfe .btn-primaer { flex: 1 1 auto; }
@media (max-width: 520px) { .zugang-knoepfe { flex-direction: column-reverse; } }
.zugang .btn:focus-visible, .zugang a:focus-visible { outline: 2px solid var(--gn-gruen); outline-offset: 3px; }
.faden--danke { margin-top: 12px; }
.zugang-weiter { margin-top: 36px; }
.zugang-weiter .btn { margin: 0 8px 8px 0; }
.zugang-weiter .btn[hidden] { display: none; }

/* ── Einwilligungs-Leiste: schmal am unteren Rand, deckt den ersten Bildschirm nicht mehr zur Hälfte ab ──
   Gleichwertige Knöpfe („Ablehnen“ und „Akzeptieren“ gleich groß, gleiche Form), kein Vorhaken. ── */
.ew { padding: 0; }
.ew-karte { max-width: none; border-radius: 0; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: 1fr; gap: 8px; box-shadow: 0 -1px 0 rgba(13, 21, 18, 0.12), 0 -10px 30px -12px rgba(13, 21, 18, 0.25); }
.ew-titel { font-size: 13px; margin: 0 0 2px; }
.ew-text { font-size: 12px; line-height: 1.4; }
.ew-btn { min-height: 40px; padding: 6px 14px; font-size: 14px; }
@media (min-width: 900px) {
  .ew-karte { grid-template-columns: 1fr auto; align-items: center; gap: 28px; padding: 12px max(var(--rand), calc((100vw - var(--breite)) / 2 + var(--rand))) calc(12px + env(safe-area-inset-bottom)); }
  .ew-text { font-size: 13px; max-width: 70em; }
  .ew-knoepfe { grid-template-columns: 150px 150px; }
}

/* ── Weiterleitungsseiten (alte Pfade) ───────────────────────────────────────── */
body > main > .mitte { min-height: 50vh; }

/* Zweitweg „Per WhatsApp anfragen“ (19.11.2026): Hinweis zum Anbieter direkt am Knopf */
.wa-hinweis { margin: -12px 0 18px; font-size: 0.8125rem; line-height: 1.45; color: var(--t2); }
.wa-hinweis a { text-decoration: underline; text-underline-offset: 2px; }
.cta-band .wa-hinweis { margin: 14px 0 0; color: rgba(255, 255, 255, 0.72); }
.cta-band .wa-hinweis a { color: inherit; }
.folge-fuss .wa-hinweis { margin: 12px 0 0; }

/* ── Funktionen (20.11.2026): Sprungmarken, Marken-Beispiel, Meldungs-Beispiel ── */
.funktionen-sprung { list-style: none; margin: clamp(28px, 4vw, 44px) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.funktionen-sprung a { display: inline-block; padding: 8px 14px; border-radius: 999px; background: var(--f2); color: var(--t); font-size: 14.5px; text-decoration: none; }
.funktionen-sprung a:hover { background: var(--l); }
#marke, #team, #endkunden, #anbindung, #unterlagen, #planer { scroll-margin-top: calc(var(--kopf-hoehe) + 16px); }
.vorteile-weiter { margin: clamp(28px, 4vw, 48px) 0 0; }
.marke-paar { display: grid; gap: 12px; }
@media (min-width: 560px) { .marke-paar { grid-template-columns: 1fr 1fr; } }
.marke-mail { border-radius: 14px; border: 1px solid var(--l); padding: 14px; background: var(--weiss); border-top: 4px solid var(--marke); min-width: 0; }
.marke-mail-kopf { display: flex; align-items: center; gap: 10px; }
.marke-mail-kopf b { display: block; font-size: 14.5px; }
.marke-mail-kopf small { display: block; font-size: 12px; color: var(--t2); overflow-wrap: anywhere; }
.marke-logo { flex: none; width: 34px; height: 34px; border-radius: 9px; background: var(--marke); color: #fff; font-size: 13px; font-weight: 700; display: grid; place-items: center; }
.marke-mail-betreff { margin: 12px 0 0; font-size: 14px; font-weight: 560; }
.demo figcaption { margin-top: 14px; font-size: 13px; color: var(--t2); }
.meldung { margin: 0; padding: 18px; border-radius: 12px; background: var(--nacht); color: #e8efec; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 18px; font: 14px/1.6 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.meldung dt { color: var(--gn-gruen-hell); }
.meldung dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 639px) { .merkmale--rollen { grid-template-columns: 1fr; gap: 28px; } }


/* ── Beispielakte (/netzanmeldung/, 22.11.2026): erfundener Vorgang im Aufbau der Portal-Akte (Teil „beispielakte“) ──
   Ohne JavaScript stehen alle Stufen offen untereinander; mit bewegung.js (Klasse .bereit) ist genau eine offen.
   Grün = erledigt/genehmigt, Gelb = offen/Rückfrage (Bedeutungsfarben wie überall). Zahlen in tabular-nums (.zahl). */
.bsp { margin: 0; border-radius: var(--radius-gross); background: var(--weiss); color: var(--tinte); box-shadow: 0 0 0 1px rgba(13, 21, 18, 0.06), 0 40px 70px -44px rgba(13, 21, 18, 0.4); overflow: hidden; }
.bsp-leiste { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 12px 20px; border-bottom: 1px solid var(--linie); font-size: 13px; color: var(--grau); }
.bsp-ort { font-weight: 550; }
.bsp-marke { padding: 3px 11px; border: 1px dashed #9aa39f; border-radius: 999px; color: var(--tinte); font-weight: 550; white-space: nowrap; }
.bsp-kopf { display: grid; gap: 18px; padding: 22px 20px; }
.bsp-kopf > * { min-width: 0; }
.bsp-nr { margin: 0 0 6px; font-size: 13px; color: var(--grau); }
.bsp-kopf h3 { margin: 0 0 14px; font-size: clamp(1.25rem, 2.3vw, 1.65rem); letter-spacing: -0.025em; }
.bsp-daten { display: flex; flex-wrap: wrap; gap: 10px 32px; margin: 0; font-size: 15px; }
.bsp-daten dt { font-size: 12.5px; color: var(--grau); }
.bsp-daten dd { margin: 0; font-weight: 500; }
.bsp-stand { align-self: start; padding: 16px 18px; border-radius: 16px; background: var(--papier); }
.bsp-klein { margin: 0 0 4px; font-size: 12.5px; color: var(--grau); }
.bsp-stand-titel { margin: 0 0 6px; }
.bsp-stand-titel .status { font-size: 15.5px; }
.bsp-stand-satz { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--grau); }
.bsp-raster { display: grid; border-top: 1px solid var(--linie); }
.bsp-raster > * { min-width: 0; }
.bsp-weg { padding: 22px 20px 12px; }
.bsp-seite { display: grid; gap: 14px; align-content: start; padding: 20px; background: var(--papier); }
.bsp-titel { margin: 0; font-size: 15.5px; font-weight: 600; letter-spacing: -0.01em; }
.bsp-tipp { margin: 4px 0 14px; font-size: 13.5px; color: var(--grau); }
.bsp:not(.bereit) .bsp-tipp { display: none; }
.bsp:not(.bereit) .bsp-stufen { margin-top: 14px; }
@media (min-width: 900px) {
  .bsp-leiste { padding: 13px 30px; }
  .bsp-kopf { grid-template-columns: minmax(0, 1fr) minmax(260px, 23em); gap: 32px; padding: 28px 30px; }
  .bsp-raster { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .bsp-weg { padding: 26px 30px 18px; }
  .bsp-seite { padding: 26px 26px 28px; border-left: 1px solid var(--linie); }
}
/* Stufen: senkrechte Linie durch die Marken, grün bis zur aktuellen Stufe */
.bsp-stufen { --mitte: 24px; list-style: none; margin: 0; padding: 0; }
.bsp-stufe { position: relative; }
.bsp-stufe::before { content: ""; position: absolute; left: 10px; top: 0; bottom: 0; width: 2px; background: var(--linie); }
.bsp-stufe[data-zustand="erledigt"]::before { background: var(--gn-gruen); }
.bsp-stufe[data-zustand="aktuell"]::before { background: linear-gradient(var(--gn-gruen) var(--mitte), var(--linie) var(--mitte)); }
.bsp-stufe:first-child::before { top: var(--mitte); }
.bsp-stufe:last-child::before { bottom: auto; height: var(--mitte); }
.bsp-stufe-kopf { margin: 0; font: inherit; }
.bsp-stufe-kopf button { position: relative; display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 14px; width: 100%; min-height: 48px; padding: 6px 4px 6px 0; border: 0; border-radius: 10px; background: none; color: var(--tinte); font: inherit; text-align: left; cursor: default; }
.bsp.bereit .bsp-stufe-kopf button { grid-template-columns: 22px minmax(0, 1fr) auto 12px; cursor: pointer; }
.bsp.bereit .bsp-stufe-kopf button::after { content: ""; width: 7px; height: 7px; margin-top: -4px; border-right: 1.5px solid var(--grau); border-bottom: 1.5px solid var(--grau); transform: rotate(45deg); transition: transform 0.3s var(--ruhig); }
.bsp.bereit .bsp-stufe-kopf button[aria-expanded="true"]::after { margin-top: 4px; transform: rotate(-135deg); }
.bsp.bereit .bsp-stufe-kopf button:hover .bsp-name { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.bsp-marker { position: relative; z-index: 1; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid #b4bbb8; background: var(--weiss); }
.bsp-stufe[data-zustand="erledigt"] .bsp-marker { border-color: var(--gn-gruen); background: var(--gn-gruen) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.4 8.3 2.4 2.4 4.8-5' fill='none' stroke='%23fff' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.bsp-stufe[data-zustand="aktuell"] .bsp-marker { border: 2px solid var(--gn-gruen); background: radial-gradient(circle, var(--gn-gruen) 0 4px, var(--weiss) 4.6px); box-shadow: 0 0 0 5px rgba(15, 155, 108, 0.14); }
.bsp-name { font-size: 16px; font-weight: 550; letter-spacing: -0.01em; }
.bsp-zustand { font-size: 13px; color: var(--grau); white-space: nowrap; }
.bsp-stufe[data-zustand="aktuell"] .bsp-zustand { color: var(--gn-gruen-text); font-weight: 550; }
.bsp-detail { margin: 2px 0 14px 36px; padding: 14px 16px; border-radius: 14px; background: var(--papier); font-size: 15px; line-height: 1.5; }
.bsp-detail > p { margin: 0 0 12px; }
.bsp-detail > p:last-child { margin-bottom: 0; }
.bsp-wer { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.bsp-wer li { display: grid; grid-template-columns: 8.4em minmax(0, 1fr); align-items: baseline; gap: 10px; font-size: 14.5px; line-height: 1.45; }
.bsp-rolle { justify-self: start; padding: 1px 9px; border-radius: 999px; background: var(--weiss); box-shadow: inset 0 0 0 1px var(--linie); font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.bsp-wer + .bsp-verweis { margin-top: 12px; }
.bsp-verweis { font-size: 14px; }
.bsp-verweis a { font-weight: 550; }
@media (max-width: 479px) {
  .bsp-detail { margin-left: 0; }
  .bsp-wer li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}
/* Seitenspalte: Dokumente und Rückfrage als Karten */
.bsp-karte { padding: 16px 18px 12px; border-radius: 16px; background: var(--weiss); box-shadow: 0 0 0 1px rgba(13, 21, 18, 0.06); }
.bsp-karte-kopf { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.bsp-zaehler { font-size: 13px; color: var(--grau); white-space: nowrap; }
.bsp-unterlagen { list-style: none; margin: 0; padding: 0; }
.bsp-unterlagen li { display: flex; align-items: center; gap: 10px; margin-inline: -8px; padding: 7px 8px; border-top: 1px solid var(--linie); border-radius: 8px; font-size: 14.5px; transition: background-color 0.3s; }
.bsp-unterlagen li:first-child { border-top: 0; }
.bsp-unterlagen .haekchen { font-size: 14px; }
.haekchen--offen { --an: 0; --warte: 1; }
.bsp-unterlagen em { margin-left: auto; padding-left: 8px; font-style: normal; font-size: 13px; color: var(--grau); white-space: nowrap; }
.bsp-unterlagen li:not([data-da]) em { color: var(--gn-gelb-text); font-weight: 550; }
/* gewählte Stufe: deren Unterlagen leicht hervorheben (Abgeschlossen: alle) */
.bsp.bereit[data-gewaehlt="1"] li[data-stufe="1"], .bsp.bereit[data-gewaehlt="2"] li[data-stufe="2"], .bsp.bereit[data-gewaehlt="3"] li[data-stufe="3"],
.bsp.bereit[data-gewaehlt="4"] li[data-stufe="4"], .bsp.bereit[data-gewaehlt="5"] .bsp-unterlagen li { background: rgba(15, 155, 108, 0.08); }
.bsp-rueckfrage { scroll-margin-top: calc(var(--kopf-hoehe) + 24px); }
.bsp-verlauf { list-style: none; margin: 4px 0 0; padding: 0; }
.bsp-verlauf li { position: relative; padding: 0 0 14px 22px; }
.bsp-verlauf li::before { content: ""; position: absolute; left: 0; top: 0.42em; width: 9px; height: 9px; border-radius: 50%; background: #9aa39f; }
.bsp-verlauf li::after { content: ""; position: absolute; left: 4px; top: calc(0.42em + 13px); bottom: 2px; width: 1px; background: var(--linie); }
.bsp-verlauf li:last-child { padding-bottom: 4px; }
.bsp-verlauf li:last-child::after { display: none; }
.bsp-verlauf li:has(.bsp-etikett--offen)::before { background: var(--gn-gelb); }
.bsp-etikett { font-size: 13.5px; font-weight: 600; }
.bsp-etikett--offen { color: var(--gn-gelb-text); }
.bsp-verlauf p { margin: 2px 0 0; font-size: 14px; line-height: 1.45; color: var(--grau); }
.bsp-schluss { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 32px; margin-top: clamp(28px, 4vw, 48px); }
.bsp-schluss p { margin: 0; max-width: 34em; font-size: 1.05rem; color: var(--grau); }
.bsp-schluss .held-knoepfe { margin: 0; }
#beispielakte { scroll-margin-top: calc(var(--kopf-hoehe) + 8px); }
