/* Sound Stories — beweging op de homepage, /merken en de merkpagina's (rustig) en de previews (rustig en cinematisch)
   Homepage en /preview/*. Beweging komt uit assets/motion/home.js (GSAP + ScrollTrigger).
   Zonder JavaScript of met "beweging beperken" is alles gewoon zichtbaar. */

/* Dieptelagen in de hero */
.pv-rings, .pv-rings-in { position: absolute; inset: 0; pointer-events: none; }
.pv-hero-media { position: relative; z-index: 1; width: 100%; max-width: 480px; }
.pv-hero-media img { max-width: none !important; }

/* De CSS-scrollanimatie van de sfeerbeelden doet hier GSAP */
.pv .ss-sfeer img { animation: none !important; }

/* Woorden voor tekstanimaties */
.pv-wm { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .12em .16em; margin: 0 -.12em -.16em; }
.pv-wi { display: inline-block; }

/* Even wachten met tonen tot de intro start (max. 2,5 s, zie inline script) */
@media (prefers-reduced-motion: no-preference) {
  html.pv-wait #top [data-depth], html.pv-wait .pv-hero [data-depth], html.pv-wait .bp-hero [data-depth] { opacity: 0; }
}

/* Cinematisch: secties die worden vastgezet vullen het scherm */
.pv-cine-on #top,
.pv-cine-on #beleving,
.pv-cine-on section[aria-label="Belofte"],
.pv-cine-on #werkwijze { min-height: 100vh; display: flex; align-items: center; }
.pv-cine-on #top > div,
.pv-cine-on #beleving > div,
.pv-cine-on section[aria-label="Belofte"] > div,
.pv-cine-on #werkwijze > div { width: 100%; }
.pv-cine-on #werkwijze ol { position: relative; }

.pv-hero-overlay { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; text-align: center; pointer-events: none; opacity: 0;
  background: radial-gradient(ellipse at center, rgba(11, 42, 91, .55) 0%, rgba(11, 42, 91, .2) 55%, rgba(11, 42, 91, .65) 100%); }
.pv-hero-overlay strong { font-family: var(--font-serif); font-weight: 400; font-size: clamp(64px, 8vw, 128px); line-height: 1; letter-spacing: -.02em; color: var(--ink); }
.pv-hero-overlay span { font-family: var(--font-mono); font-size: 12px; line-height: 16px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent-hover); }

.pv-progress { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; }

/* Previewbalk: wisselen tussen de versies */
.pv-bar { position: fixed; left: 16px; bottom: 16px; z-index: 60; display: flex; flex-wrap: wrap; align-items: center; gap: 2px; padding: 4px; background: rgba(11, 42, 91, .9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid var(--line-strong); font-family: var(--font-mono); font-size: 11px; line-height: 16px; letter-spacing: .12em; text-transform: uppercase; }
.pv-bar span { padding: 8px 10px; color: var(--ink-subtle); }
.pv-bar a { padding: 8px 10px; color: var(--ink); text-decoration: none; }
.pv-bar a:hover { color: var(--accent-hover); }
.pv-bar a[aria-current="page"] { background: var(--accent); color: var(--on-accent); }
@media (max-width: 560px) { .pv-bar { left: 8px; right: 8px; bottom: 8px; justify-content: center; } .pv-bar span { display: none; } }

/* Cinematisch: kopbalk blijft bovenin staan */
.pv-cine-on header { position: sticky !important; top: 0; z-index: 40 !important; border-bottom-color: transparent !important; transition: background-color .5s ease, border-color .5s ease; }
.pv-cine-on header.pv-solid { background: rgba(11, 42, 91, .9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom-color: var(--line) !important; }
.pv-cine-on [id] { scroll-margin-top: 120px; }
