/* ============================================================
   Shopantwoord — landingspagina. Warm & vertrouwd.
   Design-tokens eerst, daarna componenten (mobile-first).
   ============================================================ */

:root {
  /* Kleur — warme, vertrouwde palet (oklch) */
  --cream:        oklch(97.5% 0.012 85);
  --cream-deep:   oklch(95% 0.02 80);
  --surface:      oklch(99% 0.006 85);
  --ink:          oklch(25% 0.02 50);
  --ink-soft:     oklch(42% 0.02 55);
  --terracotta:   oklch(62% 0.15 38);
  --terracotta-d: oklch(54% 0.16 36);
  --green:        oklch(48% 0.07 155);
  --green-soft:   oklch(94% 0.03 150);
  --line:         oklch(88% 0.02 75);

  /* Typografie */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-hero: clamp(2.4rem, 1.4rem + 4.2vw, 4.6rem);
  --text-h2: clamp(1.7rem, 1.2rem + 1.8vw, 2.7rem);
  --text-h3: clamp(1.15rem, 1rem + 0.4vw, 1.35rem);

  /* Ritme & vorm */
  --space-section: clamp(3.5rem, 2.5rem + 5vw, 7rem);
  --radius: 16px;
  --radius-lg: 26px;
  --shadow-sm: 0 1px 2px oklch(25% 0.02 50 / 0.06), 0 4px 12px oklch(25% 0.02 50 / 0.05);
  --shadow-md: 0 10px 30px oklch(25% 0.02 50 / 0.10);
  --shadow-lg: 0 24px 60px oklch(40% 0.08 40 / 0.16);

  --dur: 240ms;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; color: var(--ink); margin: 0 0 0.4em; }
h1 em { font-style: italic; color: var(--terracotta); }
p { margin: 0 0 1rem; }
a { color: var(--terracotta-d); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { width: min(1140px, 92vw); margin-inline: auto; }
.narrow { width: min(760px, 92vw); }

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--cream);
  padding: 0.6rem 1rem; border-radius: 0 0 8px 0; z-index: 100;
}
.skip-link:focus { left: 0; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem;
  padding: 0.85rem 1.5rem; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; text-decoration: none; transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--terracotta); color: oklch(99% 0.01 85); box-shadow: var(--shadow-md); }
.btn-primary:hover { background: var(--terracotta-d); box-shadow: var(--shadow-lg); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--terracotta); color: var(--terracotta-d); }
.btn-sm { padding: 0.55rem 1.1rem; font-size: 0.95rem; }
.btn-block { display: flex; width: 100%; }

/* ---- Header ---- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: oklch(97.5% 0.012 85 / 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 0.85rem 0; }
.brand { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--ink); font-weight: 700; }
.brand:hover { text-decoration: none; }
.brand-mark { color: var(--terracotta); font-size: 1.4rem; line-height: 1; }
.brand-name { font-family: var(--font-display); font-size: 1.25rem; letter-spacing: -0.01em; }
.site-nav { display: flex; align-items: center; gap: 1.6rem; }
.site-nav a { color: var(--ink-soft); font-weight: 500; font-size: 0.97rem; }
.site-nav a:hover { color: var(--ink); text-decoration: none; }
.site-nav .btn { color: oklch(99% 0.01 85); }
@media (max-width: 820px) {
  .site-nav a:not(.btn) { display: none; }
}

/* ---- Hero ---- */
.hero { padding: clamp(2.5rem, 2rem + 4vw, 5.5rem) 0 var(--space-section); position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 50vw; height: 50vw; max-width: 640px; max-height: 640px;
  background: radial-gradient(circle at 60% 40%, oklch(85% 0.09 40 / 0.55), transparent 62%);
  z-index: 0; pointer-events: none;
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

.eyebrow { display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green); background: var(--green-soft); padding: 0.35rem 0.8rem; border-radius: 999px; margin-bottom: 1.2rem; }
.hero h1 { font-size: var(--text-hero); letter-spacing: -0.02em; }
.lede { font-size: clamp(1.1rem, 1rem + 0.5vw, 1.35rem); color: var(--ink-soft); max-width: 36ch; margin-top: 0.5rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin: 1.8rem 0 1.4rem; }
.hero-points { list-style: none; display: flex; flex-wrap: wrap; gap: 1.2rem; padding: 0; margin: 0; color: var(--ink-soft); font-size: 0.95rem; font-weight: 600; }
.hero-points li { display: flex; align-items: center; gap: 0.45rem; }
.hero-points li::before { content: "✓"; color: var(--green); font-weight: 800; }

/* ---- Hero demo-kaart ---- */
.hero-demo { position: relative; z-index: 1; }
.demo-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.6rem; box-shadow: var(--shadow-lg); }
.demo-title { font-size: 1.4rem; margin-bottom: 0.25rem; }
.demo-sub { font-size: 0.95rem; color: var(--ink-soft); margin-bottom: 1.1rem; }
.demo-chat-preview { display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 1.2rem; }
.bubble { padding: 0.7rem 0.95rem; border-radius: 16px; font-size: 0.92rem; line-height: 1.45; max-width: 88%; }
.bubble-in { align-self: flex-end; background: var(--cream-deep); color: var(--ink); border-bottom-right-radius: 5px; }
.bubble-bot { align-self: flex-start; background: oklch(96% 0.04 40); color: var(--ink); border-bottom-left-radius: 5px; }
.demo-note { font-size: 0.8rem; color: var(--ink-soft); text-align: center; margin: 0.7rem 0 0; }

/* ---- Secties ---- */
.section { padding: var(--space-section) 0; }
.section-warm { background: var(--cream-deep); }
.section-title { font-size: var(--text-h2); letter-spacing: -0.015em; text-align: center; margin-bottom: clamp(1.8rem, 1rem + 2vw, 3rem); }
.big-text { font-size: clamp(1.2rem, 1.05rem + 0.7vw, 1.6rem); line-height: 1.5; text-align: center; color: var(--ink-soft); }
.big-text strong { color: var(--ink); }

/* ---- Vergelijking ---- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; max-width: 880px; margin-inline: auto; }
@media (max-width: 680px) { .compare { grid-template-columns: 1fr; } }
.compare-col { padding: 1.6rem; border-radius: var(--radius); }
.compare-old { background: var(--surface); border: 1px dashed var(--line); color: var(--ink-soft); }
.compare-new { background: linear-gradient(160deg, oklch(96% 0.05 40), var(--surface)); border: 1.5px solid oklch(80% 0.1 40); box-shadow: var(--shadow-md); }
.compare-label { display: inline-block; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.6rem; }
.compare-old .compare-label { color: var(--ink-soft); }
.compare-new .compare-label { color: var(--terracotta-d); }
.compare-col p { margin: 0; }

/* ---- Stappen ---- */
.steps { list-style: none; counter-reset: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; position: relative; }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--terracotta); color: oklch(99% 0.01 85); font-family: var(--font-display); font-weight: 700; margin-bottom: 0.8rem; }
.step h3 { font-size: var(--text-h3); margin-bottom: 0.3rem; }
.step p { margin: 0; color: var(--ink-soft); }

/* ---- Cards ---- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
@media (max-width: 880px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: oklch(82% 0.08 45); }
.card-icon { font-size: 1.8rem; display: block; margin-bottom: 0.6rem; }
.card h3 { font-size: var(--text-h3); margin-bottom: 0.3rem; }
.card p { margin: 0; color: var(--ink-soft); font-size: 0.97rem; }

/* ---- Waarom ---- */
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem 2.4rem; max-width: 900px; margin-inline: auto; }
@media (max-width: 680px) { .why-grid { grid-template-columns: 1fr; } }
.why-item h3 { font-size: var(--text-h3); display: flex; align-items: baseline; gap: 0.5rem; }
.why-item h3::before { content: "—"; color: var(--terracotta); }
.why-item p { margin: 0; color: var(--ink-soft); }

/* ---- FAQ ---- */
.faq { display: flex; flex-direction: column; gap: 0.7rem; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 1.3rem; transition: border-color var(--dur) var(--ease); }
.faq details[open] { border-color: oklch(82% 0.08 45); box-shadow: var(--shadow-sm); }
.faq summary { font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; padding: 1.1rem 0; cursor: pointer; 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(--terracotta); font-size: 1.5rem; line-height: 1; transition: transform var(--dur) var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 1.1rem; color: var(--ink-soft); }

/* ---- CTA / formulier ---- */
.section-cta { background: linear-gradient(170deg, var(--cream-deep), oklch(93% 0.04 40)); }
.cta-sub { text-align: center; color: var(--ink-soft); font-size: 1.1rem; max-width: 52ch; margin: -0.5rem auto 2rem; }
.lead-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.4rem, 1rem + 2vw, 2.4rem); box-shadow: var(--shadow-md); display: grid; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field label { font-weight: 600; font-size: 0.92rem; color: var(--ink); }
.field input, .field select, .field textarea {
  font: inherit; color: var(--ink); background: var(--cream); border: 1.5px solid var(--line); border-radius: 12px; padding: 0.75rem 0.9rem; transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--terracotta); box-shadow: 0 0 0 3px oklch(70% 0.12 40 / 0.2); }
.field textarea { resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { text-align: center; margin: 0.4rem 0 0; font-weight: 600; min-height: 1.2em; }
.form-status.ok { color: var(--green); }
.form-status.err { color: var(--terracotta-d); }

/* ---- Footer ---- */
.site-footer { background: var(--ink); color: oklch(90% 0.01 85); padding: 2.6rem 0; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.2rem; }
.site-footer .brand-name { color: oklch(97% 0.01 85); }
.footer-tag { margin: 0.3rem 0 0; color: oklch(78% 0.02 85); font-family: var(--font-display); font-style: italic; }
.footer-meta { margin: 0; color: oklch(72% 0.02 85); font-size: 0.9rem; }

/* ---- Scroll-reveal (compositor-vriendelijk) ---- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .card:hover { transform: none; }
}
