/* ============================================================
   DoppelHausHälfte — design tokens
   ============================================================ */

@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-Variable.woff2") format("woff2-variations"),
       url("../fonts/Roboto-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-Variable-Italic.woff2") format("woff2-variations"),
       url("../fonts/Roboto-Variable-Italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  /* brand neutrals (fixed multi-tone system, not a light/dark toggle) */
  --navy-950: #0a1826;
  --navy-900: #0d1f30;
  --navy-800: #101e2f;
  --navy-700: #1d4865;
  --ink: #0c1219;
  --white: #ffffff;
  --off-white: #f6f8fa;
  --gray-700: #4a4a4a;
  --gray-500: #666666;
  --gray-400: #8a8a8f;
  --gray-300: #c9c9c9;
  --gray-200: #e4e8ec;

  /* the one accent, used identically everywhere */
  --accent: #6d8ea3;
  --accent-strong: #86a4b6;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-pill: 999px;

  --shadow-card: 0 24px 48px -24px rgba(10, 24, 38, 0.35);
  --shadow-soft: 0 12px 32px -16px rgba(10, 24, 38, 0.25);

  --max-w: 1280px;
  --gutter: clamp(1.25rem, 4vw, 3rem);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.5s;
}

@media (prefers-reduced-motion: reduce) {
  :root { --dur: 0.001s; }
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
main { overflow-x: hidden; }

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

a { color: inherit; text-decoration: none; }

button { font-family: inherit; cursor: pointer; }

.wrap {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.01em; }

p { margin: 0; }

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

/* focus visibility */
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ============================================================
   Reveal-on-scroll (motivated: sequences content on entry)
   Content is visible by default; JS opts IN to the hidden/animate
   state via html.js-anim, so a slow/blocked/failed script never
   leaves a section blank. See js/script.js head snippet.
   ============================================================ */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
html.js-anim .reveal {
  opacity: 0;
  transform: translateY(20px);
}
html.js-anim .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   Buttons (shape lock: pill, one accent)
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 500;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.btn:active { transform: scale(0.97); }

.btn-solid-light {
  background: var(--white);
  color: var(--navy-900);
}
.btn-solid-light:hover { background: var(--off-white); }

.btn-solid-dark {
  background: var(--navy-800);
  color: var(--white);
}
.btn-solid-dark:hover { background: var(--navy-950); }

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--white);
}
.btn-ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.08); }

.btn-ghost-dark {
  background: transparent;
  border-color: rgba(12, 18, 25, 0.25);
  color: var(--ink);
}
.btn-ghost-dark:hover { border-color: var(--ink); background: rgba(12, 18, 25, 0.05); }

/* ============================================================
   Navigation
   ============================================================ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  height: 148px;
  display: flex;
  align-items: center;
  background: var(--navy-950);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: box-shadow 0.3s var(--ease), height 0.3s var(--ease);
}
.site-nav.is-scrolled {
  box-shadow: 0 12px 32px -16px rgba(0, 0, 0, 0.5);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--white);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}
.nav-logo-icon { width: 120px; height: 120px; flex-shrink: 0; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  font-weight: 400;
  transition: color 0.2s var(--ease);
  white-space: nowrap;
}
.nav-links a:hover { color: var(--white); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.6rem;
  padding: 0.25rem;
}

@media (max-width: 900px) {
  .site-nav { height: 92px; }
  .nav-logo-icon { width: 68px; height: 68px; }
  .mobile-menu { inset: 92px 0 0 0; }
  .nav-links { display: none; }
  .nav-actions { display: none; }
  .nav-toggle { display: inline-flex; }
}

.mobile-menu {
  position: fixed;
  inset: 148px 0 0 0;
  z-index: 39;
  background: var(--navy-950);
  padding: 2rem var(--gutter);
  display: none;
  flex-direction: column;
  gap: 1.5rem;
}
.mobile-menu.is-open { display: flex; }
.mobile-menu a {
  color: var(--white);
  font-size: 1.25rem;
}
.mobile-menu .btn { align-self: flex-start; font-size: 0.95rem; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  background: var(--navy-950);
  background-image:
    radial-gradient(ellipse 80% 60% at 30% 0%, rgba(109, 142, 163, 0.35), transparent 60%),
    radial-gradient(ellipse 60% 50% at 90% 10%, rgba(29, 72, 101, 0.4), transparent 55%);
  overflow: hidden;
  padding-top: clamp(3rem, 6vw, 6rem);
  padding-bottom: clamp(3.5rem, 7vw, 6rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}

.hero-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 3rem);
  align-items: stretch;
}

.hero-headline {
  color: var(--white);
  font-weight: 700;
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

@media (max-width: 760px) {
  .hero-bottom { grid-template-columns: minmax(0, 1fr); }
}

.player {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.player-top {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.player-link {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex: 1;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}
.player-link:hover .player-title { text-decoration: underline; }

.player-cover-wrap {
  position: relative;
  flex-shrink: 0;
}
.player-cover {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  object-fit: cover;
  display: block;
}
.player-format-badge {
  position: absolute;
  bottom: -4px;
  right: -4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--white);
  color: var(--navy-900);
  border: 2px solid var(--navy-950);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
}

.player-meta {
  flex: 1;
  min-width: 0;
}
.player-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent-strong);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.player-title {
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.player-controls {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}
.player-controls button {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.15rem;
  padding: 0.3rem;
  display: flex;
}
.player-controls .player-play {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  color: var(--navy-900);
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: background 0.2s var(--ease);
}
.player-controls .player-play:hover { background: var(--off-white); }

.player-scrub {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.player-track {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}
.player-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0%;
  background: var(--accent);
  border-radius: 999px;
  transition: width 0.15s linear;
}
.player-time {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

.player-format {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.85rem;
  margin-top: 0.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.player-format-label {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
}
.player-format-toggle {
  display: flex;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-pill);
  padding: 3px;
  gap: 2px;
}
.format-btn {
  border: none;
  background: none;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.format-btn.is-active {
  background: var(--white);
  color: var(--navy-900);
}

/* ============================================================
   Live announcement (hero)
   ============================================================ */
.live-announce {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 1.25rem;
}
.live-announce .btn {
  align-self: stretch;
  justify-content: center;
  padding-block: 1rem;
  font-size: 1.02rem;
}
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-pill);
  background: rgba(226, 87, 76, 0.14);
  border: 1px solid rgba(226, 87, 76, 0.4);
  color: #f0a099;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  flex-shrink: 0;
}
.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e2574c;
  animation: live-pulse 1.8s ease-in-out infinite;
}
@keyframes live-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}
@media (prefers-reduced-motion: reduce) {
  .live-dot { animation: none; }
}
.live-announce-text {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.live-announce-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
}
.live-announce-date {
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  font-weight: 600;
  color: var(--white);
}

/* ============================================================
   Intro
   ============================================================ */
.intro {
  padding-block: clamp(3.5rem, 7vw, 6rem);
  background: var(--white);
}
.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 3rem);
  align-items: center;
}
.intro-headline {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  line-height: 1.15;
  color: var(--navy-900);
  text-wrap: balance;
}
.intro-subheadline {
  margin-top: 0.85rem;
  font-size: clamp(1.3rem, 2.3vw, 1.65rem);
  font-weight: 600;
  line-height: 1.4;
  color: var(--navy-800);
}
.intro-text p {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.7;
  color: var(--navy-700);
  max-width: 68ch;
}
.intro-text p:not(.intro-subheadline) { margin-top: 1.75rem; }
.intro-text strong { color: var(--navy-900); font-weight: 600; }

.brand-showcase {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 0.25rem;
}
.brand-showcase-frame {
  position: absolute;
  inset: 0;
  margin: auto;
  width: min(580px, 105%);
  aspect-ratio: 1;
  border: 1px solid var(--gray-300);
  border-radius: 32px;
  animation: brand-showcase-spin 16s linear infinite;
}
@keyframes brand-showcase-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .brand-showcase-frame { animation: none; }
}
.brand-showcase-card {
  position: relative;
  z-index: 1;
  width: min(540px, 98%);
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  background: linear-gradient(155deg, var(--navy-700), var(--navy-950));
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
  padding: 2.5rem;
  text-align: center;
}
.brand-showcase-icon { width: 104px; height: 104px; }
.brand-showcase-word {
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
}
.brand-showcase-word span { color: var(--accent-strong); font-weight: 400; }
.brand-showcase-tag {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy-950);
  background: var(--accent);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

@media (max-width: 760px) {
  .intro-grid { grid-template-columns: minmax(0, 1fr); }
  .brand-showcase-frame { width: min(560px, 99%); }
}

/* ============================================================
   Format section (list + image)
   ============================================================ */
.format {
  padding-block: clamp(3rem, 6vw, 5rem);
  background: var(--off-white);
}
.format h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: var(--navy-900);
  margin-bottom: 2.25rem;
}

.format-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.format-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: fmt;
}
.format-list li {
  counter-increment: fmt;
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  padding-block: 0.85rem;
  border-bottom: 1px solid var(--gray-200);
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--navy-900);
}
.format-list li:first-child { padding-top: 0; }
.format-list li::before {
  content: counter(fmt);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.95rem;
  flex-shrink: 0;
  width: 1.4rem;
}

.format-media {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.format-media img {
  border-radius: var(--radius-md);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  box-shadow: var(--shadow-soft);
}
.format-media p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--gray-500);
}

@media (max-width: 860px) {
  .format-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ============================================================
   Dark band: blind spot + deep talk tabs
   ============================================================ */
.blindspot {
  background: var(--navy-950);
  padding-block: clamp(3.5rem, 7vw, 6rem);
  color: var(--white);
}
.blindspot-headline {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: var(--white);
  text-align: center;
  max-width: 68ch;
  margin-inline: auto;
  margin-bottom: 1.5rem;
}
.blindspot-statement {
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  line-height: 1.65;
  text-align: justify;
  hyphens: auto;
  max-width: 68ch;
  margin-inline: auto;
}
.blindspot-statement p + p { margin-top: 1.1rem; }
.blindspot-statement strong { font-weight: 600; }

.deep-talk {
  margin-top: clamp(3rem, 6vw, 4.5rem);
}

.deep-talk-intro {
  max-width: 62ch;
  margin-inline: auto;
}

.deep-talk-accordion {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}
.deep-talk-accordion summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding-block: 1.1rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  text-align: center;
}
.deep-talk-accordion summary::-webkit-details-marker { display: none; }
.deep-talk-accordion summary i {
  color: var(--accent);
  transition: transform 0.25s var(--ease);
  flex-shrink: 0;
}
.deep-talk-accordion[open] summary i { transform: rotate(180deg); }
.deep-talk-accordion-body {
  max-width: 52ch;
  margin-inline: auto;
  padding: 0.35rem 0.25rem 1.6rem;
  font-size: 0.95rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.62);
  text-align: justify;
  hyphens: auto;
}
.deep-talk-accordion-body p + p { margin-top: 0.85rem;
}

.deep-talk-schedule {
  margin-top: 1.5rem;
  text-align: center;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  font-weight: 600;
  color: var(--accent-strong);
}

.tab-media {
  margin: 2.5rem 0 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16 / 7;
  position: relative;
  background: var(--navy-800);
}
.tab-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================================
   Experts section
   ============================================================ */
.experts {
  padding-block: clamp(3.5rem, 7vw, 6rem);
  background: var(--white);
}
.experts h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: var(--navy-900);
  max-width: 40ch;
  margin-bottom: 2.5rem;
}

.expert-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 0.9fr) minmax(0, 1.2fr);
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: stretch;
}

.expert-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--off-white);
  box-shadow: var(--shadow-soft);
}
.expert-card-photo {
  position: relative;
  height: 320px;
  background: var(--off-white);
}
.expert-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom;
}
.expert-badge {
  position: absolute;
  top: 1.1rem;
  left: 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--accent);
  color: var(--navy-950);
  font-size: 0.8rem;
  font-weight: 700;
}
.expert-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.5rem;
}
.expert-name {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy-900);
  margin-bottom: 0.3rem;
}
.expert-role {
  font-size: 0.88rem;
  line-height: 1.4;
  color: var(--gray-500);
}

.expert-card.expert-card-text {
  background: var(--off-white);
  color: var(--navy-900);
  padding: 2rem;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.expert-card-text h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--navy-900);
}
.expert-card-text p {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--gray-500);
}

@media (max-width: 900px) {
  .expert-grid { grid-template-columns: minmax(0, 1fr); }
  .expert-card-text { min-height: 340px; }
}

/* ============================================================
   Media partners
   ============================================================ */
.partners {
  padding-block: clamp(2.75rem, 5vw, 4rem);
  background: var(--off-white);
  text-align: center;
}
.partners h2 {
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  color: var(--navy-900);
  margin-bottom: 1.75rem;
}
.partner-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(2rem, 5vw, 3.5rem);
  flex-wrap: wrap;
}
.partner-row a {
  display: flex;
  align-items: center;
}
.partner-row img {
  height: 28px;
  width: auto;
  filter: grayscale(100%);
  opacity: 0.55;
  transition: opacity 0.2s var(--ease);
}
.partner-row a:hover img,
.partner-row a:focus-visible img {
  opacity: 1;
}

/* ============================================================
   Newsletter band
   ============================================================ */
.newsletter-cta {
  background: var(--ink);
  color: var(--white);
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
  text-align: center;
}
.newsletter-cta h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  max-width: 24ch;
  margin-inline: auto;
}
.newsletter-cta-iframe {
  margin-top: 2rem;
  max-width: 560px;
  margin-inline: auto;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.newsletter-cta-iframe iframe {
  width: 100%;
  display: block;
}
.footer-form-note {
  margin-top: 0.85rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.4);
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.footer-form-note a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-form-note a:hover { color: var(--white); }
.newsletter-cta-social {
  margin-top: 1.75rem;
  display: flex;
  justify-content: center;
  gap: 0.9rem;
}
.newsletter-cta-social a {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--white);
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.newsletter-cta-social a:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.4);
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.85);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.25rem;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
}
.footer-links {
  display: flex;
  gap: 1rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.6);
}
.footer-links a:hover { color: var(--white); }
.footer-kontakt-trigger {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s var(--ease);
}
.footer-kontakt-trigger:hover { color: var(--white); }
.footer-copyright {
  color: rgba(255, 255, 255, 0.45);
  white-space: nowrap;
}

/* ============================================================
   Kontakt modal
   ============================================================ */
.kontakt-modal {
  border: none;
  padding: 0;
  background: transparent;
  max-width: min(480px, 92vw);
  max-height: 88vh;
  overflow: hidden;
}
.kontakt-modal::backdrop {
  background: rgba(10, 24, 38, 0.7);
  backdrop-filter: blur(4px);
}
.kontakt-modal-inner {
  position: relative;
  background: var(--navy-950);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  max-height: 88vh;
  overflow-y: auto;
  color: var(--white);
}
.kontakt-modal-inner h2 {
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}
.kontakt-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: none;
  color: var(--white);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.kontakt-modal-close:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.4);
}
.kontakt-modal-details {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.kontakt-modal-details a,
.kontakt-modal-details span {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
}
.kontakt-modal-details a:hover { color: var(--white); }
.kontakt-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.kontakt-form-row {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.kontakt-form-row label {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
}
.kontakt-form-row input,
.kontakt-form-row textarea {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.9rem;
  color: var(--white);
  font-size: 0.95rem;
  font-family: inherit;
  resize: vertical;
}
.kontakt-form-row input:focus-visible,
.kontakt-form-row textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.kontakt-form .btn { align-self: flex-start; }
.kontakt-form-note {
  font-size: 0.85rem;
  color: var(--accent-strong);
  min-height: 1.2em;
}

@media (max-width: 860px) {
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   Mediathek page
   ============================================================ */
.mediathek-hero {
  background: var(--navy-950);
  background-image:
    radial-gradient(ellipse 80% 60% at 30% 0%, rgba(109, 142, 163, 0.35), transparent 60%),
    radial-gradient(ellipse 60% 50% at 90% 10%, rgba(29, 72, 101, 0.4), transparent 55%);
  padding-block: clamp(3rem, 6vw, 5rem);
  color: var(--white);
}
.mediathek-hero h1 {
  font-weight: 700;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  max-width: 16ch;
}
.mediathek-hero p {
  margin-top: 1rem;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  max-width: 60ch;
}

.mediathek-list {
  background: var(--off-white);
  padding-block: clamp(3rem, 6vw, 5rem);
}

.episode-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: clamp(1.5rem, 3vw, 2rem);
}

.episode-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
a.episode-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}
.episode-card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--off-white);
}
.episode-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.episode-card-formats {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  display: flex;
  gap: 0.5rem;
  background: rgba(10, 24, 38, 0.65);
  backdrop-filter: blur(4px);
  padding: 0.4rem 0.65rem;
  border-radius: var(--radius-pill);
  color: var(--white);
  font-size: 0.95rem;
}
.episode-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}
.episode-card-meta {
  font-size: 0.78rem;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.episode-card-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy-900);
}
.episode-card-desc {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--gray-500);
  flex: 1;
}
.episode-card-cta {
  margin-top: 0.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent);
}
.episode-grid-empty {
  text-align: center;
  font-size: 1rem;
  color: var(--gray-500);
  padding-block: 3rem;
}
