/* ============================================================
   WVE Timmerwerken: Staal op Zwart
   ============================================================ */

:root {
  --bg:           oklch(0.09 0.000 0);
  --surface:      oklch(0.14 0.010 266);
  --primary:      oklch(0.47 0.24 264);
  --primary-dark: oklch(0.38 0.24 264);
  --steel:        oklch(0.78 0.015 240);
  --ink:          oklch(0.93 0.005 266);
  --muted:        oklch(0.58 0.010 266);

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  --z-nav:      100;
  --z-lightbox: 200;
  --z-overlay:  150;

  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);

  --hairline: 1px solid oklch(1 0 0 / 0.08);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Barlow", system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ---------- Typography ---------- */
h1, h2, h3 {
  font-family: "Barlow Condensed", system-ui, sans-serif;
  text-wrap: balance;
}

.section-title {
  font-weight: 800;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin-bottom: 1.75rem;
  padding-top: 1.1rem;
  position: relative;
}
/* Blauwe sectie-tik: markeert het begin van elke sectie */
.section-title::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 2.5rem;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 600ms var(--ease-out-quart) 120ms;
}
.section-title.visible::before { transform: scaleX(1); }
@media (prefers-reduced-motion: reduce) {
  .section-title::before { transform: scaleX(1); transition: none; }
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

section { padding: clamp(4.5rem, 9vw, 8rem) 0; }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 300;
  background: var(--primary);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
}
.skip-link:focus { top: 1rem; }

/* ---------- Focus visibility ---------- */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: "Barlow Condensed", system-ui, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.01em;
  padding: 0.7rem 1.3rem;
  border-radius: var(--radius-md);
  transition: background 150ms var(--ease-out-quart),
              color 150ms var(--ease-out-quart),
              border-color 150ms var(--ease-out-quart);
}
.btn--primary {
  background: var(--primary);
  color: #fff;
}
.btn--primary:hover { background: var(--primary-dark); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--primary);
}
.btn--ghost:hover { background: oklch(0.47 0.24 264 / 0.15); }

.btn--lg { font-size: 1.15rem; padding: 0.85rem 1.6rem; }
.btn--block { width: 100%; }

.icon { flex-shrink: 0; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--z-nav);
  background: transparent;
  transition: background 250ms var(--ease-out-quart),
              backdrop-filter 250ms var(--ease-out-quart),
              border-color 250ms var(--ease-out-quart);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: oklch(0.14 0.010 266 / 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: var(--hairline);
}
.nav__inner {
  max-width: 1180px;
  margin: 0 auto;
  /* viewport-fit=cover laat content in de veilige zones lopen: notch ontwijken */
  padding: max(0.85rem, env(safe-area-inset-top)) max(1.25rem, env(safe-area-inset-right))
           0.85rem max(1.25rem, env(safe-area-inset-left));
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}
.logo { display: flex; align-items: center; justify-self: start; }
.logo__img {
  display: block;
  height: 3.5rem;
  width: auto;
}
@media (max-width: 480px) {
  .logo__img { height: 2.75rem; }
}
.nav__links { display: flex; gap: 1.75rem; justify-self: center; }
.nav__links a {
  font-family: "Barlow Condensed", system-ui, sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--steel);
  transition: color 150ms var(--ease-out-quart);
  position: relative;
  padding-bottom: 2px;
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 220ms var(--ease-out-quart);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); }

.nav__right { display: flex; align-items: center; gap: 0.5rem; justify-self: end; }

/* Compacte contactknoppen in de header. Op desktop verborgen (daar staat de
   volledige telefoonknop), op mobiel vervangen ze de oude balk onderaan. */
.nav__icon {
  display: none;
  width: 44px;          /* minimum voor comfortabel tikken */
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  flex-shrink: 0;
  transition: background 150ms var(--ease-out-quart),
              border-color 150ms var(--ease-out-quart);
}
.nav__icon--bel {
  background: var(--primary);
  color: #fff;
}
.nav__icon--bel:hover { background: var(--primary-dark); }
/* WhatsApp: donker met groen glyph, zodat blauw de enige merkkleur blijft */
.nav__icon--wa {
  background: oklch(0.19 0.010 266);
  color: #25D366;
  border: 1px solid oklch(1 0 0 / 0.14);
}
.nav__icon--wa:hover { border-color: oklch(0.75 0.18 150 / 0.55); }
.nav__icon:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .nav__icon { transition: none; } }

@media (max-width: 768px) {
  .nav__icon { display: flex; }
  .nav__cta  { display: none; }   /* volledige telefoonknop is te breed op mobiel */
  /* De zwevende WhatsApp-knop wordt verderop verborgen, na zijn eigen definitie. */
}
/* Op zeer smalle schermen alleen de tussenruimte krimpen, niet de knoppen zelf */
@media (max-width: 380px) {
  .nav__right { gap: 0.3rem; }
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 200ms var(--ease-out-quart), opacity 200ms var(--ease-out-quart);
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Mobile overlay ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: var(--z-overlay);
  background: oklch(0.09 0.000 0 / 0.98);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
}
.mobile-menu__nav a {
  font-family: "Barlow Condensed", system-ui, sans-serif;
  font-weight: 700;
  font-size: 2rem;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.mobile-menu__phone { color: var(--primary) !important; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 1.25rem 4rem;
  background: var(--bg);
  overflow: hidden;
}
/* Eigen medialaag zodat de foto met scroll kan parallaxen en "openen" */
.hero__media {
  position: absolute;
  inset: -12% 0;
  background-image: url("../Portfolio foto's/WhatsApp Image 2026-06-14 at 00.06.20.jpeg");
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
  will-change: transform;
  z-index: 0;
  /* geen fill-mode: na de intro valt 'm terug op de basis-transform hierboven,
     zodat de JS-parallax (inline transform) daarna niet wordt overschreven */
  animation: hero-settle 1.4s var(--ease-out-quart);
}
@keyframes hero-settle {
  from { transform: scale(1.16); }
  to   { transform: scale(1.06); }
}
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to bottom,
    oklch(0 0 0 / 0.30) 0%,
    oklch(0 0 0 / 0.55) 55%,
    oklch(0.09 0 0 / 0.92) 100%);
}
.hero__inner { position: relative; z-index: 2; max-width: 880px; }
@media (prefers-reduced-motion: reduce) {
  .hero__media { animation: none; transform: scale(1.02); }
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: "Barlow Condensed", system-ui, sans-serif;
  font-weight: 500;
  font-size: clamp(0.8rem, 1.6vw, 0.95rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 1.25rem;
}
.hero__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 0 oklch(0.47 0.24 264 / 0.6);
  animation: hero-pulse 2.4s ease-out infinite;
}
@keyframes hero-pulse {
  0%   { box-shadow: 0 0 0 0 oklch(0.47 0.24 264 / 0.55); }
  70%  { box-shadow: 0 0 0 9px oklch(0.47 0.24 264 / 0); }
  100% { box-shadow: 0 0 0 0 oklch(0.47 0.24 264 / 0); }
}
@media (prefers-reduced-motion: reduce) { .hero__dot { animation: none; } }

.hero__rule {
  display: block;
  width: 0;
  height: 2px;
  margin: 0.25rem auto 1.5rem;
  background: linear-gradient(90deg, var(--primary), transparent);
  animation: hero-rule 0.9s var(--ease-out-quart) 0.5s both;
}
@keyframes hero-rule { to { width: clamp(120px, 30vw, 260px); } }
@media (prefers-reduced-motion: reduce) {
  .hero__rule { width: clamp(120px, 30vw, 260px); animation: none; }
}
.hero__title {
  font-weight: 800;
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 1.25rem;
}
.hero__sub {
  font-family: "Barlow Condensed", system-ui, sans-serif;
  font-weight: 500;
  font-size: clamp(1rem, 2.2vw, 1.4rem);
  letter-spacing: 0.02em;
  color: var(--steel);
  margin-bottom: 2.25rem;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: center;
}
.hero__scroll {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--steel);
  animation: bounce-y 2s var(--ease-out-quart) infinite;
}
@keyframes bounce-y {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(8px); }
}

/* Word entrance */
/* padding-bottom + negatieve marge: ruimte voor descenders (g, j, p) binnen de
   overflow-clip, zonder de regelhoogte te veranderen */
.word-wrap {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.15em;
  margin-bottom: -0.15em;
}
.word { display: inline-block; }
.word--animate {
  animation: word-in 0.65s var(--ease-out-quart) both;
}
@keyframes word-in {
  from { transform: translateY(110%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .word--animate { animation: none; }
}

/* ============================================================
   DIENSTEN
   ============================================================ */
.diensten { background: var(--surface); overflow: hidden; }

/* Header: titel + intro links, nav-knoppen rechts */
.diensten__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.diensten__head-text { max-width: 58ch; }
.diensten__head .section-title { margin-bottom: 1rem; }
.diensten__intro {
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  color: var(--ink);
  text-wrap: pretty;
  font-weight: 600;
  margin-bottom: 0;
}

/* Carousel navigatie-knoppen */
.carousel__nav {
  display: flex;
  gap: 0.6rem;
  flex-shrink: 0;
}
.carousel__btn {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  background: var(--bg);
  border: var(--hairline);
  border-radius: 50%;
  transition: background 150ms var(--ease-out-quart), color 150ms var(--ease-out-quart), border-color 150ms var(--ease-out-quart);
}
.carousel__btn:hover:not(:disabled) { background: var(--primary); border-color: transparent; color: #fff; }
.carousel__btn:disabled { opacity: 0.35; cursor: default; }

/* Track: scroll-snap rail die tot de schermrand loopt */
/* Full-width rij die naar de randen doorloopt, net als het portfolio.
   Losse clamp voor de zij-inspring (geen max()/calc()/100vw → werkt in Safari/Arc). */
.diensten__track-wrap { width: 100%; }
.diensten__track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  /* snappunt respecteert de zij-inspring, anders snapt kaart 1 tegen de rand */
  scroll-padding-inline: clamp(1.25rem, 5vw, 5rem);
  scroll-behavior: smooth;
  padding-inline: clamp(1.25rem, 5vw, 5rem);
  padding-bottom: 1rem;
  scrollbar-width: none;
}
.diensten__track::-webkit-scrollbar { display: none; }

.dienst-card {
  flex: 0 0 auto;
  width: min(85vw, 400px);
  scroll-snap-align: start;
}
.dienst-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.dienst-card__media {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--bg);
  margin-bottom: 1.25rem;
}
.dienst-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 400ms var(--ease-out-quart);
}
.dienst-card__link:hover .dienst-card__media img { transform: scale(1.05); }
.dienst-card__title {
  font-weight: 700;
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  line-height: 1.05;
  margin-bottom: 0.65rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.dienst-card__desc {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}
.dienst__items {
  list-style: none;
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.dienst__items li {
  font-size: 0.875rem;
  color: var(--steel);
  padding-left: 1.1em;
  position: relative;
  line-height: 1.4;
}
.dienst__items li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}
.dienst-card__more {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.25rem;
  font-family: "Barlow Condensed", system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--steel);
  transition: color 150ms var(--ease-out-quart);
}
.dienst-card__more svg { transition: transform 220ms var(--ease-out-quart); }
.dienst-card__link:hover .dienst-card__more { color: var(--primary); }
.dienst-card__link:hover .dienst-card__more svg { transform: translateX(4px); }

@media (prefers-reduced-motion: reduce) {
  .diensten__track { scroll-behavior: auto; }
  .dienst-card__media img,
  .dienst-card__more svg { transition: none; }
}

/* ============================================================
   PORTFOLIO
   ============================================================ */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.75rem;
}
.filter {
  font-family: "Barlow Condensed", system-ui, sans-serif;
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--steel);
  background: var(--surface);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  border: var(--hairline);
  transition: background 150ms var(--ease-out-quart), color 150ms var(--ease-out-quart);
}
.filter:hover { color: var(--ink); }
.filter.is-active {
  background: var(--primary);
  color: #fff;
  border-color: transparent;
}

/* ---------- Scroll-x carousel ---------- */
.portfolio { padding-bottom: 0; }

/* Het hoge buitenelement levert de scrollafstand; hoogte wordt door JS gezet. */
.px-carousel { position: relative; }

.px-carousel__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

/* Twee rijen onder elkaar binnen het sticky-venster */
.px-carousel__rows {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.px-carousel__track {
  display: flex;
  gap: 1rem;
  width: max-content;
  padding-inline: clamp(1.25rem, 5vw, 5rem);
  will-change: transform;
  list-style: none;
}
/* Tweede rij iets verspringen t.o.v. de eerste voor een gelaagd effect */
.px-carousel__track--alt { padding-inline-start: clamp(3rem, 10vw, 9rem); }
.px-carousel__item {
  flex: 0 0 auto;
  width: clamp(240px, 34vw, 460px);
  height: min(40vh, 320px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
}
.px-carousel__item.is-hidden { display: none; }
.px-carousel__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: pointer;
  transition: transform 500ms var(--ease-out-quart);
}
.px-carousel__item:hover img { transform: scale(1.05); }

/* Rand-fades zodat foto's "in/uit" het beeld glijden */
.px-carousel__fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(2rem, 8vw, 7rem);
  z-index: 2;
  pointer-events: none;
}
.px-carousel__fade--left  { left: 0;  background: linear-gradient(90deg, var(--bg) 20%, transparent); }
.px-carousel__fade--right { right: 0; background: linear-gradient(270deg, var(--bg) 20%, transparent); }

.px-carousel__progress {
  position: relative;
  z-index: 3;
  margin: 2.5rem clamp(1.25rem, 5vw, 5rem) 0;
  height: 3px;
  border-radius: 3px;
  background: oklch(1 0 0 / 0.1);
  overflow: hidden;
}
.px-carousel__bar {
  display: block;
  height: 100%;
  width: 100%;
  border-radius: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left center;
}

.px-carousel__empty {
  text-align: center;
  color: var(--muted);
  padding: 4rem 1.25rem;
}

/* Geen horizontale reisafstand (weinig foto's na filteren): balk verbergen */
.px-no-travel .px-carousel__progress { visibility: hidden; }

/* Entree-animatie bij filteren */
@keyframes px-item-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}
.px-carousel__item.filter-in {
  animation: px-item-in 340ms var(--ease-out-quart) both;
}
@media (prefers-reduced-motion: reduce) {
  .px-carousel__item.filter-in { animation: none; }
  .px-carousel__item img { transition: none; }
}

/* Mobiel + reduced-motion: geen scroll-jacking, gewoon swipen */
@media (max-width: 768px), (prefers-reduced-motion: reduce) {
  .px-carousel { height: auto !important; }
  .px-carousel__sticky {
    position: static;
    height: auto;
    overflow: visible;
  }
  .px-carousel__track {
    transform: none !important;
    width: auto;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    padding-block: 0.5rem 1rem;
    scrollbar-width: none;
  }
  .px-carousel__track::-webkit-scrollbar { display: none; }
  .px-carousel__track--alt { padding-inline-start: clamp(1.25rem, 5vw, 5rem); }
  .px-carousel__item {
    scroll-snap-align: start;
    width: min(80vw, 420px);
    height: 46vh;
  }
  .px-carousel__progress { display: none; }
}

.portfolio-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.portfolio-header .section-title { margin-bottom: 0; }
.portfolio-header .filters { margin-bottom: 0; }

/* ============================================================
   REVIEWS
   ============================================================ */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  position: relative;
}
.review {
  background: var(--surface);
  border: 1px solid oklch(1 0 0 / 0.07);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}
.review__stars {
  color: var(--primary);
  font-size: 1.05rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}
.review__text { color: var(--ink); margin-bottom: 1rem; text-wrap: pretty; }
.review__author {
  font-family: "Barlow Condensed", system-ui, sans-serif;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--steel);
}

/* Review-CTA (variant A): nodigt klanten uit een Google-review te plaatsen */
.reviews-cta {
  margin-top: 2rem;
  padding: clamp(1.5rem, 4vw, 2.25rem);
  background: var(--surface);
  border: var(--hairline);
  border-radius: var(--radius-lg);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}
.reviews-cta__text {
  color: var(--steel);
  max-width: 46ch;
  text-wrap: pretty;
}


/* ============================================================
   OVER
   ============================================================ */
.over { background: var(--surface); }

/* ---------- Profielkaart: vierkante foto + overlappende kaart ---------- */
.profile { position: relative; }
.profile__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg);
}
.profile__media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}
.profile__card {
  background: var(--bg);
  border: var(--hairline);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.5rem);
}
.profile__name {
  font-family: "Barlow Condensed", system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: #fff;
}
.profile__role {
  font-family: "Barlow Condensed", system-ui, sans-serif;
  font-weight: 500;
  font-size: clamp(0.85rem, 1.8vw, 1rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel);
  margin-top: 0.4rem;
}
.profile__bio {
  color: var(--ink);
  font-size: clamp(1rem, 1.8vw, 1.1rem);
  line-height: 1.65;
  text-wrap: pretty;
  margin-top: 1.25rem;
  max-width: 60ch;
}
.profile__bio strong { color: #fff; font-weight: 600; }
.profile__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
}
.profile__actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.75rem;
}
.profile__action {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--steel);
  border: 1px solid oklch(1 0 0 / 0.15);
  transition: background 160ms var(--ease-out-quart), color 160ms var(--ease-out-quart),
              border-color 160ms var(--ease-out-quart), transform 160ms var(--ease-out-quart);
}
.profile__action:hover {
  color: #fff;
  border-color: transparent;
  background: var(--primary);
  transform: translateY(-2px);
}
.profile__action--primary {
  background: var(--primary);
  color: #fff;
  border-color: transparent;
}
.profile__action--primary:hover { background: var(--primary-dark); }
@media (prefers-reduced-motion: reduce) {
  .profile__action:hover { transform: none; }
}

/* Desktop: foto links, kaart overlapt naar rechts */
@media (min-width: 769px) {
  .profile { display: flex; align-items: center; }
  .profile__media { width: min(42%, 460px); flex-shrink: 0; }
  .profile__card {
    flex: 1;
    position: relative;
    z-index: 1;
    margin-left: clamp(-100px, -6vw, -56px);
    box-shadow: 0 24px 60px oklch(0 0 0 / 0.55);
  }
}

/* Mobiel: foto boven, kaart overlapt licht, gecentreerd */
@media (max-width: 768px) {
  .profile__media { margin-bottom: -2.5rem; }
  .profile__card {
    position: relative;
    margin: 0 0.5rem;
    text-align: center;
    box-shadow: 0 -8px 40px oklch(0 0 0 / 0.4);
  }
  .profile__bio { margin-left: auto; margin-right: auto; }
  .profile__badges, .profile__actions { justify-content: center; }
}
.badge {
  font-family: "Barlow Condensed", system-ui, sans-serif;
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--steel);
  background: oklch(1 0 0 / 0.05);
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.8rem;
}

/* ============================================================
   FAQ: native <details>, geen JS
   ============================================================ */
.faq__list {
  max-width: 820px;
  margin-top: 0.5rem;
}
.faq__item {
  border-bottom: var(--hairline);
}
.faq__item:first-child { border-top: var(--hairline); }
.faq__q {
  font-family: 'Barlow Condensed', system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(1.15rem, 2.6vw, 1.5rem);
  color: var(--ink);
  padding: 1.25rem 2.75rem 1.25rem 0;
  cursor: pointer;
  position: relative;
  list-style: none;
  transition: color 200ms var(--ease-out-quart);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--steel); }
.faq__q:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 4px;
  border-radius: var(--radius-sm);
}
/* Chevron rechts, draait bij openen */
.faq__q::after {
  content: '';
  position: absolute;
  right: 0.4rem;
  top: 1.75rem;
  width: 11px;
  height: 11px;
  border-right: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
  transform: rotate(45deg);
  transition: transform 250ms var(--ease-out-quart);
}
.faq__item[open] .faq__q::after {
  transform: rotate(-135deg);
}
.faq__a {
  padding: 0 2.75rem 1.4rem 0;
  color: var(--ink);
  line-height: 1.65;
  max-width: 64ch;
}
.faq__a p { margin: 0; text-wrap: pretty; }
@media (prefers-reduced-motion: reduce) {
  .faq__q, .faq__q::after { transition: none; }
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact__grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 2.5rem;
  align-items: start;
}
.field { margin-bottom: 1.1rem; }
.field label {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.4rem;
}
.field input,
.field textarea {
  width: 100%;
  font-family: "Barlow", system-ui, sans-serif;
  font-size: 1rem;
  color: var(--ink);
  background: oklch(1 0 0 / 0.05);
  border: 1px solid oklch(1 0 0 / 0.12);
  border-radius: var(--radius-md);
  padding: 0.7rem 0.85rem;
  transition: border-color 150ms var(--ease-out-quart), box-shadow 150ms var(--ease-out-quart);
}
.field textarea { resize: vertical; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px oklch(0.47 0.24 264 / 0.25);
}

.form-error {
  margin-top: 0.9rem;
  color: oklch(0.62 0.2 25);
  font-size: 0.95rem;
}
.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  padding: 2.5rem 1rem;
  color: oklch(0.72 0.17 150);
}
.form-success[hidden] { display: none; }
.form-success p { color: var(--ink); font-size: 1.1rem; }

/* contact info */
.contact__info { display: flex; flex-direction: column; gap: 1.1rem; }
.contact__row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
  transition: color 150ms var(--ease-out-quart);
}
.contact__row .icon { color: var(--primary); }
a.contact__row:hover { color: var(--steel); }
.contact__area {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg);
  border-top: var(--hairline);
  text-align: center;
  padding: 2rem 1.25rem;
  color: var(--muted);
  font-size: 0.85rem;
}
.footer p { line-height: 1.7; }

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: var(--z-lightbox);
  background: oklch(0 0 0 / 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  animation: lightbox-in 220ms var(--ease-out-quart) both;
}
@keyframes lightbox-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.lightbox[hidden] { display: none; }
.lightbox__img {
  max-width: 90vw;
  max-height: 86vh;
  border-radius: var(--radius-md);
  object-fit: contain;
  animation: lb-img-in 260ms var(--ease-out-quart) both;
}
@keyframes lb-img-in {
  from { opacity: 0; transform: scale(0.94); }
  to   { opacity: 1; transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .lightbox, .lightbox__img { animation: none; }
}
.lightbox__close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  color: var(--ink);
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  transition: color 150ms var(--ease-out-quart);
}
.lightbox__close:hover { color: var(--steel); }
.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink);
  background: oklch(0.14 0.010 266 / 0.6);
  border-radius: 50%;
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 150ms var(--ease-out-quart);
}
.lightbox__nav:hover { background: var(--primary); }
.lightbox__nav--prev { left: 1rem; }
.lightbox__nav--next { right: 1rem; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
/* Scroll reveal: differentiatie per context */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 550ms var(--ease-out-quart), transform 550ms var(--ease-out-quart);
}
.reveal.visible { opacity: 1; transform: none; }

/* Sectietitels: van links */
.section-title.reveal { transform: translateX(-20px); }
.section-title.reveal.visible { transform: none; }

/* Diensten intro: fade only, geen beweging */
.diensten__intro.reveal { transform: none; }

/* Filters: van links, langzamer */
.filters.reveal { transform: translateX(-12px); transition-duration: 600ms; }
.filters.reveal.visible { transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .section-title.reveal, .filters.reveal {
    opacity: 1; transform: none; transition: none;
  }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .nav__links { gap: 1.25rem; }
}

@media (max-width: 768px) {
  .nav__links { display: none; }
  /* Menu valt weg op mobiel: terug naar twee kolommen, anders belanden de
     knoppen in de (nu lege) middenkolom en staan ze niet netjes rechts. */
  .nav__inner { grid-template-columns: 1fr auto; }
  .nav__cta span { display: none; }
  .nav__cta { padding: 0.6rem 0.75rem; }
  .nav__burger { display: flex; }

  .diensten__head { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .carousel__nav { display: none; }
  .diensten__track { gap: 1rem; }

  .contact__grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .contact__info { order: -1; }
  .contact__row { padding: 0.85rem 0; }
  a.contact__row { font-size: 1.05rem; }

  .lightbox { padding: 1rem; }
  .lightbox__nav { width: 42px; height: 42px; }
}

@media (max-width: 480px) {
  .hero { padding-top: 5rem; }
  .hero__cta {
    flex-direction: column;
    width: 100%;
  }
  .hero__cta .btn { width: 100%; }
}


/* ============================================================
   SCROLL-VOORTGANG + FILMKORREL
   ============================================================ */
.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 250;
  background: oklch(1 0 0 / 0.06);
  pointer-events: none;
}
.scroll-progress__bar {
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--primary), oklch(0.6 0.2 264));
  transform: scaleX(0);
  transform-origin: left center;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 240;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

/* Sectie-naden: snijden de delen visueel los van elkaar */
.stats, .diensten, .reviews, .over, .faq, .contact { border-top: var(--hairline); }

/* ============================================================
   CIJFERBALK
   ============================================================ */
.stats { background: var(--bg); padding: clamp(2.75rem, 5vw, 4rem) 0; }
.stats__row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: oklch(1 0 0 / 0.07);
  border: var(--hairline);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.stat {
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: clamp(1.4rem, 3vw, 2.25rem) clamp(1.1rem, 2.5vw, 1.75rem);
}
.stat__num {
  font-family: "Barlow Condensed", system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.stat__label {
  font-family: "Barlow Condensed", system-ui, sans-serif;
  font-weight: 500;
  font-size: clamp(0.78rem, 1.6vw, 0.95rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel);
}
@media (max-width: 680px) {
  .stats__row { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   DIENSTEN: teller, actieve kaart, hover-gloed
   ============================================================ */
.carousel__count {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-right: 0.4rem;
  font-family: "Barlow Condensed", system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  color: var(--steel);
}
.carousel__count #dienst-count { color: var(--primary); }
.carousel__count-sep { color: oklch(1 0 0 / 0.25); }

.dienst-card__link {
  transition: transform 320ms var(--ease-out-quart);
}
.dienst-card__link:hover { transform: translateY(-6px); }
.dienst-card__media {
  transition: box-shadow 320ms var(--ease-out-quart);
  position: relative;
}
.dienst-card__link:hover .dienst-card__media {
  box-shadow: 0 18px 40px oklch(0 0 0 / 0.5),
              0 0 0 1px oklch(0.47 0.24 264 / 0.5),
              0 12px 36px oklch(0.47 0.24 264 / 0.22);
}
@media (prefers-reduced-motion: reduce) {
  .dienst-card__link, .dienst-card__media { transition: none; }
  .dienst-card__link:hover { transform: none; }
}

/* ============================================================
   PORTFOLIO: hover-bijschrift met diensttype
   ============================================================ */
.px-carousel__item { position: relative; }
.px-carousel__cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 2.5rem 1rem 0.9rem;
  font-family: "Barlow Condensed", system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(to top, oklch(0 0 0 / 0.8), transparent);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 300ms var(--ease-out-quart), transform 300ms var(--ease-out-quart);
  pointer-events: none;
}
.px-carousel__cap::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}
.px-carousel__item:hover .px-carousel__cap { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .px-carousel__cap { transition: none; }
}

/* ============================================================
   REVIEWS: uitgelichte quote
   ============================================================ */
.reviews__featured {
  position: relative;
  background: var(--surface);
  border: 1px solid oklch(1 0 0 / 0.08);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.25rem);
  margin-bottom: 1.25rem;
  overflow: hidden;
}
.reviews__featured::before {
  content: '\201C';
  position: absolute;
  top: -2.5rem; right: 1rem;
  font-family: "Barlow Condensed", system-ui, sans-serif;
  font-weight: 800;
  font-size: 14rem;
  line-height: 1;
  color: var(--primary);
  opacity: 0.14;
  pointer-events: none;
}
.reviews__featured .review__stars { font-size: 1.25rem; }
.reviews__featured .review__text {
  font-family: "Barlow Condensed", system-ui, sans-serif;
  font-weight: 500;
  font-size: clamp(1.5rem, 3.2vw, 2.4rem);
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: #fff;
  text-wrap: balance;
  max-width: 24ch;
}
.reviews__featured .review__author { font-size: 1rem; }

/* ============================================================
   CONTACT: slotmoment
   ============================================================ */
.contact__head { margin-bottom: clamp(2rem, 5vw, 3rem); }
.contact__title {
  font-family: "Barlow Condensed", system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(2.6rem, 7vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: -0.025em;
  color: #fff;
  text-wrap: balance;
}
.contact__lead {
  margin-top: 1.1rem;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--steel);
  text-wrap: pretty;
  max-width: 50ch;
}
/* Desktop: titel links, lead rechts: vult de volle breedte */
@media (min-width: 769px) {
  .contact__head {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: end;
  }
  .contact__lead { margin-top: 0; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}


/* ============================================================
   ZO WERKT WOUTER (driestap) + SOCIAL PROOF bij Over Wouter
   ============================================================ */
/* "Zo werkt Wouter": drie stappen (echte volgorde, dus 01/02/03 klopt hier) */
.proces { background: var(--bg); padding: clamp(3rem, 6vw, 5rem) 0; }
.proces__heading {
  font-family: 'Barlow Condensed', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  letter-spacing: -0.01em;
  line-height: 1;
  color: var(--ink);
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
}
.proces__row {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  margin: 0;
  padding: 0;
}
.proces__step {
  position: relative;
  padding-top: 1.1rem;
  border-top: 2px solid var(--primary);
}
.proces__num {
  display: block;
  font-family: 'Barlow Condensed', system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  color: var(--primary);
}
.proces__title {
  font-family: 'Barlow Condensed', system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(1.35rem, 2.6vw, 1.8rem);
  line-height: 1.05;
  margin: 0.4rem 0 0.65rem;
  color: var(--ink);
}
.proces__text {
  color: var(--steel);
  line-height: 1.6;
  max-width: 34ch;
  text-wrap: pretty;
  margin: 0;
}
@media (max-width: 768px) {
  .proces__row { grid-template-columns: 1fr; gap: 1.75rem; }
  .proces__text { max-width: none; }
}

/* ---- Social proof bij Over Wouter ---- */
/* Persoonlijke belofte (pull-quote in Wouters eigen woorden) */
.profile__quote {
  font-family: 'Barlow Condensed', system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(1.35rem, 2.8vw, 2rem);
  line-height: 1.12;
  color: var(--ink);
  margin: 0.4rem 0 1.35rem;
  padding-left: 1rem;
  border-left: 3px solid var(--primary);
  text-wrap: pretty;
}
.profile__quote cite {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  font-style: normal;
  letter-spacing: 0.06em;
  color: var(--steel);
}
/* Vakkennis & ervaring (echte diploma's = de social proof) */
.profile__creds {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 1.4rem 0 0;
  border-top: var(--hairline);
  display: grid;
  gap: 0.7rem;
}
.profile__creds li {
  position: relative;
  padding-left: 1.75rem;
  color: var(--steel);
  font-size: 0.98rem;
  line-height: 1.35;
}
.profile__creds li::before {   /* blauw vinkje */
  content: '';
  position: absolute;
  left: 3px; top: 0.15em;
  width: 6px; height: 11px;
  border: solid var(--primary);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.profile__creds strong { color: var(--ink); font-weight: 600; }
  

/* ============================================================
   VERTROUWENSBALK (onder de hero)
   ============================================================ */
.trustbar {
  background: var(--surface);
  border-top: var(--hairline);
  border-bottom: var(--hairline);
  padding: clamp(1.1rem, 2.5vw, 1.6rem) 0;
}
.trustbar__row {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(0.9rem, 2.5vw, 2rem);
}
.trustbar__item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--steel);
  font-size: 0.95rem;
  line-height: 1.3;
  text-wrap: pretty;
}
.trustbar__icon {
  flex-shrink: 0;
  color: var(--primary);
}
@media (max-width: 900px) {
  .trustbar__row { grid-template-columns: repeat(2, 1fr); row-gap: 1.1rem; }
}
@media (max-width: 420px) {
  .trustbar__item { font-size: 0.88rem; gap: 0.55rem; }
}

/* ============================================================
   ZWEVENDE WHATSAPP-KNOP
   Donkere cirkel + groen glyph: herkenbaar zonder het
   blauwe kleursysteem te doorbreken (Een-Stem-Regel).
   ============================================================ */
.wa-fab {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: calc(var(--z-nav) - 1);
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: oklch(0.16 0.010 266 / 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid oklch(1 0 0 / 0.12);
  color: #25D366;                      /* WhatsApp-groen, alleen in het icoon */
  box-shadow: 0 6px 20px oklch(0 0 0 / 0.45);
  /* Altijd zichtbaar; verdwijnt alleen bij de contactsectie. */
  opacity: 1;
  transform: none;
  transition: opacity 260ms var(--ease-out-quart),
              transform 260ms var(--ease-out-quart),
              border-color 200ms var(--ease-out-quart);
}
.wa-fab.is-hidden {
  opacity: 0;
  transform: translateY(12px) scale(0.94);
  pointer-events: none;
}
.wa-fab:hover {
  border-color: oklch(0.75 0.18 150 / 0.55);
}
.wa-fab:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}
/* Op mobiel niet als los bolletje: WhatsApp zit daar in de sticky balk,
   samen met bellen. Alleen op desktop blijft de zwevende knop staan. */
@media (max-width: 768px) {
  .wa-fab { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .wa-fab { transition: opacity 1ms linear; transform: none; }
}

/* ============================================================
   BEDANKPAGINA (na verzenden contactformulier)
   ============================================================ */
.form-note {
  margin-top: 0.85rem;
  font-size: 0.88rem;
  color: var(--steel);
  text-align: center;
}
.dank {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem;
}
.dank__card {
  width: 100%;
  max-width: 620px;
  text-align: center;
  background: var(--surface);
  border: var(--hairline);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 6vw, 3.5rem);
}
.dank__logo {
  display: block;
  height: 4rem;
  width: auto;
  margin: 0 auto 1.75rem;
}
.dank__check {
  color: var(--primary);
  margin-bottom: 1.25rem;
}
.dank__title {
  font-family: "Barlow Condensed", system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 6vw, 3rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 1rem;
}
.dank__text {
  color: var(--steel);
  line-height: 1.65;
  max-width: 48ch;
  margin: 0 auto 0.9rem;
  text-wrap: pretty;
}
.dank__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 2rem;
}

/* Let op-melding op de bedankpagina (spam-map) */
.dank__note {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  text-align: left;
  max-width: 46ch;
  margin: 1.5rem auto 1.4rem;
  padding: 0.9rem 1.1rem;
  background: var(--bg);
  border: var(--hairline);
  border-left: 3px solid var(--primary);
  border-radius: var(--radius-md);
}
.dank__note svg {
  flex-shrink: 0;
  color: var(--primary);
  margin-top: 2px;
}
.dank__note p {
  margin: 0;
  color: var(--steel);
  font-size: 0.9rem;
  line-height: 1.5;
  text-wrap: pretty;
}
.dank__note strong { color: var(--ink); font-weight: 600; }

/* Sluitknop in het mobiele menu (het overlay bedekt de nav, dus de burger
   is daar niet bruikbaar als kruisje) */
.mobile-menu__close {
  position: absolute;
  top: max(1rem, env(safe-area-inset-top));
  right: 1rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--ink);
  border: 1px solid oklch(1 0 0 / 0.12);
  background: oklch(0.16 0.010 266 / 0.8);
  transition: border-color 150ms var(--ease-out-quart), color 150ms var(--ease-out-quart);
}
.mobile-menu__close:hover { border-color: var(--primary); color: var(--primary); }
.mobile-menu__close:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  .mobile-menu__close { transition: none; }
}
