/* LocalX — reset 
   Onderdeel van de ForwardX Eleventy-structuur. Alle waarden via var(--naam). */

/* ============================================================
   LocalX — Reset & basistypografie
   ============================================================ */

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

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

body {
  margin: 0;
  background-color: var(--bg-surface);
  color: var(--text-sub);
  font-family: var(--ff-text);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  color: var(--text-main);
  font-family: var(--ff-display);
  font-weight: 900;
  line-height: 1.1em;
  letter-spacing: -0.02em;
  /* Lange samenstellingen als "businessprofielen" passen op een smal scherm
     niet op één regel; die mogen dan afbreken in plaats van uit te steken. */
  overflow-wrap: break-word;
}

h1 { font-size: var(--fs-h1); line-height: 1em; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }
h5 { font-size: var(--fs-h5); font-weight: 700; }
h6 { font-size: var(--fs-h6); font-weight: 700; line-height: 1.3em; }

p { margin: 0 0 0.8em; }

a { color: var(--accent); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--accent-h); }

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-sm);
}

ul, ol { margin: 0; padding: 0; list-style: none; }

em { font-style: italic; }

