@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}
@font-face {
  font-family: "Staatliches";
  src: url("../fonts/staatliches-latin.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
  --green: #54b435;
  --green-dark: #2f7d2f;
  --navy: #0f172a;
  --text: #2f3b40;
  --muted: #5b676c;
  --light: #edfbe2;
  --grey: #f5f7f6;
  --line: #dfe5e2;
  --head: "Staatliches", Impact, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font: 400 16px/1.65 "Montserrat", system-ui, sans-serif;
  color: var(--text);
  background: #fff;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-dark); }
h1, h2, h3 { color: var(--navy); line-height: 1.15; margin: 0 0 .5em; }

.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

/* Kopbalk en header */
.topbar { background: var(--green); color: #fff; font-size: 13px; font-weight: 700; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; }
.topbar a { color: #fff; text-decoration: none; letter-spacing: .04em; white-space: nowrap; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff; border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; }
.logo img { width: 200px; }
.nav { display: flex; align-items: center; gap: 24px; font-weight: 600; font-size: 15px; }
.nav a { color: var(--navy); text-decoration: none; }
.nav a:hover { color: var(--green-dark); }
.btn {
  display: inline-block; background: var(--green); color: #fff !important;
  padding: 9px 18px; border-radius: 4px; text-decoration: none;
}
.btn:hover { background: var(--green-dark); }

/* Hero */
.hero { background: linear-gradient(#fff, var(--grey)); }
.hero img { width: 100%; }

/* Secties */
.section { padding: 72px 0; }
.section.alt { background: var(--grey); }
.title { font-family: var(--head); font-weight: 400; font-size: clamp(34px, 5vw, 48px); letter-spacing: .01em; }
.eyebrow { margin: 0 0 4px; font-weight: 700; font-size: 14px; color: var(--green-dark); text-transform: uppercase; letter-spacing: .06em; }
.hint { margin: -8px 0 32px; color: var(--muted); font-size: 14px; }

/* Expertises */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; border-radius: 4px; margin-bottom: 22px; }
.card h3 {
  font-family: var(--head); font-weight: 400; font-size: 28px;
  padding-bottom: 14px; margin-bottom: 8px; position: relative;
}
.card h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 40px; height: 3px; background: var(--green); }
details { border-bottom: 1px solid var(--line); }
summary {
  list-style: none; cursor: pointer;
  padding: 12px 0 12px 22px; position: relative;
  font-weight: 700; font-size: 14px; color: var(--navy);
}
summary::-webkit-details-marker { display: none; }
summary::before {
  content: ""; position: absolute; left: 4px; top: 18px;
  border: 5px solid transparent; border-left-color: var(--green);
  transition: transform .2s;
  transform-origin: 2px 5px;
}
details[open] summary::before { transform: rotate(90deg); }
summary:hover { color: var(--green-dark); }
details p { margin: 0 0 14px 22px; font-size: 14px; color: var(--muted); }

/* Over ons */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about img { border-radius: 4px; }
.facts { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-wrap: wrap; gap: 10px; }
.facts li {
  background: var(--light); color: var(--green-dark); font-weight: 700; font-size: 14px;
  padding: 6px 14px; border-radius: 999px;
}
.facts strong { color: var(--navy); }
.lead { font-size: 18px; color: var(--navy); }

/* Sectoren */
.sectors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 24px; }
.sector { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--green); border-radius: 4px; padding: 24px; }
.sector svg {
  width: 40px; height: 40px; margin-bottom: 12px;
  fill: none; stroke: var(--green); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.sector h3 { font-size: 18px; }
.sector p { margin: 0; font-size: 14px; color: var(--muted); }

/* Contact */
.cta { background: var(--light); padding: 64px 0; }
.contact { display: grid; grid-template-columns: 3fr 2fr; gap: 40px; align-items: center; }
.cta .title a { color: var(--green-dark); text-decoration: none; white-space: nowrap; }
.cta p { margin: 0; }
address { font-style: normal; background: #fff; padding: 24px 28px; border-radius: 4px; line-height: 1.8; }
address strong { color: var(--navy); }
.hours { color: var(--muted); font-size: 14px; }
.nowrap { white-space: nowrap; }

/* Footer */
.site-footer { background: var(--navy); color: #c9d1d6; padding: 48px 0 32px; font-size: 14px; }
.site-footer strong { color: #fff; font-family: var(--head); font-weight: 400; font-size: 24px; letter-spacing: .02em; }
.site-footer p { max-width: 720px; }
.site-footer a { color: #fff; }
.legal { border-top: 1px solid #26314a; padding-top: 20px; margin-top: 28px; max-width: none !important; }

/* Cookiebanner */
.link-button {
  padding: 0; border: 0; background: none;
  color: inherit; font: inherit; text-decoration: underline; cursor: pointer;
}
.site-footer .link-button { color: #fff; }
.page .link-button { color: var(--green-dark); }
.consent {
  position: fixed; left: 16px; bottom: 16px; z-index: 90;
  width: min(420px, calc(100% - 32px));
  padding: 22px; background: #fff;
  border: 1px solid var(--line); border-top: 4px solid var(--green); border-radius: 4px;
  box-shadow: 0 24px 60px -16px rgba(15, 23, 42, .4);
  font-size: 14px;
}
.consent[hidden] { display: none; }
.consent p { margin: 0 0 16px; }
.consent strong { display: block; margin-bottom: 4px; color: var(--navy); font-size: 16px; }
.consent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.consent .btn { border: 0; font: inherit; font-weight: 700; cursor: pointer; padding: 11px 16px; }
.consent [data-consent=nee] { background: var(--grey); color: var(--navy) !important; }
.consent [data-consent=nee]:hover { background: var(--line); }

/* Privacypagina */
.page { padding: 56px 0 72px; }
.page .wrap { max-width: 760px; }
.page h2 { font-size: 20px; margin-top: 2em; }

@media (max-width: 960px) {
  .nav a:not(.btn) { display: none; }
  .cards { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .card img { aspect-ratio: 4 / 3; }
  .about, .contact { grid-template-columns: 1fr; gap: 32px; }
  .sectors { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .topbar span { display: none; }
  .topbar .wrap { justify-content: center; }
  .logo img { width: 160px; }
  .section { padding: 52px 0; }
  .sectors { grid-template-columns: 1fr; }
}
