/* ============================================================
   Follio landingspagina
   Merk: donkerblauw #1B3A6B · oranje #FF6B35 (schaars, alleen CTA)
   gebroken wit #F7F8FA · nacht #0D1B2A · lichtgrijs #E8EBF0
   Font: Inter
   ============================================================ */

:root {
  --blue: #1B3A6B;
  --blue-deep: #142c52;
  --orange: #FF6B35;
  --orange-dark: #e85a26;
  --bg: #F7F8FA;
  --night: #0D1B2A;
  --line: #E8EBF0;
  --white: #ffffff;
  --muted: #5a6776;

  --maxw: 1140px;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 3px rgba(13, 27, 42, 0.06), 0 1px 2px rgba(13, 27, 42, 0.04);
  --shadow-md: 0 10px 30px rgba(13, 27, 42, 0.08);
  --shadow-lg: 0 20px 50px rgba(13, 27, 42, 0.12);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  color: var(--night);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { font-weight: 700; color: var(--blue); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; }
.narrow { max-width: 760px; }
.section { padding: clamp(56px, 9vw, 104px) 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(36px, 5vw, 56px); }
.section-intro { color: var(--muted); font-size: 1.1rem; margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5em; font-weight: 600; font-size: 1rem;
  padding: 14px 26px; border-radius: var(--radius-sm);
  border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  background: var(--orange); color: var(--night); /* donkere tekst (#0D1B2A) op oranje = WCAG AA, ~6.5:1 */
  box-shadow: 0 6px 16px rgba(255, 107, 53, 0.28);
}
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(255, 107, 53, 0.34); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost { background: transparent; color: var(--blue); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--blue); background: rgba(27, 58, 107, 0.04); }
.btn-block { width: 100%; }
.btn-nav { padding: 10px 18px; font-size: .95rem; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.btn-primary:focus-visible { outline-color: var(--blue); }

/* ---------- Wordmark ---------- */
.wordmark {
  font-weight: 700; font-size: 1.5rem; color: var(--blue);
  letter-spacing: -0.03em; text-decoration: none; line-height: 1;
}
.wordmark:hover { text-decoration: none; }
.wordmark-i { position: relative; color: var(--blue); }
/* oranje stip op de i */
.wordmark-i::after {
  content: ""; position: absolute; top: -0.04em; left: 50%;
  transform: translateX(-50%);
  width: 0.18em; height: 0.18em; border-radius: 50%;
  background: var(--orange);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 248, 250, 0.88);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 20px; min-height: 66px; }
.nav { display: none; gap: 26px; margin-left: auto; }
.nav a { color: var(--blue); font-weight: 600; font-size: .95rem; }
.nav a:hover { color: var(--orange); text-decoration: none; }
.btn-nav { margin-left: auto; }

/* Hamburger-toggle (alleen mobiel zichtbaar) */
.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; margin-left: 4px; padding: 10px;
  background: transparent; border: 1px solid var(--line); border-radius: var(--radius-sm);
  cursor: pointer; flex: none;
}
.nav-toggle-bar {
  display: block; height: 2px; width: 100%; background: var(--blue); border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobiel uitklapmenu */
.mobile-nav {
  display: flex; flex-direction: column;
  border-top: 1px solid var(--line); background: var(--bg);
  padding: 6px 22px 14px;
}
.mobile-nav[hidden] { display: none; }
.mobile-nav a {
  padding: 13px 4px; font-weight: 600; color: var(--blue);
  border-bottom: 1px solid var(--line);
}
.mobile-nav a:last-child { border-bottom: 0; }
.mobile-nav a:hover { color: var(--orange); text-decoration: none; }

@media (min-width: 860px) {
  .nav { display: flex; }
  .btn-nav { margin-left: 8px; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none !important; } /* nooit tonen op desktop */
}

@media (prefers-reduced-motion: reduce) {
  .nav-toggle-bar { transition: none; }
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(27, 58, 107, 0.06), transparent 60%),
    var(--bg);
  padding: clamp(40px, 7vw, 84px) 0 clamp(48px, 8vw, 90px);
}
.hero-grid { display: grid; gap: 44px; align-items: center; }
.eyebrow {
  text-transform: uppercase; letter-spacing: .08em; font-size: .8rem;
  font-weight: 600; color: var(--muted); margin: 0 0 14px;
}
.hero h1 { margin-bottom: 18px; }
.accent-text { color: var(--orange); }
.hero-sub { font-size: 1.18rem; color: var(--night); max-width: 38ch; margin-bottom: 26px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.hero-micro { font-size: 1rem; color: var(--muted); margin: 0; }
.hero-micro strong { color: var(--blue); }

@media (min-width: 920px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 56px; }
}

/* ---------- Hero visual: WhatsApp-demo, twee kaarten ---------- */
.hero-visual { display: flex; justify-content: center; }
.demo-stack {
  position: relative; width: min(370px, 100%);
  display: flex; flex-direction: column; gap: 22px;
}
/* zachte gloed achter de kaarten voor diepte, geen confetti */
.demo-stack::before {
  content: ""; position: absolute; inset: -10% -14%; z-index: 0;
  background:
    radial-gradient(60% 50% at 18% 12%, rgba(27, 58, 107, 0.10), transparent 70%),
    radial-gradient(52% 42% at 88% 85%, rgba(255, 107, 53, 0.10), transparent 70%);
}
.demo-card { position: relative; z-index: 1; }
.demo-label {
  margin: 0 0 8px 6px; font-size: .82rem; font-weight: 600; color: var(--muted);
}
.wa-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden;
}

/* Kaart 1: het gesprek zoals de klant het ziet */
.wa-header {
  display: flex; align-items: center; gap: 11px;
  padding: 12px 16px; border-bottom: 1px solid var(--line);
}
.wa-avatar {
  width: 36px; height: 36px; border-radius: 50%; flex: none;
  background: var(--blue); color: #fff; font-weight: 700; font-size: .8rem;
  display: grid; place-items: center;
}
.wa-name { font-weight: 600; color: var(--night); font-size: .9rem; line-height: 1.25; }
.wa-name em { display: block; font-style: normal; font-weight: 400; font-size: .74rem; color: var(--muted); }
/* wa-wallpapertint: bewust de herkenbare WhatsApp-achtergrond, geen thema-keuze */
.wa-chat {
  display: flex; flex-direction: column; gap: 9px;
  padding: 14px 12px 16px; background: #EFE7DD;
}
.wa-chip {
  align-self: center; background: #fdeee8; color: #a63c13;
  font-weight: 600; font-size: .74rem; padding: 5px 12px; border-radius: 999px;
}
.wa-missed { font-weight: 700; }
.wa-bubble {
  max-width: 86%; padding: 8px 11px 5px; border-radius: 10px;
  font-size: .85rem; line-height: 1.45; color: var(--night);
  box-shadow: 0 1px 1px rgba(13, 27, 42, 0.10);
}
.wa-in { align-self: flex-start; background: var(--white); border-top-left-radius: 3px; }
.wa-out { align-self: flex-end; background: #D9FDD3; border-top-right-radius: 3px; }
.wa-meta {
  display: block; text-align: right; margin-top: 2px;
  font-size: .66rem; color: #54656f;
}
.wa-check { color: #3893c2; letter-spacing: -0.08em; }

/* Kaart 2: de samenvatting op de telefoon van de vakman */
.demo-owner { margin-left: clamp(14px, 9%, 34px); }
.owner-card { padding: 14px 16px 16px; }
.owner-head { display: flex; align-items: center; gap: 9px; font-size: .88rem; color: var(--blue); }
.owner-dot {
  width: 28px; height: 28px; border-radius: 50%; flex: none;
  background: var(--blue); position: relative;
}
.owner-dot::after {
  content: ""; position: absolute; inset: 0; margin: auto;
  width: 8px; height: 8px; border-radius: 50%; background: var(--orange);
}
.owner-time { margin-left: auto; font-size: .72rem; color: var(--muted); }
.owner-title {
  display: flex; align-items: center; gap: 9px;
  margin: 12px 0 10px; font-size: .92rem; font-weight: 700; color: var(--night);
}
.badge-spoed {
  background: #fdeee8; color: #a63c13; border-radius: 6px;
  padding: 2px 9px; font-size: .7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .03em;
}
.owner-rows { margin: 0; display: grid; gap: 7px; font-size: .84rem; }
.owner-rows div { display: grid; grid-template-columns: 82px 1fr; gap: 10px; }
.owner-rows dt { color: var(--muted); font-weight: 500; }
.owner-rows dd { margin: 0; color: var(--night); font-weight: 600; }

/* Entree: bubbels verschijnen na elkaar, samenvatting als payoff het laatst.
   Keyframes op pageload (niet scroll-gated), dus de hero is nooit blanco. */
.wa-chat > *, .demo-owner {
  opacity: 0;
  animation: demoIn .65s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.wa-chat > :nth-child(1) { animation-delay: .4s; }
.wa-chat > :nth-child(2) { animation-delay: 1.25s; }
.wa-chat > :nth-child(3) { animation-delay: 2.15s; }
.wa-chat > :nth-child(4) { animation-delay: 3.05s; }
.demo-owner { animation-delay: 4s; }
@keyframes demoIn {
  from { opacity: 0; transform: translateY(12px) scale(.98); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .wa-chat > *, .demo-owner { animation: none; opacity: 1; }
}

/* ---------- Probleem ---------- */
.section-problem { background: var(--white); border-block: 1px solid var(--line); }
.section-problem h2 { text-align: center; }
.section-problem .lead { font-size: 1.18rem; color: var(--night); text-align: center; max-width: 60ch; margin-inline: auto; }

/* ---------- Stappen ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; counter-reset: none; }
.step {
  position: relative; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 26px 28px;
  box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .2s ease;
}
.step:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.step-num {
  position: absolute; top: -16px; left: 26px;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--blue); color: #fff; font-weight: 700;
  display: grid; place-items: center; font-size: .95rem;
  box-shadow: var(--shadow-sm);
}
.step-icon { color: var(--blue); margin: 6px 0 14px; }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); margin: 0; font-size: 1rem; }

@media (min-width: 800px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

/* ---------- Wig / waarom anders ---------- */
.section-edge { background: var(--bg); }
.edge-grid { display: grid; gap: 22px; }
.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 26px;
  box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card-icon {
  width: 50px; height: 50px; border-radius: 12px;
  background: rgba(27, 58, 107, 0.07); color: var(--blue);
  display: grid; place-items: center; margin-bottom: 18px;
}
.edge-card h3 { margin-bottom: 10px; }
.edge-card > p { color: var(--muted); font-size: 1rem; }
.stat {
  margin: 16px 0 0; padding-top: 16px; border-top: 1px solid var(--line);
  font-size: .95rem; color: var(--night);
}
.stat strong { color: var(--blue); font-size: 1.15rem; }
.source { display: block; color: var(--muted); font-size: .82rem; margin-top: 4px; }

@media (min-width: 860px) {
  .edge-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- ROI ---------- */
.section-roi {
  background: var(--blue);
  background-image: linear-gradient(160deg, var(--blue), var(--blue-deep));
  color: #eaf0fa; text-align: center;
}
.roi-line { font-size: 1.25rem; color: #b9c8e2; margin-bottom: 6px; }
.roi-line strong { color: #fff; }
.roi-big {
  font-size: clamp(1.5rem, 4vw, 2.2rem); font-weight: 700; color: #fff;
  line-height: 1.2; letter-spacing: -0.02em; max-width: 22ch; margin: 0 auto .6em;
}
.roi-sub { color: #9fb2d4; margin: 0; font-size: 1.05rem; }

/* ---------- Prijs ---------- */
.section-price { background: var(--white); border-top: 1px solid var(--line); }
.price-wrap { display: flex; justify-content: center; }
.price-card {
  width: 100%; max-width: 460px; text-align: center;
  background: var(--bg); border: 1px solid var(--line);
  border-radius: 18px; padding: 38px 32px 34px; box-shadow: var(--shadow-md);
  position: relative;
}
.price-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 5px;
  background: var(--orange); border-radius: 18px 18px 0 0;
}
.price-label { text-transform: uppercase; letter-spacing: .08em; font-weight: 600; color: var(--muted); font-size: .85rem; margin: 6px 0 8px; }
.price-amount { font-size: clamp(3rem, 9vw, 4rem); font-weight: 700; color: var(--blue); line-height: 1; letter-spacing: -0.03em; margin: 0; }
.price-currency { font-size: .5em; vertical-align: super; margin-right: 2px; }
.price-period { font-size: .32em; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-left: 4px; }
.price-vast { display: inline-block; margin: 12px 0 22px; font-weight: 600; color: var(--blue); background: rgba(27,58,107,.07); padding: 5px 14px; border-radius: 999px; font-size: .9rem; }
.price-list { list-style: none; margin: 0 0 26px; padding: 0; text-align: left; }
.price-list li { position: relative; padding: 9px 0 9px 32px; border-bottom: 1px solid var(--line); color: var(--night); font-size: 1rem; }
.price-list li:last-child { border-bottom: 0; }
.price-list li::before {
  content: ""; position: absolute; left: 4px; top: 14px;
  width: 16px; height: 9px; border-left: 2.5px solid var(--orange);
  border-bottom: 2.5px solid var(--orange); transform: rotate(-45deg);
}
.price-micro { font-size: .88rem; color: var(--muted); margin: 14px 0 0; }

/* ---------- FAQ ---------- */
.section-faq { background: var(--bg); }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 20px 44px 20px 4px;
  font-weight: 600; color: var(--blue); font-size: 1.08rem; position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px;
  border-right: 2.5px solid var(--blue); border-bottom: 2.5px solid var(--blue);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-item p { margin: 0 4px 22px; color: var(--muted); font-size: 1rem; max-width: 65ch; }

/* ---------- Slot-CTA + formulier ---------- */
.section-cta {
  background: var(--blue);
  background-image: linear-gradient(160deg, var(--blue), var(--blue-deep));
  color: #eaf0fa; text-align: center;
}
.section-cta h2 { color: #fff; }
.cta-sub { color: #b9c8e2; font-size: 1.12rem; max-width: 52ch; margin: 0 auto 32px; }
.demo-form {
  max-width: 460px; margin: 0 auto; text-align: left;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12);
  padding: 26px; border-radius: 16px;
}
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .92rem; color: #d7e1f2; margin-bottom: 7px; }
.field input {
  width: 100%; font: inherit; font-size: 1rem; padding: 13px 14px;
  border-radius: var(--radius-sm); border: 1px solid rgba(255,255,255,.18);
  background: #fff; color: var(--night);
}
.field input::placeholder { color: #9aa6b4; }
.field input:focus-visible { outline: 3px solid var(--orange); outline-offset: 1px; }
.form-micro { font-size: .85rem; color: #9fb2d4; text-align: center; margin: 12px 0 0; }
.form-status { text-align: center; margin: 12px 0 0; font-weight: 600; min-height: 1.2em; }
.form-status.ok { color: #7fe0a8; }
.form-status.err { color: #ffb3a0; }
.cta-alt { margin: 24px 0 0; color: #b9c8e2; font-size: 1rem; }
.cta-alt a { color: #fff; text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: #c4ccd6; padding: 56px 0 28px; }
.footer-grid { display: grid; gap: 32px; }
.wordmark-footer { color: #fff; font-size: 1.5rem; display: inline-block; margin-bottom: 14px; }
.wordmark-footer .wordmark-i { color: #fff; }
.footer-why { color: #97a3b2; font-size: .98rem; max-width: 48ch; margin: 0; }
.footer-label { text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; font-weight: 600; color: #7c8a9c; margin: 0 0 10px; }
.footer-contact p { margin: 0 0 8px; }
.footer-contact a { color: #fff; }
.footer-made { color: #7c8a9c; font-size: .9rem; margin-top: 16px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 36px; padding-top: 20px; }
.footer-bottom p { color: #7c8a9c; font-size: .85rem; margin: 0; }

@media (min-width: 760px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr; gap: 60px; }
}

/* ---------- Scroll-reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

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