/* ==========================================================================
   FABULARADIO · Das Radio aus Yogis Bücherei
   Bildsprache wie fabulara.de: grüne Schultafel, weiße Kreide, Handschrift
   (Schoolbell), gelbe Kreide-Akzente, Logo-Rot/Gold, Fotos als Polaroids.
   Schrift: Schoolbell (Überschriften) · Nunito (Text), selbst gehostet
   ========================================================================== */

@font-face { font-family: "Schoolbell"; font-weight: 400; font-display: swap; src: url("../fonts/schoolbell.woff2") format("woff2"); }
@font-face { font-family: "Fredoka"; font-weight: 300 700; font-display: swap; src: url("../fonts/fredoka-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Nunito"; font-weight: 300 900; font-display: swap; src: url("../fonts/nunito-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Nunito"; font-weight: 300 900; font-display: swap; src: url("../fonts/nunito-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Nunito"; font-style: italic; font-weight: 300 900; font-display: swap; src: url("../fonts/nunito-latin-italic.woff2") format("woff2"); }

:root {
  color-scheme: dark;
  /* Tafel-Grün (aus fabulara.de: #51705a, #4f705c, #324a39, #637f71) */
  --tafel: #4f705c; --tafel-dunkel: #324a39; --tafel-hell: #637f71; --tafel-tief: #26382c;
  --kreide: #f7f9f4;                 /* weiße Kreide */
  --kreide-soft: rgba(247,249,244,.82);
  --kreide-faint: rgba(247,249,244,.55);
  --gelb: #fdc206;                   /* gelbe Kreide (fabulara.de Akzent) */
  --rot: #9e1c12; --rot-hell: #c22a1b;   /* Logo-Ellipse */
  --gold: #f6a21d;                   /* Logo-Schriftzug */
  --papier: #fffdf6; --papier-ink: #2e3230; --papier-muted: #6d736e;
  --line: rgba(247,249,244,.35);
  --font-hand: "Schoolbell", "Comic Sans MS", cursive;
  --font-display: "Fredoka", "Segoe UI Variable Display", system-ui, sans-serif;
  --font-text: "Nunito", "Segoe UI", system-ui, sans-serif;
  --radius: 22px; --radius-sm: 14px;
  --shadow-soft: 0 20px 44px -20px rgba(0,0,0,.55);
  --tape: rgba(255,255,255,.35);
  --ease-spring: linear(0, 0.006, 0.025 2.8%, 0.101 6.1%, 0.539 18.9%, 0.721 25.3%, 0.849 31.5%, 0.937 38.1%, 0.968 41.8%, 0.991 45.7%, 1.006 50.1%, 1.015 55%, 1.017 63.9%, 1.001);
  --ease-out: cubic-bezier(.2,.8,.2,1);
  --header-h: 92px;
  --wrap: min(1180px, 92vw);
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font-text); font-size: clamp(16px, .5vw + 14px, 18px); line-height: 1.55; color: var(--kreide);
  background: var(--tafel-dunkel) url("../img/tafel.jpg") center / cover fixed;
  min-height: 100dvh; overflow-x: hidden;
}
body::before { /* Vignette wie eine alte Tafel */
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(120% 90% at 50% 20%, transparent 50%, rgba(20,30,23,.55) 100%);
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-hand); font-weight: 400; line-height: 1.05; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
::selection { background: var(--gelb); color: var(--tafel-tief); }
:focus-visible { outline: 3px dashed var(--gelb); outline-offset: 3px; border-radius: 8px; }
.wrap { width: var(--wrap); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* „Kreide“-Hilfsklassen */
.kicker { display: inline-block; font-family: var(--font-hand); font-size: 1.15rem; color: var(--gelb); transform: rotate(-1.2deg); }
.kicker::after { content: ""; display: block; height: 3px; margin-top: .1rem; border-radius: 3px; background: currentColor; opacity: .7; transform: scaleX(.9) rotate(.6deg); }
.muted { color: var(--kreide-faint); }
.unterstrichen { position: relative; white-space: nowrap; }
.unterstrichen::after { content: ""; position: absolute; left: -2%; right: -2%; bottom: -.1em; height: .14em; background: var(--gelb); border-radius: 3px; transform: rotate(-.8deg); opacity: .85; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem;
  padding-inline: max(2vw, calc((100vw - 1520px) / 2));
  background: color-mix(in srgb, var(--tafel-tief) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 3px solid var(--line);
}
.site-header::after { /* Kreideablage */
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 3px;
  background: repeating-linear-gradient(90deg, var(--kreide-faint) 0 40px, transparent 40px 90px);
  opacity: .5;
}
.brand { display: flex; align-items: center; gap: .9rem; }
.brand-logo { height: 56px; width: auto; filter: drop-shadow(0 4px 10px rgba(0,0,0,.5)); transition: transform .4s var(--ease-spring); }
.brand:hover .brand-logo { transform: rotate(-3deg) scale(1.04); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text b { font-family: var(--font-hand); font-weight: 400; font-size: 1.7rem; color: var(--kreide); white-space: nowrap; }
.brand-text small { font-family: var(--font-hand); font-size: .95rem; color: var(--gelb); margin-top: .1rem; transform: rotate(-1deg); white-space: nowrap; }

.site-nav { display: flex; justify-content: center; gap: .2rem; }
.site-nav a { white-space: nowrap; padding: .5rem .9rem; border-radius: 12px; font-family: var(--font-hand); font-size: 1.15rem; color: var(--kreide-soft); border-bottom: 3px solid transparent; transition: .2s; }
.site-nav a:hover { color: var(--kreide); border-bottom-color: var(--kreide-faint); transform: rotate(-1deg); }
.site-nav a[aria-current="page"] { color: var(--gelb); border-bottom-color: var(--gelb); }
.header-right { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: .6rem; }
.nav-toggle { display: none; }

/* Player */
.player { display: flex; align-items: center; gap: .7rem; padding: .3rem .6rem .3rem .3rem; border-radius: 999px; background: rgba(0,0,0,.25); border: 2px dashed var(--line); max-width: 430px; }
.play-btn { --size: 54px; width: var(--size); height: var(--size); border-radius: 50%; flex: none; display: grid; place-items: center; position: relative; background: radial-gradient(circle at 35% 30%, var(--rot-hell), var(--rot)); color: var(--kreide); border: 3px solid var(--gold); box-shadow: 0 6px 18px -6px rgba(0,0,0,.6); transition: transform .3s var(--ease-spring); }
.play-btn:hover { transform: scale(1.08) rotate(-5deg); }
.play-btn:active { transform: scale(.95); }
.play-btn svg { width: 24px; height: 24px; }
.play-btn .ico-pause, .play-btn .ico-play { position: absolute; transition: opacity .2s, transform .3s var(--ease-spring); }
.play-btn .ico-pause { opacity: 0; transform: scale(.6); }
.player[data-state="playing"] .play-btn .ico-pause { opacity: 1; transform: scale(1); }
.player[data-state="playing"] .play-btn .ico-play { opacity: 0; transform: scale(.6); }
.play-btn::before { content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 2px dashed var(--gelb); opacity: 0; }
.player[data-state="playing"] .play-btn::before { opacity: .9; animation: spin 8s linear infinite; }
.player[data-state="connecting"] .play-btn::before, .player[data-state="intro"] .play-btn::before, .player[data-state="reconnecting"] .play-btn::before { opacity: 1; border-style: solid; border-color: transparent; border-top-color: var(--gelb); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.player-cover { width: 44px; height: 44px; border-radius: 8px; border: 3px solid #fff; box-shadow: 0 3px 8px rgba(0,0,0,.4); object-fit: cover; opacity: 0; transition: opacity .4s; flex: none; transform: rotate(-2deg); }
.player-cover.ist-da { opacity: 1; }
.player-text { min-width: 0; line-height: 1.15; }
.player-text .onair { display: flex; align-items: center; gap: .4rem; font-size: .68rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; color: var(--kreide-faint); }
.player-text .onair .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--kreide-faint); }
.player[data-state="playing"] .onair { color: var(--gelb); }
.player[data-state="playing"] .onair .dot { background: var(--gelb); animation: dot 1.4s ease-out infinite; }
@keyframes dot { 0% { box-shadow: 0 0 0 0 rgba(253,194,6,.6); } 100% { box-shadow: 0 0 0 9px transparent; } }
.player-title { font-weight: 800; font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 230px; }
.player-status { font-size: .74rem; color: var(--kreide-faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ai-label { display: inline-flex; flex: none; margin-left: .2rem; }
.ai-label img { height: 30px; width: auto; border-radius: 6px; }

@media (max-width: 1500px) { .site-nav { gap: 0; } .site-nav a { padding: .5rem .55rem; font-size: 1.05rem; } .ai-label { display: none; } }
@media (max-width: 1240px) { .player-text { display: none; } .ai-label { display: none; } }
@media (max-width: 1140px) {
  .site-header { gap: .6rem; }
  .site-nav { position: fixed; inset: var(--header-h) 0 auto 0; z-index: 49; flex-direction: column; gap: .3rem; padding: 1rem 5vw 1.4rem; background: color-mix(in srgb, var(--tafel-tief) 96%, transparent); border-bottom: 3px solid var(--line); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: .25s var(--ease-out); }
  .site-nav.offen { transform: none; opacity: 1; pointer-events: auto; }
  .site-nav a { font-size: 1.4rem; padding: .7rem 1rem; }
  .nav-toggle { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; border: 2px dashed var(--line); color: var(--kreide); }
  .brand-text { display: none; }
}
@media (max-width: 560px) { .site-header { padding-inline: 3vw; gap: .4rem; } .brand-logo { height: 44px; } .player-cover { display: none; } .play-btn { --size: 48px; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: .6rem; padding: .85rem 1.5rem; border-radius: 16px; font-family: var(--font-hand); font-size: 1.25rem; color: var(--kreide); border: 3px solid var(--kreide-soft); background: transparent; transition: transform .3s var(--ease-spring), background .2s, color .2s; transform: rotate(-.6deg); }
.btn:hover { transform: rotate(.5deg) scale(1.04); background: rgba(247,249,244,.1); }
.btn.gelb { border-color: var(--gelb); color: var(--gelb); }
.btn.gelb:hover { background: var(--gelb); color: var(--tafel-tief); }
.btn.rot { background: radial-gradient(circle at 35% 30%, var(--rot-hell), var(--rot)); border-color: var(--gold); color: #fff; }
.btn.rot:hover { background: var(--rot-hell); }
.btn.big { padding: 1.1rem 2rem; font-size: 1.6rem; }
.btn svg { width: 1.15em; height: 1.15em; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: calc(100svh - var(--header-h)); overflow: clip; display: grid; align-items: center; isolation: isolate; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-rahmen { /* Holzrahmen der Tafel oben/unten angedeutet */
  position: absolute; left: 0; right: 0; height: 14px; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, #7a5b3a, #5d4327); box-shadow: 0 3px 8px rgba(0,0,0,.4);
}
.hero-rahmen.oben { top: 0; } .hero-rahmen.unten { bottom: 0; box-shadow: 0 -3px 8px rgba(0,0,0,.4); }
.hero-inner { position: relative; width: var(--wrap); margin-inline: auto; padding: clamp(2.5rem, 7vh, 5rem) 0; display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; }
.hero-logo { width: min(320px, 60%); margin-bottom: 1rem; filter: drop-shadow(0 8px 20px rgba(0,0,0,.5)); animation: rise .8s var(--ease-spring) both; }
.hero-title { font-size: clamp(2.6rem, 7vw, 5.6rem); line-height: 1.02; color: var(--kreide); }
.hero-title .zeile { display: block; overflow: hidden; }
.hero-title .zeile > span { display: inline-block; animation: zeile .8s var(--ease-spring) both; }
.hero-title .zeile:nth-child(2) > span { animation-delay: .1s; }
@keyframes zeile { from { transform: translateY(110%) rotate(2deg); opacity: 0; } }
.hero-title .gelb { color: var(--gelb); }
.hero-lead { margin-top: 1.2rem; max-width: 44ch; font-size: clamp(1.05rem, 1.4vw, 1.3rem); font-weight: 600; color: var(--kreide-soft); animation: rise .9s .25s var(--ease-out) both; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.8rem; animation: rise .9s .35s var(--ease-out) both; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }

/* „Jetzt läuft“ – Polaroid mit Plattenspieler */
.now-card { justify-self: end; width: min(100%, 400px); background: var(--papier); color: var(--papier-ink); border-radius: 6px; padding: 1.1rem 1.1rem 1.3rem; box-shadow: var(--shadow-soft); position: relative; transform: rotate(1.8deg); animation: rise 1s .3s var(--ease-spring) both; }
.now-card::before, .now-card::after { /* Klebestreifen */
  content: ""; position: absolute; width: 92px; height: 26px; background: var(--tape); box-shadow: 0 1px 3px rgba(0,0,0,.15); top: -12px;
}
.now-card::before { left: 8%; transform: rotate(-5deg); }
.now-card::after { right: 8%; transform: rotate(4deg); }
.now-card .sticker { position: absolute; top: -16px; left: 50%; transform: translateX(-50%) rotate(-2deg); font-family: var(--font-hand); font-size: 1.1rem; color: var(--rot); z-index: 2; background: var(--papier); padding: 0 .6rem; border-radius: 6px; box-shadow: 0 2px 6px rgba(0,0,0,.15); }
.platte { position: relative; aspect-ratio: 1; margin: .8rem auto; width: min(100%, 250px); }
.platte .vinyl { position: absolute; inset: 0; border-radius: 50%; background: repeating-radial-gradient(circle, #23262b 0 5px, #34383f 5px 7px); border: 4px solid #1c1e22; animation: spin 6s linear infinite; animation-play-state: paused; }
.platte.dreht .vinyl { animation-play-state: running; }
.platte .cover { position: absolute; inset: 18%; border-radius: 50%; overflow: hidden; border: 4px solid #1c1e22; background: var(--gelb); display: grid; place-items: center; }
.platte .cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s; }
.platte .cover img.aktiv { opacity: 1; }
.platte .cover svg { width: 45%; height: 45%; color: var(--tafel-tief); }
.platte .loch { position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; margin: -7px; border-radius: 50%; background: var(--papier); border: 3px solid #1c1e22; z-index: 2; }
.platte .arm { position: absolute; right: -6%; top: -4%; width: 28%; height: 60%; transform-origin: 85% 10%; transform: rotate(-25deg); transition: transform .8s var(--ease-spring); }
.platte.dreht .arm { transform: rotate(0deg); }
.now-title { font-family: var(--font-hand); font-size: 1.5rem; line-height: 1.1; text-align: center; color: var(--papier-ink); }
.now-artist { text-align: center; color: var(--papier-muted); font-weight: 700; margin-top: .2rem; }
.now-progress { height: 8px; background: #e8e4d8; border-radius: 999px; margin-top: .9rem; overflow: hidden; }
.now-progress > i { display: block; height: 100%; width: 0; background: repeating-linear-gradient(90deg, var(--rot-hell) 0 14px, var(--gold) 14px 28px, var(--gelb) 28px 42px); transition: width 1s linear; }
.now-next { margin-top: .6rem; font-size: .85rem; color: var(--papier-muted); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.now-show { display: flex; align-items: center; gap: .7rem; margin-top: 1rem; padding-top: .9rem; border-top: 2px dashed #e0dccd; font-size: .95rem; color: var(--papier-ink); }
.now-show .muted { color: var(--papier-muted); }
@media (max-width: 900px) { .hero-inner { grid-template-columns: 1fr; } .now-card { justify-self: center; transform: rotate(1deg); } }

/* ---------- Abschnitte ---------- */
.section { padding-block: clamp(3rem, 7vw, 6rem); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; margin-bottom: clamp(1.4rem, 3vw, 2.4rem); }
.section-head h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-top: .7rem; color: var(--kreide); transform: rotate(-.5deg); }
.section-head h2 .gelb { color: var(--gelb); }
.section-head .mehr { white-space: nowrap; font-family: var(--font-hand); font-size: 1.2rem; color: var(--gelb); display: inline-flex; align-items: center; gap: .4rem; }
.section-head .mehr svg { width: 1em; height: 1em; transition: transform .3s var(--ease-spring); }
.section-head .mehr:hover svg { transform: translateX(5px); }
@media (max-width: 640px) { .section-head { flex-direction: column; align-items: start; } }

.reveal { opacity: 0; transform: translateY(24px) rotate(.4deg); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal.sichtbar { opacity: 1; transform: none; }
@supports (animation-timeline: view()) {
  .reveal { opacity: 1; transform: none; transition: none; animation: reveal both; animation-timeline: view(); animation-range: entry 0% entry 38%; }
  @keyframes reveal { from { opacity: 0; transform: translateY(24px) rotate(.4deg); } to { opacity: 1; transform: none; } }
}

/* Kreide-Karte (auf der Tafel gezeichnet) */
.card { background: rgba(0,0,0,.14); border: 2px dashed var(--line); border-radius: var(--radius); padding: 1.2rem; position: relative; transition: transform .35s var(--ease-spring), border-color .2s, background .2s; }
.card:hover { transform: translateY(-3px) rotate(-.4deg); border-color: var(--kreide-soft); background: rgba(0,0,0,.22); }
/* Papier-Karte (Polaroid) */
.papier { background: var(--papier); color: var(--papier-ink); border: 0; border-radius: 6px; box-shadow: 0 10px 26px -12px rgba(0,0,0,.55); }
.papier:hover { background: #fff; }
.papier .muted, .papier .show-meta, .papier .thema-head, .papier .thema-foot { color: var(--papier-muted); }

/* Avatare (Kreide-Figuren) */
.avatar { width: 56px; height: 56px; border-radius: 50%; flex: none; overflow: hidden; position: relative; background: var(--tafel-hell); border: 3px solid var(--kreide); display: grid; place-items: center; font-family: var(--font-hand); color: var(--kreide); font-size: 1.3rem; }
.avatar img, .avatar svg { width: 100%; height: 100%; object-fit: cover; }
.avatar.gross { width: 100%; height: auto; aspect-ratio: 1; border-radius: var(--radius); font-size: 4rem; border-style: dashed; background: transparent; }
.avatars { display: flex; }
.avatars .avatar { margin-left: -12px; }
.avatars .avatar:first-child { margin-left: 0; }

/* Timeline */
.timeline { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 290px); gap: 1.2rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: .8rem .4rem 1.6rem; margin-inline: -.4rem; scrollbar-width: thin; scrollbar-color: var(--kreide-faint) transparent; }
.timeline .show { scroll-snap-align: start; display: flex; flex-direction: column; gap: .8rem; min-height: 230px; }
.timeline .show.laeuft { border-style: solid; border-color: var(--gelb); background: rgba(253,194,6,.1); }
.timeline .show.vorbei { opacity: .5; }
.show-zeit { display: flex; justify-content: space-between; align-items: center; font-family: var(--font-hand); font-size: 1.05rem; color: var(--kreide-faint); }
.tag-chip { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; padding: .25rem .6rem; border-radius: 999px; border: 2px solid var(--line); font-weight: 900; font-family: var(--font-text); color: var(--kreide-soft); }
.show.laeuft .tag-chip { background: var(--gelb); border-color: var(--gelb); color: var(--tafel-tief); }
.show-name { font-family: var(--font-hand); font-size: 1.6rem; line-height: 1.05; color: var(--kreide); }
.show-hosts { display: flex; align-items: center; gap: .6rem; margin-top: auto; }
.show-hosts .avatar { width: 44px; height: 44px; font-size: 1rem; }
.show-hosts .namen { font-weight: 800; font-size: .95rem; }
.show-hosts .namen small { display: block; font-weight: 600; color: var(--kreide-faint); font-size: .75rem; }
.show-meta { font-size: .8rem; color: var(--kreide-faint); font-weight: 700; }

/* Wochenplan */
.woche-tabs, .playlist-tabs, .themen-filter { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: 1.4rem; }
.woche-tabs button, .playlist-tabs button, .themen-filter button { padding: .5rem 1.05rem; border-radius: 12px; font-family: var(--font-hand); font-size: 1.1rem; color: var(--kreide-soft); border: 2px dashed var(--line); transition: .2s; }
.woche-tabs button:hover, .playlist-tabs button:hover, .themen-filter button:hover { transform: rotate(-1.5deg); color: var(--kreide); }
.woche-tabs button[aria-selected="true"], .playlist-tabs button[aria-selected="true"], .themen-filter button[aria-pressed="true"] { background: var(--gelb); border-color: var(--gelb); border-style: solid; color: var(--tafel-tief); }
.woche-liste { display: grid; gap: .8rem; }
.woche-zeile { display: grid; grid-template-columns: 110px 1fr auto; gap: 1rem; align-items: center; padding: .9rem 1.1rem; border-radius: var(--radius-sm); background: rgba(0,0,0,.14); border: 2px dashed var(--line); }
.woche-zeile.laeuft { border-style: solid; border-color: var(--gelb); background: rgba(253,194,6,.1); }
.woche-zeile .zeit { font-family: var(--font-hand); font-size: 1.3rem; }
.woche-zeile .zeit small { display: block; font-size: .75rem; color: var(--kreide-faint); font-family: var(--font-text); font-weight: 700; }
.woche-zeile .name { font-weight: 800; font-size: 1.05rem; }
.woche-zeile .name small { display: block; font-weight: 600; color: var(--kreide-faint); font-size: .82rem; }
@media (max-width: 600px) { .woche-zeile { grid-template-columns: 80px 1fr; } .woche-zeile .show-hosts { grid-column: 1 / -1; } }

/* Figuren-Karten */
.hosts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; }
.host-card { display: flex; flex-direction: column; gap: .9rem; }
.host-card .name { font-family: var(--font-hand); font-size: 2.1rem; color: var(--kreide); }
.host-card .rolle { font-family: var(--font-hand); font-size: 1.05rem; color: var(--gelb); transform: rotate(-1deg); }
.host-card .text { color: var(--kreide-soft); font-size: .95rem; font-weight: 600; }
.host-card .shows { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: auto; }
.chip { font-size: .75rem; font-weight: 800; padding: .3rem .7rem; border-radius: 999px; border: 2px dashed var(--line); color: var(--kreide-soft); }

/* Themen + Clips */
.themen-grid { columns: 3 300px; column-gap: 1.2rem; }
.thema { break-inside: avoid; margin-bottom: 1.2rem; display: flex; flex-direction: column; gap: .6rem; }
.thema-head { display: flex; align-items: center; justify-content: space-between; gap: .6rem; font-size: .78rem; color: var(--kreide-faint); font-weight: 800; }
.typ { display: inline-flex; align-items: center; font-family: var(--font-hand); font-size: .95rem; padding: .1rem .6rem; border-radius: 8px; border: 2px solid transparent; transform: rotate(-1deg); }
.typ[data-typ="news"] { color: #9fd4ff; border-color: #9fd4ff55; }
.typ[data-typ="localnews"] { color: #b4f0a0; border-color: #b4f0a055; }
.typ[data-typ="weather"] { color: var(--gelb); border-color: #fdc20655; }
.typ[data-typ="traffic"] { color: #ffc79b; border-color: #ffc79b55; }
.typ[data-typ="feature"], .typ[data-typ="opener"], .typ[data-typ="outro"], .typ[data-typ="fun"] { color: #e6c8ff; border-color: #e6c8ff55; }
.thema-text { font-size: .98rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 6; line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.thema.offen .thema-text { -webkit-line-clamp: unset; line-clamp: unset; }
.thema-foot { display: flex; align-items: center; justify-content: space-between; gap: .6rem; font-size: .82rem; color: var(--kreide-faint); font-weight: 700; }
.thema-foot .sprecher { display: flex; align-items: center; gap: .4rem; }
.thema-foot .sprecher .avatar { width: 26px; height: 26px; font-size: .7rem; border-width: 2px; }
.mini-play { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .9rem .35rem .6rem; border-radius: 999px; border: 2px solid var(--gelb); color: var(--gelb); font-family: var(--font-hand); font-size: 1rem; transition: transform .3s var(--ease-spring), background .2s, color .2s; }
.mini-play:hover { transform: scale(1.06) rotate(-2deg); }
.mini-play svg { width: 16px; height: 16px; }
.mini-play[aria-pressed="true"] { background: var(--gelb); color: var(--tafel-tief); }
.clips { display: grid; gap: .8rem; }
.clip { display: grid; grid-template-columns: 56px 1fr auto; gap: 1rem; align-items: center; padding: .8rem 1rem; border-radius: var(--radius-sm); background: rgba(0,0,0,.14); border: 2px dashed var(--line); }
.clip.spielt { border-style: solid; border-color: var(--gelb); background: rgba(253,194,6,.08); }
.clip-btn { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; border: 3px solid var(--gelb); color: var(--gelb); position: relative; transition: transform .3s var(--ease-spring), background .2s, color .2s; }
.clip-btn:hover { transform: scale(1.08); }
.clip-btn svg { width: 22px; height: 22px; position: absolute; transition: opacity .2s; }
.clip-btn .ico-pause { opacity: 0; }
.clip.spielt .clip-btn { background: var(--gelb); color: var(--tafel-tief); }
.clip.spielt .clip-btn .ico-pause { opacity: 1; } .clip.spielt .clip-btn .ico-play { opacity: 0; }
.clip-text { min-width: 0; }
.clip-text .t { font-size: .98rem; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.clip.spielt .clip-text .t, .clip.offen .clip-text .t { -webkit-line-clamp: unset; line-clamp: unset; }
.clip-text .m { display: flex; gap: .6rem; align-items: center; font-size: .78rem; color: var(--kreide-faint); margin-top: .35rem; flex-wrap: wrap; font-weight: 700; }
.clip-text .m .sprecher { display: inline-flex; align-items: center; gap: .35rem; }
.clip-text .m .avatar { width: 22px; height: 22px; font-size: .6rem; border-width: 2px; }
.clip-bar { height: 6px; background: rgba(0,0,0,.3); border-radius: 999px; margin-top: .5rem; overflow: hidden; }
.clip-bar > i { display: block; height: 100%; width: 0; background: var(--gelb); }
.clip-zeit { font-family: var(--font-hand); font-size: 1.15rem; color: var(--kreide-faint); white-space: nowrap; }
.clip-zeit small { display: block; font-size: .72rem; text-align: right; font-family: var(--font-text); font-weight: 700; }

/* Playlist – Songs als Papier-Zettel */
.playlist { display: grid; gap: .6rem; }
.song { display: grid; grid-template-columns: 64px 1fr auto; gap: 1rem; align-items: center; padding: .6rem .9rem; border-radius: 6px; background: var(--papier); color: var(--papier-ink); box-shadow: 0 6px 16px -8px rgba(0,0,0,.5); transition: transform .2s; }
.song:nth-child(odd) { transform: rotate(-.35deg); } .song:nth-child(even) { transform: rotate(.35deg); }
.song:hover { transform: rotate(0) scale(1.01); }
.song.jetzt { outline: 3px solid var(--gelb); }
.song-cover { width: 64px; height: 64px; border-radius: 6px; border: 3px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,.25); object-fit: cover; background: var(--tafel-hell); }
.song-cover.leer { display: grid; place-items: center; color: var(--papier-muted); }
.song-cover.leer svg { width: 26px; height: 26px; }
.song-text .t { font-weight: 900; font-size: 1.05rem; }
.song-text .a { color: var(--papier-muted); font-weight: 700; font-size: .9rem; }
.song-zeit { font-family: var(--font-hand); font-size: 1.15rem; color: var(--papier-muted); }
.song-zeit small { display: block; font-size: .7rem; text-align: right; font-family: var(--font-text); font-weight: 700; }
.cover-fluss { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); margin-block: 1.5rem; }
.cover-fluss .spur { display: flex; gap: 1rem; width: max-content; animation: fluss 60s linear infinite; }
.cover-fluss:hover .spur { animation-play-state: paused; }
.cover-fluss img { width: 110px; height: 110px; border-radius: 4px; border: 5px solid #fff; box-shadow: 0 6px 14px -6px rgba(0,0,0,.6); object-fit: cover; flex: none; transition: transform .4s var(--ease-spring); }
.cover-fluss img:nth-child(odd) { transform: rotate(-3deg); } .cover-fluss img:nth-child(even) { transform: rotate(2.5deg); }
.cover-fluss img:hover { transform: scale(1.1) rotate(0); }
@keyframes fluss { to { transform: translateX(-50%); } }

/* KI-Hinweis (Kreide-Kasten, kein Popup) */
.ki-box { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 1.4rem; align-items: center; padding: 1.5rem 1.7rem; border-radius: var(--radius); border: 3px dashed var(--gelb); background: rgba(0,0,0,.18); }
.ki-box .robo { width: 86px; height: 86px; flex: none; animation: wackel 4s ease-in-out infinite; }
@keyframes wackel { 0%,100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }
.ki-box h3 { font-size: 1.7rem; color: var(--gelb); }
.ki-box p { color: var(--kreide-soft); font-weight: 600; margin-top: .3rem; }
.ki-box strong { color: var(--kreide); }
@media (max-width: 760px) { .ki-box { grid-template-columns: auto 1fr; } .ki-box .btn { grid-column: 1 / -1; justify-self: start; } }

/* Inhaltsseiten */
.page { padding-block: clamp(2.5rem, 6vw, 5rem); }
.page-head { margin-bottom: clamp(1.5rem, 4vw, 3rem); }
.page-head h1 { font-size: clamp(2.6rem, 6.5vw, 5rem); margin-top: .8rem; color: var(--kreide); transform: rotate(-.5deg); }
.page-head .lead { color: var(--kreide-soft); font-size: 1.15rem; font-weight: 600; max-width: 60ch; margin-top: 1rem; }
.prose { max-width: 72ch; }
.prose h2 { font-size: 2rem; margin: 2.4rem 0 .8rem; color: var(--gelb); transform: rotate(-.4deg); }
.prose h3 { font-size: 1.5rem; margin: 1.6rem 0 .5rem; }
.prose p, .prose li { color: var(--kreide-soft); margin-bottom: .9rem; font-weight: 600; }
.prose li { margin-bottom: .4rem; }
.prose strong { color: var(--kreide); }
.prose a { color: var(--gelb); text-decoration: underline; text-underline-offset: 3px; }
.prose .box { padding: 1.2rem 1.4rem; border-radius: var(--radius-sm); border: 2px dashed var(--line); background: rgba(0,0,0,.16); margin: 1.4rem 0; }
.prose .box p:last-child { margin-bottom: 0; }
.zitat { font-family: var(--font-hand); font-size: 1.6rem; line-height: 1.3; color: var(--kreide); border-left: 4px solid var(--gelb); padding-left: 1rem; margin: 1.5rem 0; transform: rotate(-.5deg); }
.zitat small { display: block; font-family: var(--font-text); font-size: .9rem; color: var(--kreide-faint); margin-top: .4rem; }
.leer { padding: 2rem; text-align: center; color: var(--kreide-faint); border: 2px dashed var(--line); border-radius: var(--radius-sm); font-family: var(--font-hand); font-size: 1.2rem; }
.skeleton { position: relative; overflow: hidden; background: rgba(0,0,0,.14); border: 2px dashed var(--line); border-radius: var(--radius-sm); min-height: 120px; }
.skeleton::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(247,249,244,.08), transparent); animation: shimmer 1.4s infinite; }
@keyframes shimmer { from { transform: translateX(-100%); } to { transform: translateX(100%); } }

/* Footer */
.site-footer { border-top: 3px solid var(--line); margin-top: 3rem; padding: 3rem 0 2.5rem; background: color-mix(in srgb, var(--tafel-tief) 80%, transparent); font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2rem; }
.footer-grid h4 { font-family: var(--font-hand); font-size: 1.15rem; color: var(--gelb); margin-bottom: .8rem; transform: rotate(-1deg); }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; font-weight: 700; color: var(--kreide-soft); }
.footer-grid a:hover { color: var(--gelb); }
.footer-grid p { color: var(--kreide-soft); font-weight: 600; }
.footer-logo { height: 64px; width: auto; margin-bottom: 1rem; filter: drop-shadow(0 4px 12px rgba(0,0,0,.5)); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 2px dashed var(--line); font-size: .85rem; color: var(--kreide-faint); font-weight: 700; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

.toast { position: fixed; left: 50%; bottom: 1.4rem; z-index: 90; transform: translate(-50%, 20px); padding: .8rem 1.3rem; border-radius: 12px; background: var(--papier); color: var(--papier-ink); font-family: var(--font-hand); font-size: 1.1rem; box-shadow: var(--shadow-soft); opacity: 0; pointer-events: none; transition: .35s var(--ease-spring); }
.toast.zeigen { opacity: 1; transform: translate(-50%, 0); }

@view-transition { navigation: auto; }
::view-transition-old(seite) { animation: vt-out .25s var(--ease-out) both; }
::view-transition-new(seite) { animation: vt-in .45s var(--ease-out) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-10px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(16px); } }
#app { view-transition-name: seite; }
.intro[hidden] { display: none; }
