/* Huisstijl B "Licht lab", gedurfde variant (keuze Roland 1-11-2026).
   Witte pagina, per merk een krachtig gekleurd kopvlak met een felle knop.
   Merkkleuren komen per site uit content/<site>.json (theme) als --hero, --cta, --accent, --soft, --pop.
   Letters staan op de eigen hosting (assets/fonts, SIL Open Font License): geen verzoeken naar Google. */

@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap;
  src: url("fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 700; font-style: normal; font-display: swap;
  src: url("fonts/manrope-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 800; font-style: normal; font-display: swap;
  src: url("fonts/manrope-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Bricolage Grotesque"; font-weight: 700 800; font-style: normal; font-display: swap;
  src: url("fonts/bricolage-grotesque-latin-700-normal.woff2") format("woff2"); }

:root {
  --bg: #ffffff; --ink: #16181d; --muted: #555b66; --line: #e7e7ec; --card: #ffffff;
  --accent: #1f6feb; --accent-ink: #ffffff; --hero: #1f2328; --cta: #1f6feb; --cta-ink: #ffffff;
  --soft: #f4f4f6; --pop: #1f6feb;
  --display: "Manrope", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 20px;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #111317; --ink: #eceef2; --muted: #a6acb8; --line: #2a2e36; --card: #181b21; }
  body section:nth-of-type(odd):not(.hero) { background: #181b21; }
  a, nav a.lang, .soon, ul li::before { filter: brightness(1.6); }
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.65 var(--body); }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
a { color: var(--accent); text-underline-offset: 3px; }
a:focus-visible, .cta:focus-visible { outline: 3px solid var(--cta); outline-offset: 3px; border-radius: 6px; }

/* Kop van de pagina */
.top { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: center;
  justify-content: space-between; padding-top: 14px; padding-bottom: 14px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 800 1.3rem/1 var(--display);
  letter-spacing: -0.01em; color: var(--ink); text-decoration: none; }
.brand img { display: block; height: 40px; width: auto; }
nav { display: flex; flex-wrap: wrap; gap: 4px 20px; font-weight: 600; font-size: .95rem; }
nav a { color: var(--muted); text-decoration: none; padding: 4px 0; border-bottom: 2px solid transparent; }
nav a:hover, nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--cta); }
nav a.lang { color: var(--accent); font-weight: 400; }

/* Kopvlak: krachtige merkkleur, felle knop */
.hero { position: relative; overflow: hidden; margin: 28px 0 8px; padding: clamp(32px, 6vw, 64px);
  border-radius: var(--radius); background: var(--hero); color: #ffffff; isolation: isolate; }
.hero::after { content: ""; position: absolute; z-index: -1; right: -90px; top: -90px; width: 340px; height: 340px;
  border-radius: 50%; background: var(--cta); }
.hero::before { content: ""; position: absolute; z-index: -1; right: 150px; bottom: -70px; width: 160px; height: 160px;
  border-radius: 50%; border: 12px solid var(--pop); opacity: .9; }
.hero h1 { font: 800 clamp(2.1rem, 5.6vw, 3.6rem)/1.05 var(--display); letter-spacing: -0.025em;
  margin: 0 0 16px; max-width: 15em; text-wrap: balance; }
.hero .lead { font-size: clamp(1.05rem, 2.2vw, 1.25rem); color: rgba(255, 255, 255, .86); max-width: 36em; margin: 0; }
.hero p:last-child { margin-bottom: 0; }
.hero > *, .hero h1, .hero .lead { position: relative; max-width: min(100%, 580px); }
.cta { display: inline-block; margin-top: 24px; padding: 14px 26px; border-radius: 999px; background: var(--cta);
  color: var(--cta-ink); font-weight: 600; text-decoration: none; box-shadow: 0 6px 0 rgba(0, 0, 0, .25);
  transition: transform .15s ease, box-shadow .15s ease; }
.cta:hover { transform: translateY(-2px); box-shadow: 0 8px 0 rgba(0, 0, 0, .25); }

/* Per merk een eigen patroon in het kopvlak */
body[data-site="adaptfix"] .hero { background-image:
  linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
  linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 28px 28px; background-color: var(--hero); }
body[data-site="adaptfix"] .hero::after { border-radius: 50%; background: transparent;
  border: 46px solid var(--cta); width: 300px; height: 300px; }
body[data-site="isofix"] .hero { background-image: radial-gradient(rgba(255,255,255,.12) 1.5px, transparent 1.5px);
  background-size: 22px 22px; background-color: var(--hero); }
body[data-site="isofix"] .hero::after { border-radius: 40px; transform: rotate(18deg); }
body[data-site="huxaflux"] .hero::before { border: 0; background: var(--pop); opacity: .95; width: 120px; height: 120px;
  right: 230px; bottom: -40px; }

/* Inhoud */
h2 { font: 800 clamp(1.4rem, 3vw, 1.85rem)/1.2 var(--display); letter-spacing: -0.015em; margin: 0 0 12px;
  text-wrap: balance; }
h3 { font: 700 1.15rem/1.3 var(--display); margin: 14px 0 6px; }
main > section:not(.hero) { padding: 36px clamp(8px, 3vw, 32px); }
main > section:not(.hero):nth-of-type(odd) { background: var(--soft); border-radius: var(--radius); }
p, ul { max-width: 44em; }
ul { list-style: none; padding: 0; display: grid; gap: 8px; }
ul li { position: relative; padding-left: 30px; }
ul li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 14px; height: 8px;
  border-left: 3px solid var(--accent); border-bottom: 3px solid var(--accent); transform: rotate(-45deg); }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-top: 8px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px;
  transition: transform .15s ease, box-shadow .15s ease; }
.card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0, 0, 0, .08); }
.card img { width: 100%; height: auto; border-radius: 12px; display: block; background: var(--soft); }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a:hover { color: var(--accent); }
.card p { margin: 0; color: var(--muted); }

.soon { display: inline-block; margin: 28px 0 0; padding: 8px 16px; border-radius: 999px;
  background: var(--soft); color: var(--accent); font-weight: 600; font-size: .95rem; }

footer p { max-width: none; }
footer { border-top: 1px solid var(--line); margin-top: 48px; padding-top: 20px; padding-bottom: 36px;
  color: var(--muted); font-size: .9rem; }
footer .family { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); }
footer .family a { font-weight: 600; }

@media (max-width: 560px) {
  .hero { padding-bottom: 96px; }
  .hero::after, body[data-site="adaptfix"] .hero::after { width: 150px; height: 150px; right: -50px; top: auto; bottom: -60px; border-width: 28px; }
  .hero::before { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .cta, .card { transition: none; }
  .cta:hover, .card:hover { transform: none; }
}
