/* ==========================================================================
   MA LAYAN Bouw & Renovatie — stylesheet
   Zwart/goud systeem, afgeleid van het logo en de aangeleverde huisstijl.
   Tokens: zie DESIGN.md. Kleuren niet ter plekke verzinnen.
   ========================================================================== */

@import url('fonts.css');

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Merk */
  --gold:         #C9A063;  /* logo-goud. 8.1:1 op --ink */
  --gold-bright:  #E0BC7C;  /* hover, highlights */
  --gold-deep:    #8A6B3A;  /* rustige randen */
  --gold-wash:    rgba(201, 160, 99, 0.10);

  /* Oppervlakken */
  --ink:          #0B0B0C;
  --surface:      #141416;
  --surface-2:    #1A1A1D;
  --line:         #26262A;
  --line-gold:    rgba(201, 160, 99, 0.26);

  /* Tekst */
  --text:         #F5F4F2;  /* 17.9:1 */
  --text-muted:   #A8A49C;  /* 7.9:1 */
  --text-dim:     #6E6B65;  /* decoratief, nooit voor leestekst */
  --text-placeholder: #918D86;  /* 5.3:1 op --surface-2, voldoet aan AA */

  /* Semantisch */
  --success:      #7BC47F;
  --error:        #F08A80;
  --focus:        #E0BC7C;

  /* Type */
  --font-display: 'Jost', system-ui, sans-serif;      /* geometrisch, volgt het logo */
  --font-body:    'Archivo', system-ui, sans-serif;   /* grotesk, ander skelet */

  --text-hero:  clamp(2.1rem, 1.2rem + 4.2vw, 4.5rem);
  --text-h2:    clamp(1.7rem, 1.1rem + 2.4vw, 3rem);
  --text-h3:    clamp(1.15rem, 1rem + 0.7vw, 1.45rem);
  --text-lead:  clamp(1.02rem, 0.98rem + 0.4vw, 1.2rem);
  --text-small: 0.875rem;
  --text-micro: 0.78rem;

  /* Ritme */
  --space-1: 0.25rem; --space-2: 0.5rem;  --space-3: 0.75rem; --space-4: 1rem;
  --space-6: 1.5rem;  --space-8: 2rem;    --space-12: 3rem;   --space-16: 4rem;
  --space-20: 5rem;   --space-28: 7rem;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  --container: 1240px;
  --gutter: clamp(1.25rem, 5vw, 2.5rem);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

  --z-sticky: 100;
  --z-panel: 200;
  --z-skip: 300;
}

/* --------------------------------------------------------------------------
   2. Basis
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 400 1rem/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--text);
  text-wrap: balance;
}
h1 { font-size: var(--text-hero); }
h2 { font-size: var(--text-h2); }
h3 { font-size: var(--text-h3); letter-spacing: 0.04em; }
/* Lange samengestelde woorden (appartementrenovaties) mogen breken op smalle schermen */
h1, h2, h3 { overflow-wrap: break-word; hyphens: auto; }

p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }
svg { width: 1.25em; height: 1.25em; }

a { color: var(--gold-bright); text-underline-offset: 3px; }
a:hover { color: var(--gold); }

:where(a, button, input, textarea, select, summary):focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection { background: var(--gold); color: var(--ink); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

.section { padding-block: clamp(3.5rem, 9vw, var(--space-28)); }
.section--tight { padding-block: clamp(3rem, 7vw, var(--space-20)); }
.section--raised { background: var(--surface); }

.skip-link {
  position: absolute; left: var(--space-4); top: var(--space-4);
  z-index: var(--z-skip);
  transform: translateY(-200%);
  background: var(--gold); color: var(--ink);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-sm);
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { transform: translateY(0); color: var(--ink); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}

/* Merk-kicker: één vast systeem, met de gouden streep uit de huisstijl */
.kicker {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
  font: 500 var(--text-micro)/1 var(--font-body);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
}
.kicker::before {
  content: "";
  width: clamp(28px, 5vw, 56px);
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}
/* Tracking kost breedte: op kleine schermen mag de kicker terugvallen en breken. */
@media (max-width: 420px) {
  .kicker { flex-wrap: wrap; row-gap: var(--space-2); letter-spacing: 0.18em; line-height: 1.5; }
}

.section-head { max-width: 62ch; margin-bottom: clamp(2.5rem, 5vw, var(--space-16)); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .kicker { justify-content: center; }
.section-head p { margin-top: var(--space-6); color: var(--text-muted); font-size: var(--text-lead); }

.gold { color: var(--gold); }

/* Grid-items mogen kleiner worden dan hun min-content, anders duwen lange
   woorden en knoppen de pagina breder dan de viewport op kleine schermen. */
.contact-grid > *, .split > *, .page-layout > *, .approach-grid > *,
.project-grid > *, .audience > *, .usp-grid > *, .footer-grid > * { min-width: 0; }

/* Knoplabels zijn nowrap; op zeer smalle schermen wat minder padding. */
@media (max-width: 380px) {
  .btn { padding-inline: var(--space-6); font-size: 0.82rem; letter-spacing: 0.1em; }
}

/* --------------------------------------------------------------------------
   3. Knoppen
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-3);
  white-space: nowrap;
  min-height: 52px;
  padding: var(--space-4) var(--space-8);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font: 500 0.9rem/1 var(--font-body);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s var(--ease-out), color 0.3s var(--ease-out),
              border-color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.btn svg { width: 1.1em; height: 1.1em; flex-shrink: 0; transition: transform 0.3s var(--ease-out); }
.btn:hover svg { transform: translateX(4px); }

.btn-primary { background: var(--gold); color: var(--ink); }
.btn-primary:hover { background: var(--gold-bright); color: var(--ink); transform: translateY(-2px); }
.btn-primary:active { transform: translateY(0); }

.btn-ghost { background: transparent; color: var(--text); border-color: rgba(245, 244, 242, 0.28); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); background: var(--gold-wash); }

.btn-block { width: 100%; }

.link-gold {
  display: inline-flex; align-items: center; gap: var(--space-3);
  font: 500 var(--text-small)/1 var(--font-body);
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold); text-decoration: none;
}
.link-gold svg { width: 1.05em; height: 1.05em; transition: transform 0.3s var(--ease-out); }
.link-gold:hover { color: var(--gold-bright); }
.link-gold:hover svg { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   4. Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: var(--z-sticky);
  background: rgba(11, 11, 12, 0.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}
.site-header[data-scrolled="true"] { background: rgba(11, 11, 12, 0.94); border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); min-height: 88px; }
/* De header is een flexrij: zonder flex-shrink:0 knijpt de nav het logo plat, en
   max-width:100% uit de basisregels vervormt het dan (hoogte blijft, breedte krimpt). */
.brand { display: block; flex-shrink: 0; }
.brand img { width: auto; height: 56px; max-width: none; aspect-ratio: 177 / 112; }
@media (max-width: 600px) { .brand img { height: 44px; } .header-inner { min-height: 72px; } }

.nav { display: flex; align-items: center; gap: clamp(1rem, 1.9vw, 2.25rem); }
.nav a {
  position: relative;
  padding-block: var(--space-2);
  white-space: nowrap;
  font: 500 var(--text-small)/1 var(--font-body);
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text); text-decoration: none;
  transition: color 0.25s var(--ease-out);
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}
.nav a:hover { color: var(--gold); }
.nav a:hover::after, .nav a[aria-current="page"]::after, .nav a.is-active::after { transform: scaleX(1); }
.nav a[aria-current="page"], .nav a.is-active { color: var(--gold); }

.header-actions { display: flex; align-items: center; gap: var(--space-4); flex-shrink: 0; }
.header-phone {
  display: none; align-items: center; gap: var(--space-2);
  font: 500 var(--text-small) var(--font-body);
  color: var(--text); text-decoration: none; white-space: nowrap;
}
.header-phone svg { color: var(--gold); }
.header-phone:hover { color: var(--gold); }
@media (min-width: 1280px) { .header-phone { display: inline-flex; } }

.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 52px; height: 52px; padding: 0;
  background: transparent; color: var(--text);
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  cursor: pointer;
}
.nav-toggle:hover { border-color: var(--gold); color: var(--gold); }
.nav-toggle__icon { display: block; width: 22px; height: 22px; }
.nav-toggle__icon svg { width: 100%; height: 100%; }

@media (max-width: 1000px) {
  .nav-toggle { display: inline-flex; }
  .header-actions .btn, .header-phone { display: none; }
  .nav {
    position: fixed; inset: 88px 0 auto 0; z-index: var(--z-panel);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: var(--space-6) var(--gutter) var(--space-12);
    background: var(--ink);
    border-bottom: 1px solid var(--line);
    transform: translateY(-10px); opacity: 0; visibility: hidden;
    transition: opacity 0.25s var(--ease-out), transform 0.3s var(--ease-out), visibility 0.3s;
  }
  .nav[data-open="true"] { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav a { padding: var(--space-4) 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav a::after { display: none; }
  .nav .btn { margin-top: var(--space-8); }
}
@media (min-width: 1001px) { .nav .btn { display: none; } }
@media (max-width: 600px) { .nav { inset-block-start: 72px; } }

/* --------------------------------------------------------------------------
   5. Hero met video
   -------------------------------------------------------------------------- */
.hero { position: relative; min-height: min(88vh, 820px); display: flex; align-items: flex-end; overflow: hidden; }
.hero__media { position: absolute; inset: 0; background: var(--ink); }
.hero__media video, .hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to top, var(--ink) 3%, rgba(11,11,12,0.74) 36%, rgba(11,11,12,0.22) 70%, rgba(11,11,12,0.55) 100%),
    linear-gradient(to right, rgba(11,11,12,0.88) 0%, rgba(11,11,12,0.3) 52%, rgba(11,11,12,0) 100%);
}
.hero__inner { position: relative; width: 100%; padding-block: clamp(3rem, 10vw, var(--space-20)); }
.hero__copy { max-width: 46rem; }
.hero h1 { margin-bottom: var(--space-6); }
.hero h1 .line-2 { display: block; color: var(--gold); }
.hero__lead { max-width: 48ch; font-size: var(--text-lead); color: var(--text-muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-4); margin-top: var(--space-8); }

.hero__scroll {
  display: none;
  position: absolute; right: var(--gutter); bottom: var(--space-8);
  writing-mode: vertical-rl;
  font: 500 var(--text-micro) var(--font-body);
  letter-spacing: 0.3em; text-transform: uppercase; color: var(--text-muted);
  text-decoration: none;
}
.hero__scroll::after { content: ""; display: block; width: 1px; height: 48px; margin: var(--space-4) auto 0; background: linear-gradient(var(--gold), transparent); }
.hero__scroll:hover { color: var(--gold); }
@media (min-width: 1100px) { .hero__scroll { display: block; } }

/* Kenmerkenbalk onder de hero */
.usp-bar { border-block: 1px solid var(--line); background: var(--surface); }
.usp-grid { display: grid; grid-template-columns: 1fr; }
@media (min-width: 760px) { .usp-grid { grid-template-columns: repeat(3, 1fr); } }
.usp { display: flex; align-items: flex-start; gap: var(--space-4); padding: var(--space-8) 0; }
@media (min-width: 760px) {
  .usp { padding: var(--space-8) var(--space-8) var(--space-8) 0; }
  .usp + .usp { border-left: 1px solid var(--line); padding-left: var(--space-8); }
}
@media (max-width: 759px) { .usp + .usp { border-top: 1px solid var(--line); } }
.usp svg { width: 26px; height: 26px; flex-shrink: 0; color: var(--gold); }
.usp strong { display: block; font: 600 0.95rem/1.3 var(--font-display); letter-spacing: 0.08em; text-transform: uppercase; }
.usp span { display: block; margin-top: var(--space-2); font-size: var(--text-small); color: var(--text-muted); }

/* --------------------------------------------------------------------------
   6. Diensten
   -------------------------------------------------------------------------- */
.service-list { border-top: 1px solid var(--line); }
.service-row {
  position: relative;
  display: grid; grid-template-columns: auto 1fr;
  gap: var(--space-3) var(--space-6);
  padding: var(--space-8) 0;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.35s var(--ease-out), padding-inline 0.35s var(--ease-out);
}
@media (min-width: 900px) {
  .service-row { grid-template-columns: 4.5rem 21rem 1fr 44px; align-items: center; gap: var(--space-8); }
  .service-row:hover { background: linear-gradient(90deg, var(--gold-wash), transparent 70%); padding-inline: var(--space-6); }
}
.service-row__num { font: 500 var(--text-small)/1.4 var(--font-body); letter-spacing: 0.2em; color: var(--gold); }
.service-row h3 { margin: 0; }
.service-row p { color: var(--text-muted); font-size: 0.95rem; }
.service-row__go {
  display: grid; place-items: center;
  width: 44px; height: 44px; padding: 12px;
  border: 1px solid var(--line-gold); border-radius: var(--radius-pill);
  color: var(--gold);
  transition: background-color 0.3s var(--ease-out), color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.service-row__go svg { width: 100%; height: 100%; }
.service-row:hover .service-row__go { background: var(--gold); color: var(--ink); transform: translateX(4px); }
.service-row__link { color: inherit; text-decoration: none; }
.service-row__link::after { content: ""; position: absolute; inset: 0; }
@media (max-width: 899px) {
  .service-row__go { display: none; }
  .service-row p { grid-column: 1 / -1; }
}

/* --------------------------------------------------------------------------
   7. Aanpak
   -------------------------------------------------------------------------- */
.approach-grid { display: grid; gap: var(--space-6); }
@media (min-width: 760px) { .approach-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .approach-grid { grid-template-columns: repeat(4, 1fr); } }
.approach-step {
  position: relative;
  padding: var(--space-8) var(--space-6);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}
.approach-step::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}
.approach-step__num { display: block; margin-bottom: var(--space-4); font: 700 2.25rem/1 var(--font-display); color: var(--gold); }
.approach-step h3 { margin-bottom: var(--space-3); }
.approach-step p { color: var(--text-muted); font-size: 0.95rem; }

/* --------------------------------------------------------------------------
   8. Projecten
   -------------------------------------------------------------------------- */
.project-grid { display: grid; gap: var(--space-6); }
@media (min-width: 900px) { .project-grid { grid-template-columns: repeat(3, 1fr); } }
.project {
  position: relative; display: block; overflow: hidden;
  border-radius: var(--radius-md); border: 1px solid var(--line);
  text-decoration: none; background: var(--surface);
}
.project img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; opacity: 0.88; transition: transform 0.8s var(--ease-out), opacity 0.4s var(--ease-out); }
.project:hover img { transform: scale(1.05); opacity: 1; }
.project__body {
  position: absolute; inset: auto 0 0 0;
  display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-4);
  padding: var(--space-6);
  background: linear-gradient(to top, rgba(11,11,12,0.97) 18%, rgba(11,11,12,0.8) 42%, rgba(11,11,12,0.25) 72%, rgba(11,11,12,0) 100%);
}
.project__meta { display: block; margin-bottom: var(--space-2); font: 500 var(--text-micro) var(--font-body); letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }
.project__title { display: block; font: 600 1.05rem/1.3 var(--font-display); letter-spacing: 0.05em; text-transform: uppercase; color: var(--text); }
.project__go { flex-shrink: 0; width: 20px; height: 20px; color: var(--gold); transition: transform 0.3s var(--ease-out); }
.project:hover .project__go { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   9. Split, doelgroep, cijfers
   -------------------------------------------------------------------------- */
.split { display: grid; gap: clamp(2.5rem, 6vw, var(--space-16)); align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1.05fr 0.95fr; } }
.split__media { position: relative; }
.split__media img { width: 100%; border-radius: var(--radius-md); border: 1px solid var(--line); }
.split__media::after {
  content: ""; position: absolute; inset: auto auto -14px -14px;
  width: 42%; height: 58%;
  border-left: 1px solid var(--line-gold); border-bottom: 1px solid var(--line-gold);
  pointer-events: none;
}

.audience { display: grid; gap: var(--space-6); margin-top: var(--space-8); }
@media (min-width: 620px) { .audience { grid-template-columns: repeat(2, 1fr); } }
.audience__card { padding: var(--space-6); border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface-2); }
.audience__card h3 { margin-bottom: var(--space-3); color: var(--gold); }
.audience__card p { font-size: 0.95rem; color: var(--text-muted); }

.checklist { display: grid; gap: var(--space-4); margin-top: var(--space-8); }
.checklist li { display: flex; gap: var(--space-4); align-items: flex-start; }
.checklist svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 3px; color: var(--gold); }
.checklist span { color: var(--text-muted); }

.figures { display: grid; gap: var(--space-8); margin-top: var(--space-12); }
@media (min-width: 620px) { .figures { grid-template-columns: repeat(3, 1fr); } }
.figure { padding-left: var(--space-6); border-left: 1px solid var(--line-gold); }
.figure__num { display: block; font: 700 clamp(2rem, 1.4rem + 2vw, 3rem)/1 var(--font-display); color: var(--text); }
.figure__label { display: block; margin-top: var(--space-3); font-size: var(--text-small); color: var(--text-muted); }

/* --------------------------------------------------------------------------
   10. Contact
   -------------------------------------------------------------------------- */
.contact-grid { display: grid; gap: clamp(2.5rem, 6vw, var(--space-16)); align-items: start; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 0.85fr 1.15fr; } }

.contact-list { display: grid; gap: var(--space-6); margin-top: var(--space-8); }
.contact-list li { display: flex; gap: var(--space-4); align-items: flex-start; }
.contact-list svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 3px; color: var(--gold); }
.contact-list a { color: var(--text); text-decoration: none; }
.contact-list a:hover { color: var(--gold); text-decoration: underline; }
.contact-list__label { display: block; margin-bottom: var(--space-1); font-size: var(--text-micro); letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-muted); }

.contact-form { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-6); }
@media (min-width: 620px) { .contact-form { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.form-field { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-2); align-content: start; min-width: 0; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { font: 500 var(--text-micro)/1.4 var(--font-body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-muted); }
.form-field .optional { text-transform: none; letter-spacing: 0.02em; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; height: 54px;
  padding: var(--space-4);
  font: 400 1rem/1.5 var(--font-body);
  color: var(--text);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color 0.25s var(--ease-out), background-color 0.25s var(--ease-out);
}
.form-field textarea { height: auto; min-height: 156px; resize: vertical; }
.form-field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 22px) 25px, calc(100% - 16px) 25px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--text-placeholder); }
.form-field input:hover, .form-field textarea:hover, .form-field select:hover { border-color: var(--gold-deep); }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { outline: none; border-color: var(--gold); background: var(--surface); }
.form-field input[aria-invalid="true"], .form-field textarea[aria-invalid="true"] { border-color: var(--error); }
.field-error { display: flex; align-items: center; gap: var(--space-2); font-size: var(--text-small); color: var(--error); }
.field-error svg { width: 16px; height: 16px; flex-shrink: 0; }

.form-consent { display: flex; gap: var(--space-4); align-items: flex-start; }
.form-consent input { width: 20px; height: 20px; flex-shrink: 0; margin-top: 3px; accent-color: var(--gold); }
.form-consent label { font-size: var(--text-small); text-transform: none; letter-spacing: 0; line-height: 1.6; color: var(--text-muted); }
.form-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: var(--text-small); color: var(--text-muted); }

.alert { display: flex; gap: var(--space-4); padding: var(--space-4) var(--space-6); border-radius: var(--radius-sm); font-size: var(--text-small); }
.alert svg { width: 20px; height: 20px; flex-shrink: 0; }
.alert-error { background: rgba(240, 138, 128, 0.10); border: 1px solid rgba(240, 138, 128, 0.4); color: #F6B7B0; }
.alert-error svg { color: var(--error); }
.alert-success { background: rgba(123, 196, 127, 0.10); border: 1px solid rgba(123, 196, 127, 0.4); color: #A9DBAC; }
.alert-success svg { color: var(--success); }

/* --------------------------------------------------------------------------
   11. Footer
   -------------------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--line); background: var(--ink); }
.footer-grid { display: grid; gap: var(--space-12); padding-block: var(--space-16) var(--space-12); }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: var(--space-8); } }
.footer-brand img { height: 76px; width: auto; max-width: none; aspect-ratio: 253 / 160; margin-bottom: var(--space-6); }
.footer-brand p { max-width: 34ch; font-size: var(--text-small); color: var(--text-muted); }
.site-footer h2 { font-size: 0.85rem; letter-spacing: 0.2em; color: var(--gold); margin-bottom: var(--space-6); }
.footer-links { display: grid; gap: var(--space-3); font-size: var(--text-small); }
.footer-links a, .footer-contact a { color: var(--text-muted); text-decoration: none; }
.footer-links a:hover, .footer-contact a:hover { color: var(--gold); }
.footer-contact { display: grid; gap: var(--space-4); font-size: var(--text-small); color: var(--text-muted); }
.footer-contact li { display: flex; gap: var(--space-3); align-items: flex-start; }
.footer-contact svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 3px; color: var(--gold); }
.footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: var(--space-4) var(--space-8);
  padding-block: var(--space-6);
  border-top: 1px solid var(--line);
  font-size: var(--text-micro); color: var(--text-muted);
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: var(--space-6); }
.footer-bottom a { color: var(--text-muted); text-decoration: none; }
.footer-bottom a:hover { color: var(--gold); }

/* --------------------------------------------------------------------------
   12. Binnenpagina's
   -------------------------------------------------------------------------- */
.page-header { position: relative; padding-block: clamp(3rem, 8vw, var(--space-20)) clamp(2.5rem, 6vw, var(--space-16)); border-bottom: 1px solid var(--line); overflow: hidden; }
.page-header::after {
  content: ""; position: absolute; inset: -40% -20% auto auto; width: 60%; height: 180%;
  background: radial-gradient(closest-side, rgba(201,160,99,0.12), transparent 70%);
  pointer-events: none;
}
.page-header > * { position: relative; }
.page-header h1 { max-width: 22ch; }
.page-header p { margin-top: var(--space-6); max-width: 60ch; font-size: var(--text-lead); color: var(--text-muted); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-bottom: var(--space-8); font-size: var(--text-micro); letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-muted); }
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold); }

.page-layout { display: grid; gap: clamp(2.5rem, 6vw, var(--space-16)); }
@media (min-width: 1000px) { .page-layout { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; } }

.prose { max-width: 70ch; }
.prose h2 { margin-top: var(--space-16); margin-bottom: var(--space-6); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: var(--space-8); margin-bottom: var(--space-3); }
.prose p { margin-top: var(--space-4); color: var(--text-muted); }
.prose > p:first-of-type { color: var(--text); font-size: var(--text-lead); }
.prose ul { display: grid; gap: var(--space-3); margin-top: var(--space-6); }
.prose ul li { position: relative; padding-left: var(--space-8); color: var(--text-muted); }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 14px; height: 1px; background: var(--gold); }
.prose ol { display: grid; gap: var(--space-8); margin-top: var(--space-8); counter-reset: step; }
.prose ol li { counter-increment: step; position: relative; padding-left: 4rem; color: var(--text-muted); }
.prose ol li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: 0;
  font: 500 var(--text-small)/1.6 var(--font-body); letter-spacing: 0.2em; color: var(--gold);
}
.prose ol li strong { display: block; margin-bottom: var(--space-2); font: 600 1.05rem/1.3 var(--font-display); letter-spacing: 0.05em; text-transform: uppercase; color: var(--text); }

.aside-card { padding: var(--space-8); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); }
@media (min-width: 1000px) { .aside-card { position: sticky; top: 112px; } }
.aside-card h2 { font-size: var(--text-h3); letter-spacing: 0.05em; color: var(--text); margin-bottom: var(--space-4); }
.aside-card p { font-size: var(--text-small); color: var(--text-muted); }
.aside-card .contact-list { margin-block: var(--space-6); }
.aside-card .contact-list li { font-size: var(--text-small); }

.page-cta {
  margin-top: var(--space-16);
  padding: clamp(2rem, 5vw, var(--space-12));
  background: var(--surface); border: 1px solid var(--line-gold); border-radius: var(--radius-md);
}
.page-cta h2 { margin-bottom: var(--space-4); }
.page-cta p { max-width: 52ch; margin-bottom: var(--space-8); color: var(--text-muted); }
.page-cta .btn + .btn { margin-left: var(--space-4); }

.confirm { max-width: 46rem; margin-inline: auto; text-align: center; }
.confirm__mark {
  display: grid; place-items: center; width: 78px; height: 78px; padding: 20px;
  margin: 0 auto var(--space-8);
  border: 1px solid var(--line-gold); border-radius: var(--radius-pill); color: var(--gold);
}
.confirm__mark svg { width: 100%; height: 100%; }
.confirm p { margin-top: var(--space-6); color: var(--text-muted); }
.confirm .btn { margin-top: var(--space-12); }

/* --------------------------------------------------------------------------
   13. Beweging
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(20px); }
  .js [data-reveal].is-visible {
    opacity: 1; transform: none;
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
    transition-delay: var(--reveal-delay, 0ms);
  }
  .js .hero__copy > * { animation: rise 0.9s var(--ease-out) both; }
  .js .hero__copy > *:nth-child(2) { animation-delay: 0.1s; }
  .js .hero__copy > *:nth-child(3) { animation-delay: 0.2s; }
  .js .hero__copy > *:nth-child(4) { animation-delay: 0.3s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

@media print {
  .site-header, .hero__media, .nav-toggle, .hero__scroll { display: none; }
  body { background: #fff; color: #000; }
}
