/*
  Stil der öffentlichen Kundenseiten.

  Eigenständig und nicht aus shared/design-tokens: Das ist die Seite des Kunden, nicht die
  Creavly-Anwendung (AD-035). Hier stehen die neutralen Vorgaben; die Marken-CI überschreibt sie
  an `.site` (theme.css, SiteAppearance.ThemeCss) — ohne CI bleibt alles neutral.

  Keine Schrift von außen. Eine eingebundene Webschrift wäre bei jedem Seitenaufruf eine
  Verbindung zu einem fremden Server — mit der IP des Besuchers.
*/

/*
  Zwei Anker und der Rest abgeleitet.

  Grundfläche und Fließtext sind die einzigen Werte, die hier doppelt stehen — einmal hell, einmal
  dunkel. Alles andere rechnet sich daraus aus. Das ist nicht Sparsamkeit, sondern die einzige
  Fassung, die nicht auseinanderfällt: Die Marken-CI und der Umschalter setzen jeweils nur einen
  Teil der Palette neu (`--bg`, `--text`, `--border`, `--accent` …). Standen die übrigen Werte fest
  in der Medienabfrage, blieben sie beim Modus des Geräts stehen — heller Grund aus der CI, dazu
  Nebentext und Karten aus dem Dunkelmodus. Genau so sah die Stellung „Hell" auf einem dunkel
  gestellten Gerät aus: unlesbare Zwischentexte und schwarze Karten.

  Abgeleitet wird an `.site` noch einmal (weiter unten). Eine hier notierte Ableitung rechnet mit
  dem `--text` von `:root` und wäre danach ein fester Wert — sie würde der CI nicht folgen.
*/
:root {
  --accent: #00b8b0;
  --bg: #ffffff;
  --text: #111418;
  /* Die Schrift auf der Akzentfläche: ohne CI Weiß, mit CI das, was die Marke dort vorsieht.
     Fest verdrahtetes Weiß stand im Dunkelmodus auf hellblauem Knopf. */
  --on-accent: #ffffff;
  --shadow: 0 1px 2px rgb(16 24 40 / 5%), 0 8px 24px -12px rgb(16 24 40 / 18%);
  --shadow-lg: 0 2px 4px rgb(16 24 40 / 6%), 0 24px 48px -20px rgb(16 24 40 / 30%);
  --radius: 16px;
  --radius-sm: 10px;
  --shell: 72rem;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1014;
    --text: #f1f3f6;
    --shadow: 0 1px 2px rgb(0 0 0 / 40%), 0 8px 24px -12px rgb(0 0 0 / 60%);
    --shadow-lg: 0 2px 4px rgb(0 0 0 / 40%), 0 24px 48px -20px rgb(0 0 0 / 70%);
  }
}

/*
  Die abgeleiteten Rollen. Jede mischt Fließtext in die Grundfläche — deshalb kippen sie mit,
  sobald `--bg` und `--text` wechseln, gleich ob durch Dunkelmodus, CI oder Umschalter.

  Die Werte sind so gewählt, dass eine Seite ohne CI aussieht wie bisher: --bg-soft traf #f6f7f9,
  --border #e4e7ec, --text-2 #444b55, --text-3 #6b7380.
*/
:root, .site {
  --bg-soft: color-mix(in srgb, var(--text) 4%, var(--bg));
  /* Karten liegen zwischen Grundfläche und abgesetzter Fläche — im Dunkeln heißt das angehoben,
     im Hellen leicht getönt. Ein fester Wert wäre in genau einem der beiden Fälle falsch. */
  --surface: color-mix(in srgb, var(--bg-soft) 55%, var(--bg));
  --border: color-mix(in srgb, var(--text) 12%, var(--bg));
  --text-2: color-mix(in srgb, var(--text) 75%, var(--bg));
  --text-3: color-mix(in srgb, var(--text) 62%, var(--bg));
  /*
    Zwei Rollen, die nur eine Marken-CI füllt: die tiefe Fläche und die Hervorhebung an Zitaten.
    Die Vorgaben zeigen auf vorhandene Werte, damit eine Seite ohne CI genau so aussieht wie
    bisher — die Rollen sind dann da, fallen aber nicht auf.
  */
  --deep: var(--bg-soft);
  --highlight: var(--accent);
}

/*
  Der Schatten folgt der Wahl am Umschalter, nicht dem Gerät. Er ist der einzige Wert, der sich
  nicht aus Grundfläche und Text ableiten lässt: Ein Schatten ist immer schwarz, nur verschieden
  kräftig — auf hellem Grund zart, auf dunklem so stark, dass man ihn überhaupt sieht.
*/
.site:has(#theme-light:checked) {
  --shadow: 0 1px 2px rgb(16 24 40 / 5%), 0 8px 24px -12px rgb(16 24 40 / 18%);
  --shadow-lg: 0 2px 4px rgb(16 24 40 / 6%), 0 24px 48px -20px rgb(16 24 40 / 30%);
}
.site:has(#theme-dark:checked) {
  --shadow: 0 1px 2px rgb(0 0 0 / 40%), 0 8px 24px -12px rgb(0 0 0 / 60%);
  --shadow-lg: 0 2px 4px rgb(0 0 0 / 40%), 0 24px 48px -20px rgb(0 0 0 / 70%);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.65 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/*
  Die Farben der Marke stehen als Variablen an diesem Element (theme.css, nach diesem Stylesheet).
  Deshalb trägt es Hintergrund und Textfarbe selbst: Auf <body> gesetzt, gölten dort noch die
  neutralen Werte, und hinter der Seite bliebe ein Streifen in der falschen Farbe.
*/
.site { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; background: var(--bg); color: var(--text); }
.site > main { flex: 1; }

img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.015em; margin: 0; }
p { margin: 0; }

/* Am Telefon 16px Rand, nirgends ein waagerechter Balken. */
.site-shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: 16px; }
@media (min-width: 720px) { .site-shell { padding-inline: 32px; } }

/* --- Umschalter für Hell/Dunkel --- */
/*
  Die Radiofelder stehen ganz oben im Dokument, weil :has() nur nach unten wirkt — das Stylesheet
  aus theme.css liest sie über .site:has(#theme-dark:checked). Sichtbar sind sie nicht; sichtbar
  sind die Beschriftungen, die auf sie zeigen.
*/
.theme-switch {
  position: absolute; top: .55rem; right: 16px; z-index: 30;
  display: inline-flex; gap: 2px; margin: 0; padding: 2px;
  border: 1px solid var(--border); border-radius: 999px;
  background: color-mix(in srgb, var(--bg) 80%, transparent);
}
.theme-switch__legend { position: absolute; left: -9999px; }
.theme-switch__input { position: absolute; opacity: 0; pointer-events: none; }
.theme-switch__option {
  padding: .2rem .6rem; border-radius: 999px; cursor: pointer;
  font-size: .76rem; font-weight: 600; color: var(--text-3);
}
.theme-switch__option:hover { color: var(--text); }
/* Die gewählte Stellung: das Feld steht direkt vor seiner Beschriftung. */
.theme-switch__input:checked + .theme-switch__option { background: var(--accent); color: var(--on-accent); }
.theme-switch__input:focus-visible + .theme-switch__option { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (max-width: 560px) { .theme-switch { position: static; margin: .5rem 16px 0; } }

.site-skip { position: absolute; left: -9999px; }
.site-skip:focus { left: 1rem; top: 1rem; z-index: 50; padding: .5rem .8rem; border-radius: var(--radius-sm); background: var(--accent); color: var(--on-accent); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* --- Vorschauhinweis --- */
.site-preview {
  padding: .6rem 16px; text-align: center; font-size: .86rem;
  background: #fff3cd; color: #5c4300; border-bottom: 1px solid #f1d68a;
}
@media (prefers-color-scheme: dark) { .site-preview { background: #3a2f0a; color: #ffe08a; border-color: #5a4a12; } }

/* --- Kopf --- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 64px; }
.site-brand { display: inline-flex; align-items: center; gap: .65rem; min-width: 0; color: var(--text); text-decoration: none; font-weight: 700; }
.site-brand__image { width: 36px; height: 36px; border-radius: 9px; object-fit: cover; flex: none; }
.site-brand__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.site-nav { display: flex; gap: .25rem; flex: none; }
.site-nav a {
  padding: .4rem .75rem; border-radius: 999px;
  color: var(--text-2); text-decoration: none; font-size: .92rem; font-weight: 500;
}
.site-nav a:hover { background: var(--bg-soft); color: var(--text); }
@media (max-width: 520px) { .site-brand__name { font-size: .92rem; } .site-nav { flex-wrap: wrap; max-width: 100%; } .site-nav a { padding: .35rem .45rem; font-size: .88rem; white-space: nowrap; } }

/* --- Kopfbereich (Hero) --- */
.hero {
  background:
    radial-gradient(60rem 30rem at 85% -10%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%),
    linear-gradient(180deg, color-mix(in srgb, var(--accent) 7%, var(--bg)), var(--bg));
  border-bottom: 1px solid var(--border);
}
.hero__inner { display: grid; gap: 2rem; padding-block: 2.5rem 3rem; align-items: center; }
@media (min-width: 820px) {
  .hero__inner { grid-template-columns: minmax(220px, 340px) 1fr; gap: 3rem; padding-block: 4rem 4.5rem; }
}
.hero__cover { width: 100%; max-width: 340px; aspect-ratio: 1; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow-lg); }
@media (max-width: 819px) { .hero__cover { max-width: 220px; } }
.hero__text { display: grid; gap: 1rem; align-content: start; min-width: 0; }
.hero__eyebrow { color: var(--accent); font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.hero__eyebrow a { color: inherit; text-decoration: none; }
.hero__title { font-size: clamp(2rem, 1.3rem + 3vw, 3.4rem); font-weight: 800; }
.hero__title--episode { font-size: clamp(1.7rem, 1.2rem + 2.2vw, 2.6rem); }
.hero__tagline { font-size: clamp(1.05rem, 1rem + .4vw, 1.3rem); color: var(--text-2); font-weight: 500; }
.hero__lede { color: var(--text-2); max-width: 62ch; }
.hero__more { margin-left: .35rem; font-weight: 600; white-space: nowrap; }
.hero__hosts { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin: .25rem 0 0; padding: 0; list-style: none; }
.hero__hosts li { display: flex; align-items: center; gap: .55rem; font-size: .9rem; }
.hero__hosts strong { font-weight: 600; }
.hero__host-role { margin-left: .4rem; color: var(--text-3); }

/* --- Plattformknöpfe --- */
.platform-buttons { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.platform-button {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .55rem .95rem .55rem .7rem;
  border: 1px solid var(--border); border-radius: 999px;
  background: var(--surface); color: var(--text);
  font-size: .9rem; font-weight: 600; text-decoration: none;
  box-shadow: 0 1px 2px rgb(16 24 40 / 5%);
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.platform-button:hover { transform: translateY(-1px); border-color: color-mix(in srgb, var(--accent) 50%, var(--border)); box-shadow: var(--shadow); }
.platform-buttons--compact .platform-button { padding: .4rem .75rem .4rem .5rem; font-size: .84rem; }
.platform-icon { display: inline-flex; width: 1.35rem; height: 1.35rem; flex: none; }
.platform-icon svg { width: 100%; height: 100%; }
.platform-icon--spotify { color: #1db954; }
.platform-icon--applepodcasts { color: #9b3fd9; }
.platform-icon--youtube { color: #ff0033; }
.platform-icon--amazonmusic { color: #1fb6c9; }
.platform-icon--deezer { color: #a238ff; }
.platform-icon--website, .platform-icon--other { color: var(--accent); }

/* --- Abschnitte --- */
.section { padding-block: 3rem; }
@media (min-width: 820px) { .section { padding-block: 4rem; } }
.section--tinted { background: var(--bg-soft); border-block: 1px solid var(--border); }
.section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.section__head h2 { font-size: clamp(1.35rem, 1.2rem + .6vw, 1.75rem); font-weight: 750; }
.section__link { font-weight: 600; text-decoration: none; white-space: nowrap; }
.section__link:hover { text-decoration: underline; }

.button {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .65rem 1.15rem; border-radius: 999px;
  font-weight: 650; font-size: .92rem; text-decoration: none;
}
.button--primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 6px 16px -8px color-mix(in srgb, var(--accent) 70%, transparent); }
.button--primary:hover { filter: brightness(1.06); }

.player { width: 100%; max-width: 560px; height: 44px; }

/* --- Hervorgehobene Folge --- */
.feature {
  display: grid; gap: 1.5rem; padding: 1rem;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface); box-shadow: var(--shadow);
}
@media (min-width: 760px) { .feature { grid-template-columns: minmax(220px, 320px) 1fr; gap: 2rem; padding: 1.25rem; } }
.feature__media img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; }
.feature__body { display: grid; gap: .8rem; align-content: center; min-width: 0; }
.feature__title { font-size: clamp(1.3rem, 1.1rem + .9vw, 1.9rem); font-weight: 750; }
.feature__title a { color: var(--text); text-decoration: none; }
.feature__title a:hover { color: var(--accent); }
.feature__summary { color: var(--text-2); max-width: 65ch; }
.feature__guests { color: var(--text-3); font-size: .9rem; }
.feature__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-top: .25rem; }

/* --- Metazeile --- */
.episode-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .75rem; color: var(--text-3); font-size: .82rem; font-weight: 500; }
.episode-meta__number {
  padding: .1rem .55rem; border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); font-weight: 700;
}

/* --- Folgenraster --- */
.episode-grid { display: grid; gap: 1.25rem; margin: 0; padding: 0; list-style: none; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.episode-tile {
  display: flex; flex-direction: column; height: 100%;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface); color: inherit; text-decoration: none; overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.episode-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--accent) 35%, var(--border)); }
/* Quadratisch wie in jeder Podcast-App: Jede Folge hat ein eigenes quadratisches Vorschaubild. */
.episode-tile__media { display: block; aspect-ratio: 1; background: var(--bg-soft); overflow: hidden; }
.episode-tile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.episode-tile:hover .episode-tile__media img { transform: scale(1.03); }
.episode-tile__placeholder {
  display: grid; place-items: center; height: 100%;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 30%, var(--bg-soft)), var(--bg-soft));
  color: var(--accent); font-size: 2.5rem; font-weight: 800;
}
.episode-tile__body { display: grid; gap: .5rem; padding: 1rem 1.1rem 1.2rem; align-content: start; }
.episode-tile__title {
  font-size: 1.05rem; font-weight: 700; line-height: 1.35; color: var(--text);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.episode-tile__summary {
  color: var(--text-2); font-size: .9rem; line-height: 1.55;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.episode-tile__guests { color: var(--text-3); font-size: .84rem; }

/* --- Über den Podcast --- */
.about { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .about { grid-template-columns: 1fr minmax(240px, 320px); gap: 4rem; } }
.about__text h2 { font-size: clamp(1.35rem, 1.2rem + .6vw, 1.75rem); font-weight: 750; margin-bottom: 1rem; }
.about__text .rich-text { color: var(--text-2); max-width: 68ch; font-size: 1.02rem; }
.about__people h3 { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); margin-bottom: .9rem; }
.about__people ul { display: grid; gap: .9rem; margin: 0; padding: 0; list-style: none; }

.person { display: flex; align-items: center; gap: .8rem; }
.person strong { display: block; font-weight: 650; }
.person__role { display: block; color: var(--text-3); font-size: .86rem; }
.person--guest { align-items: flex-start; }
.person__bio { margin-top: .4rem; color: var(--text-2); font-size: .92rem; }

.avatar { border-radius: 50%; object-fit: cover; flex: none; background: var(--bg-soft); }
.avatar--sm { width: 32px; height: 32px; font-size: .75rem; }
.avatar--md { width: 48px; height: 48px; font-size: .95rem; }
.avatar--lg { width: 72px; height: 72px; font-size: 1.3rem; }
.avatar--initials {
  display: inline-grid; place-items: center;
  background: color-mix(in srgb, var(--accent) 16%, var(--surface));
  color: var(--accent); font-weight: 700; letter-spacing: .02em;
}

/* --- Folgenseite --- */
.hero--episode .hero__inner { padding-block: 2.5rem 3rem; }
@media (min-width: 820px) { .hero--episode .hero__inner { grid-template-columns: minmax(200px, 280px) 1fr; } }
.episode-layout { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .episode-layout { grid-template-columns: 1fr minmax(260px, 340px); gap: 3.5rem; } }
.episode-layout__main { min-width: 0; }
.episode-layout__main h2 { font-size: 1.3rem; font-weight: 750; margin: 2rem 0 1rem; }
.episode-layout__summary { font-size: 1.12rem; color: var(--text); line-height: 1.6; }
.episode-layout__main .rich-text { color: var(--text-2); max-width: 70ch; }
.episode-layout__aside { display: grid; gap: 1.25rem; align-content: start; }
.panel { display: grid; gap: 1rem; padding: 1.25rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.panel h2 { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }

/* --- Unterseiten --- */
.page-head { padding-block: 2.5rem 1rem; background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 7%, var(--bg)), var(--bg)); }
.page-head .hero__eyebrow { margin-bottom: .5rem; }
.page-head h1 { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.6rem); font-weight: 800; }
.page-head__lede { margin-top: .6rem; color: var(--text-2); }
.legal .rich-text { max-width: 70ch; color: var(--text-2); }

.rich-text p { margin: 0 0 1em; }
.rich-text p:last-child { margin-bottom: 0; }
.rich-text a { font-weight: 500; }

.site-empty { padding-block: 3rem; color: var(--text-3); }

/* --- Fuß --- */
.site-footer { margin-top: auto; border-top: 1px solid var(--border); background: var(--bg-soft); }
/* Mit einer Marken-CI wird die Fusszeile zur tiefen Flaeche; ohne bleibt sie ruhig. */
.site:has(> .site-footer) { }
.site-footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding-block: 2rem; font-size: .88rem; color: var(--text-3); }
.site-footer__brand { display: grid; gap: .15rem; }
.site-footer__brand strong { color: var(--text); font-size: .95rem; }
.site-footer__legal { display: flex; gap: 1.25rem; }
.site-footer__legal a { color: var(--text-2); text-decoration: none; }
.site-footer__legal a:hover { color: var(--accent); }
.site-footer__badge a { color: var(--text-2); }
.site-footer__beta {
  display: inline-block; margin-left: .35rem; padding: .05rem .45rem;
  border: 1px solid currentColor; border-radius: 999px;
  font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em;
}

/* Folgen auf schmalen Bildschirmen als kompakte Zeilen: Bild links, Text rechts. Als Kacheln
   untereinander wurde die Seite am Telefon über zwanzig Bildschirmhöhen lang. */
@media (max-width: 599px) {
  .episode-grid { gap: .75rem; }
  .episode-tile { flex-direction: row; align-items: stretch; }
  .episode-tile__media { flex: 0 0 96px; aspect-ratio: 1; align-self: flex-start; margin: .6rem 0 .6rem .6rem; border-radius: 8px; }
  .episode-tile__body { padding: .6rem .75rem; gap: .3rem; }
  .episode-tile__title { font-size: .95rem; -webkit-line-clamp: 3; }
  .episode-tile__summary, .episode-tile__guests { display: none; }
  .episode-meta { font-size: .76rem; }
}

/* Nur ein echtes Videobild wird breit gezeigt; ein quadratisches Cover bliebe sonst beschnitten. */
.hero__cover--wide { max-width: 100%; aspect-ratio: 16 / 9; border-radius: 14px; }
@media (min-width: 820px) { .hero--episode .hero__inner { grid-template-columns: minmax(280px, 460px) 1fr; } }

/* Folge mit Video: kein Cover daneben, der Player bekommt die Breite. */
@media (min-width: 820px) { .hero--episode .hero__inner--video { grid-template-columns: minmax(0, 1fr); } }
.hero__inner--video .hero__text { max-width: 960px; }
.hero__inner--video .media-player { max-width: 960px; }
@media (min-width: 760px) { .feature.feature--video { grid-template-columns: minmax(0, 1fr); } }
.feature--video .media-player--compact { max-width: 860px; }

/* Querformat (Videobild ohne quadratische Fassung) im Quadrat: ganz zeigen statt links und rechts abschneiden. */
.episode-tile__media img.is-wide, .feature__media img.is-wide { object-fit: contain; background: color-mix(in srgb, var(--accent) 10%, var(--bg-soft)); }

/* --- Gast werden --- */
.guest-apply { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 820px) { .guest-apply { grid-template-columns: 1fr minmax(260px, 420px); } }
.guest-apply__text { display: grid; gap: 1.25rem; max-width: 68ch; }
.guest-apply__figure { margin: 0; }
.guest-apply__figure img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
.guest-apply__figure figcaption { margin-top: .6rem; color: var(--text-3); font-size: .9rem; }
.guest-teaser {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem;
  padding: 1.5rem; border-radius: var(--radius);
  background: color-mix(in srgb, var(--accent) 10%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--accent) 25%, var(--border));
}
.guest-teaser h2 { font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); font-weight: 750; margin-bottom: .3rem; }
.guest-teaser p { color: var(--text-2); }

/* --- Blog --- */
.blog-grid { display: grid; gap: 1.25rem; margin: 0; padding: 0; list-style: none; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.blog-card {
  display: flex; flex-direction: column; height: 100%; overflow: hidden;
  border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface);
  color: inherit; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease;
}
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.blog-card__media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-soft); }
.blog-card__backdrop { position: absolute; inset: -12%; width: 124%; height: 124%; object-fit: cover; filter: blur(18px) brightness(.7); }
.blog-card__image { position: relative; width: 100%; height: 100%; object-fit: contain; }
.blog-card__body { display: grid; gap: .5rem; padding: 1rem 1.1rem 1.2rem; }
.blog-card__title { font-size: 1.1rem; font-weight: 700; line-height: 1.3; color: var(--text); }
.blog-card:hover .blog-card__title { color: var(--accent); }
.blog-card__excerpt { color: var(--text-2); font-size: .92rem; line-height: 1.55; }

.blog-article__head { max-width: 820px; }
.blog-article__lede { margin-top: .9rem; font-size: 1.15rem; line-height: 1.55; color: var(--text-2); max-width: 65ch; }
.blog-article__layout { display: grid; gap: 2.5rem; padding-block: 1.5rem 3rem; align-items: start; }
@media (min-width: 980px) { .blog-article__layout { grid-template-columns: minmax(0, 720px) minmax(240px, 320px); justify-content: space-between; } }
.blog-article__main { min-width: 0; }
.blog-article__hero { display: block; width: 100%; height: auto; border-radius: var(--radius); margin-bottom: 2rem; box-shadow: var(--shadow); }
/* Das Bild vollstaendig: Folgenbilder tragen Titel und Gesichter bis an den Rand, beschnitten fehlte die halbe Schrift. */
.blog-article__aside { position: sticky; top: 88px; display: grid; gap: .9rem; padding: 1.1rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.blog-article__aside h2 { font-size: 1rem; font-weight: 700; }
.blog-article__aside > ul { display: grid; gap: 1.1rem; margin: 0; padding: 0; list-style: none; }
/* Nur der Folgenlink selbst, nicht die Hoer-Knoepfe darunter: die erbten sonst das Raster und
   stellten das Zeichen ueber den Text. */
.blog-article__aside > ul > li > a { display: grid; gap: .3rem; color: var(--text); text-decoration: none; font-weight: 600; margin-bottom: .6rem; }
.blog-article__aside > ul > li > a:hover { color: var(--accent); }
.blog-article__aside .episode-meta__number { justify-self: start; }
.rich-text--article { font-size: 1.06rem; line-height: 1.75; }
.rich-text--article h2 { margin: 2.2rem 0 .8rem; font-size: 1.5rem; font-weight: 750; line-height: 1.25; }
.rich-text--article h3 { margin: 1.8rem 0 .6rem; font-size: 1.2rem; font-weight: 700; }
.rich-text--article p, .rich-text--article ul, .rich-text--article ol { margin: 0 0 1.1rem; }
.rich-text--article ul, .rich-text--article ol { padding-left: 1.4rem; }
.rich-text--article li + li { margin-top: .35rem; }
.rich-text--article blockquote {
  margin: 1.6rem 0; padding: .9rem 1.2rem; border-left: 4px solid var(--highlight);
  background: var(--bg-soft); border-radius: 0 12px 12px 0; font-style: italic; color: var(--text-2);
}
.rich-text--article blockquote p { margin: 0; }
.episode-article-link { margin-top: 1rem; }

/* --- Newsletter --- */
.newsletter-signup { display: grid; gap: 2rem; align-items: start; max-width: 980px; }
@media (min-width: 820px) { .newsletter-signup { grid-template-columns: minmax(0, 1fr) minmax(340px, .8fr); } }
.newsletter-signup__intro { display: grid; gap: .8rem; }
.newsletter-signup__intro h1 { font-size: clamp(2rem, 1.4rem + 2vw, 3.2rem); line-height: 1.08; }
.newsletter-signup__audience { color: var(--text-2); font-weight: 600; }
.newsletter-signup__benefits { display: grid; gap: .65rem; margin-top: .7rem; padding: 1.1rem 1.2rem; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--bg-soft); }
.newsletter-signup__benefits h2 { font-size: 1rem; font-weight: 750; }
.newsletter-signup__benefits ul { display: grid; gap: .45rem; margin: 0; padding-left: 1.2rem; color: var(--text-2); }
.newsletter-signup__benefits li::marker { color: var(--accent); }
.newsletter-form { display: grid; gap: 1rem; padding: 1.4rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.newsletter-form label { display: grid; gap: .4rem; font-size: .9rem; font-weight: 650; }
.newsletter-form input[type="text"], .newsletter-form input[type="email"], .newsletter-form label > input:not([type]) { width: 100%; padding: .72rem .8rem; border: 1px solid var(--border); border-radius: 8px; background: var(--bg); color: var(--text); font: inherit; }
.newsletter-form__names { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.newsletter-form__consent { grid-template-columns: auto 1fr !important; align-items: start; font-weight: 450 !important; line-height: 1.45; color: var(--text-2); }
.newsletter-form__consent input { margin-top: .2rem; }
.newsletter-form__note { color: var(--text-3); font-size: .82rem; line-height: 1.45; }

.rich-text--article hr { margin: 2.2rem 0; border: 0; border-top: 1px solid var(--border); }
.rich-text--article code {
  padding: .1rem .35rem; border-radius: 6px; background: var(--bg-soft);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .92em;
}
.rich-text--article s { color: var(--text-3); }
.rich-text-image { margin: 2rem 0; }
.rich-text-image img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
.rich-text-image figcaption { margin-top: .5rem; color: var(--text-3); font-size: .88rem; }
.rich-text-callout {
  margin: 1.8rem 0; padding: 1rem 1.2rem; border-radius: 12px;
  background: color-mix(in srgb, var(--accent) 10%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--border));
}
.rich-text-callout p { margin: 0; }
.rich-text-episode {
  display: grid; gap: .6rem; justify-items: start; margin: 1.8rem 0; padding: 1rem 1.2rem;
  border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-soft);
}
.rich-text-episode a { color: var(--text); font-weight: 700; text-decoration: none; }
.rich-text-episode a:hover { color: var(--accent); }
.rich-text-episode .player { max-width: 100%; }
/* Einwilligung: Karte unten am Rand, nicht blockierend. „Alle ablehnen“ und „Alle akzeptieren“
   sind gleich gestaltet; die Einstellungen klappen ohne Skript als <details> auf. */
.consent-banner {
  position: fixed; inset-inline: 16px; bottom: 16px; z-index: 40;
  max-width: 30rem; margin-inline-start: auto;
  border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface);
  box-shadow: 0 18px 48px -16px rgb(0 0 0 / .35);
  transition: opacity .2s ease, transform .2s ease;
}
.consent-banner.is-closing { opacity: 0; transform: translateY(12px); }
@media (prefers-reduced-motion: reduce) { .consent-banner { transition: none; } }
.consent-banner__inner { display: grid; gap: .9rem; padding: 1.1rem 1.2rem; }
.consent-banner__text h2 { font-size: 1rem; font-weight: 750; margin: 0 0 .35rem; }
.consent-banner__text p { margin: 0; color: var(--text-2); font-size: .88rem; line-height: 1.5; }
.consent-choice { display: grid; gap: .7rem; margin-block: 1rem; }
.consent-banner .consent-choice { margin: 0; }
.consent-choice__buttons { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.consent-choice__button {
  min-width: 0; border: 1px solid var(--border); background: var(--bg); color: var(--text);
  font: inherit; font-size: .9rem; font-weight: 650; cursor: pointer;
}
.consent-choice__button:hover, .consent-choice__button:focus-visible { border-color: var(--accent); color: var(--accent); }
.consent-choice__details { display: grid; gap: .7rem; }
.consent-choice__details summary { cursor: pointer; font-size: .88rem; font-weight: 650; color: var(--accent); width: fit-content; }
.consent-choice__details > .consent-choice__button { justify-self: start; }
.consent-choice__options { display: grid; gap: .55rem; margin: 0; padding: 0; border: 0; }
.consent-option {
  display: grid; grid-template-columns: auto 1fr; gap: .65rem; align-items: start;
  padding: .65rem .75rem; border: 1px solid var(--border); border-radius: 10px; background: var(--bg);
}
.consent-option input { margin-top: .2rem; inline-size: 1.05rem; block-size: 1.05rem; accent-color: var(--accent); }
.consent-option strong { display: block; font-size: .88rem; }
.consent-option small { display: block; color: var(--text-3); font-size: .8rem; line-height: 1.45; }
.consent-status { padding: .8rem 1rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-soft); }
.legal__measurement { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.legal__measurement .rich-text { max-width: 70ch; color: var(--text-2); }
.legal__measurement .button { border: 1px solid var(--border); color: var(--text); }
.visually-hidden { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Player. Ohne Skript zeigt der Browser sein eigenes Element (.media-player__media mit controls);
   mit Skript liegt .mp darüber und die nativen Bedienelemente sind aus.

   Beim Video liegt die Steuerung über dem Bild, hell auf dunklem Verlauf — unabhängig vom Thema
   der Seite, denn darunter ist immer Bild. Beim Hören steht dieselbe Leiste in den Farben der Seite. */
.media-player { width: 100%; max-width: 640px; margin-block: 1rem; }
.media-player--compact { max-width: 560px; margin-block: .6rem; }
.media-player__media { width: 100%; }
audio.media-player__media { height: 44px; }
.media-player.is-enhanced audio.media-player__media { display: none; }
.mp {
  --mp-fg: var(--text);
  --mp-dim: var(--text-2);
  --mp-track: color-mix(in srgb, var(--text) 14%, transparent);
  --mp-loaded: color-mix(in srgb, var(--text) 26%, transparent);
  --mp-hover: color-mix(in srgb, var(--text) 9%, transparent);
  display: grid; gap: .55rem; padding: .6rem .7rem;
  border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface);
  box-shadow: var(--shadow); color: var(--mp-fg);
}
.mp.is-video { padding: .5rem; }
.mp__modes { display: inline-flex; gap: .25rem; padding: .2rem; border-radius: 999px; background: var(--bg-soft); width: fit-content; }
.mp__mode {
  padding: .35rem .9rem; border: 0; border-radius: 999px; background: transparent; color: var(--text-2);
  font: inherit; font-size: .82rem; font-weight: 650; cursor: pointer;
}
.mp__mode[aria-pressed="true"] { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
.mp__mode:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }

/* Bildfläche */
.mp:not(.is-video) .mp__screen { display: none; }
.mp__screen {
  position: relative; overflow: hidden; container-type: inline-size;
  border-radius: calc(var(--radius) - 6px); background: #000;
}
.mp__screen video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; cursor: pointer; }
.mp__screen:fullscreen { display: grid; align-content: center; border-radius: 0; }
.mp__screen:fullscreen video { height: 100vh; aspect-ratio: auto; }
.mp.is-idle .mp__screen, .mp.is-idle .mp__screen video { cursor: none; }
.mp__big {
  position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%);
  display: grid; place-items: center; inline-size: 4.25rem; block-size: 4.25rem;
  border: 0; border-radius: 50%; background: rgb(0 0 0 / 55%); color: #fff; cursor: pointer;
  transition: background .15s, transform .15s;
}
.mp__big svg { inline-size: 2.2rem; block-size: 2.2rem; fill: currentColor; margin-inline-start: .2rem; }
.mp__big:hover, .mp__big:focus-visible { background: var(--accent); color: var(--on-accent); transform: translate(-50%, -50%) scale(1.05); }
.mp__big:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.mp.is-started .mp__big { display: none; }

/* Steuerleiste */
.mp__chrome { position: relative; display: grid; gap: .15rem; }
.mp.is-video .mp__chrome {
  --mp-fg: #fff;
  --mp-dim: rgb(255 255 255 / 85%);
  --mp-track: rgb(255 255 255 / 25%);
  --mp-loaded: rgb(255 255 255 / 45%);
  --mp-hover: rgb(255 255 255 / 14%);
  position: absolute; inset: auto 0 0; padding: 2.5rem .6rem .3rem;
  background: linear-gradient(to top, rgb(0 0 0 / 72%), rgb(0 0 0 / 32%) 60%, transparent);
  color: var(--mp-fg); transition: opacity .25s;
}
.mp.is-video.is-idle .mp__chrome { opacity: 0; pointer-events: none; }
.mp.is-video:not(.is-started):not(.is-positioned) .mp__chrome { opacity: 0; pointer-events: none; }
.mp.is-video:not(.is-started) .mp__screen:hover .mp__chrome,
.mp.is-video:not(.is-started) .mp__chrome:focus-within { opacity: 1; pointer-events: auto; }
.mp__row { display: flex; align-items: center; gap: .15rem; min-inline-size: 0; }
.mp__spacer { flex: 1 1 auto; }
.mp__btn {
  position: relative; display: inline-grid; place-items: center; flex: none;
  inline-size: 2.5rem; block-size: 2.5rem; padding: 0; border: 0; border-radius: 999px;
  background: transparent; color: var(--mp-fg); cursor: pointer;
}
.mp__btn svg { inline-size: 1.5rem; block-size: 1.5rem; fill: currentColor; }
.mp__btn:hover { background: var(--mp-hover); }
.mp__btn:focus-visible, .mp__item:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.mp:not(.is-video) .mp__play { background: var(--accent); color: var(--on-accent); margin-inline-end: .25rem; }
.mp:not(.is-video) .mp__play:hover { background: var(--accent); filter: brightness(1.06); }
.mp__play svg { inline-size: 1.7rem; block-size: 1.7rem; }
.mp__gear svg { transition: transform .25s; }
.mp.has-menu .mp__gear svg { transform: rotate(30deg); }
.mp:not(.is-video) .mp__video-only { display: none; }

/* Hinweis beim Überfahren, wie bei großen Playern über dem Knopf. Am Rand bündig, damit er
   nicht aus dem Bild ragt. */
.mp [data-tip]:hover::after, .mp [data-tip]:focus-visible::after {
  content: attr(data-tip); position: absolute; inset-block-end: calc(100% + .45rem); inset-inline-start: 50%;
  transform: translateX(-50%); z-index: 3; padding: .3rem .55rem; border-radius: 6px;
  background: rgb(28 28 28 / 92%); color: #fff; font-size: .75rem; font-weight: 600; line-height: 1.2;
  white-space: nowrap; pointer-events: none;
}
.mp__row > .mp__play[data-tip]::after { inset-inline-start: 0; transform: none; }
.mp__row > :last-child[data-tip]::after,
.mp__row > :nth-last-child(2)[data-tip]::after { inset-inline-start: auto; inset-inline-end: 0; transform: none; }
.mp.has-menu .mp__settings [data-tip]::after { display: none; }

/* Ton: Lautstärke klappt beim Überfahren aus */
.mp__sound { display: flex; align-items: center; }
.mp__volume {
  -webkit-appearance: none; appearance: none; inline-size: 0; block-size: 2.5rem; margin: 0; padding: 0;
  background: transparent; cursor: pointer; opacity: 0; transition: inline-size .2s, opacity .2s, margin .2s;
  --level: 100%;
}
.mp__sound:hover .mp__volume, .mp__sound:focus-within .mp__volume { inline-size: 4.5rem; opacity: 1; margin-inline: .1rem .4rem; }
.mp__volume::-webkit-slider-runnable-track {
  block-size: 3px; border-radius: 999px;
  background: linear-gradient(to right, var(--mp-fg) var(--level), var(--mp-track) var(--level));
}
.mp__volume::-moz-range-track { block-size: 3px; border-radius: 999px; background: var(--mp-track); }
.mp__volume::-moz-range-progress { block-size: 3px; border-radius: 999px; background: var(--mp-fg); }
.mp__volume::-webkit-slider-thumb {
  -webkit-appearance: none; inline-size: 12px; block-size: 12px; margin-block-start: -4.5px; border-radius: 50%; background: var(--mp-fg); border: 0;
}
.mp__volume::-moz-range-thumb { inline-size: 12px; block-size: 12px; border-radius: 50%; background: var(--mp-fg); border: 0; }
.mp__time { margin-inline-start: .45rem; font-variant-numeric: tabular-nums; font-size: .82rem; color: var(--mp-dim); white-space: nowrap; }

/* Zeitleiste über die volle Breite; wird beim Überfahren dicker */
.mp__seek { position: relative; block-size: 1rem; display: grid; align-items: center; cursor: pointer; }
.mp__seek::before, .mp__buffered, .mp__played {
  content: ""; position: absolute; inset-inline-start: 0; block-size: 4px; border-radius: 999px; pointer-events: none;
  transition: block-size .12s;
}
.mp__seek::before { inline-size: 100%; background: var(--mp-track); }
.mp__buffered { inline-size: 0; background: var(--mp-loaded); }
.mp__played { inline-size: 0; background: var(--accent); }
.mp__seek:hover::before, .mp__seek:hover .mp__buffered, .mp__seek:hover .mp__played { block-size: 6px; }
.mp__seek input { -webkit-appearance: none; appearance: none; position: relative; inline-size: 100%; block-size: 1rem; margin: 0; background: transparent; cursor: pointer; }
.mp__seek input::-webkit-slider-thumb {
  -webkit-appearance: none; inline-size: 13px; block-size: 13px; border-radius: 50%; background: var(--accent); border: 0;
  transform: scale(0); transition: transform .12s;
}
.mp__seek input::-moz-range-thumb { inline-size: 13px; block-size: 13px; border-radius: 50%; background: var(--accent); border: 0; transform: scale(0); transition: transform .12s; }
.mp__seek:hover input::-webkit-slider-thumb, .mp__seek input:focus-visible::-webkit-slider-thumb, .mp:not(.is-video) .mp__seek input::-webkit-slider-thumb { transform: scale(1); }
.mp__seek:hover input::-moz-range-thumb, .mp__seek input:focus-visible::-moz-range-thumb, .mp:not(.is-video) .mp__seek input::-moz-range-thumb { transform: scale(1); }
.mp__seek input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 999px; }
.mp__seek-tip {
  position: absolute; inset-block-end: calc(100% + .3rem); transform: translateX(-50%); padding: .2rem .45rem; border-radius: 6px;
  background: rgb(28 28 28 / 92%); color: #fff; font-size: .75rem; font-weight: 600; font-variant-numeric: tabular-nums;
  pointer-events: none; opacity: 0; transition: opacity .1s;
}
.mp__seek:hover .mp__seek-tip:not(:empty) { opacity: 1; }

/* Einstellungen: Menü klappt nach oben auf */
.mp__settings { position: relative; flex: none; }
.mp__menu {
  position: absolute; inset-block-end: calc(100% + .5rem); inset-inline-end: 0; z-index: 4;
  min-inline-size: 15rem; max-block-size: min(18rem, calc(56.25cqi - 4.5rem)); overflow-y: auto;
  padding: .4rem 0; border-radius: 12px; background: rgb(28 28 28 / 94%); color: #fff;
  box-shadow: 0 8px 28px rgb(0 0 0 / 35%); backdrop-filter: blur(6px); scrollbar-width: thin;
}
.mp:not(.is-video) .mp__menu { max-block-size: 18rem; }
.mp__menu[hidden] { display: none; }
.mp__item {
  display: flex; align-items: center; gap: .75rem; inline-size: 100%; padding: .45rem .9rem;
  border: 0; background: transparent; color: inherit; font: inherit; font-size: .86rem; text-align: start; cursor: pointer;
}
.mp__item:hover, .mp__item:focus-visible { background: rgb(255 255 255 / 10%); }
.mp__item svg { flex: none; inline-size: 1.25rem; block-size: 1.25rem; fill: currentColor; }
.mp__item-label { flex: 1 1 auto; white-space: nowrap; }
.mp__item-value { color: rgb(255 255 255 / 70%); white-space: nowrap; }
.mp__item > svg:last-child:not(:first-child) { inline-size: 1.1rem; block-size: 1.1rem; opacity: .7; margin-inline-start: -.4rem; }
.mp__item--head { margin-block-end: .3rem; padding-block: .45rem .65rem; border-block-end: 1px solid rgb(255 255 255 / 16%); font-weight: 650; }
.mp__item-gap { flex: none; inline-size: 1.25rem; }

.mp__note { margin: 0; font-size: .8rem; color: var(--text-2); }
.mp__note:empty { display: none; }
.mp__note-action { padding: 0; border: 0; background: none; color: var(--accent); font: inherit; font-weight: 650; cursor: pointer; }
@container (max-width: 420px) {
  .mp__chrome .mp__time { font-size: .74rem; margin-inline-start: .2rem; }
  .mp__chrome .mp__btn { inline-size: 2.2rem; block-size: 2.2rem; }
}
@media (max-width: 480px) {
  .mp__btn { inline-size: 2.2rem; block-size: 2.2rem; }
  .mp__btn svg { inline-size: 1.35rem; block-size: 1.35rem; }
  .mp__time { font-size: .74rem; margin-inline-start: .2rem; }
}
@media (hover: none) {
  .mp__volume { display: none; }
  .mp [data-tip]::after { display: none; }
}
