/* ==========================================================================
   Aannemer Guido Brouwer — Stylesheet
   Rustig, compact en degelijk. Sneek en omgeving.
   ========================================================================== */

/* ---------------------------------------------------------------------------
   1. Design tokens
   --------------------------------------------------------------------------- */
:root {
  /* Kleuren */
  --antraciet: #2F3133;
  --donkergrijs: #444444;
  --warm-wit: #F7F7F5;
  --lichtgrijs: #ECECEC;
  --rood: #C62828;
  --rood-donker: #A91F1F;

  --wit: #FFFFFF;
  --tekst: #2F3133;
  --tekst-zacht: #5C5F61;
  --tekst-licht: #8A8D8F;
  --lijn: #E2E2DF;

  /* Typografie */
  --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Ruimte */
  --container: 1200px;
  --container-breed: 1340px;
  --sectie-y: clamp(3rem, 6vw, 5.25rem);
  --gap: clamp(1rem, 2.2vw, 1.5rem);
  --header-h: 68px;

  /* Vorm */
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Schaduw — subtiel, degelijk */
  --shadow-xs: 0 1px 2px rgba(47, 49, 51, 0.06);
  --shadow-sm: 0 4px 14px rgba(47, 49, 51, 0.07);
  --shadow-md: 0 12px 30px rgba(47, 49, 51, 0.10);
  --shadow-lg: 0 26px 60px rgba(47, 49, 51, 0.16);

  /* Beweging */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --t-fast: 180ms;
  --t-base: 280ms;

  /* Z-index schaal */
  --z-header: 100;
  --z-overlay: 200;
}

/* ---------------------------------------------------------------------------
   2. Reset & basis
   --------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

* { margin: 0; }

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

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--tekst);
  background: var(--warm-wit);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }

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

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

input, textarea, select { font-family: inherit; font-size: inherit; }

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

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--antraciet);
}

:focus-visible {
  outline: 3px solid var(--rood);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--rood); color: #fff; }

/* ---------------------------------------------------------------------------
   3. Layout helpers
   --------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.5rem);
}
.container--breed { max-width: var(--container-breed); }

.section { padding-block: var(--sectie-y); }
/* Ankerlinks niet onder de vaste header laten vallen */
section[id] { scroll-margin-top: calc(var(--header-h) - 1px); }
.section--licht { background: var(--wit); }
.section--grijs { background: var(--lichtgrijs); }
/* Twee witte secties na elkaar: geen dubbele witruimte */
.section--licht + .section--licht { padding-top: 0; }

.section-head {
  max-width: 640px;
  margin-bottom: clamp(1.5rem, 3.5vw, 2.5rem);
}
.section-head--flush { margin-bottom: 0; }
.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rood);
  margin-bottom: 0.7rem;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--rood);
}
.section-head--center .eyebrow::before { display: none; }

.section-title {
  font-size: clamp(1.55rem, 3.2vw, 2.3rem);
  text-wrap: balance;
}
.section-intro {
  margin-top: 0.75rem;
  font-size: 1.03rem;
  color: var(--tekst-zacht);
}

/* ---------------------------------------------------------------------------
   4. Knoppen
   --------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.2;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-sm);
  min-height: 44px;
  transition: transform var(--t-fast) var(--ease),
              background-color var(--t-fast) var(--ease),
              box-shadow var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease);
  white-space: nowrap;
  text-align: center;
}
.btn--block { white-space: normal; }
.btn--lg { padding: 0.9rem 1.7rem; min-height: 48px; font-size: 0.95rem; }
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

.btn--primary {
  background: var(--rood);
  color: #fff;
  box-shadow: 0 6px 16px rgba(198, 40, 40, 0.24);
}
.btn--primary:hover {
  background: var(--rood-donker);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(198, 40, 40, 0.3);
}

.btn--dark {
  background: var(--antraciet);
  color: #fff;
}
.btn--dark:hover { background: #1d1f20; transform: translateY(-2px); }

.btn--ghost {
  background: transparent;
  color: var(--antraciet);
  box-shadow: inset 0 0 0 1.5px var(--lijn);
}
.btn--ghost:hover {
  box-shadow: inset 0 0 0 1.5px var(--antraciet);
  transform: translateY(-2px);
}

.btn--light {
  background: #fff;
  color: var(--antraciet);
}
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn--ghost-light {
  background: transparent;
  color: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.55);
}
.btn--ghost-light:hover { box-shadow: inset 0 0 0 1.5px #fff; transform: translateY(-2px); }

.btn--block { width: 100%; }

/* Tekstlink met pijl */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--rood);
}
.link-arrow svg { width: 18px; height: 18px; transition: transform var(--t-fast) var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------------------------------------------------------------------------
   5. Header / navigatie
   --------------------------------------------------------------------------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: var(--z-header);
  background: rgba(247, 247, 245, 0.0);
  transition: background var(--t-base) var(--ease),
              box-shadow var(--t-base) var(--ease),
              border-color var(--t-base) var(--ease);
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(247, 247, 245, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-xs);
  border-bottom-color: var(--lijn);
}
/* backdrop-filter op .header maakt een eigen containing block voor position:fixed
   kinderen — daardoor "zweeft" het mobiele menu-paneel niet meer los van de pagina
   maar blijft het aan de gescrolde header vastzitten. Filter uitzetten zodra het
   menu open is, zodat .nav.is-open weer normaal fixed t.o.v. de viewport is. */
.header.menu-open {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  background: var(--warm-wit);
}

/* Boven de hero (nog niet gescrold): transparant met witte tekst */
.header:not(.is-scrolled) .nav__link { color: rgba(255, 255, 255, 0.92); }
.header:not(.is-scrolled) .nav__link:hover { color: #fff; }
.header:not(.is-scrolled) .header__phone { color: #fff; }
.header:not(.is-scrolled) .header__phone svg { color: #fff; }
.header:not(.is-scrolled) .brand__logo {
  filter: brightness(0) invert(1);
}
.brand__logo { transition: filter var(--t-base) var(--ease); }
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-shrink: 0;
}
.brand__logo {
  height: 42px;
  width: auto;
  display: block;
}

.nav { display: flex; align-items: center; gap: 1.5rem; }
.nav__list { display: flex; align-items: center; gap: 0.75rem; }
.nav__list li { display: flex; align-items: center; gap: 0.75rem; }
/* Klein verticaal rood streepje tussen de menu-items */
.nav__list li:not(:last-child)::after {
  content: "";
  width: 2px;
  height: 13px;
  border-radius: 2px;
  background: var(--rood);
  flex-shrink: 0;
}
.nav__link {
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--donkergrijs);
  position: relative;
  padding-block: 0.3rem;
  transition: color var(--t-fast) var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--rood);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-fast) var(--ease);
}
.nav__link:hover { color: var(--antraciet); }
.nav__link:hover::after { transform: scaleX(1); }

.header__cta { display: flex; align-items: center; gap: 1rem; }
.header__phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--antraciet);
  white-space: nowrap;
}
.header__phone svg { width: 17px; height: 17px; color: var(--rood); flex-shrink: 0; }

/* Mobiele menu-knop */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
  background: var(--antraciet);
  color: #fff;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle.is-open .icon-open { display: none; }
.nav-toggle.is-open .icon-close { display: block; }

/* ---------------------------------------------------------------------------
   6. Hero — beeld met zwevende header, bewust lager dan het scherm
      zodat de volgende sectie direct in beeld komt
   --------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: clamp(500px, 76svh, 700px);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: calc(var(--header-h) + clamp(2rem, 5vh, 3.5rem));
  padding-bottom: clamp(4.5rem, 10vh, 6.5rem);
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  transform: scale(1.16);
  will-change: transform;
}
/* Donkere gradient zodat de tekst altijd leesbaar blijft, Guido + bus blijven zichtbaar */
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(102deg,
      rgba(18, 19, 20, 0.86) 0%,
      rgba(18, 19, 20, 0.66) 32%,
      rgba(18, 19, 20, 0.30) 58%,
      rgba(18, 19, 20, 0.08) 100%),
    linear-gradient(180deg,
      rgba(18, 19, 20, 0.28) 0%,
      rgba(18, 19, 20, 0) 30%,
      rgba(18, 19, 20, 0) 70%,
      rgba(18, 19, 20, 0.30) 100%);
}
.hero__inner { position: relative; z-index: 1; width: 100%; }
.hero__content { max-width: 640px; color: #fff; }

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  padding: 0.4rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  margin-bottom: 1.1rem;
}

.hero__title {
  color: #fff;
  font-size: clamp(1.85rem, 3.3vw, 2.5rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.3);
  text-wrap: balance;
}

.hero__sub {
  margin-top: 1rem;
  font-size: clamp(1rem, 1.2vw, 1.08rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
  max-width: 54ch;
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.3);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.6rem;
  margin-top: 1.7rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.hero__trust li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.92);
}
.hero__trust svg { width: 17px; height: 17px; color: #ff5a5a; flex-shrink: 0; }

/* Organische overgang */
.hero__wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 2;
  line-height: 0;
  pointer-events: none;
}
.hero__wave svg {
  display: block;
  width: 100%;
  height: clamp(36px, 5vw, 80px);
}

/* Premium intro-animaties: tekst komt gestaffeld omhoog (pure CSS, draait bij laden) */
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}
.hero-anim {
  opacity: 0;
  animation: hero-rise 760ms var(--ease) forwards;
}
.hero__eyebrow.hero-anim { animation-delay: 120ms; }
.hero__title.hero-anim   { animation-delay: 240ms; }
.hero__sub.hero-anim     { animation-delay: 380ms; }
.hero__actions.hero-anim { animation-delay: 520ms; }
.hero__trust.hero-anim   { animation-delay: 660ms; }

/* Header vloeiend laten binnenkomen (alleen opacity — geen transform,
   zodat het vaste mobiele menu-paneel niet beïnvloed wordt) */
@keyframes header-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.header { animation: header-fade 700ms var(--ease) both; }

/* ---------------------------------------------------------------------------
   7. Diensten
   --------------------------------------------------------------------------- */
.diensten__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--gap);
}
.dienst {
  position: relative;
  grid-column: span 2;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 260px;
  display: flex;
  align-items: flex-end;
  box-shadow: var(--shadow-sm);
  isolation: isolate;
  transition: transform var(--t-base) var(--ease),
              box-shadow var(--t-base) var(--ease);
}
.dienst:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.dienst__img {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.dienst__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease);
}
.dienst:hover .dienst__img img { transform: scale(1.06); }
.dienst::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg,
    rgba(31,33,34,0) 25%,
    rgba(31,33,34,0.5) 55%,
    rgba(31,33,34,0.9) 100%);
}

.dienst__body { padding: 1.2rem 1.3rem; color: #fff; width: 100%; }
.dienst__title {
  color: #fff;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.dienst__text {
  margin-top: 0.35rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.9);
  max-width: 42ch;
}
.dienst__more {
  margin-top: 0.6rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  color: #fff;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease);
}
.dienst__more svg { width: 17px; height: 17px; }
.dienst:hover .dienst__more,
.dienst:focus-within .dienst__more { opacity: 1; transform: translateY(0); }

/* ---------------------------------------------------------------------------
   8. Over Guido
   --------------------------------------------------------------------------- */
.over__grid {
  display: grid;
  grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.over__media { position: relative; }
.over__photo {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 5;
}
.over__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 82% center; }
.over__exp {
  position: absolute;
  right: -18px;
  top: 24px;
  background: var(--rood);
  color: #fff;
  border-radius: var(--radius);
  padding: 0.8rem 1.1rem;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.over__exp strong {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.8rem;
  line-height: 1.1;
}
.over__exp span { display: block; font-size: 0.75rem; letter-spacing: 0.04em; }

.over__body { max-width: 60ch; }
.over__body p { color: var(--tekst-zacht); margin-top: 0.9rem; }
.over__body p:first-of-type {
  font-size: 1.08rem;
  color: var(--tekst);
  font-weight: 500;
}
.over__sign {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.4rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--lijn);
}
.over__sign-name {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--antraciet);
  font-size: 1rem;
}
.over__sign-role { font-size: 0.9rem; color: var(--tekst-licht); }

/* ---------------------------------------------------------------------------
   9. Werkwijze
   --------------------------------------------------------------------------- */
.werkwijze__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}
.stap {
  position: relative;
  background: var(--wit);
  border: 1px solid var(--lijn);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.3rem;
  transition: transform var(--t-base) var(--ease),
              box-shadow var(--t-base) var(--ease);
}
.stap:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.stap__num {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--rood);
}
.stap__icon {
  width: 44px; height: 44px;
  border-radius: 11px;
  background: var(--warm-wit);
  border: 1px solid var(--lijn);
  display: grid; place-items: center;
  margin: 0.7rem 0 0.9rem;
}
.stap__icon svg { width: 22px; height: 22px; color: var(--antraciet); }
.stap h3 { font-size: 1.05rem; margin-bottom: 0.35rem; }
.stap p { font-size: 0.9rem; line-height: 1.55; color: var(--tekst-zacht); }

/* ---------------------------------------------------------------------------
   10. Projecten
   --------------------------------------------------------------------------- */
.projecten__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--gap);
}
.project {
  grid-column: span 2;
  background: var(--wit);
  border: 1px solid var(--lijn);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: transform var(--t-base) var(--ease),
              box-shadow var(--t-base) var(--ease);
}
/* 5 kaarten netjes gebalanceerd: rij 1 = 3, rij 2 = 2 (gecentreerd) */
.project:nth-child(4) { grid-column: 2 / span 2; }
.project:nth-child(5) { grid-column: 4 / span 2; }
.project:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

/* De hele kaart is één klikbare knop */
.project__open {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.project__media {
  display: block;
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.project__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease);
}
.project:hover .project__media img { transform: scale(1.06); }
.project__tag {
  position: absolute;
  top: 0.75rem; left: 0.75rem;
  z-index: 1;
  background: rgba(247,247,245,0.95);
  color: var(--antraciet);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.72rem;
  padding: 0.3rem 0.7rem;
  border-radius: 100px;
  letter-spacing: 0.02em;
}
/* Aantal-foto's indicator rechtsonder op de foto */
.project__count {
  position: absolute;
  right: 0.75rem; bottom: 0.75rem;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(31,33,34,0.82);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.72rem;
  padding: 0.3rem 0.65rem;
  border-radius: 100px;
}
.project__count svg { width: 14px; height: 14px; }
.project__body {
  padding: 1.05rem 1.2rem 1.2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.project__title { display: block; font-family: var(--font-heading); font-weight: 600; color: var(--antraciet); font-size: 1.1rem; margin-bottom: 0.3rem; }
.project__text { display: block; font-size: 0.9rem; line-height: 1.55; color: var(--tekst-zacht); flex: 1; }
.project__body .link-arrow { margin-top: 0.8rem; font-size: 0.88rem; }
.project:hover .link-arrow svg { transform: translateX(4px); }

/* ---------------------------------------------------------------------------
   11. Reviews
   --------------------------------------------------------------------------- */
.reviews { background: var(--lichtgrijs); }
.reviews__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  flex-wrap: wrap;
  margin-bottom: clamp(1.5rem, 3.5vw, 2.5rem);
}
.reviews__score {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: var(--wit);
  border-radius: var(--radius);
  padding: 0.8rem 1.1rem;
  box-shadow: var(--shadow-sm);
}
.reviews__score-num {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.7rem;
  color: var(--antraciet);
  line-height: 1;
}
.reviews__score-stars { display: flex; gap: 2px; }
.reviews__score-stars svg { width: 16px; height: 16px; color: #F5A623; }
.reviews__score-label { font-size: 0.8rem; color: var(--tekst-zacht); }
.reviews__score-label a { text-decoration: underline; text-underline-offset: 2px; }

.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
.review {
  background: var(--wit);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.35rem;
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
}
.review__stars { display: flex; gap: 2px; margin-bottom: 0.7rem; }
.review__stars svg { width: 16px; height: 16px; color: #F5A623; }
.review__text { color: var(--donkergrijs); font-size: 0.93rem; line-height: 1.6; flex: 1; }
.review__text::before { content: "“"; color: var(--rood); font-weight: 700; }
.review__text::after { content: "”"; color: var(--rood); font-weight: 700; }
.review__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.1rem;
  padding-top: 0.95rem;
  border-top: 1px solid var(--lijn);
}
.review__avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--antraciet);
  color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.review__name { font-family: var(--font-heading); font-weight: 600; color: var(--antraciet); font-size: 0.92rem; }
.review__meta { font-size: 0.8rem; color: var(--tekst-zacht); }
.reviews__cta { text-align: center; margin-top: clamp(1.5rem, 3vw, 2rem); }

/* ---------------------------------------------------------------------------
   12. Contact CTA
   --------------------------------------------------------------------------- */
.contact {
  position: relative;
  color: #fff;
  isolation: isolate;
}
.contact__bg { position: absolute; inset: 0; z-index: -2; }
.contact__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.contact::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, rgba(31,33,34,0.96) 0%, rgba(31,33,34,0.82) 50%, rgba(31,33,34,0.7) 100%);
}
.contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
}
.contact .eyebrow { color: #ff8a8a; }
.contact .eyebrow::before { display: none; }
.contact__title { color: #fff; font-size: clamp(1.55rem, 3.2vw, 2.3rem); text-wrap: balance; }
.contact__sub { margin: 0.8rem auto 0; font-size: 1.03rem; color: rgba(255,255,255,0.86); max-width: 44ch; }

.contact__channels { margin-top: 1.6rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.9rem 2.5rem; }
.contact__channel {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-align: left;
  min-width: 0;
}
.contact__channel > span:last-child { display: flex; flex-direction: column; line-height: 1.35; min-width: 0; }
.contact__channel:hover .contact__channel-value { text-decoration: underline; text-underline-offset: 3px; }
.contact__channel-icon {
  width: 44px; height: 44px;
  border-radius: 11px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.16);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.contact__channel-icon svg { width: 20px; height: 20px; color: #ff8a8a; }
.contact__channel-label { font-size: 0.74rem; color: rgba(255,255,255,0.7); text-transform: uppercase; letter-spacing: 0.08em; }
.contact__channel-value { font-family: var(--font-heading); font-weight: 600; font-size: 1.08rem; color: #fff; overflow-wrap: anywhere; }

/* ---------------------------------------------------------------------------
   13. Footer
   --------------------------------------------------------------------------- */
.footer {
  background: var(--antraciet);
  color: rgba(255,255,255,0.72);
  padding-top: clamp(2.5rem, 5vw, 3.75rem);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  padding-bottom: 2.25rem;
}
.footer__logo {
  display: inline-block;
  background: #fff;
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius-sm);
}
.footer__logo img { height: 36px; width: auto; display: block; }
.footer__about { margin-top: 1.1rem; font-size: 0.9rem; max-width: 38ch; }
.footer h4 {
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  margin-bottom: 0.9rem;
}
.footer__links { display: flex; flex-direction: column; gap: 0.5rem; }
.footer__links a { font-size: 0.9rem; transition: color var(--t-fast) var(--ease); }
.footer__links a:hover { color: #fff; }
.footer__contact { display: flex; flex-direction: column; gap: 0.7rem; }
.footer__contact-item { display: flex; gap: 0.65rem; font-size: 0.9rem; }
.footer__contact-item svg { width: 17px; height: 17px; color: #ff8a8a; flex-shrink: 0; margin-top: 2px; }
.footer__contact-item a:hover { color: #fff; }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-block: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
}
.footer__legal { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer__legal span strong { color: rgba(255,255,255,0.9); font-weight: 600; }
.footer__legal a { transition: color var(--t-fast) var(--ease); }
.footer__legal a:hover { color: #fff; }
.footer__credit { color: rgba(255,255,255,0.62); font-style: italic; }
.footer__credit a { color: rgba(255,255,255,0.75); text-decoration: none; transition: color var(--t-fast) var(--ease); }
.footer__credit a:hover { color: #fff; }

/* ---------------------------------------------------------------------------
   13b. Lightbox / fotogalerij
   --------------------------------------------------------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
}
.lightbox.is-open { display: flex; }
.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 21, 22, 0.92);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  animation: lb-fade var(--t-base) var(--ease);
}
@keyframes lb-fade { from { opacity: 0; } to { opacity: 1; } }
.lightbox__stage {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: min(960px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.lightbox__stage img {
  max-width: 100%;
  max-height: 78vh;
  width: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  background: var(--antraciet);
  animation: lb-pop var(--t-base) var(--ease);
}
@keyframes lb-pop { from { opacity: 0; transform: scale(0.97); } to { opacity: 1; transform: none; } }
.lightbox__caption {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 600;
}
.lightbox__title { font-size: 1.05rem; }
.lightbox__counter {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
}
.lightbox__close,
.lightbox__nav {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  border-radius: 50%;
  transition: background var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.lightbox__close:hover,
.lightbox__nav:hover { background: var(--rood); border-color: var(--rood); }
.lightbox__close {
  top: clamp(1rem, 3vw, 1.8rem);
  right: clamp(1rem, 3vw, 1.8rem);
  width: 52px; height: 52px;
}
.lightbox__close svg { width: 24px; height: 24px; }
.lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
  width: 56px; height: 56px;
}
.lightbox__nav:hover { transform: translateY(-50%) scale(1.06); }
.lightbox__nav svg { width: 26px; height: 26px; }
.lightbox__prev { left: clamp(0.75rem, 3vw, 2rem); }
.lightbox__next { right: clamp(0.75rem, 3vw, 2rem); }
.lightbox__nav[hidden] { display: none; }

@media (max-width: 600px) {
  .lightbox__nav { width: 46px; height: 46px; }
  .lightbox__prev { left: 0.5rem; }
  .lightbox__next { right: 0.5rem; }
  .lightbox__stage img { max-height: 68vh; }
}

/* ---------------------------------------------------------------------------
   14. Scroll reveal
   --------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }
[data-delay="1"] { transition-delay: 80ms; }
[data-delay="2"] { transition-delay: 160ms; }
[data-delay="3"] { transition-delay: 240ms; }
[data-delay="4"] { transition-delay: 320ms; }

/* ---------------------------------------------------------------------------
   15. Responsive
   --------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .nav-toggle { display: flex; }

  /* Uitklapmenu */
  .nav.is-open {
    display: flex;
    position: fixed;
    inset: var(--header-h) 0 0 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--warm-wit);
    padding: 1rem clamp(1.25rem, 5vw, 2.5rem) 2rem;
    z-index: var(--z-overlay);
    overflow-y: auto;
  }
  .nav.is-open .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav.is-open .nav__list li { display: block; }
  .nav.is-open .nav__list li::after { display: none; } /* geen streepjes in mobiel menu */
  .nav.is-open .nav__link,
  .header:not(.is-scrolled) .nav.is-open .nav__link {
    display: block;
    color: var(--donkergrijs);
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--lijn);
    font-size: 1.02rem;
  }
  .nav.is-open .nav__link::after { display: none; }
  .nav.is-open .btn { margin-top: 1.25rem; }
}

@media (max-width: 1024px) {
  .werkwijze__grid { grid-template-columns: repeat(2, 1fr); }
  .dienst { grid-column: span 3; }
  .project,
  .project:nth-child(4),
  .project:nth-child(5) { grid-column: span 3; }
  .project:nth-child(5) { grid-column: 2 / span 4; }
  .reviews__grid { grid-template-columns: repeat(2, 1fr); }
  .review:nth-child(3) { grid-column: 1 / -1; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  /* Hero op tablet/mobiel: beeld vult, tekst onderaan */
  .hero {
    min-height: clamp(480px, 72svh, 640px);
    padding-top: calc(var(--header-h) + 2rem);
    padding-bottom: clamp(3.25rem, 7vh, 4.5rem);
    align-items: flex-end;
  }
  .hero__bg img { object-position: 15% center; }
  /* iets sterkere onderkant-gradient zodat tekst los van beeld leest */
  .hero__overlay {
    background:
      linear-gradient(180deg,
        rgba(18,19,20,0.55) 0%,
        rgba(18,19,20,0.25) 28%,
        rgba(18,19,20,0.55) 58%,
        rgba(18,19,20,0.88) 100%);
  }
  .over__grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .over__photo { aspect-ratio: 4 / 3; }
  .over__media { max-width: 480px; }
}

@media (max-width: 600px) {
  :root { --header-h: 62px; }
  .brand__logo { height: 36px; }
  .header__cta { gap: 0.75rem; }
  .header__phone { font-size: 0.88rem; }
  .hero { min-height: 0; }
  .hero__title { font-size: clamp(1.55rem, 6.6vw, 1.95rem); }
  .hero__sub { font-size: 0.95rem; }
  .hero__actions { gap: 0.6rem; }
  .hero__actions .btn { flex: 1 1 100%; white-space: normal; }
  .hero__trust { gap: 0.4rem 1.2rem; margin-top: 1.3rem; padding-top: 1rem; }
  .hero__trust li { font-size: 0.84rem; }
  .dienst { grid-column: span 6; min-height: 210px; }
  .werkwijze__grid { grid-template-columns: 1fr; }
  .stap { display: grid; grid-template-columns: auto 1fr; column-gap: 1rem; align-items: start; }
  .stap__icon { grid-row: 1 / span 3; margin: 0; }
  .project,
  .project:nth-child(4),
  .project:nth-child(5) { grid-column: span 6; }
  .reviews__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__grid > div:last-child { grid-column: 1 / -1; }
  .over__exp { right: 10px; top: 10px; padding: 0.6rem 0.85rem; }
  .over__exp strong { font-size: 1.5rem; }
  .contact__channels { flex-direction: column; align-items: center; }
}

@media (max-width: 370px) {
  .header__phone span { display: none; }
}

/* ---------------------------------------------------------------------------
   16. Reduced motion
   --------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}
