/* SciMuse thema — huisstijl uit het brandbook (Scimuse identity)
   Koppen: DM Sans Bold (fallback voor Basis Grotesque)
   Tekst : STIX Two Text
   Kleur : donkerpaars #240F33, lavendel #EAEDFF, verloop rood → oranje */

@font-face { font-family: "DM Sans"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("../fonts/dm-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-weight: 500; font-style: normal; font-display: swap;
  src: url("../fonts/dm-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-weight: 700; font-style: normal; font-display: swap;
  src: url("../fonts/dm-sans-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "STIX Two Text"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("../fonts/stix-two-text-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "STIX Two Text"; font-weight: 400; font-style: italic; font-display: swap;
  src: url("../fonts/stix-two-text-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "STIX Two Text"; font-weight: 700; font-style: normal; font-display: swap;
  src: url("../fonts/stix-two-text-latin-700-normal.woff2") format("woff2"); }

:root {
  --purper: #240F33;
  --lavendel: #EAEDFF;
  --wit: #fff;
  --rood: #DE014A;
  --oranje-rood: #EE4A25;
  --oranje: #FF9400;
  --verloop: linear-gradient(180deg, var(--rood), var(--oranje-rood) 50%, var(--oranje));
  --verloop-knop: linear-gradient(90deg, var(--oranje-rood), var(--rood));
  --lijn: rgba(36, 15, 51, .16);
  --kop: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --tekst: "STIX Two Text", Georgia, "Times New Roman", serif;
  --max: 1120px;
  --nav-h: 72px;
  --r: 22px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--wit); color: var(--purper);
  font: 400 1.125rem/1.65 var(--tekst);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; }
h1, h2, h3 { font-family: var(--kop); font-weight: 700; line-height: 1.1; letter-spacing: -.012em; margin: 0 0 .6em; }
p { margin: 0 0 1em; }
a { color: inherit; text-decoration-color: var(--oranje-rood); text-underline-offset: .2em; text-decoration-thickness: 1.5px; }
:focus-visible { outline: 3px solid var(--oranje-rood); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--purper); color: var(--wit); padding: .7rem 1rem; }
.skip:focus { left: 0; }
.wrap { max-width: var(--max); margin: 0 auto; }
.wrap--smal { max-width: 760px; }

/* ---------- Navigatie ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .84);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.nav.is-scrolled { border-color: rgba(36, 15, 51, .1); box-shadow: 0 6px 24px rgba(36, 15, 51, .06); }
.nav__in { max-width: var(--max); margin: 0 auto; padding: 0 24px; height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.nav__logo { display: block; line-height: 0; }
.nav__logo img { height: 30px; width: auto; display: block; }
.nav nav { display: flex; align-items: center; gap: 2rem; }
.nav__lijst { display: flex; gap: 2.2rem; list-style: none; margin: 0; padding: 0; }
.nav__lijst a {
  font: 500 1rem var(--kop); text-decoration: none; padding: .5rem 0; position: relative;
}
.nav__lijst a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .15rem; height: 2px;
  background: var(--verloop-knop); transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.nav__lijst a:hover::after, .nav__lijst a[aria-current]::after { transform: scaleX(1); }
.nav__burger {
  display: none; width: 46px; height: 46px; border: 0; background: none; cursor: pointer; padding: 0; border-radius: 12px;
  position: relative;
}
.nav__burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--purper); border-radius: 2px; transition: transform .3s, top .3s; }
.nav__burger span:first-child { top: 19px; }
.nav__burger span:last-child { top: 26px; }
.nav__burger[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }

@media (max-width: 800px) {
  .nav__burger { display: block; }
  .nav nav { position: absolute; top: var(--nav-h); left: 0; right: 0; background: var(--wit); border-bottom: 1px solid rgba(36, 15, 51, .1);
    display: none; }
  .nav nav.is-open { display: block; }
  .nav__lijst { flex-direction: column; gap: 0; padding: .6rem 24px 1.2rem; }
  .nav__lijst a { display: block; padding: .9rem 0; font-size: 1.15rem; }
  .nav__lijst a::after { display: none; }
  .nav__taal { padding: 0 24px 1.4rem; }
}

/* ---------- Rustige lijnen ---------- */
.lijnen { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.lijnen path { fill: none; stroke: var(--lijn); stroke-width: 1.3; vector-effect: non-scaling-stroke; }
.lijnen path:nth-child(1) { animation: drift-a 80s ease-in-out infinite alternate; }
.lijnen path:nth-child(2) { animation: drift-b 100s ease-in-out infinite alternate; }
.lijnen path:nth-child(3) { animation: drift-a 120s ease-in-out infinite alternate-reverse; }
@keyframes drift-a { from { transform: translate3d(-3%, -1%, 0); } to { transform: translate3d(3%, 2%, 0); } }
@keyframes drift-b { from { transform: translate3d(2%, 2%, 0); } to { transform: translate3d(-3%, -2%, 0); } }
.lijnen--licht path { stroke: rgba(255, 255, 255, .38); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: calc(100svh - var(--nav-h)); min-height: calc(100vh - var(--nav-h));
  display: grid; place-items: center; text-align: center; padding: 5rem 24px;
}
@supports (min-height: 100svh) { .hero { min-height: calc(100svh - var(--nav-h)); } }
.hero__tekst { position: relative; z-index: 2; max-width: 1000px; }
.hero h1 { font-size: clamp(2.2rem, 5.4vw, 4.3rem); margin-bottom: .45em; }
.hero h1 .serif { display: block; font-family: var(--tekst); font-weight: 400; letter-spacing: 0; line-height: 1.12; }
.hero__lead { font-size: clamp(1.1rem, 1.7vw, 1.3rem); max-width: 40ch; margin: 0 auto 1.8rem; }
.hero__knoppen { display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; }

.hero--verloop { background: var(--verloop); color: var(--wit); }
.hero--verloop .lijnen path { stroke: rgba(255, 255, 255, .38); }
.hero--lavendel { background: var(--lavendel); }
.hero--lavendel .lijnen path { stroke: rgba(255, 255, 255, .95); }

/* Knoppen — wit op #EE4A25 haalt ca. 3,7:1; daarom groot en vet (WCAG: groot lettertype) */
.knop {
  display: inline-block; font: 700 1.2rem/1 var(--kop); padding: 1rem 1.9rem; border-radius: 999px;
  text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s;
}
.knop:hover { transform: translateY(-2px); }
.knop--vol { background: var(--verloop-knop); color: var(--wit); box-shadow: 0 10px 28px rgba(222, 1, 74, .28); }
.knop--rand { background: rgba(255, 255, 255, .7); color: var(--purper); border-color: rgba(36, 15, 51, .35); }
.hero--verloop .knop--vol { background: var(--wit); color: var(--purper); box-shadow: 0 10px 28px rgba(36, 15, 51, .22); }
.hero--verloop .knop--rand { background: transparent; color: var(--wit); border-color: var(--wit); }

/* ---------- Drijvende foto's ---------- */
.muse { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; z-index: 1; pointer-events: none; }
.muse li {
  position: absolute; left: var(--x); top: var(--y); width: var(--s); aspect-ratio: 1; border-radius: 50%;
  box-shadow: 0 16px 44px rgba(36, 15, 51, .2); overflow: hidden; background: var(--lavendel);
  animation: zweef 9s ease-in-out infinite alternate; animation-delay: var(--d, 0s);
}
.muse img { display: block; width: 100%; height: 100%; object-fit: cover; }
@keyframes zweef { from { transform: translateY(0); } to { transform: translateY(-14px); } }
/* Plaatshouders als er nog geen foto's zijn */
.muse__ph { background: radial-gradient(circle at 30% 28%, #fff 0%, #dfe3ff 45%, #b9a9e8 100%); }
.muse li:nth-child(2n).muse__ph { background: radial-gradient(circle at 30% 28%, #fff 0%, #ffd9c7 45%, #f58b5c 100%); }
.muse li:nth-child(3n).muse__ph { background: radial-gradient(circle at 30% 28%, #fff 0%, #ffc7d9 45%, #e0527f 100%); }

@media (max-width: 760px) {
  .hero { display: flex; flex-direction: column; justify-content: center; padding-top: 2rem; }
  .muse { position: relative; inset: auto; width: 100%; height: min(78vw, 360px); order: -1; margin-bottom: 1rem; }
  .muse li { left: var(--mx); top: var(--my); width: var(--ms); }
  .muse li:nth-child(n+4) { display: none; }
}

/* ---------- Secties ---------- */
.sectie { position: relative; padding: clamp(4rem, 9vw, 8rem) 24px; }
.oogje { font: 700 .85rem/1 var(--kop); letter-spacing: .14em; text-transform: uppercase; margin: 0 0 1.4rem; color: var(--oranje-rood); }
.sectie h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); }

/* Het idee */
.sectie--idee { background: var(--lavendel); }
.sectie--idee h2 { max-width: 22ch; font-size: clamp(2rem, 4.4vw, 3.4rem); }
.sectie--idee .prose { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 3.5rem; margin-top: 2.5rem; }
.sectie--idee .prose p { margin: 0; }
.sectie--idee .prose strong { font: 700 .85rem var(--kop); letter-spacing: .1em; text-transform: uppercase; display: block; margin-bottom: .5rem; }
.idee__kijken { margin-top: 3.5rem; }
.idee__kijken h3 { font-size: 1.15rem; }
.chips { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; padding: 0; margin: 1rem 0 1.2rem; }
.chips li { font: 500 1rem var(--kop); border: 1.5px solid rgba(36, 15, 51, .4); border-radius: 999px; padding: .4rem 1rem; background: rgba(255, 255, 255, .55); }
.idee__noot { font-style: italic; margin: 0; max-width: 60ch; }
@media (max-width: 760px) { .sectie--idee .prose { grid-template-columns: 1fr; } }

/* Wie */
.sectie--wie { background: var(--wit); }
.wie__intro { max-width: 52ch; }
.wie__kop { font-size: 1.15rem; margin: 3rem 0 1.4rem; }
.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2.2rem 2rem; list-style: none; padding: 0; margin: 0; }
.persoon { display: flex; flex-direction: column; gap: .35rem; }
.persoon__foto {
  width: 132px; height: 132px; border-radius: 50%; overflow: hidden; margin-bottom: .8rem;
  background: var(--lavendel) url("../images/symbool-paars.svg") center / 46% no-repeat;
  box-shadow: 0 10px 28px rgba(36, 15, 51, .12);
}
.persoon__foto img { display: block; width: 100%; height: 100%; object-fit: cover; }
.persoon__naam { font: 700 1.2rem var(--kop); margin: 0; }
.persoon__rol { margin: 0; font-size: 1rem; }
.partners { display: flex; flex-wrap: wrap; gap: 1rem 1.2rem; list-style: none; padding: 0; margin: 0; }
.partner { display: flex; align-items: center; gap: .9rem; background: var(--lavendel); border-radius: 16px; padding: .9rem 1.2rem; min-width: 240px; }
.partner img { height: 36px; width: auto; }
.partner__naam { font: 700 1rem var(--kop); display: block; }
.partner__aard { font-size: .95rem; display: block; }
.wie__noot { margin-top: 2.5rem; font-size: .95rem; font-style: italic; }

/* Contact */
.sectie--contact { background: var(--purper); color: var(--lavendel); overflow: hidden; isolation: isolate; }
.sectie--contact .lijnen path { stroke: rgba(234, 237, 255, .28); }
.sectie--contact .wrap { position: relative; z-index: 2; }
.sectie--contact h2 { font-family: var(--tekst); font-weight: 400; letter-spacing: 0; color: var(--wit); font-size: clamp(2rem, 4.8vw, 3.8rem); max-width: 20ch; line-height: 1.12; }
.sectie--contact .oogje { color: var(--oranje); }
.contact__tekst { max-width: 52ch; margin-bottom: 2rem; }
.contact__mail { margin-top: 1.4rem; font: 500 1.05rem var(--kop); }
.sectie--contact .knop--vol { box-shadow: none; }

/* Voettekst */
.voet { background: var(--purper); color: var(--lavendel); padding: 2.2rem 24px 2.6rem; border-top: 1px solid rgba(234, 237, 255, .14); }
.voet__in { max-width: var(--max); margin: 0 auto; display: flex; gap: 1.5rem 2.5rem; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.voet img { height: 26px; width: auto; display: block; }
.voet p { margin: 0; font-size: .95rem; }
.voet a { color: inherit; }

/* Gewone pagina's (default.html.twig) */
.sectie--tekst { min-height: 60vh; }
.sectie--tekst h1 { font-size: clamp(2.2rem, 4.8vw, 3.6rem); }
.prose h2 { font-size: 1.8rem; margin-top: 2em; }
.prose h3 { font-size: 1.3rem; margin-top: 1.6em; }
.prose img { height: auto; border-radius: 14px; }
.prose blockquote { margin: 1.5em 0; padding-left: 1.2rem; border-left: 4px solid var(--oranje-rood); font-style: italic; }

/* ---------- Onthullen bij scrollen (alleen met JS) ---------- */
.js .onthul { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .onthul.is-zichtbaar { opacity: 1; transform: none; }

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

/* ---------- Contactformulier (Form-plugin) ---------- */
.contact__grid--formulier { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 3rem 5rem; align-items: start; }
@media (max-width: 860px) { .contact__grid--formulier { grid-template-columns: 1fr; } }
.contact__mail a { color: inherit; text-decoration-color: var(--oranje); }

.contact__form form { margin: 0; }
.contact__form .form-field, .contact__form .form-group, .contact__form .form-input-wrapper { display: block; width: 100%; float: none; margin: 0 0 1.3rem; padding: 0; }
.contact__form .form-label, .contact__form .form-data, .contact__form .pure-u-1, .contact__form [class*="pure-u-"] { display: block; width: 100%; float: none; padding: 0; }
.contact__form label { display: block; font: 500 1rem var(--kop); color: var(--lavendel); margin: 0 0 .45rem; }
.contact__form .required { color: var(--oranje); }
.contact__form input[type="text"], .contact__form input[type="email"], .contact__form select, .contact__form textarea {
  display: block; width: 100%; max-width: none; box-sizing: border-box; font: 400 1.1rem/1.4 var(--tekst);
  color: var(--purper); background: var(--lavendel); border: 2px solid transparent; border-radius: 14px; padding: .85rem 1rem;
  box-shadow: none; transition: border-color .2s, box-shadow .2s;
}
.contact__form textarea { min-height: 9rem; resize: vertical; }
.contact__form input:focus, .contact__form select:focus, .contact__form textarea:focus { outline: none; border-color: var(--oranje); box-shadow: 0 0 0 3px rgba(255, 148, 0, .35); }
.contact__form .buttons, .contact__form .form-buttons { margin: 1.6rem 0 0; padding: 0; }
.contact__form button, .contact__form input[type="submit"] {
  font: 700 1.2rem/1 var(--kop); padding: 1rem 1.9rem; border-radius: 999px; border: 2px solid transparent; cursor: pointer; color: var(--wit);
  background: var(--verloop-knop); transition: transform .2s;
}
.contact__form button:hover, .contact__form input[type="submit"]:hover { transform: translateY(-2px); }
/* Honeypot onzichtbaar voor mensen, zichtbaar voor spambots */
.contact__form .form-field-honeypot, .contact__form .honeypot, .contact__form [name*="honeypot"] { position: absolute; left: -9999px; height: 0; overflow: hidden; }
/* Meldingen (bedankt / fout) */
.contact__form .notices, .contact__form .alert, .contact__form .form-message {
  margin: 0 0 1.5rem; padding: 1rem 1.2rem; border-radius: 14px; background: rgba(234, 237, 255, .12); border: 1px solid rgba(234, 237, 255, .35); color: var(--wit);
}
.contact__form .notices.green, .contact__form .notices.success { border-color: #66d19e; }
.contact__form .notices.red, .contact__form .notices.error, .contact__form .alert-error { border-color: var(--oranje); }
.contact__form .notices p { margin: 0; }
.contact__form .form-errors, .contact__form .errors { color: var(--oranje); font-size: .95rem; }

/* ---------- Taalkeuze ---------- */
.nav__taal { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.nav__taal a { display: block; font: 700 .85rem/1 var(--kop); letter-spacing: .08em; text-decoration: none; padding: .5rem .7rem; border-radius: 999px; border: 1.5px solid transparent; }
.nav__taal a:hover { border-color: rgba(36, 15, 51, .3); }
.nav__taal a[aria-current="true"] { border-color: var(--purper); }
@media (max-width: 800px) { .nav__taal { padding: 0 13px 1.4rem; } }
