/* ==========================================================================
   MP Timmer- en Onderhoudsbedrijf — design system "Meister & Vorm"
   Tokens: zie DESIGN.md. Kleuren alleen via de variabelen hieronder.
   ========================================================================== */

/* Lettertype: Plus Jakarta Sans (variabel, 400–800), zelf gehost vanaf fonts/ (geen verbinding met Google) */
@font-face {
  font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("fonts/plus-jakarta-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Merk */
  --c-primary: #2F1D69;
  --c-primary-hover: #24154F;
  --c-primary-tint: rgba(47, 29, 105, 0.05);
  --c-cyan: #00A7D7;                       /* uit het logo — iconen en accenten */
  --c-cyan-tint: rgba(0, 167, 215, 0.1);
  --c-cyan-glow: rgba(0, 167, 215, 0.16);
  --c-cyan-glow-strong: rgba(0, 167, 215, 0.28);
  --c-wood-text: #815522;                  /* hout met AA-contrast voor kleine tekst */

  /* Neutraal */
  --c-text: #242424;
  --c-text-muted: #686868;
  --c-canvas: #F7F5F1;
  --c-surface: #FFFFFF;
  --c-subtle: #EAE7E2;
  --c-border: #DCD7CE;
  --c-glass: rgba(255, 255, 255, 0.94);
  --c-backdrop: rgba(31, 26, 36, 0.45);
  --c-photo-shade: rgba(31, 26, 36, 0.85);
  --c-lightbox: rgba(20, 16, 26, 0.94);

  /* Op donkere achtergrond */
  --c-on-dark: #FFFFFF;
  --c-on-dark-muted: rgba(255, 255, 255, 0.82);
  --c-on-dark-line: rgba(255, 255, 255, 0.35);
  --c-on-dark-tint: rgba(255, 255, 255, 0.08);
  --c-on-dark-shine: rgba(255, 255, 255, 0.28);
  --c-on-dark-grain: rgba(255, 255, 255, 0.025);
  --c-on-primary-muted: #CCBEFF;

  /* Status en kanalen */
  --c-green: #1F9D55;
  --c-error: #C62828;
  --c-error-tint: rgba(198, 40, 40, 0.08);
  --c-green-ring: rgba(31, 157, 85, 0.2);
  --c-whatsapp: #25D366;
  --c-whatsapp-hover: #1EBE5A;

  /* Placeholder voor ontbrekende foto's */
  --c-placeholder-from: #EFE6DA;
  --c-placeholder-to: #E2D3C0;
  --c-placeholder-grain: rgba(183, 131, 76, 0.07);

  /* Typografie */
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Vorm */
  --r-sm: 0.25rem;
  --r: 0.5rem;
  --r-lg: 1rem;
  --r-full: 9999px;

  /* Ruimte */
  --gutter: 1rem;
  --margin: 1.25rem;
  --section-y: 4rem;

  /* Header (uitgeklapt / gekrompen na scrollen) */
  --logo-h: 3rem;
  --header-h: 4.5rem;
  --logo-h-sm: 2.5rem;
  --header-h-sm: 4rem;

  /* Diepte */
  --shadow-card: 0 1px 2px rgba(36, 36, 36, 0.04), 0 4px 16px -6px rgba(47, 29, 105, 0.06);
  --shadow-overlay: 0 8px 24px -4px rgba(47, 29, 105, 0.08), 0 2px 6px -1px rgba(36, 36, 36, 0.04);
  --shadow-lift: 0 12px 28px -8px rgba(47, 29, 105, 0.14);
  --shadow-btn: 0 6px 16px -4px rgba(47, 29, 105, 0.12);
  --shadow-panel: 0 24px 48px -16px rgba(31, 26, 36, 0.18);
  --shadow-float: 0 10px 30px -8px rgba(31, 26, 36, 0.35);

  /* Beweging */
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

@media (min-width: 768px)  { :root { --gutter: 1.25rem; --margin: 2rem; --section-y: 5rem; } }
@media (min-width: 1024px) { :root { --gutter: 1.5rem;  --margin: 3rem; --section-y: 6rem; } }
@media (min-width: 1240px) { :root { --logo-h: 4.125rem; --header-h: 5.75rem; --logo-h-sm: 3.25rem; --header-h-sm: 4.75rem; } }
@media (min-width: 1360px) { :root { --logo-h: 5.25rem;  --header-h: 6.75rem; --logo-h-sm: 3.5rem;  --header-h-sm: 5rem; } }

/* Reset ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0;
  padding-top: var(--header-h); /* ruimte voor de vaste header */
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.625;
  color: var(--c-text);
  background: var(--c-surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, figure, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }
fieldset { padding: 0; border: 0; }
a { color: inherit; }
address { font-style: normal; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 3px; border-radius: var(--r-sm); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; margin: -1px;
}
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  padding: .75rem 1rem; background: var(--c-primary); color: var(--c-on-dark); border-radius: var(--r);
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.icon { width: 1.125rem; height: 1.125rem; flex: none; }

/* Bereikbaarheidsindicator (aan/uit via main.js) */
.status-dot {
  display: inline-block; flex: none;
  width: .5rem; height: .5rem; margin-left: .5rem;
  border-radius: 50%;
  background: var(--c-green);
  box-shadow: 0 0 0 3px var(--c-green-ring);
  vertical-align: middle;
}

/* Layout ----------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(1280px + 2 * var(--margin));
  margin-inline: auto;
  padding-inline: var(--margin);
}
.section { padding-block: var(--section-y); }
.section--warm { background: var(--c-canvas); }

/* Typografie -------------------------------------------------------------- */
h1 {
  font-size: clamp(2rem, 1.2rem + 3.2vw, 3rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--c-primary);
}
h2 {
  font-size: clamp(1.625rem, 1.2rem + 1.6vw, 2.25rem);
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--c-primary);
}
h3 {
  font-size: 1.125rem;
  line-height: 1.45;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--c-text);
}
.lead { font-size: 1.125rem; line-height: 1.6; color: var(--c-text-muted); }

.section-head { max-width: 44rem; margin-bottom: 2.5rem; }
.section-head h2 + p { margin-top: .75rem; color: var(--c-text-muted); }
.section-head--center { text-align: center; margin-inline: auto; }
.section-head--split { max-width: none; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.5rem; }
.section-head--split > div { max-width: 44rem; }

/* Knoppen ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 3rem;
  padding: .75rem 1.5rem;
  border: 1.5px solid transparent;
  border-radius: var(--r);
  font-size: .9375rem; font-weight: 600; line-height: 1.25;
  text-decoration: none; white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease),
              transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn .icon { width: 1rem; height: 1rem; }
.btn .icon:last-child { transition: transform .3s var(--ease-out); }
.btn:hover .icon:last-child { transform: translateX(4px); }
.btn--sm { min-height: 2.5rem; padding: .5rem 1.125rem; font-size: .875rem; }

.btn--primary { background: var(--c-primary); color: var(--c-on-dark); }
.btn--primary:hover { background: var(--c-primary-hover); transform: translateY(-1px); box-shadow: var(--shadow-btn); }

.btn--ghost { background: var(--c-surface); color: var(--c-primary); border-color: var(--c-border); }
.btn--ghost:hover { border-color: var(--c-primary); background: var(--c-primary-tint); }
/* Op een grijze achtergrond geen rand */
.section--warm .btn--ghost { border-color: transparent; }
.section--warm .btn--ghost:hover { border-color: transparent; background: var(--c-surface); color: var(--c-primary-hover); box-shadow: var(--shadow-btn); }


.btn--light { background: var(--c-surface); color: var(--c-primary); }
.btn--light:hover { background: var(--c-canvas); transform: translateY(-1px); }

.btn--outline-light { color: var(--c-on-dark); border-color: var(--c-on-dark-line); }
.btn--outline-light:hover { border-color: var(--c-on-dark); background: var(--c-on-dark-tint); }

/* Lichtschittering over primaire en lichte knoppen */
.btn--primary, .btn--light { position: relative; overflow: hidden; isolation: isolate; }
.btn--primary::after, .btn--light::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, var(--c-on-dark-shine) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .7s var(--ease-out);
}
.btn--light::after { background: linear-gradient(110deg, transparent 30%, var(--c-cyan-glow) 50%, transparent 70%); }
.btn--primary:hover::after, .btn--light:hover::after { transform: translateX(120%); }

.btn-group { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn-group--center { justify-content: center; }

/* Header ----------------------------------------------------------------- */
/* Vast i.p.v. sticky: zo verschuift de pagina niet als de header krimpt */
.site-header {
  --nav-h: var(--header-h);
  --brand-h: var(--logo-h);
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: var(--c-surface);
  transition: box-shadow .25s var(--ease);
}
.site-header.is-scrolled {
  --nav-h: var(--header-h-sm);
  --brand-h: var(--logo-h-sm);
  box-shadow: var(--shadow-overlay);
}

.navbar {
  display: flex; align-items: stretch; gap: 2rem;
  min-height: var(--nav-h);
  transition: min-height .25s var(--ease);
}

.brand { flex: none; display: flex; align-items: center; }
.brand img { height: var(--brand-h); width: auto; transition: height .25s var(--ease); }

.nav { margin-left: auto; display: flex; }
.nav__list { display: flex; align-items: stretch; gap: .875rem; }
.nav__list > li { display: flex; align-items: center; }
.nav__link {
  position: relative; display: block; padding: .5rem;
  font-size: .9375rem; font-weight: 600; text-decoration: none; color: var(--c-text); white-space: nowrap;
  transition: color .2s;
}
.nav__link:hover { color: var(--c-primary); }
/* Cyaan lijn groeit onder het item */
.nav__link::after {
  content: ""; position: absolute; left: .5rem; right: .5rem; bottom: .15rem;
  height: 2px; border-radius: 2px; background: var(--c-cyan);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease-out);
}
.nav__link:hover::after,
.has-sub.is-open > .nav__link::after { transform: scaleX(1); }
.nav__mobile-contact { display: none; }

.sub-toggle {
  display: inline-grid; place-items: center;
  width: 1.75rem; height: 1.75rem; margin-left: -.375rem;
  padding: 0; background: none; border: 0; border-radius: var(--r-sm);
  color: var(--c-text-muted); cursor: pointer;
}
.sub-toggle .icon { width: 1rem; height: 1rem; transition: transform .2s var(--ease); }
.has-sub.is-open .sub-toggle .icon { transform: rotate(180deg); }

.navbar__actions { display: flex; align-items: center; gap: .75rem; }
/* Telefoonknop: alleen op mobiel/tablet (zie max-width: 1239px) */
.navbar__phone {
  position: relative;
  display: none; place-items: center;
  width: 2.75rem; height: 2.75rem;
  border: 1px solid var(--c-border); border-radius: var(--r);
  color: var(--c-primary);
  transition: border-color .2s, background-color .2s;
}
.navbar__phone:hover { border-color: var(--c-primary); background: var(--c-primary-tint); }
.navbar__phone .status-dot { position: absolute; top: -.25rem; right: -.25rem; margin: 0; box-shadow: 0 0 0 2px var(--c-surface); }

.nav-toggle {
  display: none;
  width: 2.75rem; height: 2.75rem;
  align-items: center; justify-content: center;
  background: none; border: 1px solid var(--c-border); border-radius: var(--r);
  color: var(--c-primary); cursor: pointer;
}
.nav-toggle .icon { width: 1.375rem; height: 1.375rem; }

/* Submenu ---------------------------------------------------------------- */
.submenu__title {
  font-size: 1.375rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.3;
  color: var(--c-primary);
  margin-bottom: .25rem;
}
.submenu__text { max-width: 40rem; font-size: .875rem; line-height: 1.55; color: var(--c-text-muted); }
.submenu__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.75rem 1.5rem; }
.submenu__grid a {
  display: flex; flex-direction: column; gap: .625rem;
  font-size: .9375rem; font-weight: 600; line-height: 1.3; text-decoration: none; color: var(--c-text);
}
.submenu__grid a:hover { color: var(--c-primary); }
.submenu__thumb { aspect-ratio: 3 / 2; border-radius: var(--r); }
.submenu__thumb.media--empty::after { content: ""; }
.submenu__grid a:hover img { transform: scale(1.05); }
.submenu__all {
  display: inline-flex; align-items: center; gap: .375rem; flex: none;
  font-size: .875rem; font-weight: 700; color: var(--c-primary); text-decoration: none;
}
.submenu__all .icon { width: 1rem; height: 1rem; }

@media (min-width: 1240px) {
  /* Paneel over de volle browserbreedte; inhoud uitgelijnd op de container */
  .submenu {
    position: absolute; top: 100%; left: 0; right: 0;
    display: grid; gap: 1.75rem;
    padding: 2rem max(var(--margin), calc((100% - 1280px) / 2)) 2.5rem;
    max-height: calc(100dvh - var(--nav-h)); overflow-y: auto;
    background: var(--c-surface);
    border-top: 1px solid var(--c-subtle);
    box-shadow: var(--shadow-panel);
    opacity: 0; visibility: hidden; transform: translateY(6px);
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s linear .2s;
  }
  .submenu__intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; }


  /* Items schuiven gestaffeld in */
  .submenu__grid li { opacity: 0; transform: translateY(12px); transition: opacity .4s var(--ease-out), transform .5s var(--ease-out); }
  .submenu__grid li:nth-child(1) { transition-delay: .05s; }
  .submenu__grid li:nth-child(2) { transition-delay: .09s; }
  .submenu__grid li:nth-child(3) { transition-delay: .13s; }
  .submenu__grid li:nth-child(4) { transition-delay: .17s; }
  .submenu__grid li:nth-child(5) { transition-delay: .21s; }
  .submenu__grid li:nth-child(6) { transition-delay: .25s; }
  .submenu__grid li:nth-child(7) { transition-delay: .29s; }
  .submenu__grid li:nth-child(8) { transition-delay: .33s; }
  .submenu__grid li:nth-child(9) { transition-delay: .37s; }
  .submenu__grid li:nth-child(10) { transition-delay: .41s; }

  .has-sub.is-open > .submenu {
    opacity: 1; visibility: visible; transform: none;
    transition: opacity .2s var(--ease), transform .2s var(--ease);
  }
  .has-sub.is-open .submenu__grid li { opacity: 1; transform: none; }

  /* Pagina vervaagt zodra een submenu open is */
  .site-header::before {
    content: ""; position: fixed; z-index: -1;
    top: var(--nav-h); left: 0; right: 0; bottom: 0;
    background: var(--c-backdrop);
    backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .25s var(--ease), visibility 0s linear .25s;
  }
  .site-header:has(.has-sub.is-open)::before {
    opacity: 1; visibility: visible;
    transition: opacity .25s var(--ease);
  }

  @media (hover: hover) {
    .has-sub:hover > .submenu {
      opacity: 1; visibility: visible; transform: none;
      transition: opacity .2s var(--ease) .08s, transform .2s var(--ease) .08s;
    }
    .has-sub:hover .submenu__grid li { opacity: 1; transform: none; }
    .has-sub:hover > .nav__link { color: var(--c-primary); }
    .has-sub:hover > .nav__link::after { transform: scaleX(1); }
    .site-header:has(.has-sub:hover)::before {
      opacity: 1; visibility: visible;
      transition: opacity .25s var(--ease) .08s;
    }
  }
}

/* Mobiel menu */
@media (max-width: 1239px) {
  .navbar { align-items: center; }
  .nav-toggle { display: inline-flex; }
  .navbar__actions { margin-left: auto; }
  .navbar__phone { display: inline-grid; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    display: none; flex-direction: column;
    background: var(--c-surface);
    box-shadow: var(--shadow-overlay);
    padding: .5rem var(--margin) 1.5rem;
    max-height: calc(100dvh - var(--nav-h)); overflow-y: auto;
  }
  .nav.is-open { display: flex; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list > li { flex-wrap: wrap; }
  .nav__list > li + li { border-top: 1px solid var(--c-subtle); }
  .nav__link { flex: 1; padding: .9rem 0; font-size: 1rem; }
  .nav__link::after { display: none; }
  .sub-toggle { width: 2.75rem; height: 2.75rem; margin: 0; }

  .submenu { display: none; flex-basis: 100%; padding: 0 0 1rem; }
  .has-sub.is-open > .submenu { display: flex; flex-direction: column; }
  .submenu__intro { order: 2; }
  .submenu__title, .submenu__text { display: none; }
  .submenu__grid { grid-template-columns: 1fr; gap: .25rem; }
  .submenu__grid a { flex-direction: row; align-items: center; gap: .875rem; padding: .375rem 0; font-weight: 500; }
  .submenu__thumb { width: 3.5rem; flex: none; aspect-ratio: 4 / 3; border-radius: var(--r-sm); }
  .submenu__all { margin-top: .75rem; }

  .nav__mobile-contact { display: grid; gap: .625rem; margin-top: 1rem; }
  .nav__hours { font-size: .8125rem; color: var(--c-text-muted); text-align: center; }
}
/* Mobiel menu open: pagina vervaagt en scrollt niet mee; klik op de achtergrond sluit (main.js) */
@media (max-width: 1239px) {
  .site-header::before {
    content: ""; position: fixed; z-index: -1;
    top: var(--nav-h); left: 0; right: 0; bottom: 0;
    background: var(--c-backdrop);
    backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
    opacity: 0; visibility: hidden;
    transition: opacity .25s var(--ease), visibility 0s linear .25s;
  }
  .menu-open .site-header::before { opacity: 1; visibility: visible; transition: opacity .25s var(--ease); }
  html.menu-open { overflow: hidden; }
}
@media (max-width: 560px) {
  .navbar__cta { display: none; }
}

/* Media / placeholders --------------------------------------------------- */
.media {
  position: relative; overflow: hidden;
  background:
    repeating-linear-gradient(100deg, var(--c-placeholder-grain) 0 2px, transparent 2px 14px),
    linear-gradient(135deg, var(--c-placeholder-from), var(--c-placeholder-to));
}
.media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.media--empty img { visibility: hidden; }
.media--empty::after {
  content: "Foto volgt";
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-size: .6875rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--c-wood-text);
}

/* Hero ------------------------------------------------------------------- */
.hero { position: relative; isolation: isolate; padding-block: 3rem 4rem; overflow: hidden; }
/* Zachte, langzaam zwevende gloed op de achtergrond */
.hero::before {
  content: ""; position: absolute; z-index: -1;
  width: 46rem; height: 46rem; right: -12rem; top: -14rem;
  background: radial-gradient(closest-side, var(--c-cyan-glow), transparent 70%),
              radial-gradient(closest-side at 30% 70%, var(--c-primary-tint), transparent 70%);
  filter: blur(20px);
  animation: float-glow 18s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes float-glow {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(-6rem, 5rem) scale(1.15); }
}
.hero__grid { display: grid; gap: 2.5rem; align-items: center; }
.hero h1 { margin-bottom: 1.25rem; max-width: 14ch; }
.hero .lead { max-width: 34rem; margin-bottom: 2rem; }
.hero .btn-group { margin-bottom: 2rem; }


/* Slider met recente opleveringen */
.hero-slider { position: relative; aspect-ratio: 6 / 5; border-radius: var(--r-lg); overflow: hidden; }
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden;
  transition: opacity .9s var(--ease), visibility 0s linear .9s;
}
.hero-slide.is-active { opacity: 1; visibility: visible; transition: opacity .9s var(--ease); }
.hero-slide .media { position: absolute; inset: 0; }
.hero-slide img { transform: scale(1.06); transition: transform 7s linear; }
.hero-slide.is-active img { transform: scale(1); }

/* Onderschrift als witte titel in de foto, net als bij de projectkaarten */
.hero-slide::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, var(--c-photo-shade) 0%, transparent 50%);
}
.hero__caption {
  position: absolute; z-index: 2; left: 1.25rem; bottom: 1.25rem;
  max-width: calc(100% - 9rem);
  font-size: clamp(1.125rem, .9rem + .8vw, 1.5rem); font-weight: 700; line-height: 1.3; letter-spacing: -0.01em;
  color: var(--c-on-dark);
  opacity: 0; transform: translateY(8px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.hero-slide.is-active .hero__caption { opacity: 1; transform: none; transition-delay: .35s; }
.hero__caption a { color: inherit; text-decoration: none; }

/* Bolletjes rechtsonder in de foto */
.hero-slider__dots {
  position: absolute; right: 1rem; bottom: 1rem; z-index: 3;
  display: flex; gap: .125rem;
  padding: .25rem;
  background: var(--c-glass);
  border-radius: var(--r-full);
  box-shadow: var(--shadow-overlay);
}
.hero-slide .project__tags { z-index: 2; }
.hero-slider__dot {
  display: grid; place-items: center;
  width: 1.5rem; height: 1.5rem; padding: 0;
  background: none; border: 0; border-radius: var(--r-full); cursor: pointer;
  transition: width .4s var(--ease-out);
}
.hero-slider__dot::before {
  content: ""; width: .5rem; height: .5rem; border-radius: var(--r-full);
  background: var(--c-border);
  transition: width .4s var(--ease-out), background-color .3s var(--ease);
}
.hero-slider__dot:hover::before { background: var(--c-text-muted); }
.hero-slider__dot[aria-current="true"] { width: 2.25rem; }
.hero-slider__dot[aria-current="true"]::before { width: 1.5rem; background: var(--c-cyan); }

@media (min-width: 900px) {
  .hero { padding-block: 4.5rem 6rem; }
  /* zelfde kolomverdeling als "Over Michel", zodat de foto even breed is als de tekstkolom eronder */
  .hero__grid { grid-template-columns: 1fr 1.1fr; gap: 4.5rem; }
  .hero__caption { left: 1.75rem; bottom: 1.5rem; }
  .hero-slider__dots { right: 1.5rem; bottom: 1.5rem; }
  .hero-slide .project__tags { top: 1.5rem; left: 1.5rem; }
}

/* Over Michel ------------------------------------------------------------ */
.about__grid { display: grid; gap: 2.5rem; align-items: center; }
.media--portrait { aspect-ratio: 1 / 1; border-radius: var(--r-lg); }
.about__content h2 { margin-bottom: 1.25rem; }
.about__content > p { color: var(--c-text-muted); margin-bottom: 2rem; }

@media (min-width: 900px) {
  .about__grid { grid-template-columns: 1fr 1.1fr; gap: 4.5rem; }
  .media--portrait { aspect-ratio: 5 / 4; }
}

/* Cards ------------------------------------------------------------------ */
.card {
  position: relative;
  background: var(--c-surface);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: box-shadow .4s var(--ease-out), transform .4s var(--ease-out);
}
.card:hover { box-shadow: var(--shadow-lift); transform: translateY(-6px); }
.card:hover .media img { transform: scale(1.06); }
.card:focus-within { outline: 2px solid var(--c-primary); outline-offset: 2px; }
.card__body { padding: 1.5rem; }
.stretched::after { content: ""; position: absolute; inset: 0; z-index: 3; }

.chip {
  display: inline-flex; align-items: center; gap: .25rem;
  padding: .25rem .5rem;
  border-radius: var(--r-sm);
  background: var(--c-glass);
  color: var(--c-text);
  font-size: .625rem; font-weight: 700; letter-spacing: .08em; line-height: 1rem; text-transform: uppercase;
}
.chip .icon { width: .75rem; height: .75rem; color: var(--c-cyan); }

/* Diensten --------------------------------------------------------------- */
.services { display: grid; gap: var(--gutter); }
.media--card { aspect-ratio: 16 / 10; }
.service { display: flex; flex-direction: column; }
.service .card__body { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: .75rem; }
.service h3 { font-size: 1.25rem; }
.service h3 a { text-decoration: none; }

.bullets { display: grid; gap: .375rem; font-size: .875rem; color: var(--c-text-muted); margin-bottom: .5rem; }
.bullets li { display: flex; gap: .625rem; align-items: baseline; }
.bullets li::before {
  content: ""; flex: none; width: .375rem; height: .375rem; border-radius: 1px;
  background: var(--c-cyan); transform: translateY(-.1rem);
}

.link-arrow {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: .375rem;
  font-size: .875rem; font-weight: 700; color: var(--c-primary);
}
.link-arrow .icon { width: 1rem; height: 1rem; transition: transform .2s var(--ease); }
.service:hover .link-arrow .icon { transform: translateX(3px); }

@media (min-width: 768px) { .services { grid-template-columns: repeat(2, 1fr); } }

/* Projecten -------------------------------------------------------------- */
.filter { display: flex; flex-wrap: wrap; gap: .5rem; margin: -1rem 0 2rem; }
.filter__btn {
  padding: .5rem 1.125rem;
  background: var(--c-surface);
  border: 1px solid var(--c-border); border-radius: var(--r-full);
  font-size: .875rem; font-weight: 600; color: var(--c-text);
  cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.filter__btn:hover { border-color: var(--c-cyan); color: var(--c-primary); }
/* Actieve filter in cyaan, zodat hij niet verward wordt met de paarse CTA-knoppen */
.filter__btn[aria-pressed="true"] { background: var(--c-cyan); border-color: var(--c-cyan); color: var(--c-on-dark); }

/* Projectkaart: foto vult de kaart, titel staat erin; de hele kaart is klikbaar (.stretched) */
.projects { display: grid; gap: var(--gutter); }
.project { display: flex; align-items: flex-end; min-height: 20rem; isolation: isolate; cursor: pointer; }
/* Foto + verloop onder de inhoud; de titel blijft 'static', zodat het klikvlak van de link de hele kaart beslaat */
.project .media { position: absolute; inset: 0; z-index: -1; }
.project .media::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, var(--c-photo-shade) 0%, transparent 55%);
}
.project__tags { position: absolute; z-index: 2; top: .875rem; left: .875rem; display: flex; flex-wrap: wrap; gap: .375rem; }
.project__title {
  display: flex; align-items: center; gap: .5rem;
  padding: 1.25rem 1.5rem;
  font-size: 1.25rem; line-height: 1.3; color: var(--c-on-dark);
}

.project__title a { text-decoration: none; }
.project__title .icon { width: 1.125rem; height: 1.125rem; color: var(--c-cyan); opacity: 0; transform: translateX(-6px); transition: opacity .3s var(--ease), transform .3s var(--ease-out); }
.project:hover .project__title .icon { opacity: 1; transform: none; }

.project.is-entering { animation: card-in .6s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 70ms); }
@keyframes card-in { from { opacity: 0; transform: translateY(24px) scale(.98); } }

/* Mobiel: projecten op de homepage als swipebare rij in plaats van een lange lijst */
@media (max-width: 767px) {
  .projects {
    grid-auto-flow: column; grid-auto-columns: 82%;
    overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-inline: var(--margin);
    margin-inline: calc(-1 * var(--margin)); padding: .25rem var(--margin) 1rem;
    scrollbar-width: none;
  }
  .projects::-webkit-scrollbar { display: none; }
  .projects > .project { scroll-snap-align: start; min-height: 24rem; }
  .projects > .project:hover { transform: none; }
  /* Filterknoppen ook horizontaal scrollen */
  #projecten .filter {
    flex-wrap: nowrap; overflow-x: auto;
    margin-inline: calc(-1 * var(--margin)); padding-inline: var(--margin);
    scrollbar-width: none;
  }
  #projecten .filter::-webkit-scrollbar { display: none; }
  #projecten .filter__btn { flex: none; }
}

.projects__empty {
  display: grid; justify-items: center; gap: 1rem;
  padding: 3rem 1.5rem;
  background: var(--c-canvas); border-radius: var(--r);
  text-align: center; color: var(--c-text-muted);
}

@media (min-width: 768px) {
  .projects { grid-template-columns: repeat(3, 1fr); }
  .project { min-height: 22rem; }
  .project.is-wide { grid-column: span 2; }
  .project.is-full { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .project { min-height: 26rem; }
  .project__title { padding: 1.5rem 1.75rem; font-size: 1.375rem; }
}

/* Waarden ---------------------------------------------------------------- */
.values { display: grid; gap: var(--gutter); }
.value { padding: 1.5rem; }
.icon-tile {
  display: inline-grid; place-items: center;
  width: 2.75rem; height: 2.75rem; margin-bottom: 1.25rem;
  border-radius: var(--r);
  background: var(--c-cyan-tint);
  color: var(--c-cyan);
  transition: background-color .3s var(--ease), color .3s var(--ease), transform .5s var(--ease-out);
}
.icon-tile .icon { width: 1.25rem; height: 1.25rem; }
.value:hover .icon-tile { background: var(--c-cyan); color: var(--c-on-dark); transform: rotate(-8deg) scale(1.08); }
.value h3 { margin-bottom: .375rem; }
.value p { font-size: .875rem; color: var(--c-text-muted); line-height: 1.55; }

@media (min-width: 600px)  { .values { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .values { grid-template-columns: repeat(4, 1fr); } }

/* Review ----------------------------------------------------------------- */
.review__inner { max-width: 56rem; text-align: center; }
.review__title { margin-bottom: 1.5rem; font-size: clamp(1.375rem, 1.1rem + 1vw, 1.75rem); }
.review__card {
  position: relative;
  padding: 3rem 1.5rem 2.25rem;
  background: var(--c-canvas);
  border-radius: var(--r-lg);
}
.review__mark { width: 2.75rem; height: auto; margin: 0 auto 1.25rem; color: var(--c-cyan); }
.review__quote p {
  max-width: 44rem; margin-inline: auto;
  font-size: clamp(1.25rem, .95rem + 1.4vw, 1.875rem); font-weight: 600; line-height: 1.4; letter-spacing: -0.015em;
  color: var(--c-primary);
}
.review__meta {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .25rem .75rem;
  margin-top: 1.75rem;
  font-size: .9375rem; color: var(--c-text-muted);
}
.review__meta strong { color: var(--c-text); }
.review__meta > * + *::before { content: "·"; margin-right: .75rem; color: var(--c-border); }
.review__source { font-size: .875rem; }
.review__quote, .review__meta { transition: opacity .25s var(--ease), transform .25s var(--ease); }
.review__card.is-changing .review__quote,
.review__card.is-changing .review__meta { opacity: 0; transform: translateY(8px); }
.review__next {
  display: inline-flex; align-items: center; gap: .375rem;
  margin-top: 1.25rem; padding: .5rem .75rem;
  background: none; border: 0;
  font-size: .9375rem; font-weight: 700; color: var(--c-primary);
  cursor: pointer;
}
.review__next .icon { width: 1.125rem; height: 1.125rem; transition: transform .5s var(--ease-out); }
.review__next:hover .icon { transform: rotate(180deg); }
.review--tight { padding-top: 0; }
@media (min-width: 768px) { .review__card { padding: 3.5rem 3rem 2.75rem; } }

/* Conversiebanner -------------------------------------------------------- */
.cta-band {
  position: relative; overflow: hidden;
  padding-block: calc(var(--section-y) * 1.1);
  background: var(--c-primary);
  color: var(--c-on-dark);
  text-align: center;
}
.cta-band::before {
  /* subtiele houtnerf-textuur */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(100deg, var(--c-on-dark-grain) 0 1px, transparent 1px 18px);
}
/* Langzaam bewegende cyaan gloed */
.cta-band::after {
  content: ""; position: absolute; pointer-events: none;
  width: 40rem; height: 40rem; left: 50%; top: 50%; margin: -20rem 0 0 -20rem;
  background: radial-gradient(closest-side, var(--c-cyan-glow-strong), transparent 70%);
  filter: blur(30px);
  animation: cta-glow 14s ease-in-out infinite;
}
@keyframes cta-glow {
  0%, 100% { transform: translate(-35%, -20%) scale(1); }
  33%      { transform: translate(30%, 10%) scale(1.2); }
  66%      { transform: translate(-10%, 30%) scale(.9); }
}
.cta-band__inner { position: relative; z-index: 1; max-width: 48rem; }
.cta-band h2 { color: var(--c-on-dark); font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem); margin-bottom: 1rem; }
.cta-band p { color: var(--c-on-dark-muted); font-size: 1.0625rem; margin: 0 auto 2rem; max-width: 36rem; }
.cta-band__assurances {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.5rem;
  margin-top: 1.75rem;
  font-size: .9375rem; color: var(--c-on-primary-muted);
}
.cta-band__assurances li { display: inline-flex; align-items: center; gap: .375rem; }
.cta-band__assurances .icon { width: 1rem; height: 1rem; color: var(--c-cyan); }

/* Footer ----------------------------------------------------------------- */
.site-footer { background: var(--c-surface); font-size: .9375rem; color: var(--c-text-muted); }
.footer__grid { display: grid; gap: 2.5rem; padding-block: 4rem 3rem; }
.footer__brand img { height: 5.25rem; width: auto; margin-bottom: 1.25rem; }
.footer__brand p { max-width: 22rem; }
.footer__area { display: flex; gap: .5rem; margin-top: 1rem; font-size: .9375rem; line-height: 1.5; }
.footer__area .icon { width: 1.25rem; height: 1.25rem; margin-top: 0; color: var(--c-cyan); }
.footer__title {
  margin-bottom: 1.25rem;
  font-size: .75rem; line-height: 1.125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--c-text);
}
.footer__col a { text-decoration: none; }
.footer__col a:hover { color: var(--c-primary); }

/* Specialisaties met thumbnails */
.footer__services { display: grid; gap: 1rem; }
.footer__services a { display: flex; align-items: center; gap: 1.125rem; }
.footer__thumb { flex: none; width: 6rem; height: 4.5rem; border-radius: var(--r); }
.footer__thumb.media--empty::after { content: ""; }
.footer__services strong { display: block; font-size: 1rem; color: var(--c-text); transition: color .2s var(--ease); }
.footer__services span:not(.media) { font-size: .875rem; line-height: 1.4; }
.footer__services a:hover strong { color: var(--c-primary); }
.footer__services a:hover img { transform: scale(1.08); }

.footer__contact { display: grid; gap: .875rem; }
.footer__contact li { display: flex; gap: .625rem; align-items: flex-start; }
.footer__contact .icon { width: 1.25rem; height: 1.25rem; margin-top: .1rem; color: var(--c-cyan); }
.footer__contact small { font-size: .875rem; }


.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 1.5rem;
  padding-block: 1.5rem;
  position: relative;
  font-size: .875rem;
}
/* Lijn even breed als de inhoud (niet over de padding van de container) */
.footer__bottom::before { content: ""; position: absolute; top: 0; left: var(--margin); right: var(--margin); border-top: 1px solid var(--c-border); }
.footer__sep { margin-inline: .375rem; }
.footer__bottom ul { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.footer__bottom a, .footer__cookie { text-decoration: none; }
.footer__cookie { padding: 0; background: none; border: 0; font-size: inherit; color: inherit; cursor: pointer; }
.footer__bottom a:hover, .footer__cookie:hover { color: var(--c-primary); }

@media (min-width: 640px)  {
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__brand { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .footer__grid { grid-template-columns: 1.2fr 1.5fr 1fr; gap: 4rem; }
  .footer__brand { grid-column: auto; }
}

/* Mobiele actiebalk ------------------------------------------------------ */
.mobile-bar { display: none; }
@media (max-width: 767px) {
  .mobile-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    display: grid; grid-template-columns: 1fr 1fr; gap: .5rem;
    padding: .625rem var(--margin) calc(.625rem + env(safe-area-inset-bottom));
    background: var(--c-glass);
    backdrop-filter: blur(8px);
    box-shadow: var(--shadow-overlay);
  }
  .mobile-bar .btn { padding-inline: .75rem; }
  body { padding-bottom: calc(4.5rem + env(safe-area-inset-bottom)); }
}

/* WhatsApp-knop ---------------------------------------------------------- */
.whatsapp {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 45;
  display: grid; place-items: center;
  width: 3.5rem; height: 3.5rem;
  border-radius: 50%;
  background: var(--c-whatsapp); color: var(--c-on-dark);
  box-shadow: var(--shadow-float);
  animation: pop-in .6s var(--ease-out) 1.2s both;
  transition: background-color .2s var(--ease), transform .3s var(--ease-out), opacity .3s var(--ease);
}
.whatsapp svg { width: 1.875rem; height: 1.875rem; }
.whatsapp:hover { background: var(--c-whatsapp-hover); transform: scale(1.06); }
/* Pulserende ring */
.whatsapp::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--c-whatsapp);
  animation: pulse-ring 2.8s var(--ease-out) 2s infinite;
}
.whatsapp__label {
  position: absolute; right: calc(100% + .75rem); top: 50%;
  padding: .375rem .75rem;
  background: var(--c-surface); color: var(--c-text);
  border-radius: var(--r); box-shadow: var(--shadow-overlay);
  font-size: .8125rem; font-weight: 600; white-space: nowrap;
  opacity: 0; transform: translate(8px, -50%);
  transition: opacity .25s var(--ease), transform .3s var(--ease-out);
  pointer-events: none;
}
.whatsapp:hover .whatsapp__label, .whatsapp:focus-visible .whatsapp__label { opacity: 1; transform: translate(0, -50%); }
@keyframes pop-in { from { opacity: 0; transform: scale(.4); } }
@keyframes pulse-ring {
  0%   { transform: scale(1); opacity: .7; }
  70%, 100% { transform: scale(1.6); opacity: 0; }
}
@media (max-width: 767px) {
  .whatsapp { bottom: calc(5.25rem + env(safe-area-inset-bottom)); right: var(--margin); width: 3.25rem; height: 3.25rem; }
  .whatsapp__label { display: none; }
  .has-cookie-banner .whatsapp { opacity: 0; pointer-events: none; }
}

/* Cookiemelding ---------------------------------------------------------- */
.cookie {
  position: fixed; left: 1.25rem; bottom: 1.25rem; z-index: 60;
  width: min(27rem, calc(100% - 2.5rem));
  padding: 1.5rem;
  background: var(--c-surface);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-panel), var(--shadow-overlay);
  opacity: 0; transform: translateY(16px);
  transition: opacity .3s var(--ease), transform .4s var(--ease-out);
}
.cookie.is-visible { opacity: 1; transform: none; }
.cookie__title { margin-bottom: .5rem; font-size: 1.125rem; color: var(--c-primary); }
.cookie__text { font-size: .875rem; line-height: 1.55; color: var(--c-text-muted); }
.cookie__text a { color: var(--c-primary); }
.cookie__prefs fieldset { display: grid; gap: .75rem; margin-top: 1.25rem; }
.cookie__option { display: flex; gap: .75rem; align-items: flex-start; font-size: .8125rem; line-height: 1.5; color: var(--c-text-muted); cursor: pointer; }
.cookie__option strong { display: block; font-size: .875rem; color: var(--c-text); }
.cookie__option input { flex: none; width: 1.125rem; height: 1.125rem; margin: .1rem 0 0; accent-color: var(--c-primary); }
.cookie__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: 1.25rem; }
.cookie__link {
  padding: .5rem; background: none; border: 0;
  font-size: .875rem; font-weight: 600; color: var(--c-primary);
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
@media (max-width: 767px) {
  .cookie { left: 0; right: 0; bottom: 0; width: auto; border-radius: var(--r-lg) var(--r-lg) 0 0; padding-bottom: calc(1.5rem + env(safe-area-inset-bottom)); }
  .cookie__actions .btn { flex: 1 1 auto; }
}

/* Tekstlinks: geanimeerde onderstreping ------------------------------------ */
/* Al onderstreept: lijn schuift bij hover naar rechts weg en groeit van links terug */
.filter-all, .filter-status__reset, .cookie__link, .cookie__text a {
  text-decoration: none;
  background: linear-gradient(var(--c-cyan), var(--c-cyan)) no-repeat left bottom / 100% 2px;
  padding-bottom: 2px;
}
.filter-all, .filter-status__reset { padding: 0 0 2px; }
.filter-all:hover, .filter-status__reset:hover, .cookie__link:hover, .cookie__text a:hover {
  animation: line-swipe .6s var(--ease-out);
}
.filter-all[aria-pressed="true"] { background-size: 0 2px; animation: none; }
@keyframes line-swipe {
  0%      { background-size: 100% 2px; background-position: right bottom; }
  45%     { background-size: 0 2px;    background-position: right bottom; }
  45.01%  { background-size: 0 2px;    background-position: left bottom; }
  100%    { background-size: 100% 2px; background-position: left bottom; }
}

/* Niet onderstreept: lijn groeit bij hover van links aan */
.story-cta a, .submenu__all, .review__next, .breadcrumb a, .footer__col a, .footer__bottom a, .footer__cookie, .hero__caption a {
  text-decoration: none;
  background: linear-gradient(var(--c-cyan), var(--c-cyan)) no-repeat left bottom / 0 2px;
  padding-bottom: 2px;
  transition: background-size .35s var(--ease-out), color .2s var(--ease);
}
.story-cta a:hover, .submenu__all:hover, .review__next:hover, .breadcrumb a:hover, .footer__col a:hover,
.footer__bottom a:hover, .footer__cookie:hover, .hero__caption a:hover {
  text-decoration: none;
  background-size: 100% 2px;
}
/* Footer-specialisaties: lijn alleen onder de titel */
.footer__services a { background: none; padding-bottom: 0; }
.footer__services strong {
  display: table;
  background: linear-gradient(var(--c-cyan), var(--c-cyan)) no-repeat left bottom / 0 2px;
  transition: background-size .35s var(--ease-out), color .2s var(--ease);
}
.footer__services a:hover strong { background-size: 100% 2px; }

/* ==========================================================================
   Subpagina's
   ========================================================================== */

/* Actieve pagina in het menu */
.nav__link[aria-current="page"] { color: var(--c-primary); }
.nav__link[aria-current="page"]::after { transform: scaleX(1); }

/* Paginakop -------------------------------------------------------------- */
.page-hero { padding-block: 2rem 1rem; }
.page-hero h1 { font-size: clamp(2.25rem, 1.6rem + 2.4vw, 3.25rem); line-height: 1.1; margin-bottom: 1rem; }
.page-hero .lead { max-width: 42rem; }

.breadcrumb { margin-bottom: 1.5rem; font-size: .875rem; color: var(--c-text-muted); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: .5rem; }
.breadcrumb li + li::before { content: "/"; margin-right: .5rem; color: var(--c-border); }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--c-primary); }
.breadcrumb [aria-current] { color: var(--c-text); font-weight: 600; }

@media (min-width: 900px) { .page-hero { padding-block: 2.5rem 1.5rem; } }

/* Projectenoverzicht ----------------------------------------------------- */
.overview-section { padding-top: 2rem; }

/* Filterblok */
.overview-filter {
  display: grid; gap: 1.5rem;
  margin-bottom: 2.5rem;
  padding: 1.5rem;
  background: var(--c-canvas);
  border-radius: var(--r-lg);
}
.filter--main { margin: 0; gap: .625rem; }

/* Categorie links, "Toon alle projecten" rechts */
.filter-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.filter-all {
  display: inline-flex; align-items: center; gap: .375rem;
  border: 0;
  font-size: .9375rem; font-weight: 700; color: var(--c-primary);
  cursor: pointer;
}
.filter-all[aria-pressed="true"] { color: var(--c-text); text-decoration: none; cursor: default; }

/* Soorten als checkboxes in kolommen */
.filter-subs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem 1.5rem; }
.check {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .9375rem; font-weight: 500; color: var(--c-text);
  cursor: pointer;
}
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check__box {
  position: relative; flex: none;
  width: 1.25rem; height: 1.25rem;
  background: var(--c-surface);
  border: 1.5px solid var(--c-border); border-radius: var(--r-sm);
  transition: background-color .2s var(--ease), border-color .2s var(--ease);
}
.check__box::after {
  content: ""; position: absolute; left: .35rem; top: .12rem;
  width: .35rem; height: .65rem;
  border: solid var(--c-on-dark); border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  transition: transform .2s var(--ease-out);
}
.check:hover .check__box { border-color: var(--c-cyan); }
.check input:checked + .check__box { background: var(--c-cyan); border-color: var(--c-cyan); }
.check input:checked + .check__box::after { transform: rotate(45deg) scale(1); }
.check input:focus-visible + .check__box { outline: 2px solid var(--c-primary); outline-offset: 2px; }
.check__count { font-size: .8125rem; color: var(--c-text-muted); }

.filter-status { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--c-border); }
.overview-count { font-size: .9375rem; font-weight: 600; color: var(--c-text); }
.filter-status__reset {
  border: 0;
  font-size: .9375rem; font-weight: 600; color: var(--c-primary);
  cursor: pointer;
}

@media (min-width: 768px) {
  .overview-filter { padding: 2rem; }
  .filter-subs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .875rem 2rem; }
}
/* Knop om de soorten uit te klappen: alleen op mobiel */
.filter-subs__toggle { display: none; }
@media (min-width: 1100px) { .filter-subs { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 767px) {
  .overview-filter { gap: 1rem; padding: 1.25rem; }
  /* Categorieën horizontaal scrollen in plaats van stapelen */
  .filter--main {
    flex-wrap: nowrap; overflow-x: auto;
    margin-inline: -1.25rem; padding: .125rem 1.25rem;
    scrollbar-width: none;
  }
  .filter--main::-webkit-scrollbar { display: none; }
  .filter--main .filter__btn { flex: none; }

  .filter-subs__toggle {
    display: inline-flex; align-items: center; gap: .375rem; justify-self: start;
    padding: 0; background: none; border: 0;
    font-size: .9375rem; font-weight: 700; color: var(--c-primary); cursor: pointer;
  }
  .filter-subs__toggle .icon { width: 1rem; height: 1rem; transition: transform .2s var(--ease); }
  .filter-subs__toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
  .filter-subs { display: none; }
  .filter-subs.is-open { display: grid; }
}

/* Raster: 3 gelijke kaarten naast elkaar */
.overview { display: grid; gap: var(--gutter); }
.overview .project { min-height: 0; aspect-ratio: 4 / 3; }
.overview .project__title { padding: 1.25rem 1.5rem; font-size: 1.1875rem; }
.overview { grid-auto-flow: dense; }
@media (min-width: 640px)  { .overview { grid-template-columns: repeat(2, 1fr); } }
/* Nieuwste project groter: 2 kolommen breed en 2 rijen hoog */
@media (min-width: 1024px) {
  .overview .project.is-featured { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
  .overview .project.is-featured .project__title { padding: 1.75rem 2rem; font-size: 1.75rem; }
}
@media (min-width: 1024px) { .overview { grid-template-columns: repeat(3, 1fr); } }
/* 1 of 2 resultaten: kaarten vullen de breedte (1 = volle breedte, 2 = elk de helft) */
@media (min-width: 640px) {
  .overview[data-count="1"] { grid-template-columns: 1fr; }
  .overview[data-count="1"] .project { aspect-ratio: 21 / 9; }
  .overview[data-count="2"] { grid-template-columns: repeat(2, 1fr); }
  .overview[data-count="1"] .project__title, .overview[data-count="2"] .project__title { padding: 1.5rem 1.75rem; font-size: 1.5rem; }
}

/* Projectdetailpagina ----------------------------------------------------- */
.project-hero { padding-bottom: 2rem; }
.project-hero h1 { max-width: 22ch; }
.project-hero .lead { max-width: 46rem; }

/* Fotogalerij: grote foto links, kleinere ernaast/eronder */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
.gallery__item--main { grid-column: 1 / -1; }
.gallery__item--extra { display: none; }
.gallery__more { margin-top: 1rem; }
.gallery__link { display: block; height: 100%; aspect-ratio: 4 / 3; border-radius: var(--r); cursor: zoom-in; }
.gallery__link:hover img { transform: scale(1.04); }
.gallery__item--main .gallery__link { aspect-ratio: 16 / 10; border-radius: var(--r-lg); }
@media (min-width: 1024px) {
  /* Indeling past zich aan het aantal foto's aan (gallery--1 t/m gallery--5), zodat er geen gaten vallen */
  .gallery { grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: 13rem; gap: 1rem; }
  .gallery__item--main { grid-column: auto; grid-row: span 2; }
  .gallery__link, .gallery__item--main .gallery__link { aspect-ratio: auto; }
  .gallery--1 { grid-template-columns: 1fr; grid-auto-rows: 28rem; }
  .gallery--1 .gallery__item--main { grid-row: auto; }
  .gallery--2, .gallery--3 { grid-template-columns: 2fr 1fr; }
  .gallery--2 .gallery__item { grid-row: span 2; }
  .gallery--4 .gallery__item:nth-child(4) { grid-column: span 2; }
}

/* Verhaal + projectgegevens */
.project-body { padding-top: var(--section-y); }
.project-body__grid { display: grid; gap: 3rem; align-items: start; }
.project-story { max-width: 44rem; }
.project-story h2 { margin: 2rem 0 .625rem; font-size: clamp(1.25rem, 1.05rem + .7vw, 1.5rem); }
.project-story h2:first-child { margin-top: 0; }
.project-story p { color: var(--c-text-muted); font-size: 1.0625rem; line-height: 1.7; }
/* Regel onder het verhaal: rustige call to action */
.project-story .story-cta {
  margin-top: 2rem; padding-top: 1.5rem;
  border-top: 1px solid var(--c-border);
  font-size: 1.0625rem; font-weight: 600; color: var(--c-text);
}
.story-cta a { display: inline-flex; align-items: center; gap: .375rem; font-weight: 700; color: var(--c-primary); }
.story-cta .icon { width: 1rem; height: 1rem; transition: transform .3s var(--ease-out); }
.story-cta a:hover .icon { transform: translateX(4px); }

.project-aside { display: grid; gap: 1.25rem; }
.facts { padding: 1.75rem; background: var(--c-canvas); border-radius: var(--r-lg); }
.facts__title { margin-bottom: 1rem; font-size: 1.125rem; }
.facts__list { margin: 0; display: grid; gap: 0; }
.facts__list div { display: grid; grid-template-columns: 7rem 1fr; gap: 1rem; padding: .75rem 0; border-top: 1px solid var(--c-border); }
.facts__list div:first-child { border-top: 0; padding-top: 0; }
.facts__list dt { font-size: .8125rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--c-text-muted); padding-top: .15rem; }
.facts__list dd { margin: 0; font-size: .9375rem; color: var(--c-text); }


@media (min-width: 1024px) {
  .project-body__grid { grid-template-columns: minmax(0, 1fr) 24rem; gap: 5rem; }
  .project-aside { position: sticky; top: calc(var(--header-h-sm) + 2rem); }
}

/* Verwijzing naar de dienstpagina */
.service-link__grid { display: grid; gap: 2rem; align-items: center; }
.service-link__media { aspect-ratio: 3 / 2; border-radius: var(--r-lg); }
.service-link h2 { margin-bottom: .875rem; }
.service-link p { margin-bottom: 1.5rem; color: var(--c-text-muted); max-width: 36rem; }
@media (min-width: 900px) { .service-link__grid { grid-template-columns: 1fr 1.2fr; gap: 4rem; } }

/* Gerelateerde projecten: 3 naast elkaar, op mobiel swipebaar (zie .projects) */
.related__grid .project { min-height: 20rem; }
@media (min-width: 768px) { .related__grid { grid-template-columns: repeat(3, 1fr); } }
/* Dienstpagina met 1 of 2 projecten: kaarten vullen de breedte van het raster */
.related__grid--1 { grid-auto-columns: 100%; }
@media (min-width: 768px) {
  .related__grid--1 { grid-template-columns: 1fr; }
  .related__grid--1 .project { min-height: 0; aspect-ratio: 21 / 9; }
  .related__grid--2 { grid-template-columns: repeat(2, 1fr); }
  .related__grid--2 .project { min-height: 0; aspect-ratio: 16 / 10; }
}

/* Lightbox */
.lightbox {
  width: 100vw; height: 100dvh; max-width: none; max-height: none;
  margin: 0; padding: 4rem 1rem 3rem; border: 0;
  background: var(--c-lightbox);
  color: var(--c-on-dark);
}
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: transparent; }
.lightbox__img { max-width: min(100%, 1200px); max-height: calc(100dvh - 8rem); width: auto; height: auto; border-radius: var(--r); }
/* Laatste slide in de lightbox: call to action */
/* Zelfde afmeting als een foto: 4:3, binnen dezelfde maximale breedte en hoogte */
.lightbox__cta {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: min(100%, 1200px, calc((100dvh - 8rem) * 4 / 3));
  aspect-ratio: 4 / 3;
  padding: 2rem;
  text-align: center; color: var(--c-on-dark-muted);
  background: var(--c-primary); border-radius: var(--r);
  overflow: auto;
}
.lightbox__cta > p:not(.lightbox__cta-kicker) { max-width: 36rem; font-size: clamp(1rem, .9rem + .4vw, 1.1875rem); }
.lightbox__cta-title { font-size: clamp(1.75rem, 1.2rem + 2.4vw, 3rem) !important; }
.lightbox__cta-kicker { margin-bottom: .5rem; font-size: .875rem; font-weight: 700; color: var(--c-cyan); }
.lightbox__cta-title { margin-bottom: 1rem; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); color: var(--c-on-dark); }
.lightbox__cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .625rem; margin-top: 1.75rem; }
.lightbox.is-cta .lightbox__caption { display: none; }
.lightbox__caption { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; text-align: center; font-size: .9375rem; color: var(--c-on-dark-muted); }
.lightbox__btn {
  position: absolute; display: grid; place-items: center;
  width: 3rem; height: 3rem; border: 0; border-radius: 50%;
  background: var(--c-on-dark-tint); color: var(--c-on-dark); cursor: pointer;
  transition: background-color .2s var(--ease);
}
.lightbox__btn:hover { background: var(--c-on-dark-line); }
.lightbox__btn .icon { width: 1.375rem; height: 1.375rem; }
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__prev, .lightbox__next { top: 50%; margin-top: -1.5rem; }
.lightbox__prev { left: 1rem; }
.lightbox__prev .icon { transform: rotate(180deg); }
.lightbox__next { right: 1rem; }

/* Veelgestelde vragen ---------------------------------------------------- */
.faq__grid { display: grid; gap: 1rem; }
.faq__list { display: grid; gap: .75rem; }
.faq__item {
  background: var(--c-surface);
  border-radius: var(--r);
  box-shadow: var(--shadow-card);
  transition: box-shadow .3s var(--ease);
}
.faq__item[open] { box-shadow: var(--shadow-lift); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.125rem 1.5rem;
  font-size: 1.0625rem; font-weight: 700; color: var(--c-text);
  list-style: none; cursor: pointer;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--c-primary); }
.faq__icon { position: relative; flex: none; width: 1.75rem; height: 1.75rem; border-radius: 50%; background: var(--c-cyan-tint); }
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: .75rem; height: 2px; margin: -1px 0 0 -.375rem;
  border-radius: 2px; background: var(--c-cyan);
  transition: transform .3s var(--ease-out);
}
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon::after { transform: rotate(0deg); }
.faq__item p { padding: 0 1.5rem 1.375rem; color: var(--c-text-muted); max-width: 46rem; }

@media (min-width: 900px) {
  .faq__grid { grid-template-columns: 1fr 1.7fr; gap: 4rem; align-items: start; }
  .faq .section-head { position: sticky; top: calc(var(--header-h) + 2rem); }
}

/* Dienstpagina ----------------------------------------------------------- */
/* Kop over de volle breedte: foto als achtergrond, tekst op een donker verloop */
.service-hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: flex-end;
  min-height: min(44rem, calc(100svh - var(--header-h)));
  padding-block: 6rem 2.5rem;
  color: var(--c-on-dark);
}
.service-hero__media { position: absolute; inset: 0; z-index: -1; }
.service-hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, var(--c-photo-shade) 35%, var(--c-backdrop));
}
.service-hero h1 { max-width: 16ch; margin-bottom: 1rem; color: var(--c-on-dark); font-size: clamp(2.25rem, 1.4rem + 3.4vw, 3.75rem); line-height: 1.08; }
.service-hero .lead { max-width: 38rem; margin-bottom: 1.75rem; color: var(--c-on-dark-muted); }
.breadcrumb--light, .breadcrumb--light [aria-current] { color: var(--c-on-dark-muted); }
.breadcrumb--light [aria-current] { color: var(--c-on-dark); }
.breadcrumb--light li + li::before { color: var(--c-on-dark-line); }
.breadcrumb--light a:hover { color: var(--c-on-dark); }
@media (min-width: 900px) {
  .service-hero { align-items: center; padding-block: 5rem; }
  .service-hero__media::after { background: linear-gradient(100deg, var(--c-photo-shade) 15%, transparent 70%); }
}

.facts__btn { width: 100%; margin-top: 1.5rem; }

/* Inspiratie: hoofdfoto's van projecten, laatste tegel is de call to action */
.inspiration__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
.inspiration__link { display: block; aspect-ratio: 4 / 3; border-radius: var(--r); cursor: zoom-in; }
.inspiration__link:hover img { transform: scale(1.05); }
.inspiration__item.is-entering { animation: card-in .6s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 50ms); }
.inspiration__cta {
  grid-column: 1 / -1;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: .5rem;
  padding: 1.75rem;
  background: var(--c-primary); border-radius: var(--r);
  color: var(--c-on-dark-muted);
}
.inspiration__cta h3 { font-size: 1.375rem; line-height: 1.25; color: var(--c-on-dark); }
.inspiration__cta p:not(.inspiration__kicker) { font-size: .9375rem; }
.inspiration__cta .btn { margin-top: .75rem; }
.inspiration__kicker { font-size: .8125rem; font-weight: 700; color: var(--c-cyan); }
.inspiration__more { display: flex; margin: 2rem auto 0; }
@media (min-width: 1024px) {
  .inspiration__grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .inspiration__cta { grid-column: span var(--span, 1); aspect-ratio: 4 / 3; padding: 2rem; }
  .inspiration__cta.is-wide { aspect-ratio: auto; padding: 2.5rem 3rem; }
}
.lightbox__caption a { color: var(--c-on-dark); font-weight: 700; }

/* Categoriepagina: kaarten van alle diensten */
.category { padding-top: 2rem; }
.category__grid { display: grid; gap: var(--gutter); }
/* Mobiel: compacte rij met foto links, zodat 10 diensten niet eindeloos scrollen */
@media (max-width: 639px) {
  .category__grid { gap: .75rem; }
  .category__grid .service-card { flex-direction: row; }
  .category__grid .service-card__media { flex: none; width: 7.5rem; aspect-ratio: auto; }
  .category__grid .service-card__body { padding: 1rem 1.125rem; }
  .category__grid .service-card .link-arrow { display: none; }
}
/* Tablet: 2 kolommen (bij een oneven aantal de eerste kaart over de volle breedte).
   Desktop: de eerste 2 diensten groot naast elkaar, daarna rijen van 3 of 4 (--3 / --4) */
@media (min-width: 640px) and (max-width: 1023px) {
  .category__grid { grid-template-columns: repeat(2, 1fr); }
  .category__grid--odd > :first-child { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .category__grid--3 { grid-template-columns: repeat(6, 1fr); }
  .category__grid--4 { grid-template-columns: repeat(8, 1fr); }
  .category__grid > li { grid-column: span 2; }
  .category__grid--3 > .is-featured { grid-column: span 3; }
  .category__grid--4 > .is-featured { grid-column: span 4; }
  .category__grid .is-featured .service-card__media { aspect-ratio: 16 / 9; }
  .category__grid .is-featured h3 { font-size: 1.375rem; }
}

/* Meer diensten: swipebare rij met knoppen */
.carousel__nav { display: flex; gap: .5rem; }
.carousel__btn {
  display: grid; place-items: center;
  width: 2.75rem; height: 2.75rem;
  border: 1px solid var(--c-border); border-radius: 50%;
  background: var(--c-surface); color: var(--c-primary); cursor: pointer;
  transition: border-color .2s var(--ease), opacity .2s var(--ease);
}
.carousel__btn:hover:not(:disabled) { border-color: var(--c-primary); }
.carousel__btn:disabled { opacity: .35; cursor: default; }
.carousel__btn--prev .icon { transform: rotate(180deg); }
.carousel {
  display: grid; grid-auto-flow: column; grid-auto-columns: 72%; gap: var(--gutter);
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--margin);
  margin-inline: calc(-1 * var(--margin)); padding: .5rem var(--margin) 1.5rem;
  scrollbar-width: none;
}
.carousel::-webkit-scrollbar { display: none; }
.carousel > li { scroll-snap-align: start; }
.service-card__media { aspect-ratio: 4 / 3; }
.service-card { display: flex; flex-direction: column; }
.service-card__body { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: .25rem; padding: 1.25rem 1.375rem 1.5rem; }
.service-card .link-arrow { padding-top: .75rem; }
.service-card:hover .link-arrow .icon { transform: translateX(3px); }
.service-card h3 a { text-decoration: none; }
.service-card p { font-size: .875rem; line-height: 1.55; color: var(--c-text-muted); }
@media (min-width: 640px)  { .carousel { grid-auto-columns: calc((100% - 2 * var(--gutter)) / 2.4); } }
@media (min-width: 1024px) { .carousel { grid-auto-columns: calc((100% - 3 * var(--gutter)) / 4); } }
@media (max-width: 639px)  { .carousel__nav { display: none; } }

/* Over Michel ------------------------------------------------------------ */

.about__content--long > p { margin-bottom: 1rem; }
.about__content--long > p:last-child { margin-bottom: 0; }
/* Links in de lopende tekst naar dienstpagina’s: bewust rustig (zelfde kleur als de tekst, dunne lichte lijn) */
.about__content--long a { color: inherit; text-decoration-color: var(--c-border); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .2s var(--ease), text-decoration-color .2s var(--ease); }
.about__content--long a:hover { color: var(--c-primary); text-decoration-color: currentColor; }

/* Achtergrond: tijdlijn met foto’s ernaast */
.story__grid { display: grid; gap: 3rem; align-items: start; }
.story__intro { margin: .75rem 0 2rem; color: var(--c-text-muted); font-size: 1.0625rem; }
.timeline { position: relative; display: grid; gap: 1.75rem; padding-left: 2rem; }
.timeline::before { content: ""; position: absolute; left: .4375rem; top: .5rem; bottom: .5rem; width: 2px; background: var(--c-border); }
.timeline li { position: relative; }
.timeline li::before {
  content: ""; position: absolute; left: -2rem; top: .375rem;
  width: 1rem; height: 1rem; border-radius: 50%;
  background: var(--c-surface); border: 3px solid var(--c-cyan);
}
.timeline li:last-child::before { background: var(--c-cyan); }
.timeline h3 { margin-bottom: .25rem; }
.timeline p { color: var(--c-text-muted); }
.story__photos { display: grid; gap: 1rem; }
.story__photo { aspect-ratio: 4 / 3; border-radius: var(--r-lg); }
@media (min-width: 900px) {
  .story__grid { grid-template-columns: 1.1fr 1fr; gap: 5rem; }
  .story__photos { position: sticky; top: calc(var(--header-h-sm) + 2rem); }
}


/* Contact ---------------------------------------------------------------- */
.contact-section, .offer-section { padding-top: 2rem; }
.offer__grid { display: grid; gap: 2rem; align-items: start; }
/* Contact: grote foto van Michel met 4 vakken ernaast */
.contact__grid { display: grid; gap: var(--gutter); }
.contact__photo { position: relative; min-height: 22rem; border-radius: var(--r-lg); }
.contact__photo img { position: absolute; inset: 0; }
.contact__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--c-photo-shade) 0%, transparent 45%); pointer-events: none; }
.contact__photo figcaption { position: absolute; z-index: 1; left: 1.5rem; right: 1.5rem; bottom: 1.25rem; font-size: .9375rem; color: var(--c-on-dark-muted); }
@media (min-width: 1240px) {
  .contact__grid { grid-template-columns: 1fr 1.1fr; }
  .contact__grid .contact__photo { aspect-ratio: auto; min-height: 24rem; }
}
.contact__photo strong { display: block; font-size: 1.25rem; color: var(--c-on-dark); }
.contact-cards { display: grid; gap: var(--gutter); }
.contact-card { padding: 1.5rem; }
.contact-card h2 { margin-bottom: .375rem; font-size: 1.125rem; color: var(--c-text); }
.contact-card p { color: var(--c-text-muted); }
.contact-card__link { font-size: 1.0625rem; font-weight: 700; color: var(--c-primary); text-decoration: none; }
.contact-card__link:hover { text-decoration: underline; text-underline-offset: 3px; }
.contact-card__note { margin-top: .25rem; font-size: .875rem; }
.offer-aside { display: grid; gap: 1.25rem; }
.contact-offer {
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 1.75rem; border-radius: var(--r-lg);
  background: var(--c-primary); color: var(--c-on-dark-muted);
}
.contact-offer h2 { margin-bottom: .5rem; font-size: 1.25rem; color: var(--c-on-dark); }
.contact-offer p { margin-bottom: 1.25rem; font-size: .9375rem; }
/* WhatsApp-blok: lichtgrijze achtergrond met groen icoon */
.contact-offer--whatsapp { background: var(--c-canvas); color: var(--c-text-muted); }
.contact-offer--whatsapp h2 { display: flex; align-items: center; gap: .625rem; color: var(--c-text); }
.contact-offer--whatsapp h2 .icon { width: 1.75rem; height: 1.75rem; color: var(--c-whatsapp); }
@media (min-width: 640px) {
  .contact-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; }
  .contact__photo { min-height: 0; aspect-ratio: 16 / 9; }
}
.contact-offer .btn { white-space: normal; }
@media (min-width: 1024px) {
  .offer__grid { grid-template-columns: minmax(0, 1fr) 24rem; gap: 4rem; }
  .offer-aside { position: sticky; top: calc(var(--header-h-sm) + 2rem); }
}

/* Offerteformulier -------------------------------------------------------- */
.offer-form { display: grid; gap: 2.5rem; }
.form-step h2 { display: flex; align-items: center; gap: .75rem; margin-bottom: .5rem; font-size: clamp(1.25rem, 1.05rem + .7vw, 1.5rem); }
.form-step__nr {
  display: inline-grid; place-items: center; flex: none;
  width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--c-cyan-tint); color: var(--c-cyan); font-size: .9375rem;
}
.form-hint { font-size: .875rem; color: var(--c-text-muted); }
.form-hint a { color: inherit; }
.form-step > .form-hint { margin-bottom: 1.25rem; }
.field-group { margin-top: 1.25rem; }
.field-group legend { margin-bottom: .75rem; font-size: .8125rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--c-text-muted); }

/* Diensten kiezen: kaartjes met kleine foto en vinkje */
.service-pick { display: grid; gap: .625rem; }
.pick {
  position: relative; display: flex; align-items: center; gap: .875rem;
  padding: .5rem .875rem .5rem .5rem;
  background: var(--c-surface); border: 1.5px solid var(--c-border); border-radius: var(--r);
  cursor: pointer; transition: border-color .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease);
}
.pick:hover { border-color: var(--c-cyan); }
.pick__thumb--icon { display: grid; place-items: center; background: var(--c-cyan-tint); color: var(--c-cyan); }
.pick__thumb--icon .icon { width: 1.375rem; height: 1.375rem; }
.field__req { color: var(--c-cyan); }
.pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pick__thumb { flex: none; width: 4rem; height: 3rem; border-radius: var(--r-sm); }
.pick__name { flex: 1; font-size: .9375rem; font-weight: 600; line-height: 1.3; color: var(--c-text); }
.pick__check {
  position: relative; flex: none; width: 1.375rem; height: 1.375rem;
  border: 1.5px solid var(--c-border); border-radius: 50%;
  transition: background-color .2s var(--ease), border-color .2s var(--ease);
}
.pick__check::after {
  content: ""; position: absolute; left: .4rem; top: .2rem; width: .35rem; height: .65rem;
  border: solid var(--c-on-dark); border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0); transition: transform .2s var(--ease-out);
}
.pick:has(input:checked) { border-color: var(--c-cyan); background: var(--c-cyan-tint); }
.pick input:checked ~ .pick__check { background: var(--c-cyan); border-color: var(--c-cyan); }
.pick input:checked ~ .pick__check::after { transform: rotate(45deg) scale(1); }
.pick:has(input:focus-visible) { outline: 2px solid var(--c-primary); outline-offset: 2px; }
@media (min-width: 560px) { .service-pick { grid-template-columns: repeat(2, 1fr); } }

/* Velden */
.field { display: grid; gap: .375rem; margin-top: 1rem; }
.field label { font-size: .9375rem; font-weight: 600; color: var(--c-text); }
.field__opt { font-weight: 400; color: var(--c-text-muted); }
.field input, .field textarea {
  width: 100%; padding: .75rem 1rem;
  font: inherit; font-size: 1rem; color: var(--c-text);
  background: var(--c-surface); border: 1.5px solid var(--c-border); border-radius: var(--r);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 8rem; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--c-primary); box-shadow: 0 0 0 3px var(--c-primary-tint); }
.field input:user-invalid { border-color: var(--c-error); }
.field-row { display: grid; gap: 0 1rem; align-items: start; }
@media (min-width: 640px) { .field-row { grid-template-columns: repeat(2, 1fr); } }

/* Verzenden */
.form-submit { display: grid; gap: .875rem; justify-items: start; padding-top: 1.5rem; border-top: 1px solid var(--c-border); }
.formspree { display: inline-flex; align-items: center; gap: .5rem; font-size: .8125rem; color: var(--c-text-muted); }
.formspree-logo { width: 5.5rem; height: auto; color: var(--c-text); }
.form-status { padding: 1rem 1.25rem; border-radius: var(--r); font-weight: 600; }
.form-status.is-error { background: var(--c-error-tint); color: var(--c-error); }
.offer-done { padding: 2.5rem 2rem; border-radius: var(--r-lg); background: var(--c-canvas); text-align: center; }
.offer-done .icon-tile { margin-inline: auto; }
.offer-done h2 { margin-bottom: .75rem; }
.offer-done p { max-width: 32rem; margin: 0 auto 1.5rem; color: var(--c-text-muted); }

/* Juridische pagina's ------------------------------------------------------- */
.legal-section { padding-top: 1rem; }
.legal { max-width: 46rem; }
.legal h2 { margin: 2.25rem 0 .625rem; font-size: clamp(1.1875rem, 1.05rem + .5vw, 1.375rem); }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--c-text-muted); font-size: 1.0625rem; line-height: 1.7; }
.legal p + p, .legal ul + p, .legal p + ul { margin-top: .75rem; }
.legal ul { display: grid; gap: .375rem; }
.legal li { display: flex; gap: .75rem; }
.legal li::before { content: ""; flex: none; width: .375rem; height: .375rem; margin-top: .7rem; border-radius: 1px; background: var(--c-cyan); }
.legal a { color: var(--c-primary); }
.legal strong { color: var(--c-text); }
.legal__date { margin-top: 2.5rem !important; padding-top: 1.25rem; border-top: 1px solid var(--c-border); font-size: .875rem !important; }

/* 404 */
.notfound { padding-block: 4rem 6rem; }
.notfound__inner { max-width: 46rem; text-align: center; }
.notfound__code { font-size: clamp(5rem, 3rem + 10vw, 9rem); font-weight: 800; line-height: 1; letter-spacing: -.04em; color: var(--c-cyan); }
.notfound h1 { margin: .5rem 0 1rem; }
.notfound .lead { margin-bottom: 2rem; }
.notfound__links { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.5rem; margin-top: 2.5rem; font-weight: 600; }
.notfound__links a { color: var(--c-primary); text-underline-offset: 3px; }

/* Video (YouTube): eerst alleen een eigen stilstaand beeld; YouTube laadt pas na een klik */
.media--video { aspect-ratio: 16 / 9; border-radius: var(--r-lg); background: var(--c-photo-shade); }
.video img { position: absolute; inset: 0; }
.video__play {
  position: absolute; inset: 0; z-index: 1; display: grid; place-items: center;
  width: 100%; border: 0; padding: 0; background: linear-gradient(to top, rgba(31, 26, 36, .35), transparent 60%); cursor: pointer;
}
.video__play svg {
  width: 4.5rem; height: 4.5rem; padding: 1.25rem 1.1rem 1.25rem 1.4rem;
  border-radius: 50%; background: var(--c-primary); color: var(--c-on-dark);
  box-shadow: 0 10px 30px -8px rgba(31, 26, 36, .55);
  transition: transform .3s var(--ease-out), background-color .2s var(--ease);
}
.video__play:hover svg, .video__play:focus-visible svg { transform: scale(1.08); background: var(--c-cyan); }
.video__play:focus-visible { outline: 3px solid var(--c-cyan); outline-offset: -3px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ==========================================================================
   Animaties bij scrollen en laden
   - [data-reveal] / [data-reveal-stagger] + main.js
   - Alleen actief met JS (.js op <html>) en zonder "verminderde beweging"
   ========================================================================== */

/* Inschuiven bij scrollen */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  filter: blur(6px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out), filter .9s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; filter: none; }

/* Foto's zoomen mee uit tijdens het inschuiven */
.js [data-reveal]:not([data-reveal="zoom"]) .media img { transform: scale(1.14); }
.js [data-reveal]:not([data-reveal="zoom"]).is-in .media img { transform: none; }

/* Hero-slider: zoomt vanuit een iets kleiner kader open */
.js [data-reveal="zoom"] {
  transform: none; filter: none;
  clip-path: inset(7% 7% 7% 7% round var(--r-lg));
  transition: opacity .6s var(--ease-out), clip-path 1.3s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.js [data-reveal="zoom"].is-in { clip-path: inset(0 0 0 0 round 0); }

/* Foto "Over Michel": gordijn-effect van onder naar boven
   (clip op de foto binnenin, niet op het element zelf: anders ziet de IntersectionObserver het nooit) */
.js [data-reveal="wipe"] { opacity: 1; transform: none; filter: none; }
.js [data-reveal="wipe"] .media { clip-path: inset(100% 0 0 0 round var(--r-lg)); transition: clip-path 1.2s var(--ease-out); }
.js [data-reveal="wipe"].is-in .media { clip-path: inset(0 0 0 0 round var(--r-lg)); }

/* H1: woorden schuiven één voor één omhoog */
.split-word { display: inline-block; overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; vertical-align: top; }
.split-word > span { display: inline-block; transform: translateY(110%); animation: word-rise 1s var(--ease-out) forwards; animation-delay: calc(var(--w) * 80ms + 150ms); }
@keyframes word-rise { to { transform: none; } }

/* Parallax op de foto van Michel (alleen in browsers met scroll-gestuurde animaties) */
@supports (animation-timeline: view()) {
  .about__media .media:not(.media--video) img {
    animation: parallax linear both;
    animation-timeline: view();
  }
  @keyframes parallax {
    from { transform: translateY(-6%) scale(1.15); }
    to   { transform: translateY(6%) scale(1.15); }
  }
}

/* Verminderde beweging ---------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1 !important; transform: none !important; filter: none !important; clip-path: none !important; }
  .js [data-reveal] .media img { transform: none !important; }
  .js [data-reveal="wipe"] .media { clip-path: none !important; }
  .split-word > span { transform: none; animation: none; }
  .filter-all, .filter-status__reset, .cookie__link, .cookie__text a { animation: none !important; }
  .hero::before, .cta-band::after, .about__media .media img,
  .whatsapp, .whatsapp::before, .project.is-entering, .inspiration__item.is-entering { animation: none !important; }
  .submenu__grid li { opacity: 1 !important; transform: none !important; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; transition-delay: 0s !important; animation-duration: .01ms !important; }
}
