/* BLITZ RADAR Website, Ultra-Look 2026. Variablen-Namen bleiben (admin.html nutzt sie). */
@font-face { font-family: "Geist"; src: url("/fonts/geist-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; 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: "Geist"; src: url("/fonts/geist-latin-ext-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, 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; }
@font-face { font-family: "Geist Mono"; src: url("/fonts/geist-mono-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #05080f; --flaeche: #0b0f18; --flaeche-2: #121726; --rand: rgba(255, 255, 255, .08); --rand-stark: rgba(255, 255, 255, .14);
  --text: #f2f4f7; --leise: #8d95a3; --leiser: #5d6574;
  --rot: #ff4a3d; --orange: #ff9a3d; --gelb: #ffc23d; --gruen: #2fd28b; --blau: #4aa8ff;
  --schrift: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --r1: 10px; --r2: 16px; --r3: 24px;
  --rand-x: clamp(16px, 4.4vw, 64px); --breite: 1240px;
  --kurve: cubic-bezier(.23, 1, .32, 1);
}
[hidden] { display: none !important; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--schrift); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { font-weight: 600; letter-spacing: -.025em; line-height: 1.08; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.fein { color: var(--leise); font-size: 14px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--blau); outline-offset: 3px; border-radius: 6px; }
.sprung { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--text); color: var(--bg); padding: 10px 14px; border-radius: 10px; font-weight: 600; text-decoration: none; }
.sprung:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(var(--breite) + 2 * var(--rand-x)); margin: 0 auto; padding: 0 var(--rand-x); }

/* Kopf */
.kopf { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 28px; height: 64px; padding: 0 var(--rand-x); background: rgba(5, 8, 15, .72); backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px); border-bottom: 1px solid var(--rand); }
.marke { display: flex; gap: 10px; align-items: center; font-weight: 650; font-size: 15px; letter-spacing: .14em; text-decoration: none; white-space: nowrap; }
.marke img { width: 30px; height: 30px; border-radius: 8px; }
.marke.gross { font-size: 18px; } .marke.gross img { width: 40px; height: 40px; border-radius: 10px; }
.kopf nav { display: flex; gap: 4px; margin-left: auto; font-size: 14px; }
.kopf nav a { text-decoration: none; color: var(--leise); padding: 8px 12px; border-radius: 999px; transition: color .2s, background-color .2s; }
.kopf nav a:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.menue-knopf { display: none; width: 44px; height: 44px; margin-left: 4px; border: 1px solid var(--rand); background: transparent; border-radius: 12px; cursor: pointer; position: relative; }
.menue-knopf span { position: absolute; left: 13px; right: 13px; height: 1.6px; background: var(--text); transition: transform .3s var(--kurve); }
.menue-knopf span:first-child { top: 17px; } .menue-knopf span:last-child { top: 25px; }
.menue-knopf[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menue-knopf[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* Knöpfe */
.knopf { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; background: var(--text); color: #0a0b0e; font: 600 15px/1 var(--schrift); letter-spacing: -.01em; text-decoration: none; border: 0; cursor: pointer; white-space: nowrap; transition: transform .16s var(--kurve), background-color .2s, box-shadow .25s; }
.knopf:hover { transform: translateY(-1px); background: #fff; box-shadow: 0 8px 28px -10px rgba(255, 255, 255, .35); }
.knopf:active { transform: scale(.97); }
.knopf.hell { background: rgba(255, 255, 255, .06); color: var(--text); box-shadow: inset 0 0 0 1px var(--rand-stark); }
.knopf.hell:hover { background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
.knopf.klein { min-height: 38px; padding: 0 16px; font-size: 14px; }
.knopf[disabled] { opacity: .5; cursor: default; transform: none; }

/* Held */
.held { position: relative; overflow: hidden; min-height: calc(100svh - 64px); display: flex; align-items: center; padding: 56px 0 64px; isolation: isolate; }
.held-grund { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(60% 55% at 78% 42%, rgba(255, 74, 61, .16), transparent 70%),
  radial-gradient(40% 40% at 12% 90%, rgba(74, 168, 255, .07), transparent 70%),
  linear-gradient(180deg, #05080f 0%, #070b13 100%); }
.held-grund::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(70% 70% at 70% 45%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(70% 70% at 70% 45%, #000 20%, transparent 75%); }
.held-raster { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.live-pille { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--rand); font: 500 13px/1 var(--mono); color: var(--leise); letter-spacing: .01em; }
.live-pille b { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.live-pille .trenn { width: 1px; height: 12px; background: var(--rand-stark); }
.punkt { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--gruen); box-shadow: 0 0 0 0 rgba(47, 210, 139, .5); animation: atmen 2.8s ease-out infinite; }
@keyframes atmen { 0% { box-shadow: 0 0 0 0 rgba(47, 210, 139, .45); } 70%, 100% { box-shadow: 0 0 0 8px rgba(47, 210, 139, 0); } }
.held h1 { font-size: clamp(40px, 4.9vw, 72px); letter-spacing: -.045em; line-height: 1; margin: 26px 0 22px; font-weight: 620; }
.held-satz { font-size: clamp(17px, 1.45vw, 20px); color: var(--leise); max-width: 34em; line-height: 1.5; }
.knoepfe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.fakten { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0; margin: 48px 0 0; padding-top: 22px; border-top: 1px solid var(--rand); }
.fakten div { padding-right: clamp(18px, 3vw, 40px); margin-right: clamp(18px, 3vw, 40px); border-right: 1px solid var(--rand); }
.fakten div:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.fakten dt { font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--leiser); }
.fakten dd { margin: 10px 0 0; font-size: 19px; font-weight: 560; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }

/* Gerät */
.held-geraet { display: flex; justify-content: center; perspective: 1600px; }
.geraet { width: min(330px, 78vw); aspect-ratio: 9 / 19.2; border-radius: 52px; padding: 11px; background: linear-gradient(150deg, #3a3f49, #16181d 30%, #0c0d10 70%, #2a2e36); box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 60px 120px -30px rgba(0, 0, 0, .9), 0 30px 80px -40px rgba(255, 74, 61, .35); }
.g-schirm { position: relative; height: 100%; border-radius: 42px; overflow: hidden; background: #0a0e17; display: flex; flex-direction: column; }
.g-status { display: flex; justify-content: space-between; align-items: center; padding: 16px 26px 6px; font: 600 13px/1 var(--schrift); }
.g-sym { display: flex; gap: 3px; align-items: flex-end; } .g-sym i { width: 3px; background: var(--text); border-radius: 1px; } .g-sym i:nth-child(1) { height: 5px; } .g-sym i:nth-child(2) { height: 8px; } .g-sym i:nth-child(3) { height: 11px; }
.g-warn { margin: 8px 12px 0; display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 12px; border-radius: 22px; background: linear-gradient(180deg, rgba(255, 74, 61, .18), rgba(255, 74, 61, .08)); box-shadow: inset 0 0 0 1px rgba(255, 74, 61, .35); }
.g-schild { width: 44px; height: 44px; border-radius: 50%; background: #fff; color: #111; display: grid; place-items: center; font: 700 17px/1 var(--schrift); box-shadow: inset 0 0 0 5px #e3241b; }
.g-warn-text strong { display: block; font-size: 14px; font-weight: 600; } .g-warn-text span { font-size: 11.5px; color: #ffb5ad; }
.g-dist { text-align: right; } .g-dist b { font: 600 22px/1 var(--schrift); letter-spacing: -.03em; } .g-dist span { font-size: 11px; color: #ffb5ad; margin-left: 2px; }
.g-karte { flex: 1; margin-top: 10px; position: relative; overflow: hidden; }
.g-karte svg { width: 100%; height: 100%; }
.g-linie { stroke-dasharray: 520; stroke-dashoffset: 0; }
.g-puls { transform-origin: center; animation: puls 3.2s ease-out infinite; }
@keyframes puls { 0% { transform: scale(.6); opacity: .45; } 80%, 100% { transform: scale(1.7); opacity: 0; } }
.g-unten { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px 20px; background: linear-gradient(0deg, #0a0e17 60%, transparent); margin-top: -40px; position: relative; }
.g-tacho { width: 72px; height: 72px; border-radius: 50%; display: grid; place-content: center; text-align: center; background: #111624; box-shadow: inset 0 0 0 1px var(--rand-stark), 0 10px 30px rgba(0, 0, 0, .5); }
.g-tacho b { font: 600 24px/1 var(--schrift); letter-spacing: -.03em; } .g-tacho span { font-size: 10px; color: var(--leise); }
.g-leiste { display: flex; gap: 8px; } .g-leiste span { padding: 10px 14px; border-radius: 14px; background: #141a28; font-size: 12px; font-weight: 600; box-shadow: inset 0 0 0 1px var(--rand); }
.g-leiste span:first-child { background: var(--rot); box-shadow: none; }

/* Auftritt beim Laden, einmal */
[data-enter] .held-text > * { animation: auftritt .9s var(--kurve) both; }
[data-enter] .held-text > :nth-child(2) { animation-delay: .06s; } [data-enter] .held-text > :nth-child(3) { animation-delay: .12s; }
[data-enter] .held-text > :nth-child(4) { animation-delay: .18s; } [data-enter] .held-text > :nth-child(5) { animation-delay: .24s; }
[data-enter] .geraet { animation: geraet-auf 1.3s var(--kurve) .1s both; }
@keyframes auftritt { from { opacity: 0; transform: translateY(14px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes geraet-auf { from { opacity: 0; transform: translateY(40px) rotateX(14deg) scale(.96); } to { opacity: 1; transform: none; } }

/* Abschnitte */
.abschnitt { padding: clamp(80px, 11vw, 150px) 0; border-top: 1px solid var(--rand); }
.kopfzeile { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 24px clamp(32px, 5vw, 80px); align-items: end; margin-bottom: clamp(36px, 5vw, 60px); }
.ueber { font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--rot); margin-bottom: 18px; }
.abschnitt h2 { font-size: clamp(32px, 3.9vw, 54px); letter-spacing: -.04em; line-height: 1.03; max-width: 15em; }
.kopf-text { color: var(--leise); font-size: 17px; line-height: 1.55; max-width: 30em; }
.kopf-text b { color: var(--text); font-weight: 560; font-variant-numeric: tabular-nums; }

/* Live-Karte */
.karte-abschnitt { background: linear-gradient(180deg, #05080f, #0a0b0f); }
.karte-buehne { position: relative; height: min(78vh, 760px); min-height: 520px; border-radius: var(--r3); overflow: hidden; box-shadow: 0 0 0 1px var(--rand-stark), 0 40px 100px -40px rgba(0, 0, 0, .8); background: #0a0e17; }
.karte-rahmen { position: absolute; inset: 0; }
.livekarte { position: absolute; inset: 0; }
.karte-ebenen, .karte-ansicht { position: absolute; z-index: 3; display: flex; gap: 6px; padding: 5px; border-radius: 999px; background: rgba(8, 12, 22, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px var(--rand-stark); }
.karte-ebenen { left: 16px; top: 16px; }
.karte-ansicht { left: 16px; bottom: 40px; }
.karte-ebenen button, .karte-ansicht button { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; color: var(--leise); font: 500 13.5px/1 var(--schrift); cursor: pointer; transition: background-color .2s, color .2s, transform .15s var(--kurve); }
.karte-ebenen button:hover, .karte-ansicht button:hover { color: var(--text); background: rgba(255, 255, 255, .06); }
.karte-ebenen button:active, .karte-ansicht button:active { transform: scale(.96); }
.karte-ebenen button i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 25%, transparent); opacity: .35; transition: opacity .2s; }
.karte-ansicht button.an { color: var(--text); background: rgba(255, 255, 255, .1); }
.karte-ebenen button.an { color: var(--text); background: rgba(255, 255, 255, .08); } .karte-ebenen button.an i { opacity: 1; }
.stau-liste { position: absolute; z-index: 3; right: 16px; top: 16px; bottom: 40px; width: 340px; display: flex; flex-direction: column; border-radius: var(--r2); background: rgba(8, 12, 22, .82); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: inset 0 0 0 1px var(--rand-stark); overflow: hidden; }
.stau-kopf { display: flex; justify-content: space-between; align-items: baseline; padding: 18px 18px 12px; border-bottom: 1px solid var(--rand); }
.stau-kopf h3 { font-size: 16px; letter-spacing: -.01em; }
.stau-kopf .fein { font: 500 12px/1 var(--mono); }
.stau-liste ol { list-style: none; margin: 0; padding: 6px; overflow: auto; flex: 1; scrollbar-width: thin; scrollbar-color: #2a2f3a transparent; }
.stau-liste li.leer { padding: 14px 12px; color: var(--leise); font-size: 14px; }
.stau-liste li button { width: 100%; display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; text-align: left; padding: 12px; border: 0; border-radius: 12px; background: transparent; color: var(--text); font: inherit; cursor: pointer; transition: background-color .18s; }
.stau-liste li button:hover { background: rgba(255, 255, 255, .05); }
.stau-liste .ab { grid-row: span 2; align-self: start; min-width: 40px; height: 26px; padding: 0 8px; border-radius: 7px; display: grid; place-items: center; background: #1f5fd1; color: #fff; font: 700 12px/1 var(--schrift); letter-spacing: .02em; }
.stau-liste .st { font-size: 14px; font-weight: 550; line-height: 1.3; }
.stau-liste .su { font-size: 12.5px; color: var(--leise); line-height: 1.35; }
.stau-liste .zeit { color: var(--orange); font-family: var(--mono); font-size: 11.5px; }
.stau-liste .quelle { padding: 10px 18px 14px; font-size: 11.5px; color: var(--leiser); border-top: 1px solid var(--rand); }
.maplibregl-ctrl-attrib { background: rgba(8, 12, 22, .78) !important; color: var(--leise) !important; font: 11px/1.4 var(--schrift) !important; }
.maplibregl-ctrl-attrib a { color: var(--text) !important; }
.maplibregl-ctrl-attrib-button { filter: invert(1); }
.maplibregl-ctrl-group { background: rgba(8, 12, 22, .82) !important; box-shadow: inset 0 0 0 1px var(--rand-stark) !important; border-radius: 12px !important; }
.maplibregl-ctrl-group button + button { border-top-color: var(--rand) !important; }
.maplibregl-ctrl-group button .maplibregl-ctrl-icon { filter: invert(1) brightness(1.4); }
.maplibregl-cooperative-gesture-screen { background: rgba(5, 8, 15, .7) !important; font: 500 18px/1.4 var(--schrift) !important; }
.maplibregl-popup-content { background: #111624 !important; color: var(--text) !important; border-radius: 14px !important; padding: 14px 16px !important; box-shadow: 0 0 0 1px var(--rand-stark), 0 20px 50px rgba(0, 0, 0, .6) !important; font: 13.5px/1.45 var(--schrift); max-width: 280px; }
.maplibregl-popup-tip { border-top-color: #111624 !important; border-bottom-color: #111624 !important; }
.maplibregl-popup-close-button { color: var(--leise); font-size: 18px; width: 30px; height: 30px; }
.pop b { display: block; font-size: 14.5px; margin-bottom: 2px; } .pop small { color: var(--leise); } .pop img { width: 100%; border-radius: 10px; margin-top: 8px; }
.pop .limit { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #fff; color: #111; font-weight: 700; font-size: 13px; box-shadow: inset 0 0 0 4px #e3241b; margin: 6px 8px 0 0; vertical-align: middle; }

/* Kacheln */
.kachel { position: relative; display: flex; flex-direction: column; padding: 22px; border-radius: var(--r3); background: linear-gradient(180deg, #0e1320, #0a0e16); box-shadow: inset 0 0 0 1px var(--rand); color: inherit; text-decoration: none; transition: transform .3s var(--kurve), box-shadow .3s; }
.kachel h3 { font-size: 19px; letter-spacing: -.02em; margin-top: 20px; }
.kachel p { color: var(--leise); font-size: 15px; margin-top: 8px; line-height: 1.55; }
.link-kachel:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--rand-stark), 0 30px 60px -30px rgba(0, 0, 0, .8); }
.link-kachel .mehr { margin-top: auto; padding-top: 22px; font-weight: 600; font-size: 15px; display: inline-flex; gap: 8px; align-items: center; }
.link-kachel .mehr::after { content: "→"; transition: transform .25s var(--kurve); }
.link-kachel:hover .mehr::after { transform: translateX(4px); }
.k-bild { position: relative; height: 180px; border-radius: var(--r2); background: radial-gradient(80% 90% at 50% 10%, #141b2b, #0a0e17); box-shadow: inset 0 0 0 1px var(--rand); overflow: hidden; display: grid; place-items: center; }

.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.bento .gross { grid-row: span 2; }
.bento .breit { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.bento .breit .k-bild { height: 200px; } .bento .breit h3 { margin-top: 0; }
.bento .gross .k-bild { height: auto; flex: 1; min-height: 240px; }
.k-melden { gap: 16px; align-content: center; padding: 20px; }
.k-melden .frage { display: flex; gap: 14px; align-items: center; padding: 14px 18px; border-radius: 18px; background: #141a28; box-shadow: inset 0 0 0 1px var(--rand-stark); }
.k-melden .f-sym { width: 40px; height: 40px; border-radius: 50%; background: radial-gradient(circle, var(--rot) 30%, rgba(255, 74, 61, .25) 32%, rgba(255, 74, 61, .25) 60%, transparent 62%); }
.k-melden strong { display: block; font-size: 15px; } .k-melden small { color: var(--leise); font-size: 13px; }
.k-melden .f-knoepfe { display: flex; gap: 10px; justify-content: center; }
.k-melden .f-knoepfe span { padding: 11px 22px; border-radius: 999px; background: #141a28; box-shadow: inset 0 0 0 1px var(--rand-stark); font-size: 14px; font-weight: 600; }
.k-melden .f-knoepfe .ja { background: var(--text); color: #0a0e17; box-shadow: none; }
.k-welle { display: flex; gap: 6px; align-items: center; justify-content: center; }
.k-welle span { width: 5px; border-radius: 3px; background: linear-gradient(var(--rot), var(--orange)); height: 20px; animation: welle 3s ease-in-out infinite; }
.k-welle span:nth-child(odd) { animation-delay: -.6s; } .k-welle span:nth-child(3n) { animation-delay: -1.2s; } .k-welle span:nth-child(4n) { animation-delay: -1.8s; } .k-welle span:nth-child(5n) { animation-delay: -2.4s; }
@keyframes welle { 0%, 100% { height: 14px; opacity: .55; } 50% { height: 64px; opacity: 1; } }
.k-kegel svg { width: 78%; }
.k-tempo { grid-auto-flow: column; gap: 26px; }
.k-tempo .schild { width: 86px; height: 86px; border-radius: 50%; background: #fff; color: #111; display: grid; place-items: center; font: 700 32px/1 var(--schrift); box-shadow: inset 0 0 0 10px #e3241b; }
.k-tempo .ist { text-align: center; } .k-tempo .ist b { display: block; font: 600 54px/1 var(--schrift); letter-spacing: -.05em; color: var(--orange); } .k-tempo .ist small { color: var(--leise); font-size: 13px; }
.k-stempel { background: linear-gradient(135deg, #263241, #121820 60%), #121820; }
.k-stempel .stempel { position: absolute; left: 14px; bottom: 14px; display: grid; gap: 3px; padding: 10px 12px; border-radius: 10px; background: rgba(0, 0, 0, .55); font: 500 11.5px/1.3 var(--mono); color: #d6dde7; backdrop-filter: blur(6px); }
.k-stempel .stempel b { color: #fff; font-weight: 600; }
.k-stempel::before { content: ""; position: absolute; inset: 0; background: radial-gradient(30% 40% at 72% 38%, rgba(255, 194, 61, .3), transparent 70%), linear-gradient(170deg, transparent 55%, rgba(0, 0, 0, .4) 56%); }
.k-feste { align-content: center; text-align: center; }
.k-feste b { font: 600 56px/1 var(--schrift); letter-spacing: -.05em; font-variant-numeric: tabular-nums; background: linear-gradient(180deg, #fff, #9aa3b2); -webkit-background-clip: text; background-clip: text; color: transparent; }
.k-feste span { margin-top: 10px; display: block; color: var(--leise); font-size: 13px; }
.extras { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.extras li { padding: 18px 22px; border-radius: var(--r2); box-shadow: inset 0 0 0 1px var(--rand); color: var(--leise); font-size: 14.5px; line-height: 1.5; }
.extras b { display: block; color: var(--text); font-weight: 600; font-size: 15px; margin-bottom: 4px; }

/* Rechner und Support */
.zwei { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.zwei .k-bild { height: 240px; }
.k-rechner { grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 22px; align-content: center; place-items: stretch; }
.r-feld, .r-ergebnis { padding: 14px; border-radius: 14px; background: #121828; box-shadow: inset 0 0 0 1px var(--rand); }
.r-feld small, .r-ergebnis small { display: block; font: 500 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .07em; color: var(--leiser); margin-bottom: 8px; }
.r-feld b { font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
.r-ergebnis { grid-column: 1 / -1; display: flex; gap: 12px; justify-content: space-between; align-items: center; background: linear-gradient(90deg, rgba(255, 74, 61, .16), rgba(255, 154, 61, .06)); box-shadow: inset 0 0 0 1px rgba(255, 74, 61, .3); }
.r-ergebnis small { margin: 0; color: #ffb5ad; line-height: 1.4; } .r-ergebnis b { font-size: 26px; letter-spacing: -.03em; white-space: nowrap; }
.k-support { align-content: center; gap: 10px; padding: 22px; justify-items: stretch; }
.k-support p { max-width: 82%; padding: 12px 16px; border-radius: 18px; font-size: 14px; line-height: 1.45; }
.k-support .s-n { justify-self: end; background: var(--text); color: #0a0e17; border-bottom-right-radius: 6px; }
.k-support .s-b { justify-self: start; background: #141a28; box-shadow: inset 0 0 0 1px var(--rand-stark); color: var(--text); border-bottom-left-radius: 6px; }

/* Galerie */
.hochladen { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 10px; border-radius: 999px; background: #0b0f18; box-shadow: inset 0 0 0 1px var(--rand); margin-bottom: 24px; }
.datei { position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px; border-radius: 999px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--rand-stark); cursor: pointer; font-weight: 550; font-size: 15px; transition: background-color .2s; max-width: 100%; }
.datei:hover { background: rgba(255, 255, 255, .1); }
.datei svg { width: 20px; height: 20px; flex: none; }
.datei span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 220px; }
.datei input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.datei:focus-within { outline: 2px solid var(--blau); outline-offset: 3px; }
.auswahl select { min-height: 48px; padding: 0 40px 0 18px; border-radius: 999px; border: 0; background: rgba(255, 255, 255, .06) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23aab2bf' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 16px center; box-shadow: inset 0 0 0 1px var(--rand-stark); color: var(--text); font: 500 15px var(--schrift); appearance: none; cursor: pointer; }
.auswahl select option { background: #111624; }
.hochladen #u-info { padding: 0 10px; }
.galerie { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.galerie figure { position: relative; margin: 0; border-radius: var(--r2); overflow: hidden; background: #0b0f18; box-shadow: inset 0 0 0 1px var(--rand); aspect-ratio: 4 / 3; }
.galerie img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--kurve); }
.galerie figure:hover img { transform: scale(1.03); }
.galerie .chip { position: absolute; left: 10px; bottom: 10px; right: 10px; display: flex; justify-content: space-between; gap: 8px; padding: 8px 10px; border-radius: 10px; background: rgba(5, 8, 15, .7); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 12.5px; }
.galerie .chip time { color: var(--leise); font-family: var(--mono); font-size: 11.5px; white-space: nowrap; }
.galerie .leer { grid-column: 1 / -1; padding: 56px 24px; border-radius: var(--r3); box-shadow: inset 0 0 0 1px var(--rand); color: var(--leise); text-align: center; background: radial-gradient(60% 100% at 50% 0%, #111624, #0b0c10); }
.galerie .leer b { display: block; color: var(--text); font-size: 18px; font-weight: 600; margin-bottom: 6px; }

/* Preise */
.preise { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.preis-karte { display: flex; flex-direction: column; padding: 32px; border-radius: var(--r3); background: #0b0f18; box-shadow: inset 0 0 0 1px var(--rand); }
.preis-karte h3 { font-size: 18px; color: var(--leise); font-weight: 550; letter-spacing: -.01em; }
.preis-karte .preis { font-size: clamp(52px, 6vw, 72px); font-weight: 600; letter-spacing: -.05em; line-height: 1; margin: 18px 0 26px; font-variant-numeric: tabular-nums; }
.preis-karte ul { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 12px; }
.preis-karte li { display: flex; gap: 12px; align-items: baseline; font-size: 15.5px; }
.preis-karte li::before { content: ""; flex: none; width: 14px; height: 8px; border-left: 1.8px solid var(--gruen); border-bottom: 1.8px solid var(--gruen); transform: rotate(-45deg) translateY(-3px); }
.preis-karte .knopf { margin-top: auto; align-self: flex-start; }
.preis-karte.top { background: radial-gradient(120% 80% at 100% 0%, rgba(255, 74, 61, .16), transparent 55%), #0e1320; box-shadow: inset 0 0 0 1px rgba(255, 74, 61, .35), 0 40px 80px -40px rgba(255, 74, 61, .35); }
.preis-karte.top h3 { color: var(--text); }
.pk-kopf { display: flex; justify-content: space-between; align-items: center; }
.band { font: 500 11.5px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; padding: 7px 10px; border-radius: 999px; background: rgba(255, 74, 61, .16); color: #ffb5ad; }
#pro-info { margin-top: 10px; }

/* Download */
.drei { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.geraet-kachel { padding: 28px; }
.geraet-kachel .g-ikon { width: 44px; height: 44px; color: var(--text); padding: 8px; border-radius: 12px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--rand); box-sizing: content-box; }
.geraet-kachel h3 { margin-top: 24px; }
.geraet-kachel .knopf { margin-top: auto; align-self: flex-start; }
.geraet-kachel p { margin-bottom: 26px; }

/* Hilfe */
.hilfe-raster { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.hilfe-links h2 { margin-bottom: 30px; }
.stvo { padding: 22px; border-radius: var(--r2); background: rgba(255, 194, 61, .06); box-shadow: inset 0 0 0 1px rgba(255, 194, 61, .25); margin-bottom: 22px; }
.stvo b { display: block; color: var(--gelb); font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px; }
.stvo p { font-size: 15px; color: #d9dde4; line-height: 1.55; }
.hilfe-links .fein a { color: var(--text); }
.faq details { border-bottom: 1px solid var(--rand); }
.faq details:first-child { border-top: 1px solid var(--rand); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; padding: 16px 0; cursor: pointer; list-style: none; font-size: 17px; font-weight: 550; letter-spacing: -.015em; transition: color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 1.6px solid var(--leise); border-bottom: 1.6px solid var(--leise); transform: rotate(45deg) translateY(-3px); margin-right: 6px; transition: transform .3s var(--kurve); }
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.faq summary:hover { color: #fff; }
.faq details p { color: var(--leise); padding: 0 40px 22px 0; line-height: 1.65; }

/* Fuß */
.fuss { border-top: 1px solid var(--rand); padding: 64px 0 40px; background: #04070d; }
.fuss-oben { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-bottom: 48px; border-bottom: 1px solid var(--rand); }
.fuss-spalten { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding: 40px 0; }
.fuss-spalten h4 { font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--leiser); margin-bottom: 16px; }
.fuss-spalten a { display: block; width: fit-content; color: var(--leise); text-decoration: none; padding: 7px 0; font-size: 15px; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: color .2s, background-size .3s var(--kurve); }
.fuss-spalten a:hover { color: var(--text); background-size: 100% 1px; }
.fuss-unten { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--rand); font-size: 13px; color: var(--leiser); }

/* KI-Helfer */
.bot-knopf { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; border: 0; display: grid; place-items: center; background: var(--text); color: #0a0e17; cursor: pointer; box-shadow: 0 16px 40px -10px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .2); transition: transform .2s var(--kurve); }
.bot-knopf svg { width: 24px; height: 24px; }
.bot-knopf:hover { transform: translateY(-2px); } .bot-knopf:active { transform: scale(.94); }
.bot { position: fixed; right: 20px; bottom: 88px; z-index: 40; width: min(390px, calc(100vw - 32px)); height: min(560px, calc(100svh - 120px)); display: flex; flex-direction: column; border-radius: 22px; background: rgba(10, 14, 24, .92); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); box-shadow: 0 0 0 1px var(--rand-stark), 0 40px 100px -20px rgba(0, 0, 0, .9); overflow: hidden; transform-origin: bottom right; animation: bot-auf .28s var(--kurve); }
@keyframes bot-auf { from { opacity: 0; transform: scale(.96) translateY(8px); } to { opacity: 1; transform: none; } }
.bot > header { display: flex; justify-content: space-between; align-items: center; padding: 14px 14px 14px 18px; border-bottom: 1px solid var(--rand); font-weight: 600; font-size: 15px; }
.bot > header span { display: inline-flex; align-items: center; gap: 10px; }
.bot > header button { width: 36px; height: 36px; border-radius: 10px; border: 0; background: rgba(255, 255, 255, .06); color: var(--text); cursor: pointer; }
.bot-verlauf { flex: 1; overflow: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.bot-verlauf p { max-width: 86%; padding: 11px 14px; border-radius: 16px; font-size: 14.5px; line-height: 1.5; white-space: pre-wrap; }
.bot-verlauf .b { align-self: flex-start; background: #181b23; box-shadow: inset 0 0 0 1px var(--rand); border-bottom-left-radius: 6px; }
.bot-verlauf .n { align-self: flex-end; background: var(--text); color: #0a0e17; border-bottom-right-radius: 6px; }
.vorschlaege { display: flex; flex-wrap: wrap; gap: 6px; }
.vorschlaege button { min-height: 36px; padding: 0 14px; border-radius: 999px; border: 0; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--rand-stark); color: var(--text); font: 500 13px var(--schrift); cursor: pointer; transition: background-color .2s; }
.vorschlaege button:hover { background: rgba(255, 255, 255, .11); }
#bot-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--rand); }
#bot-form input { flex: 1; min-width: 0; min-height: 46px; padding: 0 16px; border-radius: 999px; border: 0; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--rand-stark); color: var(--text); font: 15px var(--schrift); }
#bot-form button { min-height: 46px; padding: 0 18px; border-radius: 999px; border: 0; background: var(--text); color: #0a0e17; font: 600 14px var(--schrift); cursor: pointer; }

/* Unterseiten (PRO, Rechtliches) */
.unterseite main { max-width: 760px; margin: 0 auto; padding: clamp(48px, 8vw, 96px) var(--rand-x) 96px; }
.unterseite main h1 { font-size: clamp(36px, 5vw, 56px); letter-spacing: -.045em; margin-bottom: 28px; }
.unterseite main h2 { font-size: 20px; letter-spacing: -.02em; margin: 40px 0 12px; }
.unterseite main p, .unterseite main li { color: #b7bec9 !important; line-height: 1.7; }
.unterseite main p + p { margin-top: 12px; }
.unterseite main ul { padding-left: 20px; display: grid; gap: 8px; }
.unterseite main a { color: var(--text); text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .35); }
.unterseite main a.knopf { color: #0a0b0e !important; text-decoration: none; } .unterseite main a.knopf.hell { color: var(--text) !important; }
.unterseite main .fehler { color: #ff8a96 !important; }
.unterseite main .fein { color: var(--leise) !important; font-size: 14px; }
.unterseite .kopf nav { margin-left: auto; }
.mini-fuss { border-top: 1px solid var(--rand); padding: 28px var(--rand-x); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; font-size: 13px; color: var(--leiser); }
.mini-fuss nav { display: flex; gap: 20px; } .mini-fuss a { color: var(--leise); text-decoration: none; } .mini-fuss a:hover { color: var(--text); }

/* Tablet */
@media (max-width: 1100px) {
  .stau-liste { width: 300px; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento .gross { grid-row: auto; grid-column: 1 / -1; }
  .bento .breit { grid-template-columns: 1fr; gap: 0; } .bento .breit h3 { margin-top: 20px; } .bento .gross .k-bild { min-height: 220px; }
}
@media (max-width: 960px) {
  .kopf nav { position: fixed; top: 64px; left: 0; right: 0; height: calc(100dvh - 64px); z-index: 29; flex-direction: column; gap: 0; margin: 0; padding: 16px var(--rand-x); background: #05080f; font-size: 22px; visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .25s, transform .3s var(--kurve), visibility 0s .3s; }
  .kopf nav a { padding: 16px 4px; border-radius: 0; border-bottom: 1px solid var(--rand); color: var(--text); }
  .kopf.offen nav { visibility: visible; opacity: 1; transform: none; transition: opacity .25s, transform .3s var(--kurve); }
  .menue-knopf { display: block; }
  .kopf > .knopf.klein { margin-left: auto; }
  .unterseite .kopf nav { position: static; visibility: visible; opacity: 1; transform: none; flex-direction: row; background: none; padding: 0; font-size: 14px; }
  .unterseite .kopf nav a { border: 0; padding: 8px 10px; color: var(--leise); }
  .held-raster { grid-template-columns: 1fr; }
  .held { min-height: 0; padding: 48px 0 72px; }
  .kopfzeile { grid-template-columns: 1fr; align-items: start; }
  .stau-liste { position: static; width: auto; margin-top: 12px; }
  .karte-abschnitt .stau-liste { border-radius: var(--r2); }
  .karte-buehne { overflow: visible; box-shadow: none; background: none; height: auto; min-height: 0; }
  .karte-rahmen { position: relative; height: 68vh; min-height: 440px; border-radius: var(--r3); overflow: hidden; box-shadow: 0 0 0 1px var(--rand-stark); background: #0a0e17; }
  .karte-ansicht { bottom: 36px; }
  .zwei, .preise, .drei, .hilfe-raster { grid-template-columns: 1fr; }
  .extras { grid-template-columns: 1fr; }
}
/* Handy */
@media (max-width: 600px) {
  body { font-size: 15.5px; }
  .kopf { gap: 10px; }
  .marke span { font-size: 13px; letter-spacing: .12em; }
  .held { padding: 32px 0 56px; }
  .held h1 { font-size: clamp(36px, 10.4vw, 46px); margin: 20px 0 16px; }
  .knoepfe { flex-direction: column; } .knoepfe .knopf { width: 100%; }
  .fakten { grid-template-columns: 1fr 1fr; row-gap: 18px; margin-top: 36px; }
  .fakten div { border-right: 0; margin-right: 0; padding-right: 12px; }
  .fakten div:last-child { grid-column: 1 / -1; }
  .geraet { width: min(300px, 82vw); }
  .abschnitt { padding: 72px 0; }
  .bento { grid-template-columns: 1fr; }
  .k-rechner { grid-template-columns: 1fr 1fr; } .k-rechner .r-feld:nth-child(3) { grid-column: 1 / -1; }
  .zwei .k-bild { height: auto; min-height: 220px; }
  .karte-ebenen { left: 10px; right: 10px; top: 10px; justify-content: space-between; }
  .karte-ebenen button { padding: 0 10px; flex: 1; justify-content: center; min-height: 40px; }
  .karte-ansicht { left: 10px; right: 10px; justify-content: space-between; }
  .karte-ansicht button { flex: 1; justify-content: center; padding: 0 8px; font-size: 13px; min-height: 40px; }
  .hochladen { border-radius: var(--r3); padding: 12px; flex-direction: column; align-items: stretch; }
  .hochladen .datei, .hochladen .auswahl select, .hochladen .knopf { width: 100%; justify-content: center; }
  .datei span { max-width: 70vw; }
  .preis-karte { padding: 24px; } .preis-karte .knopf, .geraet-kachel .knopf, .link-kachel { width: 100%; }
  .preis-karte .knopf, .geraet-kachel .knopf { align-self: stretch; }
  .fuss-spalten { grid-template-columns: 1fr 1fr; }
  .fuss-oben .knopf { width: 100%; }
  .bot { right: 12px; left: 12px; width: auto; bottom: 84px; }
  .bot-knopf { right: 14px; bottom: 14px; }
  .faq details p { padding-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .k-welle span:nth-child(odd) { height: 40px; } .k-welle span:nth-child(even) { height: 24px; }
}
