/* GKM basis: fonts, reset, typografie, layout, knoppen, formulieren. Vereist tokens.css. */

@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/poppins-400.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/poppins-500.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/poppins-600.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/poppins-700.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 800; font-display: swap; src: url('../fonts/poppins-800.woff2') format('woff2'); }

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, figure, ul, ol { margin: 0; }
ul[class], ol[class] { padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

/* Pagina: zwart met zachte grijze gloed (Gilton, 5 okt) */
body {
  min-height: 100vh;
  background: var(--black) radial-gradient(1400px 900px at 85% -5%, #202020 0%, transparent 60%) no-repeat;
  color: var(--white);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.section { position: relative; padding-block: var(--section); }
.section--glow { background: radial-gradient(1100px 460px at 50% 0%, var(--glow), transparent 70%); }
/* Elke sectie is een eigen vlak met zichtbare bovenrand (de gloed); de inhoud staat er met gelijke ruimte boven en onder in */
.wrap { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

/* Links */
a { color: var(--yellow); text-decoration: none; }
a:hover { color: #ffd25a; }
p a, li a.inline { text-decoration: underline; text-underline-offset: 3px; }

/* Typografie. Geen cursief, geen all-caps. Geel alleen als accent (.y), 1-2 woorden per kop. */
.display, .h1, .h2, .h3 { font-weight: 800; letter-spacing: var(--ls-tight); line-height: var(--lh-tight); }
.display { font-size: var(--fs-display); line-height: .95; }
.h1 { font-size: var(--fs-h1); line-height: 1; }
.h2 { font-size: var(--fs-h2); }
.h3 { font-size: var(--fs-h3); font-weight: 700; letter-spacing: 0; line-height: 1.25; }
.lead { font-size: var(--fs-lead); line-height: var(--lh-body); color: var(--text); }
.small { font-size: var(--fs-small); }
.muted { color: var(--muted); }
.y { color: var(--yellow); }
/* Kernwoorden: vet en wit, zodat ze opvallen */
:is(.lead, .card, .persona, .step, .prose) strong { font-weight: 700; color: var(--white); }
.persona--hl strong { font-weight: 800; color: var(--white); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: var(--fs-small); font-weight: 600; letter-spacing: .02em; color: var(--white); }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--yellow); }
.stack { display: flex; flex-direction: column; gap: var(--s-5); }

/* Gele vlakken: tekst wit en vet, zonder schaduw */
.on-yellow { background: var(--yellow); color: var(--on-yellow); }
.on-yellow .eyebrow { color: #000; }
.on-yellow .eyebrow::before { background: #000; }

/* Knoppen */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border: 0; border-radius: var(--r-sm);
  font-weight: 600; font-size: 16px; line-height: 1; text-decoration: none; white-space: nowrap;
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast), border-color var(--t-fast), background-color var(--t-fast);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(.97) translateY(1px); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.btn svg { flex: 0 0 auto; }
.btn--primary { background: var(--yellow); color: var(--on-yellow); font-weight: 700; }
.btn--primary:hover { color: var(--on-yellow); }
.btn--ghost { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,.35); }
.btn--ghost:hover { color: var(--white); border-color: var(--white); }
.btn--dark { background: var(--dark); color: var(--white); }
.btn--dark:hover { color: var(--white); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 15px; border-radius: var(--r-pill); }
.btn--block { width: 100%; }

/* Shimmer (naar 21st.dev "Shimmer Button", omgezet naar CSS): een lichtvonk draait langs de rand,
   met korte pauzes; zachte binnengloed onderaan, sterker bij hover. Wit op geel, geel op zwart. */
@property --shimmer-angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
.btn { position: relative; isolation: isolate; --shimmer: rgba(252,178,2,.95); box-shadow: inset 0 -8px 10px rgba(255,255,255,.08); }
.btn--primary { --shimmer: #fff; box-shadow: inset 0 -8px 10px rgba(255,255,255,.18); }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  padding: 2px; border-radius: inherit;
  background: conic-gradient(from calc(var(--shimmer-angle) - 35deg), transparent 0, var(--shimmer) 70deg, transparent 70deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  filter: blur(.4px);
  animation: btn-shimmer 6s linear infinite;
}
.btn--ghost::before { inset: -2px; }
.btn:hover { box-shadow: inset 0 -6px 10px rgba(255,255,255,.16); }
.btn--primary:hover { box-shadow: var(--sh-btn), inset 0 -6px 10px rgba(255,255,255,.3); }
.btn:active { box-shadow: inset 0 -10px 10px rgba(255,255,255,.25); }
@keyframes btn-shimmer {
  0% { --shimmer-angle: 0deg; }
  15%, 35% { --shimmer-angle: 90deg; }
  65%, 85% { --shimmer-angle: 270deg; }
  100% { --shimmer-angle: 360deg; }
}

/* Focus: altijd zichtbaar voor toetsenbordgebruikers */
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }
.on-yellow :focus-visible { outline-color: var(--white); }

/* Formulieren */
.field { display: flex; flex-direction: column; gap: var(--s-2); }
.field label { font-size: var(--fs-small); font-weight: 500; color: var(--text); }
.field input, .field select, .field textarea {
  min-height: 52px; padding: 14px 16px; border-radius: 10px;
  background: var(--black); color: var(--white); border: 1px solid var(--line-2);
  font-size: 16px; outline: none; transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #8a8a8a; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--yellow); box-shadow: 0 0 0 3px rgba(252,178,2,.2); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #ff6b5a; }
.field-error { font-size: 13px; color: #ff8a7a; min-height: 0; }
.field-error:empty { display: none; }

/* Hulpklassen */
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: var(--r-sm); background: var(--yellow); color: var(--on-yellow); font-weight: 700; }
.skip-link:focus { top: 16px; color: var(--on-yellow); }

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

/* Eigen cursor (alleen met muis): wit pijltje met gele kern, geel bij links en knoppen; valt terug op de standaardcursor */
@media (hover: hover) and (pointer: fine) {
  html { cursor: url("/assets/img/brand/cursor.svg") 4 1, auto; }
  a, button, [role="button"], label, summary, .btn { cursor: url("/assets/img/brand/cursor-hover.svg") 4 1, pointer; }
  input, textarea { cursor: text; }
}
