/* ==========================================================================
   Bloom Studio · homepage + /start funnel
   Design tokens uit de Brand Foundation (hoofdstuk 7).
   Web-font benadering: Hanken Grotesk (display), Fraunces italic (accent),
   Satoshi (body). Exacte merkfonts (Montaser/Satoshi) later in te laden.
   ========================================================================== */

:root {
  /* Kleurpalet (Brand Foundation §7) */
  --lila:        #E2A9F1; /* merkkleur / accenten / zachte vlakken */
  --plum:        #7A2E8F; /* actie: knoppen, links, tekst-accenten */
  --plum-dark:   #5f2370; /* hover op plum */
  --white:       #FFFFFF;
  --ink:         #1A1A1A; /* body-tekst, koppen op wit */
  --muted:       #5F5E5A; /* subtiele tekst, captions */
  --soft-lilac:  #F7ECFB; /* zachte section-achtergrond */
  --rule:        #EAE0EF; /* dividers, card-borders */
  --dark:        #141414; /* donkere secties */
  --dark-card:   #1E1E1E; /* cards op donker */
  --dark-rule:   rgba(255,255,255,.10);

  /* Typografie */
  --font-display: "Hanken Grotesk", "Satoshi", system-ui, sans-serif;
  --font-accent:  "Fraunces", Georgia, serif;
  --font-body:    "Satoshi", "Inter", system-ui, -apple-system, sans-serif;

  /* Layout */
  --container: 1200px;
  --gutter: clamp(20px, 5vw, 40px);
  --radius: 14px;
  --radius-lg: 22px;
  --section-y: clamp(64px, 10vw, 132px);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
::selection { background: var(--lila); color: var(--ink); }

/* ---------- Helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section-y); }
.section--lilac { background: var(--soft-lilac); }
.section--dark { background: var(--dark); color: var(--white); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Eyebrow / kicker */
.eyebrow {
  display: inline-flex; align-items: center; gap: .55em;
  font-size: .72rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted);
  margin-bottom: 1.4rem;
}
.eyebrow::before { content: none; }
.section--dark .eyebrow { color: rgba(255,255,255,.6); }
.section--dark .eyebrow::before { color: var(--lila); }

/* Headings */
.h-display, .h-section {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.02;
}
.h-display { font-size: clamp(2.7rem, 7vw, 5.4rem); }
.h-section { font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.05; }
.accent {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -.01em;
}
.section--dark .accent { color: var(--lila); }

.lead { font-size: 1.12rem; color: var(--muted); max-width: 46ch; }
.section--dark .lead { color: rgba(255,255,255,.72); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--font-display);
  font-weight: 700; font-size: .98rem; letter-spacing: -.01em;
  padding: .82em 1.5em; border-radius: 999px;
  border: 1px solid transparent; white-space: nowrap;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn .arrow { transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(3px); }

.btn--primary { background: var(--plum); color: #fff; }
.btn--primary:hover { background: var(--plum-dark); }
.btn--lila { background: var(--lila); color: var(--ink); }
.btn--lila:hover { background: #d896ea; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--rule); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: #eceaee; }
.btn--block { width: 100%; justify-content: center; }
.btn--lg { padding: 1em 1.7em; font-size: 1.05rem; }

/* ==========================================================================
   Header / nav
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--rule); }
.nav {
  display: flex; align-items: center; gap: 1.5rem;
  height: 76px; position: relative;
}
.nav__logo img { height: 30px; width: auto; display: block; }
.nav__menu { display: flex; align-items: center; gap: 1.7rem; margin-left: auto; }
.nav__links {
  display: flex; align-items: center; gap: 1.7rem;
  list-style: none;
}
.nav__links a {
  font-size: .96rem; color: var(--ink); font-weight: 500;
  transition: color .15s ease;
}
.nav__links a:hover { color: var(--plum); }
.nav__quiz {
  font-family: var(--font-display); font-weight: 600; font-size: .95rem;
  display: inline-flex; align-items: center; gap: .4em;
}
.nav__quiz:hover { color: var(--plum); }
.nav__toggle { display: none; background: none; border: 0; padding: 8px; }
.nav__toggle span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }
.nav__toggle span + span { margin-top: 5px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; overflow: hidden; }
.hero__flower {
  position: absolute; top: -60px; right: -70px;
  width: clamp(220px, 28vw, 420px); opacity: .9;
  pointer-events: none; z-index: 0;
}
.hero__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 5vw, 72px); align-items: center;
  padding-block: clamp(48px, 7vw, 96px);
}
.hero__title { margin-bottom: 1.6rem; }
.hero__sub { font-size: 1.15rem; color: var(--muted); max-width: 42ch; margin-bottom: 2rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 2.8rem; }
.hero__stats {
  display: flex; flex-wrap: wrap; gap: 2.4rem;
  padding-top: 1.8rem; border-top: 1px solid var(--rule);
}
.stat-inline strong {
  display: block; font-family: var(--font-display);
  font-weight: 800; font-size: 1.18rem; letter-spacing: -.02em;
}
.stat-inline span { font-size: .86rem; color: var(--muted); }
.dot { color: var(--plum); }

/* Hero mockup */
.mockup { position: relative; }
.mockup__window {
  background: #fff; border: 1px solid var(--rule); border-radius: var(--radius-lg);
  overflow: hidden;
}
.mockup__bar {
  display: flex; align-items: center; gap: 7px;
  padding: 12px 16px; border-bottom: 1px solid var(--rule);
}
.mockup__bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--rule); display: block; }
.mockup__bar .url {
  margin-left: 10px; font-size: .74rem; color: var(--muted);
  font-family: var(--font-body);
}
.mockup__body { padding: 22px 22px 26px; }
.mockup__label { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.mockup__revenue { font-family: var(--font-display); font-weight: 800; font-size: 2rem; letter-spacing: -.02em; margin: 4px 0 14px; }
.mockup__chart { width: 100%; height: 84px; display: block; }
.mockup__card {
  position: absolute; right: -18px; bottom: -26px; width: 60%;
  background: #fff; border: 1px solid var(--rule); border-radius: 18px;
  padding: 16px; box-shadow: 0 24px 50px -28px rgba(122,46,143,.35);
}
.mockup__card .tag { font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.mockup__card h4 { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; margin-top: 2px; }
.mockup__card .sub { font-size: .76rem; color: var(--muted); margin-bottom: 12px; }
.timeline { list-style: none; display: grid; gap: 9px; }
.timeline li { display: flex; gap: 9px; align-items: center; font-size: .78rem; }
.timeline .tl-dot { width: 18px; height: 18px; border-radius: 50%; background: var(--soft-lilac);
  border: 1px solid var(--lila); flex: none; display: grid; place-items: center; color: var(--plum); font-size: .6rem; }
.timeline .tl-img { height: 26px; border-radius: 6px; background:
  repeating-linear-gradient(45deg, var(--soft-lilac), var(--soft-lilac) 6px, #fff 6px, #fff 12px);
  border: 1px solid var(--rule); flex: 1; }
.timeline small { color: var(--muted); }
.chip-quote {
  position: absolute; left: -14px; bottom: 64px; max-width: 60%;
  background: #fff; border: 1px solid var(--rule); border-radius: 14px; padding: 12px 14px;
  box-shadow: 0 18px 40px -24px rgba(20,20,20,.4);
}
.chip-quote .live { font-size: .66rem; color: #2e9e6b; letter-spacing: .08em; text-transform: uppercase; }
.chip-quote p { font-size: .82rem; margin: 4px 0 4px; }
.chip-quote cite { font-size: .72rem; color: var(--muted); font-style: normal; }

/* ==========================================================================
   Case (Atelier Voss)
   ========================================================================== */
.case__head { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: flex-end; justify-content: space-between; margin-bottom: 2.4rem; }
.case__head .h-section { max-width: 16ch; }
.badge {
  display: inline-flex; align-items: center; gap: .5em;
  font-size: .82rem; font-weight: 600; color: var(--plum);
  background: #fff; border: 1px solid var(--rule); border-radius: 999px;
  padding: .5em 1em;
}
.badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #2e9e6b; }
.case__card {
  background: #fff; border: 1px solid var(--rule); border-radius: var(--radius-lg);
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 56px);
  padding: clamp(26px, 4vw, 48px);
}
.case__kicker { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .7rem; }
.case__card h3 { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.4rem, 2.4vw, 1.9rem); letter-spacing: -.02em; margin-bottom: .8rem; }
.case__card p { color: var(--muted); margin-bottom: 1.4rem; }
.tags { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 1.8rem; }
.tags span { font-size: .8rem; background: var(--soft-lilac); color: var(--plum); border-radius: 999px; padding: .4em .9em; }
.case__stats { display: flex; gap: 2rem; flex-wrap: wrap; padding-top: 1.4rem; border-top: 1px solid var(--rule); }
.case__stats .n { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; letter-spacing: -.02em; }
.case__stats span { font-size: .82rem; color: var(--muted); }
/* phone mock */
.phone {
  background: var(--dark); border-radius: 30px; padding: 12px; align-self: center;
  border: 6px solid #0c0c0c; max-width: 290px; margin-inline: auto; width: 100%;
}
.phone__screen { background: #fff; border-radius: 20px; overflow: hidden; padding: 16px; }
.phone__step { font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.phone__title { font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; margin: 2px 0 12px; }
.phone__img { height: 70px; border-radius: 10px; margin-bottom: 12px; background:
  repeating-linear-gradient(45deg, var(--soft-lilac), var(--soft-lilac) 8px, #fff 8px, #fff 16px);
  border: 1px solid var(--rule); }
.phone__row { display: flex; justify-content: space-between; align-items: center;
  border: 1px solid var(--rule); border-radius: 12px; padding: 10px 12px; font-size: .8rem; }
.phone__row b { font-family: var(--font-display); }
.phone__go { width: 30px; height: 30px; border-radius: 50%; background: var(--lila); color: var(--plum); display: grid; place-items: center; }

/* ==========================================================================
   Cijfers (stats)
   ========================================================================== */
.stats__head { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem; align-items: end; margin-bottom: 3rem; }
.stats__head p { color: var(--muted); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat {
  padding: 1.8rem 1.6rem 0 0;
  border-left: 1px solid var(--rule); padding-left: 1.6rem;
}
.stat:first-child { border-left: 0; padding-left: 0; }
.stat .big { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.8rem, 5vw, 3.8rem); letter-spacing: -.03em; line-height: 1; }
.stat .big sup { font-size: .42em; font-weight: 800; vertical-align: super; margin-left: 2px; }
.stat .unit { font-size: .42em; }
.stat h4 { font-size: .98rem; font-weight: 700; margin: 1rem 0 .4rem; }
.stat p { font-size: .85rem; color: var(--muted); }

/* ==========================================================================
   Hoe we werken (dark, 3 stappen)
   ========================================================================== */
.work__head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2rem; align-items: end; margin-bottom: 3.4rem; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.step {
  background: var(--dark-card); border: 1px solid var(--dark-rule);
  border-radius: var(--radius); padding: 1.8rem 1.6rem;
  display: flex; flex-direction: column;
}
.step__num { font-family: var(--font-accent); font-style: italic; font-weight: 500; font-size: 2.4rem; color: var(--lila); line-height: 1; margin-bottom: 1.4rem; }
.step h3 { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; margin-bottom: .7rem; }
.step p { color: rgba(255,255,255,.66); font-size: .95rem; flex: 1; }
.step__meta { display: flex; gap: 1.4rem; flex-wrap: wrap; margin-top: 1.6rem; padding-top: 1.2rem; border-top: 1px solid var(--dark-rule); }
.step__meta span { font-size: .76rem; color: rgba(255,255,255,.5); }
.step__meta b { color: #fff; font-weight: 700; }

/* ==========================================================================
   Wat we bouwen (8 kaarten)
   ========================================================================== */
.build__head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2rem; align-items: end; margin-bottom: 3rem; }
.build-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.bcard {
  border: 1px solid var(--rule); border-radius: var(--radius); padding: 1.5rem;
  display: flex; flex-direction: column; transition: border-color .15s ease, transform .15s ease;
}
.bcard:hover { border-color: var(--lila); transform: translateY(-2px); }
.bcard__icon {
  width: 44px; height: 44px; border-radius: 12px; background: var(--soft-lilac);
  display: grid; place-items: center; color: var(--plum); margin-bottom: 1.2rem;
}
.bcard__icon svg { width: 22px; height: 22px; }
.bcard h3 { font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; margin-bottom: .5rem; }
.bcard p { font-size: .88rem; color: var(--muted); flex: 1; }
.bcard__case { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--plum); margin-top: 1.2rem; }

/* ==========================================================================
   Vergelijking (tabel)
   ========================================================================== */
.compare__head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; align-items: end; margin-bottom: 2.6rem; }
.compare__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare {
  width: 100%; border-collapse: collapse; min-width: 760px;
  background: #fff; border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden;
}
.compare th, .compare td { padding: 1.1rem 1.2rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--rule); }
.compare thead th { font-size: .95rem; }
.compare th small, .compare td small { display: block; font-weight: 400; font-size: .76rem; color: var(--muted); margin-top: .2rem; }
.compare thead th { font-family: var(--font-display); font-weight: 800; }
.compare .col-bloom { background: var(--ink); color: #fff; }
.compare thead .col-bloom { background: var(--ink); }
.compare .col-bloom small { color: rgba(255,255,255,.6); }
.compare tbody th { font-weight: 700; }
.compare tbody tr:last-child td, .compare tbody tr:last-child th { border-bottom: 0; }
.compare td b { font-family: var(--font-display); font-weight: 800; }

/* ==========================================================================
   Slot-CTA (dark card) + footer
   ========================================================================== */
.cta-wrap { padding-block: var(--section-y); }
.cta {
  position: relative; overflow: hidden;
  background: var(--dark); color: #fff; border-radius: var(--radius-lg);
  padding: clamp(36px, 6vw, 80px);
}
.cta__flower { position: absolute; top: -50px; right: -50px; width: clamp(180px, 22vw, 300px); opacity: .14; filter: grayscale(1) brightness(2); }
.cta__inner { position: relative; z-index: 1; max-width: 640px; }
.cta .h-section { color: #fff; margin-bottom: 1.2rem; }
.cta p { color: rgba(255,255,255,.72); margin-bottom: 2rem; max-width: 48ch; }
.cta__row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.cta__call { font-size: .9rem; color: rgba(255,255,255,.6); }
.cta__call a { color: #fff; border-bottom: 1px solid rgba(255,255,255,.3); }
.cta__sign { display: flex; align-items: center; gap: .7rem; margin-top: 2.4rem; padding-top: 1.6rem; border-top: 1px solid var(--dark-rule); font-size: .85rem; color: rgba(255,255,255,.6); }
.avatars { display: flex; }
.avatars span { width: 30px; height: 30px; border-radius: 50%; background: var(--lila); color: var(--plum);
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: .8rem; border: 2px solid var(--dark); }
.avatars span + span { margin-left: -10px; }

.site-footer { padding-block: clamp(48px, 7vw, 88px) 2.4rem; border-top: 1px solid var(--rule); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.footer-brand img { height: 30px; margin-bottom: 1.2rem; }
.footer-brand .tag { font-family: var(--font-accent); font-style: italic; font-size: 1.15rem; margin-bottom: .6rem; display: block; }
.footer-brand p { font-size: .88rem; color: var(--muted); max-width: 34ch; }
.footer-col h5 { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; font-weight: 600; }
.footer-col ul { list-style: none; display: grid; gap: .6rem; }
.footer-col a, .footer-col li { font-size: .92rem; color: var(--ink); }
.footer-col a:hover { color: var(--plum); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid var(--rule); font-size: .82rem; color: var(--muted); }

/* ==========================================================================
   Reveal-on-scroll (subtiel)
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 960px) {
  .nav__menu { display: none; }
  .nav__toggle { display: block; margin-left: auto; }
  .nav.is-open .nav__menu {
    display: flex; flex-direction: column; align-items: flex-start; gap: 1.1rem;
    position: absolute; left: 0; right: 0; top: 76px; background: #fff;
    border-bottom: 1px solid var(--rule); padding: 1.4rem var(--gutter); margin: 0;
  }
  .nav.is-open .nav__links { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__flower { width: 200px; top: -40px; right: -40px; }
  .mockup { margin-top: 1rem; }
  .case__card { grid-template-columns: 1fr; }
  .stats__head, .work__head, .build__head, .compare__head, .stats-grid { grid-template-columns: 1fr; }
  .stats-grid { gap: 1.6rem; }
  .stat { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); padding-top: 1.4rem; }
  .stat:first-child { border-top: 0; padding-top: 0; }
  .steps, .build-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .steps, .build-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero__stats { gap: 1.4rem; }
  .case__stats { gap: 1.4rem; }
  .mockup__card { position: static; width: 100%; margin-top: 1rem; box-shadow: none; }
  .chip-quote { position: static; max-width: 100%; margin-top: 1rem; box-shadow: none; }
  .cta__row { flex-direction: column; align-items: stretch; }
  .cta__row .btn { width: 100%; justify-content: center; }
}
