/* =====================================================================
   Marke Rekken — Stylesheet
   Editorial nature aesthetic. Forest green + cream + brand lime & water.
   ===================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Brand + nature palette */
  --ink:        #1c2417;   /* near-black forest */
  --moss:       #2f3b29;   /* primary dark green section */
  --moss-700:   #38462f;
  --moss-600:   #45563a;
  --sage:       #8a9a78;   /* muted green */
  --sage-soft:  #c3cfb4;
  --cream:      #f4f0e6;   /* paper background */
  --cream-2:    #ebe5d6;
  --cream-3:    #e2dccb;
  --lime:       #a3c41b;   /* brand accent green */
  --lime-deep:  #7e9a12;
  --sun:        #fcba22;   /* brand yellow (logo) — spaarzaam accent */
  --water:      #0e71b4;   /* brand blue (Berkel) */
  --water-deep: #0c5d94;
  --white:      #ffffff;
  --line:       #d8d2c2;

  --font-heading: "Poppins", system-ui, -apple-system, sans-serif;
  --font-body:    "Manrope", system-ui, -apple-system, sans-serif;

  --maxw: 1200px;
  --gut: clamp(1.25rem, 4vw, 3rem);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 22px 50px -28px rgba(28, 36, 23, 0.55);
  --shadow-sm: 0 10px 26px -18px rgba(28, 36, 23, 0.5);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 4px; }

/* ---------- Layout helpers ---------- */
.wrap { width: min(100% - 2 * var(--gut), var(--maxw)); margin-inline: auto; }
.section { padding-block: clamp(4rem, 9vw, 8rem); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.grid { display: grid; gap: clamp(1.25rem, 3vw, 2rem); }
.center { text-align: center; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; }
.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--lime-deep);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; opacity: 0.7; }
.eyebrow.on-dark { color: var(--lime); }
/* subtiel geel accent uit het logo — spaarzaam ingezet */
.hero .eyebrow::before { width: 32px; height: 3px; background: var(--sun); opacity: 1; }

h2.display {
  font-size: clamp(1.85rem, 1.25rem + 2.5vw, 3.1rem);
  line-height: 1.08;
  max-width: 20ch;
  text-wrap: balance;
}
h2.display b, h2.display strong { font-weight: 800; letter-spacing: -0.005em; }
h2.display .accent { color: var(--lime-deep); font-weight: 700; }
/* prose-section headings are full sentences — keep them more modest */
.prose h2.display { font-size: clamp(1.65rem, 1.2rem + 1.7vw, 2.45rem); max-width: 17ch; }
.lead { font-size: clamp(1.1rem, 1rem + 0.5vw, 1.32rem); line-height: 1.6; color: #41492f; }
.muted { color: #5d6450; }
.prose p + p { margin-top: 1.1em; }
.prose p { max-width: 64ch; }

/* Vertical rhythm: label above heading, heading above body */
.eyebrow + h2 { margin-top: 1rem; }
.prose h2.display + * { margin-top: 1.5rem; }
.prose .eyebrow + h2.display { margin-top: 1.1rem; }
figcaption { font-size: 0.9rem; color: #6b7158; font-style: italic; margin-top: 0.7rem; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--cream);
  display: inline-flex; align-items: center; gap: 0.6em;
  font-weight: 700; font-size: 0.92rem; letter-spacing: 0.01em;
  padding: 0.95em 1.6em; border-radius: 100px;
  background: var(--bg); color: var(--fg);
  border: 1.5px solid transparent;
  cursor: pointer; transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn .arr { transition: transform .3s var(--ease); }
.btn:hover .arr { transform: translate(3px, -3px); }
.btn--lime { --bg: var(--lime); --fg: var(--ink); }
.btn--lime:hover { background: var(--lime-deep); color: var(--white); }
.btn--water { --bg: var(--water); --fg: var(--white); }
.btn--water:hover { background: var(--water-deep); }
.btn--ghost { --bg: transparent; --fg: var(--ink); border-color: var(--ink); }
.btn--ghost.on-dark { --fg: var(--cream); border-color: rgba(244,240,230,.5); }
.btn--ghost:hover { background: var(--ink); color: var(--cream); }
.btn--ghost.on-dark:hover { background: var(--cream); color: var(--ink); }
.btn--sm { padding: 0.7em 1.2em; font-size: 0.84rem; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 6px 24px -18px rgba(28,36,23,.5); }
.nav { display: flex; align-items: center; gap: 1.5rem; height: 104px; }
.brand { display: flex; align-items: center; gap: 0.7rem; font-family: var(--font-heading); font-weight: 700; font-size: 1.18rem; }
.brand__mark {
  width: 38px; height: 38px; border-radius: 11px; flex: none;
  background: linear-gradient(150deg, var(--lime), var(--lime-deep));
  display: grid; place-items: center; color: var(--ink);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.25);
}
.brand__mark svg { width: 22px; height: 22px; }
.brand__logo { display: block; height: 76px; width: auto; }
@media (max-width: 560px) { .brand__logo { height: 56px; } }
.brand small { display: block; font-family: var(--font-body); font-weight: 600; font-size: .68rem; letter-spacing: .04em; color: var(--lime-deep); margin-top: 2px; }
.nav__links { display: flex; align-items: center; gap: 0.35rem; margin-left: auto; }
.nav__links a {
  font-weight: 600; font-size: 0.92rem; padding: 0.5em 0.8em; border-radius: 100px;
  color: #3d4530; transition: background .2s, color .2s;
}
.nav__links a:hover { background: var(--cream-2); color: var(--ink); }
.nav__cta { margin-left: 0.6rem; }
.nav__toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; z-index: 2; color: var(--cream);
  min-height: clamp(600px, 90vh, 880px);
  display: flex; align-items: center;
  padding-bottom: clamp(3rem, 6vw, 5rem);
  background: var(--moss);
}
.hero__bg { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.hero__bg img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.06); animation: heroZoom 22s ease-in-out infinite alternate;
  will-change: transform;
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(20,26,16,.60) 0%, rgba(20,26,16,.28) 32%, rgba(20,26,16,.46) 66%, rgba(20,26,16,.92) 100%),
    radial-gradient(72% 56% at 50% 42%, rgba(20,26,16,.04), rgba(20,26,16,.52));
}
@keyframes heroZoom { from { transform: scale(1.06); } to { transform: scale(1.18); } }

.hero__inner { position: relative; z-index: 2; width: 100%; padding-block: clamp(2.5rem, 5vw, 4rem); }
.hero__content { max-width: 54rem; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero .eyebrow { margin-bottom: 1.1rem; }
.hero h1 {
  font-size: clamp(2.1rem, 1rem + 4.4vw, 4.2rem);
  font-weight: 700; line-height: 1.06; max-width: 26ch;
  text-wrap: balance;
  text-shadow: 0 2px 34px rgba(0,0,0,.38);
}
.hero h1 b { font-weight: 800; color: var(--lime); display: inline; }
.hero__intro { max-width: 56ch; margin: 1.5rem auto 0; color: #e7ecdd; font-size: clamp(1.05rem, 1rem + 0.4vw, 1.25rem); text-shadow: 0 1px 18px rgba(0,0,0,.32); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2.2rem; justify-content: center; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.6rem; }

/* JS-independent entrance so above-the-fold text is always visible */
.hero__content > * { animation: heroRise .9s var(--ease) both; }
.hero__content > *:nth-child(1) { animation-delay: .05s; }
.hero__content > *:nth-child(2) { animation-delay: .15s; }
.hero__content > *:nth-child(3) { animation-delay: .27s; }
.hero__content > *:nth-child(4) { animation-delay: .39s; }
@keyframes heroRise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hero__content > * { animation: none; } }

/* floating photos overlapping the hero's lower edge */
.hero__floats { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.hero__float {
  --rot: 0deg;
  position: absolute; overflow: hidden;
  border-radius: 16px; border: 5px solid #fff;
  box-shadow: 0 28px 64px -26px rgba(0,0,0,.75);
  opacity: 0; transform: rotate(var(--rot)) translateY(52px);
  animation: floatIn 1s var(--ease) forwards;
  pointer-events: auto;
}
.hero__float img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero__float figcaption {
  position: absolute; left: 10px; top: 10px;
  font-size: .7rem; font-weight: 700; letter-spacing: .04em; color: var(--ink);
  background: rgba(244,240,230,.92); padding: .35em .6em; border-radius: 6px;
}
.hero__float--a {
  --rot: -5deg; left: clamp(1rem, 5vw, 5.5rem); bottom: clamp(-1.6rem, -2.5vw, -3rem);
  width: clamp(160px, 15vw, 240px); aspect-ratio: 4/5; animation-delay: .45s;
}
.hero__float--b {
  --rot: 4deg; right: clamp(1rem, 5vw, 5.5rem); bottom: clamp(-0.6rem, -1.5vw, -2rem);
  width: clamp(168px, 16vw, 258px); aspect-ratio: 1/1; animation-delay: .65s;
}
@keyframes floatIn {
  from { opacity: 0; transform: rotate(var(--rot)) translateY(52px); }
  to   { opacity: 1; transform: rotate(var(--rot)) translateY(0); }
}
@media (max-width: 860px) { .hero__floats { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .hero__bg img { animation: none; transform: scale(1.04); }
  .hero__float { animation: none; opacity: 1; transform: rotate(var(--rot)); }
}

/* ---------- Media / image placeholders ---------- */
.media {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background: linear-gradient(155deg, var(--moss-600), var(--moss));
  isolation: isolate;
}
.media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.media.is-missing img { opacity: 0; }
.media::before { /* botanical texture for placeholder */
  content: ""; position: absolute; inset: 0; z-index: 0; opacity: .9;
  background:
    radial-gradient(circle at 22% 78%, rgba(163,196,27,.25), transparent 38%),
    radial-gradient(circle at 78% 24%, rgba(14,113,180,.18), transparent 42%),
    repeating-linear-gradient(135deg, rgba(255,255,255,.03) 0 8px, transparent 8px 22px);
}
.media:not(.is-missing)::before { display: none; }
.media__label { /* shows the intended photo when image missing */
  position: absolute; z-index: 1; inset: auto auto 0 0; margin: 14px;
  display: none; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 700; letter-spacing: .04em; color: var(--cream);
  background: rgba(28,36,23,.5); padding: .45em .7em; border-radius: 6px;
  backdrop-filter: blur(4px);
}
.media.is-missing .media__label { display: inline-flex; }
.media__label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); }
.media__tag { /* top-left category chip (always visible) */
  position: absolute; z-index: 2; top: 0; left: 0; margin: 14px;
  font-size: .72rem; font-weight: 700; letter-spacing: .04em;
  color: var(--ink); background: rgba(244,240,230,.92);
  padding: .4em .7em; border-radius: 6px;
}
.media__caption { /* bottom title overlay */
  position: absolute; z-index: 2; inset: auto 0 0 0; padding: 1.2rem 1.1rem 1rem;
  color: #fff;
  background: linear-gradient(to top, rgba(20,26,16,.82), rgba(20,26,16,0));
}
.media__caption h3 { color: #fff; font-size: 1.25rem; font-weight: 600; }
.media__caption p { font-size: .86rem; color: #d8ddca; margin-top: .2rem; }
.media-link:hover .media img { transform: scale(1.05); }

.media--ratio { aspect-ratio: 4 / 3; height: auto; }
.media--tall { aspect-ratio: 3 / 4; height: auto; }
.media--wide { aspect-ratio: 16 / 10; height: auto; }
/* show the whole image (no crop) on a neutral backdrop — e.g. the area map */
.media--contain { aspect-ratio: 16 / 10; height: auto; background: var(--cream-2); }
.media--contain img { object-fit: contain; }

/* clickable image → lightbox */
.media__zoom { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.media__zoom img { width: 100%; height: 100%; transition: transform .5s var(--ease); }
.media__zoom:hover img { transform: scale(1.03); }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 200; display: none; place-items: center; padding: clamp(1rem, 4vw, 3rem); background: rgba(20,26,16,.9); backdrop-filter: blur(3px); }
.lightbox.open { display: grid; }
.lightbox img { max-width: min(100%, 1400px); max-height: 90vh; width: auto; height: auto; border-radius: var(--radius-sm); box-shadow: 0 30px 80px -20px rgba(0,0,0,.7); }
.lightbox__close { position: absolute; top: clamp(1rem, 3vw, 2rem); right: clamp(1rem, 3vw, 2rem); width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--cream); color: var(--ink); font-size: 1.5rem; line-height: 1; cursor: pointer; display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.lightbox__close:hover { background: var(--lime); }

/* ---------- Stats ---------- */
.stats { background: var(--ink); color: var(--cream); }
.stats .grid { grid-template-columns: repeat(5, 1fr); gap: 0; }
.stat { padding: clamp(1.5rem,3vw,2.4rem) 1.2rem; border-left: 1px solid rgba(244,240,230,.12); }
.stat:first-child { border-left: 0; }
.stat__num { font-family: var(--font-heading); font-weight: 700; font-size: clamp(2rem, 1.4rem + 2vw, 3rem); line-height: 1; color: var(--lime); }
.stat__num small { font-size: .5em; color: var(--cream); }
.stat__label { font-size: .82rem; color: #b9c0a8; margin-top: .5rem; letter-spacing: .02em; }

/* ---------- Section heads ---------- */
.sec-head { display: grid; gap: 1rem; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.sec-head--row { grid-template-columns: 1.3fr 1fr; align-items: end; gap: 2rem; }
.sec-head--row .sec-head__aside { padding-bottom: .4rem; }
.sec-head__aside { display: flex; flex-direction: column; align-items: flex-start; gap: 1.1rem; }
@media (max-width: 760px) { .sec-head--row { grid-template-columns: 1fr; } }

/* ---------- Editorial split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split--media-first .split__media { order: -1; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split__media { order: -1; } }
.callout {
  border-left: 3px solid var(--lime); padding: .4rem 0 .4rem 1.3rem;
  font-family: var(--font-body); font-weight: 500; font-size: 1.25rem; line-height: 1.55; color: var(--moss);
  font-style: italic;
}
.callout p { margin: 0; }
.callout__source { display: block; margin-top: .7rem; font-size: .92rem; font-weight: 600; font-style: normal; color: #6b7158; }

/* ---------- Taxa list (Natuurwaarden) ---------- */
.taxa { display: grid; gap: clamp(1.4rem, 3vw, 2.1rem); }
.taxa__group { padding-bottom: clamp(1.4rem, 3vw, 2.1rem); border-bottom: 1px solid rgba(244,240,230,.14); }
.taxa__group:last-child { padding-bottom: 0; border-bottom: 0; }

/* three equal columns (Natuurwaarden) */
.taxa--cols { grid-template-columns: repeat(3, 1fr); gap: clamp(1.8rem, 3vw, 2.8rem); margin-top: clamp(2.4rem, 4vw, 3.6rem); }
.taxa--cols .taxa__group { padding-bottom: 0; border-bottom: 0; padding-top: 1.4rem; border-top: 1px solid rgba(244,240,230,.22); }
@media (max-width: 760px) { .taxa--cols { grid-template-columns: 1fr; } }
.taxa__group h3 {
  font-family: var(--font-heading); font-weight: 600;
  font-size: clamp(1.3rem, 1.1rem + 0.7vw, 1.7rem); color: var(--cream); margin-bottom: .6rem;
}
.taxa__group p { color: #cbd3bb; max-width: 56ch; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.chips li {
  font-size: .82rem; font-weight: 600; letter-spacing: .01em; color: var(--cream);
  background: rgba(244,240,230,.08); border: 1px solid rgba(244,240,230,.16);
  padding: .42em .8em; border-radius: 7px;
}

/* ---------- Dark section ---------- */
.dark { background: var(--moss); color: var(--cream); }
.dark .lead, .dark .muted { color: #cbd3bb; }
.dark h2.display b { color: var(--lime); }

/* ---------- Species / cards grid ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.4vw, 1.7rem); }
@media (max-width: 900px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }
.card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .media { border-radius: 0; }
.card__body { padding: 1.2rem 1.25rem 1.4rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.card__kicker { font-size: .8rem; font-weight: 700; letter-spacing: .03em; color: var(--lime-deep); }
.card__body h3 { font-size: 1.3rem; font-weight: 600; }
.card__body p { font-size: .92rem; color: #555c46; }
.dark .card { background: var(--moss-700); border-color: rgba(244,240,230,.12); }
.dark .card__body h3 { color: var(--cream); }
.dark .card__body p { color: #c2caaf; }

/* feature list with icons */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
@media (max-width: 820px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .features { grid-template-columns: 1fr; } }
.feature { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1.4rem; }
.feature__ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--cream-2); color: var(--moss); margin-bottom: .9rem; }
.feature__ic svg { width: 24px; height: 24px; }
.feature h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: .4rem; color: var(--ink); }
.feature p { font-size: .88rem; color: #5d6450; }
.dark .feature h3 { color: var(--ink); }

/* ---------- News carousel ---------- */
.carousel { position: relative; }
.carousel__track {
  --gap: clamp(1.2rem, 3vw, 2rem);
  --vis: 3;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - (var(--vis) - 1) * var(--gap)) / var(--vis));
  gap: var(--gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-bottom: .4rem;
  scroll-padding-left: 2px;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > .post { scroll-snap-align: start; }
@media (max-width: 860px) { .carousel__track { --vis: 2; } }
@media (max-width: 560px) { .carousel__track { --vis: 1.12; } }

.carousel__btn {
  position: absolute; top: 33%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--white); color: var(--ink);
  border: 1px solid var(--line); box-shadow: 0 14px 30px -14px rgba(28,36,23,.55);
  display: grid; place-items: center; cursor: pointer; z-index: 4;
  transition: opacity .25s var(--ease), transform .15s var(--ease), background .2s var(--ease);
}
.carousel__btn:hover { background: var(--lime); border-color: var(--lime); }
.carousel__btn:active { transform: translateY(-50%) scale(.94); }
.carousel__btn--prev { left: clamp(-6px, -1vw, -18px); }
.carousel__btn--next { right: clamp(-6px, -1vw, -18px); }
.carousel__btn:disabled { opacity: 0; pointer-events: none; }
@media (max-width: 560px) { .carousel__btn { top: 30%; width: 44px; height: 44px; } }

.post {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
  display: grid; grid-template-rows: auto 1fr;
}
.post .media { border-radius: 0; aspect-ratio: 4 / 3; height: auto; min-height: 0; }
.post .media img { object-fit: cover; }
.post__body { padding: 1.5rem 1.6rem 1.7rem; display: flex; flex-direction: column; gap: .6rem; }
.post__date { font-size: .82rem; font-weight: 700; letter-spacing: .02em; color: var(--lime-deep); }
.post__body h3 { font-size: clamp(1.2rem, 1.05rem + .5vw, 1.5rem); font-weight: 600; line-height: 1.25; }
.post__body p { font-size: .94rem; color: #4f5641; }
.post__more { margin-top: auto; font-weight: 700; font-size: .9rem; color: var(--moss); display: inline-flex; gap: .4em; align-items: center; }

/* ---------- Media links list ---------- */
.linklist { display: grid; gap: .2rem; }
.linklist a {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.1rem 0; border-bottom: 1px solid var(--line); font-weight: 600;
  transition: padding .25s var(--ease), color .25s;
}
.linklist a:hover { padding-left: .6rem; color: var(--lime-deep); }
.linklist a span { font-size: .82rem; color: #7a8064; font-weight: 600; }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem,2.4vw,1.6rem); }
@media (max-width: 820px) { .team { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px) { .team { grid-template-columns: 1fr; } }
.member { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1rem 1.2rem; border-left: 3px solid var(--lime); }
.member h3 { font-size: 1rem; font-weight: 600; color: var(--ink); }
.member p { font-size: .85rem; color: #6b7158; margin-top: .1rem; }
.team__note { margin-top: 1.4rem; font-size: .95rem; color: #cbd3bb; }
.team__note strong { color: var(--cream); font-weight: 600; }

/* ---------- CTA banner ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: clamp(20px, 3vw, 30px); background: linear-gradient(135deg, var(--moss), #232d1d); color: var(--cream); padding: clamp(2.4rem, 5vw, 4rem); }
.cta-band::after { content:""; position:absolute; inset:0; background: radial-gradient(50% 80% at 100% 0, rgba(252,186,34,.22), transparent 60%); pointer-events:none; }
.cta-band__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: center; }
@media (max-width: 760px) { .cta-band__inner { grid-template-columns: 1fr; } }
.cta-band h2 { font-size: clamp(1.65rem, 1.2rem + 1.8vw, 2.5rem); font-weight: 700; line-height: 1.15; text-wrap: balance; }
.cta-band h2 b { color: var(--lime); font-weight: 800; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #c3cbb2; padding-block: clamp(3rem, 6vw, 5rem) 2rem; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
@media (max-width: 820px) { .footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer__top { grid-template-columns: 1fr; } }
.footer .brand { color: var(--cream); }
.footer__brand { display: inline-flex; width: fit-content; background: var(--white); padding: .5rem .85rem; border-radius: 12px; }
.footer__brand .brand__logo { height: 52px; }
.social-link { display: inline-flex; align-items: center; gap: .5em; }
.social-link svg { flex: none; }
.footer h4 { font-family: var(--font-body); font-size: .86rem; letter-spacing: .03em; color: var(--lime); margin-bottom: 1rem; font-weight: 700; }
.footer a:hover { color: var(--lime); }
.footer li { margin-bottom: .55rem; font-size: .94rem; }
.footer__bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(244,240,230,.12); display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font-size: .84rem; color: #8c937b; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .media img { transition: none; }
}

/* ---------- Mobile nav ---------- */
@media (max-width: 940px) {
  .nav { height: 84px; }
  .nav__toggle {
    display: block; position: relative; margin-left: auto;
    width: 46px; height: 46px; border-radius: 12px; border: 1.5px solid var(--line);
    background: var(--white); cursor: pointer;
  }
  .nav__toggle span {
    position: absolute; left: 13px; right: 13px; height: 2px; background: var(--ink);
    transition: transform .3s var(--ease), opacity .2s var(--ease); display: block;
  }
  .nav__toggle span:nth-child(1) { top: 16px; }
  .nav__toggle span:nth-child(2) { top: 22px; }
  .nav__toggle span:nth-child(3) { top: 28px; }
  .nav.open .nav__toggle span:nth-child(1) { top: 22px; transform: rotate(45deg); }
  .nav.open .nav__toggle span:nth-child(2) { opacity: 0; }
  .nav.open .nav__toggle span:nth-child(3) { top: 22px; transform: rotate(-45deg); }
  .nav__links {
    position: fixed; inset: 84px 0 auto 0; flex-direction: column; align-items: stretch;
    gap: 0; background: #fff; border-bottom: 1px solid var(--line);
    padding: 1rem var(--gut) 1.6rem; margin: 0;
    transform: translateY(-120%); transition: transform .4s var(--ease); box-shadow: var(--shadow);
  }
  .nav.open .nav__links { transform: none; }
  .nav__links a { display: block; padding: .9em .4em; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav__cta { list-style: none; }
  .nav__links .nav__cta a { display: inline-flex; border-radius: 100px; border-bottom: 0; padding: .95em 1.6em; }
  .nav__cta { margin: 1rem 0 0; }
  .hero__media { grid-template-columns: 1fr 1fr; height: auto; }
  .hero__media .media { aspect-ratio: 4/3; }
  .hero__media .media:first-child { grid-column: span 2; }
  .stats .grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(odd) { border-left: 0; }
}
@media (max-width: 420px) {
  .stats .grid { grid-template-columns: 1fr; }
  .stat { border-left: 0; border-top: 1px solid rgba(244,240,230,.12); }
  .stat:first-child { border-top: 0; }
}

/* ---------- WordPress-thema aanvullingen ---------- */
/* Footer-omschrijving (was inline style in de statische site) */
.footer__omschrijving { margin-top: 1rem; max-width: 34ch; color: #aab394; }

/* Tekst in de contact-CTA-band */
.cta-band__tekst { color: #cbd3bb; margin-top: .6rem; max-width: 48ch; }

/* Natuurwaarden met 4+ kolommen (bv. Planten erbij): automatisch 2x2 */
.taxa--cols-4 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 760px) { .taxa--cols-4 { grid-template-columns: 1fr; } }

/* Nieuwsbericht-detail: foto binnen de prose-kolom */
.prose .media--wide img { width: 100%; height: 100%; object-fit: cover; }

/* WordPress-adminbalk: sticky header eronder laten aansluiten */
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .site-header { top: 46px; } }
