/* Broschi Digalytics – Startseite (Entwurf). Welt: Boxengasse mit Garagen, Marke wie Dashboard und Driver-App. */
@font-face { font-family: "Inter"; font-display: swap; font-weight: 400; src: url("../fonts/inter-latin-ext-400-normal.woff2") format("woff2"); 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: "Inter"; font-display: swap; font-weight: 400; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Inter"; font-display: swap; font-weight: 500; src: url("../fonts/inter-latin-ext-500-normal.woff2") format("woff2"); 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: "Inter"; font-display: swap; font-weight: 500; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Inter"; font-display: swap; font-weight: 600; src: url("../fonts/inter-latin-ext-600-normal.woff2") format("woff2"); 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: "Inter"; font-display: swap; font-weight: 600; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Inter"; font-display: swap; font-weight: 700; src: url("../fonts/inter-latin-ext-700-normal.woff2") format("woff2"); 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: "Inter"; font-display: swap; font-weight: 700; src: url("../fonts/inter-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Rajdhani"; font-display: swap; font-weight: 600; src: url("../fonts/rajdhani-latin-ext-600-normal.woff2") format("woff2"); 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: "Rajdhani"; font-display: swap; font-weight: 600; src: url("../fonts/rajdhani-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Rajdhani"; font-display: swap; font-weight: 700; src: url("../fonts/rajdhani-latin-ext-700-normal.woff2") format("woff2"); 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: "Rajdhani"; font-display: swap; font-weight: 700; src: url("../fonts/rajdhani-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Ionicons"; font-display: block; src: url("../fonts/Ionicons-startseite.ttf") format("truetype"); }

:root {
  --bg: #05080F;
  --bg-deep: #020912;
  --asphalt: #070C16;
  --surface: #0A1628;
  --surface-2: #0D1B30;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #F8FAFC;
  --text-body: #D1D5DB;
  --text-muted: #9CA3AF;
  --text-subdued: #8A93A3;
  --cyan: #00D4FF;
  --cyan-soft: #22D3EE;
  --cyan-surface: rgba(0, 212, 255, 0.08);
  --cyan-border: rgba(0, 212, 255, 0.32);
  --pink: #FF0080;
  --pink-text: #FF5AA8;
  --pink-surface: rgba(255, 0, 128, 0.08);
  --pink-border: rgba(255, 0, 128, 0.34);
  --success: #34D399;
  --warning: #FBBF24;
  --discord: #5865F2;
  --r-sm: 6px; --r-md: 10px; --r-lg: 16px; --r-pill: 999px;
  --font-ui: "Inter", system-ui, sans-serif;
  --font-display: "Rajdhani", "Inter", sans-serif;
  --page: 1240px;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background-color: var(--bg);
  color: var(--text-body);
  font: 400 16px/1.55 var(--font-ui);
  -webkit-font-smoothing: antialiased;
}
.num, .pts, .pos, .price, td.n, td.p { font-variant-numeric: tabular-nums; }
::selection { background: rgba(0, 212, 255, 0.3); color: var(--text); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; color: var(--text); font-family: var(--font-display); font-weight: 700; letter-spacing: 0.01em; }
p { margin: 0; }
.ic { font-family: "Ionicons"; font-style: normal; font-weight: normal; line-height: 1; display: inline-block; }
.wrap { width: min(var(--page), calc(100% - 64px)); margin: 0 auto; }
.muted { color: var(--text-muted); }
.subdued { color: var(--text-subdued); }

/* Kopfzeile */
.topbar { position: sticky; top: 0; z-index: 20; background: rgba(5, 8, 15, 0.92); border-bottom: 1px solid var(--line); }
.topbar .wrap { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 52px; height: 36px; object-fit: cover; border-radius: 8px; border: 1px solid var(--cyan-border); }
.brand b { display: block; font: 700 20px/1 var(--font-display); color: var(--text); letter-spacing: 0.08em; }
.brand span { display: block; font-size: 11px; color: var(--text-subdued); letter-spacing: 0.06em; margin-top: 3px; }
.menu { display: flex; gap: 22px; font-weight: 500; font-size: 14px; color: var(--text-muted); }
.menu a:hover, .menu a.on { color: var(--text); }
.topbar .grow { flex: 1; }
.lang { display: inline-flex; border: 1px solid var(--line-strong); border-radius: var(--r-pill); padding: 3px; font: 600 12px/1 var(--font-ui); }
.lang span { padding: 6px 10px; border-radius: var(--r-pill); color: var(--text-subdued); }
.lang span.on { background: var(--surface-2); color: var(--text); }

/* Knöpfe */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: var(--r-md); font: 600 15px/1 var(--font-ui); border: 1px solid var(--line-strong); color: var(--text); background: transparent; cursor: pointer; white-space: nowrap; }
.btn .ic { font-size: 18px; }
.btn.primary { background-color: #0AC8F0; background-image: linear-gradient(180deg, #19DBFF, #00B8E6); border-color: transparent; color: #031018; }
.btn.pink { background-color: #D6006B; background-image: linear-gradient(180deg, #E5007A, #C80064); border-color: transparent; color: #fff; }
.btn.discord { background: #1B1F4A; border-color: rgba(88, 101, 242, 0.6); }
.btn.on { border-color: var(--cyan-border); color: var(--cyan); background: var(--cyan-surface); }
.btn.sm { height: 36px; padding: 0 14px; font-size: 14px; }
.btn.lg { height: 52px; padding: 0 26px; font-size: 16px; }

/* Abzeichen */
.chip { display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 12px; border-radius: var(--r-pill); border: 1px solid var(--line-strong); font: 600 13px/1 var(--font-ui); color: var(--text-body); background: rgba(255, 255, 255, 0.03); white-space: nowrap; }
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); }
.chip.soon .dot { background: var(--warning); }
.chip.plan .dot { background: var(--text-subdued); }
.tag { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: var(--r-pill); font: 700 12px/1 var(--font-ui); letter-spacing: 0.04em; border: 1px solid; }
.tag.cyan { color: var(--cyan); border-color: var(--cyan-border); background: var(--cyan-surface); }
.tag.pink { color: var(--pink-text); border-color: var(--pink-border); background: var(--pink-surface); }
.tag.warn { color: var(--warning); border-color: rgba(251, 191, 36, 0.4); background: rgba(251, 191, 36, 0.08); }
.tag.grey { color: var(--text-muted); border-color: var(--line-strong); background: rgba(255, 255, 255, 0.03); }
.demo-note { font: 600 12px/1 var(--font-ui); color: var(--warning); letter-spacing: 0.04em; }

/* Karten und Bilder */
.panel { background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: 0 10px 18px -12px rgba(0, 0, 0, 0.8); }
.shot { display: block; width: 100%; border-radius: var(--r-md); border: 1px solid var(--line-strong); box-shadow: 0 10px 18px -10px rgba(0, 0, 0, 0.9); }
.caption { font-size: 13px; color: var(--text-subdued); margin-top: 8px; }

/* Boxenmauer-Statusband (Spiele) */
.pitwall { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--asphalt); }
.pitwall .wrap { display: flex; align-items: center; gap: 14px; padding: 16px 0; }
.pitwall .label { font: 700 13px/1 var(--font-display); letter-spacing: 0.14em; color: var(--text-subdued); text-transform: uppercase; margin-right: 6px; }

/* Garagen-Reiter (Signatur) */
.garages { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.garage { position: relative; height: 168px; border-radius: 10px 10px 0 0; border: 1px solid var(--line-strong); border-bottom: 0; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; cursor: pointer;
  background: repeating-linear-gradient(180deg, #101E35 0 11px, #1A2D4C 11px 13px); color: var(--text-muted); }
.garage .no { position: absolute; top: 10px; left: 14px; font: 700 54px/1 var(--font-display); color: rgba(255, 255, 255, 0.16); }
.garage .ic { position: absolute; top: 14px; right: 14px; font-size: 20px; color: var(--text-subdued); }
.garage .plate { position: relative; padding: 10px 14px 12px; background: var(--bg); border-top: 1px solid var(--line-strong); }
.garage b { display: block; font: 700 21px/1.1 var(--font-display); color: var(--text); letter-spacing: 0.02em; }
.garage span.s { display: block; font-size: 12.5px; margin-top: 3px; color: var(--text-muted); line-height: 1.35; }
.garage.open { border-color: var(--cyan-border); background: linear-gradient(180deg, #0A2233 0%, #07141F 100%); color: var(--text); }
.garage.open::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 22px; background: linear-gradient(180deg, #2A4466 0 6px, #1C3150 6px 11px, #2A4466 11px 16px, #13243B 16px 22px); border-bottom: 2px solid var(--cyan); }
.garage.open::after { content: ""; position: absolute; left: 0; right: 0; top: 24px; bottom: 0; background: linear-gradient(180deg, rgba(0, 212, 255, 0.24), rgba(0, 212, 255, 0) 90%); }
.garage.open .no { color: var(--cyan); top: 30px; }
.garage.open .ic { color: var(--cyan); top: 32px; }
.garage.open .plate { background: rgba(5, 8, 15, 0.85); border-top-color: var(--cyan-border); z-index: 1; }
.garage-floor { border-top: 2px solid var(--cyan); background: linear-gradient(180deg, rgba(0, 212, 255, 0.07), rgba(0, 212, 255, 0) 320px); padding: 40px 0 8px; }

/* Abschnitte */
.section { padding: 88px 0; }
.section-head { display: flex; align-items: flex-end; gap: 24px; margin-bottom: 28px; }
.section-head h2 { font-size: 40px; line-height: 1.05; }
.section-head p { color: var(--text-muted); max-width: 60ch; }

/* Fußzeile */
.footer { border-top: 1px solid var(--line); background: var(--bg-deep); padding: 48px 0 40px; }
.footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer h4 { font-size: 16px; margin-bottom: 12px; letter-spacing: 0.04em; }
.footer a { display: block; color: var(--text-muted); font-size: 14px; margin-bottom: 8px; }
body[data-cookie="1"] .footer { padding-bottom: 140px; }
.footer .legal { display: flex; justify-content: space-between; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--text-subdued); }

/* Cookie-Hinweis */
.cookie { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 30; width: min(880px, calc(100% - 32px)); display: flex; align-items: center; gap: 18px; padding: 16px 18px; border-radius: var(--r-lg); background: rgba(10, 22, 40, 0.97); border: 1px solid var(--line-strong); box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.9); }
.cookie .ic { font-size: 24px; color: var(--cyan); }
.cookie p { flex: 1; font-size: 14px; color: var(--text-body); }
.cookie p b { color: var(--text); }
