@import url("fonts.css");

:root {
  --rood: #A61924;
  --bordeaux: #74121B;
  --goud: #C99A3B;
  --goud-donker: #80601F;
  --creme: #FFF8EC;
  --perkament: #F4E8D5;
  --wit: #FFFFFF;
  --bruin: #30231F;
  --bruin-zacht: #6F6058;
  --nacht: #18243C;

  --kop: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --tekst: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --max: 1200px;
  --gutter: 64px;
  --sectie: 96px;
  --radius-kaart: 16px;
  --radius-knop: 10px;
  --schaduw: 0 8px 24px rgba(48, 35, 31, 0.08);
  --overgang: 200ms ease;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  margin: 0;
  background: var(--creme);
  color: var(--bruin);
  font-family: var(--tekst);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }

h1, h2, h3 {
  font-family: var(--kop);
  font-weight: 700;
  color: var(--bruin);
  margin: 0 0 16px;
}
h1 { font-size: 64px; line-height: 1.1; }
h2 { font-size: 44px; line-height: 1.15; }
h3 { font-size: 28px; line-height: 1.25; font-weight: 600; }

p { margin: 0 0 16px; }

a { color: var(--rood); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--bordeaux); }

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

.accent {
  font-family: var(--kop);
  font-style: italic;
  font-weight: 600;
  color: var(--goud-donker);
  font-size: 24px;
  line-height: 1.3;
  margin-bottom: 8px;
  display: block;
}

.intro { font-size: 21px; line-height: 1.6; color: var(--bruin); }
.klein { font-size: 14px; line-height: 1.5; color: var(--bruin-zacht); }

.wrap {
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.sectie { padding: var(--sectie) 0; }
.sectie--perkament { background: var(--perkament); }

.sectie-kop { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.sectie-kop p { color: var(--bruin-zacht); }

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

/* ---------- Ornamenten ---------- */
.sier {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  color: var(--goud); margin: 0 auto 16px; max-width: 320px;
}
.sier::before, .sier::after {
  content: ""; flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, var(--goud));
}
.sier::after { background: linear-gradient(90deg, var(--goud), transparent); }
.sier svg { width: 22px; height: 22px; flex: none; }

/* ---------- Knoppen ---------- */
.knop {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 24px;
  border-radius: var(--radius-knop);
  font: 700 16px/1.4 var(--tekst);
  text-decoration: none; cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--overgang), color var(--overgang), transform var(--overgang), border-color var(--overgang);
}
.knop:hover { transform: translateY(-2px); }
.knop--primair { background: var(--rood); color: var(--wit); }
.knop--primair:hover { background: var(--bordeaux); color: var(--wit); }
.knop--secundair { background: transparent; color: var(--rood); border-color: var(--rood); }
.knop--secundair:hover { background: var(--rood); color: var(--wit); }
.knop--licht { background: var(--creme); color: var(--bruin); }
.knop--licht:hover { background: var(--wit); color: var(--bruin); }
.knop svg { width: 20px; height: 20px; flex: none; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 248, 236, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(201, 154, 59, 0.35);
}
.header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: 88px;
}
.header__logo img { width: 200px; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 24px; }
.nav a:not(.knop) {
  color: var(--bruin); text-decoration: none; font-weight: 600; font-size: 16px;
  padding: 8px 0; border-bottom: 2px solid transparent;
  transition: border-color var(--overgang), color var(--overgang);
}
.nav a:not(.knop):hover { color: var(--rood); border-color: var(--goud); }
.nav-toggle {
  display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--bruin);
  min-width: 48px; min-height: 48px;
}
.nav-toggle svg { width: 28px; height: 28px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 72px 0 var(--sectie); }
.hero .wrap {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center;
}
.hero__logo { width: 320px; margin: 0 0 32px; }
.hero h1 { margin-bottom: 24px; }
.hero .intro { max-width: 34em; margin-bottom: 32px; }
.hero__acties { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 32px; }
.beschikbaar {
  display: inline-flex; align-items: flex-start; gap: 12px;
  background: var(--wit); border: 1px solid rgba(201, 154, 59, 0.45);
  border-radius: var(--radius-kaart); padding: 16px 24px; box-shadow: var(--schaduw);
  font-size: 16px; line-height: 1.5;
}
.beschikbaar svg { width: 22px; height: 22px; color: var(--goud); flex: none; margin-top: 1px; }
.beschikbaar strong { color: var(--bruin); }

.hero__foto { position: relative; }
.hero__foto img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 30%;
  border-radius: 20px; box-shadow: 0 16px 40px rgba(48, 35, 31, 0.16);
}
.hero__foto::before {
  content: ""; position: absolute; inset: -14px 14px 14px -14px;
  border: 1px solid var(--goud); border-radius: 24px; z-index: -1;
}

.sterren { position: absolute; inset: 0; pointer-events: none; z-index: -1; }
.sterren svg { position: absolute; color: var(--goud); opacity: 0.7; animation: twinkel 3.2s ease-in-out infinite; }
.sterren svg:nth-child(2) { animation-delay: 1.1s; }
.sterren svg:nth-child(3) { animation-delay: 2.2s; }
.sterren svg:nth-child(4) { animation-delay: 0.6s; }
@keyframes twinkel { 0%, 100% { opacity: 0.25; transform: scale(0.9); } 50% { opacity: 0.85; transform: scale(1); } }

/* ---------- Vertrouwen ---------- */
.pluspunten {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
  list-style: none; padding: 0; margin: 0;
}
.pluspunten li { text-align: center; }
.pluspunten svg { width: 40px; height: 40px; color: var(--goud); margin: 0 auto 16px; }
.pluspunten h3 { font-size: 25px; margin-bottom: 8px; }
.pluspunten p { font-size: 17px; color: var(--bruin-zacht); margin: 0; }

/* ---------- Kaarten ---------- */
.kaarten { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.kaart {
  background: var(--wit); border: 1px solid rgba(201, 154, 59, 0.35);
  border-radius: var(--radius-kaart); box-shadow: var(--schaduw);
  padding: 32px; display: flex; flex-direction: column;
  transition: transform var(--overgang), box-shadow var(--overgang);
}
.kaart:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(48, 35, 31, 0.12); }
.kaart__icoon { width: 44px; height: 44px; color: var(--goud); margin-bottom: 16px; }
.kaart p { color: var(--bruin-zacht); }
.kaart dl { margin: 8px 0 24px; padding: 16px 0 0; border-top: 1px solid var(--perkament); font-size: 16px; }
.kaart dt { font-weight: 700; color: var(--bruin); }
.kaart dd { margin: 0 0 8px; color: var(--bruin-zacht); }
.kaart .knop { margin-top: auto; align-self: flex-start; }

/* ---------- Stappen ---------- */
.stappen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: stap; list-style: none; padding: 0; margin: 0; }
.stappen li { position: relative; padding-top: 72px; }
.stappen li::before {
  counter-increment: stap; content: counter(stap);
  position: absolute; top: 0; left: 0;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  font: 700 28px/1 var(--kop); color: var(--rood);
  background: var(--wit); border: 1px solid var(--goud);
}
.stappen p { color: var(--bruin-zacht); margin: 0; }

/* ---------- Galerij ---------- */
.galerij {
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 24px;
  list-style: none; padding: 0; margin: 0;
}
.galerij li { position: relative; margin: 0; min-height: 0; }
.galerij figure { margin: 0; height: 100%; position: relative; }
.galerij li.hoog { grid-row: span 2; }
.galerij li.breed { grid-column: span 2; }
.galerij img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-kaart); }
.galerij figcaption {
  position: absolute; left: 12px; bottom: 12px; right: 12px;
  font-size: 14px; line-height: 1.4; font-weight: 600; color: var(--bruin);
  background: rgba(255, 248, 236, 0.92); border-radius: 8px; padding: 6px 10px;
  width: fit-content; max-width: calc(100% - 24px);
}

/* ---------- Ervaringen ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.review {
  background: var(--wit); border-radius: var(--radius-kaart); padding: 32px;
  border: 1px solid rgba(201, 154, 59, 0.3); margin: 0;
}
.review svg { width: 32px; height: 32px; color: var(--goud); margin-bottom: 8px; }
.review blockquote { margin: 0 0 16px; font-size: 18px; }
.review figcaption { font-weight: 700; font-size: 16px; color: var(--bruin); }
.review figcaption span { display: block; font-weight: 400; font-size: 14px; color: var(--bruin-zacht); }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; margin: 0 auto; }
.faq details {
  background: var(--wit); border: 1px solid rgba(201, 154, 59, 0.35);
  border-radius: var(--radius-kaart); margin-bottom: 16px;
}
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; position: relative;
  font: 600 22px/1.3 var(--kop); color: var(--bruin); min-height: 48px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 24px; top: 50%; width: 12px; height: 12px;
  border-right: 2px solid var(--rood); border-bottom: 2px solid var(--rood);
  transform: translateY(-70%) rotate(45deg); transition: transform var(--overgang);
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details > div { padding: 0 24px 20px; color: var(--bruin-zacht); }
.faq details > div p:last-child { margin: 0; }

/* ---------- Aanvraag ---------- */
.aanvraag .wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; }
.contactlijst { list-style: none; padding: 0; margin: 24px 0 0; }
.contactlijst li { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; }
.contactlijst svg { width: 24px; height: 24px; color: var(--goud-donker); flex: none; }
.contactlijst a { font-weight: 700; }

.formulier {
  background: var(--wit); border-radius: var(--radius-kaart); padding: 32px;
  box-shadow: var(--schaduw); border: 1px solid rgba(201, 154, 59, 0.35);
}
.velden { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; }
.veld { display: flex; flex-direction: column; gap: 6px; }
.veld--vol { grid-column: 1 / -1; }
.veld label { font-weight: 700; font-size: 16px; }
.veld label .opt { font-weight: 400; color: var(--bruin-zacht); font-size: 14px; }
.veld input, .veld select, .veld textarea {
  font: 400 16px/1.4 var(--tekst); color: var(--bruin);
  min-height: 48px; padding: 12px 14px;
  border: 1px solid #CDBBA0; border-radius: var(--radius-knop); background: var(--wit);
  transition: border-color var(--overgang), box-shadow var(--overgang);
}
.veld textarea { min-height: 120px; resize: vertical; }
.veld input:focus, .veld select:focus, .veld textarea:focus {
  outline: none; border-color: var(--goud-donker); box-shadow: 0 0 0 3px rgba(201, 154, 59, 0.3);
}
.veld .fout { display: none; align-items: center; gap: 6px; color: var(--rood); font-size: 14px; font-weight: 600; }
.veld .fout svg { width: 16px; height: 16px; flex: none; }
.veld.is-fout input, .veld.is-fout select { border-color: var(--rood); }
.veld.is-fout .fout { display: flex; }
.formulier__acties { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 24px; }
.melding {
  display: none; margin-top: 24px; padding: 16px 20px; border-radius: var(--radius-knop);
  background: #EEF6EC; border: 1px solid #9CC59A; color: #24451F; font-size: 16px;
}
.melding.is-zichtbaar { display: block; }

/* ---------- Footer ---------- */
.footer { background: var(--nacht); color: var(--creme); padding: 64px 0 32px; }
.footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
.footer h2 { color: var(--creme); font-size: 28px; margin-bottom: 12px; }
.footer p, .footer li { color: rgba(255, 248, 236, 0.82); font-size: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 8px; }
.footer a { color: var(--creme); text-decoration-color: var(--goud); }
.footer a:hover { color: var(--wit); }
.footer .sier { justify-content: flex-start; margin: 0 0 16px; max-width: 200px; }
.footer .sier::before { display: none; }
.footer__onder {
  grid-column: 1 / -1; border-top: 1px solid rgba(201, 154, 59, 0.35);
  padding-top: 24px; margin-top: 16px; font-size: 14px; color: rgba(255, 248, 236, 0.65);
}

/* ---------- Responsief ---------- */
@media (max-width: 1080px) {
  :root { --gutter: 40px; }
  .nav ul { gap: 16px; }
  .nav { gap: 20px; }
  .pluspunten { grid-template-columns: repeat(2, 1fr); }
  .galerij { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 8px;
    background: var(--creme); border-bottom: 1px solid rgba(201, 154, 59, 0.35);
    padding: 16px 20px 24px; box-shadow: 0 12px 24px rgba(48, 35, 31, 0.08);
  }
  .nav.is-open { display: flex; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a:not(.knop) { display: block; padding: 12px 0; border-bottom: 1px solid var(--perkament); }
  .hero .wrap, .aanvraag .wrap { grid-template-columns: 1fr; gap: 48px; }
  .hero__foto { max-width: 520px; }
  .kaarten, .stappen, .reviews { grid-template-columns: 1fr; }
  .footer .wrap { grid-template-columns: 1fr 1fr; }
  .footer .wrap > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  :root { --gutter: 20px; --sectie: 52px; }
  html { scroll-padding-top: 80px; }
  body { font-size: 17px; }
  h1 { font-size: 40px; }
  h2 { font-size: 32px; }
  h3 { font-size: 25px; }
  .intro { font-size: 19px; }
  .header .wrap { min-height: 72px; }
  .header__logo img { width: 160px; }
  .hero { padding-top: 40px; }
  .hero__logo { width: 210px; margin-bottom: 24px; }
  .hero__acties .knop { flex: 1 1 100%; }
  .beschikbaar { padding: 14px 16px; }
  .pluspunten { grid-template-columns: 1fr; gap: 32px; }
  .kaart, .review, .formulier { padding: 24px; }
  .velden { grid-template-columns: 1fr; }
  .galerij { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; gap: 12px; }
  .galerij li.breed { grid-column: span 2; }
  .galerij figcaption { display: none; }
  .footer .wrap { grid-template-columns: 1fr; gap: 32px; }
  .formulier__acties .knop { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Inhoudspagina's ---------- */
.paginakop { padding: 64px 0 48px; text-align: center; border-bottom: 1px solid rgba(201, 154, 59, 0.35); }
.paginakop h1 { max-width: 900px; margin: 0 auto 16px; }
.paginakop .intro { max-width: 720px; margin: 0 auto; color: var(--bruin-zacht); }
.kruimels { font-size: 14px; color: var(--bruin-zacht); margin-bottom: 16px; }
.kruimels ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.kruimels li + li::before { content: "›"; margin-right: 8px; color: var(--goud); }
.kruimels a { color: var(--bruin-zacht); }

.inhoud { max-width: 760px; margin: 0 auto; }
.inhoud h2 { font-size: 36px; margin-top: 48px; }
.inhoud h3 { margin-top: 32px; }
.inhoud ul, .inhoud ol { padding-left: 24px; margin: 0 0 16px; }
.inhoud li { margin-bottom: 6px; }
.inhoud img { border-radius: var(--radius-kaart); }
.inhoud > *:first-child { margin-top: 0; }

.twee-kol { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 64px; align-items: start; }
.zijkaart {
  background: var(--wit); border: 1px solid rgba(201, 154, 59, 0.35); border-radius: var(--radius-kaart);
  padding: 28px; box-shadow: var(--schaduw); position: sticky; top: 112px;
}
.zijkaart h2 { font-size: 28px; }
.zijkaart .knop { width: 100%; margin-top: 8px; }
.zijkaart ul { list-style: none; padding: 0; margin: 0 0 16px; font-size: 16px; }
.zijkaart li { padding: 6px 0; border-bottom: 1px solid var(--perkament); }

.dorpen { columns: 2 240px; column-gap: 24px; list-style: none; padding: 0; margin: 24px 0 0; }
.dorpen li { break-inside: avoid; padding: 6px 0; border-bottom: 1px dashed rgba(201, 154, 59, 0.45); font-size: 16px; }
.dorpen li span { color: var(--bruin-zacht); font-size: 14px; }

.gemeenten { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; list-style: none; padding: 0; margin: 0; }
.gemeenten a {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  background: var(--wit); border: 1px solid rgba(201, 154, 59, 0.35); border-radius: var(--radius-knop);
  padding: 14px 18px; text-decoration: none; color: var(--bruin); font-weight: 600; min-height: 48px;
  transition: border-color var(--overgang), transform var(--overgang);
}
.gemeenten a:hover { border-color: var(--rood); transform: translateY(-2px); color: var(--rood); }
.gemeenten a span { font-weight: 400; font-size: 14px; color: var(--bruin-zacht); }
.provincie + .provincie { margin-top: 48px; }

.cta-band { background: var(--nacht); color: var(--creme); border-radius: 20px; padding: 48px; text-align: center; margin-top: 64px; }
.cta-band h2 { color: var(--creme); }
.cta-band p { color: rgba(255, 248, 236, 0.85); max-width: 600px; margin: 0 auto 24px; }

.slots-lijst { list-style: none; padding: 0; margin: 0; }
.slots-lijst li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--perkament); font-size: 16px; }
.label-vol { color: var(--bruin-zacht); }
.label-vrij { color: #2E6B2A; font-weight: 700; }

/* ---------- Reserveren ---------- */
.res-stap + .res-stap { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--perkament); }
.res-stap h3 { font-size: 25px; display: flex; align-items: center; gap: 12px; }
.res-stap h3 .nr {
  width: 36px; height: 36px; border-radius: 50%; display: inline-grid; place-items: center; flex: none;
  font: 700 20px/1 var(--kop); color: var(--rood); border: 1px solid var(--goud); background: var(--creme);
}
.keuzes { display: flex; flex-wrap: wrap; gap: 12px; }
.keuze { position: relative; }
.keuze input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.keuze span {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 48px; min-width: 96px; padding: 10px 16px; border-radius: var(--radius-knop);
  border: 1px solid #CDBBA0; background: var(--wit); font-weight: 600; font-size: 16px; line-height: 1.3; text-align: center;
  transition: border-color var(--overgang), background var(--overgang);
}
.keuze span small { font-weight: 400; color: var(--bruin-zacht); font-size: 13px; }
.keuze input:checked + span { border-color: var(--rood); background: #FCEDEE; color: var(--bordeaux); box-shadow: 0 0 0 2px var(--rood) inset; }
.keuze input:focus-visible + span { outline: 3px solid var(--goud-donker); outline-offset: 2px; }
.keuze input:disabled + span { opacity: 0.45; text-decoration: line-through; cursor: not-allowed; }
.res-leeg { color: var(--bruin-zacht); font-size: 16px; }
.hp-veld { position: absolute !important; left: -9999px !important; }
.melding--fout { background: #FCEDEE; border-color: #E3A3A8; color: var(--bordeaux); }
.formulier button[disabled] { opacity: 0.6; cursor: wait; }

@media (max-width: 900px) {
  .twee-kol { grid-template-columns: 1fr; gap: 40px; }
  .zijkaart { position: static; }
  .gemeenten { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .paginakop { padding: 40px 0 32px; }
  .gemeenten { grid-template-columns: 1fr; }
  .cta-band { padding: 32px 20px; }
  .inhoud h2 { font-size: 30px; }
}

/* ---------- Kinderen in het reserveringsformulier ---------- */
.kinderen-lijst { display: grid; gap: 16px; margin-bottom: 16px; }
.kind {
  border: 1px solid rgba(201, 154, 59, 0.45); border-radius: var(--radius-kaart);
  background: var(--creme); padding: 16px 20px 20px; margin: 0;
}
.kind legend { font: 600 22px/1.2 var(--kop); color: var(--bruin); padding: 0 8px; }
.kind textarea { min-height: 96px; }
.knop-link {
  background: none; border: 0; padding: 8px 0; margin-top: 8px; min-height: 40px; cursor: pointer;
  color: var(--rood); font: 600 15px/1.4 var(--tekst); text-decoration: underline; text-underline-offset: 3px;
}
.knop-link:hover { color: var(--bordeaux); }
@media (max-width: 640px) { .kind { padding: 12px 14px 16px; } }
.veld.is-fout .kind input, .veld.is-fout .kind textarea { border-color: #CDBBA0; }
.kind input[aria-invalid="true"] { border-color: var(--rood) !important; }

/* ---------- Fotogalerij (blok-editor) ---------- */
.inhoud .wp-block-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 32px 0; padding: 0; }
.inhoud .wp-block-gallery figure.wp-block-image { margin: 0; position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius-kaart); background: var(--perkament); }
.inhoud .wp-block-gallery figure.wp-block-image a { display: block; height: 100%; }
.inhoud .wp-block-gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; transition: transform 250ms ease; }
.inhoud .wp-block-gallery a:hover img { transform: scale(1.03); }
.inhoud .wp-block-gallery figcaption {
  position: absolute; left: 10px; right: 10px; bottom: 10px; width: fit-content; max-width: calc(100% - 20px);
  background: rgba(255, 248, 236, 0.92); border-radius: 8px; padding: 4px 10px; font-size: 14px; font-weight: 600; line-height: 1.4; color: var(--bruin);
}
.page-template-default .inhoud:has(.wp-block-gallery) { max-width: 1100px; }
@media (max-width: 900px) { .inhoud .wp-block-gallery { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
@media (max-width: 480px) { .inhoud .wp-block-gallery figcaption { font-size: 13px; padding: 4px 8px; } }

/* ---------- Lightbox ---------- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(24, 36, 60, 0.92); }
.lightbox figure { margin: 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 56px 16px 24px; }
.lightbox img { max-width: min(1400px, 100%); max-height: calc(100vh - 140px); width: auto; height: auto; border-radius: 12px; }
.lightbox figcaption { color: var(--creme); font-size: 16px; text-align: center; }
.lightbox button {
  position: absolute; background: rgba(255, 248, 236, 0.15); color: var(--creme); border: 1px solid rgba(255, 248, 236, 0.4);
  border-radius: 50%; width: 48px; height: 48px; font-size: 24px; line-height: 1; cursor: pointer;
}
.lightbox button:hover { background: rgba(255, 248, 236, 0.3); }
.lightbox .lb-sluit { top: 16px; right: 16px; }
.lightbox .lb-vorige { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-volgende { right: 16px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) { .lightbox .lb-vorige, .lightbox .lb-volgende { top: auto; bottom: 16px; transform: none; } }
.inhoud .wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) { width: auto !important; max-width: none; margin: 0 !important; flex: none; }
.inhoud .wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) img { height: 100%; }

/* ---------- Kalender in het reserveringsformulier ---------- */
.spb-kalender { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.spb-maand h4 { font: 600 22px/1.2 var(--kop); margin: 0 0 12px; text-align: center; color: var(--bruin); }
.spb-maand-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.spb-wd { text-align: center; font-size: 13px; font-weight: 700; color: var(--bruin-zacht); text-transform: uppercase; padding-bottom: 4px; }
.spb-dag {
  position: relative; aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  border-radius: 10px; font-size: 16px; font-weight: 600; line-height: 1.1; min-height: 40px;
}
.spb-dag small { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .02em; }
.spb-dag.is-buiten, .spb-dag.is-verleden { color: #C8BDB0; font-weight: 400; }
.spb-dag.is-vol { background: #F3E2E3; color: var(--bordeaux); }
.spb-dag.is-niet { background: #ECE8E3; color: #8A7F78; text-decoration: line-through; }
.spb-dag.is-niet small { text-decoration: none; }
.spb-dag.is-open { cursor: pointer; }
.spb-dag.is-open input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.spb-dag.is-open span {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; border-radius: 10px;
  background: var(--wit); border: 1px solid #CDBBA0; color: var(--bruin);
  transition: background var(--overgang), border-color var(--overgang);
}
.spb-dag.is-open:hover span { border-color: var(--rood); }
.spb-dag.is-open input:checked + span { background: var(--rood); border-color: var(--rood); color: var(--wit); }
.spb-dag.is-open input:focus-visible + span { outline: 3px solid var(--goud-donker); outline-offset: 2px; }
.spb-legenda { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 16px 0 0; }
.spb-stip { display: inline-block; width: 14px; height: 14px; border-radius: 4px; vertical-align: middle; margin-right: -8px; }
.spb-stip.is-open { background: var(--wit); border: 1px solid #CDBBA0; }
.spb-stip.is-vol { background: #F3E2E3; }
.spb-stip.is-niet { background: #ECE8E3; }
.keuze--tijd span { min-width: 76px; }
@media (max-width: 480px) { .spb-maand-grid { gap: 4px; } .spb-dag { font-size: 15px; min-height: 36px; } }

/* ---------- Kindgegevens doorgeven ---------- */
.spb-bezoek-samenvatting { background: var(--wit); border: 1px solid rgba(201, 154, 59, 0.45); border-radius: var(--radius-kaart); padding: 20px 24px; margin-bottom: 24px; }
.spb-bezoek-samenvatting p { margin: 0; }

/* ---------- Social in de footer ---------- */
.footer .footer__social { display: flex; gap: 12px; margin-top: 20px; }
.footer .footer__social li { margin: 0; }
.footer__social a {
  display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid rgba(201, 154, 59, 0.6); color: var(--goud); text-decoration: none;
  transition: background var(--overgang), color var(--overgang), border-color var(--overgang);
}
.footer__social a:hover { background: var(--goud); border-color: var(--goud); color: var(--nacht); }
.footer__social svg { width: 22px; height: 22px; }

/* ---------- Mobiele verfijningen ---------- */
.inhoud .formulier h2 { margin-top: 0; }
@media (max-width: 900px) {
  /* Teamfoto eerst, liggend uitgesneden, zodat je direct ziet wie er komt */
  .hero .wrap { gap: 28px; }
  .hero__foto { order: -1; max-width: none; }
  .hero__foto img { aspect-ratio: 4 / 3; object-position: center 62%; }
  .hero__foto::before { display: none; }
}
@media (max-width: 640px) {
  .hero { padding-top: 20px; }
  /* Kruimelpad: alleen een terugkoppeling naar de bovenliggende pagina */
  .kruimels ol { justify-content: flex-start; }
  .kruimels li { display: none; }
  .kruimels li:nth-last-child(2) { display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .kruimels li:nth-last-child(2)::before { content: "‹ "; margin-right: 2px; }
  .kruimels li + li::before { content: none; }
  .kruimels li:nth-last-child(2) a { display: inline-block; padding: 12px 0; }
  .paginakop { text-align: left; }
  .paginakop .intro, .paginakop h1 { margin-left: 0; }
  .inhoud .wp-block-gallery figcaption { font-size: 13px; padding: 4px 8px; }
}

/* ---------- Kop: menu links, logo midden, bellen en boeken rechts ---------- */
.header .wrap.header__rij {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  min-height: 92px; justify-content: initial;
}
.header__links { justify-self: start; display: flex; align-items: center; min-width: 0; }
.header .header__logo { justify-self: center; }
.header .header__logo img { width: 190px; }
.header__rechts { justify-self: end; display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none; align-items: center; gap: 8px; background: none; border: 1px solid rgba(201, 154, 59, 0.5);
  border-radius: var(--radius-knop); padding: 0 14px; min-height: 48px; min-width: 48px; cursor: pointer;
  color: var(--bruin); font: 700 16px/1 var(--tekst);
}
.nav-toggle svg { width: 24px; height: 24px; }

.knop-bel {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; min-width: 48px; padding: 0 14px;
  border: 1px solid rgba(201, 154, 59, 0.5); border-radius: var(--radius-knop);
  color: var(--bruin); text-decoration: none; font-weight: 700; font-size: 16px; white-space: nowrap;
  transition: border-color var(--overgang), color var(--overgang);
}
.knop-bel:hover { border-color: var(--rood); color: var(--rood); }
.knop-bel svg { width: 20px; height: 20px; color: var(--rood); }
.knop-boek { white-space: nowrap; }
.knop-boek svg { width: 20px; height: 20px; }
.knop-boek__kort { display: none; }

/* Groot scherm: menulinks zichtbaar */
@media (min-width: 1280px) {
  .nav { display: flex; position: static; padding: 0; box-shadow: none; border: 0; background: none; }
  .nav ul { flex-direction: row; gap: 22px; }
  .knop-boek svg { display: none; }
}

/* Kleiner dan een groot scherm: knop "Menu" met uitklapmenu */
@media (max-width: 1279px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--creme); border-bottom: 1px solid rgba(201, 154, 59, 0.35);
    padding: 8px var(--gutter) 20px; box-shadow: 0 12px 24px rgba(48, 35, 31, 0.1);
  }
  .nav.is-open { display: flex; }
  .nav ul { flex-direction: column; gap: 0; max-width: var(--max); margin: 0 auto; width: 100%; }
  .nav a:not(.knop) { display: block; padding: 14px 0; border-bottom: 1px solid var(--perkament); font-size: 18px; }
}

@media (max-width: 900px) {
  .knop-bel__tekst { display: none; }
  .knop-bel { padding: 0; width: 48px; }
  .knop-boek__lang { display: none; }
  .knop-boek__kort { display: inline; }
  .knop-boek { padding: 12px 16px; }
}

/* Telefoon: drie gelijke vlakken, logo precies in het midden */
@media (max-width: 640px) {
  .header .wrap.header__rij { min-height: 76px; gap: 8px; grid-template-columns: 1fr auto 1fr; }
  .header .header__logo img { width: 124px; }
  .nav-toggle { padding: 0; width: 48px; justify-content: center; }
  .nav-toggle__tekst { display: none; }
  .header__rechts { gap: 6px; }
  .knop-boek { width: 48px; padding: 0; }
  .knop-boek__kort { display: none; }
  .knop-boek svg { display: block; }
}
@media (max-width: 1279px) {
  .knop-bel__tekst { display: none; }
  .knop-bel { padding: 0; width: 48px; }
}

/* Knop "Boeken" en belknop: op de telefoon staat bellen links naast het menu */
.knop-boek { padding: 12px 22px; }
.knop-bel--links { display: none; }
.header__links { gap: 6px; }
@media (max-width: 640px) {
  .knop-bel--links { display: inline-flex; padding: 0; width: 48px; }
  .header__rechts .knop-bel { display: none; }
  .knop-boek { width: auto; padding: 0 16px; min-height: 48px; }
}

/* ---------- Foto bovenaan de bezoekkaarten ---------- */
.kaart--foto { padding-top: 0; overflow: hidden; }
.kaart__foto { margin: 0 -32px 24px; aspect-ratio: 3 / 2; overflow: hidden; background: var(--perkament); }
.kaart__foto img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms ease; }
.kaart--foto:hover .kaart__foto img { transform: scale(1.04); }
@media (max-width: 640px) { .kaart__foto { margin: 0 -24px 20px; } }
.kaarten .kaart:first-child .kaart__foto img { object-position: center 32%; }

/* ---------- Prijzen ---------- */
.prijzen-lijst { list-style: none; padding: 0 !important; margin: 0 0 12px; }
.prijzen-lijst li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--perkament); }
.prijzen-lijst strong { color: var(--rood); white-space: nowrap; }
.prijs-info { background: var(--creme); border: 1px solid rgba(201, 154, 59, 0.45); border-radius: var(--radius-knop); padding: 12px 16px; margin: 0 0 16px; }
.prijs-info strong { color: var(--rood); }
.zijkaart__prijs { font-size: 16px; margin: 0 0 12px; }
.zijkaart__prijs strong { color: var(--rood); }

/* Hoofdfoto is liggend (team op de rode loper) */
.hero__foto img { aspect-ratio: 4 / 3; object-position: center 55%; }

/* ==========================================================================
   Kop – strak: logo links, menu in het midden, Boeken rechts.
   Telefoon/tablet: menu-icoon links, logo in het midden, Boeken rechts.
   ========================================================================== */
.header { background: rgba(255, 248, 236, 0.97); border-bottom: 1px solid rgba(201, 154, 59, 0.3); }
.header .wrap.kop {
  display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "logo nav knop";
  align-items: center; gap: 32px; min-height: 84px;
}
.header .kop .nav-toggle { display: none; }
.kop__logo { grid-area: logo; display: block; line-height: 0; }
.kop__logo img { width: 160px; height: auto; }
.kop__nav { grid-area: nav; justify-self: center; }
.kop__nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 36px; }
.kop__nav a {
  position: relative; display: inline-block; padding: 10px 0;
  color: var(--bruin); text-decoration: none; font-weight: 600; font-size: 16px; letter-spacing: 0.01em;
  transition: color var(--overgang);
}
.kop__nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; border-radius: 2px;
  background: var(--goud); transform: scaleX(0); transition: transform var(--overgang);
}
.kop__nav a:hover, .kop__nav .current-menu-item > a { color: var(--rood); }
.kop__nav a:hover::after, .kop__nav .current-menu-item > a::after { transform: scaleX(1); }
.kop__knop { grid-area: knop; padding: 12px 26px; }

@media (max-width: 1180px) {
  .header .wrap.kop { gap: 20px; }
  .kop__nav ul { gap: 24px; }
}

@media (max-width: 1023px) {
  .header .wrap.kop { grid-template-columns: 1fr auto 1fr; grid-template-areas: "menu logo knop"; gap: 12px; min-height: 72px; }
  .header .kop .nav-toggle {
    grid-area: menu; justify-self: start; display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; min-width: 0; padding: 0; margin-left: -8px; border: 0; border-radius: 10px;
    background: none; color: var(--bruin); cursor: pointer;
  }
  .header .kop .nav-toggle:hover { background: var(--perkament); }
  .header .kop .nav-toggle svg { width: 26px; height: 26px; }
  .header .kop .nav-toggle .icoon-dicht { display: none; }
  .header .kop .nav-toggle[aria-expanded="true"] .icoon-open { display: none; }
  .header .kop .nav-toggle[aria-expanded="true"] .icoon-dicht { display: block; }
  .kop__logo { justify-self: center; }
  .kop__logo img { width: 120px; }
  .kop__knop { justify-self: end; min-height: 44px; padding: 0 18px; }
  .kop__nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; justify-self: stretch;
    background: var(--creme); border-bottom: 1px solid rgba(201, 154, 59, 0.3);
    box-shadow: 0 18px 32px rgba(48, 35, 31, 0.12); padding: 4px var(--gutter) 16px;
  }
  .kop__nav.is-open { display: block; }
  .kop__nav ul { flex-direction: column; gap: 0; max-width: var(--max); margin: 0 auto; }
  .kop__nav a { display: block; padding: 16px 0; font-size: 19px; border-bottom: 1px solid var(--perkament); }
  .kop__nav li:last-child a { border-bottom: 0; }
  .kop__nav a::after { display: none; }
}
@media (min-width: 1024px) {
  /* Menu precies in het midden van de pagina, logo en knop tegen de randen */
  .header .wrap.kop { grid-template-columns: 1fr auto 1fr; }
  .kop__logo { justify-self: start; }
  .kop__knop { justify-self: end; }
}
@media (max-width: 1023px) {
  /* Gelijke ruimte: menu – ruimte – logo – ruimte – Boeken */
  .header .wrap.kop { display: flex; justify-content: space-between; align-items: center; }
  .header .kop .nav-toggle {
    margin-left: 0; width: 44px; height: 44px;
    border: 1px solid rgba(201, 154, 59, 0.55); border-radius: var(--radius-knop); background: var(--wit);
  }
  .header .kop .nav-toggle svg { width: 24px; height: 24px; }
}

/* ==========================================================================
   Telefoon: korter scrollen
   ========================================================================== */
.schuif-stippen { display: none; }

@media (max-width: 760px) {
  :root { --sectie: 40px; }
  .sectie-kop { margin-bottom: 20px; }
  .sectie-kop p { font-size: 16px; margin-bottom: 0; }
  .sier { margin-bottom: 8px; }

  /* Veegrijen: kaarten, foto's en ervaringen */
  [data-schuif] {
    display: flex !important; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-left: var(--gutter); -webkit-overflow-scrolling: touch;
    margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter) 6px; scrollbar-width: none;
    list-style: none;
  }
  [data-schuif]::-webkit-scrollbar { display: none; }
  [data-schuif] > * { flex: 0 0 84%; scroll-snap-align: start; margin: 0; }
  [data-schuif]::after { content: ""; flex: 0 0 1px; }
  .reviews[data-schuif] > * { flex-basis: 80%; }
  .galerij[data-schuif] > li { flex-basis: 78%; height: 300px; grid-row: auto; grid-column: auto; }
  .galerij[data-schuif] figcaption { display: block; }
  .kaart--foto .kaart__foto { aspect-ratio: 16 / 9; }
  .kaart--foto p { font-size: 16px; }
  .kaart dl { margin: 4px 0 16px; }

  .schuif-stippen { display: flex; justify-content: center; gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; }
  .schuif-stippen button {
    width: 28px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center;
  }
  .schuif-stippen button::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #D9C9AE; transition: width var(--overgang), background var(--overgang); }
  .schuif-stippen button[aria-current="true"]::before { width: 22px; border-radius: 4px; background: var(--rood); }

  /* Pluspunten in een 2×2-raster */
  .pluspunten { grid-template-columns: 1fr 1fr; gap: 20px 16px; }
  .pluspunten svg { width: 30px; height: 30px; margin-bottom: 8px; }
  .pluspunten h3 { font-size: 19px; margin-bottom: 4px; }
  .pluspunten p { font-size: 14.5px; line-height: 1.5; }

  /* Stappen: nummer naast de tekst */
  .stappen { gap: 20px; }
  .stappen li { padding: 0 0 0 60px; min-height: 44px; }
  .stappen li::before { width: 44px; height: 44px; font-size: 22px; }
  .stappen h3 { font-size: 21px; margin-bottom: 4px; }
  .stappen p { font-size: 15.5px; }

  /* Plaatsen als knopjes naast elkaar */
  .gemeenten { display: flex; flex-wrap: wrap; gap: 8px; }
  .gemeenten li { margin: 0; }
  .gemeenten a { padding: 8px 14px; min-height: 44px; border-radius: 999px; gap: 8px; font-size: 15px; }
  .gemeenten a span { font-size: 12.5px; }
  .provincie + .provincie { margin-top: 28px; }
  .dorpen { columns: auto; display: flex; flex-wrap: wrap; gap: 6px; }
  .dorpen li { border: 1px solid rgba(201, 154, 59, 0.35); border-radius: 999px; background: var(--wit); padding: 6px 12px; font-size: 14px; }

  .cta-band { padding: 28px 20px; margin-top: 32px; }
  .hero { padding-bottom: 32px; }

  /* Compacte footer */
  .footer { padding: 36px 0 24px; }
  .footer .wrap { gap: 20px; }
  .footer h2 { font-size: 22px; margin-bottom: 6px; }
  .footer ul { display: flex; flex-wrap: wrap; gap: 4px 16px; }
  .footer li { margin: 0; }
  .footer li a { display: inline-block; padding: 8px 0; }
  .footer .footer__social { margin-top: 12px; }
  .footer .sier { display: none; }
}
