:root {
  --bg: #ffffff; --fg: #111111; --muted: #6b6b6b; --line: #e6e6e6; --soft: #f5f5f3;
  --accent: #f74e45; --accent-fg: #ffffff; --brand: #1a8a3a;
  --carbs: #3d7bff; --protein: #12b5a5; --fat: #ee5fa0;
  --radius: 14px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f0f0f; --fg: #f2f2f2; --muted: #a0a0a0; --line: #2a2a2a; --soft: #1a1a1a;
  }
}
:root[data-theme="dark"] { --bg: #0f0f0f; --fg: #f2f2f2; --muted: #a0a0a0; --line: #2a2a2a; --soft: #1a1a1a; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.02em; font-weight: 800; margin: 0 0 .5em; }
h1 { font-size: clamp(36px, 6vw, 60px); }
h2 { font-size: clamp(26px, 3.6vw, 38px); }
h3 { font-size: 21px; }
p { margin: 0 0 1em; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.center { text-align: center; }
.lead { font-size: 20px; color: var(--muted); max-width: 40em; }
.lead.center { margin: 0 auto 2em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.eyebrow { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--brand); margin-bottom: .6em; }
.eyebrow.carbs { color: var(--carbs); } .eyebrow.protein { color: var(--protein); } .eyebrow.fat { color: var(--fat); }

/* knoppen */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px;
  border-radius: 10px; border: 1.5px solid var(--line); background: var(--bg); color: var(--fg);
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.btn:hover { border-color: var(--fg); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-fg); }
.btn.primary:hover { filter: brightness(.95); }
.btn.dark { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.btn.small { min-height: 40px; padding: 0 16px; font-size: 15px; }
.soon { display: inline-block; font-size: 14px; color: var(--muted); border: 1px dashed var(--line); border-radius: 999px; padding: 6px 14px; }

/* kop */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 21px; text-decoration: none; letter-spacing: -.02em; }
.top nav { display: flex; gap: 22px; margin-left: auto; }
.top nav a { text-decoration: none; color: var(--muted); font-weight: 600; font-size: 15px; }
.top nav a:hover, .top nav a[aria-current] { color: var(--fg); }
@media (max-width: 760px) {
  .top .wrap { flex-wrap: wrap; gap: 8px 16px; padding-top: 10px; padding-bottom: 10px; }
  .top nav { order: 3; width: 100%; margin: 0; gap: 18px; overflow-x: auto; }
  .top .btn { margin-left: auto; }
}

/* hero */
.hero { padding: 56px 0 24px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 12px; }
.phones { position: relative; height: 560px; }
.phone { position: absolute; width: 260px; border-radius: 34px; border: 8px solid #111; box-shadow: 0 30px 60px rgba(0,0,0,.18); background: #fff; }
.phones .phone { right: 20px; top: 40px; }
.phones .phone.back { right: 220px; top: 0; transform: rotate(-6deg); opacity: .95; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .phones { height: 440px; }
  .phone { width: 200px; }
  .phones .phone { right: auto; left: 50%; top: 30px; transform: translateX(-10%); }
  .phones .phone.back { right: auto; left: 50%; transform: translateX(-90%) rotate(-6deg); }
}

/* strook partners */
.strip { border-block: 1px solid var(--line); background: var(--soft); }
.strip .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; padding-top: 18px; padding-bottom: 18px; font-size: 15px; }
.strip span { color: var(--muted); }

/* functies */
.features { padding: 80px 16px 40px; display: grid; gap: 96px; }
.feature { display: grid; grid-template-columns: 320px 1fr; gap: 64px; align-items: center; }
.feature img { width: 280px; border-radius: 30px; border: 7px solid #111; box-shadow: 0 20px 40px rgba(0,0,0,.12); margin: 0 auto; }
.feature.flip { grid-template-columns: 1fr 320px; }
.feature.flip img { order: 2; }
@media (max-width: 760px) {
  .feature, .feature.flip { grid-template-columns: 1fr; gap: 28px; }
  .feature.flip img { order: 0; }
  .feature img { width: 220px; }
}
.checks { list-style: none; padding: 0; margin: 0 0 1em; }
.checks li { position: relative; padding-left: 30px; margin: 10px 0; }
.checks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12l4 4 8-8' fill='none' stroke='white' stroke-width='3'/%3E%3C/svg%3E") center/12px no-repeat; }

/* stappen */
.steps-band { background: var(--fg); color: var(--bg); padding: 72px 0; margin-top: 40px; }
.steps { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: s; }
.steps li { counter-increment: s; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--accent); color: #fff; font-weight: 800; margin-bottom: 14px; }
.steps b { display: block; font-size: 20px; margin-bottom: 6px; }
.steps span { opacity: .75; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* prijzen */
.pricing { padding: 88px 16px 40px; text-align: center; }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 360px)); gap: 24px; justify-content: center; text-align: left; }
.plan { position: relative; border: 1.5px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; }
.plan .btn { margin-top: auto; }
.plan.best { border: 2px solid var(--accent); }
.badge { position: absolute; top: -13px; left: 24px; background: var(--accent); color: #fff; font-size: 13px; font-weight: 700; padding: 3px 12px; border-radius: 999px; margin: 0; }
.price { font-size: 48px; font-weight: 800; letter-spacing: -.03em; margin: 0 0 4px; }
.price span { font-size: 18px; color: var(--muted); font-weight: 600; }
.plans.three { grid-template-columns: repeat(3, minmax(0, 340px)); }
@media (max-width: 960px) { .plans, .plans.three { grid-template-columns: minmax(0, 420px); } }

/* faq */
.faq { max-width: 780px; padding: 64px 16px; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { font-weight: 700; cursor: pointer; font-size: 18px; }
.faq details p { margin: 10px 0 0; color: var(--muted); }

/* blog */
.latest { padding: 24px 16px 72px; }
.row-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.post-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; background: var(--bg); }
.post-card:hover { border-color: var(--fg); }
.post-card img { height: 180px; width: 100%; object-fit: cover; object-position: top; background: var(--soft); }
.post-card > div { padding: 20px; }
.post-card time { font-size: 13px; color: var(--muted); }
.post-card h3 { margin: 6px 0 8px; }
.post-card p { color: var(--muted); margin: 0; font-size: 15px; }
.page-head { padding: 56px 16px 24px; }
.prose { max-width: 720px; padding-top: 40px; padding-bottom: 72px; }
.prose h1 { font-size: clamp(32px, 5vw, 46px); }
.prose h2 { font-size: 26px; margin-top: 1.6em; }
.prose blockquote { margin: 2em 0; padding: 14px 18px; border-left: 4px solid var(--line); color: var(--muted); font-size: 15px; }
.prose li { margin: 6px 0; }
.post-cta { margin-top: 56px; padding: 28px; border-radius: var(--radius); background: var(--soft); }
.post-cta h2 { margin-top: 0; }

/* handleidingen */
.toc { columns: 2; padding-left: 20px; }
@media (max-width: 600px) { .toc { columns: 1; } }
.guides { display: grid; gap: 56px; padding-bottom: 56px; }
.guide { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: start; scroll-margin-top: 90px; }
.guide h2 { font-size: 28px; }
.guide ol li { margin: 8px 0; }
@media (max-width: 700px) { .guide { grid-template-columns: 1fr; gap: 20px; } }
.video { position: relative; width: 100%; max-width: 260px; aspect-ratio: 9 / 16; border-radius: 24px; overflow: hidden; border: 0;
  background: #111 center/cover no-repeat; cursor: pointer; padding: 0; }
.video .play { position: absolute; inset: 0; display: grid; place-items: center; font-size: 44px; color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.5); }
.video.placeholder { cursor: default; border: 6px solid #111; background: var(--soft); }
.video.placeholder img { width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: .55; }
.video .tag { position: absolute; left: 12px; bottom: 12px; background: var(--fg); color: var(--bg); font-size: 13px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
iframe.video, video.video { cursor: auto; background: #111; object-fit: cover; }

/* wachtlijst */
.signup { background: var(--accent); color: #fff; padding: 72px 0; text-align: center; }
.signup p { max-width: 36em; margin: 0 auto 1.4em; opacity: .95; }
.signup .btn.primary { background: #111; border-color: #111; }
.signup .soon { color: #fff; border-color: rgba(255,255,255,.6); }
.waitlist { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 0 auto 1.4em; max-width: 520px; }
.waitlist input { flex: 1 1 240px; min-height: 48px; border-radius: 10px; border: 0; padding: 0 16px; font: inherit; color: #111; }
.hero .waitlist { justify-content: flex-start; margin: 0; }
.hero .waitlist input { border: 1.5px solid var(--line); }

/* voet */
.foot { border-top: 1px solid var(--line); padding: 40px 0; }
.foot .wrap { display: grid; grid-template-columns: 1fr auto; gap: 16px 40px; align-items: start; }
.foot nav { display: flex; flex-wrap: wrap; gap: 12px 22px; }
.foot nav a { text-decoration: none; color: var(--muted); }
.foot nav a:hover { color: var(--fg); }
@media (max-width: 700px) { .foot .wrap { grid-template-columns: 1fr; } }

/* taalkeuze */
.langsel { position: relative; }
.langsel summary { list-style: none; cursor: pointer; font-weight: 700; font-size: 14px; color: var(--muted); padding: 6px 10px; border: 1.5px solid var(--line); border-radius: 999px; }
.langsel summary::-webkit-details-marker { display: none; }
.langsel[open] summary { color: var(--fg); border-color: var(--fg); }
.langsel div { position: absolute; right: 0; top: calc(100% + 6px); background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 6px; display: grid; min-width: 150px; box-shadow: 0 8px 24px rgba(0,0,0,.12); z-index: 20; }
.langsel a { text-decoration: none; color: var(--fg); padding: 7px 10px; border-radius: 8px; font-size: 15px; }
.langsel a:hover { background: var(--soft); }
.langsel a[aria-current] { font-weight: 700; color: var(--accent); }
