/* Radiostudio-reis — opmaak bovenop de 3D-scène (scene3d.js). Alles hangt aan .has-3d:
   zonder WebGL (of zonder scene3d.js) blijft de gewone site ongewijzigd. */

.has-3d,
.has-3d body { background: #0d1114; }
.scene3d { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: 0; transition: opacity 1.2s ease; }
.scene3d.is-ready { opacity: 1; }
.has-3d main, .has-3d header.header, .has-3d footer, .has-3d .ticker { position: relative; z-index: 1; }

/* --- header op de scène --- */
.has-3d .header { color: #f7f3e9; border-bottom-color: #f7f3e92e; background: none; }
.has-3d .header a { color: #f7f3e9; }
.has-3d .header .logo-dot { color: var(--orange); }
.has-3d .header nav a.is-active { color: #ff8a5c; }
.has-3d .header nav a.nav-contact { background: #f7f3e9; color: #202e35; }
.has-3d .header nav a.nav-contact:hover { background: var(--orange); color: #fff; }
.has-3d .lang-switch { border-color: #f7f3e9; }
.has-3d .lang-switch span { background: #f7f3e9; color: #202e35; }
.has-3d .lang-switch a:hover { background: #f7f3e926; }
.has-3d .brand p, .has-3d .brand small { color: #f7f3e9b3; }

/* menu blijft bovenaan staan tijdens het scrollen (matglas boven de studio) */
.has-3d header.header { position: sticky; top: 0; z-index: 60; width: 100%; max-width: none; height: 84px; box-sizing: border-box;
  padding-left: max(24px, calc((100% - 1380px) / 2)); padding-right: max(24px, calc((100% - 1380px) / 2));
  background: rgba(13, 17, 20, .62); -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid #f7f3e91f; }
.has-3d .header .logo { font-size: 36px; }
@media (min-width: 701px) { .has-3d .header nav { gap: 20px; font-size: 13px; } }
.has-3d .header .brand p, .has-3d .header .brand small, .has-3d .header .tagline { display: none; }
@media (max-width: 700px) {
  .has-3d header.header { height: auto; min-height: 64px; padding: 8px 16px; }
  .has-3d .header .logo { font-size: 30px; }
}

/* --- hero: volledig scherm studio, tekst licht --- */
.has-3d .hero { min-height: 100vh; background: none; padding-top: 40px; padding-bottom: 70px; }
.has-3d .hero::before { display: none; }
.has-3d .hero h1 { color: #f7f3e9; text-shadow: 0 6px 50px #000a; }
.has-3d .hero .eyebrow { color: #ffb48f; }
.has-3d .hero .intro { color: #f7f3e9d9; text-shadow: 0 2px 20px #000a; }
.has-3d .radio-scene { box-shadow: 0 40px 100px #000a; }

/* --- ticker als neon-band --- */
.has-3d .ticker { background: #0d1114b3; border-color: #f7f3e933; color: #f7f3e9; backdrop-filter: blur(6px); }

/* --- scene-gaps: de 3D-wereld vol in beeld, met grote titel --- */
.scene-gap { height: 92vh; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 12px; max-width: 1320px; margin: 0 auto; padding: 0 60px 9vh; color: #f7f3e9; pointer-events: none; position: relative; z-index: 1; box-sizing: border-box; }
.scene-gap-kicker { font: 700 13px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: 3px; text-transform: uppercase; color: #ff8a5c; text-shadow: 0 2px 16px #000; }
.scene-gap-title { font-weight: 800; font-size: clamp(46px, 9vw, 150px); line-height: .92; letter-spacing: -.045em; text-shadow: 0 6px 60px #000c, 0 2px 8px #0008; max-width: 12ch; }

/* --- secties als papieren kaarten die boven de studio zweven --- */
.has-3d main > section:not(.hero),
.has-3d main > .story { width: calc(100% - 48px); max-width: 1280px; margin-left: auto; margin-right: auto; border-radius: 30px; margin-bottom: 44px; box-shadow: 0 24px 60px #000a, 0 0 0 1px #ffffff14; position: relative; z-index: 1; overflow: hidden; }
.has-3d main > section.section.wrap { background: rgba(247, 243, 233, .5); -webkit-backdrop-filter: blur(20px) saturate(1.15); backdrop-filter: blur(20px) saturate(1.15); padding-left: 60px; padding-right: 60px; }
.has-3d main > .story { background: rgba(20, 32, 38, .45); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.has-3d main > section.story .wrap { background: none; }

/* tekst in de doorschijnende kaarten wat donkerder voor leesbaarheid */
.has-3d main > section.section.wrap :is(p, li, small, summary):not(.listen-via-badge *, .listen-via-badge, .btn *, button *) { color: #172228; }
.has-3d main > section.section.wrap h2, .has-3d main > section.section.wrap h3 { color: #101a1f; }
.has-3d main > section.section.wrap h2 em, .has-3d main > section.section.wrap h2 span { color: var(--orange); }

/* menuknoppen landen op het titelscherm (met de 3D-animatie) in plaats van op de kaart zelf */
.has-3d main > section:not(.hero) { scroll-margin-top: 88vh; }

/* --- afsluiting --- */
.has-3d .footer { color: #f7f3e9; border-top-color: #f7f3e92e; margin-top: 8vh; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 40px; padding-top: 40px; padding-bottom: 50px; }
.has-3d .footer p { color: #f7f3e9cc; margin: 0; max-width: 360px; font-size: 13px; line-height: 1.5; }
.has-3d .footer .model-credits { flex: 0 0 100%; max-width: none; font-size: 11px; color: #f7f3e999; }
.has-3d .footer .model-credits a { color: #f7f3e9cc; }
.has-3d .footer .footer-links, .has-3d .footer .cookie-settings, .has-3d .footer button { color: #f7f3e9; }
.has-3d .footer a { color: #f7f3e9; }
.has-3d .footer .copyright, .has-3d .model-credits { color: #f7f3e9b3; }
.has-3d .footer .logo { color: #f7f3e9; }

@media (max-width: 700px) {
  .scene-gap { height: 70vh; padding: 0 22px 7vh; }
  .has-3d main > section:not(.hero) { scroll-margin-top: 66vh; }
  .scene-gap-title { font-size: clamp(40px, 15vw, 80px); }
  .has-3d main > section:not(.hero), .has-3d main > .story { width: calc(100% - 20px); border-radius: 20px; }
  .has-3d main > section.section.wrap { padding-left: 22px; padding-right: 22px; }
  .has-3d .hero { min-height: auto; }
}
@media (prefers-reduced-motion: reduce) { .scene3d { transition: none; } }


/* --- knop licht/donker --- */
.theme-toggle { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 38px; height: 38px; margin-left: 14px; padding: 0; border-radius: 50%; cursor: pointer;
  background: #f7f3e91a; color: #f7f3e9; border: 1.5px solid #f7f3e955; transition: background .2s, transform .2s; }
.theme-toggle:hover { background: #f7f3e933; transform: scale(1.06); }
.theme-toggle:focus-visible { outline: 2px solid #ff8a5c; outline-offset: 2px; }
.theme-toggle .ico-sun { display: none; }
html[data-theme="light"] .theme-toggle .ico-sun { display: block; }
html[data-theme="light"] .theme-toggle .ico-moon { display: none; }
@media (max-width: 700px) { .theme-toggle { width: 34px; height: 34px; margin-left: 8px; } }

/* --- licht thema: lichte studio, donkere tekst --- */
html[data-theme="light"].has-3d,
html[data-theme="light"].has-3d body { background: #f6d9ae; }
html[data-theme="light"].has-3d .header,
html[data-theme="light"].has-3d .header a { color: #172228; }
html[data-theme="light"].has-3d header.header { background: rgba(247, 243, 233, .82); border-bottom-color: #17222826; }
html[data-theme="light"].has-3d .header .logo-dot { color: var(--orange); }
html[data-theme="light"].has-3d .header nav a.is-active { color: #c2410c; }
html[data-theme="light"].has-3d .header nav a.nav-contact { background: #172228; color: #f7f3e9; }
html[data-theme="light"] .theme-toggle { background: #1722281a; color: #172228; border-color: #17222855; }
html[data-theme="light"] .theme-toggle:hover { background: #17222833; }

html[data-theme="light"].has-3d .hero h1 { color: #172228; text-shadow: 0 2px 30px #f7f3e9cc; }
html[data-theme="light"].has-3d .hero .eyebrow { color: #b8431f; }
html[data-theme="light"].has-3d .hero .intro { color: #1f2d33; text-shadow: 0 1px 18px #f7f3e9cc; }
html[data-theme="light"].has-3d .ticker { background: #f7f3e9b3; color: #172228; border-color: #17222833; }
html[data-theme="light"] .scene-gap { color: #172228; }
html[data-theme="light"] .scene-gap-kicker { color: #8a2f12; text-shadow: 0 0 6px #f7f3e9, 0 0 14px #f7f3e9, 0 0 26px #f7f3e9; }
html[data-theme="light"] .scene-gap-title { text-shadow: 0 4px 50px #f7f3e9e6, 0 1px 6px #f7f3e999; }
html[data-theme="light"].has-3d main > section.section.wrap { background: rgba(250, 245, 234, .3); -webkit-backdrop-filter: blur(16px) saturate(1.25); backdrop-filter: blur(16px) saturate(1.25); box-shadow: 0 24px 60px #5a30144d, 0 0 0 1px #ffffff55 inset; }
html[data-theme="light"].has-3d .footer,
html[data-theme="light"].has-3d .footer a,
html[data-theme="light"].has-3d .footer .logo { color: #172228; }
html[data-theme="light"].has-3d .footer p,
html[data-theme="light"].has-3d .footer .copyright,
html[data-theme="light"].has-3d .footer .model-credits,
html[data-theme="light"].has-3d .footer .model-credits a { color: #172228cc; }
html[data-theme="light"].has-3d .footer { border-top-color: #17222833; }


/* menuklik: inhoud en 3D-scène vagen kort uit en weer in (zie scene3d.js) */
.has-3d main, .has-3d footer { transition: opacity .3s ease; }
.has-3d.nav-fading main, .has-3d.nav-fading footer { opacity: 0; }
.has-3d.nav-fading .scene3d { opacity: 0; transition-duration: .3s; }

/* licht thema: taalknop NL/EN en titels leesbaar */
html[data-theme="light"].has-3d .header .lang-switch span { background: none !important; color: #c2410c !important; }
html[data-theme="light"].has-3d .header .lang-switch a { color: #172228 !important; background: none; }
html[data-theme="light"].has-3d .header .lang-switch > :first-child::after { color: #172228; }
html[data-theme="light"] .scene-gap-title { text-shadow: 0 0 40px #f7f3e9, 0 0 80px #f7f3e9f0, 0 2px 4px #f7f3e9cc; }
html[data-theme="light"] .scene-gap { text-shadow: none; }


/* --- Ons verhaal: zelfde kaartstijl als de andere secties, met foto en tijdlijn --- */
.story-section .story-lead { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.story-section .story-lead h2 { font-size: clamp(34px, 3.6vw, 46px); margin-bottom: 20px; }
.story-section .story-lead p:not(.eyebrow) { font-size: 17px; line-height: 1.75; max-width: 560px; margin: 0 0 16px; }
.story-section .story-links { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 22px !important; }
.story-photo { margin: 0; background: #fffdf7; padding: 14px 14px 12px; border: 1px solid #00000018; box-shadow: 0 24px 50px #0004; transform: rotate(1.6deg); }
.story-photo img { display: block; width: 100%; height: auto; filter: sepia(.18) contrast(1.02); }
.story-photo figcaption { margin-top: 10px; font: 600 12px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: 2px; text-transform: uppercase; color: #5b6b70; text-align: center; }
.story-heading { margin-top: 70px; }
.story-timeline { list-style: none; margin: 34px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: st; }
.story-timeline li { background: #fffdf7; border: 1px solid #00000014; border-top: 3px solid var(--orange); border-radius: 8px; padding: 22px 22px 20px; box-shadow: 0 10px 24px #0001; }
.story-timeline .st-year { display: block; font: 800 34px/1 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--orange); letter-spacing: -1px; margin-bottom: 10px; }
.story-timeline h3 { margin: 0 0 8px; font-size: 19px; }
.story-timeline p { margin: 0; font-size: 14.5px; line-height: 1.65; }
@media (max-width: 980px) { .story-timeline { grid-template-columns: repeat(2, 1fr); } .story-section .story-lead { grid-template-columns: 1fr; gap: 34px; } .story-photo { max-width: 460px; } }
@media (max-width: 600px) { .story-timeline { grid-template-columns: 1fr; } }

/* donkere kaarten binnen een doorschijnende sectie houden hun lichte tekst */
.has-3d .airchecks-featured p, .has-3d .memorial-card p { color: #d7dfdd !important; }
.has-3d .airchecks-featured h3, .has-3d .memorial-card h3 { color: #f7f3e9 !important; }
.has-3d .memorial-card-more p { color: #3f4f55 !important; }
.has-3d .memorial-card-more h3 { color: #172228 !important; }
.has-3d .airchecks-featured .text-link { color: #f7f3e9 !important; }
.has-3d .airchecks-card p { color: #3f4f55 !important; }
.has-3d .story-timeline p { color: #2a393f !important; }

/* licht thema: kaartjes binnen de doorschijnende secties blijven vol, zodat de tekst scherp is */
html[data-theme="light"].has-3d .story-timeline li,
html[data-theme="light"].has-3d .airchecks-card { background: rgba(255, 253, 247, .62); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
html[data-theme="light"].has-3d main > section.section.wrap :is(p, li, small, summary):not(.listen-via-badge *, .listen-via-badge, .btn *, button *) { color: #101a1f; }
html[data-theme="light"].has-3d main > section.section.wrap :is(h2, h3) { text-shadow: 0 0 14px #faf5ea, 0 0 28px #faf5eaf0, 0 0 3px #faf5ea; }
html[data-theme="light"].has-3d main > section.section.wrap :is(p, li, small, summary, time, .prog-title, .prog-host):not(.listen-via-badge *, .btn *, button *) { text-shadow: 0 0 8px #fbf6eb, 0 0 16px #fbf6ebcc; }
html[data-theme="light"].has-3d main > section.section.wrap :is(.eyebrow, .section-eyebrow) { color: #8a2f12; }
html[data-theme="light"].has-3d header.header { background: rgba(250, 245, 234, .55); -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2); }

/* programmakaarten: ook doorschijnend (donker en licht), tekst blijft leesbaar */
.has-3d .prog-card { background: rgba(234, 230, 217, .62); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid #ffffff40; }
html[data-theme="light"].has-3d .prog-card { background: rgba(255, 252, 244, .3); border-color: #ffffff80; }
html[data-theme="light"].has-3d .prog-card :is(.prog-title, h3, .prog-time) { text-shadow: 0 0 10px #fffaf0; }

/* licht thema: 'Ons verhaal' minder troebel, meer studio zichtbaar */
html[data-theme="light"].has-3d #verhaal { background: rgba(250, 245, 234, .3); -webkit-backdrop-filter: blur(8px) saturate(1.2); backdrop-filter: blur(8px) saturate(1.2); }
html[data-theme="light"].has-3d .story-photo { box-shadow: 0 20px 44px #5a30147a; }


/* ===== Boek: echte harde kaft ===== */
.book-front { padding: 0 !important; background: linear-gradient(135deg, #2b3f47 0%, #1c2a30 55%, #162126 100%) !important; cursor: pointer; border-radius: 4px 12px 12px 4px; overflow: hidden !important;
  box-shadow: inset 0 0 0 1px #ffffff12, inset -14px 0 26px -18px #000a !important; }
.book-front:focus-visible { outline: 3px solid #ff8a5c; outline-offset: -3px; }
.book-front::before { content: ""; position: absolute; inset: 0; opacity: .5; mix-blend-mode: soft-light; pointer-events: none;
  background: repeating-linear-gradient(0deg, #ffffff08 0 1px, transparent 1px 3px), repeating-linear-gradient(90deg, #00000010 0 1px, transparent 1px 4px); }          /* linnen-structuur */
.book-front::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, #ffffff00 40%, #ffffff10 50%, #ffffff00 60%); }  /* glans */
.bf-spine { position: absolute; left: 0; top: 0; bottom: 0; width: 7%; background: linear-gradient(90deg, #0a1114 0%, #1a262b 55%, #223239 100%); box-shadow: inset -2px 0 4px #000a, 1px 0 0 #ffffff12; }
.bf-spine::after { content: ""; position: absolute; right: 18%; top: 4%; bottom: 4%; width: 2px; background: linear-gradient(#0000, #e0a73a66, #0000); }
.bf-frame { position: absolute; inset: 4.5% 5% 4.5% 11%; border: 2px solid #e0a73a; border-radius: 3px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 6% 6% 5%; gap: 0; color: #f7f3e9;
  box-shadow: inset 0 0 0 5px #1c2a30, inset 0 0 0 6px #e0a73a66; }
.bf-corner { position: absolute; width: 22px; height: 22px; border: 0 solid #e0a73a; }
.bf-corner.tl { top: 8px; left: 8px; border-width: 2px 0 0 2px; } .bf-corner.tr { top: 8px; right: 8px; border-width: 2px 2px 0 0; }
.bf-corner.bl { bottom: 8px; left: 8px; border-width: 0 0 2px 2px; } .bf-corner.br { bottom: 8px; right: 8px; border-width: 0 2px 2px 0; }
.book-front .bf-kicker { margin: 0 0 6% !important; color: #e0a73a !important; font-size: 10.5px !important; letter-spacing: 3.5px; font-weight: 700; }
.bf-logo.logo { width: auto; max-width: none; height: auto; display: block; color: #f7f3e9; font-size: clamp(54px, 8.4vw, 82px); text-shadow: 0 3px 12px #0008; }
.bf-logo.logo > span:first-child { font-size: .24em; letter-spacing: .5em; line-height: 2.1; }
.bf-logo .logo-dot { font-size: .42em; margin-left: .08em; }
.bf-rule { display: flex; align-items: center; gap: 10px; width: 56%; margin: 5% 0 4%; }
.bf-rule i { flex: 1; height: 1px; background: linear-gradient(90deg, #0000, #e0a73a); } .bf-rule i:last-child { background: linear-gradient(90deg, #e0a73a, #0000); }
.bf-rule b { width: 8px; height: 8px; background: #e0a73a; transform: rotate(45deg); }
.book-front .bf-title { margin: 0 !important; font-family: Georgia, "Times New Roman", serif; font-size: clamp(26px, 3.4vw, 36px) !important; font-weight: 700; letter-spacing: .5px !important; color: #f7edd3; text-shadow: 0 2px 0 #0008, 0 0 18px #e0a73a40; }
.book-front .bf-sub { margin: 3% 0 5% !important; color: #cdd8d6 !important; font-family: Georgia, serif; font-style: italic; font-size: 14px !important; line-height: 1.55 !important; }
.bf-disc { width: 17%; aspect-ratio: 1; border-radius: 50%; position: relative; display: grid; place-items: center; margin: 1% 0 4%;
  background: repeating-radial-gradient(circle at 50% 50%, #0c0f11 0 2px, #1b2125 2px 4px); box-shadow: 0 6px 16px #000a, inset 0 0 0 1px #ffffff14; animation: bfspin 9s linear infinite; }
.bf-disc-label { width: 38%; aspect-ratio: 1; border-radius: 50%; background: #d44b25; color: #fff; display: grid; place-items: center; font: 800 8px/1 Arial, sans-serif; letter-spacing: .3px; }
.book-front .bf-years { margin: 0 !important; color: #e0a73a !important; font: 700 12px/1 ui-monospace, SFMono-Regular, Menlo, monospace !important; letter-spacing: 4px; }
.book-front .bf-freq { margin: 2% 0 0 !important; color: #9fb0b1 !important; font-size: 9.5px !important; letter-spacing: 2.5px; font-weight: 700; }
.bf-open { margin-top: 5%; display: inline-flex; gap: 8px; align-items: center; padding: 9px 18px; border-radius: 999px; background: #d44b25; color: #fff; font: 700 12.5px/1 Arial, sans-serif; letter-spacing: .5px; box-shadow: 0 6px 18px #d44b2555; transition: transform .2s, background .2s; }
.book-front:hover .bf-open { background: #ec5a30; transform: translateX(3px); }
@keyframes bfspin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .bf-disc { animation: none; } }

/* gesloten boek: geen paginateller, vorige-knop verborgen, boek staat iets schuin met schaduw van een dichte kaft */
.book.is-closed .book-progress { visibility: hidden; }
.book.is-closed .book-nav.prev { visibility: hidden; }
.book.is-closed .book-stage { box-shadow: 0 34px 70px #0009, 8px 0 0 -2px #efe6cf, 10px 0 0 -3px #d9cfb4, 0 0 0 1px #00000040; }
@media (max-width: 700px) { .bf-frame { inset: 4% 4% 4% 11%; } .book-front .bf-sub { font-size: 12.5px !important; } .bf-logo { width: 68%; } }

/* titel en tekst op de kaft altijd licht, ook in het lichte thema (de algemene kaartregels maken koppen donker) */
.has-3d main > section.section.wrap .book-front h3.bf-title,
html[data-theme="light"].has-3d main > section.section.wrap .book-front h3.bf-title { color: #f7edd3 !important; text-shadow: 0 2px 0 #0008, 0 0 18px #e0a73a40 !important; }
.has-3d main > section.section.wrap .book-front p.bf-sub,
html[data-theme="light"].has-3d main > section.section.wrap .book-front p.bf-sub { color: #cdd8d6 !important; text-shadow: none !important; }
.has-3d main > section.section.wrap .book-front p.bf-kicker,
html[data-theme="light"].has-3d main > section.section.wrap .book-front p.bf-kicker,
.has-3d main > section.section.wrap .book-front p.bf-years,
html[data-theme="light"].has-3d main > section.section.wrap .book-front p.bf-years { color: #e0a73a !important; text-shadow: none !important; }
.has-3d main > section.section.wrap .book-front p.bf-freq,
html[data-theme="light"].has-3d main > section.section.wrap .book-front p.bf-freq { color: #9fb0b1 !important; text-shadow: none !important; }

@media (max-width: 700px) { .bf-logo.logo { font-size: 58px; } }


/* ===== kaft zonder logo ===== */
.book-front .bf-title { font-size: clamp(34px, 4.6vw, 50px) !important; line-height: 1.05; }
.bf-rule { margin: 4% 0 4% !important; }
.book-front .bf-kicker { margin-bottom: 9% !important; }
.book-front .bf-sub { margin: 4% 0 7% !important; font-size: 15px !important; }

/* ===== Boek: echte papieren pagina's ===== */
.book-stage {
  --paper: #fbf6e8;
  background: #1c2a30 !important;                                   /* harde kaftranden rond de pagina's */
  border: 0 !important; border-radius: 4px 12px 12px 4px !important;
  padding: 0; overflow: hidden !important;
  box-shadow: 0 34px 70px #0009, 0 0 0 1px #00000055, inset 0 0 0 1px #ffffff10 !important;
}
.book.is-closed .book-stage { box-shadow: 0 34px 70px #0009, 0 0 0 1px #00000055 !important; }
/* de pagina's liggen iets binnen de kaft, met een gestapelde paginarand rechts en onderaan */
.book-page:not(.book-front) {
  inset: 9px 9px 9px 11px !important;
  width: auto !important; height: auto !important;
  border-radius: 2px 6px 6px 2px;
  font-family: Georgia, "Iowan Old Style", "Times New Roman", serif;
  background:
    linear-gradient(90deg, #0000002e 0, #00000014 2.2%, #0000 7%),                  /* rugvouw links */
    linear-gradient(270deg, #00000012 0, #0000 3%),                                   /* lichte schaduw rechts */
    radial-gradient(120% 90% at 50% 0%, #ffffff55, #0000 60%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .45  0 0 0 0 .36  0 0 0 0 .2  0 0 0 .07 0'/></filter><rect width='220' height='220' filter='url(%23n)'/></svg>"),
    var(--paper) !important;
  box-shadow:
    1px 0 0 #e9dfc6, 2px 0 0 #fbf6e8, 3px 0 0 #dcd1b4, 4px 0 0 #f6efdb, 5px 0 0 #cfc3a4,   /* paginarand rechts */
    0 1px 0 #e9dfc6, 0 2px 0 #fbf6e8, 0 3px 0 #dcd1b4, 0 4px 0 #cfc3a4,                    /* paginarand onder */
    inset 0 0 0 1px #00000010 !important;
  padding: 38px 38px 46px 46px !important;
  counter-increment: none;
}
/* lopende kop + paginanummer */
.book-page:not(.book-front)::before {
  content: "RADIO OCTAAF  \00B7  FM 93.0"; position: absolute; top: 14px; left: 46px; right: 38px;
  font: 600 8.5px/1 Arial, Helvetica, sans-serif; letter-spacing: 2.6px; color: #9a8f74; border-bottom: 1px solid #d9cfb4; padding-bottom: 8px; pointer-events: none;
}
.book-page:not(.book-front):not(.book-cover)::after {
  content: attr(data-page); position: absolute; bottom: 14px; left: 0; right: 0; text-align: center;
  font: italic 600 12px/1 Georgia, serif; color: #8a7f64; pointer-events: none;
}
.book-page:not(.book-front):not(.book-cover)::after { background: none; }
.book-page:not(.book-front) { padding-top: 46px !important; }
.book-page:not(.book-front):not(.book-cover):nth-child(odd)::before { text-align: right; }

/* typografie: serif, gezette tekst, kapitaal, hoofdletter bij de eerste alinea */
.book-page:not(.book-front) h3 { font-family: Georgia, "Iowan Old Style", serif; font-weight: 700; font-size: 25px; line-height: 1.15; letter-spacing: -.3px; color: #1d2a30 !important; text-shadow: none !important; margin: 4px 0 8px; }
.book-page:not(.book-front) h3::after { content: ""; display: block; width: 46px; height: 2px; background: #d44b25; margin: 14px 0 6px; }
.book-page:not(.book-front) .book-page-label { font: 700 9.5px/1 Arial, Helvetica, sans-serif !important; letter-spacing: 3px !important; color: #b8431f !important; margin-bottom: 12px; text-shadow: none !important; }
.book-page:not(.book-front) p { font-family: Georgia, "Iowan Old Style", serif; color: #2a2f31 !important; text-shadow: none !important; font-size: 14.2px; line-height: 1.78; text-align: justify; hyphens: auto; -webkit-hyphens: auto; margin: 0 0 11px; text-indent: 1.4em; }
.book-page:not(.book-front) p b { font-weight: 700; color: #1b2428; }
.book-page:not(.book-front) h3 + p, .book-page:not(.book-front) .book-page-label + p, .book-page:not(.book-front) .book-cover-intro, .book-page:not(.book-front) .book-highlight, .book-page:not(.book-front) .book-speech-by, .book-page:not(.book-front) .book-speech-end { text-indent: 0; }
.book-page:not(.book-front):not(.book-cover):not(.book-speech) h3 + p::first-letter {
  font-family: Georgia, serif; font-weight: 700; float: left; font-size: 3.5em; line-height: .82; padding: 4px 8px 0 0; color: #d44b25; }
.book-page:not(.book-front) .book-highlight { background: #f2e3c4 !important; border-left: 3px solid #d44b25; border-radius: 2px; text-align: left; font-style: italic; color: #1d2a30 !important; font-size: 15.5px !important; padding: 11px 14px !important; }
.book-page:not(.book-front) .book-speech-by { color: #b8431f !important; font-style: italic; font-size: 12.5px !important; text-align: left; }
.book-page:not(.book-front) .book-speech-end { text-align: center; color: #1d2a30 !important; }
.book-page:not(.book-front) .book-timeline-text { font-family: Georgia, serif; }
/* foto's: als ingeplakte afdruk */
.book-page-photo .book-page-img { width: calc(100% - 4px); margin: 4px 2px 18px; max-height: 200px; border: 6px solid #fffdf7; box-shadow: 0 6px 14px #0003, 0 0 0 1px #0000001a; transform: rotate(-.6deg); filter: sepia(.18) contrast(1.02); }
.book-page-photo { padding-top: 46px !important; }

/* inhoudsopgave als echte index met puntjes */
.book-page.book-cover h3 { font-size: 22px; }
.book-index-link { border-bottom: 1px dotted #b9ad8c !important; font-family: Georgia, serif; }
.book-index-title { font-weight: 600 !important; font-size: 13.5px !important; color: #1d2a30; }
.book-index-num { color: #b8431f !important; font-family: Georgia, serif !important; font-style: italic; font-size: 13px !important; }
.book-index-era { color: #8a7f64 !important; font-family: Georgia, serif !important; font-style: italic; }
.book-index-link:hover .book-index-title { color: #b8431f; }

/* omslaan: de wegslaande pagina krijgt een schaduw en een knik, zoals papier */
.book-page { transition: transform .9s cubic-bezier(.45,.05,.25,1), opacity .9s ease, box-shadow .9s ease, filter .9s ease !important; }
.book-page.flipped { box-shadow: -36px 0 60px -14px #0007, inset 40px 0 40px -30px #0004 !important; filter: brightness(.9); }
.book-stage { perspective: 2600px; }

/* ook in het lichte thema blijft papier papier: geen gloed-schaduwen van de kaartstijl */
html[data-theme="light"].has-3d main > section.section.wrap .book-page :is(p, li, h3, span, time, small) { text-shadow: none !important; }
html[data-theme="light"].has-3d main > section.section.wrap .book-page:not(.book-front) p { color: #2a2f31 !important; }
html[data-theme="light"].has-3d main > section.section.wrap .book-page:not(.book-front) h3 { color: #1d2a30 !important; }

@media (max-width: 700px) {
  .book-page:not(.book-front) { padding: 40px 24px 42px 30px !important; inset: 7px 7px 7px 9px !important; }
  .book-page:not(.book-front)::before { left: 30px; right: 24px; }
  .book-page:not(.book-front) p { font-size: 13.4px; text-align: left; }
  .book-page:not(.book-front) h3 { font-size: 21px; }
}


/* ===== kaft zonder draaiende plaat ===== */
.book-front .bf-sub { margin: 4% 0 9% !important; }
.book-front .bf-years { margin-top: 2% !important; }

/* ===== achterkant van het boek ===== */
.book-back { cursor: default; border-radius: 12px 4px 4px 12px; background: linear-gradient(225deg, #2b3f47 0%, #1c2a30 55%, #162126 100%) !important; box-shadow: inset 0 0 0 1px #ffffff12, inset 14px 0 26px -18px #000a !important; }
.book-back .bf-spine { left: auto; right: 0; background: linear-gradient(270deg, #0a1114 0%, #1a262b 55%, #223239 100%); box-shadow: inset 2px 0 4px #000a, -1px 0 0 #ffffff12; }
.book-back .bf-spine::after { right: auto; left: 18%; }
.book-back .bf-frame { inset: 4.5% 11% 4.5% 5%; padding: 5.5% 7% 4.5%; justify-content: flex-start; gap: 0; }
.book-back::after { background: linear-gradient(255deg, #ffffff00 40%, #ffffff10 50%, #ffffff00 60%); }
.book-back h3.bb-head { margin: 1.5% 0 0 !important; font-family: Georgia, "Times New Roman", serif; font-size: clamp(23px, 3vw, 30px) !important; line-height: 1.12; font-weight: 700; color: #f7edd3 !important; letter-spacing: .2px !important; text-shadow: 0 2px 0 #0008 !important; }
.book-back .bf-rule { margin: 4% 0 4.5% !important; }
.book-back p.bb-text { margin: 0 0 3.2% !important; color: #cdd8d6 !important; font: 400 12.6px/1.62 Georgia, "Times New Roman", serif !important; text-align: center !important; text-indent: 0 !important; text-shadow: none !important; max-width: 34em; }
.book-back blockquote.bb-quote { margin: 2.5% 0 4% !important; padding: 3.5% 6% !important; border: 0; border-top: 1px solid #e0a73a66; border-bottom: 1px solid #e0a73a66; text-align: center; }
.book-back .bb-quote p { margin: 0 !important; color: #f7edd3 !important; font: italic 400 17px/1.35 Georgia, serif !important; text-align: center !important; text-indent: 0 !important; text-shadow: none !important; }
.book-back .bb-quote cite { display: block; margin-top: 7px; font: 700 9.5px/1 Arial, sans-serif; letter-spacing: 2px; text-transform: uppercase; color: #e0a73a; font-style: normal; }
.book-back ul.bb-facts { list-style: none; margin: 0 0 3% !important; padding: 0; display: flex; gap: 6%; justify-content: center; }
.book-back .bb-facts li { display: flex; flex-direction: column; align-items: center; gap: 4px; margin: 0; padding: 0; color: #9fb0b1 !important; }
.book-back .bb-facts b { font: 700 18px/1 Georgia, serif; color: #e0a73a; }
.book-back .bb-facts span { font: 600 8.5px/1.2 Arial, sans-serif; letter-spacing: 1.4px; text-transform: uppercase; text-align: center; max-width: 9em; }
.book-back p.bf-freq { margin-top: auto !important; }
.has-3d main > section.section.wrap .book-back h3.bb-head,
html[data-theme="light"].has-3d main > section.section.wrap .book-back h3.bb-head { color: #f7edd3 !important; text-shadow: 0 2px 0 #0008 !important; }
.has-3d main > section.section.wrap .book-back p.bb-text,
html[data-theme="light"].has-3d main > section.section.wrap .book-back p.bb-text { color: #cdd8d6 !important; text-shadow: none !important; }
.has-3d main > section.section.wrap .book-back p.bf-kicker,
html[data-theme="light"].has-3d main > section.section.wrap .book-back p.bf-kicker { color: #e0a73a !important; text-shadow: none !important; }

/* achterkant: geen 'volgende', geen paginateller; het boek staat dan dicht op zijn rug */
.book.is-back .book-nav.next { visibility: hidden; }
.book.is-back .book-progress { visibility: hidden; }
.book.is-back .book-stage { box-shadow: 0 34px 70px #0009, -8px 0 0 -2px #efe6cf, -10px 0 0 -3px #d9cfb4, 0 0 0 1px #00000040 !important; }

/* paginanummer blijft onderaan staan, ook als de pagina scrolt */
.book-page:not(.book-front):not(.book-cover)::after {
  position: sticky; bottom: -46px; display: block; left: auto; right: auto; margin: 10px -38px -46px -46px; padding: 22px 0 16px; height: auto; text-align: center; z-index: 2;
  background: linear-gradient(#fbf6e800, #fbf6e8 34%, #fbf6e8) !important;
}
@media (max-width: 700px) { .book-back p.bb-text { font-size: 11.6px; } .book-back .bb-quote p { font-size: 15px !important; } }


/* Contact in het menu: gewone link, net als de rest (geen aparte knop) */
.has-3d .header nav a.nav-contact,
html[data-theme="light"].has-3d .header nav a.nav-contact { background: none !important; color: inherit !important; border-radius: 0 !important; padding: 0 !important; font-size: inherit !important; text-decoration: none; }
.has-3d .header nav a.nav-contact:hover,
html[data-theme="light"].has-3d .header nav a.nav-contact:hover { background: none !important; color: inherit !important; text-decoration: underline; text-underline-offset: 6px; }


/* ===== subtiele home-knop in het boek ===== */
.book-home { position: absolute; z-index: 40; top: 12px; right: 34px; width: 24px; height: 24px; padding: 0; border: 0; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: transparent; color: #d44b25; opacity: 0; pointer-events: none; transition: opacity .25s ease, color .2s ease, background .2s ease; }
.book-home.is-on { opacity: .8; pointer-events: auto; }
.book-home.is-on:hover, .book-home.is-on:focus-visible { opacity: 1; color: #fff; background: #d44b25; }
.book-home:focus-visible { outline: 2px solid #d44b25; outline-offset: 1px; }
.book-page:not(.book-front):not(.book-cover)::before { right: 60px; }       /* ruimte voor de knop in de lopende kop */

/* ===== kaft op een telefoon: past binnen het boek ===== */
@media (max-width: 700px) {
  .book-front .bf-frame { padding: 5% 4% 4%; }
  .book-front .bf-kicker { font-size: 8.5px !important; letter-spacing: 2px; margin-bottom: 6% !important; }
  .book-front .bf-title { font-size: 31px !important; }
  .book-front .bf-sub { font-size: 12.5px !important; margin: 3% 0 6% !important; }
  .book-front .bf-years { font-size: 10px !important; letter-spacing: 3px; }
  .book-front .bf-freq { font-size: 8px !important; letter-spacing: 1.6px; }
  .bf-open { padding: 8px 14px; font-size: 11.5px; }
  .book-back .bf-frame { padding: 5% 4% 4%; }
  .book-back h3.bb-head { font-size: 20px !important; }
  .book-back p.bb-text { font-size: 10.6px !important; line-height: 1.5 !important; margin-bottom: 2.4% !important; }
  .book-back .bb-quote p { font-size: 13.5px !important; }
  .book-back .bb-facts b { font-size: 14px; }
  .book-back .bb-facts span { font-size: 7px; }
}


/* ===== telefoon: uitklapmenu leesbaar op de studio ===== */
@media (max-width: 700px) {
  .has-3d header.header nav { background: rgba(13, 17, 20, .97); border-bottom: 1px solid #f7f3e92a; box-shadow: 0 18px 36px #000a; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
  .has-3d header.header nav a { border-color: #f7f3e926 !important; }
  .has-3d header.header nav > a:not(.nav-contact), .has-3d header.header nav .lang-switch a { color: #f7f3e9; }
  html[data-theme="light"].has-3d header.header nav { background: rgba(250, 245, 234, .97); border-bottom-color: #17222826; box-shadow: 0 18px 36px #5a301459; }
  html[data-theme="light"].has-3d header.header nav a { border-color: #17222820 !important; }
  html[data-theme="light"].has-3d header.header nav > a:not(.nav-contact), html[data-theme="light"].has-3d header.header nav .lang-switch a { color: #172228; }

  /* contact: Facebook-links netjes onder elkaar, binnen de kaart */
  .has-3d #facebook { display: flex; flex-direction: column; align-items: center; gap: 4px; }
  .has-3d #facebook .fb-sep { display: none; }
  .has-3d #facebook .text-link { max-width: 100%; white-space: normal; justify-content: center; margin-top: 4px; }
}


/* ===== telefoon: boek over de volle breedte, pijlen eronder ===== */
@media (max-width: 700px) {
  .book-frame { flex-wrap: wrap; justify-content: center; gap: 10px 14px; }
  .book-stage { flex: 1 1 100% !important; order: 0; width: 100%; aspect-ratio: 3 / 4.15 !important; max-height: none !important; }
  .book-nav { order: 1; width: 44px; height: 44px; }
  .book-page:not(.book-front):not(.book-cover)::before { content: "RADIO OCTAAF"; letter-spacing: 2.2px; right: 56px; }
  .book-home { top: 10px; right: 28px; }
  .book-page:not(.book-front) h3 { font-size: 22px; }
  .book-page:not(.book-front) p { font-size: 14px; }
}


/* licht thema op telefoon: hero-tekst op een zachte plaat zodat hij leesbaar blijft boven het mengpaneel */
@media (max-width: 700px) {
  html[data-theme="light"].has-3d .hero > div:first-child { background: rgba(250, 245, 234, .62); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-radius: 18px; padding: 18px 16px; margin: 0 -6px; box-shadow: 0 10px 30px #5a30142e; }
  html[data-theme="light"].has-3d .hero .intro { color: #101a1f; text-shadow: none; }
}

/* header-balk volledig transparant (licht + donker) */
html.has-3d header.header, html[data-theme="light"].has-3d header.header { background: transparent !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; box-shadow: none !important; border-bottom: 0 !important; }

/* geen kleur, wel een zachte vervaging onder het menu: tekst die erlangs scrolt blijft het menu niet storen */
html.has-3d header.header::before { content: ""; position: absolute; left: 0; right: 0; top: 0; bottom: -28px; z-index: -1; pointer-events: none; -webkit-backdrop-filter: blur(9px); backdrop-filter: blur(9px); -webkit-mask-image: linear-gradient(#000 0, #000 62%, transparent 100%); mask-image: linear-gradient(#000 0, #000 62%, transparent 100%); }
@media (max-width: 700px) { html.has-3d header.header::before { bottom: -14px; } }

/* prestaties: geen live-blur van grote vlakken over de bewegende 3D-scène (dat herberekent de browser elke frame).
   Achtergronden zijn daarvoor iets dichter, zodat de tekst leesbaar blijft. */
.has-3d main > section.section.wrap,
html[data-theme="light"].has-3d main > section.section.wrap,
.has-3d main > .story,
html[data-theme="light"].has-3d #verhaal,
.has-3d .airchecks-card, html[data-theme="light"].has-3d .airchecks-card,
.has-3d .prog-card, html[data-theme="light"].has-3d .prog-card,
.has-3d .ticker,
html[data-theme="light"].has-3d .hero > div:first-child { -webkit-backdrop-filter: none; backdrop-filter: none; }
.has-3d main > section.section.wrap { background: rgba(247, 243, 233, .78); }
html[data-theme="light"].has-3d main > section.section.wrap { background: rgba(250, 245, 234, .64); }
.has-3d main > .story { background: rgba(20, 32, 38, .7); }
html[data-theme="light"].has-3d #verhaal { background: rgba(250, 245, 234, .6); }
html[data-theme="light"].has-3d .airchecks-card { background: rgba(255, 253, 247, .82); }
.has-3d .prog-card { background: rgba(234, 230, 217, .82); }
html[data-theme="light"].has-3d .prog-card { background: rgba(255, 252, 244, .62); }