:root {
  --groen: #2d6a4f;
  --groen-donker: #1b4332;
  --groen-licht: #eef5f0;
  --tekst: #1f2a24;
  --rand: #d8e5dc;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--tekst);
  background: #fbfdfb;
  line-height: 1.6;
}

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

.hero { position: relative; background: var(--groen-donker); }
.hero img {
  display: block; width: 100%; height: auto;
  min-height: 320px; max-height: 70vh; object-fit: cover;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10, 30, 20, .78) 0%, rgba(10, 30, 20, .35) 45%, rgba(10, 30, 20, .1) 100%);
}
.hero-tekst {
  position: absolute; z-index: 1; left: 0; right: 0; bottom: 0;
  max-width: 64rem; margin: 0 auto; padding: 0 1.5rem 2rem;
  color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, .5);
}
.hero h1 { margin: 0; font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.1; }
.ondertitel { margin: .5rem 0 0; font-size: clamp(1.05rem, 2.2vw, 1.4rem); }

main { max-width: 64rem; margin: 0 auto; padding: 3rem 1.5rem 2rem; }
.intro { max-width: 40rem; margin: 0 0 2.5rem; font-size: 1.15rem; }

.tegels {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr));
}
.tegel {
  display: flex; flex-direction: column; gap: .25rem; height: 100%;
  padding: 1.5rem; border-radius: 1rem;
  background: var(--groen-licht); border: 1px solid var(--rand);
  color: inherit; text-decoration: none;
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.tegel:hover { box-shadow: 0 8px 24px rgba(27, 67, 50, .18); transform: translateY(-2px); border-color: var(--groen); }
.tegel-naam { font-size: 1.4rem; font-weight: 700; color: var(--groen-donker); }
.tegel-locatie { color: #3d4d44; }
.tegel-cta { margin-top: 1.25rem; font-weight: 600; color: var(--groen); }
.tegel:hover .tegel-cta { text-decoration: underline; }

a:focus-visible { outline: 3px solid var(--groen); outline-offset: 3px; }

footer {
  max-width: 64rem; margin: 2rem auto 0; padding: 1.5rem;
  border-top: 1px solid var(--rand); color: #4a5a50; font-size: .95rem;
}
footer p { margin: 0; }

@media (max-width: 40rem) {
  .hero img { min-height: 280px; }
  main { padding-top: 2rem; }
  .tegels { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .tegel { transition: none; }
  .tegel:hover { transform: none; }
}
