/* Wadlopen Texel — main.css */

@font-face {
  font-family: 'Signika';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/signika.woff2') format('woff2');
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url('../fonts/source-sans-3.woff2') format('woff2');
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: italic;
  font-weight: 200 900;
  font-display: swap;
  src: url('../fonts/source-sans-3-italic.woff2') format('woff2');
}

:root {
  --sand: #ebdfd2;           /* bron: #dfcab5, lichter gemaakt */
  --sand-dark: #d3bba3;
  --primary: #9cafb4;        /* blauwgrijs: bovenbalk, oproep, footer */
  --primary-dark: #7f9590;
  --ink: #000;
  --text: #5c6b6e;           /* bron: #7f8e91, iets donkerder voor leesbaarheid */
  --deep: #2e3b3e;           /* achterkant quizkaarten */
  --bottom: #2c2e36;
  --white: #fff;
  --lilac: #a48bb5;

  --font-head: 'Signika', Arial, Helvetica, sans-serif;
  --font-body: 'Source Sans 3', Arial, Helvetica, sans-serif;

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --container: 1040px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --radius: 4px;
  --header-h: 88px;
  --header-pad: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .001ms !important; animation-duration: .001ms !important; }
}
body {
  margin: 0;
  background: var(--sand);
  color: var(--text);
  font-family: var(--font-body);
  font-size: clamp(1.0625rem, 1rem + .25vw, 1.1875rem);
  line-height: 1.7;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; height: auto; }
picture { display: contents; }
a { color: inherit; }
h1, h2, h3, .hero__title, .hero__sub { font-family: var(--font-head); font-weight: 500; line-height: 1.2; color: var(--ink); margin: 0 0 .6em; }
p, ul { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--bottom); outline-offset: 3px; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--white); color: var(--ink); padding: .5rem 1rem; }
.skip-link:focus { top: 1rem; }
.icon { width: 1em; height: 1em; flex: none; }

/* Animatie-gate: verberg alleen met JS */
[data-animate] { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
[data-animate].is-visible, html.no-js [data-animate] { opacity: 1; transform: none; }

.socials { list-style: none; display: flex; gap: .25rem; margin: 0; padding: 0; }
.socials a { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; color: var(--white); transition: background-color .25s, transform .25s var(--ease-out); }
.socials a:hover { background: rgba(255, 255, 255, .18); transform: translateY(-2px); }
.socials .icon { width: 1.1rem; height: 1.1rem; }
.socials--footer { gap: .75rem; }
.socials--footer .icon { width: 1.5rem; height: 1.5rem; }
.socials--footer { margin-left: -.8rem; }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid rgba(44, 46, 54, .06); transition: background-color .35s, border-color .35s, box-shadow .35s; }
.header.is-scrolled { box-shadow: 0 6px 24px rgba(44, 46, 54, .08); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: var(--header-h); padding-top: var(--header-pad); transition: min-height .3s var(--ease-out), padding-top .3s var(--ease-out); }
.header.is-scrolled .header__inner { min-height: calc(var(--header-h) - 14px); padding-top: 0; }
.header__logo { display: block; flex: none; border-radius: var(--radius); }
.header__logo { position: relative; }
.header__logo img { width: auto; height: 66px; transition: height .3s var(--ease-out), transform .35s var(--ease-out); }
.header.is-scrolled .header__logo img { height: 52px; }
.header__logo:hover img { transform: scale(1.03); }
.header__name { font-family: var(--font-head); font-size: 1.4rem; font-weight: 600; color: var(--ink); }

.nav { display: flex; align-items: center; gap: 1.25rem; }
.nav__list { list-style: none; display: flex; align-items: center; gap: .25rem; margin: 0; padding: 0; }
.nav__link { position: relative; display: block; padding: .5rem .85rem; font-family: var(--font-head); font-size: 1.0625rem; font-weight: 500; color: #3a3d46; text-decoration: none; transition: color .25s; }
.nav__link::after { content: ''; position: absolute; left: .85rem; right: .85rem; bottom: .3rem; height: 2px; border-radius: 2px; background: var(--lilac); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease-out); }
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after { transform: scaleX(1); }
.nav__link[aria-current] { color: var(--ink); }
.nav__link[aria-current]::after { transform: scaleX(1); }
.nav__meta { display: none; }

.header__toggle { display: none; }

@media (max-width: 979px) {
  :root { --header-h: 72px; --header-pad: 8px; }
  .header__logo img { height: 52px; }
  .header.is-scrolled .header__logo img { height: 44px; }
  .header__toggle { display: grid; place-items: center; width: 44px; height: 44px; margin-right: -8px; border: 0; border-radius: 50%; background: none; cursor: pointer; transition: background-color .25s; }
  .header__toggle:hover { background: rgba(223, 202, 181, .35); }
  .burger, .burger::before, .burger::after, .burger span { display: block; width: 22px; height: 2px; border-radius: 2px; background: var(--bottom); transition: transform .3s var(--ease-out), opacity .2s; }
  .burger { position: relative; background: none; }
  .burger::before, .burger::after { content: ''; position: absolute; left: 0; }
  .burger::before { top: -7px; } .burger::after { top: 7px; }
  [aria-expanded="true"] .burger::before { transform: translateY(7px) rotate(45deg); }
  [aria-expanded="true"] .burger::after { transform: translateY(-7px) rotate(-45deg); }
  [aria-expanded="true"] .burger span { opacity: 0; }

  .nav { position: absolute; inset: 100% 0 auto; flex-direction: column; align-items: stretch; gap: 1.25rem; padding: .75rem var(--gutter) 1.5rem; background: var(--white); box-shadow: 0 18px 30px rgba(44, 46, 54, .12); clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .45s var(--ease-out), visibility .45s; max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .nav.is-open { clip-path: inset(0 0 -40px 0); visibility: visible; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list li { opacity: 0; transform: translateY(-6px); transition: opacity .3s, transform .4s var(--ease-out); }
  .nav.is-open .nav__list li { opacity: 1; transform: none; }
  .nav.is-open .nav__list li:nth-child(2) { transition-delay: .04s; }
  .nav.is-open .nav__list li:nth-child(3) { transition-delay: .08s; }
  .nav.is-open .nav__list li:nth-child(4) { transition-delay: .12s; }
  .nav.is-open .nav__list li:nth-child(5) { transition-delay: .16s; }
  .nav__link { padding: .85rem .25rem; border-radius: 0; border-bottom: 1px solid rgba(44, 46, 54, .08); font-size: 1.25rem; }
  .nav__link:hover { background: none; }
  .nav__link::after { left: .25rem; right: auto; width: 1.5rem; bottom: .55rem; }
  .nav__cta { justify-content: center; }
  .nav__meta { display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-size: .95rem; }
  .nav__meta > a { display: inline-flex; align-items: center; gap: .4rem; color: var(--text); text-decoration: none; }
  .socials--menu a { color: var(--bottom); }
  .socials--menu a:hover { background: rgba(223, 202, 181, .4); }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: clamp(360px, 58vh, 620px); display: flex; align-items: flex-end; overflow: hidden; color: var(--white); background: var(--primary); }
.hero--large { min-height: clamp(440px, 72vh, 760px); }
.hero__media { position: absolute; inset: -8% 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(22, 32, 36, .62) 0%, rgba(22, 32, 36, .18) 45%, rgba(22, 32, 36, 0) 70%), linear-gradient(90deg, rgba(22, 32, 36, .25), rgba(22, 32, 36, 0) 55%); }
.hero__text { position: relative; z-index: 1; padding-block: 2.5rem clamp(2.25rem, 5vw, 4rem); }
.hero__title, .hero__sub { color: var(--white); margin: 0; }
.hero__title { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); font-weight: 600; letter-spacing: -.01em; line-height: 1.05; text-shadow: 0 2px 20px rgba(0, 0, 0, .2); }
.hero--large .hero__title { font-size: clamp(2.6rem, 1.6rem + 4.2vw, 5rem); }
.hero__sub { margin-top: .6rem; font-family: var(--font-body); font-size: clamp(1.1rem, 1rem + .5vw, 1.4rem); font-weight: 400; line-height: 1.45; opacity: .95; }
.hero__btn { margin-top: 1.75rem; }
.hero__title { animation: hero-in 1s var(--ease-out) both .1s; }
.hero__sub { animation: hero-in 1s var(--ease-out) both .22s; }
.hero__btn { animation: hero-in 1s var(--ease-out) both .34s; }
@keyframes hero-in { from { opacity: 0; transform: translateY(18px); } }
.hero--plain { min-height: 220px; }

/* ---------- Content ---------- */
.section { padding-block: clamp(2.5rem, 5vw, 4rem); }
.page-title { font-size: clamp(1.9rem, 1.45rem + 1.9vw, 3.1rem); }
.prose { max-width: 36rem; }
.prose a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover { color: var(--bottom); text-decoration-thickness: 2px; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .5em; }
.template-default .prose:has(ul) { max-width: 46rem; }

.home-grid { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .home-grid { grid-template-columns: 1fr 260px; gap: 4rem; align-items: start; } .home-grid .prose { max-width: 38rem; } }

/* ---------- Quiz flip cards ---------- */
.quiz { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
@media (min-width: 900px) { .quiz { grid-template-columns: 1fr; position: sticky; top: calc(var(--header-h) + 1.5rem); } }
.flip { display: block; width: 100%; aspect-ratio: 14 / 15; padding: 0; border: 0; background: none; perspective: 1000px; cursor: pointer; font: inherit; text-align: center; }
.flip__inner { position: relative; display: block; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .8s var(--ease-out); }
.flip[aria-pressed="true"] .flip__inner { transform: rotateY(180deg); }
@media (hover: hover) { .flip:hover .flip__inner { transform: rotateY(180deg); } .flip:hover[aria-pressed="true"] .flip__inner { transform: none; } }
.flip__face { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .75rem; padding: 1.25rem; backface-visibility: hidden; -webkit-backface-visibility: hidden; overflow: hidden; border-radius: var(--radius); box-shadow: 0 6px 20px rgba(0, 0, 0, .12); }
.flip__front img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.flip__front::after { content: ''; position: absolute; inset: 0; background: rgba(255, 255, 255, .12); }
.flip__icon { position: relative; z-index: 1; display: grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: 50%; background: var(--white); color: var(--primary-dark); }
.flip__icon .icon { width: 1.6rem; height: 1.6rem; }
.flip__question { position: relative; z-index: 1; font-family: var(--font-head); font-weight: 600; font-size: 1.85rem; line-height: 1.1; color: var(--ink); text-shadow: 0 0 10px rgba(255, 255, 255, .8), 0 0 2px rgba(255, 255, 255, .9); }
.flip__back { background: var(--deep); color: var(--white); transform: rotateY(180deg); }
.flip__answer { font-family: var(--font-head); font-size: 1.75rem; font-weight: 500; }
.flip__text { font-size: 1rem; line-height: 1.5; opacity: .9; }
.flip:focus-visible { outline-offset: 4px; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: .65rem; margin-top: 2.5rem; }
@media (min-width: 640px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .gallery { grid-template-columns: repeat(5, 1fr); } }
.gallery__item { display: block; overflow: hidden; border-radius: var(--radius); border: 1px solid rgba(255, 255, 255, .55); box-shadow: 0 1px 4px rgba(0, 0, 0, .06); transition: box-shadow .35s, transform .35s var(--ease-out); }
.gallery__item img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .6s var(--ease-out); }
.gallery__item:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0, 0, 0, .14); }
.gallery__item:hover img { transform: scale(1.06); }
.gallery + .gallery--album { margin-top: .65rem; }

/* ---------- Lightbox ---------- */
.lightbox { padding: 0; border: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; overflow: hidden; }
.lightbox::backdrop { background: rgba(20, 24, 26, .92); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox__img { max-width: min(92vw, 1800px); max-height: 86vh; width: auto; height: auto; object-fit: contain; border-radius: var(--radius); }
.lightbox__img.is-changing { opacity: 0; transform: scale(.98); }
.lightbox__img { transition: opacity .3s, transform .3s var(--ease-out); }
.lightbox__btn { position: fixed; display: grid; place-items: center; width: 3rem; height: 3rem; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: var(--white); cursor: pointer; transition: background-color .25s, transform .25s var(--ease-out); }
.lightbox__btn:hover { background: rgba(255, 255, 255, .25); }
.lightbox__btn .icon { width: 1.5rem; height: 1.5rem; }
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__prev { left: 1rem; top: 50%; translate: 0 -50%; }
.lightbox__next { right: 1rem; top: 50%; translate: 0 -50%; }
.lightbox__prev:hover { transform: translateX(-3px); }
.lightbox__next:hover { transform: translateX(3px); }

/* ---------- CTA ---------- */
.cta { background: var(--primary); padding-block: clamp(3rem, 6vw, 4.5rem); text-align: center; }
.cta__title { color: var(--white); font-size: clamp(1.4rem, 1.2rem + .9vw, 2rem); margin-bottom: 1.25rem; }
.btn { display: inline-flex; align-items: center; gap: .6rem; padding: 1rem 1.75rem; background: var(--primary-dark); color: var(--white); font-family: var(--font-head); font-weight: 600; font-size: clamp(1.1rem, 1rem + .5vw, 1.5rem); text-decoration: none; border-radius: var(--radius); box-shadow: 0 2px 0 rgba(0, 0, 0, .08); transition: background-color .3s, transform .3s var(--ease-out), box-shadow .3s; }
.btn .icon { transition: transform .35s var(--ease-out); }
.btn:hover { background: #6f8580; transform: translateY(-2px); box-shadow: 0 10px 20px rgba(0, 0, 0, .14); }
.btn:hover .icon { transform: translateX(4px); }
.btn:focus-visible { outline-color: var(--white); }

/* ---------- Map ---------- */
.map { background: #a9d3df; }
.map img { width: 100%; height: clamp(180px, 17vw, 330px); object-fit: cover; }

/* ---------- Footer ---------- */
.footer { background: var(--primary); color: var(--white); font-size: 1rem; line-height: 1.6; }
.footer__grid { display: grid; gap: 2rem; padding-block: 3rem; }
@media (min-width: 768px) { .footer__grid { grid-template-columns: 1fr 1.3fr .8fr; } }
.footer__title { color: var(--white); font-size: 1.6rem; margin-bottom: .5rem; }
.footer p { margin: 0 0 .75em; }
.footer a { color: var(--white); }
.footer__bottom { background: var(--bottom); padding-block: .9rem; font-family: var(--font-head); font-size: .95rem; }
.footer__bottom a { text-decoration: none; }
.footer__bottom a:hover { text-decoration: underline; }


/* Footer credits row */
.site-footer__credits { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .5rem 1.25rem; text-align: center; }
.site-footer__credits p { margin: 0; }

/* Webjongens credit with typewriter */
.credit { --credit-heart: var(--lilac); display: inline-flex; align-items: center; gap: .4rem; margin: 0; white-space: nowrap; }
.footer .credit__link { display: inline-flex; align-items: center; gap: .35rem; color: #fff; text-decoration: none; letter-spacing: .02em; }
.credit__link strong { font-weight: 700; }
.footer .credit__link:hover { text-decoration: none; }
.credit__link:hover span { text-decoration: underline; text-underline-offset: .2em; }
.credit__link:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 4px; }
.credit__heart { width: 1.1rem; height: 1.1rem; fill: var(--credit-heart); transition: transform 200ms cubic-bezier(.16, 1, .3, 1); }
.credit__link:hover .credit__heart { transform: scale(1.2); }
.credit__typed { display: inline-flex; align-items: center; gap: .4rem; min-width: 6.5em; color: rgb(255 255 255 / .72); }
.credit__cursor { display: inline-block; width: 2px; height: 1.1em; margin-left: 1px; background: currentColor; animation: credit-blink 1s step-end infinite; }
@keyframes credit-blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .credit__cursor { animation: none; } .credit__heart { transition: none; } }

/* Button variants */
.btn--small { padding: .65rem 1.2rem; font-size: 1rem; border-radius: 999px; background: var(--bottom); }
.btn--small:hover { background: #3f424d; }
.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { background: var(--sand); }
.btn--light:focus-visible { outline-color: var(--white); }

/* ---------- Header over de hoofdfoto (L4) ---------- */
.header__logo .header__logo-img { transition: height .3s var(--ease-out), transform .35s var(--ease-out), opacity .35s; }
.header__logo-img--light { position: absolute; left: 0; top: 0; opacity: 0; pointer-events: none; }
/* Vast (fixed) i.p.v. sticky: het krimpen bij scrollen mag de pagina niet laten verspringen */
.header--overlay { position: fixed; left: 0; right: 0; }
.header--overlay + main > .hero:first-child { padding-top: calc(var(--header-h) + var(--header-pad)); }
.header--overlay + main > .hero:first-child::before { content: ''; position: absolute; inset: 0 0 auto; z-index: 1; height: calc(var(--header-h) + 80px); background: linear-gradient(to bottom, rgba(22, 32, 36, .5), rgba(22, 32, 36, 0)); pointer-events: none; }
.header--overlay:not(.is-scrolled):not(.is-open) { background: transparent; border-bottom-color: transparent; }
.header--overlay:not(.is-scrolled):not(.is-open) .header__logo-img { opacity: 0; }
.header--overlay:not(.is-scrolled):not(.is-open) .header__logo-img--light { opacity: 1; }
.header--overlay:not(.is-scrolled):not(.is-open) .burger,
.header--overlay:not(.is-scrolled):not(.is-open) .burger::before,
.header--overlay:not(.is-scrolled):not(.is-open) .burger::after,
.header--overlay:not(.is-scrolled):not(.is-open) .burger span { background-color: var(--white); }
.header--overlay:not(.is-scrolled):not(.is-open) .burger { background: none; }
.header--overlay:not(.is-scrolled):not(.is-open) .header__toggle:hover { background: rgba(255, 255, 255, .15); }
.header--overlay:not(.is-scrolled):not(.is-open) :focus-visible { outline-color: var(--white); }
@media (min-width: 980px) {
  .header--overlay:not(.is-scrolled) .nav__link { color: var(--white); text-shadow: 0 1px 8px rgba(0, 0, 0, .25); }
  .header--overlay:not(.is-scrolled) .nav__link::after { background: var(--white); }
  .header--overlay:not(.is-scrolled) .nav__cta { background: var(--white); color: var(--ink); }
  .header--overlay:not(.is-scrolled) .nav__cta:hover { background: var(--sand); }
}

/* ---------- Footer-logo (L5) ---------- */
@media (min-width: 768px) { .footer__grid--logo { grid-template-columns: 1fr 1fr 1.3fr .8fr; } }
.footer__brand img { width: 100%; max-width: 220px; height: auto; transition: transform .35s var(--ease-out); }
.footer__brand a { display: inline-block; border-radius: var(--radius); }
.footer__brand a:hover img { transform: scale(1.03); }

/* ---------- Socials in de header ---------- */
.socials--header { padding-left: 1rem; border-left: 1px solid rgba(44, 46, 54, .15); }
.socials--header { gap: .35rem; }
.socials--header a { width: 2.75rem; height: 2.75rem; color: #3a3d46; transition: color .25s, transform .25s var(--ease-out); }
.socials--header .icon { width: 1.45rem; height: 1.45rem; }
.socials--header a:hover { background: none; color: var(--lilac-dark, #6e4f86); }
.header--overlay:not(.is-scrolled) .socials--header { border-left-color: rgba(255, 255, 255, .35); }
.header--overlay:not(.is-scrolled) .socials--header a { color: var(--white); }
.header--overlay:not(.is-scrolled) .socials--header a:hover { color: var(--white); background: none; }
@media (max-width: 979px) { .socials--header { display: none; } }

/* Ondertitel op één regel vanaf tablet */
@media (min-width: 768px) { .hero__sub { white-space: nowrap; } }

/* ---------- Introkaart homepage (optie A) ---------- */
:root { --sand-pale: #f5ede4; --lilac-dark: #6e4f86; }
.intro { position: relative; }
.intro__card { display: grid; gap: 2rem; background: var(--sand-pale); border-radius: 18px; padding: clamp(1.5rem, 4vw, 3.25rem); box-shadow: 0 24px 50px rgba(44, 46, 54, .14); }
@media (min-width: 900px) { .intro__card { grid-template-columns: 1.5fr 1fr; gap: 3rem; } .intro__card--solo { grid-template-columns: 1fr; } }
.kicker { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-head); font-size: .85rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--lilac-dark); }
.kicker::before { content: ''; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.intro__title { font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.6rem); font-weight: 600; line-height: 1.12; letter-spacing: -.01em; margin: 0 0 1.25rem; }
.intro__quote { color: #4d5a5d; }
.intro__text p { margin: 0 0 1rem; color: #4d5a5d; }
.intro__text p:first-child { font-size: clamp(1.15rem, 1.05rem + .4vw, 1.32rem); line-height: 1.6; color: #3f4a4d; }
.intro__btn { margin-top: .5rem; font-size: 1.1rem; }
.btn--dark { background: var(--bottom); border-radius: 999px; }
.btn--dark:hover { background: #3f424d; }
.intro__more { max-width: none; margin-top: 3rem; color: #4d5a5d; }

/* Compacte quizkaarten in de introkaart */
.quiz--compact { display: grid; gap: 1rem; align-content: start; grid-template-columns: 1fr; position: static; }
@media (min-width: 600px) and (max-width: 899px) { .quiz--compact { grid-template-columns: 1fr 1fr; } }
.quiz--compact .flip { aspect-ratio: auto; height: 170px; text-align: left; }
.quiz--compact .flip__face { border-radius: 14px; }
.quiz--compact .flip__front { align-items: flex-start; justify-content: flex-end; padding: 1rem 1.2rem; }
.quiz--compact .flip__front::after { background: linear-gradient(to top, rgba(22, 32, 36, .75), rgba(22, 32, 36, 0) 65%); }
.quiz--compact .flip__question { font-size: 1.3rem; line-height: 1.15; color: var(--white); text-shadow: none; }
.quiz--compact .flip__icon { position: absolute; top: .85rem; left: 1rem; width: 2.6rem; height: 2.6rem; box-shadow: 0 2px 10px rgba(0, 0, 0, .15); }
.quiz--compact .flip__icon .icon { width: 1.3rem; height: 1.3rem; }
.quiz--compact .flip__back { align-items: flex-start; text-align: left; gap: .4rem; padding: 1.25rem 1.5rem; }
.quiz--compact .flip__answer { font-size: 1.5rem; font-weight: 600; }
.quiz--compact .flip__text { font-size: .98rem; }

/* Flipkaart: de afgewende kant op het kantelpunt (90°, na ca. 0,1s door de ease-out) helemaal verbergen,
   zodat er niets van doorschijnt (gespiegelde tekst, randjes) */
.flip__front, .flip__back { transition: visibility 0s .1s; }
.flip__back { visibility: hidden; }
.flip[aria-pressed="true"] .flip__front { visibility: hidden; }
.flip[aria-pressed="true"] .flip__back { visibility: visible; }
@media (hover: hover) {
  .flip:hover .flip__front { visibility: hidden; }
  .flip:hover .flip__back { visibility: visible; }
  .flip:hover[aria-pressed="true"] .flip__front { visibility: visible; }
  .flip:hover[aria-pressed="true"] .flip__back { visibility: hidden; }
}

/* ---------- Fotoalbum (A1) ---------- */
.album-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-top: 3rem; }
.album-head + .gallery { margin-top: 1.25rem; }
.album-head__title { font-size: clamp(1.45rem, 1.2rem + 1vw, 1.9rem); font-weight: 600; line-height: 1.1; margin: 0; }
.album-head__link { margin-left: auto; display: inline-flex; align-items: center; gap: .4rem; font-family: var(--font-head); font-weight: 600; color: var(--bottom); text-decoration: none; white-space: nowrap; }
.album-head__link .icon { width: 1.1rem; height: 1.1rem; transition: transform .3s var(--ease-out); }
.album-head__link:hover .icon { transform: translateX(4px); }
.gallery { gap: clamp(.65rem, 1.5vw, 1rem); }
.gallery__item { position: relative; border: 0; border-radius: 14px; box-shadow: 0 6px 18px rgba(44, 46, 54, .1); }
.gallery__item::after { content: ''; position: absolute; inset: 0; background: rgba(22, 32, 36, 0); transition: background .35s; pointer-events: none; }
.gallery__item:hover { transform: none; box-shadow: 0 10px 24px rgba(44, 46, 54, .16); }
.gallery__item:hover::after { background: rgba(22, 32, 36, .15); }
.gallery__item img { transition: transform .7s var(--ease-out); }
.gallery__item:hover img { transform: scale(1.07); }
.gallery__zoom { position: absolute; z-index: 1; right: .7rem; bottom: .7rem; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: rgba(255, 255, 255, .95); color: var(--bottom); display: grid; place-items: center; opacity: 0; transform: scale(.7); transition: opacity .3s, transform .35s var(--ease-out); }
.gallery__zoom .icon { width: 1.05rem; height: 1.05rem; }
.gallery__item:hover .gallery__zoom, .gallery__item:focus-visible .gallery__zoom { opacity: 1; transform: none; }

/* ---------- Oproep (C3, zonder golf) ---------- */
.cta { position: relative; padding-block: clamp(3rem, 6vw, 4.25rem); }
.cta__title { font-weight: 600; font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.2rem); margin-bottom: .5rem; }
.cta__text { color: rgba(255, 255, 255, .92); font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); max-width: 36rem; margin: 0 auto 1.6rem; }
.btn--pill { background: var(--white); color: var(--ink); border-radius: 999px; font-size: 1.15rem; padding: .95rem 1.7rem; }
.btn--pill:hover { background: var(--white); }
.btn--pill:focus-visible { outline-color: var(--white); }
.cta__alt { margin: 1rem 0 0; color: var(--white); font-size: 1rem; opacity: .9; }
.cta__alt a { color: var(--white); text-underline-offset: 3px; }
.cta__title + .btn { margin-top: .75rem; }

/* ---------- Contactgegevens ---------- */
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); }
.page-title + .contact-list, .prose + .contact-list { margin-top: .5rem; }
.contact-list li { display: flex; align-items: center; gap: 1rem; line-height: 1.4; }
.contact-list a { color: var(--ink); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .3s var(--ease-out); }
.contact-list a:hover { background-size: 100% 1px; }
.contact-list__icon { flex: none; display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--white); color: var(--primary-dark); box-shadow: 0 2px 10px rgba(0, 0, 0, .08); }
.contact-list__icon .icon { width: 1.4rem; height: 1.4rem; }

/* ---------- Excursiepagina (S2) ---------- */
.template-excursies .prose { max-width: 36rem; }
.template-excursies .page-title { font-weight: 600; font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.6rem); line-height: 1.12; letter-spacing: -.01em; }
.template-excursies .prose strong { color: var(--ink); font-weight: 600; }
.template-excursies .prose h2 { font-weight: 600; font-size: clamp(1.25rem, 1.15rem + .4vw, 1.45rem); line-height: 1.2; margin: 2rem 0 .9rem; }
/* Eerste lijst: lichte vlakjes */
.template-excursies .prose > ul:first-of-type { list-style: none; padding: 0; display: grid; gap: .9rem; }
.template-excursies .prose > ul:first-of-type li { margin: 0; background: rgba(255, 255, 255, .45); border-radius: 14px; padding: 1.1rem 1.35rem; }
.template-excursies .prose > ul:first-of-type br { display: none; }
.template-excursies .prose > ul:first-of-type em { display: block; margin-top: .25rem; font-style: normal; font-size: .95rem; opacity: .85; }
/* Lijst onder een kopje: vinkjes */
.template-excursies .prose h2 + ul { list-style: none; padding: 0; }
.template-excursies .prose h2 + ul li { position: relative; padding-left: 2rem; }
.template-excursies .prose h2 + ul li::before { content: ''; position: absolute; left: 0; top: .28rem; width: 1.3rem; height: 1.3rem; border-radius: 50%; background: var(--primary-dark) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6L21 7.5 19.6 6z'/%3E%3C/svg%3E") center / 70% no-repeat; }
/* Citaatregel: schildje in licht vlakje */
.template-excursies .prose blockquote { position: relative; margin: 1.75rem 0 1.25rem; background: rgba(255, 255, 255, .45); border-radius: 14px; padding: 1rem 1.35rem 1rem 3.4rem; }
.template-excursies .prose blockquote::before { content: ''; position: absolute; left: 1.35rem; top: 1.2rem; width: 1.35rem; height: 1.35rem; background: var(--primary-dark); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1 3 5v6c0 5.5 3.8 10.7 9 12 5.2-1.3 9-6.5 9-12V5l-9-4zm-2 16-4-4 1.4-1.4 2.6 2.6 6.6-6.6L18 9l-8 8z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1 3 5v6c0 5.5 3.8 10.7 9 12 5.2-1.3 9-6.5 9-12V5l-9-4zm-2 16-4-4 1.4-1.4 2.6 2.6 6.6-6.6L18 9l-8 8z'/%3E%3C/svg%3E") center / contain no-repeat; }
.template-excursies .prose blockquote p { margin: 0; }

/* ---------- Over mij (O3) ---------- */
.about .page-title { font-weight: 600; font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.6rem); line-height: 1.12; letter-spacing: -.01em; }
.about__quote { font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: clamp(1.4rem, 1.2rem + .8vw, 1.75rem); line-height: 1.25; margin: 0 0 1.5rem; }
.about__quote span { color: #4d5a5d; }
.about__text p:first-child { font-size: clamp(1.15rem, 1.05rem + .4vw, 1.28rem); line-height: 1.6; color: #3f4a4d; }
.about__sign { display: flex; align-items: center; gap: 1rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(44, 46, 54, .14); }
.about__sign img { flex: none; width: 4rem; height: 4rem; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--sand-pale); }
.about__sign p { margin: 0; line-height: 1.45; }
.about__sign span { display: block; }
.about__greeting { font-size: 1rem; }
.about__name { font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: 1.35rem; line-height: 1.2; }
.about__role { font-size: .95rem; opacity: .85; }
.contact-list__handle { color: var(--text); }
/* Contactgegevens als lichte blokjes */
.contact-list { gap: .9rem; max-width: 46rem; }
@media (min-width: 768px) { .contact-list { grid-template-columns: 1fr 1fr; } }
.contact-list li { position: relative; background: rgba(255, 255, 255, .45); border-radius: 14px; padding: 1rem 1.25rem; transition: background .3s, transform .3s var(--ease-out), box-shadow .3s; }
.contact-list li:has(a:hover) { background: rgba(255, 255, 255, .7); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(44, 46, 54, .1); }
.contact-list a::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.contact-list a:focus-visible { outline: none; }
.contact-list li:has(a:focus-visible) { outline: 2px solid var(--bottom); outline-offset: 2px; }
/* Foto naast de tekst */
.about-grid--photo { display: grid; gap: 2rem; }
@media (min-width: 900px) { .about-grid--photo { grid-template-columns: minmax(0, 36rem) minmax(0, 380px); gap: 4rem; justify-content: space-between; align-items: start; } }
.about__photo { margin: 0; }
@media (min-width: 900px) { .about__photo { position: sticky; top: calc(var(--header-h) + 1.5rem); margin-top: 4.5rem; } }
.about__photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 18px; box-shadow: 0 16px 36px rgba(44, 46, 54, .14); }
@media (max-width: 899px) { .about__photo img { aspect-ratio: 4 / 3; } }
/* Zeester naast de contactgegevens */
.contact-wrap { position: relative; }
.contact-wrap__deco { display: none; }
@media (min-width: 980px) {
  .contact-wrap { display: flex; align-items: center; gap: 3rem; }
  .contact-wrap .contact-list { flex: 0 0 46rem; }
  .contact-wrap__deco { display: block; flex: 0 1 230px; min-width: 0; width: 230px; height: auto; margin-inline: auto; opacity: .3; transform: translateY(-2.75rem) rotate(-8deg); pointer-events: none; }
}
/* Footer op mobiel gecentreerd */
@media (max-width: 767px) {
  .footer__grid { text-align: center; justify-items: center; }
  .footer__brand img { margin-inline: auto; }
  .socials--footer { justify-content: center; margin-left: 0; }
}
/* Fotoraster: laatste rij altijd vol (geen gat bij een oneven aantal) */
@media (max-width: 639px) {
  .gallery__item:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .gallery__item:last-child:nth-child(odd) img { aspect-ratio: 2 / 1; }
}
@media (min-width: 640px) and (max-width: 1023px) {
  .gallery { grid-template-columns: repeat(6, 1fr); }
  .gallery__item { grid-column: span 2; }
  .gallery__item:last-child:nth-child(3n+1) { grid-column: 1 / -1; }
  .gallery__item:last-child:nth-child(3n+1) img { aspect-ratio: 3 / 1; }
  .gallery__item:nth-last-child(2):nth-child(3n+1), .gallery__item:nth-last-child(2):nth-child(3n+1) + .gallery__item { grid-column: span 3; }
  .gallery__item:nth-last-child(2):nth-child(3n+1) img, .gallery__item:nth-last-child(2):nth-child(3n+1) + .gallery__item img { aspect-ratio: 3 / 2; }
}
/* Mobiel menu open: achtergrond vervagen */
@media (max-width: 979px) {
  body > :not(.header):not(script):not(dialog) { transition: filter .35s var(--ease-out); }
  body:has(.header.is-open) > :not(.header):not(script):not(dialog) { filter: blur(6px) brightness(.92); pointer-events: none; user-select: none; }
}
@media (prefers-reduced-motion: reduce) { body > * { transition: none !important; } }

/* ---------- Reviews (Elfsight) ---------- */
.reviews { padding-block: 0 clamp(3rem, 6vw, 4.5rem); }
.reviews__title { text-align: center; font-weight: 600; font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.2rem); margin: 0 0 1.75rem; }
.reviews [class^="elfsight-app-"] { min-height: 1px; }
/* WebP-varianten in <picture> */
.gallery__item picture, .flip__front picture { display: block; }
.about__sign picture { flex: none; display: block; line-height: 0; }
