/* funnel.css - Betriebs-Check kreis.systems. ERZEUGT aus marke.css (Kreis
   Systems) und gemeinsam/basis.css, siehe bauen.sh. Leitbild der Website:
   Papier und Tinte, keine eigene Buntfarbe; Auswahl ist Tinte auf Papier
   umgekehrt. */
@font-face { font-family: "Chivo"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("fonts/chivo-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Chivo"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("fonts/chivo-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --schrift: "Chivo", "Segoe UI", system-ui, -apple-system, sans-serif;
  --schrift-mono: "Chivo", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --grund: #FAF7F3; --flaeche: #FEFDFB; --text: #1D1A14; --text-2: #3F3C36; --gedimmt: #5D5A55;
  --linie: #D6D4CF; --linie-stark: #83807A;
  --akzent-text: #1A609E; --fokus: #1A609E; --fokus-ring: rgba(26, 96, 158, 0.18);
  --balken: #1D1A14;
  --knopf-grund: #1D1A14; --knopf-text: #FAF7F3; --schatten: rgba(29, 26, 20, 0.45);
  --auswahl-grund: #1D1A14; --auswahl-text: #FAF7F3; --auswahl-text-2: #C9C5BD; --auswahl-symbol: #3A3730;
  --symbol-grund: #EFEBE4; --symbol-text: #1D1A14;
  --haken: #1D1A14; --haken-grund: #FEFDFB;
  --vorschau-grund: #1D1A14; --vorschau-text: #FAF7F3; --vorschau-text-2: #C9C5BD; --vorschau-chip: rgba(250, 247, 243, 0.12);
  --marke-grund: #1D1A14; --marke-text: #FAF7F3;
  --fehler: #AD3237; --fehler-grund: #F7E3E3;
  --radius: 12px; --radius-feld: 8px; --radius-knopf: 999px;
  --kurve: cubic-bezier(0.22, 1, 0.36, 1);
  --haken-bild: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%231D1A14' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --haken-bild-voll: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23FAF7F3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --haken-bild-auswahl: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%231D1A14' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --schloss-bild: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Crect x='3' y='7' width='10' height='7' rx='1.5' fill='none' stroke='%235D5A55' stroke-width='1.4'/%3E%3Cpath d='M5.5 7V5a2.5 2.5 0 0 1 5 0v2' fill='none' stroke='%235D5A55' stroke-width='1.4'/%3E%3C/svg%3E");
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --grund: #110F0A; --flaeche: #1A1813; --text: #EAE7E2; --text-2: #CFCBC4; --gedimmt: #A19E98;
    --linie: #3A3832; --linie-stark: #77746D;
    --akzent-text: #76BAFE; --fokus: #76BAFE; --fokus-ring: rgba(118, 186, 254, 0.22);
    --balken: #EAE7E2;
    --knopf-grund: #EAE7E2; --knopf-text: #110F0A; --schatten: rgba(0, 0, 0, 0.7);
    --auswahl-grund: #EAE7E2; --auswahl-text: #110F0A; --auswahl-text-2: #4A4740; --auswahl-symbol: #D3CFC8;
    --symbol-grund: #26231D; --symbol-text: #EAE7E2;
    --haken: #EAE7E2; --haken-grund: #1A1813;
    --vorschau-grund: #EAE7E2; --vorschau-text: #110F0A; --vorschau-text-2: #4A4740; --vorschau-chip: rgba(17, 15, 10, 0.1);
    --marke-grund: #EAE7E2; --marke-text: #110F0A;
    --fehler: #F08A8E; --fehler-grund: #331A1B;
    --haken-bild: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23EAE7E2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    --haken-bild-voll: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23110F0A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    --haken-bild-auswahl: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23EAE7E2' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    color-scheme: dark;
  }
}
/* basis.css - gemeinsamer Aufbau der Funnels. Farben und Schriften kommen
   aus dem Markenblock davor (Tokens). Bewegung nur ueber transform und
   opacity; prefers-reduced-motion schaltet sie ab. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--grund); color: var(--text);
  font: 400 16px/1.55 var(--schrift); min-height: 100vh; display: flex; flex-direction: column;
}
.rahmen { width: 100%; max-width: 760px; margin: 0 auto; padding-inline: max(16px, env(safe-area-inset-left)); }
main.rahmen { flex: 1; padding-block: 8px 48px; }
a { color: inherit; text-underline-offset: 3px; }
a:hover { color: var(--akzent-text); }
:focus-visible { outline: 2px solid var(--fokus); outline-offset: 3px; }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; }
p { margin: 0; }
strong { font-weight: 700; }
[hidden] { display: none !important; }

.zum-inhalt { position: absolute; left: -9999px; }
.zum-inhalt:focus { left: 16px; top: 16px; z-index: 9; background: var(--flaeche); padding: 8px 12px; }

/* Kopf und Fuss */
.kopf { border-bottom: 1px solid var(--linie); padding-top: env(safe-area-inset-top, 0px); }
.kopf-innen { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; flex-wrap: wrap; }
.wortmarke { font-weight: 800; text-decoration: none; letter-spacing: -0.01em; font-size: 17px; display: inline-flex; align-items: center; gap: 8px; }
.kopf-telefon { font-size: 13px; color: var(--gedimmt); }
.kopf-telefon strong { color: var(--text); font-variant-numeric: tabular-nums; }
.fuss { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-block: 20px calc(20px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--linie); font-size: 13px; color: var(--gedimmt); }
.ohne-js { padding-block: 48px; display: grid; gap: 12px; }

/* Fortschritt */
.fortschritt { display: flex; align-items: center; gap: 14px; padding-block: 22px 8px; }
.fortschritt-schiene { flex: 1; height: 6px; border-radius: 99px; background: var(--linie); overflow: hidden; position: relative; }
.fortschritt-balken {
  position: absolute; inset: 0; border-radius: inherit; background: var(--balken);
  transform-origin: left center; transform: scaleX(var(--anteil, 0.04));
  transition: transform 620ms var(--kurve);
}
.fortschritt-text { font: 500 12px/1 var(--schrift-mono); letter-spacing: 0.04em; color: var(--gedimmt); white-space: nowrap; font-variant-numeric: tabular-nums; min-width: 9ch; text-align: right; }

/* Buehne und Schrittwechsel */
.buehne { position: relative; padding-block: 18px 8px; outline: none; }
.schritt { display: grid; gap: 18px; opacity: 0; transform: translateX(28px); transition: opacity 320ms var(--kurve), transform 420ms var(--kurve); }
.schritt.von-links { transform: translateX(-28px); }
.schritt.da { opacity: 1; transform: none; }
.schritt.raus { opacity: 0; transform: translateX(-28px); transition-duration: 180ms; }
.schritt.raus-rechts { opacity: 0; transform: translateX(28px); transition-duration: 180ms; }
.schritt h1:focus, .schritt h2:focus { outline: none; }

.eyebrow { font: 600 12px/1.2 var(--schrift-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--gedimmt); }
.frage { font-size: clamp(24px, 4.6vw, 32px); line-height: 1.15; font-weight: 800; letter-spacing: -0.015em; }
.hinweis { color: var(--gedimmt); margin-top: -8px; }
.lead { font-size: clamp(17px, 2.4vw, 19px); color: var(--text-2); max-width: 58ch; }
.klein { font-size: 13px; color: var(--gedimmt); max-width: 60ch; }

/* Einstieg */
.intro { display: grid; gap: 18px; padding-block: 12px 8px; }
.intro h1 { font-size: clamp(32px, 6.4vw, 50px); line-height: 1.04; font-weight: 800; letter-spacing: -0.025em; max-width: 18ch; }
.zusagen { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.zusagen li { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; }
.zusagen li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: var(--haken-grund); box-shadow: inset 0 0 0 1px var(--haken); background-image: var(--haken-bild); background-size: 12px; background-position: center; background-repeat: no-repeat; }

/* Knoepfe */
.knopf {
  appearance: none; border: 0; cursor: pointer; font: 700 16px/1 var(--schrift);
  background: var(--knopf-grund); color: var(--knopf-text); padding: 16px 24px; border-radius: var(--radius-knopf);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px;
  transition: transform 160ms var(--kurve), background-color 160ms, box-shadow 200ms;
  justify-self: start;
}
.knopf:hover { transform: translateY(-1px); box-shadow: 0 6px 18px -8px var(--schatten); }
.knopf:active { transform: translateY(0) scale(0.98); }
.knopf:disabled { opacity: 0.4; cursor: not-allowed; transform: none; box-shadow: none; }
.knopf.gross { font-size: 18px; padding: 20px 30px; min-height: 60px; }
.knopf.gross::after { content: "→"; transition: transform 200ms var(--kurve); }
.knopf.gross:hover::after { transform: translateX(4px); }
.knopf.leise { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--linie-stark); }
.knopf.laedt { position: relative; color: transparent; }
.knopf.laedt::before { content: ""; position: absolute; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--knopf-text); border-right-color: transparent; animation: drehen 700ms linear infinite; }
.zurueck { appearance: none; background: none; border: 0; cursor: pointer; font: 500 15px/1 var(--schrift); color: var(--gedimmt); padding: 14px 4px; display: inline-flex; align-items: center; gap: 6px; }
.zurueck::before { content: "←"; }
.zurueck:hover { color: var(--text); }
.leiste { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; min-height: 52px; }
.leiste .knopf { margin-left: auto; }

/* Antworten */
.optionen { display: grid; gap: 10px; }
@media (min-width: 620px) { .optionen.viele { grid-template-columns: 1fr 1fr; } }
.option {
  appearance: none; cursor: pointer; text-align: left; width: 100%;
  display: flex; align-items: center; gap: 14px; padding: 16px 16px; min-height: 64px;
  background: var(--flaeche); color: var(--text); border: 1px solid var(--linie); border-radius: var(--radius);
  font: inherit; position: relative;
  transition: border-color 160ms, background-color 200ms, color 200ms, transform 200ms var(--kurve), box-shadow 200ms;
}
.option:hover { border-color: var(--linie-stark); transform: translateY(-1px); box-shadow: 0 8px 22px -14px var(--schatten); }
.option.an { background: var(--auswahl-grund); color: var(--auswahl-text); border-color: var(--auswahl-grund); }
.option.an .option-was, .option.an .taste { color: var(--auswahl-text-2); }
.option.an .taste { border-color: var(--auswahl-text-2); }
.option.puls { animation: puls 340ms var(--kurve); }
.symbol { flex: none; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--symbol-grund); color: var(--symbol-text); transition: background-color 200ms, color 200ms; }
.option.an .symbol { background: var(--auswahl-symbol); color: var(--auswahl-text); }
.option-text { display: grid; gap: 2px; flex: 1; min-width: 0; }
.option-wort { font-weight: 700; font-size: 16.5px; line-height: 1.3; }
.option-was { font-size: 14px; color: var(--gedimmt); line-height: 1.35; }
.taste { flex: none; font: 500 11px/1 var(--schrift-mono); color: var(--gedimmt); border: 1px solid var(--linie); border-radius: 5px; width: 22px; height: 22px; display: grid; place-items: center; }
@media (hover: none) { .taste { display: none; } }
.option[role="checkbox"]::after { content: ""; flex: none; order: 3; width: 20px; height: 20px; border-radius: 5px; box-shadow: inset 0 0 0 1.5px var(--linie-stark); }
.option[role="checkbox"].an::after { background: var(--auswahl-text); box-shadow: none; background-image: var(--haken-bild-auswahl); background-size: 14px; background-position: center; background-repeat: no-repeat; }
.option[role="checkbox"] .taste { display: none; }

/* Auswertung */
.rechnen { display: grid; gap: 20px; justify-items: start; padding-block: 16px; }
.rechnen-zeichen { width: 64px; height: 64px; }
.kreisel { display: block; width: 56px; height: 56px; border-radius: 50%; border: 3px solid var(--linie); border-top-color: var(--balken); animation: drehen 900ms linear infinite; }
.rechnen-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.rechnen-liste li { display: flex; align-items: center; gap: 12px; font-size: 17px; opacity: 0.28; transform: translateY(4px); transition: opacity 300ms, transform 360ms var(--kurve); }
.rechnen-liste li.an { opacity: 1; transform: none; }
.haken { flex: none; width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--linie-stark); transition: background-color 240ms, box-shadow 240ms; background-size: 14px; background-position: center; background-repeat: no-repeat; }
.rechnen-liste li.an .haken { background-color: var(--haken); box-shadow: none; background-image: var(--haken-bild-voll); animation: puls 360ms var(--kurve); }

/* Kontakt und Vorschau */
.vorschau {
  display: grid; gap: 8px; padding: 18px 20px; border-radius: var(--radius);
  background: var(--vorschau-grund); color: var(--vorschau-text); position: relative; overflow: hidden;
}
.vorschau .eyebrow { color: var(--vorschau-text-2); }
.vorschau-typ { font-size: clamp(22px, 4vw, 28px); font-weight: 800; letter-spacing: -0.015em; line-height: 1.15; }
.vorschau-hebel { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.vorschau-hebel li { font-size: 13.5px; font-weight: 600; padding: 5px 10px; border-radius: 99px; background: var(--vorschau-chip); }
.vorschau-hebel li.verdeckt { color: transparent; text-shadow: 0 0 7px var(--vorschau-text); user-select: none; }
.kontakt { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.kontakt > .kaestchen, .kontakt > .feld.breit, .kontakt > .leiste, .kontakt > .zusage, .kontakt > .senden-fehler, .kontakt > .feld-fehler { grid-column: 1 / -1; }
@media (max-width: 560px) { .kontakt { grid-template-columns: 1fr; } }
.feld { display: grid; gap: 6px; align-content: start; }
.feld label { font-weight: 600; font-size: 14.5px; }
.feld-art { font: 400 11px/1 var(--schrift-mono); color: var(--gedimmt); letter-spacing: 0.04em; text-transform: uppercase; margin-left: 4px; }
.feld input, .feld textarea {
  width: 100%; font: 400 16px/1.4 var(--schrift); color: var(--text); background: var(--flaeche);
  border: 1px solid var(--linie-stark); border-radius: var(--radius-feld); padding: 13px 14px; min-height: 50px;
  transition: border-color 160ms, box-shadow 160ms;
}
.feld textarea { resize: vertical; min-height: 88px; }
.feld input:focus, .feld textarea:focus { outline: none; border-color: var(--fokus); box-shadow: 0 0 0 3px var(--fokus-ring); }
.feld input[aria-invalid="true"] { border-color: var(--fehler); }
.feld-fehler, .senden-fehler { color: var(--fehler); font-size: 14px; }
.senden-fehler { padding: 12px 14px; border-radius: var(--radius-feld); background: var(--fehler-grund); color: var(--text); }
.kaestchen { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; line-height: 1.45; cursor: pointer; color: var(--text-2); }
.kaestchen input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--auswahl-grund); cursor: pointer; }
.zusage { font-size: 13px; color: var(--gedimmt); display: flex; align-items: center; gap: 8px; }
.zusage::before { content: ""; width: 14px; height: 14px; flex: none; background-image: var(--schloss-bild); background-size: contain; background-repeat: no-repeat; }
.honig { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Ergebnis */
.ergebnis { display: grid; gap: 22px; }
.ergebnis h1 { font-size: clamp(32px, 6vw, 46px); line-height: 1.05; font-weight: 800; letter-spacing: -0.025em; }
.staffel > * { opacity: 0; transform: translateY(14px); animation: auftauchen 560ms var(--kurve) forwards; animation-delay: calc(var(--i, 0) * 110ms + 120ms); }
.block { display: grid; gap: 14px; padding-top: 22px; border-top: 1px solid var(--linie); }
.block h3 { font-size: 20px; font-weight: 800; letter-spacing: -0.01em; }
.block > p { color: var(--text-2); max-width: 62ch; }
.nutzen-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.nutzen { display: flex; gap: 14px; padding: 14px 16px; border-radius: var(--radius); background: var(--flaeche); border: 1px solid var(--linie); }
.nutzen.erster { border-color: var(--auswahl-grund); box-shadow: inset 0 0 0 1px var(--auswahl-grund); }
.nutzen-rang { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font: 600 13px/1 var(--schrift-mono); background: var(--symbol-grund); color: var(--symbol-text); }
.nutzen.erster .nutzen-rang { background: var(--auswahl-grund); color: var(--auswahl-text); }
.nutzen h4 { font-size: 17px; font-weight: 700; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 3px; }
.nutzen p { color: var(--text-2); font-size: 15px; }
.marke { font: 600 10.5px/1 var(--schrift-mono); text-transform: uppercase; letter-spacing: 0.06em; padding: 4px 7px; border-radius: 99px; background: var(--marke-grund); color: var(--marke-text); }
.empfehlung { display: grid; gap: 6px; padding: 18px 20px; border-radius: var(--radius); background: var(--vorschau-grund); color: var(--vorschau-text); }
.empfehlung .eyebrow { color: var(--vorschau-text-2); }
.empfehlung p { color: var(--vorschau-text-2); }
.empfehlung-titel { font-size: 22px; font-weight: 800; color: var(--vorschau-text) !important; letter-spacing: -0.01em; line-height: 1.2; }
.extras { font-weight: 600; }
.kennzahlen { display: flex; flex-wrap: wrap; gap: 12px 36px; }
.kennzahlen > div { display: grid; }
.zahl { font-size: clamp(44px, 9vw, 64px); font-weight: 800; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.einheit { font: 500 12px/1.3 var(--schrift-mono); color: var(--gedimmt); text-transform: uppercase; letter-spacing: 0.05em; margin-top: 6px; }
.annahme { font-size: 13px; color: var(--gedimmt); }
.schritte-liste { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 12px; }
.schritte-liste li { counter-increment: s; position: relative; padding-left: 40px; min-height: 26px; color: var(--text-2); }
.schritte-liste li::before { content: counter(s); position: absolute; left: 0; top: -1px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font: 600 13px/1 var(--schrift-mono); box-shadow: inset 0 0 0 1.5px var(--linie-stark); color: var(--text); }
.schritte-liste strong { color: var(--text); }
.weiter-so .knopf { margin-top: 4px; }

@keyframes drehen { to { transform: rotate(360deg); } }
@keyframes puls { 0% { transform: scale(1); } 40% { transform: scale(1.035); } 100% { transform: scale(1); } }
@keyframes auftauchen { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-delay: 0ms !important; transition-duration: 1ms !important; }
  .schritt, .staffel > * { transform: none; }
}

/* ── Kreis Systems: Haarlinien statt Flaechen ─────────────────── */
.wortmarke::before { content: ""; width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 2.5px currentColor; }
.fortschritt-schiene { height: 3px; }
.eyebrow { letter-spacing: 0.1em; }
