/* VEZ · K · Anfrage als Motion-Reel
 * Eine Bühne über die volle Fensterbreite. Bühne und Seitenfuß füllen zusammen genau ein Fenster: am Seitenende sitzt die Bühne
 * bündig unter der Navigationsleiste. Vier Szenen, alle auf Tinte (2026-11-07: der Wechsel hell/dunkel blitzte); Gelb gehört der Bestätigung nach dem Absenden:
 *   01 Thema     Tinte   Wortliste links, rechts ein generatives Bild auf Canvas (Punktfiguren für Website, Business Tool und Noch offen; Strömung; Netz)
 *   02 Vorhaben  Tinte   Frage und Schreibfläche
 *   03 Rahmen    Tinte   Budget und Start als Zeilen; die Auswahl ist ein gezeichneter Rahmen, der zur gewählten Angabe gleitet
 *   04 Kontakt   Tinte   Eingaben auf Linien, Absenden
 * Kein Vorspann (2026-11-07 auf Wunsch entfernt): Szene 1 steht einfach da.
 * Zwischen den Szenen ein ruhiger Wechsel (2026-11-07, statt des Pinselschnitts): Inhalt blendet aus, die neue Szene steigt leise auf.
 * Farben laufen über Variablen je Welt. Ohne Skript (kein .is-js) stehen alle Szenen in der Tintenwelt untereinander.
 * Reduced Motion: keine Schnitte, Canvas als Standbild. */
.anfrage { --bg: #131312; --fg: #EDE9E4; --mut: #A7A39B; --line: #34332F; --line2: #63615B; --btn: #FEED04; --on-btn: #1E1E1C; --sel: #FEED04; --on-sel: #1E1E1C; --bad: #FF917F; --dot: rgba(237, 233, 228, .1); --ph: #8E8A82;
  position: relative; isolation: isolate; display: grid; grid-template-rows: auto minmax(0, 1fr); min-height: calc(100svh - var(--nav) - var(--foot, 58px)); padding: 0 24px; color: var(--fg); scroll-margin-top: var(--nav); }
.anfrage[data-world="gelb"] { --bg: #FEED04; --fg: #1E1E1C; --mut: #4B4816; --line: rgba(30, 30, 28, .22); --line2: rgba(30, 30, 28, .55); --btn: #1E1E1C; --on-btn: #FEED04; --sel: #1E1E1C; --on-sel: #FEED04; --bad: #8E1D0F; --dot: rgba(30, 30, 28, .1); --ph: #5E5A14; }
.anfrage[data-world="papier"] { --bg: #EDE9E4; --fg: #1E1E1C; --mut: #5A5954; --line: #C9C4B8; --line2: #8A857B; --btn: #1E1E1C; --on-btn: #EDE9E4; --sel: #FEED04; --on-sel: #1E1E1C; --bad: #A33A2E; --dot: rgba(30, 30, 28, .09); --ph: #706D67; }
/* Tag und Nacht (heron.js setzt html[data-theme]): in der Tintenwelt nimmt die Bühne die Seitenfarben. So steht sie beim Hereinscrollen nicht als
   dunkler Block auf Papier, sondern wird mit der ganzen Seite dunkel. Ohne Skript bleibt sie fest auf Tinte. */
html[data-theme] .anfrage[data-world="ink"] { --bg: var(--paper); --fg: var(--ink); --mut: var(--ink-2); --line: var(--rule); --line2: var(--rule-2); }
/* Beim Wechsel bleibt alles stehen: Text, Linien und Zeichen nutzen die Seitenfarben und kehren sich mit der Welle um, nichts wird aus- und
   wieder eingeblendet. Gelb und die leuchtenden Punkte gehören der Nacht (unter der Welle wären sie verfälscht): außerhalb der Nacht sind Knopf,
   Auswahl, Fortschritt und Marken einfarbig, das Bild rechts ist ausgeblendet. Steht die Nacht, schaltet das Gelb ein und die Punkte erscheinen. */
html[data-szene]:not([data-szene="nacht"]) .anfrage[data-world="ink"] { --btn: var(--ink); --on-btn: var(--paper); --sel: var(--ink); --on-sel: var(--paper); }
html[data-theme] .anfrage[data-world="ink"] { --dot: color-mix(in srgb, var(--ink) 10%, transparent); }             /* auch das Punktraster geht mit der Welle mit */
html[data-theme="tag"] .anfrage[data-world="ink"] .reel__id img { filter: brightness(0); }                               /* gelbe Marke am Tag als Tintenzeichen … */
html[data-theme="nacht"]:not([data-szene="nacht"]) .anfrage[data-world="ink"] .reel__id img { filter: brightness(0) invert(.9); }   /* … im Umstellmoment hell, dann gelb */
.anfrage .next { transition: transform 220ms cubic-bezier(.2, .8, .2, 1), background-color 170ms ease, color 170ms ease; }   /* zurück zu einfarbig: zügig, vor der Welle fertig */
.anfrage :is(.thema__ok, .anfrage__now i) { transition: transform 260ms cubic-bezier(.3, 1.5, .5, 1), background-color 170ms ease; }
.anfrage .reel__time i::after { transition: transform 520ms cubic-bezier(.3, 0, .2, 1), background-color 170ms ease; }
.anfrage .viz__cap::before { transition: color 170ms ease; }
.anfrage .reel__id img { transition: filter 170ms ease; }
html[data-szene="nacht"] .anfrage .next { transition: transform 220ms cubic-bezier(.2, .8, .2, 1), background-color 520ms ease 140ms, color 520ms ease 140ms; }   /* das Gelb geht an */
html[data-szene="nacht"] .anfrage :is(.thema__ok, .anfrage__now i) { transition: transform 260ms cubic-bezier(.3, 1.5, .5, 1), background-color 520ms ease 140ms; }
html[data-szene="nacht"] .anfrage .reel__time i::after { transition: transform 520ms cubic-bezier(.3, 0, .2, 1), background-color 520ms ease 140ms; }
html[data-szene="nacht"] .anfrage .viz__cap::before { transition: color 520ms ease 140ms; }
html[data-szene="nacht"] .anfrage .reel__id img { transition: filter 520ms ease 140ms; }
html[data-szene]:not([data-szene="nacht"]) .anfrage[data-world="ink"] .viz canvas { opacity: 0; transform: scale(.97); transition: opacity 170ms ease, transform 170ms ease; }
html[data-szene="nacht"] .anfrage .viz canvas { transition: opacity 820ms ease 220ms, transform 1100ms cubic-bezier(.16, 1, .3, 1) 220ms; }   /* dann erscheinen die Punkte */
@media (prefers-reduced-motion: reduce) { .anfrage :is(.next, .thema__ok, .anfrage__now i, .viz canvas, .reel__id img), .anfrage .reel__time i::after, .anfrage .viz__cap::before { transition: none !important; } }
.anfrage::before { content: ""; position: absolute; z-index: -2; top: 0; bottom: 0; left: 50%; width: 100vw; margin-left: -50vw;   /* randlos, über das 1440er-Raster hinaus */
  background: radial-gradient(circle, var(--dot) 1px, transparent 1.6px) 0 0 / 44px 44px, var(--bg); }
.anfrage .mono { color: var(--mut); }

/* ── Kopfzeile der Bühne ── */
.reel__top { display: flex; justify-content: space-between; align-items: center; gap: 6px 24px; padding-top: 18px; }
.reel__id { display: inline-flex; align-items: center; gap: 9px; }
.reel__id img { width: 18px; height: auto; }
.anfrage[data-world="gelb"] .reel__id img { filter: brightness(0); }   /* gelbe Marke auf Gelb: als Tintenzeichen */
.anfrage__now { display: inline-flex; align-items: center; gap: 9px; }
.anfrage__now i { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--btn); }

/* ── Szenen ── */
.sheet { display: grid; grid-template-rows: minmax(0, 1fr) auto auto; min-width: 0; }
.sheet[hidden] { display: none; }
.steps { display: grid; min-width: 0; }
.step { display: grid; align-content: center; min-width: 0; padding: 24px 0; }
.step[hidden] { display: none; }
.step__q { display: block; font-family: var(--display, var(--sans)); font-weight: 800; text-transform: uppercase; letter-spacing: -.045em; line-height: .9; font-size: clamp(36px, 5vw, 76px); text-wrap: balance; }
.step__sub { margin-top: 18px; max-width: 27em; font-size: 18px; color: var(--mut); }
.q__err { margin-top: 8px; font-size: 14px; font-weight: 500; color: var(--bad); }
.q__err:empty { display: none; }
/* Auftritt nach dem Schnitt: Inhalte steigen kurz versetzt auf */
@keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes rise-leise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.step.is-in :is(.step__head, .thema, .step__q, .step__sub, textarea, .step__hint, .karte, .wer, .lines) { animation: rise-leise 440ms cubic-bezier(.2, .7, .2, 1) backwards; }
/* Ruhiger Szenenwechsel (anfrage.js, leise): solange getauscht wird, gleiten Farben hinüber statt zu springen (Tinte und Papier) */
.anfrage.is-tausch, .anfrage.is-tausch::before, .anfrage.is-tausch *, .anfrage.is-tausch *::before, .anfrage.is-tausch *::after { transition: color 360ms ease, background-color 360ms ease, border-color 360ms ease, fill 360ms ease, stroke 360ms ease !important; }
.step.is-in :is(.step__sub, textarea, .karte, .lines) { animation-delay: 70ms; }
.step.is-in :is(.step__hint, .wer) { animation-delay: 130ms; }
.step.is-in .thema:nth-child(1) { animation-delay: 50ms; } .step.is-in .thema:nth-child(2) { animation-delay: 95ms; } .step.is-in .thema:nth-child(3) { animation-delay: 140ms; } .step.is-in .thema:nth-child(4) { animation-delay: 185ms; } .step.is-in .thema:nth-child(5) { animation-delay: 230ms; }

/* 01 · Thema: Wortliste links, generatives Bild rechts (ohne Überlappung) */
.step--thema { --row: clamp(46px, calc((100svh - var(--nav) - var(--foot, 58px) - 258px) / 5), 116px);
  grid-template-columns: minmax(0, 52fr) minmax(0, 48fr); align-content: stretch; gap: 0 32px; padding: 16px 0; }
.step--thema > .step__l { display: grid; align-content: center; min-width: 0; }
.step__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; margin-bottom: 14px; }
.anfrage h2 { font-family: var(--display, var(--sans)); font-weight: 800; text-transform: uppercase; letter-spacing: -.045em; line-height: 1; font-size: clamp(18px, 1.7vw, 24px); }   /* gleiche Laufweite wie die Titelzeichnung: die Zeilen landen deckungsgleich */
.themen { container-type: inline-size; border-bottom: 1px solid var(--line); }
.thema { position: relative; display: grid; grid-template-columns: 30px minmax(0, 1fr) 32px; align-items: center; column-gap: 14px; height: var(--row); border-top: 1px solid var(--line); cursor: pointer; -webkit-tap-highlight-color: transparent; transition: opacity 200ms ease; }
.thema input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.thema__no { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: var(--mut); transition: color 160ms ease; }
.thema__w { font-family: var(--display, var(--sans)); font-weight: 800; line-height: .9; letter-spacing: -.045em; text-transform: uppercase; white-space: nowrap; transition: transform 300ms cubic-bezier(.2, .7, .2, 1), color 160ms ease;
  font-size: min(5vw, calc(var(--row) * .7));
  font-size: min(calc((100cqw - 96px) / 8.1), calc(var(--row) * .7)); }   /* das längste Wort („Business Tool" ≈ 7,9 em) passt immer in die Spalte */
.thema__ok { justify-self: end; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--sel); transform: scale(0); transition: transform 260ms cubic-bezier(.3, 1.5, .5, 1); }
.thema__ok svg { width: 16px; height: 16px; }
.thema__ok path { fill: none; stroke: var(--on-sel); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 220ms ease 140ms; }
@media (hover: hover) {
  .themen:hover .thema:not(:hover) { opacity: .38; }
  .thema:hover .thema__w { transform: translateX(12px); }
}
.thema input:checked ~ .thema__w, .thema input:checked ~ .thema__no { color: var(--sel); }
.thema input:checked ~ .thema__ok { transform: none; }
.thema input:checked ~ .thema__ok path { stroke-dashoffset: 0; }
.thema input:focus-visible ~ .thema__w { outline: 2px solid var(--fg); outline-offset: 6px; }
.viz { position: relative; min-width: 0; min-height: 0; pointer-events: none; }
.viz canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.viz__cap { position: absolute; right: 0; bottom: 0; max-width: 100%; text-align: right; color: var(--fg) !important; }
.viz__cap:empty { display: none; }
.viz__cap::before { content: "↳ "; color: var(--btn); }
.anfrage:not(.is-js) .step--thema { grid-template-columns: minmax(0, 1fr); }
.anfrage:not(.is-js) :is(.viz, .reel__time, .step__hint span:first-child) { display: none; }

/* 02 · Vorhaben: Schreibfläche auf Linien */
.sheet textarea { display: block; width: min(100%, 980px); min-height: calc(4 * 46px); max-height: calc(7 * 46px); margin: 26px 0 0; padding: 0; border: 0; border-radius: 0; resize: none; overflow-y: auto; field-sizing: content;
  background: linear-gradient(to bottom, transparent 45px, var(--line2) 45px) 0 0 / 100% 46px local; color: var(--fg); font: 500 clamp(20px, 2vw, 27px)/46px var(--sans); letter-spacing: -.015em; outline: none; caret-color: var(--fg); }
.sheet ::placeholder { color: var(--ph); opacity: 1; font-weight: 400; }
.step__hint { display: flex; justify-content: space-between; gap: 16px; width: min(100%, 980px); margin-top: 12px; }
.step--vorhaben.is-bad textarea { background-image: linear-gradient(to bottom, transparent 44px, var(--bad) 44px); }
@media (hover: none) { .step__hint span:first-child { visibility: hidden; } }
@media (max-height: 700px) { .sheet textarea { min-height: calc(3 * 46px); } }

/* 03 · Rahmen: keine Karte, keine gefüllten Pills. Budget und Start stehen als zwei Zeilen auf der Bühne, in ihren Farben und auf Haarlinien wie die
   Themenliste. Die Angaben sind Schrift; gewählt wird mit einem gezeichneten Rahmen (.rahmen, heron.css), den anfrage.js je Gruppe anlegt und der zur
   gewählten Angabe gleitet. Ohne Skript rahmt eine einfache Linie die Wahl. */
.step--rahmen, .step--kontakt { grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); align-items: center; gap: 36px 72px; }
.karte { border-top: 1px solid var(--line); }
.karte__bar { display: flex; justify-content: space-between; gap: 16px; padding-top: 12px; }
.pillset { padding: 16px 0 14px; border-bottom: 1px solid var(--line); }
.pillset__l { display: block; margin-bottom: 2px; font-size: 14px; color: var(--mut); }
.pills { position: relative; display: flex; flex-wrap: wrap; gap: 2px 4px; margin: 0 -14px; }
.pill { position: relative; display: inline-flex; }
.pill input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.pill span { display: inline-flex; align-items: center; height: 46px; padding: 0 14px; font-size: clamp(17px, 1.5vw, 20px); font-weight: 500; letter-spacing: -.015em; white-space: nowrap; color: var(--mut); transition: color 180ms ease; user-select: none; }
.pill:hover span, .pill input:checked + span { color: var(--fg); }
.pill input:focus-visible + span { outline: 2px solid var(--fg); outline-offset: -3px; }
.pills .rahmen { --c: var(--sel); --o: 6px; }
.anfrage:not(.is-js) .pill input:checked + span { box-shadow: inset 0 0 0 1px var(--sel); }

/* 04 · Kontakt: Eingaben auf einer Linie, die sich im Fokus nachzieht */
.lines { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 26px 32px; }
.line { display: grid; align-content: start; }
.line label { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 14px; color: var(--mut); transition: color 160ms ease; }
.line label em { font-size: 12px; font-style: normal; }
.line__in { position: relative; display: block; }
.line input { display: block; width: 100%; height: 48px; margin: 0; padding: 0 26px 0 0; border: 0; border-bottom: 1px solid var(--line2); border-radius: 0; background: transparent; color: var(--fg); font: 500 22px/1.2 var(--sans); letter-spacing: -.015em; outline: none; caret-color: var(--btn); }
.line__in::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--btn); transform: scaleX(0); transform-origin: left; transition: transform 300ms cubic-bezier(.3, 0, .2, 1); }
.line:focus-within .line__in::after { transform: none; }
/* Passt die Eingabe, zeichnet sich rechts ein Haken (erst, wenn das Feld verlassen ist) */
.line__ok { position: absolute; right: 0; top: 50%; width: 18px; height: 18px; margin-top: -9px; pointer-events: none; }
.line__ok svg { display: block; width: 100%; height: 100%; }
.line__ok path { fill: none; stroke: var(--fg); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 150ms ease; }
.line input:valid:not(:placeholder-shown):not(:focus) ~ .line__ok path { stroke-dashoffset: 0; transition: stroke-dashoffset 320ms cubic-bezier(.3, .7, .1, 1) 80ms; }
.line.is-bad .line__ok { display: none; }
.line:focus-within label { color: var(--fg); }
.line input:-webkit-autofill, .line input:-webkit-autofill:focus { -webkit-text-fill-color: var(--fg); box-shadow: inset 0 0 0 100px var(--bg); caret-color: var(--btn); }
.line.is-bad input { border-bottom-color: var(--bad); }
.line.is-bad label { color: var(--bad); }
.wer { display: flex; align-items: center; gap: 16px; margin-top: 30px; }
.wer__pics { display: flex; flex: none; }
.wer__pics img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; background: var(--paper); box-shadow: 0 0 0 3px var(--bg); }
.wer__pics img + img { margin-left: -14px; }
.wer p { max-width: 30em; font-size: 14px; line-height: 1.45; color: var(--mut); }
.wer strong { display: block; margin-bottom: 1px; font-size: 16px; font-weight: 600; color: var(--fg); }
.wer a, .sheet__status a { color: var(--fg); border-bottom: 1px solid var(--line2); transition: border-color 160ms ease; }
.wer a:hover { border-color: var(--fg); }

/* Honeypot */
.sheet__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ── Steuerleiste: Zeitleiste links, Zurück/Weiter rechts ── */
.sheet__status { font-size: 15px; color: var(--fg); }
.sheet__status:not(:empty) { padding-bottom: 14px; }
.sheet__status.is-bad { color: var(--bad); }
.sheet__status a { border-bottom-color: currentColor; }
.sheet__status button { margin-left: 12px; padding: 7px 14px; border: 1px solid var(--fg); border-radius: 999px; background: none; color: var(--fg); font: inherit; font-size: 14px; cursor: pointer; }
.reel__nav { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 14px 40px; padding: 14px 0 20px; border-top: 1px solid var(--line); }
.reel__time { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; max-width: 560px; }
.reel__time button { display: grid; gap: 8px; width: 100%; margin: 0; padding: 8px 0 4px; border: 0; background: none; color: var(--mut); font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; text-align: left; cursor: pointer; }
.reel__time button:disabled { cursor: default; }
.reel__time i { position: relative; display: block; height: 2px; overflow: hidden; background: linear-gradient(var(--line2), var(--line2)) 0 100% / 100% 1px no-repeat; }   /* Haarlinie; der Fortschritt liegt als feiner Strich darauf */
.reel__time i::after { content: ""; position: absolute; inset: 0; background: var(--btn); transform: scaleX(0); transform-origin: left; transition: transform 520ms cubic-bezier(.3, 0, .2, 1); }
.reel__time .is-done i::after, .reel__time .is-cur i::after { transform: none; }
.reel__time .is-cur button { color: var(--fg); }
.reel__time button:not(:disabled):hover { color: var(--fg); }
.reel__time button:focus-visible, .back:focus-visible, .next:focus-visible { outline: 2px solid var(--fg); outline-offset: 4px; }
.reel__btns { display: flex; justify-content: flex-end; align-items: center; gap: 10px; }
.back, .next { height: 54px; margin: 0; border-radius: 999px; font-family: var(--mono); font-size: 12.5px; font-weight: 500; letter-spacing: .13em; text-transform: uppercase; cursor: pointer; -webkit-appearance: none; appearance: none; }
.back { padding: 0 16px 0 8px; border: 0; background: none; color: var(--mut); transition: color 160ms ease; }   /* ohne Rahmen: nur Schrift und Pfeil */
.back span { display: inline-block; margin-right: 4px; transition: transform 240ms cubic-bezier(.2, .8, .2, 1); }
.back:hover { color: var(--fg); }
.back:hover span { transform: translateX(-4px); }
.back[hidden] { display: none; }
.next { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; gap: 30px; padding: 0 24px 0 28px; border: 0; background: var(--btn); color: var(--on-btn); white-space: nowrap; transition: transform 220ms cubic-bezier(.2, .8, .2, 1); }
.next:hover { transform: scale(1.03); }
.next:active { transform: scale(.97); }
.next__arr { font: 400 22px/1 var(--sans); transition: transform 240ms cubic-bezier(.2, .8, .2, 1); }
.next:hover .next__arr { transform: translateX(6px); }
.next[aria-busy="true"] { cursor: progress; }
.next[aria-busy="true"]::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(30, 30, 28, .22); transform-origin: left; animation: next-busy 1.15s cubic-bezier(.4, 0, .2, 1) infinite; }   /* läuft wie ein Renderbalken durch den Knopf */
@keyframes next-busy { 0% { transform: scaleX(0); } 70% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }

/* ── Bestätigung (Gelbwelt) ── */
.sheet-done { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: center; gap: 40px 72px; padding: 30px 0; scroll-margin-top: calc(var(--nav) + 24px); }
.sheet-done[hidden] { display: none; }
.sheet-done__main { display: grid; justify-items: start; gap: 18px; }
.sheet-done h3 { font-family: var(--display, var(--sans)); font-weight: 800; text-transform: uppercase; letter-spacing: -.045em; line-height: .9; font-size: clamp(36px, 5.4vw, 80px); max-width: 13ch; outline: none; }
.sheet-done p { max-width: 30em; font-size: 20px; color: var(--mut); }
.sheet-done strong { color: var(--fg); font-weight: 600; }
.sheet-done__ref { font-family: var(--mono); font-size: 11px !important; letter-spacing: .08em; }
.sheet-done__ref:empty { display: none; }
.sheet-done__btn { height: 50px; margin-top: 10px; padding: 0 24px; border: 1.5px solid var(--fg); border-radius: 999px; background: none; color: var(--fg); font: 500 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; cursor: pointer; transition: background-color 180ms ease, color 180ms ease; }
.sheet-done__btn:hover { background: var(--fg); color: var(--bg); }
.sheet-done__btn:focus-visible { outline: 2px solid var(--fg); outline-offset: 4px; }
.sheet-done.is-in .sheet-done__main > *, .sheet-done.is-in .weg li { animation: rise 520ms cubic-bezier(.2, .7, .2, 1) backwards; }
.sheet-done.is-in .sheet-done__main > *:nth-child(2) { animation-delay: 60ms; } .sheet-done.is-in .sheet-done__main > *:nth-child(3) { animation-delay: 120ms; } .sheet-done.is-in .sheet-done__main > *:nth-child(n+4) { animation-delay: 180ms; }
.sheet-done.is-in .weg li:nth-child(1) { animation-delay: 160ms; } .sheet-done.is-in .weg li:nth-child(2) { animation-delay: 230ms; } .sheet-done.is-in .weg li:nth-child(3) { animation-delay: 300ms; }
.weg { border-top: 2px solid var(--fg); }
.weg li { display: grid; grid-template-columns: 46px minmax(0, 1fr); align-items: baseline; gap: 2px 0; padding: 18px 0 19px; border-bottom: 1px solid var(--line2); }
.weg__no { grid-row: 1 / span 2; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: var(--mut); }
.weg b { font-size: 24px; font-weight: 700; letter-spacing: -.025em; line-height: 1.1; }
.weg li > span:last-child { font-size: 15px; color: var(--mut); }

/* ── Schnittlage ── */
.cut { position: absolute; z-index: 9; top: 0; bottom: 0; left: 50%; width: 100vw; margin-left: -50vw; overflow: hidden; pointer-events: none; }
.cut[hidden] { display: none; }
.cut__band { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; clip-path: inset(0 0 100% 0); }
.cut__word { position: relative; font-family: var(--display, var(--sans)); font-weight: 800; font-size: 100px; line-height: .86; letter-spacing: -.05em; text-transform: uppercase; white-space: nowrap; opacity: 0; }
.cut__wall { position: absolute; inset: -20% 0; display: grid; align-content: center; opacity: 0; }
.cut__wall span { display: block; white-space: nowrap; font-family: var(--display, var(--sans)); font-weight: 800; line-height: .9; letter-spacing: -.05em; text-transform: uppercase; color: transparent; -webkit-text-stroke: 1.5px var(--c, currentColor); }
.cut__wall span:nth-child(odd) { transform: translateX(-9%); }

/* ── Fuß der Startseite: gehört zur dunklen Bühne und trägt den direkten Kontakt ── */
.foot--ink { position: relative; isolation: isolate; align-items: center; min-height: 58px; padding: 14px 24px; gap: 8px 28px; color: #A7A39B; }
.foot--ink::before { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: 50%; width: 100vw; margin-left: -50vw; background: #131312; border-top: 1px solid #34332F; }
.foot__direkt { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.foot--ink .foot__direkt a { color: #EDE9E4; border-bottom: 1px solid #63615B; transition: border-color 160ms ease; }
.foot--ink .foot__direkt a:hover { border-color: #EDE9E4; }
.foot--ink .foot__links a { color: #A7A39B; }
.foot--ink .foot__links a:hover { color: #EDE9E4; }
/* Mit Tag und Nacht folgt der Fuß der Seite (ohne Skript bleibt er auf Tinte) */
html[data-theme] .foot--ink { color: var(--ink-2); }
html[data-theme] .foot--ink::before { background: var(--paper); border-top-color: var(--rule); }
html[data-theme] .foot--ink .foot__direkt a { color: var(--ink); border-bottom-color: var(--rule-2); }
html[data-theme] .foot--ink .foot__direkt a:hover { border-color: var(--ink); }
html[data-theme] .foot--ink .foot__links a { color: var(--ink-2); }
html[data-theme] .foot--ink .foot__links a:hover { color: var(--ink); }
.foot--ink, .foot--ink::before, .foot--ink a { transition: color 420ms ease, background-color 420ms ease, border-color 420ms ease; }

@media (max-width: 980px) {
  /* Szene 1 gestapelt: Bild oben, Liste darunter */
  .step--thema { --row: clamp(48px, calc((100svh - var(--nav) - var(--foot, 110px) - 22svh - 244px) / 5), 72px);
    grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(120px, 22svh) auto; gap: 8px; padding: 10px 0 14px; }
  .step--thema > .viz { order: -1; }
  .viz__cap { display: none; }
}
@media (max-width: 860px) {
  .anfrage { padding: 0 20px; }
  .reel__top { padding-top: 14px; }
  .reel__id { display: none; }
  .step { padding: 18px 0; }
  .step__q { font-size: clamp(32px, 10vw, 58px); }
  .step__sub { font-size: 16px; margin-top: 12px; }
  .thema { grid-template-columns: 24px minmax(0, 1fr) 28px; column-gap: 10px; }
  .thema__w { font-size: min(8vw, calc(var(--row) * .66)); font-size: min(calc((100cqw - 76px) / 8.1), calc(var(--row) * .66)); }
  .thema__ok { width: 26px; height: 26px; }
  .step--rahmen, .step--kontakt { grid-template-columns: minmax(0, 1fr); align-content: center; gap: 24px; }
  .pills { margin: 0 -10px; } .pill span { padding: 0 10px; font-size: 17px; } .pills .rahmen { --o: 5px; }
  .lines { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .wer { margin-top: 20px; }
  .sheet textarea { margin-top: 20px; min-height: calc(4 * 40px); max-height: calc(7 * 40px); background-size: 100% 40px; background-image: linear-gradient(to bottom, transparent 39px, var(--line2) 39px); font-size: 19px; line-height: 40px; }
  .step--vorhaben.is-bad textarea { background-image: linear-gradient(to bottom, transparent 38px, var(--bad) 38px); }
  .reel__nav { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 8px 0 14px; }
  .reel__time { max-width: none; }
  .reel__time span { display: none; }
  .reel__time button { padding: 10px 0 8px; }
  .reel__btns { display: grid; grid-template-columns: auto minmax(0, 1fr); }
  .reel__btns .back[hidden] + .next { grid-column: 1 / -1; }
  .back, .next { height: 56px; }
  .next { justify-content: space-between; gap: 18px; padding: 0 22px 0 24px; }
  .sheet-done { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 28px 0 24px; }
  .sheet-done h3 { font-size: clamp(32px, 10vw, 60px); }
  .sheet-done p { font-size: 18px; }
  .foot--ink { padding: 14px 20px 16px; }
}
@media (forced-colors: active) { .thema input:checked ~ .thema__w, .pill input:checked + span { outline: 3px solid Highlight; outline-offset: -3px; } .line input, .sheet textarea { border-bottom: 1px solid CanvasText; } }
@media (prefers-reduced-motion: reduce) {
  .step.is-in *, .sheet-done.is-in * { animation: none !important; }
  .thema, .thema__w, .thema__ok, .thema__ok path, .pill span, .line__ok path, .back span, .line__in::after, .reel__time i::after, .next, .next__arr { transition: none; }
  .next[aria-busy="true"]::after { animation: none; transform: none; opacity: .5; }
}
