/* HEKONTA — Electrical • Automation • Smart Technology */

/* Lettertypes: zelf gehost (Barlow en Barlow Condensed, SIL Open Font License — zie /assets/fonts/OFL.txt) */
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/barlow-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/barlow-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/barlow-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/barlow-condensed-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/barlow-condensed-latin-700-normal.woff2') format('woff2'); }

:root {
  --zwart: #0d0d0d;
  --zwart-2: #141414;
  --zwart-3: #1b1b1b;
  --lijn: #262626;
  --lijn-2: #3a3a3a;
  --tekst: #f2efe8;
  --tekst-2: #b5b1a8;
  --tekst-3: #8c877d;
  --goud: #c9a24d;
  --goud-licht: #e0bd6a;
  --goud-donker: #7a5c14;
  --licht: #f4f2ed;
  --licht-2: #ffffff;
  --licht-lijn: #ddd8cc;
  --donker: #141414;
  --donker-2: #4a463f;
  --donker-3: #5e594f;

  --kop: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --romp: 'Barlow', system-ui, sans-serif;

  --breed: 1280px;
  --rand: clamp(20px, 4vw, 32px);
  --sectie: clamp(72px, 10vw, 112px);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 110px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--zwart);
  color: var(--tekst);
  font-family: var(--romp);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  /* Een woord dat niet op de regel past, wordt afgebroken in plaats van de pagina breder te maken */
  overflow-wrap: break-word;
}

img, video { display: block; max-width: 100%; height: auto; }
a { color: var(--goud); }
a:hover { color: var(--goud-licht); }
:focus-visible { outline: 2px solid var(--goud); outline-offset: 3px; }

h1, h2, h3 { font-family: var(--kop); font-weight: 700; text-transform: uppercase; line-height: 1; margin: 0; letter-spacing: 0.005em; overflow-wrap: break-word; }
/* Lange Nederlandse woorden (bv. DIFFERENTIEELBESCHERMING) afbreken op smalle schermen */
@media (max-width: 600px) { h1, h2, h3 { hyphens: auto; } }
p { margin: 0; }

.container { width: 100%; max-width: var(--breed); margin: 0 auto; padding-inline: var(--rand); }
.visueel-verborgen { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.overslaan { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--goud); color: var(--zwart); padding: 10px 16px; font-weight: 600; }
.overslaan:focus { top: 16px; }

/* ---------- Knoppen ---------- */
.knop {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 14px 26px;
  font-family: var(--romp); font-size: 16px; font-weight: 600; line-height: 1.2;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.knop-goud { background: var(--goud); color: var(--zwart); }
.knop-goud:hover { background: var(--goud-licht); color: var(--zwart); }
.knop-lijn { border-color: #4a4740; color: var(--tekst); }
.knop-lijn:hover { border-color: var(--goud); color: var(--tekst); }
.knop-zwart { background: var(--zwart); color: var(--tekst); }
.knop-zwart:hover { background: #262626; color: var(--tekst); }
.knop-lijn-donker { border-color: var(--donker); color: var(--donker); }
.knop-lijn-donker:hover { background: var(--donker); color: var(--tekst); }
.knoppen { display: flex; flex-wrap: wrap; gap: 14px; }

.pijl-link { font-weight: 600; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.pijl-link::after { content: '→'; transition: transform .15s; }
.pijl-link:hover::after { transform: translateX(3px); }

.label {
  font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600; color: var(--goud);
}
.sectie-licht .label { color: var(--goud-donker); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(13, 13, 13, 0.96); border-bottom: 1px solid var(--lijn); backdrop-filter: blur(8px); }
.header-binnen { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 92px; }

.logo { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: var(--tekst); }
.logo:hover { color: var(--tekst); }
.logo-naam { font-family: var(--kop); font-weight: 700; font-size: 46px; letter-spacing: 0.16em; line-height: 0.9; }
.logo-tag { font-size: 11.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--goud); white-space: nowrap; }

.menu-binnen { display: flex; align-items: center; gap: 30px; }
.hoofdmenu ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; }
.hoofdmenu ul a { color: #c9c5bc; text-decoration: none; font-weight: 500; font-size: 16px; padding: 8px 0; transition: color .25s ease; }
.hoofdmenu ul a:hover { color: var(--tekst); }
.hoofdmenu ul a[aria-current='page'] { color: var(--tekst); }

/* Desktop: gouden lijn die bij hover van links naar rechts onder de link schuift */
@media (min-width: 1081px) {
  .hoofdmenu ul a { position: relative; }
  .hoofdmenu ul a::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--goud);
    transform: scaleX(0); transform-origin: right center;
    transition: transform .35s cubic-bezier(.2, .8, .2, 1);
  }
  .hoofdmenu ul a:hover::after, .hoofdmenu ul a:focus-visible::after, .hoofdmenu ul a[aria-current='page']::after {
    transform: scaleX(1); transform-origin: left center;
  }
}
@media (min-width: 1081px) and (prefers-reduced-motion: reduce) {
  .hoofdmenu ul a::after { transition: none; }
}

.menu-schakelaar { position: absolute; opacity: 0; pointer-events: none; }
.menu-knop { display: none; position: relative; width: 48px; height: 48px; border: 1px solid var(--lijn-2); cursor: pointer; transition: border-color .3s ease; }
.menu-knop:hover { border-color: var(--goud); }
.menu-schakelaar:focus-visible + .menu-knop { outline: 2px solid var(--goud); outline-offset: 3px; }

/* Hamburger → kruis: eerst schuiven de lijnen naar het midden, dan draaien ze */
.menu-knop span {
  position: absolute; left: 12px; width: 22px; height: 2px; background: var(--tekst);
  transition: top .2s ease .2s, transform .2s ease 0s, opacity .15s ease .2s, background-color .3s ease;
}
.menu-knop span:nth-child(1) { top: 15px; }
.menu-knop span:nth-child(2) { top: 22px; }
.menu-knop span:nth-child(3) { top: 29px; }
.menu-schakelaar:checked + .menu-knop { border-color: var(--goud); }
.menu-schakelaar:checked + .menu-knop span { background: var(--goud); transition: top .2s ease 0s, transform .25s cubic-bezier(.3, 1.4, .5, 1) .2s, opacity .15s ease 0s, background-color .3s ease; }
.menu-schakelaar:checked + .menu-knop span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-schakelaar:checked + .menu-knop span:nth-child(2) { opacity: 0; }
.menu-schakelaar:checked + .menu-knop span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

@media (max-width: 1080px) {
  .logo-naam { font-size: 36px; }
  .logo-tag { font-size: 9.5px; }
  .header-binnen { min-height: 78px; flex-wrap: wrap; }
  .menu-knop { display: block; }
  /* Geen blur op mobiel: de balk is al bijna dekkend, en blur kan op iOS animaties in de balk verstoren */
  .site-header { background: var(--zwart); backdrop-filter: none; }

  /* Uitschuiven: de rij groeit van 0fr naar 1fr, zodat de echte hoogte vloeiend animeert */
  .hoofdmenu { display: grid; grid-template-rows: 0fr; width: 100%; transition: grid-template-rows .45s cubic-bezier(.2, .8, .2, 1); }
  .menu-binnen {
    min-height: 0; overflow: hidden; visibility: hidden;
    flex-direction: column; align-items: stretch; gap: 16px;
    transition: visibility 0s linear .45s;
  }
  .menu-schakelaar:checked ~ .hoofdmenu { grid-template-rows: 1fr; }
  .menu-schakelaar:checked ~ .hoofdmenu .menu-binnen { visibility: visible; transition-delay: 0s; }

  .hoofdmenu ul { flex-direction: column; gap: 0; padding-top: 4px; }
  .hoofdmenu ul a { display: block; padding: 14px 0; font-size: 19px; border-bottom: 1px solid var(--lijn); }
  .hoofdmenu ul a[aria-current='page'] { border-bottom-color: var(--lijn); color: var(--goud); }
  .menu-binnen > .knop { margin-bottom: 24px; }

  /* Links komen één voor één binnen */
  .hoofdmenu li, .menu-binnen > .knop { opacity: 0; transform: translateY(-10px); transition: opacity .2s ease, transform .2s ease; }
  .menu-schakelaar:checked ~ .hoofdmenu li,
  .menu-schakelaar:checked ~ .hoofdmenu .menu-binnen > .knop { opacity: 1; transform: none; transition: opacity .35s ease, transform .35s cubic-bezier(.2, .8, .2, 1); }
  .menu-schakelaar:checked ~ .hoofdmenu li:nth-child(1) { transition-delay: .08s; }
  .menu-schakelaar:checked ~ .hoofdmenu li:nth-child(2) { transition-delay: .13s; }
  .menu-schakelaar:checked ~ .hoofdmenu li:nth-child(3) { transition-delay: .18s; }
  .menu-schakelaar:checked ~ .hoofdmenu li:nth-child(4) { transition-delay: .23s; }
  .menu-schakelaar:checked ~ .hoofdmenu li:nth-child(5) { transition-delay: .28s; }
  .menu-schakelaar:checked ~ .hoofdmenu .menu-binnen > .knop { transition-delay: .33s; }
}

/* "Beperk beweging" aan op het toestel: niets schuift of draait, maar het menu vervaagt wel zacht in beeld */
@media (prefers-reduced-motion: reduce) {
  .menu-knop span { transition: background-color .25s ease !important; }
  .hoofdmenu, .menu-binnen { transition: none !important; }
  .hoofdmenu li, .menu-binnen > .knop { transform: none !important; transition: opacity .3s ease !important; }
}
@media (max-width: 420px) {
  .header-binnen { gap: 12px; }
  .logo-naam { font-size: 31px; }
  .logo-tag { font-size: 8.5px; letter-spacing: 0.16em; }
}
/* Op de smalste telefoons (±320 px) moeten logo + tagline nog naast de menuknop passen */
@media (max-width: 359px) {
  .logo-naam { font-size: 28px; }
  .logo-tag { font-size: 7.5px; letter-spacing: 0.08em; }
}

/* ---------- Secties ---------- */
.sectie { padding-block: var(--sectie); }
.sectie-licht { background: var(--licht); color: var(--donker); }
.sectie-licht a:not(.knop) { color: var(--donker); }
.sectie-zwart-2 { background: var(--zwart-2); }
.sectie-kop { display: flex; flex-wrap: wrap; gap: 24px 64px; align-items: flex-end; justify-content: space-between; margin-bottom: clamp(40px, 6vw, 56px); }
.sectie-kop > div { display: flex; flex-direction: column; gap: 16px; flex: 1 1 460px; }
.sectie-kop p { flex: 1 1 400px; font-size: 18px; color: var(--tekst-2); max-width: 620px; }
.sectie-licht .sectie-kop p { color: var(--donker-2); }
.sectie-titel { font-size: clamp(38px, 5vw, 56px); }

/* ---------- Hero (home) ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--lijn); min-height: clamp(540px, 74vh, 700px); display: flex; align-items: center; }
.hero-foto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 55%; }
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(13,13,13,.95) 0%, rgba(13,13,13,.82) 42%, rgba(13,13,13,.35) 75%, rgba(13,13,13,.2) 100%);
}
.hero .container { position: relative; z-index: 1; padding-block: 96px; }
.hero-tekst { max-width: 660px; display: flex; flex-direction: column; gap: 26px; }
.hero h1 { font-size: clamp(46px, 6.4vw, 86px); line-height: 0.96; }
.hero h1 span { color: var(--goud); }
.hero p { font-size: clamp(17px, 1.6vw, 19px); color: #cfcbc2; max-width: 560px; }
@media (max-width: 760px) {
  .hero { align-items: flex-end; }
  .hero::after { background: linear-gradient(180deg, rgba(13,13,13,.35) 0%, rgba(13,13,13,.86) 45%, rgba(13,13,13,.96) 100%); }
  .hero .container { padding-block: 200px 56px; }
}

/* ---------- Waarden ---------- */
.waarden { background: var(--zwart-2); border-bottom: 1px solid var(--lijn); }
.waarden ul { list-style: none; margin-block: 0; padding-block: 34px; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 20px 32px; }
.waarden li { display: flex; align-items: center; gap: 14px; font-family: var(--kop); font-size: 22px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.waarden li::before { content: ''; width: 28px; height: 2px; background: var(--goud); flex: none; }

/* ---------- Dienstkaarten ---------- */
.diensten-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.dienst-kaart {
  display: flex; flex-direction: column; gap: 14px; padding: 32px 28px; min-height: 290px;
  background: var(--licht-2); border: 1px solid var(--licht-lijn); color: var(--donker); text-decoration: none;
  transition: border-color .15s, transform .15s;
}
.sectie-licht a.dienst-kaart { color: var(--donker); }
.dienst-kaart:hover { border-color: var(--donker); transform: translateY(-2px); }
.dienst-nr { font-family: var(--kop); font-size: 20px; font-weight: 600; color: var(--goud-donker); }
.dienst-kaart h2, .dienst-kaart h3 { font-size: 28px; line-height: 1.04; }
.dienst-kaart p { color: var(--donker-2); flex-grow: 1; font-size: 16px; }
.dienst-kaart .pijl-link { border-top: 1px solid #e6e2d8; padding-top: 16px; font-size: 15px; }
.dienst-kaart ul { margin: 0; padding: 0; list-style: none; font-size: 14.5px; color: var(--donker-3); display: flex; flex-direction: column; gap: 4px; }
.dienst-kaart ul li::before { content: '— '; color: var(--goud-donker); }

/* ---------- Voor & na ---------- */
.voor-na { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.voor-na-tekst { display: flex; flex-direction: column; gap: 22px; }
.voor-na-tekst p { color: var(--tekst-2); font-size: 18px; }
.voor-na-fotos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3px; background: var(--lijn); }
.voor-na-fotos figure { position: relative; margin: 0; }
.voor-na-fotos img { width: 100%; aspect-ratio: 3 / 4.4; object-fit: cover; }
.badge { position: absolute; top: 14px; left: 14px; padding: 7px 12px; font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; background: var(--zwart); color: var(--tekst); }
.badge-goud { background: var(--goud); color: var(--zwart); }
@media (max-width: 860px) { .voor-na { grid-template-columns: 1fr; } }

/* ---------- Projectkaarten ---------- */
.project-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 40px 24px; }
.project-kaart { display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: inherit; }
.project-kaart:hover { color: inherit; }
.project-kaart .foto { position: relative; overflow: hidden; background: var(--zwart-3); }
.project-kaart img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s ease; }
.project-kaart:hover img { transform: scale(1.03); }
.project-kaart .tags { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; color: var(--goud); }
.sectie-licht .project-kaart .tags { color: var(--goud-donker); }
.project-kaart h2, .project-kaart h3 { font-size: 26px; line-height: 1.05; }
.project-kaart p { font-size: 15.5px; color: var(--tekst-2); }
.sectie-licht .project-kaart p { color: var(--donker-3); }
.project-kaart .media-teller { position: absolute; right: 12px; bottom: 12px; background: rgba(13,13,13,.85); color: var(--tekst); font-size: 12.5px; padding: 6px 10px; font-weight: 500; }

/* Filter (zonder JavaScript) */
.filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; border: 0; padding: 0; }
.filter legend { float: left; width: 100%; margin-bottom: 12px; font-size: 14px; color: var(--donker-3); }
.filter input { position: absolute; opacity: 0; pointer-events: none; }
.filter label { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 18px; border: 1px solid #bdb6a6; cursor: pointer; font-weight: 500; font-size: 15px; }
.filter label:hover { border-color: var(--donker); }
.filter input:checked + label { background: var(--donker); border-color: var(--donker); color: var(--tekst); }
.filter input:focus-visible + label { outline: 2px solid var(--goud-donker); outline-offset: 2px; }
.projecten-overzicht:has(#f-residentieel:checked) .project-kaart:not(.f-residentieel),
.projecten-overzicht:has(#f-industrieel:checked) .project-kaart:not(.f-industrieel),
.projecten-overzicht:has(#f-borden:checked) .project-kaart:not(.f-borden),
.projecten-overzicht:has(#f-energie:checked) .project-kaart:not(.f-energie) { display: none; }

/* ---------- Over ---------- */
.over { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.over img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 45%; }
.over-tekst { display: flex; flex-direction: column; gap: 24px; }
.over-citaat { font-family: var(--kop); font-weight: 600; font-size: clamp(30px, 3.4vw, 42px); line-height: 1.1; }
.over-tekst p:not(.over-citaat) { color: var(--tekst-2); font-size: 18px; }
.over-slot { border-top: 1px solid #2a2a2a; padding-top: 20px; font-weight: 600; color: var(--tekst) !important; }
@media (max-width: 860px) { .over { grid-template-columns: 1fr; } .over img { aspect-ratio: 4 / 3; } }

/* ---------- Oprichter ---------- */
.oprichter { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 32px clamp(32px, 6vw, 80px); align-items: start; }
.oprichter.met-foto { align-items: center; }
.oprichter-kop { display: flex; flex-direction: column; gap: 14px; }
.oprichter-foto { width: 100%; max-width: 420px; aspect-ratio: 4 / 5; object-fit: cover; margin-bottom: 14px; }
.oprichter-functie { font-size: 18px; font-weight: 500; color: var(--donker-2); }
.oprichter-tekst { display: flex; flex-direction: column; gap: 18px; font-size: 18px; line-height: 1.7; color: #3c3933; max-width: 720px; }
.oprichter-slot { border-top: 2px solid var(--goud); padding-top: 18px; font-weight: 600; color: var(--donker); }
@media (max-width: 860px) { .oprichter { grid-template-columns: minmax(0, 1fr); } }

/* ---------- CTA ---------- */
.cta { background: var(--goud); color: var(--zwart); }
.cta .container { display: flex; flex-wrap: wrap; gap: 28px 40px; align-items: center; justify-content: space-between; padding-block: clamp(64px, 8vw, 88px); }
.cta-tekst { flex: 1 1 520px; display: flex; flex-direction: column; gap: 14px; }
.cta h2 { font-size: clamp(36px, 4.6vw, 52px); }
.cta p { font-size: 18px; }
.cta-acties { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.cta-acties a:not(.knop) { color: var(--zwart); font-weight: 500; }

/* ---------- Footer ---------- */
.site-footer { background: #080808; border-top: 1px solid #1e1e1e; color: #c9c5bc; font-size: 15px; }
.footer-boven { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px 64px; padding-block: 72px 48px; }
.footer-merk .logo-naam { font-size: 40px; }
.footer-merk p { margin-top: 18px; color: #a8a49c; max-width: 300px; }
.footer-kop { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--goud); font-weight: 600; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.site-footer a { color: #c9c5bc; text-decoration: none; }
.site-footer a:hover { color: var(--tekst); text-decoration: underline; }
.footer-onder { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; border-top: 1px solid #1e1e1e; padding-block: 24px 32px; font-size: 13.5px; color: var(--tekst-3); }
.footer-onder a { color: var(--tekst-3); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer .maker { color: #c9c5bc; text-decoration: underline; text-decoration-color: var(--goud); text-underline-offset: 3px; }
.site-footer .maker:hover { color: var(--goud); }
@media (max-width: 860px) { .footer-boven { grid-template-columns: 1fr; } }

/* ---------- Paginakop (subpagina's) ---------- */
.paginakop { border-bottom: 1px solid var(--lijn); }
.paginakop .container { padding-block: 44px clamp(56px, 8vw, 88px); display: flex; flex-direction: column; gap: 26px; }
.kruimelpad ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--tekst-3); }
.kruimelpad li + li::before { content: '/'; margin-right: 8px; }
.kruimelpad a { color: #a8a49c; }
.kruimelpad [aria-current] { color: var(--tekst); }
.paginakop-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px 64px; align-items: end; }
.paginakop-grid.zonder-foto { grid-template-columns: minmax(0, 1fr) auto; }
.paginakop-tekst { display: flex; flex-direction: column; gap: 18px; }
.paginakop h1 { font-size: clamp(42px, 5.6vw, 76px); }
.paginakop p { font-size: 19px; color: var(--tekst-2); max-width: 640px; }
.paginakop-foto img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.springlinks { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.springlinks span { font-size: 14px; color: var(--tekst-3); margin-right: 4px; }
.springlinks a { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 18px; border: 1px solid var(--lijn-2); color: var(--tekst); text-decoration: none; font-size: 15px; }
.springlinks a:hover { border-color: var(--goud); }
@media (max-width: 860px) { .paginakop-grid, .paginakop-grid.zonder-foto { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Dienstpagina ---------- */
.dienst-indeling { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.dienst-inhoud { flex: 999 1 620px; min-width: 0; display: flex; flex-direction: column; gap: 88px; }
.dienst-zijbalk { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 24px; position: sticky; top: 120px; }
@media (max-width: 960px) { .dienst-zijbalk { position: static; } }
.onderdeel { display: flex; flex-direction: column; gap: 26px; }
.onderdeel-kop { display: flex; flex-direction: column; gap: 12px; border-top: 2px solid var(--donker); padding-top: 24px; }
.onderdeel h2 { font-size: clamp(34px, 4vw, 46px); line-height: 1.02; }
.onderdeel-tekst { display: flex; flex-direction: column; gap: 14px; font-size: 18px; line-height: 1.7; color: #3c3933; max-width: 760px; }
.onderdeel h3 { font-family: var(--romp); font-size: 14px; letter-spacing: 0.16em; font-weight: 600; }
.werk-lijst { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); column-gap: 32px; }
.werk-lijst li { display: flex; gap: 12px; align-items: baseline; padding: 11px 0; border-bottom: 1px solid var(--licht-lijn); font-size: 16px; color: #26241f; }
.werk-lijst li::before { content: ''; width: 8px; height: 8px; background: var(--goud); flex: none; transform: translateY(-1px); }

.offerte-kaart { background: var(--zwart); color: var(--tekst); padding: 32px 28px; display: flex; flex-direction: column; gap: 16px; }
.offerte-kaart h2 { font-size: 28px; line-height: 1.05; }
.offerte-kaart p { color: var(--tekst-2); font-size: 16px; }
.sectie-licht .offerte-kaart a:not(.knop) { color: var(--goud); }
.sectie-licht .offerte-kaart .label { color: var(--goud); }
.alle-diensten { background: var(--licht-2); border: 1px solid var(--licht-lijn); padding: 22px 0; }
.alle-diensten h2 { font-family: var(--romp); font-size: 12px; letter-spacing: 0.2em; color: var(--donker-3); font-weight: 600; padding: 0 24px 10px; }
.alle-diensten ul { list-style: none; margin: 0; padding: 0; }
.alle-diensten a { display: flex; gap: 10px; align-items: center; min-height: 44px; padding: 9px 24px; text-decoration: none; font-size: 15px; color: #3c3933 !important; }
.alle-diensten a span { color: var(--goud-donker); font-weight: 600; width: 24px; flex: none; }
.alle-diensten a:hover { background: var(--licht); }
.alle-diensten a[aria-current='page'] { background: var(--licht); color: var(--donker) !important; font-weight: 600; box-shadow: inset 3px 0 0 var(--goud); }

.onderdelen-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 16px; }

/* ---------- Projectpagina ---------- */
.project-intro { display: flex; flex-direction: column; gap: 16px; font-size: 18px; color: var(--tekst-2); max-width: 760px; }
.galerij { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 28px 16px; }
.galerij figure { margin: 0; }
.galerij a { display: block; position: relative; overflow: hidden; background: var(--zwart-3); }
.galerij img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .4s ease, opacity .2s; }
.galerij a:hover img { transform: scale(1.02); opacity: .92; }
.galerij figcaption { font-size: 14px; color: var(--tekst-2); padding-top: 8px; }
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 20px; }
.video-grid figure { margin: 0; }
.video-grid video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: #000; }
.video-grid figcaption { font-size: 14px; color: var(--tekst-3); padding-top: 8px; }
.vorige-volgende { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; border-top: 1px solid var(--lijn); padding-top: 32px; }
.vorige-volgende a { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: var(--tekst); max-width: 48%; }
.vorige-volgende a span { font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--goud); font-weight: 600; }
.vorige-volgende a strong { font-family: var(--kop); font-size: 22px; text-transform: uppercase; }
.vorige-volgende .volgende { text-align: right; margin-left: auto; }
@media (max-width: 600px) {
  .vorige-volgende { flex-direction: column; }
  .vorige-volgende a { max-width: 100%; }
  .vorige-volgende a strong { hyphens: auto; }
}

/* Lightbox (CSS :target, zonder JavaScript) */
.lightbox { display: none; position: fixed; inset: 0; z-index: 100; background: rgba(5, 5, 5, .95); align-items: center; justify-content: center; padding: 64px 72px; }
.lightbox:target { display: flex; }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; max-height: 100%; }
.lightbox img { max-width: min(92vw, 1400px); max-height: calc(100vh - 150px); width: auto; height: auto; object-fit: contain; }
.lightbox figcaption { color: var(--tekst-2); font-size: 15px; text-align: center; }
.lightbox .sluiten, .lightbox .lb-pijl { position: absolute; display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; color: var(--tekst); text-decoration: none; border: 1px solid var(--lijn-2); background: rgba(13,13,13,.7); font-size: 24px; }
.lightbox .sluiten:hover, .lightbox .lb-pijl:hover { border-color: var(--goud); color: var(--goud); }
.lightbox .sluiten { top: 16px; right: 16px; }
.lightbox .vorige { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox .volgende { right: 12px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) { .lightbox { padding: 72px 8px; } .lightbox .lb-pijl { top: auto; bottom: 14px; transform: none; } }

/* ---------- Contact ---------- */
.contact-indeling { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.formulier { flex: 999 1 600px; min-width: 0; background: var(--licht-2); border: 1px solid var(--licht-lijn); padding: clamp(24px, 4vw, 40px); display: flex; flex-direction: column; gap: 22px; }
.velden { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 20px; }
.veld { display: flex; flex-direction: column; gap: 8px; }
.veld label { font-size: 14px; font-weight: 600; }
.veld label span { font-weight: 400; color: var(--donker-3); }
.veld input, .veld select, .veld textarea {
  font: inherit; font-size: 16px; color: var(--donker); padding: 12px 14px; min-height: 48px;
  border: 1px solid #bdb6a6; background: #faf9f6; border-radius: 0; width: 100%;
}
.veld textarea { min-height: 160px; resize: vertical; }
.veld input:focus, .veld select:focus, .veld textarea:focus { outline: 2px solid var(--goud-donker); outline-offset: 0; border-color: var(--goud-donker); }
.formulier-noot { font-size: 14px; color: var(--donker-3); }
.toestemming { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: #3c3933; }
.toestemming input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--donker); }
.contact-zijbalk { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.mail-groot { font-family: var(--kop); font-size: clamp(26px, 3vw, 32px); font-weight: 700; color: var(--tekst) !important; word-break: break-word; }
.gegevens { margin: 0; background: var(--licht-2); border: 1px solid var(--licht-lijn); padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.gegevens dt { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--donker-3); font-weight: 600; }
.gegevens dd { margin: 6px 0 0; font-size: 16px; }

.faq { max-width: 920px; }
.faq details { border-bottom: 1px solid #2a2a2a; padding: 22px 0; }
.faq details:first-of-type { border-top: 1px solid #2a2a2a; }
.faq summary { cursor: pointer; font-size: 19px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 24px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--goud); font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin-top: 14px; color: var(--tekst-2); }

/* ---------- Tekstpagina (privacy) ---------- */
.tekstpagina { max-width: 820px; display: flex; flex-direction: column; gap: 18px; color: #3c3933; font-size: 17px; }
.tekstpagina h2 { font-size: 30px; margin-top: 24px; color: var(--donker); }
.tekstpagina ul { margin: 0; padding-left: 20px; }

/* ---------- Diversen ---------- */
.stack-lg { display: flex; flex-direction: column; gap: 56px; }
.leeg { border: 1px dashed #bdb6a6; padding: 40px 28px; color: var(--donker-3); text-align: center; }

/* ---------- Formulierfouten ---------- */
.formulier-fout { background: #fbeceb; border: 1px solid #c0392b; border-left-width: 4px; color: #7a1f16; padding: 14px 18px; font-size: 15px; font-weight: 500; }
.veld-fout { color: #a5281b; font-size: 14px; font-weight: 500; margin-top: 2px; }
.veld [aria-invalid='true'] { border-color: #c0392b; background: #fffafa; }
.toestemming input[aria-invalid='true'] { outline: 2px solid #c0392b; outline-offset: 2px; }
