/* „Die DDF Zentrale“: Sendungsseite im Stil der Cover (01.10.2026).
   Ein dunkles Jugendzimmer bei Lampenlicht, Weiß, Rot und Blau wie die drei
   Buchstaben im Titel. Jede Folge ist eine Kassette: Beim Hören drehen sich
   die Spulen, und das Band wandert von links nach rechts, so weit, wie man
   gehört hat (stil.js). Menü und Fuß sind die Tasten des Kassettenrekorders;
   die gedrückte Taste ist da, wo man ist. Nur aktiv mit body.sg-stil. */

@font-face {
  font-family: "Kalam NK"; font-style: normal; font-display: swap; font-weight: 400;
  src: url(/assets/fonts/kalam-latin-400-normal.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: "Kalam NK"; font-style: normal; font-display: swap; font-weight: 400;
  src: url(/assets/fonts/kalam-latin-ext-300-normal.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;
}

body.sg-stil {
  --schwarz: #0c0908;
  --holz: #2c160c;
  --lampe: #f2a33a;
  --rot: #d7262b;
  --blau: #1e9be0;
  --weiss: #f6f1e7;
  --etikett: #f1e6d0;
  --metall: linear-gradient(180deg, #c9c8c3, #8f8e8a 48%, #b3b2ad 52%, #7c7b77);
  --hand: "Kalam NK", cursive;
  --ink: var(--weiss);
  --ink-2: rgba(246, 241, 231, .88);
  --dim: rgba(246, 241, 231, .64);
  --faint: rgba(246, 241, 231, .4);
  --line: rgba(246, 241, 231, .14);
  --line-2: rgba(246, 241, 231, .45);
  color: var(--weiss);
  background:
    radial-gradient(ellipse 50% 38% at 82% 10%, rgba(242, 163, 58, .28), transparent 70%),
    radial-gradient(ellipse 90% 60% at 50% 110%, rgba(84, 40, 18, .55), transparent 70%),
    var(--schwarz);
}
html:has(body.sg-stil) { background: #0c0908; }
body.sg-stil .nk-bg, body.sg-stil #nk-hero-viz, body.sg-stil #nk-three { display: none !important; }
body.sg-stil #landing { overflow-x: clip; }
body.sg-stil :focus-visible { outline-color: var(--blau) !important; }

/* Tasten des Rekorders: grau, die gedrückte sitzt tiefer, die rote ist Aufnahme */
body.sg-stil .ddf-taste, body.sg-stil .sd-nav__menu a, body.sg-stil .sd-foot nav a {
  position: relative; display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 0 16px; border-radius: 4px 4px 7px 7px;
  background: linear-gradient(180deg, #5b5855, #3d3a38); color: #e9e4da; font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 5px 0 #1d1b1a, 0 7px 10px rgba(0, 0, 0, .6);
  transition: transform .12s, box-shadow .12s;
}
body.sg-stil .sd-nav__menu a:hover, body.sg-stil .sd-foot nav a:hover { transform: translateY(2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 3px 0 #1d1b1a, 0 5px 8px rgba(0, 0, 0, .6); color: #fff; }
body.sg-stil .sd-nav__menu a[aria-current] { transform: translateY(4px); background: linear-gradient(180deg, #c42227, #9a171b); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 1px 0 #4a0b0d, 0 2px 4px rgba(0, 0, 0, .6); }

/* Kopfzeile */
body.sg-stil .sd-nav.is-solid { background: rgba(12, 9, 8, .94); box-shadow: 0 1px 0 var(--line); }
body.sg-stil .sd-nav__brand { color: var(--weiss); }
body.sg-stil .sd-nav__brand .lg--svg { display: block; width: auto; height: 24px; margin: 0; }
body.sg-stil .sd-nav__menu { gap: 6px; padding: 8px 10px 12px; border-radius: 8px; background: #191514; box-shadow: inset 0 0 0 1px #2c2724; -webkit-backdrop-filter: none; backdrop-filter: none; }
body.sg-stil .sd-nav__glide { display: none; }
body.sg-stil .sd-burger { border-radius: 6px; background: linear-gradient(180deg, #5b5855, #3d3a38); box-shadow: 0 4px 0 #1d1b1a; }
body.sg-stil .sd-burger svg { stroke: #e9e4da; }
body.sg-stil .sd-sheet { background: rgba(12, 9, 8, .98); color: var(--weiss); }
body.sg-stil .sd-sheet nav a { font-weight: 800; font-stretch: 62%; font-size: 46px; color: var(--weiss); border-bottom-color: var(--line); }
body.sg-stil .sd-sheet nav a[aria-current] { color: var(--rot); }
body.sg-stil .sd-sheet__close { box-shadow: inset 0 0 0 1px var(--line-2); color: var(--weiss); }

/* Kopf: Titel wie auf dem Cover, daneben die große Kassette */
body.sg-stil .sg-kopf .sd-show { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 80px); align-items: center; }
body.sg-stil .sg-kopf .sd-show > img { display: none; }
body.sg-stil .sg-kopf .sd-h { text-transform: none; font-weight: 800; font-stretch: 62%; font-size: clamp(76px, 10vw, 150px); line-height: .9; letter-spacing: -.005em; color: var(--weiss); margin-bottom: .2em; }
body.sg-stil .ddf-d2 { color: var(--rot); }
body.sg-stil .ddf-f { color: var(--blau); }
body.sg-stil .ddf-stempel {
  display: inline-block; margin: 0 0 26px; padding: 6px 16px 8px; border: 3px solid var(--weiss); border-radius: 8px; transform: rotate(-4deg);
  font-weight: 800; font-stretch: 75%; font-size: 15px; letter-spacing: .02em; color: var(--weiss);
}
body.sg-stil .ddf-stempel b { display: block; font-size: 30px; font-style: italic; line-height: 1; letter-spacing: 0; }
body.sg-stil .sg-kopf .sd-show p { font-size: 18px; line-height: 1.6; color: var(--ink-2); }
body.sg-stil .sg-kopf .sd-btn--red { background: var(--rot); border-color: var(--rot); color: #fff; box-shadow: 0 5px 0 #6e0e11; }
body.sg-stil .sg-kopf .sd-btn--red:hover { background: #e3373c; transform: translateY(2px); box-shadow: 0 3px 0 #6e0e11; }
body.sg-stil .sd-podicons__t { color: var(--dim); }
body.sg-stil .sd-podicon { background: none; color: var(--weiss); box-shadow: inset 0 0 0 1.5px var(--line-2); border: 0; }
body.sg-stil .sd-podicon:hover, body.sg-stil .sd-podicon:focus-visible { background: var(--blau); color: #fff; }
body.sg-stil .sd-podicon::after { background: var(--weiss); color: var(--schwarz); }
body.sg-stil .ddf-gross { width: 100%; max-width: 560px; justify-self: center; transform: rotate(-5deg); filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .7)); }

/* Die Kassette (stil.js zeichnet sie) */
body.sg-stil .ddf-kassette { display: block; width: 100%; height: auto; overflow: visible; }
body.sg-stil .ddf-spule { transform-box: fill-box; transform-origin: 50% 50%; }
body.sg-stil .ddf-band-l, body.sg-stil .ddf-band-r { transform-box: fill-box; transform-origin: 50% 50%; transition: transform .4s linear; }
body.sg-stil .ddf-band-l { transform: scale(calc(1 - var(--pv, 0) * .55)); }
body.sg-stil .ddf-band-r { transform: scale(calc(.45 + var(--pv, 0) * .55)); }
body.sg-stil .ddf-kassette.is-dreht .ddf-spule, body.sg-stil .ddf-gross .ddf-spule { animation: ddfDreh 2.4s linear infinite; animation-play-state: paused; }
body.sg-stil .ddf-gross .ddf-spule { animation-duration: 6s; animation-play-state: running; }
body.sg-stil.ddf-spielt .sg-folge.is-on .ddf-spule { animation: ddfDreh 1.6s linear infinite; animation-play-state: running; }
@keyframes ddfDreh { to { transform: rotate(-360deg); } }

/* Folgen: Kassetten auf dem Schreibtisch */
body.sg-stil #folgen .sd-h { text-transform: none; font-weight: 800; font-stretch: 62%; font-size: clamp(54px, 6.4vw, 100px); color: var(--weiss); }
body.sg-stil .sg-liste { grid-template-columns: repeat(auto-fill, minmax(min(100%, 520px), 1fr)); gap: 60px 44px; align-items: start; }
body.sg-stil .sg-folge, body.sg-stil .sg-folge:hover, body.sg-stil .sg-folge.is-on {
  display: block; padding: 0; border-radius: 0; background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none;
}
body.sg-stil .ddf-oben { position: relative; transform: rotate(-1.5deg); transition: transform .5s cubic-bezier(.3, 1.4, .5, 1); filter: drop-shadow(0 22px 26px rgba(0, 0, 0, .7)); cursor: pointer; }
body.sg-stil .sg-folge:nth-child(even) .ddf-oben { transform: rotate(1.4deg); }
body.sg-stil .sg-folge.is-on .ddf-oben, body.sg-stil .ddf-oben:hover { transform: rotate(0) translateY(-4px); }
body.sg-stil.ddf-auftritt .sg-folge:not(.is-da) .ddf-oben { transform: translateX(-60px) rotate(-14deg); opacity: 0; }
body.sg-stil.ddf-auftritt .sg-folge .ddf-oben { transition: transform .9s cubic-bezier(.2, .9, .3, 1.1), opacity .5s; }
body.sg-stil .sg-folge__bild { display: none; }
body.sg-stil .sg-folge__main { display: grid; margin-top: 26px; padding: 26px 28px; border-radius: 10px; background: rgba(44, 22, 12, .6); box-shadow: inset 0 0 0 1px rgba(242, 163, 58, .18); }
body.sg-stil .sg-folge__nr { margin: 0 0 6px; text-transform: none; letter-spacing: .02em; font-size: 14px; font-weight: 800; color: var(--blau); }
body.sg-stil .sg-folge__titel { font-weight: 800; font-stretch: 70%; font-size: clamp(28px, 2.6vw, 38px); line-height: 1.02; color: var(--weiss); }
body.sg-stil .sg-folge__text, body.sg-stil .sg-folge__lang p { font-size: 17px; line-height: 1.6; color: var(--ink-2); }
body.sg-stil .sg-folge .sd-tag { background: none; box-shadow: inset 0 0 0 1.5px var(--line-2); color: var(--weiss); }
body.sg-stil .sg-folge .sd-pvbtn .sd-ring,
body.sg-stil .sg-folge .sd-pvbtn[aria-pressed="false"]:not(:hover):not(:focus-visible) .sd-ring {
  border-radius: 6px; background: linear-gradient(180deg, #5b5855, #3d3a38); box-shadow: 0 5px 0 #1d1b1a;
}
body.sg-stil .sg-folge .sd-pvbtn .sd-ring::before,
body.sg-stil .sg-folge .sd-pvbtn[aria-pressed="false"]:not(:hover):not(:focus-visible) .sd-ring::before { background: transparent; }
body.sg-stil .sg-folge .sd-pvbtn .sd-ring svg,
body.sg-stil .sg-folge .sd-pvbtn[aria-pressed="false"]:not(:hover):not(:focus-visible) .sd-ring svg { fill: #e9e4da; }
body.sg-stil .sg-folge .sd-pvbtn[aria-pressed="true"] .sd-ring { transform: translateY(4px); box-shadow: 0 1px 0 #1d1b1a; }
body.sg-stil .sg-folge__zeit { color: var(--dim); font-variant-numeric: tabular-nums; }
body.sg-stil .sg-folge__spur i { background: linear-gradient(90deg, var(--rot) calc(var(--pv, 0) * 50%), var(--blau) calc(var(--pv, 0) * 100%), rgba(246, 241, 231, .14) 0); }
body.sg-stil .sg-folge__mehr { background: none; color: var(--weiss); box-shadow: inset 0 0 0 1.5px var(--line-2); }
body.sg-stil .sg-folge__mehr:hover, body.sg-stil .sg-folge__mehr:focus-visible { background: rgba(246, 241, 231, .08); }
body.sg-stil .sg-folge__mehr svg { fill: currentColor; }

/* Fuß: das Bedienfeld des Rekorders */
body.sg-stil main#landing { padding-bottom: 0; }
body.sg-stil .sd-foot { margin-top: clamp(110px, 12vw, 170px); padding: 0 0 clamp(40px, 5vw, 70px); }
body.sg-stil .sd-foot .sd-wrap {
  display: flex; flex-direction: column; align-items: center; padding: clamp(28px, 4vw, 50px) clamp(20px, 4vw, 60px) clamp(30px, 4vw, 46px); border-radius: 14px;
  background: radial-gradient(circle, rgba(0, 0, 0, .25) 1.2px, transparent 1.8px) 0 0 / 7px 7px, #2a2725;
  box-shadow: inset 0 0 0 1px #3f3a37, inset 0 2px 0 rgba(255, 255, 255, .06), 0 30px 60px -30px rgba(0, 0, 0, .9);
}
body.sg-stil .sd-foot__logo { display: block; width: 100%; max-width: 900px; height: auto; color: #b9b7b1; filter: drop-shadow(0 1px 0 rgba(255, 255, 255, .15)) drop-shadow(0 -1px 0 rgba(0, 0, 0, .6)); }
body.sg-stil .sd-foot nav { justify-content: center; gap: 12px 8px; margin-top: 34px; padding: 12px 12px 18px; border-radius: 8px; background: #151211; }

@media (max-width: 1023px) {
  body.sg-stil .sd-nav__menu a { padding: 0 11px; font-size: 12px; }
}
@media (max-width: 820px) {
  body.sg-stil .sg-kopf .sd-show { grid-template-columns: minmax(0, 1fr); justify-items: start; text-align: left; }
  body.sg-stil .ddf-gross { order: -1; width: 86%; }
  body.sg-stil .sg-kopf .sd-btns, body.sg-stil .sg-kopf .sd-podicons { justify-content: flex-start; }
  body.sg-stil .sg-kopf .sd-podicons__t { flex-basis: auto; text-align: left; margin: 0 6px 0 0; }
  body.sg-stil .sd-nav__brand .lg--svg { height: 19px; }
  body.sg-stil #folgen .sd-head { text-align: left; }
}
@media (max-width: 640px) {
  body.sg-stil .sg-folge__main { grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 12px; padding: 20px 18px; }
  body.sg-stil .sg-folge__main > * { grid-column: 1 / -1; grid-row: auto; }
  body.sg-stil .sg-folge__main > .sg-folge__steuer { grid-column: 1; margin-top: 18px; }
  body.sg-stil .sg-folge__main > .sg-folge__mehr { grid-column: 2; margin-top: 18px; }
  body.sg-stil .sd-foot nav a { padding: 0 10px; font-size: 11.5px; }
}

/* Zweite Runde: das Kassettendeck */
body.sg-stil .ddf-deck {
  position: fixed; left: 50%; bottom: 14px; z-index: 80; display: grid; grid-template-columns: auto auto auto auto; align-items: center; gap: 18px;
  width: min(940px, calc(100% - 24px)); padding: 14px 18px; border-radius: 14px; translate: -50% calc(100% + 40px); transition: translate .6s cubic-bezier(.3, 1.2, .4, 1);
  background: radial-gradient(circle, rgba(0, 0, 0, .25) 1.2px, transparent 1.8px) 0 0 / 7px 7px, #2a2725;
  box-shadow: inset 0 0 0 1px #3f3a37, inset 0 2px 0 rgba(255, 255, 255, .07), 0 24px 50px -10px rgba(0, 0, 0, .85);
}
body.sg-stil .ddf-deck.is-drin { translate: -50% 0; }
body.sg-stil .ddf-deck__fach { width: 260px; padding: 10px 12px 12px; border-radius: 8px; background: #151211; box-shadow: inset 0 2px 6px rgba(0, 0, 0, .8); }
body.sg-stil .ddf-deck__etikett { display: flex; align-items: center; gap: 8px; height: 28px; padding: 0 10px; border-radius: 4px 4px 0 0; background: var(--etikett); color: #1f2a6b; font-family: var(--hand); font-size: 15px; overflow: hidden; white-space: nowrap; }
body.sg-stil .ddf-deck__a { flex: none; font-family: inherit; font-weight: 800; color: var(--rot); }
body.sg-stil .ddf-deck__titel { overflow: hidden; text-overflow: ellipsis; }
body.sg-stil .ddf-deck__fenster { display: flex; justify-content: space-around; align-items: center; height: 40px; border-radius: 0 0 20px 20px; background: #0c0a09; box-shadow: inset 0 0 0 2px #3a3532; }
body.sg-stil .ddf-deck__spule { width: 30px; height: 30px; border-radius: 50%; background: conic-gradient(#e9e4da 0 20deg, #1b1817 20deg 60deg, #e9e4da 60deg 80deg, #1b1817 80deg 120deg, #e9e4da 120deg 140deg, #1b1817 140deg 180deg, #e9e4da 180deg 200deg, #1b1817 200deg 240deg, #e9e4da 240deg 260deg, #1b1817 260deg 300deg, #e9e4da 300deg 320deg, #1b1817 320deg); box-shadow: 0 0 0 6px #3a2516; animation: ddfDreh 1.6s linear infinite; animation-play-state: paused; }
body.sg-stil .ddf-deck.is-spielt .ddf-deck__spule { animation-play-state: running; }
body.sg-stil .ddf-deck__zaehler { display: flex; gap: 2px; padding: 6px; border-radius: 6px; background: #0c0a09; box-shadow: inset 0 0 0 1px #3a3532; }
body.sg-stil .ddf-ziffer { display: block; width: 18px; height: 26px; overflow: hidden; border-radius: 3px; background: linear-gradient(180deg, #2a2725, #f6f1e7 22%, #f6f1e7 78%, #2a2725); }
body.sg-stil .ddf-ziffer__band { display: block; height: 1100%; }
body.sg-stil .ddf-ziffer__band b { display: flex; align-items: center; justify-content: center; height: calc(100% / 11); font-weight: 800; font-size: 17px; color: #151211; font-variant-numeric: tabular-nums; }
body.sg-stil .ddf-deck__vu { display: flex; gap: 8px; }
body.sg-stil .ddf-vu { position: relative; width: 70px; height: 44px; overflow: hidden; border-radius: 6px; background: radial-gradient(ellipse 90% 120% at 50% 110%, #f6dc93, #e2b45a); box-shadow: inset 0 0 0 2px #151211; }
body.sg-stil .ddf-vu::before { content: ""; position: absolute; left: 10%; right: 10%; top: 8px; height: 30px; border-radius: 50% 50% 0 0; border-top: 2px solid rgba(21, 18, 17, .6); -webkit-mask: linear-gradient(90deg, #000 70%, transparent 70%); mask: linear-gradient(90deg, #000 70%, transparent 70%); }
body.sg-stil .ddf-vu::after { content: ""; position: absolute; right: 14%; top: 8px; width: 20%; height: 14px; border-top: 3px solid var(--rot); border-radius: 0 40% 0 0; }
body.sg-stil .ddf-vu i { position: absolute; left: 50%; bottom: -4px; width: 2px; height: 42px; margin-left: -1px; background: #151211; transform-origin: 50% 100%; rotate: -48deg; }
body.sg-stil .ddf-vu span { position: absolute; left: 6px; bottom: 3px; font-size: 10px; font-weight: 800; color: #151211; }
body.sg-stil .ddf-deck__tasten { display: flex; gap: 6px; padding: 8px 8px 12px; border-radius: 8px; background: #151211; justify-self: end; }
body.sg-stil .ddf-deck__tasten button {
  display: grid; place-items: center; width: 50px; height: 40px; border: 0; border-radius: 4px 4px 7px 7px; cursor: pointer;
  background: linear-gradient(180deg, #5b5855, #3d3a38); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 5px 0 #1d1b1a; transition: translate .1s, box-shadow .1s;
}
body.sg-stil .ddf-deck__tasten button svg { width: 18px; height: 18px; fill: #e9e4da; }
body.sg-stil .ddf-deck__tasten button[data-t="spiel"] { background: linear-gradient(180deg, #c42227, #9a171b); }
body.sg-stil .ddf-deck__tasten button[data-t="spiel"] .i-pause { display: none; }
body.sg-stil .ddf-deck.is-spielt button[data-t="spiel"] .i-pause { display: block; }
body.sg-stil .ddf-deck.is-spielt button[data-t="spiel"] .i-play { display: none; }
body.sg-stil .ddf-deck.is-spielt button[data-t="spiel"] { translate: 0 4px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 1px 0 #4a0b0d; }
body.sg-stil .ddf-deck__tasten button:active, body.sg-stil .ddf-deck__tasten button.is-gedrueckt { animation: ddfDruck .22s ease; }
@keyframes ddfDruck { 40% { translate: 0 4px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 1px 0 #1d1b1a; } }
body.sg-stil .sd-foot { padding-bottom: 130px; }
@media (max-width: 900px) {
  body.sg-stil .ddf-deck { grid-template-columns: minmax(0, 1fr) auto; gap: 10px 12px; padding: 10px 12px; bottom: 8px; }
  body.sg-stil .ddf-deck__fach { width: auto; grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) 120px; gap: 10px; align-items: center; padding: 8px; }
  body.sg-stil .ddf-deck__etikett { border-radius: 4px; }
  body.sg-stil .ddf-deck__fenster { height: 30px; border-radius: 15px; }
  body.sg-stil .ddf-deck__spule { width: 22px; height: 22px; box-shadow: 0 0 0 4px #3a2516; }
  body.sg-stil .ddf-deck__vu { display: none; }
  body.sg-stil .ddf-deck__tasten button { width: 42px; height: 36px; }
}

/* Dritte Runde: Bandsalat hinter allem */
body.sg-stil #landing { position: relative; }
body.sg-stil #landing > .ddf-salat { position: absolute !important; inset: 0; z-index: 0 !important; pointer-events: none; overflow: hidden; }
body.sg-stil .ddf-salat canvas { position: absolute; left: 0; }
body.sg-stil .sg-folge__main { background: rgba(32, 17, 10, .9); }
/* Schrift bleibt auf dem Band lesbar */
body.sg-stil .sg-kopf .sd-show p, body.sg-stil .sd-podicons__t, body.sg-stil #folgen .sd-h { text-shadow: 0 0 2px #0c0908, 0 0 10px #0c0908, 0 0 18px #0c0908; }

/* Seite einer Folge (/<sendung>/<folge>, 01.10.2026): Abspielknopf in den
   Farben der Sendung, Titel in ihrer Schrift. */
body.sg-stil { --einzel-akzent: var(--rot); --einzel-akzent-hell: var(--blau); --einzel-symbol: #fff; }
body.sg-stil .sg-kopf__titel { font-weight: 800; font-stretch: 70%; }
body.sg-stil .sg-einzel .sg-folge__bild { display: block; }
body.sg-stil .sg-einzel .sg-folge__cov { border-radius: 4px; }
