/* ============================================================
   LIONHEART SYSTEMS — TACTICAL LUXURY 2.0
   Tokens → reset → componenten. Goud spaarzaam (spec-kernregel 3).
   ============================================================ */

/* Self-hosted fonts (GDPR: geen Google-request) — latin subset */
@font-face {
  font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 200 800;
  font-display: swap; src: url('/assets/fonts/plus-jakarta-sans-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Instrument Serif'; font-style: normal; font-weight: 400;
  font-display: swap; src: url('/assets/fonts/instrument-serif-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Instrument Serif'; font-style: italic; font-weight: 400;
  font-display: swap; src: url('/assets/fonts/instrument-serif-latin-italic.woff2') format('woff2');
}

:root {
  --base: #070b14; --surface: #0d1220; --surface-raised: #131a2e;
  --border: #1e2a45; --border-subtle: #151d33;
  --text-primary: #e8eaf0; --text-secondary: #8892a8; --text-muted: #7d89a4;
  --gold: #d4a853; --gold-dim: #b8923f;
  --gold-glow: rgba(212,168,83,.15); --gold-subtle: rgba(212,168,83,.08);
  --cyan: #38bdf8; --green: #34d399;
  --section-pad: clamp(6rem, 13vw, 11rem);
  --content-max: 1200px;
  --font-display: 'Instrument Serif', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
  --ease: cubic-bezier(.16,1,.3,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }
body {
  font-family: var(--font-body); background: var(--base); color: var(--text-primary);
  line-height: 1.65; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

/* Noise-overlay (subtiel, zoals huidige site) */
body::before {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 9999;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
}

.container { max-width: var(--content-max); margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2.5rem); }
em { font-style: italic; color: var(--gold); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(7,11,20,.85); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: .9rem clamp(1.25rem,4vw,2.5rem); max-width: var(--content-max); margin: 0 auto; }
.nav-logo img { height: 40px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 1.4rem; font-size: .875rem; color: var(--text-secondary); white-space: nowrap; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text-primary); }
.nav-cta {
  background: linear-gradient(135deg, var(--gold), var(--gold-dim)); color: var(--base);
  font-weight: 700; font-size: .8rem; padding: .65rem 1.25rem; border-radius: 9px; white-space: nowrap;
}
.nav-cta:hover { filter: brightness(1.08); }
.nav-lang { font-size: .8rem; color: var(--text-muted); letter-spacing: .04em; }
.nav-lang a:hover { color: var(--text-primary); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: .5rem; }
.nav-toggle span { width: 22px; height: 2px; background: var(--text-primary); transition: .25s var(--ease); }

/* ---------- Hero ---------- */
.hero { padding: calc(var(--section-pad) * .9) 0 var(--section-pad); text-align: center; position: relative; }
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 55% 42% at 50% 0%, var(--gold-subtle), transparent 70%);
}
.eyebrow { font-size: .72rem; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.6rem; }
.hero h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.6rem, 7vw, 5.2rem); line-height: 1.06; letter-spacing: -.01em; }
.hero-sub { max-width: 620px; margin: 1.75rem auto 0; color: var(--text-secondary); font-size: 1.1rem; font-weight: 300; }
.hero-ctas { display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; margin-top: 2.4rem; }
.hero-micro { margin-top: 1rem; font-size: .8rem; color: var(--text-muted); }

/* ---------- Knoppen ---------- */
.btn-gold {
  display: inline-block; background: linear-gradient(135deg, var(--gold), var(--gold-dim));
  color: var(--base); font-weight: 700; font-size: .95rem; padding: .95rem 2rem; border-radius: 11px;
  box-shadow: 0 10px 40px var(--gold-glow); transition: transform .25s var(--ease), filter .25s;
}
.btn-gold:hover { transform: translateY(-2px); filter: brightness(1.07); }
.btn-ghost {
  display: inline-block; background: rgba(19,26,46,.7); color: var(--text-primary);
  font-weight: 500; font-size: .95rem; padding: .95rem 1.8rem; border-radius: 11px; border: 1px solid var(--border);
  transition: border-color .25s;
}
.btn-ghost:hover { border-color: var(--gold-dim); }

/* ---------- Stats-bar ---------- */
.stats-bar { border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle); padding: 2.4rem 0; }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; text-align: center; }
.stat b { display: block; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; letter-spacing: -.02em; }
.stat span { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--text-muted); }

/* ---------- Secties ---------- */
.section { padding: var(--section-pad) 0; }
.section-title { font-family: var(--font-display); font-weight: 400; font-size: clamp(2rem, 4.5vw, 3.25rem); line-height: 1.12; text-align: center; }
.section-intro { max-width: 640px; margin: 1.25rem auto 0; text-align: center; color: var(--text-secondary); font-weight: 300; }

/* ---------- Producten-grid ---------- */
.product-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-top: 4rem; }
.product-card {
  display: block; background: transparent; border: 1px solid var(--border-subtle); border-radius: 16px;
  padding: 2.25rem; transition: transform .3s var(--ease), border-color .3s;
}
.product-card:hover { transform: translateY(-4px); border-color: var(--border); }
.product-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: .6rem; }
.product-card p { color: var(--text-secondary); font-size: .95rem; font-weight: 300; }
.product-card .card-link { display: inline-block; margin-top: 1.2rem; font-size: .85rem; font-weight: 600; color: var(--gold); }

/* ---------- Tools-marquee ---------- */
.tools { margin-top: 5.5rem; text-align: center; }
.tools-label { font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 1.1rem; }
.tools-row { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 2.2rem; color: var(--text-muted); font-size: .85rem; font-weight: 400; letter-spacing: .02em; }

/* ---------- Proces ---------- */
.process-grid { display: grid; grid-template-columns: 1fr; gap: 2.75rem 2.25rem; margin-top: 4.5rem; counter-reset: step; }
.process-step { position: relative; }
.process-step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--font-display); font-size: 1.7rem; color: var(--gold); display: block; margin-bottom: .9rem;
}
.process-step h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .5rem; }
.process-step p { color: var(--text-secondary); font-size: .92rem; font-weight: 300; }

/* ---------- Proces: indicatieve tijdlijn-labels ---------- */
.process-step .step-when { font-size: .68rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--text-muted); margin-bottom: .35rem; }

/* ---------- Rekensom (interactief, geen tracking) ---------- */
.calc { max-width: 760px; margin: 3.5rem auto 0; }
.calc-inputs { display: grid; grid-template-columns: 1fr; gap: 1.1rem; }
.calc-inputs label { font-size: .8rem; font-weight: 600; color: var(--text-secondary); display: grid; gap: .45rem; }
.calc-field { display: flex; align-items: center; gap: .6rem; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: .2rem 1rem; }
.calc-field span { color: var(--text-muted); font-size: .95rem; }
.calc-field input { flex: 1; min-width: 0; background: none; border: 0; padding: .7rem 0; color: var(--text-primary); font: inherit; font-size: 16px; }
.calc-field input:focus { outline: none; }
.calc-field:focus-within { outline: 2px solid var(--gold); outline-offset: 0; border-color: transparent; }
.calc-result { display: flex; align-items: center; justify-content: center; gap: clamp(1.25rem, 5vw, 3rem); margin-top: 2.5rem; text-align: center; flex-wrap: wrap; }
.calc-result b { display: block; font-size: clamp(1.7rem, 4vw, 2.4rem); font-weight: 700; letter-spacing: -.02em; }
.calc-result .calc-gold { color: var(--gold); }
.calc-result span { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); }
.calc-vs { font-family: var(--font-display); font-style: italic; color: var(--text-muted); font-size: 1.1rem; }
.calc-note { margin-top: 2rem; text-align: center; font-size: .8rem; color: var(--text-muted); }

/* ---------- Case ---------- */
.case { background: var(--surface); border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle); }
.case-body { max-width: 720px; margin: 2.25rem auto 0; color: var(--text-secondary); font-weight: 300; display: grid; gap: 1rem; }
.case-figures { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; max-width: 720px; margin: 2.75rem auto 0; text-align: center; }
.case-figures b { display: block; font-size: 1.4rem; font-weight: 700; color: var(--gold); }
.case-figures span { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); }

/* ---------- Vergelijkingstabel ---------- */
.compare-wrap { overflow-x: auto; margin-top: 3.5rem; -webkit-overflow-scrolling: touch; }
.compare-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: .9rem; }
.compare-table th, .compare-table td { padding: 1rem 1.1rem; text-align: left; border-bottom: 1px solid var(--border-subtle); }
.compare-table thead th { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); }
.compare-table thead th:nth-child(2) { color: var(--gold); }
.compare-table tbody th { color: var(--text-secondary); font-weight: 500; }
.compare-table td:nth-child(2) { color: var(--text-primary); }
.compare-table td:nth-child(3), .compare-table td:nth-child(4) { color: var(--text-muted); }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 3.5rem auto 0; display: grid; gap: .75rem; }
.faq details { background: var(--surface); border: 1px solid var(--border-subtle); border-radius: 12px; }
.faq summary {
  cursor: pointer; padding: 1.15rem 1.4rem; font-weight: 600; font-size: .95rem; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--gold); font-size: 1.2rem; flex-shrink: 0; }
.faq details[open] summary::after { content: '–'; }
.faq details p { padding: 0 1.4rem 1.25rem; color: var(--text-secondary); font-size: .92rem; font-weight: 300; }

/* ---------- Eind-CTA ---------- */
.cta-final { text-align: center; }
.cta-final .btn-gold { margin-top: 2.25rem; }
.cta-final-sub { margin-top: 1rem; font-size: .85rem; color: var(--text-muted); }

/* ---------- Product-pagina extra's ---------- */
.mini-stats { display: flex; flex-wrap: wrap; gap: .6rem 2rem; justify-content: center; margin-top: 2rem; color: var(--text-secondary); font-size: .85rem; }
.mini-stats b { color: var(--gold); font-weight: 700; }
.problem { max-width: 680px; margin: 0 auto; text-align: center; color: var(--text-secondary); font-size: 1.05rem; font-weight: 300; }
.flow-svg { width: 100%; max-width: 600px; margin: 3rem auto 0; display: block; }
.feature-list { max-width: 680px; margin: 3rem auto 0; display: grid; gap: .85rem; }
.feature-list li { display: flex; gap: .8rem; color: var(--text-secondary); font-weight: 300; }
.feature-list li::before { content: '✓'; color: var(--gold); font-weight: 700; flex-shrink: 0; }
.proof-card {
  max-width: 680px; margin: 3rem auto 0; background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; padding: 2.25rem; text-align: center;
}
.proof-card p { color: var(--text-secondary); font-weight: 300; }
.proof-card .btn-ghost { margin-top: 1.4rem; }

/* ---------- Prijskaarten ---------- */
.price-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; margin-top: 3.5rem; }
.price-card { background: var(--surface); border: 1px solid var(--border-subtle); border-radius: 16px; padding: 2rem; }
.price-card h3 { font-size: 1.1rem; font-weight: 700; }
.price-card .price-line { font-family: var(--font-display); font-size: 1.5rem; color: var(--gold); margin: .9rem 0; }
.price-card p, .price-card li { color: var(--text-secondary); font-size: .9rem; font-weight: 300; }
.price-card ul { margin-top: .9rem; display: grid; gap: .45rem; }
.price-card li::before { content: '— '; color: var(--gold-dim); }

/* ---------- Formulier ---------- */
.form { max-width: 560px; margin: 3rem auto 0; display: grid; gap: 1.1rem; }
.form label { font-size: .8rem; font-weight: 600; color: var(--text-secondary); display: grid; gap: .45rem; }
.form input, .form select, .form textarea {
  width: 100%; background: var(--surface); border: 1px solid var(--border); border-radius: 10px;
  padding: .85rem 1rem; color: var(--text-primary); font: inherit; font-size: 16px;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--gold); outline-offset: 0; border-color: transparent; }
.form textarea { min-height: 140px; resize: vertical; }
.form .hp { position: absolute; left: -9999px; opacity: 0; height: 0; }
.form-status { font-size: .9rem; padding: .9rem 1.1rem; border-radius: 10px; display: none; }
.form-status[data-state="ok"] { display: block; background: rgba(52,211,153,.1); color: var(--green); }
.form-status[data-state="error"] { display: block; background: rgba(248,113,113,.1); color: #f87171; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border-subtle); padding: 4rem 0 2.5rem; margin-top: calc(var(--section-pad) / 2); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
.footer-brand img { height: 44px; width: auto; }
.footer-brand p { margin-top: 1rem; color: var(--text-muted); font-size: .85rem; font-weight: 300; }
.footer h3 { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 1rem; }
.footer-col ul { display: grid; gap: .55rem; }
.footer-col a { color: var(--text-secondary); font-size: .875rem; }
.footer-col a:hover { color: var(--text-primary); }
.footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--border-subtle); color: var(--text-muted); font-size: .78rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; }

/* ---------- Responsive ---------- */
@media (min-width: 768px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .calc-inputs { grid-template-columns: 1fr 1fr; }
  /* Oneven laatste prijskaart (5e) spant de volle breedte */
  .price-grid > .price-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}
@media (min-width: 1024px) {
  .process-grid { grid-template-columns: repeat(4, 1fr); }
  /* Productpagina's hebben 3 stappen: geen lege vierde kolom */
  .process-grid:has(> :nth-child(3):last-child) { grid-template-columns: repeat(3, 1fr); }
  /* Diensten-grid met 3 kaarten: 3 kolommen i.p.v. 2+1 */
  .product-grid:has(> :nth-child(3):last-child) { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1099px) {
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column;
    align-items: flex-start; gap: 0; background: var(--surface); border-bottom: 1px solid var(--border);
    padding: .75rem clamp(1.25rem,4vw,2.5rem) 1.25rem;
  }
  .nav[data-menu-open="true"] .nav-links { display: flex; }
  .nav-links > a { padding: .7rem 0; width: 100%; }
  .nav-toggle { display: flex; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
