/* Henk Verbeek autoboek — verkooppagina, built on the layout of carlosherreracars.com
   (dark hero, stats strip, numbered sections I–V, dark close) in Henk's colours.
   Written phone-first; the desktop layout starts at 900px.
   Readability rules (older buyers): 19–20px body, nothing under 15px, dark ink. */

:root {
  --green: #1F2E3D;
  --green-deep: #16212C;
  --green-bright: #B5561C;
  --cta: #C8551E;
  --cta-deep: #A04416;
  --cream: #F1EFEA;
  --paper: #FAF9F6;
  --ink: #1C2228;
  --soft: #3B4550;
  --muted: #55606B;
  --gold: #F2B33D;
  --rule: #D9D5CC;
  --on-green: #EEF1F4;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Atkinson Hyperlegible", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1140px;
  --radius: 16px;
  --bar-h: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0; overflow-x: clip;
  background: var(--cream); color: var(--ink);
  font-family: var(--sans); font-size: 19px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 16px; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }

h1, h2, h3 { font-family: var(--serif); font-weight: 650; line-height: 1.12; margin: 0; letter-spacing: -.005em; }
h1 em, h2 em { font-style: italic; font-weight: 600; color: var(--green-bright); }
h2 { font-size: clamp(31px, 7.2vw, 52px); margin-bottom: 18px; }
.kicker { font-size: 15px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green); margin: 0 0 12px; }
.kicker.gold { color: var(--gold); }
.lede { font-size: clamp(19px, 2.2vw, 22px); color: var(--soft); }
.swipe-hint { font-weight: 700; color: var(--green); white-space: nowrap; }
strong { font-weight: 700; color: var(--ink); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 14px 26px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--cta); color: #fff; text-decoration: none;
  font-family: var(--sans); font-weight: 700; font-size: 18px; line-height: 1.2; text-align: center;
  box-shadow: 0 10px 22px -12px rgba(122,46,25,.8);
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); background: var(--cta-deep); }
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.btn-big { min-height: 62px; font-size: 20px; padding: 16px 34px; }
.btn-light { background: var(--paper); color: var(--cta-deep); box-shadow: none; }
.btn-light:hover { background: #fff; }

/* ---------- motion ---------- */
.rise { opacity: 0; transform: translateY(16px); animation: rise .7s cubic-bezier(.2,.7,.2,1) forwards; }
.d1 { animation-delay: .05s; } .d2 { animation-delay: .15s; } .d3 { animation-delay: .27s; } .d4 { animation-delay: .38s; }
@keyframes rise { to { opacity: 1; transform: none; } }
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rise, .reveal { opacity: 1; transform: none; animation: none; transition: none; }
  .marquee-track { animation: none !important; }
}


/* ---------- top bar (desktop) ---------- */
.topbar { display: none; }
@media (min-width: 900px) {
  .topbar { display: block; position: sticky; top: 0; z-index: 60; background: var(--green-deep); color: var(--on-green); border-bottom: 1px solid rgba(242,179,61,.35); }
  .tb-inner { width: min(var(--wrap), 100% - 40px); margin-inline: auto; display: flex; align-items: center; gap: 16px; min-height: 64px; }
  .tb-price { flex: 1; font-size: 15px; }
  .tb-price b { font-family: var(--serif); font-size: 24px; color: #fff; margin-right: 6px; }
  .tb-price small { font-size: 15px; opacity: .8; }
  .topbar .btn { min-height: 44px; padding: 10px 20px; font-size: 16px; box-shadow: none; }
}

/* ---------- section heads: I. … V. ---------- */
.sec-head { text-align: center; max-width: 760px; margin: 0 auto 34px; }
.numeral { font-family: var(--serif); font-size: 26px; font-weight: 600; color: var(--green-bright); margin: 0 0 4px; }
.sec-head h2 { font-size: clamp(34px, 6vw, 50px); margin-bottom: 12px; color: var(--green); }
.sub { font-family: var(--serif); font-style: italic; font-size: clamp(19px, 2.4vw, 22px); color: var(--soft); margin: 0; }
.sec-head::after { content: ""; display: block; width: 56px; height: 2px; margin: 22px auto 0; background: var(--gold); border-radius: 2px; }
.sec-cta { text-align: center; margin: 34px 0 0; }
.sec-cta small { display: block; margin-top: 10px; font-size: 15px; color: var(--muted); }
.offer, .inside, .faq { background: var(--paper); }
.math, .meet { background: var(--cream); }
.offer, .math, .inside, .meet, .faq { padding: 70px 0; }

/* ---------- hero (dark) ---------- */
.hero { background: radial-gradient(ellipse at 50% 0%, #2B3E52 0%, var(--green) 45%, var(--green-deep) 100%); color: var(--on-green); text-align: center; padding: 46px 0 0; overflow: hidden; }
.hero .kicker { color: var(--gold); font-size: 15px; }
.hero h1 { font-size: clamp(36px, 6.4vw, 62px); color: #fff; max-width: 900px; margin: 0 auto 20px; }
.hero h1 em { color: var(--gold); }
.hero .lede { color: var(--on-green); max-width: 780px; margin: 0 auto 26px; }
.hero .lede strong { color: #fff; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.btn-ghost { background: transparent; color: #fff; border: 2px solid rgba(238,241,244,.45); box-shadow: none; }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.hero-trust { margin: 18px auto 4px; font-size: 15px; font-weight: 700; color: var(--gold); }
.hero-small { margin: 0 auto; font-size: 15px; opacity: .8; max-width: 640px; }
.hero-books { position: relative; display: flex; justify-content: center; align-items: flex-end; gap: 0; margin: 34px auto 0; max-width: 760px; }
.hero-books .book { position: relative; z-index: 2; width: min(300px, 62vw); border-radius: 4px 10px 10px 4px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.7); }
.hero-books .page-l, .hero-books .page-r { width: min(200px, 30vw); border-radius: 4px; box-shadow: 0 20px 40px -18px rgba(0,0,0,.7); opacity: .92; margin-bottom: -10px; }
.hero-books .page-l { transform: rotate(-6deg) translateX(30px); }
.hero-books .page-r { transform: rotate(6deg) translateX(-30px); }

/* ---------- stats strip (dark) ---------- */
.stats { background: var(--green-deep); color: var(--on-green); padding: 34px 0; border-top: 1px solid rgba(255,255,255,.08); }
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 16px; text-align: center; }
.stats b { display: block; font-family: var(--serif); font-size: clamp(30px, 6vw, 40px); color: var(--gold); line-height: 1.1; }
.stats span { font-size: 15px; opacity: .85; }
@media (min-width: 900px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- I. offer ---------- */
.offer { scroll-margin-top: 70px; }
.offer-card { max-width: 760px; margin: 0 auto; background: #fff; border: 1px solid var(--rule); border-radius: 18px; padding: 30px 22px 24px; box-shadow: 0 40px 80px -50px rgba(31,46,61,.55); text-align: center; }
.offer-price b { display: block; font-family: var(--serif); font-size: clamp(60px, 12vw, 84px); line-height: 1; color: var(--green); margin: 12px 0 8px; }
.offer-price small { display: block; font-size: 16px; color: var(--muted); }
.offer-label { margin: 26px 0 6px; text-align: left; font-size: 15px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.offer-list { list-style: none; margin: 0; padding: 0; text-align: left; }
.offer-list li { display: flex; justify-content: space-between; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--rule); font-size: 17px; }
.offer-list li::after { content: "✓"; color: var(--green-bright); font-weight: 700; }
.offer-list i { color: var(--muted); }
.offer-total { display: flex; justify-content: space-between; align-items: baseline; margin: 0 -22px 22px; padding: 16px 22px; background: var(--green); color: #fff; font-weight: 700; }
.offer-total b { font-family: var(--serif); font-size: 30px; color: var(--gold); }
.offer-card .btn { width: 100%; }
.offer-small { margin: 12px 0 0; font-size: 15px; color: var(--muted); }
@media (min-width: 900px) { .offer-card { padding: 40px 40px 30px; } .offer-total { margin: 0 -40px 24px; padding: 18px 40px; } }

/* ---------- II. the sum ---------- */
.math-cards { display: grid; gap: 18px; max-width: 900px; margin: 0 auto; }
.math-card { background: #fff; border: 1px solid var(--rule); border-top: 3px solid var(--green); border-radius: var(--radius); padding: 22px 22px 0; overflow: hidden; display: flex; flex-direction: column; }
.math-card.is-book { border-top-color: var(--green-bright); }
.math-tag { margin: 0 0 6px; font-size: 15px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--green); }
.math-card.is-book .math-tag { color: var(--green-bright); }
.math-card dl { margin: 0; flex: 1; }
.math-card dl > div { display: flex; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: 17px; }
.math-card dl > div:last-child { border-bottom: 0; }
.math-card dt { color: var(--soft); }
.math-card dd { margin: 0; font-weight: 700; text-align: right; }
.math-card dd.n, .math-sum b { white-space: nowrap; }
.math-sum { margin: 0 -22px; padding: 18px 22px; background: var(--green); color: var(--on-green); display: flex; justify-content: space-between; align-items: baseline; gap: 14px; }
.math-card.is-book .math-sum { background: var(--green-bright); color: #fff; }
.math-sum span { font-size: 15px; }
.math-sum b { font-family: var(--serif); font-size: clamp(22px, 5vw, 28px); text-align: right; }
.math-say { max-width: 700px; margin: 30px auto 0; text-align: center; font-size: clamp(19px, 2.4vw, 22px); }
.math-say b { color: var(--green-bright); }
.math-note { max-width: 700px; margin: 14px auto 0; font-size: 15px; color: var(--muted); text-align: center; }
@media (min-width: 760px) { .math-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 599px) { .math-card { padding: 18px 16px 0; } .math-card dl > div { font-size: 16px; } .math-sum { margin: 0 -16px; padding: 16px; flex-direction: column; align-items: flex-start; gap: 2px; } }

/* ---------- III. what's inside ---------- */
.part { display: grid; gap: 20px; max-width: 980px; margin: 0 auto 18px; background: #fff; border: 1px solid var(--rule); border-radius: 18px; padding: 18px; box-shadow: 0 30px 60px -50px rgba(31,46,61,.5); }
.part img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; }
.part img.top { object-position: 50% 0; }
.part-tag { margin: 0 0 4px; font-size: 15px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--green-bright); }
.part h3 { font-size: clamp(26px, 4vw, 32px); color: var(--green); margin-bottom: 8px; }
.part-sub { font-family: var(--serif); font-style: italic; color: var(--soft); margin-bottom: 10px; }
.part ul { list-style: none; margin: 0; padding: 0; }
.part li { position: relative; padding: 10px 0 10px 22px; border-top: 1px solid var(--rule); font-size: 17px; line-height: 1.45; }
.part li::before { content: "•"; position: absolute; left: 4px; color: var(--green-bright); font-weight: 700; }
.inside-plus { max-width: 760px; margin: 26px auto 0; text-align: center; color: var(--soft); }
@media (min-width: 760px) { .part { grid-template-columns: 300px 1fr; gap: 30px; padding: 24px; align-items: start; } .part img { aspect-ratio: 4 / 3; } }

/* ---------- proof: real pages + the counter (where Carlos has reviews) ---------- */
.gallery { background: #FFFDF8; padding: 56px 0 20px; }
.proof-label { text-align: center; margin: 0 0 6px; font-size: 15px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green-bright); }
.proof-sub { text-align: center; color: var(--soft); margin: 0; }
.swipe-hint { font-weight: 700; color: var(--green); white-space: nowrap; letter-spacing: 0; text-transform: none; margin-left: 6px; }
.pages-scroll { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 14px max(20px, calc((100% - var(--wrap)) / 2)) 24px; scrollbar-width: thin; }
.pages-scroll figure { margin: 0; flex: 0 0 auto; width: 64vw; max-width: 250px; scroll-snap-align: start; }
.pages-scroll img { border-radius: 6px; box-shadow: 0 16px 32px -20px rgba(31,46,61,.6); }
.pages-scroll figcaption { font-size: 16px; color: var(--soft); margin-top: 10px; }
.anatomy { background: #FFFDF8; padding: 20px 0 70px; }
.trick-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.trick-list li { background: #fff; border: 1px solid var(--rule); border-radius: 14px; padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 20px 40px -36px rgba(31,46,61,.6); }
.trick-list p { margin: 0; }
.trick-list small { display: block; font-size: 15px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 2px; }
.trick-list .was { font-family: var(--serif); font-size: 20px; line-height: 1.35; color: var(--ink); }
.trick-list .was small { font-family: var(--sans); color: var(--green-bright); }
.trick-list details.does { padding-top: 10px; border-top: 1px solid var(--rule); }
.trick-list details.does summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; font-size: 15px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green); }
.trick-list details.does summary::-webkit-details-marker { display: none; }
.trick-list details.does summary span { padding: 4px 12px; border-radius: 999px; background: var(--green); color: #fff; letter-spacing: .04em; }
.trick-list details.does[open] summary span { display: none; }
.trick-list details.does p { margin: 6px 0 0; font-size: 18px; line-height: 1.45; color: var(--soft); }
.trick-list .dish { margin-top: auto; align-self: flex-start; padding: 2px 10px; border-radius: 999px; background: rgba(31,46,61,.08); color: var(--green); font-size: 15px; font-weight: 700; }

/* ---------- IV. meet Henk ---------- */
.polaroid { width: min(460px, 100%); margin: 0 auto 34px; background: #fff; padding: 12px 12px 0; border-radius: 6px; box-shadow: 0 30px 60px -30px rgba(31,46,61,.55); transform: rotate(-1deg); }
.polaroid img { border-radius: 3px; }
.polaroid figcaption { text-align: center; padding: 12px 0 14px; font-size: 15px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.letter { max-width: 720px; margin: 0 auto; }
.dropcap::first-letter { float: left; font-family: var(--serif); font-size: 64px; line-height: .85; font-weight: 700; color: var(--green-bright); margin: 6px 10px 0 0; }
.sign { font-family: var(--serif); font-style: italic; font-size: 28px; color: var(--green); }
.guarantee-card { max-width: 760px; margin: 36px auto 0; background: #FFFDF8; border: 1px solid var(--rule); border-radius: 18px; padding: 30px 24px; text-align: center; box-shadow: 0 30px 60px -44px rgba(31,46,61,.6); }
.g-tag { margin: 0 0 10px; font-size: 15px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green-bright); }
.guarantee-card h3 { font-size: clamp(24px, 4vw, 30px); color: var(--green); margin-bottom: 14px; }
.guarantee-card p:last-child { margin: 0; color: var(--soft); }

/* ---------- V. faq ---------- */
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--rule); border-radius: 12px; padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; font-weight: 700; font-size: 18px; color: var(--green); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--green-bright); font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: "×"; }
.faq details p { margin: 0 0 18px; color: var(--soft); }

/* ---------- final (dark) ---------- */
.final { background: radial-gradient(ellipse at 50% 100%, #2B3E52 0%, var(--green) 50%, var(--green-deep) 100%); color: var(--on-green); text-align: center; padding: 76px 0; }
.final h2 { color: #fff; font-size: clamp(32px, 6vw, 50px); }
.final h2 em { color: var(--gold); }
.final p { max-width: 640px; margin: 0 auto 26px; font-size: clamp(18px, 2.2vw, 20px); }

/* ---------- footer (dark) ---------- */
.site-foot { background: #111A23; color: rgba(238,241,244,.7); text-align: center; padding: 40px 0 calc(30px + var(--bar-h)); font-size: 15px; }
@media (min-width: 900px) { .site-foot { padding-bottom: 30px; } }
.sf-title { font-family: var(--serif); font-size: 24px; font-weight: 700; color: #fff; margin: 0; letter-spacing: .02em; }
.sf-by { margin: 0 0 18px; }
.sf-note { max-width: 760px; margin: 0 auto 18px; line-height: 1.55; }
.sf-links { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; }
.sf-copy { margin: 0; opacity: .7; }

/* ---------- bottom buy bar ---------- */
.buybar {
  position: fixed; z-index: 50; left: 0; right: 0; bottom: 0;
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(250,249,246,.97); border-top: 1px solid var(--rule);
  box-shadow: 0 -12px 30px -22px rgba(60,20,10,.55);
  transform: translateY(120%); transition: transform .3s ease;
}
.buybar.show { transform: none; }
.bb-cover { width: 38px; height: 52px; object-fit: cover; border-radius: 3px; box-shadow: 0 4px 10px -4px rgba(0,0,0,.4); }
.bb-text { flex: 1; min-width: 0; line-height: 1.2; }
.bb-text b { display: block; font-family: var(--serif); font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bb-text small { font-size: 15px; color: var(--muted); }
.buybar .btn { min-height: 50px; padding: 12px 18px; font-size: 17px; white-space: nowrap; box-shadow: none; }
@media (max-width: 360px) { .bb-cover { display: none; } }
/* Phone only: the bar sits at the bottom. The desktop has the top bar instead. */
.buybar { background: rgba(22,33,44,.97); border-top: 1px solid rgba(242,179,61,.35); color: var(--on-green); }
.bb-text small { color: rgba(238,241,244,.75); }
@media (min-width: 900px) { .buybar { display: none; } }

/* =========================================================
   DISCOUNT POPUP
   ========================================================= */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.popup {
  width: min(460px, 100% - 32px); max-height: calc(100% - 32px); overflow: auto;
  padding: 30px 24px 24px; border: 0; border-radius: var(--radius);
  background: var(--paper); color: var(--ink); text-align: center;
  box-shadow: 0 30px 60px -20px rgba(34,28,24,.6);
}
.popup::backdrop { background: rgba(22,33,44,.6); }
.popup[open] { animation: rise .35s cubic-bezier(.2,.7,.2,1); }
.popup-close {
  position: absolute; top: 8px; right: 10px; width: 44px; height: 44px;
  border: 0; background: none; font-size: 30px; line-height: 1; color: var(--muted); cursor: pointer;
}
.popup-book { width: 96px; margin: 0 auto 16px; border-radius: 3px; transform: rotate(-3deg); box-shadow: 0 14px 26px -12px rgba(34,28,24,.55); }
.popup h2 { font-size: clamp(28px, 7vw, 36px); margin-bottom: 12px; }
.popup p { color: var(--soft); }
.popup form { display: grid; gap: 12px; margin: 18px 0 12px; }
.popup input {
  min-height: 56px; padding: 0 18px; border: 2px solid var(--rule); border-radius: 999px;
  font: inherit; font-size: 19px; color: var(--ink); background: #fff; text-align: center;
}
.popup input:focus { outline: none; border-color: var(--green); }
.popup .btn { width: 100%; }
.popup-err { margin: 0; min-height: 0; color: var(--cta-deep); font-size: 16px; }
.popup-err:empty { display: none; }
.popup small { color: var(--muted); font-size: 15px; }
.popup-code { font-style: normal; letter-spacing: .06em; }

/* Launch price: an honest "later €24,95", never a struck-through old price or a countdown. */
.launch-tag { display: inline-block; padding: 5px 14px; border-radius: 999px; background: var(--cta); color: #fff; font-family: var(--sans); font-size: 15px; line-height: 1.3; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
