:root {
  --leaf: #2f6b45;
  --leaf-dark: #173f2a;
  --moss: #dce8c8;
  --sky: #d7e7ef;
  --clay: #b65f3d;
  --ink: #162019;
  --muted: #5d6b62;
  --paper: #fffdf7;
  --line: #d9ddcf;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(22, 32, 25, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 5vw, 64px);
  background: rgba(255, 253, 247, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--white);
  background: var(--leaf);
  border-radius: 8px;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.main-nav a {
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-weight: 700;
  text-decoration: none;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--leaf-dark);
  background: var(--moss);
}

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.48fr);
  align-items: end;
  gap: clamp(24px, 5vw, 64px);
  padding: clamp(48px, 8vw, 108px) clamp(18px, 5vw, 64px);
  background:
    linear-gradient(90deg, rgba(18, 48, 32, 0.86), rgba(18, 48, 32, 0.55), rgba(18, 48, 32, 0.2)),
    url("vergroenen.jpeg") center / cover;
  color: var(--white);
}

.hero-copy { max-width: 760px; }

.eyebrow {
  margin: 0 0 10px;
  color: var(--clay);
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow,
.page-hero .eyebrow { color: #f2c078; }

h1, h2, h3, p { overflow-wrap: break-word; }

h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(3rem, 8vw, 6.6rem);
  line-height: 0.94;
  letter-spacing: 0;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

h1 span { white-space: nowrap; }

h2 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
  line-height: 1.25;
}

.hero p {
  max-width: 670px;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 2px solid transparent;
  border-radius: 8px;
  font: inherit;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  color: var(--white);
  background: var(--clay);
}

.button.secondary {
  color: var(--leaf-dark);
  background: var(--moss);
}

.button:hover { transform: translateY(-1px); }

.event-card {
  padding: 24px;
  color: var(--ink);
  background: rgba(255, 253, 247, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.event-card strong {
  display: block;
  margin-top: 12px;
  font-size: 1.45rem;
  line-height: 1.15;
}

.event-card p { margin-bottom: 0; }

.event-cta {
  margin-top: 14px;
  padding: 14px;
  color: var(--leaf-dark);
  background: #f3f8e7;
  border: 1px solid #c8d8ad;
  border-radius: 8px;
  font-weight: 800;
}

.event-cta a {
  display: inline-flex;
  margin-left: 6px;
  color: var(--leaf-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 900;
}

.event-date {
  display: inline-block;
  color: var(--leaf-dark);
  font-weight: 900;
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.stats-band div {
  padding: clamp(22px, 4vw, 40px);
  background: var(--leaf-dark);
  color: var(--white);
}

.stats-band strong {
  display: block;
  font-size: clamp(2.4rem, 5vw, 5rem);
  line-height: 1;
}

.stats-band span {
  color: #e8f1db;
  font-weight: 700;
}

.content-grid,
.split-section,
.form-section,
.support-band,
.newsletter,
.steps-section,
.traffic-notes,
.municipality-section {
  padding: clamp(48px, 8vw, 96px) clamp(18px, 5vw, 64px);
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.8fr);
  gap: clamp(28px, 6vw, 78px);
}

.content-grid p,
.split-section p,
.support-band p,
.page-hero p {
  color: var(--muted);
  font-size: 1.08rem;
}

.plant-list {
  margin: 0 0 20px;
  padding-left: 1.25rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.plant-list li + li {
  margin-top: 4px;
}

.card-list,
.note-grid {
  display: grid;
  gap: 14px;
}

.card-list article,
.note-grid article {
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.card-list p,
.note-grid p {
  margin: 0;
  color: var(--muted);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(28px, 6vw, 78px);
  background: #edf4e2;
}

.split-section > * {
  min-width: 0;
}

.image-panel {
  margin: 0;
  width: 100%;
  max-width: 100%;
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
}

.image-panel img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.image-panel figcaption {
  padding: 10px 12px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.image-panel figcaption a {
  color: var(--leaf-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.split-copy {
  min-width: 0;
  position: relative;
  z-index: 1;
  padding: clamp(18px, 2vw, 26px);
  background: rgba(255, 253, 247, 0.96);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.text-link {
  display: inline-flex;
  margin-top: 10px;
  color: var(--leaf-dark);
  font-weight: 900;
}

.support-band {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1fr);
  gap: clamp(24px, 6vw, 72px);
  color: var(--white);
  background: var(--leaf-dark);
}

.support-band .eyebrow,
.support-band p { color: #e8f1db; }

.form-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(300px, 0.8fr);
  gap: clamp(24px, 6vw, 72px);
}

.signup-form,
.newsletter-form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--leaf-dark);
  font-weight: 850;
}

fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

legend {
  margin: 0 0 7px;
  color: var(--leaf-dark);
  font-weight: 850;
}

.checkbox-group {
  display: grid;
  gap: 0;
}

.multi-select {
  position: relative;
}

.multi-select-toggle {
  display: flex;
  width: 100%;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 13px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #bfc8b8;
  border-radius: 8px;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.multi-select-toggle::after {
  content: "";
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: rotate(45deg) translateY(-3px);
}

.multi-select-toggle[aria-expanded="true"]::after {
  transform: rotate(225deg) translateY(-1px);
}

.multi-select-options {
  display: grid;
  gap: 8px;
  margin-top: 8px;
  padding: 8px;
  background: var(--white);
  border: 1px solid #bfc8b8;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.multi-select-options[hidden] {
  display: none;
}

.multi-select label {
  display: flex;
  min-height: 52px;
  align-items: center;
  gap: 12px;
  padding: 12px 13px;
  color: var(--ink);
  background: #f8faf3;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 750;
}

.multi-select input {
  width: 20px;
  min-width: 20px;
  height: 20px;
  min-height: 20px;
  accent-color: var(--leaf);
}

.nested-option {
  display: grid;
  gap: 8px;
}

.nested-parent {
  margin-bottom: 0;
}

.nested-options {
  display: grid;
  gap: 8px;
  margin-top: 2px;
  margin-left: 18px;
  padding-left: 12px;
  border-left: 3px solid #d5dfc5;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  border: 1px solid #bfc8b8;
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

textarea { resize: vertical; }

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(182, 95, 61, 0.24);
  border-color: var(--clay);
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.newsletter {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(260px, 0.6fr);
  align-items: end;
  gap: clamp(20px, 5vw, 64px);
  background: var(--sky);
}

.page-hero {
  min-height: 58vh;
  display: grid;
  align-content: end;
  padding: clamp(54px, 9vw, 104px) clamp(18px, 5vw, 64px);
  color: var(--white);
}

.page-hero.green {
  background:
    linear-gradient(90deg, rgba(22, 32, 25, 0.82), rgba(22, 32, 25, 0.38)),
    url("IMG_8610.jpg") center / cover;
}

.page-hero.traffic {
  background:
    linear-gradient(90deg, rgba(22, 32, 25, 0.8), rgba(22, 32, 25, 0.35)),
    url("IMG_8289.MOV.png") center / cover;
}

.page-hero h1 { max-width: 13ch; }

.page-hero p {
  max-width: 720px;
  color: #f3f7ed;
}

.steps-section,
.traffic-notes { background: #f4f0e5; }

.municipality-section {
  background: var(--paper);
}

.municipality-section > p {
  max-width: 980px;
  color: var(--muted);
  font-size: 1.08rem;
}

.update-block {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.update-block article {
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.update-block p {
  margin: 0 0 14px;
  color: var(--muted);
}

.update-block p:last-child {
  margin-bottom: 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  min-height: 180px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  display: grid;
  width: 34px;
  height: 34px;
  margin-bottom: 20px;
  place-items: center;
  color: var(--white);
  background: var(--leaf);
  border-radius: 8px;
  font-weight: 900;
}

.steps strong,
.steps span { display: block; }

.steps span {
  margin-top: 8px;
  color: var(--muted);
}

.note-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 24px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 26px clamp(18px, 5vw, 64px);
  color: #e8f1db;
  background: var(--ink);
}

.site-footer p { margin: 0; }

.site-footer a {
  color: var(--white);
  font-weight: 800;
}

@media (max-width: 880px) {
  .site-header,
  .hero,
  .content-grid,
  .split-section,
  .support-band,
  .form-section,
  .newsletter {
    grid-template-columns: 1fr;
  }

  .site-header { align-items: flex-start; }
  .main-nav { justify-content: flex-start; }
  .hero { min-height: auto; }
  h1 { font-size: clamp(2.9rem, 14vw, 5.2rem); }

  .stats-band,
  .steps,
  .note-grid,
  .update-block {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1120px) {
  .hero h1 {
    font-size: clamp(2.8rem, 7.2vw, 5.4rem);
  }

  .split-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .site-header { position: static; }

  .hero-actions,
  .main-nav {
    display: grid;
    width: 100%;
  }

  .button { width: 100%; }
  .image-panel img { aspect-ratio: 1 / 1; }
}
