/* Maries maakt het — huisstijl en basis.
 * Kleuren van de ontwerper: geel #edae4f, bruin #774539, creme #f5e5d9.
 * Lettertype: tijdelijk een gratis Roc Grotesk-alternatief (zie fonts.css),
 * gekozen via html[data-font]. */

:root {
  --geel: #edae4f;
  --geel-diep: #d9952f;
  --bruin: #774539;
  --bruin-diep: #5a3229;   /* kleine tekst op geel (contrast >= 4.5) */
  --bruin-zacht: #9a6b5e;  /* secundaire tekst op creme */
  --creme: #f5e5d9;
  --creme-2: #efd9c8;      /* iets donkerder vlak */
  --wit: #fffaf6;          /* kaarten */
  --lijn: rgba(119, 69, 57, .16);

  --font: "Familjen Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 20px;
  --radius-s: 12px;
  --shadow: 0 24px 60px rgba(119, 69, 57, .14);
  --wrap: 1200px;
  --section: clamp(72px, 10vw, 128px);
  --header-h: 84px;

  color-scheme: light;
}
html[data-font="schibsted"] { --font: "Schibsted Grotesk", ui-sans-serif, system-ui, sans-serif; }
html[data-font="bricolage"] { --font: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background: var(--creme);
  color: var(--bruin);
  font: 400 1.0625rem/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--geel); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { margin: 0; font-weight: 700; line-height: 1.05; letter-spacing: -.025em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6vw, 5.2rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.6rem); }
h3 { font-size: 1.35rem; line-height: 1.2; }
p { margin: 0 0 1em; max-width: 62ch; }

.wrap { width: min(var(--wrap), calc(100% - 40px)); margin-inline: auto; }
.section { padding-block: var(--section); }
.kicker {
  display: inline-block; margin-bottom: 1rem;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 52px; padding: .8rem 1.6rem;
  border: 2px solid var(--geel); border-radius: 999px;
  background: var(--geel); color: var(--bruin-diep);
  font: 700 1rem/1 var(--font); text-decoration: none; cursor: pointer;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.button:hover { background: var(--geel-diep); border-color: var(--geel-diep); transform: translateY(-2px); }
.button--ghost { background: transparent; border-color: var(--bruin); color: var(--bruin); }
.button--ghost:hover { background: var(--bruin); border-color: var(--bruin); color: var(--creme); }

.skip { position: absolute; left: -9999px; top: 1rem; z-index: 100; padding: .8rem 1rem; background: var(--wit); }
.skip:focus { left: 1rem; }

/* Fade-up bij scrollen (site.js zet .is-visible) */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .button { transition: none; }
}

/* ===== Secties: hieronder per sectie uitwerken ===== */

/* --- Algemeen: hulpklassen --- */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
html:not(.js) .reveal { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: .08s; }
.reveal:nth-child(3) { transition-delay: .16s; }
.reveal:nth-child(4) { transition-delay: .24s; }

/* Duidelijk gemarkeerde nog-in-te-vullen tekst */
.placeholder {
  padding: .05em .4em; border-radius: 6px;
  background: rgba(237, 174, 79, .28);
  box-shadow: inset 0 0 0 1px rgba(237, 174, 79, .7);
  font-style: italic;
}

/* Sectiekop: titel links, intro rechts */
.sectie-kop {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 1.5rem 4rem; align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.sectie-kop__intro { margin: 0; font-size: 1.125rem; }
@media (max-width: 860px) {
  .sectie-kop { grid-template-columns: 1fr; }
}

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 229, 217, .94);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled { border-color: var(--lijn); box-shadow: 0 8px 30px rgba(119, 69, 57, .07); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: var(--header-h); }
.site-header__logo { display: block; flex: none; border-radius: 6px; }
.site-header__logo img { width: 128px; height: auto; }

.nav__lijst { display: flex; align-items: center; gap: .4rem; margin: 0; padding: 0; list-style: none; }
.nav__link {
  position: relative; display: block; padding: .6rem 1rem;
  border-radius: 999px; font-weight: 600; text-decoration: none;
  transition: background .18s ease;
}
.nav__link:hover { background: var(--creme-2); }
.nav__link.is-actief::after {
  content: ""; position: absolute; left: 50%; bottom: .2rem;
  width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--geel-diep);
}
.nav__cta { min-height: 46px; margin-left: .6rem; padding-inline: 1.4rem; }
.nav__cta.is-actief { background: var(--geel-diep); border-color: var(--geel-diep); }

.nav-toggle {
  display: none; align-items: center; gap: .6rem;
  min-height: 46px; padding: .5rem 1.1rem .5rem .9rem;
  border: 2px solid var(--bruin); border-radius: 999px;
  background: transparent; color: var(--bruin);
  font: 700 .95rem/1 var(--font); cursor: pointer;
}
.nav-toggle__streepjes, .nav-toggle__streepjes::before, .nav-toggle__streepjes::after {
  display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform .2s ease, background .2s ease;
}
.nav-toggle__streepjes { position: relative; }
.nav-toggle__streepjes::before, .nav-toggle__streepjes::after { content: ""; position: absolute; left: 0; }
.nav-toggle__streepjes::before { top: -6px; }
.nav-toggle__streepjes::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__streepjes { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__streepjes::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__streepjes::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 859.98px) {
  :root { --header-h: 72px; }
  .site-header__logo img { width: 108px; }
  .js .nav-toggle { display: inline-flex; }
  .js .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    padding: .75rem 20px 1.5rem;
    background: var(--creme); border-bottom: 1px solid var(--lijn);
    box-shadow: 0 24px 40px rgba(119, 69, 57, .12);
  }
  .js .nav:not(.is-open) { display: none; }
  .js .nav__lijst { flex-direction: column; align-items: stretch; gap: .25rem; }
  .js .nav__link { padding: .9rem 0; border-radius: 0; border-bottom: 1px solid var(--lijn); font-size: 1.15rem; }
  .js .nav__link:hover { background: transparent; }
  .js .nav__link.is-actief::after { left: auto; right: .25rem; top: 50%; bottom: auto; margin: -3px 0 0; }
  .js .nav__cta { display: flex; margin: 1rem 0 0; }
  /* Zonder JS: menu gewoon zichtbaar en laten doorlopen */
  html:not(.js) .site-header__inner { flex-wrap: wrap; padding-block: .75rem; }
  html:not(.js) .nav__lijst { flex-wrap: wrap; }
}

/* ===== Hero ===== */
.hero { position: relative; overflow: hidden; padding-block: clamp(2rem, 5vw, 4.5rem) clamp(3.5rem, 7vw, 6rem); }
.hero__inner {
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(2.5rem, 5vw, 5rem); align-items: center;
}
.hero .kicker {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .45rem .95rem .45rem .7rem; border-radius: 999px;
  background: var(--wit); box-shadow: inset 0 0 0 1px var(--lijn);
}
.hero .kicker::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--geel); }
.hero h1 { max-width: 13ch; }
.hero__intro { margin: 1.5rem 0 2rem; font-size: clamp(1.125rem, 1.6vw, 1.3rem); max-width: 34ch; }
.hero__knoppen { display: flex; flex-wrap: wrap; gap: .75rem; }

.vinklijst {
  display: flex; flex-wrap: wrap; gap: .75rem 1.5rem;
  margin: 2.25rem 0 0; padding: 1.5rem 0 0; list-style: none;
  border-top: 1px solid var(--lijn); font-weight: 600;
}
.vinklijst li { display: flex; align-items: center; gap: .55rem; }
.vinklijst li::before {
  content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--geel) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235a3229' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* Beeld: twee varianten, gekozen via html[data-hero] */
.hero__beeld { position: relative; width: 100%; max-width: 560px; justify-self: end; }
.hero__variant--b { display: none; }
html[data-hero="b"] .hero__variant--a { display: none; }
html[data-hero="b"] .hero__variant--b { display: block; }

/* Variant A: vrijstaand op het huisje uit het logo */
.hero__variant--a { position: relative; aspect-ratio: 9 / 10; }
.hero__vorm { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; overflow: visible; }
.hero__vorm-geel { fill: var(--geel); }
.hero__vorm-bruin { fill: var(--bruin); }
.hero__vrijstaand {
  position: absolute; bottom: 0; left: -16%;
  width: auto; height: 100%; max-width: none;
  object-fit: contain; object-position: bottom center;
  filter: drop-shadow(0 12px 14px rgba(90, 50, 41, .14));
}

/* Variant B: foto in afgerond 4:5-kader met merkvorm */
.hero__variant--b { position: relative; padding: 0 0 6% 7%; }
.hero__foto {
  position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: var(--radius); background: var(--creme-2);
  box-shadow: var(--shadow);
}
.hero__accent { position: absolute; left: 0; bottom: 0; width: 46%; aspect-ratio: 33.34 / 26.03; color: var(--geel); fill: currentColor; }

/* Zwevende beschikbaarheidskaart */
.beschikbaar {
  position: absolute; right: 0; bottom: 7%; z-index: 2;
  display: flex; align-items: center; gap: .8rem; margin: 0;
  padding: .9rem 1.3rem .9rem 1rem; border-radius: 16px;
  background: var(--wit); box-shadow: var(--shadow);
  font-size: .9rem; line-height: 1.3;
}
.beschikbaar strong { display: block; font-size: 1.05rem; }
.beschikbaar__stip {
  position: relative; flex: none; width: 12px; height: 12px; border-radius: 50%; background: #3f8f4f;
  box-shadow: 0 0 0 5px rgba(63, 143, 79, .18);
}
html[data-hero="b"] .beschikbaar { right: auto; left: -2%; bottom: 14%; }

@media (max-width: 859.98px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__beeld { justify-self: center; max-width: 460px; }
  .beschikbaar { right: 0; }
}
@media (max-width: 480px) {
  .vinklijst { flex-direction: column; }
  .hero__knoppen .button { flex: 1 1 0; }
}

/* ===== Specialismen ===== */
.specialismen { background: var(--bruin); color: var(--creme); padding-block: clamp(3rem, 6vw, 4.5rem); }
.specialismen__lijst {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0; padding: 0; list-style: none;
}
.specialisme { padding: .5rem clamp(1rem, 2.5vw, 2.25rem); border-left: 1px solid rgba(245, 229, 217, .22); }
.specialisme:first-child { padding-left: 0; border-left: 0; }
.specialisme__nr {
  display: block; margin-bottom: 1.25rem;
  color: var(--geel); font-size: clamp(2.4rem, 3.6vw, 3.25rem); font-weight: 700; line-height: 1; letter-spacing: -.03em;
}
.specialisme__titel { font-size: 1.3rem; line-height: 1.2; letter-spacing: -.015em; margin-bottom: .4rem; }
.specialisme p { margin: 0; color: rgba(245, 229, 217, .85); }
@media (max-width: 960px) {
  .specialismen__lijst { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 0; }
  .specialisme:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 520px) {
  .specialismen__lijst { grid-template-columns: 1fr; gap: 0; }
  .specialisme, .specialisme:nth-child(3) {
    display: grid; grid-template-columns: 4.25rem 1fr; column-gap: .5rem;
    padding: 1.25rem 0; border-left: 0; border-top: 1px solid rgba(245, 229, 217, .22);
  }
  .specialisme:first-child { border-top: 0; padding-top: 0; }
  .specialisme__nr { grid-row: span 2; margin: 0; font-size: 2.2rem; }
}

/* ===== Over Maries ===== */
.over__inner {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2.5rem, 6vw, 6rem); align-items: start;
}
.over__beeld { position: relative; padding: 0 8% 8% 0; }
.over__foto {
  position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: var(--radius); background: var(--creme-2);
}
.over__vorm { position: absolute; right: 0; bottom: 0; width: 58%; aspect-ratio: 33.34 / 26.03; color: var(--geel); fill: currentColor; }
.over__tekst { padding-top: clamp(0rem, 2vw, 2rem); }
.over__intro { margin: 1.5rem 0 2.5rem; font-size: clamp(1.15rem, 1.7vw, 1.35rem); line-height: 1.55; }

.citaat {
  position: relative; margin: 0; padding: clamp(1.75rem, 4vw, 3rem);
  border-radius: var(--radius); background: var(--wit); box-shadow: var(--shadow);
}
.citaat__teken { width: 46px; margin-bottom: 1.25rem; fill: var(--geel); }
.citaat blockquote { margin: 0; }
.citaat blockquote p { max-width: none; margin: 0; font-size: clamp(1.1rem, 1.55vw, 1.3rem); line-height: 1.6; }
.citaat__bron { margin-top: 1.5rem; font-weight: 700; }
@media (max-width: 859.98px) {
  .over__inner { grid-template-columns: 1fr; }
  .over__beeld { max-width: 420px; }
}

/* ===== Diensten ===== */
.diensten { padding-top: 0; }
.diensten__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.dienst {
  display: flex; flex-direction: column;
  padding: clamp(1.75rem, 3vw, 2.5rem); border-radius: var(--radius);
  background: var(--wit); box-shadow: inset 0 0 0 1px var(--lijn);
  transition: transform .25s ease, box-shadow .25s ease, opacity .6s ease;
}
.dienst:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--lijn), var(--shadow); }
.dienst h3 { margin-bottom: .85rem; }
.dienst p { flex: 1; }
.dienst__link {
  display: inline-flex; align-items: center; gap: .5rem; align-self: flex-start;
  margin-top: .5rem; font-weight: 700; text-decoration: underline;
  text-decoration-color: var(--geel); text-decoration-thickness: 3px; text-underline-offset: 6px;
}
.dienst__link::after { content: "→"; transition: transform .2s ease; }
.dienst__link:hover::after { transform: translateX(4px); }

/* Kaarticoon: logo-icoon in de drie merkkleuren (verwijderbaar) */
.dienst__icoon {
  display: grid; place-items: center; width: 68px; height: 68px; margin-bottom: 1.75rem;
  border-radius: 18px; background: var(--creme);
}
.dienst__icoon svg { width: 42px; height: 34px; fill: currentColor; }
.dienst__icoon--geel { color: var(--geel); }
.dienst__icoon--bruin { color: var(--bruin); }
.dienst__icoon--creme { color: var(--creme); background: var(--bruin); }
@media (max-width: 960px) {
  .diensten__grid { grid-template-columns: 1fr; }
}

/* ===== Portfolio ===== */
.portfolio { background: var(--creme-2); }
.werk { columns: 3 300px; column-gap: 1.25rem; margin: 0; padding: 0; list-style: none; }
.werk__item { break-inside: avoid; margin-bottom: 1.25rem; }
.werk__item figure { margin: 0; }
.werk__knop {
  display: block; width: 100%; padding: 0; border: 0; border-radius: var(--radius);
  background: var(--creme); overflow: hidden; cursor: zoom-in;
}
.werk__knop img { width: 100%; height: auto; transition: transform .5s ease; }
.werk__knop:hover img { transform: scale(1.03); }
.werk__knop:focus-visible { outline-offset: 4px; border-radius: var(--radius); }
.werk figcaption { padding: .7rem .25rem 0; font-size: .95rem; line-height: 1.4; }
.werk figcaption strong { display: block; font-size: 1rem; }

/* Lightbox (native dialog) */
.lightbox {
  width: 100%; max-width: none; height: 100%; max-height: none;
  margin: 0; padding: 0; border: 0; background: transparent; color: var(--creme);
}
.lightbox::backdrop { background: rgba(40, 22, 17, .9); }
.lightbox__inner {
  display: grid; place-items: center; height: 100%;
  padding: clamp(4rem, 6vw, 5rem) clamp(1rem, 7vw, 6rem) 1.5rem;
}
.lightbox__figuur { display: flex; flex-direction: column; align-items: center; gap: .9rem; margin: 0; max-height: 100%; }
.lightbox__img {
  width: auto; height: auto; max-width: 100%; max-height: calc(100svh - 10rem);
  border-radius: var(--radius-s); object-fit: contain;
}
.lightbox__onderschrift { display: flex; gap: 1rem; align-items: baseline; font-size: 1rem; }
.lightbox__teller { opacity: .75; font-size: .9rem; }
.lightbox__knop {
  position: fixed; display: grid; place-items: center; width: 52px; height: 52px;
  border: 0; border-radius: 50%; background: var(--creme); color: var(--bruin); cursor: pointer;
}
.lightbox__knop:hover { background: var(--geel); color: var(--bruin-diep); }
.lightbox__knop svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.lightbox__knop--sluit { top: 1rem; right: 1rem; }
.lightbox__knop--vorige { left: 1rem; top: 50%; translate: 0 -50%; }
.lightbox__knop--volgende { right: 1rem; top: 50%; translate: 0 -50%; }
@media (max-width: 600px) {
  .lightbox__knop--vorige, .lightbox__knop--volgende { top: auto; bottom: 1rem; translate: none; }
  .lightbox__inner { padding-bottom: 5.5rem; }
  .lightbox__img { max-height: calc(100svh - 13rem); }
}

/* ===== Contact ===== */
.contact__kop { max-width: 760px; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.contact__intro { margin: 1.25rem 0 0; font-size: 1.15rem; }
.contact__inner {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: 1.5rem; align-items: stretch;
}
.formulier {
  display: grid; gap: 1.25rem; padding: clamp(1.5rem, 4vw, 2.75rem);
  border-radius: var(--radius); background: var(--wit); box-shadow: inset 0 0 0 1px var(--lijn);
}
.formulier__rij { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.veld { display: grid; gap: .45rem; }
.veld label { font-weight: 700; font-size: .95rem; }
.veld__optioneel { font-weight: 400; }
.veld input, .veld textarea {
  width: 100%; padding: .85rem 1rem;
  border: 1.5px solid var(--bruin-zacht); border-radius: var(--radius-s);
  background: #fff; color: var(--bruin); font: inherit;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.veld textarea { resize: vertical; min-height: 9rem; }
.veld input:focus, .veld textarea:focus { outline: none; border-color: var(--bruin); box-shadow: 0 0 0 4px rgba(237, 174, 79, .45); }
.veld [aria-invalid="true"] { border-color: #a5321f; }
.vinkje { display: flex; align-items: flex-start; gap: .7rem; font-size: .95rem; }
.vinkje input { flex: none; width: 22px; height: 22px; margin: .1rem 0 0; accent-color: var(--bruin); }
.formulier__actie { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.25rem; }
.formulier__melding { margin: 0; font-weight: 700; }
.formulier__melding:empty { display: none; }
.formulier__melding.is-fout { color: #a5321f; }
.formulier__melding.is-ok { padding: .7rem 1rem; border-radius: var(--radius-s); background: var(--creme); }

.contactkaart {
  position: relative; overflow: hidden;
  padding: clamp(1.75rem, 3.5vw, 2.5rem); border-radius: var(--radius);
  background: var(--bruin); color: var(--creme);
}
.contactkaart h3 { margin-bottom: 1.5rem; font-size: 1.5rem; }
.contactkaart__vorm {
  position: absolute; right: -14%; bottom: -10%; width: 72%; aspect-ratio: 33.34 / 26.03;
  fill: currentColor; color: rgba(245, 229, 217, .07);
}
.contactkaart__lijst { position: relative; display: grid; gap: 1.1rem; margin: 0; }
.contactkaart__lijst div { padding-bottom: 1.1rem; border-bottom: 1px solid rgba(245, 229, 217, .2); }
.contactkaart__lijst div:last-child { border-bottom: 0; padding-bottom: 0; }
.contactkaart dt { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(245, 229, 217, .85); }
.contactkaart dd { margin: .2rem 0 0; font-size: 1.15rem; font-weight: 600; }
.contactkaart .placeholder { background: rgba(237, 174, 79, .2); }
@media (max-width: 859.98px) {
  .contact__inner { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .formulier__rij { grid-template-columns: 1fr; }
}

/* ===== Footer ===== */
.site-footer { background: var(--bruin); color: var(--creme); padding-top: clamp(3.5rem, 7vw, 5.5rem); font-size: .98rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-decoration-color: var(--geel); text-underline-offset: 4px; }
.site-footer__grid {
  display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 2.5rem; padding-bottom: clamp(2.5rem, 5vw, 4rem);
}
.site-footer__merk img { width: 168px; margin-bottom: 1.25rem; }
.site-footer__merk p { max-width: 30ch; color: rgba(245, 229, 217, .85); }
.site-footer__kop { display: flex; align-items: center; gap: .5rem; margin-bottom: 1rem; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--creme); }
.site-footer__kop::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--geel); }
.site-footer ul { display: grid; gap: .55rem; margin: 0; padding: 0; list-style: none; }
.site-footer .placeholder { background: rgba(237, 174, 79, .2); }
.site-footer__onder {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  padding-block: 1.5rem; border-top: 1px solid rgba(245, 229, 217, .2);
  font-size: .9rem;
}
.site-footer__onder p { margin: 0; }
@media (max-width: 960px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__merk { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .site-footer__grid { grid-template-columns: 1fr; }
}

/* ===== Subpagina's (privacy, 404) ===== */
.pagina { padding-block: clamp(3rem, 7vw, 6rem) var(--section); }
.pagina__kop { max-width: 820px; margin-bottom: 3rem; }
.pagina__kop p { margin-top: 1.25rem; font-size: 1.15rem; }
.tekst { max-width: 760px; }
.tekst h2 { margin: 2.5rem 0 .75rem; font-size: clamp(1.4rem, 2.4vw, 1.8rem); letter-spacing: -.015em; }
.tekst ul { padding-left: 1.2rem; }
.tekst li { margin-bottom: .35rem; }
.melding-kaart {
  padding: 1.25rem 1.5rem; margin-bottom: 2rem; border-radius: var(--radius-s);
  background: rgba(237, 174, 79, .25); box-shadow: inset 0 0 0 1px rgba(237, 174, 79, .8);
}
.melding-kaart p { margin: 0; }
.niet-gevonden { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 3rem; align-items: center; }
.niet-gevonden__vorm { width: 100%; max-width: 420px; justify-self: center; aspect-ratio: 33.34 / 26.03; fill: var(--geel); }
.niet-gevonden__code { display: block; margin-bottom: .5rem; font-size: clamp(4rem, 10vw, 8rem); font-weight: 700; line-height: 1; letter-spacing: -.05em; color: var(--geel-diep); }
@media (max-width: 760px) {
  .niet-gevonden { grid-template-columns: 1fr; }
  .niet-gevonden__vorm { max-width: 220px; justify-self: start; grid-row: 1; }
}

/* ===== Preview-schakelaar (alleen preview, niet in WordPress) ===== */
.preview-switch {
  position: fixed; right: 16px; bottom: 16px; z-index: 90;
  font: 500 .85rem/1.3 ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--creme);
}
.preview-switch__toggle {
  display: inline-flex; align-items: center; gap: .5rem; margin-left: auto;
  padding: .55rem .9rem; border: 0; border-radius: 999px;
  background: #2b1a15; color: var(--creme); font: inherit; font-weight: 700; cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
}
.preview-switch__toggle::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--geel); }
.preview-switch__paneel {
  width: 260px; margin-bottom: .5rem; padding: 1rem; border-radius: 14px;
  background: #2b1a15; box-shadow: 0 16px 40px rgba(0, 0, 0, .25);
}
.preview-switch__paneel[hidden] { display: none; }
.preview-switch fieldset { margin: 0 0 .9rem; padding: 0; border: 0; }
.preview-switch fieldset:last-of-type { margin-bottom: .4rem; }
.preview-switch legend { margin-bottom: .45rem; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .85; }
.preview-switch__opties { display: flex; flex-wrap: wrap; gap: .35rem; }
.preview-switch__opties label { position: relative; }
.preview-switch__opties input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.preview-switch__opties span {
  display: block; padding: .4rem .7rem; border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(245, 229, 217, .3); cursor: pointer;
}
.preview-switch__opties input:checked + span { background: var(--geel); color: #2b1a15; box-shadow: none; font-weight: 700; }
.preview-switch__opties input:focus-visible + span { outline: 2px solid var(--geel); outline-offset: 2px; }
.preview-switch__noot { margin: .5rem 0 0; font-size: .75rem; opacity: .7; }
.preview-switch__rij { display: flex; flex-direction: column; align-items: flex-end; }
/* Ruimte zodat de schakelaar de footer niet afdekt */
body:has(.preview-switch) .site-footer__onder { padding-bottom: 4.5rem; }
.pagina__intro { margin: 1.25rem 0 2rem; font-size: 1.15rem; }
