/* Hometale — style.css
   Brand-tokens 1-op-1 uit WEBSITE_PLAN.md §L / BRANDBOOK.md §B (niet interpreteren, exact overnemen).
   Fonts: Fraunces (koppen) + Nunito Sans (body) — Google Fonts, zie base.njk <head>.
*/

:root {
  /* Boek — navy/goud */
  --nachtnavy: #16264d;
  --navy-panel: #0f142e;
  --navy-diep: #050812;
  --navy-licht: #1a1f38;
  --wekster-goud: #f2c733;
  --goud-warm: #e6b82e;
  --gem-blauw: #4db3ff;
  --reizigersblauw: #2e4fa3;

  /* Perkament */
  --parchment: #fef7e4; /* bijgewerkt ronde 8/9, WEBSITE_PLAN.md */
  --parchment-rij: #ebdebd;
  --inkt: #2e2112;
  --boekband-bruin: #4d381f;
  --bruin-mid: #73592e;

  /* Sfeer-accenten mysterie */
  --grot-teal: #3e8e8e;
  --lila: #b38cf2;
  --slaap-zilver: #c9cdd3;

  /* Wereld/golden-hour (placeholder-art) */
  --amber: #f0a458;
  --avondlucht-roze: #f2b8a0;
  --lush-green: #6fa84e;
  --baksteen: #b5674c;
  --kanaal-blauw: #4d8fdb;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Nunito Sans", "Segoe UI", system-ui, sans-serif;

  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --container-max: 1200px;
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 64px;
  --space-7: 96px;

  --page-bg: var(--parchment);
  --page-text: var(--inkt);
}

/* -------- Reset -------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--page-bg);
  color: var(--page-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 var(--space-2) 0;
}

h1 { font-size: clamp(36px, 7vw, 56px); }
h2 { font-size: clamp(28px, 4.5vw, 36px); }
h3 { font-size: 24px; line-height: 1.3; }

p { margin: 0 0 var(--space-2) 0; }

a { color: var(--reizigersblauw); text-decoration-thickness: 1.5px; }
a:hover { text-decoration-thickness: 2px; }

img { max-width: 100%; display: block; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 200;
  background: var(--wekster-goud); color: var(--inkt);
  padding: 10px 18px; border-radius: var(--radius-sm); font-weight: 700;
  transition: top 150ms ease-out;
}
.skip-link:focus { top: 8px; }

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

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-2);
}

section { padding: var(--space-6) 0; }
@media (min-width: 900px) { section { padding: var(--space-7) 0; } }

.section-dark {
  background: var(--nachtnavy);
  color: var(--parchment);
}
.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--parchment); }
.section-dark a { color: var(--wekster-goud); }

.section-mystery {
  background: linear-gradient(180deg, var(--navy-diep) 0%, var(--nachtnavy) 60%);
  color: var(--parchment);
  position: relative;
}

/* -------- Buttons -------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 200ms ease-out, box-shadow 200ms ease-out, background 200ms ease-out;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--wekster-goud);
  color: var(--inkt);
  box-shadow: 0 2px 0 rgba(0,0,0,0.05);
}
.btn-primary:hover, .btn-primary:focus-visible {
  background: var(--goud-warm);
  box-shadow: 0 0 0 4px rgba(242, 199, 51, 0.35);
}
.btn-primary:active { transform: scale(0.97); }

.btn-secondary {
  background: transparent;
  color: var(--parchment);
  border-color: var(--wekster-goud);
}
.btn-secondary:hover, .btn-secondary:focus-visible {
  background: rgba(242, 199, 51, 0.12);
}

.btn-secondary-light {
  background: transparent;
  color: var(--inkt);
  border-color: var(--boekband-bruin);
}
.btn-secondary-light:hover { background: rgba(77, 56, 31, 0.08); }

/* Ster-pulse — de signatuur-animatie (BRANDBOOK §I3) */
@keyframes ster-pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.06); }
  100% { transform: scale(1); }
}
.ster-pulse { animation: ster-pulse 900ms ease-in-out; }
.icon-star { color: var(--wekster-goud); }

/* -------- Header -------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: background 200ms ease-out, box-shadow 200ms ease-out, padding 200ms ease-out;
}
.site-header.is-solid {
  background: var(--parchment);
  box-shadow: 0 2px 12px rgba(22, 38, 77, 0.12);
  padding: 10px 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
}
.brand-lockup {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
}
.header-on-photo .brand-lockup,
.header-on-photo .nav-menu a,
.header-on-photo .lang-switch { color: #fff; }
.site-header.is-solid .brand-lockup,
.site-header.is-solid .nav-menu a,
.site-header.is-solid .lang-switch { color: var(--inkt); }

.nav-menu {
  display: none;
  gap: var(--space-3);
  list-style: none;
  margin: 0; padding: 0;
}
.nav-menu a {
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
}
.nav-menu a.is-active,
.nav-menu a:hover { border-bottom-color: var(--wekster-goud); }

@media (min-width: 900px) {
  .nav-menu { display: flex; }
}

.header-actions { display: flex; align-items: center; gap: var(--space-2); }
.lang-switch {
  font-size: 13px; font-weight: 700; text-decoration: none;
  border: 1.5px solid currentColor; border-radius: 999px; padding: 4px 10px;
}

.mobile-only-label { display: none; }
@media (max-width: 480px) {
  .desktop-only-label { display: none; }
  .mobile-only-label { display: inline !important; }
}

.hamburger {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: var(--radius-sm);
  border: 1.5px solid currentColor; background: transparent; color: inherit; cursor: pointer;
}
@media (min-width: 900px) { .hamburger { display: none; } }

.mobile-panel {
  display: none;
  position: fixed; inset: 0; z-index: 99;
  background: var(--parchment);
  padding: 100px var(--space-2) var(--space-3);
}
.mobile-panel.is-open { display: block; }
.mobile-panel ul { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-2); }
.mobile-panel a {
  display: block; font-family: var(--font-display); font-size: 24px; font-weight: 600;
  color: var(--inkt); text-decoration: none;
}

/* -------- Hero -------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
  background: var(--nachtnavy);
}
.hero-media {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero-media svg, .hero-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-scrim-v {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(5,8,18,0.94) 0%, rgba(5,8,18,0.55) 35%, rgba(5,8,18,0.05) 65%);
  z-index: 1;
}
.hero-scrim-h {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(5,8,18,0.55) 0%, rgba(5,8,18,0) 60%);
  z-index: 1;
}
.hero-content {
  position: relative; z-index: 2;
  width: 100%;
  padding-bottom: clamp(220px, 22vw, 300px);
}
@media (max-width: 919px) {
  .hero-content { padding-bottom: clamp(310px, 34vh, 370px); }
}
@media (max-width: 340px) {
  .hero-content { padding-bottom: clamp(320px, 36vh, 380px); }
}
.hero-content h1 { font-size: clamp(36px, 6vw, 64px); max-width: 16ch; }
.hero-sub { font-size: clamp(17px, 2vw, 20px); max-width: 46ch; margin-bottom: var(--space-3); }
.hero-cta-row { display: flex; flex-wrap: wrap; gap: var(--space-2); align-items: center; margin-bottom: var(--space-3); }
.hero-microcopy { font-size: 14px; opacity: 0.9; margin-bottom: var(--space-3); }

.hero-usps {
  display: flex; flex-wrap: wrap; gap: 14px 20px;
  list-style: none; padding: 0; margin: 0;
}
@media (max-width: 480px) { .hero-usps { max-width: 300px; } }
@media (max-width: 340px) { .hero-usps { max-width: 180px; } }
.hero-usp {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 700;
}
.hero-usp .icon-badge {
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,0.14); border: 1.5px solid rgba(242,199,51,0.6);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

/* Golf-overgang: 3-laags SVG (WEBSITE_PLAN.md ronde 7-12) */
.hero-wave { position: absolute; left: 0; right: 0; bottom: -2px; z-index: 3; line-height: 0; }
.hero-wave svg { width: 100%; height: auto; display: block; }

/* -------- Cards / grids -------- */
.grid-3 { display: grid; gap: var(--space-3); grid-template-columns: 1fr; }
@media (min-width: 760px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.grid-2 { display: grid; gap: var(--space-4); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 760px) { .grid-2 { grid-template-columns: 1fr 1fr; } }

.card {
  background: #fff8ea;
  border: 1.5px solid var(--parchment-rij);
  border-radius: var(--radius-md);
  padding: var(--space-3);
}
.card h3 { margin-top: 0; }
.card-icon {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--nachtnavy); color: var(--wekster-goud);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--space-2);
}

.eyebrow {
  display: inline-block; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  font-size: 12px; color: var(--reizigersblauw); margin-bottom: 8px;
}
.section-dark .eyebrow, .section-mystery .eyebrow { color: var(--wekster-goud); }

.center { text-align: center; }
.lede { font-size: 19px; max-width: 60ch; margin-left: auto; margin-right: auto; }

/* -------- Place search widget (E2) -------- */
.place-search {
  background: #fff8ea;
  border: 1.5px solid var(--boekband-bruin);
  border-radius: var(--radius-lg);
  padding: var(--space-3);
  max-width: 640px;
}
.place-search-form { display: flex; gap: 10px; flex-wrap: wrap; }
.place-search-input {
  flex: 1 1 240px;
  min-height: 48px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--boekband-bruin);
  padding: 0 16px;
  font-size: 16px;
  font-family: var(--font-body);
  background: #fff;
  color: var(--inkt);
}
.place-search-input:focus-visible { outline: 3px solid var(--reizigersblauw); }
.place-search-results {
  margin-top: var(--space-2);
  list-style: none; padding: 0;
  display: none;
  border: 1.5px solid var(--parchment-rij);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #fff;
}
.place-search-results.is-open { display: block; }
.place-search-results li { border-bottom: 1px solid var(--parchment-rij); }
.place-search-results li:last-child { border-bottom: none; }
.place-search-results button {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 12px 16px; font-size: 15px; font-family: var(--font-body); color: var(--inkt);
}
.place-search-results button:hover, .place-search-results button:focus-visible {
  background: var(--parchment);
}
.place-search-status { margin-top: var(--space-2); font-size: 15px; }
.place-search-status strong { color: var(--reizigersblauw); }
.place-search-status.status-hit { color: #1c6e2d; }

/* -------- Waitlist form (E3) -------- */
.waitlist-panel {
  background: #fff8ea;
  border: 1.5px solid var(--boekband-bruin);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  max-width: 560px;
  margin: 0 auto;
}
.waitlist-form { display: flex; flex-direction: column; gap: var(--space-2); }
.waitlist-form label { font-weight: 700; }
.waitlist-form input[type="email"] {
  min-height: 48px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--boekband-bruin);
  padding: 0 16px;
  font-size: 16px;
  font-family: var(--font-body);
}
.waitlist-form .honeypot { position: absolute; left: -9999px; }
.waitlist-microcopy { font-size: 13px; color: var(--bruin-mid); }
.waitlist-status { font-weight: 700; min-height: 24px; }
.waitlist-status[data-state="success"] { color: #1c6e2d; }
.waitlist-status[data-state="error"] { color: #a3341f; }
.waitlist-counter {
  display: none;
  font-size: 14px; font-weight: 700; color: var(--reizigersblauw);
  margin-bottom: var(--space-2);
}
.waitlist-counter.is-visible { display: block; }

/* -------- Footer -------- */
.site-footer {
  background: var(--nachtnavy);
  color: var(--parchment);
  padding: var(--space-6) 0 var(--space-3);
}
.footer-grid {
  display: grid; gap: var(--space-4);
  grid-template-columns: 1fr;
}
@media (min-width: 760px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
.footer-grid h4 { color: var(--wekster-goud); font-family: var(--font-body); font-size: 14px; text-transform: uppercase; letter-spacing: 0.05em; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-grid a { color: var(--parchment); }
.footer-bottom {
  margin-top: var(--space-5);
  padding-top: var(--space-3);
  border-top: 1px solid rgba(247, 237, 209, 0.15);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-2);
  font-size: 13px; color: var(--slaap-zilver);
}

/* -------- Place page -------- */
.place-hero {
  background: var(--nachtnavy);
  color: var(--parchment);
  padding-top: 140px;
  padding-bottom: var(--space-5);
}
.place-hero-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/9;
  margin-bottom: var(--space-3);
}
.place-stats { display: flex; gap: var(--space-3); flex-wrap: wrap; margin: var(--space-2) 0; }
.place-stat { font-weight: 800; }
.place-stat span { display: block; font-weight: 400; font-size: 13px; color: var(--slaap-zilver); }

.poi-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-2); }
.poi-item {
  background: #fff8ea;
  border: 1.5px solid var(--parchment-rij);
  border-radius: var(--radius-md);
  padding: var(--space-2) var(--space-3);
}
.poi-item h3 { font-size: 18px; margin-bottom: 4px; }

.quest-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.quest-item {
  display: flex; gap: 12px; align-items: flex-start;
  background: #fff8ea; border: 1.5px solid var(--parchment-rij);
  border-radius: var(--radius-sm); padding: 12px 16px;
}
.quest-item .quest-mark {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;
  background: var(--nachtnavy); color: var(--wekster-goud);
  display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 800;
}

.geo-blurb {
  font-size: 14px; color: var(--bruin-mid);
  border-top: 1px solid var(--parchment-rij);
  padding-top: var(--space-2);
  margin-top: var(--space-4);
}
.section-dark .geo-blurb { color: var(--slaap-zilver); border-top-color: rgba(247,237,209,0.15); }

.breadcrumbs { font-size: 13px; margin-bottom: var(--space-2); }
.breadcrumbs a { color: inherit; opacity: 0.85; }
.breadcrumbs .sep { margin: 0 6px; opacity: 0.6; }

/* -------- Utility -------- */
.mt-0 { margin-top: 0; }
.stack { display: grid; gap: var(--space-2); }
.badge-row { display: flex; gap: var(--space-2); flex-wrap: wrap; }
.small-print { font-size: 13px; color: var(--bruin-mid); }
.section-dark .small-print { color: var(--slaap-zilver); }

table.privacy-table { width: 100%; border-collapse: collapse; margin: var(--space-2) 0; }
table.privacy-table th, table.privacy-table td {
  text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--parchment-rij); font-size: 15px;
}

/* Noot dark-mode (BRANDBOOK §B6/§O5, WEBSITE_PLAN.md §M1-punt 2): een site-brede
   prefers-color-scheme-omkering is bewust NIET gebouwd — de kaarten/panelen op parchment
   (#fff8ea) zouden dan zonder eigen dark-variant onleesbaar worden, en dat is niet zonder
   live-preview te verifiëren. De "donkere variant" die §L vraagt bestaat al structureel:
   hero/mysterie-blok/voor-ouders/footer zijn bewust Nachtnavy-secties met parchment-tekst
   (12,7:1 contrast) binnen een verder lichte pagina — precies de lezing die M1 al opperde
   vóórdat een toggle werd voorgesteld. Een volledige site-brede dark-mode-toggle is een
   apart, bewust vervolgpunt (zie DEVLOG), geen halve/ongeteste implementatie hier.
*/
