:root {
  --bg: #fbfaf6;
  --surface: #ffffff;
  --ink: #1b2638;
  --muted: #5f6b7e;
  --line: #ebe7dd;
  --brand: #1d4e89;
  --brand-2: #2a6bc0;
  --sun: #f5b82e;
  --sun-soft: #fff5dc;
  --pick: #e9f0fc;
  --radius: 14px;
  --shadow: 0 1px 2px rgb(20 32 51 / .05), 0 4px 16px rgb(20 32 51 / .06);
  --font: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Kleur per vakantie */
  --v-herfstvakantie: #d9732b;
  --v-kerstvakantie: #c23b4a;
  --v-voorjaarsvakantie: #3e9a5a;
  --v-meivakantie: #c45aa8;
  --v-zomervakantie: #e8a810;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
a { color: var(--brand-2); text-underline-offset: 2px; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(1.9rem, 4.5vw, 2.8rem); letter-spacing: -.02em; }
h2 { font-size: 1.3rem; }
h3 { font-size: 1.05rem; }
p { margin: 0 0 1em; }

.wrap { width: min(1080px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--surface); padding: 8px 12px; z-index: 10; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.small { font-size: .875rem; color: var(--muted); }

/* Header */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.logo { display: flex; align-items: center; gap: 8px; color: var(--brand); text-decoration: none; font-weight: 700; font-size: 1.1rem; }
.logo svg { color: var(--sun); }
.logo b, .logo-small b { font-weight: 400; color: var(--muted); }
.nav { display: flex; gap: 4px; margin-left: auto; flex-wrap: wrap; }
.nav a { color: var(--ink); text-decoration: none; padding: 8px 12px; border-radius: 8px; font-size: .95rem; }
.nav a:hover { background: var(--bg); }
.nav a[aria-current="page"] { background: var(--pick); color: var(--brand); font-weight: 600; }
.nav-toggle { display: none; margin-left: auto; font: inherit; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 6px 12px; color: var(--ink); }
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 64px; background: var(--surface); border-bottom: 1px solid var(--line); flex-direction: column; padding: 8px 16px 16px; }
  .nav.open { display: flex; }
}

/* Hero */
.hero { position: relative; overflow: hidden; padding: 44px 0 36px; background: linear-gradient(180deg, #fff3cf 0%, #fef9ec 55%, var(--bg) 100%); }
.hero > .wrap { position: relative; z-index: 1; }
.hero-small { padding: 28px 0 20px; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; font-weight: 700; color: var(--muted); margin-bottom: .4em; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 62ch; }
.crumbs { font-size: .875rem; color: var(--muted); margin-bottom: 12px; }
.crumbs a { color: var(--muted); }

.regio-pick { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 18px 0 22px; }
.regio-pick button { font: inherit; font-weight: 600; padding: 8px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.regio-pick button:hover { border-color: var(--brand-2); }
.regio-pick button[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: var(--surface); }
.regio-pick a { margin-left: 6px; }

/* Status-kaarten */
.status-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 760px) { .status-grid { grid-template-columns: 1fr; } }
.status { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow); transition: border-color .15s, box-shadow .15s; }
.status.wide { grid-column: 1 / -1; }
.status h2 { font-size: .95rem; text-transform: uppercase; letter-spacing: .05em; margin-bottom: .8em; }
.status h2 a { color: var(--muted); text-decoration: none; }
.status .big { font-size: 1.35rem; font-weight: 700; margin-bottom: .2em; display: flex; align-items: center; gap: 10px; }
.status .count { margin: .6em 0 0; color: var(--muted); }
.status .count b { font-size: 1.8rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.status p { margin-bottom: .3em; }
.status.picked { border-color: var(--brand-2); box-shadow: 0 0 0 2px var(--brand-2); }

/* Kleurvakjes per vakantie */
.swatch { display: inline-block; width: 12px; height: 12px; border-radius: 4px; background: var(--vc, var(--muted)); flex: none; vertical-align: -1px; margin-right: 8px; }
.big-swatch { width: .7em; height: .7em; border-radius: 6px; margin-right: 12px; vertical-align: .05em; }
.v-herfstvakantie { --vc: var(--v-herfstvakantie); }
.v-kerstvakantie { --vc: var(--v-kerstvakantie); }
.v-voorjaarsvakantie { --vc: var(--v-voorjaarsvakantie); }
.v-meivakantie { --vc: var(--v-meivakantie); }
.v-zomervakantie { --vc: var(--v-zomervakantie); }

/* Secties */
.section { margin-top: 40px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow); }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.cards .card h2 { display: flex; align-items: center; font-size: 1.1rem; }
.cards .card h2 a { color: inherit; text-decoration: none; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 760px) { .two-col { grid-template-columns: 1fr; } }
.page h2 { margin-top: 1.6em; }

/* Tabellen */
.table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 12px; }
.vak-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; min-width: 640px; }
.vak-table.single { min-width: 520px; }
.vak-table th, .vak-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.vak-table tbody tr:last-child > * { border-bottom: 0; }
.vak-table thead th { font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 600; background: var(--bg); }
.vak-table thead th a { color: inherit; text-decoration: none; }
.vak-table tbody th { font-weight: 600; }
.vak-table tbody th a { color: var(--ink); text-decoration: none; }
.vak-table tbody th a:hover { text-decoration: underline; }
.vak-table td.all { text-align: center; }
.vak-table tr.past { opacity: .5; }
.vak-table .picked { background: var(--pick); }
.tag { display: inline-block; font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); border: 1px solid var(--line); border-radius: 4px; padding: 0 5px; margin-left: 8px; vertical-align: 1px; }
.now { display: inline-block; font-size: .72rem; font-weight: 700; text-transform: uppercase; background: var(--sun); color: #3a2a00; border-radius: 4px; padding: 0 6px; margin-left: 6px; }

table.simple { width: 100%; border-collapse: collapse; }
table.simple th, table.simple td { text-align: left; padding: 8px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
table.simple tr:last-child > * { border-bottom: 0; }
table.simple th { font-weight: 600; padding-right: 16px; white-space: nowrap; }
table.simple.card { padding: 8px 22px; display: table; }
table.simple.card th, table.simple.card td { padding: 10px 16px 10px 0; }

/* Jaarbalk */
.chart-card { padding: 18px 18px 12px; }
.jaarbalk { width: 100%; height: auto; display: block; font: 12px var(--font); }
.jaarbalk .grid { stroke: var(--line); }
.jaarbalk .axis { fill: var(--muted); font-size: 12px; }
.jaarbalk .label { fill: var(--ink); font-weight: 600; font-size: 14px; }
.jaarbalk .track { fill: var(--bg); }
.jaarbalk .blk { transition: opacity .15s; }
.jaarbalk a:hover .blk { opacity: .75; }
.jaarbalk .today { stroke: var(--ink); stroke-width: 2; stroke-dasharray: 3 3; }
.b-herfstvakantie { fill: var(--v-herfstvakantie); }
.b-kerstvakantie { fill: var(--v-kerstvakantie); }
.b-voorjaarsvakantie { fill: var(--v-voorjaarsvakantie); }
.b-meivakantie { fill: var(--v-meivakantie); }
.b-zomervakantie { fill: var(--v-zomervakantie); }
.chart-card { overflow-x: auto; }
@media (max-width: 600px) { .jaarbalk { min-width: 620px; } }
.legend { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 0; margin: 12px 0 0; font-size: .875rem; color: var(--muted); }
.legend li { display: flex; align-items: center; }

/* Knoppen en chips */
.btn { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.btn:hover { border-color: var(--brand-2); }
.btn-primary { background: var(--brand); border-color: var(--brand); color: var(--surface); }
.btn-primary:hover { background: var(--brand-2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.chip { display: inline-flex; align-items: center; padding: 6px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: .95rem; }
.chip:hover { border-color: var(--brand-2); }
.pager { display: flex; justify-content: space-between; }
ul.plain { list-style: none; padding: 0; margin: 0 0 1em; }
ul.plain li { display: flex; align-items: center; padding: 6px 0; }
ul.plain.compact li { padding: 3px 0; font-size: .95rem; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq details p { margin: .6em 0 0; color: var(--muted); }

/* Welke regio */
.lookup { display: flex; gap: 10px; flex-wrap: wrap; }
.lookup input, .lookup select { font: inherit; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); }
.lookup input { flex: 1 1 280px; font-size: 1.05rem; }
.antwoord { margin-top: 18px; }
.antwoord .card { border-color: var(--brand-2); }
.antwoord .card p:last-child { margin-bottom: 0; }
.indeling dt { font-weight: 600; margin-top: .6em; }
.indeling dd { margin: 0; color: var(--muted); font-size: .95rem; }

.ad { margin: 32px auto; width: min(1080px, 100% - 32px); }

/* Footer */
.site-footer { margin-top: 64px; background: var(--surface); border-top: 1px solid var(--line); padding: 32px 0 24px; font-size: .925rem; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer strong { color: var(--ink); }
.logo-small { font-weight: 700; color: var(--brand); font-size: 1.05rem; }
.links a { margin-right: 10px; }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 16px; padding-top: 16px; font-size: .85rem; }

/* ===== Hero-lucht met parallax ===== */
.hero-sky { position: absolute; inset: 0; pointer-events: none; }
.hero-sky .sun { position: absolute; right: 8%; top: -60px; width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, #ffd65c 0 45%, rgb(255 214 92 / .35) 46% 60%, rgb(255 214 92 / 0) 61%); }
.hero-sky .cloud { position: absolute; fill: #fff; filter: drop-shadow(0 6px 12px rgb(29 78 137 / .08)); }
.hero-sky .c1 { width: 170px; right: 24%; top: 40px; }
.hero-sky .c2 { width: 120px; right: 4%; top: 150px; opacity: .9; }
.hero-sky .c3 { width: 240px; left: 52%; top: 210px; opacity: .7; }
@media (max-width: 760px) { .hero-sky .sun { width: 150px; height: 150px; right: -30px; } .hero-sky .c1, .hero-sky .c3 { display: none; } }

/* ===== Vakantiekaarten in 3D ===== */
.deck-section { position: relative; overflow: hidden; margin-top: 40px; padding: 48px 0 36px;
  background: linear-gradient(180deg, var(--bg), #f1f6fd 30%, #f1f6fd 70%, var(--bg)); }
.deck-section.compact { padding-top: 24px; }
.deck-section > .wrap { position: relative; z-index: 1; }
.parallax { position: absolute; inset: -80px 0; pointer-events: none; }
.parallax .blob { position: absolute; border-radius: 50%; filter: blur(2px); }
.parallax .b1 { width: 380px; height: 380px; left: -120px; top: 60px; background: radial-gradient(circle, rgb(245 184 46 / .22), transparent 70%); }
.parallax .b2 { width: 460px; height: 460px; right: -160px; top: 200px; background: radial-gradient(circle, rgb(42 107 192 / .14), transparent 70%); }
.parallax .b3 { width: 300px; height: 300px; left: 40%; bottom: 0; background: radial-gradient(circle, rgb(196 90 168 / .12), transparent 70%); }
.parallax .float { position: absolute; width: 70px; opacity: .14; }
.parallax .float svg { width: 100%; display: block; }
.parallax .f1 { left: 4%; top: 30%; color: var(--v-herfstvakantie); transform: rotate(-20deg); }
.parallax .f2 { right: 6%; top: 18%; color: var(--brand-2); width: 56px; }
.parallax .f3 { right: 18%; bottom: 14%; color: var(--v-zomervakantie); width: 90px; }

.deck { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; margin: 8px 0 20px; perspective: 1100px; }
.vk { --vc2: color-mix(in srgb, var(--vc) 55%, #fff); transform-style: preserve-3d; }
.vk-inner { position: relative; display: block; height: 100%; min-height: 270px; padding: 18px 14px 16px; border-radius: 20px; color: var(--ink); text-decoration: none;
  background: var(--surface); border: 1px solid var(--line);
  box-shadow: 0 2px 4px rgb(27 38 56 / .04), 0 18px 40px -18px color-mix(in srgb, var(--vc) 55%, transparent);
  transform-style: preserve-3d; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .5s cubic-bezier(.2, .8, .2, 1), box-shadow .3s; will-change: transform; }
.vk.tilting .vk-inner { transition: transform .08s linear, box-shadow .3s; }
.vk:hover .vk-inner { box-shadow: 0 2px 4px rgb(27 38 56 / .05), 0 30px 60px -20px color-mix(in srgb, var(--vc) 70%, transparent); }
.vk-bg { position: absolute; inset: 0; border-radius: inherit; overflow: hidden;
  background: radial-gradient(120% 70% at 100% 0%, color-mix(in srgb, var(--vc) 22%, #fff) 0%, #fff 60%); }
.vk-bg::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: linear-gradient(90deg, var(--vc), var(--vc2)); }
.vk-icon { position: absolute; right: 14px; top: 16px; width: 64px; height: 64px; color: var(--vc); transform: translateZ(0); transition: transform .4s cubic-bezier(.2,.8,.2,1); filter: drop-shadow(0 10px 10px color-mix(in srgb, var(--vc) 35%, transparent)); }
.vk-icon svg { width: 100%; height: 100%; display: block; }
.vk-body { position: relative; display: flex; flex-direction: column; height: 100%; transform: translateZ(0); transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.vk.tilting .vk-body { transform: translateZ(30px); }
.vk.tilting .vk-icon { transform: translateZ(70px) scale(1.06); }
.vk-top { display: flex; align-items: center; gap: 6px; min-height: 22px; }
.vk-year { font-size: .8rem; font-weight: 700; letter-spacing: .06em; color: var(--muted); }
.vk-tag { font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); border: 1px solid var(--line); background: #fff; border-radius: 4px; padding: 0 5px; }
.vk .now { margin-left: 0; }
.vk-title { display: block; margin: 46px 0 14px; font-size: 1.3rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.vk-regios { display: grid; gap: 6px; margin-top: auto; }
.vk-r, .vk-all { display: flex; justify-content: space-between; gap: 6px; white-space: nowrap; font-size: .84rem; font-variant-numeric: tabular-nums; padding: 5px 9px; border-radius: 8px; background: rgb(255 255 255 / .75); border: 1px solid var(--line); }
.vk-all { flex-direction: column; margin-top: auto; padding: 10px 12px; font-size: 1.05rem; }
.vk-all b { font-size: .8rem; color: var(--muted); }
.vk-r b { font-weight: 600; color: var(--muted); }
.vk-r.picked { background: color-mix(in srgb, var(--vc) 16%, #fff); border-color: var(--vc); }
.vk-r.picked b { color: var(--ink); }
.vk-days { display: block; margin-top: 10px; font-size: .8rem; color: var(--muted); }
.vk-glare { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 0%), rgb(255 255 255 / .75), rgb(255 255 255 / 0) 55%); transform: translateZ(1px); }
.vk.tilting .vk-glare { opacity: 1; }
.vk.past { opacity: .55; filter: saturate(.4); }
.vk.is-now .vk-inner { border-color: var(--vc); box-shadow: 0 0 0 2px var(--vc), 0 24px 50px -20px var(--vc); }

/* Binnenkomen in 3D bij scrollen (alleen als JS draait) */
.js-fx .vk { opacity: 0; transform: translateY(40px) rotateX(-28deg) scale(.96); transform-origin: 50% 100%;
  transition: opacity .7s ease, transform .9s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(var(--i) * 90ms); }
.js-fx .vk.in { opacity: 1; transform: none; }
.js-fx .vk.past.in { opacity: .55; }

.as-table { margin-top: 8px; }
.as-table summary { cursor: pointer; font-weight: 600; color: var(--brand-2); margin-bottom: 12px; }

@media (prefers-reduced-motion: reduce) {
  .js-fx .vk { opacity: 1; transform: none; transition: none; }
  .vk-inner { transition: none; }
}
