/* AVENUE V UCP – Design aus der freigegebenen Vorschau (Rick 08.10.: Look vom Ladebildschirm) */
@font-face { font-family: Inter; font-weight: 400; src: url(/assets/fonts/inter-400-latin.woff2) format('woff2'); }
@font-face { font-family: Inter; font-weight: 500; src: url(/assets/fonts/inter-500-latin.woff2) format('woff2'); }
@font-face { font-family: Inter; font-weight: 600; src: url(/assets/fonts/inter-600-latin.woff2) format('woff2'); }
@font-face { font-family: Inter; font-weight: 700; src: url(/assets/fonts/inter-700-latin.woff2) format('woff2'); }
@font-face { font-family: Inter; font-weight: 600; src: url(/assets/fonts/inter-600-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA; }
@font-face { font-family: Rajdhani; font-weight: 600; src: url(/assets/fonts/rajdhani-600-latin.woff2) format('woff2'); }
@font-face { font-family: Rajdhani; font-weight: 700; src: url(/assets/fonts/rajdhani-700-latin.woff2) format('woff2'); }
@font-face { font-family: Rajdhani; font-weight: 700; src: url(/assets/fonts/rajdhani-700-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA; }

:root {
  --bg: #08060e; --bg2: #0e0a17; --karte: rgba(255,255,255,.035); --karte2: rgba(255,255,255,.06); --rand: rgba(178,140,245,.12); --rand2: rgba(178,140,245,.28);
  --lila: #9160ea; --lila-h: #b28cf5; --rose: #f0a8c0; --text: #f4f0fb; --matt: rgba(244,240,251,.62); --leise: rgba(244,240,251,.36);
  --gut: #8fe3a9; --warn: #ff9b9b;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); color: var(--text); font-family: Inter, sans-serif; font-size: 14px; }
body { min-height: 100vh; display: grid; grid-template-columns: 268px 1fr;
  background: radial-gradient(ellipse 60% 50% at 75% -10%, rgba(145,96,234,.22), transparent 60%), radial-gradient(ellipse 40% 40% at 0% 100%, rgba(240,168,192,.06), transparent 60%), var(--bg); }
a { color: inherit; text-decoration: none; }
.raj { font-family: Rajdhani; }

/* ---------- Seitenleiste ---------- */
.leiste { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 22px 18px; border-right: 1px solid var(--rand); background: linear-gradient(180deg, rgba(20,13,32,.85), rgba(10,7,16,.9)); }
.marke { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.marke img { width: 38px; filter: drop-shadow(0 0 10px rgba(145,96,234,.7)); }
.marke b { font-family: Rajdhani; font-size: 20px; letter-spacing: .14em; }
.marke small { display: block; font-size: 10px; letter-spacing: .3em; color: var(--lila-h); font-weight: 600; }
.figur { padding: 14px; border-radius: 14px; background: linear-gradient(140deg, rgba(145,96,234,.28), rgba(145,96,234,.06)); border: 1px solid var(--rand2); margin-bottom: 22px; }
.figur-kopf { display: flex; align-items: center; gap: 11px; }
.ava { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-family: Rajdhani; font-weight: 700; font-size: 18px;
  background: linear-gradient(135deg, var(--lila), var(--rose)); box-shadow: 0 4px 14px rgba(145,96,234,.45); }
.figur b { display: block; font-size: 14px; }
.figur span { font-size: 11px; color: var(--matt); }
.stufe { margin-left: auto; text-align: right; }
.stufe small { display: block; font-size: 9px; letter-spacing: .2em; color: var(--leise); }
.stufe i { font-style: normal; font-family: Rajdhani; font-weight: 700; font-size: 24px; color: var(--lila-h); line-height: 1; }
.balken { height: 5px; border-radius: 3px; background: rgba(255,255,255,.08); overflow: hidden; margin-top: 12px; }
.balken i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--lila), var(--rose)); }
.figur .unter { display: flex; justify-content: space-between; margin-top: 6px; font-size: 10px; color: var(--leise); letter-spacing: .08em; }
.gruppe { font-size: 10px; letter-spacing: .26em; color: var(--leise); font-weight: 600; margin: 6px 10px 8px; }
.menue a { display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 10px; color: var(--matt); font-weight: 500; margin-bottom: 2px; }
.menue a svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.menue a:hover { background: var(--karte); color: var(--text); }
.menue a.an { background: linear-gradient(90deg, rgba(145,96,234,.3), rgba(145,96,234,.06)); color: #fff; box-shadow: inset 2px 0 0 var(--lila-h); }
.menue a em { margin-left: auto; font-style: normal; font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 10px; background: rgba(145,96,234,.35); color: #fff; }
.leiste-fuss { margin-top: auto; padding: 12px; border-radius: 12px; background: var(--karte); border: 1px solid var(--rand); display: flex; align-items: center; gap: 10px; font-size: 12px; }
.punkt { width: 8px; height: 8px; border-radius: 50%; background: var(--gut); box-shadow: 0 0 8px var(--gut); }

/* ---------- Oben ---------- */
.haupt { min-width: 0; }
.oben { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 6px; padding: 14px 40px; border-bottom: 1px solid var(--rand); background: rgba(8,6,14,.78); backdrop-filter: blur(10px); }
.oben a { padding: 8px 12px; border-radius: 8px; font-size: 12px; font-weight: 600; letter-spacing: .06em; color: var(--matt); }
.oben a:hover { color: #fff; background: var(--karte); }
.oben .rechts { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.pille { display: flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 20px; background: var(--karte); border: 1px solid var(--rand); font-size: 12px; font-weight: 600; }
.pille b { font-family: Rajdhani; font-size: 15px; }
.knopf { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 10px; font-weight: 600; font-size: 12px; letter-spacing: .04em; border: 1px solid var(--rand2); background: var(--karte); color: #fff; cursor: pointer; }
.knopf.voll { background: linear-gradient(135deg, var(--lila), #b07cf0); border: 0; box-shadow: 0 6px 18px rgba(145,96,234,.4); }

/* ---------- Inhalt ---------- */
.inhalt { padding: 36px 40px 60px; max-width: 1480px; }
.zeile-klein { display: flex; align-items: center; gap: 12px; font-size: 11px; letter-spacing: .26em; color: var(--leise); font-weight: 600; text-transform: uppercase; }
.zeile-klein i { width: 26px; height: 1px; background: var(--rand2); }
.zeile-klein b { color: var(--lila-h); }
h1 { font-family: Rajdhani; font-weight: 700; font-size: 62px; line-height: .95; letter-spacing: .01em; margin: 14px 0 12px; }
h1 span { background: linear-gradient(90deg, var(--lila-h), var(--rose)); -webkit-background-clip: text; color: transparent; }
.einleitung { color: var(--matt); max-width: 620px; line-height: 1.6; font-size: 15px; }
.kopfzeile { display: flex; align-items: flex-end; gap: 30px; margin-bottom: 30px; }
.kopfzeile .rechts { margin-left: auto; display: flex; gap: 10px; }
h2 { font-family: Rajdhani; font-weight: 700; font-size: 26px; letter-spacing: .02em; }
h2 span { color: var(--lila-h); }
.abschnitt { margin-top: 34px; }
.abschnitt-kopf { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.abschnitt-kopf a { font-size: 11px; letter-spacing: .2em; color: var(--lila-h); font-weight: 700; }

.karte { background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.02)); border: 1px solid var(--rand); border-radius: 16px; padding: 20px; position: relative; overflow: hidden; }
.karte-titel { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.symbol { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: rgba(145,96,234,.16); border: 1px solid var(--rand2); flex: none; }
.symbol svg { width: 18px; height: 18px; fill: none; stroke: var(--lila-h); stroke-width: 1.8; }
.karte-titel small { display: block; font-size: 10px; letter-spacing: .24em; color: var(--leise); font-weight: 600; }
.karte-titel b { font-family: Rajdhani; font-size: 19px; letter-spacing: .02em; }

.raster { display: grid; gap: 16px; }
.r4 { grid-template-columns: repeat(4, 1fr); }
.r3 { grid-template-columns: repeat(3, 1fr); }
.r2 { grid-template-columns: 1fr 1fr; }
.zahl { padding: 18px 20px; }
.zahl .oben-z { display: flex; justify-content: space-between; color: var(--leise); font-size: 11px; }
.zahl .oben-z svg { width: 18px; height: 18px; fill: none; stroke: var(--lila-h); stroke-width: 1.8; }
.zahl b { display: block; font-family: Rajdhani; font-size: 38px; margin: 10px 0 2px; line-height: 1; }
.zahl b.lila { color: var(--lila-h); }
.zahl span { font-size: 11px; letter-spacing: .18em; color: var(--leise); font-weight: 600; text-transform: uppercase; }
.zahl em { font-style: normal; font-size: 11px; color: var(--gut); margin-left: 6px; letter-spacing: 0; text-transform: none; }

/* Dashboard */
.live { display: flex; align-items: center; gap: 18px; padding: 14px 18px; border-radius: 14px; background: linear-gradient(90deg, rgba(143,227,169,.08), rgba(145,96,234,.06)); border: 1px solid rgba(143,227,169,.2); margin-bottom: 26px; font-size: 13px; color: var(--matt); }
.live b { color: #fff; }
.live .avatare { display: flex; margin-left: auto; }
.live .avatare i { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--bg); margin-left: -7px; display: grid; place-items: center; font-style: normal; font-size: 10px; font-weight: 700;
  background: linear-gradient(135deg, var(--lila), var(--rose)); }
.live .avatare i:last-child { background: rgba(255,255,255,.12); }
.kachel { display: flex; flex-direction: column; min-height: 132px; padding: 18px; cursor: pointer; transition: transform .15s, border-color .15s; }
.kachel:hover { transform: translateY(-3px); border-color: var(--rand2); }
.kachel .nr { font-family: Rajdhani; font-weight: 700; color: var(--leise); font-size: 13px; }
.kachel .pfeil { position: absolute; right: 16px; top: 16px; color: var(--leise); }
.kachel .unten { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.kachel b { font-family: Rajdhani; font-size: 21px; display: block; }
.kachel span { font-size: 12px; color: var(--matt); }
.kachel .gross-zahl { position: absolute; right: 12px; bottom: -14px; font-family: Rajdhani; font-weight: 700; font-size: 92px; color: rgba(178,140,245,.06); line-height: 1; }
.kachel.haupt-k { grid-row: span 2; background: linear-gradient(150deg, rgba(145,96,234,.35), rgba(240,168,192,.08)); border-color: var(--rand2); }
.kachel.haupt-k b { font-size: 34px; }
.r-dash { grid-template-columns: 1.3fr 1fr 1fr 1fr; }

.event { display: grid; grid-template-columns: 1.15fr 1fr; padding: 0; }
.event img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 240px; }
.event .text { padding: 24px; display: flex; flex-direction: column; }
.marken { display: flex; gap: 8px; margin-bottom: 12px; }
.marke-k { font-size: 10px; letter-spacing: .18em; font-weight: 700; padding: 4px 9px; border-radius: 6px; background: rgba(145,96,234,.25); color: var(--lila-h); }
.marke-k.gruen { background: rgba(143,227,169,.14); color: var(--gut); }
.event h3 { font-family: Rajdhani; font-size: 30px; line-height: 1; margin-bottom: 8px; }
.event p { color: var(--matt); line-height: 1.55; font-size: 13px; }
.countdown { display: flex; gap: 10px; margin-top: auto; padding-top: 18px; }
.countdown div { flex: 1; text-align: center; padding: 10px 0; border-radius: 10px; background: var(--karte2); border: 1px solid var(--rand); }
.countdown b { display: block; font-family: Rajdhani; font-size: 26px; line-height: 1; }
.countdown span { font-size: 9px; letter-spacing: .2em; color: var(--leise); }

.liste-z { display: flex; flex-direction: column; }
.liste-z .z { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid var(--rand); font-size: 13px; }
.liste-z .z:first-child { border-top: 0; }
.liste-z .z span { color: var(--matt); }
.liste-z .z b { margin-left: auto; font-family: Rajdhani; font-size: 16px; }
.mini-foto { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mini-foto div { aspect-ratio: 1; border-radius: 10px; background-size: cover; background-position: center; border: 1px solid var(--rand); }

.nm { background: linear-gradient(140deg, rgba(20,13,40,.9), rgba(145,96,234,.25)); }
.nm .auto { position: absolute; right: -20px; bottom: -6px; width: 62%; filter: drop-shadow(0 10px 20px rgba(0,0,0,.6)); }
.vip { background: linear-gradient(140deg, rgba(240,168,192,.18), rgba(145,96,234,.12)); }

/* Fahrzeuge */
.filter { display: flex; align-items: center; gap: 8px; margin: 26px 0 18px; }
.filter a { padding: 8px 14px; border-radius: 20px; font-size: 12px; font-weight: 600; letter-spacing: .06em; border: 1px solid var(--rand); color: var(--matt); }
.filter a b { margin-left: 6px; color: var(--leise); }
.filter a.an { background: rgba(145,96,234,.28); border-color: var(--rand2); color: #fff; }
.filter a.an b { color: var(--lila-h); }
.suche { margin-left: auto; display: flex; align-items: center; gap: 10px; width: 300px; padding: 10px 14px; border-radius: 10px; background: var(--karte); border: 1px solid var(--rand); color: var(--leise); font-size: 13px; }
.fz-bereich { display: grid; grid-template-columns: 1fr 400px; gap: 18px; align-items: start; }
.fz-raster { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.fz { padding: 0; cursor: pointer; transition: border-color .15s, transform .15s; }
.fz:hover { transform: translateY(-2px); border-color: var(--rand2); }
.fz.an { border-color: var(--lila-h); box-shadow: 0 0 0 1px var(--lila-h), 0 10px 30px rgba(145,96,234,.25); }
.fz-bild { height: 150px; display: grid; place-items: center; position: relative;
  background: radial-gradient(ellipse at 50% 85%, rgba(145,96,234,.28), transparent 65%), repeating-linear-gradient(135deg, rgba(255,255,255,.015) 0 10px, transparent 10px 20px); }
.fz-bild img { max-width: 82%; max-height: 120px; filter: drop-shadow(0 12px 14px rgba(0,0,0,.55)); }
.status { position: absolute; left: 12px; top: 12px; font-size: 9px; letter-spacing: .16em; font-weight: 700; padding: 4px 8px; border-radius: 6px; background: rgba(143,227,169,.14); color: var(--gut); border: 1px solid rgba(143,227,169,.25); }
.status.aus { background: rgba(145,96,234,.22); color: var(--lila-h); border-color: var(--rand2); }
.status.hof { background: rgba(255,155,155,.12); color: var(--warn); border-color: rgba(255,155,155,.3); }
.schild { position: absolute; left: 12px; bottom: 10px; font-family: Rajdhani; font-weight: 700; font-size: 12px; letter-spacing: .14em; padding: 3px 8px; border-radius: 5px; background: rgba(0,0,0,.55); border: 1px solid rgba(255,255,255,.1); }
.zusatz { position: absolute; right: 12px; top: 12px; font-size: 9px; letter-spacing: .14em; font-weight: 700; padding: 4px 8px; border-radius: 6px; background: linear-gradient(135deg, var(--lila), var(--rose)); }
.fz-text { padding: 12px 14px 14px; }
.fz-text small { font-size: 9px; letter-spacing: .2em; color: var(--leise); font-weight: 600; }
.fz-text b { display: block; font-family: Rajdhani; font-size: 18px; margin: 2px 0 8px; }
.werte { display: flex; justify-content: space-between; font-size: 11px; color: var(--matt); }
.detail { position: sticky; top: 90px; padding: 0; }
.detail .fz-bild { height: 210px; }
.detail .fz-bild img { max-height: 170px; }
.detail .koerper { padding: 18px 20px 20px; }
.detail h3 { font-family: Rajdhani; font-size: 28px; display: flex; align-items: center; justify-content: space-between; }
.wert-balken { margin-top: 14px; }
.wert-balken div { display: flex; justify-content: space-between; font-size: 12px; color: var(--matt); margin-bottom: 6px; }
.wert-balken div b { color: #fff; }
.infos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 18px 0; padding-top: 16px; border-top: 1px solid var(--rand); }
.infos small { display: block; font-size: 9px; letter-spacing: .2em; color: var(--leise); font-weight: 600; margin-bottom: 3px; }
.infos b { font-size: 14px; }
.tuning { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.tuning span { font-size: 11px; padding: 5px 9px; border-radius: 6px; background: var(--karte2); border: 1px solid var(--rand); color: var(--matt); }
.tuning span b { color: #fff; }
.knoepfe { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.knoepfe .knopf { justify-content: center; }

/* Statistik */
.tabs { display: flex; gap: 6px; padding: 6px; border-radius: 14px; background: var(--karte); border: 1px solid var(--rand); margin: 26px 0 22px; }
.tabs a { flex: 1; padding: 12px 16px; border-radius: 10px; color: var(--matt); }
.tabs a small { display: block; font-size: 9px; letter-spacing: .22em; color: var(--leise); font-weight: 600; }
.tabs a b { font-family: Rajdhani; font-size: 16px; }
.tabs a.an { background: linear-gradient(135deg, rgba(145,96,234,.4), rgba(145,96,234,.12)); color: #fff; }
.r-stat { grid-template-columns: 1fr 1fr 1fr; }
.zeit-linie { position: relative; padding-left: 22px; }
.zeit-linie::before { content: ''; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--lila), transparent); }
.zl { position: relative; padding-bottom: 18px; }
.zl::before { content: ''; position: absolute; left: -21px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 2px solid var(--lila-h); }
.zl b { font-family: Rajdhani; font-size: 17px; }
.zl small { display: block; font-size: 11px; color: var(--leise); margin: 2px 0 6px; }
.zl span { font-size: 12px; color: var(--matt); }
.beruf { padding: 10px 0; border-top: 1px solid var(--rand); }
.beruf:first-child { border-top: 0; }
.beruf div { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 7px; }
.beruf b { font-family: Rajdhani; font-size: 16px; }
.beruf em { font-style: normal; font-size: 11px; color: var(--leise); }
.beruf em i { font-style: normal; font-family: Rajdhani; font-weight: 700; font-size: 18px; color: var(--lila-h); margin-left: 4px; }
.titel-liste { display: flex; flex-wrap: wrap; gap: 8px; }
.titel-liste span { font-size: 12px; padding: 7px 11px; border-radius: 8px; background: rgba(145,96,234,.16); border: 1px solid var(--rand2); }
.titel-liste span.zu { opacity: .35; border-style: dashed; }
.diagramm { height: 170px; margin-top: 6px; }
.fuss { margin-top: 50px; padding-top: 18px; border-top: 1px solid var(--rand); display: flex; gap: 20px; font-size: 11px; color: var(--leise); letter-spacing: .08em; }
.fuss .rechts { margin-left: auto; }
.seite { display: none; }
.seite.an { display: block; }

/* ================= Rick 08.10.: Look vom Ladebildschirm (esx_loadingscreen) ================= */
:root { --panel: rgba(20, 14, 32, .62); --panel-rand: rgba(178, 140, 245, .22); --text-2: #b3a9c9;
  --verlauf: linear-gradient(100deg, rgba(145, 96, 234, .92) 0%, rgba(186, 92, 170, .88) 60%, rgba(240, 140, 150, .85) 100%); }
html { background: #0e0c13; }
body { background: transparent; }
.hintergrund { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: #120c1d; }
.hintergrund .bild { position: absolute; inset: -4%; background: url(/assets/hintergrund.jpg) center / cover;
  filter: saturate(1.05) blur(4px); animation: kenburns 40s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.12) translate(-1.5%, -1%); } }
.hintergrund .schleier { position: absolute; inset: 0; background:
  radial-gradient(ellipse 55% 60% at 50% 42%, rgba(30, 14, 50, .45) 0%, rgba(30, 14, 50, .75) 100%),
  linear-gradient(180deg, rgba(70, 30, 120, .55) 0%, rgba(40, 16, 70, .6) 45%, rgba(14, 8, 24, .95) 100%); }
.hintergrund .punkte i { position: absolute; bottom: -10px; border-radius: 50%; background: var(--lila-h); box-shadow: 0 0 8px var(--lila); animation: steigen linear infinite; }
@keyframes steigen { to { transform: translateY(-105vh); opacity: 0; } }
.hintergrund .vignette { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 45%, transparent 45%, rgba(0, 0, 0, .65) 100%); }
.hintergrund .korn { position: absolute; inset: -50%; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: rauschen .9s steps(4) infinite; }
@keyframes rauschen { 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -1%); } }

/* Seitenleiste + Leiste oben als Glas-Panels */
.leiste { background: rgba(14, 9, 24, .72); backdrop-filter: blur(14px); border-right: 1px solid var(--panel-rand); }
.oben { background: rgba(14, 9, 24, .55); backdrop-filter: blur(14px); border-bottom: 1px solid var(--panel-rand); }
.figur { background: var(--verlauf); border: 0; position: relative; overflow: hidden; box-shadow: 0 .6vh 2.4vh rgba(145, 96, 234, .3); }
.figur::after, .karte > .karte-titel::after, .menue a.an::after { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(115deg, transparent 0 26px, rgba(255, 255, 255, .06) 26px 27px); }
.figur span, .figur .unter, .stufe small { color: rgba(255,255,255,.85); }
.stufe i { color: #fff; }
.figur .balken { background: rgba(0,0,0,.25); }
.figur .balken i { background: #fff; }
.menue a { position: relative; overflow: hidden; text-transform: uppercase; font-family: Rajdhani; font-weight: 700; font-size: 15px; letter-spacing: .06em; }
.menue a.an { background: var(--verlauf); box-shadow: 0 4px 16px rgba(145, 96, 234, .35); }
.gruppe { color: var(--rose); }

/* Überschriften wie im Ladebildschirm */
.zeile-klein { color: var(--rose); letter-spacing: .38em; }
.zeile-klein b { color: #fff; }
h1 { text-transform: uppercase; letter-spacing: .04em; background: linear-gradient(180deg, #fff 30%, #f3d2e4 100%); -webkit-background-clip: text; color: transparent;
  filter: drop-shadow(0 .4vh 1.6vh rgba(145, 96, 234, .55)); }
h1 span { background: linear-gradient(90deg, #d8c4ff, var(--rose)); -webkit-background-clip: text; color: transparent; }
h2 { text-transform: uppercase; letter-spacing: .04em; }
.einleitung { color: var(--text-2); }

/* Karten = Panels (Glas) mit Verlaufs-Kopf und Streifen */
.karte { background: var(--panel); border: 1px solid var(--panel-rand); backdrop-filter: blur(10px); border-radius: 8px; }
.karte > .karte-titel { position: relative; overflow: hidden; margin: -20px -20px 16px; padding: 12px 18px; background: var(--verlauf);
  box-shadow: 0 .6vh 2.4vh rgba(145, 96, 234, .25); }
.karte > .karte-titel .symbol { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.35); }
.karte > .karte-titel .symbol svg { stroke: #fff; }
.karte > .karte-titel small { color: rgba(255,255,255,.85); }
.karte > .karte-titel b { text-transform: uppercase; font-size: 21px; }
.karte > .karte-titel .marke-k { background: rgba(0,0,0,.28); color: #fff; position: relative; z-index: 1; }
.kachel.haupt-k { background: var(--verlauf); border: 0; }
.kachel.haupt-k::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(115deg, transparent 0 26px, rgba(255, 255, 255, .06) 26px 27px); }
.kachel.haupt-k span, .kachel.haupt-k .nr { color: rgba(255,255,255,.88); }
.kachel b { text-transform: uppercase; }
.kachel .symbol, .zahl .oben-z svg { }
.marke-k { text-transform: uppercase; }

/* Balken gestreift wie die Ladeleiste */
.balken { border: 1px solid rgba(178, 140, 245, .18); background: rgba(255,255,255,.07); }
.balken i { position: relative; overflow: hidden; background: linear-gradient(90deg, var(--lila), #c46cc0 60%, var(--rose)); box-shadow: 0 0 10px rgba(145, 96, 234, .6); }
.balken i::after { content: ''; position: absolute; inset: 0 0 0 -20px; background: repeating-linear-gradient(115deg, rgba(255,255,255,.16) 0 8px, transparent 8px 16px); animation: streifen 1s linear infinite; }
@keyframes streifen { to { transform: translateX(18px); } }

.knopf.voll, .filter a.an, .tabs a.an { background: var(--verlauf); border: 0; box-shadow: 0 6px 18px rgba(145, 96, 234, .4); }
.live { background: var(--panel); border: 1px solid rgba(98, 214, 140, .35); backdrop-filter: blur(10px); }
.pille { background: var(--panel); border-color: rgba(98, 214, 140, .35); }
.fz-bild { background: radial-gradient(ellipse at 50% 85%, rgba(240, 140, 180, .25), transparent 65%), repeating-linear-gradient(115deg, rgba(255,255,255,.02) 0 10px, transparent 10px 20px); }
.event .text { background: transparent; }
.countdown div { background: rgba(255,255,255,.04); border-color: rgba(178,140,245,.2); }
.fuss { color: var(--text-2); }

/* ================= UCP live (Rick 08.10.) ================= */
.menue a, .filter a, .tabs a, .kachel, .fz { cursor: pointer; user-select: none; }
.ava img { width: 100%; height: 100%; border-radius: 12px; object-fit: cover; }
.leer { padding: 28px; text-align: center; color: var(--text-2); font-size: 14px; line-height: 1.6; }
.leer b { color: #fff; }
.laden { display: grid; place-items: center; min-height: 60vh; color: var(--text-2); font-family: Rajdhani; font-size: 20px; letter-spacing: .2em; }
.laden i { width: 46px; height: 46px; border-radius: 50%; border: 3px solid rgba(178,140,245,.2); border-top-color: var(--lila-h); animation: drehen 1s linear infinite; margin: 0 auto 14px; display: block; }
@keyframes drehen { to { transform: rotate(360deg); } }
.hinweis-box { max-width: 720px; }
.hinweis-box ol { margin: 14px 0 0 20px; color: var(--text-2); line-height: 1.9; }
.hinweis-box ol b { color: #fff; }

/* Charakterauswahl */
.chars { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin-top: 26px; }
.char { cursor: pointer; transition: transform .15s, border-color .15s; }
.char:hover { transform: translateY(-3px); border-color: var(--lila-h); }
.char .liste-z { margin-top: 4px; }
.char .marke-k { position: relative; z-index: 1; }

/* Suche als Eingabe */
input.suche { color: #fff; outline: none; font-family: Inter; }
input.suche::placeholder { color: var(--leise); }
input.suche:focus { border-color: var(--rand2); }

/* Fotos */
.foto-raster { columns: 4 240px; column-gap: 14px; margin-top: 8px; }
.foto { break-inside: avoid; margin-bottom: 14px; border-radius: 10px; overflow: hidden; border: 1px solid var(--panel-rand); position: relative; cursor: zoom-in; background: var(--panel); }
.foto img, .foto video { width: 100%; display: block; }
.foto span { position: absolute; left: 8px; bottom: 8px; font-size: 10px; letter-spacing: .1em; font-weight: 700; padding: 3px 7px; border-radius: 5px; background: rgba(0,0,0,.55); }
.foto em { position: absolute; right: 8px; top: 8px; font-style: normal; }
.lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(6,4,12,.92); backdrop-filter: blur(6px); display: grid; place-items: center; }
.lightbox[hidden] { display: none; }
.lightbox img, .lightbox video { max-width: 88vw; max-height: 80vh; border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,.6); }
.lightbox .lb-leiste { position: absolute; bottom: 4vh; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; align-items: center; font-size: 12px; color: var(--text-2); }
.lightbox .lb-pfeil { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-size: 22px;
  background: var(--panel); border: 1px solid var(--panel-rand); cursor: pointer; color: #fff; }
.lightbox .links { left: 3vw; } .lightbox .rechts { right: 3vw; }
.lightbox .zu { position: absolute; top: 3vh; right: 3vw; }

/* Tabellen (Fraktion, Empfehlungen) */
.tabelle { width: 100%; border-collapse: collapse; font-size: 13px; }
.tabelle th { text-align: left; font-size: 10px; letter-spacing: .2em; color: var(--leise); font-weight: 600; padding: 0 10px 10px; text-transform: uppercase; }
.tabelle td { padding: 11px 10px; border-top: 1px solid var(--rand); }
.tabelle td b { font-weight: 600; }
.tabelle .ini { width: 32px; height: 32px; border-radius: 9px; display: inline-grid; place-items: center; font-family: Rajdhani; font-weight: 700; font-size: 13px; margin-right: 10px; vertical-align: middle;
  background: linear-gradient(135deg, var(--lila), var(--rose)); }
.tabelle .aus { opacity: .55; }
.zustand { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; letter-spacing: .06em; }
.zustand i { width: 7px; height: 7px; border-radius: 50%; background: var(--leise); }
.zustand.on i { background: var(--gut); box-shadow: 0 0 6px var(--gut); }
.zustand.dienst i { background: var(--lila-h); box-shadow: 0 0 6px var(--lila-h); }
.gesperrt { display: flex; align-items: center; gap: 14px; color: var(--text-2); font-size: 13px; }
.gesperrt b { color: #fff; display: block; font-family: Rajdhani; font-size: 18px; }
.logo-gross { width: 74px; height: 74px; object-fit: contain; filter: drop-shadow(0 6px 16px rgba(145,96,234,.45)); }
.betrag-plus { color: var(--gut); } .betrag-minus { color: var(--warn); }

/* Empfehlungen */
.code-box { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 10px; background: rgba(0,0,0,.25); border: 1px dashed var(--rand2); }
.code-box b { font-family: Rajdhani; font-size: 30px; letter-spacing: .12em; }
.code-box .knopf { margin-left: auto; }
.meilen { display: flex; gap: 10px; margin-top: 16px; }
.meilen div { flex: 1; text-align: center; padding: 12px 6px; border-radius: 10px; background: rgba(255,255,255,.04); border: 1px solid var(--rand); }
.meilen div.an { background: var(--verlauf); border: 0; }
.meilen b { display: block; font-family: Rajdhani; font-size: 22px; }
.meilen span { font-size: 10px; letter-spacing: .14em; color: var(--text-2); }
.meilen div.an span { color: #fff; }

.seite { display: block; }
.versteckt { display: none !important; }
.oben a { cursor: pointer; }
.oben .discord { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-2); }
.oben .discord img { width: 26px; height: 26px; border-radius: 50%; }

/* Handy / kleine Fenster */
@media (max-width: 1200px) {
  .r-dash { grid-template-columns: 1fr 1fr; }
  .r-dash .haupt-k { grid-column: span 2; grid-row: auto; }
  .r4, .r-stat { grid-template-columns: 1fr 1fr; }
  .fz-bereich { grid-template-columns: 1fr; }
  .fz-raster { grid-template-columns: repeat(2, 1fr); }
  .detail { position: static; }
  .event { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  body { grid-template-columns: 1fr; }
  .leiste { position: static; height: auto; border-right: 0; border-bottom: 1px solid var(--panel-rand); }
  .leiste .menue { display: flex; flex-wrap: wrap; gap: 4px; }
  .leiste .menue a { margin: 0; font-size: 13px; padding: 8px 10px; }
  .leiste-fuss { display: none; }
  .oben { padding: 10px 16px; flex-wrap: wrap; position: static; }
  .inhalt { padding: 24px 16px 40px; }
  h1 { font-size: 40px; }
  .kopfzeile { flex-direction: column; align-items: flex-start; gap: 14px; }
  .kopfzeile .rechts { margin-left: 0; }
  .r-dash, .r4, .r3, .r2, .r-stat, .fz-raster { grid-template-columns: 1fr; }
  .r-dash .haupt-k, .r-stat > .karte { grid-column: auto !important; }
  .filter { flex-wrap: wrap; }
  .suche { width: 100%; margin-left: 0; }
  .tabs { flex-wrap: wrap; }
  .tabelle .weg-handy { display: none; }
}

.kachel.haupt-k .gross-zahl { color: rgba(255,255,255,.14); }


/* Events + Night Market auf dem Dashboard (Rick 08.10.) */
.ev-raster { grid-template-columns: 2fr 1fr; align-items: start; }
.event-ohne { display: grid; place-items: center; min-height: 240px; background: var(--verlauf); }
.event-ohne img { width: 40%; min-height: 0 !important; height: auto !important; filter: drop-shadow(0 0 30px rgba(0,0,0,.4)); }
.event-text { display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
.marke-k.grau { background: rgba(255,255,255,.08); color: var(--leise); }
.nm .auto { position: absolute; right: -14px; top: 74px; bottom: auto; width: 50%; z-index: 0; }
.nm-liste { position: relative; z-index: 1; margin-top: 14px; display: flex; flex-direction: column; gap: 6px; }
.nm-liste div { display: flex; justify-content: space-between; font-size: 12px; padding: 7px 10px; border-radius: 8px; background: rgba(0,0,0,.25); border: 1px solid var(--rand); }
.nm-liste span { color: var(--matt); }
.nm-liste b { font-family: Rajdhani; font-size: 14px; }
.nm-uhr { position: relative; z-index: 1; margin-top: 12px; font-size: 12px; color: var(--text-2); }
.nm-uhr b { color: #fff; font-family: Rajdhani; font-size: 16px; margin-left: 4px; }
@media (max-width: 1200px) { .ev-raster { grid-template-columns: 1fr; } }

.nm .auto { width: 42%; top: 70px; }
.nm-liste { margin-top: 26px; }
.liste-z .z .marke-k { margin-left: auto; flex: none; }


/* Rick 09.10.: Icons in der Leiste oben + Platzhalter für Fahrzeuge ohne Bild */
.oben a { display: inline-flex; align-items: center; gap: 8px; }
.oben a svg { width: 16px; height: 16px; fill: none; stroke: var(--lila-h); stroke-width: 1.9; flex: none; }
.oben a svg.voll { fill: var(--lila-h); stroke: none; }
.oben a:hover svg { stroke: #fff; } .oben a:hover svg.voll { fill: #fff; }
.fz-platz { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; height: 100%; width: 100%; }
.fz-platz img { width: 76px !important; max-height: 76px; object-fit: contain; opacity: .55; filter: drop-shadow(0 0 18px rgba(145,96,234,.6)) grayscale(.15) !important; }
.fz-platz small { font-size: 9px; letter-spacing: .3em; color: var(--leise); font-weight: 700; }
.detail .fz-platz img { width: 110px !important; max-height: 110px; }
