/* Kijken Met Je Oren — FERRY.FM huisstijl. Het ontwerp deelt de pagina-achtergrond. */
:root {
  color-scheme: light;
  --page-bg: #f5f8ff;
  --page-text: #102949;
  --muted-text: #36506e;
  --soft-border: #7387a2;
  --nav-bg: #003e92;
  --nav-ink: #ffffff;
  --nav-hover: #1859a7;
  --action-bg: #003e92;
  --action-ink: #ffffff;
  --control-border: #003e92;
  --track-bg: #758ba6;
  --focus: #003e92;
  --focus-on-nav: #bce0ff;
  --link: #003e92;
  --footer-bg: #092342;
  --footer-text: #ffffff;
  --footer-muted: #e3ecfa;
  --container-width: 1080px;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --page-bg: #081b36;
  --page-text: #f5f8ff;
  --muted-text: #c8d8ee;
  --soft-border: #829fc6;
  --nav-bg: #003e92;
  --nav-ink: #ffffff;
  --nav-hover: #1859a7;
  --action-bg: #66a6ff;
  --action-ink: #081b36;
  --control-border: #66a6ff;
  --track-bg: #829fc6;
  --focus: #bce0ff;
  --focus-on-nav: #bce0ff;
  --link: #84b5ff;
  --footer-bg: #061629;
  --footer-text: #ffffff;
  --footer-muted: #d6e3f6;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]):not([data-theme="dark"]) {
    color-scheme: dark;
    --page-bg: #081b36;
    --page-text: #f5f8ff;
    --muted-text: #c8d8ee;
    --soft-border: #829fc6;
    --nav-bg: #003e92;
    --nav-ink: #ffffff;
    --nav-hover: #1859a7;
    --action-bg: #66a6ff;
    --action-ink: #081b36;
    --control-border: #66a6ff;
    --track-bg: #829fc6;
    --focus: #bce0ff;
    --focus-on-nav: #bce0ff;
    --link: #84b5ff;
    --footer-bg: #061629;
    --footer-text: #ffffff;
    --footer-muted: #d6e3f6;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background: var(--page-bg); color: var(--page-text);
  font: 400 16px/1.6 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, select, input { font: inherit; }
button, select { cursor: pointer; }
a { color: var(--link); }
a:hover { text-decoration-thickness: 2px; }
:where(a,button,select,input):focus-visible {
  outline: 3px solid var(--focus); outline-offset: 4px;
}
.visually-hidden {
  position: absolute !important; width: 1px !important; height: 1px !important;
  padding: 0 !important; margin: -1px !important; overflow: hidden !important;
  clip: rect(0 0 0 0) !important; white-space: nowrap !important; border: 0 !important;
}
[hidden] { display: none !important; }
.container { width: min(100% - 40px, var(--container-width)); margin-inline: auto; }
.skip-link {
  position: fixed; top: 8px; left: 8px; z-index: 100;
  background: #fff; color: #102949; padding: 10px 16px; border-radius: 8px;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }
.site-header { flex: 0 0 auto; }
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 80px; padding-block: 13px; gap: 24px;
}
.site-title { margin: 0; font-size: clamp(1.32rem, 2.8vw, 1.85rem); font-weight: 800; line-height: 1.15; letter-spacing: -.035em; }
.site-title a { text-decoration: none; color: var(--page-text); }
.ferry-wide-link { display: inline-flex; align-items: center; flex-shrink: 0; }
.ferry-wide-link img { width: clamp(140px, 21vw, 216px); height: auto; display: block; aspect-ratio: 1200/164; }
.logo-dark { display: none !important; }
:root[data-theme="dark"] .logo-light { display: none !important; }
:root[data-theme="dark"] .logo-dark { display: block !important; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]):not([data-theme="dark"]) .logo-light { display: none !important; }
  :root:not([data-theme="light"]):not([data-theme="dark"]) .logo-dark { display: block !important; }
}
.nav-band { width: 100%; background: var(--nav-bg); }
.nav-row { display: flex; align-items: stretch; justify-content: space-between; gap: 20px; min-height: 56px; }
.main-navigation { display: flex; align-items: end; gap: 5px; }
.nav-link {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 49px; padding: 11px 22px;
  font-weight: 700; font-size: .94rem; text-decoration: none;
  color: var(--nav-ink); border-radius: 12px 12px 0 0;
}
.nav-link:not(.nav-active):hover { background: var(--nav-hover); }
.nav-link.nav-active { color: var(--page-text); background: var(--page-bg); }
.nav-band :where(a,button,select):focus-visible { outline-color: var(--focus-on-nav); outline-offset: -3px; }
.nav-active:focus-visible { box-shadow: inset 0 0 0 3px var(--focus); outline: 3px solid var(--focus-on-nav); }
.nav-utilities { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.select-wrap { display: inline-flex; align-items: center; gap: 7px; color: var(--nav-ink); }
.select-wrap svg, .menu-toggle svg, .footer-contact svg {
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round;
  stroke-linejoin: round; flex: none;
}
.select-wrap select {
  min-height: 44px; max-width: 160px; padding: 4px 18px 4px 3px;
  border: 0; background: var(--nav-bg); color: var(--nav-ink); font-weight: 650;
}
.select-wrap select:disabled { opacity: 1; cursor: default; -webkit-text-fill-color: var(--nav-ink); }
.menu-toggle { display: none; align-items: center; gap: 8px; background: transparent; border: 0; color: var(--nav-ink); font-weight: 750; }
.site-main { flex: 1 0 auto; padding-top: clamp(36px, 4.8vw, 66px); padding-bottom: clamp(60px, 8vw, 100px); }
.feature-player {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(250px, .82fr);
  gap: clamp(28px, 5.3vw, 72px); align-items: start;
  background: var(--page-bg); border: 1.5px solid var(--soft-border);
  border-radius: 24px; padding: clamp(24px, 3.5vw, 46px);
}
.feature-copy { min-width: 0; }
.eyebrow { margin: 0 0 12px; text-transform: uppercase; letter-spacing: .12em; font-size: .76rem; font-weight: 850; color: var(--muted-text); }
.feature-player h2 { margin: 0; line-height: 1.17; letter-spacing: -.03em; font-size: clamp(1.6rem, 3.1vw, 2.65rem); font-weight: 800; }
.episode-date { margin: 16px 0 18px; color: var(--muted-text); font-size: .91rem; font-weight: 650; }
.episode-description { white-space: pre-line; font-size: 1rem; line-height: 1.7; margin: 0 0 28px; color: var(--page-text); overflow-wrap: anywhere; }
.player-area { margin-top: 20px; }
.player-area audio { width: 100%; }
.custom-controls { display: grid; gap: 16px; }
.transport-controls { display: flex; gap: 14px; align-items: center; }
.control-button {
  border: 2px solid var(--control-border); padding: 0;
  width: 49px; height: 49px; display: inline-grid; place-items: center;
  border-radius: 50%; background: transparent; color: var(--page-text);
  transition: transform .14s ease, background-color .14s ease;
}
.control-button:hover { transform: translateY(-2px); }
.control-button svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2.1; }
.control-button.primary-control { width: 64px; height: 64px; background: var(--action-bg); color: var(--action-ink); }
.primary-control svg { width: 27px; height: 27px; }
.primary-control .play-icon { fill: currentColor; stroke: none; margin-left: 4px; }
.primary-control .pause-icon { display: none; stroke-width: 3; }
.primary-control.is-playing .play-icon { display: none; }
.primary-control.is-playing .pause-icon { display: block; }
.scrub-row { display: flex; align-items: center; gap: 12px; }
.time-readout { min-width: 40px; text-align: center; font-variant-numeric: tabular-nums; font-size: .85rem; color: var(--muted-text); }
.progress-slider { flex: 1; min-width: 0; width: 100%; height: 30px; background: transparent; appearance: none; -webkit-appearance: none; cursor: pointer; }
.progress-slider:disabled { cursor: default; opacity: .7; }
.progress-slider::-webkit-slider-runnable-track { height: 7px; border-radius: 10px; background: linear-gradient(to right, var(--action-bg) 0 var(--seek-fill,0%), var(--track-bg) var(--seek-fill,0%) 100%); }
.progress-slider::-moz-range-track { height: 7px; border-radius: 10px; background: var(--track-bg); }
.progress-slider::-moz-range-progress { height: 7px; border-radius: 10px; background: var(--action-bg); }
.progress-slider::-webkit-slider-thumb { appearance: none; -webkit-appearance: none; margin-top: -7px; width: 21px; height: 21px; border-radius: 100%; background: var(--action-bg); border: 3px solid var(--page-bg); box-shadow: 0 0 0 1px var(--page-text); }
.progress-slider::-moz-range-thumb { width: 17px; height: 17px; border-radius: 100%; background: var(--action-bg); border: 3px solid var(--page-bg); box-shadow: 0 0 0 1px var(--page-text); }
.cover-column { min-width: 0; }
.cover-column img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 16px; }
.episode-overview { margin-top: clamp(45px, 6vw, 70px); }
.section-heading { margin-bottom: 20px; }
.section-heading h2 { margin: 0; font-size: clamp(1.38rem, 2.7vw, 1.75rem); letter-spacing: -.02em; }
.episode-grid { padding: 0; margin: 0; list-style: none; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px; }
.episode-grid li { min-width: 0; }
.episode-tile {
  width: 100%; min-height: 140px; height: 100%; padding: 15px;
  display: flex; gap: 15px; align-items: center; text-align: left;
  border: 1.5px solid var(--soft-border); border-radius: 14px;
  background: var(--page-bg); color: var(--page-text);
  transition: border-color .13s ease, transform .13s ease;
}
.episode-tile:hover { transform: translateY(-2px); border-color: var(--control-border); }
.episode-tile.is-selected { border: 3px solid var(--control-border); padding: 13.5px; }
.episode-tile img { width: 94px; height: 94px; object-fit: cover; border-radius: 10px; flex-shrink: 0; }
.tile-content { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; min-width: 0; }
.tile-title { font-weight: 750; line-height: 1.38; overflow-wrap: anywhere; }
.tile-date { color: var(--muted-text); font-size: .85rem; }
.selected-marker { color: var(--link); font-size: .8rem; font-weight: 800; }
.more-row { text-align: center; margin: 29px 0 4px; }
.load-more { min-height: 48px; border: 2px solid var(--control-border); border-radius: 10px; color: var(--page-text); background: transparent; font-weight: 750; padding: 10px 23px; }
.load-more:hover { background: var(--action-bg); color: var(--action-ink); }
.load-more:disabled { opacity: .75; cursor: wait; }
.list-status { text-align: center; font-size: .92rem; color: var(--muted-text); margin: 12px 0 0; }
.unavailable { border: 1.5px solid var(--soft-border); padding: 24px; border-radius: 18px; }
.unavailable h2 { margin-top: 0; }
/* Footer: het beeldmerk staat links, alle tekst plus contact rechts ervan. */
.site-footer { background: var(--footer-bg); color: var(--footer-text); padding: 14px 0; }
.footer-inner { display: flex; align-items: center; gap: 20px; }
.footer-brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.footer-brand img { width: 80px; height: auto; display: block; }
.footer-info { flex: 1; min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; }
.footer-copy { font-size: .85rem; color: var(--footer-muted); }
.footer-copy p { margin: 0; }
.footer-contact { color: var(--footer-text); display: inline-flex; align-items: center; gap: 8px; font-weight: 750; text-underline-offset: 4px; white-space: nowrap; }
.site-footer :where(a,button,select,input):focus-visible { outline-color: #bce0ff; }
@media (max-width: 760px) {
  .container { width: min(100% - 30px, var(--container-width)); }
  .nav-row { gap: 6px; align-items: center; flex-wrap: wrap; }
  .has-js .menu-toggle { display: inline-flex; min-height: 55px; padding: 0 9px 0 1px; }
  .nav-utilities { gap: 3px; }
  .select-wrap { gap: 1px; }
  .select-wrap svg { display: none; }
  .select-wrap select { font-size: .85rem; max-width: 120px; min-height: 44px; padding-right: 8px; }
  .language-wrap select { max-width: 102px; }
  .main-navigation { order: 3; flex: 0 0 100%; display: flex; flex-direction: column; align-items: stretch; gap: 3px; padding: 4px 0 0; }
  .has-js .main-navigation { display: none; }
  .has-js .main-navigation.is-open { display: flex; }
  .nav-link { justify-content: flex-start; min-height: 44px; border-radius: 10px 10px 0 0; padding-inline: 15px; }
  .feature-player { grid-template-columns: 1fr; gap: 26px; }
  .cover-column img { max-width: 440px; margin-inline: auto; }
  .footer-info { flex-wrap: wrap; }
}
@media (max-width: 540px) {
  .topbar { min-height: 72px; gap: 12px; }
  .site-title { font-size: 1.24rem; max-width: 220px; }
  .ferry-wide-link img { width: 132px; }
  .site-main { padding-top: 28px; }
  .feature-player { border-radius: 16px; padding: 20px; }
  .feature-player h2 { font-size: 1.75rem; }
  .episode-grid { grid-template-columns: 1fr; gap: 11px; }
  .episode-tile { min-height: 119px; }
  .episode-tile img { width: 77px; height: 77px; }
  .site-footer { padding-block: 12px; }
  .footer-inner { align-items: flex-start; gap: 12px; }
  .footer-brand img { width: 66px; }
  .footer-info { display: block; }
  .footer-copy { font-size: .81rem; }
  .footer-contact { margin-top: 5px; }
}
@media (max-width: 390px) {
  .topbar { flex-wrap: wrap; }
  .site-title { font-size: 1.18rem; }
  .ferry-wide-link img { width: 117px; }
  .nav-utilities { gap: 0; }
  .select-wrap select { font-size: .8rem; max-width: 108px; padding-right: 3px; }
  .language-wrap select { max-width: 90px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* 3D Audio landingspagina — gedeeld kleurpalet en semantische details. */
.page-3d { padding-top: clamp(30px, 4vw, 56px); }
.three-d-hero {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(25px, 4.5vw, 58px); align-items: center;
  padding-bottom: clamp(38px, 6vw, 66px);
  border-bottom: 1px solid var(--soft-border);
}
.three-d-hero-copy { min-width: 0; }
.three-d-hero h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.65rem); font-weight: 840;
  letter-spacing: -.045em; line-height: 1.1; margin: 0 0 14px;
}
.three-d-hero h2 { font-size: clamp(1.32rem, 2.2vw, 1.9rem); line-height: 1.3; margin: 0 0 18px; }
.three-d-hero p, .three-d-story p, .three-d-faq p { line-height: 1.7; margin: 0 0 16px; }
.three-d-hero-art {
  position: relative; min-width: 0; align-self: stretch;
  min-height: 350px; overflow: hidden; border-radius: 26px;
  border: 1px solid var(--soft-border);
  box-shadow: 0 10px 45px rgba(0,36,82,.1);
}
.three-d-hero-art::before, .three-d-hero-art::after {
  content: ''; position: absolute; z-index: 1; pointer-events: none;
  border: 2px solid rgba(152,207,255,.68); border-radius: 50%;
  width: 44%; aspect-ratio: 1; right: -19%; bottom: -14%;
}
.three-d-hero-art::after { width: 66%; right: -31%; bottom: -27%; opacity: .7; }
.three-d-hero-art img {
  width: 100%; height: 100%; position: absolute; inset: 0;
  object-fit: cover; object-position: 69% center;
}
.three-d-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 14px 22px; background: var(--action-bg); color: var(--action-ink);
  font-weight: 750; border-radius: 12px; margin-top: 12px;
  text-decoration: none; min-height: 48px;
}
.three-d-cta:hover { text-decoration: underline; text-underline-offset: 4px; }
.three-d-content {
  display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  grid-template-areas: 'list story'; gap: clamp(30px, 4vw, 58px);
  padding: clamp(35px, 5vw, 60px) 0;
  border-bottom: 1px solid var(--soft-border);
}
.three-d-latest { grid-area: list; min-width: 0; }
.three-d-story { grid-area: story; min-width: 0; }
.three-d-latest h2, .three-d-story h2, .three-d-faq h2 {
  font-size: clamp(1.35rem, 2.3vw, 1.9rem); line-height: 1.3; margin: 0 0 22px;
}
.three-d-audio-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.three-d-audio-tile {
  display: flex; gap: 13px; text-decoration: none; color: var(--page-text);
  border: 1px solid var(--soft-border); border-radius: 15px; padding: 10px;
  background: var(--page-bg); min-height: 100px; align-items: center;
}
.three-d-audio-tile:hover { border-color: var(--control-border); }
.three-d-audio-tile:hover .three-d-audio-title { text-decoration: underline; }
.three-d-audio-tile img { width: 78px; height: 78px; border-radius: 10px; flex-shrink: 0; object-fit: cover; }
.three-d-audio-data { display: grid; gap: 9px; min-width: 0; }
.three-d-audio-title { font-weight: 750; line-height: 1.3; overflow-wrap: anywhere; }
.three-d-audio-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: .81rem; color: var(--muted-text); }
.three-d-audio-meta > span { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.three-d-audio-meta svg { width: 15px; height: 15px; flex-shrink: 0; stroke: currentColor; stroke-width: 2; fill: none; }
.three-d-faq { padding-top: clamp(35px, 5vw, 60px); }
.three-d-faq-items details { border-bottom: 1px solid var(--soft-border); }
.three-d-faq-items details:first-child { border-top: 1px solid var(--soft-border); }
.three-d-faq-items summary {
  cursor: pointer; font-size: 1.08rem; font-weight: 700;
  padding: 19px 38px 19px 4px; line-height: 1.4;
}
.three-d-faq-items summary:hover { color: var(--link); }
.three-d-faq-answer { padding: 0 20px 14px 4px; max-width: 760px; }
.translation-note { border-left: 4px solid var(--link); padding-left: 14px; margin: 0 0 25px; }
@media (max-width: 790px) {
  .three-d-hero { grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr); gap: 24px; }
  .three-d-hero-art { min-height: 320px; }
  .three-d-content { gap: 25px; }
}
@media (max-width: 660px) {
  .three-d-hero { grid-template-columns: 1fr; gap: 24px; }
  .three-d-hero-art { min-height: 270px; aspect-ratio: 1.55; align-self: auto; }
  .three-d-content { grid-template-columns: 1fr; grid-template-areas: 'story' 'list'; }
  .three-d-audio-tile img { width: 78px; height: 78px; }
}
