/* ============================================================
   SPARQ Assembly — globale stijlen
   Design-tokens uit Figma-styleguide
   ============================================================ */

:root {
  /* Kleuren */
  --c-bg-1:       #2C3A47; /* Achtergrond 1 — hoofd-header / donker */
  --c-bg-4:       #51646C; /* Achtergrond 4 — subheader */
  --c-bg-grijs:   #F5F8FA; /* Achtergrond grijs / Tekst 2 */
  --c-primair:    #00A4E8; /* Primair — blauwe knop */
  --c-secundair:  #22C55E; /* Secundair / groen */
  --c-roze:       #E50051; /* Logo-accent */
  --c-wit:        #FFFFFF;
  --c-tekst-licht:#D9D9D9;

  /* Typografie */
  --font-display:  "Sofia Sans", sans-serif;                 /* H1, H3, H4 */
  --font-condensed:"Sofia Sans Semi Condensed", sans-serif;  /* H2, knoppen, subheader */
  --font-body:     "Inter", sans-serif;                      /* lopende tekst */

  /* Layout */
  --container-max: 1440px;
  --container-pad: 80px;
}

/* ------------------------------------------------------------
   Reset
   ------------------------------------------------------------ */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5625; /* 25/16 */
  font-weight: 300;
  color: var(--c-bg-1);
  background: var(--c-wit);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img,
svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

ul { margin: 0; padding: 0; list-style: none; }

/* ------------------------------------------------------------
   Basistypografie (Figma-schaal)
   ------------------------------------------------------------ */
h1, h2, h3, h4 { margin: 0; }

/* Gewichten één stap lager dan Figma — compenseert ClearType op Windows */
h1 { font-family: var(--font-display);   font-weight: 800; font-size: 36px; line-height: 50px; }
h2 { font-family: var(--font-condensed); font-weight: 600; font-size: 32px; line-height: 45px; }
h3 { font-family: var(--font-display);   font-weight: 800; font-size: 20px; line-height: 1; }
h4 { font-family: var(--font-display);   font-weight: 600; font-size: 18px; line-height: 1; }

p { margin: 0; }
.text-small { font-size: 14px; line-height: 1.643; } /* 23/14 */

/* ------------------------------------------------------------
   Layout helper
   ------------------------------------------------------------ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

/* ============================================================
   HEADER
   ============================================================ */

/* --- Subheader (bg #51646C) --- */
.subheader {
  background: var(--c-bg-4);
}

.subheader__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-block: 10px;
}

/* Logo-mark + tekst (afbeelding uit Figma: images/assembling-reliability.svg) */
.brand-mini {
  display: inline-flex;
  align-items: center;
}
.brand-mini img {
  height: 21px;   /* Figma: ~21.2px hoog */
  width: auto;
}

/* Secundaire navigatie rechts */
.subnav {
  display: flex;
  align-items: center;
  gap: 35px;
  font-family: var(--font-condensed);
  font-weight: 400;
  font-size: 14px;
  color: var(--c-wit);
}
.subnav a { transition: color .15s ease; }
.subnav a:hover { color: var(--c-primair); }

/* --- Hoofd-header (bg #2C3A47) --- */
.masthead {
  background: var(--c-bg-1);
}
.masthead__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 35px;
}
.masthead__left {
  display: flex;
  align-items: center;
}

/* SPARQ-logo (afbeelding uit Figma: images/sparq-logo.svg) */
.logo {
  display: inline-flex;
  align-items: center;
}
.logo img {
  height: 46px;   /* Figma: ~45.8px hoog */
  width: auto;
}

/* Hoofd-navigatie */
.mainnav {
  display: flex;
  align-items: center;
  gap: 35px;
  padding-left: 50px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  color: var(--c-wit);
}
.mainnav a { transition: color .15s ease; }
.mainnav a:hover { color: var(--c-primair); }

/* ------------------------------------------------------------
   Knoppen
   ------------------------------------------------------------ */
/* Knop = label-deel + pijl-deel met 1px tussenruimte (Figma-patroon) */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 1px;
  font-family: var(--font-condensed);
  font-weight: 600;
  font-size: 18px;
  cursor: pointer;
  border: none;
  /* Reset native <button>-styling (witte achtergrond/padding) zodat .btn ook op knoppen klopt */
  background: none;
  padding: 0;
  -webkit-appearance: none;
  appearance: none;
  transition: transform .18s ease;
}
.btn__label {
  display: flex;
  align-items: center;
  height: 46px;
  padding: 0 15px;
  border-radius: 5px 0 0 5px;
  transition: background .15s ease, color .15s ease;
}
.btn__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 13px;
  border-radius: 0 5px 5px 0;
  transition: background .15s ease, color .15s ease;
}
.btn__icon svg { width: 20px; height: 20px; transition: transform .18s ease; }

/* Primair — blauw */
.btn--primary .btn__label,
.btn--primary .btn__icon { background: var(--c-primair); color: var(--c-bg-1); }
.btn--primary:hover .btn__label,
.btn--primary:hover .btn__icon { background: #0093d1; }

/* Secundair — groen */
.btn--secondary .btn__label,
.btn--secondary .btn__icon { background: var(--c-secundair); color: var(--c-bg-1); }
.btn--secondary:hover .btn__label,
.btn--secondary:hover .btn__icon { background: #1ba34a; }

/* Tertiair (licht) — geen vlak, alleen tekst + pijl */
.btn--tertiary .btn__label { padding: 10px 0 10px 15px; color: var(--c-bg-grijs); }
.btn--tertiary .btn__icon  { color: var(--c-bg-grijs); }
.btn--tertiary:hover .btn__label,
.btn--tertiary:hover .btn__icon { color: var(--c-wit); }

/* Hover-animatie (alle knoppen): knop tilt licht op, pijl schuift naar rechtsboven */
.btn:hover { transform: translateY(-2px); }
.btn:hover .btn__icon svg { transform: translate(2px, -2px); }

/* Respecteer de voorkeur "minder beweging" */
@media (prefers-reduced-motion: reduce) {
  .btn,
  .btn__icon svg,
  .service-card,
  .project-card,
  .project-card__arrow svg { transition: none; }
  .btn:hover,
  .btn:hover .btn__icon svg,
  .service-card:hover,
  .project-card:hover,
  .project-card:hover .project-card__arrow svg { transform: none; }
  .carousel__track { scroll-behavior: auto; }
}

/* ============================================================
   HERO (Figma 5:61)
   ============================================================ */
.hero {
  background: var(--c-bg-1);
  color: var(--c-wit);
}
.hero__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 80px;
  padding-block: 100px;
}

.hero__content {
  flex: 1 1 0;
  min-width: 0;
  max-width: 640px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 35px;
}
.hero__lead {
  font-size: 16px;
  line-height: 25px;
}
.hero__cta {
  display: flex;
  align-items: center;
  gap: 30px;
}

.hero__media {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  justify-content: flex-end;
}
.hero__media img {
  width: 571px;
  max-width: 100%;
  height: auto;
}

/* Tijdelijke placeholder tot images/hero-besturingskast.png er staat */
.media-placeholder {
  width: 571px;
  max-width: 100%;
  aspect-ratio: 571 / 496;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 2px dashed rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
}

/* ============================================================
   CONTENT SECTIE 1 (Figma 5:93) — intro + diensten + certificeringen
   ============================================================ */
.section--services {
  background: var(--c-bg-grijs);
  padding-block: 100px;
}

/* --- Intro --- */
.intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.intro__text {
  max-width: 571px;
  display: flex;
  flex-direction: column;
  gap: 35px;
}
/* Donkere tekst op lichte achtergrond oogt dunner → één stap zwaarder */
.intro__text h2 { font-weight: 700; }
.intro__text p  { font-weight: 400; }
.intro__watermark {
  flex-shrink: 0;
  width: 204px;
  height: 206px;
  background: url("../images/q-watermark.svg") no-repeat center / contain;
}

/* --- Diensten (4 kaarten) --- */
.services {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.service-card {
  position: relative;
  height: 350px;
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  color: var(--c-wit);
  /* Donkere fallback zodat de kaart ook zonder foto netjes oogt */
  background-color: var(--c-bg-1);
  background-image:
    linear-gradient(30.7deg, rgba(38, 61, 71, 0.6) 0%, rgba(44, 58, 71, 0.1) 100%),
    var(--card-img, none);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform .2s ease;
}
.service-card:hover { transform: translateY(-4px); }

/* Kaart-foto's (relatief t.o.v. dit CSS-bestand → ../images/) */
.service-card--engineering    { --card-img: url("../images/dienst-engineering.webp"); }
.service-card--paneelbouw     { --card-img: url("../images/dienst-paneelbouw.webp"); }
.service-card--verdeelsystemen{ --card-img: url("../images/dienst-verdeelsystemen.webp"); }
.service-card--specials       { --card-img: url("../images/dienst-specials.webp"); }
.service-card__arrow {
  align-self: flex-end;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--c-wit);
  color: var(--c-bg-1);
}
.service-card__title { color: var(--c-wit); }

/* --- Certificeringen --- */
.certs {
  margin-top: 55px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.cert-logo {
  display: grid;
  place-items: center;
  height: 70px;
}
.cert-logo img {
  max-height: 70px;
  width: auto;
  object-fit: contain;
}
/* Placeholder tot images/cert-*.svg er staan */
.cert-placeholder {
  display: grid;
  place-items: center;
  min-width: 120px;
  height: 60px;
  padding: 8px 16px;
  background: var(--c-wit);
  border: 1px dashed rgba(38, 61, 71, 0.22);
  border-radius: 6px;
  color: rgba(38, 61, 71, 0.5);
  font-size: 13px;
  text-align: center;
}

/* ============================================================
   CONTENT SECTIE 2 (Figma 5:139) — tekst + USP-grid
   ============================================================ */
.section--totaal {
  background: var(--c-bg-1);
  color: var(--c-wit);
  padding-block: 100px;
}
.content2 {
  display: flex;
  align-items: center;
  gap: 50px;
}
.content2__text {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 35px;
}

/* USP-grid (2×2 witte kaarten) */
.usps {
  flex: 1 1 0;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: start;   /* kaarten hugger hun content (Figma: self-start) */
  gap: 25px;
}
.usp {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 15px;
  background: var(--c-wit);
  color: #263d47;
}
.usp__icon { width: 25px; height: auto; }
/* Witte kaart = lichte achtergrond → één stap zwaarder (zie typografie-afspraak) */
.usp__title { color: #263d47; font-weight: 700; }
.usp__text  { color: #263d47; font-size: 14px; line-height: 23px; font-weight: 400; }

/* ============================================================
   CONTENT SECTIE 3 (Figma 6:141) — projecten-carousel
   Maatvoering geschat o.b.v. screenshot (detail-call timede out) — eenvoudig bij te stellen.
   ============================================================ */
.section--projecten {
  background: var(--c-bg-1);
  padding-block: 100px;
}
/* Bleed naar rechts: kaarten starten op de content-lijn (zoals de andere secties)
   en lopen door tot voorbij de rechter viewport-rand */
.carousel {
  padding-left: calc(max(0px, (100% - var(--container-max)) / 2) + var(--container-pad));
}
.carousel__track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 4px;
  cursor: grab;
  /* scrollbar verbergen (carousel heeft eigen knoppen) */
  scrollbar-width: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;   /* tijdens slepen niet vastklikken */
  user-select: none;
}

.project-card {
  position: relative;
  flex: 0 0 305px;
  height: 360px;
  scroll-snap-align: start;
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  color: var(--c-wit);
  /* Iets lichtere fallback dan de sectie, zodat de kaart ook zonder foto zichtbaar is */
  background-color: var(--c-bg-4);
  background-image:
    linear-gradient(to top, rgba(38, 61, 71, 0.85) 0%, rgba(38, 61, 71, 0.1) 60%),
    var(--card-img, none);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform .2s ease;
}
.project-card:hover { transform: translateY(-4px); }
.project-card:hover .project-card__arrow svg { transform: translate(2px, -2px); }

.project-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.project-card__arrow {
  display: flex;
  color: var(--c-primair);
}
.project-card__arrow svg { transition: transform .18s ease; }
.project-card__title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--c-wit);
}

/* ------------------------------------------------------------
   Statuspagina's (404 / in ontwikkeling): gecentreerde melding.
   ------------------------------------------------------------ */
.section--status { background: var(--c-bg-grijs); }
.status-page {
  max-width: 640px;
  padding-block: 110px;
  text-align: center;
}
.status-page__code {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c-primair);
  margin-bottom: 18px;
}
.status-page__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 38px;
  line-height: 1.15;
  color: var(--c-bg-1);
  margin: 0 0 18px;
}
.status-page__text {
  font-size: 17px;
  line-height: 1.6;
  color: var(--c-bg-4);
  margin: 0 auto 32px;
}
.status-page__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 600px) {
  .status-page { padding-block: 70px; }
  .status-page__title { font-size: 28px; }
  .status-page__text { font-size: 15px; }
}

/* ------------------------------------------------------------
   Projecten-overzicht (Figma 7:2937): grid met projectkaarten.
   Afwijking op verzoek: het eerste blok beslaat twee kolommen.
   Kaart-look = identiek aan .vacancy-card (foto + 213.8deg-gradient).
   ------------------------------------------------------------ */
.section--projects-overview { background: var(--c-bg-grijs); padding-block: 100px; }
.projects {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}
.project-tile {
  position: relative;
  height: 325px;
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  color: var(--c-tekst-licht);
  background-color: var(--c-bg-4);   /* fallback tot de foto er staat */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform .2s ease;
}
.project-tile--wide { grid-column: span 2; }
.project-tile:hover { transform: translateY(-4px); }
.project-tile:hover .project-tile__arrow svg { transform: translate(2px, -2px); }
.project-tile__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.project-tile__tag,
.project-card__tag {
  font-family: var(--font-condensed);
  font-weight: 600;
  font-size: 12px;
  line-height: 1;
  padding: 5px 10px;
  border-radius: 3px;
  color: var(--c-wit);
  background: var(--c-primair);   /* Projecten = blauw */
}
.project-tile__tag--nieuws,
.project-card__tag--nieuws { background: var(--c-secundair); }   /* Nieuws = groen */
.project-tile__arrow { display: flex; color: var(--c-primair); }
.project-tile__arrow svg { transition: transform .18s ease; }
.project-tile__title {
  /* Figma: Sofia Sans Semi Condensed Black 900 → één stap lager op donkere kaart */
  font-family: var(--font-condensed);
  font-weight: 800;
  font-size: 16px;
  line-height: 1.4;
  color: var(--c-tekst-licht);
  max-width: 216px;
}
.project-tile--wide .project-tile__title { font-size: 20px; max-width: 360px; }

/* Leeg-melding (geen projecten/nieuws) — lichte achtergrond → zwaarder */
.projects-empty { max-width: 640px; }
.projects-empty p { font-size: 18px; line-height: 28px; font-weight: 400; }
.projects-empty a { color: var(--c-primair); text-decoration: underline; }

/* Filter (Alles / Projecten / Nieuws) op het overzicht */
.projects-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 35px; }
.projects-filter__btn {
  font-family: var(--font-condensed);
  font-weight: 600;
  font-size: 14px;
  padding: 8px 18px;
  border-radius: 3px;
  border: 1px solid #d7dee3;
  background: var(--c-wit);
  color: var(--c-bg-1);
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.projects-filter__btn:hover { border-color: var(--c-primair); color: var(--c-primair); }
.projects-filter__btn.is-active {
  background: var(--c-bg-1);
  border-color: var(--c-bg-1);
  color: var(--c-wit);
}

/* Detailpagina (project.html / nieuws.html): meta-rij met label + datum */
.item-meta { display: flex; align-items: center; gap: 12px; }
.item-meta__date {
  font-family: var(--font-condensed);
  font-weight: 400;
  font-size: 14px;
  color: var(--c-tekst-licht);
}
.item-back { margin-top: 40px; }

/* Afbeeldingen binnen de detail-body (bv. extra projectfoto) */
.vacancy-body figure { margin: 25px 0 0; }
.vacancy-body img { width: 100%; height: auto; border-radius: 3px; display: block; }

/* Fotogalerij in de detail-body (bv. projectfoto's) */
.item-gallery {
  margin-top: 25px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}
.item-gallery img { width: 100%; height: 240px; object-fit: cover; border-radius: 3px; }

/* Navigatieknoppen (vorige/volgende) */
.carousel__nav {
  display: flex;
  gap: 12px;
  margin-top: 25px;
}
.carousel__btn svg { width: 26px; height: 26px; }
.carousel__btn {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: none;
  border-radius: 4px;
  background: var(--c-wit);
  color: var(--c-bg-1);
  cursor: pointer;
  transition: background .15s ease;
}
.carousel__btn:hover { background: var(--c-bg-grijs); }

/* ============================================================
   CONTENT SECTIE 4 (Figma 6:142) — "over ons": tekst + teamfoto
   ============================================================ */
.section--about {
  background: var(--c-bg-grijs);
  padding-block: 100px;
}
.about {
  display: flex;
  align-items: center;
  gap: 25px;
}
.about__text {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 35px;
}
/* Lichte achtergrond → één stap zwaarder (zie typografie-afspraak) */
.about__text h2 { font-weight: 700; }
.about__text p  { font-weight: 400; }

.about__media {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  justify-content: flex-end;
}
.about__media img {
  width: 599px;
  max-width: 100%;
  height: auto;
}

/* ============================================================
   KLANTEN (Figma 6:140) — logo-grid 4×2
   ============================================================ */
.section--klanten {
  background: var(--c-bg-grijs);
  padding-block: 100px;
}
.clients {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}
.client {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 137px;
  padding: 20px;
  background: var(--c-wit);
}
.client img {
  max-width: 70%;
  max-height: 40px;
  width: auto;
  height: auto;
  object-fit: contain;
  /* Uniform grijs zoals in het ontwerp; kleur terug bij hover */
  filter: grayscale(1);
  opacity: 0.75;
  transition: filter .2s ease, opacity .2s ease;
}
.client img:hover {
  filter: grayscale(0);
  opacity: 1;
}

/* ============================================================
   CALL-TO-ACTION (Figma 6:138) — donkere kaart binnen lichte sectie
   ============================================================ */
.section--cta {
  background: var(--c-bg-grijs);
  padding-block: 100px;
}
.cta {
  display: flex;
  align-items: center;
  gap: 50px;
  padding: 80px;
  background: var(--c-bg-1);
  color: var(--c-wit);
}
.cta__text {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 25px;
}
.cta__title {
  font-family: var(--font-condensed);
  font-weight: 800;   /* Figma: Semi Condensed Black 900 → één stap lager (donkere achtergrond) */
  font-size: 32px;
  line-height: 1.4;
  color: var(--c-wit);
}
.cta__text p {
  /* Gelijk aan de globale paragraaf (Inter 16/25), erft kleur wit van .cta */
  font-size: 16px;
  line-height: 25px;
}
.cta__actions {
  display: flex;
  align-items: center;
  gap: 30px;
}
.cta__media {
  flex: 0 0 535px;
  max-width: 535px;
  align-self: stretch;   /* foto vult de volledige kaarthoogte */
}
.cta__media picture { display: block; width: 100%; height: 100%; }
.cta__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================================
   FOOTER (Figma 6:139 — Component 1)
   ============================================================ */
.site-footer {
  background: var(--c-bg-1);
  color: var(--c-wit);
}
.footer__main {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding-block: 100px;
}
.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 25px;
  max-width: 498px;
}
.footer__logo img { height: 64px; width: auto; }
.footer__desc {
  color: var(--c-tekst-licht);
  font-size: 16px;
  line-height: 25px;
}
.footer__socials { display: flex; gap: 15px; }
.social {
  display: grid;
  place-items: center;
  width: 47px;
  height: 47px;
  background: var(--c-bg-grijs);
  color: var(--c-bg-1);
  transition: transform .15s ease, background .15s ease;
}
.social:hover { transform: translateY(-2px); background: var(--c-wit); }

.footer__cols {
  display: flex;
  gap: 80px;
}
.footer__col-title {
  margin-bottom: 15px;
  font-family: var(--font-condensed);
  font-weight: 600;
  font-size: 18px;
  color: var(--c-wit);
}
.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.footer__col a {
  font-size: 14px;
  line-height: 23px;
  color: var(--c-wit);
  transition: color .15s ease;
}
.footer__col a:hover { color: var(--c-primair); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 25px;
  padding-bottom: 100px;
  border-top: 1px solid #638297;
}
.footer__copy,
.footer__legal a {
  font-family: var(--font-condensed);
  font-weight: 400;
  font-size: 14px;
  color: var(--c-tekst-licht);
}
.footer__legal { display: flex; gap: 25px; }
.footer__legal a { transition: color .15s ease; }
.footer__legal a:hover { color: var(--c-wit); }

/* Rechterhelft van de footer: navigatiekolommen met daaronder de bedrijfsinfo */
.footer__right {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
/* Bedrijfsinfo: openingsstatus + tijden + KvK (onder de kolommen) */
.footer__hours {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  font-family: var(--font-condensed);
  font-size: 14px;
  line-height: 23px;
  text-align: right;
  color: var(--c-tekst-licht);
}
.footer__status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  font-weight: 600;
  color: var(--c-wit);
}
.footer__status[hidden] { display: none; }
.status-dot {
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--c-bg-4);
}
.footer__status.is-open .status-dot {
  background: var(--c-secundair);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, .25);
}

/* ============================================================
   OVER-ONS PAGINA
   ============================================================ */

/* Hero-variant: tekst + teamfoto (vult de rechterkolom), geen knoppen */
.hero--about .hero__content { max-width: none; padding-right: 35px; }
.hero--about .hero__media { padding-left: 35px; }
.hero--about .hero__media picture { display: block; width: 100%; }
.hero--about .hero__media img { width: 100%; height: 450px; object-fit: cover; }
/* Hele foto tonen i.p.v. croppen (volledige afbeelding past in het vlak) */
.hero--media-contain .hero__media img { object-fit: contain; }

/* --- Geschiedenis-slider (Figma 7:196) --- */
.section--history { background: var(--c-bg-grijs); padding-block: 100px; }
.history { display: flex; gap: 50px; align-items: flex-start; }
.history__intro { flex: 0 0 335px; }
.history__intro h2 { font-weight: 700; }            /* lichte achtergrond → zwaarder */
.history__intro p { margin-top: 25px; font-weight: 400; }
.history__slider { flex: 1 1 0; min-width: 0; }
.carousel.history__slider { padding-left: 0; }      /* geen full-bleed zoals projecten */
.history__slider .carousel__track { gap: 25px; }    /* Figma-gap tussen geschiedeniskaarten */
.history__slider .carousel__btn { border: 1px solid rgba(38, 61, 71, 0.15); }

/* 3 hele kaarten vullen de slider exact (Figma 7:196): geen afgekapte tekst,
   en de laatste kaart is altijd volledig in beeld te scrollen. */
.history-card {
  flex: 0 0 calc((100% - 2 * 25px) / 3);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  background: var(--c-wit);
}
.history-card__img {
  height: 200px;
  background-color: var(--c-bg-4);   /* fallback tot de foto er staat */
  background-image: var(--card-img, none);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.history-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.92);
  color: #263d47;
}
.history-card__year { font-family: var(--font-display); font-weight: 900; font-size: 20px; }
.history-card__sub  { font-family: var(--font-display); font-weight: 700; font-size: 18px; }
.history-card__text { margin-top: 15px; font-size: 14px; line-height: 23px; font-weight: 400; }

.history-card--1 { --card-img: url("../images/geschiedenis-1.webp"); }
.history-card--2 { --card-img: url("../images/geschiedenis-2.webp"); }
.history-card--3 { --card-img: url("../images/geschiedenis-3.webp"); }
.history-card--4 { --card-img: url("../images/geschiedenis-4.webp"); }
.history-card--5 { --card-img: url("../images/geschiedenis-5.webp"); }

/* --- "Waar we voor staan" (Figma 7:273): donkere sectie, witte kaarten --- */
.section--values {
  background: var(--c-bg-1);
  color: var(--c-wit);
  padding-block: 100px;
}
/* intro-tekst staat hier op donker → witte tekst + verlaagde gewichten */
.section--values .intro__text h2 { font-weight: 600; }
.section--values .intro__text p  { font-weight: 300; }
/* Q-watermerk subtieler op de donkere achtergrond */
.section--values .intro__watermark { opacity: 0.18; }

/* CTA naar vacatures tussen de intro-tekst en de waarden-kaarten */
.values__cta { margin-top: 35px; }

.values {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.value-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 350px;
  padding: 25px 15px 15px;
  background: var(--c-wit);
  color: var(--c-bg-1);
}
.value-card__icon { width: 45px; height: auto; }
.value-card__bottom { display: flex; flex-direction: column; gap: 10px; }
.value-card__title { font-family: var(--font-display); font-weight: 900; font-size: 20px; }
.value-card__text { font-size: 14px; line-height: 23px; font-weight: 400; }

/* --- Certificeringen-sectie (Figma 7:356) --- */
.section--certifications { background: var(--c-bg-grijs); padding-block: 100px; }
.certifications { display: flex; gap: 50px; align-items: flex-start; }
.certifications__text { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 25px; }
.certifications__text h2 { font-weight: 700; }      /* lichte achtergrond → zwaarder */
.certifications__text p { font-weight: 400; }
.certifications__logos { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 25px; }
.cert-row { display: flex; gap: 25px; }
.cert-box {
  flex: 1 1 0;
  min-width: 0;
  height: 101px;
  display: grid;
  place-items: center;
  padding: 20px;
  background: var(--c-wit);
}
.cert-box img { max-width: 70%; max-height: 44px; width: auto; object-fit: contain; }
.cert-box--empty { background: transparent; }

/* ============================================================
   VACATURES PAGINA (Figma 61:1515)
   ============================================================ */

/* Hero met twee tekstblokken (Figma 61:1517) */
.hero__lead p + p { margin-top: 25px; }

/* --- Vacature-kaarten (Figma 61:1847): 4-koloms grid op lichte achtergrond --- */
.section--vacancies { background: var(--c-bg-grijs); padding-block: 100px; }
.vacancies {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}
.vacancy-card {
  position: relative;
  height: 325px;
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  color: var(--c-tekst-licht);
  /* Fallback-kleur tot de foto er staat */
  background-color: var(--c-bg-4);
  background-image:
    linear-gradient(213.8deg, rgba(38, 61, 71, 0.1) 0%, rgba(38, 61, 71, 0.8) 100%),
    var(--card-img, none);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform .2s ease;
}
.vacancy-card:hover { transform: translateY(-4px); }
.vacancy-card:hover .vacancy-card__arrow svg { transform: translate(2px, -2px); }
.vacancy-card__arrow { align-self: flex-end; display: flex; color: var(--c-primair); }
.vacancy-card__arrow svg { transition: transform .18s ease; }
.vacancy-card__title {
  /* Figma: Sofia Sans Semi Condensed Black 900 → één stap lager op donkere kaart */
  font-family: var(--font-condensed);
  font-weight: 800;
  font-size: 16px;
  line-height: 1.4;
  color: var(--c-tekst-licht);
}

/* Leeg-melding (geen openstaande vacatures) — lichte achtergrond → zwaarder */
.vacancies-empty { max-width: 640px; }
.vacancies-empty p { font-size: 18px; line-height: 28px; font-weight: 400; }
.vacancies-empty a { color: var(--c-primair); text-decoration: underline; }

/* --- Vacature-detailpagina (vacature.html) --- */
.vacancy-back a { font-family: var(--font-condensed); font-weight: 400; color: var(--c-tekst-licht); transition: color .15s ease; }
.vacancy-back a:hover { color: var(--c-primair); }
.vacancy-meta {
  font-family: var(--font-condensed);
  font-weight: 600;
  font-size: 18px;
  color: var(--c-primair);
}

.section--vacancy-body { background: var(--c-bg-grijs); padding-block: 100px; }
/* Hoofdtekst — lichte achtergrond → één stap zwaarder (zie typografie-afspraak) */
.vacancy-body { max-width: 760px; }
.vacancy-body h1 { font-family: var(--font-display); font-weight: 800; font-size: 32px; line-height: 1.2; }
.vacancy-body h2 {
  margin-top: 35px;
  font-family: var(--font-condensed);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.3;
}
.vacancy-body h2:first-child { margin-top: 0; }
.vacancy-body p { margin-top: 15px; font-weight: 400; }
.vacancy-body ul { margin-top: 15px; padding-left: 22px; list-style: disc; }
.vacancy-body li { margin-top: 8px; font-weight: 400; }
.vacancy-body a { color: var(--c-primair); text-decoration: underline; }

/* --- Solliciteer-sectie + formulier (donkere sectie) --- */
.section--apply { background: var(--c-bg-1); color: var(--c-wit); padding-block: 100px; }
.apply { max-width: 720px; }
.apply > h2 { font-family: var(--font-condensed); font-weight: 600; font-size: 32px; line-height: 1.3; color: var(--c-wit); }
.apply__lead { margin-top: 15px; font-size: 16px; line-height: 25px; }

.vacancy-form { margin-top: 30px; display: flex; flex-direction: column; gap: 18px; }
.vacancy-form .form-row { display: flex; gap: 18px; }
.form-field { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.vacancy-form label {
  font-family: var(--font-condensed);
  font-weight: 400;
  font-size: 14px;
  color: var(--c-tekst-licht);
}
.vacancy-form label span { color: var(--c-roze); }
.vacancy-form input,
.vacancy-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 16px;
  color: #263d47;
  background: var(--c-wit);
}
.vacancy-form textarea { min-height: 140px; resize: vertical; }
.vacancy-form input:focus,
.vacancy-form textarea:focus { outline: 2px solid var(--c-primair); outline-offset: 1px; }
.vacancy-form input[type="file"] {
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--c-tekst-licht);
  border: 1px dashed #638297;
}
/* Honeypot: verborgen voor mensen, zichtbaar voor bots */
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.vacancy-form__note { font-size: 14px; line-height: 23px; color: var(--c-tekst-licht); }
.vacancy-form__note a { color: var(--c-primair); }
.vacancy-form__actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 5px; }
.vacancy-form__status { font-size: 14px; color: var(--c-tekst-licht); }

.apply__contact { margin-top: 25px; font-size: 14px; line-height: 23px; color: var(--c-tekst-licht); }
.apply__contact a { color: var(--c-primair); }

/* ============================================================
   CONTACT PAGINA (Figma 7:443)
   ============================================================ */

/* Hero-variant: titel + Q-watermerk, daaronder een rij contactkaarten */
.hero--contact .container { padding-block: 100px; }
.contact-hero { display: flex; flex-direction: column; gap: 60px; }
.contact-hero__top { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.contact-hero__intro { flex: 1 1 0; min-width: 0; max-width: 640px; display: flex; flex-direction: column; gap: 25px; }
.contact-hero__intro p { font-size: 16px; line-height: 25px; }
.contact-hero__watermark { opacity: 0.5; }

/* Vier witte contactkaarten (Figma 7:730) */
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.contact-card {
  display: flex;
  flex-direction: column;
  gap: 50px;
  padding: 25px 15px 15px;
  background: var(--c-wit);
  color: var(--c-bg-1);
}
.contact-card__icon { display: block; }
.contact-card__icon img { width: 45px; height: 47px; }
.contact-card__text { display: flex; flex-direction: column; gap: 5px; }
.contact-card__title { font-family: var(--font-display); font-weight: 900; font-size: 20px; line-height: 1; }
.contact-card__sub { font-family: var(--font-condensed); font-weight: 400; font-size: 14px; color: var(--c-bg-1); }
.contact-card__link { font-family: var(--font-condensed); font-weight: 400; font-size: 14px; color: var(--c-primair); transition: color .15s ease; }
.contact-card__link:hover { color: var(--c-bg-1); }

/* Contact-intro (Figma 7:771): foto links + adres rechts, lichte achtergrond */
.section--contact-intro { background: var(--c-bg-grijs); padding-block: 100px; }
.contact-intro { display: flex; align-items: stretch; gap: 50px; }
.contact-intro__media { flex: 1 1 0; min-width: 0; }
.contact-intro__media picture { display: block; height: 100%; }
.contact-intro__media img { width: 100%; height: 360px; object-fit: cover; border-radius: 5px; }
.contact-intro__text { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 25px; }
.contact-intro__text h2 { font-weight: 700; }   /* lichte achtergrond → één stap zwaarder */
.contact-intro__address {
  font-style: normal;
  font-size: 16px;
  line-height: 25px;
  font-weight: 400;
  color: var(--c-bg-1);
}
.contact-intro__address a { display: block; color: var(--c-bg-1); transition: color .15s ease; }
.contact-intro__address a:hover { color: var(--c-primair); }
.contact-intro__accent { display: block; color: var(--c-primair); }
.contact-intro__gap { display: block; height: 25px; }

/* Contactformulier (Figma 7:778): achtergrondfoto + gradient + formulierkaart rechts */
.section--contact-form { background: var(--c-bg-grijs); padding-block: 100px; }
.contact-form-bg {
  position: relative;
  display: flex;
  justify-content: flex-end;
  padding: 50px;
  overflow: hidden;
  background: var(--c-bg-4);   /* fallback tot de foto er staat */
}
.contact-form-bg__media { position: absolute; inset: 0; display: block; }
.contact-form-bg__media img { width: 100%; height: 100%; object-fit: cover; }
.contact-form-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(-72.74deg, rgba(38, 61, 71, 0.067) 0%, rgba(38, 61, 71, 0.34) 100%);
}

.contact-form {
  position: relative;
  z-index: 1;
  width: 500px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 50px;
  border-radius: 5px;
  background: var(--c-bg-grijs);
}
.contact-form__intro { display: flex; flex-direction: column; gap: 10px; color: var(--c-bg-1); }
.contact-form__intro h3 { font-weight: 900; }   /* lichte kaart → één stap zwaarder */
.contact-form__intro p { font-size: 14px; line-height: 23px; font-weight: 400; }

.contact-form__fields { display: flex; flex-direction: column; gap: 10px; }
.contact-form__row { display: flex; gap: 25px; }
.contact-form .form-field { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.contact-form label {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14px;
  line-height: 23px;
  color: var(--c-bg-1);
}
.contact-form label span { color: var(--c-primair); }
.contact-form input,
.contact-form textarea {
  width: 100%;
  height: 35px;
  padding: 6px 10px;
  border: 0.5px solid var(--c-bg-1);
  border-radius: 2px;
  background: var(--c-wit);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--c-bg-1);
}
.contact-form textarea { height: 105px; min-height: 105px; padding-top: 8px; resize: vertical; }
.contact-form input:focus,
.contact-form textarea:focus { outline: 2px solid var(--c-primair); outline-offset: 1px; border-color: transparent; }
.contact-form input[type="file"] {
  height: auto;
  padding: 8px 10px;
  border: 0.5px dashed var(--c-bg-1);
  background: var(--c-bg-grijs);
  cursor: pointer;
}
.contact-form__privacy { font-size: 14px; line-height: 23px; font-weight: 400; color: var(--c-bg-1); }
.contact-form__privacy a { color: var(--c-primair); text-decoration: underline; }

.contact-form__actions { display: flex; justify-content: flex-start; }
.contact-form__status:empty { display: none; }
.contact-form__status { font-size: 14px; line-height: 23px; color: var(--c-bg-1); }

.contact-form__trust {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.contact-form__trust li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-condensed);
  font-weight: 600;
  font-size: 11px;
  color: var(--c-bg-1);
  white-space: nowrap;
}
.contact-form__trust img { width: 20px; height: 21px; flex-shrink: 0; }

/* ------------------------------------------------------------
   Offerte-pagina (Figma 7:2735): donkere hero met achtergrondfoto,
   waardepropositie links + formulierkaart rechts (hergebruikt .contact-form)
   ------------------------------------------------------------ */
.hero--offerte {
  position: relative;
  overflow: hidden;
  background: var(--c-bg-1);
}
.hero--offerte__media { position: absolute; inset: 0; }
.hero--offerte__media img { width: 100%; height: 100%; object-fit: cover; }
.hero--offerte::after {
  content: "";
  position: absolute;
  inset: 0;
  /* Donkerder links voor leesbaarheid van de tekst, lichter naar rechts */
  background: linear-gradient(
    105deg,
    rgba(44, 58, 71, 0.94) 0%,
    rgba(44, 58, 71, 0.80) 38%,
    rgba(44, 58, 71, 0.45) 100%
  );
}

.offerte-hero {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  padding-block: 90px;
}
.offerte-hero__value {
  flex: 1 1 0;
  min-width: 0;
  max-width: 540px;
  color: var(--c-wit);
}
.offerte-hero__value h1 { font-weight: 800; }
.offerte-hero__lead {
  font-size: 16px;
  line-height: 25px;
  margin-top: 20px;
  color: var(--c-tekst-licht);
}

.offerte-steps {
  list-style: none;
  margin: 35px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.offerte-step { display: flex; align-items: flex-start; gap: 15px; }
.offerte-step__num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--c-primair);
  color: var(--c-wit);
  font-family: var(--font-condensed);
  font-weight: 700;
  font-size: 16px;
}
.offerte-step__body { display: flex; flex-direction: column; gap: 2px; }
.offerte-step__title {
  font-family: var(--font-condensed);
  font-weight: 600;
  font-size: 18px;
  color: var(--c-wit);
}
.offerte-step__text {
  font-size: 14px;
  line-height: 22px;
  color: var(--c-tekst-licht);
}

.offerte-hero__trust {
  margin-top: 35px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-family: var(--font-condensed);
  font-weight: 400;
  font-size: 14px;
  color: var(--c-tekst-licht);
}
.offerte-hero__trust strong { font-weight: 600; color: var(--c-wit); }

/* Formulierkaart op de offerte-pagina mag niet meekrimpen */
.offerte-form { flex-shrink: 0; }

/* Social-proof-strook op de offerte-pagina krijgt een korte kop */
.clients-heading {
  text-align: center;
  font-family: var(--font-condensed);
  font-weight: 600;
  font-size: 16px;
  color: var(--c-bg-4);
  margin: 0 0 35px;
}

/* FAQ (Figma 7:849): tekst links + accordion rechts, lichte achtergrond */
.section--faq { background: var(--c-bg-grijs); padding-block: 100px; }
.faq { display: flex; gap: 50px; align-items: stretch; }
.faq__text { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 25px; }
.faq__text h2 { font-weight: 800; }   /* Figma ExtraBold; lichte achtergrond → niet verlagen */
.faq__text p { font-size: 16px; line-height: 1.5; font-weight: 400; }
.faq__text a { color: var(--c-bg-1); transition: color .15s ease; }
.faq__text a:hover { color: var(--c-primair); }

.faq__list {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;   /* tekst verticaal gecentreerd in de kaart (Figma) */
  gap: 25px;
  padding: 25px;
  border: 1px solid #c3d4df;
  border-radius: 5px;
}
.faq-item { width: 100%; }
.faq-item__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #cddbe4;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-condensed);
  font-weight: 800;          /* Figma Black 900 niet geladen → 800 */
  font-size: 18px;
  line-height: 1.4;
  color: var(--c-bg-1);
}
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__icon { display: flex; flex-shrink: 0; transition: transform .25s ease; }
.faq-item__icon img { display: block; width: 11px; height: 13px; }
.faq-item[open] .faq-item__icon { transform: rotate(180deg); }
.faq-item__a { padding: 10px 0 15px; }
.faq-item__a p { font-size: 16px; line-height: 1.5; font-weight: 400; color: var(--c-bg-1); }
.faq-item__a ul { margin-top: 8px; padding-left: 22px; list-style: disc; }
.faq-item__a li { font-size: 16px; line-height: 1.5; font-weight: 400; color: var(--c-bg-1); }

/* Zachte open-animatie (het antwoord schuift/fadet in bij uitklappen) */
.faq-item[open] .faq-item__a { animation: faqReveal .25s ease; }
@keyframes faqReveal {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .faq-item[open] .faq-item__a { animation: none; }
}

/* ============================================================
   CERTIFICERINGEN PAGINA (Figma 7:997)
   ============================================================ */

/* Hero-variant: tekst links + 2×3 logo-grid rechts (donkere achtergrond).
   Het logo-grid hergebruikt .certifications__logos / .cert-row / .cert-box. */
.hero--certs .hero__content { gap: 25px; }
.hero--certs .hero__logos { flex: 1 1 0; min-width: 0; }
/* Siemens-logo is van zichzelf gekleurd (teal) → grijs maken, net als de overige logo's */
.cert-box img[src*="cert-siemens-alpha"] { filter: grayscale(1); }

/* Detail-kaarten (Figma 7:1303): 3-koloms grid, witte kaarten op lichte achtergrond */
.section--cert-detail { background: var(--c-bg-grijs); padding-block: 100px; }
.cert-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}
.cert-card {
  display: flex;
  flex-direction: column;
  gap: 50px;
  padding: 25px;
  background: var(--c-wit);
  color: var(--c-bg-1);
}
.cert-card__head { display: flex; flex-direction: column; }
/* Lichte achtergrond → gewichten één stap hoger dan op donker (zie typografie-afspraak) */
.cert-card__name { font-family: var(--font-display); font-weight: 800; font-size: 20px; line-height: 1.4; }
.cert-card__sub  { font-size: 16px; line-height: 25px; font-weight: 400; }
.cert-card__text { font-size: 14px; line-height: 23px; font-weight: 400; }
.cert-card__link {
  margin-top: auto;   /* houdt de link onderaan, ook bij ongelijke tekstlengte */
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-condensed);
  font-weight: 600;
  font-size: 16px;
  color: var(--c-primair);
  transition: color .15s ease;
}
.cert-card__link svg { width: 20px; height: 20px; transition: transform .18s ease; }
.cert-card__link:hover { color: #0093d1; }
.cert-card__link:hover svg { transform: translate(2px, -2px); }

/* ============================================================
   ONZE AANPAK PAGINA (Figma 7:1883)
   ============================================================ */

/* --- Sectie 1: 4 stappen (Figma 7:2379), lichte achtergrond --- */
.section--steps { background: var(--c-bg-grijs); padding-block: 100px; }
.steps {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.step-card {
  height: 350px;
  padding: 25px;
  background: var(--c-wit);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}
.step-card__head { display: flex; flex-direction: column; gap: 0; }
.step-card__num {
  font-family: var(--font-condensed);
  font-weight: 700;
  font-size: 32px;
  line-height: 45px;
  color: var(--c-bg-1);
}
.step-card__dot { color: var(--c-primair); }
.step-card__title {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 25px;
  color: var(--c-bg-1);
}
.step-card__text {
  font-size: 14px;
  line-height: 23px;
  font-weight: 400;
  color: var(--c-bg-1);
}

/* --- Sectie 2: Waarom 3D-aanpak (Figma 7:2294), donkere achtergrond --- */
.section--why { background: var(--c-bg-1); padding-block: 100px; }
.why {
  display: flex;
  align-items: center;
  gap: 50px;
}
.why__intro {
  flex: 0.78 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  color: var(--c-wit);
}
.why__intro h2 { color: var(--c-wit); font-size: 26px; line-height: 34px; }
.why__intro p { font-size: 15px; line-height: 24px; }
.why__cta { margin-top: 8px; font-size: 16px; }
.why__cta .btn__label,
.why__cta .btn__icon { height: 40px; }
.usp-grid {
  flex: 1.22 1 0;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}
.usp-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 15px;
  background: var(--c-wit);
  color: #263d47;
}
.usp-card__icon { width: 25px; height: 26px; }
.usp-card__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  line-height: 1.2;
  color: #263d47;
}
.usp-card__text { font-size: 14px; line-height: 23px; font-weight: 400; }

/* ============================================================
   ENGINEERING PAGINA (Figma 11:967)
   ============================================================ */

/* Herbruikbare dienstkaart: witte kaart met icoon + titel + tekst */
.eng-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 15px;
  background: var(--c-wit);
  color: #263d47;
}
.eng-card__icon { display: block; width: 24px; height: 25px; }
.eng-card__title {
  font-family: var(--font-display);
  font-weight: 700;      /* Figma Bold; donkere tekst op witte kaart → niet verlagen */
  font-size: 18px;
  line-height: 1.2;
  color: #263d47;
}
.eng-card__text { font-size: 14px; line-height: 23px; font-weight: 400; color: #263d47; }

/* Sectie 1: Uw Engineering Partner — 4 kaarten op lichte achtergrond
   (hergebruikt .section--steps voor de lichte achtergrond + .intro/.certs) */
.eng-services {
  margin-top: 45px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

/* Lichte sectie-kop (donkere tekst op grijze achtergrond → één stap zwaarder) */
.eng-section__head h2 { font-weight: 700; }

/* Sectie 2: Onze EPLAN Engineering diensten — 6 kaarten op donkere achtergrond */
.section--eng-diensten { background: var(--c-bg-1); padding-block: 100px; }
.eng-diensten__head h2 { color: var(--c-wit); }
.eng-diensten-grid {
  margin-top: 45px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}
.eng-diensten-grid .eng-card__icon { width: 35px; height: 36px; }

/* Paneelbouw — panelen met foto (Figma 47:1177): donkere sectie, witte kaart = foto + tekst */
.section--panelen { background: var(--c-bg-1); padding-block: 100px; }
.panelen-grid {
  margin-top: 45px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}
.panel-card {
  display: flex;
  flex-direction: column;
  background: var(--c-wit);
  overflow: hidden;
}
.panel-card__media { height: 250px; background-color: var(--c-bg-4); }
.panel-card__media picture { display: block; height: 100%; }
.panel-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.panel-card__body { padding: 30px; display: flex; flex-direction: column; gap: 10px; }
.panel-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.2;
  color: #263d47;
}
.panel-card__text { font-size: 14px; line-height: 23px; font-weight: 400; color: #263d47; }
.panel-card__link {
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-condensed);
  font-weight: 600;
  font-size: 16px;
  color: var(--c-primair);
  transition: color .15s ease;
}
.panel-card__link svg { width: 20px; height: 20px; transition: transform .18s ease; }
.panel-card__link:hover { color: #0093d1; }
.panel-card__link:hover svg { transform: translate(2px, -2px); }

/* --- Sectie 4: Uitbesteden met vertrouwen (Figma 7:2421), lichte achtergrond --- */
.section--feature { background: var(--c-bg-grijs); padding-block: 100px; }
.feature {
  display: flex;
  align-items: center;
  gap: 25px;
}
.feature__content {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 25px;
  color: #263d47;
}
/* Lichte achtergrond → één stap zwaarder (zie typografie-afspraak) */
.feature__content h2 { font-weight: 700; }
.feature__content p { font-weight: 400; font-size: 16px; line-height: 25px; }
.feature__points { display: flex; flex-direction: column; gap: 10px; }
.feature__point { display: flex; align-items: center; gap: 15px; }
.feature__check { width: 28px; height: 29px; flex-shrink: 0; }
.feature__point span {
  font-family: var(--font-condensed);
  font-weight: 400;
  font-size: 14px;
  color: #000;
}
.feature__media {
  flex: 1 1 0;
  min-width: 0;
  height: 450px;
}
.feature__media picture { display: block; width: 100%; height: 100%; }
.feature__media img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   MOBIEL MENU (basis — getoond in de media queries)
   ============================================================ */
.nav-toggle { display: none; }
.mobile-menu { display: none; }

/* ============================================================
   RESPONSIVE
   Typografie volgt de Figma "Mobiel"-schaal; lay-out o.b.v. het
   Figma Mobiel-ontwerp (frame 8:921, 393px breed).
   ============================================================ */

/* ---- Tablet / groot mobiel: lay-out vouwt samen, hamburger verschijnt ---- */
@media (max-width: 992px) {
  :root { --container-pad: 40px; }

  /* Compactere verticale ruimte */
  .hero__inner,
  .section--services,
  .section--totaal,
  .section--projecten,
  .section--about,
  .section--klanten,
  .section--cta,
  .section--history,
  .section--values,
  .section--certifications,
  .section--cert-detail,
  .section--vacancies,
  .section--vacancy-body,
  .section--apply,
  .section--steps,
  .section--why,
  .section--feature,
  .footer__main { padding-block: 64px; }

  /* --- Header: één balk met logo + hamburger (Figma mobiel) --- */
  .subheader { display: none; }
  .masthead__inner { padding-block: 16px; }
  .logo img { height: 38px; }
  .mainnav,
  .masthead__cta { display: none; }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: none;
    border: none;
    cursor: pointer;
  }
  .nav-toggle__bar {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--c-wit);
    transition: transform .2s ease, opacity .2s ease;
  }
  .nav-toggle.is-open .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.is-open .nav-toggle__bar:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .mobile-menu {
    flex-direction: column;
    gap: 4px;
    padding: 8px var(--container-pad) 24px;
    background: var(--c-bg-1);
  }
  .mobile-menu.is-open { display: flex; }
  .mobile-menu a {
    padding: 10px 0;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 18px;
    color: var(--c-wit);
    transition: color .15s ease;
  }
  .mobile-menu a:hover { color: var(--c-primair); }
  .mobile-menu hr { width: 100%; border: none; border-top: 1px solid var(--c-bg-4); margin: 6px 0; }
  .mobile-menu__cta { align-self: flex-start; margin-top: 12px; }
  .mobile-menu__cta:hover { transform: none; }

  /* --- Twee-koloms secties stapelen --- */
  .hero__inner,
  .content2,
  .about { flex-direction: column; align-items: stretch; gap: 40px; }
  .hero__content,
  .content2__text,
  .about__text { max-width: none; }
  .hero__media,
  .about__media { justify-content: flex-start; }
  .hero__cta { flex-wrap: wrap; }

  /* Intro (sectie 1) stapelen */
  .intro { flex-direction: column; align-items: flex-start; gap: 24px; }

  /* Grids inklappen */
  .services { grid-template-columns: repeat(2, 1fr); }
  .usps { grid-template-columns: 1fr; }

  /* CTA stapelen */
  .cta { flex-direction: column; padding: 40px; gap: 32px; }
  .cta__media { flex: none; width: 100%; max-width: none; align-self: auto; }
  .cta__media picture,
  .cta__media img { height: auto; }

  /* Footer stapelen */
  .footer__main { flex-direction: column; gap: 40px; }
  .footer__cols { flex-wrap: wrap; gap: 32px 48px; }
  .footer__hours { align-items: flex-start; text-align: left; }

  /* Over-ons: hero-foto vult de breedte, twee-koloms secties stapelen */
  .hero--about .hero__content { padding-right: 0; }
  .hero--about .hero__media { padding-left: 0; }
  .hero--about .hero__media img { height: auto; }
  /* align-items: stretch overschrijft de desktop-waarde flex-start; anders krijgt
     de slider in kolom-stand de breedte van álle kaarten samen → overflow rechts. */
  .history { flex-direction: column; align-items: stretch; gap: 32px; }
  .history__intro { flex-basis: auto; }
  .history__slider { min-width: 0; }
  .history-card { flex-basis: calc((100% - 25px) / 2); }   /* 2 hele kaarten per view */
  .values { grid-template-columns: repeat(2, 1fr); }
  .certifications { flex-direction: column; gap: 40px; }
  .cert-cards { grid-template-columns: repeat(2, 1fr); }

  /* Vacatures: vier kolommen vouwen naar twee */
  .vacancies { grid-template-columns: repeat(2, 1fr); }

  /* Projecten: 2 kolommen; het brede blok vult de volle rij */
  .section--projects-overview { padding-block: 64px; }
  .projects { grid-template-columns: repeat(2, 1fr); }
  .project-tile--wide { grid-column: span 2; }

  /* Engineering: dienstkaarten naar 2 kolommen */
  .eng-services { grid-template-columns: repeat(2, 1fr); }
  .eng-diensten-grid { grid-template-columns: repeat(2, 1fr); }
  .panelen-grid { grid-template-columns: repeat(2, 1fr); }

  /* Onze aanpak: stappen naar 2 kolommen, twee-koloms secties stapelen */
  .steps { grid-template-columns: repeat(2, 1fr); }
  .why { flex-direction: column; align-items: stretch; gap: 40px; }
  .feature { flex-direction: column; align-items: stretch; gap: 40px; }
  .feature__media { justify-content: flex-start; }
  .feature__media img { height: auto; }

  /* Contact: compactere hero + kaarten naar twee kolommen, top stapelt */
  .hero--contact .container { padding-block: 64px; }
  .contact-hero { gap: 40px; }
  .contact-hero__top { flex-direction: column; align-items: flex-start; gap: 32px; }
  .contact-hero__intro { max-width: none; }
  .contact-cards { grid-template-columns: repeat(2, 1fr); }

  /* Contact-intro: foto boven, adres eronder */
  .section--contact-intro { padding-block: 64px; }
  .contact-intro { flex-direction: column; gap: 32px; }

  /* Contactformulier: kaart vult de breedte, smallere randpadding */
  .section--contact-form { padding-block: 64px; }
  .contact-form-bg { padding: 30px; }
  .contact-form { width: 100%; }

  /* FAQ: tekst boven, accordion eronder */
  .section--faq { padding-block: 64px; }
  .faq { flex-direction: column; gap: 32px; }

  /* Offerte: waardekolom boven, formulier eronder; smaller padding */
  .offerte-hero { flex-direction: column; align-items: stretch; gap: 40px; padding-block: 64px; }
  .offerte-hero__value { max-width: none; }
  .offerte-form { width: 100%; }

}

/* ---- Telefoon (Figma Mobiel 393px) ---- */
@media (max-width: 600px) {
  :root { --container-pad: 20px; }

  .hero__inner,
  .section--services,
  .section--totaal,
  .section--projecten,
  .section--about,
  .section--klanten,
  .section--cta,
  .section--history,
  .section--values,
  .section--certifications,
  .section--cert-detail,
  .section--vacancies,
  .section--vacancy-body,
  .section--apply,
  .section--steps,
  .section--why,
  .section--feature,
  .footer__main { padding-block: 48px; }

  /* Figma "Mobiel"-typografieschaal */
  h1 { font-size: 28px; line-height: 38px; }
  h2 { font-size: 26px; line-height: 35px; }
  h3 { font-size: 18px; }
  h4 { font-size: 16px; }
  body,
  .hero__lead,
  .cta__text p { font-size: 14px; line-height: 23px; }
  .btn { font-size: 16px; }
  .cta__title { font-size: 24px; line-height: 1.3; }

  /* Diensten worden horizontaal scrollbaar (Figma mobiel) */
  .services {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    margin-inline: calc(-1 * var(--container-pad));   /* tot de schermranden */
    padding-inline: var(--container-pad);
  }
  .services::-webkit-scrollbar { display: none; }
  .service-card { flex: 0 0 280px; scroll-snap-align: start; }

  /* Klanten naar 2 kolommen */
  .clients { grid-template-columns: repeat(2, 1fr); }

  /* Decoratief watermerk verbergen op telefoon */
  .intro__watermark { display: none; }

  /* Hero: compactere ruimte + alleen de groene knop (zoals Figma mobiel) */
  .hero__inner { gap: 24px; }
  .hero__content { gap: 22px; }
  .hero .btn--tertiary { display: none; }

  /* CTA op mobiel (Figma 8:1072): geen afbeelding, één knop, ruimere kaart */
  .cta { padding: 30px; gap: 20px; }
  .cta__text { gap: 20px; }
  .cta__title { font-size: 20px; line-height: 1.3; }
  .cta__media { display: none; }
  .cta .btn--tertiary { display: none; }
  .cta__actions { flex-direction: column; align-items: flex-start; gap: 12px; }

  /* Footer op mobiel (Figma 8:1084): gecentreerd merk-blok, gestapelde kolommen */
  .footer__brand { align-items: center; text-align: center; }
  .footer__desc { font-size: 14px; }
  .footer__cols { flex-direction: column; gap: 40px; }
  .footer__col-title { font-size: 16px; }

  /* Footer-onderbalk stapelen */
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 16px; padding-bottom: 48px; }
  .footer__legal { flex-wrap: wrap; gap: 8px 20px; }

  /* Over-ons mobiel: waardenkaarten 1 kolom */
  .values { grid-template-columns: 1fr; }
  /* Certificeringslogo's: nette 2-koloms grid zodat alle vakken even breed zijn
     (de oude flex-wrap liet het 3e logo per rij volle breedte pakken). */
  .certifications__logos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
  .certifications__logos .cert-row { display: contents; }
  .certifications__logos .cert-box { flex: none; height: 90px; }
  .cert-box--empty { display: none; }

  /* Certificeringen-hero: alle 6 logo's 2-per-rij i.p.v. een wrappend volle-breedte blok */
  .hero--certs .hero__logos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
  .hero--certs .cert-row { display: contents; }
  .hero--certs .cert-box { flex: none; height: 90px; }

  /* Certificeringen-detailkaarten: één kolom + compactere onderlinge ruimte */
  .cert-cards { grid-template-columns: 1fr; }
  .cert-card { gap: 25px; }

  /* Vacatures: één kolom op telefoon */
  .vacancies { grid-template-columns: 1fr; }

  /* Projecten: één kolom op telefoon; brede blok wordt ook één kolom */
  .section--projects-overview { padding-block: 48px; }
  .projects { grid-template-columns: 1fr; }
  .project-tile--wide { grid-column: span 1; }
  .project-tile--wide .project-tile__title { font-size: 16px; }
  .item-gallery { grid-template-columns: 1fr; }

  /* Onze aanpak: stappen + USP's één kolom op telefoon */
  .steps { grid-template-columns: 1fr; }
  .step-card { height: auto; }
  .usp-grid { grid-template-columns: 1fr; }

  /* Engineering: dienstkaarten onder elkaar */
  .eng-services,
  .eng-diensten-grid,
  .panelen-grid { grid-template-columns: 1fr; }
  .section--eng-diensten,
  .section--panelen { padding-block: 48px; }

  /* Contact: hero compacter + kaarten onder elkaar */
  .hero--contact .container { padding-block: 48px; }
  .contact-cards { grid-template-columns: 1fr; }
  .section--contact-intro { padding-block: 48px; }

  /* FAQ op telefoon: compactere ruimte */
  .section--faq { padding-block: 48px; }

  /* Contactformulier op telefoon: minimale randfoto, compacte kaart, namen onder elkaar */
  .section--contact-form { padding-block: 48px; }
  .contact-form-bg { padding: 12px; }
  .contact-form { padding: 30px 24px; }
  .contact-form__row { flex-direction: column; gap: 10px; }
  .contact-form__trust { flex-direction: column; align-items: flex-start; gap: 10px; }
  .contact-form__trust li { font-size: 12px; }

  /* Offerte op telefoon: compactere hero + formulier, kleinere stappen */
  .offerte-hero { padding-block: 48px; gap: 32px; }
  .offerte-form { padding: 30px 24px; }
  .offerte-step__title { font-size: 16px; }
  .clients-heading { font-size: 14px; }

  /* Geschiedenis-slider: één kaart per view + glimp van de volgende */
  .history-card { flex-basis: 82%; }

  /* Sollicitatieformulier: velden onder elkaar */
  .vacancy-form .form-row { flex-direction: column; gap: 18px; }
}
