:root {
  --green: #2f6a1c;
  --green-dark: #245314;
  --green-deep: #1c3f10;
  --lime: #bada55;
  --lime-soft: #e9f3c8;
  --blue: #5e97ff;
  --ink: #1d211c;
  --muted: #5c635a;
  --line: #e2e2e2;
  --bg: #fafafa;
  --sand: #f3f1e9;
  --sand-warm: #f4f2ea;
  --green-tint: #eef1e8;
  --green-tint-2: #e6ebdd;
  --grey: #8f8f8f;
  --white: #ffffff;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 4px 18px rgba(20, 40, 10, 0.06);
  --shadow-md: 0 18px 44px rgba(20, 40, 10, 0.12);
  --ring: 0 0 0 3px rgba(186, 218, 85, 0.55);
  --font-body: "Space Grotesk", Arial, Helvetica, sans-serif;
  --font-head: "Sora", "Space Grotesk", Arial, sans-serif;
  --max: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3 { font-family: var(--font-head); line-height: 1.12; margin: 0 0 0.5em; font-weight: 700; letter-spacing: -0.01em; }

p { margin: 0 0 1em; }

.container { width: min(100% - 44px, var(--max)); margin-inline: auto; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 999;
  background: var(--green); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 4px; }

/* ---------- Utility bar ---------- */
.utility {
  background: #f0f0ee;
  border-bottom: 1px solid var(--line);
  font-size: 0.82rem;
}
.utility__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; min-height: 42px; flex-wrap: wrap;
}
.utility__nav { display: flex; gap: 26px; }
.utility__nav a { color: var(--muted); transition: color .2s; }
.utility__nav a:hover { color: var(--green); }
.utility__contact { display: flex; gap: 24px; }
.utility__link { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); transition: color .2s; }
.utility__link:hover { color: var(--green); }
.utility__link svg { width: 15px; height: 15px; fill: var(--green); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s, background .3s;
}
.header.is-scrolled { box-shadow: 0 8px 26px rgba(20, 40, 10, 0.08); }
.header__inner {
  display: flex; align-items: center; gap: 30px;
  min-height: 74px;
}
.logo { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; letter-spacing: -0.02em; color: var(--green); }
.logo__mark { display: inline-flex; width: 30px; height: 30px; }
.logo__mark svg { width: 100%; height: 100%; fill: var(--green); }
.logo__text span { color: var(--ink); }
.logo__text sup { font-size: 0.5em; }
.logo--light { color: #fff; }
.logo--light .logo__mark svg { fill: var(--lime); }
.logo--light .logo__text span { color: #fff; }

.mainnav { margin-left: auto; }
.mainnav__list { list-style: none; display: flex; align-items: center; gap: 28px; margin: 0; padding: 0; }
.mainnav__list > li { position: relative; }
.mainnav a, .mainnav__drop {
  font: inherit; font-size: 0.93rem; font-weight: 500; color: var(--ink);
  background: none; border: 0; cursor: pointer; padding: 8px 0;
  display: inline-flex; align-items: center; gap: 5px; transition: color .2s;
}
.mainnav a:hover, .mainnav__drop:hover { color: var(--green); }
.mainnav__drop svg { width: 11px; height: 7px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .25s; }
.has-drop:hover .mainnav__drop svg,
.mainnav__drop[aria-expanded="true"] svg { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: 100%; left: -14px; min-width: 210px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 8px; box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .22s, transform .22s, visibility .22s;
}
.has-drop:hover .dropdown,
.dropdown.is-open { opacity: 1; visibility: visible; transform: translateY(6px); }
.dropdown a { display: block; padding: 9px 12px; border-radius: 8px; font-size: 0.88rem; }
.dropdown a:hover { background: var(--lime-soft); color: var(--green-dark); }

.header__cta { margin-left: 6px; }

.burger { display: none; margin-left: auto; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.burger span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s, opacity .3s; }
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 26px; border-radius: 8px; font-weight: 600; font-size: 0.92rem;
  border: 2px solid transparent; cursor: pointer; transition: transform .2s, background .25s, color .25s, box-shadow .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn--green { background: var(--lime); color: var(--green-deep); padding: 12px 22px; }
.btn--green:hover { background: #a9cc42; box-shadow: 0 10px 22px rgba(186, 218, 85, 0.4); }
.btn--dark { background: var(--green); color: #fff; }
.btn--dark:hover { background: var(--green-dark); box-shadow: 0 12px 26px rgba(47, 106, 28, 0.3); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }

.eyebrow {
  font-family: var(--font-head); font-weight: 700; letter-spacing: 0.28em;
  text-transform: uppercase; font-size: 0.78rem; color: var(--green);
  display: inline-flex; align-items: center; gap: 14px; margin: 0 0 14px;
}
.eyebrow::after { content: ""; width: 46px; height: 2px; background: var(--lime); }
.eyebrow--green { color: var(--green); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 600; color: var(--green); border-bottom: 2px solid var(--lime);
  padding-bottom: 3px; transition: gap .2s, color .2s;
}
.link-arrow::after { content: "→"; transition: transform .2s; }
.link-arrow:hover { gap: 14px; color: var(--green-dark); }
.link-arrow--light { color: #fff; border-color: var(--lime); }
.link-arrow--light:hover { color: var(--lime); }

/* ---------- Hero ---------- */
.hero { position: relative; background: linear-gradient(180deg, #ffffff 0%, var(--sand-warm) 100%); }
.hero__grid { display: grid; grid-template-columns: 1fr 1.05fr; min-height: 560px; }
.hero__copy {
  padding: 78px max(30px, calc((100vw - var(--max)) / 2)) 78px max(30px, calc((100vw - var(--max)) / 2));
  display: flex; flex-direction: column; justify-content: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(186, 218, 85, 0.16), transparent 55%),
    linear-gradient(180deg, #fbfbf7 0%, #f1efe6 100%);
  position: relative;
}
.hero__copy::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(47,106,28,0.06) 1px, transparent 1px); background-size: 22px 22px; opacity: .6; pointer-events: none; }
.hero__title { font-size: clamp(2.4rem, 4.6vw, 3.6rem); color: var(--green); letter-spacing: -0.02em; }
.hero__lead { font-size: 1.08rem; color: var(--muted); max-width: 42ch; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 10px; }

.hero__media { position: relative; overflow: hidden; min-height: 420px; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; animation: heroZoom 14s ease-out forwards; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,40,10,0.05) 40%, rgba(28,63,16,0.45) 100%); }
.hero__pills {
  position: absolute; right: 26px; bottom: 40px; z-index: 2;
  list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px;
}
.hero__pills li { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 600; font-size: 1.05rem; text-shadow: 0 2px 8px rgba(0,0,0,.4); }
.hero__pills .dot { width: 13px; height: 13px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(186,218,85,.25); }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section-head { text-align: center; margin-bottom: 48px; }
.section-head__rule { display: block; width: 54px; height: 4px; background: var(--lime); margin: 0 auto 18px; border-radius: 4px; }
.section-head h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--ink); }

/* ---------- Over ons ---------- */
.overons { background: #fff; }
.overons__grid {
  display: grid; grid-template-columns: 1fr 1fr 0.85fr; gap: 48px; align-items: center;
}
.overons__copy h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); color: var(--ink); }
.overons__copy p { color: var(--muted); }
.overons__media { position: relative; height: 330px; }
.overons__img { position: absolute; object-fit: cover; border-radius: 12px; box-shadow: var(--shadow-md); }
.overons__img--back { width: 78%; height: 88%; top: 0; left: 0; }
.overons__img--front { width: 55%; height: 62%; right: 0; bottom: 0; border: 5px solid #fff; }
.overons__media { animation: floaty 6s ease-in-out infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.stats { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 18px; box-shadow: var(--shadow-sm); }
.stat { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.stat:last-child { border-bottom: 0; }
.stat__icon { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 10px; background: var(--lime-soft); display: inline-flex; align-items: center; justify-content: center; }
.stat__icon svg { width: 22px; height: 22px; fill: var(--green); }
.stat strong { font-family: var(--font-head); font-size: 1.4rem; color: var(--green); display: block; line-height: 1.1; }
.stat span { font-size: 0.86rem; color: var(--muted); }

/* ---------- Diensten ---------- */
.diensten { background: linear-gradient(180deg, var(--green-tint) 0%, var(--green-tint-2) 100%); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  background: #fff; border-radius: var(--radius-lg); padding: 30px 28px;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .3s, box-shadow .3s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.card__head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.card__head h3 { margin: 0; font-size: 1.28rem; }
.card__icon { width: 46px; height: 46px; flex: 0 0 46px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }
.card__icon svg { width: 24px; height: 24px; }
.card__icon--green { background: var(--lime-soft); }
.card__icon--green svg { fill: var(--green); }
.card__icon--blue { background: #e6efff; color: var(--blue); }
.card__icon--light { background: rgba(255,255,255,0.16); }
.card__icon--light svg { fill: var(--lime); }
.card > p { color: var(--muted); }
.ticks { list-style: none; margin: 0 0 22px; padding: 0; }
.ticks li { position: relative; padding-left: 24px; margin-bottom: 7px; font-size: 0.94rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 8px; width: 13px; height: 8px; border-left: 2.4px solid var(--green); border-bottom: 2.4px solid var(--green); transform: rotate(-45deg); }
.card > .link-arrow { margin-top: auto; }

.card--feature { background: linear-gradient(160deg, var(--green) 0%, var(--green-deep) 100%); color: #fff; }
.card--feature .card__head h3 { color: #fff; }
.card--feature > p { color: rgba(255,255,255,0.82); }
.card--feature .ticks li::before { border-color: var(--lime); }

/* ---------- Werkwijze ---------- */
.werkwijze { background: #fff; }
.werkwijze__grid { display: grid; grid-template-columns: 0.85fr 1.6fr; gap: 50px; align-items: center; }
.werkwijze__intro h2 { font-size: clamp(1.6rem, 2.6vw, 2.15rem); }
.werkwijze__intro p { color: var(--muted); }
.callout {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 10px;
  background: var(--sand); border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 18px; font-size: 0.9rem; color: var(--muted); transition: border-color .25s, transform .25s;
}
.callout:hover { border-color: var(--lime); transform: translateY(-2px); }
.callout strong { color: var(--green); }
.callout__icon { width: 30px; height: 30px; flex: 0 0 30px; border-radius: 50%; background: var(--green); display: inline-flex; align-items: center; justify-content: center; }
.callout__icon svg { width: 16px; height: 16px; fill: #fff; }

.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin: 0; padding: 0; }
.step { position: relative; }
.step:not(:last-child)::after { content: "→"; position: absolute; top: 30px; right: -16px; color: var(--grey); font-size: 1.2rem; }
.step__num { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--lime); color: var(--green-deep); font-family: var(--font-head); font-weight: 700; font-size: 0.82rem; }
.step__icon { display: inline-flex; width: 26px; height: 26px; margin-left: 10px; vertical-align: middle; }
.step__icon svg { width: 100%; height: 100%; fill: none; stroke: var(--ink); stroke-width: 1.6; }
.step h3 { margin: 14px 0 6px; font-size: 1.05rem; }
.step p { font-size: 0.86rem; color: var(--muted); margin: 0; }

/* ---------- Boomzorg feature ---------- */
.boomzorg { background: var(--bg); }
.boomzorg__grid { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; }
.boomzorg__media { height: 100%; min-height: 460px; overflow: hidden; }
.boomzorg__media img { width: 100%; height: 100%; object-fit: cover; }
.boomzorg__copy { padding: 70px max(30px, calc((100vw - var(--max)) / 2)) 70px 60px; }
.boomzorg__copy h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.boomzorg__copy p { color: var(--muted); }
.boomzorg__copy .btn { margin-top: 8px; }

/* ---------- CTA ---------- */
.cta { background: var(--lime); }
.cta__inner { display: flex; align-items: center; justify-content: center; gap: 20px; padding: 34px 0; text-align: center; }
.cta__icon { width: 52px; height: 52px; flex: 0 0 52px; border-radius: 50%; border: 2px solid rgba(28,63,16,0.4); display: inline-flex; align-items: center; justify-content: center; }
.cta__icon svg { width: 26px; height: 26px; fill: var(--green-deep); }
.cta p { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: clamp(1.1rem, 2.2vw, 1.6rem); color: var(--green-deep); }
.cta a { border-bottom: 2px solid var(--green-deep); transition: opacity .2s; }
.cta a:hover { opacity: .7; }

/* ---------- Footer ---------- */
.footer { background: linear-gradient(180deg, var(--green-deep) 0%, #16330c 100%); color: rgba(255,255,255,0.85); padding-top: 62px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 46px; }
.footer__brand p { margin-top: 14px; font-size: 0.92rem; }
.footer__social { display: flex; gap: 10px; margin-top: 16px; }
.footer__social a { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,0.1); display: inline-flex; align-items: center; justify-content: center; transition: background .25s, transform .25s; }
.footer__social a:hover { background: var(--lime); transform: translateY(-3px); }
.footer__social svg { width: 17px; height: 17px; fill: #fff; }
.footer__social a:hover svg { fill: var(--green-deep); }
.footer__col h3 { font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--lime); margin-bottom: 16px; }
.footer__col ul { list-style: none; margin: 0; padding: 0; }
.footer__col li { margin-bottom: 9px; font-size: 0.92rem; }
.footer__col a { transition: color .2s, padding-left .2s; }
.footer__col a:hover { color: var(--lime); padding-left: 4px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.12); padding: 20px 0 26px; }
.footer__bottom p { margin: 0; font-size: 0.82rem; color: rgba(255,255,255,0.6); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }
.steps .step:nth-child(1) { transition-delay: .05s; }
.steps .step:nth-child(2) { transition-delay: .12s; }
.steps .step:nth-child(3) { transition-delay: .19s; }
.steps .step:nth-child(4) { transition-delay: .26s; }
.cards .card:nth-child(2) { transition-delay: .1s; }
.cards .card:nth-child(3) { transition-delay: .2s; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .overons__grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .stat { border-bottom: 0; border-right: 1px solid var(--line); flex-direction: column; text-align: center; }
  .stat:last-child { border-right: 0; }
  .werkwijze__grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 860px) {
  .utility__nav { display: none; }
  .utility__inner { justify-content: center; }
  .header__cta { display: none; }
  .burger { display: flex; }

  .mainnav {
    position: fixed; inset: 0 0 0 auto; width: min(84vw, 360px);
    background: #fff; margin: 0; padding: 90px 26px 30px;
    transform: translateX(105%); transition: transform .35s cubic-bezier(.2,.7,.2,1);
    box-shadow: -20px 0 60px rgba(0,0,0,.15); z-index: 120; overflow-y: auto;
  }
  .mainnav.is-open { transform: none; }
  .mainnav__list { flex-direction: column; align-items: stretch; gap: 4px; }
  .mainnav__list > li { border-bottom: 1px solid var(--line); }
  .mainnav a, .mainnav__drop { width: 100%; justify-content: space-between; padding: 14px 4px; font-size: 1rem; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 10px 10px; display: none; }
  .dropdown.is-open { display: block; }
  .mainnav::before { content: ""; position: fixed; inset: 0; background: rgba(0,0,0,.4); opacity: 0; visibility: hidden; transition: opacity .35s; z-index: -1; }
  body.nav-open .mainnav::before { opacity: 1; visibility: visible; }
  body.nav-open { overflow: hidden; }

  .hero__grid { grid-template-columns: 1fr; }
  .hero__copy { padding: 56px 24px; }
  .hero__media { min-height: 340px; }
  .hero__pills { right: 18px; bottom: 22px; }

  .overons__grid { grid-template-columns: 1fr; gap: 34px; }
  .overons__media { order: 3; height: 300px; }
  .stats { grid-template-columns: 1fr; }
  .stat { flex-direction: row; text-align: left; border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }

  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 26px; }
  .step:not(:last-child)::after { display: none; }
  .boomzorg__grid { grid-template-columns: 1fr; }
  .boomzorg__media { min-height: 320px; }
  .boomzorg__copy { padding: 50px 24px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 520px) {
  .container { width: calc(100% - 32px); }
  .section { padding: 60px 0; }
  .steps { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .cta__inner { flex-direction: column; gap: 12px; }
  .utility__contact { gap: 16px; font-size: 0.78rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
