/* ==========================================================================
   Buitenleven Spanje — stylesheet
   Eén bestand, geen frameworks. Structuur:
   01 Tokens · 02 Reset · 03 Typografie · 04 Layout · 05 Header · 06 Hero
   07 Componenten · 08 Woningen · 09 Formulier · 10 Footer · 11 Utilities
   ========================================================================== */

/* 01 ── TOKENS ─────────────────────────────────────────────────────────── */
:root {
  /* Kleur. Basis: Galicisch groen (graniet + bos) op warm kalkwit. */
  --pine-900: #14251d;
  --pine-800: #1c3227;
  --pine-700: #274434;
  --pine-600: #365a45;
  --pine-400: #6b8b78;
  --pine-200: #b9cbbf;

  --clay-600: #9c5f35;
  --clay-500: #b87a46;
  --clay-300: #ddb98f;

  --sand-50:  #fbf8f3;
  --sand-100: #f4efe6;
  --sand-200: #e9e1d4;
  --sand-300: #d8cdbb;

  --ink-900: #1a1a17;
  --ink-700: #3d3c36;
  --ink-500: #6b6960;
  --ink-300: #9b998e;

  /* Rollen */
  --bg: var(--sand-50);
  --bg-alt: var(--sand-100);
  --bg-deep: var(--pine-900);
  --text: var(--ink-900);
  --text-soft: var(--ink-500);
  --line: var(--sand-300);
  --accent: var(--clay-600);
  --brand: var(--pine-700);

  /* Typografie */
  --font-display: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --step--1: clamp(0.82rem, 0.79rem + 0.14vw, 0.9rem);
  --step-0:  clamp(1rem, 0.96rem + 0.2vw, 1.09rem);
  --step-1:  clamp(1.2rem, 1.12rem + 0.38vw, 1.45rem);
  --step-2:  clamp(1.45rem, 1.3rem + 0.7vw, 1.95rem);
  --step-3:  clamp(1.75rem, 1.48rem + 1.3vw, 2.6rem);
  --step-4:  clamp(2.1rem, 1.6rem + 2.4vw, 3.5rem);
  --step-5:  clamp(2.5rem, 1.6rem + 4.2vw, 5rem);

  /* Ritme */
  --gutter: clamp(1.15rem, 4vw, 2.5rem);
  --measure: 66ch;
  --wrap: 1240px;
  --wrap-narrow: 760px;
  --section-y: clamp(4rem, 9vw, 8.5rem);
  --radius: 3px;
  --radius-lg: 6px;

  --shadow-sm: 0 1px 2px rgba(20, 37, 29, 0.06), 0 4px 12px rgba(20, 37, 29, 0.05);
  --shadow-md: 0 2px 4px rgba(20, 37, 29, 0.06), 0 12px 34px rgba(20, 37, 29, 0.09);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* 02 ── RESET ──────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }

/* 03 ── TYPOGRAFIE ─────────────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  font-variation-settings: "SOFT" 30, "WONK" 1;
  line-height: 1.08;
  letter-spacing: -0.018em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }
p { margin: 0 0 1.1em; max-width: var(--measure); text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.eyebrow::before {
  content: "";
  width: 2rem;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
  flex: none;
}
.eyebrow--center { justify-content: center; }

.lede {
  font-size: var(--step-1);
  line-height: 1.55;
  color: var(--ink-700);
  max-width: 54ch;
}
.display-quote {
  font-family: var(--font-display);
  font-size: var(--step-3);
  line-height: 1.25;
  letter-spacing: -0.02em;
  max-width: 22ch;
}

/* 04 ── LAYOUT ─────────────────────────────────────────────────────────── */
.wrap { width: min(100% - var(--gutter) * 2, var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - var(--gutter) * 2, var(--wrap-narrow)); margin-inline: auto; }
.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(2.5rem, 6vw, 5rem); }
.section--alt { background: var(--bg-alt); }
.section--deep { background: var(--bg-deep); color: var(--sand-100); }
.section--deep h1, .section--deep h2, .section--deep h3 { color: var(--sand-50); }
.section--deep p { color: var(--pine-200); }
.section--deep .eyebrow { color: var(--clay-300); }

.grid { display: grid; gap: clamp(1.5rem, 3vw, 2.6rem); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 215px), 1fr)); }

.split {
  display: grid;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide-left { grid-template-columns: 1.15fr 1fr; }
  .split--wide-right { grid-template-columns: 1fr 1.15fr; }
  .split__media--first { order: -1; }
}

.section-head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center p { margin-inline: auto; }
.section-head--split {
  display: grid;
  gap: clamp(1rem, 3vw, 3rem);
  align-items: end;
  max-width: none;
}
@media (min-width: 860px) { .section-head--split { grid-template-columns: 1.1fr 1fr; } }

.figure { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--sand-200); }
.figure img { width: 100%; height: 100%; object-fit: cover; }
.figure--tall { aspect-ratio: 4 / 5; }
.figure--wide { aspect-ratio: 16 / 10; }
.figure--square { aspect-ratio: 1; }
.figure figcaption {
  font-size: var(--step--1);
  color: var(--text-soft);
  padding-top: 0.75rem;
}

/* 05 ── HEADER ─────────────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: clamp(0.85rem, 1.6vw, 1.3rem);
}
.site-header--solid {
  background: rgba(251, 248, 243, 0.93);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
body.has-hero .site-header:not(.site-header--solid) { color: #fff; }
body.has-hero .site-header:not(.site-header--solid) .brand__sub { color: rgba(255, 255, 255, 0.7); }
body.has-hero .site-header:not(.site-header--solid) .btn--ghost {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}
body.has-hero .site-header:not(.site-header--solid) .nav-toggle span { background: #fff; }

.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; flex: none; }
.brand__mark { width: 30px; height: 30px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name {
  font-family: var(--font-display);
  font-size: 1.14rem;
  letter-spacing: -0.01em;
  font-variation-settings: "SOFT" 30, "WONK" 1;
}
.brand__sub {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.site-nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 1.9rem); }
.site-nav a {
  text-decoration: none;
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.01em;
  position: relative;
  padding-block: 0.25rem;
  white-space: nowrap;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }

.lang-switch {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.3rem 0.8rem !important;
  font-size: var(--step--2) !important;
  opacity: 0.8;
}
.lang-switch::after { display: none; }
.lang-switch:hover { opacity: 1; }
@media (max-width: 960px) {
  .lang-switch { align-self: flex-start; margin-top: 0.5rem; }
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 0.6rem;
  margin: -0.6rem;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink-900);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle span + span { margin-top: 5px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(88vw, 380px);
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 0.35rem;
    background: var(--sand-50);
    color: var(--ink-900);
    padding: 2rem var(--gutter);
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    box-shadow: -20px 0 60px rgba(20, 37, 29, 0.16);
    overflow-y: auto;
  }
  .site-nav[data-open="true"] { transform: translateX(0); }
  .site-nav a {
    font-family: var(--font-display);
    font-size: var(--step-2);
    padding-block: 0.45rem;
    border-bottom: 1px solid var(--line);
  }
  .site-nav a::after { display: none; }
  .site-nav .btn { margin-top: 1.5rem; justify-content: center; }
  .nav-scrim {
    position: fixed;
    inset: 0;
    background: rgba(20, 37, 29, 0.4);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease);
    z-index: 99;
  }
  .nav-scrim[data-open="true"] { opacity: 1; pointer-events: auto; }
}

/* 06 ── HERO ───────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: min(94svh, 900px);
  display: grid;
  align-items: end;
  color: #fff;
  isolation: isolate;
  overflow: hidden;
}
.hero--short { min-height: min(62svh, 620px); }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, rgba(14, 30, 22, 0.86) 0%, rgba(14, 30, 22, 0.42) 42%, rgba(14, 30, 22, 0.28) 68%, rgba(14, 30, 22, 0.5) 100%);
}
.hero__inner { padding-block: clamp(4.5rem, 11vw, 8rem) clamp(3rem, 7vw, 5.5rem); }
.hero h1 { max-width: 15ch; color: #fff; margin-bottom: 0.35em; }
.hero .eyebrow { color: var(--clay-300); }
.hero p {
  font-size: var(--step-1);
  color: rgba(255, 255, 255, 0.88);
  max-width: 46ch;
  line-height: 1.55;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2.2rem; }
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.2rem, 4vw, 3rem);
  margin-top: clamp(2.5rem, 6vw, 4rem);
  padding-top: 1.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}
.hero__meta div { min-width: 0; }
.hero__meta dt {
  font-size: var(--step--1);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
  margin-bottom: 0.3rem;
}
.hero__meta dd { margin: 0; font-family: var(--font-display); font-size: var(--step-1); }

/* Paginakop voor binnenpagina's zonder hero-foto */
.page-head {
  padding-block: clamp(8rem, 14vw, 11rem) clamp(2.5rem, 5vw, 4rem);
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
}
.page-head h1 { max-width: 18ch; }
.page-head .lede { margin-top: 0.5rem; }

/* 07 ── COMPONENTEN ────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.55rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
              border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--pine-700); color: var(--sand-50); }
.btn--primary:hover { background: var(--pine-800); }
.btn--accent { background: var(--clay-600); color: #fff; }
.btn--accent:hover { background: var(--clay-500); }
.btn--ghost { border-color: var(--line); color: var(--ink-900); background: transparent; }
.btn--ghost:hover { border-color: var(--pine-700); background: rgba(39, 68, 52, 0.05); }
.btn--light { background: var(--sand-50); color: var(--pine-900); }
.btn--light:hover { background: #fff; }
.btn--block { width: 100%; justify-content: center; }
.btn svg { flex: none; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-weight: 500;
  font-size: var(--step--1);
  color: var(--accent);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: gap 0.25s var(--ease);
}
.link-arrow:hover { gap: 0.85rem; }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 2.6vw, 2.2rem);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.card--hover:hover { border-color: var(--pine-400); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.card h3 { font-size: var(--step-1); margin-bottom: 0.45em; }
.card p { color: var(--text-soft); font-size: var(--step-0); }
.section--alt .card { background: var(--sand-50); }

.numbered { counter-reset: step; }
.numbered .step { position: relative; padding-top: 2.6rem; border-top: 1px solid var(--line); }
.numbered .step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 1.1rem;
  left: 0;
  font-family: var(--font-display);
  font-size: var(--step--1);
  letter-spacing: 0.1em;
  color: var(--accent);
}
.section--deep .numbered .step { border-top-color: rgba(255, 255, 255, 0.18); }

.feature { display: flex; flex-direction: column; gap: 0.9rem; }
.feature__icon {
  width: 38px;
  height: 38px;
  color: var(--brand);
  flex: none;
}
.section--deep .feature__icon { color: var(--clay-300); }

.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.85rem; }
.checklist li {
  position: relative;
  padding-left: 2rem;
  max-width: var(--measure);
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 11px;
  height: 6px;
  border-left: 1.5px solid var(--accent);
  border-bottom: 1.5px solid var(--accent);
  transform: rotate(-45deg);
}
.checklist--cross li::before {
  width: 11px;
  height: 11px;
  top: 0.45em;
  border: 0;
  background:
    linear-gradient(currentColor, currentColor) center/100% 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center/1.5px 100% no-repeat;
  color: var(--ink-300);
  transform: rotate(45deg);
}

.stat-row { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); }
.stat { border-top: 1px solid var(--line); padding-top: 1.1rem; }
.stat__value { font-family: var(--font-display); font-size: var(--step-3); line-height: 1; display: block; }
.stat__label { font-size: var(--step--1); color: var(--text-soft); margin-top: 0.5rem; display: block; }
.section--deep .stat { border-top-color: rgba(255, 255, 255, 0.2); }
.section--deep .stat__label { color: var(--pine-200); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-soft);
  background: var(--sand-50);
}
.pill--accent { border-color: var(--clay-300); color: var(--clay-600); background: rgba(184, 122, 70, 0.08); }
.pill--sold { border-color: var(--ink-300); color: var(--ink-500); }

.prose > * + * { margin-top: 1.15em; }
.prose h2 { font-size: var(--step-3); margin-top: 2.4em; }
.prose h3 { font-size: var(--step-1); margin-top: 1.9em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3rem; max-width: var(--measure); }
.prose li + li { margin-top: 0.45em; }
.prose a { color: var(--accent); text-underline-offset: 3px; }
.prose figure { margin: 2.5em 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: var(--step--1); }
.prose th, .prose td { text-align: left; padding: 0.75rem 0.9rem; border-bottom: 1px solid var(--line); }
.prose th { font-weight: 600; background: var(--bg-alt); }
.prose tbody tr:last-child td { border-bottom: 0; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-block: 1.6em; }

.callout {
  border-left: 2px solid var(--accent);
  background: var(--bg-alt);
  padding: clamp(1.2rem, 2.5vw, 1.8rem);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}
.callout h3 { font-size: var(--step-1); margin-bottom: 0.4em; }
.callout p { font-size: var(--step--1); color: var(--ink-700); }

details.faq {
  border-bottom: 1px solid var(--line);
  padding-block: 1.15rem;
}
details.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  font-family: var(--font-display);
  font-size: var(--step-1);
  line-height: 1.3;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: "";
  flex: none;
  width: 12px;
  height: 12px;
  margin-top: 0.45em;
  background:
    linear-gradient(currentColor, currentColor) center/100% 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center/1.5px 100% no-repeat;
  color: var(--accent);
  transition: transform 0.3s var(--ease);
}
details.faq[open] summary::after { transform: rotate(45deg); }
details.faq p { margin-top: 0.9rem; color: var(--text-soft); }

.cta-band {
  background: var(--pine-800);
  color: var(--sand-50);
  border-radius: var(--radius-lg);
  padding: clamp(2.2rem, 5vw, 4rem);
  display: grid;
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: center;
}
@media (min-width: 860px) { .cta-band { grid-template-columns: 1.3fr 1fr; } }
.cta-band h2 { color: var(--sand-50); font-size: var(--step-3); margin-bottom: 0.4em; }
.cta-band p { color: var(--pine-200); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }

/* 08 ── WONINGEN ───────────────────────────────────────────────────────── */
.property-grid { display: grid; gap: clamp(1.8rem, 3vw, 2.8rem); grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); }

.property-card { display: flex; flex-direction: column; text-decoration: none; group: card; }
.property-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--sand-200);
}
.property-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.property-card:hover .property-card__media img { transform: scale(1.045); }
.property-card__badge { position: absolute; top: 0.9rem; left: 0.9rem; }
.property-card__body { padding-top: 1.1rem; display: flex; flex-direction: column; gap: 0.45rem; }
.property-card__region {
  font-size: var(--step--1);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-soft);
}
.property-card__title {
  font-family: var(--font-display);
  font-size: var(--step-1);
  line-height: 1.2;
  margin: 0;
}
.property-card:hover .property-card__title { color: var(--pine-700); }
.property-card__price { font-family: var(--font-display); font-size: var(--step-1); color: var(--accent); }
.property-card__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  font-size: var(--step--1);
  color: var(--text-soft);
  margin-top: 0.15rem;
}
.property-card__facts span { display: inline-flex; align-items: center; gap: 0.35rem; }

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding-bottom: clamp(1.8rem, 3vw, 2.6rem);
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(1.8rem, 3vw, 2.6rem);
}
.filter-chip {
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 999px;
  padding: 0.45rem 1.05rem;
  font-size: var(--step--1);
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.filter-chip:hover { border-color: var(--pine-400); }
.filter-chip[aria-pressed="true"] { background: var(--pine-700); border-color: var(--pine-700); color: var(--sand-50); }

.gallery { display: grid; gap: 0.7rem; grid-template-columns: repeat(2, 1fr); }
.gallery .figure { aspect-ratio: 4 / 3; }
.gallery .figure:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
@media (max-width: 560px) {
  .gallery { grid-template-columns: 1fr; }
  .gallery .figure:first-child { aspect-ratio: 4 / 3; }
}

.spec-list { display: grid; gap: 0; grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); }
.spec-list div { padding: 1.1rem 0; border-top: 1px solid var(--line); }
.spec-list dt { font-size: var(--step--1); color: var(--text-soft); margin-bottom: 0.3rem; }
.spec-list dd { margin: 0; font-family: var(--font-display); font-size: var(--step-1); }

.sticky-aside { position: sticky; top: 6.5rem; }

/* 09 ── FORMULIER ──────────────────────────────────────────────────────── */
.form { display: grid; gap: 1.15rem; }
.form__row { display: grid; gap: 1.15rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.field { display: grid; gap: 0.4rem; }
.field label { font-size: var(--step--1); font-weight: 500; }
.field .hint { font-size: 0.78rem; color: var(--text-soft); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 0.8rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--pine-600);
  box-shadow: 0 0 0 3px rgba(54, 90, 69, 0.13);
}
.field--invalid input, .field--invalid select, .field--invalid textarea { border-color: #a4402f; }
.field__error { font-size: 0.78rem; color: #a4402f; }
.consent { display: flex; gap: 0.7rem; align-items: flex-start; font-size: var(--step--1); color: var(--text-soft); }
.consent input { width: auto; margin-top: 0.25em; flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status {
  padding: 1rem 1.15rem;
  border-radius: var(--radius);
  font-size: var(--step--1);
  display: none;
}
.form-status[data-state="ok"] { display: block; background: rgba(54, 90, 69, 0.1); border: 1px solid var(--pine-400); }
.form-status[data-state="error"] { display: block; background: rgba(164, 64, 47, 0.08); border: 1px solid #c98b7e; }

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

/* 10 ── FOOTER ─────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--pine-900);
  color: var(--pine-200);
  padding-block: clamp(3.5rem, 7vw, 6rem) 2rem;
}
.site-footer a { color: var(--sand-100); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}
.footer-grid > div:first-child { grid-column: span 1; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }
.site-footer h4 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pine-400);
  margin-bottom: 1.1rem;
}
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; font-size: var(--step--1); }
.site-footer .brand__name { color: var(--sand-50); }
.site-footer .brand__sub { color: var(--pine-400); }
.site-footer p { font-size: var(--step--1); color: var(--pine-200); }
/* De algemene .site-footer a-regel is specifieker dan .btn--light en maakte de
   knoptekst onzichtbaar. Deze twee regels zetten dat recht. */
.site-footer .btn--light { color: var(--pine-900); }
.site-footer .btn--light:hover { color: var(--pine-900); }
.site-footer .muted { color: var(--pine-400); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  padding-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.6rem;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--pine-400);
}
.footer-bottom a { color: var(--pine-200); }

/* 11 ── UTILITIES ──────────────────────────────────────────────────────── */
.skip-link {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -150%);
  background: var(--pine-800);
  color: #fff;
  padding: 0.7rem 1.2rem;
  border-radius: 0 0 var(--radius) var(--radius);
  z-index: 200;
  text-decoration: none;
  transition: transform 0.25s var(--ease);
}
.skip-link:focus { transform: translate(-50%, 0); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.09s; }
.reveal[data-delay="2"] { transition-delay: 0.18s; }
.reveal[data-delay="3"] { transition-delay: 0.27s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-s { margin-top: 1rem; }
.mt-m { margin-top: 2rem; }
.mt-l { margin-top: clamp(2.5rem, 5vw, 4rem); }
.muted { color: var(--text-soft); }
.small { font-size: var(--step--1); }
.hr { border: 0; border-top: 1px solid var(--line); margin-block: clamp(2.5rem, 5vw, 4rem); }
