/* KLOXAR website — basisstijl.
   Kleuren volgen de app: donkere basis, cyaan als enige accent.
   Geen externe fonts of scripts: nul verzoeken naar derden, dus geen cookiebanner nodig. */

:root {
  --ink: #05090e;
  --surface: #10161d;
  --raised: #161d26;
  --line: #253242;
  --cyan: #5fd8f2;
  --cyan-deep: #12a5d8;
  --text: #f2f5f8;
  --muted: #8d9aa9;
  --radius: 10px;
  --maxw: 1080px;
  --font: ui-sans-serif, -apple-system, "Segoe UI", Roboto, Inter, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--ink);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img, svg { max-width: 100%; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- kop ---------- */

.site-head {
  position: sticky; top: 0; z-index: 20;
  background: rgba(5, 9, 14, .82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-head .wrap {
  display: flex; align-items: center; gap: 24px;
  min-height: 66px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand .mark { width: 34px; height: 34px; flex: 0 0 auto; }
.wordmark { font-weight: 800; font-size: 22px; letter-spacing: 1.5px; }
.wm-k { color: var(--text); }
.wm-ar { color: var(--cyan); }

.site-nav { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.site-nav a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 600; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--text); }

/* taalwisselaar: pure HTML, werkt zonder JavaScript */
.langpick { position: relative; }
.langpick > summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; gap: 7px;
  color: var(--muted); font-size: 15px; font-weight: 600;
  border: 1px solid var(--line); border-radius: 8px; padding: 5px 11px;
}
.langpick > summary::-webkit-details-marker { display: none; }
.langpick[open] > summary, .langpick > summary:hover { color: var(--text); border-color: var(--cyan-deep); }
.langpick .caret { width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); }
.langmenu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 168px;
  background: var(--raised); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 6px; box-shadow: 0 18px 40px rgba(0, 0, 0, .5);
}
.langmenu a {
  display: block; padding: 8px 12px; border-radius: 6px;
  text-decoration: none; color: var(--muted); font-size: 15px; font-weight: 600;
}
.langmenu a:hover, .langmenu a:focus-visible { background: rgba(95, 216, 242, .1); color: var(--text); }
.langmenu a[aria-current="true"] { color: var(--cyan); }

/* ---------- hero ---------- */

.hero {
  background: radial-gradient(1100px 620px at 50% -10%, #1a2431 0%, #10161d 46%, var(--ink) 82%);
  border-bottom: 1px solid var(--line);
  padding: 62px 0 54px;
  text-align: center;
}
.eyebrow {
  text-transform: uppercase; letter-spacing: 4px;
  font-size: 12px; font-weight: 700; color: var(--cyan);
}
.hero h1 {
  margin: 12px auto 16px; max-width: 820px;
  font-size: clamp(34px, 6vw, 60px); line-height: 1.06;
  font-weight: 800; letter-spacing: -.5px;
}
.lead { margin: 0 auto; max-width: 62ch; color: var(--muted); font-size: 19px; }
.cta-row { margin-top: 26px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 13px 26px; border-radius: 8px;
  font-weight: 700; font-size: 16px; text-decoration: none;
  border: 1px solid transparent; transition: transform .12s ease, background .12s ease;
}
.btn-primary { background: var(--cyan-deep); color: #04121a; }
.btn-primary:hover { background: var(--cyan); }
.btn-ghost { border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--cyan-deep); }
.hero-note { margin-top: 16px; font-size: 14px; color: #6d7b8b; }

/* ---------- secties ---------- */

section { padding: 50px 0; border-bottom: 1px solid var(--line); }
section h2 { font-size: clamp(25px, 3.4vw, 34px); font-weight: 800; letter-spacing: -.3px; margin-bottom: 22px; }
section h2 + .section-lead { margin: -12px 0 26px; max-width: 62ch; color: var(--muted); }

.cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(228px, 1fr)); }
/* Zes doelgroepen: drie op een rij leest rustiger dan vier plus twee. */
.cards-wide { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 20px 22px; }
.card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; color: var(--cyan); }
.card p { color: var(--muted); font-size: 16px; }

/* links in de voettekst naar de uitlegpagina's */
.foot-pages { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 16px 0 4px; }
.foot-pages a { color: var(--muted); text-decoration: none; }
.foot-pages a:hover { color: var(--text); }

/* contact */
.contact-inner { max-width: 60ch; }  /* binnen .wrap, dus links uitgelijnd */
.contact-inner p { color: var(--muted); margin-bottom: 26px; }

/* aanmeldformulier */
.form-inner { max-width: 720px; }
.aanmeldform { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; align-items: end; }
.aanmeldform label { display: grid; gap: 6px; }
.aanmeldform label.breed, .aanmeldform button { grid-column: 1 / -1; }
.aanmeldform span { font-size: 14px; font-weight: 600; color: var(--muted); }
.aanmeldform input, .aanmeldform textarea {
  width: 100%; padding: 11px 13px; border-radius: 8px;
  background: var(--surface); border: 1px solid var(--line);
  color: var(--text); font: inherit; font-size: 16px;
}
.aanmeldform input:focus, .aanmeldform textarea:focus {
  outline: none; border-color: var(--cyan-deep);
}
.aanmeldform textarea { resize: vertical; }
.aanmeldform button { justify-self: start; cursor: pointer; }
/* Vangput voor invulrobots: uit beeld, maar niet display:none — dat slaan ze over. */
.honing { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.privacy { margin-top: 16px; font-size: 14px; color: #6d7b8b; max-width: 62ch; }
.privacy a { color: var(--muted); }

@media (max-width: 620px) {
  .aanmeldform { grid-template-columns: 1fr; }
}

/* bevestigingspagina na het aanmelden */
.bevestiging { padding: 90px 0; text-align: center; }
.bevestiging h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; margin-bottom: 14px; }
.bevestiging p { color: var(--muted); margin-bottom: 26px; }

/* ---------- voet ---------- */

.site-foot { padding: 32px 0 44px; color: var(--muted); font-size: 15px; }
.foot-top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.foot-top .mark { width: 28px; height: 28px; }
.foot-top .wordmark { font-size: 18px; }
.foot-tag { color: #6d7b8b; font-size: 14px; letter-spacing: 3px; text-transform: uppercase; }
.foot-langs { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 12px 0 16px; }
.foot-langs a { text-decoration: none; }
.foot-langs a:hover { color: var(--text); }
.foot-langs a[aria-current="true"] { color: var(--cyan); }

@media (max-width: 720px) {
  body { font-size: 16px; }
  .site-nav a[data-optional] { display: none; }
  .price-box { grid-template-columns: 1fr; padding: 26px; }
  .hero { padding: 44px 0 40px; }
  section { padding: 38px 0; }
}
