/* staging2: donker antraciet met goud, crème secties en golvende overgangen. */
@font-face {
  font-family: "Source Serif 4";
  src: url("fonts/source-serif-4.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --inkt: #1b1e23;
  --inkt-2: #23272d;
  --creme: #f6f1e8;
  --creme-2: #efe7da;
  --papier: #fffdf9;
  --goud: #c49a5a;
  --goud-licht: #d9b77f;
  --tekst: #2a2b2e;
  --grijs: #6c6a66;
  --lijn: #e3d9c8;
  --serif: "Source Serif 4", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --breed: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--creme); color: var(--tekst); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.12; margin: 0; letter-spacing: -0.01em; }
h1 em, h2 em { font-style: normal; color: var(--goud); }
.binnen { width: min(var(--breed), 100% - 32px); margin-inline: auto; }
:focus-visible { outline: 2px solid var(--goud); outline-offset: 3px; }

.boventitel { margin: 0 0 10px; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--goud); font-weight: 600; }

/* Knoppen */
.knop { display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 15px; text-decoration: none; transition: background .2s, color .2s, transform .2s; }
.knop-goud { background: var(--goud); color: #1b1e23; }
.knop-goud:hover { background: var(--goud-licht); transform: translateY(-1px); }
.knop-lijn { border: 1px solid rgba(246, 241, 232, .45); color: var(--creme); }
.knop-lijn:hover { border-color: var(--goud); color: var(--goud-licht); }
.pijl-link { color: #9a7438; font-weight: 600; text-decoration: none; }
.pijl-link:hover { text-decoration: underline; }

/* Kop */
.kop { position: fixed; inset: 0 0 auto; z-index: 20; transition: background .3s, box-shadow .3s; }
.kop.vast { background: rgba(27, 30, 35, .96); box-shadow: 0 1px 0 rgba(196, 154, 90, .25); }
.kop-rij { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 84px; }
.logo img { width: 150px; }
.menu { display: flex; align-items: center; gap: 30px; }
.menu a { color: rgba(246, 241, 232, .85); text-decoration: none; font-size: 15px; }
.menu a:not(.knop):hover, .menu a[aria-current] { color: var(--goud-licht); }
.menu a[aria-current] { box-shadow: 0 2px 0 var(--goud); padding-bottom: 3px; }
.menu .knop { color: #1b1e23; }
.menuknop { display: none; background: none; border: 1px solid rgba(246, 241, 232, .4); color: var(--creme); border-radius: 999px; padding: 8px 16px; font: inherit; cursor: pointer; }

/* Hero */
.hero { position: relative; min-height: min(92vh, 860px); background: var(--inkt); color: var(--creme); display: flex; align-items: center; overflow: hidden; padding: 120px 0 140px; }
.hero-video { position: absolute; inset: 0 0 0 auto; width: 68%; height: 100%; object-fit: cover; object-position: 60% 55%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 34%); mask-image: linear-gradient(90deg, transparent 0%, #000 34%); }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27,30,35,.55) 0%, rgba(27,30,35,0) 30%, rgba(27,30,35,0) 70%, rgba(27,30,35,.5) 100%); z-index: 1; pointer-events: none; }
.hero-tekst { position: relative; z-index: 2; }
.hero h1 { font-size: clamp(42px, 6.2vw, 84px); max-width: 9.5em; }
.gouden-streep { display: block; width: 72px; height: 2px; background: var(--goud); margin: 26px 0 22px; }
.hero-intro { max-width: 30em; font-size: 18px; color: rgba(246, 241, 232, .82); margin: 0 0 32px; }
.knoppen { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-bijschrift { position: absolute; right: 24px; bottom: 96px; z-index: 2; margin: 0; font-size: 12px; color: rgba(246, 241, 232, .6); }

/* Golven */
.golf { position: absolute; left: 0; width: 100%; display: block; pointer-events: none; z-index: 3; }
.golf-onder { bottom: -1px; height: 90px; }
.golf-onder path { fill: var(--creme); }
.golf-onder .golf-lijn { fill: none; stroke: var(--goud); stroke-width: 1.5; vector-effect: non-scaling-stroke; opacity: .7; }
.golf-boven { top: -69px; height: 70px; }
.golf-boven path { fill: var(--inkt); }
.donker .golf-onder { bottom: auto; top: calc(100% - 1px); height: 70px; }
.donker .golf-onder path { fill: var(--inkt); }

/* Secties */
.sectie { position: relative; padding: 96px 0; }
.licht { background: var(--creme); }
.kopje { text-align: center; margin-bottom: 44px; }
.kopje h2 { font-size: clamp(32px, 4vw, 46px); }

/* Projecten-carrousel */
.carrousel { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 18px; }
.baan { list-style: none; margin: 0; padding: 6px 2px 14px; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.baan::-webkit-scrollbar { display: none; }
.baan li { scroll-snap-align: start; }
.kaart { display: block; height: 100%; background: var(--papier); border: 1px solid var(--lijn); border-radius: 14px; overflow: hidden; text-decoration: none; box-shadow: 0 10px 30px -18px rgba(27, 30, 35, .35); transition: transform .25s, box-shadow .25s; }
.kaart:hover { transform: translateY(-4px); box-shadow: 0 18px 36px -18px rgba(27, 30, 35, .45); }
.kaart img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.kaart-tekst { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px 20px; }
.kaart-tekst strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 19px; line-height: 1.25; }
.kaart-tekst small { color: var(--grijs); font-size: 13.5px; }
.ico { flex: none; width: 26px; height: 26px; margin-top: 2px; fill: none; stroke: var(--goud); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.rond-knop { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--lijn); background: var(--creme-2); color: var(--inkt); font-size: 26px; line-height: 1; cursor: pointer; display: grid; place-items: center; padding: 0 0 3px; transition: background .2s; }
.rond-knop:hover { background: var(--goud); color: #1b1e23; border-color: var(--goud); }
.stippen { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.stippen span { width: 7px; height: 7px; border-radius: 50%; background: var(--lijn); transition: background .2s, width .2s; }
.stippen span.aan { background: var(--goud); width: 22px; border-radius: 4px; }

/* Donker blok */
.donker { background: var(--inkt); color: var(--creme); padding: 70px 0 60px; margin: 70px 0; overflow-x: visible; }
.werk-rij { display: grid; grid-template-columns: 340px 1fr; gap: 64px; align-items: center; }
.groot-getal { position: relative; width: 300px; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(196, 154, 90, .4); display: grid; place-content: center; text-align: center; font-family: var(--serif); }
.groot-getal::before { content: ""; position: absolute; inset: 14px; border-radius: 50%; border: 1px dashed rgba(196, 154, 90, .25); }
.getal { font-size: 150px; line-height: .9; color: var(--goud); font-weight: 300; }
.eenheid { font-size: 34px; color: var(--creme); }
.donker h2 { font-size: clamp(30px, 3.6vw, 44px); margin-bottom: 18px; }
.donker-tekst { color: rgba(246, 241, 232, .75); max-width: 38em; margin: 0 0 34px; }
.stappen { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 36px; max-width: 640px; }
.stappen li { display: flex; gap: 12px; align-items: flex-start; }
.stap-ico { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(196, 154, 90, .6); display: grid; place-items: center; }
.stap-ico svg { width: 22px; height: 22px; fill: none; stroke: var(--goud); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.stappen strong { display: block; font-size: 15px; font-weight: 600; }
.stappen small { color: rgba(246, 241, 232, .6); font-size: 13px; line-height: 1.4; display: block; }

/* Expertises */
.diensten { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); }
.diensten li + li { border-left: 1px solid var(--lijn); }
.diensten a { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 8px 22px 16px; text-decoration: none; }
.dienst-ico { width: 92px; height: 92px; border-radius: 50%; background: var(--papier); border: 1px solid var(--lijn); display: grid; place-items: center; margin-bottom: 8px; transition: border-color .25s, transform .25s; }
.dienst-ico svg { width: 46px; height: 46px; fill: none; stroke: var(--inkt); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; transition: stroke .25s; }
.diensten a:hover .dienst-ico { border-color: var(--goud); transform: translateY(-3px); }
.diensten a:hover .dienst-ico svg { stroke: var(--goud); }
.diensten strong { font-family: var(--serif); font-weight: 500; font-size: 19px; line-height: 1.25; }
.diensten small { color: var(--grijs); font-size: 13.5px; line-height: 1.5; }

/* Over DEPA */
.over { padding-top: 40px; padding-bottom: 140px; }
.over-rij { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.over-beeld { border-radius: 14px; box-shadow: 0 24px 50px -28px rgba(27, 30, 35, .5); }
.over h2 { font-size: clamp(30px, 3.6vw, 44px); margin-bottom: 20px; }
.lood { font-family: var(--serif); font-size: 21px; line-height: 1.45; }
.naam { font-family: var(--serif); font-size: 20px; margin-top: 26px; }
.naam span { display: block; font-family: var(--sans); font-size: 13px; color: var(--grijs); letter-spacing: .12em; text-transform: uppercase; }

/* Voet */
.voet { position: relative; background: var(--inkt); color: var(--creme); padding: 40px 0 0; }
.voet-rij { display: grid; grid-template-columns: 1.3fr 1fr 1fr; padding-bottom: 44px; }
.voet-rij > * { padding: 8px 40px; }
.voet-rij > * + * { border-left: 1px solid rgba(246, 241, 232, .14); }
.voet-rij > :first-child { padding-left: 0; }
.voet-cta h2 { font-size: clamp(30px, 3.4vw, 42px); margin-bottom: 14px; }
.voet-cta p { color: rgba(246, 241, 232, .7); margin: 0 0 24px; max-width: 28em; }
.voet-contact { list-style: none; margin: 0; display: grid; gap: 18px; align-content: center; }
.voet-contact li { display: flex; gap: 14px; align-items: flex-start; }
.voet-contact svg { flex: none; width: 22px; height: 22px; fill: none; stroke: var(--goud); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }
.voet-contact a { text-decoration: none; }
.voet-contact a:hover { color: var(--goud-licht); }
.voet-contact address { font-style: normal; }
.voet-merk { display: grid; align-content: center; justify-items: center; gap: 14px; text-align: center; }
.voet-merk img { width: 200px; }
.voet-merk p { margin: 0; font-size: 13px; color: rgba(246, 241, 232, .55); }
.voet-onder { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0 24px; border-top: 1px solid rgba(246, 241, 232, .12); font-size: 13px; color: rgba(246, 241, 232, .55); }
.voet-onder a { text-decoration: none; }
.voet-onder a:hover { color: var(--goud-licht); }

/* Tablet */
@media (max-width: 1080px) {
  .menu { gap: 20px; }
  .werk-rij { grid-template-columns: 1fr; gap: 40px; }
  .groot-getal { width: 220px; margin-inline: auto; }
  .getal { font-size: 110px; }
  .eenheid { font-size: 26px; }
  .stappen { grid-template-columns: repeat(2, 1fr); }
  .diensten { grid-template-columns: repeat(3, 1fr); row-gap: 30px; }
  .diensten li:nth-child(4) { border-left: 0; }
  .voet-rij { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .voet-cta { grid-column: 1 / -1; }
  .voet-rij > .voet-contact { border-left: 0; padding-left: 0; }
}

/* Mobiel */
@media (max-width: 860px) {
  .menuknop { display: block; }
  .menu { display: none; position: absolute; top: 76px; left: 16px; right: 16px; flex-direction: column; align-items: stretch; gap: 0; background: var(--inkt-2); border: 1px solid rgba(196, 154, 90, .3); border-radius: 14px; padding: 10px; }
  .menu.open { display: flex; }
  .menu a { padding: 12px 14px; }
  .menu a[aria-current] { box-shadow: none; color: var(--goud-licht); }
  .menu .knop { justify-content: center; margin-top: 8px; }
  .kop-rij { height: 76px; }
  .logo img { width: 124px; }
  .hero { min-height: 0; padding: 0 0 110px; flex-direction: column; align-items: stretch; }
  .hero-video { position: relative; inset: auto; width: 100%; height: auto; aspect-ratio: 4 / 3; -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent 100%); mask-image: linear-gradient(180deg, #000 60%, transparent 100%); }
  .hero-tekst { margin-top: -40px; }
  .hero-intro { font-size: 16.5px; }
  .hero-bijschrift { top: calc(75vw - 70px); bottom: auto; right: 16px; }
  .sectie { padding: 72px 0; }
  .carrousel { grid-template-columns: minmax(0, 1fr); }
  .rond-knop { display: none; }
  .baan { grid-auto-columns: 82%; gap: 16px; }
  .diensten { grid-template-columns: 1fr; row-gap: 0; }
  .diensten li + li { border-left: 0; border-top: 1px solid var(--lijn); }
  .diensten a { display: grid; grid-template-columns: 64px 1fr; column-gap: 18px; row-gap: 2px; text-align: left; align-items: center; padding: 18px 0; }
  .dienst-ico { width: 64px; height: 64px; margin: 0; grid-row: span 2; }
  .dienst-ico svg { width: 32px; height: 32px; }
  .diensten strong { align-self: end; }
  .diensten small { align-self: start; }
  .stappen { grid-template-columns: 1fr; }
  .over-rij { grid-template-columns: 1fr; gap: 32px; }
  .voet-rij { grid-template-columns: 1fr; }
  .voet-rij > * { padding: 0; border-left: 0 !important; }
  .voet-merk { justify-items: start; text-align: left; }
  .voet-onder { flex-direction: column; }
}

/* Achtergronddetails: papierstructuur, bouwtekeningen, kraan en bladtakken */
html { overflow-x: clip; }
.licht {
  background-color: var(--creme);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .38 0 0 0 0 .28 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.sectie, .voet { overflow-x: clip; }
.sectie > .binnen, .voet > .binnen { position: relative; z-index: 2; }
.deco { position: absolute; z-index: 0; pointer-events: none; user-select: none; height: auto; }
.d-tek-lo { width: 340px; left: -30px; top: 30px; opacity: .55; }
.d-tak-ro { width: 230px; right: -70px; top: 300px; transform: rotate(-150deg) scaleX(-1); }
.d-kraan { height: 96%; width: auto; aspect-ratio: 400 / 530; left: -240px; bottom: 0; opacity: .38; transform: scaleX(-1); }
.d-tek-goud { width: 380px; right: -40px; top: 0; opacity: .16; }
.d-tak-goud { width: 170px; right: 10px; bottom: -40px; transform: rotate(18deg); opacity: .9; }
.d-tak-lb { width: 210px; left: -70px; top: -10px; transform: rotate(40deg); }
.d-tek-rb { width: 320px; right: -40px; top: -20px; opacity: .35; transform: scaleX(-1); }
.d-tak-over { width: 190px; left: -60px; bottom: 90px; transform: rotate(70deg); }
.d-voet-tek { width: 360px; right: -40px; top: 10px; opacity: .1; }
.d-voet-tak { width: 170px; left: -40px; bottom: 50px; transform: rotate(25deg); opacity: .6; }
.donker .binnen { position: relative; z-index: 2; }
@media (max-width: 1080px) {
  .d-kraan { opacity: .18; }
  .d-tek-goud, .d-voet-tek { display: none; }
}
@media (max-width: 860px) {
  .d-tek-lo { width: 220px; left: -60px; top: 10px; opacity: .4; }
  .d-tak-ro { width: 150px; right: -60px; top: 120px; }
  .d-tak-lb { width: 140px; left: -60px; top: -20px; }
  .d-tek-rb { width: 200px; opacity: .25; }
  .d-kraan { height: 52%; left: -250px; top: auto; bottom: 0; opacity: .22; }
  .d-tak-goud { width: 110px; right: -20px; bottom: -20px; }
  .d-voet-tak, .d-tak-over { display: none; }
}
