:root {
  --accent: #6d5dfc;
  --bg: #f6f5f2;
  --fg: #1d1c1a;
  --muted: #6b6862;
  --card: #ffffff;
  --border: #e4e1da;
  --on-tint: #1d1c1a;
  color-scheme: light;
}
/* Dunkel: per Gerät (falls nicht „hell“ gewählt) oder per Umschalter/Seiten-Standard */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --bg: #131315; --fg: #f1efea; --muted: #a9a6a0; --card: #1e1e22; --border: #3a3a42; --on-tint: #f1efea; color-scheme: dark; }
}
:root[data-theme="dark"] { --bg: #131315; --fg: #f1efea; --muted: #a9a6a0; --card: #1e1e22; --border: #3a3a42; --on-tint: #f1efea; color-scheme: dark; }

* { box-sizing: border-box; }
/* Schriftgröße: Grundgröße der Instanz × Wahl des Besuchers (alles in rem skaliert mit) */
html { background: var(--bg); font-size: calc(var(--fs-base, 100%) * var(--fs-user, 1)); }
html[data-basefont="112"] { --fs-base: 112.5%; }
html[data-basefont="125"] { --fs-base: 125%; }
html[data-font="lg"] { --fs-user: 1.15; }
html[data-font="xl"] { --fs-user: 1.3; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--fg);
  font: 1rem/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background:
    radial-gradient(60rem 30rem at 50% -10rem, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%),
    var(--bg);
}

.page {
  max-width: 36rem;
  margin: 0 auto;
  padding: 3.5rem 1rem 4rem;
  text-align: center;
}

/* Logo: blitzt beim Aufruf genau einmal auf */
.logo {
  display: block;
  width: 112px;
  height: 112px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  object-fit: cover;
  animation: logo-flash 1.2s cubic-bezier(.2, .7, .2, 1) .1s 1 both;
}
@keyframes logo-flash {
  0%   { opacity: 0; transform: scale(.82); filter: brightness(1) drop-shadow(0 0 0 transparent); }
  30%  { opacity: 1; transform: scale(1.07); filter: brightness(2.4) drop-shadow(0 0 28px var(--accent)); }
  55%  { transform: scale(.98); filter: brightness(1.25) drop-shadow(0 0 12px var(--accent)); }
  100% { opacity: 1; transform: scale(1); filter: brightness(1) drop-shadow(0 0 0 transparent); }
}
@media (prefers-reduced-motion: reduce) {
  .logo { animation: logo-fade .4s ease-out 1 both; }
  @keyframes logo-fade { from { opacity: 0; } to { opacity: 1; } }
}

h1 { margin: 0 0 .25rem; font-size: 1.5rem; letter-spacing: -.01em; }
.bio { margin: 0 auto 2rem; max-width: 28rem; color: var(--muted); white-space: pre-line; }

.links { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.links a {
  display: block;
  padding: 1rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--card);
  color: inherit;
  font-weight: 600;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: transform .12s ease, border-color .12s ease, box-shadow .12s ease;
}
.links a:hover, .links a:focus-visible {
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow: 0 6px 20px -8px color-mix(in srgb, var(--accent) 60%, transparent);
}
.links a:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .links a { transition: none; } .links a:hover, .links a:focus-visible { transform: none; } }
.empty { color: var(--muted); }

/* Gruppen: aufklappbar per <details>, ohne JavaScript */
:root { interpolate-size: allow-keywords; }
.group details { border: 1px solid var(--border); border-radius: 14px; background: var(--card); overflow: hidden; }
.group summary {
  display: flex; align-items: center; justify-content: center; gap: .6rem;
  padding: 1rem 2.75rem; position: relative;
  font-weight: 700; cursor: pointer; list-style: none; user-select: none;
}
.group summary::-webkit-details-marker { display: none; }
.group summary::after {
  content: ""; position: absolute; right: 1.25rem; top: 50%;
  width: .55rem; height: .55rem; margin-top: -.4rem;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg); transition: transform .2s ease;
}
.group details[open] summary::after { transform: rotate(225deg); margin-top: -.1rem; }
.group summary:hover { color: var(--accent); }
.group summary:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; border-radius: 14px; }
.group .count {
  min-width: 1.5rem; padding: 0 .45rem; border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 22%, var(--card)); color: var(--on-tint); font-weight: 700;
  font-size: .8rem; line-height: 1.5rem;
}
.group details::details-content {
  block-size: 0; overflow: hidden;
  transition: block-size .25s ease, content-visibility .25s allow-discrete;
}
.group details[open]::details-content { block-size: auto; }
.links.sub { padding: 0 .75rem .75rem; gap: .5rem; }
.links.sub a { padding: .8rem 1rem; font-weight: 500; background: color-mix(in srgb, var(--fg) 4%, var(--card)); }
@media (prefers-reduced-motion: reduce) {
  .group details::details-content, .group summary::after { transition: none; }
}

/* Mit Hintergrundbild: kein Schleier, dafür heller Text mit dunklem Schatten */
/* Dunkle Ersatzfarbe unter dem Bild: weißer Text bleibt lesbar, auch solange das Bild lädt oder fehlt */
html:has(> body.has-bg) { background: #16161a; }
.has-bg { --shadow-strong: 0 1px 2px rgba(0, 0, 0, .9), 0 0 6px rgba(0, 0, 0, .7), 0 0 16px rgba(0, 0, 0, .45); }
.has-bg h1, .has-bg .bio, .has-bg .empty { color: #fff; text-shadow: var(--shadow-strong); }
.has-bg .logo { box-shadow: 0 4px 18px rgba(0, 0, 0, .3); }

/* Freie Textzeilen */
.links .note {
  padding: .35rem 1rem; color: var(--fg); white-space: pre-line; overflow-wrap: anywhere; line-height: 1.45;
}
.links.sub .note { padding: .25rem .75rem; }
.has-bg .page > .links > .note { color: #fff; text-shadow: var(--shadow-strong); }

/* Zwischenüberschriften */
.links .heading { margin-top: .9rem; }
.links .heading:first-child { margin-top: 0; }
.links .heading h2 { margin: 0; font-size: 1.05rem; letter-spacing: .02em; color: var(--fg); }
.links.sub .heading { margin-top: .4rem; }
.links.sub .heading h2 { font-size: .95rem; }
.has-bg .page > .links > .heading h2 { color: #fff; text-shadow: var(--shadow-strong); }

/* Nur für Screenreader */
.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; }

/* Hell/Dunkel-Umschalter */
.tools {
  position: absolute; top: max(.75rem, env(safe-area-inset-top)); right: .75rem; z-index: 5;
  display: flex; gap: .5rem; align-items: flex-start;
}
.theme-toggle, .tool-btn {
  display: grid; place-items: center; width: 2.75rem; height: 2.75rem; padding: 0;
  border: 1px solid var(--border); border-radius: 999px; background: var(--card); color: var(--fg); cursor: pointer;
}
.tool-btn svg { width: 1.4rem; height: 1.4rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.tool-btn svg circle { fill: currentColor; stroke: none; }
.theme-toggle svg { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.theme-toggle .i-moon { fill: currentColor; stroke: none; }
.theme-toggle[aria-pressed="true"] .i-moon, .theme-toggle[aria-pressed="false"] .i-sun, .theme-toggle:not([aria-pressed]) .i-sun { display: none; }
.theme-toggle:hover, .tool-btn:hover, .tool-btn[aria-expanded="true"] { border-color: var(--accent); }
.theme-toggle:focus-visible, .tool-btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* Fußzeile + Cookie-Seite */
.foot { padding: 0 1rem 2.5rem; text-align: center; font-size: .875rem; }
.foot ul { display: flex; flex-wrap: wrap; justify-content: center; gap: .25rem 1.25rem; margin: 0; padding: 0; list-style: none; }
.foot a, .legal a { color: var(--fg); text-underline-offset: 3px; }
.foot a { color: var(--muted); display: inline-block; padding: .3rem .25rem; min-height: 24px; }
.foot a:hover, .foot a:focus-visible { color: var(--fg); }
.foot a:focus-visible, .legal a:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 3px; }
.has-bg .foot a { color: #fff; text-shadow: var(--shadow-strong); }
.legal-text { text-align: left; padding: 1.25rem 1.5rem; border: 1px solid var(--border); border-radius: 14px; background: var(--card); }
.legal-text p { margin: 0 0 .9rem; }
.legal-text p:last-child { margin-bottom: 0; }
.legal .back { display: inline-block; margin-top: 1.5rem; font-weight: 600; }
.has-bg .legal h1, .has-bg .legal .back { color: #fff; text-shadow: var(--shadow-strong); }

/* Bedienhilfen-Menü */
.a11y { position: relative; }
.a11y-panel {
  position: absolute; right: 0; top: calc(100% + .5rem); width: min(18rem, calc(100vw - 1.5rem));
  padding: 1rem; text-align: left; border: 1px solid var(--border); border-radius: 14px;
  background: var(--card); color: var(--fg); box-shadow: 0 12px 32px -12px rgba(0, 0, 0, .35);
}
.a11y-title { margin: 0 0 .75rem; font-weight: 700; }
.a11y-panel fieldset { margin: 0 0 .75rem; padding: 0; border: 0; }
.a11y-panel legend { padding: 0; margin-bottom: .4rem; font-size: .875rem; color: var(--muted); }
.seg { display: flex; gap: .35rem; flex-wrap: wrap; }
.seg label { flex: 1 1 auto; position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg label { display: block; padding: .45rem .5rem; border: 1px solid var(--border); border-radius: 8px; text-align: center; font-size: .875rem; cursor: pointer; }
.seg label:has(input:checked) { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 18%, var(--card)); font-weight: 700; }
.seg label:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 2px; }
.a11y-panel .opt { display: flex; align-items: center; gap: .6rem; min-height: 2.25rem; cursor: pointer; }
.a11y-panel .opt input { width: 1.15rem; height: 1.15rem; margin: 0; accent-color: var(--accent); }
.a11y-panel input:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.a11y-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem; margin-top: .75rem; padding-top: .75rem; border-top: 1px solid var(--border); font-size: .875rem; }
.a11y-foot a { color: var(--fg); text-underline-offset: 3px; display: inline-block; min-height: 24px; padding: .2rem 0; }
.a11y-reset { min-height: 2rem; padding: .3rem .75rem; border: 1px solid var(--border); border-radius: 8px; background: transparent; color: var(--fg); font: inherit; cursor: pointer; }
.a11y-reset:hover { border-color: var(--accent); }
.a11y-reset:focus-visible, .a11y-foot a:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* Animationen aus (Bedienhilfe) bzw. Logo-Aufblitzen in der Instanz abgeschaltet */
html[data-motion="on"] *, html[data-motion="on"] *::before, html[data-motion="on"] *::after { animation: none !important; transition: none !important; }
html[data-motion="on"] .links a:hover, html[data-motion="on"] .links a:focus-visible { transform: none; }
html[data-logo-anim="off"] .logo { animation: none; }

/* Links unterstreichen (Bedienhilfe) */
html[data-underline="on"] .links a, html[data-underline="on"] .foot a, html[data-underline="on"] .legal a { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* Hoher Kontrast (Bedienhilfe): reine Schwarz/Weiß-Farben, kein Hintergrundbild, keine Wunschfarben */
html[data-contrast="on"] { --bg: #fff; --fg: #000; --muted: #000; --card: #fff; --border: #000; --on-tint: #000; --accent: #0000cc; }
@media (prefers-color-scheme: dark) {
  html[data-contrast="on"]:not([data-theme="light"]) { --bg: #000; --fg: #fff; --muted: #fff; --card: #000; --border: #fff; --on-tint: #fff; --accent: #ffff00; }
}
html[data-contrast="on"][data-theme="dark"] { --bg: #000; --fg: #fff; --muted: #fff; --card: #000; --border: #fff; --on-tint: #fff; --accent: #ffff00; }
html[data-contrast="on"], html[data-contrast="on"] body { background: var(--bg) !important; }
html[data-contrast="on"] body::before { display: none !important; }
html[data-contrast="on"] .page *, html[data-contrast="on"] .foot a { color: var(--fg) !important; text-shadow: none !important; }
html[data-contrast="on"] .links a, html[data-contrast="on"] .group details, html[data-contrast="on"] .legal-text, html[data-contrast="on"] .theme-toggle, html[data-contrast="on"] .tool-btn { border-width: 2px; border-color: var(--fg); }
html[data-contrast="on"] .links.sub a { background: var(--card); }
html[data-contrast="on"] .group .count { background: transparent; border: 1px solid var(--fg); }
html[data-contrast="on"] .logo { box-shadow: none; }

/* Erklärungsseite */
.legal-text h2 { margin: 1.25rem 0 .5rem; font-size: 1.05rem; }
.legal-text ul { margin: 0 0 .9rem; padding-left: 1.25rem; }
.legal-text li { margin: .25rem 0; }
.legal-text abbr { text-decoration: none; }
.page.legal { padding-top: 4.75rem; }

/* Kontakt */
.links .contact-link { border-style: dashed; }
.contact-form { display: grid; gap: .35rem; }
.contact-form label { font-weight: 600; margin-top: .6rem; }
.contact-form label small { font-weight: 400; color: var(--muted); }
.contact-form input, .contact-form textarea {
  width: 100%; padding: .7rem .8rem; font: inherit; color: var(--fg);
  background: var(--bg); border: 1px solid var(--muted); border-radius: 10px;
}
.contact-form textarea { resize: vertical; min-height: 8rem; }
.contact-form input:focus-visible, .contact-form textarea:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; }
.contact-form [aria-invalid="true"] { border: 2px solid #c0182b; }
.field-error { color: #c0182b; font-size: .9rem; font-weight: 600; }
.contact-form button {
  justify-self: start; margin-top: 1rem; min-height: 2.75rem; padding: .7rem 1.4rem;
  border: 0; border-radius: 10px; background: var(--fg); color: var(--bg); font: inherit; font-weight: 700; cursor: pointer;
}
.contact-form button:hover { opacity: .9; }
.contact-form button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.req-note, .privacy-note { margin: 0; font-size: .875rem; color: var(--muted); }
.privacy-note { margin-top: .9rem; }
.privacy-note a { color: var(--fg); }
.form-errors { margin-bottom: 1rem; padding: .9rem 1rem; border: 2px solid #c0182b; border-radius: 10px; }
.form-errors p { margin: 0 0 .4rem; }
.form-errors ul { margin: 0; }
.form-errors a { color: inherit; }
.form-ok { padding: .25rem 0; }
.form-errors:focus, .form-ok:focus { outline: 3px solid var(--accent); outline-offset: 4px; }
.intro { white-space: pre-line; }
/* Falle für Bots: für Menschen unsichtbar, auch für Screenreader */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .field-error, :root:not([data-theme="light"]) .form-errors { color: #ff8a8a; border-color: #ff8a8a; } :root:not([data-theme="light"]) .contact-form [aria-invalid="true"] { border-color: #ff8a8a; } }
:root[data-theme="dark"] .field-error, :root[data-theme="dark"] .form-errors { color: #ff8a8a; border-color: #ff8a8a; }
:root[data-theme="dark"] .contact-form [aria-invalid="true"] { border-color: #ff8a8a; }

/* Symbole vor Links: links in der Karte, Text bleibt mittig */
.links a.has-ico { position: relative; padding-left: 3rem; padding-right: 3rem; }
.links .ico { position: absolute; left: 1.1rem; top: 50%; width: 1.35rem; height: 1.35rem; margin-top: -.675rem; fill: currentColor; }
.links .ico-line { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.links.sub a.has-ico { padding-left: 2.75rem; padding-right: 2.75rem; }
.links.sub .ico { left: .9rem; width: 1.2rem; height: 1.2rem; margin-top: -.6rem; }

/* Formatierter Text („Über mich“, freie Texte) */
.bio.md { max-width: 32rem; }
.md > :first-child { margin-top: 0; }
.md > :last-child { margin-bottom: 0; }
.md p { margin: 0 0 .75rem; }
.md .md-h { margin: 1.1rem 0 .45rem; line-height: 1.3; color: inherit; }
.md h2.md-h { font-size: 1.2rem; }
.md h3.md-h { font-size: 1.05rem; }
.md h4.md-h { font-size: .95rem; }
.md ul, .md ol { display: inline-block; margin: 0 0 .75rem; padding-left: 1.3rem; text-align: left; }
.md li { margin: .15rem 0; }
.md a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.md a:hover { text-decoration-thickness: 2px; }
.md a:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 3px; }
.links .note.md { white-space: normal; }
.bio.md { white-space: normal; }
.bio .md-h, .bio strong { color: var(--fg); }
.has-bg .bio .md-h, .has-bg .bio strong { color: #fff; }

/* Streamingplan */
.sched { margin: 0 0 2rem; padding: 1rem 1.1rem 1.1rem; border: 1px solid var(--border); border-radius: 14px; background: var(--card); text-align: left; }
.sched h2 { margin: 0; font-size: 1.15rem; text-align: center; }
.sched-week { margin: .15rem 0 .8rem; text-align: center; color: var(--muted); font-size: .875rem; }
.sched-days { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.sched-day { display: grid; grid-template-columns: 5.2rem 1fr; gap: .2rem .6rem; align-items: baseline; padding: .45rem .6rem; border-radius: 10px; }
.sched-day.is-today { background: color-mix(in srgb, var(--accent) 14%, var(--card)); box-shadow: inset 3px 0 0 var(--accent); }
.sched-date { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sched-date abbr { text-decoration: none; }
.today-tag { display: block; font-size: .7rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.free { color: var(--muted); font-size: .9rem; }
.sched-ev { list-style: none; margin: 0; padding: 0; display: grid; gap: .3rem; }
.sched-ev li { display: flex; flex-wrap: wrap; align-items: baseline; gap: .15rem .55rem; }
.sched-ev time { font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }
.ev-title { font-weight: 500; overflow-wrap: anywhere; }
.ev-title a { color: inherit; text-underline-offset: 3px; }
.ev-title a:focus-visible, .sched-sub a:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 3px; }
.ev-platform { display: inline-flex; align-items: center; gap: .3rem; color: var(--muted); font-size: .85rem; }
.ev-platform .ico { width: 1rem; height: 1rem; fill: currentColor; }
.ev-platform .ico-line { fill: none; stroke: currentColor; stroke-width: 1.8; }
.is-cancelled time, .is-cancelled .ev-platform { color: var(--muted); text-decoration: line-through; }
.ev-tag { font-size: .75rem; font-weight: 700; color: var(--muted); text-transform: uppercase; }
/* LIVE: Schrift bleibt immer voll deckend (Kontrast), nur der Punkt davor pulsiert */
.live-tag { display: inline-flex; align-items: center; gap: .3rem; padding: .05rem .5rem; border-radius: 999px; background: #b3132a; color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .06em; }
.live-tag::before { content: ""; width: .45rem; height: .45rem; border-radius: 50%; background: #fff; animation: live-pulse 1.6s ease-in-out infinite; }
@keyframes live-pulse { 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .live-tag::before { animation: none; } }
.sched-next { margin-top: .8rem; }
.sched-next summary { cursor: pointer; text-align: center; font-weight: 600; font-size: .9rem; padding: .3rem; min-height: 24px; }
.sched-next[open] summary { margin-bottom: .4rem; }
.sched-sub { margin: .9rem 0 0; text-align: center; font-size: .85rem; color: var(--muted); }
.sched-sub a { color: var(--fg); font-weight: 600; text-underline-offset: 3px; }
@media (max-width: 380px) { .sched-day { grid-template-columns: 1fr; } }

/* Seitenleisten (Streamingplan und/oder Reichweite, links/rechts/beidseitig) */
.side { display: grid; gap: 1.5rem; align-content: start; max-width: 36rem; margin: 0 auto 2rem; }
.side > * { margin: 0; }
.sched-side .sched-day { grid-template-columns: 1fr !important; gap: .15rem; }
.side .reach-tiles { grid-template-columns: 1fr; }
@media (max-width: 59.99rem) { .side { margin-inline: 1rem; } }
/* Mittelgroß: nur EINE Seitenleiste passt neben den Inhalt; bei beidseitig stehen sie darunter */
@media (min-width: 60rem) and (max-width: 77.99rem) {
  .layout-left, .layout-right { display: grid; grid-template-columns: minmax(0, 36rem) 20rem; justify-content: center; align-items: start; column-gap: 2.5rem; padding-inline: 1rem; }
  .layout-left { grid-template-columns: 20rem minmax(0, 36rem); }
  .layout-left .side-left { order: -1; } /* im Quelltext bleibt der Hauptinhalt zuerst (Screenreader/Tastatur) */
  .layout-left .page, .layout-right .page { width: 100%; margin: 0; }
  .layout-left .side, .layout-right .side { position: sticky; top: 1rem; margin: 5.5rem 0 2rem; max-height: calc(100vh - 2rem); overflow-y: auto; }
}
/* Breit: Hauptinhalt exakt mittig, Seitenleisten am linken bzw. rechten Rand */
@media (min-width: 78rem) {
  .layout { display: grid; grid-template-columns: minmax(20rem, 1fr) minmax(0, 36rem) minmax(20rem, 1fr); column-gap: 2.5rem; align-items: start; padding-inline: 2rem; }
  .layout .page { grid-column: 2; grid-row: 1; width: 100%; margin: 0; }
  .layout .side { grid-row: 1; width: 20rem; position: sticky; top: 1rem; margin: 5.5rem 0 2rem; max-height: calc(100vh - 2rem); overflow-y: auto; }
  .layout .side-left { grid-column: 1; justify-self: start; }
  .layout .side-right { grid-column: 3; justify-self: end; }
}

/* Socials-Symbolleiste */
.socials ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .55rem; }
.socials-top { margin: -.75rem 0 1.75rem; }
.socials-bottom { margin: 1.75rem 0 0; }
.socials a {
  display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%;
  border: 1px solid var(--border); background: var(--card); color: var(--fg);
  transition: transform .12s ease, border-color .12s ease;
}
.socials a:hover { transform: translateY(-2px); border-color: var(--accent); color: var(--accent); }
.socials a:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.socials .ico { width: 1.3rem; height: 1.3rem; fill: currentColor; }
.socials .ico-line { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (prefers-reduced-motion: reduce) { .socials a { transition: none; } .socials a:hover { transform: none; } }
html[data-contrast="on"] .socials a { border-width: 2px; border-color: var(--fg); }
.socials li { display: grid; justify-items: center; gap: .15rem; }
.soc-count { font-size: .72rem; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
.has-bg .soc-count { color: #fff; text-shadow: var(--shadow-strong); }

/* Öffentlicher Bereich „Reichweite“ */
.reach { margin: 2rem 0 0; padding: 1rem 1.1rem 1.1rem; border: 1px solid var(--border); border-radius: 14px; background: var(--card); }
.reach h2 { margin: 0 0 .4rem; font-size: 1.15rem; }
.reach-total { margin: 0 0 .9rem; color: var(--muted); font-size: .9rem; }
.reach-total .reach-n { font-size: 1.4rem; color: var(--fg); }
.reach-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: .7rem; text-align: left; }
.reach-tile { display: grid; gap: .1rem; padding: .7rem .8rem .5rem; border: 1px solid var(--border); border-radius: 12px; background: color-mix(in srgb, var(--fg) 3%, var(--card)); }
.reach-label { font-size: .85rem; font-weight: 600; color: var(--muted); }
.reach-label a { color: inherit; text-underline-offset: 3px; }
.reach-label a:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 3px; }
.reach-label .ico { width: 1rem; height: 1rem; margin-right: .35rem; vertical-align: -.15rem; fill: currentColor; }
.reach-n { font-size: 1.5rem; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1.2; }
.reach-word { font-size: .85rem; color: var(--muted); }
.reach-delta { color: var(--fg); font-weight: 600; font-variant-numeric: tabular-nums; }
.reach-tile .live-tag { justify-self: start; margin-top: .2rem; }
.reach-sub { margin: .8rem 0 0; font-size: .8rem; color: var(--muted); }
.fchart { margin: .4rem 0 0; }
.fchart svg { display: block; width: 100%; height: auto; overflow: visible; }
.fchart .grid { stroke: var(--border); stroke-width: 1; }
.fchart .tick { fill: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; }
.fchart .fline { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.fchart .fdot { fill: var(--accent); stroke: var(--card); stroke-width: 2; }
.fchart .hit { fill: transparent; }
.fchart .fhover { fill: var(--accent); stroke: var(--card); stroke-width: 2; opacity: 0; }
.fchart .fpt:hover .fhover { opacity: 1; }
html[data-contrast="on"] .reach, html[data-contrast="on"] .reach-tile { border-width: 2px; border-color: var(--fg); }
html[data-contrast="on"] .fchart .fline { stroke: var(--fg); }
/* Reichweite: Text nach der Zahl ebenfalls fett */
.reach-total, .reach-total span { font-weight: 700; color: var(--fg); }
.reach-word { font-weight: 700; }

/* Plattform-Links im Streamingplan (wiederhergestellt) */
.ev-platforms { display: inline-flex; flex-wrap: wrap; gap: .1rem .6rem; }
a.ev-platform { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a.ev-platform:hover { color: var(--fg); }
a.ev-platform:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 3px; }
.reach-side { margin: 0; }
select[name=stats_section_position] { max-width: none; }
.reach-side h2, .reach-side .reach-total, .reach-side .reach-sub { text-align: center; }

/* LIVE-Banner oben auf der Seite */
.live-banner {
  display: flex; align-items: center; gap: .7rem; margin: 0 0 1.5rem; padding: .8rem 1rem;
  border-radius: 14px; background: #b3132a; color: #fff; text-align: left; text-decoration: none;
  box-shadow: 0 8px 24px -10px rgba(179, 19, 42, .7);
}
.live-banner .ico { flex: none; width: 1.6rem; height: 1.6rem; fill: currentColor; }
.live-banner .ico-line { fill: none; stroke: currentColor; stroke-width: 1.8; }
.live-banner .live-tag { flex: none; background: #fff; color: #b3132a; }
.live-banner .live-tag::before { background: #b3132a; }
.live-text { display: grid; flex: 1; min-width: 0; line-height: 1.3; }
.live-title { overflow-wrap: anywhere; }
.live-meta { font-size: .85rem; opacity: .95; }
.live-cta { flex: none; font-weight: 800; white-space: nowrap; }
a.live-banner:hover { background: #9c0f23; }
a.live-banner:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
@media (max-width: 26rem) { .live-cta { display: none; } }
html[data-contrast="on"] .live-banner { background: #000 !important; color: #fff !important; border: 3px solid #fff; }
html[data-contrast="on"] .live-banner * { color: #fff !important; }
.sched-countdown { margin: -.4rem 0 .8rem; text-align: center; font-size: .9rem; }
.sched-countdown [data-countdown] { font-weight: 700; color: var(--fg); white-space: nowrap; }
html[data-contrast="on"] .sched-countdown [data-countdown] { color: var(--fg); }

/* Karte „Neuestes Video“ */
.video-card { display: block; margin: 0 0 1.5rem; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; background: var(--card); color: inherit; text-decoration: none; text-align: left; transition: transform .12s ease, border-color .12s ease; }
.video-card:hover { transform: translateY(-2px); border-color: var(--accent); }
.video-card:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.video-thumb { position: relative; display: block; aspect-ratio: 16 / 9; background: #000; }
.video-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.video-play { position: absolute; inset: 50% auto auto 50%; width: 3.6rem; height: 2.5rem; margin: -1.25rem 0 0 -1.8rem; border-radius: .7rem; background: rgba(0, 0, 0, .72); }
.video-play::after { content: ""; position: absolute; left: 1.45rem; top: .7rem; border-style: solid; border-width: .55rem 0 .55rem .95rem; border-color: transparent transparent transparent #fff; }
.video-card:hover .video-play { background: #c00; }
.video-body { display: grid; gap: .2rem; padding: .7rem .9rem .8rem; }
.video-kicker { display: inline-flex; align-items: center; gap: .35rem; color: var(--muted); font-size: .8rem; font-weight: 600; }
.video-kicker .ico { width: 1rem; height: 1rem; fill: currentColor; }
.video-title { font-weight: 700; line-height: 1.35; overflow-wrap: anywhere; }
@media (prefers-reduced-motion: reduce) { .video-card { transition: none; } .video-card:hover { transform: none; } }
html[data-contrast="on"] .video-card { border-width: 2px; border-color: var(--fg); }
.socials + .live-banner { margin-top: -.5rem; }
.socials-bottom + .live-banner { margin: 1rem 0 0; }
