/* Jonckershof v4 "Getijde" — zie DESIGN.md */

/* PP Mori (Pangram Pangram): meegeleverd in fonts/, eerst de lokaal geïnstalleerde versie */
@font-face { font-family: "PP Mori"; src: local("PP Mori Regular"), local("PPMori-Regular"), url("fonts/PPMori-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "PP Mori"; src: local("PP Mori SemiBold"), local("PPMori-SemiBold"), url("fonts/PPMori-SemiBold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  /* Kleur */
  --noordzee: #1E3A4C;
  --noordzee-2: #2D5167;
  --nevel: #D6DFE2;
  --zand: #E7DDCC;
  --zand-licht: #F3EEE6;
  --zon: #E9BF52;
  --zon-2: #F2D27F;
  --inkt: #172630;
  --wit: #FBFAF6;
  --muted: color-mix(in srgb, var(--inkt) 64%, var(--zand-licht));
  --line: color-mix(in srgb, var(--inkt) 14%, transparent);
  --line-dark: color-mix(in srgb, var(--wit) 18%, transparent);
  --error: #A3321F;

  /* Type */
  --font: "PP Mori", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --fs-display: 120px; --lh-display: 120px;
  --fs-h2: 72px;       --lh-h2: 76px;
  --fs-h3: 40px;       --lh-h3: 48px;
  --fs-h4: 24px;       --lh-h4: 32px;
  --fs-body: 18px;     --lh-body: 28px;
  --fs-small: 14px;    --lh-small: 20px;

  /* Ruimte (8pt) */
  --s-1: 8px; --s-2: 16px; --s-3: 24px; --s-4: 32px; --s-6: 48px;
  --s-8: 64px; --s-12: 96px; --s-16: 128px; --s-20: 160px;
  --section: var(--s-20);

  /* Grid */
  --cols: 12; --margin: 64px; --gutter: 32px; --max: 1440px;

  /* Vorm */
  --radius: 8px; --radius-xs: 4px;
  --btn: 56px; --btn-sm: 48px;
  --header: 96px;
  --utility: 40px;
  --overlap: 192px;   /* horizonfoto schuift over de blauwe bungalowsectie */

  /* Motion */
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-hover: cubic-bezier(.33, 1, .68, 1);
}

@media (max-width: 1199px) {
  :root {
    --fs-display: 80px; --lh-display: 80px;
    --fs-h2: 56px; --lh-h2: 60px;
    --fs-h3: 32px; --lh-h3: 40px;
    --margin: 32px; --gutter: 24px;
    --section: var(--s-16);
    --header: 80px;
    --overlap: 128px;
  }
}
@media (max-width: 767px) {
  :root {
    --fs-display: 48px; --lh-display: 52px;
    --fs-h2: 36px; --lh-h2: 40px;
    --fs-h3: 28px; --lh-h3: 36px;
    --fs-h4: 20px; --lh-h4: 28px;
    --fs-body: 16px; --lh-body: 24px;
    --cols: 4; --margin: 16px; --gutter: 16px;
    --section: var(--s-12);
    --header: 72px;
    --overlap: 80px;
  }
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--zand-licht); color: var(--inkt);
  font: 400 var(--fs-body)/var(--lh-body) var(--font);
  letter-spacing: 0; hyphens: none; -webkit-hyphens: none;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { font-weight: 400; text-wrap: balance; }
p { text-wrap: pretty; }
a { color: inherit; }
button { font: inherit; color: inherit; }
b { font-weight: 600; }
::selection { background: var(--zon); color: var(--inkt); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; border-radius: var(--radius-xs); }

.nb { white-space: nowrap; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: var(--s-2); top: var(--s-2); z-index: 100; padding: var(--s-1) var(--s-2); background: var(--wit); border-radius: var(--radius); transform: translateY(-200%); }
.skip:focus { transform: none; }

.display { font-size: var(--fs-display); line-height: var(--lh-display); }
.h2 { font-size: var(--fs-h2); line-height: var(--lh-h2); }
.h3 { font-size: var(--fs-h3); line-height: var(--lh-h3); }

/* ---------- Grid ---------- */
.grid {
  display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
  column-gap: var(--gutter); width: 100%; max-width: var(--max);
  margin-inline: auto; padding-inline: var(--margin);
}
.grid-overlay { position: fixed; inset: 0; z-index: 90; pointer-events: none; display: none;
  background: repeating-linear-gradient(to bottom, rgb(255 0 80 / .10) 0 1px, transparent 1px 8px); }
.grid-overlay .grid { height: 100%; }
.grid-overlay span { background: rgb(255 0 80 / .08); }
.show-grid .grid-overlay { display: block; }
@media (max-width: 767px) { .grid-overlay span:nth-child(n+5) { display: none; } .grid-overlay .grid > span { grid-column: auto !important; } }

/* ---------- Media ---------- */
.media { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--noordzee); }
.media img { width: 100%; height: 100%; object-fit: cover; }
[data-parallax] img { position: absolute; left: 0; top: -10%; width: 100%; height: 120%; }

/* ---------- Iconen (icons.svg) ---------- */
.i { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: butt; stroke-linejoin: miter; stroke-miterlimit: 4; }
.dot { fill: currentColor; stroke: none; }
.ko { fill: none; stroke: var(--icon-bg, var(--zand-licht)); stroke-width: 4.5; stroke-linecap: butt; }

/* ---------- Knoppen ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center;
  height: var(--btn); padding: 0 var(--s-3); border: 0; border-radius: var(--radius);
  font: 600 var(--fs-small)/var(--lh-small) var(--font); font-size: 16px; line-height: 24px;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  --fill: var(--zon-2); --fg: currentColor;
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--fill); transform: translateY(101%); transition: transform .45s var(--ease); }
.btn-roll { position: relative; display: block; overflow: hidden; height: 24px; color: transparent; }
.btn-roll::before, .btn-roll::after { content: attr(data-text); position: absolute; left: 0; top: 0; color: var(--fg); transition: transform .5s var(--ease); }
.btn-roll::after { top: 100%; }
@media (hover: hover) {
  .btn:hover::before { transform: none; }
  .btn:hover .btn-roll::before, .btn:hover .btn-roll::after { transform: translateY(-100%); }
}
.btn:active { transform: translateY(1px); }
.btn-sm { height: var(--btn-sm); padding: 0 var(--s-3); }
.btn-primary { background: var(--zon); color: var(--inkt); --fg: var(--inkt); }
.btn-dark { background: var(--noordzee); color: var(--wit); --fg: var(--wit); --fill: var(--noordzee-2); }
.btn-light { background: var(--wit); color: var(--inkt); --fg: var(--inkt); --fill: var(--zon); }
.btn-ghost { background: transparent; color: var(--wit); --fg: var(--wit); box-shadow: inset 0 0 0 1px var(--line-dark); --fill: var(--noordzee-2); }
.btn:focus-visible { outline: 2px solid var(--inkt); outline-offset: 3px; }
.on-dark .btn:focus-visible, .site-footer .btn:focus-visible, .bungalows .btn:focus-visible { outline-color: var(--wit); }

.link { position: relative; display: inline-block; padding: var(--s-1) 0; font-size: 16px; line-height: 24px; font-weight: 400; text-decoration: none; }
.link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: currentColor; transform-origin: right; }
@media (hover: hover) { .link:hover::after { animation: line-redraw .9s var(--ease); } }
@keyframes line-redraw {
  0% { transform: scaleX(1); transform-origin: right; }
  45% { transform: scaleX(0); transform-origin: right; }
  46% { transform: scaleX(0); transform-origin: left; }
  100% { transform: scaleX(1); transform-origin: left; }
}

.round { width: 56px; height: 56px; display: grid; place-items: center; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); background: transparent; cursor: pointer; transition: background-color .25s var(--ease-hover), border-color .25s var(--ease-hover); }
.round:hover { background: var(--wit); border-color: transparent; }
.round svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: butt; stroke-linejoin: miter; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; color: var(--wit); transition: transform .5s var(--ease), background-color .4s var(--ease-hover), color .4s var(--ease-hover); }
.site-header::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: var(--line); opacity: 0; transition: opacity .4s; }
.site-header.is-solid { background: var(--zand-licht); color: var(--inkt); }
.site-header.is-solid::after { opacity: 1; }
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { height: var(--header); align-items: center; }
.utility { position: relative; }
.utility::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: currentColor; opacity: .18; }
.utility-inner { height: var(--utility); align-items: center; }
.utility-nav { grid-column: 1 / -1; justify-self: end; display: flex; align-items: center; gap: var(--s-4); font-size: var(--fs-small); line-height: var(--lh-small); }
.langs { display: flex; gap: var(--s-2); }
.utility-nav a { position: relative; display: block; padding: 10px 0; text-decoration: none; opacity: .72; transition: opacity .25s var(--ease-hover); }
.utility-nav a:hover, .utility-nav a[aria-current] { opacity: 1; }
.utility-nav a[aria-current]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 1px; background: currentColor; }
.utility-link { padding-left: var(--s-4) !important; border-left: 1px solid color-mix(in srgb, currentColor 18%, transparent); }
.logo { grid-column: 1 / 4; justify-self: start; display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-mark { height: 40px; width: auto; aspect-ratio: 395 / 425; flex: none; }
.logo-word { font-size: 24px; line-height: 32px; font-weight: 400; }
.nav { grid-column: 4 / 10; justify-self: center; }
.nav ul { display: flex; gap: var(--s-4); }
.nav a { position: relative; display: block; padding: var(--s-1) 0; font-size: 16px; line-height: 24px; text-decoration: none; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.header-end { grid-column: 10 / 13; justify-self: end; display: flex; align-items: center; gap: var(--s-3); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: var(--wit); background: var(--noordzee); overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgb(23 38 48 / .38) 0, rgb(23 38 48 / 0) 24%, rgb(23 38 48 / 0) 40%, rgb(23 38 48 / .62) 100%); }
.hero-inner { position: relative; padding-top: calc(var(--header) + var(--utility) + var(--s-8)); padding-bottom: var(--s-8); row-gap: var(--s-3); align-items: end; }
.hero-title { grid-column: 1 / 10; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: 8px; margin-bottom: -8px; }
.hero-title .line > span { display: block; }
.hero-sub { grid-column: 1 / 6; font-size: var(--fs-h4); line-height: var(--lh-h4); max-width: 30ch; margin-bottom: var(--s-4); }

/* Boekbalk */
.search { grid-column: 1 / 10; position: relative; display: flex; align-items: stretch; padding: var(--s-1); gap: 0; background: var(--wit); color: var(--inkt); border-radius: var(--radius); flex-wrap: wrap; }
.field { position: relative; flex: 1 1 160px; display: flex; flex-direction: column; justify-content: center; min-height: 64px; padding: var(--s-1) var(--s-3); border-radius: var(--radius-xs); transition: background-color .25s var(--ease-hover); }
.field + .field::before { content: ""; position: absolute; left: 0; top: var(--s-2); bottom: var(--s-2); width: 1px; background: var(--line); }
.field-sm { flex: 0 1 136px; }
.field label { font-size: var(--fs-small); line-height: var(--lh-small); color: var(--muted); }
.field input, .field select { width: 100%; height: 24px; padding: 0; margin: 0; border: 0; background: transparent; font: 600 16px/24px var(--font); color: var(--inkt); appearance: none; -webkit-appearance: none; }
.field select { cursor: pointer; }
.field:hover { background: var(--zand-licht); }
.field:focus-within, .field.is-active { background: var(--zand-licht); box-shadow: inset 0 0 0 1px var(--noordzee); }
.field:focus-within::before, .field.is-active::before, .field:hover::before, .field:hover + .field::before, .field:focus-within + .field::before, .field.is-active + .field::before { opacity: 0; }
.field input:focus, .field select:focus, .field-btn:focus-visible { outline: none; }
.field-btn { display: flex; align-items: center; justify-content: space-between; gap: var(--s-1); width: 100%; height: 24px; padding: 0; border: 0; background: none; font: 600 16px/24px var(--font); color: var(--inkt); text-align: left; cursor: pointer; }
.field-btn::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.field-value { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.field-value.is-empty { color: var(--muted); font-weight: 400; }
.field-caret { width: 16px; height: 16px; flex: none; rotate: 90deg; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: butt; stroke-linejoin: miter; }
.search-btn { height: 64px; padding: 0 var(--s-4); margin-left: var(--s-1); }
.field-error { flex-basis: 100%; padding: var(--s-1) var(--s-3) 0; color: var(--error); font-size: var(--fs-small); line-height: var(--lh-small); font-weight: 600; }

/* Kalender en keuzelijst (booking.js) */
.cal, .pick { position: fixed; inset: auto; margin: 0; border: 0; background: var(--wit); color: var(--inkt); box-shadow: 0 24px 64px rgb(23 38 48 / .18); }
.cal { padding: var(--s-4); border-radius: var(--radius); width: max-content; max-width: calc(100vw - var(--s-4)); font-size: 16px; line-height: 24px; }
.cal-top { display: flex; align-items: center; justify-content: space-between; gap: var(--s-2); margin-bottom: var(--s-3); }
.cal-hint { color: var(--muted); text-align: center; }
.cal-nav { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: var(--radius); background: none; color: var(--inkt); cursor: pointer; transition: background-color .2s var(--ease-hover); }
.cal-nav:hover:not(:disabled) { background: var(--zand-licht); }
.cal-nav:disabled { opacity: .3; cursor: default; }
.cal-nav svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: butt; stroke-linejoin: miter; }
.cal-months { display: flex; gap: var(--s-6); }
.cal-month { width: 280px; }
.cal-title { font-size: 20px; line-height: 28px; margin-bottom: var(--s-2); }
.cal-title::first-letter { text-transform: uppercase; }
.cal-week, .cal-grid { display: grid; grid-template-columns: repeat(7, 40px); }
.cal-week span { height: 32px; display: grid; place-items: center; font-size: var(--fs-small); color: var(--muted); }
.cal-grid { row-gap: 4px; }
.cal-day { width: 40px; height: 40px; padding: 0; border: 0; border-radius: var(--radius-xs); background: none; font: 400 16px/24px var(--font); color: var(--inkt); cursor: pointer; transition: background-color .15s var(--ease-hover); }
.cal-day:hover:not(:disabled) { background: var(--zand); }
.cal-day:focus-visible, .cal-nav:focus-visible, .pick-item:focus-visible { outline: 2px solid var(--noordzee); outline-offset: 2px; }
.cal-day:disabled { color: color-mix(in srgb, var(--inkt) 25%, var(--wit)); cursor: default; }
.cal-day.is-today { box-shadow: inset 0 0 0 1px var(--noordzee); }
.cal-day.in-range { background: var(--nevel); border-radius: 0; }
.cal-day.is-preview { background: var(--nevel); border-radius: 0 var(--radius-xs) var(--radius-xs) 0; }
.cal-day.is-start, .cal-day.is-end { background: var(--noordzee); color: var(--wit); font-weight: 600; border-radius: var(--radius-xs); box-shadow: none; }
.cal-day.is-start.has-range { border-radius: var(--radius-xs) 0 0 var(--radius-xs); }
.cal-day.is-end { border-radius: 0 var(--radius-xs) var(--radius-xs) 0; }
.cal-foot { display: flex; align-items: center; justify-content: space-between; gap: var(--s-2); margin-top: var(--s-3); padding-top: var(--s-3); border-top: 1px solid var(--line); }
.cal-clear { border: 0; background: none; padding: 0; font: 600 16px/24px var(--font); color: var(--inkt); cursor: pointer; }
.cal-done { height: var(--btn-sm); background: var(--noordzee); color: var(--wit); --fill: var(--noordzee-2); }
.cal-done:hover { background: var(--noordzee-2); }
.pick { padding: var(--s-1); border-radius: var(--radius); min-width: 136px; }
.pick:popover-open { display: grid; }
.pick-item { height: 48px; padding: 0 var(--s-2); border: 0; border-radius: var(--radius-xs); background: none; font: 400 16px/24px var(--font); color: var(--inkt); text-align: left; white-space: nowrap; cursor: pointer; }
.pick-item:hover { background: var(--zand-licht); }
.pick-item[aria-selected="true"] { background: var(--noordzee); color: var(--wit); }

/* Weer */
.weather { grid-column: 11 / 13; align-self: end; font-size: var(--fs-small); line-height: var(--lh-small); }
.weather > p { padding-bottom: var(--s-1); margin-bottom: var(--s-1); border-bottom: 1px solid var(--line-dark); }
.weather dl > div { display: flex; justify-content: space-between; padding: 4px 0; }
.weather dt { opacity: .8; }
.weather dd { font-variant-numeric: tabular-nums; }

/* ---------- Intro ---------- */
.intro { padding-top: var(--section); }
.intro .grid { row-gap: var(--s-12); }
.intro-statement { grid-column: 1 / 10; }
.facts { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); column-gap: var(--gutter); padding-top: var(--s-6); border-top: 1px solid var(--line); }
.facts li { display: flex; flex-direction: column; gap: 4px; }
.facts svg { width: 48px; height: 48px; margin-bottom: var(--s-3); color: var(--noordzee); --icon-bg: var(--zand-licht); }
.facts span { color: var(--muted); font-size: 16px; line-height: 24px; }
.horizon { grid-column: 1 / -1; position: relative; z-index: 1; margin-bottom: calc(var(--overlap) * -1); }
.horizon .media { aspect-ratio: 1312 / 640; }

/* ---------- Kop + tekst-patroon ---------- */
.split-head { grid-column: 1 / 7; }
.side-text { grid-column: 8 / 13; align-self: end; }

/* ---------- Bungalows ---------- */
.bungalows { padding-block: calc(var(--section) + var(--overlap)) var(--section); background: var(--noordzee); color: var(--wit); }
.bungalows .grid { row-gap: 0; }
.bungalows .split-head { margin-bottom: var(--s-12); }
.bungalows .side-text { margin-bottom: var(--s-12); opacity: .82; }
.types { grid-column: 1 / 7; grid-row: 3; align-self: start; counter-reset: t; }
.type { border-top: 1px solid var(--line-dark); }
.type:last-child { border-bottom: 1px solid var(--line-dark); }
.type a { display: grid; gap: var(--s-1); padding: var(--s-4) 0; text-decoration: none; }
.type-name { font-size: var(--fs-h3); line-height: var(--lh-h3); color: color-mix(in srgb, var(--wit) 58%, var(--noordzee)); transition: color .4s var(--ease-hover); }
.type-meta { display: flex; flex-wrap: wrap; gap: 0 var(--s-3); font-size: var(--fs-small); line-height: var(--lh-small); opacity: .7; }
.type.is-active .type-name { color: var(--wit); }
.type a:focus-visible { outline-offset: 0; }
.types-visual { grid-column: 8 / 13; grid-row: 3 / 5; position: relative; }
.types-frame { position: sticky; top: calc(var(--header) + var(--utility) + var(--s-4)); aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); background: var(--noordzee-2); }
.types-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.types-actions { grid-column: 1 / 7; grid-row: 4; padding-top: var(--s-6); }
.type-thumb { display: none; }

/* ---------- Westende ---------- */
.westende { padding-block: var(--section); background: var(--zand); overflow: hidden; }
.westende-head { margin-bottom: var(--s-12); }
.places-wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--margin); }
.places { display: flex; gap: var(--gutter); align-items: flex-start; width: max-content; will-change: transform; }
.place { flex: none; }
.place .media { height: 100%; }
.place-l { width: 656px; } .place-l .media { height: min(480px, 52vh); }
.place-m { width: 432px; margin-top: var(--s-8); } .place-m .media { height: min(560px, 60vh); }
.place-s { width: 320px; margin-top: var(--s-4); } .place-s .media { height: min(400px, 44vh); }
[data-parallax-x] img { width: 120%; max-width: none; margin-left: -10%; }
.place-cap { display: flex; flex-direction: column; padding-top: var(--s-2); }
.place-cap span { color: var(--muted); font-size: 16px; line-height: 24px; }
.westende-foot { margin-top: var(--s-8); }
.westende-foot .link { grid-column: 1 / -1; justify-self: start; }

/* ---------- Reviews ---------- */
.reviews { padding-block: var(--section); }
.reviews-title { grid-column: 2 / 12; font-size: 16px; line-height: 24px; color: var(--muted); margin-bottom: var(--s-4); }
.review-stage { grid-column: 2 / 12; display: grid; }
.review { grid-area: 1 / 1; }
.review[hidden] { display: block; visibility: hidden; }
.review blockquote { max-width: 30ch; font-size: 48px; line-height: 56px; }
.review figcaption { display: flex; gap: var(--s-2); margin-top: var(--s-4); }
.review figcaption span { color: var(--muted); }
.review-nav { grid-column: 2 / 12; display: flex; align-items: center; gap: var(--s-2); margin-top: var(--s-6); }
.review-count { min-width: 64px; text-align: center; font-size: 16px; font-variant-numeric: tabular-nums; color: var(--muted); }
@media (max-width: 1199px) { .review blockquote { font-size: var(--fs-h3); line-height: var(--lh-h3); } }

/* ---------- Te koop ---------- */
.sale { padding-block: var(--section); background: var(--nevel); }
.sale .grid { align-items: center; }
.sale-media { grid-column: 1 / 7; }
.sale-media .media { aspect-ratio: 4 / 5; }
.sale-text { grid-column: 8 / 13; display: grid; gap: var(--s-4); }
.sale-text .actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4); margin-top: var(--s-2); }

/* ---------- Footer ---------- */
.site-footer { background: var(--noordzee); color: var(--wit); padding-top: var(--section); }
.footer-top { row-gap: var(--s-6); padding-bottom: var(--s-12); }
.footer-title { grid-column: 1 / 8; }
.footer-cta { grid-column: 1 / 8; display: flex; flex-wrap: wrap; gap: var(--s-2); }
.team { grid-column: 9 / 13; grid-row: 1 / 3; align-self: end; display: grid; gap: var(--s-2); }
.team-photo { display: flex; align-items: flex-end; justify-content: center; aspect-ratio: 4 / 3; padding-top: var(--s-4); overflow: hidden; border-radius: var(--radius); background: var(--zand); }
.team-photo img { width: 86%; height: auto; }
.team p { display: flex; flex-direction: column; font-size: 16px; line-height: 24px; }
.team span { opacity: .7; }
.footer-links { padding-block: var(--s-8); border-top: 1px solid var(--line-dark); row-gap: var(--s-6); }
.fcol { grid-column: span 3; font-style: normal; font-size: 16px; line-height: 24px; }
.fcol h3 { font-size: var(--fs-small); line-height: var(--lh-small); opacity: .64; margin-bottom: var(--s-2); }
.fcol li + li { margin-top: var(--s-1); }
.fcol p + p { margin-top: var(--s-2); }
.fcol a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--ease); }
.fcol a:hover { background-size: 100% 1px; }
.footer-bottom { align-items: center; padding-block: var(--s-4); border-top: 1px solid var(--line-dark); }
.logo-footer { grid-column: 1 / 5; }
.legal { grid-column: 5 / 12; justify-self: end; display: flex; flex-wrap: wrap; gap: var(--s-3); font-size: var(--fs-small); line-height: var(--lh-small); opacity: .7; }
.legal a { text-decoration: none; }
.legal a:hover { text-decoration: underline; }
.made-by { grid-column: 12 / 13; justify-self: end; display: block; line-height: 0; }
.made-by img { width: 40px; height: auto; filter: invert(1); opacity: .8; transition: opacity .25s var(--ease-hover); }
.made-by:hover img { opacity: 1; }

/* ---------- Tablet ---------- */
@media (max-width: 1199px) {
  .nav ul { gap: var(--s-3); }
  .hero-title { grid-column: 1 / -1; }
  .hero-sub { grid-column: 1 / 9; }
  .search { grid-column: 1 / -1; }
  .weather { display: none; }
  .intro-statement { grid-column: 1 / -1; }
  .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: var(--s-6); }
  .split-head, .side-text { grid-column: 1 / -1; }
  .split-head { margin-bottom: var(--s-4) !important; }
  .side-text { max-width: 60ch; }
  .types { grid-column: 1 / 7; }
  .types-visual { grid-column: 8 / -1; }
  .place-l { width: 560px; } .place-l .media { height: min(400px, 48vh); }
  .place-m { width: 400px; } .place-m .media { height: min(480px, 56vh); }
  .sale-media { grid-column: 1 / -1; margin-bottom: var(--s-6); }
  .sale-media .media { aspect-ratio: 3 / 2; }
  .sale-text { grid-column: 1 / 10; }
  .team { grid-column: 1 / 7; grid-row: auto; }
  .fcol { grid-column: span 6; }
  .review-stage, .reviews-title, .review-nav { grid-column: 1 / -1; }
}

/* ---------- Mobiel ---------- */
@media (max-width: 899px) {
  .nav { display: none; }
  .logo { grid-column: 1 / 3; }
  .header-end { grid-column: 3 / -1; }
}
@media (max-width: 767px) {
  .grid > * { grid-column: 1 / -1 !important; }
  .logo { grid-column: 1 / 3 !important; }
  .header-end { grid-column: 3 / -1 !important; }
  .logo-word { font-size: 20px; line-height: 28px; }
  .hero-inner { padding-bottom: var(--s-2); }
  .hero-sub { margin-bottom: var(--s-2); }
  .search { flex-direction: column; padding: var(--s-1); }
  .field { flex: none; min-height: 64px; }
  .field + .field::before { left: var(--s-3); right: var(--s-3); top: 0; bottom: auto; width: auto; height: 1px; }
  .field-sm { flex: none; }
  .search-btn { margin: var(--s-1) 0 0; width: 100%; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--s-4); }
  .facts svg { width: 40px; height: 40px; margin-bottom: var(--s-2); }
  .horizon .media { aspect-ratio: 4 / 3; }
  .types-visual { display: none; }
  .types { grid-row: auto; }
  .types-actions { grid-row: auto; }
  .type a { grid-template-columns: 1fr 96px; align-items: center; column-gap: var(--s-2); }
  .type-name { color: var(--wit); }
  .type-thumb { display: block; grid-column: 2; grid-row: 1 / 3; width: 96px; height: 96px; object-fit: cover; border-radius: var(--radius); }
  .places-wrap { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .places-wrap::-webkit-scrollbar { display: none; }
  .place { scroll-snap-align: start; scroll-margin-left: var(--margin); }
  .place-l, .place-m, .place-s { width: 80vw; margin-top: 0; }
  .place-l .media, .place-m .media, .place-s .media { height: 100vw; }
  [data-parallax-x] img { width: 100%; margin-left: 0; }
  .review blockquote { font-size: 24px; line-height: 32px; }
  .sale-text .actions { flex-direction: column; align-items: flex-start; }
  .footer-cta .btn { flex: 1 1 100%; }
  .legal { justify-self: start; margin-top: var(--s-2); }
  .made-by { justify-self: start; margin-top: var(--s-3); }
  .cal-months { flex-direction: column; }
}

/* ---------- Motion uit ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  [data-parallax] img { top: 0; height: 100%; }
}
/* Intro: drie golfjes */
.loader { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .js .loader { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; background: var(--noordzee); color: var(--wit); }
}
.loader-mark { height: 104px; width: auto; aspect-ratio: 395 / 425; opacity: 0; }
@media (max-width: 767px) { .loader-mark { height: 80px; } .logo-mark { height: 32px; } }

/* Startstand voor het heromoment, enkel met JS en beweging */
@media (prefers-reduced-motion: no-preference) {
  .js .hero-title .line > span, .js .hero-sub, .js .search, .js .site-header { visibility: hidden; }
}
