/* Homepage hero: full-width background video with a poster fallback, headline bottom-left, white wave into the page.
   Layers (back to front): poster image, video (fades in once it plays), shade for text contrast, copy, wave. */
.hero { position: relative; isolation: isolate; overflow: hidden; background: #08080a; color: var(--white);
  min-height: clamp(600px, calc(100svh - var(--header-h) - 42px), 1000px); display: flex; align-items: flex-end; }

.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-poster, .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.hero-video { opacity: 0; transition: opacity 0.9s var(--ease); }
.hero.has-video .hero-video { opacity: 1; }
/* Legibility: a little darker on the left where the headline sits */
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 8, 10, 0.55) 0%, rgba(8, 8, 10, 0.12) 50%, rgba(8, 8, 10, 0) 100%); }

/* Wave: two layers of white, the back one translucent, so the dark hero flows into the white page */
.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(44px, 7vw, 110px); pointer-events: none; }
.hero-wave-back { fill: rgba(255, 255, 255, 0.1); }
.hero-wave-front { fill: var(--white); }

.hero-inner { width: 100%; padding-top: clamp(40px, 6vw, 88px); padding-bottom: calc(clamp(44px, 7vw, 110px) + clamp(24px, 4vw, 56px)); }
.hero-copy { max-width: 820px; }
.hero .eyebrow { color: rgba(255, 255, 255, 0.7); margin-bottom: 18px; font-size: 11px; letter-spacing: 0.24em; }
/* Headline: medium weight, generous size but not shouting, tight tracking */
/* Headline in the style of premium sport and automotive stores: short, declarative, uppercase, two lines ending in full stops */
.hero-title { max-width: none; font-size: clamp(38px, 5.4vw, 92px); font-weight: 600; letter-spacing: -0.03em; line-height: 1; text-transform: uppercase; }
.hero-line { display: block; }
.hero-lead { max-width: 40ch; margin-top: clamp(16px, 2vw, 24px); font-size: clamp(15px, 1.2vw, 19px); line-height: 1.65; color: rgba(255, 255, 255, 0.78); }
.hero-cta { margin-top: clamp(22px, 2.6vw, 32px); }
.hero-cta .btn { min-width: 200px; }

@media (max-width: 700px) {
  .hero { min-height: min(calc(100svh - var(--header-h)), 720px); }
  .hero-shade { background: linear-gradient(0deg, rgba(8, 8, 10, 0.72) 0%, rgba(8, 8, 10, 0.2) 55%, rgba(8, 8, 10, 0) 100%); }
  .hero-cta .btn { width: 100%; }
}


/* Very wide heroes (js/hero-fit.js): show the whole photo; the sides fade into the dark background so there is no hard edge */
.hero--fit .hero-poster, .hero--fit .hero-video { object-fit: contain; }
.hero--fit .hero-media::before, .hero--fit .hero-media::after { content: ""; position: absolute; top: 0; bottom: 0; width: calc(var(--fit-side, 0px) + 90px); z-index: 1; pointer-events: none; }
.hero--fit .hero-media::before { left: 0; background: linear-gradient(90deg, #08080a calc(100% - 90px), rgba(8, 8, 10, 0)); }
.hero--fit .hero-media::after { right: 0; background: linear-gradient(270deg, #08080a calc(100% - 90px), rgba(8, 8, 10, 0)); }

/* The first screen shows only the hero; "Gemaakt voor gemak" follows below the wave with some air on top */
.hero + .section { padding-top: clamp(72px, 8vw, 128px); }
