/* =========================================================
   't Heidehuisje Texel
   Kleuren geplukt uit het huisje zelf: warm hout, crème
   kozijnen, heidepaars en het mos-groen van het bos.
   ========================================================= */

:root {
  --paper:        #fbf6ec;
  --paper-warm:   #f5ebda;
  --paper-deep:   #ecdec6;
  --card:         #fffdf9;

  --ink:          #2c241d;
  --ink-soft:     #6b5b4c;
  --ink-faint:    #9a8974;

  --wood:         #a9723f;
  --wood-dark:    #7a5230;
  --wood-deep:    #43301f;

  --heather:      #8b6a94;
  --heather-soft: #ece2f0;
  --moss:         #5e7350;
  --moss-soft:    #e3e9dc;

  --line:         #e3d5bd;

  --radius-sm: 10px;
  --radius:    18px;
  --radius-lg: 28px;

  --shadow-sm: 0 2px 8px rgba(67, 48, 31, .07);
  --shadow:    0 10px 30px rgba(67, 48, 31, .10);
  --shadow-lg: 0 24px 60px rgba(67, 48, 31, .16);

  --wrap: 1140px;
  --step: clamp(3.5rem, 8vw, 6.5rem);

  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans:  "Karla", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ---------- basis ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background-color: var(--paper);
  background-image:
    radial-gradient(700px 380px at 8% -6%, rgba(139, 106, 148, .10), transparent 65%),
    radial-gradient(760px 420px at 96% 4%, rgba(94, 115, 80, .10), transparent 62%);
  background-repeat: no-repeat;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--wood-dark); text-decoration-color: rgba(122, 82, 48, .35); text-underline-offset: 3px; }
a:hover { color: var(--heather); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -.012em;
  color: var(--wood-deep);
  margin: 0 0 .5em;
  font-variation-settings: "SOFT" 40, "WONK" 1;
}

h1 { font-size: clamp(2.3rem, 5.4vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.4rem); }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.narrow { width: min(100%, 62ch); }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--wood-deep); color: #fff; padding: .8rem 1.2rem;
  border-radius: 0 0 var(--radius-sm) 0; z-index: 200;
}
.skip:focus { left: 0; color: #fff; }

:focus-visible { outline: 3px solid var(--heather); outline-offset: 3px; border-radius: 4px; }

/* ---------- knoppen ---------- */

.btn {
  --btn-bg: var(--wood-dark);
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .85rem 1.6rem;
  background: var(--btn-bg);
  color: #fff9ef;
  font-family: var(--sans);
  font-weight: 700; font-size: .95rem; letter-spacing: .015em;
  border: 0; border-radius: 999px;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.btn:hover { --btn-bg: var(--wood-deep); color: #fff9ef; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: .58rem 1.15rem; font-size: .875rem; }
.btn-ghost {
  --btn-bg: transparent;
  color: var(--wood-deep);
  border: 1.5px solid var(--wood);
  box-shadow: none;
}
.btn-ghost:hover { --btn-bg: rgba(169, 114, 63, .10); color: var(--wood-deep); }
.btn-light { --btn-bg: rgba(255, 253, 249, .94); color: var(--wood-deep); }
.btn-light:hover { --btn-bg: #fff; color: var(--wood-deep); }

.btn svg { width: 18px; height: 18px; flex: 0 0 auto; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.8rem; }

/* ---------- header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 246, 236, .88);
  backdrop-filter: blur(12px) saturate(1.15);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(67, 48, 31, .07); }

.header-inner { display: flex; align-items: center; gap: 1rem; min-height: 76px; }

.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--wood-deep); margin-right: auto; }
.brand-mark {
  display: grid; place-items: center;
  width: 42px; height: 42px; flex: 0 0 auto;
  color: var(--wood-dark);
  background: var(--paper-warm);
  border-radius: 13px;
  box-shadow: inset 0 0 0 1px rgba(169, 114, 63, .22);
}
.brand-mark svg { width: 24px; height: 24px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--serif); font-size: 1.28rem; font-weight: 600; }
.brand-sub {
  font-size: .68rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--heather); font-weight: 700;
}

.site-nav { display: flex; align-items: center; gap: 1.6rem; }
.site-nav ul { display: flex; gap: 1.35rem; list-style: none; margin: 0; padding: 0; }
.site-nav ul a {
  position: relative;
  text-decoration: none; color: var(--ink-soft);
  font-weight: 500; font-size: .96rem;
  padding: .3rem 0;
}
.site-nav ul a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 2px; background: var(--heather); border-radius: 2px;
  transition: right .25s ease;
}
.site-nav ul a:hover { color: var(--wood-deep); }
.site-nav ul a:hover::after, .site-nav ul a[aria-current]::after { right: 0; }
.site-nav ul a[aria-current] { color: var(--wood-deep); font-weight: 700; }

.nav-extra { display: flex; align-items: center; gap: 1rem; }
.lang-switch {
  font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink-faint); text-decoration: none;
}
.lang-switch:hover { color: var(--heather); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px; padding: 0;
  background: var(--paper-warm); border: 1px solid var(--line);
  border-radius: 12px; cursor: pointer;
}
.nav-toggle span {
  display: block; width: 20px; height: 2px; margin: 4px auto;
  background: var(--wood-deep); border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- hero ---------- */

.hero { position: relative; padding: clamp(2rem, 5vw, 3.5rem) 0 var(--step); }
.hero-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}
.hero-frame img {
  width: 100%; height: clamp(360px, 62vh, 620px); object-fit: cover;
  /* De foto staat in de schaduw van de bomen; een tikje lichter oogt beter. */
  filter: brightness(1.09) saturate(1.04);
}
/* Alleen onderaan verdonkeren, precies genoeg om de tekst leesbaar te houden. */
.hero-frame::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top,
    rgba(38, 30, 23, .74) 0%,
    rgba(38, 30, 23, .46) 22%,
    rgba(38, 30, 23, .14) 44%,
    rgba(38, 30, 23, 0) 62%);
}
.hero-copy {
  position: absolute; inset: auto 0 0 0; z-index: 2;
  padding: clamp(1.5rem, 4vw, 3.2rem);
  color: #fff8ec;
}
.hero-copy h1 { color: #fff8ec; margin-bottom: .35em; text-shadow: 0 2px 24px rgba(30, 22, 16, .45); }
.hero-copy p {
  max-width: 46ch; font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  color: rgba(255, 248, 236, .93); text-shadow: 0 1px 14px rgba(30, 22, 16, .5);
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .74rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: #f0e3c4; margin-bottom: 1rem;
}
.hero-eyebrow::before { content: ""; width: 28px; height: 1.5px; background: currentColor; }

/* ---------- secties ---------- */

.section { padding-block: var(--step); }
.section-tint { background: var(--paper-warm); }
.section-tint-moss { background: var(--moss-soft); }

.section-head { max-width: 58ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head.center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: block;
  font-size: .74rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--heather); margin-bottom: .8rem;
}
.lead { font-size: clamp(1.08rem, 1.7vw, 1.25rem); color: var(--ink-soft); }

.sprig { display: block; width: 74px; margin: 0 auto 1.4rem; color: var(--heather); opacity: .85; }
.section-head.center .sprig { margin-bottom: 1.2rem; }

/* ---------- kaarten ---------- */

.cards { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card h3 { margin-bottom: .45em; }
.card p { color: var(--ink-soft); margin-bottom: 0; }

.card-icon {
  display: grid; place-items: center;
  width: 52px; height: 52px; margin-bottom: 1.1rem;
  border-radius: 15px;
  background: var(--heather-soft); color: var(--heather);
}
.card-icon svg { width: 26px; height: 26px; }
.card:nth-child(2n) .card-icon { background: var(--moss-soft); color: var(--moss); }
.card:nth-child(3n) .card-icon { background: var(--paper-deep); color: var(--wood-dark); }

/* ---------- split (tekst + beeld) ---------- */

.split {
  display: grid; gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  align-items: center;
}
.split-media img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.split.reverse .split-media { order: 2; }
@media (max-width: 720px) { .split.reverse .split-media { order: 0; } }

.quote {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.3rem, 2.6vw, 1.85rem); line-height: 1.5;
  color: var(--wood-deep);
  border-left: 3px solid var(--heather);
  padding-left: 1.4rem; margin: 0;
}

/* ---------- lijsten ---------- */

.tick-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.tick-list li { position: relative; padding-left: 1.9rem; color: var(--ink-soft); }
.tick-list li::before {
  content: ""; position: absolute; left: 0; top: .58em;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--heather); box-shadow: 0 0 0 4px var(--heather-soft);
}

.spec-grid {
  display: grid; gap: 1.25rem 2rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
/* Zes blokken netjes in twee rijen van drie, niet vier plus twee. */
@media (min-width: 900px) {
  .spec-grid { grid-template-columns: repeat(3, 1fr); }
}
.spec {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.5rem 1.5rem 1.6rem;
}
.spec h3 {
  display: flex; align-items: center; gap: .6rem;
  font-size: 1.08rem; margin-bottom: .8rem;
}
.spec h3 svg { width: 22px; height: 22px; color: var(--wood); flex: 0 0 auto; }
.spec ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.spec li { color: var(--ink-soft); font-size: .97rem; padding-left: 1.1rem; position: relative; }
.spec li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--wood);
  opacity: .55;
}

.facts { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0 0 2rem; padding: 0; list-style: none; }
.facts li {
  display: inline-flex; align-items: center; gap: .45rem;
  background: var(--card); border: 1px solid var(--line);
  border-radius: 999px; padding: .45rem 1rem;
  font-size: .88rem; font-weight: 500; color: var(--ink-soft);
}
.facts svg { width: 17px; height: 17px; color: var(--wood); }

/* ---------- blokje over de schilderijen ---------- */

.kunst {
  display: grid; gap: clamp(1.5rem, 3vw, 2.5rem);
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  background: var(--heather-soft);
  border-radius: var(--radius-lg);
}
.kunst h3 { margin-bottom: .5em; }
.kunst p { color: var(--ink-soft); font-size: .98rem; }
.kunst .card-icon { background: rgba(255, 253, 249, .8); color: var(--heather); margin-bottom: 1rem; }
.kunst img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
@media (max-width: 760px) { .kunst { grid-template-columns: 1fr; } }

/* ---------- huisregels ---------- */

.rules {
  background: var(--card);
  border: 1px dashed var(--wood);
  border-radius: var(--radius);
  padding: 1.75rem 1.9rem;
}
.rules h3 { margin-bottom: .7rem; }
.rules ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.rules li { position: relative; padding-left: 1.7rem; color: var(--ink-soft); }
.rules li::before {
  content: "•"; position: absolute; left: .3rem; top: -.05em;
  color: var(--wood); font-size: 1.2rem;
}

/* ---------- galerij ---------- */

.gallery {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  grid-auto-rows: 220px;
}
.gallery-item {
  position: relative; overflow: hidden;
  border: 0; padding: 0; margin: 0;
  background: var(--paper-deep);
  border-radius: var(--radius);
  cursor: zoom-in;
  box-shadow: var(--shadow-sm);
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s cubic-bezier(.2, .7, .3, 1);
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }
@media (max-width: 620px) { .gallery-item.wide { grid-column: span 1; } }

.gallery-item figcaption {
  position: absolute; inset: auto 0 0 0;
  padding: 2.2rem .95rem .8rem;
  font-size: .85rem; color: #fff8ec; text-align: left;
  background: linear-gradient(to top, rgba(44, 36, 29, .78), transparent);
  opacity: 0; transform: translateY(6px);
  transition: opacity .25s ease, transform .25s ease;
}
.gallery-item:hover figcaption, .gallery-item:focus-visible figcaption { opacity: 1; transform: none; }

.gallery-empty {
  border: 1px dashed var(--line); border-radius: var(--radius);
  padding: 3rem 2rem; text-align: center; color: var(--ink-faint);
  background: var(--card);
}

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  margin: 0;
  display: none; place-items: center; align-content: center;
  background: rgba(35, 27, 20, .93);
  padding: clamp(1rem, 4vw, 3rem);
}
.lightbox[open], .lightbox.is-open { display: grid; }
.lightbox img {
  max-width: 100%; max-height: 82vh;
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
}
.lightbox figcaption {
  margin-top: 1rem; text-align: center; color: rgba(255, 248, 236, .82); font-size: .92rem;
}
.lb-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; display: grid; place-items: center;
  background: rgba(255, 248, 236, .14); color: #fff8ec;
  border: 0; border-radius: 50%; cursor: pointer; font-size: 1.5rem; line-height: 1;
  transition: background-color .2s ease;
}
.lb-btn:hover { background: rgba(255, 248, 236, .28); }
.lb-prev { left: clamp(.5rem, 3vw, 2rem); }
.lb-next { right: clamp(.5rem, 3vw, 2rem); }
.lb-close { top: clamp(.75rem, 3vw, 1.5rem); right: clamp(.75rem, 3vw, 1.5rem); transform: none; }

/* ---------- strip met foto's op de homepage ---------- */

.photo-strip {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.photo-strip img {
  width: 100%; height: 240px; object-fit: cover;
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
}

/* ---------- omgeving ---------- */

.tips { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.tip {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}
.tip .dist {
  display: inline-block; margin-bottom: .7rem;
  font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--moss); background: var(--moss-soft);
  border-radius: 999px; padding: .28rem .8rem;
}
.tip h3 { font-size: 1.15rem; margin-bottom: .4em; }
.tip p { color: var(--ink-soft); font-size: .97rem; margin-bottom: 0; }

/* ---------- onze tips ---------- */

.notes { display: grid; gap: clamp(2.5rem, 5vw, 3.75rem); }

.note-group-titel {
  display: flex; align-items: center; gap: .85rem;
  font-size: clamp(1.3rem, 2.3vw, 1.65rem);
  padding-bottom: .9rem; margin-bottom: 1.75rem;
  border-bottom: 1px solid var(--line);
}
.note-icon {
  display: grid; place-items: center;
  width: 44px; height: 44px; flex: 0 0 auto;
  border-radius: 13px;
  background: var(--heather-soft); color: var(--heather);
}
.note-icon svg { width: 23px; height: 23px; }
.note-group:nth-child(2n) .note-icon { background: var(--moss-soft); color: var(--moss); }
.note-group:nth-child(3n) .note-icon { background: var(--paper-deep); color: var(--wood-dark); }

.note-list { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.note {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--wood);
  border-radius: var(--radius-sm) var(--radius) var(--radius) var(--radius-sm);
  padding: 1.6rem 1.75rem;
  box-shadow: var(--shadow-sm);
}
.note h4 {
  font-family: var(--serif); font-size: 1.12rem; font-weight: 600;
  color: var(--wood-deep); margin: 0 0 .5em;
}
.note p { color: var(--ink-soft); font-size: .98rem; margin: 0; }
.note.has-map { grid-column: 1 / -1; }

.note-map { margin: 1.25rem 0 0; }
.note-map-frame {
  position: relative;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  overflow: hidden;
}
.note-map iframe {
  display: block; width: 100%; height: clamp(300px, 44vw, 440px);
  border: 0; background: var(--paper-warm);
  /* De kaart pakt de muis pas als je erop klikt, zodat scrollen niet blijft haken. */
  pointer-events: none;
}
.note-map-frame.is-active iframe { pointer-events: auto; }

.map-hint {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  width: 100%; padding: 1rem;
  background: rgba(44, 36, 29, .32);
  color: #fff8ec; font-family: var(--sans); font-size: .92rem; font-weight: 700;
  border: 0; cursor: pointer;
  opacity: 0; transition: opacity .2s ease;
}
.map-hint span, .map-hint {
  text-shadow: 0 1px 10px rgba(30, 22, 16, .6);
}
.note-map-frame:hover .map-hint, .map-hint:focus-visible { opacity: 1; }
.note-map-frame.is-active .map-hint { display: none; }
.note-map figcaption {
  margin-top: .5rem; font-size: .78rem; color: var(--ink-faint);
}

.note-link { margin-top: .9rem !important; }
.group-link { margin-top: 1.25rem !important; padding-left: .2rem; }
.note-link a {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .92rem; font-weight: 700; color: var(--wood-dark); text-decoration: none;
}
.note-link a::after { content: "→"; transition: transform .2s ease; }
.note-link a:hover { color: var(--heather); }
.note-link a:hover::after { transform: translateX(3px); }

/* ---------- sociale link ---------- */

.sociaal {
  display: inline-flex; align-items: center; gap: .5rem;
  text-decoration: none; font-weight: 500;
}
.sociaal svg { width: 18px; height: 18px; flex: 0 0 auto; }
.sociaal:hover { text-decoration: underline; }

/* ---------- contact ---------- */

.contact-grid {
  display: grid; gap: clamp(2rem, 5vw, 3.5rem);
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.contact-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: clamp(1.75rem, 3vw, 2.5rem);
  box-shadow: var(--shadow-sm);
}
.contact-card dl { margin: 0; display: grid; gap: 1.3rem; }
.contact-card dt {
  font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-faint); margin-bottom: .25rem;
}
.contact-card dd { margin: 0; font-size: 1.05rem; }

/* ---------- contactformulier ---------- */

.formulier { margin-top: 1.5rem; }
.veld { margin-bottom: 1.15rem; }
.veld label {
  display: block; margin-bottom: .35rem;
  font-size: .84rem; font-weight: 700; letter-spacing: .04em; color: var(--ink);
}
.veld input, .veld textarea {
  width: 100%; padding: .75rem .9rem;
  font-family: var(--sans); font-size: 1rem; color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  transition: border-color .18s ease, background-color .18s ease;
}
.veld textarea { resize: vertical; min-height: 8rem; }
.veld input:focus, .veld textarea:focus {
  outline: none; border-color: var(--wood); background: #fff;
}
.veld input[aria-invalid], .veld textarea[aria-invalid] { border-color: #b4553f; background: #fdf4f1; }
.veld em {
  display: block; margin-top: .35rem;
  font-size: .85rem; font-style: normal; color: #a4482f;
}
.veld small { display: block; margin-top: .35rem; font-size: .8rem; color: var(--ink-faint); }
.veld input::placeholder { color: var(--ink-faint); opacity: .8; }

.veld-rij { display: grid; gap: 0 1rem; grid-template-columns: 1.6fr 1fr; }
@media (max-width: 560px) { .veld-rij { grid-template-columns: 1fr; } }

.veld-som input { max-width: 10rem; }

/* Het lokvakje: uit beeld, maar niet display:none — daar trappen robots niet in. */
.val { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-melding {
  margin: 1.25rem 0 0;
  padding: .9rem 1.1rem;
  background: #fdf4f1; border: 1px solid #e6c3b8; border-radius: var(--radius-sm);
  color: #8f3f28; font-size: .95rem;
}
.form-privacy { margin-top: 1.25rem; font-size: .82rem; color: var(--ink-faint); }

.gegevens { margin: 0; display: grid; gap: 1.3rem; }
.gegevens dt {
  font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-faint); margin-bottom: .25rem;
}
.gegevens dd { margin: 0; font-size: 1.05rem; }

/* ---------- CTA-band ---------- */

.cta {
  position: relative; overflow: hidden;
  background: var(--wood-deep);
  color: #fdf3e2;
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 5vw, 4rem);
  text-align: center;
  box-shadow: var(--shadow);
}
.cta::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(520px 260px at 12% 0%, rgba(139, 106, 148, .34), transparent 70%),
    radial-gradient(560px 300px at 88% 100%, rgba(94, 115, 80, .32), transparent 70%);
}
.cta > * { position: relative; }
.cta h2 { color: #fff6e6; }
.cta p { max-width: 52ch; margin-inline: auto; color: rgba(253, 243, 226, .84); }
.cta .btn-row { justify-content: center; }
.cta .eyebrow { color: #d9c0e0; }

/* ---------- footer ---------- */

.site-footer {
  margin-top: var(--step);
  background: var(--paper-warm);
  border-top: 1px solid var(--line);
  padding-top: clamp(2.5rem, 5vw, 4rem);
}
.footer-grid {
  display: grid; gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  padding-bottom: 2.5rem;
}
.footer-title { font-size: 1.5rem; margin-bottom: .4em; }
.footer-note { color: var(--ink-soft); font-size: .95rem; max-width: 30ch; }
.footer-col h3 {
  font-family: var(--sans); font-size: .74rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--ink-faint);
  margin-bottom: .9rem;
}
.footer-col p, .footer-links { font-size: .95rem; color: var(--ink-soft); }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.footer-links a, .footer-col a { color: var(--wood-dark); text-decoration: none; }
.footer-links a:hover, .footer-col a:hover { color: var(--heather); text-decoration: underline; }

.footer-bottom {
  display: flex; flex-wrap: wrap; gap: .75rem; justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-block: 1.25rem 1.5rem;
  font-size: .85rem; color: var(--ink-faint);
}
.footer-bottom p { margin: 0; }
.footer-bottom a { color: var(--ink-faint); }

/* ---------- pagina-kop voor subpagina's ---------- */

.pagehead { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 3vw, 2.5rem); }
.pagehead h1 { margin-bottom: .3em; }
.pagehead .lead { max-width: 60ch; }

/* ---------- animatie bij scrollen ---------- */

/* Alleen verbergen als JavaScript draait; anders staat alles er gewoon. */
.js .reveal { opacity: 0; transform: translateY(18px); }
.reveal.is-visible { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .3, 1); }

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

/* ---------- mobiel ---------- */

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; inset: 76px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 1rem 1.25rem 1.5rem;
    max-height: calc(100dvh - 76px); overflow-y: auto;
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav li { border-bottom: 1px solid var(--line); }
  .site-nav ul a { display: block; padding: .9rem .25rem; font-size: 1.05rem; }
  .site-nav ul a::after { display: none; }
  .nav-extra { justify-content: space-between; padding-top: 1.25rem; }
}
