/* Rookie Overlay – Produktseite im Aufbau „Cockpit“. Farben und Schrift wie das Programm: Liga-Orange, Schrift Play, gerade Formen.
   Schriftgrößen nur aus der Staffel 12 / 13 / 15 / 20 / 32 / 44 / 76 px, dazu 112 / 160 px nur für große Titel der Startseite.
   Hintergrund: keine Deko-Grafik. Dunkle Fläche, sonst echte Aufnahmen. Startseite offen: große Bilder und Schrift, kaum Kästen. */

@font-face { font-family: "Play"; src: url("/fonts/play-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Play"; src: url("/fonts/play-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --bg: #0b0e13; --surface-1: #121821; --surface-2: #1a2230; --surface-3: #222b3a;
  --border: #1e2735; --border-strong: #253040;
  --text: #eef1f5; --text-2: #9aa5b5;
  --accent: #ff8800; --accent-hover: #ff9a33; --accent-text: #ff8800; --on-accent: #111111; --acc-soft: rgba(255, 136, 0, .14);
  --ok: #3ccf8e; --danger: #ff7070; --info: #6db3ff; --wait: #f2c94c;
  --shadow: 0 24px 60px rgba(0, 0, 0, .55); --glow: rgba(255, 136, 0, .13);
  --corner: 3px;
  --fs-xs: 12px; --fs-sm: 13px; --fs-md: 15px; --fs-lg: 20px; --fs-xl: 32px; --fs-2xl: 44px; --fs-hero: 76px;
  color-scheme: dark;
}
/* Hell wie im Programm. „Auto“ folgt dem System, ohne Wahl bleibt die Seite dunkel. */
:root[data-theme="light"] {
  --bg: #eef1f5; --surface-1: #ffffff; --surface-2: #e9edf2; --surface-3: #dde2e9;
  --border: #dde2e9; --border-strong: #c9d0da;
  --text: #121821; --text-2: #4a5566;
  --accent-text: #a54d00; --acc-soft: rgba(255, 136, 0, .16); --ok: #0c7347; --danger: #c62f2f;
  --shadow: 0 18px 50px rgba(18, 24, 33, .16); --glow: rgba(255, 136, 0, .18);
  color-scheme: light;
}
@media (prefers-color-scheme: light) {
  :root[data-theme="auto"] {
    --bg: #eef1f5; --surface-1: #ffffff; --surface-2: #e9edf2; --surface-3: #dde2e9;
    --border: #dde2e9; --border-strong: #c9d0da;
    --text: #121821; --text-2: #4a5566;
    --accent-text: #a54d00; --acc-soft: rgba(255, 136, 0, .16); --ok: #0c7347; --danger: #c62f2f;
    --shadow: 0 18px 50px rgba(18, 24, 33, .16); --glow: rgba(255, 136, 0, .18);
    color-scheme: light;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 var(--fs-md)/1.55 "Play", system-ui, sans-serif; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-text); }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2 { text-transform: uppercase; line-height: 1.02; }
h1 { font-size: var(--fs-xl); }
h2 { font-size: var(--fs-xl); }
h3 { font-size: var(--fs-lg); text-transform: uppercase; }
h1.page { font-size: var(--fs-xl); margin-bottom: 12px; overflow-wrap: anywhere; }
h2.small { font-size: var(--fs-md); margin-bottom: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.wrap { width: 100%; max-width: 1680px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.slim { max-width: 460px; }
.skip { position: fixed; left: 8px; top: -60px; z-index: 30; background: var(--accent); color: var(--on-accent); padding: 8px 12px; border-radius: var(--corner); font-weight: 700; }
.skip:focus { top: 8px; }

/* Kopf: Marke, vier Links, rechts Sprache, Konto und Download. Handy: Download, Menü-Knopf, Menü über die ganze Seite.
   Auswahl, Hover und Fokus zeigen die Rahmen-Ecken aus dem Logo, wie im Programm. */
.top { position: sticky; top: 0; z-index: 40; background: var(--bg); border-bottom: 1px solid var(--border); }
.top-row { display: flex; align-items: center; gap: 10px; height: 60px; max-width: 1680px; margin: 0 auto; padding: 0 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; margin-right: auto; color: var(--text); text-decoration: none; font-size: var(--fs-md); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.brand span { display: none; }
.nav { display: none; }
.nav-link { display: inline-flex; align-items: center; height: 40px; padding: 0 12px; border-radius: var(--corner); color: var(--text-2); font: 700 var(--fs-sm) "Play", sans-serif; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--text); }
.nav-link[aria-current="page"] { background: var(--acc-soft); }
.top-side { display: flex; align-items: center; gap: 8px; }
.top-side .btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; }
.dl-text { display: none; }
.dl-btn { padding: 0 12px; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--border-strong); border-radius: var(--corner); background: var(--surface-1); color: var(--text); cursor: pointer; }
.icon-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; }
.menu-btn .cross, .top.open .menu-btn .bars { display: none; }
.top.open .menu-btn .cross { display: inline; }
.d-only { display: none; }
@media (min-width: 1100px) {
  .top-row { height: 68px; gap: 28px; padding: 0 32px; }
  .brand { margin-right: 0; }
  .brand span { display: inline; }
  .nav { display: flex; align-items: center; gap: 8px; }
  .top-side { margin-left: auto; }
  .menu-btn, .m-only { display: none; }
  .d-only { display: block; }
  a.d-only { display: inline-flex; }
  .dl-text { display: inline; }
  .dl-btn { padding: 0 16px; }
  .dl-btn svg { margin-right: 8px; }
}

/* Aufklapp-Menüs (Sprache, Konto) als details, gehen auch ohne JavaScript */
.dd { position: relative; }
.dd > summary { list-style: none; display: inline-flex; align-items: center; justify-content: center; height: 44px; min-width: 44px; padding: 0 6px; border-radius: var(--corner); cursor: pointer; }
.dd > summary::-webkit-details-marker { display: none; }
.dd-pop { position: absolute; top: calc(100% + 10px); right: 0; z-index: 50; width: 240px; padding: 6px; background: var(--surface-1); border: 1px solid var(--border-strong); border-radius: var(--corner); box-shadow: var(--shadow); }
.dd-pop::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--accent); }
.dd-pop.user { width: 300px; }
.pop-item { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 42px; padding: 0 10px; border: 0; border-radius: var(--corner); background: none; color: var(--text); font: 400 var(--fs-md) "Play", sans-serif; text-decoration: none; text-align: left; cursor: pointer; }
.pop-item:hover { background: var(--surface-2); }
.pop-item[aria-current="true"] { font-weight: 700; }
.pop-item svg.i { width: 18px; height: 18px; fill: none; stroke: var(--text-2); stroke-width: 1.8; flex: none; }
.pop-item .end { margin-left: auto; }
.pop-item .sub { color: var(--text-2); font-size: var(--fs-sm); }
.pop-item .check { width: 16px; height: 16px; fill: none; stroke: var(--accent); stroke-width: 2.4; }
.dd-pop hr { border: 0; border-top: 1px solid var(--border); margin: 6px 0; }
.pop-note { padding: 8px 10px 6px; color: var(--text-2); font-size: var(--fs-xs); }
.pop-head { display: flex; gap: 12px; align-items: center; padding: 10px 10px 12px; min-width: 0; }
.pop-head div { min-width: 0; }
.pop-head strong, .pop-head div > span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pop-head div > span { color: var(--text-2); font-size: var(--fs-sm); }
.pro-box { margin: 0 4px 6px; padding: 10px 12px; background: var(--surface-2); border-left: 3px solid var(--accent); border-radius: var(--corner); font-size: var(--fs-sm); }
.pro-box small { display: block; color: var(--text-2); }
.pro-bar { height: 4px; margin: 8px 0 6px; background: var(--surface-3); overflow: hidden; }
.pro-bar i { display: block; height: 100%; background: linear-gradient(90deg, #ff6a00, #ffa200); }
.pro-card .pro-bar { height: 6px; margin: 14px 0 10px; }
/* Bezahlformular von Paddle eingebettet: unser Rahmen mit Logo-Ecken, Paddle zeichnet nur das Formular darin */
.paddle-box { display: grid; gap: 12px; margin-top: 6px; padding: 14px; background: var(--surface-2); border: 1px solid var(--border-strong); border-radius: var(--corner); --rc-in: -1px; }
.paddle-box[hidden] { display: none; }
.paddle-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.paddle-brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.paddle-brand svg { flex: none; }
.paddle-brand .meta { margin: 0; }
.paddle-frame { min-height: 450px; }
.btn[aria-pressed="true"] { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.pop-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 10px 6px; color: var(--text-2); font-size: var(--fs-sm); }
.pop-form { margin: 0; }
.flag { width: 21px; height: 14px; flex: none; border-radius: 1px; box-shadow: 0 0 0 1px rgba(127, 127, 127, .25); }
.dd > summary .flag { width: 24px; height: 16px; }
.ava { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font: 700 var(--fs-sm) "Play", sans-serif; flex: none; text-transform: uppercase; }
.ava.lg { width: 48px; height: 48px; font-size: var(--fs-lg); }
.ava.xl { width: 72px; height: 72px; font-size: var(--fs-lg); }
@media (min-width: 720px) { .ava.xl { width: 96px; height: 96px; font-size: var(--fs-xl); } }
.chip { display: inline-flex; align-items: center; padding: 0 5px; border: 1px solid var(--accent); border-radius: 2px; color: var(--accent-text); font-size: var(--fs-xs); font-weight: 700; line-height: 16px; letter-spacing: .04em; text-transform: uppercase; }
.chip.muted { border-color: var(--border-strong); background: var(--surface-3); color: var(--text-2); text-transform: none; }

/* Hell, Dunkel, Automatisch */
.seg { display: inline-flex; padding: 3px; gap: 2px; background: var(--surface-2); border-radius: var(--corner); }
.seg button { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 10px; border: 0; border-radius: var(--corner); background: none; color: var(--text-2); font: 700 var(--fs-xs) "Play", sans-serif; text-transform: uppercase; letter-spacing: .06em; cursor: pointer; }
.seg button:hover { color: var(--text); }
.seg button[aria-pressed="true"] { background: var(--surface-1); color: var(--text); box-shadow: 0 1px 0 var(--border-strong); }
.seg svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; }
.seg.icons .lbl { display: none; }
.pop-row .seg, .d-row .seg { flex: 1; }
.pop-row .seg button, .d-row .seg button { flex: 1; justify-content: center; }
.no-js .seg { display: none; }

/* Menü am Handy: ganze Seite unter der Leiste */
.drawer { display: none; }
/* absolut statt fixed: der Kopf mit Weichzeichner ist der Bezugsrahmen */
.top.open .drawer { position: absolute; top: 100%; left: 0; right: 0; height: calc(100vh - 60px); height: calc(100dvh - 60px); z-index: 39; display: flex; flex-direction: column; gap: 16px; overflow-y: auto; padding: 16px 16px 24px; background: var(--bg); }
.d-user { display: flex; gap: 12px; align-items: center; padding: 14px; background: var(--surface-1); border: 1px solid var(--border-strong); border-left: 3px solid var(--accent); border-radius: var(--corner); color: var(--text); text-decoration: none; }
.d-user strong { display: block; }
.d-user div > span { color: var(--text-2); font-size: var(--fs-sm); }
.d-links a { display: flex; align-items: center; justify-content: space-between; min-height: 56px; border-bottom: 1px solid var(--border); color: var(--text); text-decoration: none; font-size: var(--fs-lg); font-weight: 700; text-transform: uppercase; letter-spacing: .02em; }
.d-links a[aria-current="page"] { color: var(--accent-text); }
.d-links svg { width: 14px; height: 14px; fill: none; stroke: var(--text-2); stroke-width: 2; }
.d-langs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.d-langs a { display: grid; justify-items: center; gap: 6px; padding: 10px 0; border: 1px solid var(--border-strong); border-radius: var(--corner); background: var(--surface-1); color: var(--text-2); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .06em; text-decoration: none; }
.d-langs a[aria-current="true"] { color: var(--text); }
.d-langs .flag { width: 30px; height: 20px; }
.d-row { display: flex; gap: 8px; align-items: center; justify-content: space-between; color: var(--text-2); font-size: var(--fs-sm); }
.drawer .btn.primary { width: 100%; min-height: 52px; }
.linkish { padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }

/* Merkmal: Rahmen-Ecken aus dem Logo, orange oben links und unten rechts, hell die anderen */
.rc { position: relative; --rc-len: 9px; --rc-w: 2px; --rc-a: var(--accent); --rc-b: var(--text); }
.rc::before, .rc::after { content: ""; position: absolute; inset: -4px; pointer-events: none; opacity: 0; transition: opacity .16s ease, inset .2s cubic-bezier(.2, .8, .2, 1); }
.rc::before { background: linear-gradient(var(--rc-a), var(--rc-a)) left top / var(--rc-len) var(--rc-w) no-repeat, linear-gradient(var(--rc-a), var(--rc-a)) left top / var(--rc-w) var(--rc-len) no-repeat, linear-gradient(var(--rc-a), var(--rc-a)) right bottom / var(--rc-len) var(--rc-w) no-repeat, linear-gradient(var(--rc-a), var(--rc-a)) right bottom / var(--rc-w) var(--rc-len) no-repeat; }
.rc::after { background: linear-gradient(var(--rc-b), var(--rc-b)) right top / var(--rc-len) var(--rc-w) no-repeat, linear-gradient(var(--rc-b), var(--rc-b)) right top / var(--rc-w) var(--rc-len) no-repeat, linear-gradient(var(--rc-b), var(--rc-b)) left bottom / var(--rc-len) var(--rc-w) no-repeat, linear-gradient(var(--rc-b), var(--rc-b)) left bottom / var(--rc-w) var(--rc-len) no-repeat; }
.rc:hover::before, .rc:hover::after, .rc:focus-visible::before, .rc:focus-visible::after { opacity: .9; inset: 0; }
.rc[aria-current]:not([aria-current="false"])::before, .rc[aria-current]:not([aria-current="false"])::after, .dd[open] > .rc::before, .dd[open] > .rc::after, .rc.always::before, .rc.always::after { opacity: 1; inset: var(--rc-in, 0); }
.rc:focus-visible { outline: none; }
.h-corner { display: flex; align-items: center; gap: 10px; }
.h-corner::before { content: ""; width: 10px; height: 10px; border-left: 2px solid var(--accent); border-top: 2px solid var(--accent); flex: none; transform: translateY(2px); }
@media (prefers-reduced-motion: reduce) { .rc::before, .rc::after { transition: none; } }
.btn.small { min-height: 36px; padding: 0 16px; }

.kicker { color: var(--accent-text); font-size: var(--fs-sm); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 10px; }
.lead { color: var(--text-2); font-size: var(--fs-md); line-height: 1.5; margin-top: 16px; max-width: 640px; }
.meta { color: var(--text-2); font-size: var(--fs-sm); margin-top: 12px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 22px; border: 0; border-radius: var(--corner); background: var(--surface-3); color: var(--text); font: 700 var(--fs-sm) "Play", sans-serif; text-transform: uppercase; letter-spacing: 0.04em; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--border-strong); }
.btn.primary { background: var(--accent); color: var(--on-accent); }
.btn.primary:hover { background: var(--accent-hover); }
.btn.off { background: var(--surface-2); color: var(--text-2); cursor: default; }
.btn.warn { background: var(--danger); color: var(--on-accent); }

.hero { padding: 48px 0; border-bottom: 1px solid var(--border); background: linear-gradient(115deg, rgba(255, 136, 0, 0.12), transparent 42%), var(--surface-1); overflow: hidden; }
.hero-row { display: grid; gap: 36px; align-items: center; }
picture { display: contents; }
.hero-art .a { width: min(100%, 300px); margin: 0 auto; }
.hero-art .b, .hero-art .c { display: none; }


.section { padding: 56px 0; }
.section.alt { background: var(--surface-1); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section h3 { margin-top: 40px; }

.tag { display: inline-block; margin-left: 8px; padding: 0 6px; border-radius: var(--corner); background: var(--accent); color: var(--on-accent); font-size: var(--fs-xs); font-weight: 700; line-height: 18px; text-transform: none; vertical-align: 2px; }

.prices { display: grid; gap: 16px; margin-top: 32px; }
.price { display: flex; flex-direction: column; gap: 12px; padding: 24px; background: var(--bg); border: 1px solid var(--border-strong); border-radius: var(--corner); }
.price.pro { border-color: var(--accent); }
.price .meta { margin-top: 0; }
.price h3 { margin: 0; }
.amount { font-size: var(--fs-2xl); font-weight: 700; line-height: 1; }
.amount small { font-size: var(--fs-md); font-weight: 400; color: var(--text-2); }
.price > ul:not(.plans) { display: grid; gap: 6px; }
.price > ul:not(.plans) li { padding-left: 18px; position: relative; color: var(--text-2); }
.price > ul:not(.plans) li strong { color: var(--text); }
.price > ul:not(.plans) li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 8px; height: 8px; background: var(--surface-3); }
.price.pro > ul:not(.plans) li::before { background: var(--accent); }
.plans li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--border-strong); color: var(--text-2); }
.plans strong { color: var(--text); }
.price .btn { margin-top: auto; }

.faq { border-bottom: 1px solid var(--border-strong); padding: 14px 0; }
.faq:first-of-type { margin-top: 20px; }
.faq summary { cursor: pointer; font-weight: 700; }
.faq p { color: var(--text-2); margin-top: 8px; }

.panel { margin: 20px 0; padding: 16px; background: var(--surface-1); border: 1px solid var(--border-strong); border-radius: var(--corner); }
.panel .btn { margin-top: 12px; }
.howto { display: grid; gap: 8px; padding-left: 20px; list-style: decimal; }
.hash { overflow-wrap: anywhere; font-size: var(--fs-xs); }
.legal h2.small { margin-top: 24px; }
.legal p { color: var(--text-2); margin-top: 6px; }
.ok { color: var(--ok); font-weight: 700; }
.notice { margin-top: 16px; padding: 10px 14px; background: var(--surface-2); border-left: 3px solid var(--accent); }
.form { display: grid; gap: 12px; margin-top: 20px; }
.form label { display: grid; gap: 4px; font-size: var(--fs-sm); color: var(--text-2); }
.form label.check { display: flex; align-items: center; gap: 8px; }
.form input:not([type="checkbox"]):not([type="radio"]):not([type="file"]) { min-height: 44px; padding: 0 12px; background: var(--bg); color: var(--text); border: 1px solid var(--border-strong); border-radius: var(--corner); font: 400 var(--fs-md) "Play", sans-serif; width: 100%; }
.error { color: var(--danger); font-size: var(--fs-sm); }
.danger { margin-top: 28px; color: var(--text-2); }
.danger summary { cursor: pointer; font-size: var(--fs-sm); }

/* Verwaltung, nur für Mike: eigener Kopf, Listen als Zeilen statt Tabellen, auf dem Handy gestapelt */
.count { padding: 0 6px; border-radius: var(--corner); background: var(--accent); color: var(--on-accent); font-size: var(--fs-xs); font-weight: 700; line-height: 18px; }
.adm-narrow { max-width: 760px; }
.adm-h2 { margin: 24px 0 8px; font-size: var(--fs-md); }
.case-title { margin: 0 0 8px; font-size: var(--fs-lg); line-height: 1.3; text-transform: none; overflow-wrap: anywhere; }
.break { overflow-wrap: anywhere; }
.empty { padding: 24px 16px; border: 1px dashed var(--border-strong); border-radius: var(--corner); color: var(--text-2); text-align: center; }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 16px 0; }
.stat { display: block; padding: 12px 14px; background: var(--surface-1); border: 1px solid var(--border-strong); border-radius: var(--corner); color: var(--text); text-decoration: none; }
a.stat:hover { border-color: var(--accent); }
.stat strong { display: block; font-size: var(--fs-xl); line-height: 1.2; overflow-wrap: anywhere; }
.stat span { color: var(--text-2); font-size: var(--fs-sm); }
.stat .trend { display: block; margin-top: 4px; font-size: var(--fs-xs); }
.stat .trend.up { color: var(--ok); }
.stat .trend.down { color: var(--danger); }
.adm-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 0; }
.adm-tabs a { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; background: var(--surface-1); border: 1px solid var(--border-strong); border-radius: var(--corner); color: var(--text-2); font-size: var(--fs-sm); text-decoration: none; }
.adm-tabs a:hover { color: var(--text); }
.adm-tabs a[aria-current="page"] { background: var(--surface-3); border-color: var(--accent); color: var(--text); font-weight: 700; }
.adm-tabs.small { margin-top: 6px; }
.adm-tabs.small a { min-height: 32px; padding: 0 10px; background: none; }
.tab-n { color: var(--text-2); font-weight: 400; }
.admin-search { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 16px; }
.admin-search input { flex: 1 1 220px; }
.rows { list-style: none; margin: 0; padding: 0; background: var(--surface-1); border: 1px solid var(--border-strong); border-radius: var(--corner); }
.rows > li + li { border-top: 1px solid var(--border); }
.row { display: grid; gap: 4px; padding: 12px; color: var(--text); text-decoration: none; }
.row:hover { background: var(--surface-2); }
.row.is-new { box-shadow: inset 3px 0 0 var(--accent); }
.row-main { display: grid; gap: 2px; min-width: 0; }
.row-title { font-weight: 700; overflow-wrap: anywhere; }
.row-meta { min-width: 0; color: var(--text-2); font-size: var(--fs-sm); overflow-wrap: anywhere; }
.row-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.row-tags .tag, .row-title .tag { margin: 0; vertical-align: 1px; }
.tag.st-neu { background: var(--accent); }
.tag.st-in_arbeit { background: var(--info); }
.tag.st-wartet { background: var(--wait); }
.tag.st-erledigt { background: var(--surface-3); color: var(--text-2); }
.tag.st-spam { background: var(--danger); }
.spam-why { color: var(--danger); }
.spam-box ul { margin: 6px 0 0; padding-left: 18px; }
.spam-box form { margin-top: 10px; }
.day-row { grid-template-columns: 76px minmax(0, 1fr) auto; align-items: center; gap: 4px 12px; padding: 8px 12px; }
.day-row:hover { background: none; }
.day-date { color: var(--text-2); font-size: var(--fs-sm); }
.day-bar { grid-column: 2; height: 8px; background: var(--surface-2); border-radius: var(--corner); overflow: hidden; }
.day-bar > span { display: block; height: 100%; background: var(--accent); }
.day-n { font-size: var(--fs-sm); white-space: nowrap; }
.day-row .day-n + .day-n { grid-column: 3; }
.case { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 16px; }
.case-main, .case-side { min-width: 0; overflow-wrap: anywhere; }
.case .panel:first-child { margin-top: 0; }
.reply-form { border-color: var(--accent); }
.reply-actions { display: grid; gap: 8px; }
.reply-actions select { width: 100%; }
@media (min-width: 900px) {
  .stats { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
  .case-row { grid-template-columns: 170px minmax(0, 1fr) 230px 110px; align-items: center; gap: 16px; }
  .user-row { grid-template-columns: minmax(0, 1fr) 150px 90px 120px; align-items: center; gap: 16px; }
  .day-row { grid-template-columns: 90px minmax(0, 1fr) 120px 120px; }
  .day-row .day-n + .day-n { grid-column: auto; }
  .row-end { text-align: right; }
  .reply-actions { grid-template-columns: 200px auto auto; align-items: end; justify-content: start; }
}
@media (min-width: 1000px) {
  .case { grid-template-columns: minmax(0, 1fr) 320px; align-items: start; }
}
.admin-search input, .admin-search select, .form textarea, .form input[type="date"] { min-height: 44px; padding: 0 12px; background: var(--bg); color: var(--text); border: 1px solid var(--border-strong); border-radius: var(--corner); font: 400 var(--fs-md) "Play", sans-serif; }
.form textarea { padding: 10px 12px; width: 100%; resize: vertical; }
.table-wrap { overflow-x: auto; border: 1px solid var(--border-strong); border-radius: var(--corner); }
.admin-table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.admin-table th, .admin-table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--border); }
/* Auf dem Handy eine Karte je Zeile, Spaltennamen kommen aus data-label */
.stack-table thead { display: none; }
.stack-table tr { display: block; padding: 8px 0; border-bottom: 1px solid var(--border); }
.stack-table tbody tr:last-child { border-bottom: 0; }
.stack-table td { display: flex; justify-content: space-between; gap: 16px; padding: 3px 12px; border: 0; text-align: right; overflow-wrap: anywhere; }
.stack-table td::before { content: attr(data-label); color: var(--text-2); text-align: left; }
@media (min-width: 760px) {
  .stack-table thead { display: table-header-group; }
  .stack-table tr { display: table-row; padding: 0; border: 0; }
  .stack-table td { display: table-cell; padding: 10px 12px; border-bottom: 1px solid var(--border); text-align: left; white-space: nowrap; }
  .stack-table td::before { content: none; }
  .admin-table tbody tr:last-child td { border-bottom: 0; }
}
.admin-table th { color: var(--text-2); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; background: var(--surface-1); }
.admin-table .tag { vertical-align: 1px; }
.tag.warn { background: var(--danger); }
.meta-inline { color: var(--text-2); font-size: var(--fs-sm); }
.pager { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.admin-facts { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 4px 16px; margin: 16px 0; font-size: var(--fs-sm); }
.admin-facts dt { color: var(--text-2); }
.admin-facts dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.admin-row { display: flex; flex-wrap: wrap; align-items: end; gap: 8px; }
.admin-row .btn { margin-top: 12px; }
.admin-list { display: grid; gap: 4px; font-size: var(--fs-sm); color: var(--text-2); }
.notice.warn { border-left-color: var(--danger); }

.foot { border-top: 1px solid var(--border); padding: 24px 0; color: var(--text-2); font-size: var(--fs-sm); }
.foot-row { display: grid; gap: 8px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 16px; }
.foot a { color: var(--text-2); }
.fine { font-size: var(--fs-xs); }

.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.center .actions { justify-content: center; }
.center-text { text-align: center; }
.screen { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: #0d1117; }
.shot-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.placed { position: absolute; display: block; }
.placed img { width: 100%; height: auto; }

/* Reiter: Text mit Linie */
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 20px; }
.tabs[hidden] { display: none; }
.tab { position: relative; min-height: 44px; padding: 0 2px; border: 0; background: none; color: var(--text-2); font: 700 var(--fs-sm) "Play", sans-serif; text-transform: uppercase; letter-spacing: .04em; cursor: pointer; }
.tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 2px; background: var(--surface-3); }
.tab:hover, .tab.on { color: var(--text); }
.tab.on::after { background: var(--accent); }

/* Showcase: Overlays auf echten Streckenausschnitten wie im Spiel, hohe über zwei Reihen */
.head-row { display: grid; gap: 20px; align-items: end; }
.filter { justify-content: flex-start; }
.show { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 32px; }
.card { display: flex; flex-direction: column; overflow: hidden; background: var(--surface-1); border-radius: var(--corner); }
.card[hidden] { display: none; }
.stage { --shot: url("/img/cockpit/gt.webp"); position: relative; flex: 1; min-height: 230px; background: linear-gradient(rgba(11, 14, 19, .4), rgba(11, 14, 19, .4)), var(--shot) 50% 38% / 240% auto; }
.tall .stage { min-height: 430px; background-size: auto, auto 190%; }
.card:nth-child(3n + 2) .stage { --shot: url("/img/cockpit/sonne.webp"); background-position: 0 0, 62% 46%; }
.card:nth-child(3n) .stage { --shot: url("/img/cockpit/prototyp.webp"); background-position: 0 0, 50% 42%; }
.stage img { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: auto; height: auto; max-width: calc(100% - 32px); max-height: calc(100% - 32px); }
.card-text { padding: 14px 16px 16px; }
.section .card-text h3 { margin: 0 0 4px; font-size: var(--fs-md); text-transform: none; }
.card-text p { color: var(--text-2); font-size: var(--fs-sm); }

/* Programm */
.features { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px 32px; margin-top: 32px; }
.section .feature h3 { margin: 0 0 6px; font-size: var(--fs-lg); text-transform: none; }
.feature p { color: var(--text-2); }
.triple { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 32px; }
.pano { position: absolute; top: 0; width: 507%; max-width: none; height: 100%; }

/* Abschluss: echtes Bild, abgedunkelt */
.cta { --text: #eef1f5; --text-2: #c9d0da; --accent-text: #ff8800; color: var(--text); background: linear-gradient(rgba(11, 14, 19, .72), rgba(11, 14, 19, .72)), url("/img/cockpit/sonne.webp") center 55% / cover; }
.cta .lead { color: var(--text); }
.soon { display: grid; gap: 14px; margin-top: 32px; }
.soon article { padding: 24px; background: var(--surface-1); border-radius: var(--corner); }
.soon .tag { margin-left: 0; }
.soon.one { grid-template-columns: minmax(0, 560px); }
.section .soon h3 { margin: 14px 0 6px; text-transform: none; }
.soon p { color: var(--text-2); }

@media (min-width: 720px) {
  h1 { font-size: var(--fs-2xl); }
  h2 { font-size: var(--fs-2xl); }
  .lead { font-size: var(--fs-lg); line-height: 1.4; }
  .top-row { padding-left: 32px; padding-right: 32px; }
  .wrap { padding-left: 32px; padding-right: 32px; }
  .top { position: sticky; top: 0; }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .show { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: dense; }
  .tall { grid-row: span 2; }
  .soon { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  h1 { font-size: var(--fs-hero); }
  .hero { padding: 80px 0; }
  .hero-row { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
  .hero-art { position: relative; min-height: 440px; }
  .hero-art img { position: absolute; }
  .hero-art .a { right: 0; top: 0; margin: 0; }
  .hero-art .b { display: block; width: 200px; left: 0; top: 30px; }
  .hero-art .c { display: block; width: 200px; left: 0; top: 230px; }
  .features { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .soon { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .head-row { grid-template-columns: minmax(0, 1fr) auto; }
  .show { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .section { padding: 88px 0; }
}
@media (min-width: 1200px) {
  .hero-head { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: end; }
}
@media (min-width: 1500px) {
  .show { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.admin-search select, .form select { min-height: 44px; padding: 0 12px; background: var(--bg); color: var(--text); border: 1px solid var(--border-strong); border-radius: var(--corner); font: 400 var(--fs-md) "Play", sans-serif; }
.form input[type="file"] { color: var(--text-2); font: 400 var(--fs-sm) "Play", sans-serif; }
.form input[type="file"]::file-selector-button { min-height: 36px; margin-right: 12px; padding: 0 16px; border: 0; border-radius: var(--corner); background: var(--surface-3); color: var(--text); font: 700 var(--fs-sm) "Play", sans-serif; text-transform: uppercase; cursor: pointer; }
.form input[type="radio"], .form input[type="checkbox"] { accent-color: var(--accent); width: 18px; height: 18px; margin: 0; flex: none; }
.choice { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.choice legend { padding: 0; margin-bottom: 6px; font-size: var(--fs-sm); color: var(--text-2); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.pre { white-space: pre-wrap; overflow-wrap: anywhere; }
.message .shots { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.message .shot { display: block; max-height: 240px; max-width: 100%; width: auto; border: 1px solid var(--border-strong); }
.message.reply { border-left: 3px solid var(--accent); }
.message.internal { background: var(--surface-2); border-style: dashed; }
.message .meta-inline { display: block; margin-bottom: 6px; }
.tag.kind-fehler { background: var(--danger); }
.tag.kind-feedback { background: var(--ok); }
.tag.kind-frage { background: var(--surface-3); color: var(--text); }
.tag[class*="kind-"] { margin: 0 6px 0 0; }


/* Symbole, Fuß */
.i { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.foot-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.wide-btn { width: 100%; }

/* Profil */
.prof-top { padding: 28px 0 0; background: radial-gradient(60% 420px at 20% 0, var(--glow), transparent); }
.prof-id { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; }
.prof-name { min-width: 0; }
.prof-name .kicker { margin-bottom: 4px; }
.prof-name h1.page { margin-bottom: 0; }
.prof-name .meta { margin-top: 4px; overflow-wrap: anywhere; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.prof-grid { display: grid; gap: 16px; padding: 24px 0 64px; }
.stack { display: grid; gap: 16px; align-content: start; min-width: 0; }
.card2 { display: grid; gap: 10px; padding: 18px; background: var(--surface-1); border: 1px solid var(--border-strong); border-radius: var(--corner); min-width: 0; }
.card2 > h2 { margin-bottom: 4px; font-size: var(--fs-md); letter-spacing: .06em; }
.card2 .meta { margin-top: 0; }
.card2 .actions { margin-top: 4px; }
.pro-card { background: linear-gradient(120deg, var(--acc-soft), transparent 55%), var(--surface-1); }
.pro-card.rc { --rc-len: 18px; --rc-w: 3px; }
.big { font-size: var(--fs-xl); font-weight: 700; line-height: 1.1; }
.big small { margin-left: 8px; font-size: var(--fs-md); font-weight: 400; color: var(--text-2); }
.list2 > div { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--border); }
.list2 > div:first-child { border-top: 0; padding-top: 0; }
.list2 .grow { flex: 1 1 150px; min-width: 0; overflow-wrap: anywhere; }
.list2 strong { display: block; }
.list2 span { color: var(--text-2); font-size: var(--fs-sm); }
.list2 .ic { display: grid; place-items: center; width: 38px; height: 38px; border-radius: var(--corner); background: var(--surface-2); flex: none; }
.list2 form { margin: 0 0 0 auto; }
.btn.ghost { min-height: 36px; padding: 0 14px; background: none; border: 1px solid var(--border-strong); }
.btn.ghost:hover { border-color: var(--accent); background: none; }
.danger-text { color: var(--danger); }
.set-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; padding: 12px 0; border-top: 1px solid var(--border); }
.card2 > h2 + .set-row { border-top: 0; padding-top: 0; }
.set-row > div > span { display: block; color: var(--text-2); font-size: var(--fs-sm); overflow-wrap: anywhere; }
.set-row form { margin: 0; }
.set-more > summary { list-style: none; cursor: pointer; }
.set-more > summary::-webkit-details-marker { display: none; }
.set-more[open] > summary .btn { border-color: var(--accent); }
.set-more .form { margin: 0 0 16px; }
.langs { display: flex; gap: 4px; }
.langs a { display: grid; place-items: center; width: 40px; height: 34px; border-radius: var(--corner); }
.langs a[aria-current="true"] { background: var(--acc-soft); }
.langs .flag { width: 24px; height: 16px; }
.notice.warn-soft { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.notice.warn-soft form { margin: 0; }
.no-js .no-js-hide { display: none; }
@media (min-width: 720px) { .prof-top { padding-top: 40px; } .card2 { padding: 22px; } }
@media (min-width: 1000px) { .prof-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 20px; padding-top: 28px; } .stack { gap: 20px; } }
/* Verwaltung: Partner-Designs */
.design-row { grid-template-columns: 28px minmax(0, 1fr); align-items: center; gap: 4px 12px; }
.design-row .row-end { grid-column: 2; }
.swatch { width: 28px; height: 28px; border-radius: var(--corner); background: linear-gradient(135deg, var(--sw-bg) 55%, var(--sw-a) 55%); border: 1px solid var(--border-strong); }
.design-edit { display: grid; gap: 24px; margin-top: 16px; }
.design-form { margin-top: 0; }
.design-group { display: grid; gap: 12px; margin: 0; padding: 12px 16px 16px; border: 1px solid var(--border-strong); border-radius: var(--corner); }
.design-group legend { padding: 0 6px; font-size: var(--fs-sm); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.form label.color { grid-template-columns: 1fr auto; align-items: center; }
.form input[type="color"]:not([type="checkbox"]):not([type="radio"]):not([type="file"]) { width: 56px; height: 36px; padding: 2px; background: var(--bg); border: 1px solid var(--border-strong); border-radius: var(--corner); cursor: pointer; }
.form input[type="range"]:not([type="checkbox"]):not([type="radio"]):not([type="file"]) { min-height: 24px; padding: 0; border: 0; background: none; width: 100%; accent-color: var(--accent); }
.form output { color: var(--text); }
.design-side { min-width: 0; }
.dz-wrap { margin: 12px 0 0; }
.dz-wrap figcaption { margin: 0 0 6px; }
.dz-wrap.unused { opacity: 0.35; }
.dz-wrap[data-look="dark"] { padding: 12px; background: #2c3440; border-radius: var(--corner); }
.dz-wrap[data-look="light"] { padding: 12px; background: #8d9aa8; border-radius: var(--corner); }
.dz-wrap figcaption { color: #fff; }
.dz { position: relative; isolation: isolate; max-width: 380px; padding: 0 0 9px; color: var(--dz-t); border-radius: 3px; font-size: var(--fs-sm); overflow: hidden; }
.dz::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--dz-bg); }
.dz-head { display: flex; align-items: center; gap: 8px; height: 26px; padding: 0 8px 0 10px; color: var(--dz-t2); font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.dz-info { margin-left: auto; font-weight: 400; text-transform: none; letter-spacing: 0; }
.dz-logo { height: 18px; width: auto; max-width: 60px; object-fit: contain; }
.dz-row { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; align-items: center; height: 23px; }
.dz-row.me { background: color-mix(in srgb, var(--dz-a) 16%, transparent); }
.dz-row.me .dz-name { color: var(--dz-a); font-weight: 700; }
.dz-class { display: grid; place-items: center; height: 100%; color: #fff; font-size: var(--fs-xs); font-weight: 700; }
.dz-name { padding: 0 8px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.dz-gap { padding: 0 10px; color: var(--dz-t2); font-variant-numeric: tabular-nums; }
.dz i { position: absolute; display: none; }
.dz[data-mark="streifen"] .dz-stripe { display: block; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--dz-a) 40%, color-mix(in srgb, var(--dz-a) 16%, transparent) 40%); }
.dz[data-mark="kerbe"] { padding-bottom: 6px; }
.dz[data-mark="kerbe"]::before { clip-path: polygon(12px 0, 100% 0, 100% 100%, 0 100%, 0 12px); }
.dz[data-mark="kerbe"] .dz-head { padding-left: 16px; }
.dz[data-mark="kerbe"] .dz-notch { display: block; left: 0; top: 0; width: 8px; height: 8px; background: var(--dz-a); clip-path: polygon(0 0, 100% 0, 0 100%); }
.dz[data-mark="kante"] { padding-left: 3px; padding-bottom: 6px; }
.dz[data-mark="kante"] .dz-edge { display: block; left: 0; top: 0; bottom: 0; width: 3px; background: var(--dz-a); }
.dz[data-mark="winkel"] { padding-bottom: 6px; }
.dz[data-mark="winkel"] .dz-corner { display: block; width: 12px; height: 12px; border: 0 solid var(--dz-a); }
.dz-corner.tl { left: 0; top: 0; border-width: 2px 0 0 2px !important; }
.dz-corner.br { right: 0; bottom: 0; opacity: 0.45; border-width: 0 2px 2px 0 !important; }
.grant-list li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.grant-list .btn { margin-top: 0; }
.warn-text { color: var(--danger); }
@media (min-width: 1000px) {
  .design-edit { grid-template-columns: minmax(0, 520px) minmax(0, 1fr); align-items: start; }
  .design-side { position: sticky; top: 16px; }
}

/* Fehlerseiten */
.err { padding: 72px 0; }

/* Tippziele auf Touch-Geräten mindestens 40 px, bis zum Umbruch auf das Desktop-Menü */
@media (max-width: 1099px) {
  .brand { min-height: 44px; }
  .btn.small, .btn.ghost { min-height: 40px; }
  .seg button { height: 40px; }
  .tab { min-width: 44px; }
  .faq { padding: 5px 0; }
  .faq summary { padding: 9px 0; }
  .faq p { margin: 0 0 9px; }
  .foot nav { gap: 0 16px; }
  .foot nav a { display: inline-flex; align-items: center; min-height: 40px; }
  .form label.check { min-height: 40px; }
  .form input[type="file"]::file-selector-button { min-height: 40px; }
  .langs a { height: 40px; }
  .stack-table a { display: inline-flex; align-items: center; min-height: 40px; }
}

/* Startseite (Obi 07.11.): Cockpit über die ganze Breite, Funktionen mit bewegtem Bild, darunter der Editor.
   Offen statt verschachtelt: keine Karten, große Titel, viel Abstand. */
/* Kopf (Mike 07.11.): Inhalt mittig, so hoch wie nötig statt bildschirmhoch, die Seite rückt nach */
.h-hero { --text: #eef1f5; --text-2: rgba(238, 241, 245, .8); --accent-text: #ff8800; position: relative; display: flex; align-items: center; justify-content: center; min-height: 480px; overflow: hidden; background: #000; color: var(--text); }
.h-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.h-hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 65% at 50% 48%, rgba(0, 0, 0, .55), rgba(0, 0, 0, .2) 70%, rgba(0, 0, 0, .1)), linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(11, 14, 19, .95)); }
.h-hero-copy { position: relative; z-index: 1; display: grid; justify-items: center; padding-block: 72px 64px; text-align: center; }
.h-title { font-size: var(--fs-xl); line-height: .95; letter-spacing: -.01em; max-width: 16ch; text-wrap: balance; }
.nw { white-space: nowrap; }
.h-row { display: grid; justify-items: center; gap: 24px; margin-top: 22px; }
.h-row .lead { margin-top: 0; max-width: 46ch; color: var(--text-2); }
.h-row .actions { justify-content: center; margin-top: 0; }

/* Nach oben: rechts unten, erscheint nach etwas Scrollen */
.to-top { position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: max(16px, env(safe-area-inset-bottom, 0px)); z-index: 40; display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--corner); background: var(--accent); color: var(--on-accent); box-shadow: 0 10px 24px rgba(0, 0, 0, .35); opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity .2s ease, transform .2s ease; }
.to-top.on { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { background: var(--accent-hover, #ff9a33); }
.to-top:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
.to-top .i { width: 20px; height: 20px; stroke-width: 2.2; }
@media (prefers-reduced-motion: reduce) { .to-top { transition: none; } }
.btn.big { min-height: 52px; padding: 0 26px; font-size: var(--fs-md); text-transform: none; letter-spacing: .02em; }
.btn.ghost { background: none; color: var(--text); padding: 0 6px; }
.btn.ghost span { color: var(--accent); margin-left: 8px; }

.hl { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 96px; align-items: center; }
.hl-title { font-size: var(--fs-xl); line-height: 1; letter-spacing: -.01em; }
.hl-list { display: grid; gap: 10px; margin-top: 22px; }
.hl-list li { display: flex; gap: 12px; align-items: baseline; }
.hl-list li::before { content: ""; width: 8px; height: 8px; border-left: 2px solid var(--accent); border-top: 2px solid var(--accent); flex: none; }
.hl-note { display: flex; gap: 10px; align-items: center; margin-top: 22px; color: var(--text-2); font-size: var(--fs-sm); }
.hl-vis { position: relative; display: grid; place-items: center; min-height: 380px; overflow: hidden; background: #0b0e13; border-radius: var(--corner); }
.hl-anim { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: center; padding: 32px 16px; }
.hl-anim img, .hl-anim video { filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .6)); }
/* Standings in der Animation schmaler als das Bild (444 px), wie vor dem Umbau auf Videos */
.hl-anim .anim-main { width: 295px; max-width: 100%; height: auto; }

.dock { display: block; width: 100%; max-width: 460px; padding: 24px 16px; }
.dock img, .dock video { display: block; width: 100%; height: auto; filter: drop-shadow(0 16px 30px rgba(0, 0, 0, .5)); }
.hl-stack { display: flex; flex-direction: column; gap: 24px; padding: 32px 16px; }
.hl-stack img, .hl-shot { display: block; max-width: 100%; height: auto; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .6)); }
.hl-shot { box-sizing: border-box; padding: 24px 16px; }
/* Spiele im Kopf: verfügbar und demnächst (LMU) */
.h-games { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; justify-content: center; }
.h-games li { display: inline-flex; gap: 8px; align-items: center; padding: 4px 10px; border: 1px solid var(--accent); border-radius: var(--corner); font-size: var(--fs-sm); font-weight: 700; }
.h-games li span { color: var(--accent-text); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .06em; }
.h-games li.later { border-color: rgba(238, 241, 245, .35); }
.h-games li.later span { color: var(--text-2); }
.h-games li.logo { padding: 0; border: 0; }
.h-games li.logo img { display: block; width: auto; height: 32px; }
/* EA SPORTS F1 25: Logo-Datei mit leerem Rand (36/37 von 213 px oben/unten, 43/47 links/rechts); größer zeigen und den Rand wegnehmen, sichtbar 32 px hoch */
.h-games li.logo img.spaced { height: 48px; max-width: none; margin: -8px -11px -8px -10px; }
/* Probemonat über den Preisen */
.trial { margin-top: 24px; padding: 18px 20px; background: var(--surface-2); border-left: 3px solid var(--accent); border-radius: var(--corner); --rc-in: 0; }
.trial strong { display: block; font-size: var(--fs-lg); }
.trial p { margin-top: 6px; color: var(--text-2); max-width: 640px; }

/* Farben je Layout: dieselben Inputs in vier Farbvorlagen */
.hl-colors { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); align-content: center; gap: 20px; padding: 28px 20px; }
.hl-colors figure { display: grid; gap: 8px; margin: 0; }
.hl-colors img { width: 100%; height: auto; filter: drop-shadow(0 14px 28px rgba(0, 0, 0, .55)); }
.hl-colors figcaption { display: flex; gap: 8px; align-items: center; color: #9aa5b5; font-size: var(--fs-sm); }

/* Individualdesigns: ein Kasten mit Anfrage */
.custom { --rc-len: 22px; --rc-w: 3px; display: grid; gap: 24px; padding: 28px 24px; background: linear-gradient(120deg, var(--acc-soft), transparent 60%), var(--surface-1); border-radius: var(--corner); }
.custom .lead { max-width: 60ch; }
.custom .actions { display: grid; gap: 10px; justify-items: start; align-content: center; margin-top: 0; }
.custom .meta { margin-top: 0; }
@media (min-width: 900px) { .custom { grid-template-columns: minmax(0, 1fr) auto; align-items: center; padding: 40px; } }

.hl-perf { align-items: start; place-items: stretch; }
.perf { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 28px; padding: 32px 24px 88px; }
.perf-col { display: grid; gap: 20px; align-content: start; }
.perf-h { color: #8d97a6; font-size: var(--fs-sm); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.perf-col.main .perf-h { color: var(--accent); }
.perf strong { display: block; color: #fff; font-size: var(--fs-xl); line-height: 1; font-variant-numeric: tabular-nums; }
.perf span { color: #8d97a6; font-size: var(--fs-sm); }
.loadbar { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; padding: 12px 18px; background: #121821; color: #8d97a6; font-size: var(--fs-sm); }
.loadbar i { width: 8px; height: 8px; background: #3ccf8e; }
.loadbar b { color: #eef1f5; }
.loadbar .end { margin-left: auto; }

.sess { display: grid; gap: 14px; width: 100%; padding: 20px; }
.sess-tabs { display: flex; flex-wrap: wrap; gap: 4px; }
.sess-tabs button { min-height: 36px; padding: 0 12px; border: 0; border-radius: var(--corner); background: #1a2230; color: #9aa5b5; font: 700 var(--fs-xs) "Play", sans-serif; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
.sess-tabs button[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); }
.sess-mon { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.sess-mon .placed { width: auto; }
.sess-set[hidden] { display: none; }
.sess-auto { display: flex; gap: 10px; align-items: center; color: #9aa5b5; font-size: var(--fs-sm); }
.sess-auto i { width: 8px; height: 8px; background: #3ccf8e; }
.sess-auto b { color: #eef1f5; }

/* Editor zum Ausprobieren */
.ed { padding: 120px 0 40px; }
.ed-head { display: flex; flex-wrap: wrap; gap: 12px 48px; align-items: flex-end; justify-content: space-between; margin-bottom: 28px; }
.ed-head .lead { margin-top: 0; max-width: 40ch; }
.ed-grid { display: none; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.ed-grid.on { display: grid; }
.ed-nojs { display: none; }
.no-js .ed-nojs { display: block; }
.ed-grid > * { min-width: 0; }
.ed-bar { display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; margin-bottom: 12px; }
.ed-name { font-size: var(--fs-lg); font-weight: 700; }
.ed-name small { color: var(--text-2); font-size: var(--fs-sm); font-weight: 400; }
.ed-tools { display: flex; gap: 8px; margin-left: auto; }
.ed-full { display: none; }
.ed-screen { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #000; user-select: none; touch-action: none; }
.ed-screen:fullscreen { aspect-ratio: auto; width: 100vw; height: 100vh; }
.ed-grid-lines { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .2s; background-image: linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px); background-size: 5% 8.9%; }
.ed-screen.dragging .ed-grid-lines { opacity: 1; }
.ed-ov { position: absolute; padding: 6px; cursor: grab; --rc-len: 14px; --rc-b: #eef1f5; }
.ed-ov img { display: block; width: 100%; height: auto; pointer-events: none; }
.ed-tag { position: absolute; left: 6px; top: -20px; display: none; padding: 1px 6px; background: var(--accent); color: var(--on-accent); font-size: var(--fs-xs); font-weight: 700; white-space: nowrap; }
.ed-rs { position: absolute; right: -4px; bottom: -4px; width: 20px; height: 20px; cursor: nwse-resize; display: none; }
.ed-ov.always .ed-tag, .ed-ov.always .ed-rs { display: block; }
.ed-hint { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 12px; color: var(--text-2); font-size: var(--fs-sm); }
.ed-hint b { color: var(--text); }
.ed-mobile { display: none; }
.ed-side-h { display: flex; justify-content: space-between; margin-bottom: 10px; color: var(--text-2); font-size: var(--fs-sm); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.ed-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 2px; }
.ed-item { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 10px; border: 0; border-radius: var(--corner); background: none; color: var(--text); font: 400 var(--fs-md) "Play", sans-serif; text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; }
@media (hover: hover) { .ed-item:hover { background: var(--surface-1); } }
.ed-box { display: grid; place-items: center; width: 18px; height: 18px; flex: none; box-shadow: inset 0 0 0 2px var(--text-2); }
.ed-item.on .ed-box { background: var(--accent); box-shadow: none; }
.ed-item.on .ed-box::after { content: ""; width: 8px; height: 4px; border-left: 2px solid #111; border-bottom: 2px solid #111; transform: rotate(-45deg) translate(1px, -1px); }
.ed-n { flex: 1; }
.ed-cta { margin-top: 24px; padding: 20px; background: var(--surface-1); border-radius: var(--corner); }
.ed-cta strong { display: block; font-size: var(--fs-lg); }
.ed-cta p { margin: 6px 0 16px; color: var(--text-2); font-size: var(--fs-sm); }
.ed-cta .btn { width: 100%; }

@media (max-width: 719px) {
  .ed-grid { gap: 8px; }
  .ed-side { display: contents; }
  .ed-side-h { order: 1; margin: 0; }
  .ed-list { order: 2; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: max-content; gap: 8px; overflow-x: auto; margin: 0 -16px; padding: 0 16px 8px; scrollbar-width: none; }
  .ed-item { min-height: 48px; background: var(--surface-1); }
  .ed-main { order: 3; }
  .ed-cta { order: 4; }
  .ed-screen-wrap { margin: 0 -16px; }
  .ed-ov { padding: 3px; --rc-len: 10px; }
  .ed-ov.always .ed-rs, .ed-hint { display: none; }
  .ed-tag { top: -18px; }
  .ed-tools { margin-left: 0; }
  .ed-full { display: inline-flex; }
  .ed-mobile { display: flex; align-items: center; gap: 8px; padding: 12px 0 4px; }
  .ed-sel { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; }
  .ed-mobile button { width: 48px; height: 48px; border: 0; border-radius: var(--corner); background: var(--surface-1); color: var(--text); font: 700 var(--fs-lg) "Play", sans-serif; cursor: pointer; }
  .ed-mobile button.off { width: auto; padding: 0 14px; color: var(--accent-text); font-size: var(--fs-sm); }
}
@media (min-width: 720px) {
  .h-hero { min-height: min(68vh, 680px); }
  .h-hero-copy { padding-block: 96px 88px; }
  .h-title { font-size: var(--fs-2xl); }
  .hl { padding-top: 112px; }
  .hl-title { font-size: var(--fs-2xl); }
  .perf-col.main strong { font-size: var(--fs-2xl); }
}
@media (min-width: 1024px) {
  .hl { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 80px; }
  .hl.rev .hl-text { order: 2; }
  .ed-grid.on { grid-template-columns: minmax(0, 1fr) 320px; align-items: start; }
  .ed-list { grid-template-columns: minmax(0, 1fr); max-height: 560px; overflow: auto; }
}
@media (min-width: 1024px) { .h-title { font-size: var(--fs-hero); } }
/* Erster Abschnitt nach dem Kopf rückt näher heran */
.h-hero + .wrap > .hl:first-child { padding-top: 64px; }
@media (min-width: 720px) { .h-hero + .wrap > .hl:first-child { padding-top: 88px; } }

/* Zwei-Faktor: Schlüssel und Wiederherstellungscodes zum Abtippen */
.tfa-secret { margin: 4px 0 8px; font-size: var(--fs-lg); letter-spacing: .08em; overflow-wrap: anywhere; color: var(--text); }
.tfa-codes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 20px 0; padding: 0; list-style: none; }
.tfa-codes li { padding: 8px 12px; background: var(--surface-1); border-radius: var(--corner); font-size: var(--fs-md); letter-spacing: .06em; }

/* Verbindungen (Obi 08.11.): Liste, Assistent mit Schritten, Auswahl Paddle / Sandbox */
.conn-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.conn-head .page { margin: 0; }
.tag.conn-on { background: var(--ok); }
.wizard { list-style: none; margin: 16px 0 24px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; counter-reset: none; }
.wizard li > a, .wizard li > span { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 4px; border: 1px solid var(--border-strong); border-radius: var(--corner); color: var(--text-2); font-size: var(--fs-sm); text-decoration: none; }
.wizard .num { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: var(--corner); background: var(--surface-3); color: var(--text); font-size: var(--fs-xs); font-weight: 700; }
.wizard li.done .num { background: var(--ok); color: var(--on-accent); }
.wizard li.current > a, .wizard li.current > span { border-color: var(--accent); color: var(--text); }
.wizard li.current .num { background: var(--accent); color: var(--on-accent); }
.wizard a:hover, .wizard a:focus-visible { border-color: var(--accent); color: var(--text); }
.conn-pick { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; }
.conn-pick legend { padding: 0; margin-bottom: 8px; font-size: var(--fs-sm); color: var(--text-2); }
.conn-pick .conn-option { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border: 1px solid var(--border-strong); border-radius: var(--corner); background: var(--surface-1); cursor: pointer; }
.conn-pick .conn-option:has(input:checked) { border-color: var(--accent); }
.conn-pick .conn-option input { margin-top: 4px; accent-color: var(--accent); }
.conn-pick .conn-option span { display: grid; gap: 4px; }
.conn-pick .conn-option small { color: var(--text-2); font-size: var(--fs-sm); }
.conn-howto { margin: 8px 0 16px; padding-left: 20px; display: grid; gap: 6px; }
.conn-code { display: inline-block; padding: 2px 6px; background: var(--surface-2); border-radius: var(--corner); overflow-wrap: anywhere; user-select: all; }
.conn-actions form { margin: 0; }

/* Nachrichten im Konto: Unterhaltung mit dem Team */
.msg-actions { margin: 20px 0 16px; }
.msg-actions .notice { margin-top: 0; }
.msg-row .tag { margin-left: 6px; }
.thread { display: grid; gap: 12px; margin-top: 24px; }
.msg { padding: 14px 16px; background: var(--surface-1); border: 1px solid var(--border-strong); border-radius: var(--corner); min-width: 0; }
.msg.team { border-left: 3px solid var(--accent); }
.msg.me { background: var(--surface-2); }
.msg-head { margin-bottom: 6px; color: var(--text-2); font-size: var(--fs-sm); }
.msg-head strong { color: var(--text); }
.msg .shots { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.msg .shot { display: block; max-height: 200px; max-width: 100%; width: auto; border: 1px solid var(--border-strong); }
.msg-reply { padding-top: 20px; border-top: 1px solid var(--border); }
.message.from-user { background: var(--surface-2); }
@media (min-width: 720px) {
  .msg-row { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px; }
  .msg.team { margin-right: 48px; }
  .msg.me { margin-left: 48px; }
}
.ava-dot { position: absolute; top: 4px; right: 2px; width: 10px; height: 10px; border: 2px solid var(--bg); border-radius: 1px; background: var(--accent); }

/* Verwaltung im Aufbau „Dashboard“ (08.11.): Seitenleiste mit Gruppen, Kopf mit Gruß und offenen Fällen, Karten mit Kennzahlen.
   Gerade Formen (--corner 0), Diagramme als SVG oder CSS aus Blade-Bausteinen in components/admin, ohne Bibliothek.
   Handy: Leiste oben mit Menü-Knopf, ab 1100 px fest links. */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.adm { --corner: 0px; --chart: #ff8800; --chart-fill: rgba(255, 136, 0, .2); --c1: #ff8800; --c2: #ffc480; --c3: #b35c00; --c4: #7d8796; --c5: #3a4556; }
:root[data-theme="light"] .adm { --chart: #d96f00; --chart-fill: rgba(217, 111, 0, .16); --c1: #d96f00; --c2: #f6b56a; --c3: #7a3d00; --c4: #8b95a3; --c5: #c9d0da; }
@media (prefers-color-scheme: light) {
  :root[data-theme="auto"] .adm { --chart: #d96f00; --chart-fill: rgba(217, 111, 0, .16); --c1: #d96f00; --c2: #f6b56a; --c3: #7a3d00; --c4: #8b95a3; --c5: #c9d0da; }
}
.adm-shell { min-height: 100vh; }
.adm-sb { position: sticky; top: 0; z-index: 20; background: var(--surface-1); border-bottom: 1px solid var(--border-strong); }
.adm-sb-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; padding: 0 16px; }
.adm-brand { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: var(--text); text-decoration: none; }
.adm-brand span { display: grid; line-height: 1.15; }
.adm-brand strong { font-size: var(--fs-md); text-transform: uppercase; letter-spacing: .06em; }
.adm-brand small { color: var(--text-2); font-size: var(--fs-xs); letter-spacing: .04em; }
.adm-menu-btn { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--border-strong); background: none; color: var(--text); cursor: pointer; }
.adm-menu-btn .i { width: 22px; height: 22px; }
.adm-menu-btn .i + .i, .adm-sb.open .adm-menu-btn .i:first-child { display: none; }
.adm-sb.open .adm-menu-btn .i + .i { display: block; }
.no-js .adm-menu-btn { display: none; }
.adm-sb-body { display: flex; flex-direction: column; padding: 4px 16px 16px; }
html:not(.no-js) .adm-sb:not(.open) .adm-sb-body { display: none; }
.adm-sb.open .adm-sb-body { max-height: calc(100vh - 61px); overflow-y: auto; }
.adm-search { position: relative; margin: 4px 0; }
.adm-search .i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--text-2); pointer-events: none; }
.adm-search input { width: 100%; min-height: 42px; padding: 0 12px 0 40px; background: var(--bg); color: var(--text); border: 1px solid var(--border-strong); font: 400 var(--fs-sm) "Play", sans-serif; }
.adm-search input::placeholder { color: var(--text-2); }
.adm-sec { margin: 18px 0 6px 12px; color: var(--text-2); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.adm-nav ul { display: grid; gap: 2px; }
.adm-link { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 12px; color: var(--text-2); text-decoration: none; }
.adm-link:hover { background: var(--surface-2); color: var(--text); }
.adm-link span:first-of-type { flex: 1; min-width: 0; }
.adm-link .count { margin-left: auto; }
.adm-link[aria-current="page"] { background: var(--accent); color: var(--on-accent); font-weight: 700; --rc-a: var(--on-accent); --rc-b: var(--on-accent); }
.adm-link[aria-current="page"] .count { background: var(--on-accent); color: var(--accent); }
.adm .adm-link.rc[aria-current="page"]:not(:focus-visible)::before, .adm .adm-link.rc[aria-current="page"]:not(:focus-visible)::after { opacity: 0; }
.adm-box { display: grid; gap: 4px; margin-top: 18px; padding: 14px; background: linear-gradient(135deg, var(--acc-soft), transparent 75%), var(--surface-2); border: 1px solid var(--border-strong); color: var(--text); text-decoration: none; }
.adm-box strong { display: flex; align-items: center; gap: 8px; font-size: var(--fs-sm); }
.adm-box strong .i { color: var(--accent-text); }
.adm-box span { color: var(--text-2); font-size: var(--fs-xs); }
.adm-box.warn { background: var(--surface-2); border-left: 3px solid var(--danger); }
.adm-prefs { display: flex; align-items: center; gap: 8px; margin-top: 12px; }
.adm-prefs .seg { flex: 1; }
.adm-prefs .seg button { flex: 1; justify-content: center; }
.adm-lang { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 10px; border: 1px solid var(--border-strong); color: var(--text-2); font-size: var(--fs-xs); font-weight: 700; text-decoration: none; }
.adm-lang:hover { color: var(--text); }
.adm-lang .i { width: 16px; height: 16px; }
.adm-me { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border); }
.adm-ava { display: grid; place-items: center; width: 40px; height: 40px; flex: none; background: var(--accent); color: var(--on-accent); font-weight: 700; }
.adm-me-text { display: grid; flex: 1; min-width: 0; line-height: 1.3; }
.adm-me-text strong, .adm-me-text small { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.adm-me-text strong { font-size: var(--fs-sm); }
.adm-me-text small { color: var(--text-2); font-size: var(--fs-xs); }
.adm-me form { margin: 0; }
.adm-out { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid var(--border-strong); background: none; color: var(--text-2); cursor: pointer; }
.adm-out:hover { color: var(--text); border-color: var(--accent); }
.adm-content { min-width: 0; }
.adm-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 16px 8px; }
.adm-hello { min-width: 0; }
.adm-greet { font-size: var(--fs-lg); font-weight: 700; line-height: 1.2; overflow-wrap: anywhere; }
.adm-sub { margin-top: 2px; color: var(--text-2); font-size: var(--fs-sm); }
.adm-bell { position: relative; display: grid; place-items: center; width: 46px; height: 46px; flex: none; background: var(--surface-1); border: 1px solid var(--border-strong); color: var(--text); }
.adm-bell .i { width: 20px; height: 20px; }
.adm-badge { position: absolute; top: -7px; right: -7px; display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 5px; background: var(--accent); color: var(--on-accent); font-size: var(--fs-xs); font-weight: 700; line-height: 1; }
.adm-main { width: 100%; max-width: 1520px; padding: 12px 16px 56px; }
@media (min-width: 1100px) {
  .adm-shell { display: grid; grid-template-columns: 268px minmax(0, 1fr); background: linear-gradient(90deg, var(--surface-1) 267px, var(--border-strong) 267px 268px, transparent 268px); }
  .adm-sb { height: 100vh; display: flex; flex-direction: column; overflow-y: auto; border-bottom: 0; border-right: 1px solid var(--border-strong); }
  .adm-sb-top { min-height: 76px; padding: 0 20px; }
  .adm-menu-btn { display: none; }
  html:not(.no-js) .adm-sb:not(.open) .adm-sb-body, .adm-sb-body { display: flex; flex: 1; padding: 0 16px 16px; }
  .adm-nav { flex: 1; }
  .adm-head { padding: 26px 32px 10px; }
  .adm-greet { font-size: var(--fs-xl); }
  .adm-main { padding: 14px 32px 64px; }
}

/* Seitentitel, Karten, Kennzahlen */
.adm h1.page, .adm .case-title { display: flex; align-items: center; gap: 10px; margin: 0; font-size: var(--fs-lg); line-height: 1.25; text-transform: uppercase; letter-spacing: .03em; }
.adm .case-title { flex-wrap: wrap; margin-bottom: 8px; text-transform: none; letter-spacing: 0; }
.adm h1.page::before, .adm .case-title::before { content: ""; width: 10px; height: 10px; flex: none; align-self: flex-start; margin-top: .35em; border-left: 2px solid var(--accent); border-top: 2px solid var(--accent); }
.page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 16px; margin-bottom: 16px; }
.page-sub { margin-top: 4px; color: var(--text-2); font-size: var(--fs-sm); }
.adm .kicker { margin-bottom: 6px; font-size: var(--fs-xs); }
.adm .kicker a { text-decoration: none; }
.adm .kicker a:hover { text-decoration: underline; }
.adm .notice { margin: 0 0 12px; background: var(--surface-1); border: 1px solid var(--border); border-left: 3px solid var(--accent); }
.adm .notice.warn { border-left-color: var(--danger); }
.adm .panel, .adm .rows, .adm .stat, .adm .table-wrap, .adm .design-group, .adm .conn-pick .conn-option { border-color: var(--border); }
.adm .panel { margin: 16px 0; padding: 18px; }
.adm .panel > h2.small, .adm .card-title { display: flex; align-items: center; gap: 8px; font-size: var(--fs-md); letter-spacing: .04em; text-transform: uppercase; }
.adm .panel > h2.small::before, .adm .card-title::before { content: ""; width: 8px; height: 8px; flex: none; border-left: 2px solid var(--accent); border-top: 2px solid var(--accent); }
.adm .row { padding: 14px 16px; }
.adm .admin-search input, .adm .admin-search select { background: var(--surface-1); }
.adm .adm-tabs a { background: var(--surface-1); border-color: var(--border); }
.adm .adm-tabs a[aria-current="page"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.adm .adm-tabs a[aria-current="page"] .tab-n { color: var(--on-accent); }
.adm .adm-tabs.small a { background: none; }
.adm .adm-tabs.small a[aria-current="page"] { background: var(--surface-3); border-color: var(--accent); color: var(--text); }
.adm .adm-h2 { display: flex; align-items: center; gap: 8px; margin: 28px 0 10px; font-size: var(--fs-md); text-transform: uppercase; letter-spacing: .04em; }
.adm .adm-h2::before { content: ""; width: 8px; height: 8px; flex: none; border-left: 2px solid var(--accent); border-top: 2px solid var(--accent); }
.adm .stat { padding: 16px; }
.adm .admin-table th { background: var(--surface-2); }
.adm .danger { padding: 12px 16px; border: 1px dashed var(--border-strong); }
.adm .empty { border-color: var(--border-strong); background: var(--surface-1); }

.kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.kpi { position: relative; display: flex; flex-direction: column; gap: 4px; min-width: 0; padding: 14px 14px 0; background: var(--surface-1); border: 1px solid var(--border); color: var(--text); text-decoration: none; overflow: hidden; }
a.kpi:hover { border-color: var(--border-strong); background: var(--surface-2); }
.kpi-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.kpi-label { color: var(--text-2); font-size: var(--fs-sm); line-height: 1.3; }
.kpi-ic { display: grid; place-items: center; width: 34px; height: 34px; flex: none; background: var(--acc-soft); color: var(--accent-text); }
.kpi > strong { font-size: var(--fs-xl); line-height: 1.1; overflow-wrap: anywhere; }
.kpi-trend { color: var(--text-2); font-size: var(--fs-xs); line-height: 1.4; }
.kpi-ch { font-weight: 700; white-space: nowrap; }
.kpi-ch.up { color: var(--ok); }
.kpi-ch.down { color: var(--danger); }
.kpi-note { display: block; }
.kpi:not(:has(.spark)) { padding-bottom: 14px; }
.spark { display: block; width: calc(100% + 28px); height: 46px; margin: auto -14px 0; padding-top: 8px; overflow: visible; }
.spark-area { fill: var(--chart-fill); }
.spark-line { fill: none; stroke: var(--chart); stroke-width: 2; stroke-linejoin: round; }
.spark-dot { fill: none; stroke: var(--chart); stroke-width: 7; stroke-linecap: square; }
@media (min-width: 760px) {
  .kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .kpi { padding: 18px 18px 0; }
  .kpi:not(:has(.spark)) { padding-bottom: 18px; }
  .spark { width: calc(100% + 36px); height: 54px; margin: auto -18px 0; }
}
@media (min-width: 1300px) { .kpis { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); } .kpis:has(> :nth-child(6)) { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1700px) { .kpis:has(> :nth-child(6)) { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

.dash { display: grid; gap: 12px; margin-top: 12px; }
.card { min-width: 0; padding: 16px; background: var(--surface-1); border: 1px solid var(--border); }
.card-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 8px 12px; margin-bottom: 14px; }
.card-sub { margin-top: 2px; color: var(--text-2); font-size: var(--fs-sm); }
.card-link { font-size: var(--fs-sm); text-decoration: none; white-space: nowrap; }
.card-link:hover { text-decoration: underline; }
.card .empty { margin: 0; }
@media (min-width: 760px) { .card { padding: 20px; } }
@media (min-width: 1000px) {
  .dash { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dash-wide { grid-column: span 2; }
  .dash-full { grid-column: 1 / -1; }
}
.seg-links { display: inline-flex; gap: 2px; padding: 2px; border: 1px solid var(--border-strong); }
.seg-links a { display: inline-flex; align-items: center; min-height: 34px; padding: 0 12px; color: var(--text-2); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; }
.seg-links a:hover { color: var(--text); }
.seg-links a[aria-current="page"] { background: var(--accent); color: var(--on-accent); }

/* Säulen */
.bc { padding-top: 30px; }
.bc-chart { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: 200px auto; column-gap: 10px; }
.bc-axis { display: flex; flex-direction: column; justify-content: space-between; margin: -7px 0; color: var(--text-2); font-size: var(--fs-xs); line-height: 14px; text-align: right; }
.bc-plot { position: relative; border-bottom: 1px solid var(--border-strong); background: linear-gradient(var(--border), var(--border)) top / 100% 1px no-repeat, linear-gradient(var(--border), var(--border)) center / 100% 1px no-repeat; }
.bc-bars, .bc-x { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: max(2px, calc(26px - var(--n) * .75px)); }
.bc-bars { position: absolute; inset: 0; }
.bc-col { position: relative; display: flex; align-items: flex-end; height: 100%; }
.bc-bar { display: block; width: 100%; height: var(--h); background: var(--chart); opacity: .42; }
.bc-col:hover .bc-bar, .bc-col.peak .bc-bar { opacity: 1; }
.bc-tip { position: absolute; bottom: calc(var(--h) + 8px); left: 50%; z-index: 1; transform: translateX(-50%); padding: 3px 8px; background: var(--text); color: var(--bg); font-size: var(--fs-xs); white-space: nowrap; pointer-events: none; }
.bc-tip.l { left: 0; transform: none; }
.bc-tip.r { left: auto; right: 0; transform: none; }
.bc-x { padding-top: 6px; }
.bc-x span { justify-self: center; color: var(--text-2); font-size: var(--fs-xs); white-space: nowrap; }
.bc-empty { position: absolute; inset: 0; display: grid; place-items: center; padding: 16px; color: var(--text-2); font-size: var(--fs-sm); text-align: center; }
@media (max-width: 599px) { .bc-x .minor { visibility: hidden; } }
@media (min-width: 1000px) { .bc-chart { grid-template-rows: 240px auto; } .dash-wide .bc-chart { grid-template-rows: 280px auto; } }

/* Ring */
.donut { display: grid; gap: 16px; }
.donut-ring { position: relative; width: 176px; margin: 0 auto; }
.donut-ring svg { display: block; width: 100%; height: auto; }
.donut-track, .donut-seg { fill: none; stroke-width: 5; }
.donut-track { stroke: var(--surface-2); }
.donut-ring figcaption { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; line-height: 1.15; }
.donut-ring figcaption strong { font-size: var(--fs-xl); }
.donut-ring figcaption span { color: var(--text-2); font-size: var(--fs-xs); }
.legend li { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto 44px; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--border); font-size: var(--fs-sm); }
.legend-key { width: 12px; height: 12px; }
.legend-name { overflow-wrap: anywhere; }
.legend-n { font-weight: 700; text-align: right; }
.legend-p { color: var(--text-2); text-align: right; }

/* Kurze Listen und Anteile */
.mini li + li { border-top: 1px solid var(--border); }
.mini-row { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 10px 6px; color: var(--text); text-decoration: none; }
a.mini-row:hover { background: var(--surface-2); }
.mini-ic, .mini-ava { display: grid; place-items: center; width: 36px; height: 36px; flex: none; background: var(--surface-2); color: var(--text-2); }
.mini-ic.kind-fehler { color: var(--danger); }
.mini-ic.kind-feedback { color: var(--ok); }
.mini-ic.kind-frage { color: var(--accent-text); }
.mini-ava { background: var(--acc-soft); color: var(--accent-text); font-weight: 700; }
.mini-main { display: grid; flex: 1; min-width: 0; line-height: 1.35; }
.mini-main strong, .mini-main small { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.mini-main strong { font-size: var(--fs-sm); }
.mini-main small, .mini-end small { color: var(--text-2); font-size: var(--fs-xs); }
.mini-end { display: grid; justify-items: end; gap: 2px; flex: none; }
.mini-row > .tag, .mini-end .tag { margin: 0; flex: none; }
.pos { color: var(--ok); }
.neg { color: var(--danger); }
.progs { display: grid; gap: 16px; }
.prog-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 8px; margin-bottom: 6px; font-size: var(--fs-sm); }
.prog-head a { color: var(--text); }
.prog-n { color: var(--text-2); font-size: var(--fs-xs); }
.prog-n strong { color: var(--text); }
.prog-bar { height: 8px; background: var(--surface-2); }
.prog-bar span { display: block; height: 100%; background: var(--chart); }

.insight { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 12px; padding: 16px; background: linear-gradient(110deg, var(--acc-soft), transparent 65%), var(--surface-1); border: 1px solid var(--border); border-left: 3px solid var(--accent); }
.insight p { flex: 1 1 240px; min-width: 0; }
.insight p strong { display: block; font-size: var(--fs-md); }
.insight p span { color: var(--text-2); font-size: var(--fs-sm); }
.insight-ic { display: grid; place-items: center; width: 44px; height: 44px; flex: none; background: var(--accent); color: var(--on-accent); }

.tfa-card .form { margin-top: 0; }
.tfa-card .admin-row label { flex: 1 1 260px; }
.tfa-card .admin-row .btn { margin-top: 0; }

/* Verwaltung: Unterseiten im selben Aufbau (Fall als Unterhaltung, Nutzer mit Kopfkarte, Assistent als Schrittleiste) */
.adm .case { margin-top: 12px; }
.adm .message { margin: 0 0 12px; padding: 16px 18px; }
.adm .message.reply { border-left: 3px solid var(--accent); }
.adm .message.from-user { background: var(--surface-1); border-left: 3px solid var(--border-strong); }
.adm .message.internal { background: transparent; border: 1px dashed var(--border-strong); }
.adm .message .meta-inline { font-size: var(--fs-xs); letter-spacing: .02em; }
.adm .reply-form { margin-top: 20px; border-color: var(--border); border-top: 3px solid var(--accent); }
@media (min-width: 720px) {
  .adm .message.from-user { margin-right: 56px; }
  .adm .message.reply, .adm .message.internal { margin-left: 56px; }
}
.adm .case-side .panel:first-child { margin-top: 0; }

.profile { display: grid; gap: 16px; margin-bottom: 16px; }
.profile-id { display: flex; align-items: center; gap: 16px; min-width: 0; }
.profile-ava { display: grid; place-items: center; width: 56px; height: 56px; flex: none; background: var(--acc-soft); color: var(--accent-text); font-size: var(--fs-lg); font-weight: 700; }
.profile-main { min-width: 0; }
.profile-main .case-title { margin: 0; }
.profile-main .meta { margin: 2px 0 6px; }
.profile .admin-facts { margin: 0; padding-top: 14px; border-top: 1px solid var(--border); }
.profile form { margin: 0; }
.user-grid { display: grid; gap: 16px; align-items: start; }
.user-grid > .panel { margin: 0; }
.user-grid > .danger { margin: 0; }
@media (min-width: 1000px) {
  .profile { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
  .profile .admin-facts { padding: 0 0 0 20px; border-top: 0; border-left: 1px solid var(--border); }
  .profile > form { grid-column: 1 / -1; }
}
@media (min-width: 1200px) { .user-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .user-grid > .danger { grid-column: 1 / -1; } }

.adm .wizard { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 4px; margin: 16px 0 20px; }
.adm .wizard li { min-width: 0; }
.adm .wizard li > a, .adm .wizard li > span { display: flex; flex-wrap: wrap; align-items: center; width: 100%; gap: 4px 8px; padding: 10px 0 0; border: 0; border-top: 3px solid var(--border-strong); background: none; font-size: var(--fs-xs); }
.adm .wizard li.done > a, .adm .wizard li.done > span { border-top-color: var(--ok); }
.adm .wizard li.current > a, .adm .wizard li.current > span { border-top-color: var(--accent); color: var(--text); font-weight: 700; }
.adm .wizard a:hover { color: var(--text); border-top-color: var(--accent); }
.adm .wizard .num { flex: none; }
@media (min-width: 760px) { .adm .wizard { grid-template-columns: repeat(6, minmax(0, 1fr)); } .adm .wizard li > a, .adm .wizard li > span { font-size: var(--fs-sm); } }
.step-card, .facts-card { margin-top: 4px; }
.step-card > .adm-h2:first-child, .step-card > h2:first-child { margin-top: 0; }
.step-card > .form:first-child, .facts-card .admin-facts { margin-top: 0; }
.facts-card .admin-facts { margin-bottom: 0; }
.adm .conn-howto { counter-reset: howto; margin: 12px 0 16px; padding: 0; gap: 10px; }
.adm .conn-howto > li { position: relative; padding-left: 34px; counter-increment: howto; }
.adm .conn-howto > li::before { content: counter(howto); position: absolute; left: 0; top: 1px; display: grid; place-items: center; width: 22px; height: 22px; background: var(--acc-soft); color: var(--accent-text); font-size: var(--fs-xs); font-weight: 700; }
.adm .conn-actions { margin: 16px 0; }
.adm .conn-head { margin-bottom: 4px; }
.adm details.panel > summary { cursor: pointer; color: var(--text-2); font-size: var(--fs-sm); }

.stats-lists { display: grid; gap: 0 16px; align-items: start; }
@media (min-width: 1000px) { .stats-lists { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); } }
.adm .day-bar { background: var(--surface-2); }
.adm .day-bar > span { background: var(--chart); }
.adm .stats { gap: 12px; }
.adm .stat strong { font-size: var(--fs-xl); }
.adm .design-row .swatch { width: 36px; height: 36px; }
.adm .design-row { grid-template-columns: 36px minmax(0, 1fr); }
.adm .pager { justify-content: space-between; }
.adm .form > .btn, .adm .form > div > .btn { justify-self: start; }
.adm .panel + p > .btn { margin-bottom: 16px; }
@media (min-width: 900px) { .adm .design-row { grid-template-columns: 36px minmax(0, 1fr) auto; } .adm .design-row .row-end { grid-column: auto; } }

/* Hinweis auf die Sprache des Browsers: nur beim ersten Besuch der deutschen Startseite, keine Weiterleitung (SEO 09.11.) */
.lang-hint { background: var(--surface-2); border-bottom: 1px solid var(--border); border-top: 2px solid var(--accent); }
.lang-hint-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; max-width: 1680px; margin: 0 auto; padding: 8px 16px; font-size: var(--fs-sm); }
.lang-hint-row p { flex: 1 1 180px; min-width: 0; }
.lang-hint-row .btn { order: 2; }
.lang-hint-close { order: 1; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: var(--corner); background: none; color: var(--text-2); cursor: pointer; }
.lang-hint-close:hover { color: var(--text); background: var(--surface-3); }
.lang-hint-close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
@media (min-width: 1100px) { .lang-hint-row { padding: 8px 32px; } }
@media (min-width: 720px) { .lang-hint-row p { flex: 0 1 auto; } .lang-hint-row .btn { order: 0; } .lang-hint-close { order: 0; margin-left: auto; } }
/* ===== Overlay-Videos (partials/overlay-image.blade.php, tools/webseite-videos.mjs) =====
   WebM mit Durchsichtigkeit statt großer WebP. Gleiche Plätze wie die Bilder: Höhe aus width/height, Inhalt nie verzerrt,
   kein eigener Hintergrund, damit das Cockpit-Bild darunter wie beim WebP durchscheint. */
.ov-video { display: block; max-width: 100%; height: auto; object-fit: contain; background: transparent; }
.stage .ov-video { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); max-width: calc(100% - 32px); max-height: calc(100% - 32px); }
.placed .ov-video { width: 100%; height: auto; }

/* Spiel- und Themenseiten (SEO 09.11.): Kopf mit Bild, Abschnitte wie auf der Startseite, Schritte nummeriert */
.game-top { padding-bottom: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; color: var(--text-2); font-size: var(--fs-sm); }
.crumbs a { color: var(--text-2); }
.crumbs a:hover { color: var(--text); }
.game-head { display: grid; gap: 32px; align-items: center; }
.game-head .lead { max-width: 60ch; }
.game-shot { border-radius: var(--corner); }
.game-top .meta { margin-top: 8px; }
.hl.solo { grid-template-columns: minmax(0, 760px); }
.hl.solo .hl-text { max-width: 760px; }
.game-body .hl { padding-top: 72px; }
.game-p { margin-top: 16px; color: var(--text-2); max-width: 640px; }
.game-links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 20px; font-weight: 700; }
.game-links a { text-decoration: none; }
.game-links a:hover { text-decoration: underline; }
.steps { counter-reset: step; display: grid; gap: 14px; margin-top: 24px; }
.steps > li { position: relative; display: grid; gap: 2px; padding-left: 40px; counter-increment: step; }
.steps > li::before { content: counter(step); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 26px; height: 26px; background: var(--acc-soft); color: var(--accent-text); font-size: var(--fs-sm); font-weight: 700; }
.steps strong { font-size: var(--fs-md); }
.steps span { color: var(--text-2); }
.game-more { margin-top: 96px; }
.game-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.game-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; background: var(--surface-2); border-radius: var(--corner); color: var(--text); font-size: var(--fs-sm); font-weight: 700; text-decoration: none; }
.game-nav a:hover { background: var(--surface-3); }
/* Spiele auf der Startseite: Logos im Kopf verlinken, darunter eine Reihe mit den Spielseiten */
.h-games li.logo a { display: block; }
.games-row .feature a { font-weight: 700; text-decoration: none; }
.games-row .feature a:hover { text-decoration: underline; }
.games-row .feature p { margin-bottom: 10px; }
@media (min-width: 1024px) {
  .game-head { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; }
  .game-body .hl { padding-top: 96px; }
}
