/* GOAT code. Farbwelt „Dunkle Werkbank“, Aufbau „Anfrage, die sich selbst baut“. */

@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-mono-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --grund: #0A0D0B;
  --flaeche: #141A16;
  --linie: #263029;
  --linie-stark: #3B4A40;
  --text: #E8EFE9;
  --leise: #9BA89E;
  --gruen: #35FF6E;
  --auf-gruen: #0A0D0B;
  --stein-leer: #2C3A31;
  --ziffer: #5F7566;
  --hinweis: #FFB454;

  --schrift: "Instrument Sans", "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", Consolas, monospace;

  --rand: clamp(16px, 4vw, 56px);
  --breite: 1328px;
  --abschnitt: clamp(72px, 10vw, 148px);

  /* Werte für das Regler-Panel (Phase 6) */
  --h1-groesse: clamp(2.5rem, 4.6vw, 4.125rem);
  --einstieg-oben: clamp(36px, 5vw, 68px);
  --ziege-breite: clamp(200px, 27vw, 400px);
  --stein-hoehe: 92px;
  --leiste-hoehe: 84px;
  --logo-breite: 336px;

  --kurve: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; scroll-padding-bottom: calc(var(--leiste-hoehe) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--grund);
  color: var(--text);
  font: 400 1.0625rem/1.55 var(--schrift);
  padding-bottom: var(--leiste-hoehe);
  scrollbar-color: var(--linie-stark) var(--grund);
  caret-color: var(--gruen);
}
::selection { background: var(--gruen); color: var(--auf-gruen); }
h1, h2, h3, p, ul, ol, dl, dd, figure, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: .22em; }
a:hover { color: var(--gruen); }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }

.rahmen { max-width: var(--breite); margin-inline: auto; padding-inline: var(--rand); }
.mono { font-family: var(--mono); font-weight: 500; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }
.leise { color: var(--leise); }
.gruen { color: var(--gruen); }
.versteckt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.sprung { position: absolute; left: var(--rand); top: -80px; background: var(--gruen); color: var(--auf-gruen); padding: 10px 16px; font-weight: 600; z-index: 30; }
.sprung:focus { top: 12px; }
.sprung:hover { color: var(--auf-gruen); }

h1, h2, h3 { font-weight: 600; text-wrap: balance; }
h1 { font-size: var(--h1-groesse); line-height: 1.03; letter-spacing: -.03em; }
h2 { font-size: clamp(1.9rem, 3.3vw, 2.875rem); line-height: 1.08; letter-spacing: -.025em; }
h3 { font-size: 1.375rem; line-height: 1.2; letter-spacing: -.01em; }
p { text-wrap: pretty; }

/* ---------- Knöpfe ---------- */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border: 0;
  background: var(--gruen); color: var(--auf-gruen);
  font-weight: 600; font-size: 1rem; text-decoration: none; white-space: nowrap;
  transition: background-color .18s var(--kurve), color .18s var(--kurve), box-shadow .18s var(--kurve);
}
.knopf:hover { background: var(--text); color: var(--auf-gruen); }
.knopf:active { background: var(--leise); }
.knopf:focus-visible { outline-color: var(--text); }
.knopf[disabled] { background: var(--stein-leer); color: var(--leise); cursor: progress; }
.knopf--rand { background: none; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--linie-stark); }
.knopf--rand:hover { background: none; color: var(--gruen); box-shadow: inset 0 0 0 1.5px var(--gruen); }

/* ---------- Kopfzeile ---------- */
.kopf { border-bottom: 1px solid var(--linie); }
.kopf__innen { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
/* Blockschrift laut Markenregel nie unter 40 px Höhe. 336 px Breite ergeben 48 px, 280 px ergeben 40 px. */
.logo { display: block; width: var(--logo-breite); margin-left: -7px; flex: none; }
.logo img { width: 100%; height: auto; }
.nav ul { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 34px); }
.nav a { color: var(--leise); text-decoration: none; font-size: .9375rem; padding: 8px 0; }
.nav a:hover, .nav a[aria-current] { color: var(--text); }
.nav .sprache { font-family: var(--mono); font-size: .75rem; letter-spacing: .1em; color: var(--gruen); }
.nav .sprache:hover { color: var(--text); }
.menue { display: none; background: none; border: 0; min-height: 44px; padding: 0; }
/* Burger aus drei eckigen Strichen, wird offen zum Kreuz */
.menue span { display: block; width: 24px; height: 2px; background: var(--text); transition: transform .2s var(--kurve), opacity .1s linear; }
.menue[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menue[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menue[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Einstieg ---------- */
.einstieg { padding-top: var(--einstieg-oben); padding-bottom: clamp(40px, 5vw, 64px); }
.einstieg__kopf { display: grid; grid-template-columns: minmax(0, 1fr) var(--ziege-breite); gap: clamp(24px, 6vw, 80px); align-items: start; }
.einstieg h1 { max-width: 12.5ch; }
.unter { font-size: 1.1875rem; line-height: 1.5; color: var(--leise); max-width: 42ch; margin-top: 22px; }

/* Leuchtrand wie beim Logo der alten Seite (dort 4 px bei 69 px Ziege), auf die Größe umgerechnet */
.ziege { width: 100%; height: auto; overflow: visible; }
/* Leerer Zustand. Große Ziege: Netz aus gleichmäßig gestrichelten Kanten. Kleine Ziegen: nur der Umriss.
   Alle Maße stehen im Raster der Ziege (1 = ein Bildpunkt der Ziege), nicht in Bildschirmpunkten. */
.ziege .netz, .ziege .umriss { fill: none; stroke: var(--gruen); stroke-linecap: square; }
.ziege .netz { stroke-width: .045; stroke-dasharray: .09 .16; stroke-linecap: butt; opacity: .6; }
.ziege .umriss { display: none; stroke-width: var(--strich, .16); opacity: .5; }
.ziege--klein .netz, .ziege--wahl .netz { display: none; }
.ziege--klein .umriss, .ziege--wahl .umriss { display: block; }
.ziege--klein .umriss { stroke: var(--linie-stark); opacity: 1; --strich: .4; }
.ziege .px { fill: transparent; transition: fill .12s steps(1, end) var(--verzug, 0ms); }
.ziege .px.an { fill: var(--gruen); }

.wahl { margin-top: clamp(36px, 5vw, 64px); }
.wahl__frage { display: flex; align-items: baseline; gap: 14px; font-size: 1.25rem; letter-spacing: -.01em; margin-bottom: 14px; }
.zusatz { font-weight: 500; margin-left: auto; }
.ziege--wahl, .zettel__stand { display: none; }   /* nur am Handy, siehe unten */
.steine { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; }
.stein {
  display: flex; flex-direction: column; justify-content: space-between; gap: 4px;
  min-height: var(--stein-hoehe); padding: 12px; text-align: left;
  background: none; border: 0; box-shadow: inset 0 0 0 1.5px var(--linie);
  font-weight: 600; font-size: 1rem; line-height: 1.2; cursor: pointer;
  transition: background-color .14s var(--kurve), color .14s var(--kurve), box-shadow .14s var(--kurve);
}
.stein small { font-family: var(--mono); font-weight: 500; font-size: .75rem; letter-spacing: .04em; text-transform: uppercase; color: var(--leise); }
.stein small.fest { color: var(--text); }
.stein:hover { box-shadow: inset 0 0 0 1.5px var(--gruen); }
.stein[aria-pressed="true"], input:checked + .stein { background: var(--gruen); color: var(--auf-gruen); box-shadow: none; }
.stein[aria-pressed="true"] small, input:checked + .stein small { color: var(--auf-gruen); }
input:focus-visible + .stein { outline: 2px solid var(--text); outline-offset: 3px; }

/* ---------- Abschnitte ---------- */
.abschnitt { padding-block: var(--abschnitt); }
.abschnitt--flaeche { background: var(--flaeche); }
.abschnitt__kopf { max-width: 46rem; margin-bottom: clamp(32px, 4vw, 56px); }
.abschnitt__kopf p { color: var(--leise); font-size: 1.1875rem; margin-top: 16px; max-width: 44ch; }

/* Grüne Fläche: der eine Satz, warum es GOAT code gibt */
.grund { background: var(--gruen); color: var(--auf-gruen); padding-block: clamp(64px, 9vw, 132px); }
.grund ::selection { background: var(--auf-gruen); color: var(--gruen); }
.grund :focus-visible { outline-color: var(--auf-gruen); }
.grund__innen { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 96px); align-items: end; }
.grund h2 { font-size: clamp(2.2rem, 5vw, 4.25rem); line-height: 1.02; letter-spacing: -.035em; max-width: 13ch; }
.grund p { font-size: 1.1875rem; line-height: 1.5; max-width: 38ch; }
.grund p + p { margin-top: 16px; font-weight: 600; }

/* Leistungen: eine Liste, Preise immer an derselben Stelle */
.leistung {
  display: grid; grid-template-columns: minmax(0, 22rem) minmax(0, 1fr) 15rem auto; gap: 12px clamp(16px, 3vw, 40px); align-items: start;
  padding-block: 26px; border-top: 1px solid var(--linie);
}
.leistung:last-child { border-bottom: 1px solid var(--linie); }
.leistung h3 { font-size: clamp(1.375rem, 2.2vw, 1.75rem); }
.leistung p { color: var(--leise); max-width: 46ch; }
.preis { font-family: var(--mono); font-weight: 500; font-size: .9375rem; letter-spacing: .03em; text-transform: uppercase; color: var(--gruen); font-variant-numeric: tabular-nums; padding-top: .35em; }
.leistung .knopf { min-height: 44px; padding: 0 18px; font-size: .9375rem; }
.leistung.gewaehlt h3 { color: var(--gruen); }
.leistung.gewaehlt .knopf { color: var(--gruen); box-shadow: inset 0 0 0 1.5px var(--gruen); }
.leistungen__schluss { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 40px; }
.leistungen__schluss p { max-width: 52ch; color: var(--leise); }
.leistungen__schluss b { color: var(--text); font-weight: 600; }

/* Für wen */
.fuerwen__spalten { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); }
.fuerwen h3 { font-size: 1.75rem; letter-spacing: -.02em; }
.fuerwen h3 + p { color: var(--leise); margin: 10px 0 22px; max-width: 34ch; }
.fuerwen li { position: relative; padding: 13px 0 13px 28px; border-top: 1px solid var(--linie-stark); }
.fuerwen li::before { content: ""; position: absolute; left: 0; top: 1.25em; width: 10px; height: 10px; background: var(--gruen); }

/* Ablauf: eine Strecke aus vier Steinen */
.schritte { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: relative; }
.schritte::before { content: ""; position: absolute; left: 0; right: 0; top: 13px; height: 2px; background: var(--linie-stark); }
.schritte::after { content: ""; position: absolute; left: 0; top: 13px; height: 2px; width: 100%; background: var(--gruen); transform-origin: left; transform: scaleX(var(--fortschritt, 1)); }
.schritt { position: relative; padding: 52px clamp(16px, 2.4vw, 36px) 0 0; }
.schritt::before { content: ""; position: absolute; left: 0; top: 0; width: 28px; height: 28px; background: var(--gruen); z-index: 1; }
/* Nebeneinander (Rechner, Tablet): Der Balken läuft einmal in 3,2 s durch, die Marken folgen im Takt.
   Untereinander (Handy, Klasse scrollt): keine Übergänge, der Balken folgt direkt dem Scrollen. */
.schritte.lebt:not(.scrollt)::after { transition: transform 3.2s linear; }
.schritte.lebt:not(.scrollt) .schritt::before { transition: background-color .01s linear var(--verzug, 0ms), box-shadow .01s linear var(--verzug, 0ms); }
/* Sobald das Skript die Strecke steuert, sind nur die erreichten Marken grün */
.schritte.lebt .schritt:not(.an)::before { background: var(--grund); box-shadow: inset 0 0 0 2px var(--linie-stark); }
.schritt b { display: block; font-family: var(--mono); font-weight: 500; font-size: clamp(2.5rem, 5vw, 4.25rem); line-height: 1; letter-spacing: -.04em; color: var(--ziffer); font-variant-numeric: tabular-nums; margin-bottom: 18px; }
.schritt h3 { margin-bottom: 10px; }
.schritt p { color: var(--leise); max-width: 30ch; }

/* Werte */
.werte__innen { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.werte__kopf { position: sticky; top: 32px; }
.werte__kopf p { color: var(--leise); font-size: 1.1875rem; margin-top: 18px; max-width: 30ch; }
.wert { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 8px 24px; padding-block: 22px; border-top: 1px solid var(--linie-stark); }
.wert dt { font-weight: 600; font-size: 1.375rem; letter-spacing: -.01em; }
.wert dd { color: var(--leise); max-width: 48ch; }
.wert dd b { color: var(--text); font-weight: 600; }

/* Fragen */
.fragen__innen { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.fragen .abschnitt__kopf { position: sticky; top: 32px; }
.fragen details { border-top: 1px solid var(--linie); }
.fragen details:last-child { border-bottom: 1px solid var(--linie); }
.fragen summary { list-style: none; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 20px 0; font-weight: 600; font-size: 1.1875rem; line-height: 1.3; cursor: pointer; }
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary::after { content: ""; flex: none; width: 14px; height: 14px; margin-top: .3em; background: linear-gradient(var(--gruen), var(--gruen)) center / 100% 2px no-repeat, linear-gradient(var(--gruen), var(--gruen)) center / 2px 100% no-repeat; transition: transform .2s var(--kurve); }
.fragen details[open] summary::after { transform: rotate(45deg); }
.fragen summary:hover { color: var(--gruen); }
.fragen details p { color: var(--leise); max-width: 60ch; padding: 0 34px 22px 0; }

/* Kundenbereich */
.kunden { border-block: 1px solid var(--linie); padding-block: clamp(40px, 5vw, 64px); }
.kunden__innen { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px clamp(24px, 5vw, 80px); align-items: baseline; }
.kunden h2 { font-size: 1.75rem; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.marke { font-family: var(--mono); font-weight: 500; font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; color: var(--auf-gruen); background: var(--gruen); padding: 4px 8px; }
.kunden p { color: var(--leise); max-width: 56ch; }

/* ---------- Anfrage: der Zettel ---------- */
.anfrage { padding-block: var(--abschnitt); }
.zettel { background: var(--flaeche); border-top: 3px dashed var(--gruen); padding: clamp(24px, 4.5vw, 56px); display: grid; grid-template-columns: minmax(0, 1fr) clamp(180px, 22vw, 300px); gap: clamp(28px, 5vw, 72px); align-items: start; }
.zettel__kopf p { color: var(--leise); font-size: 1.1875rem; margin-top: 14px; }
.zettel__ziege { position: sticky; top: 32px; }
form { margin-top: 36px; display: grid; gap: 34px; }
.schrittkopf { display: flex; align-items: baseline; gap: 14px; font-size: 1.25rem; font-weight: 600; letter-spacing: -.01em; margin-bottom: 14px; padding: 0; }
.zettel .steine { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.zettel .stein { min-height: 84px; box-shadow: inset 0 0 0 1.5px var(--linie-stark); }
.zettel .stein:hover { box-shadow: inset 0 0 0 1.5px var(--gruen); }
.zettel input:checked + .stein { box-shadow: none; }
.paar { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-weight: 600; margin-bottom: 8px; }
.field label.schrittkopf { display: flex; margin-bottom: 14px; }
.field input, .field textarea {
  width: 100%; background: var(--grund); color: var(--text); border: 1.5px solid var(--ziffer); border-radius: 0;
  font: inherit; padding: 13px 14px; transition: border-color .15s var(--kurve);
}
.field textarea { min-height: 132px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--leise); opacity: 1; }
.field input:hover, .field textarea:hover { border-color: var(--leise); }
.field input:focus, .field textarea:focus { outline: 2px solid var(--gruen); outline-offset: 2px; border-color: var(--gruen); }
.field .hilfe { color: var(--leise); font-size: .9375rem; margin-top: 8px; }
.field-error { display: none; color: var(--hinweis); font-size: .9375rem; margin-top: 8px; }
.field.has-error .field-error { display: block; }
.field.has-error input, .field.has-error textarea { border-color: var(--hinweis); }
.hp { position: absolute; left: -9999px; }
.absenden { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.absenden p { color: var(--leise); font-size: .9375rem; max-width: 44ch; }
.form-status { color: var(--hinweis); }
.form-status:empty { display: none; }
#form-wrap.is-sent form { display: none; }
#form-success { margin-top: 28px; }
#form-success:focus { outline: none; }
#form-success h3 { font-size: 1.75rem; color: var(--gruen); margin-bottom: 10px; }
.direkt { margin-top: 28px; color: var(--leise); }

/* ---------- Fußzeile ---------- */
.fuss { border-top: 1px solid var(--linie); padding-block: 44px 52px; }
.fuss__innen { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 28px; }
.fuss .logo { width: 280px; margin-bottom: 10px; }
.fuss p { color: var(--leise); font-size: .9375rem; }
.fuss ul { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.fuss li a { color: var(--leise); text-decoration: none; font-size: .9375rem; }
.fuss li a:hover { color: var(--text); }

/* ---------- Mitlaufende Leiste: Ihre Anfrage ---------- */
.leiste {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; min-height: var(--leiste-hoehe);
  background: var(--flaeche); border-top: 3px dashed var(--gruen);
  transition: transform .35s var(--kurve);
}
/* Ausgeblendet ist die Leiste auch für Tastatur und Vorleseprogramme weg */
.leiste { transition: transform .35s var(--kurve), visibility 0s; }
.leiste.weg { transform: translateY(105%); visibility: hidden; transition: transform .35s var(--kurve), visibility 0s .35s; }
.leiste__innen { display: flex; align-items: center; gap: clamp(14px, 3vw, 40px); min-height: calc(var(--leiste-hoehe) - 3px); }
/* Kleine Ziegen immer in Vielfachen von 17 px, damit jeder Bildpunkt gleich groß ist */
.leiste .ziege { width: 51px; flex: none; }
.leiste__wahl { min-width: 0; }
.leiste__wahl b { display: block; font-weight: 600; font-size: 1.125rem; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.leiste__preis { display: block; font-size: .75rem; letter-spacing: .04em; text-transform: uppercase; color: var(--leise); white-space: nowrap; }
.leiste__preis .lang:not(:empty) { display: block; margin-top: 2px; }
.leiste__preis .kurz { display: none; }
.leiste__platz { flex: 1; }
.leiste__schritt { white-space: nowrap; }
/* Sprung zu den Fragen und Antworten: quadratisch, so hoch wie der Hauptknopf */
.leiste__fragen {
  display: inline-flex; align-items: center; justify-content: center; flex: none; width: 52px; height: 52px;
  color: var(--text); font-size: 1.125rem; font-weight: 500; text-decoration: none; box-shadow: inset 0 0 0 1.5px var(--linie-stark);
  transition: color .18s var(--kurve), box-shadow .18s var(--kurve);
}
.leiste__fragen:hover { color: var(--gruen); box-shadow: inset 0 0 0 1.5px var(--gruen); }
.leiste__fragen + .knopf { margin-left: calc(-1 * clamp(14px, 3vw, 40px) + 10px); }

/* ---------- Rechtstexte ---------- */
.recht { padding-block: clamp(48px, 7vw, 96px); }
.recht h1 { font-size: clamp(2.2rem, 4vw, 3.25rem); margin-bottom: 14px; }
.recht__text { max-width: 68ch; }
.recht__text h2 { font-size: 1.375rem; letter-spacing: -.01em; margin: 36px 0 8px; }
.recht__text p { color: var(--leise); }
.recht__text p + p { margin-top: 10px; }
.recht__text hr { border: 0; border-top: 1px solid var(--linie); margin: 56px 0 8px; }

/* ---------- Schmale Bildschirme ---------- */
@media (max-width: 1100px) {
  .leiste__schritt { display: none; }
  .steine { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .leistung { grid-template-columns: minmax(0, 1fr) auto; }
  .leistung h3 { grid-column: 1; }
  .leistung p { grid-column: 1 / -1; grid-row: 2; }
  .leistung .preis { grid-column: 2; grid-row: 1; text-align: right; }
  .leistung .knopf { grid-column: 1; grid-row: 3; justify-self: start; }
  .werte__innen, .fragen__innen { grid-template-columns: 1fr; }
  .werte__kopf, .fragen .abschnitt__kopf { position: static; }
}
@media (max-width: 760px) {
  :root { --stein-hoehe: 76px; }
  body { font-size: 1rem; }
  .kopf__innen { gap: 0; }
  /* Das Logo behält 280 px (40 px Schrifthöhe) bis hinunter zu 340 px Bildschirmbreite. Die 6 px Leuchtrand links
     und rechts im Bild dürfen dafür in den Seitenrand und unter das Menü ragen. Erst darunter wird es kleiner. */
  .logo { width: min(280px, calc(100vw - 2 * var(--rand) - 32px)); margin-inline: -6px; }
  .menue { display: inline-flex; flex-direction: column; align-items: flex-end; justify-content: center; gap: 6px; min-width: 44px; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 76px; z-index: 25; background: var(--flaeche); border-bottom: 1px solid var(--linie); padding: 8px var(--rand) 16px; }
  .nav.offen { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav a { display: block; padding: 14px 0; font-size: 1.0625rem; color: var(--text); border-top: 1px solid var(--linie); }
  .nav li:first-child a { border-top: 0; }
  .kopf { position: relative; }
  .einstieg__kopf { grid-template-columns: 1fr; }
  /* Die große Ziege steht am Handy bei der Auswahl: links neben der Frage, direkt über den Feldern,
     damit man beim Antippen sieht, wie sie sich füllt. */
  .einstieg__ziege { display: none; }
  .einstieg { padding-top: 28px; padding-bottom: 36px; }
  .unter { font-size: 1.0625rem; margin-top: 16px; }
  .wahl { margin-top: 28px; }
  .wahl__kopf { display: grid; grid-template-columns: 102px minmax(0, 1fr); gap: 18px; align-items: center; margin-bottom: 16px; }
  .ziege--wahl { display: block; }
  .wahl__kopf .wahl__frage { display: grid; gap: 4px; margin: 0; font-size: 1.375rem; }
  .wahl__kopf .zusatz { margin-left: 0; }
  .steine, .zettel .steine { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grund__innen, .fuerwen__spalten, .kunden__innen, .paar { grid-template-columns: 1fr; }
  .schritte { grid-template-columns: 1fr; }
  .schritte::before, .schritte::after { left: 13px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .schritte::after { height: 100%; transform-origin: top; transform: scaleY(var(--fortschritt, 1)); }
  .schritt { padding: 0 0 36px 52px; }
  .schritt b { font-size: 2.25rem; margin-bottom: 8px; }
  .wert { grid-template-columns: 1fr; }
  .zettel { grid-template-columns: 1fr; }
  /* Die Ziege beim Formular wird zum Streifen, der oben haften bleibt, solange man im Formular ist.
     Oben statt unten, weil die Tastatur den unteren Rand verdeckt. */
  .zettel { padding-top: 0; row-gap: 20px; }
  .zettel__ziege { position: sticky; top: 0; z-index: 5; order: -1; display: flex; align-items: center; gap: 14px;
    background: var(--flaeche); padding: 12px 0; border-bottom: 2px dashed var(--linie-stark); }
  .zettel__ziege .ziege { width: 51px; flex: none; }
  /* Felder springen nicht unter den haftenden Streifen */
  .zettel input, .zettel textarea, .zettel button, .zettel .stein { scroll-margin-top: 96px; }
  /* Frage und Zusatz untereinander, wie im Einstieg */
  legend.schrittkopf { flex-wrap: wrap; }
  legend.schrittkopf .zusatz { margin-left: 0; flex-basis: 100%; }
  .zettel__ziege .netz { display: none; }
  .zettel__ziege .umriss { display: block; stroke: var(--linie-stark); opacity: 1; --strich: .3; }
  .zettel__stand { display: grid; gap: 2px; }
  .zettel__stand #zettel-stand { color: var(--text); }
  /* Leiste am Handy in zwei Zeilen: oben Auswahl und Preis, unten das Fragen-Feld und der Hauptknopf über die volle Breite */
  :root { --leiste-hoehe: 104px; }
  .leiste__schritt, .leiste__platz, .leiste__wahl > .gruen { display: none; }
  .leiste .ziege { width: 34px; justify-self: center; }
  .leiste__innen { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 8px; padding-block: 10px 12px; align-items: center; }
  .leiste__wahl { display: flex; align-items: baseline; justify-content: space-between; gap: 4px 14px; flex-wrap: wrap; }
  .leiste__wahl b { font-size: 1rem; white-space: normal; }
  .leiste__preis .lang, .leiste__preis .lang:not(:empty) { display: none; }
  .leiste__preis .kurz:not(:empty) { display: block; }
  .leiste__fragen { width: 46px; height: 46px; }
  .leiste__fragen + .knopf { margin-left: 0; }
  .leiste .knopf { min-height: 46px; padding: 0 16px; font-size: .9375rem; }
  .fuss__innen { align-items: flex-start; flex-direction: column; }
  .fuss ul { gap: 0 26px; }
  .fuss li a { display: inline-flex; align-items: center; min-height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; transition-delay: 0ms !important; }
}
