/* ==========================================================================
   Gettoweb – site.css
   Eén lichte stylesheet, zonder framework.
   Inhoud: 1. Fonts  2. Tokens  3. Basis  4. Bouwstenen  5. Header
           6. Hero  7. Secties  8. Footer  9. Animatie
   ========================================================================== */

/* 1. Fonts ---------------------------------------------------------------- */
@font-face {
  font-family: "Platform";
  src: url("../fonts/Platform-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Variable-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

/* 2. Tokens --------------------------------------------------------------- */
:root {
  --green-950: #073532;
  --green-900: #0c5752;
  --green-800: #11706a;
  --lime: #d0ff71;
  --lime-dark: #b9ee4f;
  --cream: #fdf7f4;
  --sand: #f1e7e0;
  --white: #fff;
  --ink: #0e2422;
  --muted: #4b5f5d;
  --line: rgba(14, 36, 34, 0.14);
  --line-light: rgba(255, 255, 255, 0.16);

  --font-display: "Platform", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 12px;
  --shadow-card: 0 1px 2px rgba(14, 36, 34, 0.04), 0 12px 32px -16px rgba(14, 36, 34, 0.18);

  --gutter: clamp(20px, 4vw, 40px);
  --inset: clamp(8px, 1.4vw, 20px);
  --section: clamp(72px, 9vw, 128px);
  --header-h: 76px;
}

/* 3. Basis ---------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 1.2rem + 4.6vw, 4.5rem); line-height: 1.04; letter-spacing: 0.005em; }
h2 { font-size: clamp(1.9rem, 1.3rem + 2.2vw, 2.875rem); line-height: 1.1; letter-spacing: 0.01em; }
h3 { font-size: 1.375rem; line-height: 1.2; letter-spacing: 0.02em; }
p { text-wrap: pretty; }

:focus-visible {
  outline: 3px solid var(--green-900);
  outline-offset: 3px;
  border-radius: 4px;
}
.on-dark :focus-visible { outline-color: var(--lime); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--green-900);
  color: var(--white);
  border-radius: var(--radius-md);
  font-weight: 600;
}
.skip-link:focus { top: 16px; }

/* 4. Bouwstenen ----------------------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(1240px + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * 0.6); }

/* Afgeronde "kaart"-sectie die net binnen de schermrand valt (hero, case, CTA, footer) */
.panel {
  margin-inline: var(--inset);
  border-radius: var(--radius-xl);
}

.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head p:not(.eyebrow) { margin-top: 20px; color: var(--muted); font-size: 1.125rem; }
.section-head p a { color: var(--green-900); font-weight: 500; text-underline-offset: 3px; }
.section-head p a:hover { text-decoration-thickness: 2px; }

/* Hoekjes uit het Get2Web-logo als terugkerend merkteken */
.eyebrow {
  position: relative;
  display: inline-block;
  margin-bottom: 20px;
  padding: 7px 14px;
  color: var(--green-900);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  line-height: 1.2;
}
.eyebrow::before,
.eyebrow::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border: 2px solid currentColor;
}
.eyebrow::before { left: 0; bottom: 0; border-top: 0; border-right: 0; }
.eyebrow::after { right: 0; top: 0; border-bottom: 0; border-left: 0; }
.on-dark .eyebrow { color: var(--lime); }

.bracket { position: relative; }
.bracket::before,
.bracket::after {
  content: "";
  position: absolute;
  width: var(--b-size, 36px);
  height: var(--b-size, 36px);
  border: var(--b-width, 4px) solid var(--b-color, var(--lime));
  pointer-events: none;
}
.bracket::before {
  left: calc(var(--b-offset, 14px) * -1);
  bottom: calc(var(--b-offset, 14px) * -1);
  border-top: 0;
  border-right: 0;
}
.bracket::after {
  right: calc(var(--b-offset, 14px) * -1);
  top: calc(var(--b-offset, 14px) * -1);
  border-bottom: 0;
  border-left: 0;
}

/* Knoppen */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 24px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.btn .icon-arrow { transition: transform 0.2s; }
.btn:hover .icon-arrow { transform: translate(2px, -2px); }
.btn:active { transform: translateY(1px); }

.btn--lime { background: var(--lime); color: var(--green-950); }
.btn--lime:hover { background: var(--white); }
.btn--green { background: var(--green-900); color: var(--white); }
.btn--green:hover { background: var(--green-950); }
.btn--outline { border-color: var(--green-900); color: var(--green-900); }
.btn--outline:hover { background: var(--green-900); color: var(--white); }
.btn--ghost { border-color: rgba(255, 255, 255, 0.4); color: var(--white); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.08); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.nav-cta { white-space: nowrap; }

.icon-arrow { width: 11px; height: 11px; flex: none; }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--green-900);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid var(--lime-dark);
  padding-bottom: 3px;
  transition: border-color 0.2s;
}
.arrow-link:hover { border-color: var(--green-900); }
.arrow-link .icon-arrow { transition: transform 0.2s; }
.arrow-link:hover .icon-arrow { transform: translate(2px, -2px); }

/* Vinkjeslijst */
.checks { display: grid; gap: 12px; }
.checks li {
  position: relative;
  padding-left: 34px;
  line-height: 1.5;
}
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.1em;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22' fill='none' stroke='%23073532' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 11.5l3 3 6-6.5'/%3E%3C/svg%3E") center / 22px no-repeat;
}

.stars { display: inline-flex; gap: 3px; color: #f5b400; }
.stars svg { width: 18px; height: 17px; }

/* 5. Header --------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 247, 244, 0.88);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

.logo { flex: none; display: block; }
.logo img { width: 160px; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav-list { display: flex; align-items: center; gap: 6px; }
.nav-list > li { position: relative; display: flex; align-items: center; }
.nav-list a {
  display: block;
  padding: 10px 12px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.15s;
}
.nav-list a:hover { background: var(--sand); }

.sub-toggle {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-left: -10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  cursor: pointer;
}
.sub-toggle::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-top: -4px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s;
}
.has-sub:hover > .sub-toggle::before,
.has-sub.open > .sub-toggle::before { transform: translateY(4px) rotate(225deg); }

.sub {
  position: absolute;
  top: 100%;
  left: -8px;
  min-width: 270px;
  padding: 8px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 6px rgba(14, 36, 34, 0.06), 0 24px 48px -20px rgba(14, 36, 34, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
}
.has-sub:hover > .sub,
.has-sub:focus-within > .sub,
.has-sub.open > .sub {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.sub a { border-radius: var(--radius-md); padding: 11px 14px; }

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--green-900);
  cursor: pointer;
}
.nav-toggle .bars,
.nav-toggle .bars::before,
.nav-toggle .bars::after {
  display: block;
  width: 20px;
  height: 2px;
  margin-inline: auto;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.2s, background-color 0.2s;
}
.nav-toggle .bars { position: relative; }
.nav-toggle .bars::before,
.nav-toggle .bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle .bars::before { top: -6px; }
.nav-toggle .bars::after { top: 6px; }
.nav-open .nav-toggle .bars { background: transparent; }
.nav-open .nav-toggle .bars::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle .bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1179px) {
  .nav-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: calc(100dvh - var(--header-h));
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    padding: 12px var(--gutter) 40px;
    background: var(--cream);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .nav-open .nav { display: flex; }
  .nav-open { overflow: hidden; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { display: block; border-bottom: 1px solid var(--line); padding-block: 8px; }
  .nav-list > li > a { padding: 10px 0; font-family: var(--font-display); font-size: 1.375rem; }
  .nav-list a:hover { background: none; }
  .sub-toggle { display: none; }
  .sub {
    position: static;
    min-width: 0;
    padding: 0 0 8px;
    background: none;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .sub a { padding: 8px 0 8px 16px; color: var(--muted); }
  .nav-cta { align-self: flex-start; }
}

/* 6. Hero ----------------------------------------------------------------- */
.hero {
  background: radial-gradient(120% 100% at 88% 0%, #127069 0%, var(--green-900) 46%, #094541 100%);
  color: var(--white);
  padding-block: clamp(48px, 7vw, 96px);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.hero h1 .hl { color: var(--lime); white-space: nowrap; }
.hero .lead {
  max-width: 56ch;
  margin-top: 28px;
  font-size: clamp(1.0625rem, 0.95rem + 0.5vw, 1.25rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
}
.hero .btn-row { margin-top: 36px; }

.hero-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--line-light);
  font-size: 0.9375rem;
}
.hero-links a {
  display: block;
  padding: 7px 14px;
  border: 1px solid var(--line-light);
  border-radius: 999px;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.hero-links a:hover { background: var(--lime); border-color: var(--lime); color: var(--green-950); }

.quote-card {
  --b-offset: 14px;
  margin: 14px;
  padding: clamp(24px, 2.4vw, 32px);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
}
.quote-card blockquote {
  margin-top: 18px;
  font-family: var(--font-display);
  font-size: clamp(1.1875rem, 1rem + 0.5vw, 1.375rem);
  line-height: 1.35;
  letter-spacing: 0.02em;
}
.quote-card figcaption { margin-top: 20px; font-size: 0.9375rem; color: rgba(255, 255, 255, 0.75); }
.quote-card figcaption strong { display: block; color: var(--white); font-weight: 600; }
.quote-card .rating-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line-light);
  width: 100%;
  color: var(--lime);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
}
.quote-card .rating-link:hover { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 899px) {
  .hero-grid { grid-template-columns: 1fr; align-items: start; }
  .quote-card { max-width: 480px; }
}

/* 7. Secties -------------------------------------------------------------- */

/* Diensten */
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.service-card {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 2.6vw, 36px);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}
.service-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 24px;
  border-radius: 14px;
  background: var(--lime);
  color: var(--green-950);
}
.service-icon svg { width: 26px; height: 26px; }
.service-card h3 { font-size: 1.625rem; }
.service-card > p { margin-top: 12px; color: var(--muted); }
.service-links { margin-top: 24px; margin-bottom: 28px; border-top: 1px solid var(--line); }
.service-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 2px;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s, padding 0.15s;
}
.service-links a:hover { color: var(--green-900); padding-left: 8px; }
.service-links .icon-arrow { color: var(--green-900); }
.service-card .arrow-link { align-self: flex-start; margin-top: auto; }

@media (max-width: 959px) {
  .service-grid { grid-template-columns: 1fr; }
}

/* Aanpak */
.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 7vw, 112px);
  align-items: center;
}
.about-photo { justify-self: center; width: min(100%, 380px); }
.about-photo .bracket { --b-color: var(--green-900); --b-offset: 16px; }
.about-photo img { width: 100%; border-radius: var(--radius-xl); }
.about-photo figcaption { margin-top: 32px; font-size: 0.9375rem; color: var(--muted); }
.about-photo figcaption strong { color: var(--ink); font-weight: 600; }
.about-copy p { margin-top: 20px; color: var(--muted); max-width: 60ch; }
.about-copy .checks { margin-top: 28px; }
.about-copy .btn { margin-top: 36px; }

@media (max-width: 859px) {
  .split { grid-template-columns: 1fr; }
  .about-photo { justify-self: start; width: min(78%, 320px); margin-left: 16px; }
}

/* Waarom Gettoweb */
.usps { margin-top: calc(var(--section) * 0.4); background: var(--white); padding-block: clamp(56px, 7vw, 96px); }
.usp-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 clamp(20px, 3vw, 40px);
}
.usp { padding-top: 24px; border-top: 2px solid var(--green-900); }
.usp .figure {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 2rem + 2.6vw, 4.25rem);
  line-height: 1;
  color: var(--green-900);
}
.usp p { margin-top: 14px; font-weight: 500; line-height: 1.45; }

@media (max-width: 859px) {
  .usp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
}
@media (max-width: 359px) {
  .usp-grid { grid-template-columns: 1fr; }
}

/* Case */
.case { margin-top: var(--inset); background: var(--sand); padding: clamp(24px, 4vw, 64px); }
.case-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
  max-width: 1240px;
  margin-inline: auto;
}
.case-media img { width: 100%; border-radius: var(--radius-lg); }
.case-copy p { margin-top: 18px; color: var(--muted); max-width: 62ch; }
.case-copy .checks { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 28px; font-weight: 500; }
.case-copy .arrow-link { margin-top: 32px; }

@media (max-width: 859px) {
  .case-grid { grid-template-columns: 1fr; }
  .case-media { max-width: 340px; }
}
@media (max-width: 519px) {
  .case-copy .checks { grid-template-columns: 1fr; }
}

/* Resultaten */
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(32px, 4vw, 48px) 24px;
}
.project-card a { display: block; text-decoration: none; }
.project-media {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--sand);
  aspect-ratio: 940 / 780;
}
.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.project-card a:hover .project-media img { transform: scale(1.04); }
.project-type {
  display: inline-block;
  margin-top: 18px;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--green-950);
  font-size: 0.8125rem;
  font-weight: 600;
}
.project-card h3 { margin-top: 10px; }
.project-card a:hover h3 { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.project-card p { margin-top: 8px; color: var(--muted); font-size: 1rem; line-height: 1.55; }
.section-foot { margin-top: clamp(36px, 5vw, 56px); }

@media (max-width: 899px) {
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 559px) {
  .project-grid { grid-template-columns: 1fr; }
}

/* Reviews */
.reviews-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 24px 48px;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.reviews-head .section-head { margin-bottom: 0; }
.review-list { columns: 3 300px; column-gap: 20px; }
.review {
  break-inside: avoid;
  margin-bottom: 20px;
  padding: 28px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}
.review blockquote { margin-top: 16px; font-size: 1rem; line-height: 1.65; }
.review blockquote p + p { margin-top: 12px; }
.review figcaption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 0.9375rem;
}
.review figcaption strong { font-weight: 600; }
.review time { color: var(--muted); white-space: nowrap; }

/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.faq-intro { position: sticky; top: calc(var(--header-h) + 32px); }
.faq-intro p { margin-top: 20px; color: var(--muted); }
.faq-intro .arrow-link { margin-top: 28px; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { font-size: clamp(1.125rem, 1rem + 0.4vw, 1.3125rem); }
.faq-item summary::after {
  content: "";
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--sand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36' fill='none' stroke='%230c5752' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M18 12v12M12 18h12'/%3E%3C/svg%3E") center / 36px no-repeat;
  transition: transform 0.25s, background-color 0.2s;
}
.faq-item summary:hover::after { background-color: var(--lime); }
.faq-item[open] summary::after { transform: rotate(45deg); background-color: var(--lime); }
.faq-answer { padding: 0 60px 26px 0; color: var(--muted); }

@media (max-width: 859px) {
  .faq-grid { grid-template-columns: 1fr; }
  .faq-intro { position: static; }
  .faq-answer { padding-right: 0; }
}

/* CTA */
.cta { background: var(--lime); color: var(--green-950); padding: clamp(40px, 6vw, 88px) clamp(24px, 4vw, 64px); }
.cta-inner {
  --b-color: var(--green-900);
  --b-offset: 0px;
  --b-size: 44px;
  max-width: 1240px;
  margin-inline: auto;
  padding: clamp(28px, 4vw, 56px);
}
.cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: 28px clamp(32px, 6vw, 96px);
  align-items: end;
}
.cta p { max-width: 54ch; font-size: 1.125rem; }
.cta .btn-row { margin-top: 28px; }
@media (max-width: 859px) {
  .cta-inner { grid-template-columns: 1fr; }
}
.cta .btn--outline { border-color: var(--green-950); color: var(--green-950); }
.cta .btn--outline:hover { background: var(--green-950); color: var(--white); }

/* 8. Footer --------------------------------------------------------------- */
.site-footer {
  margin-block: var(--inset);
  padding-block: clamp(48px, 6vw, 80px) 28px;
  background: var(--green-950);
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
}
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--lime); text-decoration: underline; text-underline-offset: 3px; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr 1.2fr 1.2fr;
  gap: 40px clamp(24px, 4vw, 56px);
}
.footer-brand img { width: 170px; }
.footer-brand > p { margin-top: 20px; max-width: 30ch; }
.footer-contact { display: grid; gap: 10px; margin-top: 24px; font-style: normal; }
.footer-contact a { display: inline-flex; align-items: center; gap: 10px; color: var(--white); }
.footer-contact svg { width: 18px; height: 18px; flex: none; color: var(--lime); }

.footer-title {
  margin-bottom: 18px;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--lime);
}
.footer-col ul { display: grid; gap: 10px; }
.footer-col li { line-height: 1.4; }

.footer-regions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: 28px;
  border-top: 1px solid var(--line-light);
}
.footer-regions ul { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-regions li a {
  display: block;
  padding: 5px 13px;
  border: 1px solid var(--line-light);
  border-radius: 999px;
  font-size: 0.9375rem;
  color: var(--white);
}
.footer-regions li a:hover { border-color: var(--lime); text-decoration: none; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--line-light);
  font-size: 0.9375rem;
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-partners { display: flex; align-items: center; gap: 12px; }
.footer-partners img { height: 40px; width: auto; border-radius: 6px; }
.footer-social { display: flex; gap: 8px; }
.footer-social a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  color: var(--white);
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.footer-social a:hover { background: var(--lime); border-color: var(--lime); color: var(--green-950); }
.footer-social svg { width: 18px; height: 18px; }

@media (max-width: 959px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 559px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* 9. Animatie ------------------------------------------------------------- */
/* Alleen wanneer JS actief is; inhoud blijft zonder JS gewoon zichtbaar. */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
    transition-delay: var(--delay, 0s);
  }
  .js [data-reveal].is-visible { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}

/* ==========================================================================
   10. Binnenpagina's
   ========================================================================== */

/* Paginakop */
.page-hero {
  background: radial-gradient(120% 100% at 88% 0%, #127069 0%, var(--green-900) 46%, #094541 100%);
  color: var(--white);
  padding-block: clamp(36px, 5vw, 72px) clamp(44px, 6vw, 88px);
}
.page-hero h1 { font-size: clamp(2.125rem, 1.3rem + 3.2vw, 3.5rem); line-height: 1.06; max-width: 24ch; }
.page-hero h1 .hl { color: var(--lime); }
.page-hero .lead {
  max-width: 64ch;
  margin-top: 24px;
  font-size: clamp(1.0625rem, 0.98rem + 0.35vw, 1.1875rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
}
.page-hero .lead a { color: var(--white); text-underline-offset: 3px; }
.page-hero .lead a:hover { color: var(--lime); }
.page-hero .btn-row { margin-top: 32px; }
.page-hero .hero-links { margin-top: 36px; padding-top: 24px; }
.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.page-hero-media img { width: 100%; border-radius: var(--radius-lg); }
.page-hero-meta { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 24px; font-size: 0.9375rem; color: rgba(255, 255, 255, 0.75); }
@media (max-width: 899px) {
  .page-hero-grid { grid-template-columns: 1fr; }
  .page-hero-media { max-width: 520px; }
}

.breadcrumb { margin-bottom: clamp(24px, 4vw, 44px); font-size: 0.875rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px 10px; }
.breadcrumb li { color: rgba(255, 255, 255, 0.72); }
.breadcrumb li + li::before { content: "/"; margin-right: 10px; color: rgba(255, 255, 255, 0.4); }
.breadcrumb a { color: inherit; text-underline-offset: 3px; }
.breadcrumb a:hover { color: var(--lime); }
.breadcrumb [aria-current] { color: var(--white); }

.nav-list a[aria-current] { background: var(--sand); }

/* Witte, zandkleurige of groene band als afgeronde kaart */
.band { background: var(--white); padding-block: clamp(56px, 7vw, 96px); margin-block: var(--inset); }
.band--sand { background: var(--sand); }
.band--green { background: var(--green-900); color: var(--white); }
.band--green .section-head p:not(.eyebrow) { color: rgba(255, 255, 255, 0.82); }
.band--green .eyebrow { color: var(--lime); }
.section-head--center { margin-inline: auto; text-align: center; }

/* Kaarten */
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1039px) { .card-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 899px) { .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .card-grid, .card-grid--2, .card-grid--4 { grid-template-columns: 1fr; } }

.card {
  display: flex;
  flex-direction: column;
  padding: clamp(22px, 2.4vw, 32px);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}
.band .card, .card--flat { background: var(--cream); box-shadow: none; }
.band--sand .card { background: var(--white); }
.band--green .card { background: rgba(255, 255, 255, 0.07); border: 1px solid var(--line-light); }
.card--green { background: var(--green-900); color: var(--white); box-shadow: none; }
.card--lime { background: var(--lime); color: var(--green-950); box-shadow: none; }
.card h3 + p, .card h2 + p { margin-top: 10px; }
.card > p { color: var(--muted); }
.card--green > p, .card--lime > p, .band--green .card > p { color: inherit; opacity: 0.88; }
.card > p + p { margin-top: 12px; }
.card .checks { margin-top: 20px; font-size: 1rem; }
.card .arrow-link, .card .btn { align-self: flex-start; margin-top: auto; }
.card .checks + .arrow-link, .card p + .arrow-link, .card .checks + .btn, .card p + .btn { margin-top: 28px; }
.card--green .arrow-link, .band--green .arrow-link { color: var(--lime); border-color: rgba(208, 255, 113, 0.5); }
.card-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  border-radius: 14px;
  background: var(--lime);
  color: var(--green-950);
}
.card-icon svg { width: 24px; height: 24px; }
.card-num {
  display: block;
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: 2.25rem;
  line-height: 1;
  color: var(--green-900);
}
.card--green .card-num, .band--green .card-num { color: var(--lime); }
.card-label {
  align-self: flex-start;
  margin-bottom: 14px;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--green-950);
  font-size: 0.8125rem;
  font-weight: 600;
}
.price { margin-top: 14px; font-family: var(--font-display); font-size: 2rem; line-height: 1.1; color: var(--green-900); }
.price small { display: block; margin-top: 4px; font-family: var(--font-body); font-size: 0.875rem; color: var(--muted); }
.card--green .price { color: var(--lime); }
.card--green .price small { color: rgba(255, 255, 255, 0.75); }

.checks--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; }
@media (max-width: 599px) { .checks--2 { grid-template-columns: 1fr; } }

.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-list li { padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 0.9375rem; font-weight: 500; }
.band--green .tag-list li, .on-dark .tag-list li { border-color: var(--line-light); }

/* Tekst naast beeld of kaart */
.split--reverse > :first-child { order: 2; }
.split--top { align-items: start; }
.split-media img { width: 100%; border-radius: var(--radius-lg); }
.split-copy p { margin-top: 18px; color: var(--muted); max-width: 62ch; }
.band--green .split-copy p { color: rgba(255, 255, 255, 0.85); }
.split-copy .checks { margin-top: 26px; }
.split-copy .btn, .split-copy .arrow-link { margin-top: 32px; }
@media (max-width: 859px) { .split--reverse > :first-child { order: 0; } }

/* Stappenplan */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 32px 24px; counter-reset: stap; }
.steps li { counter-increment: stap; padding-top: 20px; border-top: 2px solid var(--green-900); }
.steps li::before {
  content: counter(stap, decimal-leading-zero);
  display: block;
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-size: 1.75rem;
  line-height: 1;
  color: var(--green-900);
}
.steps p { margin-top: 8px; color: var(--muted); font-size: 1rem; }
.band--green .steps li { border-color: var(--lime); }
.band--green .steps li::before { color: var(--lime); }
.band--green .steps p { color: rgba(255, 255, 255, 0.82); }

/* Lopende tekst (artikels, voorwaarden, projectbeschrijvingen) */
.prose { max-width: 72ch; }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { margin-top: 1.9em; font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); }
.prose h3 { margin-top: 1.7em; font-size: 1.3125rem; }
.prose h4 { margin: 1.5em 0 0; font-size: 1.0625rem; font-weight: 600; }
.prose h2 + *, .prose h3 + *, .prose h4 + * { margin-top: 0.7em; }
.prose > :first-child { margin-top: 0; }
.prose p, .prose li { color: #2b403e; }
.prose a:not(.btn):not(.arrow-link) { color: var(--green-900); font-weight: 500; text-underline-offset: 3px; }
.prose a:not(.btn):not(.arrow-link):hover { text-decoration-thickness: 2px; }
.prose ul:not([class]), .prose ol:not([class]) { display: grid; gap: 8px; padding-left: 1.4em; }
.prose ul:not([class]) > li { position: relative; }
.prose ul:not([class]) > li::before {
  content: "";
  position: absolute;
  left: -1.15em;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--green-900);
}
.prose ol:not([class]) { list-style: decimal; }
.prose ol:not([class]) > li::marker { color: var(--green-900); font-weight: 600; }
.prose img { border-radius: var(--radius-lg); }
.prose figure figcaption { margin-top: 10px; font-size: 0.9375rem; color: var(--muted); }
.prose blockquote { padding: 4px 0 4px 22px; border-left: 3px solid var(--lime-dark); font-family: var(--font-display); font-size: 1.25rem; line-height: 1.4; letter-spacing: 0.015em; }
.prose hr { margin-block: 2.2em; border: 0; border-top: 1px solid var(--line); }
.prose .card-grid, .prose .gallery, .prose .callout, .prose .table-wrap, .prose .faq-list, .prose .steps { margin-block: 1.8em; }
.prose .card p, .prose .card li, .prose .callout p, .prose .callout li { color: inherit; }
.prose .card > p { color: var(--muted); }
.prose--wide { max-width: none; }
.prose--wide > p, .prose--wide > ul:not([class]), .prose--wide > ol:not([class]), .prose--wide > h2, .prose--wide > h3, .prose--wide > h4, .prose--wide > blockquote { max-width: 72ch; }

.callout { padding: clamp(20px, 2.4vw, 28px); border-radius: var(--radius-lg); background: var(--sand); }
.callout--lime { background: var(--lime); color: var(--green-950); }
.callout > * + * { margin-top: 10px; }

.table-wrap { overflow-x: auto; border-radius: var(--radius-md); border: 1px solid var(--line); background: var(--white); }
.table-wrap table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 1rem; }
.table-wrap th, .table-wrap td { padding: 13px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.table-wrap th { background: var(--sand); font-weight: 600; }
.table-wrap tr:last-child td { border-bottom: 0; }

.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.gallery--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gallery img { width: 100%; border-radius: var(--radius-lg); background: var(--sand); }
@media (max-width: 699px) { .gallery, .gallery--2 { grid-template-columns: 1fr; } }

/* Artikel met zijkolom */
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}
.article-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 20px; }
.article-aside .card h2 { font-size: 1.3125rem; }
.aside-links { display: grid; margin-top: 12px; }
.aside-links a { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); font-weight: 500; font-size: 1rem; line-height: 1.4; text-decoration: none; }
.aside-links li:last-child a { border-bottom: 0; }
.aside-links a:hover { color: var(--green-900); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 959px) {
  .article-layout { grid-template-columns: 1fr; }
  .article-aside { position: static; }
}

/* Overzicht van artikels */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 899px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .post-grid { grid-template-columns: 1fr; } }
.post-card { position: relative; transition: transform 0.2s, box-shadow 0.2s; }
.post-card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(14, 36, 34, 0.05), 0 20px 40px -18px rgba(14, 36, 34, 0.28); }
.post-card h3 a { text-decoration: none; }
.post-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius-lg); }
.post-card .post-more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 22px; color: var(--green-900); font-weight: 600; font-size: 0.9375rem; }

/* Filter boven de referenties */
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(28px, 4vw, 44px); }
.filter-bar button {
  padding: 9px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: none;
  font-weight: 500;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.filter-bar button:hover { border-color: var(--green-900); }
.filter-bar button[aria-pressed="true"] { background: var(--green-900); border-color: var(--green-900); color: var(--white); }
.project-card[hidden] { display: none; }

/* Projectdetail */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 20px 32px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line-light); }
.facts dt { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--lime); }
.facts dd { margin: 4px 0 0; font-weight: 500; }
.facts a { color: inherit; text-underline-offset: 3px; }

/* Formulieren */
.form { display: grid; gap: 18px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 599px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: grid; gap: 7px; }
.field label, .field legend { font-weight: 600; font-size: 0.9375rem; }
.field .hint { font-size: 0.875rem; color: var(--muted); }
.field input:not([type="checkbox"]):not([type="radio"]), .field select, .field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid rgba(14, 36, 34, 0.3);
  border-radius: var(--radius-md);
  background: var(--white);
  font: inherit;
  color: var(--ink);
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--green-900); outline-offset: 1px; border-color: var(--green-900); }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 0.9375rem; line-height: 1.5; }
.check input { flex: none; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--green-900); }
.form-note { font-size: 0.875rem; color: var(--muted); }
.form-note a { color: var(--green-900); }
.alert { padding: 14px 18px; border-radius: var(--radius-md); background: #fde8e4; color: #8a1f11; font-weight: 500; }
.alert--ok { background: #e3f6d2; color: #1f5a12; }
.hp-veld { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.contact-list { display: grid; gap: 18px; margin-top: 24px; }
.contact-list a { display: flex; align-items: center; gap: 14px; font-weight: 500; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; text-underline-offset: 3px; }
.contact-list svg { flex: none; width: 44px; height: 44px; padding: 11px; border-radius: 50%; background: var(--lime); color: var(--green-950); }

.sub-toggle:focus-visible { outline-offset: 0; }

.embed { overflow: hidden; border-radius: var(--radius-lg); background: var(--sand); }
.embed iframe { display: block; width: 100%; height: clamp(280px, 40vw, 420px); border: 0; }

.form > .btn { justify-self: start; }
.tag-list a { text-decoration: none; }
.tag-list a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Lange woorden en webadressen mogen afbreken op smalle schermen */
h1, h2, h3, p, li, dd, a, summary { overflow-wrap: break-word; }
h1, h2 { hyphens: auto; }
.facts > div, .split > *, .article-layout > *, .card-grid > *, .page-hero-grid > * { min-width: 0; }

/* Kleine tussenruimtes binnen kaarten en tekstkolommen */
.card .tag-list { margin-top: 20px; }
.card .checks + p { margin-top: 16px; }
.split-copy h3 { margin-top: 28px; }
.split-copy h3 + p { margin-top: 8px; }
.split-copy .callout { margin-top: 24px; }
.split-copy .tag-list { margin-top: 24px; }

/* Uitgelichte kaarten houden hun kleur, ook binnen een band; knoppen als <button> krijgen geen grijze achtergrond */
.band .card.card--green { background: var(--green-900); }
.band .card.card--lime { background: var(--lime); }
.btn--ghost, .btn--outline { background-color: transparent; }

/* Hero: twee ingangen (websites/webshops en automatisatie/maatwerk) */
.hero-doors { --b-offset: 14px; display: grid; gap: 14px; margin: 14px; }
.door {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 18px;
  align-items: center;
  padding: clamp(20px, 2.2vw, 28px);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  color: var(--white);
  text-decoration: none;
  transition: background-color 0.2s, border-color 0.2s;
}
.door:hover { background: rgba(255, 255, 255, 0.13); border-color: var(--lime); }
.door-label { grid-column: 1 / -1; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; color: var(--lime); }
.door-title { grid-column: 1; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.25rem, 1.05rem + 0.7vw, 1.5rem); line-height: 1.2; letter-spacing: 0.01em; }
.door-text { grid-column: 1; font-size: 0.9375rem; line-height: 1.5; color: rgba(255, 255, 255, 0.8); }
.door-arrow {
  grid-column: 2;
  grid-row: 2 / span 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--green-950);
  transition: transform 0.2s;
}
.door:hover .door-arrow { transform: translate(2px, -2px); }

.hero-trust { display: grid; gap: 10px; max-width: 56ch; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line-light); }
.hero-trust blockquote { font-size: 1.0625rem; line-height: 1.5; color: rgba(255, 255, 255, 0.92); }
.hero-trust figcaption { font-size: 0.9375rem; color: rgba(255, 255, 255, 0.72); }
.hero-trust a { color: var(--lime); font-weight: 600; text-underline-offset: 3px; }
.service-card .card-label { margin-bottom: 12px; }
@media (max-width: 899px) { .hero-doors { max-width: 520px; } }
.callout a { color: var(--green-900); font-weight: 500; text-underline-offset: 3px; }
.callout--lime a:not(.btn) { color: inherit; }
