/* Lokhorst Langbroek - site.css
   Huisstijl: navy #050D80 uit het logo, rechte hoeken, condensed kapitalen.
   Alleen licht thema: het logo bestaat alleen als navy-op-licht. */

@font-face { font-family: "Barlow"; src: url("../fonts/barlow-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  color-scheme: light;
  --navy: #050d80;
  --navy-deep: #070b45;
  --ink: #141830;
  --muted: #4b5168;
  --line: #d8dbe5;
  --paper: #f2f3f7;
  --bg: #fcfcfd;
  --accent: #f2b705;
  --accent-ink: #050d80;

  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow", system-ui, sans-serif;

  --wrap: 1360px;
  --gutter: clamp(1rem, 4vw, 3rem);
  --header-h: 72px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 1.125rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 700; line-height: .95; text-transform: uppercase; letter-spacing: -.005em; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
.icon { width: 1.15em; height: 1.15em; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(4rem, 9vw, 8rem); }
.section--paper { background: var(--paper); }
.lead { font-size: clamp(1.2rem, 1.6vw, 1.4rem); line-height: 1.5; color: var(--ink); }
.prose { max-width: 62ch; color: var(--muted); }
.prose strong { color: var(--ink); font-weight: 600; }
.h-xl { font-size: clamp(2.75rem, 6.4vw, 5.75rem); }
.h-lg { font-size: clamp(2.25rem, 4.4vw, 3.75rem); }
.h-md { font-size: clamp(1.6rem, 2.4vw, 2.1rem); }
.navy { color: var(--navy); }

/* ---------- knoppen ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  min-height: 52px; padding: .8rem 1.4rem;
  font: 600 1.05rem/1 var(--display); letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap; border: 2px solid transparent; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .12s var(--ease);
}
.btn:active { transform: translateY(1px) scale(.98); }
.btn .icon { transition: transform .25s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--accent:hover { background: #ffc81f; }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-deep); }
.btn--ghost-light { border-color: rgb(255 255 255 / .7); color: #fff; }
.btn--ghost-light:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn--ghost { border-color: var(--navy); color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: #fff; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font: 600 1.05rem/1 var(--display); letter-spacing: .06em; text-transform: uppercase;
  color: var(--navy); text-decoration: none; padding-block: .5rem;
  background: linear-gradient(var(--accent), var(--accent)) 0 100% / 0 3px no-repeat;
  transition: background-size .35s var(--ease);
}
.link-arrow:hover { background-size: 100% 3px; }
.link-arrow .icon { transition: transform .25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40; height: var(--header-h);
  background: rgb(252 252 253 / .96); backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.site-header.is-stuck { border-color: var(--line); box-shadow: 0 6px 24px -18px rgb(5 13 128 / .5); }
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: block; flex: none; }
.brand img { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: .25rem; }
.nav__list { display: flex; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.nav__link {
  position: relative; display: inline-flex; align-items: center; gap: .3rem; height: 44px; padding: 0 .9rem;
  font: 600 1.05rem/1 var(--display); letter-spacing: .07em; text-transform: uppercase;
  color: var(--navy); text-decoration: none; background: none; border: 0; cursor: pointer;
}
.nav__link::after {
  content: ""; position: absolute; left: .9rem; right: .9rem; bottom: 6px; height: 3px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav__link:hover::after, .nav__link[aria-current="page"]::after, .nav__item--active > .nav__link::after { transform: scaleX(1); }
.nav__link .caret { width: .8em; height: .8em; transform: rotate(90deg); transition: transform .25s var(--ease); }
.nav__item { position: relative; }
.nav__sub {
  position: absolute; top: 100%; left: 0; min-width: 300px; margin: 0; padding: .5rem; list-style: none;
  background: #fff; border: 1px solid var(--line); box-shadow: 0 24px 48px -24px rgb(5 13 128 / .35);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .2s var(--ease), transform .25s var(--ease), visibility 0s .25s;
}
.nav__item:hover .nav__sub, .nav__item:focus-within .nav__sub, .nav__item.is-open .nav__sub {
  opacity: 1; visibility: visible; transform: none; transition-delay: 0s;
}
.nav__item:hover .caret, .nav__item.is-open .caret { transform: rotate(-90deg); }
.nav__sub a {
  display: block; padding: .75rem .9rem; font-weight: 500; text-decoration: none; color: var(--ink);
  transition: background-color .15s, color .15s;
}
.nav__sub a:hover, .nav__sub a[aria-current="page"] { background: var(--paper); color: var(--navy); }
.nav__cta { margin-left: .75rem; }
.nav__phone { display: none; }
.menu-toggle { display: none; }

@media (max-width: 1023px) {
  .nav__list, .nav__cta { display: none; }
  .nav__phone {
    display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px;
    color: var(--navy); text-decoration: none;
  }
  .nav__phone .icon { width: 24px; height: 24px; }
  .menu-toggle {
    display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px;
    background: var(--navy); color: #fff; border: 0; cursor: pointer;
  }
  .menu-toggle .icon { width: 26px; height: 26px; }
  .menu-toggle .icon-close { display: none; }
  .menu-open .menu-toggle .icon-open { display: none; }
  .menu-open .menu-toggle .icon-close { display: block; }
}

.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 39; overflow-y: auto;
  background: var(--navy); color: #fff; padding: 2rem var(--gutter) 3rem;
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path .5s var(--ease-in-out), visibility 0s .5s;
}
.menu-open .mobile-menu { clip-path: inset(0); visibility: visible; transition-delay: 0s; }
.menu-open { overflow: hidden; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu > ul > li { border-bottom: 1px solid rgb(255 255 255 / .15); }
.mobile-menu a { text-decoration: none; }
.mobile-menu > ul > li > a {
  display: block; padding: 1rem 0; font: 700 clamp(2.2rem, 9vw, 3rem)/1 var(--display); text-transform: uppercase;
}
.mobile-menu .sub { padding: 0 0 1rem; }
.mobile-menu .sub a { display: block; padding: .5rem 0; color: rgb(255 255 255 / .8); font-size: 1.15rem; }
.mobile-menu__contact { margin-top: 2rem; display: grid; gap: .75rem; font-size: 1.15rem; }
.mobile-menu__contact a { display: inline-flex; align-items: center; gap: .6rem; }
.mobile-menu > ul > li { opacity: 0; transform: translateY(12px); transition: opacity .4s var(--ease), transform .5s var(--ease); }
.menu-open .mobile-menu > ul > li { opacity: 1; transform: none; }
.menu-open .mobile-menu > ul > li:nth-child(2) { transition-delay: .05s; }
.menu-open .mobile-menu > ul > li:nth-child(3) { transition-delay: .1s; }
.menu-open .mobile-menu > ul > li:nth-child(4) { transition-delay: .15s; }
.menu-open .mobile-menu > ul > li:nth-child(5) { transition-delay: .2s; }
@media (min-width: 1024px) { .mobile-menu { display: none; } }

/* ---------- home hero ---------- */
.hero {
  position: relative; min-height: min(calc(100dvh - var(--header-h)), 940px); min-height: max(560px, min(calc(100dvh - var(--header-h)), 940px));
  display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--navy-deep);
}
.hero__slides { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s var(--ease-in-out); }
.hero__slide.is-active { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); }
.hero__slide.is-active img { animation: kenburns 9s var(--ease) forwards; }
@keyframes kenburns { from { transform: scale(1.1); } to { transform: scale(1); } }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to top, rgb(7 11 69 / .88) 0%, rgb(7 11 69 / .45) 38%, rgb(7 11 69 / 0) 70%),
    linear-gradient(to right, rgb(7 11 69 / .45), rgb(7 11 69 / 0) 60%);
}
.hero__content { position: relative; z-index: 1; padding-block: 3rem clamp(3rem, 7vw, 5.5rem); }
.hero__title { font-size: clamp(3.6rem, 12vw, 10.5rem); line-height: .86; letter-spacing: -.01em; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero__title .line > span { display: block; }
.hero__rotator {
  position: relative; height: 1.5em; margin: 1.1rem 0 2rem; overflow: hidden;
  font: 600 clamp(1.3rem, 2.4vw, 1.9rem)/1.5 var(--display); letter-spacing: .04em; text-transform: uppercase;
}
.hero__rotator span {
  position: absolute; left: 0; top: 0; display: inline-flex; align-items: center; gap: .7rem; white-space: nowrap;
  opacity: 0; transform: translateY(100%); transition: opacity .6s var(--ease), transform .8s var(--ease);
}
.hero__rotator span::before { content: ""; width: .55em; height: .55em; background: var(--accent); flex: none; }
.hero__rotator span.is-active { opacity: 1; transform: none; }
.hero__rotator span.is-leaving { opacity: 0; transform: translateY(-100%); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero__progress { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; height: 4px; background: rgb(255 255 255 / .18); }
.hero__progress i { display: block; height: 100%; width: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }
.hero__progress i.is-running { animation: progress var(--slide-ms, 6500ms) linear forwards; }
@keyframes progress { to { transform: scaleX(1); } }
@media (max-width: 640px) {
  .hero__rotator { font-size: 1.15rem; height: 2.9em; margin-bottom: 1.25rem; }
  .hero__rotator span { white-space: normal; align-items: flex-start; right: 0; }
  .hero__rotator span::before { margin-top: .45em; }
}

/* intro-animatie hero (alleen met JS) */
.js .hero__title .line > span { transform: translateY(105%); }
.js .hero.is-ready .hero__title .line > span { transform: none; transition: transform 1.1s var(--ease); }
.js .hero.is-ready .hero__title .line:nth-child(2) > span { transition-delay: .12s; }
.js .hero__actions, .js .hero__rotator { opacity: 0; transform: translateY(12px); }
.js .hero.is-ready .hero__rotator { opacity: 1; transform: none; transition: opacity .8s .35s var(--ease), transform .8s .35s var(--ease); }
.js .hero.is-ready .hero__actions { opacity: 1; transform: none; transition: opacity .8s .5s var(--ease), transform .8s .5s var(--ease); }

/* ---------- pagina-hero ---------- */
.page-hero { position: relative; min-height: clamp(380px, 58vh, 620px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--navy-deep); }
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.js .page-hero > img { transform: scale(1.08); transition: transform 2.4s var(--ease); }
.js .page-hero.is-ready > img { transform: none; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(7 11 69 / .85), rgb(7 11 69 / .2) 55%, rgb(7 11 69 / .05)); }
.page-hero .wrap { position: relative; z-index: 1; padding-block: 3rem clamp(2.5rem, 5vw, 4rem); }
.page-hero h1 { font-size: clamp(3rem, 8.5vw, 7.5rem); line-height: .88; max-width: 14ch; }
.page-hero p { margin-top: 1rem; max-width: 46ch; font-size: clamp(1.1rem, 1.6vw, 1.35rem); color: rgb(255 255 255 / .9); }
.crumbs { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1rem; padding: 0; list-style: none; font: 600 .95rem/1 var(--display); letter-spacing: .08em; text-transform: uppercase; color: rgb(255 255 255 / .75); }
.crumbs li + li::before { content: "/"; margin-right: .4rem; opacity: .6; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: #fff; }

/* ---------- home: intro ---------- */
.intro { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.intro__text { grid-column: 1 / span 7; }
.intro__text h2 { margin-bottom: 2rem; }
.intro__text .prose { margin-bottom: 2rem; }
.intro__media { grid-column: 9 / span 4; margin-top: clamp(0rem, 8vw, 7rem); position: relative; }
.intro__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.since {
  position: absolute; left: -2.5rem; bottom: -2rem; background: var(--navy); color: #fff; padding: 1.1rem 1.4rem 1.2rem;
  font-family: var(--display); text-transform: uppercase;
}
.since b { display: block; font-size: clamp(3rem, 5vw, 4.25rem); line-height: .85; }
.since small { font-size: 1rem; font-weight: 600; letter-spacing: .1em; color: rgb(255 255 255 / .8); }
@media (max-width: 860px) {
  .intro { grid-template-columns: 1fr; }
  .intro__text, .intro__media { grid-column: auto; }
  .intro__media { margin: 0 0 2rem; max-width: 520px; }
  .since { left: auto; right: 0; bottom: -1.25rem; }
}

/* ---------- home: diensten-bento ---------- */
.section-head { margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-head h2 + p { margin-top: 1rem; max-width: 56ch; color: var(--muted); }
.services { display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: repeat(2, minmax(300px, 1fr)); gap: 1rem; }
.service-tile {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 300px;
  padding: clamp(1.25rem, 3vw, 2.25rem); color: #fff; text-decoration: none; overflow: hidden; isolation: isolate;
  background: var(--navy-deep);
}
.service-tile:first-child { grid-row: span 2; min-height: 560px; }
.service-tile img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.service-tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgb(7 11 69 / .9), rgb(7 11 69 / .35) 50%, rgb(7 11 69 / .05)); transition: opacity .4s; }
.service-tile:hover img { transform: scale(1.045); }
.service-tile h3 { font-size: clamp(2rem, 3.6vw, 3.25rem); }
.service-tile p { max-width: 44ch; margin: .75rem 0 1.1rem; color: rgb(255 255 255 / .88); font-size: 1.05rem; }
.service-tile .more { display: inline-flex; align-items: center; gap: .5rem; font: 600 1rem/1 var(--display); letter-spacing: .08em; text-transform: uppercase; }
.service-tile .more .icon { transition: transform .3s var(--ease); }
.service-tile:hover .more .icon { transform: translateX(5px); }
.service-tile .more::before { content: ""; width: 2.6rem; height: 3px; background: var(--accent); transform: scaleX(.62); transform-origin: left; transition: transform .35s var(--ease); }
.service-tile:hover .more::before { transform: none; }
@media (max-width: 860px) {
  .services { grid-template-columns: 1fr; grid-template-rows: none; }
  .service-tile, .service-tile:first-child { grid-row: auto; min-height: 380px; }
}

/* ---------- marquee ---------- */
.marquee { overflow: hidden; background: var(--navy); color: #fff; padding-block: 1.6rem; }
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee ul { display: flex; align-items: center; margin: 0; padding: 0; list-style: none; }
.marquee li { display: flex; align-items: center; gap: 2.2rem; padding-right: 2.2rem; white-space: nowrap; font: 700 clamp(1.8rem, 3.6vw, 3rem)/1 var(--display); text-transform: uppercase; }
.marquee li::after { content: ""; width: .4em; height: .4em; background: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- projectstrip ---------- */
.strip-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.strip-nav { display: flex; gap: .5rem; }
.strip-nav button {
  width: 52px; height: 52px; display: inline-flex; align-items: center; justify-content: center;
  border: 2px solid var(--navy); background: transparent; color: var(--navy); cursor: pointer;
  transition: background-color .2s, color .2s, transform .12s;
}
.strip-nav button:hover { background: var(--navy); color: #fff; }
.strip-nav button:active { transform: scale(.96); }
.strip-nav button:disabled { opacity: .3; pointer-events: none; }
.strip {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(270px, 30vw, 420px); gap: 1rem;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
  padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
  scroll-padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
}
.strip::-webkit-scrollbar { display: none; }
.strip > * { scroll-snap-align: start; }

.project-card { display: block; text-decoration: none; color: var(--ink); }
.project-card__img { overflow: hidden; background: var(--paper); aspect-ratio: 4 / 3; }
.project-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.project-card:hover .project-card__img img { transform: scale(1.05); }
.project-card__meta { padding-top: 1rem; }
.project-card__meta small { display: block; margin-bottom: .35rem; font: 600 .9rem/1 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.project-card h3 { font-size: clamp(1.5rem, 2.2vw, 2rem); color: var(--navy); display: inline; background: linear-gradient(var(--accent), var(--accent)) 0 100% / 0 3px no-repeat; transition: background-size .4s var(--ease); }
.project-card:hover h3 { background-size: 100% 3px; }

/* ---------- CTA-band ---------- */
.cta { position: relative; background: var(--navy); color: #fff; overflow: hidden; isolation: isolate; }
.cta > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: .22; mix-blend-mode: luminosity; }
.cta .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: end; padding-block: clamp(4rem, 9vw, 7.5rem); }
.cta h2 { font-size: clamp(3rem, 7vw, 6rem); line-height: .88; }
.cta h2 span { color: var(--accent); }
.cta__lines { display: grid; gap: .25rem; margin-bottom: 1.75rem; }
.cta__lines a {
  display: flex; align-items: center; gap: .9rem; padding: .7rem 0; border-bottom: 1px solid rgb(255 255 255 / .2);
  text-decoration: none; font: 600 clamp(1.4rem, 2.4vw, 2rem)/1.1 var(--display); letter-spacing: .02em;
  transition: color .2s;
}
.cta__lines a:hover { color: var(--accent); }
.cta__lines a .icon { transition: transform .3s var(--ease); }
.cta__lines a:hover .icon { transform: translateX(4px); }
.cta__lines .icon { width: 1em; height: 1em; color: var(--accent); }
.cta__lines small { margin-left: auto; font: 500 .95rem/1 var(--body); color: rgb(255 255 255 / .7); letter-spacing: 0; }
@media (max-width: 860px) { .cta .wrap { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer { background: var(--paper); color: var(--muted); padding-block: clamp(3.5rem, 6vw, 5rem) 2rem; font-size: 1rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; }
.footer-grid h4 { margin-bottom: 1.1rem; font-size: 1.15rem; letter-spacing: .08em; color: var(--navy); }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer-grid a { text-decoration: none; transition: color .15s; }
.footer-grid a:hover { color: var(--navy); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.footer-brand img { height: 46px; width: auto; margin-bottom: 1.25rem; }
.footer-brand address { font-style: normal; line-height: 1.7; }
.footer-contact a { display: inline-flex; align-items: center; gap: .55rem; }
.footer-contact .icon { color: var(--navy); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: .95rem; }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: var(--navy); }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- binnenpagina-blokken ---------- */
.split { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(1.5rem, 4vw, 4.5rem); align-items: center; }
.split__text { grid-column: 1 / span 6; }
.split__media { grid-column: 8 / span 5; }
.split--flip .split__text { grid-column: 7 / span 6; grid-row: 1; }
.split--flip .split__media { grid-column: 1 / span 5; grid-row: 1; }
.split__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.split__text h2 { margin-bottom: 1.5rem; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split__text, .split__media, .split--flip .split__text, .split--flip .split__media { grid-column: auto; grid-row: auto; }
  .split__media img { aspect-ratio: 4 / 3; }
}

.sticky-split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 5vw, 6rem); align-items: start; }
.sticky-split > :first-child { position: sticky; top: calc(var(--header-h) + 2rem); }
.sticky-split .prose { font-size: 1.2rem; }
.sticky-split .prose p:first-child { color: var(--ink); font-size: clamp(1.3rem, 1.8vw, 1.55rem); line-height: 1.45; }
@media (max-width: 860px) { .sticky-split { grid-template-columns: 1fr; } .sticky-split > :first-child { position: static; } }

.callout { display: flex; gap: .9rem; margin-top: 2rem; padding: 1.5rem 1.75rem; background: var(--paper); color: var(--navy); font: 700 clamp(1.35rem, 2vw, 1.6rem)/1.15 var(--display); text-transform: uppercase; }
.callout::before { content: ""; width: .5em; height: .5em; margin-top: .25em; background: var(--accent); flex: none; }

/* foto-mozaïek */
.mosaic { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: clamp(140px, 17vw, 240px); gap: .75rem; }
.mosaic > * { grid-column: span 2; overflow: hidden; background: var(--paper); }
.mosaic > :nth-child(6n + 1) { grid-column: span 4; grid-row: span 2; }
.mosaic > :nth-child(6n + 4) { grid-column: span 3; }
.mosaic > :nth-child(6n + 5) { grid-column: span 3; }
.mosaic--4 > :nth-child(1) { grid-column: span 4; grid-row: span 2; }
.mosaic--4 > :nth-child(2), .mosaic--4 > :nth-child(3) { grid-column: span 2; grid-row: span 1; }
.mosaic--4 > :nth-child(4) { grid-column: span 6; grid-row: span 2; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.mosaic button { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.mosaic button:hover img { transform: scale(1.04); }
@media (max-width: 700px) {
  .mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .mosaic > *, .mosaic > :nth-child(n), .mosaic--4 > :nth-child(n) { grid-column: span 1; grid-row: span 1; }
  .mosaic > :nth-child(3n + 1), .mosaic--4 > :nth-child(1) { grid-column: span 2; grid-row: span 2; }
}

/* takenlijst als tegels */
.task-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.task-grid > * {
  display: flex; align-items: flex-start; gap: .9rem; min-height: 120px; padding: 1.4rem 1.25rem;
  background: var(--bg); color: var(--ink); text-decoration: none;
  font: 700 clamp(1.25rem, 1.7vw, 1.5rem)/1.05 var(--display); text-transform: uppercase;
  transition: background-color .2s, color .2s;
}
.task-grid > *::before { content: ""; width: .5em; height: .5em; margin-top: .22em; background: var(--accent); flex: none; }
.task-grid a { position: relative; color: var(--navy); }
.task-grid a:hover { background: var(--navy); color: #fff; }
.task-grid a .icon { margin-left: auto; opacity: .55; }
@media (max-width: 960px) { .task-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .task-grid { grid-template-columns: 1fr; } .task-grid > * { min-height: 0; } }

/* statement */
.statement { position: relative; color: #fff; background: var(--navy-deep); overflow: hidden; isolation: isolate; }
.statement > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.statement::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgb(7 11 69 / .92) 25%, rgb(7 11 69 / .55)); }
.statement .wrap { padding-block: clamp(5rem, 11vw, 9rem); }
.statement h2 { font-size: 1.15rem; letter-spacing: .14em; color: var(--accent); margin-bottom: 1.5rem; }
.statement blockquote { margin: 0; max-width: 24ch; font: 700 clamp(2.2rem, 4.8vw, 4.25rem)/.98 var(--display); text-transform: uppercase; text-wrap: balance; }

/* dienstenrijen (wat wij doen) */
.rows { border-top: 2px solid var(--navy); }
.row {
  display: grid; grid-template-columns: 1.1fr 1.3fr 260px; gap: clamp(1.25rem, 3vw, 3rem); align-items: center;
  padding-block: clamp(1.75rem, 3vw, 2.5rem); border-bottom: 1px solid var(--line); color: inherit; text-decoration: none;
}
.row h3 { font-size: clamp(2rem, 3.8vw, 3.4rem); color: var(--navy); transition: transform .4s var(--ease); }
.row p { color: var(--muted); }
.row figure { margin: 0; overflow: hidden; aspect-ratio: 3 / 2; }
.row figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.row .link-arrow { margin-top: .75rem; }
.row:hover h3 { transform: translateX(.5rem); }
.row:hover figure img { transform: scale(1.06); }
.row:hover .link-arrow { background-size: 100% 3px; }
@media (max-width: 860px) {
  .row { grid-template-columns: 1fr; }
  .row figure { order: -1; }
}

/* dienstengroepen (agrarisch) */
.groups { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.group { padding: clamp(1.5rem, 3vw, 2.25rem); background: var(--bg); border-top: 4px solid var(--navy); }
.group h3 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); color: var(--navy); margin-bottom: 1.25rem; }
.group ul { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.group li { padding: .5rem .85rem; background: var(--paper); font-weight: 500; font-size: 1.05rem; }
.groups--paper .group { background: var(--bg); }
.groups--paper .group li { background: var(--paper); }
@media (max-width: 760px) { .groups { grid-template-columns: 1fr; } }

/* machinepark */
.kit { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.kit > div { padding: clamp(1.5rem, 3vw, 2.25rem); background: var(--navy); color: #fff; }
.kit > div:nth-child(2) { background: var(--bg); color: var(--ink); border: 1px solid var(--line); }
.kit > div:nth-child(3) { background: var(--accent); color: var(--navy); }
.kit h3 { font-size: clamp(1.5rem, 2.2vw, 2rem); margin-bottom: 1rem; }
.kit p { font-size: 1.05rem; }
.kit ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .45rem; font-size: 1.05rem; }
.kit li { display: flex; gap: .6rem; }
.kit li::before { content: ""; width: .45em; height: .45em; margin-top: .55em; background: currentColor; flex: none; opacity: .7; }
@media (max-width: 860px) { .kit { grid-template-columns: 1fr; } }

/* projectoverzicht */
.project-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem) 1rem; }
.project-grid > * { grid-column: span 2; }
.project-grid > :nth-child(1) { grid-column: span 4; grid-row: span 2; }
.project-grid > :nth-child(1) .project-card__img { aspect-ratio: auto; height: calc(100% - 4.5rem); min-height: 360px; }
.project-grid > :nth-child(5), .project-grid > :nth-child(6) { grid-column: span 3; }
@media (max-width: 960px) {
  .project-grid { grid-template-columns: 1fr 1fr; }
  .project-grid > *, .project-grid > :nth-child(n) { grid-column: span 1; grid-row: auto; }
  .project-grid > :nth-child(1) { grid-column: span 2; }
  .project-grid > :nth-child(1) .project-card__img { aspect-ratio: 16 / 10; height: auto; min-height: 0; }
}
@media (max-width: 560px) { .project-grid { grid-template-columns: 1fr; } .project-grid > :nth-child(1) { grid-column: auto; } }

/* projectdetail */
.project-intro { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.facts { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--navy); }
.facts li { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.facts small { display: block; margin-bottom: .3rem; font: 600 .9rem/1 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.facts strong { font: 700 1.4rem/1.1 var(--display); text-transform: uppercase; color: var(--navy); }
.steps { margin: 1.5rem 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.steps li { display: flex; gap: .7rem; align-items: center; padding: .85rem 1rem; background: var(--paper); color: var(--ink); font-weight: 500; }
.steps li::before { content: ""; width: .5em; height: .5em; background: var(--accent); flex: none; }
@media (max-width: 860px) { .project-intro { grid-template-columns: 1fr; } .steps { grid-template-columns: 1fr; } }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.pager a { display: flex; flex-direction: column; gap: .5rem; padding: 1.75rem; text-decoration: none; background: var(--paper); transition: background-color .25s, color .25s; }
.pager a:last-child { text-align: right; align-items: flex-end; }
.pager small { font: 600 .9rem/1 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pager strong { font: 700 clamp(1.4rem, 2.6vw, 2.2rem)/1 var(--display); text-transform: uppercase; color: var(--navy); }
.pager a:hover { background: var(--navy); }
.pager a:hover small, .pager a:hover strong { color: #fff; }
@media (max-width: 560px) { .pager { grid-template-columns: 1fr; } .pager a:last-child { text-align: left; align-items: flex-start; } }

/* contact */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.contact-list { margin: 0 0 2rem; padding: 0; list-style: none; border-top: 2px solid var(--navy); }
.contact-list li { display: grid; grid-template-columns: 2.5rem 1fr; gap: .5rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.contact-list .icon { width: 1.6rem; height: 1.6rem; color: var(--navy); margin-top: .15rem; }
.contact-list small { display: block; margin-bottom: .2rem; font: 600 .9rem/1 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.contact-list a, .contact-list span { font: 600 clamp(1.3rem, 2vw, 1.6rem)/1.25 var(--display); color: var(--navy); text-decoration: none; letter-spacing: .01em; }
.contact-list a:hover { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.map { position: relative; aspect-ratio: 4 / 3; background: var(--paper); border: 1px solid var(--line); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.4) contrast(1.05); }
.map__load { position: absolute; inset: 0; display: grid; place-content: center; gap: 1rem; padding: 1.5rem; text-align: center; color: var(--muted); font-size: 1rem; }
.map__load .btn { justify-self: center; }

.form-card { padding: clamp(1.5rem, 4vw, 3rem); background: var(--paper); }
.form-card h2 { margin-bottom: .75rem; }
.form-card > p { color: var(--muted); margin-bottom: 2rem; }
.field { display: grid; gap: .5rem; margin-bottom: 1.25rem; }
.field label { font: 600 1rem/1 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.field label span { color: #b42318; }
.field input, .field textarea {
  width: 100%; padding: .9rem 1rem; font: 400 1.1rem/1.4 var(--body); color: var(--ink);
  background: #fff; border: 1px solid #a9aec0; border-radius: 0; transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgb(5 13 128 / .18); }
.field textarea { min-height: 160px; resize: vertical; }
.field .err { display: none; font-size: .95rem; color: #b42318; }
.field.is-invalid input, .field.is-invalid textarea { border-color: #b42318; }
.field.is-invalid .err { display: block; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.form-note { margin-top: 1rem; font-size: .95rem; color: var(--muted); }
.form-success { display: none; padding: 1.5rem; border-top: 4px solid var(--navy); background: #fff; }
.form-success h3 { font-size: 1.8rem; color: var(--navy); margin-bottom: .5rem; }
.is-sent .form-success { display: block; }
.is-sent form { display: none; }
@media (max-width: 960px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

/* lightbox */
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgb(7 11 69 / .96); color: #fff; }
.lightbox::backdrop { background: rgb(7 11 69 / .6); }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr auto; animation: fade .3s var(--ease); }
@keyframes fade { from { opacity: 0; } }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; padding: 1rem var(--gutter); font: 600 1rem/1 var(--display); letter-spacing: .1em; text-transform: uppercase; }
.lightbox__stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 var(--gutter); }
.lightbox__stage img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox button { width: 52px; height: 52px; display: inline-flex; align-items: center; justify-content: center; border: 2px solid rgb(255 255 255 / .4); background: transparent; color: #fff; cursor: pointer; transition: background-color .2s, color .2s; }
.lightbox button:hover { background: #fff; color: var(--navy); }
.lightbox__nav { display: flex; justify-content: center; gap: .5rem; padding: 1rem; }

/* 404 */
.notfound { min-height: 60vh; display: grid; align-content: center; }
.notfound b { display: block; font: 700 clamp(7rem, 22vw, 16rem)/.8 var(--display); color: var(--navy); }

/* ---------- scroll-onthulling ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="mask"] { opacity: 1; transform: none; clip-path: inset(0 0 100% 0); transition: clip-path 1.2s var(--ease-in-out); }
.js [data-reveal="mask"].is-in { clip-path: inset(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; }
  .marquee__track ul[aria-hidden] { display: none; }
  .hero__slide.is-active img { animation: none; transform: none; }
}
