/* salesUp – studentenjob landing page
   Design basis: 1440px Figma frame. Desktop scales fluidly, tablet/mobile stack. */

@font-face { font-family: "Poppins"; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/fonts/poppins-400.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 500; font-style: normal; font-display: swap; src: url("/assets/fonts/poppins-500.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-style: normal; font-display: swap; src: url("/assets/fonts/poppins-600.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-style: normal; font-display: swap; src: url("/assets/fonts/poppins-700.woff2") format("woff2"); }
@font-face { font-family: "Inclusive Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/fonts/inclusive-sans-400.woff2") format("woff2"); }

:root {
  --navy: #16335d;
  --navy-deep: #10294a;
  --blue: #2660af;
  --orange: #ef7d00;
  --red: #e63322;
  --panel: #e7eef7;
  --line: #d1dae7;
  --white: #fff;
  --error: #c0281b;
  --gutter: clamp(20px, 6.39vw, 92px);
  --page-max: 1440px;
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--navy);
  background: var(--white);
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

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

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: saturate(1.5) blur(14px); backdrop-filter: saturate(1.5) blur(14px);
  transition: box-shadow .35s ease, background-color .35s ease;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(16, 41, 74, .08); background: rgba(255, 255, 255, .94); }
.site-header__wrap { max-width: var(--page-max); margin: 0 auto; padding: 31px var(--gutter) 0; }
.scroll-progress {
  position: absolute; left: 0; top: 0; height: 3px; width: 100%; z-index: 2;
  background: linear-gradient(90deg, var(--orange), var(--red)); transform: scaleX(0); transform-origin: 0 50%;
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-bottom: 25px; border-bottom: 1px solid var(--line); transition: border-color .35s ease;
}
.site-header.is-scrolled .site-header__inner { border-bottom-color: transparent; }
.site-header__logo { display: block; flex: none; }
.site-header__logo img { width: 135px; }
.site-nav { display: flex; align-items: center; gap: clamp(24px, 2.6vw, 34px); margin-left: auto; margin-right: clamp(16px, 2.4vw, 34px); }
.site-nav__link { text-decoration: none; font-size: 16px; line-height: 1.4; color: var(--navy); white-space: nowrap; }
.site-nav__link.is-active { color: var(--orange); }
.site-nav__link:hover { color: var(--blue); }
.btn-header {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 12px;
  height: 40px; padding: 0 7px 0 13px; border-radius: 20px;
  background: var(--navy); color: #fff; text-decoration: none; flex: none;
  font-family: "Inclusive Sans", var(--font); font-size: 16px; letter-spacing: -0.02em;
  transition: background-color .2s;
}
.btn-header:hover { background: var(--blue); }
.btn-header__icon { flex: none; }

/* ---------- Shared type ---------- */
.h2 { font-weight: 700; font-size: clamp(30px, 3.34vw, 48px); line-height: 1.25; text-transform: uppercase; color: var(--navy); text-wrap: balance; }
.h2--center { text-align: center; }
.brush { width: 404px; max-width: 80%; height: auto; margin-bottom: -5px; }

/* ---------- Hero ---------- */
.hero {
  max-width: var(--page-max); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 43.125%);
  align-items: start;
}
.hero__copy { padding: 120px 20px 80px var(--gutter); }
.hero__title {
  font-weight: 700; text-transform: uppercase; color: var(--navy);
  font-size: clamp(34px, 3.75vw, 54px); line-height: 1.148; max-width: 630px;
}
.hero__brush { margin-top: 14px; }
.hero__subtitle {
  display: flex; align-items: center; gap: 6px; margin-top: 15px;
  font-weight: 600; text-transform: uppercase; color: var(--blue);
  font-size: clamp(18px, 1.67vw, 24px); line-height: 1.6; letter-spacing: -0.04em;
}
.hero__subtitle-arrow { flex: none; width: 30px; height: 30px; transform: rotate(-90deg); }
.hero__intro { margin-top: 12px; max-width: 650px; line-height: 1.62; }
.check-list { margin-top: 25px; display: grid; gap: 13px; }
.check-list li {
  position: relative; padding-left: 30px; line-height: 1.39; letter-spacing: -0.04em;
}
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 0; width: 24px; height: 22px;
  background: url("/assets/img/check.svg") no-repeat center / contain;
}
.btn-primary {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 24px;
  margin-top: 25px; min-width: 286px; height: 50px; padding: 0 9px 0 17px; border-radius: 25px;
  background: linear-gradient(to left, var(--red), var(--orange)); color: #fff; text-decoration: none;
  font-weight: 500; font-size: 16px; letter-spacing: -0.04em;
  transition: filter .2s, transform .2s;
}
.btn-primary:hover { filter: brightness(1.06); }
.btn-primary svg { flex: none; }

.hero__media { position: relative; isolation: isolate; }
/* Marineblauw vlak achter de uitgeknipte foto (zat eerder in het beeld ingebakken) */
.hero__media::before {
  content: ""; position: absolute; z-index: -1; left: 0; right: 0; top: 29.07%; bottom: 0;
  background: #173b6a; border-top-left-radius: 16px;
}
.hero__photo { display: block; width: 100%; height: auto; }
.badge { position: absolute; z-index: 2; left: 21.9%; top: 3.6%; width: 26.4%; max-width: 164px; display: block; border-radius: 50%; }

/* ---------- Panel: wat we niet doen ---------- */
.panel { position: relative; max-width: var(--page-max); margin: 0 auto; container-type: inline-size; }
.panel__bg {
  position: absolute; z-index: 0; top: 0; bottom: 0; left: 19.4%; right: 0;
  background: var(--panel); border-radius: 10px;
}
.panel__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 41.94cqw) minmax(0, 1fr); column-gap: 4.93cqw;
  padding: 83px calc(var(--gutter) - 40px) 100px 3.68cqw;
}
.panel__media { position: relative; margin-top: 117px; align-self: start; }
.panel__frame { overflow: hidden; border-radius: 10px; max-width: 604px; }
.panel__photo { width: 100%; height: auto; border-radius: 10px; transform: scale(1.1) translate3d(0, var(--py, 0px), 0); will-change: transform; }
.panel__dots { position: absolute; width: 149px; height: auto; }
.panel__dots--top { right: -3%; top: -5%; }
.panel__dots--bottom { left: 3.3%; bottom: -6%; }
.panel__copy { max-width: 660px; }
.panel__copy > :not(.h2) { max-width: 621px; }
.panel__copy .h2 { text-wrap: wrap; }
.panel__copy > .brush { margin-top: 5px; max-width: 80%; }
.panel__lead { margin-top: 28px; line-height: 1.82; }
.dot-list { margin-top: 12px; display: grid; gap: 21px; }
.dot-list li { position: relative; padding-left: 39px; line-height: 1.4; min-height: 70px; }
.dot-list li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 30px; height: 30px; border-radius: 50%;
  background: radial-gradient(circle, var(--red) 0 5px, #fff5f0 5.5px);
  border: 1px solid #f2b79a;
  background: radial-gradient(circle at center, #ee4b14 0 5px, #fdf1ea 5.5px 100%);
}
.dot-list strong { font-weight: 600; }
.panel__summary {
  margin-top: 30px; padding: 28px 0 31px; border-top: 2px solid var(--line); border-bottom: 2px solid var(--line);
  font-weight: 600; font-style: italic; line-height: 1.4;
}

/* ---------- Blue intro card ---------- */
.intro-card-wrap { max-width: var(--page-max); margin: 0 auto; padding: 91px clamp(16px, 6.18vw, 89px) 0; }
.intro-card {
  text-align: center; color: #fff; border-radius: 10px; padding: 58px 5% 63px;
  background: linear-gradient(to bottom, #10294a 0%, #265eab 74%, #265eab 100%);
}
.intro-card .h2 { color: #fff; line-height: 1.125; max-width: 700px; margin: 0 auto; text-wrap: wrap; }
.eyebrow { display: inline-flex; align-items: center; gap: 6px; line-height: 1.62; margin-bottom: 14px; }
.eyebrow__dot { width: 10px; height: 10px; border-radius: 50%; background: #f04e0f; }
.brush--center { margin: 10px auto 0; display: block; }
.intro-card__text { margin: 18px auto 0; max-width: 890px; line-height: 1.62; }
.intro-card__text--narrow { max-width: 760px; margin-top: 15px; }

/* ---------- Formulier ---------- */
.apply {
  max-width: var(--page-max); margin: 0 auto; padding: 124px var(--gutter) 0;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 656px); column-gap: 36px; align-items: start;
}
.apply__intro { padding-top: 20px; }
.apply__title {
  font-weight: 700; text-transform: uppercase; color: var(--navy);
  font-size: clamp(34px, 3.95vw, 60px); line-height: 1.067; letter-spacing: -0.01em;
}
.apply__title span { color: var(--blue); }
.apply__intro .brush { margin-top: 30px; }

.form-card { background: var(--panel); border-radius: 10px; padding: 45px 48px 44px; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; row-gap: 16px; }
.field--full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 500; line-height: 1.4; margin-bottom: 12px; }
.field input, .field select {
  width: 100%; height: 48px; padding: 0 20px; border: 1px solid transparent; border-radius: 8px;
  background-color: #fff; color: var(--navy); font: 400 14px/1.4 var(--font);
  appearance: none; -webkit-appearance: none;
}
.field select {
  padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='m3 5 4 4 4-4' stroke='%2316335d' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center;
}
.field select:invalid { color: rgba(22, 51, 93, .5); }
.field select option { color: var(--navy); }
.field input:focus, .field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(38, 96, 175, .2); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field__error, .consent .field__error { min-height: 0; margin-top: 6px; font-size: 13px; line-height: 1.4; color: var(--error); }
.field__error:empty { display: none; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.consent {
  display: grid; grid-template-columns: 19px 1fr; column-gap: 4px; margin-top: 15px; font-size: 14px; line-height: 1.6;
}
.consent input {
  appearance: none; -webkit-appearance: none; width: 19px; height: 19px; margin: 3px 0 0; border-radius: 4px;
  background: #fff; border: 1.5px solid #9eb2cf; cursor: pointer; display: grid; place-content: center;
}
.consent input:checked { background: #ee5a14; border-color: #ee5a14; }
.consent input:checked::after {
  content: ""; width: 5px; height: 9px; margin-top: -2px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.consent input[aria-invalid="true"] { border-color: var(--error); }
.consent label { cursor: pointer; }
.consent a { text-decoration: underline; text-underline-offset: 2px; }
.consent .field__error { grid-column: 2; }

.btn-submit {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; height: 48px; margin-top: 31px; border: 0; border-radius: 24px; cursor: pointer;
  background: linear-gradient(to right, #2660af 0%, #10294a 100%); color: #fff;
  font: 500 16px/1 var(--font); letter-spacing: -0.02em;
  transition: filter .2s;
}
.btn-submit:hover { filter: brightness(1.12); }
.btn-submit[disabled] { cursor: progress; filter: grayscale(.4) brightness(.9); }
.form__note { margin-top: 26px; text-align: center; font-size: 14px; line-height: 1.6; }
.form__status { margin-top: 16px; padding: 14px 16px; border-radius: 8px; font-size: 14px; line-height: 1.5; background: #fdeceb; color: #8f1f15; border: 1px solid #f3b9b4; }

.form__success { text-align: center; padding: 60px 8px; }
.form__success svg { margin: 0 auto 20px; }
.form__success h3 { font-size: 28px; line-height: 1.2; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.form__success p { max-width: 420px; margin: 0 auto; line-height: 1.6; }

/* ---------- Footer ---------- */
.site-footer { position: relative; margin-top: 130px; padding: 0 3.1% 0; }
.site-footer__bg {
  position: absolute; left: 0; right: 0; bottom: 0; top: 160px;
  background: linear-gradient(to bottom, #1f4a86 0%, #11284b 100%);
}
.site-footer__card {
  position: relative; max-width: 1350px; margin: 0 auto; border-radius: 10px; background: var(--panel);
  display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 1.4fr);
  padding: 42px 47px 38px; min-height: 360px;
}
.site-footer__brand img { width: 247px; }
.site-footer__brand p { margin-top: 10px; font-size: 20px; line-height: 1.4; color: #3a5a8c; }
.social {
  display: inline-grid; place-content: center; width: 37px; height: 37px; margin-top: 36px; border-radius: 50%;
  background: linear-gradient(to bottom right, var(--orange), var(--red)); text-decoration: none;
}
.social:hover { filter: brightness(1.1); }
.site-footer__col { padding: 25px 0 0 40px; border-left: 1px solid var(--line); margin-top: 25px; }
.site-footer__brand { padding-top: 25px; }
.site-footer__col:first-of-type { border-left: 0; }
.site-footer__col h2 { font-size: 18px; font-weight: 500; line-height: 1.33; margin-bottom: 26px; }
.site-footer__col ul { display: grid; gap: 12px; }
.site-footer__col a { text-decoration: none; font-size: 14px; line-height: 1.4; }
.site-footer__col a:hover { text-decoration: underline; }
.site-footer__col address { font-style: normal; font-size: 14px; line-height: 1.43; max-width: 220px; }
.site-footer__copy { position: relative; text-align: center; color: #fff; font-size: 14px; line-height: 1.4; padding: 29px 20px 28px; }

/* ---------- Tablet ---------- */
@media (max-width: 1099px) {
  :root { --gutter: clamp(20px, 5vw, 56px); }
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero__copy { padding: 56px var(--gutter) 40px; }
  .hero__title { font-size: clamp(34px, 6.4vw, 54px); }
  .hero__subtitle { font-size: clamp(18px, 3.4vw, 24px); }
  .hero__media { width: min(100%, 621px); margin-left: auto; }

  .panel__inner { grid-template-columns: minmax(0, 1fr); padding: 0 var(--gutter) 64px; row-gap: 40px; }
  .panel__media { margin-top: 0; max-width: 604px; }
  .panel__dots--top { right: 3%; top: -14px; }
  .panel__copy { max-width: none; padding: 0; }
  .panel__bg { top: 200px; left: 0; border-radius: 0; }
  .panel__inner { padding-top: 48px; }
  .panel__copy { padding-top: 56px; }
  .h2 { font-size: clamp(28px, 5.4vw, 44px); line-height: 1.22; }

  .intro-card-wrap { padding: 64px var(--gutter) 0; }
  .apply { grid-template-columns: minmax(0, 1fr); row-gap: 40px; padding-top: 88px; }
  .apply__intro { padding-top: 0; }
  .apply__title { font-size: clamp(32px, 6.4vw, 52px); max-width: 640px; }

  .site-footer__card { grid-template-columns: 1fr 1fr; row-gap: 12px; }
  .site-footer__brand { grid-column: 1 / -1; }
  .site-footer__col { padding-left: 24px; margin-top: 12px; }
  .site-footer__col:first-of-type { border-left: 0; padding-left: 0; }
}

/* ---------- Mobiel ---------- */
@media (max-width: 699px) {
  body { font-size: 15px; }
  .site-header { padding-top: 20px; }
  .site-header__inner { padding-bottom: 16px; }
  .site-nav { display: none; }
  .btn-header { margin-left: auto; }
  .site-header__logo img { width: 112px; }

  .hero__copy { padding-top: 40px; }
  .hero__title { font-size: clamp(30px, 8.6vw, 40px); line-height: 1.16; }
  .hero__brush { width: 62%; }
  .hero__subtitle { font-size: clamp(16px, 4.9vw, 20px); letter-spacing: -0.03em; line-height: 1.35; align-items: flex-start; }
  .hero__subtitle-arrow { width: 26px; height: 26px; margin-top: 0; }
  .btn-primary { width: 100%; min-width: 0; }
  .hero__media { width: 100%; }

  .panel__bg { top: 170px; left: 0; }
  .panel__inner { row-gap: 32px; }
  .panel__dots { width: 100px; }
  .panel__dots--bottom { display: none; }
  .dot-list li { min-height: 0; padding-left: 40px; }
  .panel__summary { padding: 20px 0 22px; }
  .h2 { font-size: clamp(26px, 7.4vw, 34px); }

  .intro-card-wrap { padding: 48px 16px 0; }
  .intro-card { padding: 40px 20px 44px; }
  .intro-card .h2 { font-size: clamp(26px, 7.4vw, 34px); }
  .brush--center { width: 60%; }

  .apply { padding: 72px 16px 0; }
  .apply__title { font-size: clamp(28px, 8.2vw, 38px); line-height: 1.12; }
  .form-card { padding: 28px 20px 28px; }
  .form__grid { grid-template-columns: 1fr; }
  .field input, .field select { font-size: 16px; } /* voorkomt inzoomen op iOS */

  .site-footer { margin-top: 80px; padding: 0 12px; }
  .site-footer__card { grid-template-columns: 1fr; padding: 32px 24px; }
  .site-footer__col { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 20px; margin-top: 16px; }
  .site-footer__col h2 { margin-bottom: 14px; }
  .site-footer__brand p { font-size: 17px; }
}

/* =====================================================================
   Motion — alleen transform/opacity, volledig uitgeschakeld bij
   prefers-reduced-motion. Zonder JS blijft alles gewoon zichtbaar.
   ===================================================================== */
:root { --ease: cubic-bezier(.22, 1, .36, 1); --ease-spring: cubic-bezier(.34, 1.56, .64, 1); }

/* Hover & focus micro-interacties (veilig voor iedereen, ook reduced motion: enkel kleur/schaduw) */
.site-nav__link { position: relative; transition: color .25s ease; }
.site-nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; border-radius: 2px;
  background: currentColor; transform: scaleX(0); transform-origin: 0 50%; transition: transform .35s var(--ease);
}
.site-nav__link:hover::after, .site-nav__link.is-active::after { transform: scaleX(1); }

.btn-primary, .btn-header, .btn-submit { transition: transform .3s var(--ease), box-shadow .3s ease, filter .2s ease, background-color .25s ease, background-position .6s var(--ease); }
.btn-primary svg, .btn-header__icon, .btn-submit svg { transition: transform .35s var(--ease); }
.btn-primary { position: relative; overflow: hidden; }
.btn-primary > * { position: relative; z-index: 1; }
.btn-primary::before {
  content: ""; position: absolute; inset: 0; z-index: 0; transform: translateX(-120%) skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent); transition: transform .7s var(--ease);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(230, 51, 34, .3); filter: none; }
.btn-primary:hover::before { transform: translateX(120%) skewX(-20deg); }
.btn-primary:hover svg, .btn-header:hover .btn-header__icon { transform: translateX(4px); }
.btn-primary:active, .btn-header:active, .btn-submit:active { transform: translateY(0) scale(.98); }
.btn-header:hover { box-shadow: 0 8px 18px rgba(22, 51, 93, .25); transform: translateY(-1px); }
.btn-submit { background-size: 220% 100%; background-position: 0 0; background-image: linear-gradient(90deg, #2660af 0%, #10294a 50%, #2660af 100%); }
.btn-submit:hover { filter: none; background-position: 100% 0; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(16, 41, 74, .3); }
.btn-submit:hover svg { transform: translateX(3px); }

.field input, .field select { transition: border-color .2s ease, box-shadow .25s ease, background-color .2s ease; }
.field input:hover, .field select:hover { border-color: #b8c8e0; }
.field label { transition: color .2s ease; }
.field:focus-within label { color: var(--blue); }
.consent input { transition: background-color .2s ease, border-color .2s ease, transform .2s var(--ease-spring); }
.consent input:active { transform: scale(.85); }
.consent input:checked { animation: checkpop .35s var(--ease-spring); }
.site-footer__col a, .consent a, .social { transition: color .2s ease, transform .3s var(--ease), filter .2s; }
.social:hover { transform: translateY(-3px) scale(1.06); }

.field__error { animation: errIn .3s var(--ease); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { animation: shake .45s var(--ease); }
.form__status { animation: errIn .35s var(--ease); }
.btn-submit[aria-busy="true"] svg { animation: spin 1s linear infinite; }

.form { transition: opacity .35s ease, transform .35s ease; }
.form.is-leaving { opacity: 0; transform: translateY(-12px); pointer-events: none; }
.form__success { animation: successIn .7s var(--ease) both; }
.success-icon__ring, .success-icon__tick { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw .8s var(--ease) .15s forwards; }
.success-icon__tick { animation-delay: .65s; animation-duration: .5s; }

.eyebrow__dot { position: relative; }
.eyebrow__dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #f04e0f; animation: ping 2.4s ease-out infinite; }

.badge__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 32s linear infinite; }
.badge__arrow { position: absolute; left: 31.7%; top: 31.7%; width: 36.6%; height: auto; transition: transform .4s var(--ease); }
.badge { aspect-ratio: 1; }
.badge:hover .badge__arrow { transform: translate(5px, -5px); }

.panel__dots--top { animation: float 7s ease-in-out infinite; }
.panel__dots--bottom { animation: float 8s ease-in-out -3s infinite; }

.hero__subtitle-arrow { animation: nudge 2.4s var(--ease) infinite; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(0, -10px, 0); } }
@keyframes nudge { 0%, 60%, 100% { transform: rotate(-90deg) translateY(0); } 80% { transform: rotate(-90deg) translateY(5px); } }
@keyframes ping { 0% { transform: scale(1); opacity: .55; } 75%, 100% { transform: scale(2.8); opacity: 0; } }
@keyframes errIn { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: none; } }
@keyframes shake { 0%, 100% { transform: translateX(0); } 20% { transform: translateX(-6px); } 40% { transform: translateX(5px); } 60% { transform: translateX(-3px); } 80% { transform: translateX(2px); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes checkpop { 0% { transform: scale(.7); } 60% { transform: scale(1.15); } 100% { transform: scale(1); } }
@keyframes successIn { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes headerIn { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }

/* Scroll-reveals */
@media (prefers-reduced-motion: no-preference) {
  .site-header { animation: headerIn .8s var(--ease) both; }

  .js :is([data-reveal], .check-list li, .dot-list li, .form__grid > .field, .intro-card > *) {
    opacity: 0; transform: translate3d(0, 32px, 0); will-change: opacity, transform;
  }
  .js [data-reveal="left"] { transform: translate3d(-48px, 0, 0); }
  .js [data-reveal="right"] { transform: translate3d(48px, 0, 0); }
  .js [data-reveal="scale"] { transform: translate3d(0, 28px, 0) scale(.965); }
  .js [data-reveal="media"] { transform: translate3d(56px, 0, 0) scale(1.03); }
  .js [data-reveal="wipe"] { opacity: 1; transform: none; clip-path: inset(-4px 100% -4px 0); }

  /* De overgang staat op de eindstatus, zodat de vertraging (--d) alleen bij het onthullen telt */
  .js :is([data-reveal], .check-list li, .dot-list li, .form__grid > .field, .intro-card > *).is-visible {
    opacity: 1; transform: none; will-change: auto;
    transition: opacity .9s var(--ease) var(--d, 0ms), transform 1s var(--ease) var(--d, 0ms);
  }
  .js [data-reveal="media"].is-visible { transition-duration: 1.2s, 1.4s; }
  .js [data-reveal="wipe"].is-visible { clip-path: inset(-4px -4px -4px 0); transition: clip-path 1.2s var(--ease) var(--d, 0ms); }

  /* Iconen poppen op wanneer hun item in beeld komt */
  .js :is(.check-list li, .dot-list li)::before { opacity: 0; transform: scale(.3) rotate(-30deg); transition: opacity .5s ease calc(var(--d, 0ms) + 250ms), transform .7s var(--ease-spring) calc(var(--d, 0ms) + 250ms); }
  .js :is(.check-list li, .dot-list li).is-visible::before { opacity: 1; transform: none; }

  /* Badge ploft binnen zodra de hero-foto er is */
  .js .badge { opacity: 0; transform: scale(.4) rotate(-50deg); }
  .js .hero__media.is-visible .badge { opacity: 1; transform: none; transition: opacity .6s ease .7s, transform 1.1s var(--ease-spring) .7s; }
}

/* Mobiel: kortere afstanden zodat het niet over de rand schuift */
@media (max-width: 699px) {
  .js [data-reveal="left"], .js [data-reveal="right"], .js [data-reveal="media"] { transform: translate3d(0, 32px, 0); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .panel__photo { transform: none; }
  .scroll-progress { display: none; }
}
