/* Bayraktar + Bayraktar – True Crime and Law
   Gestaltung nach dem Editorial-Stil der Intro-Bilder:
   Creme, Oxblood als einziger Akzent, Didone-Versalien, Roman-Serife. */

:root {
  --paper: #F2EFE8;
  --paper-deep: #E8E3D8;
  --ink: #1A1714;
  --ink-soft: #3A3530;
  --stone: #6B645B;
  --rule: #CDC5B6;
  --ox: #992F2C;
  --ox-deep: #7C2421;

  --display: "Playfair Display", "Bodoni 72", Didot, "Didot LT STD", Georgia, serif;
  --text: "Source Serif 4", "Iowan Old Style", Georgia, "Times New Roman", serif;

  --gutter: clamp(1rem, 4vw, 2.5rem);
  --wide: 72rem;
  --measure: 40rem;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 1.5rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.125rem;
  line-height: 1.62;
  font-optical-sizing: auto;
  font-variant-numeric: lining-nums;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--ox); }

:focus-visible { outline: 3px solid var(--ox); outline-offset: 3px; }

p { margin: 0 0 1em; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: var(--gutter); top: -4rem; z-index: 10;
  background: var(--ink); color: var(--paper); padding: .6rem 1rem; text-decoration: none;
}
.skip:focus { top: 1rem; color: var(--paper); }

/* ---------- Kopfzeile ---------- */

.site-header__inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 1.25rem var(--gutter);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem 2rem;
  flex-wrap: wrap;
}
.is-home .site-header__inner { justify-content: flex-end; }
.is-sub .site-header { border-bottom: 1px solid var(--rule); }

.wordmark {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .95rem;
  text-decoration: none;
  color: var(--ink);
}

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.5rem; }
.site-nav a { text-decoration: none; font-size: 1rem; }
.site-nav a:hover, .site-nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--ox); }

/* ---------- Deckblatt (Startseite und Folgenseiten) ---------- */

.sheet { padding: clamp(2.25rem, 7vw, 5rem) var(--gutter) clamp(2.5rem, 6vw, 4.5rem); }
.sheet__inner { max-width: 50rem; margin: 0 auto; text-align: center; }

.masthead {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .16em;
  margin-right: -.16em;
  font-size: clamp(1.3rem, 1rem + 1.9vw, 2.1rem);
  line-height: 1.1;
}
.masthead__sub {
  margin: .55rem 0 0;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .32em;
  margin-right: -.32em;
  font-size: clamp(.72rem, .66rem + .3vw, .85rem);
}

.stroke {
  display: block;
  width: 2.75rem;
  height: 3px;
  margin: 1.4rem auto;
  background: var(--ox);
  transform-origin: center;
}

.kicker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 2.2rem 0 0;
  color: var(--ox);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .3em;
  font-size: .85rem;
}
.kicker::before, .kicker::after {
  content: "";
  flex: 0 1 5rem;
  height: 1px;
  background: var(--ink);
}
.sheet--episode .kicker { margin-top: 0; }

.headline {
  margin: 1.1rem 0 0;
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(1.8rem, .9rem + 5.2vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: .004em;
  text-wrap: balance;
  hyphens: auto;
  -webkit-hyphens: auto;
  overflow-wrap: break-word;
}
.headline a { text-decoration: none; }
.headline a:hover { color: inherit; text-decoration: underline; text-decoration-color: var(--ox); text-decoration-thickness: 3px; text-underline-offset: .12em; }
.headline--episode { font-size: clamp(1.7rem, .9rem + 4vw, 3.5rem); }
.headline--claim { text-transform: none; font-weight: 500; font-style: italic; line-height: 1.12; }

.dek {
  margin: 0 auto;
  max-width: 34rem;
  font-size: clamp(1.2rem, 1.05rem + .6vw, 1.45rem);
  line-height: 1.35;
  text-wrap: balance;
}

.sheet__teaser {
  margin: 1.25rem auto 0;
  max-width: 36rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
  text-wrap: pretty;
}
.sheet__meta { margin: .9rem 0 0; color: var(--stone); font-size: .95rem; }

.sheet__actions {
  margin-top: 1.9rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem;
}

.sheet__foot {
  margin: clamp(2.5rem, 6vw, 3.75rem) auto 0;
  max-width: 42rem;
  border-top: 1px solid var(--ink);
  padding-top: 1rem;
}
.everywhere {
  margin: 0;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .3em;
  margin-right: -.3em;
  font-size: .78rem;
}

/* Einmaliger Auftakt: die beiden roten Striche zeichnen sich beim Laden. */
@media (prefers-reduced-motion: no-preference) {
  .is-home .sheet .stroke { animation: draw .7s cubic-bezier(.2, .7, .2, 1) both; }
  .is-home .sheet .stroke + .stroke, .is-home .sheet .headline + .stroke { animation-delay: .25s; }
  @keyframes draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}

/* ---------- Schaltflächen und Links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: .7rem 1.35rem;
  border: 1.5px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font: 600 1rem/1.2 var(--text);
  text-decoration: none;
  cursor: pointer;
  border-radius: 0;
}
.btn:hover { background: var(--ox); border-color: var(--ox); color: var(--paper); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn--small { min-height: 2.4rem; padding: .45rem .9rem; font-size: .92rem; }
.btn[hidden] { display: none; }

.text-link {
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--ox);
  text-decoration-thickness: 2px;
}

.platforms { list-style: none; margin: 0; padding: 0; }
.platforms--inline {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .4rem 1.5rem;
  margin-top: .8rem;
}
.platforms--inline a { font-size: 1.02rem; }
.platforms--buttons { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.5rem 0; }
.platforms--buttons a {
  display: inline-flex; align-items: center; min-height: 2.9rem; padding: .6rem 1.2rem;
  border: 1.5px solid var(--ink); text-decoration: none; font-weight: 600;
}
.platforms--buttons a:hover { background: var(--ink); color: var(--paper); }

/* ---------- Folgenliste ---------- */

.section-title, .page-title {
  margin: 0 0 .6rem;
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.1;
  text-wrap: balance;
}
.section-title { font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.3rem); }
.page-title { font-size: clamp(2.1rem, 1.5rem + 2.4vw, 3.2rem); }

.recent { border-top: 1px solid var(--ink); }
.recent__inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4.5rem) var(--gutter);
  display: grid;
  gap: 1.5rem 4rem;
}
@media (min-width: 60rem) {
  .recent__inner { grid-template-columns: 15rem 1fr; }
  .recent__aside { position: sticky; top: 2rem; align-self: start; }
}
.recent__note { color: var(--stone); font-size: 1rem; }

.ep-list { display: grid; }
.ep {
  display: grid;
  grid-template-columns: 4.25rem 1fr;
  gap: 1.25rem;
  padding: 1.75rem 0;
  border-top: 1px solid var(--rule);
}
.ep:first-child { border-top: 0; padding-top: 0; }
.ep[hidden] { display: none; }
.ep__nr {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: 2.5rem;
  line-height: .9;
  color: var(--ox);
  text-align: right;
  font-variant-numeric: lining-nums tabular-nums;
}
.ep__body { min-width: 0; max-width: 42rem; }
.ep__title {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.3rem, 1.15rem + .55vw, 1.6rem);
  line-height: 1.18;
  text-wrap: balance;
}
.ep__title a { text-decoration: none; }
.ep__title a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--ox); text-decoration-thickness: 2px; }
.ep__sub { margin: .3rem 0 0; font-size: 1.08rem; color: var(--ink-soft); }
.ep__teaser { margin: .7rem 0 0; font-size: 1rem; color: var(--ink-soft); text-wrap: pretty; }
.ep__meta { margin: .6rem 0 0; display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; color: var(--stone); font-size: .9rem; }

/* ---------- Über uns ---------- */

.about { background: var(--paper-deep); }
.about__inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 6rem) var(--gutter);
  display: grid;
  gap: 2rem 4rem;
}
@media (min-width: 60rem) {
  .about__inner { grid-template-columns: 1fr 1fr; align-items: start; }
}
.claim {
  margin: 0;
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.1rem);
  line-height: 1.12;
  text-wrap: balance;
}
.claim::after {
  content: "";
  display: block;
  width: 2.75rem;
  height: 3px;
  margin-top: 1.6rem;
  background: var(--ox);
}
.about__text { max-width: var(--measure); }
.hosts { margin: 2rem 0 0; display: grid; gap: 1.5rem; }
.host { border-top: 1px solid var(--ink); padding-top: 1rem; }
.host dt { font-family: var(--display); font-weight: 700; font-size: 1.35rem; line-height: 1.2; }
.host dd { margin: .35rem 0 0; color: var(--ink-soft); }
@media (min-width: 40rem) { .hosts { grid-template-columns: 1fr 1fr; } }

/* ---------- Hören ---------- */

.listen__inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 6rem) var(--gutter);
  display: grid;
  gap: 2rem 4rem;
  align-items: center;
}
@media (min-width: 52rem) { .listen__inner { grid-template-columns: minmax(14rem, 22rem) 1fr; } }
.listen__text { max-width: var(--measure); }
.listen__rss { font-size: 1rem; color: var(--ink-soft); margin-bottom: .6rem; }

.cover { width: 100%; aspect-ratio: 1; object-fit: cover; box-shadow: 0 1px 0 var(--rule); }
.cover--type {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--paper-deep);
  border: 1px solid var(--ink);
  outline: 1px solid var(--ink);
  outline-offset: -10px;
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  text-align: center;
  line-height: 1;
}
.cover--type span { font-size: clamp(1.4rem, 1rem + 1.6vw, 2.2rem); letter-spacing: .1em; margin-right: -.1em; }
.cover--type .plus { color: var(--ox); margin: .35rem 0; }
.cover--type .small {
  margin-top: 1.4rem;
  font-family: var(--text);
  font-weight: 600;
  font-size: .72rem;
  letter-spacing: .3em;
  margin-right: -.3em;
}

.feedbox {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .6rem 1rem;
  padding: .75rem 1rem;
  border: 1px solid var(--rule);
  background: #F7F5F0;
}
.feedbox__url {
  font-family: var(--text);
  font-size: .95rem;
  overflow-wrap: anywhere;
  flex: 1 1 16rem;
}

/* ---------- Alle Folgen ---------- */

.archive__inner { max-width: 56rem; margin: 0 auto; padding: clamp(2.5rem, 6vw, 4.5rem) var(--gutter); }
.archive__head { margin-bottom: 2.5rem; }
.archive__lead { color: var(--stone); }
.search { margin-top: 1.5rem; max-width: 30rem; }
.search[hidden] { display: none; }
.search__label { display: block; font-weight: 600; margin-bottom: .4rem; }
.search__input {
  width: 100%;
  min-height: 3rem;
  padding: .6rem .9rem;
  font: 1.05rem/1.3 var(--text);
  color: var(--ink);
  background: #FBFAF7;
  border: 1.5px solid var(--ink);
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}
.search__input::placeholder { color: var(--stone); }
.search__status { margin: .5rem 0 0; min-height: 1.5em; color: var(--stone); font-size: .95rem; }
.empty { color: var(--ink-soft); }

/* ---------- Folgenseite ---------- */

/* Gemeinsame Textspalte der Folgenseite */
.episode__listen, .prose, .pager, .episode__back {
  width: min(var(--measure), 100% - 2 * var(--gutter));
  margin-inline: auto;
}
.player { border: 1.5px solid var(--ink); padding: 1.25rem 1.25rem 1.35rem; background: #F7F5F0; }
.player__note { font-size: .92rem; line-height: 1.5; color: var(--ink-soft); }
.player__consent { display: flex; flex-wrap: wrap; gap: .6rem; }
.player__consent .player__note { flex: 1 1 100%; }
.player audio { width: 100%; display: block; }
.episode__elsewhere { margin: 1rem 0 0; font-size: 1rem; color: var(--ink-soft); }

.prose {
  margin-top: clamp(2.5rem, 6vw, 3.5rem);
  text-wrap: pretty;
}
.prose p { margin-bottom: 1.15em; }
.prose p:first-child { font-size: 1.22rem; line-height: 1.55; }

.pager {
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--ink);
  display: grid;
  gap: 1.25rem 2rem;
}
@media (min-width: 40rem) { .pager { grid-template-columns: 1fr 1fr; } }
.pager__link { display: block; text-decoration: none; }
.pager__link--newer { text-align: right; }
@media (max-width: 39.99rem) { .pager__link--newer { text-align: left; } }
.pager__label { display: block; color: var(--stone); font-size: .9rem; }
.pager__title { display: block; font-family: var(--display); font-weight: 700; font-size: 1.2rem; line-height: 1.2; margin-top: .2rem; }
.pager__link:hover .pager__title { text-decoration: underline; text-decoration-color: var(--ox); }
.episode__back { margin-top: 2rem; padding-bottom: clamp(3rem, 8vw, 5rem); }

/* ---------- Rechtstexte ---------- */

.legal__inner { max-width: var(--measure); margin: 0 auto; padding: clamp(2.5rem, 6vw, 4.5rem) var(--gutter) clamp(3rem, 8vw, 5rem); }
.legal h2 {
  margin: 2.2rem 0 .5rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.3rem;
  line-height: 1.25;
}
.legal__lead { color: var(--stone); }
.legal p { overflow-wrap: break-word; }

/* ---------- Fußzeile ---------- */

.site-footer { background: var(--ink); color: var(--paper); }
.site-footer a { color: var(--paper); }
.site-footer a:hover { color: #E7B3A9; }
.site-footer :focus-visible { outline-color: var(--paper); }
.site-footer__inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 3rem var(--gutter) 2.5rem;
  display: grid;
  gap: 1.5rem 4rem;
}
@media (min-width: 56rem) {
  .site-footer__inner { grid-template-columns: auto 1fr; }
  .site-footer__links, .site-footer__small { grid-column: 2; }
}
.masthead-mini {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 1.05rem;
}
.masthead-mini__sub { margin: .35rem 0 0; text-transform: uppercase; letter-spacing: .3em; font-size: .7rem; font-weight: 600; }
.site-footer__note { margin: 0; max-width: 36rem; font-size: .98rem; color: #DAD4C9; }
.site-footer__links ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.site-footer__small { margin: 0; font-size: .85rem; color: #ADA597; }

/* ---------- Kleine Bildschirme ---------- */

@media (max-width: 34rem) {
  body { font-size: 1.0625rem; }
  .site-nav ul { gap: 1.1rem; }
  .ep { grid-template-columns: 2.6rem 1fr; gap: .9rem; }
  .ep__nr { font-size: 1.7rem; }
  .kicker::before, .kicker::after { flex-basis: 2.5rem; }
  .sheet__actions .btn, .player__consent .btn { flex: 1 1 100%; }
  .masthead { white-space: nowrap; font-size: 4.6vw; letter-spacing: .09em; margin-right: -.09em; }
  .masthead__sub { letter-spacing: .24em; margin-right: -.24em; }
}

@media print {
  .site-header, .site-footer, .player, .sheet__actions, .pager, .search { display: none !important; }
  body { background: #fff; }
}
