/* =====================================================================
   FAUJ — BASIS
   Kleuren, typografie, knoppen, navigatie, voettekst, animatie-basis
   ===================================================================== */

/* ---------- Lettertypes ----------
   Ze staan op de site zelf, in de map fonts/: bij een bezoek gaat er dus
   niets naar een andere dienst. Bricolage Grotesque (titels), Instrument
   Serif (schuine woorden) en Inter (tekst), alle drie gratis onder de SIL
   Open Font License (zie fonts/LEES-MIJ.txt).
   Per lettertype twee delen: "latin" (gewone tekst, ook é, ç en œ) en
   "latin-ext" (letters als ł of ş). De browser laadt enkel wat hij nodig heeft. */
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/bricolage-grotesque-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/bricolage-grotesque-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/bricolage-grotesque-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/bricolage-grotesque-latin-ext-700-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/bricolage-grotesque-latin-800-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/bricolage-grotesque-latin-ext-800-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/instrument-serif-latin-400-italic.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/instrument-serif-latin-ext-400-italic.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/instrument-serif-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/instrument-serif-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/inter-latin-ext-500-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/inter-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/inter-latin-ext-700-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* Het live voorbeeld bovenaan toont telkens een andere zaak, en elke zaak
   heeft een eigen lettertype (hetzelfde als op de volledige voorbeeldsite). */
@font-face { font-family: "Young Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/young-serif-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/jost-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "EB Garamond"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("../fonts/eb-garamond-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); }

@property --tint {
  syntax: '<color>';
  inherits: false;
  initial-value: #2B62FF;
}

:root {
  /* wit & zwart */
  --paper: #F5F7FC;
  --paper-2: #E7ECF6;
  --card: #FFFFFF;
  --ink: #0C0F1A;
  --ink-2: #2B3141;
  --mute: #5F677A;
  --line: rgba(12, 16, 32, .11);
  --line-2: rgba(12, 16, 32, .22);

  /* het blauw van FAUJ, met geel als tweede kleur */
  --accent: #2B62FF;
  --accent-deep: #1846E0;
  --accent-text: #2B62FF;
  --accent-soft: #E1EAFF;
  --lime: #FFE24A;           /* het geel (de naam "lime" komt van een oudere versie) */

  /* nacht */
  --night: #0A0D18;
  --night-2: #121726;
  --night-3: #1D2335;
  --on-night: #FFFFFF;
  --mute-night: #98A1B6;

  /* pastels */
  --peach: #DCE7FF;
  --lilac: #ECEFFA;
  --mint: #E2ECFF;
  --butter: #FFF2B3;
  --sky: #D3E2FF;

  --ok: #1E8E5A;
  --err: #C22F12;

  --r-sm: 12px;
  --r: 20px;
  --r-lg: 28px;
  --r-xl: clamp(28px, 4vw, 56px);

  --shadow-sm: 0 1px 2px rgba(12, 16, 32, .06), 0 6px 16px -8px rgba(12, 16, 32, .16);
  --shadow: 0 1px 2px rgba(12, 16, 32, .05), 0 18px 40px -18px rgba(12, 16, 32, .28);
  --shadow-lg: 0 2px 4px rgba(12, 16, 32, .05), 0 50px 90px -40px rgba(12, 16, 32, .45);
  /* een kaart die net boven het papier ligt: fijn randje, lichte bovenkant, zachte schaduw */
  --lift: 0 0 0 1px var(--line), inset 0 1px 0 rgba(255, 255, 255, .8), 0 16px 32px -24px rgba(12, 16, 32, .32);

  /* (vroeger lag hier een papierkorrel over; nu is de achtergrond strak) */
  --grain: none;
  --grain-light: none;

  --f-display: "Bricolage Grotesque", "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-body: "Inter", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --f-serif: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;

  --ease: cubic-bezier(.2, .75, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);

  --container: 1220px;
  --gutter: clamp(20px, 4vw, 40px);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

/* De papierkorrel zit in de achtergrond, ONDER de inhoud: het papier krijgt
   textuur, maar kaarten, foto's en voorbeeldsites blijven helder en fris. */
body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper) var(--grain);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overflow-x: clip;
}
@media (max-width: 560px) {
  body { font-size: 1rem; }
}

img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { -webkit-tap-highlight-color: transparent; }
a { color: inherit; -webkit-tap-highlight-color: transparent; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
[hidden] { display: none !important; }
::selection { background: var(--accent); color: #fff; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

/* ---------- Hulpklassen ---------- */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.ic {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: fixed;
  left: 16px; top: -80px;
  z-index: 300;
  padding: 12px 18px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 600;
  text-decoration: none;
  transition: top .2s;
}
.skip:focus { top: 16px; }

.container {
  width: min(var(--container), 100% - 2 * var(--gutter));
  margin-inline: auto;
}

main { overflow-x: clip; }

.section { padding-block: clamp(42px, 6vw, 84px); }
.section--tight { padding-top: clamp(8px, 2.4vw, 32px); }
/* na het donkere blok ("Hoe het werkt") krijgt het volgende blok weer gewone ruimte */
.night + .section--tight,
.night + [hidden] + .section--tight { padding-top: clamp(42px, 6vw, 84px); }
/* iets donkerder papier, doorschijnend zodat de korrel zichtbaar blijft */
.section--soft { background: linear-gradient(transparent, rgba(43, 98, 255, .05) 30%, rgba(43, 98, 255, .05) 70%, transparent); }

/* ---------- Typografie ---------- */
.h2 {
  font: 700 clamp(2.15rem, 4.9vw, 4rem)/1.03 var(--f-display);
  letter-spacing: -.038em;
  text-wrap: balance;
}
.h2 em,
.hero__title em {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.015em;
  font-size: 1.07em;
}

.lead {
  font-size: clamp(1.06rem, 1.35vw, 1.22rem);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 52ch;
  text-wrap: pretty;
}

.eyebrow {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
  font-size: .8125rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .09em;
  text-transform: uppercase;
  text-wrap: balance;
  color: var(--ink-2);
}
.eyebrow__dot {
  flex: none;
  width: 8px; height: 8px;
  margin-top: calc(.75em - 4px);
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2.6s infinite;
}
.eyebrow--ink .eyebrow__dot { background: var(--ink); animation: none; }

.head { display: grid; gap: 18px; margin-bottom: clamp(22px, 3.3vw, 44px); }
.head--split {
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  align-items: end;
  gap: 20px clamp(32px, 6vw, 96px);
}
.head--center { justify-items: center; text-align: center; }
.head--center .eyebrow { justify-content: center; }
.head--center .lead { margin-inline: auto; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--paper-2);
  color: var(--ink);
  font-size: .8125rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}
.tag .ic { width: 15px; height: 15px; }
.tag--lime { background: var(--lime); }
.tag--dark { background: var(--ink); color: var(--paper); }

.ticks { display: grid; gap: 8px; margin-top: 8px; font-size: .97rem; }
.ticks li { display: flex; align-items: flex-start; gap: 10px; }
.ticks .ic { width: 18px; height: 18px; margin-top: 3px; color: var(--accent-deep); stroke-width: 2.4; }

/* ---------- Knoppen ---------- */
.btn {
  --bg: var(--ink);
  --fg: var(--paper);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 54px;
  padding: 0 24px 0 26px;
  border: 0;
  border-radius: 999px;
  background: var(--bg);
  color: var(--fg);
  font: 600 1rem/1 var(--f-body);
  letter-spacing: -.01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out), background-color .25s, color .25s, opacity .25s;
}
.btn .ic { width: 18px; height: 18px; stroke-width: 2.2; transition: transform .35s var(--ease-out); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -14px rgba(12, 16, 32, .6); }
.btn:hover .ic { transform: translateX(4px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn:disabled { opacity: .38; cursor: not-allowed; transform: none; box-shadow: none; }

/* de hoofdknop: een tikje glans bovenaan en een warme gloed eronder */
.btn--accent {
  --bg: linear-gradient(180deg, #5584FF, var(--accent) 58%, #1F55F2);
  --fg: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .38), inset 0 -1px 0 rgba(8, 30, 120, .18), 0 10px 22px -12px rgba(43, 98, 255, .8);
}
.btn--accent:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .38), inset 0 -1px 0 rgba(8, 30, 120, .18), 0 18px 34px -14px rgba(43, 98, 255, .85); }
.btn--accent:disabled { box-shadow: none; }
.btn--ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--lg { height: 60px; padding: 0 28px 0 30px; font-size: 1.0625rem; }
.btn--sm { height: 44px; padding: 0 18px; font-size: .95rem; }
.btn--block { width: 100%; }

.linkbtn {
  border: 0;
  background: none;
  padding: 6px 2px;
  font-weight: 600;
  font-size: .95rem;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

/* ---------- Logo ---------- */
.logo {
  display: inline-flex;
  align-items: baseline;        /* de blauwe punt staat altijd op de regel */
  flex: none;
  font: 800 1.65rem/1 var(--f-display);
  letter-spacing: -.035em;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;          /* de naam breekt nooit over twee regels */
}
.logo--light { color: var(--on-night); font-size: 2rem; }
/* de blauwe punt achter de naam: een bolletje dat op de regel staat, zoals een
   punt achter een zin. --dot = de grootte (in em, schaalt mee met de letters). */
.logo__dot {
  display: inline-block;
  width: var(--dot, .22em); height: var(--dot, .22em);
  margin-left: .05em;
  border-radius: 50%;
  background: var(--accent);
  transition: transform .5s var(--spring);
}
.logo:hover .logo__dot { transform: translateY(-.14em) scale(1.15); }

/* ---------- Scrollbalkje ---------- */
.progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  z-index: 150;
  pointer-events: none;
}
.progress i {
  display: block;
  height: 100%;
  background: var(--accent);
  transform-origin: 0 50%;
  transform: scaleX(0);
}

/* ---------- Navigatie ---------- */
.nav {
  position: fixed;
  inset: 14px 0 auto 0;
  z-index: 120;
  pointer-events: none;
  transition: transform .55s var(--ease-out);
}
/* op een gsm schuift het menu weg als je naar beneden scrolt en komt het terug
   zodra je omhoog scrolt: zo blijft er meer scherm over (zie app.js) */
.nav.is-away { transform: translateY(-150%); }
.nav__inner {
  pointer-events: auto;
  width: min(1180px, calc(100% - 24px));
  height: 64px;
  margin-inline: auto;
  padding: 0 10px 0 24px;
  display: flex;
  align-items: center;
  gap: 28px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .74);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  backdrop-filter: blur(16px) saturate(1.5);
  box-shadow: 0 0 0 1px var(--line), 0 10px 30px -22px rgba(12, 16, 32, .4);
  transition: background-color .3s, box-shadow .3s;
}
.nav.is-scrolled .nav__inner {
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 0 0 1px var(--line), 0 18px 40px -22px rgba(12, 16, 32, .55);
}
.nav__links { position: relative; display: flex; gap: 2px; margin-inline: auto; }
/* het vlakje achter de actieve link glijdt mee van link naar link (zie app.js) */
.nav__glide {
  position: absolute;
  left: 0; top: 50%;
  z-index: -1;
  width: 0; height: 36px;
  margin-top: -18px;
  border-radius: 999px;
  background: rgba(12, 16, 32, .07);
  opacity: 0;
  pointer-events: none;
  transition: transform .55s var(--ease-out), width .55s var(--ease-out), opacity .3s;
}
.nav__links.has-glide a.is-current { background: none; }
[data-motion="calm"] .nav__glide { transition: none; }
.nav__links a {
  padding: 9px 14px;
  border-radius: 999px;
  font-size: .95rem;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
  color: var(--ink-2);
  transition: background-color .2s, color .2s;
}
.nav__links a:hover,
.nav__links a.is-current { background: rgba(12, 16, 32, .07); color: var(--ink); }

.nav__burger {
  display: none;
  position: relative;
  width: 44px; height: 44px;
  flex: none;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.nav__burger span {
  position: absolute;
  left: 11px; right: 11px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .4s var(--ease-out), top .4s var(--ease-out);
}
.nav__burger span:first-child { top: 17px; }
.nav__burger span:last-child { top: 25px; }
.nav__burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* mobiel menu */
.menu {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 104px var(--gutter) calc(24px + env(safe-area-inset-bottom));
  background: var(--paper);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-14px);
  transition: opacity .35s var(--ease-out), transform .5s var(--ease-out), visibility 0s .5s;
}
.menu.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.menu__links { display: grid; }
.menu__links a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font: 700 clamp(1.8rem, 8vw, 2.5rem)/1.1 var(--f-display);
  letter-spacing: -.035em;
  text-decoration: none;
}
/* de nummers tellen zichzelf, zodat ze kloppen als "Prijzen" aan of uit staat */
.menu__links { counter-reset: menu; }
.menu__links a:not([hidden]) { counter-increment: menu; }
.menu__links small { font: 500 .8rem var(--f-body); letter-spacing: .08em; color: var(--mute); }
.menu__links small::before { content: counter(menu, decimal-leading-zero); }
.menu__foot { display: grid; gap: 12px; }
.menu__direct { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); grid-auto-flow: column; gap: 8px; }
.menu__direct a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 6px;
  border-radius: 16px;
  background: var(--card);
  box-shadow: 0 0 0 1px var(--line);
  font-size: .85rem;
  font-weight: 600;
  text-decoration: none;
}

/* ---------- Taalkeuze (NL · FR · EN), zie js/taal.js ---------- */
.lang {
  display: flex;
  flex: none;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  background: rgba(12, 16, 32, .06);
}
.lang a {
  display: grid;
  place-items: center;
  min-width: 36px;
  height: 34px;
  padding: 0 8px;
  border-radius: 999px;
  font: 600 .8rem/1 var(--f-body);
  letter-spacing: .04em;
  color: var(--ink-2);
  text-decoration: none;
  transition: background-color .2s, color .2s;
}
.lang a:hover { background: rgba(12, 16, 32, .08); color: var(--ink); }
.lang a[aria-current="true"] { background: var(--ink); color: var(--paper); }
.nav .lang { margin-right: -14px; }         /* dicht bij de knop "Gratis gesprek" */

/* in het gsm-menu: drie grote knoppen met de volledige naam */
.menu__lang { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.menu__lang a {
  display: grid;
  place-items: center;
  height: 48px;
  border-radius: 14px;
  background: var(--card);
  box-shadow: 0 0 0 1px var(--line);
  font-size: .92rem;
  font-weight: 600;
  text-decoration: none;
}
.menu__lang a[aria-current="true"] { background: var(--ink); color: var(--paper); box-shadow: none; }

/* in de voettekst */
.footer__lang { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.footer__lang a[aria-current="true"] { color: var(--on-night); text-decoration: underline; text-underline-offset: 4px; }

/* De pagina staat in het Nederlands. Voor een Franse of Engelse bezoeker blijft
   ze een fractie van een seconde onzichtbaar, tot alles vertaald is. */
html.i18n-wait body { visibility: hidden; }

/* middelgrote schermen: alles iets dichter bij elkaar (Franse woorden zijn langer) */
@media (max-width: 1240px) {
  .nav__inner { gap: 18px; }
  .nav__links a { padding: 9px 11px; }
}
/* vanaf hier: menu onder de drie streepjes (in app.js staat hetzelfde getal) */
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .nav__inner { gap: 6px; padding-left: 20px; }
  .nav .lang { margin-left: auto; margin-right: 4px; }
  .nav .lang + .nav__cta { margin-left: 0; }
  .nav__cta { margin-left: auto; }
}
/* past het menu op een breed scherm toch niet op één regel (zie fitNav in
   app.js): eerst alles dichter bij elkaar, anders onder de drie streepjes */
.nav--tight .nav__inner { gap: 16px; }
.nav--tight .nav__links a { padding: 9px 10px; }
.nav--compact .nav__links { display: none; }
.nav--compact .nav__burger { display: block; }
.nav--compact .nav__inner { gap: 6px; padding-left: 20px; }
.nav--compact .lang { margin-left: auto; margin-right: 4px; }
.nav--compact .lang + .nav__cta { margin-left: 0; }
/* op een gsm staat de taalkeuze in het menu (onder de drie streepjes) */
@media (max-width: 600px) {
  .nav .lang { display: none; }
  .nav .lang + .nav__cta { margin-left: auto; }
}
@media (max-width: 380px) {
  .nav__cta { padding: 0 14px; font-size: .9rem; }
}
/* heel smalle vensters: de knop wijkt, het menu en de contactbalk blijven */
@media (max-width: 330px) {
  .nav__cta { display: none; }
  .nav__burger { margin-left: auto; }
}

/* ---------- Voettekst ---------- */
.footer {
  position: relative;
  margin-top: clamp(8px, 1.4vw, 20px);
  padding-top: clamp(34px, 4.8vw, 66px);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  background: var(--night);
  color: var(--on-night);
  overflow: hidden;
}
.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, .7fr) minmax(0, .9fr);
  gap: clamp(28px, 5vw, 72px);
}
.footer__brand p { margin-top: 18px; max-width: 36ch; color: var(--mute-night); }
.footer__col { display: grid; gap: 10px; align-content: start; justify-items: start; font-size: .98rem; }
.footer__col b {
  margin-bottom: 6px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--mute-night);
}
.footer__col a {
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .4s var(--ease-out);
}
.footer__col a:hover { background-size: 100% 1px; }
.footer__socials { display: flex; gap: 14px; margin-top: 6px; }
.footer__socials:empty { display: none; }

.footer__big {
  --dot: .2em;
  margin-top: clamp(20px, 3.6vw, 48px);
  padding-bottom: .1em;
  font: 800 clamp(5.4rem, 29vw, 23rem)/.82 var(--f-display);
  letter-spacing: -.035em;
  text-align: center;
  white-space: nowrap;
  /* enkel de buitenlijn tonen: de vulling (zelfde kleur als de achtergrond)
     wordt over de binnenste helft van de lijn getekend */
  color: var(--night);
  -webkit-text-stroke: 3px rgba(255, 255, 255, .34);
  paint-order: stroke fill;
  user-select: none;
}
.footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding-block: 20px calc(20px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .88rem;
  color: var(--mute-night);
}
.footer__bottom a { text-decoration: none; }
.footer__bottom a:hover { color: var(--on-night); }

@media (max-width: 760px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

/* ---------- Verschijn-animaties ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s var(--ease-out) var(--d, 0s), transform 1s var(--ease-out) var(--d, 0s);
}
.js [data-reveal="scale"] { transform: translateY(24px) scale(.965); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

.js [data-split] .w {
  display: inline-block;
  clip-path: inset(-.14em -.14em -.26em);
}
.js [data-split].is-done .w { clip-path: none; }
.js [data-split] .w > span {
  display: inline-block;
  transform: translateY(130%);
  transition: transform 1s var(--ease-out) calc(var(--i, 0) * 50ms);
}
.js [data-split].is-in .w > span { transform: none; }

.no-anim [data-reveal],
.no-anim [data-hero-in],
.no-anim [data-split] .w > span,
.no-anim .hero__line-in { opacity: 1 !important; transform: none !important; }

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(43, 98, 255, .55); }
  70% { box-shadow: 0 0 0 10px rgba(43, 98, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(43, 98, 255, 0); }
}
@keyframes pop {
  0% { transform: scale(.6); opacity: 0; }
  100% { transform: none; opacity: 1; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Animaties aan/uit ---------- */
.motion-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin: 14px auto 0;
  padding: 9px 16px 9px 12px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform .3s var(--ease-out), background-color .25s, color .25s;
}
.motion-pill .ic { width: 18px; height: 18px; stroke: none; color: var(--lime); }
.motion-pill:hover { background: var(--accent); color: #fff; transform: translateY(-2px); }
.motion-pill:hover .ic { color: #fff; }

.footer__motion {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font-size: inherit;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}
.footer__motion:hover { color: var(--on-night); }

/* ---------- Rustige weergave (geen beweging, enkel zachte overgangen) ----------
   Staat automatisch aan als het toestel om minder beweging vraagt. */
[data-motion="calm"] { scroll-behavior: auto; }
[data-motion="calm"] *,
[data-motion="calm"] *::before,
[data-motion="calm"] *::after { animation: none !important; }

[data-motion="calm"] [data-reveal] { transform: none !important; transition: opacity .6s ease !important; }
[data-motion="calm"] [data-hero-in] { transform: none !important; transition: opacity .7s ease !important; }
[data-motion="calm"] [data-split] .w > span,
[data-motion="calm"] .hero__line-in { transform: none !important; transition: none !important; }
[data-motion="calm"] [data-split] .w,
[data-motion="calm"] .hero__line { clip-path: none; }

/* ---------- Afdrukken: alles zichtbaar, geen vaste balken ---------- */
@media print {
  .nav, .progress, .menu, .motion-pill { display: none !important; }
  body { background-image: none; }
  [data-reveal], [data-hero-in], [data-split] .w > span, .hero__line-in {
    opacity: 1 !important;
    transform: none !important;
  }
  [data-split] .w, .hero__line { clip-path: none !important; }
}

/* =====================================================================
   FIJNE DETAILS (basis)
   Kleine animaties die de pagina afwerken. In de rustige weergave
   (data-motion="calm") staat dit allemaal stil.
   ===================================================================== */

/* ---------- De blauwe punt van het logo: valt bij het laden op zijn plaats ---------- */
[data-motion="full"].js .nav .logo__dot { animation: dotDrop 1.1s .75s backwards; }
@keyframes dotDrop {
  0% { opacity: 0; transform: translateY(-560%) scale(.9, 1.12); animation-timing-function: cubic-bezier(.5, 0, 1, .6); }
  12% { opacity: 1; }
  38% { transform: translateY(0) scale(1.2, .78); animation-timing-function: cubic-bezier(0, .5, .5, 1); }
  56% { transform: translateY(-150%) scale(.95, 1.06); animation-timing-function: cubic-bezier(.5, 0, 1, .6); }
  72% { transform: translateY(0) scale(1.12, .88); animation-timing-function: cubic-bezier(0, .5, .5, 1); }
  84% { transform: translateY(-38%) scale(.99, 1.02); animation-timing-function: cubic-bezier(.5, 0, 1, .6); }
  93% { transform: translateY(0) scale(1.04, .96); }
  100% { opacity: 1; transform: none; }
}
@keyframes dotJump {
  0% { transform: scale(1.15, .85); animation-timing-function: cubic-bezier(0, .5, .5, 1); }
  35% { transform: translateY(-190%) scale(.94, 1.08); animation-timing-function: cubic-bezier(.5, 0, 1, .6); }
  62% { transform: translateY(0) scale(1.18, .8); animation-timing-function: cubic-bezier(0, .5, .5, 1); }
  80% { transform: translateY(-36%) scale(.98, 1.03); animation-timing-function: cubic-bezier(.5, 0, 1, .6); }
  100% { transform: none; }
}

/* ---------- Voettekst: de letters komen één voor één omhoog, de punt valt erachteraan ---------- */
.fb-l { display: inline-block; }
.footer__big .logo__dot { transform-origin: 50% 100%; cursor: pointer; }
[data-motion="full"].js .footer__big .fb-l {
  opacity: 0;
  transform: translateY(42%);
  transition: transform 1s var(--ease-out), opacity .7s ease;
  transition-delay: calc(var(--i, 0) * 90ms);
}
[data-motion="full"].js .footer__big.is-in .fb-l { opacity: 1; transform: none; }
[data-motion="full"].js .footer__big:not(.is-in) .logo__dot { opacity: 0; }
[data-motion="full"].js .footer__big.is-in:not(.is-landed) .logo__dot { animation: dotDrop 1.3s .5s backwards; }
/* tik op de punt (of ga erover met de muis): ze springt */
[data-motion="full"].js .footer__big.is-landed .logo__dot.is-jump { animation: dotJump .8s; }

/* ---------- Het bolletje voor elk kopje plopt tevoorschijn ---------- */
.eyebrow__dot { transition: scale .7s var(--spring) .25s; }
[data-motion="full"].js:not(.no-anim) [data-reveal]:not(.is-in) > .eyebrow__dot { scale: 0; }

/* ---------- Hoofdknop: een glans die eroverheen schuift ---------- */
.btn--accent { overflow: hidden; overflow: clip; }
.btn--accent::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: -60%;
  width: 50%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .5), transparent);
  transform: skewX(-18deg);
  pointer-events: none;
}
.btn--accent:hover::after { transform: skewX(-18deg) translateX(440%); transition: transform .8s var(--ease-out); }
.btn--accent:disabled::after { display: none; }
/* de knop bovenaan glinstert af en toe vanzelf */
[data-motion="full"] .hero__bottom .btn--accent::after { animation: btnGlint 6.5s 3.4s infinite; }
@keyframes btnGlint {
  0%, 80% { transform: skewX(-18deg); }
  100% { transform: skewX(-18deg) translateX(440%); }
}
