/* Gedeelde basis: kleuren, letters, knoppen en formulieren */

@font-face {
  font-family: 'Young Serif';
  src: url('/fonts/young-serif-latin-400-normal.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Hanken Grotesk';
  src: url('/fonts/hanken-grotesk-latin-wght-normal.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #1f1233;
  --aubergine: #2a1450;
  --aubergine-2: #3a1f6b;
  --iris: #5b3aa8;
  --iris-dark: #482c8c;
  --orchid: #9b7ad8;
  --lilac: #e7def6;
  --lilac-soft: #f5f0fc;
  --paper: #fcfaff;
  --white: #ffffff;
  --line: #e2d9f1;
  --muted: #655a82;
  --saffron: #f2b63d;
  --saffron-soft: #fff1d0;
  --saffron-ink: #6b4700;
  --ok: #1f6b4a;
  --ok-soft: #dff2e8;
  --danger: #b3263e;
  --danger-soft: #fbe6ea;

  --serif: 'Young Serif', 'Iowan Old Style', Georgia, serif;
  --sans: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --radius: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.15; margin: 0; letter-spacing: -0.005em; }
p { margin: 0; }
[hidden] { display: none !important; }
a { color: var(--iris); text-underline-offset: 3px; }
a:hover { color: var(--iris-dark); }
img { max-width: 100%; display: block; }
.num, .money { font-variant-numeric: tabular-nums; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

:focus-visible { outline: 3px solid var(--orchid); outline-offset: 2px; border-radius: 4px; }

/* Knoppen */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 44px; padding: 0.55rem 1.15rem;
  font: inherit; font-weight: 600; font-size: 0.97rem; line-height: 1.2;
  border: 1.5px solid transparent; border-radius: var(--radius);
  background: var(--iris); color: var(--white);
  cursor: pointer; text-decoration: none;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.btn:hover { background: var(--iris-dark); color: var(--white); }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; }
.btn.secondary { background: transparent; color: var(--iris); border-color: var(--iris); }
.btn.secondary:hover { background: var(--lilac-soft); color: var(--iris-dark); }
.btn.ghost { background: transparent; color: var(--iris); padding-inline: 0.6rem; }
.btn.ghost:hover { background: var(--lilac-soft); }
.btn.danger { background: var(--danger); }
.btn.danger:hover { background: #8f1d31; }
.btn.small { min-height: 34px; padding: 0.3rem 0.7rem; font-size: 0.88rem; }

/* Formulieren */
.field { display: flex; flex-direction: column; gap: 0.35rem; min-width: 0; }
.field > label, .field > .label { font-weight: 600; font-size: 0.92rem; }
.field .hint { color: var(--muted); font-size: 0.85rem; }
input, select, textarea {
  width: 100%; min-height: 44px;
  font: inherit; color: var(--ink);
  background: var(--white);
  border: 1.5px solid #cdbfe6; border-radius: var(--radius);
  padding: 0.55rem 0.75rem;
}
textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--orchid); outline-offset: 0; border-color: var(--iris); }
input[type='checkbox'] { width: 20px; min-height: 20px; height: 20px; accent-color: var(--iris); padding: 0; }
.form-error { color: var(--danger); background: var(--danger-soft); border-radius: var(--radius); padding: 0.6rem 0.8rem; font-size: 0.93rem; }
.form-ok { color: var(--ok); background: var(--ok-soft); border-radius: var(--radius); padding: 0.6rem 0.8rem; font-size: 0.93rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
