/* ==========================================================
   Lensenbouw – homepagina
   Kleuren komen uit huisstijl/kleuren.css
   ========================================================== */

:root {
  --lb-marine-2: #23374A;
  --lb-ink: #121E29;
  --lb-tekst: #4C5A67;
  --lb-lijn: #E4DCCD;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--lb-marine);
  background: var(--lb-creme);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.loading, body.menu-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: 'Oswald', sans-serif; font-weight: 500; line-height: 1.06; margin: 0; }
p { margin: 0; }
.container { width: min(1200px, 100% - 48px); margin-inline: auto; }

/* Woorden die omhoog schuiven */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.wi { display: inline-block; font-style: normal; }

/* ---------- Laadscherm ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100;
  background: var(--lb-marine);
  display: grid; place-items: center;
}
.loader-inner { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.loader svg { width: 78px; height: 78px; }
.loader .lp {
  fill: none; stroke: var(--lb-zand); stroke-width: 6; stroke-linejoin: round; stroke-linecap: round;
  stroke-dasharray: 260; stroke-dashoffset: 260;
  animation: draw 1.1s var(--ease) forwards;
}
.loader .lp + .lp { animation-delay: .25s; }
.loader-word { font-family: 'Oswald', sans-serif; color: var(--lb-creme); letter-spacing: .45em; font-size: 18px; overflow: hidden; padding-left: .45em; }
.loader-word span { display: inline-block; transform: translateY(110%); animation: up .9s .45s var(--ease) forwards; }
.loader-bar { width: 170px; height: 2px; background: rgba(244, 239, 232, .14); overflow: hidden; }
.loader-bar i { display: block; height: 100%; background: var(--lb-zand); transform-origin: left; transform: scaleX(0); animation: bar 1.4s .2s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes up { to { transform: none; } }
@keyframes bar { to { transform: scaleX(1); } }

/* ---------- Voortgangsbalk en cursor ---------- */
.progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60;
  background: var(--lb-zand); transform-origin: left; transform: scaleX(0);
}
.cursor {
  position: fixed; top: 0; left: 0; z-index: 90; pointer-events: none;
  width: 34px; height: 34px; border-radius: 50%;
  border: 1.5px solid var(--lb-zand);
  opacity: 0;
  transition: width .35s var(--ease), height .35s var(--ease), background-color .35s, opacity .3s;
}
.cursor.on { opacity: 1; }
.cursor.big { width: 66px; height: 66px; background-color: rgba(201, 180, 138, .14); }
@media (pointer: coarse) { .cursor { display: none; } }

/* ---------- Knoppen ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px;
  font: 500 16px/1 'DM Sans', sans-serif;
  border: 1.5px solid transparent; cursor: pointer;
  position: relative; overflow: hidden; isolation: isolate;
  transition: color .4s var(--ease), border-color .4s var(--ease), transform .35s var(--ease);
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  transform: translateY(101%); transition: transform .5s var(--ease);
}
.btn:hover::before { transform: none; }
.btn-primary { background: var(--lb-zand); color: var(--lb-marine); }
.btn-primary::before { background: var(--lb-creme); }
.btn-dark { background: var(--lb-marine); color: var(--lb-creme); }
.btn-dark::before { background: var(--lb-zand); }
.btn-dark:hover { color: var(--lb-marine); }
.btn-ghost { color: var(--lb-creme); border-color: rgba(244, 239, 232, .35); }
.btn-ghost::before { background: rgba(244, 239, 232, .08); }
.btn-ghost:hover { border-color: var(--lb-zand); color: var(--lb-zand); }
.btn-sm { padding: 11px 20px; font-size: 15px; }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 2px solid var(--lb-zand); outline-offset: 3px; }

/* ---------- Navigatie ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding: 22px 0;
  transition: background-color .45s var(--ease), padding .45s var(--ease), box-shadow .45s var(--ease);
}
.nav.scrolled {
  background: rgba(27, 43, 58, .9);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  padding: 12px 0;
  box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .35);
}
.nav-inner { display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--lb-creme); font-family: 'Oswald', sans-serif; font-size: 20px; letter-spacing: .24em; }
.brand svg { width: 28px; height: 28px; fill: none; stroke: var(--lb-zand); stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; }
.nav nav { margin-left: auto; }
.nav-links { display: flex; gap: 32px; list-style: none; margin: 0; padding: 0; }
.nav-links a { position: relative; padding: 4px 0; font-size: 15px; color: rgba(244, 239, 232, .82); transition: color .3s; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--lb-zand);
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.nav-links a:hover { color: var(--lb-creme); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }

.burger {
  display: none; margin-left: auto; position: relative; z-index: 55;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--lb-zand); border: 0; cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 6px;
}
.burger span { display: block; width: 20px; height: 2px; background: var(--lb-marine); transition: transform .45s var(--ease); }
.menu-open .burger span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-open .burger span:last-child { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 45;
  background: var(--lb-marine);
  display: flex; flex-direction: column; justify-content: center; gap: 6px;
  padding: 0 32px;
  clip-path: circle(0 at calc(100% - 48px) 46px);
  transition: clip-path .8s var(--ease-io);
  visibility: hidden;
}
.mobile-menu.open { clip-path: circle(150% at calc(100% - 48px) 46px); visibility: visible; }
.mobile-menu a:not(.btn) { font-family: 'Oswald', sans-serif; font-size: 42px; color: var(--lb-creme); text-transform: uppercase; }
.mobile-menu .btn { margin-top: 24px; align-self: flex-start; }

@media (max-width: 960px) {
  .nav nav, .nav-cta { display: none; }
  .burger { display: flex; }
}

/* ---------- Kicker ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 12px;
  margin: 0 0 18px;
  font-size: 13px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase;
  color: var(--lb-zand-donker);
}
.kicker::before { content: ""; width: 30px; height: 1.5px; background: currentColor; }

/* ---------- Hero ---------- */
.hero-scroll { position: relative; height: 450vh; height: 450svh; }
.hero {
  position: sticky; top: 0; overflow: hidden;
  height: 100vh; height: 100svh;
  display: flex; align-items: center;
  padding: 100px 0 90px;
  color: var(--lb-creme);
  background:
    radial-gradient(70% 80% at 72% 45%, rgba(201, 180, 138, .10) 0%, transparent 60%),
    radial-gradient(120% 100% at 70% 40%, #25394D 0%, var(--lb-marine) 55%, var(--lb-ink) 100%);
}
#hero3d { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-inner { position: relative; z-index: 2; pointer-events: none; }
.hero-text { max-width: 620px; pointer-events: auto; }
.hero .kicker { color: var(--lb-zand); }
.hero-title { font-size: clamp(46px, 6.6vw, 96px); text-transform: uppercase; letter-spacing: .005em; }
.hero-title em { color: var(--lb-zand); }
.hero-sub { font-size: 19px; color: rgba(244, 239, 232, .78); max-width: 520px; margin: 26px 0 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-usps { list-style: none; margin: 44px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: 15px; color: rgba(244, 239, 232, .82); }
.hero-usps li, .checks li { display: flex; align-items: center; gap: 10px; }
.hero-usps li::before, .checks li::before {
  content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%;
  background: var(--lb-zand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231B2B3A' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.badge { position: absolute; right: 5%; bottom: 11%; z-index: 2; width: 132px; height: 132px; }
.badge > svg { width: 100%; height: 100%; animation: spin 20s linear infinite; }
.badge text { fill: var(--lb-creme); font-family: 'Oswald', sans-serif; font-size: 10px; letter-spacing: .25em; }
.badge .core { position: absolute; inset: 36px; border-radius: 50%; background: var(--lb-zand); display: grid; place-items: center; }
.badge .core svg { width: 28px; height: 28px; fill: none; stroke: var(--lb-marine); stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; }
@keyframes spin { to { transform: rotate(360deg); } }

.scroll-hint {
  position: absolute; left: 50%; bottom: 26px; z-index: 2; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: rgba(244, 239, 232, .55);
}
.scroll-hint span { width: 24px; height: 38px; border: 1.5px solid rgba(244, 239, 232, .4); border-radius: 14px; position: relative; }
.scroll-hint span::after {
  content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 8px; border-radius: 2px;
  background: var(--lb-zand); transform: translateX(-50%); animation: wheel 1.8s infinite;
}
@keyframes wheel { 0% { opacity: 0; transform: translate(-50%, 0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 14px); } }

/* Bouwen tijdens het scrollen */
.hero-text, .badge, .scroll-hint { transition: opacity .6s var(--ease), transform .6s var(--ease); }
.hero.building .hero-text { opacity: 0; transform: translateY(-40px); pointer-events: none; }
.hero.building .badge, .hero.building .scroll-hint { opacity: 0 !important; pointer-events: none; }

.build { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.build-cap {
  position: absolute; top: 50%; left: max(24px, (100vw - 1200px) / 2);
  max-width: 460px;
  opacity: 0; transform: translateY(-35%);
  transition: opacity .6s var(--ease), transform .8s var(--ease);
}
.build-cap.show { opacity: 1; transform: translateY(-50%); pointer-events: auto; }
.build-num { display: block; margin-bottom: 14px; font-size: 13px; letter-spacing: .26em; text-transform: uppercase; color: var(--lb-zand); }
.build-cap h2 { font-size: clamp(48px, 6.2vw, 92px); text-transform: uppercase; color: var(--lb-creme); }
.build-cap.final h2 { color: var(--lb-zand); }
.build-cap p { margin-top: 18px; font-size: 19px; color: rgba(244, 239, 232, .8); }
.build-cap .btn { margin-top: 30px; }

.build-steps {
  position: absolute; left: 50%; bottom: 30px; z-index: 3; transform: translateX(-50%);
  display: flex; gap: 10px; margin: 0; padding: 0; list-style: none;
  opacity: 0; transition: opacity .6s var(--ease);
}
.hero.building .build-steps { opacity: 1; }
.build-steps li {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: rgba(244, 239, 232, .45);
  transition: color .5s;
}
.build-steps li { position: relative; }
.build-steps li + li { padding-left: 44px; }
.build-steps li + li::after { content: ""; position: absolute; left: 8px; top: 50%; width: 28px; height: 1px; background: rgba(244, 239, 232, .25); }
.build-steps li::before {
  content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%;
  border: 1.5px solid rgba(244, 239, 232, .4); transition: background-color .5s, border-color .5s, transform .5s var(--ease);
}
.build-steps li.done { color: var(--lb-creme); }
.build-steps li.done::before { background: var(--lb-zand); border-color: var(--lb-zand); transform: scale(1.15); }

@media (max-width: 960px) {
  #hero3d { opacity: .45; transition: opacity .8s var(--ease); }
  .hero.building #hero3d { opacity: 1; }
  .badge { display: none; }
  .hero-sub { font-size: 17px; }
  .build-cap { top: 92px; left: 16px; right: 16px; max-width: none; transform: translateY(20px); padding: 20px 22px; border-radius: 18px; background: rgba(18, 30, 41, .6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
  .build-cap.show { transform: none; }
  .build-cap h2 { font-size: 40px; }
  .build-cap p { font-size: 16px; margin-top: 10px; }
  .build-cap .btn { margin-top: 18px; }
  .build-steps { gap: 6px; bottom: 22px; }
  .build-steps li { font-size: 10px; letter-spacing: .12em; gap: 6px; }
  .build-steps li + li { padding-left: 22px; }
  .build-steps li + li::after { left: 5px; width: 12px; }
}

/* ---------- Lopende band ---------- */
.marquee {
  position: relative; z-index: 3; overflow: hidden;
  background: var(--lb-zand); color: var(--lb-marine);
  padding: 18px 0; margin-top: -16px;
  transform: rotate(-1.6deg) scale(1.03);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .3);
}
.marquee-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee-track span {
  display: flex; align-items: center; gap: 44px; padding-right: 44px;
  font-family: 'Oswald', sans-serif; font-size: 26px; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
}
.marquee-track span::after { content: "◆"; font-size: 13px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Secties ---------- */
.section { position: relative; padding: clamp(90px, 11vw, 150px) 0; }
.section-head { max-width: 700px; margin-bottom: 60px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .kicker { justify-content: center; }
.section-head h2 { font-size: clamp(38px, 4.8vw, 66px); text-transform: uppercase; }
.section-head p:not(.kicker) { color: var(--lb-tekst); font-size: 18px; margin-top: 20px; }

/* ---------- Diensten ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cards > div { display: flex; perspective: 1000px; }
.card {
  position: relative; overflow: hidden; width: 100%;
  background: #fff; border: 1px solid var(--lb-lijn); border-radius: 22px;
  padding: 34px 30px 30px;
  display: flex; flex-direction: column;
  transform-style: preserve-3d;
  transition: transform .25s ease-out, box-shadow .5s var(--ease), border-color .5s;
}
.card:hover { box-shadow: 0 34px 60px -28px rgba(27, 43, 58, .4); border-color: transparent; }
.card-num { position: absolute; top: 18px; right: 24px; font-family: 'Oswald', sans-serif; font-size: 60px; line-height: 1; color: rgba(27, 43, 58, .06); }
.card-icon {
  width: 64px; height: 64px; border-radius: 18px; margin-bottom: 26px;
  background: var(--lb-marine); display: grid; place-items: center;
  transform: translateZ(40px); transition: background-color .45s var(--ease), transform .45s var(--ease);
}
.card-icon svg { width: 30px; height: 30px; fill: none; stroke: var(--lb-zand); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: stroke .45s; }
.card:hover .card-icon { background: var(--lb-zand); transform: translateZ(50px) rotate(-6deg); }
.card:hover .card-icon svg { stroke: var(--lb-marine); }
.card h3 { font-size: 24px; text-transform: uppercase; margin-bottom: 12px; transform: translateZ(30px); }
.card p { color: var(--lb-tekst); margin-bottom: 24px; transform: translateZ(20px); }
.card-more { margin-top: auto; display: inline-flex; gap: 8px; font-weight: 500; color: var(--lb-zand-donker); transform: translateZ(25px); }
.card-more span { transition: transform .4s var(--ease); }
.card:hover .card-more span { transform: translateX(5px); }
.card-shine {
  position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(201, 180, 138, .25), transparent 45%);
}
.card:hover .card-shine { opacity: 1; }
/* Bij een onvolle laatste rij: kaarten centreren (6-koloms raster, elke kaart 2 breed) */
@media (min-width: 1001px) {
  .cards { grid-template-columns: repeat(6, 1fr); }
  .cards > div { grid-column: span 2; }
  .cards > div:nth-child(3n + 1):nth-last-child(2) { grid-column: 2 / span 2; }
  .cards > div:nth-child(3n + 1):last-child { grid-column: 3 / span 2; }
}
@media (max-width: 1000px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .cards > div:nth-child(odd):last-child { grid-column: 1 / -1; justify-self: center; width: calc(50% - 11px); }
}
@media (max-width: 640px) {
  .cards { grid-template-columns: 1fr; }
  .cards > div:nth-child(odd):last-child { width: auto; justify-self: stretch; }
}

/* ---------- Kerncijfers ---------- */
.stats { background: var(--lb-marine); color: var(--lb-creme); padding: 84px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.stat { border-left: 1px solid rgba(201, 180, 138, .35); padding-left: 26px; }
.stat .n { font-family: 'Oswald', sans-serif; font-size: clamp(54px, 6vw, 84px); line-height: 1; color: var(--lb-zand); display: flex; align-items: baseline; gap: 6px; }
.stat small { font-size: .38em; letter-spacing: .06em; }
.stat p { margin-top: 10px; color: rgba(244, 239, 232, .75); }
@media (max-width: 800px) { .stats-grid { grid-template-columns: 1fr; } }

/* ---------- Werkwijze ---------- */
.timeline { position: relative; max-width: 860px; margin: 0 auto; }
.timeline-line { position: absolute; left: 39px; top: 10px; bottom: 10px; width: 2px; background: var(--lb-lijn); }
.timeline-fill { position: absolute; inset: 0; background: var(--lb-zand-donker); transform-origin: top; transform: scaleY(0); }
.step { position: relative; display: grid; grid-template-columns: 80px 1fr; gap: 32px; padding-bottom: 64px; }
.step:last-child { padding-bottom: 0; }
.step-num {
  position: relative; z-index: 1; width: 80px; height: 80px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--lb-creme); border: 2px solid var(--lb-lijn);
  font-family: 'Oswald', sans-serif; font-size: 26px; color: #A99E8B;
  transition: background-color .6s var(--ease), border-color .6s var(--ease), color .6s, transform .6s var(--ease);
}
.step.active .step-num { background: var(--lb-marine); border-color: var(--lb-marine); color: var(--lb-zand); transform: scale(1.08); }
.step-body { padding-top: 14px; }
.step-body h3 { font-size: 28px; text-transform: uppercase; margin-bottom: 8px; }
.step-body p { color: var(--lb-tekst); max-width: 560px; }
@media (max-width: 640px) {
  .timeline-line { left: 27px; }
  .step { grid-template-columns: 56px 1fr; gap: 20px; }
  .step-num { width: 56px; height: 56px; font-size: 20px; }
  .step-body { padding-top: 6px; }
  .step-body h3 { font-size: 23px; }
}

/* ---------- Projecten ---------- */
.projecten { background: var(--lb-ink); color: var(--lb-creme); overflow: hidden; }
.projecten-pin { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 96px 0 40px; }
.projecten .section-head { max-width: none; margin-bottom: 36px; }
.projecten .section-head h2 { font-size: clamp(34px, 4.2vw, 60px); }
.projecten .section-head p:not(.kicker) { margin-top: 12px; }
.projecten .section-head p:not(.kicker) { color: rgba(244, 239, 232, .7); }
.projecten .kicker { color: var(--lb-zand); }
.track { display: flex; gap: 28px; width: max-content; padding: 0 max(24px, calc((100vw - 1200px) / 2)); will-change: transform; }
.project { margin: 0; width: min(440px, 80vw); flex: none; }
/* Op desktop rekent main.js de kaarthoogte uit (--art-h), zodat kaart + onderschrift altijd in beeld passen */
@media (min-width: 901px) {
  .project { width: auto; }
  .project-art { height: var(--art-h, 330px); width: calc(var(--art-h, 330px) * 4 / 3); aspect-ratio: auto; }
}
.project-art {
  position: relative; aspect-ratio: 4 / 3; border-radius: 22px; overflow: hidden;
  display: grid; place-items: center;
}
.project-art.blue {
  background-color: #1C2E40;
  background-image:
    linear-gradient(rgba(201, 180, 138, .09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 180, 138, .09) 1px, transparent 1px);
  background-size: 26px 26px;
}
.project-art.wood {
  background-color: #B79F72;
  background-image:
    repeating-linear-gradient(176deg, rgba(122, 103, 64, .0) 0 14px, rgba(122, 103, 64, .22) 15px 16px, rgba(122, 103, 64, 0) 17px 31px),
    linear-gradient(135deg, #C9B48A, #A88E5F);
}
.project-art svg {
  width: 62%; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
  transition: transform .9s var(--ease);
}
.project-art.blue svg { stroke: var(--lb-zand); }
.project-art.wood svg { stroke: var(--lb-marine); }
.project:hover .project-art svg { transform: scale(1.08) rotate(-2deg); }
.photo-chip {
  position: absolute; top: 16px; left: 16px;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(18, 30, 41, .72); color: var(--lb-zand);
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
}
.project figcaption { padding: 20px 4px 0; }
.tag { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--lb-zand); }
.project h3 { font-size: 26px; text-transform: uppercase; margin-top: 6px; }
@media (max-width: 900px) {
  .projecten-pin { min-height: 0; }
  .track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 18px; scrollbar-width: none; }
  .track::-webkit-scrollbar { display: none; }
  .project { scroll-snap-align: center; }
}

/* ---------- Over ---------- */
.over-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.blueprint {
  border-radius: 26px; padding: 36px; aspect-ratio: 1;
  background-color: var(--lb-marine);
  background-image:
    linear-gradient(rgba(201, 180, 138, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 180, 138, .08) 1px, transparent 1px);
  background-size: 22px 22px;
  box-shadow: 0 40px 80px -40px rgba(27, 43, 58, .55);
}
.blueprint svg { width: 100%; height: 100%; overflow: visible; }
.blueprint .draw { fill: none; stroke: var(--lb-zand); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.blueprint .dim { stroke: rgba(244, 239, 232, .45); stroke-width: 1.2; }
.blueprint text { fill: rgba(244, 239, 232, .6); font: 500 11px 'DM Sans', sans-serif; letter-spacing: .12em; }
.over-text h2 { font-size: clamp(38px, 4.6vw, 60px); text-transform: uppercase; margin-bottom: 24px; }
.over-text p:not(.kicker) { color: var(--lb-tekst); font-size: 18px; margin-bottom: 16px; }
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; font-weight: 500; }
@media (max-width: 900px) { .over-grid { grid-template-columns: 1fr; gap: 50px; } }

/* ---------- Contact ---------- */
.contact { background: var(--lb-marine); color: var(--lb-creme); overflow: hidden; }
.contact .kicker { color: var(--lb-zand); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.contact h2 { font-size: clamp(46px, 6.4vw, 92px); text-transform: uppercase; }
.contact h2 em { color: var(--lb-zand); }
.contact-info > p:not(.kicker) { color: rgba(244, 239, 232, .78); font-size: 18px; margin-top: 24px; max-width: 440px; }
.contact-list { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 18px; }
.contact-list a, .contact-list div { display: flex; align-items: center; gap: 16px; font-size: 18px; }
.ci { width: 52px; height: 52px; flex: none; border-radius: 50%; border: 1px solid rgba(201, 180, 138, .45); display: grid; place-items: center; transition: background-color .35s var(--ease), transform .35s var(--ease); }
.ci svg { width: 21px; height: 21px; fill: none; stroke: var(--lb-zand); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: stroke .35s; }
.contact-list a:hover .ci { background: var(--lb-zand); transform: rotate(-8deg) scale(1.05); }
.contact-list a:hover .ci svg { stroke: var(--lb-marine); }

.form { background: var(--lb-creme); color: var(--lb-marine); border-radius: 26px; padding: 40px; display: grid; gap: 18px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .55); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 500; }
.field .opt { font-weight: 400; color: var(--lb-tekst); }
.field input, .field select, .field textarea {
  font: inherit; color: var(--lb-marine); width: 100%;
  padding: 14px 16px; border-radius: 14px;
  border: 1.5px solid #DCD2C0; background: #fff;
  transition: border-color .3s, box-shadow .3s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--lb-marine); box-shadow: 0 0 0 4px rgba(27, 43, 58, .1); }
.err-msg { display: none; font-size: 13px; color: #A2361F; }
.field.err input, .field.err textarea { border-color: #B3412F; }
.field.err .err-msg { display: block; }
.form .btn { justify-self: start; margin-top: 4px; }
.form-note { font-size: 14px; min-height: 1em; }
.form-note.good { color: #2F6B3A; }
.form-note.bad { color: #A2361F; }
@media (max-width: 900px) { .contact-grid, .row { grid-template-columns: 1fr; } .form { padding: 28px 22px; } }

/* ---------- Footer ---------- */
.footer { background: var(--lb-ink); color: rgba(244, 239, 232, .6); padding: 70px 0 36px; overflow: hidden; font-size: 14px; }
.big-word {
  font-family: 'Oswald', sans-serif; font-size: clamp(64px, 17vw, 270px); line-height: .8;
  text-align: center; letter-spacing: .04em; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px rgba(201, 180, 138, .28);
  margin-bottom: 50px;
}
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.footer .brand { font-size: 16px; }
.to-top:hover { color: var(--lb-zand); }

/* ---------- Verschijn-animaties ---------- */
.js .reveal { opacity: 0; transform: translateY(40px); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .loader { display: none; }
}

/* ---------- Toegevoegd voor beheer: foto's, lege staat, privacy ---------- */
.hidden { display: none !important; }
.project-art.photo { background: #1C2E40; }
.project-art.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.project:hover .project-art.photo img { transform: scale(1.05); }
.project figcaption p {
  margin-top: 6px; font-size: 15px; line-height: 1.45; color: rgba(244, 239, 232, .7);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.footer-link { color: rgba(244, 239, 232, .8); text-decoration: underline; text-underline-offset: 3px; }
.footer-link:hover { color: var(--lb-zand); }

.legal-page .nav { position: sticky; }
.legal-page .nav-inner { justify-content: space-between; }
.legal { max-width: 760px; padding: 70px 0 100px; }
.legal h1 { font-size: clamp(40px, 6vw, 64px); text-transform: uppercase; margin: 8px 0 22px; }
.legal h2 { font-size: 26px; text-transform: uppercase; margin: 42px 0 12px; }
.legal p, .legal li { color: var(--lb-tekst); }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 20px; margin: 10px 0 12px; }
.legal li { margin: 4px 0; }
.legal a { color: var(--lb-zand-donker); text-decoration: underline; text-underline-offset: 3px; }
.legal-lead { font-size: 20px; color: var(--lb-marine) !important; }
.legal-date { margin-top: 48px !important; font-size: 14px; }
.legal-footer { padding-top: 40px; }

/* Contactformulier: verborgen spamveld en privacyregel */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form { position: relative; }
.form-privacy { margin-top: -8px; font-size: 13px; color: var(--lb-tekst); }
.form-privacy a { color: var(--lb-zand-donker); text-decoration: underline; text-underline-offset: 3px; }
.form button[disabled] { opacity: .6; cursor: wait; }
