/* ==========================================================================
   detrouwlocatie.nl
   Palet     : zuiver wit, heel licht blush voor afwisseling, terracotta en
               diep espresso, een dunne koperen lijn als detail
               (herzien 2026-08-29: groen vervangen door terracotta/espresso,
               aansluitend bij de warme tinten van de NL-trouwmarkt)
   Type      : Newsreader (display, met cursief voor accenten) + Manrope (body)
   Signatuur : het takje - als logo, als scheiding, als opsommingsteken -
               en de "plaat": elke foto staat op een uitstekend haarlijnkader,
               zoals een botanische prent op passe-partout.

   NB: de klassennamen .s-linnen / .s-wit / .s-zand stammen uit de eerste
   versie van het palet en zitten in alle gegenereerde HTML. Ze betekenen nu:
   .s-linnen = zuiver wit, .s-wit = heel licht blush, .s-zand = iets dieper
   blush; --salie* is nu terracotta/espresso, --zand* blush/koper. Alleen de
   kleuren zijn veranderd, niet de namen.
   ========================================================================== */

:root {
  --linnen: #ffffff;
  --linnen-2: #ffffff;
  --papier: #ffffff;
  --mist: #f9f4f0;
  --salie: #b4593d;
  --salie-dp: #4a2e26;
  --salie-md: #6e4335;
  --salie-lt: #d9b3a4;
  --zand: #e9cfc0;
  --zand-2: #f6ece5;
  --zand-dp: #9a5b36;   /* 4.5:1 op wit; was #a86b4c (3.9:1) */
  --ink: #2b211b;
  --body: #54463d;
  --muted: #7c7066;     /* 4.7:1 op wit; was #93867d (3.4:1) */
  --line: #ece3dc;
  --line-2: #f4ede7;
  --line-lt: rgba(246, 236, 229, 0.2);
  --shadow: 0 18px 44px rgba(74, 46, 38, 0.1);
  --shadow-sm: 0 4px 14px rgba(74, 46, 38, 0.06);
  --r: 2px;
  --r-lg: 4px;
  --f-display: "Newsreader", "Iowan Old Style", Georgia, serif;
  --f-body: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--body);
  background: var(--linnen);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.16;
  margin: 0 0 0.5em;
  letter-spacing: -0.008em;
}
h1 { font-size: clamp(2.15rem, 5.2vw, 3.7rem); font-weight: 300; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
h2 { font-size: clamp(1.7rem, 3.3vw, 2.5rem); font-weight: 300; }
h3 { font-size: 1.22rem; font-weight: 500; letter-spacing: 0; }
h4 { font-size: 1.02rem; font-weight: 500; }
h1 em, h2 em { font-style: italic; font-weight: 300; color: var(--salie); }

p { margin: 0 0 1.05em; }
p:last-child { margin-bottom: 0; }
a { color: var(--salie-md); text-decoration: none; }
a:hover { color: var(--zand-dp); }
strong { color: var(--ink); font-weight: 600; }
em { font-style: italic; }
img { max-width: 100%; display: block; height: auto; }
ul, ol { margin: 0 0 1.05em; padding-left: 1.2em; }
li { margin-bottom: 0.45em; }
:focus-visible { outline: 2px solid var(--zand-dp); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--zand); color: var(--salie-dp); }
html { accent-color: var(--salie-dp); }
/* Ankers komen onder de sticky header uit, niet eronder */
[id] { scroll-margin-top: 92px; }
button { cursor: pointer; }
html.no-scroll { overflow: hidden; }

/* scrim achter het open mobiele menu */
.nav-overlay {
  position: fixed; inset: 0; z-index: 59;
  background: rgba(43, 33, 27, 0.5);
  opacity: 0; visibility: hidden;
  transition: opacity 0.25s ease, visibility 0s linear 0.25s;
}
.nav-overlay.is-open { opacity: 1; visibility: visible; transition: opacity 0.25s ease; }
@media (min-width: 981px) { .nav-overlay { display: none; } }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--salie-dp); color: var(--linnen);
  padding: 12px 18px; border-radius: 0 0 var(--r-lg) 0;
}
.skip:focus { left: 0; color: var(--linnen); }

.container { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 840px; }
.hide { display: none; }

/* ---------- Takje: het terugkerende teken ---------- */
.mark { width: 22px; height: 29px; flex: none; }
.sprig { width: 140px; height: 22px; color: var(--salie-lt); }
.sprig-row { display: flex; justify-content: center; margin: 0 0 20px; }
.s-groen .sprig { color: rgba(238, 224, 214, 0.42); }

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: block;
  font-family: var(--f-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--zand-dp);
  margin: 0 0 14px;
}
.eyebrow::before {
  content: ""; display: inline-block; width: 22px; height: 1px;
  background: currentColor; vertical-align: middle; margin-right: 10px;
  opacity: 0.7;
}
.on-dark .eyebrow, .s-groen .eyebrow { color: var(--zand); }

/* ---------- Knoppen ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--f-body); font-size: 0.94rem; font-weight: 600;
  letter-spacing: 0.02em;
  padding: 15px 30px; border-radius: var(--r-lg);
  border: 1px solid transparent; cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.btn svg { width: 17px; height: 17px; fill: currentColor; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); }
}
.btn:active { transform: translateY(0); box-shadow: none; transition-duration: 0.08s; }
.btn-solid { background: var(--salie-dp); color: var(--linnen-2); }
.btn-solid:hover { background: var(--salie-md); color: var(--linnen-2); }
.btn-zand { background: var(--zand); color: var(--salie-dp); }
.btn-zand:hover { background: var(--zand-2); color: var(--salie-dp); }
.btn-line { background: transparent; color: var(--salie-dp); border-color: var(--salie-dp); }
.btn-line:hover { background: var(--salie-dp); color: var(--linnen-2); }
.btn-ghost { background: transparent; color: var(--linnen-2); border-color: rgba(246, 236, 229, 0.45); }
.btn-ghost:hover { background: rgba(246, 236, 229, 0.12); color: var(--linnen-2); }
.btn-wide { width: 100%; justify-content: center; }
/* In de donkere sectie wint ".s-groen a" (0,1,1) van ".btn-zand" (0,1,0),
   waardoor de knoptekst dezelfde kleur kreeg als de knop zelf. Expliciet
   terugzetten, met dezelfde specificiteit-plus-één. */
.s-groen a.btn-zand, .s-groen a.btn-zand:hover { color: var(--salie-dp); }
.s-groen a.btn-ghost, .s-groen a.btn-ghost:hover { color: var(--linnen-2); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s, box-shadow 0.25s;
}
/* blur alleen op desktop: backdrop-filter maakt de header een containing
   block voor fixed-nakomelingen en drukte het mobiele menu plat */
@media (min-width: 981px) {
  .site-header { backdrop-filter: blur(9px); }
}
/* zolang het menu open is: dekkend wit, zodat er niets doorschemert */
.site-header:has(.main-nav.open) { background: #fff; }
.site-header.scrolled { border-bottom-color: var(--line-2); box-shadow: 0 2px 18px rgba(74, 46, 38, 0.06); }
.site-header > .container {
  display: flex; align-items: center; gap: 22px;
  min-height: 74px;
}
.logo { display: flex; align-items: center; gap: 11px; color: var(--salie-dp); flex: none; }
.logo:hover { color: var(--salie); }
.logo-txt { display: flex; flex-direction: column; line-height: 1; }
.logo-top {
  font-family: var(--f-body); font-size: 0.6rem; font-weight: 600;
  letter-spacing: 0.3em; text-transform: uppercase; color: var(--zand-dp);
  margin-bottom: 4px;
}
.logo-main {
  font-family: var(--f-display); font-size: 1.42rem; font-weight: 400;
  color: var(--ink); letter-spacing: -0.015em;
}
.logo-main span { color: var(--salie); font-style: italic; }

.main-nav { display: flex; align-items: center; gap: 3px; margin-left: auto; }
.main-nav > a, .nav-item > a {
  display: block; padding: 9px 12px; border-radius: var(--r);
  font-size: 0.9rem; font-weight: 500; color: var(--body);
  white-space: nowrap;
}
.main-nav > a:hover, .nav-item > a:hover { color: var(--salie-dp); background: rgba(168, 107, 76, 0.09); }
.main-nav a[aria-current="page"] { color: var(--salie-dp); }
.main-nav a[aria-current="page"]::after {
  content: ""; display: block; height: 1px; background: var(--zand-dp);
  margin-top: 3px;
}
.nav-item { position: relative; display: flex; align-items: center; }
.caret-btn {
  background: transparent; border: 0; padding: 4px 6px; margin-left: -6px;
  color: var(--body); border-radius: var(--r); line-height: 1;
}
.caret { font-size: 0.72em; opacity: 0.55; display: inline-block; transition: transform 0.2s; }
.nav-item:focus-within .caret, .nav-item.subopen .caret { transform: rotate(180deg); }
@media (hover: hover) and (pointer: fine) {
  .nav-item:hover .caret { transform: rotate(180deg); }
}
.dropdown {
  position: absolute; top: 100%; left: 0; min-width: 236px;
  background: var(--linnen-2); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--shadow);
  padding: 7px; opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
}
.nav-item:focus-within .dropdown, .nav-item.subopen .dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
@media (hover: hover) and (pointer: fine) {
  .nav-item:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
}
.dropdown a {
  display: block; padding: 9px 13px; font-size: 0.9rem; color: var(--body);
  border-radius: var(--r);
}
.dropdown a:hover { background: rgba(168, 107, 76, 0.1); color: var(--salie-dp); }

.header-cta { display: flex; align-items: center; gap: 9px; flex: none; }
.tel-link {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.9rem; font-weight: 600; color: var(--salie-dp);
  padding: 9px 15px; border: 1px solid var(--line); border-radius: var(--r-lg);
}
.tel-link svg { width: 15px; height: 15px; fill: var(--salie); }
.tel-link:hover { border-color: var(--salie); color: var(--salie-dp); }
.ico-btn {
  display: none; width: 40px; height: 40px; border-radius: var(--r-lg);
  align-items: center; justify-content: center;
}
.ico-btn svg { width: 18px; height: 18px; }
.ico-tel { background: var(--salie-dp); }
.ico-tel svg { fill: var(--linnen-2); }
.ico-wa { background: #1f9c53; }
.ico-wa svg { fill: #fff; }
.nav-toggle {
  display: none; width: 42px; height: 42px; background: transparent;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  flex-direction: column; justify-content: center; align-items: center; gap: 4px;
}
.nav-toggle span {
  display: block; width: 18px; height: 1.5px; background: var(--salie-dp);
  transition: transform 0.25s, opacity 0.2s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* ---------- Plaat: haarlijnkader achter elke foto (signatuur) ---------- */
.plate { position: relative; }
.plate img { border-radius: var(--r-lg); position: relative; z-index: 1; }
.plate::before {
  content: ""; position: absolute; inset: 0;
  border: 1px solid var(--salie-lt);
  border-radius: var(--r-lg);
  transform: translate(16px, 16px);
  z-index: 0;
}
.plate-l::before { transform: translate(-16px, 16px); }
.plate figcaption {
  position: relative; z-index: 1;
  font-family: var(--f-display); font-style: italic; font-size: 0.94rem;
  color: var(--muted); margin-top: 14px; padding-left: 2px;
}

/* ---------- Hero ---------- */
.hero { padding: 66px 0 74px; position: relative; }
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--line-2);
}
.hero-grid {
  display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 64px; align-items: stretch;
}
.hero-media { display: flex; }
.hero-media .plate { flex: 1; display: flex; }
.hero-media .plate img { width: 100%; height: 100%; object-fit: cover; }
.hero-copy { align-self: center; }
.hero h1 { margin-bottom: 0.42em; }
.hero-lead { font-size: 1.12rem; max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }
.hero-media { position: relative; }

/* Verticale rug naast de foto: adres en plaats, gezet als een bijschrift op
   de rand van een prent. Alleen op ruime schermen; daaronder verdwijnt hij. */
.spine {
  position: absolute; right: -34px; top: 0; height: 100%;
  display: flex; align-items: center;
}
.spine span {
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-family: var(--f-body); font-size: 0.66rem; font-weight: 600;
  letter-spacing: 0.28em; text-transform: uppercase; color: var(--muted);
  white-space: nowrap;
}

.hero-sm { padding: 46px 0 40px; border-bottom: 1px solid var(--line-2); }
.hero-sm h1 { margin-bottom: 0.3em; }
.hero-sm .lead { font-size: 1.08rem; max-width: 44em; }

.breadcrumb {
  font-size: 0.78rem; color: var(--muted); margin: 0 0 20px;
  letter-spacing: 0.03em;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--salie); }
.breadcrumb i { font-style: normal; margin: 0 8px; opacity: 0.45; }

/* ---------- Secties ---------- */
section { padding: 74px 0; }
.s-linnen { background: var(--papier); }
.s-wit { background: var(--mist); }
.s-zand { background: var(--zand-2); }
.s-groen { background: var(--salie-dp); color: rgba(246, 238, 232, 0.82); }
.s-groen h2, .s-groen h3, .s-groen h4, .s-groen strong { color: var(--linnen-2); }
.s-groen h2 em { color: var(--zand); }
.s-groen a { color: var(--zand); }
.s-groen a:hover { color: var(--linnen-2); }
.s-tight { padding: 52px 0; }
.s-head { max-width: 44em; margin: 0 0 42px; }
.s-head.center { margin: 0 auto 46px; text-align: center; }
.s-head p { font-size: 1.06rem; margin-bottom: 0; }

/* ---------- Feitenstrip ---------- */
.facts {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.fact { padding: 26px 22px; border-right: 1px solid var(--line); }
.fact:last-child { border-right: 0; }
.fact b {
  display: block; font-family: var(--f-display); font-weight: 400;
  font-size: 1.75rem; color: var(--ink); line-height: 1.1; margin-bottom: 6px;
  letter-spacing: 0.01em;
}
.fact span { font-size: 0.87rem; color: var(--muted); line-height: 1.45; display: block; }

/* ---------- In het kort (feitenlijst voor mens en antwoordmachine) ---------- */
.feiten {
  background: var(--linnen-2); border: 1px solid var(--line);
  border-left: 3px solid var(--salie); border-radius: var(--r-lg);
  padding: 28px 30px; margin: 0 0 40px;
}
.feiten-kop {
  font-family: var(--f-body); font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--zand-dp);
  margin: 0 0 16px;
}
.feiten dl { margin: 0; display: grid; grid-template-columns: 13em 1fr; gap: 9px 22px; }
.feiten dt { font-weight: 600; color: var(--ink); font-size: 0.93rem; }
.feiten dd { margin: 0; font-size: 0.95rem; }

/* ---------- Grids & kaarten ---------- */
.grid { display: grid; gap: 22px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.g-side { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 54px; align-items: center; }

.tile {
  position: relative; background: var(--linnen-2);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 26px 26px 28px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
@media (hover: hover) and (pointer: fine) {
  .tile:hover { border-color: var(--salie-lt); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
}
.tile .tag {
  display: inline-block; font-size: 0.66rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--zand-dp);
  margin-bottom: 12px;
}
.tile h3 { margin-bottom: 0.45em; }
.tile h3 a { color: var(--ink); }
/* De hele kaart klikbaar houden, zonder de anchortekst te vervuilen:
   alleen de kop is een link, de overlay vangt de klik op de rest. */
.tile h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
@media (hover: hover) and (pointer: fine) {
  .tile:hover h3 a { color: var(--salie); }
}
.tile p { font-size: 0.94rem; margin-bottom: 0; }
.tile .more {
  display: inline-block; margin-top: 14px; font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.06em; color: var(--salie);
}
.tile .more::after { content: " \2192"; display: inline-block; transition: transform 0.2s; }
@media (hover: hover) and (pointer: fine) {
  .tile:hover .more::after { transform: translateX(4px); }
}

.card {
  background: var(--linnen-2); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 26px 28px;
}
.s-groen .card {
  background: rgba(246, 236, 229, 0.05); border-color: rgba(246, 236, 229, 0.16);
}
.card-num {
  font-family: var(--f-display); font-size: 1.5rem; color: var(--salie-lt);
  display: block; margin-bottom: 10px; line-height: 1;
}

/* Opsomming met het takje als teken */
.leaf-list { list-style: none; padding: 0; margin: 0 0 1.05em; }
.leaf-list li { position: relative; padding-left: 26px; margin-bottom: 0.6em; }
.leaf-list li::before {
  content: ""; position: absolute; left: 0; top: 0.62em;
  width: 13px; height: 7px; background: var(--salie-lt);
  border-radius: 0 100% 0 100%;
}
.s-groen .leaf-list li::before { background: var(--zand); }

/* ---------- Dagverloop (signatuur, alleen waar de volgorde echt telt) ---------- */
.verloop { display: grid; gap: 0; }
.stap {
  display: grid; grid-template-columns: 7.5em 1fr; gap: 26px;
  padding: 22px 0; border-top: 1px solid var(--line);
  align-items: start;
}
.stap:last-child { border-bottom: 1px solid var(--line); }
.stap .tijd {
  font-family: var(--f-display); font-style: italic; font-size: 1.05rem;
  color: var(--salie); padding-top: 2px;
}
.stap h3 { margin-bottom: 0.3em; font-size: 1.08rem; }
.stap p { font-size: 0.94rem; margin: 0; }
.s-groen .stap { border-color: rgba(246, 236, 229, 0.16); }
.s-groen .stap .tijd { color: var(--zand); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 24px; grid-template-columns: repeat(2, 1fr); }
.faq.center { max-width: 980px; margin: 0 auto; }
.faq-item {
  border-top: 1px solid var(--line); padding-top: 20px;
}
.faq-item h3 { font-size: 1.06rem; margin-bottom: 0.42em; }
.faq-item p { font-size: 0.95rem; margin: 0; }
.s-groen .faq-item { border-color: rgba(246, 236, 229, 0.16); }

/* ---------- Prose ---------- */
.prose { max-width: 44em; }
.prose h2 { margin-top: 1.5em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.6em; }
.prose > p:first-of-type { font-size: 1.08rem; }
.prose a, .faq-item a, .post p a {
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat; background-position: 0 100%;
  background-size: 100% 1px; padding-bottom: 1px;
  transition: background-size 0.25s ease, color 0.2s;
}
@media (hover: hover) and (pointer: fine) {
  .prose a:hover, .faq-item a:hover, .post p a:hover { background-size: 0 1px; background-position: 100% 100%; }
}

.callout {
  background: var(--zand-2); border-radius: var(--r-lg);
  padding: 24px 28px; margin: 32px 0;
  border-left: 3px solid var(--zand-dp);
}
.callout p:last-child { margin-bottom: 0; }
.callout strong { color: var(--salie-dp); }

.quote-card {
  font-family: var(--f-display); font-style: italic; font-size: 1.18rem;
  line-height: 1.55; color: var(--ink);
  border-left: 2px solid var(--salie-lt); padding: 4px 0 4px 26px; margin: 30px 0;
}

/* ---------- Tabel ---------- */
.tabel-wrap { overflow-x: auto; margin: 0 0 26px; }
.tabel { width: 100%; border-collapse: collapse; font-size: 0.94rem; min-width: 480px; }
.tabel th, .tabel td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.tabel th {
  font-family: var(--f-body); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--zand-dp);
  border-bottom-color: var(--salie-lt);
}
.tabel td:first-child { font-weight: 600; color: var(--ink); }
.tabel tr:last-child td { border-bottom: 0; }
.tabel tbody tr:nth-child(even) td { background: rgba(154, 91, 54, 0.04); }

/* ---------- Telefoonblok ---------- */
.tel-block {
  display: inline-flex; align-items: center; gap: 14px;
  background: var(--linnen-2); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 15px 24px; margin: 6px 0;
}
.tel-block svg { width: 22px; height: 22px; fill: var(--salie); flex: none; }
.tel-block .lbl {
  display: block; font-size: 0.72rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 2px;
}
.tel-block a { font-family: var(--f-display); font-size: 1.32rem; color: var(--ink); }
.big-tel { font-family: var(--f-display); font-size: clamp(1.6rem, 3.4vw, 2.3rem); color: var(--ink); }

/* ---------- CTA-sectie ---------- */
.cta-center { text-align: center; }
.cta-lead { max-width: 42em; margin: 0 auto 26px; }
.cta-btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 0; }
.cta-tel { margin: 20px 0 0; font-size: 0.94rem; }

/* ---------- Formulier ---------- */
.form { display: grid; gap: 16px; }
.f-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.form label {
  display: block; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.05em;
  color: var(--ink); margin-bottom: 6px;
}
.form input, .form select, .form textarea {
  width: 100%; font-family: var(--f-body); font-size: 0.97rem; color: var(--ink);
  background: var(--papier); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 13px 15px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
@media (hover: hover) and (pointer: fine) {
  .form input:hover, .form select:hover, .form textarea:hover { border-color: var(--salie-lt); }
}
.form textarea { min-height: 128px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-color: var(--salie); box-shadow: 0 0 0 3px rgba(168, 107, 76, 0.14);
}
.f-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.f-note { font-size: 0.83rem; color: var(--muted); margin: 0; }
.f-msg { display: none; padding: 14px 18px; border-radius: var(--r-lg); font-size: 0.94rem; }
.f-msg.ok { background: #e8f0e4; color: #33512c; border: 1px solid #bcd3b4; }
.f-msg.err { background: #f7e9e5; color: #7c3a29; border: 1px solid #e2c2b8; }

.contact-card {
  background: var(--linnen-2); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 30px;
}
.contact-card h3 { margin-bottom: 0.5em; }
.contact-card ul { list-style: none; padding: 0; margin: 0; }
.contact-card li { padding: 11px 0; border-bottom: 1px solid var(--line-2); font-size: 0.95rem; }
.contact-card li:last-child { border-bottom: 0; }

/* ---------- Artikellijst ---------- */
.post {
  display: block; padding: 24px 0; border-top: 1px solid var(--line);
}
.post:last-child { border-bottom: 1px solid var(--line); }
.post h3 { margin-bottom: 0.35em; }
.post h3 a { color: var(--ink); }
.post h3 a:hover { color: var(--salie); }
.post p { font-size: 0.95rem; margin: 0; color: var(--body); }
.post .tag {
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--zand-dp); display: block; margin-bottom: 9px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--salie-dp); color: rgba(246, 238, 232, 0.72);
  padding: 66px 0 26px; font-size: 0.93rem;
}
.f-grid-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.15fr; gap: 40px;
  padding-bottom: 38px; border-bottom: 1px solid var(--line-lt);
}
.f-logo {
  font-family: var(--f-display); font-size: 1.42rem; color: var(--linnen-2);
  margin-bottom: 14px;
}
.f-logo span { color: var(--zand); font-style: italic; }
.site-footer h4 {
  font-family: var(--f-body); font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--zand);
  margin-bottom: 16px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: rgba(246, 238, 232, 0.78); }
.site-footer a:hover { color: var(--zand); }
.site-footer strong { color: var(--linnen-2); }
.f-links { margin-top: 14px; }
.f-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding-top: 22px; font-size: 0.82rem; color: rgba(246, 238, 232, 0.5);
}
.f-credit a { font-weight: 650; color: rgba(246, 238, 232, 0.85); }
.f-credit a:hover { color: var(--zand); }

/* ---------- Mobiele actiebalk ---------- */
.action-bar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  background: var(--linnen-2); border-top: 1px solid var(--line);
  padding: 9px 10px calc(9px + env(safe-area-inset-bottom));
  gap: 8px;
}
.action-bar a {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 7px;
  padding: 12px 6px; border-radius: var(--r-lg);
  font-size: 0.86rem; font-weight: 600;
}
.action-bar svg { width: 16px; height: 16px; fill: currentColor; }
.ab-tel { background: var(--salie-dp); color: var(--linnen-2); }
.ab-wa { background: #1f9c53; color: #fff; }
.ab-offer { background: var(--zand); color: var(--salie-dp); }
.ab-tel:hover, .ab-wa:hover, .ab-offer:hover { color: inherit; }

/* ---------- Reveal ---------- */
.js .rv { opacity: 0; transform: translateY(16px); }
.js .rv.on {
  opacity: 1; transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.js .rv.d1.on { transition-delay: 0.08s; }
.js .rv.d2.on { transition-delay: 0.16s; }
.js .rv.d3.on { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .js .rv { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .tel-link { display: none; }
  .spine { display: none; }
}

@media (max-width: 980px) {
  /* lade die rechts uitschuift, onder de header (patroon van erenafbouw.nl);
     --nav-top wordt bij het openen door main.js op de onderkant van de
     header gezet */
  .main-nav {
    display: flex;
    position: fixed; top: var(--nav-top, 66px); right: 0; bottom: 0; left: auto;
    width: min(340px, 88vw);
    background: var(--papier); flex-direction: column; align-items: stretch;
    gap: 0; padding: 14px 20px 40px; overflow-y: auto;
    overscroll-behavior: contain;
    margin-left: 0; z-index: 55;
    border-left: 1px solid var(--line);
    transform: translateX(105%); visibility: hidden;
    transition: transform 0.25s ease, visibility 0s linear 0.25s;
  }
  .main-nav.open {
    transform: none; visibility: visible; box-shadow: var(--shadow);
    transition: transform 0.25s ease;
  }
  /* logo links, telefoon + whatsapp + hamburger rechts */
  .header-cta { margin-left: auto; }
  .logo, .header-cta { position: relative; z-index: 56; }
  /* mobiele actiebalk niet over het open menu heen */
  body:has(.main-nav.open) .action-bar { display: none; }
  /* chevron rechts op items met een submenu */
  .nav-item > a::after {
    content: ""; float: right; width: 0.42em; height: 0.42em;
    margin: 0.5em 4px 0 0.45em;
    border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
    transform: rotate(45deg); opacity: 0.55;
  }
  .main-nav > a, .nav-item > a {
    padding: 15px 4px; border-bottom: 1px solid var(--line-2); font-size: 1.02rem;
    border-radius: 0;
  }
  .main-nav a[aria-current="page"]::after { display: none; }
  .nav-item { position: static; flex-wrap: wrap; }
  .nav-item > a { flex: 1; }
  /* geen accordeon meer: submenu's staan gewoon open, dus de knop kan weg */
  .caret-btn { display: none; }
  /* submenu altijd open, ingesprongen en gedempt (zoals erenafbouw.nl) */
  .dropdown {
    display: block; width: 100%;
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; background: transparent; padding: 0 0 8px 12px;
    margin: 0;
  }
  .dropdown a { padding: 9px 8px; font-size: 0.95rem; color: var(--muted); border-bottom: 0; }
  .dropdown a:hover { background: transparent; color: var(--salie-dp); }
  .ico-btn { display: flex; }
  .nav-toggle { display: flex; }
  .hero-grid, .g-side { grid-template-columns: 1fr; gap: 40px; }
  .hero-media { order: 2; }
  .hero-media .plate img { height: auto; }
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .g3 { grid-template-columns: repeat(2, 1fr); }
  .f-grid-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  section { padding: 54px 0; }
  .hero { padding: 40px 0 52px; }
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  .faq { grid-template-columns: 1fr; gap: 18px; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .fact { border-bottom: 1px solid var(--line); padding: 20px 16px; }
  .fact:nth-child(2n) { border-right: 0; }
  .fact:nth-last-child(-n+2) { border-bottom: 0; }
  .f-row { grid-template-columns: 1fr; }
  .feiten { padding: 22px 20px; }
  .feiten dl { grid-template-columns: 1fr; gap: 2px 0; }
  .feiten dd { margin-bottom: 12px; }
  .feiten dd:last-child { margin-bottom: 0; }
  .stap { grid-template-columns: 1fr; gap: 4px; }
  .plate::before { transform: translate(10px, 10px); }
  .plate-l::before { transform: translate(-10px, 10px); }
  .action-bar { display: flex; }
  body { padding-bottom: 74px; }
  .f-grid-top { grid-template-columns: 1fr; gap: 30px; }
  .f-bottom { flex-direction: column; }
  .btn { padding: 14px 24px; }
  .cta-btns { flex-direction: column; }
  .cta-btns .btn { justify-content: center; }
  .site-header > .container { min-height: 66px; gap: 12px; }
  .logo-main { font-size: 1.24rem; }
}
