/* =========================================================
   Vrolijke Koster – stijl
   ========================================================= */

:root {
  --bg: #05070f;
  --bg-2: #0a0f1f;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.09);
  --text: #f3f6ff;
  --muted: #9aa6c4;
  --blue: #2f6bff;
  --blue-2: #5b8cff;
  --blue-glow: rgba(47, 107, 255, 0.45);
  --gold: #ffc940;
  --wa: #25d366;
  --wa-dark: #1ebe5a;
  --radius: 18px;
  --radius-sm: 12px;
  --header-h: 68px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: 'Outfit', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --script: 'Yellowtail', 'Brush Script MT', cursive;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + env(safe-area-inset-top) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--blue-2); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--blue-2); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1180px, 100%); margin-inline: auto; padding-inline: 20px; }
.container.narrow { width: min(820px, 100%); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 300;
  background: var(--blue); color: #fff; padding: 10px 16px; border-radius: 10px;
  text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 12px; }

.script {
  font-family: var(--script);
  font-weight: 400;
  color: var(--blue-2);
  text-shadow: 0 0 24px var(--blue-glow);
  font-size: 1.15em;
  letter-spacing: 0;
  padding-right: .05em;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue-2); margin-bottom: .8em;
}

/* ---------- Knoppen ---------- */
.btn {
  --btn-bg: var(--surface-2);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  border: 1px solid transparent; border-radius: 999px;
  background: var(--btn-bg); color: #fff;
  font-weight: 600; font-size: 1rem; text-decoration: none; line-height: 1.1;
  cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-primary { background: linear-gradient(135deg, var(--blue), #1f4fd8); box-shadow: 0 8px 24px var(--blue-glow); }
.btn-primary:hover { box-shadow: 0 12px 32px var(--blue-glow); }
.btn-whatsapp { background: linear-gradient(135deg, var(--wa), var(--wa-dark)); box-shadow: 0 8px 24px rgba(37, 211, 102, .35); color: #04210f; }
.btn-ghost { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .18); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: .92rem; }
.btn-lg { min-height: 54px; padding: 14px 28px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; pointer-events: none; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  padding-top: env(safe-area-inset-top);
  box-sizing: content-box;
  transition: border-color .3s;
  border-bottom: 1px solid transparent;
}
/* Blur op pseudo-element: backdrop-filter op de header zelf zou het mobiele menu (position: fixed) insluiten */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(5, 7, 15, .78);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  opacity: 0; transition: opacity .3s;
}
.site-header.scrolled { border-color: var(--border); }
.site-header.scrolled::before { opacity: 1; }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }

.brand { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; flex: none; color: #fff; text-decoration: none; font-weight: 700; font-size: 1.15rem; }
.brand img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px rgba(91, 140, 255, .35), 0 0 18px var(--blue-glow); }
.brand em { font-style: normal; color: var(--blue-2); }

.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a:not(.btn) {
  white-space: nowrap;
  color: #dfe6ff; text-decoration: none; font-weight: 500;
  padding: 8px 14px; border-radius: 999px; transition: background .2s, color .2s;
}
.main-nav a:not(.btn):hover, .main-nav a.active { background: var(--surface-2); color: #fff; }
.nav-cta { margin-left: 8px; }

/* "Zet op startscherm" in de menubalk */
.install-btn {
  position: relative; z-index: 2; flex: none;
  display: inline-flex; align-items: center; gap: 10px;
  height: 46px; padding: 4px 16px 4px 4px; border-radius: 14px; cursor: pointer;
  color: #fff; text-align: left; line-height: 1.1;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: background .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.install-btn:hover { background: rgba(255, 255, 255, .1); border-color: rgba(91, 140, 255, .55); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(47, 107, 255, .25); }
.install-btn[hidden] { display: none; }
.install-ico {
  position: relative; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex: none;
  background: linear-gradient(135deg, var(--blue-2), var(--blue) 60%, #1f3fb8); color: #fff; font-size: 1.05rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 4px 12px var(--blue-glow);
}
.install-ico .plus {
  position: absolute; right: -4px; bottom: -4px; width: 17px; height: 17px; border-radius: 50%;
  display: grid; place-items: center; font-size: .58rem; background: var(--gold); color: #1a1300;
  box-shadow: 0 0 0 2px var(--bg-2);
}
.install-txt small { display: block; font-size: .7rem; font-weight: 500; color: #aeb9d8; letter-spacing: .02em; }
.install-txt b { display: block; font-size: .92rem; font-weight: 700; }
.install-btn:hover .install-ico { animation: wiggle .5s ease; }
@keyframes wiggle { 30% { transform: rotate(-8deg); } 60% { transform: rotate(6deg); } }

/* Inloggen (subtiel) */
.nav-login {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  color: #aeb9d8; text-decoration: none; font-size: 1.25rem; margin-left: 4px; transition: color .2s, background .2s;
}
.nav-login span { display: none; }
/* Geen binnenruimte van de gewone menulinks, zodat het icoon precies in het midden staat */
.main-nav a.nav-login { padding: 0; line-height: 1; flex: none; }
.nav-login i { display: block; line-height: 1; }
.nav-login:hover, .nav-login.logged-in { color: #fff; background: var(--surface-2); }
.nav-login.logged-in i { color: var(--blue-2); }

.menu-toggle {
  display: none; flex: none; width: 46px; height: 46px; border-radius: 12px;
  background: var(--surface-2); border: 1px solid var(--border);
  cursor: pointer; position: relative; z-index: 2;
}
.menu-toggle span {
  position: absolute; left: 13px; right: 13px; height: 2px; background: #fff; border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s;
}
.menu-toggle span:nth-child(1) { top: 16px; }
.menu-toggle span:nth-child(2) { top: 22px; }
.menu-toggle span:nth-child(3) { top: 28px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 40px + env(safe-area-inset-top)) 0 90px;
  text-align: center; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(47, 107, 255, .25), transparent 60%),
    linear-gradient(180deg, rgba(5, 7, 15, .55) 0%, rgba(5, 7, 15, .65) 55%, var(--bg) 100%),
    url('/img/background.jpeg') center 30% / cover no-repeat;
  animation: heroZoom 18s ease-out both;
}
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }

.hero-inner { display: flex; flex-direction: column; align-items: center; }
.hero-logo {
  width: clamp(130px, 22vw, 210px); height: auto; border-radius: 50%;
  margin-bottom: 22px;
  box-shadow: 0 0 0 3px rgba(91, 140, 255, .35), 0 0 60px var(--blue-glow);
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 50% { transform: translateY(-8px); } }

.hero-title {
  font-size: clamp(2.1rem, 6vw, 4.2rem); font-weight: 800;
  max-width: 16ch; margin-bottom: .4em; min-height: 2.3em;
  display: flex; align-items: center; justify-content: center;
  text-shadow: 0 4px 30px rgba(0, 0, 0, .5);
}
#dynamicText { transition: opacity .45s ease, transform .45s var(--ease); }
#dynamicText.out { opacity: 0; transform: translateY(10px); }

.hero-sub { font-size: clamp(1.02rem, 2.2vw, 1.25rem); color: #d3dbf3; max-width: 46ch; margin-bottom: 1.8em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

.player {
  margin-top: 36px; display: flex; align-items: center; gap: 14px;
  padding: 10px 18px 10px 10px; border-radius: 999px;
  background: rgba(10, 15, 31, .6); border: 1px solid var(--border);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  width: min(340px, 100%);
}
.player-btn {
  flex: none; width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--blue); color: #fff; box-shadow: 0 0 20px var(--blue-glow);
  display: grid; place-items: center; transition: transform .2s;
}
.player-btn:hover { transform: scale(1.06); }
.player-info { flex: 1; text-align: left; min-width: 0; }
.player-label { font-size: .88rem; font-weight: 600; color: #dfe6ff; }
.player-bar { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .12); margin-top: 6px; overflow: hidden; cursor: pointer; }
.player-progress { height: 100%; width: 0; background: linear-gradient(90deg, var(--blue), var(--blue-2)); }
.eq { display: flex; gap: 3px; align-items: flex-end; height: 18px; }
.eq span { width: 3px; height: 4px; background: var(--blue-2); border-radius: 2px; }
.player.playing .eq span { animation: eq 0.9s ease-in-out infinite; }
.player.playing .eq span:nth-child(2) { animation-delay: .2s; }
.player.playing .eq span:nth-child(3) { animation-delay: .4s; }
.player.playing .eq span:nth-child(4) { animation-delay: .1s; }
@keyframes eq { 0%, 100% { height: 4px; } 50% { height: 18px; } }

.scroll-hint {
  position: absolute; bottom: 24px; left: 50%; translate: -50% 0;
  color: #fff; opacity: .7; font-size: 1.2rem; animation: bounce 2s infinite;
  width: 44px; height: 44px; display: grid; place-items: center;
}
@keyframes bounce { 50% { transform: translateY(8px); } }

/* ---------- Secties ---------- */
.section { padding: clamp(70px, 10vw, 120px) 0; position: relative; }
.section-alt { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 18%, var(--bg-2) 82%, var(--bg) 100%); }
.section h2 { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 800; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto clamp(36px, 5vw, 56px); }
.section-head p:last-child { color: var(--muted); margin: 0; }

.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: clamp(20px, 3vw, 32px);
}

/* ---------- Over ---------- */
.about { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about-media { position: relative; isolation: isolate; }
.about-media img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; height: auto;
  border-radius: 24px; box-shadow: var(--shadow);
}
.about-media::before {
  content: ""; position: absolute; inset: -14px 14px 14px -14px; z-index: -1;
  border-radius: 28px; border: 1px solid rgba(91, 140, 255, .35);
  background: radial-gradient(circle at 20% 20%, var(--blue-glow), transparent 60%);
}
.about-badge {
  position: absolute; right: -12px; bottom: 28px;
  display: flex; align-items: center; gap: 10px;
  background: rgba(10, 15, 31, .85); border: 1px solid var(--border);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  padding: 12px 18px; border-radius: 14px; font-weight: 600; box-shadow: var(--shadow);
}
.about-badge i { color: #ff4f7b; }
.lead { font-size: 1.2rem; color: #fff; font-style: italic; border-left: 3px solid var(--blue); padding-left: 16px; }
.about-text > p { color: #c7d0ea; }

.features { list-style: none; padding: 0; margin: 28px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.features li {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 14px;
}
.features i {
  flex: none; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(47, 107, 255, .15); color: var(--blue-2);
}
.features span { font-size: .9rem; color: var(--muted); line-height: 1.35; }
.features strong { display: block; color: #fff; font-size: .98rem; }
.about-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Startscherm-banner ---------- */
.vk-install-popup {
  position: fixed; z-index: 200;
  left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom));
  max-width: 400px; margin-inline: auto;
  display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center;
  padding: 20px; border-radius: 20px;
  background: rgba(10, 15, 31, .94); border: 1px solid rgba(91, 140, 255, .35);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow), 0 0 40px rgba(47, 107, 255, .2);
  animation: slideUp .4s var(--ease);
}
.vk-install-popup[hidden] { display: none !important; }
.vk-install-popup img { width: 48px; height: 48px; border-radius: 12px; }
.vk-install-popup strong { display: block; margin-right: 36px; }
.vk-install-popup p { margin: 2px 0 0; color: var(--muted); font-size: .92rem; }
.vk-install-popup .btn { grid-column: 1 / -1; }
.vk-install-popup .vk-close { top: 10px; right: 10px; width: 36px; height: 36px; font-size: 1rem; }
@keyframes slideUp { from { opacity: 0; transform: translateY(30px); } }

/* ---------- Dialogs (algemeen) ---------- */
dialog { color: var(--text); padding: 0; border: 0; }
dialog::backdrop { background: rgba(2, 4, 10, .78); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
dialog[open] { animation: pop .28s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.97); } }
body.modal-open { overflow: hidden; }

.vk-modal { background: transparent; width: min(440px, calc(100% - 32px)); max-height: calc(100dvh - 32px); }
.vk-modal-card {
  position: relative; background: var(--bg-2); border: 1px solid var(--border);
  border-radius: 22px; padding: 28px; box-shadow: var(--shadow);
}
.vk-modal-card h2 { font-size: 1.45rem; margin: 0 44px 16px 0; }
.vk-close {
  position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%;
  background: var(--surface-2); border: 0; color: #fff; cursor: pointer; font-size: 1.1rem;
}
.vk-close:hover { background: rgba(255, 255, 255, .14); }
/* Uitleg "zet op startscherm" */
.vk-preview {
  display: flex; align-items: center; gap: 16px; margin: 0 0 18px; padding: 14px;
  border-radius: 16px; background: linear-gradient(135deg, rgba(47, 107, 255, .18), rgba(47, 107, 255, .04));
  border: 1px solid rgba(91, 140, 255, .25);
}
.vk-preview p { margin: 0 !important; font-size: .92rem; }
.vk-phone {
  flex: none; width: 86px; height: 100px; border-radius: 18px; display: grid; place-items: center;
  background: radial-gradient(circle at 30% 20%, #3a5bd9, #101a3d 70%); border: 2px solid rgba(255, 255, 255, .15);
}
.vk-app { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.vk-app img { width: 46px; height: 46px; border-radius: 12px; box-shadow: 0 6px 16px rgba(0, 0, 0, .45); animation: appPop 2.4s var(--ease) infinite; }
.vk-app span { font-size: .58rem; color: #fff; font-weight: 600; white-space: nowrap; }
@keyframes appPop { 0%, 60%, 100% { transform: scale(1); } 70% { transform: scale(1.12); } 80% { transform: scale(.96); } }
.vk-steps-title { font-weight: 700; color: #fff !important; margin: 0 0 10px !important; }
.vk-steps { display: grid; gap: 8px; margin-bottom: 12px; }
.vk-step {
  display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center;
  padding: 12px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border);
}
.vk-step-n { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; font-weight: 700; font-size: .85rem; }
.vk-step-t { color: #dfe6ff; font-size: .95rem; line-height: 1.35; }
.vk-step-ico { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: var(--blue-2); font-size: 1.05rem; }
@media (max-width: 600px) {
  /* Op de telefoon: paneel dat van onderen omhoog schuift */
  .vk-modal { width: 100%; max-width: none; margin: auto 0 0; max-height: 92dvh; }
  .vk-modal[open] { animation: sheetUp .35s var(--ease); }
  .vk-modal-card { border-radius: 24px 24px 0 0; padding: 22px 18px calc(18px + env(safe-area-inset-bottom)); }
  .vk-modal-card::before { content: ""; display: block; width: 44px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .2); margin: -8px auto 14px; }
}
@keyframes sheetUp { from { transform: translateY(100%); } }

#vk-instructions p { color: #c7d0ea; margin: 0 0 .5em; }
#vk-instructions ol { margin: 0 0 1em; padding-left: 0; list-style: none; counter-reset: step; }
#vk-instructions li {
  counter-increment: step; position: relative; padding: 10px 0 10px 44px; color: #dfe6ff;
  border-bottom: 1px solid var(--border);
}
#vk-instructions li::before {
  content: counter(step); position: absolute; left: 0; top: 8px;
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(47, 107, 255, .2); color: var(--blue-2); font-weight: 700; font-size: .9rem;
}
#vk-instructions .note { color: var(--muted); font-size: .95rem; }
.vk-done { margin-top: 8px; }

/* ---------- Galerij ---------- */
.gallery-filters {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 8px;
}
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 42px; padding: 8px 18px; border-radius: 999px; cursor: pointer;
  background: var(--surface); border: 1px solid var(--border); color: #c7d0ea;
  font-weight: 600; font-size: .95rem; transition: background .2s, border-color .2s, color .2s;
}
.chip:hover { border-color: rgba(91, 140, 255, .45); color: #fff; }
.chip[aria-pressed="true"] {
  background: linear-gradient(135deg, var(--blue), #1f4fd8); border-color: transparent; color: #fff;
  box-shadow: 0 6px 20px var(--blue-glow);
}
.chip .count { font-size: .78rem; opacity: .7; font-weight: 500; }

/* Foto-tegel (collage én overzicht): vaste vakken, dus nooit gaten */
.tile {
  position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0;
  overflow: hidden; cursor: zoom-in; background: var(--surface-2);
  transform: translateZ(0);
}
.tile img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease), opacity .4s;
}
.tile img[data-loading] { opacity: 0; }
.tile::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(5, 7, 15, .75));
  opacity: 0; transition: opacity .3s;
}
.tile-title {
  position: absolute; left: 12px; right: 12px; bottom: 10px; z-index: 1;
  color: #fff; font-weight: 600; font-size: .9rem; line-height: 1.25; text-align: left;
  opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s var(--ease);
}
.tile:hover img, .tile:focus-visible img { transform: scale(1.06); }
.tile:hover::after, .tile:focus-visible::after,
.tile:hover .tile-title, .tile:focus-visible .tile-title { opacity: 1; transform: none; }
.tile:focus-visible { outline: 3px solid var(--blue-2); outline-offset: -3px; }

/* Collage op de pagina */
.mosaic { position: relative; }
.mosaic-grid {
  display: grid; gap: 10px;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, clamp(150px, 17vw, 230px));
  border-radius: 24px; overflow: hidden;
  box-shadow: var(--shadow);
}
.mosaic-grid .tile:first-child { grid-column: span 2; grid-row: span 2; }
.mosaic-grid .tile:nth-child(n+6) { display: none; }
.mosaic-all {
  position: absolute; right: 18px; bottom: 18px; z-index: 2;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .5), 0 8px 24px var(--blue-glow);
}
.mosaic-grid.few { grid-template-rows: clamp(220px, 30vw, 380px) !important; }
.mosaic-grid.few .tile:first-child { grid-column: auto; grid-row: auto; }
.mosaic-empty { grid-column: 1 / -1; grid-row: 1 / -1; display: grid; place-items: center; color: var(--muted); }

/* Galerij-overzicht (schermvullend) */
.gallery-dialog {
  width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0;
  background: var(--bg); overflow-y: auto; overscroll-behavior: contain;
}
.gallery-dialog[open] { animation: gdIn .3s var(--ease); }
@keyframes gdIn { from { opacity: 0; transform: translateY(24px); } }
.gd-header {
  position: sticky; top: 0; z-index: 3;
  padding: calc(14px + env(safe-area-inset-top)) 0 14px;
  background: rgba(5, 7, 15, .85);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.gd-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.gd-header h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin: 0; }
.gd-header p { margin: 0; color: var(--muted); font-size: .92rem; }
.gd-header .gallery-filters { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.gd-header .gallery-filters::-webkit-scrollbar { display: none; }
.lb-btn.gd-close { position: static; flex: none; translate: none; }
.gd-grid {
  display: grid; gap: 8px; padding: 20px 0 calc(40px + env(safe-area-inset-bottom));
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
}
.gd-grid .tile { aspect-ratio: 1; border-radius: 12px; animation: gIn .45s var(--ease) both; }
@keyframes gIn { from { opacity: 0; transform: translateY(12px) scale(.98); } }
@media (hover: none) {
  .tile-title { display: none; }
}

/* Lightbox */
.lightbox {
  width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0;
  background: rgba(2, 4, 10, .96);
  display: none; align-items: center; justify-content: center;
  overscroll-behavior: contain; touch-action: pan-y;
}
.lightbox[open] { display: flex; }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 60px 16px 120px; }
.lightbox img {
  max-width: min(88vw, 1400px); max-height: calc(100dvh - 230px);
  border-radius: 14px; box-shadow: var(--shadow); object-fit: contain;
  user-select: none; -webkit-user-drag: none;
  transition: opacity .25s ease, transform .25s var(--ease);
}
.lightbox img.switching { opacity: 0; transform: scale(.98); }
.lightbox figcaption { display: flex; align-items: center; gap: 12px; color: #dfe6ff; font-weight: 600; text-align: center; }
.lightbox figcaption span { color: var(--muted); font-weight: 500; font-size: .9rem; }
.lb-thumbs {
  position: absolute; left: 0; right: 0; bottom: calc(18px + env(safe-area-inset-bottom));
  display: flex; gap: 8px; padding: 6px 16px; overflow-x: auto;
  scrollbar-width: none;
}
/* Gecentreerd als het past, scrollbaar als het er veel zijn */
.lb-thumbs > :first-child { margin-left: auto; }
.lb-thumbs > :last-child { margin-right: auto; }
.lb-thumbs::-webkit-scrollbar { display: none; }
.lb-thumbs button {
  flex: none; width: 64px; height: 64px; padding: 0; border-radius: 10px; overflow: hidden; cursor: pointer;
  border: 2px solid transparent; background: var(--surface); opacity: .45; transition: opacity .2s, border-color .2s, transform .2s;
}
.lb-thumbs button:hover { opacity: .85; }
.lb-thumbs button[aria-current="true"] { opacity: 1; border-color: var(--blue-2); transform: translateY(-3px); }
.lb-thumbs img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; box-shadow: none; max-width: none; max-height: none; }
.lb-btn {
  position: absolute; z-index: 2; width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid var(--border); background: rgba(255, 255, 255, .08); color: #fff;
  cursor: pointer; font-size: 1.2rem; display: grid; place-items: center;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: background .2s;
}
.lb-btn:hover { background: var(--blue); }
.lb-close { top: calc(16px + env(safe-area-inset-top)); right: 16px; }
.lb-prev { left: 16px; top: 50%; translate: 0 -50%; }
.lb-next { right: 16px; top: 50%; translate: 0 -50%; }

/* ---------- Recensies ---------- */
.reviews-layout { display: grid; grid-template-columns: minmax(300px, 400px) 1fr; gap: 28px; align-items: start; }
.reviews-side { display: grid; gap: 20px; position: sticky; top: calc(var(--header-h) + 20px); }

.rating-card {
  text-align: center; padding: 26px; border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(47, 107, 255, .25), rgba(47, 107, 255, .05));
  border: 1px solid rgba(91, 140, 255, .3);
}
.rating-score { font-size: 3.4rem; font-weight: 800; line-height: 1; }
.rating-stars { color: var(--gold); font-size: 1.4rem; letter-spacing: 3px; margin: 8px 0 4px; }
.rating-stars .dim, .review-stars .dim { color: rgba(255, 255, 255, .2); }
.rating-count { color: var(--muted); font-size: .95rem; }

.review-form h3 { font-size: 1.2rem; }
.star-input {
  border: 0; padding: 0; margin: 0 0 14px;
  display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px;
}
.star-input legend { padding: 0; font-size: .9rem; font-weight: 600; color: #dfe6ff; margin-bottom: 4px; }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-input label {
  font-size: 2.3rem; line-height: 1; cursor: pointer; color: rgba(255, 255, 255, .18);
  transition: color .15s, transform .15s; padding: 2px;
}
.star-input label:hover,
.star-input label:hover ~ label,
.star-input input:checked ~ label { color: var(--gold); }
.star-input label:hover { transform: scale(1.15); }
.star-input input:focus-visible + label { outline: 2px solid var(--blue-2); border-radius: 6px; }

.review-list { display: grid; gap: 16px; }
.review {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px 22px;
}
.review-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.avatar {
  flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--blue), #7b5cff); font-weight: 700; text-transform: uppercase;
}
.review-meta { min-width: 0; }
.review-meta strong { display: block; overflow-wrap: anywhere; }
.review-meta small { color: var(--muted); }
.review-stars { margin-left: auto; color: var(--gold); letter-spacing: 1px; white-space: nowrap; }
.review p { margin: 0; color: #d3dbf3; overflow-wrap: anywhere; white-space: pre-line; }
.review.skeleton { height: 120px; background: linear-gradient(90deg, var(--surface) 25%, var(--surface-2) 50%, var(--surface) 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.empty { text-align: center; color: var(--muted); padding: 40px 20px; border: 1px dashed var(--border); border-radius: var(--radius); }
.more-btn { justify-self: center; }

/* ---------- Formulieren ---------- */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; min-width: 0; }
.field label, .field legend { font-size: .9rem; font-weight: 600; color: #dfe6ff; }
input[type="text"], input[type="email"], input[type="number"], input[type="datetime-local"], input[type="date"], select, textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  background: rgba(255, 255, 255, .05); border: 1px solid var(--border); border-radius: var(--radius-sm);
  color: #fff; font-size: 16px; /* voorkomt inzoomen op iOS */
  transition: border-color .2s, background .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
input[type="date"], input[type="datetime-local"] { color-scheme: dark; min-width: 0; }
input::placeholder, textarea::placeholder { color: #6c7799; }
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--blue-2); background: rgba(47, 107, 255, .08);
  box-shadow: 0 0 0 4px rgba(47, 107, 255, .18);
}
textarea { resize: vertical; min-height: 96px; }
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239aa6c4' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px;
}
select option { background: var(--bg-2); }
.was-validated input:invalid { border-color: #ff5d73; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.form-msg { min-height: 1.4em; font-size: .92rem; margin: 0 0 10px; }
.form-msg.error { color: #ff7b8d; }
.form-msg.ok { color: #5be39a; }

.gear { border: 0; padding: 0; margin: 0 0 14px; }
.gear legend { margin-bottom: 8px; }
.check {
  display: flex; align-items: center; gap: 12px; cursor: pointer;
  padding: 12px 14px; margin-bottom: 8px; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: rgba(255, 255, 255, .03);
  transition: border-color .2s, background .2s;
}
.check:hover { border-color: rgba(91, 140, 255, .4); }
.check input {
  -webkit-appearance: none; appearance: none; flex: none; margin: 0;
  width: 22px; height: 22px; border-radius: 6px; border: 2px solid rgba(255, 255, 255, .3);
  display: grid; place-items: center; transition: background .15s, border-color .15s;
}
.check input::after { content: ""; width: 10px; height: 6px; border: solid #fff; border-width: 0 0 2px 2px; transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.check input:checked { background: var(--blue); border-color: var(--blue); }
.check input:checked::after { opacity: 1; }
.check:has(input:checked) { border-color: var(--blue); background: rgba(47, 107, 255, .1); }
.gear.highlight .check { animation: glow 1.4s ease 2; }
@keyframes glow { 50% { border-color: var(--blue-2); box-shadow: 0 0 0 4px rgba(47, 107, 255, .25); } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq-item {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  transition: border-color .2s, background .2s;
}
.faq-item[open] { border-color: rgba(91, 140, 255, .35); background: rgba(47, 107, 255, .06); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 18px 22px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-weight: 600; font-size: 1.05rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { flex: none; color: var(--blue-2); transition: transform .3s var(--ease); }
.faq-item[open] summary i { transform: rotate(180deg); }
.faq-answer { padding: 0 22px 20px; color: #c7d0ea; }
.faq-answer p { margin-bottom: 14px; }

/* ---------- Boeken ---------- */
.booking { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.booking-text > p { color: #c7d0ea; font-size: 1.08rem; }
.contact-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.contact-list a, .contact-list span {
  display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; font-weight: 500;
}
.contact-list i {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: var(--surface-2); color: var(--blue-2);
}
.contact-list .fa-whatsapp { color: var(--wa); }
.contact-list a:hover { color: var(--blue-2); }

/* ---------- Aankondiging (topbalk) ---------- */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 101;
  padding-top: env(safe-area-inset-top);
  /* Naadloos verloop: begin- en eindkleur zijn gelijk */
  background: linear-gradient(90deg, #1b3fb8 0%, #2f6bff 25%, #5b8cff 50%, #2f6bff 75%, #1b3fb8 100%);
  background-size: 200% 100%; animation: topbarFlow 12s linear infinite;
  color: #fff; box-shadow: 0 6px 24px rgba(0, 0, 0, .35);
}
.topbar[hidden] { display: none; }
@keyframes topbarFlow { from { background-position: 0 0; } to { background-position: 200% 0; } }
.topbar-inner { display: flex; align-items: center; gap: 14px; min-height: 44px; padding-block: 6px; }
.topbar-badge {
  flex: none; display: inline-flex; align-items: center; gap: 7px; padding: 3px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, .18); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.topbar-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(255, 201, 64, .7); animation: livePulse 1.8s infinite; }
@keyframes livePulse { 70% { box-shadow: 0 0 0 8px rgba(255, 201, 64, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 201, 64, 0); } }
.topbar-text { flex: 1; min-width: 0; color: #fff; text-decoration: none; font-weight: 600; font-size: .95rem; line-height: 1.3; overflow-wrap: anywhere; }
.topbar-link {
  flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  background: #fff; color: #1b3fb8; font-weight: 700; font-size: .85rem; text-decoration: none; transition: transform .2s var(--ease);
}
.topbar-link:hover { transform: translateX(2px); }
.topbar-close {
  flex: none; width: 32px; height: 32px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .12); color: #fff; display: grid; place-items: center;
}
.topbar-close:hover { background: rgba(255, 255, 255, .25); }
html.has-topbar .site-header { top: var(--topbar-h, 44px); padding-top: 0; }
html.has-topbar .hero { padding-top: calc(var(--header-h) + 40px + var(--topbar-h, 44px) + env(safe-area-inset-top)); }
html.has-topbar { scroll-padding-top: calc(var(--header-h) + var(--topbar-h, 44px) + 12px); }

/* ---------- Agenda ---------- */
.agenda { display: grid; gap: 12px; }
.event {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px; align-items: center;
  padding: 16px 18px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  transition: border-color .2s, transform .2s var(--ease);
}
.event:hover { border-color: rgba(91, 140, 255, .4); }
.event.skeleton { height: 96px; background: linear-gradient(90deg, var(--surface) 25%, var(--surface-2) 50%, var(--surface) 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
.event-date {
  width: 68px; text-align: center; border-radius: 14px; overflow: hidden; flex: none;
  background: rgba(47, 107, 255, .12); border: 1px solid rgba(91, 140, 255, .3);
}
.event-date .m { display: block; background: var(--blue); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 3px 0; }
.event-date .d { display: block; font-size: 1.7rem; font-weight: 800; line-height: 1.1; padding-top: 4px; }
.event-date .w { display: block; font-size: .72rem; color: var(--muted); padding-bottom: 6px; text-transform: capitalize; }
.event-info { min-width: 0; }
.event-info h3 { font-size: 1.1rem; margin: 0 0 4px; overflow-wrap: anywhere; }
.event-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; color: var(--muted); font-size: .92rem; }
.event-meta > span { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.event-meta > span > span { min-width: 0; overflow-wrap: anywhere; }
.event-meta i { flex: 0 0 1em; text-align: center; color: var(--blue-2); }
.event-meta > .event-note { flex-basis: 100%; color: #d3dbf3; margin-top: 4px; padding: 10px 12px; border-radius: 10px; background: rgba(47, 107, 255, .08); }
.event-note > span { white-space: pre-line; }
.event-tag { display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.event-tag[hidden] { display: none; }
.event-tag.soon { color: #5be39a; }
.event-actions { display: flex; gap: 8px; }
.icon-btn {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex: none;
  background: var(--surface-2); border: 1px solid var(--border); color: #fff; cursor: pointer; text-decoration: none;
  transition: background .2s, border-color .2s;
}
.icon-btn:hover { background: var(--blue); border-color: var(--blue); }
.icon-btn .lbl { display: none; }
.agenda-more { display: flex; margin: 20px auto 0; }
.agenda-more[hidden] { display: none; }
.agenda-empty {
  text-align: center; padding: 36px 20px; border-radius: var(--radius);
  border: 1px dashed var(--border); color: var(--muted);
}
.agenda-empty i { font-size: 1.8rem; color: var(--blue-2); margin-bottom: 10px; display: block; }
.agenda-empty .btn { margin-top: 14px; }

.social-links { display: contents; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 40px 0 calc(40px + env(safe-area-inset-bottom)); }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.footer-tag { color: var(--muted); margin: 0; }
.footer-tag i { color: #ff4f7b; }
.footer-links { display: flex; gap: 10px; margin: 6px 0; }
.footer-links a {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface-2); color: #fff; text-decoration: none; transition: background .2s;
}
.footer-links a:hover { background: var(--blue); }
.copyright { color: #6c7799; font-size: .85rem; margin: 0; }
.footer-admin { color: #8d97b5; text-decoration: none; white-space: nowrap; padding: 6px 4px; }
.footer-admin:hover { color: #fff; }
.footer-admin i { font-size: .75rem; margin-right: 2px; }


/* ---------- Zwevende knop & toast ---------- */
.fab-whatsapp {
  position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 90;
  width: 58px; height: 58px; border-radius: 50%; display: none; place-items: center;
  background: var(--wa); color: #fff; font-size: 1.8rem; text-decoration: none;
  box-shadow: 0 10px 30px rgba(37, 211, 102, .45);
  transform: scale(0); transition: transform .3s var(--ease);
}
.fab-whatsapp.show { transform: scale(1); }

.toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 400;
  translate: -50% 0; transform: translateY(20px); opacity: 0; pointer-events: none;
  background: #fff; color: #0a0f1f; font-weight: 600; padding: 12px 20px; border-radius: 999px;
  box-shadow: var(--shadow); transition: opacity .3s, transform .3s var(--ease);
  max-width: calc(100% - 32px); text-align: center;
}
.toast.show { opacity: 1; transform: translateY(0); }

/* ---------- Scroll-animaties ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.visible { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .reviews-layout { grid-template-columns: 1fr; }
  .reviews-side { position: static; grid-template-columns: 1fr 1.6fr; align-items: start; }
}

@media (max-width: 860px) {
  :root { --header-h: 62px; }

  .menu-toggle { display: block; }
  .main-nav a.nav-login {
    display: inline-flex; align-items: center; gap: 10px; width: auto; height: auto; margin: 6px 0 0;
    padding: 10px 18px; border-radius: 999px; font-size: 1rem !important; font-weight: 600; color: #aeb9d8; background: transparent;
  }
  .main-nav a.nav-login span { display: inline; }
  .install-btn { margin-left: auto; }
  .header-inner { gap: 10px; }
  .main-nav {
    position: fixed; inset: 0; z-index: 1;
    flex-direction: column; justify-content: center; gap: 8px;
    background: rgba(5, 7, 15, .97);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
    overflow-y: auto;
    padding: calc(var(--header-h) + var(--topbar-h, 0px) + env(safe-area-inset-top) + 16px) 16px calc(24px + env(safe-area-inset-bottom));
    justify-content: safe center;
  }
  .main-nav.open { opacity: 1; visibility: visible; }
  .main-nav a:not(.btn) { font-size: 1.5rem; font-weight: 600; padding: 12px 24px; }
  .nav-cta { margin: 16px 0 0; min-height: 54px; padding: 14px 32px; font-size: 1.1rem; }

  .about, .booking { grid-template-columns: 1fr; }
  .about-media { max-width: 520px; margin-inline: auto; width: 100%; }
  .about-media img { aspect-ratio: 4 / 3; }
  .about-badge { right: 12px; }

  .reviews-side { grid-template-columns: 1fr; }
  .fab-whatsapp { display: grid; }
}

@media (max-width: 600px) {
  .topbar-link { display: none; }
  .topbar-inner { gap: 10px; min-height: 40px; }
  .topbar-badge { padding: 3px 8px; font-size: .66rem; }
  .topbar-text { font-size: .88rem; }
  .install-btn { height: 42px; padding: 3px 12px 3px 3px; gap: 8px; border-radius: 12px; }
  .install-ico { width: 34px; height: 34px; }
  .install-btn { margin-left: auto; }
  .install-txt small { display: none; }
  .install-txt b { text-transform: capitalize; }
  .event { grid-template-columns: 56px minmax(0, 1fr); gap: 16px 14px; padding: 16px; align-items: start; }
  .event-info { display: contents; }
  .event-heading { grid-column: 2; align-self: center; min-width: 0; }
  .event-info h3 { font-size: 1.05rem; line-height: 1.3; margin: 0; }
  .event-meta { grid-column: 1 / -1; display: grid; gap: 8px; font-size: .9rem; line-height: 1.45; }
  .event-actions { grid-column: 1 / -1; flex-wrap: wrap; padding-top: 14px; border-top: 1px solid var(--border); }
  .event-actions:empty { display: none; }
  .event-actions .icon-btn { flex: 1 1 72px; min-width: 0; width: auto; height: auto; min-height: 44px; padding: 10px 8px; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: .88rem; font-weight: 600; }
  .event-actions .icon-btn .lbl { display: inline; }
  .event-date { width: 56px; border-radius: 12px; }
  .announce { font-size: .9rem; padding: 8px 14px; }
  .container { padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); }
  .section { padding-block: 48px; }
  .section-head { margin-bottom: 26px; }
  .section h2 { font-size: clamp(1.75rem, 7.5vw, 2.25rem); line-height: 1.2; overflow-wrap: anywhere; }
  .section-head p:last-child { font-size: .95rem; line-height: 1.6; }
  .btn { white-space: normal; text-align: center; }
  .btn i { flex-shrink: 0; }
  .booking > *, .form-grid > *, .reviews-layout > * { min-width: 0; }
  .brand span { display: none; }
  .brand span { font-size: 1.05rem; }
  .brand img { width: 38px; height: 38px; }

  .hero-actions { flex-direction: column; width: 100%; max-width: 360px; }
  .hero-actions .btn { width: 100%; }

  .features { grid-template-columns: 1fr; }
  .about-actions .btn { flex: 1 1 100%; }
  .about-media::before { inset: -8px 8px 8px -8px; }

  .mosaic-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: 200px 120px 120px; gap: 6px; border-radius: 18px; }
  .mosaic-grid .tile:first-child { grid-column: span 2; grid-row: span 1; }
  .mosaic-all { left: 12px; right: 12px; bottom: 12px; }
  .gd-grid { grid-template-columns: repeat(3, 1fr); gap: 4px; }
  .gd-grid .tile { border-radius: 6px; }
  .chip { padding: 8px 14px; font-size: .9rem; flex: none; }
  .lb-thumbs { display: none; }
  .lightbox figure { padding-bottom: 90px; }

  .form-grid { grid-template-columns: 1fr; }


  .lb-btn { width: 44px; height: 44px; }
  .lb-prev, .lb-next { top: auto; bottom: calc(20px + env(safe-area-inset-bottom)); translate: none; }
  .lb-prev { left: calc(50% - 56px); }
  .lb-next { right: calc(50% - 56px); }
  .lightbox img { max-height: calc(100dvh - 180px); }

  .review { padding: 18px; }
  .review-head { flex-wrap: wrap; }
  .fab-whatsapp { width: 50px; height: 50px; right: max(12px, env(safe-area-inset-right)); bottom: calc(12px + env(safe-area-inset-bottom)); font-size: 1.55rem; box-shadow: 0 4px 18px rgba(37, 211, 102, .25); }
  .site-footer { padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
}

/* Middelgrote schermen: menu compacter zodat alles op één regel past */
@media (min-width: 861px) and (max-width: 1180px) {
  .main-nav { gap: 0; }
  .main-nav a:not(.btn) { padding: 8px 10px; }
  .install-txt small { display: none; }
  .install-txt b { text-transform: capitalize; }
}
@media (min-width: 861px) and (max-width: 980px) {
  .brand span { display: none; }
}

/* Smalle telefoons: alleen het logo (daar staat de naam al in) */
@media (max-width: 430px) {
  .brand span { display: none; }
}

@media (hover: none) {
  .btn:hover, .player-btn:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Boekingsformulier: optioneel-label en verborgen valstrik voor spambots */
.field .opt { font-weight: 400; color: var(--muted); }
input[type="tel"] {
  width: 100%; min-height: 48px; padding: 12px 14px;
  background: rgba(255, 255, 255, .05); border: 1px solid var(--border); border-radius: var(--radius-sm);
  color: #fff; font-size: 16px; -webkit-appearance: none; appearance: none;
}
input[type="tel"]:focus { outline: none; border-color: var(--blue-2); background: rgba(47, 107, 255, .08); box-shadow: 0 0 0 4px rgba(47, 107, 255, .18); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Cadeaubonnen en ondertekenen sluiten aan bij de gewone website. */
#voucherForm input:not([type="checkbox"]), .signature-form input[type="text"] {
  width: 100%; min-width: 0; min-height: 48px; padding: 12px 14px; font-size: 16px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
}
.flow-page { padding-block: 32px 64px; }
.flow-page > .brand { margin-bottom: 32px; }
.flow-page h1 { font-size: clamp(1.7rem, 6vw, 2.5rem); margin-bottom: 24px; }
.flow-page .card { overflow-wrap: anywhere; }
.contract-facts { display: grid; grid-template-columns: minmax(100px, 1fr) 2fr; gap: 8px 20px; margin: 24px 0; }
.contract-facts dt { color: var(--muted); }
.contract-facts dd { margin: 0; min-width: 0; white-space: pre-line; }
.preserve-lines { white-space: pre-line; }
.signature-form { display: grid; gap: 16px; margin-top: 24px; }
#signature { display: block; width: 100%; height: auto; aspect-ratio: 8 / 3; background: #fff; border: 2px solid var(--blue-2); border-radius: 12px; touch-action: none; }
.signature-preview { background: white; width: min(100%, 400px); margin-block: 20px; }
.voucher-card { background: radial-gradient(ellipse at top, rgba(47,107,255,.25), transparent), var(--surface); text-align: center; border-color: var(--blue-2); }
.voucher-card h2 { color: var(--gold); font-size: 3rem; }
.voucher-card .contract-facts { text-align: left; }
.review-reply { margin-top: 16px; padding: 14px; background: var(--surface); border-left: 2px solid var(--blue-2); border-radius: 8px; }
@media(max-width: 430px) { .contract-facts { grid-template-columns: 1fr; gap: 2px; } .contract-facts dd { margin-bottom: 12px; } }
@media print {
  body[data-flow] { color: #111; background: #fff; }
  body[data-flow] .card { border: 1px solid #ddd; background: #fff; }
  body[data-flow] .no-print { display: none !important; }
  body[data-flow] .contract-facts dt, body[data-flow] h2 { color: #222; }
  body[data-flow] .flow-page { width: 100%; padding: 0; }
}
