/* Uitleg (gidsen) van keep2protect.com. Gegenereerd door tools/site-tools/make_guides.py.
   De basis (lettertypes, kleuren, menubalk, knoppen, footer) is dezelfde als in index.html;
   verandert daar iets, pas het dan ook in make_guides.py aan. Sinds 28 okt 2026 warm en huiselijk:
   geen paars of indigo, verlopen, glas, pillen, bolletjes of kaarten met dunne randjes. */
@font-face { font-family: 'Bricolage Grotesque'; src: url('/assets/fonts/BricolageGrotesque-Bold.ttf') format('truetype'); font-weight: 600 800; font-display: swap; }
@font-face { font-family: 'Bricolage Grotesque'; src: url('/assets/fonts/BricolageGrotesque-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
:root {
  --night: #120F2E; --night-2: #1E1A4F; --lamp: #FFD98A; --clay: #A9502C;
  --paper: #F7F2E9; --sand: #EDE3D1; --card: #FFFCF6; --ink: #1C1A2B; --ink-soft: #5D5750; --line: #DED3C0;
  --accent-text: #9A4322; --ok: #2F6B45;
  --display: 'Bricolage Grotesque', 'Avenir Next', -apple-system, sans-serif;
  --body: 'Bricolage Grotesque', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: ui-monospace, 'SF Mono', Menlo, monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #12101F; --card: #1C1930; --sand: #232036; --ink: #F2ECE3; --ink-soft: #B7AEA3;
    --line: #312C45; --accent-text: #F2A27C; --clay: #C8653D; --ok: #8CCB9B; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #12101F; --card: #1C1930; --sand: #232036; --ink: #F2ECE3; --ink-soft: #B7AEA3;
  --line: #312C45; --accent-text: #F2A27C; --clay: #C8653D; --ok: #8CCB9B; color-scheme: dark;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent-text); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--lamp); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; margin: 0; text-wrap: balance; letter-spacing: -0.02em; }
p { margin: 0; }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }

/* ── Menubalk (zoals de startpagina) ── */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; background: transparent; border-bottom: 1px solid transparent; transition: background .25s ease, border-color .25s ease; }
.nav.scrolled { background: color-mix(in srgb, var(--night) 78%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: rgba(255,255,255,0.06); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 19px; }
.brand svg { width: 46px; height: auto; }
.nav nav { display: flex; gap: 22px; align-items: center; }
.nav nav a { color: rgba(255,255,255,0.78); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav nav a:hover, .nav nav a[aria-current="page"] { color: #fff; }
.nav .pill { color: var(--night); background: var(--lamp); padding: 8px 14px; border-radius: 9px; font-weight: 600; }
.lang-menu { position: relative; }
.lang-menu summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; color: #fff; background: rgba(255,255,255,0.1); padding: 7px 12px; border-radius: 9px; font-size: 14px; font-weight: 500; }
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary:hover, .lang-menu[open] summary { background: rgba(255,255,255,0.18); }
.lang-menu summary svg { width: 16px; height: 16px; flex: none; }
.lang-menu summary .chev { width: 10px; height: 10px; transition: transform .2s ease; }
.lang-menu[open] summary .chev { transform: rotate(180deg); }
.lang-menu ul { position: absolute; right: 0; top: calc(100% + 8px); margin: 0; padding: 6px; list-style: none; min-width: 170px; background: var(--night); border-radius: 10px; box-shadow: 0 18px 40px rgba(8,6,30,0.45); z-index: 20; }
.nav nav .lang-menu a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 9px; color: rgba(255,255,255,0.85); font-size: 15px; }
.nav nav .lang-menu a:hover { background: rgba(255,255,255,0.08); color: #fff; }
.nav nav .lang-menu a[aria-current="true"] { color: var(--lamp); }
@media (max-width: 720px) { .nav nav > a:not(.pill) { display: none; } .nav nav { gap: 10px; } }
@media (max-width: 460px) { .brand-name { display: none; } }

/* ── Kop: een nachtelijke band zoals de hero ── */
.kop { position: relative; color: #fff; margin-top: -72px; padding: 116px 0 44px;
  background: var(--night); }
.kruimel { font-family: var(--display); font-size: 15px; font-weight: 700; color: var(--lamp); }
.kruimel a { color: var(--lamp); text-decoration: none; }
.kruimel a:hover { text-decoration: underline; }
.kop__titel { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 16px; }
.kop h1 { font-size: clamp(32px, 5.2vw, 54px); font-weight: 800; min-width: 0; max-width: 24ch; }
.kop .korte { margin-top: 16px; font-size: 19px; color: rgba(255,255,255,0.8); max-width: 58ch; }
.badge-pro { font-family: var(--display); font-size: 14px; font-weight: 800; background: var(--lamp); color: var(--night); padding: 4px 9px; border-radius: 6px; }
.ic { flex: none; display: grid; place-items: center; color: var(--accent-text); }
.kop .ic { color: var(--lamp); }
.ic svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ── Gids: tekst met de lijst van alle gidsen ernaast ── */
.gids { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 56px; align-items: start; padding-block: 48px 72px; }
.gids__tekst { min-width: 0; max-width: 760px; }
.gids__tekst h2 { font-size: clamp(24px, 3vw, 30px); font-weight: 800; margin: 44px 0 14px; }
.gidsnav { order: -1; position: sticky; top: 84px; max-height: calc(100vh - 100px); overflow: auto; background: var(--sand); border-radius: 12px; padding: 16px 14px; font-size: 15px; }
.gidsnav summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 12px; font-weight: 700; }
.gidsnav summary::-webkit-details-marker { display: none; }
.gidsnav summary::after { content: "–"; font-weight: 700; color: var(--accent-text); }
.gidsnav:not([open]) summary::after { content: "+"; }
.gidsnav .groep { margin-top: 14px; }
.gidsnav .groep p { font-family: var(--display); font-size: 14px; font-weight: 700; color: var(--ink-soft); margin: 0 0 6px 8px; }
.gidsnav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.gidsnav a { display: block; padding: 6px 8px; border-radius: 8px; color: var(--ink); text-decoration: none; line-height: 1.35; }
.gidsnav a:hover { background: color-mix(in srgb, var(--clay) 10%, transparent); }
.gidsnav a[aria-current="page"] { background: var(--card); color: var(--accent-text); font-weight: 700; }
@media (max-width: 900px) {
  .gids { grid-template-columns: minmax(0, 1fr); gap: 40px; padding-block: 36px 56px; }
  .gidsnav { order: 2; position: static; max-height: none; }
}

.intro { display: grid; grid-template-columns: minmax(0, 1fr) 210px; gap: 36px; align-items: start; }
.intro h2 { margin-top: 0; }
.intro p + h2 { margin-top: 30px; }
.waar { padding: 14px 16px; background: var(--sand); border-left: 4px solid var(--clay); border-radius: 4px 10px 10px 4px; font-weight: 600; }
.scherm { margin: 0; background: #0B0A1C; padding: 7px; border-radius: 30px; box-shadow: 0 20px 44px rgba(40,28,16,0.18); }
.scherm img { width: 100%; height: auto; border-radius: 24px; }
@media (max-width: 720px) { .intro { grid-template-columns: minmax(0, 1fr); gap: 28px; } .scherm { max-width: 220px; } }

.stappen { list-style: none; margin: 0; padding: 0; counter-reset: stap; display: grid; gap: 12px; }
.stappen li { counter-increment: stap; display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 16px; padding: 20px 22px; background: var(--sand); border-radius: 12px; }
.stappen li::before { content: counter(stap); grid-row: span 2; width: 44px; height: 44px; display: grid; place-items: center; color: var(--accent-text); font-family: var(--display); font-weight: 800; font-size: 34px; line-height: 1; }
.stappen h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; align-self: center; }
.stappen p { margin-top: 4px; color: var(--ink-soft); }
@media (max-width: 460px) { .stappen li { grid-template-columns: 36px minmax(0, 1fr); column-gap: 12px; padding: 16px; } .stappen li::before { width: 36px; height: 36px; font-size: 28px; } }

/* Rekenvoorbeelden en tabel (gids "Dagwaarde berekenen"): lijnen, geen kaarten */
.reken { list-style: none; margin: 0; padding: 0; border-bottom: 2px solid var(--ink); }
.reken li { border-top: 2px solid var(--ink); padding: 14px 0; display: flex; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; }
.reken span { font-variant-numeric: tabular-nums; color: var(--ink-soft); }
.tabel { width: 100%; border-collapse: collapse; margin-top: 12px; font-variant-numeric: tabular-nums; }
.tabel th, .tabel td { text-align: left; padding: 10px 12px 10px 0; border-top: 1px solid var(--line); font-weight: 400; }
.tabel thead th { border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); font-family: var(--display); font-weight: 700; font-size: 15px; }
.tabel td, .tabel thead th + th { text-align: right; padding-right: 0; padding-left: 16px; white-space: nowrap; }
.tabel tbody tr:last-child th, .tabel tbody tr:last-child td { border-bottom: 2px solid var(--ink); }
.extra p { color: var(--ink-soft); }
.tips { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.tips li { display: flex; gap: 12px; align-items: baseline; }
.tips li::before { content: "✓"; flex: none; color: var(--ok); font-weight: 700; }
.vragen { display: grid; gap: 0; border-bottom: 2px solid var(--ink); }
.vragen details { border-top: 2px solid var(--ink); padding: 18px 0; }
.vragen summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.vragen summary::-webkit-details-marker { display: none; }
.vragen summary::after { content: "+"; font-weight: 700; font-size: 22px; line-height: 1; color: var(--accent-text); }
.vragen details[open] summary::after { content: "–"; }
.vragen details p { margin-top: 10px; color: var(--ink-soft); }
.verwant { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.verwant a { color: var(--accent-text); font-weight: 700; text-underline-offset: 3px; }
.melden { margin-top: 40px; font-size: 15px; }
.bladeren { margin-top: 24px; padding-top: 20px; border-top: 2px solid var(--ink); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.bladeren a { display: grid; gap: 2px; text-decoration: none; font-weight: 600; max-width: 100%; }
.bladeren a small { font-size: 14px; color: var(--ink-soft); font-weight: 400; }
.bladeren .volgende { margin-left: auto; text-align: right; }

/* ── Lijst van alle gidsen ── */
.lijst { padding-block: 48px 72px; }
.groep + .groep { margin-top: 44px; }
.groep-kop { font-family: var(--display); font-size: 22px; font-weight: 800; color: var(--ink); margin: 0 0 14px; }
.tegels { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.tegel { height: 100%; display: grid; gap: 8px; align-content: start; padding: 24px; background: var(--sand); border-radius: 12px; color: var(--ink); text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
.tegel:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(40,28,16,0.14); }
.tegel__kop { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 6px; }
.tegel .ic svg { width: 28px; height: 28px; }
.tegel__naam { font-family: var(--display); font-weight: 800; font-size: 20px; line-height: 1.15; letter-spacing: -0.01em; }
.tegel__regel { color: var(--ink-soft); font-size: 15px; line-height: 1.45; }
.tegel__lees { color: var(--accent-text); font-weight: 600; font-size: 15px; margin-top: 4px; }
@media (prefers-reduced-motion: reduce) { .tegel { transition: none; } .tegel:hover { transform: none; } }

/* ── Downloaden ── */
.slot { background: var(--night); color: #fff; padding-block: 56px; text-align: center; }
.slot h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; }
.slot p { margin-top: 10px; color: rgba(255,255,255,0.75); }
.stores { display: flex; justify-content: center; margin-top: 24px; }
.store { display: inline-flex; align-items: center; gap: 10px; min-width: 168px; padding: 9px 18px 9px 14px; border-radius: 12px; text-decoration: none; background: #000; color: #fff; border: 1px solid rgba(255,255,255,0.28); transition: transform .15s ease, border-color .15s ease; }
.store:hover { transform: translateY(-1px); border-color: rgba(255,255,255,0.5); }
.store .logo { width: 22px; height: 26px; flex: none; }
.store span { display: grid; line-height: 1.05; text-align: left; }
.store small { font-size: 11px; font-weight: 500; letter-spacing: .01em; opacity: .85; }
.store b { font-size: 19px; font-weight: 600; letter-spacing: -.01em; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }

/* ── Footer (zoals de startpagina) ── */
footer { border-top: 1px solid var(--line); padding-block: 28px; font-size: 14px; color: var(--ink-soft); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
footer a { color: var(--ink-soft); }
