/* OVERRA – Design-System. Schriften liegen lokal in /fonts (keine Anfragen an Dritte). */
@font-face { font-family: "Chakra Petch"; font-weight: 500; font-display: swap; src: url("/fonts/chakra-petch-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Chakra Petch"; font-weight: 600; font-display: swap; src: url("/fonts/chakra-petch-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Chakra Petch"; font-weight: 700; font-display: swap; src: url("/fonts/chakra-petch-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 400; font-display: swap; src: url("/fonts/manrope-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 500; font-display: swap; src: url("/fonts/manrope-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 600; font-display: swap; src: url("/fonts/manrope-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 700; font-display: swap; src: url("/fonts/manrope-latin-700-normal.woff2") format("woff2"); }

:root {
  /* Farben wie in der OVERRA-App: dunkles Navy, Cyan als Akzent, Rot für „Live“ */
  --bg: #040812;
  --surface: #0a1430;
  --surface-2: #0d1a3b;
  --line: #1a2a55;
  --line-strong: #2a3d73;
  --text: #eaf7ff;
  --muted: #94a6c8;
  --accent: #00e5ff;
  --accent-soft: #7df0ff;
  --accent-rgb: 0, 229, 255;
  --on-accent: #03121c;
  --gold: #e0b04a;
  --live: #ff4d5e;
  --ok: #3ddc97;
  --warn: #ffb547;
  --glow: 0 0 0 1px rgba(var(--accent-rgb), .4), 0 10px 40px -12px rgba(var(--accent-rgb), .55);
  --display: "Chakra Petch", "Segoe UI", sans-serif;
  --body: "Manrope", "Segoe UI", system-ui, sans-serif;
  --r-s: 6px;
  --r-m: 10px;
  --r-l: 14px;
  color-scheme: dark;
}
/* OVERRA Social hat Violett als eigene Akzentfarbe */
.theme-social, .section-social, .card-social {
  --accent: #b18cff;
  --accent-soft: #d0bbff;
  --accent-rgb: 177, 140, 255;
  --on-accent: #12082b;
  --glow: 0 0 0 1px rgba(var(--accent-rgb), .4), 0 10px 40px -12px rgba(var(--accent-rgb), .55);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  /* feines Raster wie im Hintergrund der App */
  background-color: var(--bg);
  background-image: linear-gradient(rgba(0, 229, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 229, 255, .035) 1px, transparent 1px);
  background-size: 60px 60px;
  color: var(--text);
  font: 400 16px/1.6 var(--body);
}
main { flex: 1; }
img, video { max-width: 100%; display: block; }
a { color: var(--accent-soft); text-decoration: none; }
a:hover { color: #fff; }
.accent-text { color: var(--accent); }
.kicker { display: block; font: 600 .78rem/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: .7rem; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 5.4vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.lead { font-size: 1.125rem; color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
:focus-visible { outline: 2px solid var(--accent-soft); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }

.container { width: min(1160px, 100% - 2.5rem); margin-inline: auto; }
.narrow { width: min(760px, 100% - 2.5rem); margin-inline: auto; }
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section-alt { background: linear-gradient(180deg, transparent, rgba(var(--accent-rgb), .045) 30%, rgba(var(--accent-rgb), .045) 70%, transparent); }
.section-head { margin-bottom: 2.5rem; }
.section-head h2::after { content: ""; display: block; width: 56px; height: 3px; margin-top: .6rem; background: var(--accent); }
.page-head { padding: clamp(2.5rem, 6vw, 4.5rem) 0 1.5rem; }
.stack > * + * { margin-top: 1rem; }
.row { display: flex; gap: .75rem; flex-wrap: wrap; align-items: center; }
.between { justify-content: space-between; }
.grid { display: grid; gap: 1.25rem; }
.cols-2 { grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); }
.cols-3 { grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }
.cols-4 { grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr)); }
.cols-wide { grid-template-columns: repeat(auto-fit, minmax(min(460px, 100%), 1fr)); }
.split { display: grid; gap: clamp(2rem, 5vw, 4rem); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 920px) { .split { grid-template-columns: 1fr 1.1fr; } .split.flip > :first-child { order: 2; } }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: .6rem; color: var(--text); font: 700 1.35rem/1 var(--display); letter-spacing: .16em; }
.logo svg { width: 1.5em; height: 1.5em; flex: none; }
.logo-xl { font-size: clamp(2rem, 6vw, 3.25rem); }
.live-dot { animation: pulse 2.2s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes pulse { 50% { opacity: .45; transform: scale(.8); } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 46px; padding: .7rem 1.35rem; border-radius: var(--r-s); border: 1px solid var(--line-strong);
  background: var(--surface-2); color: var(--text); font: 600 .95rem/1.1 var(--display); letter-spacing: .03em; cursor: pointer;
  transition: transform .15s, box-shadow .2s, border-color .2s, background .2s;
}
.btn:hover { color: #fff; border-color: var(--accent); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary, .btn-primary:hover { background: var(--accent); border-color: transparent; color: var(--on-accent); box-shadow: var(--glow); }
.btn-primary:hover { box-shadow: 0 0 0 1px rgba(var(--accent-rgb), .7), 0 14px 46px -8px rgba(var(--accent-rgb), .8); }
.btn-danger { border-color: rgba(255, 77, 94, .5); color: #ff95a0; background: rgba(255, 77, 94, .08); }
.btn-danger:hover { border-color: var(--live); }
.btn-small { min-height: 36px; padding: .4rem .9rem; font-size: .85rem; }
.btn[disabled], .btn.loading { opacity: .6; pointer-events: none; }
.btn.loading::before { content: ""; width: 1em; height: 1em; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.link-btn { background: none; border: 0; padding: 0; color: var(--accent-soft); font: inherit; cursor: pointer; }
.link-btn:hover { color: #fff; }

/* ---------- Kopfzeile ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(4, 8, 18, .82); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.nav { display: flex; align-items: center; gap: .25rem; }
.nav a { color: var(--muted); font-weight: 500; font-size: .95rem; padding: .55rem .8rem; border-radius: var(--r-s); white-space: nowrap; }
.nav a:hover { color: #fff; }
.nav a[aria-current="page"] { color: #fff; background: var(--surface-2); box-shadow: inset 0 -2px 0 var(--accent); }
.nav .btn, .nav .btn:hover { color: var(--on-accent); }
.nav .btn { margin-left: .5rem; padding: .55rem 1.1rem; min-height: 40px; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--text); cursor: pointer; }
.nav-toggle span { display: block; width: 20px; height: 2px; margin: 4px auto; background: currentColor; border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 1040px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; height: calc(100dvh - 69px); flex-direction: column; align-items: stretch; gap: .25rem; padding: 1.25rem; background: var(--bg); overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .25s ease, visibility .25s; }
  .nav.open { transform: none; visibility: visible; }
  .nav a { font-size: 1.15rem; padding: .9rem 1rem; border-radius: var(--r-m); }
  .nav .btn { margin: .75rem 0 0; min-height: 52px; }
}

/* ---------- Fußzeile ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 3rem 0 2rem; margin-top: 4rem; color: var(--muted); font-size: .92rem; }
.site-footer .cols { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.site-footer h4 { font-size: .95rem; color: var(--text); margin-bottom: .8rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: #fff; }
.site-footer .logo { color: var(--text); }
.site-footer .legal { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }

/* ---------- Karten ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: 1.5rem; }
.card h3 { margin-bottom: .4rem; }
.card p:last-child { margin-bottom: 0; }
.card-link { display: block; color: inherit; transition: border-color .2s, transform .2s; }
.card-link:hover { border-color: var(--accent); transform: translateY(-2px); color: inherit; box-shadow: var(--glow); }
.feature { border-left: 2px solid var(--accent); padding: .2rem 0 .2rem 1.1rem; }
.feature h3 { font-size: 1.05rem; margin-bottom: .25rem; }
.feature p { color: var(--muted); margin: 0; }
.stat { font: 700 2rem/1 var(--display); }
.stat + .muted { display: block; margin-top: .35rem; }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 2.6rem 1fr; gap: 1rem; align-items: start; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: var(--r-s); background: rgba(var(--accent-rgb), .08); border: 1px solid var(--accent); color: var(--accent-soft); font: 600 1.05rem var(--display); }
.steps h3 { font-size: 1.05rem; margin: .45rem 0 .2rem; }
.steps p { margin: 0; color: var(--muted); }
.empty { text-align: center; padding: 2.5rem 1.5rem; border: 1px dashed var(--line-strong); border-radius: var(--r-l); color: var(--muted); }
.empty h3 { color: var(--text); }
.skeleton { min-height: 120px; border-radius: var(--r-l); background: linear-gradient(90deg, var(--surface) 25%, var(--surface-2) 50%, var(--surface) 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- Hero mit Stream-Vorschau ---------- */
.hero { position: relative; padding: clamp(2.5rem, 7vw, 5.5rem) 0 clamp(3rem, 7vw, 5rem); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; background: radial-gradient(closest-side, rgba(var(--accent-rgb), .16), rgba(var(--accent-rgb), .05) 55%, transparent); pointer-events: none; }
.hero .container { position: relative; }
.hero .slogan { font: 500 .95rem var(--display); color: var(--muted); letter-spacing: .26em; text-transform: uppercase; margin: .9rem 0 2rem; }
.hero h1 { margin-bottom: 1.1rem; }
.hero .row { margin-top: 1.75rem; }

.stream { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-l); overflow: hidden; border: 1px solid var(--line-strong); box-shadow: 0 30px 90px -30px rgba(var(--accent-rgb), .6);
  background:
    radial-gradient(60% 80% at 75% 20%, rgba(var(--accent-rgb), .2), transparent 70%),
    radial-gradient(50% 70% at 15% 90%, rgba(30, 70, 160, .45), transparent 70%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 4px),
    #08101f;
  font-size: clamp(9px, 1.25vw, 14px); }
.stream > * { position: absolute; }
.stream .w { background: rgba(4, 8, 18, .82); border: 1px solid rgba(var(--accent-rgb), .35); border-radius: .5em; backdrop-filter: blur(6px); padding: .7em .9em; line-height: 1.35; }
.stream .w-live { top: 5%; left: 4%; display: flex; align-items: center; gap: .5em; font: 600 1em var(--display); letter-spacing: .1em; }
.stream .w-live i { width: .7em; height: .7em; border-radius: 50%; background: var(--live); box-shadow: 0 0 .8em var(--live); animation: pulse 2.2s ease-in-out infinite; }
.stream .w-viewers { top: 5%; right: 4%; font-weight: 600; }
.stream .w-viewers b { font-family: var(--display); color: var(--accent-soft); }
.stream .w-music { bottom: 6%; left: 4%; display: flex; gap: .8em; align-items: center; min-width: 34%; }
.stream .w-music .cover { width: 2.8em; height: 2.8em; border-radius: .5em; background: var(--accent); flex: none; display: grid; place-items: center; }
.stream .w-music .cover::after { content: ""; border-left: .8em solid var(--on-accent); border-block: .5em solid transparent; margin-left: .2em; }
.stream .w-music small { display: block; color: var(--muted); font-size: .8em; }
.stream .w-music .bar { height: .22em; background: rgba(255, 255, 255, .15); border-radius: 1em; margin-top: .45em; overflow: hidden; }
.stream .w-music .bar::after { content: ""; display: block; height: 100%; width: 45%; background: var(--accent); }
.stream .w-event { top: 5%; left: 22%; display: flex; gap: .8em; align-items: baseline; border-left: .3em solid var(--accent); }
.stream .w-event span { font: 600 .78em var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.stream .w-rank { right: 4%; bottom: 6%; min-width: 24%; border-color: rgba(224, 176, 74, .6); }
.stream .w-rank span, .stream .w-rank small { display: block; color: var(--muted); font-size: .8em; }
.stream .w-rank strong { display: block; font: 700 1.5em var(--display); color: var(--gold); }
.stream .w-cam { left: 4%; bottom: 27%; width: 22%; aspect-ratio: 16 / 9; display: grid; place-items: center; color: var(--muted); font: 600 .8em var(--display); letter-spacing: .14em; text-transform: uppercase; border-color: var(--accent); }
.stream .w-alert { top: 30%; left: 62%; transform: translateX(-50%); text-align: center; padding: .8em 1.6em; border-color: var(--gold); box-shadow: 0 0 2.5em -.5em rgba(224, 176, 74, .6); animation: alert-in .9s cubic-bezier(.2, 1.3, .4, 1) .7s both; white-space: nowrap; }
.stream .w-alert strong { display: block; font: 700 1.9em var(--display); letter-spacing: .08em; color: #ffe9b8; text-shadow: 0 0 .6em rgba(224, 176, 74, .8); }
.stream .w-alert span { color: var(--muted); font-size: .8em; }
@keyframes alert-in { from { opacity: 0; transform: translate(-50%, -1.5em) scale(.85); } }
.stream .corner { width: 2.4em; height: 2.4em; border: 2px solid rgba(var(--accent-rgb), .5); }
.stream .corner.tl { top: 2%; left: 1.5%; border-right: 0; border-bottom: 0; border-radius: .6em 0 0 0; }
.stream .corner.br { bottom: 2%; right: 1.5%; border-left: 0; border-top: 0; border-radius: 0 0 .6em 0; }
.caption { margin-top: .8rem; font-size: .85rem; color: var(--muted); }

/* ---------- Formulare ---------- */
.field { display: grid; gap: .4rem; margin-bottom: 1.1rem; }
.field label, .label { font-weight: 600; font-size: .92rem; }
.field .hint { font-size: .83rem; color: var(--muted); }
input[type="text"], input[type="email"], input[type="password"], input[type="url"], input[type="search"], input[type="number"], select, textarea {
  width: 100%; min-height: 46px; padding: .7rem .9rem; border-radius: var(--r-s); border: 1px solid var(--line-strong);
  background: #060d22; color: var(--text); font: inherit; transition: border-color .15s, box-shadow .15s;
}
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .25); }
input[aria-invalid="true"], textarea[aria-invalid="true"], select[aria-invalid="true"] { border-color: var(--live); }
input[type="file"] { width: 100%; padding: .6rem; border: 1px dashed var(--line-strong); border-radius: var(--r-s); background: #060d22; color: var(--muted); font: inherit; }
input[type="file"]::file-selector-button { margin-right: .8rem; padding: .45rem .9rem; border-radius: var(--r-s); border: 1px solid var(--line-strong); background: var(--surface-2); color: var(--text); font: inherit; cursor: pointer; }
.check { display: flex; gap: .7rem; align-items: flex-start; margin-bottom: 1.1rem; font-size: .92rem; }
.check input { width: 20px; height: 20px; margin-top: .15rem; accent-color: var(--accent); flex: none; }
.msg { padding: .8rem 1rem; border-radius: var(--r-s); margin-bottom: 1.1rem; font-size: .93rem; border: 1px solid; }
.msg-error { border-color: rgba(255, 77, 94, .5); background: rgba(255, 77, 94, .1); color: #ffb3bb; }
.msg-ok { border-color: rgba(61, 220, 151, .45); background: rgba(61, 220, 151, .1); color: #a5f0cf; }
.msg-info { border-color: rgba(var(--accent-rgb), .4); background: rgba(var(--accent-rgb), .07); color: #cdeffa; }
.auth-box { width: min(460px, 100% - 2.5rem); margin: clamp(2rem, 6vw, 4.5rem) auto; }
.auth-box h1 { font-size: 2rem; }
.progress { height: 8px; border-radius: 99px; background: var(--surface-2); overflow: hidden; margin-bottom: 1rem; }
.progress i { display: block; height: 100%; width: 0; background: var(--accent); transition: width .2s; }
.copy { display: flex; gap: .5rem; }
.copy input { font-family: ui-monospace, Consolas, monospace; font-size: .9rem; }

/* ---------- Badges, Tabellen ---------- */
.badge { display: inline-flex; align-items: center; gap: .35rem; padding: .25rem .65rem; border-radius: var(--r-s); font: 600 .76rem/1.2 var(--display); letter-spacing: .06em; text-transform: uppercase; border: 1px solid var(--line-strong); color: var(--muted); white-space: nowrap; }
.badge.ok { color: var(--ok); border-color: rgba(61, 220, 151, .4); }
.badge.warn { color: var(--warn); border-color: rgba(255, 181, 71, .4); }
.badge.bad { color: #ff95a0; border-color: rgba(255, 77, 94, .45); }
.badge.accent { color: var(--accent); border-color: rgba(var(--accent-rgb), .6); background: rgba(var(--accent-rgb), .1); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-m); }
table { width: 100%; border-collapse: collapse; font-size: .92rem; }
th, td { text-align: left; padding: .75rem 1rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { color: var(--muted); font-weight: 600; font-size: .82rem; background: var(--surface); white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
td .row { gap: .4rem; }
.num { text-align: right; font-variant-numeric: tabular-nums; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .6rem; }
.faq details { border: 1px solid var(--line); border-radius: var(--r-m); background: var(--surface); }
.faq summary { cursor: pointer; padding: 1rem 1.2rem; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 500 1.3rem/1 var(--display); color: var(--accent-soft); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 1.2rem 1.1rem; margin: 0; color: var(--muted); white-space: pre-line; }

/* ---------- Clips ---------- */
.clip-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(310px, 100%), 1fr)); }
.clip-card { display: block; color: inherit; border-radius: var(--r-m); min-width: 0; }
.clip-card:hover { color: inherit; }
.clip-thumb { display: block; width: 100%; padding: 0; cursor: pointer; position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-m); overflow: hidden; background: var(--surface-2); border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s; }
.clip-thumb:hover, .clip-thumb:focus-visible { border-color: var(--accent); box-shadow: var(--glow); }
.clip-thumb img, .clip-thumb video { width: 100%; height: 100%; object-fit: cover; }
.clip-thumb .play { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; background: rgba(4, 8, 18, .35); transition: opacity .2s; }
.clip-thumb:hover .play, .clip-thumb:focus-visible .play { opacity: 1; }
.play i { width: 54px; height: 54px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; }
.play i::after { content: ""; border-left: 15px solid var(--on-accent); border-block: 9px solid transparent; margin-left: 4px; }
.clip-thumb .tag-corner { position: absolute; left: .5rem; top: .5rem; background: rgba(4, 8, 18, .8); }
.clip-meta { display: flex; gap: .7rem; padding: .75rem .1rem 0; }
.clip-meta h3 { font: 600 .98rem/1.3 var(--body); margin: 0 0 .15rem; letter-spacing: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.clip-meta p { margin: 0; font-size: .84rem; color: var(--muted); }
.avatar { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; flex: none; background: var(--accent); display: grid; place-items: center; font: 700 .95rem var(--display); color: var(--on-accent); }
.avatar-l { width: 96px; height: 96px; font-size: 2.2rem; }
.chips { display: flex; gap: .5rem; flex-wrap: wrap; }
.chip { padding: .4rem .9rem; border-radius: var(--r-s); border: 1px solid var(--line-strong); background: transparent; color: var(--muted); font: 500 .88rem var(--body); cursor: pointer; }
.chip:hover { color: #fff; border-color: var(--accent); }
.chip[aria-pressed="true"] { background: var(--surface-2); color: #fff; border-color: var(--accent); }
.toolbar { display: grid; gap: .75rem; grid-template-columns: 1fr; margin-bottom: 1.25rem; }
@media (min-width: 720px) { .toolbar { grid-template-columns: 1fr auto auto; } }
.player { width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: var(--r-m); border: 1px solid var(--line); }

/* ---------- Dashboard ---------- */
.dash { display: grid; gap: 2rem; grid-template-columns: minmax(0, 1fr); padding: 2rem 0; }
.dash > * { min-width: 0; }
td select { min-width: 170px; }
.tabs { display: flex; gap: .35rem; overflow-x: auto; padding-bottom: .4rem; scrollbar-width: thin; }
.tabs button { flex: none; padding: .65rem 1rem; border-radius: var(--r-s); border: 1px solid transparent; background: none; color: var(--muted); font: 600 .93rem var(--body); cursor: pointer; text-align: left; white-space: nowrap; }
.tabs button:hover { color: #fff; }
.tabs button[aria-selected="true"] { background: var(--surface-2); color: #fff; border-color: var(--line-strong); }
.tabs .count { margin-left: .4rem; padding: .05rem .45rem; border-radius: 99px; background: var(--live); color: #fff; font-size: .72rem; }
@media (min-width: 960px) {
  .dash { grid-template-columns: 230px minmax(0, 1fr); }
  .tabs { flex-direction: column; overflow: visible; position: sticky; top: 90px; align-self: start; }
  .tabs button { border-radius: var(--r-s); }
}
.panel > h2 { font-size: 1.6rem; }
.panel > * + :is(.card, .table-wrap, .grid, .empty, .stack) { margin-top: 1.25rem; }
.thread { display: grid; gap: .75rem; margin: 1rem 0; }
.bubble { padding: .9rem 1.1rem; border-radius: var(--r-m); background: var(--surface-2); border: 1px solid var(--line); max-width: 92%; }
.bubble.staff { border-color: rgba(var(--accent-rgb), .5); margin-left: auto; }
.bubble p { margin: .3rem 0 0; white-space: pre-line; overflow-wrap: anywhere; }
.bars { display: flex; align-items: flex-end; gap: 3px; height: 140px; }
.bars div { flex: 1; min-width: 4px; background: var(--accent); border-radius: 3px 3px 0 0; opacity: .85; }
.bars div:hover { opacity: 1; }

/* ---------- Dialog, Toast ---------- */
dialog { width: min(560px, 100% - 2rem); border: 1px solid var(--line-strong); border-radius: var(--r-l); background: var(--surface); color: var(--text); padding: 1.5rem; max-height: 90vh; overflow-y: auto; }
dialog::backdrop { background: rgba(2, 5, 12, .8); backdrop-filter: blur(3px); }
dialog h2 { font-size: 1.4rem; }
dialog.dialog-wide { width: min(900px, 100% - 2rem); }
.toasts { position: fixed; right: 1rem; bottom: 1rem; z-index: 100; display: grid; gap: .5rem; width: min(360px, 100% - 2rem); }
.toast { padding: .85rem 1.1rem; border-radius: var(--r-m); background: var(--surface-2); border: 1px solid var(--line-strong); box-shadow: 0 10px 30px rgba(0, 0, 0, .5); animation: toast-in .25s ease; }
.toast.ok { border-color: rgba(61, 220, 151, .5); }
.toast.error { border-color: rgba(255, 77, 94, .6); }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } }

.prose h2 { font-size: 1.35rem; margin-top: 2rem; }
.prose ul { padding-left: 1.2rem; }
.prose p, .prose li { color: #c9d6ee; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- OVERRA Social: Ablauf-Grafik ---------- */
.flow { display: grid; justify-items: center; }
.flow-step { width: min(360px, 100%); text-align: center; padding: 1.3rem 1.5rem; background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r-l); }
.flow-step strong { display: block; font: 700 1.25rem var(--display); letter-spacing: .08em; text-transform: uppercase; }
.flow-step small { color: var(--muted); }
.flow-main { border-color: var(--accent); box-shadow: var(--glow); }
.flow-main strong { color: var(--accent); }
.flow-line { width: 2px; height: 34px; background: repeating-linear-gradient(180deg, var(--accent) 0 6px, transparent 6px 12px); }
