/* ==========================================================================
   Multidienstverlening Het Gooi - stylesheet
   Kleuren afgeleid uit het logo:
     - Primair  : blauw  #0072F5  (de huispanelen + trekker/wisser in het logo)
     - Accent   : roze/rood #E6396E (de wordmark "MULTIDIENSTVERLENING")
     - Tertiair : oranje #F6834A, groen #34A86B, cyaan #00A8E8 (overige logodelen)
   ========================================================================== */

/* ----------------------------- Design tokens ----------------------------- */
:root {
  /* Merkkleuren uit het logo */
  --primary: #0072f5;
  --primary-600: #0a5fd0;
  --primary-700: #084aa6;
  --primary-050: #eaf2ff;
  --primary-100: #d7e7ff;

  --accent: #e6396e;
  --accent-600: #cf2a5d;

  --cyan: #00a8e8;
  --orange: #f6834a;
  --green: #34a86b;

  /* Neutralen (blauw getint, past bij het merk) */
  --ink: #0c1722;
  --ink-2: #36475a;
  --muted: #54616e;
  --line: #e7ecf3;
  --line-2: #eef2f8;
  --bg: #ffffff;
  --bg-2: #f4f8fd;
  --bg-3: #eaf1f9;
  --white: #ffffff;

  /* Verlopen */
  --grad-brand: linear-gradient(115deg, #0072f5 0%, #7b3fe4 48%, #e6396e 100%);
  --grad-soft: linear-gradient(115deg, #0072f5, #e6396e);
  /* Dieper verloop voor vlakken met witte tekst erop, zodat het contrast AA haalt */
  --grad-brand-deep: linear-gradient(115deg, #0a5fd0 0%, #6a2bc9 48%, #c0185a 100%);

  /* Vorm & schaduw */
  --radius-sm: 14px;
  --radius: 20px;
  --radius-lg: 28px;
  --radius-xl: 36px;
  --shadow-xs: 0 1px 2px rgba(12, 23, 34, 0.06);
  --shadow-sm: 0 6px 18px -8px rgba(12, 23, 34, 0.18);
  --shadow: 0 22px 50px -26px rgba(12, 23, 34, 0.28);
  --shadow-lg: 0 40px 90px -40px rgba(8, 40, 90, 0.45);
  --shadow-primary: 0 18px 40px -14px rgba(0, 114, 245, 0.5);

  /* Layout */
  --container: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --nav-h: 84px;

  /* Easings */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ----------------------------- Reset / base ------------------------------ */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
/* Lenis neemt het smooth scrollen over; native gedrag uit als JS draait */
html.lenis { scroll-behavior: auto; }

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink-2);
  background: var(--bg);
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

ul { list-style: none; padding: 0; }

:focus-visible {
  outline: 3px solid rgba(0, 114, 245, 0.55);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection { background: rgba(0, 114, 245, 0.18); color: var(--ink); }

/* ----------------------------- Typografie -------------------------------- */
h1, h2, h3, h4 {
  font-family: "Space Grotesk", "Inter", sans-serif;
  color: var(--ink);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.h2 {
  font-size: clamp(1.9rem, 1.1rem + 2.8vw, 3rem);
  letter-spacing: -0.03em;
  text-wrap: balance; /* evenwichtiger afbreken van koppen (waar ondersteund) */
}

p { color: var(--ink-2); }

.grad {
  /* symmetrisch verloop (zelfde kleur aan begin en eind) zodat het naadloos loopt */
  background: linear-gradient(100deg, #0072f5, #7b3fe4, #e6396e, #7b3fe4, #0072f5);
  background-size: 200% auto;
  background-position: 0% center;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  /* sneller en heen en weer (alternate), met zachte omkeerpunten */
  animation: gradflow 3s ease-in-out infinite alternate;
}
@keyframes gradflow {
  from { background-position: 0% center; }
  to { background-position: 200% center; }
}

/* ----------------------------- Layout helpers ---------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(64px, 9vw, 130px); }
.section--alt { background: var(--bg-2); }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary-600);
}
.kicker::before {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-soft);
}

.section-head {
  max-width: 680px;
  margin: 0 auto clamp(40px, 5vw, 68px);
  text-align: center;
}
.section-head .kicker { margin-bottom: 16px; }
.section-head__sub {
  margin-top: 18px;
  font-size: 1.075rem;
  color: var(--muted);
}

/* ----------------------------- Buttons ----------------------------------- */
.btn {
  --btn-pad-y: 15px;
  --btn-pad-x: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: var(--btn-pad-y) var(--btn-pad-x);
  border-radius: 999px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 0.97rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease),
    background 0.3s ease, color 0.3s ease;
  will-change: transform;
}
.btn i { width: 18px; height: 18px; transition: transform 0.4s var(--ease); }
.btn--sm { --btn-pad-y: 11px; --btn-pad-x: 18px; font-size: 0.9rem; }
.btn--block { width: 100%; }

.btn--primary {
  background: var(--primary-600);
  color: #fff;
  box-shadow: var(--shadow-primary);
  position: relative;
  overflow: hidden;
  isolation: isolate; /* eigen stacking-context, zodat de tekst boven het verloop blijft */
}
/* tekst blijft wit in alle toestanden */
.btn--primary,
.btn--primary:hover,
.btn--primary:focus,
.btn--primary:active { color: #fff; }
.btn--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad-brand-deep);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1; /* achter de label-tekst en iconen */
}
.btn--primary > * { position: relative; z-index: 1; }
.btn--primary:hover { box-shadow: 0 24px 50px -16px rgba(0, 114, 245, 0.62); }
.btn--primary:hover::after { opacity: 1; }
.btn--primary:hover i { transform: translateX(4px); }

.btn--ghost {
  background: #fff;
  color: var(--ink);
  border: 1.5px solid var(--line);
  box-shadow: var(--shadow-xs);
}
.btn--ghost:hover { border-color: var(--primary); color: var(--primary-600); }

.btn--light {
  background: #fff;
  color: var(--ink);
}
.btn--light:hover i { transform: translateX(4px); }

/* link met pijl */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  color: var(--primary-600);
  width: max-content;
}
.link-arrow i { width: 18px; height: 18px; transition: transform 0.4s var(--ease); }
.link-arrow:hover i { transform: translateX(5px); }

/* ----------------------------- Scroll progress --------------------------- */
.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  z-index: 1000;
  background: transparent;
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--grad-brand);
  transform-origin: left;
}

/* ----------------------------- Navigatie --------------------------------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 900;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: height 0.4s var(--ease), background 0.4s ease, box-shadow 0.4s ease,
    backdrop-filter 0.4s ease;
}
.nav.scrolled {
  height: 66px;
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  box-shadow: 0 10px 30px -18px rgba(12, 23, 34, 0.3);
  border-bottom: 1px solid rgba(231, 236, 243, 0.7);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
}

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__logo {
  width: auto;
  height: 72px;
  transition: height 0.4s var(--ease);
}
.nav.scrolled .brand__logo { height: 56px; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__text strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.06rem;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.brand__text small {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-600);
  font-weight: 600;
  margin-top: 3px;
}

.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__links a {
  position: relative;
  padding: 9px 14px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-2);
  border-radius: 999px;
  transition: color 0.25s ease, background 0.25s ease;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  background: var(--grad-soft);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after,
.nav__links a.active::after { transform: scaleX(1); }
.nav__links a.active { color: var(--primary-600); }

.nav__actions { display: flex; align-items: center; gap: 14px; }
.nav__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.93rem;
  color: var(--ink);
}
.nav__phone i { width: 18px; height: 18px; color: var(--primary); }
.nav__phone:hover { color: var(--primary-600); }

.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: #fff;
}
.nav__burger span {
  display: block;
  width: 20px;
  height: 2px;
  margin-inline: auto;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.25s ease;
}
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ----------------------------- Hero -------------------------------------- */
.hero {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(30px, 6vw, 70px));
  padding-bottom: clamp(60px, 8vw, 110px);
  overflow: hidden;
  background:
    radial-gradient(120% 120% at 85% -10%, var(--primary-050) 0%, transparent 45%),
    linear-gradient(180deg, #fbfdff 0%, #ffffff 100%);
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(36px, 5vw, 72px);
}

.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
  z-index: 0;
  pointer-events: none;
}
.hero__blob--1 {
  width: 460px; height: 460px;
  top: -120px; right: -120px;
  background: radial-gradient(circle, rgba(0, 114, 245, 0.5), transparent 70%);
}
.hero__blob--2 {
  width: 380px; height: 380px;
  bottom: -160px; left: -120px;
  background: radial-gradient(circle, rgba(230, 57, 110, 0.35), transparent 70%);
}

.hero__copy { position: relative; z-index: 2; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-2);
  margin-bottom: 26px;
}
.eyebrow__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(52, 168, 107, 0.18);
}

.hero__title {
  font-size: clamp(2.4rem, 1.3rem + 4.2vw, 4.1rem);
  font-weight: 700; /* extra dikgedrukt zodat de kop meer naar voren komt */
  letter-spacing: -0.035em;
  margin-bottom: 24px;
  text-wrap: balance; /* vult regels gelijkmatig, voorkomt losse woorden */
}
.hero__title .word { display: inline-block; }

.hero__sub {
  max-width: 30em;
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.2rem);
  color: var(--ink-2);
  margin-bottom: 34px;
}

.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 26px;
  font-size: 0.92rem;
  color: var(--muted);
}
.hero__trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust li strong { color: var(--ink); }
.hero__trust i { width: 17px; height: 17px; color: var(--primary); }
.hero__trust-stars { display: inline-flex; gap: 1px; color: #f6a609; }
.hero__trust-stars i { width: 15px; height: 15px; color: #f6a609; fill: #f6a609; }

/* Hero media */
.hero__media { position: relative; z-index: 1; }
.hero__image-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 4.4;
  border: 6px solid #fff;
}
.hero__image-card img { width: 100%; height: 100%; object-fit: cover; }

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.78);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  z-index: 3;
}
.float-card--rating { left: -28px; top: 16%; }
.float-card--years {
  right: -22px; bottom: 12%;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  text-align: left;
}
.float-card strong { font-family: "Space Grotesk", sans-serif; color: var(--ink); font-size: 0.96rem; line-height: 1.2; }
.float-card small { color: var(--muted); font-size: 0.78rem; line-height: 1.3; }
.float-card__icon {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 12px;
  color: #fff;
  flex-shrink: 0;
}
.float-card__icon i { width: 20px; height: 20px; }
.float-card__big { font-size: 1.9rem !important; }
.float-card__big span { color: var(--accent); }

.hero__sparkle {
  position: absolute;
  color: var(--orange);
  z-index: 4;
  filter: drop-shadow(0 4px 8px rgba(246, 131, 74, 0.4));
}
.hero__sparkle--a { width: 34px; height: 34px; top: -14px; right: 22%; color: var(--orange); }
.hero__sparkle--b { width: 22px; height: 22px; top: 30%; right: -10px; color: var(--accent); }

/* ----------------------------- Marquee ----------------------------------- */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-block: 20px;
  overflow: hidden;
  background: #fff;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: flex; width: max-content; }
.marquee__group {
  display: flex;
  align-items: center;
  gap: 30px;
  padding-right: 30px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--ink);
  white-space: nowrap;
}
.marquee__group .dot { color: var(--primary); }
.marquee--anim .marquee__group { animation: marquee 36s linear infinite; }
@keyframes marquee { to { transform: translateX(-100%); } }

/* ----------------------------- Over ons ---------------------------------- */
.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(40px, 6vw, 90px);
}
.about__media { position: relative; padding-bottom: 36px; }
.about__img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
/* Beeld is iets hoger dan de lijst en gecentreerd, zodat de parallax-beweging
   binnen de uitsnede blijft (geen lege rand boven/onder). */
.about__img img { width: 100%; height: 122%; margin-top: -11%; object-fit: cover; }
.about__img--main { aspect-ratio: 4 / 4.4; }
.about__img--sub {
  position: absolute;
  right: -6%;
  bottom: 0;
  width: 56%;
  aspect-ratio: 1 / 1;
  border: 6px solid #fff;
}
.about__badge {
  position: absolute;
  left: -6%;
  top: 8%;
  display: flex;
  flex-direction: column;
  padding: 18px 22px;
  background: var(--grad-brand-deep);
  color: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  line-height: 1.1;
}
.about__badge strong { font-family: "Space Grotesk", sans-serif; font-size: 2rem; }
.about__badge span { font-size: 0.84rem; margin-top: 4px; }

.about__copy .kicker { margin-bottom: 16px; }
.about__copy .h2 { margin-bottom: 22px; }
.about__copy p { margin-bottom: 16px; }

.checklist {
  display: grid;
  gap: 12px;
  margin: 26px 0 30px;
}
.checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  color: var(--ink);
}
.checklist i {
  width: 22px; height: 22px;
  flex-shrink: 0;
  color: var(--primary);
}

/* ----------------------------- Generieke kaart --------------------------- */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease),
    border-color 0.45s var(--ease);
}
.card__title {
  font-size: 1.28rem;
  margin-bottom: 10px;
}
.card__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 18px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--primary-600);
}
.card__link i { width: 17px; height: 17px; transition: transform 0.4s var(--ease); }
.card__link:hover i { transform: translateX(5px); }

/* ----------------------------- Diensten ---------------------------------- */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service { position: relative; overflow: hidden; }
.service::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--accent-card, var(--primary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.service:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: var(--accent-card, var(--primary)); /* fallback */
  border-color: color-mix(in srgb, var(--accent-card, var(--primary)) 40%, var(--line));
}
.service:hover::before { transform: scaleX(1); }

.service__icon {
  display: grid;
  place-items: center;
  width: 60px; height: 60px;
  border-radius: 18px;
  margin-bottom: 22px;
  color: var(--accent-card, var(--primary));
  background: var(--primary-050); /* fallback voor browsers zonder color-mix */
  background: color-mix(in srgb, var(--accent-card, var(--primary)) 12%, #fff);
  transition: transform 0.5s var(--ease), background 0.4s ease, color 0.4s ease;
}
.service__icon i { width: 28px; height: 28px; }
.service:hover .service__icon {
  background: var(--accent-card, var(--primary));
  color: #fff;
  transform: translateY(-3px) rotate(-4deg);
}

.service--cta {
  background: linear-gradient(160deg, #0c1722, #122236);
  border-color: transparent;
  color: #cdd7e3;
}
.service--cta .card__title { color: #fff; }
.service--cta p { color: #aab8c7; }
.service--cta .card__link { color: #7fb6ff; }
.service__icon--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.service--cta:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.service--cta:hover .service__icon--ghost { background: var(--primary); color: #fff; }

/* ----------------------------- Werkwijze --------------------------------- */
.process__steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.process__line {
  position: absolute;
  top: 34px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: var(--line);
  z-index: 0;
}
.process__line span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--grad-brand);
  transform-origin: left;
}
.process__step {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 6px;
}
.process__num {
  position: absolute;
  top: -6px;
  right: 14%;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 3.4rem;
  color: var(--primary-050);
  z-index: -1;
  letter-spacing: -0.04em;
}
.process__icon {
  display: grid;
  place-items: center;
  width: 68px; height: 68px;
  margin: 0 auto 20px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  color: var(--primary);
  transition: transform 0.45s var(--ease), color 0.3s ease, box-shadow 0.4s ease;
}
.process__icon i { width: 30px; height: 30px; }
.process__step:hover .process__icon {
  transform: translateY(-5px) scale(1.04);
  color: var(--accent);
  box-shadow: var(--shadow);
}
.process__step h3 { font-size: 1.16rem; margin-bottom: 8px; }
.process__step p { font-size: 0.96rem; color: var(--muted); }

/* ----------------------------- Cijfers / stats --------------------------- */
.stats {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding-block: clamp(70px, 8vw, 120px);
  background: #0c1722;
}
.stats__bg {
  position: absolute;
  inset: -12% 0;
  background-image: url("https://images.unsplash.com/photo-1497366811353-6870744d04b2?w=1800&q=70&auto=format&fit=crop");
  background-size: cover;
  background-position: center;
  z-index: 0;
  will-change: transform;
}
.stats__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(8, 22, 40, 0.86), rgba(8, 22, 40, 0.92)),
    linear-gradient(115deg, rgba(0, 114, 245, 0.45), rgba(230, 57, 110, 0.3));
}
.stats__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}
.stat__num {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: clamp(2.6rem, 1.6rem + 3vw, 4rem);
  line-height: 1;
  letter-spacing: -0.03em;
  background: linear-gradient(180deg, #fff, #cfe2ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat__label {
  display: block;
  margin-top: 12px;
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.78);
}
.stat { position: relative; }
.stat:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -15px;
  top: 18%;
  height: 64%;
  width: 1px;
  background: rgba(255, 255, 255, 0.16);
}

/* ----------------------------- CTA band ---------------------------------- */
.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  padding: clamp(36px, 5vw, 60px);
  border-radius: var(--radius-xl);
  background: var(--grad-brand-deep);
  color: #fff;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.cta-band__inner::before {
  content: "";
  position: absolute;
  width: 340px; height: 340px;
  right: -80px; top: -120px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 70%);
  border-radius: 50%;
}
.cta-band__inner h2 { color: #fff; max-width: 16em; }
.cta-band__inner p { color: #fff; margin-top: 12px; max-width: 34em; }
.cta-band__actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; position: relative; }
.cta-band__phone {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  color: #fff;
}
.cta-band__phone i { width: 19px; height: 19px; }
.cta-band__phone:hover { opacity: 0.85; }
.cta-band__whatsapp {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

/* ----------------------------- Contact ----------------------------------- */
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}
.contact__copy .kicker { margin-bottom: 16px; }
.contact__copy .h2 { margin-bottom: 16px; }

.contact__details {
  display: grid;
  gap: 18px;
  margin: 30px 0;
}
.contact__details li { display: flex; align-items: flex-start; gap: 14px; }
.contact__ico {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  flex-shrink: 0;
  border-radius: 14px;
  background: var(--primary-050);
  color: var(--primary);
}
.contact__ico i { width: 21px; height: 21px; }
.contact__ico--whatsapp {
  background: rgba(52, 168, 107, 0.12);
  color: var(--green);
}
/* alleen de tekstkolom stapelen; niet het icoonvlak (dat blijft gecentreerd) */
.contact__details li > span:not(.contact__ico) { display: flex; flex-direction: column; }
.contact__details small {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 2px;
}
.contact__details a, .contact__details li > span { color: var(--ink); font-weight: 500; }
.contact__details a:hover { color: var(--primary-600); }

.contact__map {
  margin-top: 26px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  line-height: 0;
}
.contact__map iframe { width: 100%; height: 230px; border: 0; filter: saturate(1.05); }

/* Formulier */
.contact__form-wrap {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 38px);
  box-shadow: var(--shadow);
  position: relative;
}
.contact-form__intro {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--ink);
  margin-bottom: 22px;
}
.field { display: flex; flex-direction: column; margin-bottom: 18px; }
.field--hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 7px;
}
.field input,
.field textarea,
.field select {
  font: inherit;
  font-size: 0.98rem;
  color: var(--ink);
  padding: 13px 15px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-2);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: #a4b0bf; }
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(0, 114, 245, 0.12);
}
.field.invalid input,
.field.invalid textarea,
.field.invalid select { border-color: var(--accent); background: #fff5f8; }
.field__error {
  font-size: 0.8rem;
  color: var(--accent-600);
  margin-top: 6px;
  min-height: 0;
  opacity: 0;
  transform: translateY(-3px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.field.invalid .field__error { opacity: 1; transform: translateY(0); }

.select-wrap { position: relative; }
.select-wrap select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 40px; }
.select-wrap i {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px; height: 18px;
  color: var(--muted);
  pointer-events: none;
}

.contact-form__note { font-size: 0.82rem; color: var(--muted); margin-top: 14px; text-align: center; }

.form-success[hidden],
.form-error[hidden] { display: none; }
.form-success {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  padding: 40px;
  background: #fff;
  border-radius: var(--radius-lg);
  z-index: 5;
}
.form-success strong { font-family: "Space Grotesk", sans-serif; font-size: 1.3rem; color: var(--ink); }
.form-success span { color: var(--muted); max-width: 26em; }
.form-success__icon {
  display: grid;
  place-items: center;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  margin-bottom: 6px;
}
.form-success__icon i { width: 32px; height: 32px; }
.form-error {
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(230, 57, 110, 0.28);
  border-radius: var(--radius-sm);
  background: #fff5f8;
  color: var(--accent-600);
  font-size: 0.92rem;
  font-weight: 600;
  text-align: center;
}

/* ----------------------------- Footer ------------------------------------ */
.footer {
  background: #0c1722;
  color: #aeb9c6;
  padding-top: clamp(56px, 7vw, 90px);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
}
.footer__brand p { color: #8d9aaa; margin: 18px 0 22px; max-width: 30em; font-size: 0.96rem; }
.brand--footer .brand__text strong { color: #fff; }
.footer__brand .brand__logo { height: 64px; }

.footer__social { display: flex; gap: 12px; }
.footer__social a {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  color: #cdd7e3;
  transition: background 0.3s ease, transform 0.3s ease, color 0.3s ease;
}
.footer__social a:hover { background: var(--primary); color: #fff; transform: translateY(-3px); }
.footer__social i { width: 19px; height: 19px; }

.footer__col h3 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 18px;
}
.footer__col ul { display: grid; gap: 11px; }
.footer__col a { color: #9aa7b6; font-size: 0.95rem; transition: color 0.25s ease; }
.footer__col a:hover { color: #fff; }
.footer__contact li { display: flex; align-items: center; gap: 9px; font-size: 0.95rem; }
.footer__contact i { width: 17px; height: 17px; color: var(--primary); flex-shrink: 0; }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-block: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.88rem;
  color: #7d8b9b;
}
.footer__legal { display: flex; gap: 20px; }
.footer__legal a:hover { color: #fff; }

/* ----------------------------- Legal pages ------------------------------- */
.legal-page {
  background:
    radial-gradient(100% 90% at 100% 0%, rgba(0, 114, 245, 0.08), transparent 42%),
    linear-gradient(180deg, var(--bg-2) 0%, #fff 360px);
}
.legal-hero {
  padding-top: calc(var(--nav-h) + clamp(82px, 9vw, 118px));
  padding-bottom: clamp(34px, 5vw, 58px);
}
.legal-hero .container { max-width: 980px; }
.legal-hero .h2 { margin-top: 14px; max-width: 760px; }
.legal-hero p {
  max-width: 760px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 1.08rem;
}
.legal-meta {
  font-size: 0.9rem !important;
  color: var(--primary-600) !important;
  font-weight: 600;
}
.legal-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}
.legal-toc {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-xs);
}
.legal-toc a {
  padding: 8px 10px;
  border-radius: 10px;
  color: var(--ink-2);
  font-size: 0.92rem;
  font-weight: 600;
}
.legal-toc a:hover { background: var(--primary-050); color: var(--primary-600); }
.legal-content {
  max-width: 820px;
  color: var(--ink-2);
}
.legal-content section {
  padding: 0 0 34px;
  margin-bottom: 34px;
  border-bottom: 1px solid var(--line);
}
.legal-content section:last-child {
  border-bottom: 0;
  margin-bottom: 0;
}
.legal-content h2 {
  margin-bottom: 14px;
  font-size: clamp(1.35rem, 1.1rem + 0.8vw, 1.8rem);
}
.legal-content p + p,
.legal-content p + ul,
.legal-content ul + p { margin-top: 14px; }
.legal-content ul {
  list-style: disc;
  padding-left: 1.2rem;
  color: var(--ink-2);
}
.legal-content li + li { margin-top: 8px; }
.legal-content a {
  color: var(--primary-600);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ----------------------------- Back to top ------------------------------- */
.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-primary);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.9);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0.4s;
  z-index: 800;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.to-top:hover { background: var(--primary-600); transform: translateY(-3px); }
.to-top i { width: 22px; height: 22px; }

/* ==========================================================================
   GSAP reveal-staten: alleen verbergen wanneer JS draait (html.gsap-ready).
   Zo blijft de site volledig leesbaar als JS uitstaat of faalt.
   ========================================================================== */
.gsap-ready [data-reveal] { opacity: 0; transform: translateY(36px); }
.gsap-ready [data-hero] { opacity: 0; }
.gsap-ready .hero__title,
.gsap-ready .hero__media { opacity: 0; }
.gsap-ready .float-card { opacity: 0; }

/* ----------------------------- Responsive -------------------------------- */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero__media { max-width: 460px; margin-inline: auto; width: 100%; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 880px) {
  :root { --nav-h: 72px; }
  .brand__logo, .nav.scrolled .brand__logo { height: 56px; }
  .nav__links {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 16px var(--gutter) 24px;
    background: rgba(255, 255, 255, 0.96);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow);
    border-bottom: 1px solid var(--line);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.35s var(--ease), opacity 0.3s ease, visibility 0.3s;
  }
  .nav__links.open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav__links a { padding: 13px 8px; font-size: 1.02rem; }
  .nav__links a::after { display: none; }
  .nav__burger { display: flex; }
  .nav__phone { display: none; }
  .nav__cta { display: none; }

  .about__inner { grid-template-columns: 1fr; gap: 60px; }
  .about__media { max-width: 480px; margin-inline: auto; width: 100%; }
  .process__steps { grid-template-columns: repeat(2, 1fr); gap: 40px 26px; }
  .process__line { display: none; }
  .contact__inner { grid-template-columns: 1fr; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static; }
  .stats__inner { grid-template-columns: repeat(2, 1fr); gap: 40px 20px; }
  .stat:nth-child(2)::after { display: none; }
}

@media (max-width: 560px) {
  body { font-size: 1rem; }
  .services__grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; text-align: left; }
  .cta-band__actions { width: 100%; }
  .float-card--rating { left: -6px; top: 10px; padding: 11px 14px; }
  .float-card--years { right: -6px; }
  .float-card small { font-size: 0.72rem; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .stats__inner { grid-template-columns: 1fr; gap: 36px; }
  .stat::after { display: none !important; }
  .to-top { right: 16px; bottom: 16px; }
}

/* ==========================================================================
   Lucide-iconen: het script vervangt <i data-lucide> door een <svg>.
   Classes op het element blijven behouden, maar contextuele "i"-selectors
   matchen daarna niet meer. Daarom sturen we de svg-output hieronder aan.
   ========================================================================== */
.lucide { width: 20px; height: 20px; flex-shrink: 0; stroke-width: 2; }
.btn svg { width: 18px; height: 18px; transition: transform 0.4s var(--ease); }
.link-arrow svg,
.card__link svg { width: 17px; height: 17px; }
.nav__phone svg { width: 18px; height: 18px; }
.hero__trust svg { width: 17px; height: 17px; }
.hero__trust-stars svg { width: 15px; height: 15px; fill: #f6a609; }
.checklist svg { width: 22px; height: 22px; }
.float-card__icon svg { width: 20px; height: 20px; }
.service__icon svg { width: 28px; height: 28px; }
.process__icon svg { width: 30px; height: 30px; }
.cta-band__phone svg { width: 19px; height: 19px; }
.contact__ico svg { width: 21px; height: 21px; }
.select-wrap svg { width: 18px; height: 18px; }
.form-success__icon svg { width: 32px; height: 32px; }
.footer__social svg { width: 19px; height: 19px; }
.footer__contact svg { width: 17px; height: 17px; }
.to-top svg { width: 22px; height: 22px; }

/* Anker-offset zodat secties niet onder de vaste nav verdwijnen (ook zonder JS).
   Volgt de responsive --nav-h, zodat JS en niet-JS dezelfde landing geven. */
section[id], #top { scroll-margin-top: calc(var(--nav-h) + 12px); }

/* ----------------------------- Skip link --------------------------------- */
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 1100;
  padding: 12px 18px;
  background: var(--primary-600);
  color: #fff;
  border-radius: 10px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  box-shadow: var(--shadow);
  transition: top 0.25s var(--ease);
}
.skip-link:focus { top: 12px; }
#top:focus { outline: none; } /* geen lelijke rand rond de hele main bij overslaan */

/* ----------------------------- backdrop-filter fallback ------------------- */
/* Browsers zonder backdrop-filter krijgen een ondoorzichtige achtergrond,
   zodat tekst altijd leesbaar blijft. */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .nav.scrolled { background: #fff; }
  .float-card { background: #fff; }
  .nav__links { background: #fff; }
}

/* ----------------------------- Reduced motion ---------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .gsap-ready [data-reveal],
  .gsap-ready [data-hero],
  .gsap-ready .hero__title,
  .gsap-ready .hero__title .word,
  .gsap-ready .hero__media,
  .gsap-ready .float-card { opacity: 1 !important; transform: none !important; }
  .marquee--anim .marquee__group { animation: none !important; }
}
