:root {
  --groen: #264d3b;
  --groen-licht: #3e7258;
  --zand: #e8c98a;
  --zand-licht: #f7f1e3;
  --zon: #f4a259;
  --zon-donker: #d9782f;
  --inkt: #1d2a24;
  --grijs: #5b6660;
  --wit: #ffffff;
  --rand: rgba(38, 77, 59, .14);
  --radius: 14px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--inkt);
  background: var(--zand-licht);
  line-height: 1.6;
  font-size: 17px;
}
img { max-width: 100%; display: block; }
a { color: var(--groen-licht); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); color: var(--groen); }
h3 { font-size: 1.15rem; color: var(--groen); margin-top: 1.2em; }
p { margin: 0 0 1em; }

/* Knoppen */
.knop {
  display: inline-block;
  background: var(--zon);
  color: var(--inkt);
  font-weight: 700;
  text-decoration: none;
  padding: .8em 1.4em;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  transition: background .15s, transform .15s;
}
.knop:hover { background: var(--zon-donker); color: var(--wit); transform: translateY(-1px); }
.knop-groot { font-size: 1.1rem; padding: 1em 1.8em; }
.knop-klein { padding: .5em 1.1em; }
.knop-licht { background: rgba(255,255,255,.15); color: var(--wit); border: 2px solid rgba(255,255,255,.6); }
.knop-licht:hover { background: var(--wit); color: var(--groen); }
.knop[aria-disabled="true"] { background: #c9c9c9; color: #555; pointer-events: none; }

/* Actiebalk */
.actiebalk {
  background: var(--zon);
  color: var(--inkt);
  text-align: center;
  padding: .6em 1em;
  font-weight: 600;
  font-size: .95rem;
}
.actiebalk-link { color: var(--inkt); margin-left: .6em; font-weight: 800; }

/* Kop */
.kop {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  padding: .8rem max(1.2rem, calc((100% - var(--max)) / 2));
  background: rgba(247, 241, 227, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rand);
}
.logo { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--groen); font-size: 1.05rem; }
.logo svg { width: 38px; height: 38px; }
.menu { display: flex; align-items: center; gap: 1.4rem; }
.menu a:not(.knop) { color: var(--inkt); text-decoration: none; font-weight: 600; }
.menu a:not(.knop):hover { color: var(--groen-licht); }
.menuknop { display: none; background: none; border: 2px solid var(--groen); color: var(--groen); border-radius: 999px; padding: .35em 1em; font-weight: 700; font-size: .95rem; }

/* Hero */
.hero {
  position: relative;
  /* Foto: img/hero.jpg met donkere laag. Ontbreekt de foto, dan blijft het verloop zichtbaar. */
  background:
    linear-gradient(90deg, rgba(20,36,29,.78) 0%, rgba(20,36,29,.45) 55%, rgba(20,36,29,.15) 100%),
    url("img/hero.jpg") center 40% / cover no-repeat,
    linear-gradient(180deg, #2c6470 0%, #4f8a86 42%, #3e7258 42.2%, #264d3b 100%);
  color: var(--wit);
  overflow: hidden;
}
.hero-inhoud {
  position: relative; z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(1.8rem, 4vw, 3rem) 1.2rem clamp(5rem, 9vw, 7rem);
}
.hero-editie {
  display: inline-block;
  background: rgba(29,42,36,.55);
  padding: .3em .9em;
  border-radius: 999px;
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  max-width: 20ch;
  margin-top: .3em;
  line-height: 1.1;
  text-shadow: 0 2px 18px rgba(0,0,0,.25);
}
.hero-sub { font-size: clamp(1rem, 1.6vw, 1.15rem); max-width: 52ch; margin-top: .6em; text-shadow: 0 1px 10px rgba(0,0,0,.3); }
.hero-feiten {
  display: flex; flex-wrap: wrap; gap: 1rem;
  margin: 1.1rem 0 1.2rem;
}
.hero-feiten > div {
  background: rgba(29,42,36,.5);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius);
  padding: .5rem 1rem;
  min-width: 150px;
}
.feit-label { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; opacity: .8; }
.feit-waarde { display: block; font-weight: 800; font-size: 1.15rem; }
.hero-knoppen { display: flex; flex-wrap: wrap; gap: .8rem; }
.aftellen { margin-top: .8rem; font-weight: 600; opacity: .9; }
.hero-duinen { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: clamp(70px, 9vw, 130px); z-index: 1; }

/* Secties */
.sectie { max-width: var(--max); margin: 0 auto; padding: clamp(3rem, 7vw, 5rem) 1.2rem; }
.intro { font-size: 1.1rem; color: var(--grijs); max-width: 60ch; }
.kleine-tekst { font-size: .92rem; color: var(--grijs); margin-top: 1.2rem; }
.kolommen-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); }
.kolommen-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }

.waarom { padding-top: 1rem; }
.kaartje {
  background: var(--wit);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  border: 1px solid var(--rand);
}
.kaartje h3 { margin-top: 0; }
.kaartje p { margin: 0; color: var(--grijs); }

/* Afstanden */
.afstanden { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.2rem; margin-top: 2rem; }
.afstand-km.afstand-km-tekst { font-size: 1.8rem; line-height: 3rem; height: 3rem; }
.afstand:nth-child(4) .afstand-kop { background: linear-gradient(135deg, #6b5a2e 0%, #a5843f 100%); }
.afstand {
  background: var(--wit);
  border-radius: var(--radius);
  border: 1px solid var(--rand);
  overflow: hidden;
  display: flex; flex-direction: column;
}
.afstand-kop { background: var(--groen); color: var(--wit); padding: 1.3rem 1.5rem 1.1rem; position: relative; }
.afstand-km { font-size: 3rem; font-weight: 900; line-height: 1; }
.afstand-km small { font-size: 1.2rem; font-weight: 700; margin-left: .15em; }
.afstand-naam { font-weight: 600; opacity: .9; }
.afstand-body { padding: 1.2rem 1.5rem 1.5rem; flex: 1; display: flex; flex-direction: column; }
.afstand-body p { color: var(--grijs); flex: 1; }
.afstand-prijs { font-weight: 800; font-size: 1.3rem; color: var(--groen); }
.afstand-prijs span { font-weight: 500; font-size: .9rem; color: var(--grijs); }
.afstand:nth-child(2) .afstand-kop { background: var(--groen-licht); }
.afstand:nth-child(3) .afstand-kop { background: linear-gradient(135deg, var(--groen) 0%, #2e6a7a 100%); }

/* Inschrijven */
.inschrijven {
  background: var(--wit);
  border-radius: 24px;
  border: 1px solid var(--rand);
  margin-top: 1rem; margin-bottom: 1rem;
  padding: clamp(2rem, 5vw, 3.5rem);
  max-width: calc(var(--max) - 2.4rem);
}
.inschrijf-status {
  display: inline-block;
  font-weight: 700;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: .3em .9em;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.status-open { background: #dff0e5; color: #1e6b3e; }
.status-binnenkort { background: #fdebd8; color: #9a4f12; }
.status-vol { background: #f6dcdc; color: #8f2424; }
.inschrijf-stappen { counter-reset: stap; list-style: none; padding: 0; margin: 1.5rem 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.inschrijf-stappen li { counter-increment: stap; background: var(--zand-licht); border-radius: var(--radius); padding: 1rem 1.1rem 1rem 3.4rem; position: relative; color: var(--grijs); }
.inschrijf-stappen li::before {
  content: counter(stap);
  position: absolute; left: 1rem; top: 1rem;
  width: 1.8rem; height: 1.8rem; border-radius: 50%;
  background: var(--groen); color: var(--wit);
  display: grid; place-items: center; font-weight: 800; font-size: .95rem;
}
.inschrijf-stappen strong { color: var(--inkt); display: block; }

/* Praktisch */
.lijst { padding-left: 1.2em; }
.lijst li { margin-bottom: .4em; }

/* Goed doel */
.goed-doel { background: var(--groen); color: var(--wit); border-radius: 24px; max-width: calc(var(--max) - 2.4rem); padding: clamp(2rem, 5vw, 3.5rem); }
.goed-doel h2 { color: var(--zand); }
.goed-doel strong { color: var(--zand); }
.citaat { display: flex; align-items: center; }
.citaat p {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  line-height: 1.2;
  border-left: 5px solid var(--zon);
  padding-left: 1.2rem;
  margin: 0;
}

/* Uitslagen */
.uitslag-tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.2rem; }
.uitslag-tab { background: var(--wit); border: 2px solid var(--groen); color: var(--groen); border-radius: 999px; padding: .35em 1em; font-weight: 700; cursor: pointer; font-size: .95rem; }
.uitslag-tab[aria-selected="true"] { background: var(--groen); color: var(--wit); }
.uitslag-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.uitslag {
  background: var(--wit);
  border-radius: var(--radius);
  border: 1px solid var(--rand);
  padding: 1.1rem 1.3rem;
}
.uitslag h3 { margin: 0 0 .5rem; font-size: 1rem; }
.uitslag ol { margin: 0; padding-left: 1.3em; }
.uitslag li { margin-bottom: .2em; }
.uitslag li::marker { font-weight: 800; color: var(--zon-donker); }

/* Partners */
.partner-lijst { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.partner {
  background: var(--wit);
  border-radius: var(--radius);
  border: 1px solid var(--rand);
  padding: 1rem 1.2rem;
  text-decoration: none;
  color: var(--inkt);
  display: flex; flex-direction: column; gap: .3rem;
}
.partner img { max-height: 56px; width: auto; object-fit: contain; margin-bottom: .4rem; }
a.partner { transition: border-color .15s, transform .15s; }
a.partner:hover { border-color: var(--groen-licht); transform: translateY(-2px); }
a.partner strong::after { content: " \2197"; font-weight: 400; color: var(--zon-donker); }
.licht-link { color: var(--zand); font-weight: 700; }
.fotocredit { font-size: .8rem; opacity: .6; }
@media (max-width: 860px) {
  .hero {
    background:
      linear-gradient(180deg, rgba(20,36,29,.55) 0%, rgba(20,36,29,.72) 100%),
      url("img/hero.jpg") 55% 40% / cover no-repeat,
      linear-gradient(180deg, #2c6470 0%, #4f8a86 42%, #3e7258 42.2%, #264d3b 100%);
  }
}
.partner strong { color: var(--groen); }
.partner span { color: var(--grijs); font-size: .9rem; }

/* Voet */
.voet { background: var(--inkt); color: #cfd8d3; text-align: center; padding: 2.5rem 1.2rem; font-size: .95rem; margin-top: 3rem; }
.voet p { margin: .3em 0; }
.voet a { color: var(--zand); }

/* Mobiel */
@media (max-width: 860px) {
  .menuknop { display: inline-block; }
  .menu {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--zand-licht);
    border-bottom: 1px solid var(--rand);
    padding: .5rem 1.2rem 1rem;
  }
  .menu.open { display: flex; }
  .menu a:not(.knop) { padding: .7rem 0; border-bottom: 1px solid var(--rand); }
  .menu .knop { margin-top: .8rem; text-align: center; }
  .kolommen-2, .kolommen-3, .afstanden, .inschrijf-stappen, .uitslag-grid { grid-template-columns: 1fr; }
  .inschrijven, .goed-doel { border-radius: 0; max-width: none; }
}

/* Goed doel: foto */
.goed-doel-foto { margin: 0 0 2rem; border-radius: var(--radius); overflow: hidden; }
.goed-doel-foto img { width: 100%; height: auto; aspect-ratio: 1449 / 423; object-fit: cover; }

/* Terugblik, uitslag en winnaarsfoto's */
.terugblik { max-width: 65ch; font-size: 1.08rem; }
.sub-kop { font-size: 1.35rem; margin: 2.2rem 0 1rem; }
.foto-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.foto { margin: 0; background: var(--wit); border: 1px solid var(--rand); border-radius: var(--radius); overflow: hidden; }
.foto a { display: block; }
.foto img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 30%; transition: transform .2s; }
.foto a:hover img { transform: scale(1.03); }
.foto figcaption { padding: .6rem .9rem; font-weight: 600; color: var(--groen); font-size: .95rem; }
.archief-link { margin-top: 2rem; }
.pagina-titel { font-size: clamp(2rem, 5vw, 3rem); color: var(--groen); }
#archief h2 { font-size: 1.6rem; margin-top: .5rem; }

/* Afstanden met routekaart: hele kaart klikbaar (stretched link) */
.afstand.met-route { position: relative; cursor: pointer; transition: transform .15s, box-shadow .15s, border-color .15s; }
.afstand.met-route:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(38,77,59,.14); border-color: var(--groen-licht); }
.route-link { display: inline-flex; align-items: center; gap: .4em; margin-top: 1rem; font-weight: 700; color: var(--groen); text-decoration: none; }
.route-link::before { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.route-link::after { content: "\2192"; transition: transform .15s; }
.afstand.met-route:hover .route-link::after { transform: translateX(3px); }
.route-link:focus-visible { outline: none; }
.route-link:focus-visible::before { outline: 3px solid var(--zon); outline-offset: 2px; }

/* Venster met de routekaart */
.route-venster { border: 0; border-radius: var(--radius); padding: 1rem 1.2rem 1.2rem; width: min(1000px, 94vw); max-height: 92vh; }
.route-venster::backdrop { background: rgba(20,36,29,.7); }
.route-venster img { width: 100%; height: auto; border-radius: 8px; border: 1px solid var(--rand); }
.route-venster-kop { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: .8rem; }
.route-venster-kop h2 { font-size: 1.4rem; margin: 0; }
.route-sluit { font: inherit; font-weight: 700; border: 2px solid var(--groen); background: #fff; color: var(--groen); border-radius: 999px; padding: .4em 1em; min-height: 44px; cursor: pointer; }

/* Actieprijzen */
.actie-melding { display: inline-block; background: var(--zon); color: var(--inkt); font-weight: 700; padding: .5em 1em; border-radius: 999px; margin: 1.2rem 0 0; }
.oude-prijs { font-weight: 600; font-size: 1rem; color: var(--grijs); text-decoration: line-through; text-decoration-thickness: 2px; }
.actie-prijs { color: #b4521a; }
.actie-label { position: absolute; top: .9rem; right: .9rem; background: var(--zon); color: var(--inkt); font-weight: 800; font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; padding: .25em .7em; border-radius: 999px; }
.visueel-verborgen { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
