/* sun galaxy – statische Website · Version 1.1.0
   Gestaltung: Nachthimmel, aufgehende Sonne, Planeten-Horizont.
   Farbwelt pro Sender über <html data-theme="main|soft">. */

:root {
  /* sun galaxy: Mitternachtsblau → Violett → Sonnenaufgang */
  --night: #17143f;
  --night-2: #241d5c;
  --dusk: #4a2b7d;
  --glow: #ff7b35;
  --sun-core: #fff4c7;
  --sun: #ffcb3d;
  --sun-edge: #ff9220;
  --accent-ink: #b8640a;   /* Akzent für Text auf hellem Grund (kontrastreich) */
  --ink: #1f1a4d;
  --ink-soft: #5f5a8a;
  --paper: #f4f2fb;
  --surface: #ffffff;
  --line: #e4e0f1;
  --button: #ffcb3d;
  --button-ink: #1f1a4d;
  --shadow: 0 1px 0 rgba(31, 26, 77, .04), 0 30px 60px -36px rgba(37, 25, 92, .45);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max: 1160px;
  --r-lg: 28px;
  --r-md: 18px;
}
:root[data-theme="soft"] {
  /* sun galaxy soft: Abendhimmel in Pflaume, Rosé und Pfirsich */
  --night: #26162f;
  --night-2: #3a2045;
  --dusk: #6e3b68;
  --glow: #f2877a;
  --sun-core: #fff1df;
  --sun: #ffd4a3;
  --sun-edge: #ffa06a;
  --accent-ink: #b4502c;
  --ink: #36203c;
  --ink-soft: #7f6479;
  --paper: #faf4f3;
  --line: #efe0e3;
  --button: #ff8c00;
  --button-ink: #ffffff;
  --shadow: 0 1px 0 rgba(54, 32, 60, .04), 0 30px 60px -36px rgba(90, 40, 80, .45);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font); font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--sun-edge); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(100% - 40px, var(--max)); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 12px; z-index: 50; background: #fff; color: var(--ink); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 12px; }
h1, h2, h3 { letter-spacing: -.025em; line-height: 1.08; }

/* =========================================================
   Himmel (Kopfbereich)
   ========================================================= */
.sky {
  position: relative; isolation: isolate; overflow: hidden; color: #fff;
  background: linear-gradient(180deg, var(--night) 0%, var(--night) 18%, var(--dusk) 62%, var(--glow) 100%);
}
.sky::before { /* Sterne */
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    radial-gradient(1.6px 1.6px at 7% 14%, #fff 60%, transparent 62%),
    radial-gradient(1.2px 1.2px at 16% 38%, #fff 60%, transparent 62%),
    radial-gradient(2px 2px at 24% 9%, #fff 60%, transparent 62%),
    radial-gradient(1.2px 1.2px at 33% 27%, #fff 60%, transparent 62%),
    radial-gradient(1.6px 1.6px at 41% 6%, #fff 60%, transparent 62%),
    radial-gradient(1.2px 1.2px at 49% 33%, #fff 60%, transparent 62%),
    radial-gradient(2px 2px at 58% 15%, #fff 60%, transparent 62%),
    radial-gradient(1.2px 1.2px at 66% 4%, #fff 60%, transparent 62%),
    radial-gradient(1.6px 1.6px at 74% 24%, #fff 60%, transparent 62%),
    radial-gradient(1.2px 1.2px at 83% 11%, #fff 60%, transparent 62%),
    radial-gradient(2px 2px at 91% 31%, #fff 60%, transparent 62%),
    radial-gradient(1.2px 1.2px at 96% 7%, #fff 60%, transparent 62%),
    radial-gradient(1.2px 1.2px at 12% 55%, #fff 60%, transparent 62%),
    radial-gradient(1.6px 1.6px at 37% 48%, #fff 60%, transparent 62%),
    radial-gradient(1.2px 1.2px at 63% 42%, #fff 60%, transparent 62%),
    radial-gradient(1.2px 1.2px at 87% 50%, #fff 60%, transparent 62%);
  -webkit-mask-image: linear-gradient(#000 0%, #000 40%, transparent 75%);
          mask-image: linear-gradient(#000 0%, #000 40%, transparent 75%);
  opacity: .8;
}
.horizon { /* gebogene Planetenkante */
  position: absolute; z-index: 2; left: -25%; right: -25%; bottom: -1px;
  height: clamp(70px, 11vw, 150px); pointer-events: none;
  background: var(--paper);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  box-shadow: 0 -2px 0 rgba(255, 255, 255, .55), 0 -18px 60px 6px color-mix(in srgb, var(--glow) 70%, transparent);
}

/* Kopfzeile */
.topbar {
  position: relative; z-index: 4; display: flex; align-items: center; gap: 12px 20px; flex-wrap: wrap;
  padding-block: 20px;
}
.brand { display: inline-flex; align-items: center; min-height: 44px; margin-right: auto; text-decoration: none; }
.brand img { height: 42px; width: auto; }
.brand-text { display: none; font-weight: 800; font-size: 1.5rem; letter-spacing: -.02em; }
.brand.no-logo img { display: none; }
.brand.no-logo .brand-text { display: inline; }
.nav { display: flex; gap: 2px; }
.nav a {
  display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none; font-weight: 600; font-size: .95rem; color: rgba(255, 255, 255, .8);
  padding: 9px 14px; border-radius: 999px;
}
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.nav a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .14); }
.switch { /* Senderwahl */
  display: inline-flex; padding: 4px; border-radius: 999px;
  background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16);
}
.switch a {
  text-decoration: none; font-weight: 700; font-size: .9rem; padding: 7px 14px; border-radius: 999px;
  color: rgba(255, 255, 255, .78); white-space: nowrap;
}
.switch a:hover { color: #fff; }
.switch a[aria-current="true"] { background: var(--button); color: var(--button-ink); }

/* Startseite: Schlagzeile links, Sonne mit aktuellem Titel rechts */
.hero {
  position: relative; display: grid; align-items: center;
  grid-template-columns: 1.05fr 1fr; gap: 24px;
  padding: clamp(16px, 4vw, 48px) 0 clamp(150px, 17vw, 230px);
}
.hero-copy { position: relative; z-index: 3; }
.hero h1 {
  margin: 0; font-weight: 800; font-size: clamp(2.6rem, 6.2vw, 5.4rem); line-height: .95; letter-spacing: -.04em;
  text-wrap: balance;
}
.hero .lede { margin: 22px 0 0; max-width: 36ch; font-size: 1.15rem; color: rgba(255, 255, 255, .84); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 26px;
  border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 1.02rem;
  background: var(--button); color: var(--button-ink);
  box-shadow: 0 12px 28px -12px color-mix(in srgb, var(--sun-edge) 85%, transparent);
  transition: transform .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--line { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .55); }
.btn--line:hover { box-shadow: inset 0 0 0 1.5px #fff; }

/* Die Sonne: Hülle wird bewegt (nur transform/opacity → flüssig, GPU),
   Lichthof (::before) und Scheibe (::after) sind reine Verläufe ohne Schatten. */
.now { position: relative; display: grid; place-items: center; min-height: clamp(320px, 38vw, 470px); }
.sun {
  position: absolute; z-index: 1; left: 50%; top: 50%;
  width: clamp(300px, 40vw, 520px); aspect-ratio: 1;
  transform: translate3d(-50%, -42%, 0);
  will-change: transform, opacity; backface-visibility: hidden;
  animation: rise 2.4s cubic-bezier(.16, .84, .3, 1) both;
  pointer-events: none;
}
.sun::before {
  content: ""; position: absolute; inset: -42%; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--sun) 55%, transparent) 0%, color-mix(in srgb, var(--glow) 28%, transparent) 38%, transparent 68%);
}
.sun::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle at 50% 42%, var(--sun-core) 0%, var(--sun) 38%, var(--sun-edge) 78%, color-mix(in srgb, var(--sun-edge) 60%, var(--glow)) 100%);
}
@keyframes rise {
  from { transform: translate3d(-50%, 18%, 0) scale(.94); opacity: 0; }
  35% { opacity: 1; }
  to { transform: translate3d(-50%, -42%, 0) scale(1); opacity: 1; }
}
.now-text { position: relative; z-index: 3; text-align: center; color: var(--ink); max-width: min(28ch, 78%); }
.now-label { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .9rem; color: color-mix(in srgb, var(--ink) 70%, transparent); }
.now-artist { margin-top: 8px; font-weight: 800; letter-spacing: -.025em; font-size: clamp(1.6rem, 2.9vw, 2.35rem); line-height: 1.02; text-wrap: balance; }
.now-title { margin-top: 8px; font-size: clamp(1.05rem, 1.6vw, 1.25rem); font-weight: 600; line-height: 1.25; text-wrap: balance; }
.now-meta { margin-top: 10px; font-size: .88rem; color: color-mix(in srgb, var(--ink) 70%, transparent); }
.now-meta:empty { display: none; }
.swap { animation: swap .5s ease both; }
@keyframes swap { from { opacity: .3; } to { opacity: 1; } }

/* Unterseiten: niedriger Himmel, kleine Sonne am Horizont */
.hero--page { display: block; padding: clamp(14px, 3vw, 36px) 0 clamp(140px, 15vw, 200px); }
.hero--page > * { position: relative; z-index: 3; }
.hero--page h1 { margin: 0; font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 800; letter-spacing: -.035em; }
.hero--page .now-line { margin: 14px 0 0; color: rgba(255, 255, 255, .84); font-size: 1.05rem; }
.hero--page .now-line b { color: #fff; font-weight: 700; }
.hero--page .now-line i { margin-right: 6px; color: var(--sun); }
.sun--small {
  left: auto; right: 6%; top: auto; bottom: clamp(-70px, -3vw, -24px);
  width: clamp(170px, 22vw, 300px); transform: none; animation: none; will-change: auto;
}
.sun--small::before { inset: -30%; }

/* =========================================================
   Inhalt
   ========================================================= */
main { display: block; padding-bottom: clamp(48px, 7vw, 88px); }
.section { margin-top: clamp(48px, 7vw, 88px); }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; margin-bottom: 22px; }
.section-head h2 { margin: 0; font-weight: 800; font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
.section-head p { margin: 0; color: var(--ink-soft); }
.muted { color: var(--ink-soft); }
.loading { color: var(--ink-soft); }
.loading::after { content: "…"; }
.err { color: var(--ink-soft); font-style: italic; }

/* Karte, die über den Horizont ragt */
.card { background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.card--lift { position: relative; z-index: 5; margin-top: clamp(-130px, -10vw, -80px); padding: clamp(22px, 3.4vw, 36px); }
.card-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; margin-bottom: 26px; }
.card-head h2 { margin: 0; font-weight: 800; font-size: clamp(1.4rem, 2.6vw, 1.8rem); }
.link {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none;
  color: var(--accent-ink);
}
.link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Programm: laufende und nächste Sendung, Linie füllt sich mit dem
   Fortschritt der laufenden Sendung (Lage setzt radio.js). */
.program { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 40px; --p: 0; }
.stop { position: relative; padding-top: 42px; min-width: 0; }
.stop .dot {
  position: absolute; z-index: 2; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%;
  background: var(--surface); box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--ink) 22%, var(--line));
}
.stop--now .dot {
  background: radial-gradient(circle, var(--sun-core) 0%, var(--sun) 45%, var(--sun-edge) 100%);
  box-shadow: 0 0 0 7px color-mix(in srgb, var(--sun) 32%, transparent);
}
.track {
  position: absolute; z-index: 1; left: 11px; top: 10px; width: calc(50% + 20px); height: 3px;
  border-radius: 3px; background: var(--line);
}
.track-fill {
  position: absolute; left: 0; top: 0; height: 100%; width: calc(var(--p) * 100%);
  border-radius: inherit; background: linear-gradient(90deg, var(--sun), var(--sun-edge));
  transition: width .8s ease, height .8s ease;
}
.track-head {
  position: absolute; top: 50%; left: calc(var(--p) * 100%); width: 12px; height: 12px; border-radius: 50%;
  transform: translate(-50%, -50%); background: var(--sun-edge);
  box-shadow: 0 0 0 4px var(--surface), 0 0 12px 3px color-mix(in srgb, var(--sun-edge) 55%, transparent);
  transition: left .8s ease, top .8s ease;
}
.track.is-vertical .track-fill { width: 100%; height: calc(var(--p) * 100%); background: linear-gradient(180deg, var(--sun), var(--sun-edge)); }
.track.is-vertical .track-head { left: 50%; top: calc(var(--p) * 100%); }
.program:not(.has-progress) .track-head { display: none; }
.stop .when { font-weight: 600; color: var(--ink-soft); }
.stop .what { font-weight: 800; font-size: clamp(1.35rem, 2.3vw, 1.75rem); letter-spacing: -.02em; line-height: 1.15; margin-top: 2px; }
.stop .left { display: inline-flex; align-items: center; gap: 7px; margin-top: 8px; font-weight: 700; font-size: .95rem; color: var(--accent-ink); }
.stop .left:empty { display: none; }
.stop .desc { margin-top: 6px; color: var(--ink-soft); max-width: 42ch; }
.stop .desc:empty { display: none; }
.facts {
  display: flex; flex-wrap: wrap; gap: 14px 32px; align-items: center; justify-content: space-between;
  margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line);
}
.facts p { margin: 0; }
.facts b { font-weight: 700; }
.facts i { color: var(--accent-ink); margin-right: 6px; }
.genre {
  display: inline-block; margin-left: 6px; padding: 3px 12px; border-radius: 999px;
  background: color-mix(in srgb, var(--sun) 32%, var(--surface)); font-weight: 700; font-size: .95rem;
}

/* Musik: Verlauf (helle Karte) + Top 5 (Nachtkarte) */
.music { display: grid; grid-template-columns: 1.25fr 1fr; gap: 20px; align-items: stretch; }
.music .card { padding: clamp(22px, 3vw, 32px); }
.music h3 { margin: 0 0 18px; font-size: 1.3rem; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.music h3 i { font-size: 1rem; color: var(--accent-ink); }
.history { list-style: none; margin: 0; padding: 0; position: relative; }
.history::before { content: ""; position: absolute; left: 4.6em; top: 10px; bottom: 10px; width: 2px; background: var(--line); }
.history li { position: relative; display: grid; grid-template-columns: 3.4em 1fr; gap: 36px; padding: 10px 0; }
.history li::before {
  content: ""; position: absolute; left: calc(4.6em - 4px); top: 17px; width: 10px; height: 10px; border-radius: 50%;
  background: var(--surface); box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--ink) 25%, var(--line));
}
.history li:first-child::before { background: var(--sun-edge); box-shadow: 0 0 0 4px color-mix(in srgb, var(--sun) 30%, transparent); }
.history .t { font-variant-numeric: tabular-nums; color: var(--ink-soft); font-weight: 600; text-align: right; }
.history .a { font-weight: 700; }
.history .s { color: var(--ink-soft); }
.card.top-card {
  color: #fff; position: relative; overflow: hidden;
  background: radial-gradient(130% 120% at 100% 0%, var(--dusk) 0%, var(--night-2) 45%, var(--night) 100%);
}
.top-card h3 i { color: var(--sun); }
.top { list-style: none; margin: 0; padding: 0; counter-reset: r; position: relative; }
.top li {
  counter-increment: r; display: flex; align-items: center; gap: 16px; padding: 10px 0;
  font-weight: 700; font-size: 1.08rem; border-top: 1px solid rgba(255, 255, 255, .1);
}
.top li:first-child { border-top: 0; font-size: 1.3rem; }
.top li::before {
  content: counter(r); flex: none; width: 1.2em; text-align: right;
  font-weight: 800; font-size: 2rem; line-height: 1; letter-spacing: -.04em; color: var(--sun);
}
.top li:first-child::before { font-size: 2.7rem; }
.top .crown { margin-left: auto; color: var(--sun); }

/* So hörst du uns: Alexa-Karte + Plattform-Kacheln */
.listen { display: grid; grid-template-columns: 1fr 1.25fr; gap: 20px; align-items: stretch; }
.alexa {
  position: relative; overflow: hidden; color: #fff; border-radius: var(--r-lg);
  padding: clamp(24px, 3.4vw, 36px); padding-right: 44%;
  background: radial-gradient(120% 140% at 100% 100%, var(--glow) 0%, var(--dusk) 45%, var(--night) 100%);
  min-height: 300px; display: flex; flex-direction: column; justify-content: center;
}
.alexa p { margin: 0; }
.alexa-ico {
  display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: 16px; border-radius: 50%;
  background: rgba(255, 255, 255, .14); font-size: 1.1rem;
}
.alexa .say { font-weight: 800; font-size: clamp(1.45rem, 2.4vw, 1.9rem); line-height: 1.12; letter-spacing: -.025em; margin-top: 8px; }
.alexa .hint { margin-top: 16px; color: rgba(255, 255, 255, .8); }
.alexa .hint a { color: #fff; font-weight: 700; }
.alexa img {
  position: absolute; right: 7%; top: 50%; width: 32%; max-width: 200px;
  transform: translateY(-50%) rotate(-7deg); border-radius: 22px;
  box-shadow: 0 24px 40px -14px rgba(0, 0, 0, .55);
}
.platforms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.platforms a {
  display: flex; align-items: center; gap: 12px; height: 100%; min-height: 64px; padding: 10px 16px 10px 12px;
  background: var(--surface); border-radius: var(--r-md); text-decoration: none; font-weight: 700;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow .15s ease, transform .15s ease;
}
.platforms a:hover { box-shadow: inset 0 0 0 2px var(--sun-edge); transform: translateY(-1px); }
.platforms img { flex: none; width: 40px; height: 40px; object-fit: contain; border-radius: 10px; background: #fff; }
.platforms .ext { margin-left: auto; font-size: .8rem; color: var(--ink-soft); }

/* =========================================================
   Sendeplan – „Umlaufbahn“: ein Tag als 24-Stunden-Ring
   ========================================================= */
.orbit-card {
  position: relative; overflow: hidden; isolation: isolate; color: #fff; border-radius: 32px;
  padding: clamp(18px, 3vw, 36px);
  background: radial-gradient(90% 120% at 12% 0%, var(--dusk) 0%, var(--night-2) 42%, var(--night) 100%);
  box-shadow: var(--shadow);
}
.orbit-card::before { /* Sterne */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .55;
  background-image:
    radial-gradient(1.4px 1.4px at 8% 20%, #fff 60%, transparent 62%),
    radial-gradient(1.2px 1.2px at 22% 70%, #fff 60%, transparent 62%),
    radial-gradient(1.8px 1.8px at 38% 12%, #fff 60%, transparent 62%),
    radial-gradient(1.2px 1.2px at 47% 88%, #fff 60%, transparent 62%),
    radial-gradient(1.4px 1.4px at 61% 30%, #fff 60%, transparent 62%),
    radial-gradient(1.2px 1.2px at 72% 64%, #fff 60%, transparent 62%),
    radial-gradient(1.8px 1.8px at 86% 16%, #fff 60%, transparent 62%),
    radial-gradient(1.2px 1.2px at 94% 78%, #fff 60%, transparent 62%);
}
.orbit-card .days { display: flex; gap: 6px; margin: 0; padding: 0; }
.orbit-card .days button {
  flex: 1 0 0; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 1px;
  font: inherit; cursor: pointer; padding: 9px 4px; border: 0; border-radius: 14px; line-height: 1.15;
  background: rgba(255, 255, 255, .07); color: #fff; transition: background .15s ease;
}
.orbit-card .days button:hover { background: rgba(255, 255, 255, .14); }
.orbit-card .days button b { font-weight: 800; }
.orbit-card .days button small { font-size: .72rem; color: rgba(255, 255, 255, .62); }
.orbit-card .days button[aria-selected="true"] { background: var(--button); color: var(--button-ink); }
.orbit-card .days button[aria-selected="true"] small { color: inherit; opacity: .75; }
.orbit-card .days .long { display: inline; }
.orbit-card .days .short { display: none; }

.orbit-body {
  display: grid; grid-template-columns: minmax(280px, 430px) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px); align-items: center; margin-top: clamp(20px, 3vw, 32px);
}
.orbit { position: relative; width: 100%; aspect-ratio: 1; }
.orbit-svg { display: block; width: 100%; height: 100%; overflow: visible; }
.orbit-svg .track { fill: none; stroke: rgba(255, 255, 255, .07); stroke-width: 30; }
.orbit-svg .tick { fill: rgba(255, 255, 255, .28); }
.orbit-svg .tick.major { fill: rgba(255, 255, 255, .7); }
.orbit-svg .hl { fill: rgba(255, 255, 255, .62); font: 600 12px var(--font); text-anchor: middle; dominant-baseline: central; }
.orbit-svg .arc {
  fill: none; stroke: var(--c); stroke-width: 26; stroke-linecap: round; cursor: pointer;
  stroke-dasharray: 1 1; stroke-dashoffset: 1;
  animation: draw .9s cubic-bezier(.3, .7, .2, 1) forwards; animation-delay: calc(var(--i) * 70ms);
  transition: stroke-width .2s ease, opacity .2s ease;
}
@keyframes draw { to { stroke-dashoffset: 0; } }
.orbit-svg.has-focus .arc { opacity: .25; }
.orbit-svg .arc.is-active { opacity: 1; stroke-width: 34; }
.orbit-svg .arc:focus { outline: none; }
.orbit-svg .hand { stroke: rgba(255, 255, 255, .28); stroke-width: 1.5; stroke-dasharray: 3 4; }
.orbit-svg .sun-glow { fill: none; stroke: var(--sun-core); stroke-width: 2; opacity: .55; }
.orbit-svg .sun-dot { fill: var(--sun-core); stroke: var(--night); stroke-width: 5; paint-order: stroke; filter: drop-shadow(0 0 8px var(--sun)); }

.orbit-center {
  position: absolute; inset: 25%; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; pointer-events: none;
}
.oc-kicker { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 700; color: var(--sun); }
.oc-name { margin-top: 6px; font-weight: 800; font-size: clamp(1.05rem, 2vw, 1.4rem); line-height: 1.15; letter-spacing: -.02em; text-wrap: balance; }
.oc-time { margin-top: 6px; font-size: .9rem; color: rgba(255, 255, 255, .72); font-variant-numeric: tabular-nums; }

.agenda { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.agenda > .loading, .agenda > .err { color: rgba(255, 255, 255, .7); }
.ag {
  width: 100%; display: grid; grid-template-columns: 5px 104px minmax(0, 1fr) auto; gap: 14px; align-items: center;
  padding: 12px 16px 12px 12px; border: 0; border-radius: 16px; cursor: pointer;
  font: inherit; text-align: left; color: #fff; background: rgba(255, 255, 255, .045);
  transition: background .15s ease, opacity .15s ease;
}
.ag .c { align-self: stretch; border-radius: 4px; background: var(--c); }
.ag .t { font-weight: 700; font-size: .92rem; font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, .75); }
.ag .n { display: block; font-weight: 700; line-height: 1.3; }
.ag .d { display: block; margin-top: 2px; font-size: .86rem; color: rgba(255, 255, 255, .62); }
.ag .x { display: block; margin-top: 2px; font-size: .78rem; color: rgba(255, 255, 255, .5); }
.ag:hover, .ag:focus-visible, .ag.is-active { background: rgba(255, 255, 255, .11); }
.ag:focus-visible { outline: 2px solid var(--sun); outline-offset: 2px; }
.ag.is-now { background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--sun) 70%, transparent); }
.ag.is-past { opacity: .5; }
.ag.is-past:hover, .ag.is-past.is-active { opacity: 1; }
.ag .live {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; white-space: nowrap;
  background: var(--sun); color: var(--ink); font-size: .76rem; font-weight: 800;
}

@media (max-width: 860px) {
  .orbit-body { grid-template-columns: 1fr; }
  .orbit { max-width: 380px; margin-inline: auto; }
}
@media (max-width: 520px) {
  .orbit-card .days .long { display: none; }
  .orbit-card .days .short { display: inline; }
  .ag { grid-template-columns: 5px minmax(0, 1fr) auto; gap: 12px; }
  .ag .t { grid-column: 2; grid-row: 1; font-size: .82rem; }
  .ag .info { grid-column: 2; grid-row: 2; }
  .ag .live { grid-column: 3; grid-row: 1 / span 2; }
  .ag .c { grid-row: 1 / span 2; }
}

/* =========================================================
   Rechtstexte
   ========================================================= */
.legal { max-width: 74ch; }
.legal h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); margin: 0 0 18px; font-weight: 800; }
.legal h3 { font-size: 1.25rem; margin: 2.1em 0 .5em; font-weight: 800; }
.legal p { margin: 0 0 1em; line-height: 1.65; overflow-wrap: anywhere; }
.legal ul { margin: 0 0 1em; padding-left: 1.3em; line-height: 1.65; }
.legal address { font-style: normal; padding: 16px 20px; margin: 10px 0 18px; border-radius: 16px; background: var(--paper); }
.legal code { font-size: .92em; padding: 1px 6px; border-radius: 6px; background: var(--paper); }
.legal .stand { margin-top: 2.4em; color: var(--ink-soft); }
.legal p i { width: 1.3em; color: var(--accent-ink); }
.legal a { text-decoration-color: var(--sun-edge); text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* =========================================================
   Fuß: wieder Nacht
   ========================================================= */
.foot { background: var(--night); color: rgba(255, 255, 255, .72); font-size: .95rem; }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; padding: 56px 0 40px; }
.foot-brand img { height: 36px; width: auto; margin-bottom: 14px; }
.foot-brand p { margin: 0; max-width: 34ch; }
.foot h3 { margin: 0 0 12px; font-size: 1rem; font-weight: 700; color: #fff; letter-spacing: 0; }
.foot nav a { display: flex; align-items: center; gap: 8px; padding: 4px 0; text-decoration: none; }
.foot nav a i { font-size: .75rem; opacity: .6; }
.foot a:hover { color: #fff; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 18px 0 28px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .88rem; }
.foot em { font-style: normal; color: #fff; }

/* =========================================================
   Kleine Bildschirme
   ========================================================= */
@media (max-width: 959px) {
  .music, .listen { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; text-align: center; }
  .hero .lede { margin-inline: auto; }
  .hero .actions { justify-content: center; }
  .now { min-height: 330px; margin-top: 6px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .topbar { justify-content: center; }
  .brand { margin-right: 0; width: 100%; justify-content: center; }
  .nav a { padding: 7px 11px; font-size: .9rem; }
  .program { grid-template-columns: 1fr; gap: 30px; }
  .stop { padding: 0 0 0 42px; }
  .facts { flex-direction: column; align-items: flex-start; }
  .alexa { padding-right: clamp(24px, 3.4vw, 36px); padding-bottom: 210px; }
  .alexa img { width: 150px; top: auto; bottom: 26px; right: 50%; transform: translateX(50%) rotate(-7deg); }
  .platforms { grid-template-columns: 1fr; }
  .sun--small { right: -40px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
