:root { --blau:#012A4A; --indigo:#013A63; --cer:#2C7DA0; --gold:#E0B000; --mikado:#FDC500; --hell:#F4F7FA; --grau:#9FB3C4; --tief:#011C33; --glas:rgba(1,58,99,.72); --rand:rgba(159,179,196,.16); }
* { box-sizing:border-box; }
html { background:var(--tief); }
html, body { margin:0; color:var(--hell); font-family:Lato, system-ui, sans-serif; font-size:17px; line-height:1.5; -webkit-text-size-adjust:100%; }
body { min-height:100vh; min-height:100dvh; overflow-x:hidden; }
.himmel { position:fixed; inset:0; z-index:-1; background:
  radial-gradient(900px 520px at 50% -8%, rgba(44,125,160,.42), transparent 62%),
  radial-gradient(620px 420px at 100% 100%, rgba(253,197,0,.10), transparent 60%),
  linear-gradient(180deg, #012A4A 0%, #011C33 100%); }
.himmel::after { content:""; position:absolute; inset:0; background-image:radial-gradient(rgba(244,247,250,.07) 1px, transparent 1.4px); background-size:26px 26px; mask-image:linear-gradient(180deg, #000, transparent 70%); -webkit-mask-image:linear-gradient(180deg, #000, transparent 70%); }
main { max-width:580px; margin:0 auto; padding:22px 18px calc(28px + env(safe-area-inset-bottom)); min-height:100vh; min-height:100dvh; display:flex; flex-direction:column; animation:rein .45s ease both; }
main.breit { max-width:1000px; }
@keyframes rein { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:none; } }
a { color:inherit; }

.marke { display:flex; align-items:center; gap:9px; font-weight:900; letter-spacing:.16em; text-transform:uppercase; font-size:13px; color:var(--gold); margin:0 0 16px; }
.marke .punkt { width:9px; height:9px; border-radius:50%; background:var(--mikado); box-shadow:0 0 0 4px rgba(253,197,0,.18); }
h1 { font-size:36px; line-height:1.1; font-weight:900; margin:0 0 12px; letter-spacing:-.01em; text-wrap:balance; }
h2 { font-size:25px; line-height:1.2; font-weight:900; margin:0 0 10px; text-wrap:balance; }
h3 { font-size:19px; font-weight:900; margin:0 0 6px; }
p { margin:0 0 14px; }
.leise { color:var(--grau); }
.klein { font-size:14.5px; }
.gold { background:linear-gradient(100deg, #FFE27A, #FDC500 55%, #E0B000); -webkit-background-clip:text; background-clip:text; color:transparent; }
.mitte { text-align:center; }

/* Rad */
.rad-wrap { display:flex; justify-content:center; margin:0 0 10px; }
.rad-svg { width:min(250px, 66vw); height:auto; overflow:visible; filter:drop-shadow(0 14px 26px rgba(0,0,0,.35)); }
.rad-wrap.gross .rad-svg { width:min(310px, 80vw); }
.rad { transform-box:view-box; transform-origin:140px 116px; animation:dreh linear infinite; }
.rad.klein { transform-origin:24px 24px; }
@keyframes dreh { to { transform:rotate(-360deg); } }
.bein { transform-box:fill-box; transform-origin:50% 8%; }
.bein.lauf { animation:lauf ease-in-out infinite alternate; }
@keyframes lauf { from { transform:rotate(-42deg); } to { transform:rotate(42deg); } }
.tier.wippt { animation:wipp ease-in-out infinite alternate; }
@keyframes wipp { from { transform:translateY(0); } to { transform:translateY(-1.8px); } }
.streifen line { animation:zisch .5s linear infinite; }
.streifen line:nth-child(2) { animation-delay:-.17s; } .streifen line:nth-child(3) { animation-delay:-.33s; }
@keyframes zisch { from { opacity:.9; transform:translateX(6px); } to { opacity:0; transform:translateX(-14px); } }
.funkeln circle { animation:funkel 2.4s ease-in-out infinite; } .funkeln circle:nth-child(2) { animation-delay:-.8s; } .funkeln circle:nth-child(3) { animation-delay:-1.6s; }
@keyframes funkel { 0%, 100% { opacity:.15; } 50% { opacity:1; } }
.minirad { width:42px; height:42px; flex:none; }

/* Start */
.fakten { display:flex; justify-content:center; gap:8px; flex-wrap:wrap; margin:4px 0 22px; }
.fakten span { background:var(--glas); border:1px solid var(--rand); border-radius:999px; padding:7px 14px; font-size:14px; color:var(--grau); }
.fakten b { color:var(--mikado); font-weight:900; margin-right:3px; }

/* Knöpfe */
.knopf { display:block; width:100%; border:0; border-radius:16px; padding:18px 18px; font:900 18px Lato, sans-serif; background:linear-gradient(180deg, #FFD83D, #FDC500 55%, #E9B400); color:var(--blau); cursor:pointer; text-align:center; text-decoration:none; box-shadow:0 10px 26px rgba(253,197,0,.26), inset 0 1px 0 rgba(255,255,255,.5); transition:transform .12s, box-shadow .12s, filter .12s; -webkit-tap-highlight-color:transparent; }
.knopf:hover { filter:brightness(1.05); }
.knopf:active { transform:translateY(1px) scale(.99); box-shadow:0 5px 14px rgba(253,197,0,.22); }
.knopf:disabled { opacity:.5; cursor:default; }
.knopf.puls { animation:puls 2.6s ease-in-out infinite; }
@keyframes puls { 0%, 100% { box-shadow:0 10px 26px rgba(253,197,0,.26), 0 0 0 0 rgba(253,197,0,.35); } 50% { box-shadow:0 10px 26px rgba(253,197,0,.26), 0 0 0 12px rgba(253,197,0,0); } }
.knopf.zweit { background:transparent; color:var(--hell); border:2px solid var(--cer); box-shadow:none; }
.knopf.zweit.ok { border-color:var(--mikado); color:var(--mikado); }
.knopf.schmal { width:auto; display:inline-block; padding:10px 16px; font-size:15px; border-radius:11px; }
:focus-visible { outline:3px solid var(--mikado); outline-offset:3px; }

/* Fragen */
.kopf { display:flex; justify-content:space-between; align-items:center; margin:0 0 14px; }
.kopf .marke { margin:0; }
.fort { display:flex; gap:6px; margin:0 0 12px; }
.fort i { flex:1; height:7px; border-radius:4px; background:rgba(159,179,196,.2); transition:background .3s; }
.fort i.fertig { background:var(--mikado); }
.fort i.jetzt { background:linear-gradient(90deg, var(--mikado) 45%, rgba(159,179,196,.2) 45%); }
.zaehler { font-size:13px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--grau); margin:0 0 14px; }
.frage { font-size:26px; margin:0 0 22px; min-height:3.6em; }
.antw { display:flex; align-items:center; gap:14px; width:100%; text-align:left; background:var(--glas); color:var(--hell); border:2px solid var(--rand); border-radius:16px; padding:15px 16px; margin:0 0 12px; font:700 17px/1.3 Lato, sans-serif; cursor:pointer; transition:border-color .15s, background .15s, transform .12s; animation:rein .4s ease both; animation-delay:calc(var(--n) * 55ms + 60ms); -webkit-tap-highlight-color:transparent; }
.antw:hover { border-color:rgba(253,197,0,.55); }
.antw:active { transform:scale(.985); }
.antw .buchstabe { flex:none; width:34px; height:34px; border-radius:10px; display:grid; place-items:center; background:rgba(44,125,160,.35); color:var(--hell); font-weight:900; font-size:15px; transition:background .15s, color .15s; }
.antw.wahl { border-color:var(--mikado); background:rgba(253,197,0,.12); }
.antw.wahl .buchstabe { background:var(--mikado); color:var(--blau); }
.zurueck { background:none; border:0; color:var(--grau); font:400 15px Lato, sans-serif; padding:12px 0; cursor:pointer; text-align:left; }
.zurueck.mitte { display:block; width:100%; text-align:center; }

/* Ergebnis */
.stufe { font-size:13px; font-weight:900; letter-spacing:.14em; text-transform:uppercase; color:var(--gold); margin:0 0 6px; }
.auftritt { animation:auf .6s cubic-bezier(.2,.9,.3,1.2) both .15s; }
@keyframes auf { from { opacity:0; transform:scale(.92); } to { opacity:1; transform:none; } }
.tacho { margin:6px auto 18px; max-width:360px; }
.tacho svg { display:block; width:100%; height:auto; overflow:visible; }
.zone { opacity:.26; }
.zone.an { opacity:1; filter:drop-shadow(0 0 7px currentColor); }
.tacho-rand { fill:var(--grau); font:700 12px Lato, sans-serif; }
.nadel { transform-box:view-box; transform-origin:150px 150px; transition:transform 1.3s cubic-bezier(.3,1.35,.5,1); }
.tacho-zahl { text-align:center; margin:2px 0 12px; line-height:1; }
.tacho-zahl b { font-size:54px; font-weight:900; color:var(--hell); font-variant-numeric:tabular-nums; }
.tacho-zahl span { display:block; margin-top:4px; font-size:13px; letter-spacing:.1em; text-transform:uppercase; color:var(--grau); font-weight:700; }
.zonen { display:grid; grid-template-columns:repeat(4, 1fr); gap:6px; }
.zonen span { font-size:11.5px; line-height:1.2; text-align:center; color:var(--grau); opacity:.6; }
.zonen i { display:block; height:5px; border-radius:3px; background:var(--f); margin-bottom:5px; opacity:.5; }
.zonen span.an { color:var(--hell); opacity:1; font-weight:700; }
.zonen span.an i { opacity:1; }
.kurz { font-size:18px; text-align:center; margin:0 0 20px; text-wrap:pretty; }

/* Karten und Formular */
.karte { background:var(--glas); border:1px solid var(--rand); border-radius:20px; padding:20px 18px; margin:0 0 16px; backdrop-filter:blur(6px); -webkit-backdrop-filter:blur(6px); }
.karte.tor { border-color:rgba(253,197,0,.4); box-shadow:0 18px 40px rgba(0,0,0,.28); }
.vorschau { list-style:none; margin:0 0 16px; padding:0; }
.vorschau li { position:relative; padding:7px 0 7px 30px; font-size:15.5px; border-top:1px solid var(--rand); }
.vorschau li:first-child { border-top:0; }
.vorschau li::before { content:"✓"; position:absolute; left:0; top:8px; width:20px; height:20px; border-radius:50%; background:var(--mikado); color:var(--blau); font-size:12px; font-weight:900; display:grid; place-items:center; }
.zwei { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
label.feld { display:block; font-size:14px; font-weight:700; margin:0 0 12px; }
label.feld input { display:block; width:100%; margin-top:6px; padding:14px; border-radius:12px; border:2px solid rgba(44,125,160,.7); background:rgba(1,28,51,.7); color:var(--hell); font:400 17px Lato, sans-serif; }
label.feld input:focus { outline:none; border-color:var(--mikado); }
label.nix { position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }
label.haken { display:flex; gap:12px; align-items:flex-start; font-size:14px; color:var(--grau); margin:4px 0 16px; }
label.haken input { width:24px; height:24px; flex:none; accent-color:var(--mikado); margin:0; }
.fehler { background:#5b1620; color:#ffd9de; border-radius:12px; padding:12px 14px; font-size:15px; margin:0 0 14px; }

/* Auswertung */
ol.schritte { margin:0; padding:0; list-style:none; counter-reset:s; }
ol.schritte li { counter-increment:s; position:relative; padding:0 0 12px 44px; min-height:34px; }
ol.schritte li::before { content:counter(s); position:absolute; left:0; top:0; width:30px; height:30px; border-radius:50%; background:var(--mikado); color:var(--blau); font-weight:900; font-size:15px; display:grid; place-items:center; }
ol.schritte.gross li { padding-top:3px; padding-bottom:16px; }
ol.schritte.gross li:last-child, ol.schritte li:last-child { padding-bottom:0; }
ol.schritte.eng li { padding-left:36px; font-size:15.5px; }
ol.schritte.eng li::before { width:24px; height:24px; font-size:13px; background:rgba(44,125,160,.5); color:var(--hell); top:1px; }
.detail .zeile { padding:11px 0; border-top:1px solid var(--rand); }
.detail .zeile:first-child { border-top:0; }
.detail .kopfz { display:flex; justify-content:space-between; gap:12px; align-items:baseline; margin-bottom:7px; }
.detail .kopfz b { font-size:15.5px; }
.detail .kopfz span { font-size:13.5px; color:var(--grau); text-align:right; }
.balken { height:10px; border-radius:5px; background:rgba(159,179,196,.16); overflow:hidden; }
.balken i { display:block; height:100%; width:var(--w); border-radius:5px; background:var(--f); transform-origin:left; animation:wachs .9s cubic-bezier(.2,.8,.2,1) both; animation-delay:calc(var(--n) * 90ms + 300ms); }
@keyframes wachs { from { transform:scaleX(0); } to { transform:none; } }
.zwischen { margin-top:14px; }
.routine summary { list-style:none; cursor:pointer; display:flex; gap:12px; align-items:center; }
.routine summary::-webkit-details-marker { display:none; }
.routine summary b { flex:1; font-size:18px; font-weight:900; }
.routine .nr { flex:none; width:32px; height:32px; border-radius:10px; background:rgba(253,197,0,.16); color:var(--mikado); font-weight:900; display:grid; place-items:center; }
.routine .plus { color:var(--mikado); font-size:24px; font-weight:900; transition:transform .2s; }
.routine[open] .plus { transform:rotate(45deg); }
.routine .innen { padding-top:14px; }
.routine ul { margin:0 0 14px; padding-left:20px; }
.routine li { margin-bottom:4px; }
.etikett { font-size:12px; font-weight:900; letter-spacing:.1em; text-transform:uppercase; color:var(--gold); margin:0 0 6px; }
.etikett.abstand { margin-top:18px; }
textarea.prompt { display:block; width:100%; min-height:220px; background:rgba(1,28,51,.8); color:var(--hell); border:1px solid rgba(44,125,160,.7); border-radius:12px; padding:12px; font:400 13.5px/1.5 ui-monospace, Menlo, monospace; resize:vertical; margin:0 0 10px; }
.warn { border-left:3px solid #F2643D; padding-left:12px; margin:0; }
.stand .minirad { width:54px; height:54px; margin-bottom:6px; }
.stand p { margin:0; }

.fuss { margin-top:auto; padding-top:30px; display:flex; justify-content:space-between; gap:8px 14px; flex-wrap:wrap; font-size:13px; color:var(--grau); }
.fuss a { text-underline-offset:3px; }

/* Team */
.kopfzeile { display:flex; justify-content:space-between; align-items:center; gap:12px; flex-wrap:wrap; margin:0 0 16px; }
.kopfzeile .marke { margin:0 0 4px; } .kopfzeile h2 { margin:0; }
.zahlen { display:grid; grid-template-columns:repeat(auto-fit, minmax(130px, 1fr)); gap:10px; margin:0 0 16px; }
.zahl { background:var(--glas); border:1px solid var(--rand); border-radius:14px; padding:12px 14px; border-top:3px solid var(--f, var(--mikado)); }
.zahl b { display:block; font-size:28px; font-weight:900; color:var(--hell); }
.zahl span { font-size:13px; color:var(--grau); }
.lead { background:var(--glas); border:1px solid var(--rand); border-radius:14px; padding:14px 16px; margin:0 0 10px; display:grid; grid-template-columns:1fr auto; gap:6px 14px; align-items:center; }
.lead.erl { opacity:.55; }
.lead .name { font-weight:900; font-size:18px; }
.lead .kontakt { font-size:15px; overflow-wrap:anywhere; }
.lead .meta { font-size:13px; color:var(--grau); }
.lead .tun { display:flex; gap:8px; flex-wrap:wrap; justify-content:flex-end; }
.hinweis { border:1px dashed var(--gold); border-radius:12px; padding:12px 14px; font-size:14px; color:var(--grau); margin:0 0 16px; }

@media (max-width:420px) { h1 { font-size:30px; } .frage { font-size:23px; } .lead { grid-template-columns:1fr; } .lead .tun { justify-content:flex-start; } .tacho-zahl b { font-size:48px; } }
@media (prefers-reduced-motion: reduce) { main, .antw, .auftritt, .balken i, .knopf.puls, .streifen line, .funkeln circle { animation:none; } .nadel { transition:none; } }
