/* Huisstijl Auto-Mate: donkerblauwe achtergrond, lichtblauwe steunkleur, rood om uit te lichten */
:root {
  --bg: #03203d;        /* achtergrond */
  --bg-2: #062a4e;      /* iets lichter vlak (kaarten, banden) */
  --bg-3: #021829;      /* iets donkerder (footer, rekenvoorbeeld) */
  --support: #639cc5;   /* steunkleur */
  --accent: #34d399;    /* uitlichten: frisgroen dat goed samengaat met het blauw */
  --accent-dark: #22b884;
  --on-accent: #03203d; /* donkerblauwe tekst op groen, goed leesbaar */
  --ink: #ffffff;       /* koppen */
  --text: #dbe6f1;      /* lopende tekst */
  --muted: #9fb7cc;     /* rustige tekst */
  --line: rgba(99, 156, 197, .28);
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--support); }
h1, h2, h3 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); letter-spacing: -.01em; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section-tint { background: var(--bg-2); }
.section-dark { background: var(--bg-3); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 700; color: var(--support); margin-bottom: .6em; }
.eyebrow.light { color: var(--support); }
.lead { font-size: 1.15rem; color: var(--muted); }
.narrow { max-width: 640px; }
.small { font-size: .92rem; }
.muted { color: var(--muted); }
.light-muted { color: var(--muted); }
.center { text-align: center; }
/* Uitgelicht woord (bijv. "AI" in de kop) */
.grad { color: var(--accent); }

/* Placeholders die Frank nog moet invullen */
.placeholder { background: #fff4c2; color: #6b5300; padding: 1px 6px; border-radius: 4px; font-style: italic; }

/* Knoppen */
.btn {
  display: inline-block; background: var(--accent); color: var(--on-accent); text-decoration: none;
  font-weight: 600; padding: 14px 24px; border-radius: 999px;
  box-shadow: 0 6px 18px rgba(52, 211, 153, .28); transition: transform .15s, box-shadow .15s, background .15s;
}
.btn:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(52, 211, 153, .34); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--support); }
.btn-ghost:hover { background: rgba(99, 156, 197, .14); box-shadow: inset 0 0 0 2px var(--support); }
.btn-small { padding: 8px 18px; font-size: .95rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(3, 32, 61, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-size: 1.05rem; }
.brand strong { color: var(--support); }
.nav { display: flex; align-items: center; gap: 24px; }
.nav a:not(.btn) { color: var(--text); text-decoration: none; font-weight: 500; }
.nav a:not(.btn):hover { color: var(--support); }

/* Hero */
.hero { overflow-x: clip; padding: 72px 0 64px; background: radial-gradient(ellipse at 80% 30%, rgba(99, 156, 197, .22) 0%, rgba(3, 32, 61, 0) 60%), var(--bg); }
.hero-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 12px; }
.hero-logo img { width: 100%; max-width: 400px; margin: 0 auto; }

/* Kaarten */
.cards { display: grid; gap: 24px; margin-top: 32px; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; position: relative; }
.section-tint .card, .section-tint .steps li, .section-tint .contact-item { background: var(--bg); }
.checks { list-style: none; padding: 0; margin: 0 0 1.2em; }
.checks li { position: relative; padding-left: 28px; margin-bottom: .5em; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 16px; border-radius: 50%;
  background: var(--support);
  -webkit-mask: radial-gradient(circle, #000 3px, transparent 3.5px), linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.quote { font-weight: 600; color: var(--accent); border-left: 3px solid var(--accent); padding-left: 12px; }

/* Stappen */
.steps { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps li { background: var(--bg-2); border-radius: var(--radius); padding: 24px; border: 1px solid var(--line); }
.step-num { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--support); color: var(--bg); font-weight: 800; margin-bottom: 12px; }
.price-tag { font-weight: 700; color: var(--support); margin-bottom: .5em; }

/* Prijzen */
.plan-price { font-size: 2rem; font-weight: 800; color: var(--ink); margin: 0; }
.plan-sub { color: var(--muted); margin-bottom: 1.2em; }
.plan-featured { border: 2px solid var(--accent); box-shadow: 0 14px 34px rgba(0, 0, 0, .3); }
.badge { position: absolute; top: -13px; left: 28px; background: var(--accent); color: var(--on-accent); font-size: .8rem; font-weight: 700; padding: 3px 12px; border-radius: 999px; margin: 0; }
.pricing + .small { margin-top: 24px; }

/* Rekenvoorbeeld */
.example { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; }
.big-number { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; text-align: center; }
.big-number span { display: block; font-size: clamp(2.4rem, 6vw, 3.4rem); font-weight: 800; line-height: 1.1; margin-bottom: 8px; color: var(--accent); }
.big-number p { margin: 0; color: var(--muted); }

/* Over mij */
.about { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
.facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.facts li { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; display: flex; flex-direction: column; }
.facts strong { color: var(--ink); }
.facts span { color: var(--muted); font-size: .95rem; }

/* Contact */
.contact { text-align: center; }
.contact .narrow { margin: 0 auto 32px; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 900px; margin: 0 auto; }
.contact-item { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.contact-item > span:not(.label) { color: var(--accent); }
.contact-img { width: auto; height: 24px; align-self: center; }
.contact-link { align-self: center; text-decoration: none; }
.contact-link:hover .contact-img { opacity: .8; }
.label { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--support); font-weight: 700; }

/* Footer */
.site-footer { background: var(--bg-3); color: var(--muted); padding: 28px 0; font-size: .92rem; border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* Toetsenbordfocus goed zichtbaar */
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* Tablet en mobiel */
@media (max-width: 900px) {
  .cards.three, .steps { grid-template-columns: 1fr 1fr; }
  .pricing { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .section { padding: 56px 0; }
  .nav a:not(.btn) { display: none; }
  .brand span { font-size: .95rem; }
  .hero { padding: 40px 0; }
  .hero-inner, .example, .about { grid-template-columns: 1fr; gap: 28px; }
  .hero-logo { order: -1; }
  .hero-logo img { max-width: 180px; }
  .cards.three, .steps, .contact-grid { grid-template-columns: 1fr; }
}

/* Hero met grote, gecentreerde particle-headline */
.hero { padding: 96px 0 88px; }
.hero-center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-center .lead { max-width: 900px; }
/* Introtekst groter, elke zin op een eigen regel */
.hero-center .hero-lead { font-size: clamp(1.2rem, 2.2vw, 1.55rem); line-height: 1.5; color: var(--text); }
/* Introtekst precies op 2 regels (op smalle schermen mag hij verder afbreken) */
@media (min-width: 900px) { .lead-line { white-space: nowrap; } }
.hero-center .hero-actions { justify-content: center; }
.hero-note { margin-top: 1.6em; font-size: 1.15rem; }
@media (max-width: 720px) { .hero { padding: 56px 0 48px; } }
/* Op laptops en pc's vult de hero het hele scherm, zodat "Voor wie" pas onder de vouw begint */
@media (min-width: 900px) and (min-height: 560px) {
  .hero { min-height: calc(100vh - 69px); min-height: calc(100svh - 69px); display: flex; align-items: center; }
  .hero-center { width: 100%; }
  /* Kop 1,5 cm hoger; de tekst eronder blijft op zijn plek */
  .particle-head { top: -1.5cm; }
}

/* Particle-headline */
.particle-head { position: relative; width: 100%; }
.particle-head h1 { --pc: var(--ink); font-size: clamp(2.86rem, 9.9vw, 7.7rem); line-height: 1.04; letter-spacing: .015em; word-spacing: .05em; margin: .1em 0 .45em; overflow-wrap: break-word; hyphens: manual; }
.particle-head h1 .grad { --pc: var(--accent); }
.particle-head canvas { position: absolute; pointer-events: none; transition: opacity .6s ease; }
/* Alleen als de animatie echt draait, wordt de echte kop onzichtbaar (maar blijft hij leesbaar voor schermlezers en selecteerbaar) */
.particle-head.is-live h1,
.particle-head.is-live h1 .grad { color: transparent; -webkit-text-fill-color: transparent; }
.particle-head.handoff h1, .particle-head.handoff h1 .grad { transition: color .6s ease, -webkit-text-fill-color .6s ease; }
