/* =============================================================
   Doleta v3 — base.css
   Modern reset + body-defaults + focus-rings + motion-prefs +
   heading-scale uit tokens. GEEN component-styling.
   ============================================================= */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -moz-tab-size: 4;
  tab-size: 4;
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body,
h1, h2, h3, h4, h5, h6,
p, figure, blockquote,
dl, dd, ol, ul,
fieldset, legend {
  margin: 0;
  padding: 0;
}

ul[role="list"],
ol[role="list"] {
  list-style: none;
}

html, body {
  height: 100%;
}

body {
  min-height: 100dvh;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: var(--lh-body);
}

img, picture, svg, video, canvas {
  display: block;
  max-width: 100%;
  height: auto;
}

svg { fill: currentColor; }

input, button, textarea, select {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: var(--space-6) 0;
}

/* ---------- Body-defaults ---------- */
body {
  font-family: var(--font-sans);
  font-size: var(--fs-14);
  font-weight: var(--fw-regular);
  line-height: var(--lh-body);
  font-feature-settings: var(--ff-body);
  color: var(--ink);
  background: var(--bg);
}

::selection {
  background: var(--accent);
  color: var(--accent-ink-on);
}

/* ---------- Heading-scale (semantic, niet component) ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  font-weight: var(--fw-semi);
  color: var(--ink);
  line-height: var(--lh-snug);
  text-wrap: balance;
}

h1 {
  font-size: var(--fs-h1);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tighter);
  font-weight: var(--fw-semi);
}

h2 {
  font-size: var(--fs-h2);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tighter);
  font-weight: var(--fw-semi);
}

h3 {
  font-size: var(--fs-h3);
  letter-spacing: var(--ls-tight);
}

h4 {
  font-size: var(--fs-h4);
  letter-spacing: var(--ls-tight);
}

h5 { font-size: var(--fs-h5); }
h6 { font-size: var(--fs-h6); }

p {
  text-wrap: pretty;
  max-width: 70ch;
}

small {
  font-size: var(--fs-12);
  color: var(--ink-soft);
}

strong, b {
  font-weight: var(--fw-semi);
}

code, kbd, samp, pre {
  font-family: var(--font-mono);
  font-size: 0.95em;
}

/* dt / dd patroon — uit offerte-typografie-anker */
dl { display: grid; gap: var(--space-2); }
dt {
  font-size: var(--fs-eyebrow);
  text-transform: uppercase;
  letter-spacing: var(--ls-wider);
  color: var(--ink-mute);
  font-weight: var(--fw-medium);
}
dd {
  font-size: var(--fs-14);
  color: var(--ink);
}

/* ---------- Focus-rings (gold-glow) ---------- */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* form-elementen krijgen glow ipv outline */
button:focus-visible,
[role="button"]:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
a:focus-visible,
[tabindex]:focus-visible {
  outline: none;
  box-shadow: var(--shadow-gold-glow);
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Utility primitives (geen component) ---------- */
.is-visually-hidden,
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: 100%;
  max-width: var(--container-xl);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}
.container--wide { max-width: var(--container-2xl); }
.container--narrow { max-width: var(--container-md); }

.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.tabular { font-variant-numeric: tabular-nums; }

.eyebrow {
  font-size: var(--fs-eyebrow);
  text-transform: uppercase;
  letter-spacing: var(--ls-wider);
  color: var(--ink-mute);
  font-weight: var(--fw-medium);
}

.text-mute { color: var(--ink-mute); }
.text-soft { color: var(--ink-soft); }

/* placeholder pattern voor lege intake-velden */
.placeholder-missing {
  color: var(--ink-mute);
  font-style: italic;
  font-size: 0.95em;
}
