/* WettBuddy · Cyan & Violett (gleiche Farbwelt wie das Analyse-Tool). Dunkle runde Flächen, dünne leuchtende Rahmen. */
@font-face {
  font-family: "WB Manrope";
  src: url("manrope.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --bg: #060a1c; --bg2: #090f26; --panel: #0c1330; --panel2: #121b40; --feld: #101936;
  --line: #293860; --line2: #202c50;
  --cyan: #3ae2ff; --violett: #a24dff; --gold: #ffd257;
  --ink: #e7ebff; --ink2: #b8c2e7; --muted: #97a3d0;
  --ok: #3ddc97; --bad: #ff718c; --warn: #ffd257;
  --glow: 0 0 0 1px #3ae2ff40, 0 0 28px #3ae2ff12;
  --glow-v: 0 0 0 1px #a24dff55, 0 0 28px #a24dff14;
  --glow-g: 0 0 0 1px #3ddc9766, 0 0 24px #3ddc9712;
  --r-l: 18px; --r-m: 12px; --r-s: 9px;
  --schrift: "WB Manrope", "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0; background: var(--bg); color: var(--ink); font-family: var(--schrift);
  font-size: 15.5px; line-height: 1.55; -webkit-font-smoothing: antialiased;
  background-image: radial-gradient(60% 50% at 10% -10%, #a24dff1f, transparent 70%),
                    radial-gradient(50% 40% at 100% 0%, #3ae2ff14, transparent 70%);
  background-repeat: no-repeat;
}
a { color: #7ceaff; text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { margin: 0; letter-spacing: -.025em; text-wrap: balance; line-height: 1.1; }
p { margin: 0; }
.zahl, .num { font-variant-numeric: tabular-nums; }
.wrap { max-width: 1180px; margin: 0 auto; padding-inline: 20px; }
.gedimmt { color: var(--muted); }
.klein { font-size: .85rem; }
.eyebrow { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); }

/* Kopf */
.kopf { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: #080e23f0;
  border-bottom: 1px solid #3ae2ff2a; backdrop-filter: blur(10px); }
.kopf .wrap { display: flex; align-items: center; gap: 18px; min-height: 64px; }
.marke { display: flex; align-items: center; gap: 11px; color: var(--ink); font-weight: 800; font-size: 1.25rem; letter-spacing: -.02em; }
.marke:hover { text-decoration: none; }
/* Logo 9 „Taktiktafel“: Zeichen, senkrechter Trennstrich, leicht schräger Schriftzug */
.marke svg { width: 40px; height: 40px; flex: none; padding-right: 11px; border-right: 1.5px solid var(--line); box-sizing: content-box; }
.marke span { display: inline-block; transform: skewX(-9deg); }
.marke span em { font-style: normal; color: var(--cyan); }
.nav { display: flex; gap: 4px; margin-left: auto; flex-wrap: wrap; }
.nav a { color: var(--muted); font-weight: 650; font-size: .92rem; padding: 8px 12px; border-radius: 10px; border: 1px solid transparent; }
.nav a:hover { color: var(--ink); background: var(--panel2); text-decoration: none; }
.nav a.an { color: var(--cyan); background: #10283a; border-color: #3ae2ff55; }

/* Knöpfe */
.knopf { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 750;
  font-size: .95rem; padding: 11px 18px; border-radius: 12px; border: 1px solid #3ae2ff; background: var(--cyan);
  color: #04111a; cursor: pointer; text-decoration: none; white-space: nowrap; }
.knopf:hover { text-decoration: none; filter: brightness(1.08); }
.knopf.zweit { background: transparent; color: var(--ink); border-color: var(--line); }
.knopf.zweit:hover { border-color: var(--cyan); color: var(--cyan); }
.knopf.violett { background: var(--violett); border-color: var(--violett); color: #fff; }
.knopf.gruen { background: #1d4d3c; border-color: #3ddc9788; color: #b9f5dc; }
.knopf.rot { background: #4d1d27; border-color: #ff718c88; color: #ffc4cd; }
.knopf.mini { padding: 6px 11px; font-size: .82rem; border-radius: 9px; }
.knopf[disabled] { opacity: .5; cursor: not-allowed; }
.knopfreihe { display: flex; flex-wrap: wrap; gap: 10px; }

/* Flächen */
.flaeche { background: var(--panel); border-radius: var(--r-l); box-shadow: var(--glow); padding: 22px; min-width: 0; }
.flaeche.violett { box-shadow: var(--glow-v); }
.flaeche.gruen { box-shadow: var(--glow-g); }
.flaeche.ruhig { box-shadow: 0 0 0 1px var(--line2); }
.flaeche h2 { font-size: 1.35rem; }
.flaeche h3 { font-size: 1.05rem; }

/* Startseite */
.held { padding-block: 56px 40px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.held h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -.045em; }
.held h1 em { font-style: normal; background: linear-gradient(100deg, var(--cyan), var(--violett)); -webkit-background-clip: text;
  background-clip: text; color: transparent; }
.held .unter { margin-top: 16px; font-size: 1.08rem; color: var(--ink2); max-width: 54ch; }
.held .knopfreihe { margin-top: 26px; }
.vertrauen { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: .88rem; }
.vertrauen span { display: inline-flex; align-items: center; gap: 7px; }
.vertrauen i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); display: inline-block; }
@media (max-width: 900px) { .held { grid-template-columns: 1fr; padding-block: 36px 24px; } }

.tdt { display: grid; gap: 14px; position: relative; overflow: hidden; }
.tdt::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 60% at 100% 0%, #a24dff22, transparent 70%); pointer-events: none; }
.tdt .kopfzeile { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.tdt .paarung { font-size: 1.6rem; font-weight: 800; letter-spacing: -.035em; line-height: 1.05; }
.tdt .markt { font-size: 1.15rem; font-weight: 750; color: var(--gold); }
.tdt .werte { display: flex; gap: 28px; }
.tdt .werte b { display: block; font-size: 2.3rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.tdt .werte small { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.balken { display: grid; gap: 6px; font-size: .8rem; color: var(--muted); }
.balken .spur { height: 7px; border-radius: 4px; background: #1c284b; overflow: hidden; }
.balken .spur i { display: block; height: 100%; border-radius: 4px; background: var(--cyan); }
.balken .spur i.markt { background: #5a6596; }
.hinweis { font-size: .78rem; color: var(--muted); }

.abschnitt { padding-block: 44px; }
.abschnitt > .wrap > .kopfzeile { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.abschnitt h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 800; }
.raster2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.raster3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }

.schein .bein { display: grid; grid-template-columns: auto 1fr auto; gap: 4px 12px; padding-block: 10px; border-top: 1px solid var(--line2); align-items: baseline; }
.schein .bein:first-of-type { border-top: 0; }
.schein .bein .uhr { color: var(--muted); font-size: .85rem; }
.schein .bein .wahl { font-weight: 700; }
.schein .bein .q { font-weight: 750; color: var(--gold); }
.schein .bein .sp { grid-column: 2 / 4; color: var(--muted); font-size: .85rem; }
.schein .summe { display: flex; gap: 18px; margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--line); }
.schein .summe b { font-size: 1.3rem; }

.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
.kpi { background: var(--feld); border-radius: var(--r-m); padding: 16px; box-shadow: 0 0 0 1px var(--line2); }
.kpi small { display: block; color: var(--muted); font-size: .8rem; font-weight: 600; }
.kpi b { display: block; font-size: 1.9rem; font-weight: 800; letter-spacing: -.035em; margin-top: 2px; }
.kpi span { font-size: .82rem; color: var(--muted); }
.kpi.gut b { color: var(--ok); } .kpi.schlecht b { color: var(--bad); } .kpi.warn { box-shadow: 0 0 0 1px #ffd25766; } .kpi.warn b { color: var(--warn); }

.schritte { counter-reset: s; }
.schritte .flaeche { counter-increment: s; }
.schritte .flaeche::before { content: counter(s); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px;
  background: #10283a; color: var(--cyan); font-weight: 800; margin-bottom: 12px; box-shadow: 0 0 0 1px #3ae2ff55; }
.schritte p { color: var(--ink2); margin-top: 6px; font-size: .95rem; }

.vergleich { width: 100%; border-collapse: collapse; }
.vergleich th, .vergleich td { padding: 12px 14px; border-bottom: 1px solid var(--line2); text-align: left; }
.vergleich th { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.vergleich td.ja { color: var(--ok); font-weight: 700; }
.vergleich td.nein { color: var(--muted); }
.vergleich tr:last-child td { border-bottom: 0; }

.faq details { border-top: 1px solid var(--line2); padding-block: 14px; }
.faq details:first-child { border-top: 0; }
.faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--cyan); font-weight: 800; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 8px; color: var(--ink2); max-width: 70ch; }

.chip { display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 750; padding: 3px 10px; border-radius: 999px;
  border: 1px solid currentColor; white-space: nowrap; letter-spacing: .03em; }
.chip.ok { color: var(--ok); } .chip.bad { color: var(--bad); } .chip.offen { color: var(--muted); } .chip.warn { color: var(--warn); }
.chip.cyan { color: var(--cyan); } .chip.violett { color: #c79bff; }

.tabelle-box { overflow-x: auto; border-radius: var(--r-m); box-shadow: 0 0 0 1px var(--line2); }
table.liste { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 640px; }
table.liste th, table.liste td { padding: 10px 12px; border-bottom: 1px solid var(--line2); text-align: left; vertical-align: top; }
table.liste th { font-size: .72rem; text-transform: uppercase; letter-spacing: .09em; color: var(--muted); background: #0a1029; font-weight: 700; }
table.liste tr:last-child td { border-bottom: 0; }
table.liste td.r, table.liste th.r { text-align: right; }

.fuss { margin-top: 30px; border-top: 1px solid var(--line2); padding-block: 30px 40px; color: var(--muted); font-size: .85rem; }
.fuss .wrap { display: grid; gap: 14px; }
.fuss nav { display: flex; gap: 16px; flex-wrap: wrap; }
.fuss .sucht { border-radius: var(--r-m); padding: 12px 14px; box-shadow: 0 0 0 1px #ffd25744; color: var(--ink2); }

.textseite { max-width: 760px; padding-block: 40px; }
.textseite h1 { font-size: 2.2rem; margin-bottom: 18px; }
.textseite .inhalt { white-space: pre-line; color: var(--ink2); }

/* Admin */
.admin { display: grid; grid-template-columns: 236px 1fr; min-height: 100vh; }
.seitenleiste { background: #080e23; border-right: 1px solid var(--line2); padding: 18px 12px; display: flex; flex-direction: column; gap: 4px;
  position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.seitenleiste .marke { padding: 4px 8px 18px; }
.seitenleiste a.punkt { display: flex; justify-content: space-between; align-items: center; gap: 8px; color: var(--muted); font-weight: 650;
  padding: 9px 12px; border-radius: 10px; border: 1px solid transparent; font-size: .93rem; }
.seitenleiste a.punkt:hover { color: var(--ink); background: var(--panel2); text-decoration: none; }
.seitenleiste a.punkt.an { color: var(--cyan); background: #10283a; border-color: #3ae2ff55; }
.seitenleiste a.punkt em { font-style: normal; font-size: .72rem; font-weight: 800; background: var(--bad); color: #fff; border-radius: 999px; padding: 1px 8px; }
.seitenleiste .unten { margin-top: auto; padding: 12px; font-size: .8rem; color: var(--muted); display: grid; gap: 8px; }
.amain { padding: 28px 30px 60px; display: grid; gap: 22px; align-content: start; min-width: 0; }
.amain > .kopfzeile { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.amain h1 { font-size: 1.7rem; font-weight: 800; }
.amain h2 { font-size: 1.15rem; margin-bottom: 12px; }
.meldung { border-radius: var(--r-m); padding: 12px 16px; font-weight: 600; }
.meldung.ok { box-shadow: var(--glow-g); color: #b9f5dc; background: #0d2a24; }
.meldung.fehler { box-shadow: 0 0 0 1px #ff718c77; color: #ffc4cd; background: #2a0f17; }
.meldung.info { box-shadow: var(--glow); color: var(--ink2); background: var(--panel); }
@media (max-width: 860px) {
  .admin { grid-template-columns: 1fr; }
  .seitenleiste { position: static; height: auto; flex-direction: row; flex-wrap: wrap; border-right: 0; border-bottom: 1px solid var(--line2); }
  .seitenleiste .marke { width: 100%; padding-bottom: 8px; }
  .seitenleiste .unten { display: none; }
  .amain { padding: 20px 16px 50px; }
}
form.form { display: grid; gap: 14px; }
.feld { display: grid; gap: 6px; }
.feld label { font-size: .82rem; font-weight: 700; color: var(--ink2); }
.feld small { color: var(--muted); font-size: .78rem; }
input[type=text], input[type=password], input[type=number], input[type=time], input[type=search], textarea, select {
  font: inherit; color: var(--ink); background: var(--feld); border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; width: 100%; }
input:focus, textarea:focus, select:focus { border-color: var(--cyan); outline: none; box-shadow: 0 0 0 3px #3ae2ff22; }
textarea { min-height: 140px; resize: vertical; }
.schalter { display: inline-flex; align-items: center; gap: 10px; font-weight: 650; cursor: pointer; }
.schalter input { width: 18px; height: 18px; accent-color: var(--cyan); }
.inline { display: inline; }
.zeile { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.leer { color: var(--muted); padding: 18px; text-align: center; }
.vorschau { white-space: pre-wrap; background: #0e1621; color: #e9eef3; border-radius: 12px; padding: 14px; font-size: .88rem;
  box-shadow: 0 0 0 1px #2c3a52; max-height: 460px; overflow: auto; }
.bildvorschau { width: 150px; border-radius: 10px; box-shadow: 0 0 0 1px var(--line); display: block; }
.code { font-family: ui-monospace, Consolas, monospace; letter-spacing: .06em; background: var(--feld); padding: 2px 8px; border-radius: 6px; }
.login { min-height: 100vh; display: grid; place-items: center; padding: 20px; }
.login .flaeche { width: 100%; max-width: 400px; display: grid; gap: 16px; }

/* Bühne (Startseite): ein Blickfang – der Top-Tipp groß, Prozent und Kennzahlen mit Cyan-Violett-Verlauf */
.verlauf { background: linear-gradient(100deg, var(--cyan) 8%, var(--violett) 92%); -webkit-background-clip: text;
  background-clip: text; color: transparent; -webkit-text-fill-color: transparent; padding-bottom: .04em; }
.buehne { padding-block: clamp(28px, 5vw, 64px) clamp(32px, 5vw, 60px); border-bottom: 1px solid var(--line2);
  background: radial-gradient(55% 70% at 100% 30%, #a24dff1c, transparent 70%), radial-gradient(45% 60% at 0% 100%, #3ae2ff12, transparent 70%); }
.buehne-kopf { display: flex; justify-content: space-between; align-items: baseline; gap: 8px 24px; flex-wrap: wrap; color: var(--muted); font-size: .95rem; }
.buehne-kopf h1 { font-size: 1.05rem; font-weight: 800; letter-spacing: -.01em; color: var(--ink); }
.buehne-kopf h1 em { font-style: normal; color: var(--cyan); }
.buehne-dach { margin-top: clamp(36px, 6vw, 76px); display: inline-flex; align-items: center; gap: 8px; color: var(--cyan); font-weight: 700; font-size: .95rem; }
.buehne-paarung { margin-top: 10px; font-size: clamp(1.35rem, 2.6vw, 1.9rem); font-weight: 800; letter-spacing: -.02em; }
.buehne-mitte { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px 40px; flex-wrap: wrap; margin-top: clamp(18px, 3vw, 36px); }
.buehne-markt { font-size: clamp(2.8rem, 8.4vw, 6.8rem); font-weight: 800; letter-spacing: -.055em; line-height: .92; max-width: 15ch; overflow-wrap: anywhere; text-wrap: balance; min-width: 0; }
.buehne-markt small { font-size: .3em; font-weight: 600; letter-spacing: -.01em; color: var(--muted); white-space: nowrap; }
.buehne-pz { font-size: clamp(4.4rem, 12vw, 9.4rem); font-weight: 800; letter-spacing: -.06em; line-height: .84; font-variant-numeric: tabular-nums; }
.buehne-pz i { font-style: normal; font-size: .46em; margin-left: .06em; }
.buehne-fuss { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px 40px; align-items: center; margin-top: clamp(26px, 4vw, 44px); }
.buehne-quote b { display: inline-block; font-size: 1.9rem; font-weight: 800; letter-spacing: -.03em; color: var(--gold); border-bottom: 1px solid #ffd25766; line-height: 1.15; }
.buehne-quote small { display: block; margin-top: 4px; color: var(--muted); font-size: .8rem; }
.buehne-fuss p { color: var(--ink2); max-width: 60ch; }
.buehne-leer { margin-top: 18px; color: var(--ink2); font-size: 1.1rem; }
.buehne-zahlen { display: flex; flex-wrap: wrap; align-items: baseline; gap: 14px 44px; margin-top: clamp(34px, 5vw, 60px); padding-top: 26px; border-top: 1px solid var(--line2); }
.buehne-zahlen div b { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.buehne-zahlen div span { margin-left: 7px; color: var(--muted); font-weight: 600; }
.buehne-zahlen .hinweis { flex: 1 1 260px; margin: 0; }
@media (max-width: 760px) {
  .buehne-fuss { grid-template-columns: 1fr; }
  .buehne-mitte { align-items: flex-start; }
}
.tg-abschnitt { padding-block: 34px 0; }
.tg-band { display: flex; justify-content: space-between; align-items: center; gap: 18px 30px; flex-wrap: wrap; }
.tg-band > div { max-width: 62ch; min-width: 0; }
.tg-band h2 { margin: 6px 0 6px; }
.knopf.gruen-voll { background: var(--ok); border-color: var(--ok); color: #04170f; }
@media (min-width: 900px) { .buehne-mitte { flex-wrap: nowrap; } .buehne-markt { flex: 1 1 auto; } }
@media (max-width: 640px) {
  .kopf .wrap { flex-wrap: wrap; gap: 0 12px; min-height: 0; padding-block: 10px 0; }
  .kopf .nav { order: 3; width: 100%; margin-left: 0; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-block: 8px; }
  .kopf .nav::-webkit-scrollbar { display: none; }
  .kopf .nav a { flex: none; padding: 6px 11px; font-size: .88rem; white-space: nowrap; }
  .kopf .marke svg { width: 32px; height: 32px; }
}
.hg-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px; margin-top: 16px; }
.hg-kachel { margin: 0; display: grid; gap: 6px; justify-items: start; }
.hg-kachel img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 12px; box-shadow: 0 0 0 1px #293860; }
