/* =========================================================
   Streamster – Hauptstylesheet
   Farben und Schriften zentral in :root anpassen.
   ========================================================= */

@font-face { font-family: "Barlow"; src: url("../fonts/Barlow-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/Barlow-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/Barlow-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/BarlowCondensed-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/BarlowCondensed-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/BarlowCondensed-ExtraBold.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/BarlowCondensed-ExtraBoldItalic.woff2") format("woff2"); font-weight: 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/Barlow-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  /* Streamster CI: Pink #FF0057 und Orange #FF6E28, Verlauf 45° – auf dem Nachtblau der Website */
  --ink: #11151C;        /* Hintergrund (CI-Schwarz) */
  --ink-2: #191E27;      /* Flächen */
  --ink-3: #232935;      /* Hover-Flächen */
  --rule: #2D3441;       /* Linien */
  --paper: #F3F6FA;      /* Text */
  --mist: #9EA6B4;       /* Nebentext */
  --pink: #FF0057;       /* CI Pink */
  --orange: #FF6E28;     /* CI Orange */
  --grad: linear-gradient(135deg, var(--pink), var(--orange)); /* CI-Verlauf 45° */
  --accent: var(--orange);  /* Linien, Links, Fokus */
  --live: var(--pink);      /* Live-Status */

  /* CI-Headline-Schrift ist URW DIN Condensed Black (Lizenzschrift); Barlow Condensed ist der freie Ersatz.
     Mit Webfont-Lizenz einfach "URW DIN Condensed" vorne ergänzen. */
  --display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --text: "Barlow", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --wrap: 1280px;
  --gap: clamp(16px, 2.2vw, 28px);
  --radius: 6px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font: 400 1.0625rem/1.55 var(--text);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 2px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--grad); color: #fff; padding: 10px 14px; font-weight: 600; z-index: 100; }
.skip:focus { top: 12px; }

.wrap { width: min(100% - 2 * var(--gap), var(--wrap)); margin-inline: auto; }

h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.02; margin: 0; letter-spacing: 0.005em; }
h1, h2 { font-weight: 800; font-style: italic; text-transform: uppercase; letter-spacing: .01em; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.4rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  font: 700 1.05rem/1 var(--display); letter-spacing: .02em;
  padding: .8em 1.25em; border-radius: var(--radius);
  background: var(--grad); color: #fff; text-decoration: none; border: 0; cursor: pointer;
  font-style: italic; text-transform: uppercase;
}
.btn:hover { background: linear-gradient(135deg, #ff1f6c, #ff8547); }
.btn-ghost { background: transparent; color: var(--paper); box-shadow: inset 0 0 0 2px var(--rule); font-style: normal; text-transform: none; }
.btn-ghost:hover { background: var(--ink-3); }
.btn svg { width: 1em; height: 1em; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--ink) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}
.site-header .wrap { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.logo { display: flex; align-items: center; text-decoration: none; flex: none; }
.logo img { height: 34px; width: auto; }
.footer-grid .logo img { height: 72px; }
.logo-text { font: 700 1.7rem/1 var(--display); letter-spacing: .01em; }
.nav { display: flex; gap: 4px; margin-right: auto; }
.nav > li { position: relative; list-style: none; }
.nav a, .nav button {
  display: block; padding: 10px 12px; text-decoration: none; color: var(--paper);
  font: 600 1.15rem/1 var(--display); background: none; border: 0; cursor: pointer; border-radius: var(--radius);
}
.nav a:hover, .nav button:hover, .nav a[aria-current="page"] { background: var(--ink-2); }
.nav .sub { display: none; position: absolute; top: 100%; left: 0; min-width: 240px; padding: 6px; margin: 0; list-style: none; background: var(--ink-2); border: 1px solid var(--rule); border-radius: var(--radius); }
.nav li:hover > .sub, .nav li:focus-within > .sub { display: block; }
.nav .sub a { font: 500 1rem/1.2 var(--text); padding: 10px 12px; }
.nav ul { margin: 0; padding: 0; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions .btn { font-size: 1rem; padding: .65em 1em; }
.menu-toggle { display: none; background: none; border: 0; color: var(--paper); padding: 8px; cursor: pointer; }
.menu-toggle svg { width: 28px; height: 28px; }

@media (max-width: 900px) {
  .menu-toggle { display: block; margin-left: auto; }
  .nav, .header-actions { display: none; }
  .site-header.open .wrap { flex-wrap: wrap; }
  .site-header.open .nav { display: block; order: 3; width: 100%; padding: 0 0 12px; }
  .site-header.open .header-actions { display: flex; order: 4; width: 100%; padding-bottom: 16px; }
  .nav .sub { display: block; position: static; border: 0; background: none; padding: 0 0 0 12px; }
}

/* ---------- Status ---------- */
.status {
  display: inline-flex; align-items: center; gap: 6px;
  font: 700 .95rem/1 var(--display); letter-spacing: .03em;
  padding: 5px 8px 4px; border-radius: 3px; background: var(--ink-3); color: var(--paper);
}
.status-live { background: var(--live); }
.status-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: pulse 1.4s ease-in-out infinite; }
.status-upcoming { background: var(--paper); color: var(--ink); }
@keyframes pulse { 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .status-live::before { animation: none; } }

/* ---------- Bühne (Startseite) ---------- */
.stage { padding: 22px 0 8px; }
.stage-rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(86%, 960px);
  gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory;
  padding-inline: max(var(--gap), calc((100vw - var(--wrap)) / 2));
  scrollbar-width: none;
}
.stage-rail::-webkit-scrollbar { display: none; }
.slide { scroll-snap-align: center; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--ink-2); text-decoration: none; aspect-ratio: 16 / 9; }
.slide > img { width: 100%; height: 100%; object-fit: cover; }
.slide .noimg { width: 100%; height: 100%; }
/* Bauchbinde wie im TV-Bild */
.lower-third {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: clamp(14px, 3vw, 32px);
  background: linear-gradient(to top, rgba(11, 14, 19, .95) 0%, rgba(11, 14, 19, .75) 55%, transparent 100%);
}
.lower-third .meta { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font: 600 1.05rem/1 var(--display); color: var(--mist); }
.lower-third h2 { font-size: clamp(1.6rem, 4vw, 3.2rem); max-width: 22ch; }
.status-upcoming { background: #fff; color: var(--ink); }
.lower-third .sub { margin: 6px 0 0; color: var(--mist); font-size: clamp(.95rem, 1.6vw, 1.15rem); max-width: 60ch; }
.lower-third .when { display: inline-block; margin-top: 14px; padding: 6px 10px; background: var(--grad); color: #fff; font: 700 1.05rem/1 var(--display); border-radius: 3px; }
.stage-controls { display: flex; justify-content: flex-end; gap: 8px; margin-top: 14px; }
.stage-controls button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--rule); background: var(--ink-2); color: var(--paper); cursor: pointer; }
.stage-controls button:hover { background: var(--ink-3); }

/* Platzhalter, wenn kein Vorschaubild vorhanden ist */
.noimg { display: grid; place-items: center; background:
  repeating-linear-gradient(90deg, transparent 0 calc(10% - 1px), rgba(255,255,255,.05) calc(10% - 1px) 10%),
  linear-gradient(160deg, var(--ink-3), var(--ink-2)); }
.noimg img { width: 30%; max-width: 140px; height: auto; object-fit: contain; opacity: .9; }

/* ---------- Abschnitte ---------- */
.section { padding: clamp(40px, 6vw, 72px) 0 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.section-head a { color: var(--mist); font-weight: 500; text-decoration: none; }
.section-head a:hover { color: var(--paper); text-decoration: underline; }

/* Kacheln (Live und On Demand) */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--gap); }
.tile { text-decoration: none; display: flex; flex-direction: column; }
.tile .thumb { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--ink-2); }
.tile .thumb > img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.tile:hover .thumb > img { transform: scale(1.03); }
.tile .thumb .status { position: absolute; left: 10px; top: 10px; }
.tile .sport { margin-top: 12px; font: 600 1rem/1 var(--display); color: var(--mist); }
.tile h3 { margin-top: 6px; font-size: 1.35rem; }
.tile .sub { margin: 4px 0 0; color: var(--mist); font-size: .98rem; line-height: 1.4; }
.tile .when { margin-top: 8px; font-size: .92rem; color: var(--mist); }
.tile:hover h3 { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.tiles-live .tile .thumb { box-shadow: 0 0 0 3px var(--live); }
@media (prefers-reduced-motion: reduce) { .tile .thumb > img { transition: none; } }

/* Spielplan (Upcoming) – wie eine Ansetzungsliste */
.fixtures { border-top: 2px solid var(--paper); }
.fixture-day { font: 700 1.2rem/1 var(--display); padding: 18px 0 10px; color: var(--accent); border-bottom: 1px solid var(--rule); }
.fixture {
  display: grid; grid-template-columns: 86px 56px 1fr auto; align-items: center; gap: 18px;
  padding: 14px 0; border-bottom: 1px solid var(--rule); text-decoration: none;
}
.fixture:hover { background: var(--ink-2); }
.fixture .time { font: 700 1.6rem/1 var(--display); font-variant-numeric: tabular-nums; padding-left: 4px; }
.fixture .icon { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; overflow: hidden; }
.fixture .icon img, .fixture .icon svg { width: 100%; height: 100%; object-fit: contain; }
.fixture .what .sport { font: 600 .98rem/1 var(--display); color: var(--mist); }
.fixture .what strong { display: block; font: 700 1.3rem/1.15 var(--display); margin-top: 4px; }
.fixture .what span.sub { display: block; color: var(--mist); font-size: .95rem; margin-top: 2px; }
.fixture .go { font: 700 1rem/1 var(--display); color: var(--mist); padding-right: 6px; }
.fixture:hover .go { color: var(--accent); }
@media (max-width: 640px) {
  .fixture { grid-template-columns: 64px 1fr; gap: 12px; }
  .fixture .icon, .fixture .go { display: none; }
  .fixture .time { font-size: 1.3rem; }
}

/* Sportarten-Raster */
.sports-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.sport-tile {
  display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center;
  padding: 18px 10px 16px; border-radius: var(--radius); background: var(--ink-2); text-decoration: none;
  font: 600 1.08rem/1.1 var(--display);
}
.sport-tile:hover { background: var(--ink-3); }
.sport-tile .pic { width: 76px; height: 76px; display: grid; place-items: center; }
.sport-tile .pic img, .sport-tile .pic svg { width: 100%; height: 100%; max-width: 100%; max-height: 100%; object-fit: contain; }
.sport-tile .pic .initial { font: 700 2.2rem/1 var(--display); color: var(--mist); }
.sport-tile small { font: 400 .85rem/1 var(--text); color: var(--mist); }

/* Über uns / Partner */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(28px, 4vw, 48px) 0; border-top: 1px solid var(--rule); }
.split + .split { margin-top: 0; }
.split img { border-radius: var(--radius); aspect-ratio: 5 / 3; object-fit: cover; width: 100%; }
.split p { color: var(--mist); max-width: 60ch; }
.split h2 { margin-bottom: 14px; }
.split.reverse > :first-child { order: 2; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } .split.reverse > :first-child { order: 0; } }

.cta-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); margin-top: clamp(40px, 6vw, 72px); }
.cta-row > div { background: var(--ink-2); border-radius: var(--radius); padding: clamp(22px, 3vw, 34px); border-left: 4px solid; border-image: var(--grad) 1; }
.cta-row h3 { margin-bottom: 8px; }
.cta-row p { color: var(--mist); }
@media (max-width: 700px) { .cta-row { grid-template-columns: 1fr; } }

/* ---------- Event-Seite ---------- */
.event-top { padding: 24px 0 0; }
.player { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius); overflow: hidden; }
.player-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.player-poster.noimg { display: grid; }
.player-cover { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; padding: 20px; text-align: center; background: rgba(11, 14, 19, .45); }
.player-play { width: 92px; height: 92px; border-radius: 50%; border: 0; background: var(--grad); color: #fff; cursor: pointer; display: grid; place-items: center; }
.player-play:hover { transform: scale(1.04); }
.player-play svg { width: 38px; height: 38px; margin-left: 6px; }
.player-note { margin: 0; max-width: 46ch; font-size: .88rem; color: var(--paper); text-shadow: 0 1px 3px rgba(0,0,0,.6); }
.player-note a { color: var(--paper); }
.player-wait { font: 700 clamp(1.3rem, 3vw, 2rem)/1.1 var(--display); text-shadow: 0 2px 8px rgba(0,0,0,.6); }
.player-countdown { font: 700 clamp(2rem, 6vw, 4rem)/1 var(--display); font-variant-numeric: tabular-nums; }
.player iframe, .player video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.ad-bar { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 14px; background: linear-gradient(to top, rgba(0,0,0,.75), transparent); z-index: 2; }
.ad-bar span { font: 600 .95rem/1 var(--display); background: rgba(0,0,0,.6); padding: 6px 8px; border-radius: 3px; }
.ad-bar a, .ad-bar button { font: 700 .95rem/1 var(--display); background: rgba(0,0,0,.6); color: #fff; border: 1px solid rgba(255,255,255,.4); padding: 8px 12px; border-radius: 3px; cursor: pointer; text-decoration: none; }
.ad-bar button[disabled] { opacity: .6; cursor: default; }

.event-head { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: start; padding: 26px 0 30px; border-bottom: 1px solid var(--rule); }
.event-head .meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 12px; }
.event-head .meta a { font: 600 1.1rem/1 var(--display); color: var(--mist); text-decoration: none; }
.event-head .meta a:hover { color: var(--paper); }
.event-head .sub { font-size: 1.25rem; color: var(--mist); margin: 8px 0 0; }
.event-facts { display: grid; gap: 2px; min-width: 230px; margin: 0; }
.event-facts div { background: var(--ink-2); padding: 10px 14px; }
.event-facts div:first-child { border-radius: var(--radius) var(--radius) 0 0; }
.event-facts div:last-child { border-radius: 0 0 var(--radius) var(--radius); }
.event-facts dt { font-size: .82rem; color: var(--mist); }
.event-facts dd { margin: 0; font: 700 1.25rem/1.15 var(--display); }
@media (max-width: 760px) { .event-head { grid-template-columns: 1fr; } }

/* ---------- Inhaltsseiten ---------- */
.page-head { padding: clamp(36px, 6vw, 64px) 0 26px; border-bottom: 1px solid var(--rule); }
.page-head p { color: var(--mist); margin: 12px 0 0; max-width: 60ch; }
.prose { max-width: 72ch; padding: 32px 0 0; }
.prose h2 { font-size: 2rem; margin: 1.4em 0 .5em; }
.prose h3 { margin: 1.2em 0 .4em; }
.prose a { color: var(--accent); }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose img { border-radius: var(--radius); margin: 1em 0; }
.prose details { border-bottom: 1px solid var(--rule); }
.prose details:first-of-type { border-top: 1px solid var(--rule); }
.prose summary { cursor: pointer; padding: 16px 0; font: 700 1.3rem/1.2 var(--display); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.prose summary::-webkit-details-marker { display: none; }
.prose summary::after { content: "+"; color: var(--accent); font-size: 1.6rem; line-height: .8; }
.prose details[open] summary::after { content: "–"; }
.prose details > :not(summary) { color: var(--mist); }

/* Pagination */
.pager { display: flex; gap: 8px; justify-content: center; margin-top: 32px; }
.pager a, .pager span { min-width: 44px; padding: 10px 14px; text-align: center; border-radius: var(--radius); background: var(--ink-2); text-decoration: none; font: 600 1.05rem/1 var(--display); }
.pager span { background: var(--paper); color: var(--ink); }

/* ---------- Formulare ---------- */
.form-card { max-width: 480px; margin: clamp(36px, 6vw, 72px) auto 0; background: var(--ink-2); border-radius: var(--radius); padding: clamp(22px, 4vw, 40px); }
.form-card h1 { font-size: 2.4rem; margin-bottom: 8px; }
.form-card > p { color: var(--mist); }
.form { display: grid; gap: 16px; margin-top: 20px; }
.form label { display: grid; gap: 6px; font-weight: 500; }
.form input:not([type="checkbox"]), .form textarea, .form select {
  width: 100%; font: inherit; color: var(--paper); background: var(--ink); border: 1px solid var(--rule);
  border-radius: var(--radius); padding: 12px 14px;
}
.form input:focus, .form textarea:focus { outline: 3px solid var(--accent); outline-offset: 0; border-color: transparent; }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--mist); }
.form .check input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--accent); }
.form .check a { color: var(--paper); }
.form .error { color: #ff8b84; font-size: .92rem; font-weight: 400; }
.form .btn { justify-self: start; }
.form-links { margin-top: 18px; color: var(--mist); font-size: .95rem; }
.form-links a { color: var(--paper); }
.hp { position: absolute; left: -9999px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(24px, 5vw, 64px); }
.contact-grid .form-card { margin: 32px 0 0; max-width: none; }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }

.notice { padding: 14px 16px; border-radius: var(--radius); margin: 16px 0 0; background: var(--ink-3); border-left: 4px solid var(--mist); }
.notice-success { border-color: #3fbf7f; }
.notice-error { border-color: #ff6a61; }
.notice-info { border-color: var(--accent); }
.flashes { margin-top: 16px; }

.account-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--gap); margin-top: 32px; }
.account-grid .form-card { margin: 0; max-width: none; }
.account-grid h2 { font-size: 1.6rem; }

.empty { color: var(--mist); padding: 24px 0; border-top: 1px solid var(--rule); }

/* ---------- Footer ---------- */
.site-footer { position: relative; isolation: isolate; margin-top: clamp(56px, 8vw, 100px); padding: 56px 0 28px; border-top: 1px solid var(--rule); overflow: hidden; background: #0C0F14; }
/* Wellenmuster aus der Streamster-CI, dezent hinter dem Footer */
.site-footer::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background: url("../img/footer-bg.png") no-repeat right -40px bottom / auto 150%;
  -webkit-mask-image: linear-gradient(to left, #000 0%, #000 45%, transparent 100%); mask-image: linear-gradient(to left, #000 0%, #000 45%, transparent 100%); }
@supports (background-image: image-set(url("x.webp") type("image/webp"))) {
  .site-footer::before { background-image: image-set(url("../img/footer-bg.webp") type("image/webp"), url("../img/footer-bg.png") type("image/png")); }
}
.site-footer .wrap { position: relative; }
@media (max-width: 800px) { .site-footer::before { background-size: 180% auto; background-position: 65% bottom; opacity: .4; -webkit-mask-image: linear-gradient(to top, #000 0%, transparent 70%); mask-image: linear-gradient(to top, #000 0%, transparent 70%); } }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-grid a { text-decoration: none; color: var(--mist); }
.footer-grid a:hover { color: var(--paper); text-decoration: underline; }
.footer-grid .logo-text { font-size: 1.5rem; }
.footer-grid p { color: var(--mist); font-size: .95rem; margin-top: 12px; max-width: 34ch; }
.social { display: flex; gap: 10px; margin-top: 16px; }
.social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--ink-2); }
.social svg { width: 18px; height: 18px; fill: var(--paper); }
.legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--rule); color: var(--mist); font-size: .9rem; }
.legal ul { display: flex; flex-wrap: wrap; gap: 18px; list-style: none; margin: 0; padding: 0; }
.legal a { color: var(--mist); }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* Bühne auf schmalen Bildschirmen: höheres Format, damit die Bauchbinde Platz hat */
@media (max-width: 640px) {
  .slide { aspect-ratio: 4 / 5; }
  .lower-third .sub { display: none; }
}

/* =========================================================
   Eigener Videoplayer (player.js)
   ========================================================= */
.sp { outline: none; user-select: none; -webkit-user-select: none; touch-action: manipulation; }
.sp:focus-visible { box-shadow: 0 0 0 3px var(--accent); }
.sp-stage, .sp-holder, .sp-stage iframe, .sp-stage video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.sp-stage { overflow: hidden; background: #000; }
/* YouTube selbst bekommt nie einen Klick: Iframe ohne Zeigerereignisse plus Schutzfläche darüber */
.sp-stage iframe, .sp-stage video { pointer-events: none; }
.sp-shield { position: absolute; inset: 0; z-index: 2; background: transparent; cursor: pointer; }
.sp.is-ready:not(.show-controls) .sp-shield { cursor: none; }

/* Deckel: Startbild, Pause- und Endbildschirm – verdeckt auch YouTube-Vorschläge */
.sp-cover {
  position: absolute; inset: 0; z-index: 3; display: grid; place-items: center;
  background: #000 center / cover no-repeat; pointer-events: none; opacity: 1; transition: opacity .2s;
}
.sp-cover::before { content: ""; position: absolute; inset: 0; background: rgba(11, 14, 19, .35); }
.sp.is-started:not(.is-paused) .sp-cover { opacity: 0; }
.sp.is-started.is-paused:not(.is-ended) .sp-cover { background-image: none !important; background-color: rgba(11, 14, 19, .55); }
.sp.is-started.is-paused:not(.is-ended) .sp-cover::before { display: none; }
.sp.is-dragging .sp-cover { opacity: 0; }
.sp-big {
  position: relative; width: 84px; height: 84px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--grad); color: #fff; display: grid; place-items: center; pointer-events: auto;
}
.sp-big svg { width: 40px; height: 40px; }
.sp.is-started:not(.is-paused) .sp-big { pointer-events: none; }
.sp-error { position: relative; max-width: 40ch; text-align: center; padding: 20px; margin: 0; }
.sp.is-error .sp-controls, .sp.is-error .sp-shield { display: none; }

/* Ladekreis */
.sp-spinner { position: absolute; z-index: 3; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%;
  border: 4px solid rgba(255,255,255,.25); border-top-color: var(--accent); animation: sp-spin .8s linear infinite; display: none; pointer-events: none; }
.sp.is-buffering:not(.is-paused) .sp-spinner, .sp:not(.is-ready) .sp-spinner { display: block; }
.sp:not(.is-ready) .sp-big { display: none; }
@keyframes sp-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .sp-spinner { animation-duration: 2.4s; } }

/* Steuerleiste */
.sp-controls {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; padding: 28px 14px 10px;
  background: linear-gradient(to top, rgba(9, 11, 15, .9), rgba(9, 11, 15, 0));
  opacity: 0; transform: translateY(6px); transition: opacity .2s, transform .2s; pointer-events: none;
}
.sp.show-controls .sp-controls, .sp.is-paused.is-ready .sp-controls { opacity: 1; transform: none; pointer-events: auto; }
.sp:not(.is-ready) .sp-controls { display: none; }
.sp-row { display: flex; align-items: center; gap: 4px; }
.sp-spacer { flex: 1; }
.sp-btn { width: 42px; height: 42px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: #fff; cursor: pointer; padding: 0; }
.sp-btn:hover { background: rgba(255,255,255,.12); }
.sp-btn svg { width: 26px; height: 26px; }
/* Handy: ein Tipp blendet die Symbole ein – Leiste unten und Pause-Knopf in der Mitte, das Bild bleibt frei */
.sp.is-touch.show-controls.is-started:not(.is-paused):not(.is-dragging) .sp-cover { opacity: 1; background-color: transparent; background-image: none !important; }
.sp.is-touch.show-controls.is-started:not(.is-paused) .sp-cover::before { display: none; }
.sp.is-touch.show-controls.is-started:not(.is-paused):not(.is-dragging) .sp-big { pointer-events: auto; }
.sp.is-touch.is-buffering:not(.is-paused) .sp-big { visibility: hidden; }
/* Doppeltipp am Handy: Info links (zurück) bzw. rechts (vor) */
.sp-seekhint { position: absolute; z-index: 5; top: 0; bottom: 0; width: 36%; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  background: rgba(9, 11, 15, .5); color: #fff; font: 600 1.05rem/1 var(--text);
  pointer-events: none; opacity: 0; transition: opacity .25s; }
.sp-seekhint.is-left, .sp-seekhint.is-right { display: flex; }
.sp-seekhint.is-left { left: 0; border-radius: 0 100% 100% 0 / 0 50% 50% 0; padding-right: 6%; }
.sp-seekhint.is-right { right: 0; border-radius: 100% 0 0 100% / 50% 0 0 50%; padding-left: 6%; }
.sp-seekhint.is-left .sp-sh-ico { transform: scaleX(-1); }
.sp-seekhint.is-on { opacity: 1; }
.sp-sh-ico svg { width: 44px; height: 44px; display: block; }
.sp-seekhint.is-pulse .sp-sh-ico svg { animation: sp-seekpulse .35s ease-out; }
@keyframes sp-seekpulse { from { opacity: .35; } to { opacity: 1; } }
.sp.needs-rotate .sp-seekhint { visibility: hidden; }
.sp-time { font: 600 1.02rem/1 var(--display); font-variant-numeric: tabular-nums; color: #fff; margin-left: 8px; white-space: nowrap; }
.sp-live { display: inline-flex; align-items: center; gap: 6px; margin-left: 8px; padding: 6px 10px 5px; border: 0; border-radius: 3px; cursor: pointer;
  font: 700 .95rem/1 var(--display); background: rgba(255,255,255,.16); color: #fff; }
.sp-live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #9aa; }
.sp-live.at-edge { background: var(--live); cursor: default; }
.sp-live.at-edge::before { background: #fff; }
.sp-live[hidden], .sp-btn[hidden] { display: none; }
.sp-btn.is-on { color: var(--accent); }
.sp-btn.is-on::after { content: ""; position: absolute; width: 18px; height: 2px; background: var(--accent); margin-top: 30px; border-radius: 1px; }
.sp-btn { position: relative; }
.sp-menu-wrap { position: relative; }
.sp-menu { position: absolute; right: 0; bottom: 50px; min-width: 180px; padding: 6px; border-radius: var(--radius); background: rgba(9, 11, 15, .96); box-shadow: 0 0 0 1px var(--rule); }
.sp-menu[hidden] { display: none; }
.sp-menu-item { display: block; width: 100%; text-align: left; padding: 10px 12px 10px 30px; border: 0; border-radius: 4px; background: none; color: #fff; font: 500 .98rem/1.2 var(--text); cursor: pointer; position: relative; }
.sp-menu-item:hover, .sp-menu-item:focus-visible { background: rgba(255,255,255,.1); }
.sp-menu-item.is-current::before { content: ""; position: absolute; left: 11px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--accent); }

.sp-vol { display: flex; align-items: center; }
.sp-volume { width: 0; opacity: 0; transition: width .2s, opacity .2s; accent-color: var(--accent); cursor: pointer; }
.sp-vol:hover .sp-volume, .sp-volume:focus-visible { width: 84px; opacity: 1; margin-right: 6px; }

/* Fortschrittsleiste */
.sp-progress { position: relative; height: 18px; display: flex; align-items: center; cursor: pointer; margin-bottom: 4px; touch-action: none; }
.sp-rail { position: relative; width: 100%; height: 4px; background: rgba(255,255,255,.25); border-radius: 2px; transition: height .12s; }
.sp-progress:hover .sp-rail, .sp.is-dragging .sp-rail, .sp-progress:focus-visible .sp-rail { height: 7px; }
.sp-buffer { position: absolute; left: 0; top: 0; bottom: 0; background: rgba(255,255,255,.35); border-radius: 2px; }
.sp-played { position: absolute; left: 0; top: 0; bottom: 0; background: var(--grad); border-radius: 2px; }
.sp.is-live .sp-played { background: var(--pink); }
.sp-handle { position: absolute; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--accent); transform: scale(0); transition: transform .12s; }
.sp.is-live .sp-handle { background: var(--live); }
.sp-progress:hover .sp-handle, .sp.is-dragging .sp-handle, .sp-progress:focus-visible .sp-handle { transform: scale(1); }
.sp-tip { position: absolute; bottom: 22px; transform: translateX(-50%); padding: 4px 7px; border-radius: 3px; background: rgba(6,14,26,.92);
  font: 600 .9rem/1 var(--display); font-variant-numeric: tabular-nums; white-space: nowrap; opacity: 0; pointer-events: none; }
.sp-progress:hover .sp-tip, .sp.is-dragging .sp-tip { opacity: 1; }
.sp-progress:focus-visible { outline: none; }
.sp.no-seek .sp-progress { visibility: hidden; }

/* Vollbild */
.sp.is-fs, .sp:fullscreen, .sp:-webkit-full-screen { border-radius: 0; aspect-ratio: auto; width: 100%; height: 100%; }
/* Eigener Vollbildmodus (iPhone): fest über allem, inkl. Notch-Abständen */
.sp-fake-fs {
  position: fixed !important; top: 0; left: 0; right: 0; bottom: 0; z-index: 2147483000;
  width: 100vw; height: 100vh; height: 100dvh; max-width: none; margin: 0;
  border-radius: 0 !important; aspect-ratio: auto !important; background: #000; overscroll-behavior: contain;
}
.sp-fake-fs .sp-controls { padding-left: max(14px, env(safe-area-inset-left)); padding-right: max(14px, env(safe-area-inset-right)); padding-bottom: max(10px, env(safe-area-inset-bottom)); }
.sp-fake-fs .sp-adbadge { top: max(14px, env(safe-area-inset-top)); left: max(14px, env(safe-area-inset-left)); }
/* Seite dahinter bleibt scrollbar, damit Safari die Leiste beim Wischen ausblendet */
html.sp-fakefs-on body { min-height: calc(100vh + 400px); }
/* iPhone quer: die Streifen neben dem sicheren Bereich (Notch) schwarz wie der Player */
html.sp-fakefs-on, html.sp-fakefs-on body { background: #000; }
.sp-swipe { position: absolute; z-index: 6; left: 50%; top: 18px; transform: translateX(-50%); display: none; pointer-events: none;
  padding: 10px 14px 10px 36px; border-radius: var(--radius); background: rgba(9, 11, 15, .88); font: 600 .95rem/1.2 var(--text); white-space: nowrap; }
.sp-swipe::before { content: ""; position: absolute; left: 14px; top: 50%; width: 10px; height: 10px; margin-top: -2px;
  border-left: 2px solid #fff; border-top: 2px solid #fff; transform: rotate(45deg); animation: sp-up 1.2s ease-in-out infinite; }
@keyframes sp-up { 50% { transform: translateY(-5px) rotate(45deg); } }
.sp.show-swipe .sp-swipe { display: block; }
@media (prefers-reduced-motion: reduce) { .sp-swipe::before { animation: none; } }
.sp-rotate { position: absolute; z-index: 6; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 12px 16px; border-radius: var(--radius);
  background: rgba(9, 11, 15, .9); font: 600 1rem/1.3 var(--text); text-align: center; display: none; pointer-events: none; }
.sp.show-rotate .sp-rotate { display: block; }

/* Preroll: Werbe-Kennzeichnung, Restzeit, keine Spul-Funktionen */
.sp-adbadge { position: absolute; z-index: 5; top: 14px; left: 14px; display: none; align-items: center; gap: 8px; pointer-events: none; }
.sp.is-ad .sp-adbadge { display: flex; }
.sp-adlabel { font: 700 .95rem/1 var(--display); text-transform: uppercase; font-style: italic; background: var(--grad); color: #fff; padding: 6px 9px 5px; border-radius: 3px; }
.sp-adtime { font: 600 .95rem/1 var(--display); font-variant-numeric: tabular-nums; background: rgba(9, 11, 15, .75); padding: 6px 9px 5px; border-radius: 3px; }
.sp-adlink { position: absolute; z-index: 5; right: 14px; bottom: 76px; display: none; font: 700 1rem/1 var(--display); color: #fff; text-decoration: none;
  background: rgba(9, 11, 15, .8); border: 1px solid rgba(255,255,255,.4); padding: 10px 14px; border-radius: 3px; }
.sp.is-ad .sp-adlink { display: inline-block; }
.sp.is-ad .sp-shield { cursor: pointer; }
.sp.is-ad .sp-progress { pointer-events: none; }
.sp.is-ad .sp-handle, .sp.is-ad .sp-tip { display: none; }
.sp.is-ad .sp-seekbtn, .sp.is-ad .sp-time { display: none; }
.sp.is-ad .sp-played { background: #fff; }

/* Autoplay-Sperre (iPhone): Hinweis zum Tippen bzw. Ton einschalten */
.sp-taphint { position: absolute; z-index: 5; left: 50%; bottom: 22%; transform: translateX(-50%); display: none; pointer-events: none;
  padding: 10px 14px; border-radius: var(--radius); background: rgba(9, 11, 15, .85); font: 600 1rem/1.2 var(--text); white-space: nowrap; }
.sp.needs-tap .sp-taphint { display: block; }
.sp.needs-tap .sp-shield, .sp.needs-tap .sp-cover { display: none; }
.sp.needs-tap .sp-stage iframe { pointer-events: auto; }
.sp-unmute { position: absolute; z-index: 5; top: 14px; right: 14px; display: none; align-items: center; gap: 8px; border: 0; cursor: pointer;
  background: var(--grad); color: #fff; font: 700 1rem/1 var(--display); padding: 9px 12px; border-radius: 3px; }
.sp-unmute svg { width: 20px; height: 20px; }
.sp.show-unmute .sp-unmute { display: inline-flex; }
.sp.is-ad.show-unmute .sp-unmute { top: auto; bottom: 76px; right: auto; left: 14px; }

@media (max-width: 560px) {
  .sp-hide-sm, .sp-volume { display: none; }
  .sp-controls { padding: 22px 6px 4px; }
  .sp-big { width: 68px; height: 68px; }
}
@media (prefers-reduced-motion: reduce) { .sp-controls, .sp-cover { transition: none; } }

/* =========================================================
   Meine Momente
   ========================================================= */
.sp-moment-btn { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px 0 9px; margin-right: 4px; border: 0; border-radius: 18px;
  background: rgba(255,255,255,.14); color: #fff; font: 700 1rem/1 var(--display); cursor: pointer; }
.sp-moment-btn svg { width: 20px; height: 20px; }
.sp-moment-btn:hover, .sp.is-marking .sp-moment-btn { background: var(--grad); }
.sp-moment-btn[hidden] { display: none; }
.sp-range { position: absolute; top: -3px; bottom: -3px; display: none; background: rgba(255, 110, 40, .55); box-shadow: inset 0 0 0 2px var(--orange); border-radius: 2px; pointer-events: none; }
.sp-mpanel { position: absolute; z-index: 6; right: 14px; bottom: 76px; width: min(360px, calc(100% - 28px)); padding: 16px; border-radius: var(--radius);
  background: rgba(9, 11, 15, .96); box-shadow: 0 0 0 1px var(--rule), 0 12px 40px rgba(0,0,0,.5); display: grid; gap: 10px; }
.sp-mpanel[hidden] { display: none; }
/* Hinweis: Aufzeichnung wird noch verarbeitet (Moment bzw. Sprungmarke noch nicht verfügbar) */
.sp-pending { position: absolute; z-index: 5; top: 14px; left: 50%; transform: translateX(-50%); width: min(460px, calc(100% - 28px)); padding: 14px 16px;
  border-radius: var(--radius); background: rgba(12, 14, 20, .92); box-shadow: 0 8px 28px rgba(0, 0, 0, .45); color: #fff; text-align: center; }
.sp-pending[hidden] { display: none; }
.sp-pending-title { margin: 0 0 4px; font-weight: 700; }
.sp-pending-text { margin: 0 0 10px; font-size: .9rem; line-height: 1.4; color: rgba(255, 255, 255, .78); }
.sp-pending-btn { padding: 6px 14px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px; background: transparent; color: #fff; font: inherit; font-size: .85rem; cursor: pointer; }
.sp-pending-btn:hover { background: rgba(255, 255, 255, .12); }
@media (max-width: 560px) { .sp-pending { top: 8px; padding: 10px 12px; } .sp-pending-text { font-size: .82rem; margin-bottom: 8px; } }
.sp-mp-title { margin: 0; font: 800 1.3rem/1 var(--display); font-style: italic; text-transform: uppercase; }
.sp-mp-text { margin: 0; color: var(--mist); font-size: .95rem; }
.sp-mp-row { display: flex; align-items: center; gap: 4px; }
.sp-mp-label { width: 44px; font-size: .85rem; color: var(--mist); }
.sp-mp-row button { min-width: 34px; height: 32px; padding: 0 6px; border: 0; border-radius: 4px; background: rgba(255,255,255,.1); color: #fff; font: 600 .9rem/1 var(--text); cursor: pointer; }
.sp-mp-row button:hover { background: rgba(255,255,255,.2); }
.sp-mp-row .sp-mp-now { margin-left: auto; background: rgba(255, 110, 40, .25); }
.sp-mp-val { min-width: 62px; text-align: center; font: 700 1.15rem/1 var(--display); font-variant-numeric: tabular-nums; }
.sp-mp-len { margin: 0; font-size: .9rem; color: var(--mist); }
.sp-mp-len.is-error, .sp-mp-msg.is-error { color: #ff8b84; }
.sp-mp-msg { margin: 0; font-size: .9rem; color: var(--mist); min-height: 1.2em; }
.sp-mp-msg.is-ok { color: #6fdba4; }
.sp-mp-msg a { color: #fff; }
.sp-mp-name { width: 100%; padding: 9px 11px; border: 1px solid var(--rule); border-radius: 4px; background: var(--ink); color: #fff; font: inherit; font-size: .95rem; user-select: text; -webkit-user-select: text; }
.sp-mp-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.sp-mp-actions button, .sp-mp-actions a { height: 38px; padding: 0 14px; border: 0; border-radius: 4px; cursor: pointer; font: 700 1rem/38px var(--display); text-decoration: none; }
.sp-mp-save { background: var(--grad); color: #fff; }
.sp-mp-save[disabled] { opacity: .45; cursor: default; }
.sp-mp-preview, .sp-mp-cancel { background: rgba(255,255,255,.12); color: #fff; }
@media (max-width: 560px) {
  .sp-moment-btn span { display: none; }
  .sp-moment-btn { padding: 0 8px; }
  .sp-mpanel { left: 8px; right: 8px; bottom: 60px; width: auto; padding: 12px; }
  .sp-mp-row button { min-width: 30px; }
}

.status-moment { background: var(--grad); color: #fff; }
.status-shared { background: rgba(111, 219, 164, .18); color: #6fdba4; margin-left: 8px; }
.moment-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }

.moments { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 18px; }
.moment { display: grid; grid-template-columns: 260px 1fr; gap: 20px; padding: 16px; background: var(--ink-2); border-radius: var(--radius); }
.moment-thumb { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 4px; overflow: hidden; background: var(--ink-3); }
.moment-thumb img { width: 100%; height: 100%; object-fit: cover; }
.moment-thumb .noimg { width: 100%; height: 100%; }
.moment-len { position: absolute; right: 8px; bottom: 8px; padding: 4px 7px 3px; border-radius: 3px; background: rgba(6,14,26,.85); font: 700 .95rem/1 var(--display); }
.moment-sport { font: 600 .95rem/1 var(--display); color: var(--mist); }
.moment h3 { margin-top: 6px; font-size: 1.5rem; }
.moment h3 a { text-decoration: none; }
.moment h3 a:hover { text-decoration: underline; }
.moment-event { margin: 4px 0 0; color: var(--mist); }
.moment-meta { margin: 6px 0 0; font-size: .9rem; color: var(--mist); }
.moment-tools { display: grid; gap: 10px; margin-top: 14px; }
.moment-rename { display: flex; gap: 8px; }
.moment-rename input { flex: 1; min-width: 0; padding: 10px 12px; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--ink); color: var(--paper); font: inherit; }
.moment-buttons { display: flex; gap: 8px; flex-wrap: wrap; }
.moment-buttons .btn { font-size: .95rem; padding: .7em 1em; }
@media (max-width: 700px) {
  .moment { grid-template-columns: 1fr; }
  .moment-rename { flex-direction: column; }
}

/* Anmelden mit Google */
.btn-google { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 20px; padding: 12px 16px; border-radius: var(--radius);
  background: #fff; color: #1f1f1f; text-decoration: none; font: 500 1rem/1.2 var(--text); box-shadow: inset 0 0 0 1px #dadce0; }
.btn-google:hover { background: #f2f2f2; }
.btn-google svg { width: 20px; height: 20px; flex: none; }
.form-card .or { display: flex; align-items: center; gap: 12px; margin: 18px 0 0; color: var(--mist); font-size: .9rem; }
.form-card .or::before, .form-card .or::after { content: ""; flex: 1; height: 1px; background: var(--rule); }

/* Kurzer Hinweis unten am Bildschirm */
.toast { position: fixed; left: 50%; bottom: max(24px, env(safe-area-inset-bottom)); z-index: 3000; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  padding: 12px 18px; border-radius: var(--radius); background: #fff; color: var(--ink); font: 600 1rem/1.3 var(--text); box-shadow: 0 10px 30px rgba(0,0,0,.35);
  transition: opacity .2s, transform .2s; max-width: calc(100vw - 32px); }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
@media (prefers-reduced-motion: reduce) { .toast { transition: none; } }

/* Als Web-App vom Home-Bildschirm: Inhalt nicht unter die Statusleiste schieben */
.site-header { padding-top: env(safe-area-inset-top); }

/* Kein seitliches Verschieben der Seite auf dem Handy (Ursache für Ränder im Vollbild) */
main#main, .site-footer { overflow-x: clip; }

/* Events: Filter nach Sportart und Jahr */
.events-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px 32px; }
.filters { display: flex; flex-wrap: wrap; align-items: end; gap: 14px; }
.filters label { display: grid; gap: 6px; font-size: .88rem; color: var(--mist); }
.filters select {
  appearance: none; -webkit-appearance: none; min-width: 220px; padding: 12px 42px 12px 14px; border-radius: var(--radius);
  border: 1px solid var(--rule); background: var(--ink-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF6E28' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 16px;
  color: var(--paper); font: 600 1.1rem/1.2 var(--display); cursor: pointer;
}
.filters label:last-of-type select { min-width: 150px; }
.filters select:hover { border-color: var(--accent); }
.filters-reset { padding: 12px 4px; color: var(--mist); font-size: .95rem; }
.filters-reset:hover { color: var(--paper); }
.empty a { color: var(--accent); }
@media (max-width: 640px) { .filters, .filters label { width: 100%; } .filters select { width: 100%; min-width: 0; } }

/* Spielstätten-Grafik: Vorschaubild für anstehende Events und wenn kein Bild hinterlegt ist */
:root { --court-bg1: #1B212C; --court-bg2: #0D1016; --court-glow: var(--pink); --court-glow2: var(--orange); --court-line: rgba(255,255,255,.55); }
.court { display: block; width: 100%; height: 100%; }
.player-poster.court-poster { position: absolute; inset: 0; }
.player-poster.court-poster .court { width: 100%; height: 100%; }
.thumb .court, .tv-thumb .court, .pt-feature-img .court, .moment-thumb .court { position: absolute; inset: 0; }
.slide .court { position: absolute; inset: 0; }
/* Hinter dem Countdown die Linien etwas zurücknehmen, damit die Zeit klar lesbar bleibt */
.player-poster.court-poster { --court-line: rgba(255,255,255,.32); }
.portal .player-poster.court-poster { --court-line: rgba(255,255,255,.3); }

/* Sportarten-Icons (Stil: Linie im Verlauf) */
:root { --icon-a: var(--pink); --icon-b: var(--orange); }
.sport-icon { display: block; width: 100%; height: 100%; }
.noimg .sport-icon { width: 30%; height: auto; }

/* Bühne: Bild oben, Text darunter – nichts liegt über dem Thumbnail */
.slide { aspect-ratio: auto; background: none; overflow: visible; display: flex; flex-direction: column; gap: 16px; border-radius: 0; }
.slide-media { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--ink-2); }
.slide-text { display: grid; gap: 6px; justify-items: start; padding: 0 2px; }
.slide-text .meta { display: flex; align-items: center; gap: 10px; font: 600 1.05rem/1 var(--display); color: var(--mist); }
.slide-title { font: 800 clamp(1.5rem, 3vw, 2.4rem)/1 var(--display); font-style: italic; text-transform: uppercase; }
.slide-text .sub { color: var(--mist); font-size: 1.05rem; }
.slide-text .when { margin-top: 4px; font: 700 1.05rem/1 var(--display); color: var(--accent); }
.slide:hover .slide-title { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
@media (max-width: 640px) { .slide { aspect-ratio: auto; } .slide-media { aspect-ratio: 4 / 5; } }
.thumb, .tv-thumb, .pt-feature-img { position: relative; }
.player-poster.thumb-poster { position: absolute; inset: 0; }
.player-poster.thumb-poster .th-shade { display: none; }

/* =========================================================
   Phase 3: Navigation, Startseite
   ========================================================= */
.nav a[aria-current="page"] { background: none; color: var(--paper); box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }
.account-login { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 22px; text-decoration: none; font: 600 1.05rem/1 var(--display); box-shadow: inset 0 0 0 1.5px var(--rule); }
.account-login:hover { box-shadow: inset 0 0 0 1.5px var(--mist); }
.account-login svg { width: 20px; height: 20px; }
.account-menu { position: relative; }
.account-menu summary { list-style: none; cursor: pointer; }
.account-menu summary::-webkit-details-marker { display: none; }
.avatar { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--grad); color: #fff; font: 800 1.1rem/1 var(--display); }
.account-pop { position: absolute; right: 0; top: calc(100% + 10px); min-width: 210px; padding: 8px; border-radius: var(--radius); background: var(--ink-2); box-shadow: 0 0 0 1px var(--rule), 0 14px 40px rgba(0,0,0,.45); display: grid; z-index: 60; }
.account-pop strong { padding: 8px 12px 10px; font: 700 1.05rem/1.1 var(--display); border-bottom: 1px solid var(--rule); margin-bottom: 4px; }
.account-pop a, .account-pop button { display: block; width: 100%; text-align: left; padding: 9px 12px; border-radius: 4px; text-decoration: none; background: none; border: 0; color: var(--paper); font: 500 .98rem/1.2 var(--text); cursor: pointer; }
.account-pop a:hover, .account-pop button:hover { background: var(--ink-3); }
@media (max-width: 900px) { .site-header.open .header-actions { justify-content: flex-start; } .account-pop { left: 0; right: auto; } }

/* Kalender: gleichmäßiges Raster – Tage rücken lückenlos nach, die erste Karte eines Tages trägt das Datum */
.cal-flow { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 30px 18px; transition: opacity .15s; }
.cal-flow.is-loading { opacity: .45; }
.cal-card { min-width: 0; text-decoration: none; display: grid; gap: 3px; align-content: start; }
.cal-day { display: flex; align-items: center; gap: 6px; height: 30px; margin-bottom: 10px; border-bottom: 1px solid var(--rule); font: 700 1.02rem/1 var(--display); color: var(--paper); white-space: nowrap; }
.cal-card:not(.has-day) .cal-day { border-bottom-style: dashed; border-bottom-color: color-mix(in srgb, var(--rule) 70%, transparent); }
.cal-wd { color: var(--mist); text-transform: uppercase; letter-spacing: .05em; font-size: .9rem; }
.cal-card.is-today.has-day .cal-day { color: var(--accent); border-bottom-color: var(--accent); }
.cal-card.is-today.has-day .cal-wd { color: var(--accent); }
.cal-thumb { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: var(--ink-2); margin-bottom: 10px; transition: transform .2s ease, box-shadow .2s ease; }
.cal-card:hover .cal-thumb { transform: translateY(-2px); box-shadow: 0 0 0 2px rgba(255,255,255,.85); }
.cal-card.is-ondemand .cal-thumb { filter: saturate(.85); }
.cal-chip { position: absolute; z-index: 3; left: 10px; top: 10px; padding: 5px 8px 4px; border-radius: 4px; background: rgba(243,246,250,.95); color: #11151C; font: 700 .9rem/1 var(--display); font-variant-numeric: tabular-nums; }
.cal-live { background: var(--live); color: var(--on-accent, #fff); display: inline-flex; gap: 6px; align-items: center; }
.cal-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: pulse 1.4s ease-in-out infinite; }
.cal-title { font: 600 1.08rem/1.2 var(--text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cal-sub { color: var(--mist); font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cal-compact { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
@media (prefers-reduced-motion: reduce) { .cal-thumb { transition: none; } .cal-live::before { animation: none; } }
/* Kalender-Seite: Werkzeugleiste */
.cal-page { padding-top: clamp(24px, 4vw, 44px); }
.cal-tools { display: grid; gap: 16px; margin-bottom: 30px; }
.cal-search { position: relative; display: block; }
.cal-search svg { position: absolute; left: 20px; top: 50%; width: 24px; height: 24px; margin-top: -12px; fill: none; stroke: var(--mist); stroke-width: 2; stroke-linecap: round; pointer-events: none; }
.cal-search input { width: 100%; height: 64px; padding: 0 56px 0 58px; border: 0; border-radius: 12px; background: var(--ink-2); color: var(--paper); font: 500 1.2rem/1 var(--text); box-shadow: inset 0 0 0 1px var(--rule); -webkit-appearance: none; appearance: none; }
.cal-search input::placeholder { color: var(--mist); }
.cal-search input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--accent); }
.cal-search input::-webkit-search-cancel-button { display: none; }
.cal-clear { position: absolute; right: 12px; top: 50%; width: 36px; height: 36px; margin-top: -18px; border: 0; border-radius: 50%; background: var(--ink-3); color: var(--paper); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.cal-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.cal-count { margin-left: auto; color: var(--mist); font-size: .95rem; }
.dd { position: relative; }
.dd-btn { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 14px 0 10px; border: 0; border-radius: 23px; background: var(--ink-2); color: var(--paper); box-shadow: inset 0 0 0 1px var(--rule); font: 600 1.05rem/1 var(--display); cursor: pointer; }
.dd-btn:hover, .dd-btn[aria-expanded="true"] { box-shadow: inset 0 0 0 1.5px var(--mist); }
.dd-ic { width: 28px; height: 28px; flex: none; display: grid; place-items: center; }
.dd-ic svg, .dd-ic img { width: 100%; height: 100%; }
.dd-ic > svg:not(.sport-icon) { width: 20px; height: 20px; fill: none; stroke: var(--accent); stroke-width: 1.8; }
.dd-chev { width: 18px; height: 18px; fill: none; stroke: var(--mist); stroke-width: 2; stroke-linecap: round; }
.dd-pop { position: absolute; z-index: 40; left: 0; top: calc(100% + 8px); width: 300px; max-height: 420px; display: grid; grid-template-rows: auto 1fr; border-radius: 12px; background: var(--ink-2); box-shadow: 0 0 0 1px var(--rule), 0 20px 50px rgba(0,0,0,.5); overflow: hidden; }
.dd-pop[hidden] { display: none; }
.dd-find { margin: 10px; padding: 10px 12px; border: 0; border-radius: 8px; background: var(--ink); color: var(--paper); font: inherit; box-shadow: inset 0 0 0 1px var(--rule); }
.dd-find:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--accent); }
.dd-list { overflow-y: auto; padding: 0 6px 8px; }
.dd-opt { display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px 10px; border: 0; border-radius: 8px; background: none; color: var(--paper); font: 500 1rem/1.1 var(--text); text-align: left; cursor: pointer; }
.dd-opt:hover, .dd-opt:focus-visible { background: var(--ink-3); outline: none; }
.dd-opt[aria-selected="true"] { background: var(--ink-3); box-shadow: inset 3px 0 0 var(--accent); }
.dd-opt[hidden] { display: none; }
.seg { display: inline-flex; padding: 4px; gap: 2px; border-radius: 23px; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--rule); }
.seg button { height: 38px; padding: 0 16px; border: 0; border-radius: 19px; background: none; color: var(--mist); font: 600 1rem/1 var(--display); cursor: pointer; }
.seg button:hover { color: var(--paper); }
.seg button[aria-checked="true"] { background: var(--paper); color: var(--ink); }
.cal-edge { display: flex; justify-content: center; padding: 10px 0 34px; }
.cal-edge-top { padding: 0 0 30px; }
.cal-edge[hidden] { display: none; }
.cal-more { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 20px; border: 0; border-radius: 22px; background: var(--ink-2); color: var(--paper); box-shadow: inset 0 0 0 1px var(--rule); font: 600 1.02rem/1 var(--display); cursor: pointer; }
.cal-more svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.cal-more:hover { box-shadow: inset 0 0 0 1.5px var(--mist); }
.cal-edge.is-loading .cal-more { opacity: .5; pointer-events: none; }
.cal-empty { color: var(--mist); padding: 30px 0; }
.cal-empty a { color: var(--accent); }
/* Handy: ruhige Liste, Bild links, Text rechts; Datum nur als Zwischenzeile, wenn ein neuer Tag beginnt */
@media (max-width: 700px) {
  .cal-flow { display: block; }
  .cal-card { grid-template-columns: 44% 1fr; grid-template-rows: auto auto auto 1fr; grid-template-areas: "day day" "thumb title" "thumb sub" "thumb ."; column-gap: 14px; row-gap: 3px; margin-bottom: 14px; }
  .cal-day { grid-area: day; height: auto; padding: 18px 0 10px; margin-bottom: 8px; }
  .cal-card:not(.has-day) .cal-day { display: none; }
  .cal-thumb { grid-area: thumb; margin: 0; }
  .cal-title { grid-area: title; font-size: 1rem; padding-top: 2px; }
  .cal-sub { grid-area: sub; }
  .cal-sub { font-size: .85rem; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .cal-chip { left: 6px; top: 6px; font-size: .78rem; padding: 4px 6px 3px; }
  .cal-search input { height: 54px; font-size: 1.05rem; }
  .cal-count { width: 100%; margin: 0; }
  .seg { overflow-x: auto; max-width: 100%; }
  .dd-pop { width: min(300px, calc(100vw - 40px)); }
}


/* Horizontale Leisten (Momente, Sportarten) */
.h-rail { display: grid; grid-auto-flow: column; grid-auto-columns: 220px; gap: 16px; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 10px; scrollbar-width: thin; scrollbar-color: var(--rule) transparent; }
.h-rail > * { scroll-snap-align: start; }
.moment-card { display: grid; gap: 4px; text-decoration: none; }
.mc-thumb { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: var(--ink-2); margin-bottom: 6px; }
.mc-thumb img, .mc-thumb .court { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mc-len { position: absolute; right: 8px; bottom: 8px; padding: 3px 7px 2px; border-radius: 3px; background: rgba(9,11,15,.85); font: 700 .85rem/1 var(--display); }
.mc-title { font: 700 1.1rem/1.15 var(--display); }
.mc-sub { color: var(--mist); font-size: .88rem; }

/* Meine Sportarten: Hochformat */
.sport-rail { grid-auto-columns: 170px; }
.sport-card { position: relative; }
.sc-link { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: 12px; overflow: hidden; text-decoration: none; background: var(--ink-2); isolation: isolate; }
.sc-court { position: absolute; inset: 0; z-index: -1; opacity: .55; transition: opacity .25s, transform .4s; }
.sc-court .court { width: 100%; height: 100%; }
.sc-link::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, rgba(17,21,28,.2), rgba(17,21,28,.92) 78%); }
.sc-icon { position: absolute; left: 50%; top: 40%; width: 46%; aspect-ratio: 1; transform: translate(-50%, -50%); }
.sc-icon svg, .sc-icon img { width: 100%; height: 100%; }
.sc-icon .sport-icon g { stroke-width: 1.2; }
.sc-name { position: absolute; left: 12px; right: 12px; bottom: 14px; font: 800 1.2rem/1.05 var(--display); font-style: italic; text-transform: uppercase; }
.sport-card:hover .sc-court { opacity: .85; transform: scale(1.05); }
.fav-btn { position: absolute; right: 8px; top: 8px; z-index: 2; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; border: 0; cursor: pointer; background: rgba(9,11,15,.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.fav-btn svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 1.8; }
.fav-btn[aria-pressed="true"] svg { fill: var(--pink); stroke: var(--pink); }
.sport-card.is-fav .sc-link { box-shadow: inset 0 0 0 2px var(--pink); }
@media (prefers-reduced-motion: reduce) { .sc-court { transition: none; } .sport-card:hover .sc-court { transform: none; } }

/* FAQ */
.faq-list { max-width: 860px; padding-top: 0; }

/* TV-Seite */
.tv-wrap { padding-top: 24px; }
.tv-stage .player { border-radius: 12px; }
.tv-offline { display: grid; place-items: center; color: var(--mist); }
.tv-onair { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding: 20px 0 0; }
.tv-onair h1 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.tv-onair p { margin: 0; color: var(--mist); flex-basis: 100%; }
.epg { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--paper); }
.epg-day { padding: 18px 0 8px; font: 700 1.1rem/1 var(--display); color: var(--accent); border-bottom: 1px solid var(--rule); }
.epg-item { position: relative; display: grid; grid-template-columns: 80px 1fr; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.epg-time { font: 700 1.4rem/1 var(--display); font-variant-numeric: tabular-nums; }
.epg-body strong { display: block; font: 700 1.2rem/1.2 var(--display); }
.epg-body span { color: var(--mist); font-size: .95rem; }
.epg-item.is-now { background: var(--ink-2); padding-left: 12px; padding-right: 12px; border-radius: 6px; }
.epg-item.is-now .epg-time { color: var(--live); }
.epg-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--rule); border-radius: 0 0 6px 6px; overflow: hidden; }
.epg-progress::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: var(--p); background: var(--grad); }
.lead-muted { color: var(--mist); margin-bottom: 18px; }
.providers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.providers li > *, .providers li { text-decoration: none; }
.providers li { display: grid; place-items: center; text-align: center; gap: 6px; min-height: 110px; padding: 18px; border-radius: 10px; background: var(--ink-2); }
.providers img { max-height: 48px; max-width: 80%; object-fit: contain; }
.provider-name { font: 800 1.4rem/1 var(--display); font-style: italic; text-transform: uppercase; }
.providers small { color: var(--mist); }

/* Produktion: redaktionelle Abschnitte mit großen Bildflächen */
.prod-sec { padding: clamp(48px, 8vw, 110px) 0 0; }
.prod-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.prod-sec.is-flip .prod-media { order: 2; }
.prod-media { position: relative; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: var(--ink-2); }
.prod-media img { width: 100%; height: 100%; object-fit: cover; }
.prod-media.is-empty { display: grid; place-items: center; background: repeating-linear-gradient(135deg, var(--ink-2) 0 14px, var(--ink-3) 14px 15px); }
.prod-ph { color: var(--mist); font: 600 .95rem/1 var(--display); letter-spacing: .06em; text-transform: uppercase; }
.prod-num { display: block; font: 800 1.1rem/1 var(--display); color: var(--accent); letter-spacing: .08em; margin-bottom: 12px; }
.prod-text h1 { font-size: clamp(2.6rem, 6vw, 5rem); }
.prod-text h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
.prod-text .prose { padding-top: 14px; color: var(--mist); }
.prod-todo { color: var(--mist); margin-top: 14px; font-style: italic; }
.prod-intro .prod-grid { grid-template-columns: 1fr; }
.prod-intro .prod-media { aspect-ratio: 21 / 9; order: 0 !important; }
@media (max-width: 800px) { .prod-grid { grid-template-columns: 1fr; } .prod-sec.is-flip .prod-media { order: 0; } .prod-intro .prod-media { aspect-ratio: 4 / 3; } }

/* Horizontale Leisten dürfen nie vertikal scrollen – sonst bleibt das Wischen am Handy darin hängen */
.stage-rail, .h-rail, .pt-years, .seg { overflow-y: hidden; overscroll-behavior-x: contain; }

/* Sportarten-Übersicht: Raster aus Hochformat-Kacheln, feinere Linien */
.sports-page { padding-top: clamp(28px, 4vw, 48px); }
.sports-grid2 { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 16px; }
.sports-page .sc-icon .sport-icon g, .sport-rail .sc-icon .sport-icon g { stroke-width: 1; }
.sports-page .sc-court { opacity: .4; }
.sports-page .sport-card:hover .sc-court { opacity: .8; }
@media (max-width: 520px) { .sports-grid2 { grid-template-columns: repeat(2, 1fr); gap: 12px; } }

/* TV-Seite: Jetzt läuft, Fortschritt, Danach, Tage */
.tv-offline { position: relative; display: grid; place-items: end center; }
.tv-offline img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tv-offline p { position: relative; margin: 0 0 22px; padding: 8px 14px; border-radius: 6px; background: rgba(9,11,15,.7); }
.tv-onair { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 22px; align-items: center; padding: 22px 0 0; flex-wrap: unset; }
.tv-now { display: flex; gap: 14px; align-items: flex-start; }
.tv-now strong { display: block; font: 700 1.5rem/1.15 var(--display); }
.tv-k { display: block; color: var(--mist); font-size: .85rem; margin-bottom: 4px; }
.tv-s { display: block; color: var(--mist); font-size: .95rem; margin-top: 2px; }
.tv-prog { display: flex; align-items: center; gap: 10px; font: 600 .95rem/1 var(--display); color: var(--mist); font-variant-numeric: tabular-nums; }
.tv-bar { flex: 1; height: 4px; border-radius: 2px; background: var(--rule); overflow: hidden; }
.tv-bar span { display: block; height: 100%; background: var(--grad); }
.tv-next strong { display: block; font: 600 1.1rem/1.2 var(--display); }
.tv-days { display: flex; gap: 6px; overflow-x: auto; overflow-y: hidden; padding-bottom: 6px; margin-bottom: 8px; scrollbar-width: none; }
.tv-days a { flex: none; padding: 9px 16px; border-radius: 20px; text-decoration: none; background: var(--ink-2); color: var(--mist); font: 600 1rem/1 var(--display); box-shadow: inset 0 0 0 1px var(--rule); }
.tv-days a:hover { color: var(--paper); }
.tv-days a[aria-current] { background: var(--paper); color: var(--ink); box-shadow: none; }
.epg-block { scroll-margin-top: 90px; }
h3.epg-day { margin: 26px 0 0; padding: 0 0 10px; font: 700 1.25rem/1 var(--display); color: var(--paper); border-bottom: 2px solid var(--paper); text-transform: none; font-style: normal; }
h3.epg-day small { color: var(--mist); font: 400 .95rem var(--text); margin-left: 6px; }
.epg { border-top: 0; }
.epg-item { grid-template-columns: 76px 1fr auto; }
.epg-dur { color: var(--mist); font-size: .85rem; align-self: center; font-variant-numeric: tabular-nums; }
.epg-live { font-style: normal; margin-left: 6px; padding: 3px 6px 2px; border-radius: 3px; background: var(--live); color: #fff; font: 700 .75rem/1 var(--display); vertical-align: middle; }
@media (max-width: 800px) { .tv-onair { grid-template-columns: 1fr; gap: 14px; } .epg-item { grid-template-columns: 62px 1fr; } .epg-dur { display: none; } }

/* =========================================================
   Feinschliff (angelehnt an große Streaming-Plattformen)
   ruhige Typografie, klare Hover-Rahmen, Leisten mit Pfeilen
   ========================================================= */
.section-head h2 { font-size: clamp(1.4rem, 2.1vw, 1.85rem); letter-spacing: .01em; }
.section { padding-top: clamp(40px, 5vw, 64px); }
.section-head { margin-bottom: 18px; }
.section-head a { font-size: .95rem; color: var(--mist); }
.site-header .wrap { min-height: 68px; }
.nav a, .nav button { font-size: 1.1rem; color: var(--mist); }
.nav a:hover { color: var(--paper); background: none; }
.nav a[aria-current="page"] { color: var(--paper); }

/* Bühne: großzügiger, Fortschrittspunkte */
.stage { padding-top: 26px; }
.stage-rail { grid-auto-columns: min(88%, 1120px); }
.slide-media { border-radius: 12px; }
.slide:hover .slide-media { box-shadow: 0 0 0 2px rgba(255,255,255,.85); }
.slide-title { font-size: clamp(1.5rem, 2.8vw, 2.3rem); }
.stage-controls { align-items: center; }
.stage-dots { display: flex; gap: 6px; margin-right: auto; }
.stage-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 4px; background: var(--rule); cursor: pointer; transition: width .2s, background-color .2s; }
.stage-dots button.is-on { width: 26px; background: var(--paper); }
@media (prefers-reduced-motion: reduce) { .stage-dots button { transition: none; } }

/* Kacheln: klarer weißer Rahmen beim Überfahren statt Zoom */
.tile .thumb { border-radius: 8px; transition: box-shadow .2s ease; }
.tile:hover .thumb { box-shadow: 0 0 0 2px rgba(255,255,255,.85); }
.tile h3 { font: 600 1.08rem/1.2 var(--text); margin-top: 10px; }
.tile .sport { font-size: .85rem; margin-top: 10px; text-transform: uppercase; letter-spacing: .05em; }
.tiles-live .tile .thumb { box-shadow: 0 0 0 2px var(--live); }
.tiles { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 26px 18px; }

/* Leisten mit Pfeilen */
.rail-wrap { position: relative; }
.rail-arrow { position: absolute; top: 0; bottom: 10px; z-index: 5; width: 54px; border: 0; cursor: pointer; display: none; align-items: center; justify-content: center; color: #fff; }
.rail-prev { left: -8px; background: linear-gradient(to right, var(--ink) 30%, transparent); }
.rail-next { right: -8px; background: linear-gradient(to left, var(--ink) 30%, transparent); }
.rail-arrow svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) and (pointer: fine) {
  .rail-wrap:hover .rail-arrow { display: flex; }
  .rail-wrap.at-start .rail-prev, .rail-wrap.at-end .rail-next, .rail-wrap.no-scroll .rail-arrow { display: none; }
}
.h-rail { scrollbar-width: none; }
.h-rail::-webkit-scrollbar { display: none; }

/* Sportarten-Kacheln: sauberer Rahmen */
.sport-card:hover .sc-link { box-shadow: 0 0 0 2px rgba(255,255,255,.85); }
.sport-card.is-fav .sc-link { box-shadow: inset 0 0 0 2px var(--pink); }

/* =========================================================
   Bühne im Hochformat – Plakate nebeneinander, Text dezent darunter
   ========================================================= */
.stage { padding-top: 28px; }
.stage-rail { grid-auto-columns: clamp(220px, 21vw, 300px); gap: 18px; scroll-snap-type: x proximity;
  padding-inline: max(var(--gap), calc((100% - var(--wrap)) / 2)); scroll-padding-inline: max(var(--gap), calc((100% - var(--wrap)) / 2)); }
.slide { scroll-snap-align: start; gap: 12px; }
.slide-media { aspect-ratio: 2 / 3; border-radius: 10px; }
.slide-text { gap: 3px; padding: 0 2px; }
.slide-text .meta { gap: 8px; font: 500 .78rem/1 var(--text); color: var(--mist); }
.slide-text .meta .status { font-size: .72rem; padding: 3px 6px 2px; }
.slide-title { font: 500 1rem/1.25 var(--text) !important; color: var(--paper); letter-spacing: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.slide-text .sub { font-size: .84rem; color: var(--mist); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.slide-text .when { font: 400 .8rem/1.2 var(--text); color: var(--mist); margin-top: 2px; }
.slide:hover .slide-title { text-decoration: none; }
@media (max-width: 640px) { .stage-rail { grid-auto-columns: 62vw; gap: 12px; } .slide-media { aspect-ratio: 2 / 3; } }

/* Dezentere Texte unter allen Bildern */
.tile h3 { font: 500 .98rem/1.25 var(--text); margin-top: 10px; }
.tile .sport { font: 500 .7rem/1 var(--text); letter-spacing: .06em; color: var(--mist); margin-top: 10px; }
.tile .sub { font-size: .84rem; color: var(--mist); }
.tile .when { font: 400 .8rem/1.2 var(--text); color: var(--mist); }
.cal-title { font: 500 .96rem/1.25 var(--text); }
.cal-sub { font-size: .82rem; }
.cal-day { font: 600 .92rem/1 var(--text); }
.cal-wd { font-size: .78rem; }
.mc-title { font: 500 .96rem/1.2 var(--text); }
.sc-name { font: 600 1rem/1.1 var(--text) !important; }

/* Bühne wieder breit: Querformat, gut zwei Thumbnails sichtbar */
.stage-rail { grid-auto-columns: clamp(340px, 44vw, 680px); gap: 20px; }
.slide-media { aspect-ratio: 16 / 9; }
.slide-title { font-size: 1.05rem !important; }
@media (max-width: 640px) { .stage-rail { grid-auto-columns: 86vw; gap: 12px; } .slide-media { aspect-ratio: 16 / 9; } }

/* Text unter dem Videoplayer: dezent */
.event-head { padding-top: 22px; gap: 18px; }
.event-head h1 { font-size: clamp(1.35rem, 2.2vw, 1.8rem) !important; font-weight: 600 !important; line-height: 1.2; letter-spacing: -0.01em; }
.event-head .meta { font-size: .82rem; color: var(--mist); gap: 10px; }
.event-head .meta .status { font-size: .72rem; padding: 3px 7px 2px; }
.event-head .sub { font-size: .98rem; color: var(--mist); margin-top: 6px; }
.event-facts { font-size: .88rem; gap: 6px 18px; }
.event-facts dt { font-size: .72rem; letter-spacing: .05em; color: var(--mist); }
.event-facts dd { font-weight: 500; }
.event-top .prose { font-size: .95rem; color: var(--mist); }

/* Meine Ligen & Vereine */
.fav-nodes { display: flex; gap: 12px; overflow-x: auto; overflow-y: hidden; padding-bottom: 6px; margin-bottom: 18px; scrollbar-width: none; }
.fav-node { flex: none; display: flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px; border-radius: 10px; text-decoration: none; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--rule); }
.fav-node:hover { background: var(--ink-3); }
.fav-node img, .fav-node svg { width: 40px; height: 40px; object-fit: contain; }
.fav-node span { font-weight: 600; }

/* Teile und Playlist unter dem Player */
.ev-parts, .ev-playlist { margin-top: 22px; }
.ev-parts h2, .ev-playlist h2 { font-size: 1.05rem !important; font-weight: 600 !important; margin-bottom: 10px; color: var(--paper); }
.ev-parts ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px; }
.ev-parts a { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 8px; text-decoration: none; background: var(--ink-2); font-size: .92rem; box-shadow: inset 0 0 0 1px var(--rule); }
.ev-parts a span { flex: none; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--ink-3); font-size: .8rem; font-weight: 600; }
.ev-parts a:hover { background: var(--ink-3); }
.ev-parts a[aria-current] { box-shadow: inset 0 0 0 1.5px var(--accent); }
.ev-parts a[aria-current] span { background: var(--grad); color: #fff; }
.ev-pl-frame { position: relative; aspect-ratio: 16 / 9; max-width: 900px; border-radius: 10px; overflow: hidden; background: var(--ink-2); }
.ev-pl-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ev-pl-consent { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 8px; border: 0; background: radial-gradient(ellipse at center, var(--ink-3), var(--ink-2)); color: var(--paper); cursor: pointer; font: 600 1rem var(--text); }
.ev-pl-consent small { color: var(--mist); font-weight: 400; }
.ev-pl-play { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: var(--grad); }
.ev-pl-play svg { width: 26px; height: 26px; margin-left: 3px; }

/* Bühne: Text linksbündig unter dem Bild */
.slide-text { justify-items: start; text-align: left; }
.slide-text .meta { justify-content: flex-start; }

/* =========================================================
   Kalender (Variante B): jeder Tag hat eine eigene Zeile, links das Datum, rechts seine Karten.
   Eigener Scrollbereich unter Suche und Filter; die Seite scrollt normal weiter bis zum Footer.
   ========================================================= */
/* Suche (links) und Filter (rechts) in einer Zeile */
.cal-app .cal-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 18px; }
.cal-app .cal-search { flex: 1 1 300px; min-width: 0; }
.cal-app .cal-search svg { left: 16px; width: 20px; height: 20px; margin-top: -10px; }
.cal-app .cal-search input { height: 48px; padding: 0 150px 0 46px; border-radius: 24px; font: 500 1.02rem/1 var(--text); }
.cal-app .cal-count { position: absolute; right: 50px; top: 50%; transform: translateY(-50%); margin: 0; width: auto; font-size: .85rem; white-space: nowrap; pointer-events: none; }
.cal-app .cal-clear { right: 8px; width: 32px; height: 32px; margin-top: -16px; font-size: 1.25rem; }
.cal-app .cal-filters { flex: none; flex-wrap: nowrap; gap: 10px; }
.cal-app .dd-btn { height: 48px; border-radius: 24px; white-space: nowrap; }
.dd-year .dd-btn, .cal-today { padding: 0 14px 0 18px; }
.cal-today { padding-right: 18px; }
.cal-today::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.dd-year .dd-pop { left: auto; right: 0; width: 170px; grid-template-rows: 1fr; }
.dd-year .dd-list { padding: 6px; }
.dd-year .dd-opt { padding: 10px 12px; font-variant-numeric: tabular-nums; }
@media (max-width: 760px) {
  .cal-app .cal-search { flex-basis: 100%; }
  .cal-app .cal-search input { padding-right: 46px; }
  .cal-app .cal-count { display: none; }
  .cal-app .cal-filters { width: 100%; gap: 8px; }
  .cal-app .dd-btn { height: 44px; font-size: .98rem; gap: 6px; padding: 0 10px 0 14px; }
  .cal-app .cal-today { padding-right: 14px; }
  .cal-filters > .dd:first-child:not(.dd-year) { flex: 1 1 auto; min-width: 0; }
  .cal-filters > .dd:first-child:not(.dd-year) .dd-btn { width: 100%; }
  .cal-filters [data-dd-btn] .dd-ic { display: none; }
  .cal-filters [data-dd-label] { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; text-align: left; }
  .cal-filters > .dd-year:first-child .dd-pop { left: 0; right: auto; }
}

.cal-scroll { overflow-y: auto; overscroll-behavior-y: auto; -webkit-overflow-scrolling: touch;
  margin-inline: calc(var(--gap) * -1); padding: 6px var(--gap) 30px; scrollbar-width: thin; scrollbar-color: var(--rule) transparent;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 16px, #000 calc(100% - 16px), transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 16px, #000 calc(100% - 16px), transparent 100%); }
.cal-app .cal-edge { display: none; }
.cal-flow { display: block; }
/* Variante B (ohne Trennlinien): jeder Tag eine eigene Zeile. Die Karten eines Tages brechen innerhalb des Tages um,
   das Datum links bleibt beim Scrollen stehen, bis der nächste Tag kommt (wie am Handy). */
.cal-block { --cal-m: 50px; --cal-g: 18px; display: block; }
.cal-tag { display: grid; grid-template-columns: var(--cal-m) minmax(0, 1fr); gap: 0 var(--cal-g); align-items: start;
  padding: 22px 0 26px; }
.cal-flow > .cal-block:first-child > .cal-tag:first-child { padding-top: 8px; }
.cal-mark { position: sticky; top: 18px; width: var(--cal-m); display: grid; justify-items: center; gap: 3px; padding-top: 2px; text-align: center;
  font: 500 .78rem/1 var(--text); color: var(--mist); text-transform: uppercase; letter-spacing: .05em; }
.cal-mark strong { font: 600 2rem/1 var(--text); color: var(--paper); letter-spacing: -0.02em; }
.cal-mark em { font-style: normal; font-size: .7rem; }
.cal-mark.is-today, .cal-mark.is-today strong { color: var(--accent); }
.cal-mark.is-past strong { color: var(--mist); }
.cal-rail-wrap { min-width: 0; }
.cal-rail { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 30px var(--cal-g); }
.cal-rail .cal-card { min-width: 0; }
.cal-rail .cal-thumb { margin-bottom: 10px; }
.cal-rail-wrap .rail-arrow { display: none !important; }
/* Handy: Liste – das Datum steht links und bleibt beim Scrollen stehen, bis der nächste Tag kommt */
@media (max-width: 700px) {
  .cal-block { display: block; padding-bottom: 0; }
  .cal-tag { grid-template-columns: 44px minmax(0, 1fr); gap: 0 12px; padding: 16px 0; }
  .cal-mark { position: sticky; top: 18px; width: auto; padding-top: 0; }
  .cal-mark strong { font-size: 1.6rem; }
  .cal-rail { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .cal-rail .cal-card { width: 100%; display: grid; grid-template-columns: 44% 1fr; grid-template-areas: "thumb title" "thumb sub" "thumb ."; grid-template-rows: auto auto 1fr; column-gap: 12px; row-gap: 3px; margin: 0; }
  .cal-rail .cal-thumb { grid-area: thumb; margin: 0; }
  .cal-rail .cal-title { grid-area: title; font-size: .95rem; }
  .cal-rail .cal-sub { grid-area: sub; white-space: normal; }
  .cal-rail-wrap .rail-arrow { display: none !important; }
}

/* Startseite: Demnächst und On Demand als wischbare Zeilen (max. 10, danach „Mehr“) */
.row-rail { grid-auto-columns: clamp(240px, 22vw, 320px); gap: 18px; }
.row-rail .tile { min-width: 0; }
.more-tile { display: grid; align-content: start; text-decoration: none; }
.more-tile span:first-child { display: grid; place-items: center; aspect-ratio: 16 / 9; border-radius: 8px; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--rule); transition: background-color .2s; }
.more-tile svg { width: 34px; height: 34px; fill: none; stroke: var(--paper); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.more-tile:hover span:first-child { background: var(--ink-3); }
.more-tile strong { margin-top: 10px; font: 500 .98rem/1.25 var(--text); }
.more-tile small { color: var(--mist); font-size: .84rem; }
@media (max-width: 640px) { .row-rail { grid-auto-columns: 72vw; gap: 12px; } }
.slide:hover .slide-media { box-shadow: none !important; }

/* Clips aus der Playlist */
.anchor { display: block; position: relative; top: -90px; visibility: hidden; }
.ev-clips { margin-top: 28px; }
.ev-clips-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-bottom: 14px; }
.ev-clips-head h2 { font-size: 1.15rem !important; font-weight: 600 !important; margin: 0; }
.ev-clips-head h2 small { margin-left: 6px; color: var(--mist); font-weight: 400; font-size: .9rem; }
.ev-clips-search { position: relative; flex: 1 1 320px; max-width: 520px; }
.ev-clips-search svg { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; margin-top: -9px; fill: none; stroke: var(--mist); stroke-width: 2; stroke-linecap: round; }
.ev-clips-search input { width: 100%; height: 44px; padding: 0 14px 0 42px; border: 0; border-radius: 22px; background: var(--ink-2); color: var(--paper); font: 500 .95rem var(--text); box-shadow: inset 0 0 0 1px var(--rule); }
.ev-clips-search input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--accent); }
.ev-clips-now { margin: 0 0 14px; color: var(--mist); font-size: .9rem; }
.ev-clips-now strong { color: var(--paper); font-weight: 600; }
.ev-clips-now a { color: var(--accent); }
.ev-clips-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px 14px; }
.ev-clips-grid.is-collapsed > li:nth-child(n+13) { display: none; }
.ev-clips-grid > li[hidden] { display: none !important; }
.ev-clips-grid a { display: grid; gap: 8px; text-decoration: none; }
.ev-clip-thumb { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: var(--ink-2); }
.ev-clip-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s ease; }
.ev-clips-grid a:hover img { transform: scale(1.04); }
.ev-clip-dur { position: absolute; right: 6px; bottom: 6px; padding: 3px 6px 2px; border-radius: 4px; background: rgba(9,11,15,.85); font: 600 .75rem/1 var(--text); font-variant-numeric: tabular-nums; }
.ev-clip-on { position: absolute; left: 6px; top: 6px; padding: 4px 7px 3px; border-radius: 4px; background: var(--grad); color: #fff; font: 600 .72rem/1 var(--text); }
.ev-clips-grid a[aria-current] .ev-clip-thumb { box-shadow: 0 0 0 2px var(--accent); }
.ev-clip-title { font: 500 .88rem/1.3 var(--text); color: var(--paper); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ev-clips-grid a[aria-current] .ev-clip-title { color: var(--accent); }
.ev-clips-more { margin-top: 18px; }
.ev-clips-empty { color: var(--mist); margin: 6px 0 0; }
.ev-clips-hint { margin-top: 12px; font-size: .82rem; color: var(--mist); }
@media (max-width: 640px) { .ev-clips-grid { grid-template-columns: repeat(2, 1fr); gap: 14px 10px; } }
@media (prefers-reduced-motion: reduce) { .ev-clip-thumb img { transition: none; } }
.ev-clips-more[hidden] { display: none; }

/* Multiview */
.mv { display: grid; grid-template-columns: 300px 1fr; gap: 18px; padding: 18px var(--gap) 28px; min-height: calc(100vh - 70px); }
.mv-side { display: flex; flex-direction: column; gap: 14px; min-height: 0; }
.mv-side-head h1 { font-size: 1.5rem; margin: 0 0 4px; }
.mv-side-head p { margin: 0; color: var(--mist); font-size: .9rem; }
.mv-layouts { display: flex; gap: 6px; }
.mv-layouts button { flex: 1; padding: 8px; border: 0; border-radius: 8px; background: var(--ink-2); cursor: pointer; box-shadow: inset 0 0 0 1px var(--rule); }
.mv-layouts button[aria-checked="true"] { box-shadow: inset 0 0 0 2px var(--accent); }
.mv-layouts i { display: grid; gap: 2px; height: 26px; }
.mv-layouts b { background: var(--mist); border-radius: 2px; opacity: .7; }
.mv-layouts .l2 { grid-template-columns: 1fr 1fr; }
.mv-layouts .l4 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
.mv-layouts .l9 { grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr); }
.mv-layouts .l13 { grid-template-columns: 2fr 1fr; grid-template-rows: repeat(3, 1fr); }
.mv-layouts .l13 b:first-child { grid-row: 1 / span 3; }
.mv-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; overflow-y: auto; max-height: calc(100vh - 260px); }
.mv-list li { display: grid; grid-template-columns: 110px 1fr; gap: 10px; align-items: center; padding: 6px; border-radius: 8px; background: var(--ink-2); cursor: grab; box-shadow: inset 0 0 0 1px var(--rule); }
.mv-list li:hover, .mv-list li:focus-visible { background: var(--ink-3); outline: none; }
.mv-list li.is-used { box-shadow: inset 0 0 0 1.5px var(--accent); }
.mv-th { position: relative; aspect-ratio: 16 / 9; border-radius: 5px; overflow: hidden; background: var(--ink); }
.mv-th img { width: 100%; height: 100%; object-fit: cover; }
.mv-th em { position: absolute; left: 4px; top: 4px; padding: 2px 5px; border-radius: 3px; background: var(--live); color: #fff; font: 600 .65rem/1.2 var(--text); font-style: normal; }
.mv-tx { display: grid; gap: 2px; min-width: 0; }
.mv-tx strong { font-size: .86rem; font-weight: 500; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mv-tx small { color: var(--mist); font-size: .76rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mv-empty { color: var(--mist); font-size: .9rem; }
.mv-stage { position: relative; display: flex; flex-direction: column; gap: 10px; min-width: 0; background: var(--ink); }
.mv-stage:fullscreen { padding: 10px; }
.mv-grid { display: grid; gap: 8px; aspect-ratio: 16 / 9; width: 100%; max-height: calc(100vh - 140px); }
.mv-stage:fullscreen .mv-grid { max-height: none; height: calc(100vh - 70px); aspect-ratio: auto; }
.mv-2 { grid-template-columns: 1fr 1fr; align-content: center; aspect-ratio: 32 / 9; }
.mv-4 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
.mv-9 { grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr); }
.mv-1_3 { grid-template-columns: 3fr 1fr; grid-template-rows: repeat(3, 1fr); }
.mv-1_3 .mv-cell:first-child { grid-row: 1 / span 3; }
.mv-cell { position: relative; border-radius: 8px; overflow: hidden; background: var(--ink-2); min-height: 0; }
.mv-cell.is-empty { display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px dashed var(--rule); border: 1.5px dashed var(--rule); cursor: pointer; }
.mv-cell.is-selected, .mv-cell.is-over { border-color: var(--accent); background: var(--ink-3); }
.mv-drop { color: var(--mist); text-align: center; font-size: .9rem; }
.mv-drop small { font-size: .78rem; }
.mv-frame, .mv-cell iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.mv-cap { position: absolute; left: 0; right: 0; top: 0; display: flex; align-items: center; gap: 6px; padding: 6px 8px; background: linear-gradient(rgba(9,11,15,.85), transparent); opacity: 0; transition: opacity .2s; }
.mv-cell:hover .mv-cap, .mv-cell:focus-within .mv-cap { opacity: 1; }
.mv-cap span { flex: 1; font-size: .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mv-cap button { width: 30px; height: 30px; border: 0; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; cursor: pointer; font-size: .95rem; }
.mv-cap button.is-on { background: var(--grad); }
.mv-bar { display: flex; justify-content: flex-end; gap: 14px; align-items: center; }
.mv-consent { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 18px; padding: 12px 16px; border-radius: 10px; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--accent); }
.mv-consent p { color: var(--mist); margin: 0; font-size: .9rem; flex: 1 1 320px; }
.mv-consent strong { color: var(--paper); }
.mv-consent[hidden] { display: none; }
@media (max-width: 900px) {
  .mv { grid-template-columns: 1fr; }
  .mv-stage { order: -1; }
  .mv-list { max-height: none; }
  .mv-cap { opacity: 1; }
}

/* Glocke */
.bell { display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; cursor: pointer; background: rgba(9,11,15,.6); color: #fff; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.bell svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.bell[aria-pressed="true"] { background: var(--grad); }
.bell[aria-pressed="true"] svg { fill: currentColor; }
.bell-tile { position: absolute; right: 8px; top: 8px; z-index: 4; }
.ev-remind { display: inline-flex; align-items: center; gap: 10px; margin-top: 12px; font-size: .9rem; color: var(--mist); }
.bell-wide { width: 38px; height: 38px; background: var(--ink-3); }
/* Multi-Cam */
.ev-cams { margin-top: 26px; }
.ev-mv-btn { display: inline-flex; align-items: center; gap: 8px; }
.ev-mv-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.ev-clip-live { position: absolute; right: 6px; top: 6px; padding: 3px 6px; border-radius: 4px; background: var(--live); color: #fff; font: 600 .7rem/1 var(--text); }
/* Für mich */
.foryou { padding-top: clamp(24px, 4vw, 44px); }
.fy-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 18px; }
.fy-head h1 { margin: 0 0 6px; }
.switch { display: inline-flex; align-items: center; gap: 12px; cursor: pointer; font-size: .92rem; }
.switch small { color: var(--mist); }
.switch input { position: absolute; opacity: 0; }
.switch-ui { position: relative; flex: none; width: 46px; height: 26px; border-radius: 13px; background: var(--ink-3); box-shadow: inset 0 0 0 1px var(--rule); transition: background .2s; }
.switch-ui::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .2s; }
.switch input:checked + .switch-ui { background: var(--accent); }
.switch input:checked + .switch-ui::after { transform: translateX(20px); }
.switch input:focus-visible + .switch-ui { outline: 2px solid var(--accent); outline-offset: 2px; }
.mv-poster { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.mv-bar .linkish { background: none; border: 0; color: var(--mist); text-decoration: underline; cursor: pointer; font: inherit; padding: 0; }
.mv-bar .linkish:hover { color: var(--paper); }

/* Kopfzeile: Menüpunkte links, Anmelden/Profil ganz rechts */
.site-header .header-actions { margin-left: auto; }
@media (max-width: 900px) { .site-header.open .header-actions { margin-left: 0; } }

/* =========================================================
   Event-Bühne: Player + aufklappbare Seitenleiste (Clips, Streams, Multiview)
   ========================================================= */
.ev-stage { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: start; }
.ev-stage.side-open { grid-template-columns: minmax(0, 1fr) 340px; }
.ev-stage:not(.side-open) .ev-side { display: none; }
.ev-main { min-width: 0; }
.ev-tools { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.ev-tool { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border: 0; border-radius: 19px; background: var(--ink-2); color: var(--paper); font: 500 .92rem var(--text); cursor: pointer; text-decoration: none; box-shadow: inset 0 0 0 1px var(--rule); }
.ev-tool svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.ev-tool small { color: var(--mist); }
.ev-tool:hover { background: var(--ink-3); }
.ev-tool[aria-pressed="true"] { box-shadow: inset 0 0 0 1.5px var(--accent); background: var(--ink-3); }
.mv-only { display: none !important; }
.ev-stage.is-mv .mv-only { display: revert !important; }
.ev-stage.is-mv .evs-mv.mv-only { display: grid !important; }
.ev-side { display: flex; flex-direction: column; min-height: 320px; border-radius: 12px; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--rule); overflow: hidden; }
.evs-head { flex: none; display: flex; align-items: center; justify-content: space-between; padding: 8px 8px 8px 10px; border-bottom: 1px solid var(--rule); }
.evs-tabs { display: flex; gap: 4px; }
.evs-tabs button { height: 34px; padding: 0 14px; border: 0; border-radius: 17px; background: none; color: var(--mist); font: 600 .92rem var(--text); cursor: pointer; }
.evs-tabs button[aria-selected="true"] { background: var(--paper); color: var(--ink); }
.evs-close { width: 34px; height: 34px; border: 0; border-radius: 50%; background: var(--ink-3); color: var(--paper); font-size: 1.3rem; line-height: 1; cursor: pointer; }
.evs-body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 10px; scrollbar-width: thin; scrollbar-color: var(--rule) transparent; }
.evs-panel { display: grid; gap: 10px; }
.evs-panel[hidden] { display: none; }
/* Inhalt aus dem Studio: Abschnitte, Interviews, Marken – Klick springt an die Stelle im Video */
.sx-inhalt { display: grid; gap: 14px; }
.sx-group h3 { margin: 0 0 6px; font: 600 .78rem var(--text); letter-spacing: .06em; text-transform: uppercase; color: var(--mist); }
.sx-group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.sx-item { display: grid; gap: 4px; }
.sx-jump { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 9px 12px; border-radius: 10px; background: var(--ink-2); color: var(--paper); text-decoration: none; box-shadow: inset 0 0 0 1px var(--rule); }
.sx-jump:hover { background: var(--ink-3); }
.sx-jump.is-current { box-shadow: inset 0 0 0 1.5px var(--accent); }
.sx-time { font-variant-numeric: tabular-nums; font-size: .85rem; color: var(--accent); }
.sx-label { font-weight: 500; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sx-len { font-size: .8rem; color: var(--mist); font-variant-numeric: tabular-nums; }
.sx-run { font-size: .75rem; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: .04em; }
.sx-moment { justify-self: start; margin-left: 12px; padding: 0; border: 0; background: none; color: var(--mist); font: 500 .8rem var(--text); text-decoration: underline; cursor: pointer; }
.sx-moment:hover { color: var(--paper); }
.sx-moment:disabled { opacity: .5; cursor: default; }
.sx-msg { margin: 0 0 0 12px; font-size: .8rem; color: var(--mist); }
.sx-msg.is-ok { color: #6BD69B; }
.sx-msg.is-error { color: #FF6B8B; }
.sx-msg a { color: var(--accent); }
.evs-now { margin: 0; font-size: .82rem; color: var(--mist); }
.evs-now strong { color: var(--paper); font-weight: 500; }
.evs-now a { color: var(--accent); }
.evs-search { position: relative; display: block; }
.evs-search svg { position: absolute; left: 12px; top: 50%; width: 16px; height: 16px; margin-top: -8px; fill: none; stroke: var(--mist); stroke-width: 2; stroke-linecap: round; }
.evs-search input { width: 100%; height: 40px; padding: 0 12px 0 36px; border: 0; border-radius: 20px; background: var(--ink); color: var(--paper); font: 500 .9rem var(--text); box-shadow: inset 0 0 0 1px var(--rule); }
.evs-search input:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--accent); }
.evs-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.evs-list li[hidden] { display: none; }
.evs-list a { display: grid; grid-template-columns: 128px 1fr; gap: 10px; align-items: center; padding: 5px; border-radius: 8px; text-decoration: none; }
.evs-list a:hover { background: var(--ink-3); }
.evs-list a[aria-current] { background: var(--ink-3); box-shadow: inset 3px 0 0 var(--accent); }
.evs-th { position: relative; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; background: var(--ink); }
.evs-th img { width: 100%; height: 100%; object-fit: cover; display: block; }
.evs-th em { position: absolute; right: 4px; bottom: 4px; padding: 2px 5px; border-radius: 3px; background: rgba(9,11,15,.85); font: 600 .68rem/1.2 var(--text); font-style: normal; }
.evs-th b { position: absolute; left: 4px; top: 4px; padding: 2px 5px; border-radius: 3px; background: var(--live); color: #fff; font: 600 .66rem/1.2 var(--text); }
.evs-tt { font: 500 .84rem/1.3 var(--text); color: var(--paper); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.evs-tt small { display: block; color: var(--accent); font-size: .74rem; margin-top: 2px; }
.evs-empty { color: var(--mist); font-size: .85rem; margin: 0; }
.evs-hint { color: var(--mist); font-size: .78rem; margin: 0; }
.evs-mv { gap: 10px; padding: 10px; border-bottom: 1px solid var(--rule); }
.evs-mv .mv-list { max-height: 260px; }
.evs-mv-actions { display: flex; justify-content: space-between; align-items: center; font-size: .85rem; }
.evs-mv-actions .linkish { background: none; border: 0; color: var(--mist); text-decoration: underline; cursor: pointer; font: inherit; padding: 0; }
.evs-mv-actions a { color: var(--accent); }
.ev-stage.is-mv .evs-nav-only { display: none; }
.ev-mv .mv-consent { margin-bottom: 10px; }
.ev-mv .mv-grid { max-height: calc(100vh - 160px); }
@media (max-width: 900px) {
  .ev-stage.side-open { grid-template-columns: minmax(0, 1fr); }
  .ev-side { min-height: 0; max-height: 70vh; }
}

/* Multiview: zwei Kameras größer – Raster nutzt die volle Breite, bei schmaler Fläche untereinander */
.mv-2 { aspect-ratio: 32 / 9; }
@media (max-width: 1100px) { .mv-2 { grid-template-columns: 1fr; aspect-ratio: 16 / 18; } }
.mv { transition: grid-template-columns .2s; }
.mv.side-closed { grid-template-columns: 0 1fr; }
.mv.side-closed .mv-side { visibility: hidden; overflow: hidden; }
.mv-side-toggle { position: absolute; left: 10px; bottom: 10px; z-index: 3; }
.mv-cell { box-shadow: inset 0 0 0 1px var(--rule); }
.mv-label { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); max-width: 90%; padding: 6px 10px; border-radius: 6px; background: rgba(9,11,15,.7); font-size: .85rem; text-align: center; }
/* Zwei Kameras: Zeile muss die volle Höhe haben (Videos sind absolut positioniert) */
.mv-grid.mv-2 { grid-template-rows: 1fr; align-content: stretch; }
@media (max-width: 1100px) { .mv-grid.mv-2 { grid-template-rows: 1fr 1fr; } }

/* Einwilligung */
html.consent-media .player-consent-note { display: none; }
.cx { position: fixed; left: 0; right: 0; bottom: 0; z-index: 5000; display: flex; justify-content: center; padding: 16px; pointer-events: none; }
.cx-card { pointer-events: auto; width: min(760px, 100%); display: grid; gap: 16px; padding: 22px 24px; border-radius: 16px; background: var(--ink-2); color: var(--paper);
  box-shadow: 0 0 0 1px var(--rule), 0 24px 60px rgba(0,0,0,.55); transform: translateY(24px); opacity: 0; transition: transform .25s ease, opacity .25s ease; }
.cx.is-on .cx-card { transform: none; opacity: 1; }
.cx-text strong { display: block; font-size: 1.15rem; margin-bottom: 6px; }
.cx-text p { margin: 0; color: var(--mist); font-size: .92rem; line-height: 1.5; }
.cx-text a { color: var(--paper); }
.cx-more { display: grid; gap: 8px; }
.cx-more[hidden] { display: none; }
.cx-opt { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--mist); }
.cx-opt input { margin-top: 3px; width: 18px; height: 18px; accent-color: #FF0057; }
.cx-opt b { display: block; color: var(--paper); font-weight: 600; }
.cx-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.cx-btn { height: 46px; padding: 0 22px; border: 0; border-radius: 23px; font: 600 1rem var(--text); cursor: pointer; }
.cx-accept { background: var(--grad); color: #fff; padding: 0 30px; box-shadow: 0 8px 22px rgba(255,0,87,.35); }
.cx-accept:hover { filter: brightness(1.08); }
.cx-essential, .cx-save { background: none; color: var(--paper); box-shadow: inset 0 0 0 1.5px var(--rule); }
.cx-essential:hover, .cx-save:hover { box-shadow: inset 0 0 0 1.5px var(--mist); }
.cx-link { margin-left: auto; background: none; border: 0; color: var(--mist); font: 500 .9rem var(--text); text-decoration: underline; cursor: pointer; }
.cx-btn[hidden], .cx-link[hidden] { display: none; }
.cx-ask { position: absolute; inset: 0; z-index: 30; display: grid; place-items: center; padding: 20px; background: rgba(9,11,15,.88); text-align: center; }
.cx-ask strong { display: block; font-size: 1.1rem; }
.cx-ask p { margin: 6px 0 14px; color: var(--mist); font-size: .9rem; }
.cx-ask-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.footer-consent { background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; }
@media (max-width: 640px) { .cx { padding: 10px; } .cx-card { padding: 18px; } .cx-btn { flex: 1 1 100%; } .cx-link { margin: 0 auto; } }
@media (prefers-reduced-motion: reduce) { .cx-card { transition: none; } }
/* TV-Sendeplan: eigener Scrollbereich */
.epg-scroll { position: relative; max-height: min(560px, 62vh); overflow-y: auto; overscroll-behavior: contain; border-radius: 10px; padding: 0 14px 14px;
  background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--rule); scrollbar-width: thin; scrollbar-color: var(--rule) transparent; }
.epg-scroll h3.epg-day { position: sticky; top: 0; z-index: 2; margin: 0; padding: 14px 0 10px; background: var(--ink-2); }
.epg-scroll .epg-item.is-now { background: var(--ink-3); }
.cx[hidden] { display: none !important; }

/* Bezahl-Streams */
.paid-player { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #000; }
.paid-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.paid-card { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; display: grid; place-items: center; padding: 24px; text-align: center;
  background: linear-gradient(rgba(17,21,28,.78), rgba(17,21,28,.92)), var(--paid-bg, none) center / cover, var(--ink-2); }
.paid-card > div { max-width: 460px; display: grid; gap: 12px; justify-items: center; }
.paid-card strong { font-size: clamp(1.2rem, 2.4vw, 1.6rem); line-height: 1.2; }
.paid-card p { margin: 0; color: var(--mist); }
.paid-card small { color: var(--mist); font-size: .84rem; }
.paid-card small a { color: var(--paper); }
.paid-badge { padding: 5px 10px; border-radius: 6px; background: var(--grad); color: #fff; font: 600 .78rem/1 var(--text); letter-spacing: .04em; text-transform: uppercase; }
.paid-buy { font-size: 1.05rem; padding: 0 28px; height: 50px; box-shadow: 0 8px 22px rgba(255,0,87,.35); }
@media (max-width: 640px) { .paid-card { aspect-ratio: auto; min-height: 300px; } }
.paid-devices { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; color: var(--paper); font-size: .9rem; }
.paid-devices small { color: var(--mist); }
.sp-error .btn { margin-top: 12px; }

/* Ticket-Auswahl (Einzelticket und Pakete) */
.paid-options { display: grid; gap: 8px; width: 100%; max-width: 440px; }
.paid-options form { margin: 0; }
.paid-opt { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 16px; border: 0; border-radius: 12px; cursor: pointer; text-align: left;
  background: rgba(255,255,255,.08); color: var(--paper); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); transition: background .15s, box-shadow .15s; }
.paid-opt:hover, .paid-opt:focus-visible { background: rgba(255,255,255,.14); outline: none; box-shadow: inset 0 0 0 1.5px var(--accent); }
.paid-opt span { display: grid; gap: 2px; min-width: 0; }
.paid-opt b { font: 600 1rem/1.25 var(--text); }
.paid-opt small { color: var(--mist); font-size: .8rem; line-height: 1.35; }
.paid-opt .paid-owned { color: var(--accent); }
.paid-opt em { flex: none; font: 700 1.05rem var(--text); font-style: normal; }
.paid-opt.is-main { background: var(--grad); box-shadow: 0 8px 22px rgba(255,0,87,.3); }
.paid-opt.is-main small { color: rgba(255,255,255,.85); }
/* Käufe & Rechnungen */
.purchases { margin-bottom: 24px; }
.purchase-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.purchase-list li { display: grid; grid-template-columns: 1fr auto auto; gap: 16px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.purchase-list span { display: grid; gap: 2px; }
.purchase-list small { color: var(--mist); }
.purchase-list em { font-style: normal; font-weight: 600; }
@media (max-width: 640px) { .purchase-list li { grid-template-columns: 1fr auto; } .purchase-list .btn { grid-column: 1 / -1; justify-self: start; } }
.form-card.purchases { max-width: none; width: 100%; margin-left: 0; margin-right: 0; }

/* =========================================================
   Bühne im Hochformat (wie Netflix), endlos wischbar
   ========================================================= */
.stage-rail { grid-auto-columns: clamp(190px, 16.5vw, 270px) !important; gap: 16px !important; scroll-snap-type: x mandatory; }
.stage-rail .slide { scroll-snap-align: start; }
.stage-rail .slide-media { aspect-ratio: 2 / 3 !important; border-radius: 10px; }
.stage-rail .slide-title { font-size: .98rem !important; }
@media (max-width: 640px) { .stage-rail { grid-auto-columns: 43vw !important; gap: 10px !important; } }
/* Ton-Freigabe auf Android: einmal direkt ins YouTube-Fenster tippen */
.sp.needs-tap-sound .sp-taphint { display: block; }
.sp.needs-tap-sound .sp-shield, .sp.needs-tap-sound .sp-cover { display: none; }
.sp.needs-tap-sound .sp-stage iframe { pointer-events: auto; }
.sp.needs-tap-sound .sp-unmute { display: none !important; }
/* Vorgeladenes YouTube-Video: bis zum ersten Tipp nur Vorschaubild und Play-Knopf */
.sp.is-prebuilt .sp-controls, .sp.is-prebuilt .sp-unmute, .sp.is-prebuilt .sp-taphint, .sp.is-prebuilt .sp-spinner { display: none !important; }
.sp.is-prebuilt .sp-cover { opacity: 1 !important; }
.sp.is-prebuilt .sp-big { display: grid !important; }   /* Play-Knopf sofort sichtbar, auch während YouTube noch lädt */
/* Erster Tipp geht unsichtbar direkt ins YouTube-Fenster (nur so erlauben iPhone & Android Ton):
   Vorschaubild und Play-Knopf bleiben sichtbar, lassen den Tipp aber zum vorgeladenen Video durch */
.sp.is-prebuilt.is-ready .sp-cover, .sp.is-prebuilt.is-ready .sp-cover *, .sp.is-prebuilt.is-ready .sp-shield { pointer-events: none !important; }
.sp.is-prebuilt.is-ready .sp-stage, .sp.is-prebuilt.is-ready .sp-stage iframe { pointer-events: auto !important; }

/* Startseite: Jetzt Live, Demnächst und On Demand am Handy wie am Desktop – eine Reihe zum Wischen */
.row-rail { grid-auto-flow: column !important; grid-template-columns: none !important; grid-template-rows: none !important; overflow-x: auto; }
@media (max-width: 640px) { .row-rail { grid-auto-columns: 74vw !important; gap: 12px !important; } }

/* Kein orangefarbener Rahmen um das Video nach dem Tippen (Fokus-Markierung nur im TV-Modus) */
.sp:focus, .sp:focus-visible { box-shadow: none; outline: none; }
/* Handy: solange YouTube lädt, zeigt der Play-Knopf einen Ladekreis; ein Tipp in dieser Zeit zeigt „Einen Moment …“ */
/* Solange YouTube lädt (auch beim ersten Öffnen und nach einem frühen Klick): Ladekreis um den Play-Knopf, auf allen Geräten */
.sp.is-prebuilt:not(.is-ready) .sp-big svg, .sp.is-starting .sp-big svg { opacity: .55; }
.sp.is-prebuilt:not(.is-ready) .sp-big::after, .sp.is-starting .sp-big::after { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 3px solid rgba(255,255,255,.22); border-top-color: #fff; animation: sp-spin .9s linear infinite; }
.sp.is-prebuilt .sp-big, .sp.is-starting .sp-big { opacity: 1 !important; }
.sp.is-prebuilt.is-loading-tap .sp-taphint { display: block !important; }
@media (prefers-reduced-motion: reduce) { .sp.is-prebuilt:not(.is-ready) .sp-big::after { animation-duration: 2.5s; } }

/* Vollbild im Hochformat (YouTube): Video abdecken, bis das Handy gedreht ist */
.sp.needs-rotate .sp-rotate { display: grid !important; }
.sp .sp-rotate:has(> div) { inset: 0; left: 0; top: 0; transform: none; padding: 24px; border-radius: 0; place-items: center; background: #0b0e13; z-index: 30; pointer-events: auto; }
.sp-rotate > div { display: grid; justify-items: center; gap: 10px; max-width: 280px; }
.sp-rotate svg { width: 64px; height: 64px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; animation: sp-turn 2.2s ease-in-out infinite; transform-origin: 50% 50%; }
.sp-rotate strong { font: 600 1.15rem/1.3 var(--text); }
.sp-rotate span { color: var(--mist); font: 400 .9rem/1.4 var(--text); }
.sp-rotate button { margin-top: 10px; padding: 10px 18px; border: 0; border-radius: 22px; background: rgba(255,255,255,.12); color: #fff; font: 500 .92rem var(--text); cursor: pointer; }
.sp.needs-rotate .sp-controls, .sp.needs-rotate .sp-unmute, .sp.needs-rotate .sp-taphint { visibility: hidden; }
@keyframes sp-turn { 0%, 30% { transform: rotate(0); } 60%, 100% { transform: rotate(-90deg); } }
@media (prefers-reduced-motion: reduce) { .sp-rotate svg { animation: none; } }

/* Wischreihen schneiden Umrandungen nicht mehr ab */
.tiles-live .tile .thumb { box-shadow: none !important; position: relative; }
.tiles-live .tile .thumb::after { content: ""; position: absolute; inset: 0; z-index: 5; border: 2px solid var(--live); border-radius: inherit; pointer-events: none; }
.h-rail { padding: 6px 6px 12px; margin-left: -6px; margin-right: -6px; scroll-padding-inline: 6px; }

/* Multiview: nur ab ausreichender Bildschirmgröße, jedes Feld nur mit unserem Player-Look */
@media (max-width: 999px) {
  [data-mv-toggle], .ev-tools a.ev-tool[href*="login"][title*="Multiview"] { display: none !important; }
}
.mv-cell { background: #000; }
.mv-box { position: absolute; overflow: hidden; background: #000; }
.mv-box .mv-frame { position: absolute; inset: 0; }
.mv-box iframe { position: absolute; border: 0; pointer-events: none; }
.mv-shield { position: absolute; inset: 0; z-index: 2; }
.mv-cap { z-index: 3; }
/* Vorschaubild im Player = das Thumbnail des Events (nie schwarz) */
.sp-cover .sp-poster-html { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.sp-cover .sp-big { z-index: 2; }
.sp-cover::before { z-index: 1; }
.sp.is-started .sp-poster-html { display: none; }
/* Ticket-Karte: Thumbnail des Events dahinter, abgedunkelt */
.paid-card { background: var(--ink-2) !important; isolation: isolate; }
.paid-card > .paid-thumb { position: absolute; inset: 0; z-index: -2; }
.paid-card > .paid-thumb .th-lock { display: none; }
.paid-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgba(17,21,28,.72), rgba(17,21,28,.88)); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); }
.paid-card > .paid-thumb { max-width: none !important; width: auto; display: block !important; }
/* Pflicht-Häkchen AGB + sofortiger Zugang */
.paid-form { display: grid; gap: 12px; justify-items: center; width: 100%; max-width: 440px; }
.paid-terms { display: flex; gap: 10px; align-items: flex-start; text-align: left; font-size: .82rem; line-height: 1.4; color: var(--paper); cursor: pointer; }
.paid-terms input { flex: none; width: 18px; height: 18px; margin-top: 1px; accent-color: #FF0057; cursor: pointer; }
.paid-terms a { color: var(--paper); text-decoration: underline; }
.paid-terms.is-missing { animation: paid-shake .35s; }
.paid-terms.is-missing span { color: #ff8fa8; }
/* Bestellformular: Auswahl (Ticket/Paket) als Felder zum Anwählen, darunter Pflicht-Häkchen und Bestellknopf */
.paid-pick { justify-content: flex-start; }
.paid-pick input { flex: none; width: 18px; height: 18px; margin: 0; accent-color: #FF0057; cursor: pointer; }
.paid-pick span { flex: 1; }
.paid-pick:has(input:checked) { background: rgba(255,255,255,.14); box-shadow: inset 0 0 0 1.5px var(--accent); }
.paid-legal { text-align: left; width: 100%; }
.paid-legal a { color: var(--paper); text-decoration: underline; }
.paid-order { width: 100%; justify-content: center; text-align: center; }
/* Schritt 2 des Ticket-Kaufs: ohne JavaScript steht er unter der Auswahl, mit JavaScript als Einblendung
   (Handy: von unten, größerer Bildschirm: Fenster in der Mitte) */
.paid-sheet { position: static; display: grid; gap: 12px; width: 100%; margin: 0; padding: 0; border: 0; background: none; color: var(--paper); }
.paid-sheet .paid-note { color: var(--mist); font-size: .78rem; line-height: 1.4; text-align: center; }
.paid-form.is-steps .paid-sheet { display: none; }
.paid-form.is-steps .paid-sheet[open] { position: fixed; display: grid; inset: auto 0 0 0; width: 100%; max-width: 100%; max-height: 88vh; overflow: auto; margin: 0;
  padding: 26px 18px calc(20px + env(safe-area-inset-bottom, 0px)); border-radius: 18px 18px 0 0; background: var(--ink-2, #1c2029);
  box-shadow: 0 -12px 40px rgba(0, 0, 0, .55); animation: paid-sheet-up .25s ease-out; text-align: left; }
.paid-sheet::backdrop { background: rgba(5, 7, 10, .62); }
.paid-next[hidden], .paid-sum[hidden], .paid-sheet-x[hidden] { display: none; }   /* erst mit JavaScript sichtbar */
.paid-sheet .paid-terms { font-size: .78rem; color: var(--mist); gap: 9px; }
.paid-sheet .paid-terms a { color: var(--mist); }
.paid-sheet .paid-terms input { width: 16px; height: 16px; }
.paid-sheet-x { position: absolute; top: 8px; right: 10px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .08); color: var(--paper); font-size: 1.3rem; line-height: 1; cursor: pointer; }
.paid-sheet-title { margin: 0 40px 0 0; font: 700 1.15rem/1.25 var(--text); color: var(--paper); text-align: left; }
.paid-form:not(.is-steps) .paid-sheet-title { margin: 6px 0 0; font-size: 1rem; }
.paid-sum { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .08); font-size: 1rem; }
.paid-sum { align-items: flex-start; }
.paid-sum-what { display: grid; gap: 6px; min-width: 0; }
.paid-sum-what ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.paid-sum-ev { display: grid; gap: 1px; }
.paid-sum-ev small { color: var(--mist); font-size: .8rem; line-height: 1.35; }
.paid-sum-what ul .paid-sum-ev { padding-left: 10px; border-left: 2px solid rgba(255, 255, 255, .18); }
.paid-sum-what ul .paid-sum-ev b { font-weight: 600; font-size: .92rem; }
.paid-sum-price { flex: none; }
@keyframes paid-sheet-up { from { transform: translateY(100%); } to { transform: none; } }
@media (min-width: 700px) {
  .paid-form.is-steps .paid-sheet[open] { inset: 0; margin: auto; width: min(460px, calc(100% - 32px)); height: fit-content; border-radius: 16px; padding: 26px 22px 22px; animation: none; }
}
@keyframes paid-shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }

/* Partner auf der Event-Seite (3.6) – gleiche Optik wie im Portal */
.ev-sponsors h2 { margin-bottom: 20px; }
.ev-sponsors ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
.ev-sponsors li a, .ev-sponsors li > img { display: flex; }
.ev-sponsors li { display: grid; place-items: center; height: 100px; padding: 18px; border-radius: 10px; background: #fff; }
.ev-sponsors img { max-width: 100%; max-height: 64px; object-fit: contain; }

/* Sportarten-Seite: dezenter Buchstaben-Filter über den Kacheln (linksbündig) */
.az { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; margin: 0 0 22px; }
.az button { min-width: 30px; height: 30px; padding: 0 7px; border: 0; border-radius: 15px; background: none; color: var(--mist);
  font: 600 .9rem/1 var(--text); letter-spacing: .02em; cursor: pointer; transition: color .15s, background-color .15s; }
.az button:hover { color: var(--paper); background: var(--ink-2); }
.az button[aria-pressed="true"] { color: var(--paper); box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; background: none; }
.az .az-all { margin-right: 8px; padding: 0 4px; }
.az button:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.sports-grid2 .sport-card[hidden] { display: none; }
@media (max-width: 700px) {
  .az { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gap) * -1); padding-inline: var(--gap); }
  .az::-webkit-scrollbar { display: none; }
  .az button { flex: none; }
}

/* Startseite: Hervorhebung unter der Bühne (Großevent bzw. White-Label-Seite)
   Mit Titelbild: Bild als Hintergrund, links abgedunkelt. Ohne: Verlauf aus der Seitenfarbe. */
.spot { --c1: var(--accent); --lbg: #fff;
  position: relative; isolation: isolate; display: flex; align-items: center; gap: 20px; min-height: 96px; margin-top: 26px; padding: 16px 18px 16px 24px;
  border-radius: 14px; overflow: hidden; text-decoration: none; color: var(--paper);
  background: linear-gradient(100deg, color-mix(in srgb, var(--c1) 50%, var(--ink-2)) 0%, color-mix(in srgb, var(--c1) 16%, var(--ink-2)) 45%, var(--ink-2) 80%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); transition: box-shadow .2s; }
.spot.has-img { background: var(--ink-2); }
.spot-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.spot.has-img::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(17,21,28,.94) 0%, rgba(17,21,28,.82) 32%, rgba(17,21,28,.35) 70%, rgba(17,21,28,.15) 100%); }
.spot:hover { box-shadow: inset 0 0 0 1px rgba(255,255,255,.28); }
.spot.has-img:hover .spot-bg { transform: scale(1.03); }
.spot:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.spot-logo { flex: none; width: 60px; height: 60px; border-radius: 10px; background: var(--lbg, #fff); display: grid; place-items: center; overflow: hidden; }
.spot-logo img { display: block; width: 78%; height: 78%; object-fit: contain; }
.spot-text { flex: 1; min-width: 0; display: grid; gap: 4px; }
.spot-title { font: 600 1.25rem/1.15 var(--text); }
.spot-meta { font: 400 .9rem/1.2 var(--text); color: var(--mist); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.spot.has-img .spot-meta { color: rgba(243,246,250,.78); }
.spot-status { flex: none; display: inline-flex; align-items: center; gap: 8px; max-width: 360px; height: 34px; padding: 0 14px; border-radius: 17px;
  background: rgba(17,21,28,.55); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); font: 600 .9rem/1 var(--text); white-space: nowrap; overflow: hidden;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.spot-status.is-live::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--live); animation: pulse 1.4s ease-in-out infinite; }
.spot-status span { overflow: hidden; text-overflow: ellipsis; }
.spot-go { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); color: var(--ink); }
.spot-go svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 640px) {
  .spot { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 4px 14px; padding: 14px 14px 14px 16px; }
  .spot.has-img::after { background: linear-gradient(90deg, rgba(17,21,28,.92) 0%, rgba(17,21,28,.75) 60%, rgba(17,21,28,.45) 100%); }
  .spot-logo { grid-row: span 2; width: 48px; height: 48px; }
  .spot-text { grid-column: 2; }
  .spot:not(:has(.spot-logo)) .spot-text { grid-column: 1 / 3; }
  .spot-title { font-size: 1.05rem; }
  .spot-meta { white-space: normal; }
  .spot-status { grid-column: 2 / 4; justify-self: start; max-width: 100%; height: 28px; padding: 0 11px; font-size: .82rem; margin-top: 6px; }
  .spot:not(:has(.spot-logo)) .spot-status { grid-column: 1 / 4; }
  .spot-go { grid-column: 3; grid-row: 1; width: 34px; height: 34px; align-self: center; }
}
@media (prefers-reduced-motion: reduce) { .spot-status.is-live::before { animation: none; } .spot-bg { transition: none; } }

/* Produktion: Referenzen – Logo-Raster ganz unten, Logos einheitlich grau, beim Darüberfahren in Originalfarben */
.refs { padding: clamp(56px, 8vw, 110px) 0 clamp(40px, 6vw, 80px); text-align: center; }
.refs h2 { margin-bottom: 8px; }
.refs-grid { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.refs-grid li { flex: 0 0 calc((100% - 6 * 12px) / 7); display: grid; place-items: center; height: 96px; padding: 16px 18px; border-radius: 10px;
  background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--rule); transition: background-color .25s; }
.refs-grid li > a { display: grid; place-items: center; width: 100%; height: 100%; }
.refs-grid img { max-width: 100%; max-height: 44px; object-fit: contain; filter: url(#refs-grey); transition: filter .25s; }   /* alle Logos im selben Grauton-Bereich (Filter in views/produktion.php) */
.refs-grid li:hover { background: var(--ink-3); }
.refs-grid li:hover img, .refs-grid a:focus-visible img { filter: none; }
@media (max-width: 900px) { .refs-grid li { flex-basis: calc((100% - 3 * 12px) / 4); } }
@media (max-width: 640px) { .refs-grid { gap: 8px; } .refs-grid li { flex-basis: calc((100% - 2 * 8px) / 3); height: 72px; padding: 10px; } .refs-grid img { max-height: 30px; } }

/* Momente (ab 3.9): Seite „Momente“ mit Reitern, öffentliche Momente als Karten, Likes, Teilen */
.mom-tabs { display: inline-flex; gap: 4px; margin-top: 14px; padding: 4px; border-radius: 24px; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--rule); }
.mom-tabs a { padding: 9px 20px; border-radius: 20px; text-decoration: none; color: var(--mist); font: 600 1rem/1 var(--text); }
.mom-tabs a:hover { color: var(--paper); }
.mom-tabs a[aria-current] { background: var(--paper); color: var(--ink); }
.mom-filter { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin: 22px 0 20px; }
.mom-sort { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.mom-sort a { padding: 6px 0; text-decoration: none; color: var(--mist); font-weight: 600; box-shadow: inset 0 -2px 0 transparent; }
.mom-sort a:hover { color: var(--paper); }
.mom-sort a[aria-current] { color: var(--paper); box-shadow: inset 0 -2px 0 var(--accent); }
.mom-sport select { height: 44px; padding: 0 38px 0 16px; border: 0; border-radius: 22px; background-color: var(--ink-2); color: var(--paper); box-shadow: inset 0 0 0 1px var(--rule); font: 600 1rem/1 var(--text); }
.mom-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 30px 18px; }
.mom-card { display: grid; gap: 10px; align-content: start; min-width: 0; }
.mom-thumb { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: var(--ink-3); transition: transform .2s ease, box-shadow .2s ease; }
.mom-thumb img, .mom-thumb svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.mom-thumb:hover { transform: translateY(-2px); box-shadow: 0 0 0 2px var(--paper); }
.mom-body { display: grid; gap: 3px; min-width: 0; }
.mom-body h3 { font: 500 1rem/1.3 var(--text); letter-spacing: 0; text-transform: none; }
.mom-body h3 a { text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mom-event { margin: 0; font-size: .85rem; color: var(--mist); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mom-foot { margin: 4px 0 0; display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: .85rem; color: var(--mist); }
.mom-by { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mom-like { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px 0 10px; border: 0; border-radius: 16px; background: var(--ink-2);
  color: var(--mist); box-shadow: inset 0 0 0 1px var(--rule); font: 600 .9rem/1 var(--text); cursor: pointer; transition: color .15s, background-color .15s; }
.mom-like svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.mom-like:hover { color: var(--paper); background: var(--ink-3); }
.mom-like.is-on { color: var(--live); }
.mom-like.is-on svg { fill: currentColor; }
.mom-like-big { height: 46px; padding: 0 18px 0 14px; border-radius: 23px; font-size: 1rem; }
.mom-like-big svg { width: 20px; height: 20px; }
.mom-share { display: inline-flex; flex-wrap: wrap; gap: 8px; }
.mom-note { margin: 12px 0 0; font-size: .9rem; color: var(--mist); }
.mom-pager { display: flex; justify-content: center; gap: 12px; margin-top: 34px; }
.mom-publish { display: flex; flex-wrap: wrap; gap: 8px; }
.mom-publish input { flex: 1 1 200px; min-width: 0; padding: 10px 12px; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--ink); color: var(--paper); font: inherit; }
.h-rail.mom-rail { grid-auto-columns: minmax(250px, 22vw); }
.h-rail.mom-rail .mom-card { scroll-snap-align: start; }
.evs-list .evs-sep { margin: 12px 0 2px; padding: 10px 6px 0; border-top: 1px solid var(--rule); font: 600 .78rem/1 var(--text); letter-spacing: .06em; text-transform: uppercase; color: var(--mist); }
@media (max-width: 640px) { .mom-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; } .mom-filter { margin-top: 16px; } .h-rail.mom-rail { grid-auto-columns: 72vw; } }
/* Momente zeigen immer das offizielle Thumbnail des Events (wie im Kalender) – die Längen-Marke liegt darüber */
.mom-thumb .moment-len, .moment-thumb .moment-len, .mc-thumb .mc-len, .evs-th-official > em { z-index: 3; }

/* Momente: Sportarten-Auswahl im Stil des Kalenders (Liste aus Links) */
.dd-links .dd-btn { height: 48px; border-radius: 24px; white-space: nowrap; }
.dd-links .dd-pop { left: auto; right: 0; width: 280px; grid-template-rows: 1fr; }
.dd-links .dd-list { padding: 6px; }
.dd-links a.dd-opt { text-decoration: none; }
@media (max-width: 640px) { .dd-links .dd-pop { left: 0; right: auto; } }

/* Moment im Hochformat: der Player wird hoch (9:16) und zeigt den gewählten Ausschnitt */
.mom-view.is-portrait .player { aspect-ratio: 9 / 16; width: min(100%, calc(min(78svh, 760px) * 9 / 16)); height: auto; margin-inline: auto; }
.mom-portrait-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 14px; }
.mom-portrait-edit { flex-basis: 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; padding: 14px 16px; border-radius: 10px; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--rule); }
.mom-portrait-edit[hidden] { display: none; }
.mom-portrait-edit label { flex: 1 1 260px; display: grid; gap: 6px; font-weight: 600; }
.mom-portrait-edit input[type="range"] { width: 100%; accent-color: var(--accent); }
.mom-portrait-edit small { flex-basis: 100%; color: var(--mist); }
@media (max-width: 700px) { .mom-view.is-portrait .player { width: min(100%, calc(84svh * 9 / 16)); border-radius: 10px; } }

/* Moment speichern: am Handy liegt das Fenster unter dem Player; Hochformat-Ausschnitt mit Hilfsflächen über dem Video */
.sp-mpanel.is-below { position: static; width: auto; margin: 10px 0 0; right: auto; bottom: auto; left: auto; box-shadow: 0 0 0 1px var(--rule); color: #fff; }
.sp-mp-crop { display: grid; gap: 8px; }
.sp-mp-check { display: flex; align-items: center; gap: 8px; font-size: .92rem; cursor: pointer; }
.sp-mp-check input { width: 18px; height: 18px; accent-color: var(--accent); }
.sp-mp-cropx { width: 100%; accent-color: var(--accent); }
.sp-mp-cropx[hidden] { display: none; }
.sp-cropguide { --cx: .5; position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.sp-cropguide[hidden] { display: none; }
.sp-cropguide i { position: absolute; top: 0; bottom: 0; background: rgba(6, 8, 12, .66); }
.sp-cropguide i:first-child { left: 0; width: calc((100% - 31.64%) * var(--cx)); box-shadow: 2px 0 0 rgba(255,255,255,.85); }
.sp-cropguide i:last-child { right: 0; width: calc((100% - 31.64%) * (1 - var(--cx))); box-shadow: -2px 0 0 rgba(255,255,255,.85); }

/* Momente → Entdecken am Handy: Feed im Hochformat, bildschirmbreit; der Moment im Bild spielt von selbst (assets/js/moments-feed.js) */
.mom-feed-consent { margin: 0 0 18px; padding: 14px 16px; border-radius: 10px; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--rule); display: grid; gap: 10px; }
.mom-feed-consent[hidden] { display: none; }
.mom-feed-consent p { margin: 0; color: var(--mist); font-size: .92rem; }
.mom-acts { flex: none; display: inline-flex; align-items: center; gap: 8px; }
.mom-th-portrait { display: none; }
.mom-act { display: none; }
@media (max-width: 700px) {
  .mom-grid.is-feed { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  /* Video von Rand zu Rand: so breit wie der Bildschirm, 9:16 hoch (höchstens 82 % der Bildschirmhöhe) */
  .mom-grid.is-feed .mom-thumb { width: 100vw; max-width: none; margin-left: calc(50% - 50vw); aspect-ratio: auto; height: min(calc(100vw * 16 / 9), 82svh);
    border-radius: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; user-select: none; -webkit-user-select: none; touch-action: manipulation; }
  .mom-grid.is-feed .mom-thumb:hover { transform: none; box-shadow: none; }
  .mom-grid.is-feed .mom-th-portrait { display: block; position: absolute; inset: 0; z-index: 1; }   /* Hochformat-Thumbnail über dem Querformat */
  .mom-grid.is-feed .mom-body h3 { font-size: 1.05rem; }
  .mom-grid.is-feed .mom-foot { margin-top: 8px; }
  .mom-grid.is-feed .mom-act { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--mist); cursor: pointer; }
  .mom-grid.is-feed .mom-act svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .mom-grid.is-feed .mom-like { height: 36px; background: none; box-shadow: none; padding: 0 4px 0 6px; font-size: .95rem; }
  .mom-grid.is-feed .mom-like svg { width: 20px; height: 20px; }
  /* EIN Player für den ganzen Feed: Fenster liegt über dem Vorschaubild der aktiven Karte, unter Ton-Knopf, Zeitleiste und Herz */
  .mom-feed-box { position: absolute; z-index: 1; overflow: hidden; background: #000; pointer-events: none; opacity: 0; transition: opacity .25s; }
  .mom-feed-box[hidden] { display: none; }
  .mom-feed-box.is-on { opacity: 1; }
  .mom-feed-box.needs-tap { pointer-events: auto; z-index: 6; }   /* letzter Ausweg: Gerät verlangt den Tipp direkt im YouTube-Fenster */
  .mom-feed-frame { position: absolute; border: 0; max-width: none; pointer-events: none; background: #000; }
  .mom-feed-box.needs-tap .mom-feed-frame { pointer-events: auto; }
  .mom-grid.is-feed .mom-feed-sound, .mom-grid.is-feed .mom-feed-bar, .mom-grid.is-feed .mom-feed-heart, .mom-grid.is-feed .mom-feed-paused { z-index: 7; }
  /* Ladesymbol, solange das Video noch nicht läuft */
  .mom-card.is-loading .mom-thumb::after { content: ""; position: absolute; z-index: 4; left: 50%; top: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px;
    border-radius: 50%; border: 3px solid rgba(255,255,255,.28); border-top-color: #fff; animation: momSpin .8s linear infinite; }
  .mom-grid.is-feed .moment-len { z-index: 3; }
  .mom-feed-sound { position: absolute; z-index: 5; left: 12px; bottom: 12px; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; display: grid; place-items: center;
    background: rgba(8, 10, 14, .6); color: #fff; cursor: pointer; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
  .mom-feed-sound svg { width: 20px; height: 20px; fill: currentColor; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .mom-feed-heart, .mom-feed-paused { position: absolute; z-index: 4; left: 50%; top: 50%; width: 96px; height: 96px; margin: -48px 0 0 -48px; pointer-events: none; opacity: 0; }
  .mom-feed-heart svg { width: 100%; height: 100%; fill: #fff; filter: drop-shadow(0 4px 16px rgba(0,0,0,.45)); }
  .mom-feed-heart.is-on { animation: momHeart .8s ease-out; }
  .mom-feed-paused { width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%; background: rgba(8, 10, 14, .55); display: grid; place-items: center; transition: opacity .15s; }
  .mom-feed-paused svg { width: 34px; height: 34px; fill: #fff; margin-left: 4px; }
  .mom-card.is-paused .mom-feed-paused { opacity: 1; }
  /* Zeitleiste zum Spulen – nur sichtbar, solange das Video läuft; großzügige Tippfläche, schmale Linie */
  .mom-feed-bar { position: absolute; z-index: 5; left: 64px; right: 64px; bottom: 14px; height: 36px; display: flex; align-items: center; cursor: pointer;
    touch-action: none; opacity: 0; pointer-events: none; transition: opacity .2s; }
  .mom-card.is-playing .mom-feed-bar { opacity: 1; pointer-events: auto; }
  .mom-feed-track { --p: 0; position: relative; flex: 1; height: 4px; border-radius: 2px; background: rgba(255,255,255,.3); }
  .mom-feed-fill { position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--p) * 100%); border-radius: 2px; background: #fff; }
  .mom-feed-knob { position: absolute; top: 50%; left: calc(var(--p) * 100%); width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #fff;
    box-shadow: 0 1px 6px rgba(0,0,0,.4); transition: transform .15s; }
  .mom-feed-bar.is-drag .mom-feed-knob { transform: scale(1.35); }
  .mom-card.is-playing .moment-len { opacity: 0; }   /* die Länge steht während des Abspielens nicht über der Zeitleiste */
}
@keyframes momHeart { 0% { opacity: 0; transform: scale(.4); } 18% { opacity: 1; transform: scale(1.15); } 35% { transform: scale(1); } 75% { opacity: 1; } 100% { opacity: 0; transform: scale(1.05); } }
@keyframes momSpin { to { transform: rotate(360deg); } }
