/* ===================================================
   CreativeByKay — Complete CSS
   Exact replica of wearebrand.io/brand structure
   =================================================== */

/* ─── 0. @font-face ─── */
@font-face {
  font-family: 'Cabinet Grotesk';
  src: url('../assets/fonts/CabinetGrotesk-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cabinet Grotesk';
  src: url('../assets/fonts/CabinetGrotesk-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cabinet Grotesk';
  src: url('../assets/fonts/CabinetGrotesk-Extrabold.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('../assets/fonts/Satoshi-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('../assets/fonts/Satoshi-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('../assets/fonts/Satoshi-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('../assets/fonts/Satoshi-Italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* ─── 0b. Accessibility & Utility ─── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.opt {
  font-size: 0.8em;
  font-weight: 400;
  opacity: 0.5;
  margin-left: 4px;
}

/* ─── 1. CSS Variables ─── */
:root {
  --cbk-teal: #039285;
  --cbk-teal-dark: #027A6F;
  --cbk-dark: #0F2F24;
  --cbk-purple: #7B578F;
  --cbk-purple-light: rgba(123,87,143,.15);
  --cbk-off-white: #EFEEE9;
  --cbk-anthracite: #242523;
  --font-heading: 'Cabinet Grotesk', sans-serif;
  --font-body: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --100vh: 100vh;
  /* Uniforme logo-grootte op alle breakpoints: matched de eerder als "mooi
     netjes" beoordeelde mobile-versie (scale 40/160 = 0.25). */
  --header-logo-target: 40px;
  /* Focus ring */
  --cbk-focus-ring: 0 0 0 3px rgba(3,146,133,.5);
}

/* ─── 2. Global Reset ─── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  height: auto;
  scroll-behavior: auto;
}
html.lenis { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-scrolling iframe { pointer-events: none; }

body {
  font-family: var(--font-body);
  background: var(--cbk-dark);
  color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
body, input, select, textarea, button {
  font-family: var(--font-body);
}

/* Skip-link voor toetsenbordgebruikers */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--cbk-teal);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 0 0 6px 6px;
  font-size: 14px;
  font-weight: 600;
  z-index: 9999;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* Selection */
::selection { color: #fff; background: var(--cbk-teal); }
::-moz-selection { color: #fff; background: var(--cbk-teal); }

/* Subtle branded scrollbar */
::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-track { background: rgba(255,255,255,.03); }
::-webkit-scrollbar-thumb { background: rgba(3,146,133,.35); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(3,146,133,.6); }

/* Links */
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* Autofill reset for dark backgrounds */
input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px rgba(15,15,25,.75) inset;
  -webkit-text-fill-color: #fff;
  caret-color: #fff;
  transition: background-color 9999s ease-in-out 0s;
}

/* ─── 3. Typography ─── */
.h2 { font-family: var(--font-heading); font-size: clamp(36px, 5vw, 72px); font-weight: 700; line-height: 1.05; }
.h3 { font-family: var(--font-heading); font-size: clamp(28px, 3.5vw, 48px); font-weight: 700; line-height: 1.15; }
.h4 { font-family: var(--font-heading); font-size: clamp(22px, 2.5vw, 36px); font-weight: 600; line-height: 1.2; }
.p2 { font-family: var(--font-heading); font-size: clamp(20px, 2.8vw, 36px); font-weight: 500; line-height: 1.4; }
.p5 { font-family: var(--font-heading); font-size: clamp(16px, 1.6vw, 24px); font-weight: 500; line-height: 1.3; }
.p6 { font-size: 16px; line-height: 1.6; font-weight: 400; }
.p7 { font-size: 15px; line-height: 1.65; font-weight: 400; }
.l1 { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; font-weight: 500; }
.t7 { font-size: 14px; font-weight: 500; }
/* Hero title — compact, understated */
.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(16px, 2vw, 28px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
  padding: 0;
}
.text-light { color: #fff; }
.text-gray { color: rgba(255,255,255,.5); }
.a-right { text-align: right; }
.a-center { text-align: center; }

/* ─── 4. Container & Layout ─── */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}
@media (max-width: 767px) { .container { padding: 0 20px; } }

.section { position: relative; min-height: 100vh; }
/* .clip HAS GEEN overflow rule — op sommige browsers (iOS Safari, narrow
   desktop-vensters) breekt zelfs `overflow-x: clip` de position:sticky
   van descendants. Horizontale overflow wordt al gevangen door
   body { overflow-x: hidden }. */
.clip { }
.fill { height: 100%; }

/* ─── 5. Preloader (2-phase animation matching wearebrand.io) ─── */
.preloader {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 9999;
  overflow: hidden;
}
.preloader.is-done {
  pointer-events: none;
}
/* Gradient background with globe mask */
.preloader_bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  -webkit-mask-image: url('../assets/images/globe-mask.webp');
  mask-image: url('../assets/images/globe-mask.webp');
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: 50% 0%;
  mask-position: 50% 0%;
  -webkit-mask-size: 100% 200%;
  mask-size: 100% 200%;
}
.preloader_bg_grad {
  width: 100%; height: 100%;
  background: linear-gradient(180deg, var(--cbk-anthracite) 0%, #0F2F24 50%, var(--cbk-anthracite) 100%);
}
/* Logo info layer — centered on top of bg */
.preloader_info {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.preloader_info_c {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160px;
}
/* Beeldmerk icon — large, centered */
.preloader_icon {
  height: 160px;
  width: auto;
}

/* ─── 6. BACKGROUND LAYER (sky-bg) — FIXED behind all content ─── */
/* Architecture:
   - sky-bg_about (blue sky) = ALWAYS visible as base layer
   - sky-bg_hero (earth/space) = sits ON TOP, GSAP translates it upward
     on scroll to reveal the blue sky beneath
   Flow: heelal (top) → aardbol (middle) → blauwe lucht (bottom via reveal) */
.sky-bg {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

/* ── Bottom layer: Brand background image (Landing V2) ──
   De achtergrond is een <img> (geen CSS background-image) zodat we hem
   via transform: translate3d() kunnen pannen op de compositor thread.
   background-position op een groot beeld = paint-werk = glitches. */
.sky-bg_about {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 1;
  overflow: hidden;
  background-color: #0F2F24; /* fallback tijdens img-load */
}
.sky-bg_about_img {
  position: absolute;
  top: 0;
  left: 50%;
  width: 100%;
  min-width: 100%;
  height: auto;
  transform: translate3d(-50%, 0, 0);
  image-rendering: -webkit-optimize-contrast;
  pointer-events: none;
  display: block;
}
@media (min-width: 992px) {
  .sky-bg_about_img {
    will-change: transform;
  }
}
/* 250% height fallback — ALLEEN voor landscape-ish narrow viewports.
   Op portrait mobile-viewports laadt <picture> nu achtergrond-mobile.webp
   (532x1646, aspect 0.32) die NATURAL op width:100%/height:auto past.
   Die zoom is niet nodig omdat de mobile-image zelf de juiste compositie
   heeft. We beperken de oude 250%-regel daarom tot non-portrait viewports
   zodat Kay's mobile-bg niet kunstmatig wordt opgeblazen.
   Gevolg: purple wolken + K worden op mobiel zichtbaar tijdens hero-scroll
   via de scope-to-hero parallax in main.js initBackgroundZoom. */
@media (max-width: 991px) and (min-aspect-ratio: 3/4) {
  .sky-bg_about_img {
    width: auto;
    height: 250%;
    min-width: 100%;
    max-width: none;
  }
}

/* ── sky-bg_hero: removed from HTML — no CSS needed ── */


/* ─── 7. Header ─── */
.header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 100;
  padding: 10px 0;
  transition: color .4s ease, background .4s ease, padding .4s ease;
  background: transparent;
}
.header.is-scrolled {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 6px 0;
}
.header.is-hidden {
  pointer-events: none;
}
.link-logo {
  will-change: transform;
  visibility: hidden;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.header_c {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}
.header_logo {
  display: flex; align-items: center; justify-content: flex-start;
  margin-left: -82px; /* compensate GSAP scale(0.32) center-origin offset on 160px beeldmerk */
  /* Mag krimpen onder druk: layout-box geeft ruimte aan hamburger.
     De link-logo binnenin behoudt z'n natuurlijke breedte (flex-shrink:0)
     en valt visueel buiten deze parent — geen probleem want GSAP-transform
     maakt de zichtbare footprint klein, en overflow staat default op visible. */
  min-width: 0;
}
.header_logo a {
  display: flex; align-items: center;
  min-width: 0;
}
.header-beeldmerk,
.header-woordmerk,
.header-woordmerk-img {
  flex-shrink: 0;
}
.header-beeldmerk {
  height: 160px;
  width: auto;
  /* filter weggehaald: gebruikte brightness(0) invert(1) om off-white
     beeldmerk-white.svg naar pure wit te forceren. CSS-filter + continue
     transform + will-change veroorzaakt GPU-compositor ghosting tijdens
     snel scrollen ("meerdere beeldmerken in het verloop"). We gebruiken
     nu beeldmerk-pure-white.svg (fill #ffffff) direct — geen filter nodig. */
}
.header-woordmerk {
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  white-space: nowrap;
  max-width: 0;
  opacity: 0;

}
.header-woordmerk-img {
  /* Uniforme natuurlijke hoogte: GSAP-scale is nu uniform 0.25, dus 9.98em is
     overal de juiste waarde om dezelfde visuele grootte te behouden als de
     compacte mobile-versie waar de user voor koos. Geen breakpoint-overrides
     meer nodig. */
  height: 9.98em;
  width: auto;
  filter: brightness(0) invert(1);
}
.header_cta {
  display: flex; align-items: center; gap: 32px;
}
.header_cta .nav-item {
  display: inline-flex; align-items: center;
  padding: 4px 0;
  transition: opacity .3s;
  color: #fff;
}
.header_cta .nav-item--bold {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .02em;
}
.header_cta .nav-item:hover { opacity: .7; }

/* ─── Header navigation (desktop) — removed, replaced by contact info ─── */
.header_nav {
  display: none;
}
.nav-item--cta {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: var(--cbk-teal);
  border: 1px solid rgba(3,146,133,.5);
  border-radius: 100px;
  padding: 6px 20px;
  transition: all .3s;
}
.nav-item--cta:hover {
  background: rgba(3,146,133,.15);
  border-color: var(--cbk-teal);
  color: #fff;
}

/* ─── Hamburger button ─── */
.header-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 101;
  flex-shrink: 0; /* nooit comprimeren — anders verdwijnt 'ie bij smalle viewport */
}
.header-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all .3s cubic-bezier(.4,0,.2,1);
}
.header-hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.header-hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.header-hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ─── Mobile nav overlay ─── */
.mobile-nav {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(5, 5, 5, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s cubic-bezier(.4,0,.2,1), visibility .4s;
}
.mobile-nav.is-open {
  opacity: 1;
  visibility: visible;
}
.mobile-nav-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}
.mobile-nav-link {
  font-family: var(--font-heading);
  font-size: clamp(32px, 9vw, 52px);
  font-weight: 700;
  color: rgba(255,255,255,.85);
  transition: color .3s;
  display: block;
}
.mobile-nav-link:hover { color: var(--cbk-teal); }
.mobile-nav-link--accent {
  color: var(--cbk-teal);
  font-weight: 800;
  letter-spacing: .02em;
}
.mobile-nav-link--accent:hover { color: #fff; }

/* Verberg de header-logo zolang de mobile-nav open staat —
   anders valt hij samen met het grote menu en dat oogt druk.
   !important nodig omdat GSAP opacity: 1 inline zet op #linkLogo
   tijdens de hero scroll-animatie (main.js initHeroAnimations). */
body.nav-open .header .link-logo {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none;
  transition: opacity .25s ease;
}
/* Idem voor de gemigreerde hero-beeldmerk (zit op z:101, dus boven .mobile-nav
   z:99). GSAP animeert opacity dus !important nodig. */
body.nav-open #heroBeeldmerk {
  opacity: 0 !important;
  visibility: hidden !important;
  transition: opacity .25s ease;
}
.mobile-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 100px;
  margin-top: 12px;
  transition: all .3s;
}
.mobile-nav-cta:hover {
  background: #1ebe5a;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37,211,102,.3);
}

/* ─── Responsive header behavior ─── */
/* .header-beeldmerk height blijft 160px op alle breakpoints.
   --header-logo-target staat op 40px op ALLE breakpoints (zie :root), dus
   GSAP-scale is uniform 0.25 → desktop matched de compactere mobile-look. */

@media (max-width: 991px) {
  .header_nav { display: none; }
  .header_cta { display: none !important; }
  .header-hamburger { display: flex; }
}

/* ─── 8. Main Content Area ─── */
.transition-container {
  position: relative;
  z-index: 1;
  /* Geen overflow — zelfs `overflow-x:clip` kan sticky-descendants breken
     op iOS Safari en in narrow vensters. body { overflow-x: hidden } vangt
     horizontale animatie-overflow al op. */
}
.intro_scroll-area {
  height: auto;
}

/* ─── 9. Hero Section ─── */
.hero_scroll-area {
  position: relative;
  /* STABILE hoogte: --100vh wordt door JS bijgehouden als max-gezien viewport
     height (groeit alleen). Bewust GÉÉN 100dvh hier — die fluctueert tijdens
     iOS Safari URL-bar toggles, waardoor ScrollTrigger's end-positie schuift
     mid-scroll. .hero-w (de sticky child) gebruikt wél 100dvh om de viewport
     visueel te vullen, dus we verliezen niets in look-and-feel. */
  height: calc(var(--100vh, 100vh) * 3);
  background: transparent;
}
.hero-w {
  position: sticky;
  top: 0;
  /* Eén bron van waarheid: 100dvh volgt de dynamische viewport. Voorkomt
     layout-spring op iOS Safari wanneer de URL-bar toggled. */
  height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden; /* clip scaled spaceship at edges */
  background: transparent;
  contain: layout paint;
}
.hero-s {
  position: relative;
  z-index: 2;
  padding: 0;
}
.hero-s_container {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100dvh;
  padding-bottom: 36px;
  position: relative;
}
@media (max-width: 767px) {
  .hero-s_container {
    justify-content: flex-end;
    padding-bottom: 20px;
  }
}
@media (max-width: 480px) {
  .hero-s_container {
    padding-bottom: 20px;
  }
  .hero-title {
    font-size: clamp(22px, 6vw, 30px);
    letter-spacing: -0.01em;
  }
}
/* ─── Hero contact info (in header, right side) ─── */
.hero-contact-info {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}
.hero-contact-link {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .02em;
  color: rgba(255,255,255,.75);
  transition: color .3s;
}
.hero-contact-link:hover {
  color: #fff;
}
/* IMPACT button — slightly smaller for header */
.btn-cta-impact {
  height: 40px;
  padding: 4px 44px 4px 16px;
  font-size: 13px;
}
.btn-cta-impact:hover {
  padding: 4px 16px 4px 44px;
}
@media (max-width: 991px) {
  .hero-contact-info { display: none; }
}
.hero_grid {
  /* flex-end on parent handles bottom alignment */
}
@media (max-width: 767px) { .hero-s { padding: 0 0 20px; } }
@media (max-width: 480px) { .hero-s { padding: 0 0 12px; } }

/* ─── Hero badge pill ─── */
.hero-badge {
  display: none;
}
.hero-badge-sep {
  color: var(--cbk-teal);
  font-size: 14px;
  line-height: 1;
}

/* ─── Centered beeldmerk in porthole ─── */
.hero-beeldmerk {
  position: fixed; /* viewport-vast: blijft na migratie op header-positie staan */
  inset: 0;
  z-index: 101;    /* boven .header (z:100) — pointer-events:none laat clicks door */
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 1; /* hero-beeldmerk is nu het zichtbare logo dat naar header migreert */
}
.hero-beeldmerk_img {
  height: 160px;
  width: auto;
  /* Sizes matchen getPortholeScale() in main.js: linkLogo basis=160px × scale.
     Zo blijft hero-beeldmerk exact even groot als het migrerende header-logo
     op elke breakpoint. */
}
@media (max-width: 991px) { .hero-beeldmerk_img { height: 136px; } }   /* 160 × 0.85 */
@media (max-width: 767px) { .hero-beeldmerk_img { height: 115.2px; } } /* 160 × 0.72 */

/* Hero window overlay (inner circle glow) */
.hero-w_bg_window {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.hero-w_bg_window_w {
  position: relative;
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
}
.hero-w_bg_window_c {
  position: relative;
}
.hero-w_bg_window_knob {
  position: relative;
}
.hero-w_bg_window_bg_wrap {
  position: relative;
}
.hero-w_bg_window_bg {
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15,147,134,.08) 0%, transparent 70%);
}

/* Hero background layers */
.hero-w_bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  transform-origin: center center;
  will-change: transform;
  backface-visibility: hidden;
  transform: scale(1);
}

/* hero_overlay vignette — REMOVED per user request */
.hero_overlay {
  display: none;
}
.hero-w_bg_front {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 2;
}
.hero-w_bg_front .img-w {
  width: 100%; height: 100%;
}
.hero-w_bg_front .img-w img {
  width: 100%; height: 100%;
  object-fit: cover;
  /* center center: houdt de porthole altijd op viewport-centrum, ongeacht
     aspect. Bij ultrawide schermen zakte de porthole met 'center top'
     onder het midden waardoor het K-logo (GSAP-gecentreerd op viewport
     center) buiten de porthole viel. */
  object-position: center center;
}

/* Hero title grid — title sits directly above the subtitle */
.hero_grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  width: 100%;
  margin-bottom: 0;
  padding-top: 0;
}
.hero-s_title-l .h2,
.hero-s_title-r .h2 {
  opacity: 1;
}

/* Hero Bottom */
.hero-s_bot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-top: 0;
  padding-top: 0;
}
.hero-s_bot_desc {
  /* no max-width — subtitle stays on one line */
}
#cbk-hero-tagline {
  visibility: hidden;
  margin-bottom: 1rem;
}
.hero_subtitle {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 11px;
  opacity: .75;
  letter-spacing: .01em;
  margin: 4px 0 0 0;
  padding: 0;
  white-space: nowrap;
}
@media (max-width: 767px) {
  .hero_subtitle {
    white-space: normal;
    font-size: 10px;
    line-height: 1.5;
  }
}
.hero_line-divider {
  display: none; /* removed per user request */
}

/* Scroll indicator */
.hero-s_bot_scroll {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
  text-align: right;
}
.hero_scroll-line {
  display: none;
}
.wab-scroll-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: .7;
}
.wab-scroll-icon svg {
  color: rgba(255,255,255,.85);
}
.wab-scroll-dot {
  animation: wabScrollBounce 2s cubic-bezier(.45,0,.55,1) infinite;
}
@keyframes wabScrollBounce {
  0%, 100% { cy: 12; opacity: 1; }
  50% { cy: 28; opacity: .3; }
}
.wab-scroll-icon svg rect {
  animation: wabScrollGlow 3s ease-in-out infinite;
}
@keyframes wabScrollGlow {
  0%, 100% { opacity: .35; }
  50% { opacity: .7; }
}
.scroll_link {
  display: flex;
  align-items: center;
  gap: 8px;
}
@media (max-width: 991px) {
  .hero-s_bot { flex-direction: column; align-items: flex-start; }
  .hero-s_bot_scroll { display: none; }
}

/* ─── 10. About Section ─── */
.about-section {
  position: relative;
  z-index: 1;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.about-w {
  position: relative;
}
.about-s_lead-text {
  max-width: 800px;
  padding: 120px 0 64px;
  margin: 0 auto;  /* center the block */
}
.about-s_lead-text .p2 {
  color: #fff;
}

/* ─── MagicText — word-by-word scroll reveal ─── */
.magic-text-section {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.magic-text {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  line-height: 1.15;
  padding: 8px;
  font-family: var(--font-heading);
  font-size: clamp(32px, 4.5vw, 58px);
  font-weight: 800;
}
@media (max-width: 767px) {
  .magic-text {
    font-size: clamp(24px, 7vw, 38px);
    padding: 8px 4px;
    line-height: 1.2;
  }
}

.magic-word {
  position: relative;
  margin-right: 0.2em;
  margin-top: 0.15em;
  display: inline-block;
}

/* Forces a line break in the flexbox magic-text container */
.magic-line-break {
  flex-basis: 100%;
  height: 0;
}
/* Responsive magic-text breaks:
   - Desktop (≥768px): alleen de defaults + `--desktop` breaks renderen
     → 3 regels: "Jouw gevoel, jouw verhaal" / "ik maak het zichtbaar," /
       "onvergetelijk en consistent."
   - Mobile (≤767px): alleen defaults + `--mobile` breaks renderen
     → 5 regels, originele copy-structuur. */
@media (min-width: 768px) {
  .magic-line-break.magic-break--mobile { display: none; }
}
@media (max-width: 767px) {
  .magic-line-break.magic-break--desktop { display: none; }
}

.magic-word-ghost {
  opacity: 0.15;
  color: #fff;
  user-select: none;
  -webkit-user-select: none;
}

.magic-word-reveal {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  color: #fff;
  opacity: 0;
  will-change: opacity;
}

/* ─── 11. Contact Form ─── */
.wab-contact-wrap {
  padding: 96px 0 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 640px;
  margin: 0 auto;
  gap: 24px;
}
.wab-contact-header {
  text-align: center;
  width: 100%;
}
.wab-contact-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 800;
  line-height: 1.05;
  color: #fff;
  letter-spacing: -0.02em;
  margin-top: 12px;
}
.wab-contact-desc {
  font-size: 15px;
  color: rgba(255,255,255,.55);
  margin-top: 12px;
  line-height: 1.6;
}
.wab-contact-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.wab-contact-footer a,
.wab-contact-footer span {
  font-size: 13px;
  color: rgba(255,255,255,.35);
  transition: color .3s;
}
.wab-contact-footer a:hover {
  color: rgba(255,255,255,.7);
}
.wab-contact-sep {
  color: rgba(255,255,255,.15);
  font-size: 13px;
}
.wab-contact-details {
  margin-top: 1.8em;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.wab-contact-detail {
  display: flex;
  align-items: center;
  gap: 16px;
}
.wab-contact-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.wab-contact-icon svg {
  width: 16px; height: 16px;
  stroke: rgba(255,255,255,.6);
  fill: none;
  stroke-width: 1.5;
}
.detail-label {
  font-size: 11px; font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,.85);
  margin-bottom: 2px;
}
.detail-value {
  font-size: 14px;
  color: rgba(255,255,255,.5);
}
.detail-value a {
  color: rgba(255,255,255,.5);
  text-decoration: none;
  transition: color .3s;
}
.detail-value a:hover { color: #fff; }

/* Connected pill */
.wab-connected-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 100px;
  margin-bottom: 14px;
}
.wab-connected-dot {
  width: 13px; height: 13px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.25);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wab-connected-dot::after {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,.3);
  animation: contactGreenPulse 2s ease-in-out infinite;
}
@keyframes contactGreenPulse {
  0%, 100% { background: rgba(255,255,255,.3); box-shadow: none; }
  50% { background: #34D399; box-shadow: 0 0 6px #34D399, 0 0 14px rgba(52,211,153,.5); }
}
.wab-connected-pill span {
  font-size: 11px; font-weight: 500;
  color: rgba(255,255,255,.5);
}

/* Form card */
.wab-form-card {
  position: relative;
  background: rgba(15,15,25,.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px;
  padding: 28px 28px;
  box-shadow: 0 8px 32px rgba(0,0,0,.4), 0 0 80px rgba(43,185,163,.06);
  overflow: hidden;
}
.wab-form-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(43,185,163,.5), transparent);
}
.form-title {
  font-family: var(--font-heading);
  font-size: 20px; font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
}
.form-sub {
  font-size: 13px;
  color: rgba(255,255,255,.5);
  line-height: 1.5;
  margin-bottom: 18px;
}

/* WhatsApp CTA */
.wab-wa-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  width: 100%;
  background: linear-gradient(135deg, rgba(37,211,102,.06), rgba(37,211,102,.02));
  border: 1px solid rgba(37,211,102,.18);
  border-radius: 14px;
  cursor: pointer;
  transition: all .3s ease;
}
.wab-wa-cta:hover {
  background: linear-gradient(135deg, rgba(37,211,102,.12), rgba(37,211,102,.04));
  border-color: rgba(37,211,102,.35);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(37,211,102,.1);
}
.wab-wa-icon {
  width: 38px; height: 38px;
  background: #25D366;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.wab-wa-icon svg {
  width: 18px; height: 18px;
  fill: #fff;
}
.wab-wa-label { font-size: 15px; font-weight: 600; color: #fff; }
.wab-wa-arrow {
  margin-left: auto;
  color: rgba(255,255,255,.2);
  font-size: 18px;
  transition: all .3s;
}
.wab-wa-cta:hover .wab-wa-arrow { transform: translateX(3px); color: #25D366; }

/* Direct mail CTA — zelfde layout als WhatsApp, teal tinten */
.wab-mail-cta {
  margin-top: 10px;
  background: linear-gradient(135deg, rgba(3,146,133,.08), rgba(3,146,133,.02));
  border: 1px solid rgba(3,146,133,.22);
  text-decoration: none;
}
.wab-mail-cta:hover {
  background: linear-gradient(135deg, rgba(3,146,133,.14), rgba(3,146,133,.04));
  border-color: rgba(3,146,133,.4);
  box-shadow: 0 6px 24px rgba(3,146,133,.12);
}
.wab-mail-cta .wab-mail-icon {
  background: var(--cbk-teal, #039285);
}
.wab-mail-cta .wab-mail-icon svg {
  width: 18px; height: 18px;
  stroke: #fff;
  fill: none;
}
.wab-mail-cta:hover .wab-wa-arrow { color: var(--cbk-teal, #039285); }
@media (max-width: 600px) {
  .wab-mail-cta .wab-wa-label {
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

/* Form divider */
.wab-form-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.wab-form-divider::before,
.wab-form-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,.08);
}
.wab-form-divider span {
  font-size: 11px;
  color: rgba(255,255,255,.3);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 500;
}

/* Form fields */
.wab-form { display: flex; flex-direction: column; gap: 12px; }
.wab-form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.wab-field { display: flex; flex-direction: column; gap: 4px; }
.wab-label { font-size: 12px; font-weight: 500; color: rgba(255,255,255,.85); }
.wab-label .req { color: #ff6b6b; }
.wab-input, .wab-select {
  padding: 10px 14px;
  background: rgba(255,255,255,.05);
  border: 1.5px solid rgba(255,255,255,.1);
  border-radius: 10px;
  color: #fff;
  font-size: 13px;
  font-family: inherit;
  transition: all .3s ease;
  outline: none;
  width: 100%;
}
.wab-input::placeholder { color: rgba(255,255,255,.25); }
.wab-input:focus, .wab-select:focus {
  border-color: rgba(43,185,163,.5);
  background: rgba(255,255,255,.08);
  box-shadow: 0 0 0 3px rgba(43,185,163,.1);
}
.wab-input.error, .wab-select.error { border-color: #ff6b6b; }
.wab-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.4)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}
.wab-select option { background: #1a1a2e; color: #fff; }

/* Chips */
.wab-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 3px; }
.wab-chip {
  padding: 10px 16px;
  min-height: 40px;
  border: 1.5px solid rgba(255,255,255,.12);
  border-radius: 100px;
  font-size: 13px;
  color: var(--cbk-teal);
  cursor: pointer;
  transition: all .25s;
  user-select: none;
  display: inline-flex;
  align-items: center;
}
.wab-chip:hover { border-color: rgba(255,255,255,.3); color: rgba(255,255,255,.9); }
.wab-chip.active {
  background: rgba(43,185,163,.15);
  border-color: rgba(43,185,163,.5);
  color: #2BB9A3;
}

/* Field errors */
.wab-field-error { font-size: 12px; color: #ff6b6b; display: none; }
.wab-field-error.show { display: block; }
.wab-textarea {
  resize: vertical;
  min-height: 100px;
  font-family: var(--font-body);
  line-height: 1.5;
}
.wab-error-banner {
  display: none;
  background: rgba(255,107,107,.1);
  border: 1px solid rgba(255,107,107,.3);
  border-radius: 12px;
  padding: 10px 14px;
  color: #ff6b6b;
  font-size: 13px;
  font-weight: 500;
}
.wab-error-banner.show { display: block; }

/* Submit button */
.wab-submit-btn {
  width: 100%;
  padding: 12px 20px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--cbk-teal) 0%, var(--cbk-teal-dark) 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all .3s ease;
  margin-top: 2px;
}
.wab-submit-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(15,147,134,.3);
}
.wab-submit-btn:disabled { opacity: .6; cursor: not-allowed; }

/* Success */
.wab-success {
  display: none;
  text-align: center;
  padding: 40px 36px;
  min-height: 420px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.wab-success.show { display: flex; }
.wab-success-icon {
  width: 80px; height: 80px;
  background: linear-gradient(135deg, var(--cbk-teal), var(--cbk-teal-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  box-shadow: 0 0 40px rgba(15,147,134,.4);
}
.wab-success-icon svg {
  width: 40px; height: 40px;
  stroke: #fff;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}
.wab-success-title { font-size: 26px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.wab-success-msg { font-size: 15px; color: rgba(255,255,255,.6); line-height: 1.6; }

/* Contact responsive */
@media (max-width: 991px) {
  .wab-contact-wrap { padding: 56px 0 40px; max-width: 100%; }
}
@media (max-width: 767px) {
  .wab-form-card { padding: 22px 20px; border-radius: 16px; }
  .wab-success { padding: 22px 16px; min-height: 300px; }
  .wab-form-grid { grid-template-columns: 1fr; }
}

/* ─── 12. Logo Carousel + CTA Section ───
   Desktop: 3-koloms grid met VERTICALE carousel (origineel).
   Mobile: stacked met HORIZONTALE carousel (zie media-query onderaan sectie 37). */
.wc-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 40px 100px;
  gap: 20px;
}
.wc-label {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 800;
  line-height: 1.05;
  color: #fff;
  margin-bottom: 12px;
  text-transform: none;
  letter-spacing: -0.02em;
  text-align: center;
}
.wc-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  width: 100%;
}
.wc-brand {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.wc-brand-logo {
  height: 72px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 1;
  display: block;
}
.wc-x { display: flex; align-items: center; justify-content: center; }
.wc-x-logo {
  height: 42px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: .7;
  display: block;
}
.wc-content {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.wc-mask {
  height: 14em;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  -webkit-mask-image: url('../assets/images/city-mask.webp');
  mask-image: url('../assets/images/city-mask.webp');
  -webkit-mask-size: cover;
  mask-size: cover;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
.wc-cms {
  height: 90px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  will-change: transform;
}
.wc-item {
  padding: 16px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-origin: center center;
  will-change: opacity, transform;
}
/* Company logo images — base size calibrated to STEAEL & Content Lease */
.wc-logo-img {
  height: 66px;
  width: auto;
  max-width: 380px;
  filter: brightness(0) invert(1);
  display: block;
}
/* Scale logos with taller aspect ratios so they visually match STEAEL/Content Lease width (~150px) */
/* GrillNest, Jorda, SuperSauna: ratio ~2:1 → need ~75px height for ~150px width */
.wc-item[data-brand="grillnest"] .wc-logo-img,
.wc-item[data-brand="jorda"] .wc-logo-img,
.wc-item[data-brand="supersauna"] .wc-logo-img {
  height: 110px;
}
/* OpHeteKolen: ratio ~1.5:1 → need ~120px height */
.wc-item[data-brand="ophetekolen"] .wc-logo-img {
  height: 120px;
}
/* VerdeFlora, Glazenwandenspecialist: ratio ~2.1:1 → need ~105px height */
.wc-item[data-brand="verdeflora"] .wc-logo-img,
.wc-item[data-brand="glazenwandenspecialist"] .wc-logo-img {
  height: 105px;
}
/* FlipTheG: ratio ~1.1:1 (near square) → need ~95px height */
.wc-item[data-brand="fliptheg"] .wc-logo-img {
  height: 95px;
}
/* CheckMyDeal: ratio ~3:1 → need ~75px height */
.wc-item[data-brand="checkmydeal"] .wc-logo-img {
  height: 75px;
}

/* ─── 13. CTA Button — Sliding Icon (inline, centered below carousel) ─── */
.wc-section .cta_c {
  margin-top: 24px;
}
.cta_c {
  display: flex;
  align-items: center;
  justify-content: center;
}
.btn-cta-slide {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 48px;
  padding: 6px 52px 6px 22px; /* room for icon on right */
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 100px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  overflow: hidden;
  transition: padding .5s cubic-bezier(.4,0,.2,1), box-shadow .3s, background .3s;
  box-shadow: 0 6px 14px rgba(0,0,0,.15);
  text-decoration: none;
  white-space: nowrap;
}
/* Only animate slide effect on devices that truly hover (desktop w/ mouse) */
@media (hover: hover) and (pointer: fine) {
  .btn-cta-slide:hover {
    padding: 6px 22px 6px 52px; /* shift text right */
    box-shadow: 0 10px 24px rgba(0,0,0,.15);
  }
  .btn-cta-slide:hover .btn-cta-slide_icon {
    right: calc(100% - 43px); /* slide to left */
    transform: translateY(-50%) rotate(45deg);
  }
}
.btn-cta-slide_text {
  position: relative;
  z-index: 2;
  transition: all .5s cubic-bezier(.4,0,.2,1);
}
.btn-cta-slide_icon {
  position: absolute;
  top: 50%;
  right: 5px;
  width: 38px;
  height: 38px;
  background: var(--cbk-teal-dark);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  transition: right .5s cubic-bezier(.4,0,.2,1), transform .5s cubic-bezier(.4,0,.2,1);
}
.btn-cta-slide_icon svg {
  width: 14px;
  height: 14px;
}

/* ─── 14. Popup Modal ─── */
.popup_overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s, visibility .4s;
}
.popup_overlay.is-active { opacity: 1; visibility: visible; }

.popup_modal {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(.95);
  width: 90%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  background: linear-gradient(145deg, #0F2F24, #0a1a1e);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 24px;
  padding: 40px 36px;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s, visibility .4s, transform .4s;
}
.popup_modal.is-active {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}
.popup_close {
  position: absolute;
  top: 16px; right: 16px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  border: none;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .3s;
}
.popup_close:hover { background: rgba(255,255,255,.2); }

.popup_title { font-family: var(--font-heading); font-size: 28px; font-weight: 700; margin-bottom: 24px; }

.popup_form { display: flex; flex-direction: column; gap: 18px; }
.popup_input {
  padding: 13px 16px;
  background: rgba(255,255,255,.05);
  border: 1.5px solid rgba(255,255,255,.1);
  border-radius: 12px;
  color: #fff;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color .3s;
  width: 100%;
}
.popup_input::placeholder { color: rgba(255,255,255,.25); }
.popup_input:focus { border-color: rgba(43,185,163,.5); }

.popup_checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: rgba(255,255,255,.5);
}
.popup_checkbox input { accent-color: var(--cbk-teal); }
.popup_checkbox a { color: var(--cbk-teal); text-decoration: underline; }

.popup_submit {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, var(--cbk-teal), var(--cbk-teal-dark));
  border: none;
  border-radius: 12px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all .3s;
}
.popup_submit:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(15,147,134,.3); }

.popup_success {
  display: none;
  text-align: center;
  padding: 40px 0;
}
.popup_success.show { display: block; }
.popup_success h3 { font-size: 24px; margin-bottom: 8px; }
.popup_success p { color: rgba(255,255,255,.6); }

/* ─── 15. Slide-to-Send Button ─── */
.slide-btn {
  position: relative;
  width: 100%;
  height: 52px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 100px;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
  margin-top: 6px;
  transition: background .3s, border-color .3s;
}
.slide-btn:hover {
  border-color: rgba(15,147,134,.4);
}
/* Teal fill that tracks the handle position */
.slide-btn_fill {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 52px;
  background: linear-gradient(90deg, rgba(15,147,134,.25), rgba(15,147,134,.08));
  border-radius: 100px;
  transition: width .08s linear;
  pointer-events: none;
}
/* The draggable handle */
.slide-btn_handle {
  position: absolute;
  top: 4px; left: 4px;
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--cbk-teal), var(--cbk-teal-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: grab;
  z-index: 3;
  box-shadow: 0 4px 16px rgba(15,147,134,.35), 0 0 0 0 rgba(15,147,134,.3);
  transition: box-shadow .3s, transform .15s;
  will-change: transform;
}
.slide-btn_handle:active {
  cursor: grabbing;
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(15,147,134,.45), 0 0 0 6px rgba(15,147,134,.1);
}
.slide-btn_handle svg {
  pointer-events: none;
}
/* Hint text in the track */
.slide-btn_text {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-heading);
  letter-spacing: .02em;
  color: rgba(255,255,255,.35);
  white-space: nowrap;
  pointer-events: none;
  z-index: 1;
  transition: opacity .3s;
}
/* Status overlay (loading / success) */
.slide-btn_status {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s;
}
.slide-btn_spinner,
.slide-btn_check {
  display: none;
  color: #fff;
}
/* States */
.slide-btn.is-loading {
  background: linear-gradient(135deg, var(--cbk-teal), var(--cbk-teal-dark));
  border-color: var(--cbk-teal);
}
.slide-btn.is-loading .slide-btn_handle,
.slide-btn.is-loading .slide-btn_text {
  opacity: 0;
  pointer-events: none;
}
.slide-btn.is-loading .slide-btn_fill {
  width: 100% !important;
  background: transparent;
}
.slide-btn.is-loading .slide-btn_status {
  opacity: 1;
}
.slide-btn.is-loading .slide-btn_spinner {
  display: block;
  animation: slide-spin 0.7s linear infinite;
}
.slide-btn.is-success {
  background: linear-gradient(135deg, #0d9b63, #0a7e50);
  border-color: #0d9b63;
}
.slide-btn.is-success .slide-btn_handle,
.slide-btn.is-success .slide-btn_text {
  opacity: 0;
  pointer-events: none;
}
.slide-btn.is-success .slide-btn_fill {
  width: 100% !important;
  background: transparent;
}
.slide-btn.is-success .slide-btn_status {
  opacity: 1;
}
.slide-btn.is-success .slide-btn_check {
  display: block;
  animation: slide-pop .35s cubic-bezier(.4,0,.2,1);
}
.slide-btn.is-error {
  background: rgba(220,38,38,.15);
  border-color: rgba(220,38,38,.5);
}
.slide-btn.is-error .slide-btn_text {
  color: rgba(220,38,38,.8);
}

@keyframes slide-spin {
  to { transform: rotate(360deg); }
}
@keyframes slide-pop {
  0% { transform: scale(0); opacity: 0; }
  60% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

/* Pulse animation on the handle to hint draggability */
.slide-btn:not(.is-loading):not(.is-success) .slide-btn_handle {
  animation: slide-pulse 2.5s ease-in-out infinite;
}
@keyframes slide-pulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(15,147,134,.35), 0 0 0 0 rgba(15,147,134,.3); }
  50% { box-shadow: 0 4px 16px rgba(15,147,134,.35), 0 0 0 8px rgba(15,147,134,.08); }
}

/* ─── 16. Mobile responsive ─── */
/* hero_scroll-area blijft 3×100vh op ALLE breakpoints — de GSAP-timeline
   rekent hierop. Mobile 2× brak de logo-migratie (te weinig scroll-afstand).
   sky-bg_about blijft 100% op alle screens; background-position panning
   werkt via de JS ticker (zie initBackgroundZoom). */

/* Oude mobile-only sticky-fix verwijderd: alle overflow clipping in de
   hero-ancestor-keten is nu global weg (zie .clip en .transition-container
   regels hierboven) zodat sticky overal werkt. */

@media (max-width: 991px) {
  .wc-grid { display: flex; flex-direction: column; gap: 20px; }
  .wc-brand, .wc-content { justify-content: center; }
  .wc-content { width: 100%; text-align: center; overflow: hidden; }
  .wc-section { padding: 48px 20px 60px; overflow: hidden; }
  .wc-mask { height: 10em; }
  .wc-logo-img { height: 48px; max-width: 200px; }
  .wc-item[data-brand="grillnest"] .wc-logo-img,
  .wc-item[data-brand="jorda"] .wc-logo-img,
  .wc-item[data-brand="supersauna"] .wc-logo-img { height: 72px; }
  .wc-item[data-brand="ophetekolen"] .wc-logo-img { height: 80px; }
  .wc-item[data-brand="verdeflora"] .wc-logo-img { height: 72px; }
  .wc-item[data-brand="fliptheg"] .wc-logo-img { height: 64px; }
  .wc-item[data-brand="checkmydeal"] .wc-logo-img { height: 52px; }
}

/* ≤767px (mobile phone): carousel HORIZONTAAL in een compacte container.
   Alleen hier, niet op desktop en niet op tablet. */
@media (max-width: 767px) {
  .wc-content {
    max-width: 480px;
    margin: 0 auto;
  }
  .wc-mask {
    height: 80px;
    width: 100%;
    flex-direction: row;
    align-items: center;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 14%, #000 86%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, #000 14%, #000 86%, transparent 100%);
    -webkit-mask-size: auto;
    mask-size: auto;
  }
  .wc-cms {
    height: 100%;
    flex-direction: row;
    justify-content: flex-start;
  }
  .wc-item {
    padding: 0 24px;
    flex: 0 0 auto;
  }
}
@media (max-width: 480px) {
  .hero_grid { flex-direction: column; gap: 12px; }
}

/* ─── 17. Services Section ─── */
.cbk-services-section {
  position: relative;
  z-index: 5;
  padding: 100px 0 80px;
}
.cbk-services-header {
  text-align: center;
  margin-bottom: 64px;
}
.cbk-services-heading {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 800;
  line-height: 1.05;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.cbk-services-sub {
  color: rgba(255,255,255,.6);
  max-width: 520px;
  margin: 0 auto;
}
.cbk-services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 780px;
  margin: 0 auto;
}
.cbk-service-card {
  position: relative;
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  padding: 24px;
  transition: border-color .3s, background .3s, transform .3s;
  overflow: hidden;
}
.cbk-service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cbk-teal), transparent);
  opacity: 0;
  transition: opacity .3s;
}
.cbk-service-card:hover {
  border-color: rgba(3,146,133,.5);
  background: rgba(15,147,134,.07);
  transform: translateY(-3px);
}
.cbk-service-card:hover::before {
  opacity: 1;
}
.cbk-service-card--featured {
  border-color: var(--cbk-teal);
  background: rgba(15,147,134,.08);
}
.cbk-service-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15,147,134,.12);
  border: 1px solid rgba(15,147,134,.25);
  border-radius: 14px;
  margin-bottom: 22px;
  color: var(--cbk-teal);
  transition: background .3s, border-color .3s;
}
.cbk-service-card:hover .cbk-service-icon {
  background: rgba(15,147,134,.22);
  border-color: rgba(15,147,134,.5);
}
.cbk-service-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--cbk-teal);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
}
.cbk-service-title {
  font-family: var(--font-heading);
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.2;
}
.cbk-service-desc {
  color: rgba(255,255,255,.78);
  margin-bottom: 20px;
  line-height: 1.7;
}
.cbk-service-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cbk-service-features li {
  font-size: 14px;
  color: rgba(255,255,255,.68);
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}
.cbk-service-features li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--cbk-teal);
  font-size: 12px;
}
.cbk-service-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-heading);
  color: var(--cbk-teal);
  transition: gap .25s, color .25s;
  padding: 6px 0;
  min-height: 36px;
  border-radius: 4px;
  outline-offset: 4px;
}
.cbk-service-cta:hover {
  gap: 10px;
  color: #fff;
}
.cbk-service-card:hover .cbk-service-cta {
  color: #fff;
}
@media (max-width: 991px) {
  .cbk-services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .cbk-services-grid { grid-template-columns: 1fr; }
  .cbk-services-section { padding: 60px 0 40px; }
}
@media (max-width: 400px) {
  .cbk-service-card { padding: 18px; }
  .cbk-service-desc { font-size: 13px; }
}

/* ─── 18. FAQ Section ─── */
.cbk-faq-section {
  position: relative;
  z-index: 5;
  padding: 80px 0;
}
.cbk-faq-header {
  text-align: center;
  margin-bottom: 56px;
}
.cbk-faq-heading {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 800;
  line-height: 1.05;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.cbk-faq-sub {
  color: rgba(255,255,255,.6);
  max-width: 440px;
  margin: 0 auto;
}
.cbk-faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.cbk-faq-item {
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.cbk-faq-item:first-child {
  border-top: 1px solid rgba(255,255,255,.1);
}
.cbk-faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  background: none;
  border: none;
  padding: 24px 0;
  cursor: pointer;
  color: #fff;
  font-family: var(--font-heading);
  font-size: clamp(15px, 1.6vw, 18px);
  font-weight: 600;
  text-align: left;
  transition: color .2s;
}
.cbk-faq-question:hover { color: var(--cbk-teal); }
.cbk-faq-icon {
  flex-shrink: 0;
  transition: transform .3s;
  color: var(--cbk-teal);
}
.cbk-faq-item.is-open .cbk-faq-icon {
  transform: rotate(180deg);
}
/* Grid-row trick: transitioneert over de daadwerkelijke content-hoogte
   i.p.v. een arbitraire max-height. Veel smoother voelend op alle lengtes. */
.cbk-faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  padding: 0;
  transition:
    grid-template-rows .5s cubic-bezier(.16,1,.3,1),
    padding .5s cubic-bezier(.16,1,.3,1),
    opacity .35s ease;
}
/* polish.js zet [hidden] terug na 380ms voor a11y. Override display:none → grid
   zodat de transition niet wegvalt en de animatie soepel doorloopt. */
.cbk-faq-answer[hidden] {
  display: grid;
}
.cbk-faq-answer > * {
  overflow: hidden;
  min-height: 0;
}
.cbk-faq-item.is-open .cbk-faq-answer {
  grid-template-rows: 1fr;
  opacity: 1;
  padding: 0 0 24px;
}
.cbk-faq-answer p {
  color: rgba(255,255,255,.78);
  line-height: 1.75;
}
.cbk-faq-answer strong {
  color: #fff;
}
@media (max-width: 600px) {
  .cbk-faq-section { padding: 60px 0; }
  .cbk-faq-question { padding: 20px 0; font-size: 15px; }
}

/* ─── 19. Portfolio Section ─── */
.cbk-portfolio-section {
  position: relative;
  z-index: 5;
  padding: 100px 0 80px;
}
.cbk-portfolio-header {
  text-align: center;
  margin-bottom: 64px;
}
.cbk-portfolio-heading {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 16px;
}
.cbk-portfolio-sub {
  color: rgba(255,255,255,.6);
  max-width: 520px;
  margin: 0 auto;
}
.cbk-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.cbk-project-card {
  position: relative;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  overflow: hidden;
  transition: transform .4s cubic-bezier(.4,0,.2,1), border-color .4s, box-shadow .4s;
  cursor: default;
}
.cbk-project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(15,147,134,.4);
  box-shadow: 0 20px 60px rgba(0,0,0,.4), 0 0 40px rgba(15,147,134,.08);
}
.cbk-project-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.cbk-project-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.4,0,.2,1);
}
.cbk-project-card:hover .cbk-project-thumb img {
  transform: scale(1.05);
}
.cbk-project-thumb::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 40%;
  background: linear-gradient(0deg, rgba(15,47,36,0.9) 0%, transparent 100%);
  pointer-events: none;
}
.cbk-project-info {
  padding: 24px 28px 28px;
}
.cbk-project-name {
  font-family: var(--font-heading);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.cbk-project-desc {
  font-size: 14px;
  color: rgba(255,255,255,.55);
  line-height: 1.6;
  margin-bottom: 16px;
}
.cbk-project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cbk-project-tag {
  padding: 4px 12px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 500;
  color: var(--cbk-teal);
  letter-spacing: .04em;
  text-transform: uppercase;
}
@media (max-width: 767px) {
  .cbk-portfolio-grid { grid-template-columns: 1fr; }
  .cbk-portfolio-section { padding: 60px 0 40px; }
  .cbk-project-info { padding: 20px; }
}

/* ─── 20. Footer — Taped Design ─── */
.cbk-footer {
  position: relative;
  z-index: 5;
  padding: 80px 0 0;
  background: transparent;
}

/* ── The taped card ── */
.cbk-footer-card {
  position: relative;
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 24px;
  padding: 48px 40px;
  transform: rotate(-0.8deg);
  transition: transform .4s cubic-bezier(.4,0,.2,1), box-shadow .4s;
  box-shadow:
    0 16px 60px rgba(0,0,0,.3),
    0 0 0 1px rgba(255,255,255,.05) inset;
}
.cbk-footer-card:hover {
  transform: rotate(0deg) translateY(-4px);
  box-shadow:
    0 24px 80px rgba(0,0,0,.4),
    0 0 40px rgba(3,146,133,.06),
    0 0 0 1px rgba(255,255,255,.08) inset;
}

/* ── Tape decorations — medium semi-transparent, on corners ── */
.cbk-tape {
  position: absolute;
  width: 100px;
  height: 44px;
  z-index: 10;
  pointer-events: none;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.25));
}
.cbk-tape svg {
  width: 100%;
  height: 100%;
}
.cbk-tape--tl {
  top: -16px;
  left: -18px;
  transform: rotate(-12deg);
}
.cbk-tape--tr {
  top: -16px;
  right: -18px;
  transform: rotate(90deg);
}

/* ── Card inner layout ── */
.cbk-footer-card-inner {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

/* ── Brand column ── */
.cbk-footer-brand {
  flex: 0 0 300px;
  max-width: 300px;
}
.cbk-footer-brand-link {
  display: inline-block;
  transition: opacity .3s;
}
.cbk-footer-brand-link:hover {
  opacity: .8;
}
.cbk-footer-brand-logo {
  height: 56px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 16px;
}
.cbk-footer-tagline {
  font-size: 18px;
  font-family: var(--font-heading);
  font-weight: 700;
  color: rgba(255,255,255,.85);
  line-height: 1.6;
}

/* ── Footer columns container ──
   Grid met auto-fit + minmax: kolommen wrappen automatisch zodra ze niet meer
   in de minimum-breedte passen. 3 cols → 2+1 → 1 col, geheel content-gedreven.
   Geen hardcoded breakpoints meer nodig voor de columns zelf. */
.cbk-footer-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 48px;
  flex: 1; /* nog steeds flex-child van .cbk-footer-card-inner (desktop) */
  width: 100%;
}
.cbk-footer-col {
  min-width: 0; /* laat grid de col-breedte bepalen zonder content-min overflow */
}

/* ── Column titles ── */
.cbk-footer-col-title {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,.55);
  text-transform: uppercase;
  letter-spacing: .14em;
  margin: 0; /* margin verhuist naar .cbk-footer-col-toggle (de wrapper-button) */
}

/* ── Col title toggle button (wrap rond h4 + chevron) ──
   Op desktop: volledige reset, button is visueel onzichtbaar — alleen de h4
   blijft over, chevron staat op display:none. Visueel identiek aan de oude
   directe <h4>-rendering, dus geen layout-shift.
   Op smalle viewports (≤480px): klikbare accordion. */
.cbk-footer-col-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  background: none;
  border: none;
  padding: 0;
  margin: 0 0 20px; /* matched het oude h4 margin-bottom */
  cursor: default; /* desktop: niet klikbaar-ogend */
  text-align: left;
  font: inherit;
  color: inherit;
}
.cbk-footer-col-icon {
  display: none; /* desktop: chevron verborgen */
  flex-shrink: 0;
  color: var(--cbk-teal);
  transition: transform .3s cubic-bezier(.16,1,.3,1);
}

/* ── Footer links ── */
.cbk-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cbk-footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,.68);
  font-weight: 500;
  transition: color .25s, padding-left .25s;
  white-space: nowrap;
}
.cbk-footer-links a:hover {
  color: var(--cbk-teal);
  padding-left: 4px;
}

/* ── Bottom bar (outside card) ── */
.cbk-footer-bottom {
  padding: 32px 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: 24px;
}

/* Legal + Credit info row */
.cbk-footer-info-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  width: 100%;
  padding-top: 20px;
}

/* Left: copyright + links */
.cbk-footer-info-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
.cbk-footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,.4);
}
.cbk-footer-legal {
  display: flex;
  align-items: center;
  gap: 8px;
}
.cbk-footer-legal a {
  font-size: 12px;
  color: rgba(255,255,255,.4);
  transition: color .3s;
}
.cbk-footer-legal a:hover {
  color: rgba(255,255,255,.65);
}
.cbk-footer-dot {
  color: rgba(255,255,255,.25);
  font-size: 12px;
}

/* Right: KVK/BTW + credit with logo */
.cbk-footer-info-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
}

/* KVK/BTW block — now on the left */
.cbk-footer-kvk {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  font-size: 11px;
  color: rgba(255,255,255,.3);
}

/* Credit block — inline row like the reference */
.cbk-footer-credit {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}
.cbk-footer-credit-text {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  font-style: italic;
  color: rgba(255,255,255,.35);
  letter-spacing: .01em;
  white-space: nowrap;
}
.cbk-footer-credit-logo {
  display: inline-flex;
  align-items: center;
  transition: opacity .3s, transform .3s;
  opacity: .45;
  transform: rotate(-6deg);
}
.cbk-footer-credit-logo:hover {
  opacity: .7;
}
.cbk-footer-credit-logo img {
  height: 32px;
  width: auto;
}

/* ── Social links (all channels) ── */
.cbk-footer-socials {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.cbk-footer-social-link {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .3s cubic-bezier(.4,0,.2,1);
}
.cbk-footer-social-link:hover {
  background: rgba(3,146,133,.18);
  border-color: var(--cbk-teal);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(3,146,133,.2);
}
.cbk-footer-social-link svg {
  width: 16px;
  height: 16px;
  fill: rgba(255,255,255,.5);
  transition: fill .3s;
}
.cbk-footer-social-link:hover svg {
  fill: var(--cbk-teal);
}

/* ── Responsive ──
   Footer columns gebruikt CSS Grid op ≤991px ipv flex-wrap. Grid garandeert
   voorspelbare, gelijke kolommen die per breakpoint herverdelen (3 → 2 → 1)
   zonder dat items naar links "klonteren" of ongelijke gaps krijgen. */
@media (max-width: 991px) {
  .cbk-footer-card-inner {
    flex-direction: column;
    gap: 40px;
  }
  .cbk-footer-brand {
    flex: none;
    max-width: 100%;
  }
  .cbk-footer-columns {
    /* grid-template-columns NIET overschrijven — auto-fit in base regelt het */
    gap: 32px;
  }
}
@media (max-width: 767px) {
  .cbk-footer {
    padding: 60px 0 0;
  }
  .cbk-footer-card {
    padding: 32px 24px;
    border-radius: 20px;
    transform: rotate(-0.5deg);
  }
  .cbk-tape {
    display: none;
  }
  .cbk-footer-bottom {
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }
  .cbk-footer-info-row {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
  .cbk-footer-info-left {
    align-items: center;
    text-align: center;
  }
  .cbk-footer-kvk {
    align-items: center;
  }
  .cbk-footer-credit {
    align-items: center;
  }
  .cbk-footer-socials {
    gap: 8px;
  }
  .cbk-footer-social-link {
    width: 36px;
    height: 36px;
  }
}
/* Geen hardcoded 1-col / 2-col breakpoints meer voor .cbk-footer-columns —
   de base-regel met `grid-template-columns: repeat(auto-fit, minmax(180px, 1fr))`
   wrapt automatisch zodra cols hun minimum-breedte niet meer halen. */

/* ── Footer col accordion (≤480px) ──
   Vanaf hier zijn de cols sowieso 1-koloms gestapeld (auto-fit). We maken
   de h4-titles klikbaar en collapsen de links onder. .is-open class wordt
   door de inline footer-accordion script in index.html toegevoegd.
   Animatie via max-height (werkt op iOS Safari én Android Chrome). De oude
   grid-template-rows 0fr→1fr truc interpoleerde Android Chrome niet
   betrouwbaar → snapte zonder transitie. */
@media (max-width: 480px) {
  .cbk-footer-col-toggle {
    cursor: pointer;
    margin-bottom: 0;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
    transition: color .2s;
  }
  .cbk-footer-col-toggle:hover .cbk-footer-col-title,
  .cbk-footer-col-toggle:focus-visible .cbk-footer-col-title {
    color: var(--cbk-teal);
  }
  .cbk-footer-col-title { transition: color .2s; }
  .cbk-footer-col-icon { display: block; }
  .cbk-footer-col.is-open .cbk-footer-col-icon {
    transform: rotate(180deg);
  }
  /* Bovengrens ruim boven de hoogste kolom (Contact = 7 links ≈ 260px;
     een 5-links kolom meet 186px). Krap genoeg gehouden zodat de sluit-
     easing op iOS Safari (die de max-height-fallback gebruikt) niet door
     veel lege ruimte loopt. Browsers met interpolate-size krijgen hieronder
     echte height:auto, zodat het sluiten daar perfect easet. */
  .cbk-footer-col-content {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition:
      max-height .4s cubic-bezier(.16,1,.3,1),
      opacity .3s ease;
  }
  .cbk-footer-col.is-open .cbk-footer-col-content {
    max-height: 420px;
    opacity: 1;
  }
  /* Progressive enhancement: echte auto-hoogte waar ondersteund (Chrome 129+).
     Niet-ondersteunende browsers (o.a. iOS Safari nu) negeren dit blok en
     blijven op de max-height-aanpak hierboven. */
  @supports (interpolate-size: allow-keywords) {
    .cbk-footer-col-content {
      interpolate-size: allow-keywords;
      max-height: none;
      height: 0;
      transition:
        height .4s cubic-bezier(.16,1,.3,1),
        opacity .3s ease;
    }
    .cbk-footer-col.is-open .cbk-footer-col-content {
      max-height: none;
      height: auto;
    }
  }
  .cbk-footer-col-content .cbk-footer-links {
    padding: 14px 0 4px;
  }
  /* Compactere gap tussen de gestapelde cols zodra ze accordion-mode hebben */
  .cbk-footer-columns { gap: 0; }
}

/* ─── 22. Scroll Reveal Animations ─── */
.cbk-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .6s cubic-bezier(.4,0,.2,1), transform .6s cubic-bezier(.4,0,.2,1);
}
.cbk-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── 23. Fixed CTA visibility ─── */
.fixed-cta {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  z-index: 800;
  opacity: 0;
  transition: opacity .4s, transform .4s;
  pointer-events: none;
}
.fixed-cta.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
/* Hide floating CTA on mobile — prevents content overlap */
@media (max-width: 767px) {
  .fixed-cta,
  .fixed-cta.is-visible {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
}
/* Hide floating CTA when mobile nav is open */
.mobile-nav.is-open ~ .fixed-cta,
body.nav-open .fixed-cta {
  opacity: 0 !important;
  pointer-events: none !important;
}

/* ─── 24. Stats Section ─── */
.cbk-stats-section {
  padding: 80px 0;
  border-top: 1px solid rgba(255,255,255,.06);
}
.cbk-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  max-width: 900px;
  margin: 0 auto;
}
@media (max-width: 767px) {
  .cbk-stats-grid { grid-template-columns: repeat(2, 1fr); }
}
.cbk-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 40px 24px;
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(255,255,255,.06);
  text-align: center;
  transition: background .3s;
}
.cbk-stat-item:hover { background: rgba(3,146,133,.06); }
.cbk-stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  font-weight: 800;
  color: var(--cbk-teal);
  line-height: 1;
  letter-spacing: -0.02em;
}
/* Alternating accent on 2nd & 4th stat for visual rhythm */
.cbk-stat-item:nth-child(2) .cbk-stat-number,
.cbk-stat-item:nth-child(4) .cbk-stat-number {
  color: var(--cbk-purple);
}
.cbk-stat-label {
  font-size: 14px;
  opacity: .75;
  text-align: center;
  max-width: 140px;
  line-height: 1.4;
}

/* ─── 25. Founder / Bio Section ─── */
.cbk-founder-section {
  padding: 96px 0;
}
.cbk-founder-wrap {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.cbk-founder-eyebrow {
  display: inline-block;
  font-size: 16px;
  font-weight: 600;
  font-family: var(--font-heading);
  color: var(--cbk-teal);
  letter-spacing: .02em;
  text-transform: none;
  margin-bottom: 12px;
}
.cbk-founder-name {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.cbk-founder-title {
  font-size: 15px;
  color: var(--cbk-teal);
  margin-bottom: 24px;
  opacity: .85;
}
.cbk-founder-bio {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,.82);
  margin-bottom: 16px;
  margin-left: auto;
  margin-right: auto;
  max-width: 600px;
}
.cbk-founder-expertise {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}
.cbk-expertise-tag {
  padding: 8px 18px;
  border-radius: 100px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  transition: background .3s, border-color .3s, color .3s;
}
.cbk-expertise-tag:hover {
  background: var(--cbk-teal);
  border-color: var(--cbk-teal);
  color: #fff;
}

/* ─── 26. Global Focus States (Accessibility) ─── */
/* Visible focus ring for keyboard navigation — all interactive elements */
:focus-visible {
  outline: 2px solid var(--cbk-teal);
  outline-offset: 3px;
  border-radius: 4px;
}
/* Remove outline on mouse click (only show for keyboard) */
:focus:not(:focus-visible) {
  outline: none;
}
/* Stronger focus for form fields */
.wab-input:focus-visible,
.wab-select:focus-visible,
.popup_input:focus-visible {
  outline: none;
  border-color: var(--cbk-teal);
  box-shadow: var(--cbk-focus-ring);
}
/* FAQ buttons */
.cbk-faq-question:focus-visible {
  outline: 2px solid var(--cbk-teal);
  outline-offset: 4px;
  border-radius: 6px;
}
/* Chips */
.wab-chip:focus-visible {
  outline: 2px solid var(--cbk-teal);
  outline-offset: 2px;
}
/* Mobile nav links */
.mobile-nav-link:focus-visible {
  color: var(--cbk-teal);
  outline: 2px solid var(--cbk-teal);
  outline-offset: 6px;
  border-radius: 4px;
}

/* ─── 27. prefers-reduced-motion ─── */
/* Respect user accessibility preference — disable/reduce all animations */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .cbk-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .preloader {
    display: none;
  }
  .wab-scroll-dot,
  .wab-scroll-icon svg rect,
  .slide-pulse {
    animation: none;
  }
  .cbk-service-card:hover,
  .cbk-footer-card:hover,
  .cbk-footer-social-link:hover {
    transform: none;
  }
}

/* ─── 29. Featured service card — purple accent stripe ─── */
.cbk-service-card--featured::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cbk-purple), transparent);
  opacity: 0.4;
}

/* ─── 31. Hero mobile subtitle fix ─── */
@media (max-width: 767px) {
  .hero_subtitle {
    white-space: normal;
    font-size: 14px;
    line-height: 1.5;
    opacity: .7;
  }
  .hero-s_bot {
    gap: 20px;
  }
}

/* ─── 33. Detail value contrast fix ─── */
.detail-value,
.detail-value a {
  color: rgba(255,255,255,.7);
  font-size: 15px;
}

/* ─── 34. Scroll indicator — mobile hide handled, add subtle fade ─── */
.scroll_link .l1 {
  opacity: .6;
  font-size: 11px;
  letter-spacing: .1em;
}

/* ─── 35. Extra pages background (diensten, blog-index, blog posts, cases) ─── */
body.extra-page {
  background-color: var(--cbk-dark);
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: 100% auto;
}
body.extra-page .blog-hero { background: transparent; }

/* Diensten → Klein.jpg (1366x2785, astronaut at bottom) — WebP met JPG fallback */
body.extra-page.bg-diensten {
  background-image: url('../assets/images/achtergrond-diensten.jpg');
  background-image: image-set(
    url('../assets/images/achtergrond-diensten.webp') type('image/webp'),
    url('../assets/images/achtergrond-diensten.jpg') type('image/jpeg')
  );
}
/* Blog posts + Case studies → groot.jpg (1366x6300) — WebP met JPG fallback */
body.extra-page.bg-artikel {
  background-image: url('../assets/images/achtergrond-extra.jpg');
  background-image: image-set(
    url('../assets/images/achtergrond-extra.webp') type('image/webp'),
    url('../assets/images/achtergrond-extra.jpg') type('image/jpeg')
  );
}
/* Blog index overview → Blog start pagina.jpg — WebP met JPG fallback */
body.extra-page.bg-blog-index {
  background-image: url('../assets/images/achtergrond-blog-index.jpg');
  background-image: image-set(
    url('../assets/images/achtergrond-blog-index.webp') type('image/webp'),
    url('../assets/images/achtergrond-blog-index.jpg') type('image/jpeg')
  );
  background-size: cover;
  background-position: center center;
}

/* ===================================================
   ─── 36. Responsive & Cross-Browser Overrides ───
   Desktop CSS above (≥992px) is FROZEN and untouched.
   Everything below runs ONLY on mobile/tablet or via
   feature-queries / vendor-prefix fallbacks.
   Targets: Android 360–412px, iPhone 390–430px,
   iPad 768–1024px, Safari/macOS, iOS Safari.
   =================================================== */

/* 36.1 — iOS Safari 100vh fix — MOBILE ONLY.
   NOTE: main.js now writes --100vh = window.innerHeight px dynamically,
   so .hero_scroll-area keeps its calc(var(--100vh)*2) geometry intact on iOS.
   We only apply min-height:100dvh to .hero-s_container so the visible hero
   section fills the screen without affecting the ScrollTrigger range. */
@media (max-width: 1024px) {
  @supports (height: 100dvh) {
    .hero-s_container {
      min-height: 100dvh;
    }
  }
}

/* 36.2 — Safe-area insets voor iPhone met notch/home-indicator.
   env() resolves to 0 on non-iOS so this is safe everywhere,
   but we still gate it to mobile widths to be extra conservative. */
@media (max-width: 1024px) {
  @supports (padding: env(safe-area-inset-bottom)) {
    .fixed-cta,
    .cbk-fixed-cta,
    .slide-fixed-cta {
      padding-bottom: env(safe-area-inset-bottom);
    }
    .mobile-nav {
      padding-top: env(safe-area-inset-top);
      padding-bottom: env(safe-area-inset-bottom);
    }
    .cbk-footer {
      padding-bottom: env(safe-area-inset-bottom);
    }
  }
}

/* 36.3 — Safari / Mac / iOS polish — MOBILE ONLY.
   NEVER touch .hero-w_bg / .hero-beeldmerk_img globally, GSAP animates them. */
@media (max-width: 1024px) {
  /* Forms: kill iOS default appearance + prevent zoom on focus */
  .wab-input,
  .wab-select,
  .wab-textarea,
  .popup_input {
    -webkit-appearance: none;
    appearance: none;
    -webkit-border-radius: 10px;
    background-clip: padding-box;
  }
  /* Modal & popups: add momentum scrolling on iOS */
  .popup_modal,
  .mobile-nav {
    -webkit-overflow-scrolling: touch;
  }
  /* Safari backdrop-filter fallback */
  .popup_overlay {
    -webkit-backdrop-filter: blur(4px);
  }
}

/* aspect-ratio fallback — only activates on very old Safari (Safari 14 and earlier).
   Safe everywhere else because @supports not is never true on modern browsers. */
@supports not (aspect-ratio: 16 / 9) {
  .cbk-project-thumb {
    position: relative;
    padding-top: 56.25%;
    height: 0;
  }
  .cbk-project-thumb > * {
    position: absolute;
    inset: 0;
  }
}

/* 36.4 — TABLET tuning (768–1024px) — minimal, only fills gaps */
@media (min-width: 768px) and (max-width: 1024px) {
  .cbk-services-grid {
    gap: 20px;
  }
  .cbk-founder-section {
    padding: 72px 0;
  }
}

/* 36.5 — MOBILE (≤767px) global safeguards + tap targets */
@media (max-width: 767px) {
  /* Never let content push horizontally.
     clip (not hidden) — hidden creates a scroll container on body which
     breaks position:sticky on all descendants. The hero-w sticky needs
     this to pin while GSAP scales the spaceship. */
  html, body {
    max-width: 100vw;
    overflow-x: clip !important;
  }
  img, video, iframe, svg {
    max-width: 100%;
    height: auto;
  }
  /* Break long Dutch compound words / urls instead of overflowing */
  p, li, h1, h2, h3, h4, .blog-content, .legal-section, .blog-callout {
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  /* Inputs ≥16px font to block iOS auto-zoom */
  input, select, textarea,
  .wab-input, .wab-select, .wab-textarea,
  .popup_input {
    font-size: 16px !important;
  }
  /* Minimum 44×44 tap target rule */
  .cbk-service-cta,
  .wab-chip,
  .cbk-expertise-tag,
  .blog-back,
  .cbk-footer-social-link {
    min-height: 44px !important;
  }
  .cbk-footer-social-link {
    width: 44px !important;
    height: 44px !important;
  }
  .header-hamburger {
    min-width: 44px;
    min-height: 44px;
    padding: 10px !important;
  }
}

/* 36.6 — INDEX: Hero + Header (≤480px) */
@media (max-width: 480px) {
  .hero-title {
    line-height: 1.15 !important;
  }
  .hero-s_bot {
    gap: 12px !important;
    padding-bottom: 16px !important;
  }
  .hero_subtitle {
    white-space: normal !important;
    font-size: 11px !important;
  }
}

/* 36.7 — INDEX: Services grid cards (≤480px) */
@media (max-width: 480px) {
  .cbk-services-section {
    padding: 48px 0 32px !important;
  }
  .cbk-services-grid {
    gap: 12px !important;
  }
  .cbk-service-card {
    padding: 22px 18px !important;
  }
  .cbk-service-badge {
    position: static !important;
    display: inline-block !important;
    margin-bottom: 12px !important;
  }
  .cbk-service-cta {
    padding: 12px 0 !important;
  }
}

/* 36.8 — INDEX: Magic-text / About / Founder (≤430px) */
@media (max-width: 430px) {
  .about-s_lead-text {
    padding: 56px 0 24px !important;
  }
  /* Font-size getuned zodat "onvergetelijk en consistent." op 1 regel past
     op 375-430px viewports. Max 26px was 32px. */
  .magic-text {
    font-size: clamp(20px, 6.4vw, 26px) !important;
    padding: 4px 2px !important;
    line-height: 1.3 !important;
  }
  .cbk-founder-section {
    padding: 56px 0 !important;
  }
  .cbk-founder-name {
    font-size: clamp(26px, 7vw, 34px) !important;
    letter-spacing: -0.01em !important;
  }
  .cbk-expertise-tag {
    padding: 10px 16px !important;
    display: inline-flex !important;
    align-items: center !important;
  }
}

/* 36.9 — INDEX: Contactform + popup (≤430px) */
@media (max-width: 430px) {
  .wab-contact-wrap {
    padding: 40px 0 24px !important;
    gap: 16px !important;
  }
  .wab-contact-header h2 {
    font-size: 26px !important;
    letter-spacing: -0.01em !important;
  }
  .wab-form-card {
    padding: 18px 14px !important;
    border-radius: 14px !important;
  }
  .popup_modal {
    padding: 28px 18px !important;
    border-radius: 18px !important;
  }
}

/* 36.10 — INDEX: Logo-carousel (≤480px) — horizontale variant */
@media (max-width: 480px) {
  .wc-section {
    padding: 40px 16px 48px;
    gap: 16px;
  }
  .wc-label {
    font-size: clamp(24px, 7vw, 32px);
  }
  .wc-brand-logo { height: 56px; }
  .wc-x-logo { height: 28px; }
  .wc-mask { height: 80px; }
  .wc-item { padding: 0 24px; }
  .wc-logo-img {
    max-width: 160px;
    height: 44px;
  }
  .wc-item[data-brand="ophetekolen"] .wc-logo-img { height: 56px; }
  .wc-item[data-brand="grillnest"] .wc-logo-img,
  .wc-item[data-brand="jorda"] .wc-logo-img,
  .wc-item[data-brand="supersauna"] .wc-logo-img,
  .wc-item[data-brand="verdeflora"] .wc-logo-img { height: 52px; }
  .wc-item[data-brand="fliptheg"] .wc-logo-img { height: 48px; }
}

/* 36.11 — INDEX: FAQ (≤430px) */
@media (max-width: 430px) {
  .cbk-faq-question {
    gap: 12px !important;
  }
  .cbk-faq-question span {
    min-width: 0 !important;
  }
}

/* 36.12 — INDEX: Footer card (≤430px)
   Kill the rotation on tiny screens to avoid horizontal poke-out. */
@media (max-width: 430px) {
  .cbk-footer-card {
    padding: 24px 18px !important;
    transform: rotate(0deg) !important;
  }
  /* Brand-blok terug naar vertikaal stack op super-smalle viewports.
     Op ≤767px stond 'ie horizontaal (logo links, tagline rechts), maar onder
     430px is daar gewoon geen ruimte meer — logo komt boven, tagline eronder. */
  .cbk-footer-brand {
    flex-direction: column !important;
    align-items: center !important;
    gap: 12px !important;
    text-align: left !important;
    justify-content: center !important;
    margin: 0 auto !important;
  }
  .cbk-footer-brand-logo {
    height: 44px !important;
  }
  .cbk-footer-tagline {
    font-size: 15px !important;
  }
  .cbk-footer-credit-text {
    white-space: normal !important;
    text-align: center !important;
  }
  .cbk-footer-credit {
    flex-direction: column !important;
    gap: 6px !important;
  }
  .cbk-footer-kvk {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }
  .cbk-footer-socials {
    gap: 6px !important;
    justify-content: center !important;
  }
  .cbk-footer-legal {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 4px 8px !important;
  }
  .cbk-footer-dot { display: none !important; }
}

/* 36.13 — INDEX: Mobile nav — squeeze when screen is short */
@media (max-height: 700px) and (max-width: 480px) {
  .mobile-nav-inner {
    gap: 18px !important;
  }
  .mobile-nav-link {
    font-size: clamp(26px, 8vw, 38px) !important;
  }
}

/* 36.14 — DIENSTEN / BLOG / CASES (shared page template)
   Overrides defeat page-level inline <style> blocks via !important. */
@media (max-width: 480px) {
  .blog-hero {
    padding: 108px 0 40px !important;
  }
  .blog-hero .container {
    padding: 0 20px !important;
  }
  .blog-hero__title {
    font-size: 26px !important;
    line-height: 1.2 !important;
    word-break: break-word !important;
  }
  .blog-hero__title br {
    display: none !important;
  }
  .blog-hero__meta {
    gap: 8px 12px !important;
    font-size: 13px !important;
  }
  .blog-header {
    padding: 10px 0 !important;
  }
  .blog-header .btn-cta-slide {
    height: 40px !important;
    padding: 4px 44px 4px 16px !important;
    font-size: 12px !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }
  .blog-content {
    font-size: 16px !important;
    line-height: 1.7 !important;
    padding: 32px 20px 48px !important;
  }
  .blog-content h2 {
    margin: 36px 0 12px !important;
  }
  .blog-content h3 {
    font-size: 18px !important;
    margin: 28px 0 10px !important;
  }
  .blog-callout {
    padding: 16px 18px !important;
    margin: 24px 0 !important;
    font-size: 15px !important;
    overflow-wrap: anywhere !important;
  }
  .blog-cta-box {
    padding: 28px 18px !important;
    border-radius: 12px !important;
  }
  .blog-cta-box .btn-cta-slide {
    width: 100% !important;
    justify-content: center !important;
    white-space: normal !important;
    height: auto !important;
    padding: 10px 48px 10px 18px !important;
    line-height: 1.2 !important;
    text-align: left !important;
  }
  .blog-sources a,
  .blog-content a {
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
  }
  .blog-back {
    padding: 8px 0 !important;
    font-size: 13px !important;
    margin-bottom: 24px !important;
    min-height: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
  }
}

/* 36.15 — BLOG INDEX overview cards (≤480px) */
@media (max-width: 480px) {
  .blog-card {
    padding: 1.5rem 1.25rem !important;
  }
  .blog-grid {
    gap: 1rem !important;
    padding-bottom: 2.5rem !important;
  }
  .blog-card__desc {
    font-size: .95rem !important;
  }
  .blog-overview-hero {
    padding: 1rem 0 1.5rem !important;
  }
}

/* 36.16 — LEGAL PAGES (privacybeleid, voorwaarden) ≤480px */
@media (max-width: 480px) {
  .legal-page {
    padding: 96px 0 56px !important;
  }
  .legal-section p,
  .legal-section li {
    font-size: 15px !important;
    opacity: .9 !important;
  }
  .legal-section a {
    display: inline-block !important;
    padding: 2px 0 !important;
    word-break: break-word !important;
  }
}

/* 36.17 — Skip-link: ensure it's usable on mobile when focused */
@media (max-width: 430px) {
  .skip-link:focus {
    top: 8px !important;
    left: 8px !important;
    right: 8px !important;
    width: auto !important;
  }
}

/* 36.18 — Mobile performance: reduce heavy backdrop-filter radii
   Many stacked blurs crush iOS Safari GPU. Keep visual effect, cut cost. */
@media (max-width: 767px) {
  .wab-form-card,
  .btn-cta-slide,
  .cbk-service-card,
  .cbk-footer-card,
  .popup_overlay,
  .mobile-nav {
    -webkit-backdrop-filter: blur(10px) !important;
    backdrop-filter: blur(10px) !important;
  }
}

/* 36.20 — Extra-page background tuning op smalle viewports.
   body.extra-page gebruikt standaard `background-size: 100% auto` met
   `position: center bottom`, gericht op een 1366px-breed design met de
   astronaut onderaan. Op 360-430px viewports kan de astronaut daardoor
   buiten beeld vallen en lijkt de achtergrond "mist" of verkeerd gecropt.
   We schakelen naar `cover` + `center top` op mobiel zodat elk device
   een consistente crop krijgt. De blog-index behoudt zijn eigen instellingen. */
@media (max-width: 767px) {
  body.extra-page.bg-diensten,
  body.extra-page.bg-artikel {
    background-size: cover !important;
    background-position: center top !important;
    background-attachment: scroll !important;
  }
}

/* 36.19 — prefers-reduced-motion: schakel ALLEEN de decoratieve autoplay-
   animaties uit (sterren, particles, footer-card glow, impact-page sferen).
   De hero-spaceship-zoom is hier BEWUST van uitgezonderd:
   - die is scroll-gestuurd (volgt 1-op-1 de eigen scroll = de mildste
     motion-vorm), en
   - Android zet reduce-motion ongewild aan bij Batterijbesparing /
     "Animaties verwijderen".
   De vorige regel `.hero-w_bg { transform: scale(1) !important }` overruled
   daardoor GSAP's inline transform (CSS !important wint van inline zonder
   !important) en bevroor het schip op scale 1 — alleen zichtbaar op Android,
   want iOS/desktop hebben reduce-motion zelden aan. GSAP houdt nu de controle;
   de base-rule `.hero-w_bg { will-change: transform }` blijft staan voor
   soepele compositing. (Diagnose 2026-05-29.) */
@media (prefers-reduced-motion: reduce) {
  .sky-bg_about,
  .star-bg_about,
  .cbk-footer-card,
  .impact-page::before,
  .impact-page::after {
    animation: none !important;
    transform: none !important;
  }
  #particles-js {
    display: none !important;
  }
}

/* ===================================================
   ─── 37. Mobile polish (hero + footer) ───
   Hero-content compacter + vrij pad onder complete-logo
   Footer: beeldmerk + tagline boven, 2-koloms links, socials onder
   =================================================== */
@media (max-width: 767px) {
  /* Hero: matcht desktop proportie (28px/11px ratio ~2.5).
     Title iets kleiner voor width-fit, subtitle identiek aan desktop (11px). */
  .hero-title {
    font-size: clamp(18px, 5vw, 22px);
    line-height: 1.15;
    letter-spacing: -0.01em;
  }
  .hero_subtitle {
    font-size: 11px;
    line-height: 1.5;
    opacity: .75;
  }
  .hero-s_bot {
    gap: 16px;
  }
  .hero-s_bot_left {
    max-width: 60vw;
  }
  .hero-s_container {
    padding-bottom: 18px;
  }
  /* Scroll-indicator compact houden zodat hij niet met de content botst */
  .hero-s_bot_scroll .wab-scroll-icon svg {
    width: 22px;
    height: 36px;
  }
  .scroll_link .l1 {
    font-size: 10px;
  }

  /* Footer: tweedelige top (logo + tagline horizontaal), 2-koloms links */
  .cbk-footer-card-inner {
    gap: 28px;
  }
  .cbk-footer-brand {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    max-width: 100%;
  }
  .cbk-footer-brand-link {
    flex: 0 0 auto;
  }
  .cbk-footer-brand-logo {
    height: 44px;
    margin-bottom: 0;
  }
  .cbk-footer-tagline {
    font-size: 12px;
    line-height: 1.4;
    margin: 0;
    opacity: .7;
  }
  /* Op mobiel laten we de <br>s gewoon staan zodat de tagline leesbaar blijft.
     Voorheen display:none hier plakte "gevoel.Ik" en "essentieen" aan elkaar. */
  /* GEEN grid-template-columns override hier — base auto-fit wrapt vanzelf
     wanneer cols hun min-width niet meer halen. Alleen gap bijstellen. */
  .cbk-footer-columns {
    gap: 24px;
  }

  /* Social icons: 2 rijen x 4 kolommen op mobiel.
     Op desktop blijft de oorspronkelijke flex-wrap gelden. */
  .cbk-footer-socials {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    max-width: 240px;
    margin: 0 auto;
    justify-items: center;
  }
  .cbk-footer-social-link {
    width: 44px;
    height: 44px;
  }
}

/* ===================================================
   ─── 38. Mobile-only fixes (ronde 4) ───
   Desktop wordt NIET geraakt: alle regels zitten in
   @media (max-width: 767px) queries.
   Fixes:
   A) Groene achtergrond-bleed tijdens overscroll-bounce
   B) Spaceship-crop / object-position op mobiel
   C) Scroll-vloeiendheid (will-change + compositor-layers)
   =================================================== */

/* A) Overscroll bounce: voorkom dat de groene body-bg zichtbaar
   wordt wanneer je boven of onder de pagina door-swipet op iOS/Android.
   overscroll-behavior-y: none schakelt de native bounce uit;
   html-bg wordt pitch-black zodat eventuele resterende rubberband
   als neutraal zwart oogt — niet als teal-gekleurde "fout". */
@media (max-width: 767px) {
  html {
    background: #000 !important;
    overscroll-behavior-y: none;
    /* Prevent horizontal rubber-band wiggle op iOS */
    overscroll-behavior-x: none;
  }
  body {
    overscroll-behavior-y: none;
    overscroll-behavior-x: none;
    /* Extra safety: body-bg die hoort bij de merkidentiteit blijft,
       maar op mobiel garanderen we dat de sky-bg er bovenop staat. */
  }
  /* Zorg dat sky-bg_about ook écht 100% viewport covert op mobiel,
     inclusief wanneer iOS Safari de URL-bar toggled. Gebruik 100dvh met
     fallback naar --100vh (JS-custom) voor oudere browsers. */
  .sky-bg {
    height: 100dvh;
    height: var(--100vh, 100vh);
  }
  /* Achtergrond-kleur van sky-bg_about: laat 'm samengaan met html zwart,
     zodat een 1-frame paint-flash tijdens de scale-transform niet als
     felle teal-band opvalt. De WebP-image komt er direct overheen. */
  .sky-bg_about {
    background-color: #0B1F18;
  }
}

/* B) Spaceship op mobiel: de GSAP timeline zoomt naar 12x. Op smalle
   viewports valt de 'scroll far'-animatie soms halverwege stuk doordat
   de image-container net iets te krap is en de onderrand zichtbaar wordt.
   - object-position: center center (i.p.v. top) geeft betere balans
     tussen voering en onderrand zonder dat de porthole uit beeld valt.
   - contain-intrinsic-size: prevent layout-shift tijdens lazy paint.
   - transform-origin forceren zorgt dat scale 1→12 rond het midden
     blijft draaien, ook als iOS de viewport-height tussendoor verandert. */
@media (max-width: 767px) {
  .hero-w_bg_front .img-w img {
    object-position: center center;
  }
  .hero-w_bg {
    transform-origin: 50% 50% !important;
    /* Geen backface-visibility op mobiel — dit ruimt een onbedoelde
       3D-compositor laag op die op low-end Androids scroll-judder geeft. */
    backface-visibility: visible;
  }
}

/* C) Scroll-vloeiendheid: verwijder zware will-change flags op mobiel.
   will-change: transform houdt een GPU-layer altijd gepromoveerd — op
   desktop handig, op low-end mobile geeft het frame-drops en tearing
   omdat de hele hero als aparte texture herhaaldelijk ge-upload wordt. */
@media (max-width: 767px) {
  .hero-w_bg,
  .link-logo,
  .sky-bg_about_img {
    will-change: auto;
  }
  /* GSAP ticker + scrub: 1.2 vermenigvuldigd met transform: scale(12) is
     kostbaar. Blur + transform stapelen crasht iOS Safari's compositor.
     We houden blur voor de card-glassmorphism, maar halen 'm eraf van
     tijdelijk-getransformde containers die door GSAP worden aangeraakt. */
  .hero-s {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }
}

/* D) Safety net — als het preloader-overlay nog even zichtbaar is
   tijdens scale-0 fade, voorkom dat de onderliggende body-kleur door de
   mask-opening "lekt" in groen. Preloader-bg krijgt zelfde zwart als html. */
@media (max-width: 767px) {
  .preloader_bg_grad {
    background: linear-gradient(180deg, #000 0%, #0B1F18 50%, #000 100%);
  }
}
