/* tankmaatje.nl — landingspagina. Toon uit docs/design.md: veel wit, één accent, grote vriendelijke koppen,
   weinig tekst. Geen externe fonts of scripts. styles.css blijft voor de overige pagina's. */
:root {
  --accent: #0b8a5f;
  --accent-dark: #087a53;
  --accent-soft: #e6f3ec;
  --ink: #222222;
  --ink-2: #717171;
  --bg: #ffffff;
  --bg-2: #f7f7f7;
  --line: #e6e6e6;
  --r-card: 24px;
  --r-btn: 12px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px; line-height: 1.5; -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -0.015em; font-weight: 600; }
h1 { font-size: clamp(36px, 5.2vw, 58px); }
h2 { font-size: clamp(28px, 3.6vw, 40px); }
h3 { font-size: 19px; }
p { margin: 0; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--ink-2); }
.lead { font-size: 19px; color: var(--ink-2); max-width: 520px; margin-top: 18px; }
@media (min-width: 760px) { .lead { font-size: 20px; } }

/* Knoppen, zoals in de app: radius 12, één accentkleur */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 22px; border-radius: var(--r-btn); font-weight: 600; font-size: 17px;
  text-decoration: none; border: 1.5px solid transparent; white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--bg-2); }
.btn-small { min-height: 42px; padding: 0 16px; font-size: 15px; }
.btn svg { width: 20px; height: 20px; flex: none; }

/* Navigatie: rustige balk */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,0.94); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 18px; text-decoration: none; }
.logo img { width: 32px; height: 32px; border-radius: 8px; }
.top-links { display: none; gap: 24px; color: var(--ink-2); font-size: 16px; }
.top-links a { text-decoration: none; }
.top-links a:hover { color: var(--ink); }
@media (min-width: 860px) { .top-links { display: flex; } }

/* Hero: tekst links, telefoon rechts */
.hero { padding: 56px 0 24px; overflow: hidden; }
.hero .wrap { display: grid; gap: 40px; align-items: center; }
@media (min-width: 860px) { .hero { padding: 72px 0 40px; } .hero .wrap { grid-template-columns: 1.05fr 0.95fr; gap: 48px; } }
.hero h1 { max-width: 560px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero .note { margin-top: 14px; font-size: 15px; color: var(--ink-2); }

.stage { position: relative; max-width: 420px; margin: 0 auto; padding: 12px 0 8px; }
.phone {
  width: 272px; margin: 0 auto; border-radius: 44px; background: #111; padding: 10px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.18); position: relative;
}
@media (min-width: 860px) { .phone { width: 300px; } }
.phone img { border-radius: 35px; width: 100%; height: auto; }
.phone::after { content: ""; position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; background: #111; border-radius: 999px; }
/* iOS-melding zoals hij echt op het slotscherm staat */
.notif {
  position: absolute; left: 0; right: 0; margin: 0 auto; width: min(340px, 92%); top: 66px;
  background: rgba(245,245,247,0.96); border-radius: 22px; padding: 12px 14px 12px 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.16); display: grid; grid-template-columns: 38px 1fr; gap: 10px; align-items: start;
}
.notif img { width: 38px; height: 38px; border-radius: 9px; }
.notif .t { display: flex; justify-content: space-between; font-size: 13px; font-weight: 600; }
.notif .t span { font-weight: 400; color: var(--ink-2); }
.notif p { font-size: 14px; line-height: 1.35; margin-top: 2px; }
.notif-2 { top: auto; bottom: 86px; }
@media (max-width: 859px) { .notif-2 { display: none; } }

/* Cijferrij, zoals de profielkaart in de app */
.figures { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 40px; }
.figures .wrap { display: grid; }
@media (min-width: 700px) { .figures .wrap { grid-template-columns: repeat(3, 1fr); } }
.figure { padding: 26px 0; border-top: 1px solid var(--line); }
.figure:first-child { border-top: 0; }
@media (min-width: 700px) {
  .figure { border-top: 0; border-left: 1px solid var(--line); padding: 28px 28px; }
  .figure:first-child { border-left: 0; padding-left: 0; }
}
.figure b { display: block; font-size: 34px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 6px; }
.figure span { color: var(--ink-2); font-size: 15px; }

/* Secties */
section { padding: 72px 0; }
@media (min-width: 860px) { section { padding: 96px 0; } }
.head { max-width: 620px; margin-bottom: 36px; }
.head-illu { max-width: none; display: grid; gap: 24px; align-items: end; }
@media (min-width: 760px) { .head-illu { grid-template-columns: 1fr 320px; gap: 48px; } }
.illu { display: block; }
.illu-map { width: min(320px, 100%); height: auto; }
.illu-pump { width: 40px; height: 40px; flex: none; }
.head p { margin-top: 12px; color: var(--ink-2); font-size: 18px; }

/* Stappen: genummerde tekst, geen boxen */
.steps { display: grid; gap: 28px; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.step { border-top: 2px solid var(--ink); padding-top: 18px; }
.step .n { font-size: 15px; color: var(--ink-2); margin-bottom: 10px; }
.step p { color: var(--ink-2); margin-top: 8px; }

/* Voorbeeld uit Utrecht: twee prijzen naast elkaar */
.example { background: var(--bg-2); border-radius: var(--r-card); padding: 28px 24px; }
@media (min-width: 760px) { .example { padding: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; } }
.example h3 { font-size: 24px; }
.example .muted { margin-top: 10px; }
.compare { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 10px; }
@media (min-width: 760px) { .compare { margin: 0; } }
.compare li { display: flex; justify-content: space-between; align-items: baseline; background: #fff; border-radius: 16px; padding: 16px 18px; }
.compare li b { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.compare li.best b { color: var(--accent); }
.compare li small { display: block; color: var(--ink-2); font-size: 14px; }
.compare .sum { background: transparent; padding: 6px 18px 0; color: var(--ink-2); font-size: 15px; }

/* Functies: schermen met tekst, verschillend gewicht */
.shots { display: grid; gap: 40px; }
@media (min-width: 860px) { .shots { grid-template-columns: repeat(3, 1fr); gap: 32px; align-items: end; } .shots > :nth-child(2) { padding-bottom: 48px; } }
.shot .frame { background: #111; border-radius: 34px; padding: 8px; max-width: 260px; margin: 0 0 18px; box-shadow: 0 16px 40px rgba(0,0,0,0.14); }
.shot .frame img { border-radius: 27px; width: 100%; height: auto; }
.shot p { color: var(--ink-2); margin-top: 6px; }
.more { display: grid; gap: 14px 40px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }
@media (min-width: 760px) { .more { grid-template-columns: repeat(3, 1fr); } }
.more b { display: block; margin-bottom: 4px; }
.more span { color: var(--ink-2); font-size: 15px; }

/* Van de makers */
.makers { background: var(--bg-2); }
.makers .wrap { max-width: 760px; }
.makers blockquote { margin: 0; font-size: clamp(21px, 2.6vw, 27px); line-height: 1.4; font-weight: 500; letter-spacing: -0.01em; }
.makers .who { margin-top: 20px; color: var(--ink-2); display: flex; align-items: center; gap: 12px; }


/* Premium: twee rustige kolommen */
.plans { display: grid; gap: 16px; }
@media (min-width: 760px) { .plans { grid-template-columns: 1fr 1fr; } }
.plan { border: 1px solid var(--line); border-radius: var(--r-card); padding: 28px; }
.plan.pro { border-color: var(--accent); background: var(--accent-soft); }
.plan .name { font-weight: 600; }
.plan .price { font-size: 36px; font-weight: 600; letter-spacing: -0.02em; margin: 8px 0 2px; }
.plan .price small { font-size: 16px; font-weight: 400; color: var(--ink-2); letter-spacing: 0; }
.plan ul { margin: 18px 0 0; padding-left: 18px; color: var(--ink); display: grid; gap: 8px; }
.plan .fine { margin-top: 16px; font-size: 14px; color: var(--ink-2); }

/* FAQ */
.faq { max-width: 720px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; font-weight: 600; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--ink-2); font-weight: 400; font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq .a { padding: 0 0 20px; color: var(--ink-2); max-width: 640px; }

/* Afsluiting */
.end { border-top: 1px solid var(--line); }
.end .wrap { display: grid; gap: 20px; align-items: center; }
@media (min-width: 760px) { .end .wrap { grid-template-columns: 1fr auto; } }

footer { background: var(--bg-2); padding: 40px 0; color: var(--ink-2); font-size: 15px; }
footer .wrap { display: grid; gap: 24px; }
@media (min-width: 760px) { footer .wrap { grid-template-columns: 2fr 1fr 1fr; } }
footer h4 { margin: 0 0 10px; font-size: 15px; color: var(--ink); font-weight: 600; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
footer a { text-decoration: none; }
footer a:hover { text-decoration: underline; }
footer .logo { color: var(--ink); margin-bottom: 10px; }
footer .fine { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 18px; font-size: 13px; }
[hidden] { display: none !important; }

/* ---------- v3: interactief ---------- */
.sub2 { max-width: 560px; margin-top: 10px; }
.small { font-size: 14px; margin-top: 12px; }
h2 { margin-bottom: 6px; }

/* Calculator */
.calc { margin-top: 26px; max-width: 560px; }
.seg { display: inline-flex; background: var(--bg-2); border-radius: 999px; padding: 4px; gap: 2px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; }
.seg span { display: inline-block; padding: 9px 18px; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--ink-2); cursor: pointer; }
.seg input:checked + span { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,0.12); }
.seg input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.seg.small span { padding: 7px 14px; font-size: 14px; }
.row { display: grid; gap: 14px; margin-top: 18px; }
@media (min-width: 560px) { .row { grid-template-columns: 150px 1fr; } }
.field { display: grid; gap: 8px; font-size: 14px; color: var(--ink-2); }
.field span { display: flex; justify-content: space-between; }
.field output { color: var(--ink); font-weight: 600; }
.field input[type=text], .field input:not([type]) { font: inherit; font-size: 20px; font-weight: 600; color: var(--ink); padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--r-btn); background: #fff; width: 100%; }
.field input:focus { outline: none; border-color: var(--accent); }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; margin: 0; }
input[type=range]::-webkit-slider-runnable-track { height: 6px; border-radius: 999px; background: var(--line); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 2px solid var(--accent); margin-top: -11px; box-shadow: 0 2px 6px rgba(0,0,0,0.15); cursor: pointer; }
input[type=range]::-moz-range-track { height: 6px; border-radius: 999px; background: var(--line); }
input[type=range]::-moz-range-thumb { width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 2px solid var(--accent); cursor: pointer; }
.result { margin-top: 20px; padding: 20px 22px; border-radius: var(--r-card); background: var(--accent-soft); }
.result .big, .who-result .big { font-size: clamp(40px, 7vw, 56px); font-weight: 600; letter-spacing: -0.03em; line-height: 1; color: var(--accent); display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.result .big small, .who-result .big small { font-size: 16px; font-weight: 500; letter-spacing: 0; color: var(--ink); }
.result p { margin-top: 10px; font-size: 15px; color: var(--ink); }
.calc .cta { margin-top: 18px; }
.calc .note { margin-top: 12px; }

/* Vandaag */
.today { border-top: 1px solid var(--line); }
.today-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.range .bar { position: relative; height: 10px; border-radius: 999px; background: linear-gradient(90deg, var(--accent) 0%, var(--line) 50%, #c44 100%); }
.range .marker { position: absolute; top: 50%; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 3px solid var(--ink); transform: translate(-50%, -50%); transition: left .5s ease; }
.range .marker.lo { border-color: var(--accent); } .range .marker.hi { border-color: #c44; }
.range .labels { display: flex; justify-content: space-between; margin-top: 0; }
.range .labels div { display: grid; }
.range .labels div:nth-child(2) { text-align: center; } .range .labels div:last-child { text-align: right; }
.range b { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.range span { font-size: 13px; color: var(--ink-2); }
.today-sum { margin-top: 24px; font-size: 18px; max-width: 640px; }
.today-sum b { color: #c44; }

/* Deals ticker */
.ticker { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 18px 0 8px; margin: 0 -24px; padding-left: 24px; padding-right: 24px; scrollbar-width: none; }
.ticker::-webkit-scrollbar { display: none; }
.deal { flex: 0 0 220px; scroll-snap-align: start; border: 1px solid var(--line); border-radius: 18px; padding: 16px; display: grid; gap: 4px; }
.deal b { font-size: 24px; font-weight: 600; letter-spacing: -0.01em; color: var(--accent); }
.deal span { font-size: 14px; }
.deal em { font-style: normal; font-size: 13px; color: var(--ink-2); }

/* Herken je dit */
.alt { background: var(--bg-2); }
.who-grid { display: grid; gap: 10px; margin-top: 20px; }
@media (min-width: 760px) { .who-grid { grid-template-columns: repeat(3, 1fr); } }
.who-card { text-align: left; font: inherit; background: #fff; border: 1.5px solid var(--line); border-radius: 18px; padding: 16px 18px; cursor: pointer; display: grid; gap: 4px; color: var(--ink); }
.who-card span { font-size: 14px; color: var(--ink-2); }
.who-card.is-active { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.who-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.who-result { margin-top: 18px; display: grid; gap: 10px; }
.who-result p { max-width: 640px; font-size: 16px; }

/* Carousel */
.carousel { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 20px 0 8px; margin: 0 -24px; padding-left: 24px; padding-right: 24px; scrollbar-width: none; }
.carousel::-webkit-scrollbar { display: none; }
.carousel figure { flex: 0 0 240px; scroll-snap-align: center; margin: 0; }
@media (min-width: 860px) { .carousel figure { flex-basis: 250px; } }
.carousel .frame { background: #111; border-radius: 34px; padding: 8px; box-shadow: 0 16px 40px rgba(0,0,0,0.14); }
.carousel .frame img { border-radius: 27px; width: 100%; height: auto; }
.carousel figcaption { margin-top: 12px; font-size: 15px; color: var(--ink-2); }
.dots { display: flex; gap: 8px; justify-content: center; margin-top: 8px; }
.dots button { width: 8px; height: 8px; border-radius: 50%; border: 0; background: var(--line); padding: 0; cursor: pointer; }
.dots button.on { background: var(--ink); }

/* Premium rij */
.premium-row { display: grid; gap: 20px; align-items: center; }
@media (min-width: 860px) { .premium-row { grid-template-columns: 1fr auto; } }
.reken .calc { margin-top: 22px; max-width: 620px; }
.reken .result { background: #fff; }

/* ---------- v4: sleepbare prijs, deals swipen, flipkaarten, sticky CTA ---------- */
.today-sum .red { color: #c44; }

.swipe { overflow-x: auto; margin-top: 16px; -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory; scrollbar-width: none; }
.swipe::-webkit-scrollbar { display: none; }
.swipe .track { display: flex; gap: 12px; width: max-content; padding: 6px 24px; }
.swipe .deal { scroll-snap-align: start; }
.h2sub { font-size: 16px; font-weight: 400; margin-left: 8px; }
.stack { display: grid; gap: 12px; margin-top: 20px; }
@media (min-width: 760px) { .stack { grid-template-columns: repeat(3, 1fr); } }
.flip { position: relative; min-height: 150px; border: 0; background: transparent; padding: 0; cursor: pointer; font: inherit; color: inherit; text-align: left; perspective: 1000px; }
.flip .face { position: absolute; inset: 0; border-radius: 18px; padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; justify-content: center; backface-visibility: hidden; -webkit-backface-visibility: hidden; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.flip .front { background: #fff; border: 1.5px solid var(--line); }
.flip .front span { font-size: 14px; color: var(--ink-2); }
.flip .front em { font-style: normal; font-size: 13px; color: var(--accent); font-weight: 600; margin-top: 4px; }
.flip .back { background: #087A53; color: #fff; transform: rotateY(180deg); }
.flip .back .amt { font-size: 40px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.flip .back .amt-txt { font-size: 14px; }
.flip.is-flipped .front { transform: rotateY(180deg); }
.flip.is-flipped .back { transform: rotateY(360deg); }
.flip:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 18px; }

.how { margin-top: 8px; font-size: 14px; color: var(--ink-2); }
.how summary { cursor: pointer; font-weight: 600; color: var(--ink); list-style: none; }
.how summary::-webkit-details-marker { display: none; }
.how summary::after { content: " +"; } .how[open] summary::after { content: " –"; }
.how p { margin-top: 6px; }

.footer-line { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; }
.footer-line nav { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-line .fine { margin-left: auto; }
footer .logo { margin-bottom: 0; font-size: 16px; }

.sticky-cta { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 16px; background: rgba(34,34,34,0.96); color: #fff; border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,0.25); font-weight: 600; font-size: 15px; }
.sticky-cta .btn { background: #fff; color: var(--ink); }
@media (min-width: 860px) { .sticky-cta { left: auto; right: 24px; bottom: 24px; max-width: 420px; } }
