/* Layout: one column of bands; business work first (bestel-app demo as hero), kids' work second. */
:root {
  --bg: #f5f6fa;
  --surface: #ffffff;
  --ink: #141b2d;
  --muted: #566078;
  --line: #dde1ec;
  --accent: #2448d8;      /* cobalt: tech */
  --accent-ink: #ffffff;
  --sun: #ffbf2e;         /* crayon yellow: kids */
  --leaf: #1f9d6b;
  --soft: #e9edfb;
  --art-green: #d9f3e6;
  --art-yellow: #fff0c9;
  --font-display: ui-rounded, "SF Pro Rounded", "Nunito", "Varela Round", "Segoe UI Variable Display", system-ui, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 14px;
  --wrap: 1080px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f1422; --surface: #171e30; --ink: #eef1f8; --muted: #a3acc2; --line: #2a3349;
    --accent: #7b96ff; --accent-ink: #0f1422; --sun: #ffc94d; --leaf: #4fd09b; --soft: #1d2640; --art-green: #17352b; --art-yellow: #3a3118;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0f1422; --surface: #171e30; --ink: #eef1f8; --muted: #a3acc2; --line: #2a3349;
  --accent: #7b96ff; --accent-ink: #0f1422; --sun: #ffc94d; --leaf: #4fd09b; --soft: #1d2640; --art-green: #17352b; --art-yellow: #3a3118;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 17px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; text-wrap: balance; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0; max-width: 62ch; }
a { color: var(--accent); }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 6px; }

.wrap {
  max-width: var(--wrap); margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.eyebrow { font: 700 0.78rem/1 var(--font-body); text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); }

/* header */
.site-head { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 50; }
/* vaste menubalk: zorg dat koppen bij het springen niet achter de balk vallen */
[id] { scroll-margin-top: 84px; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 800 1.2rem/1 var(--font-display); }
.brand-mark { width: 34px; height: 34px; flex: none; }
.site-nav { display: flex; gap: 6px 20px; flex-wrap: wrap; }
.site-nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.site-nav a:hover { color: var(--accent); }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid var(--accent); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-ghost { color: var(--accent); background: transparent; }
.btn:hover { filter: brightness(1.08); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* hero */
.hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; padding-block: 64px 72px; }
.hero-copy { display: grid; gap: 22px; min-width: 0; }
.hero-copy h1 .hl { background: linear-gradient(transparent 62%, var(--sun) 62%, var(--sun) 90%, transparent 90%); color: inherit; }
.lead { font-size: 1.15rem; color: var(--muted); }
.trust { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 0; margin: 0; list-style: none; font-size: 0.92rem; color: var(--muted); }
.trust li { display: flex; align-items: center; gap: 6px; }
.trust svg { flex: none; }

/* phone demo */
.phone {
  justify-self: center; width: min(300px, 100%);
  background: var(--ink); border-radius: 34px; padding: 10px;
  box-shadow: 0 30px 60px -30px rgba(20, 27, 45, 0.55);
}
.screen { background: var(--surface); color: var(--ink); border-radius: 26px; overflow: hidden; display: grid; }
.screen-top { background: var(--accent); color: var(--accent-ink); padding: 18px 18px 14px; display: grid; gap: 4px; }
.screen-top b { font: 800 1.1rem/1.2 var(--font-display); }
.screen-top span { font-size: 0.8rem; opacity: 0.85; }
.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 12px 14px 4px; }
.choice span { text-align: center; font-size: 0.78rem; font-weight: 700; padding: 7px 0; border-radius: 999px; border: 1.5px solid var(--line); color: var(--muted); }
.choice span.on { border-color: var(--accent); color: var(--accent); background: var(--soft); }
.menu { list-style: none; margin: 0; padding: 6px 14px; display: grid; }
.menu li { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 0.88rem; }
.menu li:last-child { border-bottom: 0; }
.menu .price { font-variant-numeric: tabular-nums; color: var(--muted); }
.qty { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 0.8rem; background: var(--soft); color: var(--accent); }
.qty.on { background: var(--accent); color: var(--accent-ink); }
.order-btn { margin: 8px 14px 16px; background: var(--leaf); color: var(--accent-ink); border-radius: 12px; padding: 12px; display: flex; justify-content: space-between; font-weight: 800; font-size: 0.9rem; font-variant-numeric: tabular-nums; }
.demo-note { text-align: center; font-size: 0.8rem; color: var(--muted); margin-top: 10px; max-width: none; }
.phone-col { display: grid; justify-items: center; min-width: 0; }

/* sections */
.band { padding-block: 72px; }
.band-alt { background: var(--surface); border-block: 1px solid var(--line); }
.section-head { display: grid; gap: 12px; margin-bottom: 36px; }
.section-head p { color: var(--muted); }

/* steps (a real sequence, so numbered) */
.steps { list-style: none; margin: 0 0 40px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.steps li { counter-increment: step; display: grid; gap: 8px; align-content: start; min-width: 0; }
.steps li::before { content: counter(step); width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--sun); color: #141b2d; font: 800 1.05rem/1 var(--font-display); }
.steps p { color: var(--muted); font-size: 0.97rem; }

/* kitchen board */
.board-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); }
.board { display: grid; grid-template-columns: repeat(3, minmax(200px, 1fr)); gap: 14px; padding: 16px; min-width: 640px; }
.col { display: grid; gap: 10px; align-content: start; }
.col-head { display: flex; justify-content: space-between; font-weight: 800; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.col-head .n { font-variant-numeric: tabular-nums; }
.ticket { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 12px; display: grid; gap: 6px; font-size: 0.86rem; }
.ticket-top { display: flex; justify-content: space-between; gap: 8px; font-weight: 800; font-variant-numeric: tabular-nums; }
.tag { font-size: 0.72rem; font-weight: 800; padding: 2px 8px; border-radius: 999px; }
.tag-new { background: var(--sun); color: #141b2d; }
.tag-busy { background: var(--soft); color: var(--accent); }
.tag-done { background: transparent; color: var(--leaf); border: 1.5px solid var(--leaf); }
.ticket ul { margin: 0; padding-left: 18px; color: var(--muted); }
.board-caption { font-size: 0.85rem; color: var(--muted); margin-top: 10px; }

.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 32px; padding: 0; margin: 40px 0 32px; list-style: none; }
.features li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; min-width: 0; }
.features b { display: block; }
.features span { color: var(--muted); font-size: 0.95rem; }

/* web design */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split > * { min-width: 0; }
.browser { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.browser-bar { display: flex; gap: 6px; align-items: center; padding: 10px 12px; border-bottom: 1px solid var(--line); background: var(--bg); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.browser-bar span { margin-left: 8px; font-size: 0.78rem; color: var(--muted); font-family: ui-monospace, Menlo, Consolas, monospace; }
.browser-body { padding: 22px; display: grid; gap: 12px; }
.sk { height: 12px; border-radius: 6px; background: var(--line); }
.sk.w60 { width: 60%; } .sk.w80 { width: 80%; } .sk.w40 { width: 40%; }
.sk.big { height: 22px; width: 70%; background: var(--ink); opacity: 0.85; }
.sk-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 6px; }
.sk-card { height: 64px; border-radius: 10px; background: var(--soft); }
.sk-card.y { background: var(--sun); opacity: 0.7; }
.checks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; }

/* kids */
.kids { background: var(--soft); }
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: grid; gap: 14px; align-content: start; min-width: 0; }
.card-art { height: 140px; border-radius: 14px; display: grid; place-items: center; }
.card-art.green { background: var(--art-green); }
.card-art.yellow { background: var(--art-yellow); }
.card .meta { font-size: 0.85rem; color: var(--muted); font-weight: 600; }
.pill-list { display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; list-style: none; }
.pill-list li { font-size: 0.8rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); }
.card .btn { justify-self: start; }
.soon { justify-self: start; font-size: 0.85rem; font-weight: 800; padding: 8px 14px; border-radius: 999px; background: var(--bg); border: 1.5px dashed var(--muted); color: var(--muted); }
.promise { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 28px; padding: 0; list-style: none; font-weight: 600; font-size: 0.95rem; }
.promise li { display: flex; gap: 8px; align-items: center; }

/* contact */
.contact { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: start; }
.contact > * { min-width: 0; }
.contact-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 14px; }
.contact-box dt { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.contact-box dd { margin: 2px 0 0; font-weight: 700; font-size: 1.05rem; overflow-wrap: anywhere; user-select: all; }
.contact-box dl { margin: 0; display: grid; gap: 14px; }

/* footer */
.site-foot { border-top: 1px solid var(--line); font-size: 0.88rem; color: var(--muted); }
.site-foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-block: 28px; }
.site-foot a { color: var(--muted); }

/* legal page */
.legal { padding-block: 56px 72px; display: grid; gap: 18px; }
.legal h2 { font-size: 1.3rem; margin-top: 14px; }
.legal ul { margin: 0; padding-left: 20px; max-width: 62ch; }

.icon { color: var(--leaf); }

@media (max-width: 860px) {
  .hero .wrap, .split, .contact, .cards { grid-template-columns: 1fr; }
  .hero .wrap { padding-block: 40px 56px; gap: 40px; }
  .steps, .features { grid-template-columns: 1fr; }
  .band { padding-block: 56px; }
}

/* svg parts (classes instead of inline styles, so a strict CSP works) */
.bm-bg { fill: var(--accent); }
.bm-dot { fill: var(--sun); }
.bm-fg { stroke: var(--accent-ink); }
.art-face { fill: var(--sun); }
.art-ink { fill: #141b2d; }
.art-line { stroke: #141b2d; }
.art-page { fill: #ffffff; stroke: #141b2d; stroke-width: 2; }
.art-crayon { fill: var(--accent); }
.card-art.yellow .art-line { stroke: #141b2d; }

/* kleurboeken-pagina */
.page-title { font-size: clamp(2rem, 4.6vw, 3rem); font-weight: 800; }
.site-nav a[aria-current="page"] { color: var(--accent); }
.books { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.book { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.book img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; background: var(--art-yellow); }
.book-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.book-body h2 { font-size: 1.3rem; font-weight: 800; }
.book-body .meta { font-size: 0.85rem; color: var(--muted); font-weight: 600; }
.book-body p { color: var(--muted); }
.book-body .btn { align-self: flex-start; margin-top: auto; }
.book-body p:last-of-type { margin-bottom: 8px; }
.badge { align-self: flex-start; justify-self: start; font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; padding: 4px 10px; border-radius: 999px; background: var(--sun); color: #141b2d; }
.books-note { margin-top: 28px; font-size: 0.9rem; color: var(--muted); }
.card .card-links { display: flex; flex-wrap: wrap; gap: 10px; }

/* vaste menubalk op de telefoon: menu op één regel (veegbaar) */
@media (max-width: 600px) {
  [id] { scroll-margin-top: 104px; }
  .site-head .wrap { padding-block: 10px; row-gap: 8px; }
  .site-nav { flex-wrap: nowrap; width: 100%; overflow-x: auto; scrollbar-width: none; }
  .site-nav::-webkit-scrollbar { display: none; }
  .site-nav a { white-space: nowrap; }
}
