/* Localiz-er · Startseite
   Bühne als Nachtkarte mit Höhenlinien, Inhalt auf Kartenpapier.
   Farbe gehört den Rangpunkten. Sonst Petrol und Graustufen. */
@font-face { font-family: "Bricolage"; font-style: normal; font-display: swap; font-weight: 200 800; font-stretch: 75% 100%;
  src: url(fonts/bricolage-grotesque-latin-standard-normal.woff2) format("woff2-variations");
  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: "Bricolage"; font-style: normal; font-display: swap; font-weight: 200 800; font-stretch: 75% 100%;
  src: url(fonts/bricolage-grotesque-latin-ext-standard-normal.woff2) format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-display: swap; font-weight: 400 700;
  src: url(fonts/instrument-sans-latin-wght-normal.woff2) format("woff2-variations");
  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: "Instrument Sans"; font-style: normal; font-display: swap; font-weight: 400 700;
  src: url(fonts/instrument-sans-latin-ext-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --papier: #f1f2ee; --flaeche: #fff; --tinte: #0b1a1f; --tinte-2: #3a4950; --leise: #56656c;
  --linie: #dfe3df; --linie-2: #cbd2cd;
  --akzent: #0b5c61; --akzent-dunkel: #08474b; --akzent-hell: #e1eeec; --akzent-leucht: #19a59b;
  --nacht: #0c2a2e; --nacht-2: #10373b; --nacht-3: #16464a; --nacht-text: #d5e6e3; --nacht-leise: #8fb0ad;
  --gruen: #1f9d60; --gelb: #e3b529; --orange: #e57c2b; --rot: #d2463f; --grau: #a3acb3;
  --gruen-text: #186b43; --rot-text: #a3322c; --orange-text: #96470d;
  --display: "Bricolage", "Instrument Sans", system-ui, sans-serif;
  --text: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --rand: clamp(16px, 5vw, 72px);
  --breite: 1240px;
  --r: 12px; --r-klein: 8px;
  --sanft: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--papier); color: var(--tinte); font: 400 16px/1.55 var(--text); -webkit-font-smoothing: antialiased; font-feature-settings: "tnum" 1; overflow-x: hidden; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -.025em; margin: 0; }
p { margin: 0; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--akzent-leucht); outline-offset: 3px; border-radius: 6px; }
.unsichtbar { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sprung { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--flaeche); padding: 8px 14px; border-radius: 8px; }
.sprung:focus { top: 12px; }

/* ── Knöpfe ─────────────────────────────────────────────────────────── */
.knopf { display: inline-flex; align-items: center; gap: 9px; background: var(--akzent); color: #fff; border: 1px solid var(--akzent); border-radius: var(--r-klein);
  padding: 11px 18px; font-weight: 600; font-size: .95rem; text-decoration: none; cursor: pointer; white-space: nowrap; line-height: 1.2;
  transition: background .18s, border-color .18s, transform .18s var(--sanft), box-shadow .18s; }
.knopf:hover { background: var(--akzent-dunkel); border-color: var(--akzent-dunkel); }
.knopf:active { transform: translateY(1px); }
.knopf svg { width: 16px; height: 16px; flex: none; }
.knopf-zweit { background: transparent; color: var(--tinte); border-color: var(--linie-2); }
.knopf-zweit:hover { background: var(--flaeche); border-color: var(--tinte-2); }
.knopf-hell { background: #fff; color: var(--nacht); border-color: #fff; }
.knopf-hell:hover { background: var(--akzent-hell); border-color: var(--akzent-hell); }
.knopf-rand { background: transparent; border-color: rgba(213,230,227,.35); color: var(--nacht-text); }
.knopf-rand:hover { background: rgba(255,255,255,.06); border-color: var(--nacht-text); }
.textlink { text-decoration: none; font-weight: 500; font-size: .95rem; opacity: .85; }
.textlink:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }

/* ── Marke: Punkteraster ───────────────────────────────────────────── */
.marke { display: inline-flex; align-items: center; gap: 11px; font-family: var(--display); font-weight: 650; font-size: 1.12rem; letter-spacing: -.02em; text-decoration: none; }
.marke-raster { width: 19px; height: 19px; flex: none;
  background: radial-gradient(circle, currentColor 2.1px, transparent 2.6px) 0 0 / 6.5px 6.5px; opacity: .9; position: relative; }
.marke-raster::after { content: ""; position: absolute; left: 6.5px; top: 6.5px; width: 6.5px; height: 6.5px;
  background: radial-gradient(circle, var(--gruen) 2.4px, transparent 2.9px); }
.marke.klein { font-size: .95rem; }

/* ── Kopf ───────────────────────────────────────────────────────────── */
.kopf { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; gap: 28px; padding: 16px var(--rand); color: var(--nacht-text);
  transition: background .3s, color .3s, box-shadow .3s, padding .3s; }
.kopf.fest { background: rgba(241,242,238,.86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); color: var(--tinte); box-shadow: 0 1px 0 var(--linie); padding-top: 11px; padding-bottom: 11px; }
.hauptnav { display: flex; gap: 26px; margin-left: 18px; }
.hauptnav a { text-decoration: none; font-size: .94rem; font-weight: 500; opacity: .78; transition: opacity .15s; }
.hauptnav a:hover { opacity: 1; }
.konto { margin-left: auto; display: flex; align-items: center; gap: 20px; }
.knopf-dashboard { padding: 9px 14px 9px 14px; background: rgba(255,255,255,.08); border-color: rgba(213,230,227,.28); color: #fff; backdrop-filter: blur(6px); }
.knopf-dashboard:hover { background: rgba(255,255,255,.16); border-color: rgba(213,230,227,.6); }
.kopf.fest .knopf-dashboard { background: var(--akzent); border-color: var(--akzent); }
.kopf.fest .knopf-dashboard:hover { background: var(--akzent-dunkel); }
.knopf-dashboard svg { transition: transform .2s var(--sanft); }
.knopf-dashboard:hover svg { transform: translateX(3px); }
.avatar { display: none; width: 22px; height: 22px; border-radius: 50%; background: var(--akzent-leucht); color: #fff; font-size: .72rem; font-weight: 700; align-items: center; justify-content: center; margin-left: -4px; }
body.angemeldet .avatar { display: inline-flex; }
body.angemeldet .nur-gast { display: none; }

/* ── Bühne ──────────────────────────────────────────────────────────── */
.buehne { position: relative; background: var(--nacht); color: var(--nacht-text); overflow: hidden; isolation: isolate; min-height: min(100svh, 940px); display: flex; align-items: center; }
.buehne::after { content: ""; position: absolute; inset: auto 0 0; height: 120px; background: linear-gradient(transparent, rgba(8,30,33,.6)); z-index: -1; pointer-events: none; }
.hoehenlinien { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .9; }
.buehne-innen { width: 100%; max-width: calc(var(--breite) + 2 * var(--rand)); margin: 0 auto; padding: 130px var(--rand) 90px; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.ortsmarke { display: inline-flex; align-items: center; gap: 10px; font-size: .85rem; font-weight: 600; letter-spacing: .02em; color: var(--nacht-leise); margin-bottom: 26px; }
.puls { width: 8px; height: 8px; border-radius: 50%; background: var(--gruen); box-shadow: 0 0 0 0 rgba(31,157,96,.6); animation: puls 2.2s infinite; }
@keyframes puls { 70% { box-shadow: 0 0 0 10px rgba(31,157,96,0); } 100% { box-shadow: 0 0 0 0 rgba(31,157,96,0); } }
.buehne h1 { font-size: clamp(2.7rem, 6.6vw, 5.6rem); line-height: .98; letter-spacing: -.045em; color: #fff; font-weight: 600; font-stretch: 92%; max-width: 13ch; }
.buehne h1 em { font-style: normal; color: transparent; -webkit-text-stroke: 1.5px var(--akzent-leucht); position: relative; white-space: nowrap; }
.lead { margin-top: 26px; font-size: clamp(1.02rem, 1.4vw, 1.2rem); line-height: 1.55; max-width: 34rem; color: var(--nacht-text); }

.check { margin-top: 38px; max-width: 560px; }
.check-feld { display: flex; align-items: center; background: #fff; border-radius: 14px; padding: 6px 6px 6px 18px; box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 24px 60px -18px rgba(0,0,0,.55); transition: box-shadow .2s; }
.check-feld:focus-within { box-shadow: 0 0 0 4px rgba(25,165,155,.32), 0 24px 60px -18px rgba(0,0,0,.55); }
.check-praefix { color: #8a979c; font-size: 1.05rem; user-select: none; }
.check input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--tinte); font-size: 1.1rem; padding: 14px 10px 14px 2px; font-weight: 500; }
.check input::placeholder { color: #a8b2b6; font-weight: 400; }
.knopf-check { padding: 14px 22px; border-radius: 10px; font-size: 1rem; }
.knopf-check[aria-busy=true] .knopf-text::after { content: "…"; }
.check-hinweis { margin-top: 13px; font-size: .86rem; color: var(--nacht-leise); min-height: 1.3em; }
.check-hinweis.fehler { color: #ffb4ad; }

/* Karte mit Rangraster */
.karte { position: relative; justify-self: end; width: 100%; max-width: 480px; }
.karte-rahmen { position: relative; aspect-ratio: 1; border-radius: 22px; background: radial-gradient(120% 120% at 50% 40%, var(--nacht-3), var(--nacht-2) 60%, #0b2528);
  box-shadow: inset 0 0 0 1px rgba(213,230,227,.1), 0 40px 80px -30px rgba(0,0,0,.6); overflow: hidden; }
.raster { position: absolute; inset: 9%; display: grid; grid-template-columns: repeat(9, 1fr); gap: 0; place-items: center; }
.raster i { width: 52%; aspect-ratio: 1; border-radius: 50%; background: rgba(213,230,227,.16); transition: background .5s var(--sanft), transform .5s var(--sanft), box-shadow .5s; transform: scale(.7); }
.raster i.an { transform: scale(1); }
.raster i.gruen { background: var(--gruen); } .raster i.gelb { background: var(--gelb); } .raster i.orange { background: var(--orange); } .raster i.rot { background: var(--rot); }
.raster i.blitz { background: var(--akzent-leucht); transform: scale(1.05); box-shadow: 0 0 14px rgba(25,165,155,.7); transition-duration: .08s; }
.scan { position: absolute; inset: -20%; background: conic-gradient(from 0deg, transparent 0 78%, rgba(25,165,155,.0) 78%, rgba(25,165,155,.28) 99.5%, rgba(160,240,230,.7) 100%); border-radius: 50%; opacity: 0; transition: opacity .4s; pointer-events: none; }
.scan.laeuft { opacity: 1; animation: drehen 1.6s linear infinite; }
@keyframes drehen { to { transform: rotate(1turn); } }
.pin { position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; border: 2px solid #fff; display: grid; place-items: center; box-shadow: 0 0 0 6px rgba(255,255,255,.08); }
.pin span { width: 12px; height: 12px; border-radius: 50%; background: #fff; }
.karte-beschriftung { position: absolute; left: 18px; right: 18px; bottom: 14px; display: flex; justify-content: space-between; font-size: .78rem; color: var(--nacht-leise); letter-spacing: .02em; }
.score-schild { position: absolute; left: -34px; bottom: 44px; display: flex; align-items: center; gap: 12px; background: #fff; color: var(--tinte); border-radius: 14px; padding: 12px 18px 12px 12px; box-shadow: 0 20px 50px -16px rgba(0,0,0,.5); }
.score-schild svg { width: 52px; height: 52px; transform: rotate(-90deg); }
.score-schild .spur { fill: none; stroke: var(--linie); stroke-width: 4; }
.score-schild .wert { fill: none; stroke: var(--akzent); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 119.4; stroke-dashoffset: 119.4; transition: stroke-dashoffset 1.2s var(--sanft), stroke .4s; }
.score-schild b { position: absolute; left: 12px; width: 52px; text-align: center; font-family: var(--display); font-size: 1.25rem; font-weight: 650; }
.score-schild span { font-size: .78rem; line-height: 1.25; color: var(--leise); }

/* ── Ergebnis ───────────────────────────────────────────────────────── */
.ergebnis { background: var(--flaeche); border-bottom: 1px solid var(--linie); }
.ergebnis-innen { max-width: calc(var(--breite) + 2 * var(--rand)); margin: 0 auto; padding: 56px var(--rand) 72px; }
.ergebnis.zeigen .ergebnis-innen > * { animation: rein .7s var(--sanft) both; }
.ergebnis.zeigen .ergebnis-innen > *:nth-child(2) { animation-delay: .1s; }
.ergebnis.zeigen .ergebnis-innen > *:nth-child(3) { animation-delay: .35s; }
.ergebnis.zeigen .ergebnis-innen > *:nth-child(4) { animation-delay: .5s; }
.ergebnis.zeigen .ergebnis-innen > *:nth-child(n+5) { animation-delay: .6s; }
@keyframes rein { from { opacity: 0; transform: translateY(14px); } }
.ergebnis-domain { font-size: .9rem; color: var(--leise); font-weight: 500; margin-bottom: 22px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.ergebnis-domain b { color: var(--tinte); font-weight: 600; }

.befund { display: grid; grid-template-columns: minmax(280px, 380px) 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.tacho-karte { position: relative; background: var(--nacht); border-radius: 24px; padding: 26px 26px 20px; color: var(--nacht-text); overflow: hidden;
  background-image: radial-gradient(circle at 1px 1px, rgba(213,230,227,.08) 1px, transparent 1.5px), radial-gradient(90% 70% at 50% 45%, var(--nacht-3), var(--nacht)); background-size: 18px 18px, 100% 100%; }
.tacho { width: 100%; height: auto; display: block; }
.tacho line { stroke-linecap: round; transition: stroke .25s; }
.tacho .nadel { transition: transform 1.6s var(--sanft); transform-origin: 120px 120px; }
.tacho-mitte { position: absolute; left: 0; right: 0; top: 26px; aspect-ratio: 1; margin: 0 26px; display: grid; place-content: center; text-align: center; pointer-events: none; }
.tacho-mitte b { font-family: var(--display); font-size: clamp(3.6rem, 7vw, 4.8rem); line-height: .9; font-weight: 650; color: #fff; letter-spacing: -.04em; }
.tacho-mitte span { font-size: .85rem; color: var(--nacht-leise); margin-top: 4px; }
.tacho-mitte em { font-style: normal; margin-top: 12px; justify-self: center; font-size: .8rem; font-weight: 700; color: #0b2a2c; background: var(--akzent-leucht); padding: 4px 10px; border-radius: 20px; opacity: 0; transform: translateY(6px); transition: opacity .5s 1.4s, transform .5s 1.4s var(--sanft); }
.zeigen .tacho-mitte em.da { opacity: 1; transform: none; }
.tacho-skala { display: flex; justify-content: space-between; font-size: .74rem; color: var(--nacht-leise); margin-top: -26px; padding: 0 12%; }

.befund-text h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); line-height: 1.05; letter-spacing: -.035em; max-width: 18ch; }
.ergebnis-text { margin-top: 14px; color: var(--tinte-2); max-width: 40rem; font-size: 1.05rem; }
.messer { margin-top: 28px; display: grid; gap: 14px; max-width: 520px; }
.messer-zeile { display: grid; grid-template-columns: 150px 1fr 44px; gap: 14px; align-items: center; font-size: .92rem; font-weight: 500; }
.messer-zeile .punkte { display: grid; grid-template-columns: repeat(20, 1fr); gap: 4px; }
.messer-zeile .punkte i { aspect-ratio: 1; border-radius: 50%; background: var(--linie); transition: background .3s; }
.messer-zeile b { font-family: var(--display); text-align: right; font-size: 1.05rem; }

.hebel-block { margin-top: 52px; display: grid; grid-template-columns: minmax(220px, 300px) 1fr; gap: clamp(24px, 4vw, 56px); }
.hebel-kopf h3, .verborgen h3 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); line-height: 1.12; letter-spacing: -.03em; margin-bottom: 10px; }
.hebel-kopf p { color: var(--tinte-2); font-size: .95rem; }
.hebel { list-style: none; margin: 0; padding: 0; counter-reset: h; }
.hebel li { counter-increment: h; display: grid; grid-template-columns: 46px 1fr auto; gap: 4px 16px; align-items: start; padding: 18px 0; border-top: 1px solid var(--linie); }
.hebel li:last-child { border-bottom: 1px solid var(--linie); }
.hebel li::before { content: counter(h, decimal-leading-zero); font-family: var(--display); font-weight: 650; font-size: 1.5rem; line-height: 1; color: var(--linie-2); padding-top: 2px; }
.hebel li:first-child::before { color: var(--akzent); }
.hebel b { font-size: 1.08rem; font-weight: 600; display: flex; align-items: center; gap: 9px; }
.hebel p { grid-column: 2; color: var(--tinte-2); font-size: .93rem; overflow-wrap: anywhere; }
.hebel .plus { grid-row: 1 / span 2; grid-column: 3; align-self: center; font-family: var(--display); font-weight: 650; font-size: 1.15rem; color: var(--akzent); background: var(--akzent-hell); border-radius: 10px; padding: 8px 12px; white-space: nowrap; }
.hebel .plus small { font-family: var(--text); font-size: .72rem; font-weight: 600; margin-left: 3px; }
.hebel-leer { color: var(--tinte-2); padding: 18px 0; border-top: 1px solid var(--linie); }

.verborgen { margin-top: 52px; display: grid; grid-template-columns: minmax(220px, 300px) 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.verborgen-text p { color: var(--tinte-2); font-size: .95rem; }
.verborgen-liste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.verborgen-liste li { position: relative; background: var(--papier); border-radius: 14px; padding: 18px 16px 16px; overflow: hidden; }
.verborgen-liste li::after { content: ""; position: absolute; right: -14px; bottom: -14px; width: 70px; height: 70px; background: radial-gradient(circle, rgba(11,26,31,.13) 2px, transparent 2.6px) 0 0 / 10px 10px; filter: blur(.4px); }
.verborgen-liste b { display: block; font-size: .98rem; margin: 12px 0 4px; }
.verborgen-liste span:not(.schloss) { font-size: .84rem; color: var(--leise); display: block; }
.schloss { display: block; width: 26px; height: 26px; border-radius: 8px; background: var(--nacht) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Crect x='3.5' y='7' width='9' height='6.5' rx='1.5' fill='none' stroke='%23d5e6e3' stroke-width='1.4'/%3E%3Cpath d='M5.5 7V5.2a2.5 2.5 0 0 1 5 0V7' fill='none' stroke='%23d5e6e3' stroke-width='1.4'/%3E%3C/svg%3E") center / 15px no-repeat; }

.ergebnis-weiter { margin-top: 44px; display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; background: var(--nacht); color: var(--nacht-text); border-radius: 20px; padding: 30px 32px; }
.ergebnis-weiter h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); margin-bottom: 6px; color: #fff; letter-spacing: -.025em; }
.ergebnis-weiter p { max-width: 40rem; color: var(--nacht-leise); font-size: .95rem; }
.ergebnis-weiter .knopf { background: #fff; color: var(--nacht); border-color: #fff; }
.ergebnis-weiter .knopf:hover { background: var(--akzent-hell); }
.ergebnis-weiter .knopf-zweit { background: transparent; color: var(--nacht-text); border-color: rgba(213,230,227,.35); }
.ergebnis-weiter .knopf-zweit:hover { background: rgba(255,255,255,.06); border-color: var(--nacht-text); }
.knopf-gross { padding: 14px 22px; font-size: 1rem; }
.ergebnis-knoepfe { display: flex; gap: 10px; flex-wrap: wrap; }

.alle-punkte { margin-top: 26px; }
.alle-punkte summary { cursor: pointer; list-style: none; font-weight: 600; font-size: .95rem; color: var(--akzent); display: inline-flex; align-items: center; gap: 8px; padding: 8px 0; }
.alle-punkte summary::-webkit-details-marker { display: none; }
.alle-punkte summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); transition: transform .2s; }
.alle-punkte[open] summary::after { transform: rotate(-135deg) translateY(-1px); }
.ergebnis-gruppen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 44px; padding: 18px 0 0; }
.gruppe h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .09em; color: var(--leise); font-family: var(--text); font-weight: 600; margin-bottom: 8px; }
.kriterium { display: grid; grid-template-columns: 14px 1fr; gap: 0 12px; padding: 12px 0; border-top: 1px solid var(--linie); }
.kriterium:first-of-type { border-top: 0; }
.kriterium .p { margin-top: 6px; }
.kriterium b { font-weight: 600; font-size: .95rem; }
.kriterium p { grid-column: 2; font-size: .88rem; color: var(--tinte-2); margin-top: 2px; overflow-wrap: anywhere; }
.p { display: inline-block; width: 10px; height: 10px; border-radius: 50%; flex: none; }
.p.gruen { background: var(--gruen); } .p.gelb { background: var(--gelb); } .p.orange { background: var(--orange); } .p.rot { background: var(--rot); } .p.grau { background: var(--grau); }

/* ── These ──────────────────────────────────────────────────────────── */
.these { max-width: calc(1080px + 2 * var(--rand)); margin: 0 auto; padding: clamp(80px, 12vw, 150px) var(--rand) clamp(60px, 8vw, 100px); }
.these p { font-family: var(--display); font-size: clamp(1.6rem, 3.4vw, 2.75rem); line-height: 1.2; letter-spacing: -.028em; font-weight: 500; color: var(--tinte-2); }
.these .mark { color: var(--tinte); background: linear-gradient(transparent 62%, rgba(25,165,155,.22) 62%); background-size: 0 100%; background-repeat: no-repeat; transition: background-size 1.1s var(--sanft); }
.these.sichtbar .mark { background-size: 100% 100%; }
.these.sichtbar .mark + .mark, .these.sichtbar .mark:last-child { transition-delay: .5s; }

/* ── Werkzeuge ─────────────────────────────────────────────────────── */
.werkzeuge { max-width: calc(var(--breite) + 2 * var(--rand)); margin: 0 auto; padding: 20px var(--rand) clamp(80px, 10vw, 140px); }
.werkzeuge-kopf { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 56px; }
.werkzeuge-kopf h2, .ablauf h2, .preise h2, .fragen h2, .agentur h2 { font-size: clamp(2rem, 4.4vw, 3.5rem); line-height: 1.02; letter-spacing: -.04em; }
.werkzeuge-kopf p { color: var(--tinte-2); max-width: 30rem; justify-self: end; }
.werkzeuge-buehne { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.legende { list-style: none; margin: 0; padding: 0; counter-reset: w; }
.legende li { display: grid; grid-template-columns: 44px 1fr; gap: 0 14px; padding: 22px 0; border-top: 1px solid var(--linie); cursor: pointer; opacity: .42; transition: opacity .35s; }
.legende li:hover { opacity: .75; }
.legende li:last-child { border-bottom: 1px solid var(--linie); }
.legende li.aktiv { opacity: 1; }
.legende .nr { font-family: var(--display); font-size: .9rem; font-weight: 600; color: var(--akzent); padding-top: 6px; }
.legende h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); letter-spacing: -.03em; margin-bottom: 8px; }
.legende p { color: var(--tinte-2); max-width: 30rem; }
.tafel { position: sticky; top: max(90px, calc(50vh - 240px)); }
.tafel-innen { position: relative; aspect-ratio: 1 / .92; border-radius: 22px; background: var(--nacht); overflow: hidden; box-shadow: 0 40px 80px -40px rgba(11,26,31,.5);
  background-image: radial-gradient(circle at 1px 1px, rgba(213,230,227,.09) 1px, transparent 1.5px); background-size: 22px 22px; }
.szene { position: absolute; inset: 0; display: grid; place-items: center; padding: 9%; opacity: 0; transform: translateY(16px) scale(.98); transition: opacity .5s var(--sanft), transform .6s var(--sanft); pointer-events: none; }
.szene.aktiv { opacity: 1; transform: none; }
.mini { display: inline-block; font-size: .8rem; font-weight: 600; padding: 7px 12px; border-radius: 7px; border: 1px solid var(--linie-2); color: var(--tinte-2); }
.knopf-mini { background: var(--akzent); border-color: var(--akzent); color: #fff; }

.sz-audit { display: grid; gap: 26px; width: 100%; justify-items: center; }
.ring-gross { --wert: 77; width: 168px; height: 168px; border-radius: 50%; display: grid; place-content: center; text-align: center; color: #fff;
  background: radial-gradient(closest-side, var(--nacht) 82%, transparent 83% 100%), conic-gradient(var(--gruen) calc(var(--wert) * 1%), rgba(213,230,227,.14) 0); }
.ring-gross b { font-family: var(--display); font-size: 3.4rem; line-height: 1; font-weight: 650; }
.ring-gross span { font-size: .8rem; color: var(--nacht-leise); }
.aufgaben { list-style: none; margin: 0; padding: 0; width: 100%; max-width: 360px; background: #fff; border-radius: 14px; padding: 6px 16px; }
.aufgaben li { display: flex; align-items: center; gap: 10px; padding: 11px 0; font-size: .9rem; font-weight: 500; border-top: 1px solid var(--linie); }
.aufgaben li:first-child { border-top: 0; }
.aufgaben li span { margin-left: auto; font-size: .76rem; color: var(--leise); font-weight: 500; }
.aufgaben li.erledigt { color: var(--leise); text-decoration: line-through; }

.sz-bewertung { display: grid; gap: 14px; width: 100%; max-width: 380px; }
.bew-karte, .bew-antwort { background: #fff; border-radius: 14px; padding: 16px 18px; font-size: .92rem; }
.bew-kopf { display: flex; gap: 11px; align-items: center; margin-bottom: 10px; }
.bew-kopf b { display: block; font-size: .9rem; }
.initiale { width: 34px; height: 34px; border-radius: 50%; background: #e8d9c4; display: grid; place-items: center; font-weight: 700; color: #6b4d24; }
.sterne { color: var(--gelb); letter-spacing: 1px; font-size: .85rem; } .sterne em { font-style: normal; color: var(--linie-2); }
.zeit { margin-left: auto; font-size: .76rem; color: var(--leise); }
.bew-antwort { margin-left: 26px; border: 1.5px dashed var(--akzent-leucht); background: #f6fbfa; }
.etikett { display: block; font-size: .74rem; font-weight: 600; color: var(--akzent); margin-bottom: 6px; letter-spacing: .02em; }
.bew-knoepfe { display: flex; gap: 8px; margin-top: 12px; }

.sz-kalender { width: 100%; max-width: 380px; background: #fff; border-radius: 16px; padding: 18px; }
.kal-kopf { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; font-size: .9rem; }
.kal-kopf b { font-family: var(--display); font-size: 1.15rem; }
.kal-kopf span { color: var(--leise); font-size: .8rem; }
.kal-raster { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.kal-raster i { aspect-ratio: 1; border-radius: 6px; background: var(--papier); font-style: normal; font-size: .7rem; color: var(--leise); padding: 4px 5px; position: relative; }
.kal-raster i.geplant::after { content: ""; position: absolute; left: 5px; right: 5px; bottom: 5px; height: 4px; border-radius: 2px; background: var(--akzent-leucht); }
.kal-raster i.leer { background: none; }
.kal-post { display: flex; gap: 12px; align-items: center; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--linie); font-size: .88rem; }
.kal-post b { display: block; } .kal-post span { color: var(--leise); font-size: .8rem; }
.kal-bild { width: 54px; height: 54px; border-radius: 10px; background: linear-gradient(135deg, #e57c2b, #e3b529 55%, #19a59b); flex: none; }

.sz-ranking { width: 100%; display: grid; justify-items: center; gap: 16px; }
.rang-raster { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; width: 78%; }
.rang-raster i { aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: .72rem; font-weight: 700; color: rgba(0,0,0,.55); transform: scale(0); transition: transform .45s var(--sanft); }
.szene.aktiv .rang-raster i { transform: scale(1); }
.rang-raster i.mitte { outline: 2px solid #fff; outline-offset: 3px; }
.rang-legende { display: flex; gap: 14px; font-size: .76rem; color: var(--nacht-leise); flex-wrap: wrap; justify-content: center; }
.rang-legende span { display: inline-flex; align-items: center; gap: 6px; }
.rang-suche { font-size: .82rem; color: var(--nacht-text); background: rgba(255,255,255,.07); padding: 6px 12px; border-radius: 20px; }

.sz-schutz { width: 100%; max-width: 360px; background: #fff; border-radius: 16px; padding: 20px; display: grid; gap: 16px; justify-items: start; }
.alarm { display: flex; align-items: center; gap: 10px; width: 100%; font-size: .95rem; }
.alarm .von { margin-left: auto; font-size: .76rem; color: var(--rot-text); }
.alarm-punkt { width: 10px; height: 10px; border-radius: 50%; background: var(--rot); box-shadow: 0 0 0 0 rgba(210,70,63,.6); animation: alarm 1.6s infinite; }
@keyframes alarm { 70% { box-shadow: 0 0 0 9px rgba(210,70,63,0); } 100% { box-shadow: none; } }
.diff { display: flex; align-items: center; gap: 10px; font-size: .95rem; font-weight: 600; }
.diff .alt { color: var(--gruen-text); background: #e5f4ec; padding: 5px 9px; border-radius: 6px; }
.diff .neu { color: var(--rot-text); background: #fbe9e7; padding: 5px 9px; border-radius: 6px; text-decoration: line-through; }
.diff .pfeil { color: var(--leise); }

.sz-bericht { width: 100%; display: grid; place-items: center; }
.blatt { width: 78%; max-width: 330px; aspect-ratio: 1 / 1.3; background: #fff; border-radius: 6px; padding: 22px; box-shadow: 0 30px 50px -20px rgba(0,0,0,.6); transform: rotate(-3deg); display: flex; flex-direction: column; gap: 14px; }
.blatt-kopf { display: flex; justify-content: space-between; font-size: .78rem; color: var(--leise); }
.ihr-logo { font-weight: 700; color: var(--akzent); border: 1.5px dashed var(--akzent-leucht); padding: 2px 8px; border-radius: 5px; }
.blatt-titel { font-family: var(--display); font-size: 1.25rem; letter-spacing: -.02em; }
.blatt-zahlen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.blatt-zahlen div { background: var(--papier); border-radius: 8px; padding: 9px; }
.blatt-zahlen b { display: block; font-family: var(--display); font-size: 1.1rem; }
.blatt-zahlen span { font-size: .72rem; color: var(--leise); }
.blatt-kurve { width: 100%; height: 70px; margin-top: auto; color: var(--akzent-leucht); }

/* ── Ablauf ─────────────────────────────────────────────────────────── */
.ablauf { background: var(--flaeche); border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); padding: clamp(80px, 10vw, 130px) var(--rand); }
.ablauf h2 { max-width: calc(var(--breite)); margin: 0 auto 60px; max-width: var(--breite); }
.route { position: relative; max-width: var(--breite); margin: 0 auto; }
.route-linie { position: absolute; left: 0; right: 0; top: -6px; width: 100%; height: 120px; overflow: visible; }
.route-linie path { stroke: var(--akzent-leucht); stroke-width: 2.5; stroke-dasharray: 2 10; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.route ol { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; position: relative; }
.route li:nth-child(1) { padding-top: 54px; } .route li:nth-child(2) { padding-top: 26px; } .route li:nth-child(3) { padding-top: 40px; }
.station { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--nacht); color: #fff; font-family: var(--display); font-weight: 650; margin-bottom: 18px; box-shadow: 0 0 0 7px var(--flaeche); }
.station.ziel { background: var(--gruen); }
.route h3 { font-size: 1.35rem; margin-bottom: 8px; letter-spacing: -.02em; }
.route p { color: var(--tinte-2); max-width: 22rem; }

/* ── Agentur ───────────────────────────────────────────────────────── */
.agentur { max-width: calc(var(--breite) + 2 * var(--rand)); margin: 0 auto; padding: clamp(80px, 10vw, 140px) var(--rand); display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 7vw, 110px); }
.agentur h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); margin-bottom: 30px; max-width: 15ch; }
.haken { list-style: none; margin: 0; padding: 0; }
.haken li { padding: 15px 0 15px 34px; border-top: 1px solid var(--linie); position: relative; font-size: 1.02rem; }
.haken li::before { content: ""; position: absolute; left: 2px; top: 21px; width: 12px; height: 12px; border-radius: 50%; background: var(--gruen); box-shadow: 0 0 0 4px #d7eee2; }
.ehrlich { background: var(--nacht); color: var(--nacht-text); border-radius: 22px; padding: clamp(28px, 4vw, 48px); align-self: start; }
.ehrlich h2 { color: #fff; }
.ehrlich .nein { font-family: var(--display); font-size: clamp(1.3rem, 2.2vw, 1.7rem); line-height: 1.25; letter-spacing: -.02em; color: #fff; margin-bottom: 22px; }
.ehrlich p:not(.nein) { color: var(--nacht-leise); }

/* ── Fragen ─────────────────────────────────────────────────────────── */
.fragen { max-width: calc(var(--breite) + 2 * var(--rand)); margin: 0 auto; padding: 0 var(--rand) clamp(80px, 10vw, 140px); display: grid; grid-template-columns: 1fr 1.6fr; gap: 40px; }
.fragen details { border-top: 1px solid var(--linie); }
.fragen details:last-child { border-bottom: 1px solid var(--linie); }
.fragen summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; font-weight: 600; font-size: 1.08rem; position: relative; }
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -6px; background: linear-gradient(currentColor, currentColor) center / 12px 1.8px no-repeat, linear-gradient(currentColor, currentColor) center / 1.8px 12px no-repeat; transition: transform .25s var(--sanft); }
.fragen details[open] summary::after { transform: rotate(45deg); }
.fragen details p { padding: 0 40px 22px 0; color: var(--tinte-2); max-width: 46rem; }

/* ── Schluss ────────────────────────────────────────────────────────── */
.schluss { position: relative; background: var(--nacht); color: var(--nacht-text); overflow: hidden; padding: clamp(90px, 12vw, 160px) var(--rand); }
.schluss-raster { position: absolute; inset: 0; display: grid; grid-auto-rows: 28px; justify-content: center; align-content: center; overflow: hidden; }
.schluss-raster i { width: 6px; height: 6px; border-radius: 50%; background: rgba(213,230,227,.12); justify-self: center; align-self: center; transition: background 1.2s; }
.schluss-text { position: relative; max-width: var(--breite); margin: 0 auto; }
.schluss h2 { font-size: clamp(2.3rem, 5.6vw, 4.6rem); line-height: 1; letter-spacing: -.045em; color: #fff; max-width: 16ch; }
.schluss-knoepfe { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 36px; }

/* ── Agenturband ───────────────────────────────────────────────────── */
.agenturband { background: var(--papier); border-top: 1px solid var(--linie); }
.agenturband-innen { max-width: var(--breite); margin: 0 auto; padding: 34px var(--rand); display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; box-sizing: content-box; }
.agenturband h2 { font-size: 1.3rem; letter-spacing: -.02em; margin-bottom: 4px; }
.agenturband p { color: var(--tinte-2); font-size: .94rem; max-width: 40rem; }

/* ── Fuß ─────────────────────────────────────────────────────────────── */
.fuss { background: var(--nacht); color: var(--nacht-leise); font-size: .92rem; }
.fuss-innen { max-width: var(--breite); margin: 0 auto; padding: 60px var(--rand) 40px; box-sizing: content-box; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.fuss .marke { color: #fff; }
.fuss-marke p { margin: 14px 0 18px; max-width: 26ch; line-height: 1.5; }
.fuss nav { display: flex; flex-direction: column; gap: 9px; }
.fuss h3 { font-family: var(--text); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--nacht-text); font-weight: 600; margin-bottom: 6px; }
.fuss nav a { color: var(--nacht-leise); text-decoration: none; transition: color .15s; width: fit-content; }
.fuss nav a:hover { color: #fff; }
.knopf-klein { padding: 8px 14px; font-size: .88rem; }
.fuss .knopf-klein { background: var(--akzent-leucht); border-color: var(--akzent-leucht); color: #062224; }
.fuss .knopf-klein:hover { background: #fff; border-color: #fff; }
.fuss-unten { max-width: var(--breite); margin: 0 auto; padding: 18px var(--rand) 26px; box-sizing: content-box; border-top: 1px solid rgba(213,230,227,.12); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .82rem; }

/* ── Beim Scrollen einblenden ───────────────────────────────────────── */
.einblenden { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--sanft), transform .8s var(--sanft); }
.einblenden.sichtbar { opacity: 1; transform: none; }

/* ── Schmal ─────────────────────────────────────────────────────────── */
@media (max-width: 980px) {
  .hauptnav { display: none; }
  .fuss-innen { grid-template-columns: 1fr 1fr 1fr; }
  .fuss-marke { grid-column: 1 / -1; }
  .buehne-innen { grid-template-columns: 1fr; padding-top: 110px; padding-bottom: 70px; }
  .karte { justify-self: center; max-width: 420px; }
  .score-schild { left: 12px; bottom: 12px; transform: translateY(40%); }
  .werkzeuge-kopf, .agentur, .fragen { grid-template-columns: 1fr; }
  .werkzeuge-kopf p { justify-self: start; }
  .werkzeuge-buehne { grid-template-columns: 1fr; }
  .tafel { position: sticky; top: 64px; z-index: 2; max-width: 440px; width: 100%; margin: 0 auto; order: -1; }
  .tafel-innen { aspect-ratio: 1.25; }
  .szene { padding: 6%; }
  .legende li { opacity: .5; }
  .ergebnis-gruppen { grid-template-columns: 1fr; }
  .gruppe + .gruppe { margin-top: 18px; }
  .befund, .hebel-block, .verborgen { grid-template-columns: 1fr; }
  .tacho-karte { max-width: 380px; width: 100%; justify-self: center; }
  .verborgen-liste { grid-template-columns: repeat(2, 1fr); }
  .legende li { padding: 18px 0; }
  .route ol { grid-template-columns: 1fr; gap: 10px; }
  .route li { padding: 0 0 0 64px !important; position: relative; min-height: 70px; }
  .route .station { position: absolute; left: 0; top: 0; }
  .route-linie { display: none; }
  .route ol::before { content: ""; position: absolute; left: 21px; top: 30px; bottom: 60px; border-left: 2.5px dotted var(--akzent-leucht); }
}
@media (max-width: 560px) {
  .konto .nur-gast { display: none; }
  .knopf-dashboard .beschriftung { font-size: .88rem; }
  .check-praefix { display: none; }
  .check-feld { padding-left: 12px; }
  .knopf-check { padding: 13px 16px; }
  .knopf-check .knopf-text { display: none; }
  .buehne h1 { font-size: clamp(2.5rem, 12vw, 3.4rem); }
  .ergebnis-zaehler { gap: 16px; }
  .tafel-innen { aspect-ratio: 1.05; }
  .sz-audit .ring-gross { width: 120px; height: 120px; } .ring-gross b { font-size: 2.4rem; }
  .aufgaben li:nth-child(n+3) { display: none; }
  .fuss-innen { grid-template-columns: 1fr 1fr; }
  .fuss-marke { grid-column: 1 / -1; }
  .messer-zeile { grid-template-columns: 1fr 40px; }
  .messer-zeile span { grid-column: 1 / -1; }
  .hebel li { grid-template-columns: 34px 1fr; }
  .hebel .plus { grid-row: auto; grid-column: 2; justify-self: start; margin-top: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
