/* ==========================================================================
   GezonderLeven.cc — designsysteem
   Kleuren afgeleid van het logo: bosgroen #426C36, crème #F9F3E8, salie #9AAE8C
   ========================================================================== */

:root {
  --forest: #426c36;
  --forest-600: #3a5f30;
  --forest-700: #2f4f27;
  --forest-900: #1d3318;
  --cream: #f9f3e8;
  --cream-2: #f2e9d7;
  --paper: #fffdf8;
  --sage: #9aae8c;
  --sage-100: #e7eedf;
  --ink: #1f2b1b;
  --muted: #586654;
  --line: #e4dccb;

  /* categorie-accenten: basis, tint, donker (tekst) */
  --apricot: #f2a65a;  --apricot-t: #fdecd9; --apricot-d: #9c4f14;
  --sun: #f2c14e;      --sun-t: #fdf3d2;     --sun-d: #7d5d07;
  --water: #4e9dc4;    --water-t: #ddeef7;   --water-d: #1c5f82;
  --coral: #e07a5f;    --coral-t: #fbe4dd;   --coral-d: #a1402a;
  --lavender: #9a8bc9; --lavender-t: #ece8f7;--lavender-d: #574692;
  --salie: #7fa36b;    --salie-t: #e3eedc;   --salie-d: #45683a;
  --matcha: #9bbf4d;   --matcha-t: #eef5dd;  --matcha-d: #55731a;

  --accent: var(--forest);
  --accent-t: var(--sage-100);
  --accent-d: var(--forest-700);

  --f-display: "Fredoka", "Nunito Sans", system-ui, sans-serif;
  --f-body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-serif: "Fraunces", Georgia, "Times New Roman", serif;

  --r-sm: 10px;
  --r: 18px;
  --r-lg: 28px;
  --r-xl: 40px;
  --shadow-sm: 0 1px 2px rgba(31,43,27,.06), 0 2px 8px rgba(31,43,27,.05);
  --shadow: 0 2px 6px rgba(31,43,27,.06), 0 12px 32px rgba(31,43,27,.08);
  --shadow-lg: 0 20px 60px rgba(31,43,27,.16);

  --wrap: 1200px;
  --wrap-wide: 1320px;
  --measure: 720px;
  --gutter: clamp(18px, 4vw, 40px);
}

.theme-voeding      { --accent: var(--apricot);  --accent-t: var(--apricot-t);  --accent-d: var(--apricot-d); }
.theme-supplementen { --accent: var(--sun);      --accent-t: var(--sun-t);      --accent-d: var(--sun-d); }
.theme-drinken      { --accent: var(--water);    --accent-t: var(--water-t);    --accent-d: var(--water-d); }
.theme-beweging     { --accent: var(--coral);    --accent-t: var(--coral-t);    --accent-d: var(--coral-d); }
.theme-balans       { --accent: var(--lavender); --accent-t: var(--lavender-t); --accent-d: var(--lavender-d); }
.theme-leefstijl    { --accent: var(--salie);    --accent-t: var(--salie-t);    --accent-d: var(--salie-d); }
.theme-tools        { --accent: var(--matcha);   --accent-t: var(--matcha-t);   --accent-d: var(--matcha-d); }
.theme-site         { --accent: var(--forest);   --accent-t: var(--sage-100);   --accent-d: var(--forest-700); }

/* ---------- reset & basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: var(--f-body); font-size: 1.0625rem; line-height: 1.7;
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 600; line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .5em; color: var(--forest-900); }
h1 { font-size: clamp(2.2rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.65rem, 3.2vw, 2.4rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1.15em; }
.icon { flex-shrink: 0; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--forest); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); text-decoration: none; font-weight: 700; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.wrap-wide { width: min(100% - 2 * var(--gutter), var(--wrap-wide)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2 * var(--gutter), var(--measure)); margin-inline: auto; }

/* ---------- knoppen & chips ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em; padding: .85em 1.4em; border-radius: 999px;
  background: var(--forest); color: #fff; font-weight: 800; text-decoration: none; border: 2px solid var(--forest);
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease; line-height: 1.2; font-size: 1rem;
}
.btn:hover { transform: translateY(-2px); background: var(--forest-700); box-shadow: var(--shadow); }
.btn .icon { width: 18px; height: 18px; transition: transform .2s ease; }
.btn:hover .icon { transform: translateX(3px); }
.btn--ghost { background: transparent; color: var(--forest-900); border-color: currentColor; }
.btn--ghost:hover { background: var(--forest-900); color: var(--cream); }
.btn--light { background: var(--cream); color: var(--forest-900); border-color: var(--cream); }
.btn--light:hover { background: #fff; }
.chip {
  display: inline-flex; align-items: center; gap: .45em; padding: .35em .85em; border-radius: 999px;
  background: var(--accent-t); color: var(--accent-d); font-weight: 800; font-size: .8rem; letter-spacing: .04em;
  text-transform: uppercase; text-decoration: none;
}
.chip .icon { width: 15px; height: 15px; }
.kicker { font-family: var(--f-body); font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; color: var(--accent-d); margin-bottom: .8em; display: block; }

/* ==========================================================================
   Header
   ========================================================================== */
.topbar { background: var(--forest-900); color: var(--cream); font-size: .82rem; text-align: center; padding: 7px var(--gutter); letter-spacing: .02em; }
.topbar span { opacity: .9; }
.topbar b { color: var(--sun); font-weight: 800; }

.site-header { background: var(--cream); position: relative; z-index: 50; }
.brand-row { display: flex; justify-content: center; padding: 18px 0 8px; }
.brand { display: block; width: 210px; aspect-ratio: 16 / 10; transition: transform .3s ease; }
.brand:hover { transform: rotate(-2deg) scale(1.02); }
.brand img { width: 100%; height: 100%; object-fit: contain; }

.nav-bar { position: sticky; top: 0; z-index: 60; background: rgba(249, 243, 232, .92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-block: 1px solid var(--line); transition: box-shadow .25s ease; }
.nav-bar.is-stuck { box-shadow: 0 8px 24px rgba(31,43,27,.08); }
.nav { display: flex; align-items: center; justify-content: center; gap: 6px; height: 62px; position: relative; }
.nav-mini-logo { position: absolute; left: 0; top: 50%; width: 72px; aspect-ratio: 16/10; transform: translateY(-50%) scale(.6); opacity: 0; pointer-events: none; transition: all .3s ease; }
.nav-bar.is-stuck .nav-mini-logo { opacity: 1; transform: translateY(-50%) scale(1); pointer-events: auto; }
.nav-list { list-style: none; display: flex; align-items: center; justify-content: center; gap: 2px; margin: 0; padding: 0; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 4px; padding: 9px 13px; border-radius: 999px; text-decoration: none;
  font-weight: 800; font-size: .93rem; color: var(--forest-900); background: none; border: 0; white-space: nowrap;
  transition: background .2s ease, color .2s ease;
}
.nav-link .icon { width: 15px; height: 15px; transition: transform .25s ease; opacity: .7; }
.nav-link:hover, .nav-item.is-open > .nav-link, .nav-item:focus-within > .nav-link { background: var(--sage-100); }
.nav-link[aria-current="page"], .nav-item.is-current > .nav-link { background: var(--forest); color: var(--cream); }
.nav-item.is-open > .nav-link .icon { transform: rotate(180deg); }
.nav-search { position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--forest); color: var(--cream); display: grid; place-items: center; transition: transform .2s ease; }
.nav-search:hover { transform: translateY(-50%) scale(1.07); }
.nav-search .icon { width: 19px; height: 19px; }

.dropdown {
  position: absolute; top: calc(100% + 12px); left: 50%; width: min(620px, 92vw); transform: translate(-50%, 8px);
  background: var(--paper); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  padding: 22px; opacity: 0; visibility: hidden; transition: opacity .2s ease, transform .2s ease, visibility .2s; z-index: 80;
}
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav-item.is-open > .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
@media (hover: hover) { .nav-item:hover > .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); } .nav-item:hover > .nav-link .icon { transform: rotate(180deg); } }
.nav-item.dd-left .dropdown { left: 0; transform: translate(0, 8px); }
.nav-item.dd-right .dropdown { left: auto; right: 0; transform: translate(0, 8px); }
.nav-item.dd-left.is-open .dropdown, .nav-item.dd-right.is-open .dropdown { transform: translate(0,0); }
@media (hover: hover) { .nav-item.dd-left:hover .dropdown, .nav-item.dd-right:hover .dropdown { transform: translate(0,0); } }
.dd-head { display: flex; align-items: center; gap: 14px; padding: 4px 6px 16px; margin-bottom: 10px; border-bottom: 1px dashed var(--line); }
.dd-icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-t); color: var(--accent-d); flex-shrink: 0; }
.dd-icon .icon { width: 24px; height: 24px; }
.dd-head strong { font-family: var(--f-display); font-size: 1.2rem; font-weight: 600; color: var(--forest-900); display: block; line-height: 1.2; }
.dd-head p { margin: 2px 0 0; font-size: .86rem; color: var(--muted); line-height: 1.4; }
.dd-head .dd-all { margin-left: auto; font-size: .82rem; font-weight: 800; color: var(--accent-d); text-decoration: none; white-space: nowrap; display: inline-flex; gap: 4px; align-items: center; }
.dd-head .dd-all .icon { width: 15px; height: 15px; }
.dd-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 2px 10px; }
.dd-grid a { display: flex; align-items: center; gap: 9px; padding: 7px 10px; border-radius: 10px; text-decoration: none; font-size: .92rem; font-weight: 700; line-height: 1.3; color: var(--ink); transition: background .15s ease; }
.dd-grid a::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex-shrink: 0; transition: transform .2s ease; }
.dd-grid a:hover { background: var(--accent-t); }
.dd-grid a:hover::before { transform: scale(1.5); }
.dd-grid a[aria-current="page"] { background: var(--accent-t); color: var(--accent-d); }

.burger { display: none; }

/* mobiele navigatie */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(29, 51, 24, .45); opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s; z-index: 90; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 90vw); background: var(--cream); z-index: 100; transform: translateX(100%); transition: transform .32s cubic-bezier(.2,.8,.2,1); overflow-y: auto; padding: 18px 20px 40px; box-shadow: var(--shadow-lg); }
body.drawer-open { overflow: hidden; }
body.drawer-open .drawer { transform: none; }
body.drawer-open .drawer-backdrop { opacity: 1; visibility: visible; }
.drawer-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.drawer-top img { width: 96px; aspect-ratio: 16/10; }
.drawer-close { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--forest); color: var(--cream); display: grid; place-items: center; }
.drawer ul { list-style: none; margin: 0; padding: 0; }
.drawer > nav > ul > li { border-bottom: 1px solid var(--line); }
.drawer .m-link, .drawer summary { display: flex; align-items: center; gap: 12px; padding: 14px 4px; font-weight: 800; font-size: 1.08rem; text-decoration: none; color: var(--forest-900); cursor: pointer; list-style: none; }
.drawer summary::-webkit-details-marker { display: none; }
.drawer summary .m-ic, .drawer .m-link .m-ic { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: var(--accent-t); color: var(--accent-d); }
.drawer .m-ic .icon { width: 19px; height: 19px; }
.drawer summary .chev { margin-left: auto; transition: transform .25s ease; width: 20px; height: 20px; }
.drawer details[open] summary .chev { transform: rotate(180deg); }
.drawer details ul { padding: 0 0 14px 48px; }
.drawer details a { display: block; padding: 7px 0; text-decoration: none; font-weight: 600; color: var(--ink); }
.drawer details a.all { color: var(--accent-d); font-weight: 800; }
.drawer-mail { margin-top: 24px; display: flex; gap: 10px; align-items: center; font-weight: 800; color: var(--forest); text-decoration: none; }

@media (max-width: 1080px) {
  .nav-link { padding: 9px 9px; font-size: .88rem; }
  .nav-search { width: 38px; height: 38px; }
}
@media (max-width: 960px) {
  .topbar { font-size: .75rem; }
  .brand-row { padding: 10px 0; }
  .brand { width: 128px; }
  .nav-bar { display: none; }
  .site-header { position: sticky; top: 0; z-index: 60; border-bottom: 1px solid var(--line); background: rgba(249,243,232,.95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
  .burger, .m-search { display: grid; place-items: center; position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--forest); color: var(--cream); }
  .burger { right: var(--gutter); }
  .m-search { left: var(--gutter); background: var(--sage-100); color: var(--forest-900); }
  .brand-row { position: relative; }
}
@media (min-width: 961px) { .m-search { display: none; } .drawer, .drawer-backdrop { display: none; } }

/* leesvoortgang */
.progress { position: fixed; top: 0; left: 0; height: 4px; width: 0; background: linear-gradient(90deg, var(--accent), var(--forest)); z-index: 120; transition: width .1s linear; }

/* ==========================================================================
   Zoeken (overlay)
   ========================================================================== */
.search-overlay { position: fixed; inset: 0; z-index: 150; background: rgba(29,51,24,.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); display: none; padding: 9vh var(--gutter) 40px; overflow-y: auto; }
.search-overlay.is-open { display: block; animation: fadeIn .2s ease; }
.search-panel { max-width: 720px; margin: 0 auto; background: var(--paper); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 20px; }
.search-field { display: flex; align-items: center; gap: 12px; background: var(--cream); border-radius: 999px; padding: 6px 8px 6px 20px; border: 2px solid var(--line); }
.search-field:focus-within { border-color: var(--forest); }
.search-field input { flex: 1; border: 0; background: none; font: inherit; font-size: 1.15rem; padding: 10px 0; color: var(--ink); min-width: 0; }
.search-field input:focus { outline: none; }
.search-field .icon { color: var(--muted); }
.search-close { border: 0; background: var(--forest); color: var(--cream); border-radius: 50%; width: 40px; height: 40px; display: grid; place-items: center; flex-shrink: 0; }
.search-results { list-style: none; margin: 14px 0 0; padding: 0; max-height: 60vh; overflow-y: auto; }
.search-results a { display: flex; gap: 14px; align-items: flex-start; padding: 12px; border-radius: 14px; text-decoration: none; }
.search-results a:hover, .search-results a.is-active { background: var(--cream); }
.search-results .sr-dot { width: 38px; height: 38px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center; background: var(--accent-t); color: var(--accent-d); }
.search-results .sr-dot .icon { width: 19px; height: 19px; }
.search-results strong { display: block; font-family: var(--f-display); font-weight: 600; color: var(--forest-900); font-size: 1.05rem; line-height: 1.3; }
.search-results span { font-size: .9rem; color: var(--muted); line-height: 1.4; display: block; }
.search-hint { font-size: .88rem; color: var(--muted); margin: 14px 6px 4px; }
.search-empty { padding: 18px 8px; color: var(--muted); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ==========================================================================
   Paginakop (artikels & vaste pagina's)
   ========================================================================== */
.crumbs { font-size: .86rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 18px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.crumbs li { display: inline-flex; align-items: center; gap: 6px; }
.crumbs li + li::before { content: "/"; opacity: .5; }
.crumbs a { text-decoration: none; font-weight: 700; color: var(--forest); }
.crumbs a:hover { text-decoration: underline; }

.page-hero { padding: clamp(36px, 6vw, 72px) 0 clamp(24px, 4vw, 40px); position: relative; overflow: hidden; }
.page-hero .lead { font-size: clamp(1.1rem, 1.8vw, 1.32rem); line-height: 1.6; color: var(--muted); max-width: 680px; }
.page-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .88rem; color: var(--muted); margin-top: 22px; align-items: center; }
.page-meta span { display: inline-flex; align-items: center; gap: 6px; }
.page-meta .icon { width: 16px; height: 16px; color: var(--accent-d); }
.page-meta .avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--forest); color: var(--cream); display: grid; place-items: center; font-family: var(--f-display); font-weight: 600; font-size: .9rem; }

/* variant: gecentreerd */
.hero--center { text-align: center; }
.hero--center .crumbs, .hero--center .crumbs ol, .hero--center .page-meta { justify-content: center; }
.hero--center .lead { margin-inline: auto; }
/* variant: gekleurde band */
.hero--band { background: var(--accent-t); border-radius: 0 0 var(--r-xl) var(--r-xl); margin-bottom: clamp(28px, 5vw, 56px); }
.hero--band::after { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: var(--accent); opacity: .18; right: -120px; top: -160px; }
.hero--band h1 { color: var(--forest-900); }
/* variant: groot donker */
.hero--dark { background: var(--forest-900); color: var(--cream); border-radius: 0 0 var(--r-xl) var(--r-xl); margin-bottom: clamp(28px, 5vw, 56px); }
.hero--dark h1, .hero--dark .crumbs a { color: var(--cream); }
.hero--dark .lead, .hero--dark .page-meta, .hero--dark .crumbs { color: rgba(249,243,232,.78); }
.hero--dark .kicker { color: var(--accent); }
.hero--dark .page-meta .icon { color: var(--accent); }
.hero--dark::before { content: ""; position: absolute; inset: auto -10% -60% auto; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, var(--accent) 0%, transparent 65%); opacity: .25; }
/* variant: gesplitst */
.hero--split .hero-split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 5vw, 64px); align-items: end; }
.hero--split .hero-aside { background: var(--accent-t); border-radius: var(--r-lg); padding: 26px 28px; position: relative; }
.hero--split .hero-aside h2 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: .08em; font-family: var(--f-body); font-weight: 800; color: var(--accent-d); margin-bottom: .8em; }
.hero--split .hero-aside ul { margin: 0; padding: 0; list-style: none; }
.hero--split .hero-aside li { display: flex; gap: 10px; padding: 6px 0; font-weight: 700; line-height: 1.45; }
.hero--split .hero-aside li .icon { width: 20px; height: 20px; color: var(--accent-d); margin-top: 3px; }
@media (max-width: 860px) { .hero--split .hero-split { grid-template-columns: 1fr; } }

/* grote afbeelding over de volle breedte van het contentgedeelte */
.hero-figure { margin: 0 auto clamp(32px, 5vw, 64px); }
.hero-figure .frame { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--cream-2); aspect-ratio: 16 / 9; box-shadow: var(--shadow); }
.hero-figure img { width: 100%; height: 100%; object-fit: cover; }
.hero-figure figcaption { font-size: .84rem; color: var(--muted); margin-top: 10px; text-align: center; }
.hero-figure .badge { position: absolute; left: 22px; bottom: 22px; background: var(--paper); border-radius: 999px; padding: 10px 18px 10px 10px; display: flex; gap: 10px; align-items: center; font-weight: 800; font-size: .92rem; box-shadow: var(--shadow); }
.hero-figure .badge i { width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-style: normal; }
.hero-figure .badge .icon { width: 18px; height: 18px; }

/* ==========================================================================
   Artikelraster met uitbraakzones
   ========================================================================== */
.article { padding-bottom: clamp(40px, 6vw, 80px); }
.article-grid {
  display: grid;
  grid-template-columns:
    [full-start] minmax(var(--gutter), 1fr)
    [wide-start] minmax(0, calc((var(--wrap) - var(--measure)) / 2))
    [content-start] min(100% - 2 * var(--gutter), var(--measure)) [content-end]
    minmax(0, calc((var(--wrap) - var(--measure)) / 2)) [wide-end]
    minmax(var(--gutter), 1fr) [full-end];
}
.article-grid > * { grid-column: content; }
.article-grid > .bleed-wide { grid-column: wide; }
.article-grid > .bleed-full { grid-column: full; }

/* layout met inhoudstafel in zijbalk */
.with-toc { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.with-toc .article-grid { grid-template-columns: [full-start wide-start content-start] minmax(0, 1fr) [content-end wide-end full-end]; }
.toc { position: sticky; top: 92px; background: var(--paper); border-radius: var(--r); padding: 20px; border: 1px solid var(--line); font-size: .9rem; }
.toc strong { display: block; font-family: var(--f-display); font-weight: 600; margin-bottom: 10px; color: var(--forest-900); }
.toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { display: flex; gap: 10px; padding: 6px 8px; border-radius: 8px; text-decoration: none; color: var(--muted); font-weight: 700; line-height: 1.35; }
.toc a::before { content: counter(toc, decimal-leading-zero); color: var(--accent-d); font-variant-numeric: tabular-nums; }
.toc a:hover, .toc a.is-active { background: var(--accent-t); color: var(--forest-900); }
@media (max-width: 960px) { .with-toc { grid-template-columns: 1fr; } .toc { position: static; } }

/* ---------- typografie in de tekst ---------- */
.prose { font-size: 1.08rem; }
.prose > * + h2 { margin-top: 1.9em; }
.prose > * + h3 { margin-top: 1.5em; }
.prose h2 { position: relative; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--accent-d); font-weight: 800; }
.prose strong { color: var(--forest-900); }
.prose a:not(.nav-card):not(.btn), a.inline {
  color: var(--forest-900); font-weight: 700; text-decoration: none;
  background-image: linear-gradient(var(--accent-t), var(--accent-t)), linear-gradient(var(--accent), var(--accent));
  background-size: 100% 0, 100% 2px; background-position: 0 100%, 0 100%; background-repeat: no-repeat;
  transition: background-size .25s ease; padding: 0 1px;
}
.prose a:not(.nav-card):not(.btn):hover, a.inline:hover { background-size: 100% 100%, 100% 2px; }
.prose a[href^="http"]::after, a.inline[href^="http"]::after {
  content: ""; display: inline-block; width: .72em; height: .72em; margin-left: .22em; vertical-align: .02em;
  background: currentColor; opacity: .65;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M8 7h9v9'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M8 7h9v9'/%3E%3C/svg%3E") center / contain no-repeat;
}
.prose a[href^="mailto"]::after { display: none; }
.lead-p { font-size: 1.25rem; line-height: 1.65; color: var(--forest-900); font-weight: 600; }
.dropcap::first-letter { float: left; font-family: var(--f-serif); font-weight: 500; font-size: 4.4em; line-height: .82; margin: .06em .12em 0 0; color: var(--accent-d); }
.prose hr { border: 0; height: 24px; margin: 2.4em 0; background: radial-gradient(circle, var(--accent) 3px, transparent 4px) center / 24px 24px repeat-x; max-width: 96px; margin-inline: auto; }

/* ==========================================================================
   Contentblokken
   ========================================================================== */
.callout { border-radius: var(--r); padding: 22px 24px 22px 76px; position: relative; margin: 1.8em 0; background: var(--accent-t); }
.callout .c-ic { position: absolute; left: 20px; top: 22px; width: 40px; height: 40px; border-radius: 12px; background: var(--accent); color: #fff; display: grid; place-items: center; }
.callout .c-ic .icon { width: 21px; height: 21px; }
.callout h4 { font-size: 1.08rem; margin-bottom: .3em; }
.callout p:last-child, .callout ul:last-child { margin-bottom: 0; }
.callout--warn { background: var(--sun-t); } .callout--warn .c-ic { background: var(--sun-d); }
.callout--fact { background: var(--water-t); } .callout--fact .c-ic { background: var(--water-d); }
.callout--forest { background: var(--forest); color: var(--cream); } .callout--forest h4, .callout--forest strong { color: #fff; } .callout--forest .c-ic { background: var(--cream); color: var(--forest); }

.pullquote { margin: 2.4em 0; padding: 0; position: relative; }
.pullquote blockquote { margin: 0; font-family: var(--f-serif); font-style: italic; font-weight: 400; font-size: clamp(1.5rem, 3vw, 2.15rem); line-height: 1.3; color: var(--forest-900); padding-left: 1.1em; border-left: 6px solid var(--accent); }
.pullquote figcaption { margin-top: 14px; padding-left: calc(1.1em + 6px); font-size: .92rem; font-weight: 800; color: var(--accent-d); }
.quote-band { background: var(--forest); color: var(--cream); padding: clamp(48px, 8vw, 100px) var(--gutter); text-align: center; position: relative; overflow: hidden; margin: clamp(32px, 6vw, 72px) 0; }
.quote-band::before { content: "\201C"; position: absolute; font-family: var(--f-serif); font-size: 26rem; line-height: 1; top: -.15em; left: 50%; transform: translateX(-50%); color: rgba(249,243,232,.07); pointer-events: none; }
.quote-band blockquote { margin: 0 auto; max-width: 900px; font-family: var(--f-serif); font-style: italic; font-size: clamp(1.7rem, 4vw, 3rem); line-height: 1.22; position: relative; }
.quote-band figcaption { margin-top: 22px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: .82rem; color: var(--sun); position: relative; }
.quote-band figcaption a { color: inherit; }
.quote-band.is-accent { background: var(--accent); color: var(--forest-900); }
.quote-band.is-accent figcaption { color: var(--forest-900); }

.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin: 2em 0; }
.stat { background: var(--paper); border-radius: var(--r); padding: 24px; border: 1px solid var(--line); position: relative; overflow: hidden; }
.stat::after { content: ""; position: absolute; right: -30px; bottom: -30px; width: 100px; height: 100px; border-radius: 50%; background: var(--accent-t); }
.stat b { display: block; font-family: var(--f-display); font-weight: 600; font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1; color: var(--accent-d); margin-bottom: 8px; position: relative; z-index: 1; }
.stat span { font-size: .95rem; line-height: 1.45; display: block; position: relative; z-index: 1; }
.stat small { display: block; margin-top: 10px; font-size: .78rem; color: var(--muted); position: relative; z-index: 1; }

.icon-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 2em 0; }
.icon-card { background: var(--paper); border-radius: var(--r); padding: 24px; border: 1px solid var(--line); transition: transform .25s ease, box-shadow .25s ease; }
.icon-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.icon-card .ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--accent-t); color: var(--accent-d); margin-bottom: 14px; }
.icon-card .ic .icon { width: 26px; height: 26px; }
.icon-card h3, .icon-card h4 { font-size: 1.15rem; margin-bottom: .35em; }
.icon-card p { font-size: .96rem; margin: 0; color: var(--muted); }

.steps { list-style: none; padding: 0; margin: 2em 0; counter-reset: step; }
.steps > li { counter-increment: step; position: relative; padding: 0 0 26px 74px; margin: 0; }
.steps > li::before { content: counter(step); position: absolute; left: 0; top: -4px; width: 50px; height: 50px; border-radius: 50%; background: var(--accent); color: #fff; font-family: var(--f-display); font-weight: 600; font-size: 1.3rem; display: grid; place-items: center; }
.steps > li::after { content: ""; position: absolute; left: 24px; top: 52px; bottom: 4px; width: 2px; background: repeating-linear-gradient(var(--accent) 0 6px, transparent 6px 12px); }
.steps > li:last-child::after { display: none; }
.steps h4 { margin-bottom: .25em; font-size: 1.15rem; }
.steps p { margin: 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: var(--r-lg); overflow: hidden; margin: 2.2em 0; background: var(--paper); border: 1px solid var(--line); }
.split > div { padding: clamp(22px, 3vw, 36px); }
.split > div:first-child { background: var(--accent-t); }
.split h3 { display: flex; gap: 10px; align-items: center; }
.split h3 .icon { width: 24px; height: 24px; color: var(--accent-d); }
.split ul { margin: 0; padding-left: 1.2em; }
@media (max-width: 720px) { .split { grid-template-columns: 1fr; } }

.table-wrap { overflow-x: auto; margin: 2em 0; border-radius: var(--r); border: 1px solid var(--line); background: var(--paper); }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: .96rem; min-width: 520px; }
.table-wrap th, .table-wrap td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table-wrap thead th { background: var(--forest); color: var(--cream); font-family: var(--f-display); font-weight: 500; font-size: 1rem; }
.table-wrap tbody tr:nth-child(even) { background: rgba(242,233,215,.45); }
.table-wrap tbody tr:last-child td { border-bottom: 0; }

.takeaways { background: var(--forest-900); color: var(--cream); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 40px); margin: 2.2em 0; position: relative; overflow: hidden; }
.takeaways::after { content: ""; position: absolute; width: 220px; height: 220px; right: -60px; top: -60px; border-radius: 50%; background: var(--accent); opacity: .22; }
.takeaways h2, .takeaways h3 { color: #fff; font-size: 1.5rem; }
.takeaways ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; position: relative; z-index: 1; }
.takeaways li { display: flex; gap: 12px; line-height: 1.5; }
.takeaways li .icon { width: 22px; height: 22px; color: var(--accent); margin-top: 2px; }

.checklist { list-style: none; padding: 0; margin: 2em 0; display: grid; gap: 10px; }
.checklist button { width: 100%; display: flex; gap: 14px; align-items: center; text-align: left; padding: 14px 18px; border-radius: 14px; border: 2px solid var(--line); background: var(--paper); font-weight: 700; transition: all .2s ease; }
.checklist button .box { width: 26px; height: 26px; border-radius: 8px; border: 2px solid var(--accent); display: grid; place-items: center; flex-shrink: 0; color: #fff; transition: background .2s ease; }
.checklist button .box .icon { width: 17px; height: 17px; opacity: 0; transform: scale(.4); transition: all .2s ease; }
.checklist button[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-t); }
.checklist button[aria-pressed="true"] .box { background: var(--accent); }
.checklist button[aria-pressed="true"] .box .icon { opacity: 1; transform: none; }
.checklist-score { font-weight: 800; color: var(--accent-d); }

.flip-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 2em 0; }
.flip { perspective: 1200px; border: 0; padding: 0; background: none; min-height: 250px; text-align: left; display: block; width: 100%; }
.flip-inner { display: block; position: relative; width: 100%; height: 100%; min-height: 250px; transition: transform .6s cubic-bezier(.2,.8,.2,1); transform-style: preserve-3d; }
.flip[aria-pressed="true"] .flip-inner { transform: rotateY(180deg); }
.flip-face { position: absolute; inset: 0; border-radius: var(--r); padding: 24px; backface-visibility: hidden; -webkit-backface-visibility: hidden; display: flex; flex-direction: column; }
.flip-front { background: var(--paper); border: 2px dashed var(--line); }
.flip-back { background: var(--forest); color: var(--cream); transform: rotateY(180deg); }
.flip-face .tag { font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-d); margin-bottom: 10px; }
.flip-back .tag { color: var(--sun); }
.flip-face h4 { font-family: var(--f-serif); font-style: italic; font-weight: 500; font-size: 1.35rem; line-height: 1.3; }
.flip-back p { font-size: .96rem; margin: 0; }
.flip-face .hint { margin-top: auto; font-size: .84rem; font-weight: 800; color: var(--muted); display: flex; gap: 6px; align-items: center; }
.flip-face .hint .icon { width: 16px; height: 16px; }

.faq { margin: 2em 0; display: grid; gap: 10px; }
.faq details { background: var(--paper); border-radius: var(--r); border: 1px solid var(--line); overflow: hidden; }
.faq summary { padding: 18px 56px 18px 22px; font-family: var(--f-display); font-weight: 500; font-size: 1.12rem; color: var(--forest-900); cursor: pointer; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; background: var(--accent-t); color: var(--accent-d); display: grid; place-items: center; font-family: var(--f-body); font-weight: 800; transition: transform .25s ease; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq .faq-a { padding: 0 22px 18px; }
.faq .faq-a p:last-child { margin-bottom: 0; }

.sources { margin-top: 3em; padding: 26px 28px; background: var(--paper); border-radius: var(--r); border: 1px solid var(--line); }
.sources h2 { font-size: 1.25rem; display: flex; gap: 10px; align-items: center; }
.sources h2 .icon { width: 22px; height: 22px; color: var(--accent-d); }
.sources ol { margin: 0; padding-left: 1.3em; font-size: .93rem; }
.sources li { margin-bottom: .5em; }

/* kaarten (navigatie) */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.nav-card { display: flex; flex-direction: column; text-decoration: none; background: var(--paper); border-radius: var(--r-lg); padding: 24px; border: 1px solid var(--line); position: relative; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease, border-color .25s; min-height: 100%; }
.nav-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.nav-card .nc-ic { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; background: var(--accent-t); color: var(--accent-d); margin-bottom: 16px; }
.nav-card .nc-ic .icon { width: 25px; height: 25px; }
.nav-card h3 { font-size: 1.22rem; margin-bottom: .35em; }
.nav-card p { margin: 0 0 18px; color: var(--muted); font-size: .96rem; line-height: 1.5; }
.nav-card .more { margin-top: auto; display: inline-flex; gap: 6px; align-items: center; font-weight: 800; font-size: .9rem; color: var(--accent-d); }
.nav-card .more .icon { width: 17px; height: 17px; transition: transform .2s ease; }
.nav-card:hover .more .icon { transform: translateX(4px); }

/* tools / calculators */
.tool { background: var(--paper); border-radius: var(--r-lg); border: 1px solid var(--line); box-shadow: var(--shadow-sm); overflow: hidden; margin: 2em 0; }
.tool-head { background: var(--accent); color: var(--forest-900); padding: 18px 24px; display: flex; align-items: center; gap: 12px; }
.tool-head .icon { width: 26px; height: 26px; }
.tool-head h3 { margin: 0; font-size: 1.25rem; }
.tool-body { padding: 24px; display: grid; gap: 18px; }
.field label { display: block; font-weight: 800; font-size: .92rem; margin-bottom: 6px; }
.field input, .field select { width: 100%; font: inherit; padding: 12px 14px; border-radius: 12px; border: 2px solid var(--line); background: var(--cream); color: var(--ink); }
.field input:focus, .field select:focus { outline: none; border-color: var(--accent-d); }
.tool-result { background: var(--accent-t); border-radius: var(--r); padding: 20px; }
.tool-result .big { font-family: var(--f-display); font-weight: 600; font-size: 2.3rem; line-height: 1.1; color: var(--accent-d); }
.tool-note { font-size: .84rem; color: var(--muted); margin: 0; }

/* reveal-animatie */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ==========================================================================
   Homepage
   ========================================================================== */
.home-hero { padding: clamp(36px, 6vw, 80px) 0 0; position: relative; }
.home-hero .wrap { position: relative; }
.home-hero h1 { font-size: clamp(2.5rem, 6.4vw, 5.2rem); line-height: 1.02; max-width: 15ch; margin: 0 auto .35em; text-align: center; }
.home-hero h1 em { font-family: var(--f-serif); font-style: italic; font-weight: 500; color: var(--forest); position: relative; z-index: 0; }
.home-hero h1 em::after { content: ""; position: absolute; left: -2%; right: -2%; bottom: .04em; height: .22em; background: var(--sun); opacity: .7; z-index: -1; border-radius: 4px; transform: rotate(-1deg); }
.home-hero .intro { text-align: center; max-width: 640px; margin: 0 auto 28px; font-size: clamp(1.08rem, 1.7vw, 1.28rem); color: var(--muted); }
.home-hero .cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 26px; }
.trust { display: flex; gap: 10px 22px; justify-content: center; flex-wrap: wrap; list-style: none; padding: 0; margin: 0 0 clamp(32px, 5vw, 56px); font-size: .9rem; font-weight: 800; color: var(--forest); }
.trust li { display: inline-flex; gap: 7px; align-items: center; }
.trust .icon { width: 18px; height: 18px; color: var(--forest); background: var(--sage-100); border-radius: 50%; padding: 3px; }
.blob { position: absolute; border-radius: 50%; filter: blur(2px); z-index: -1; pointer-events: none; }
.blob--1 { width: 280px; height: 280px; background: var(--sun-t); left: -110px; top: 20px; }
.blob--2 { width: 200px; height: 200px; background: var(--water-t); right: -60px; top: 120px; }

.home-figure { position: relative; }
.home-figure .frame { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 16/9; box-shadow: var(--shadow-lg); background: var(--cream-2); }
.home-figure img { width: 100%; height: 100%; object-fit: cover; }
.float-badge { position: absolute; background: var(--paper); border-radius: 20px; padding: 14px 18px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 12px; max-width: 260px; animation: bob 6s ease-in-out infinite; }
.float-badge i { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-style: normal; flex-shrink: 0; }
.float-badge i .icon { width: 22px; height: 22px; }
.float-badge b { display: block; font-family: var(--f-display); font-weight: 600; font-size: 1.3rem; line-height: 1.1; color: var(--forest-900); }
.float-badge span { font-size: .8rem; color: var(--muted); line-height: 1.3; display: block; }
.float-badge--a { left: -24px; top: 12%; } .float-badge--a i { background: var(--apricot-t); color: var(--apricot-d); }
.float-badge--b { right: -24px; top: 42%; animation-delay: -2s; } .float-badge--b i { background: var(--coral-t); color: var(--coral-d); }
.float-badge--c { left: 8%; bottom: -26px; animation-delay: -4s; } .float-badge--c i { background: var(--lavender-t); color: var(--lavender-d); }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (max-width: 760px) { .float-badge { display: none; } .home-figure .frame { border-radius: var(--r-lg); } }

.home-search { margin: clamp(56px, 8vw, 96px) auto 0; max-width: 760px; text-align: center; }
.home-search h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.home-search .search-field { background: var(--paper); box-shadow: var(--shadow); border-color: transparent; }
.home-search .search-field button { border: 0; background: var(--forest); color: var(--cream); border-radius: 999px; padding: 12px 22px; font-weight: 800; }
.quick-tags { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 16px; }
.quick-tags a { text-decoration: none; padding: 7px 14px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-weight: 700; font-size: .88rem; transition: all .2s ease; }
.quick-tags a:hover { background: var(--forest); color: var(--cream); border-color: var(--forest); }

.section { padding: clamp(56px, 8vw, 110px) 0; position: relative; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 4vw, 44px); flex-wrap: wrap; }
.section-head h2 { margin: 0; max-width: 18ch; font-size: clamp(1.9rem, 4vw, 3rem); }
.section-head p { max-width: 440px; margin: 0; color: var(--muted); }

.cat-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.cat-card { grid-column: span 3; position: relative; border-radius: var(--r-lg); padding: 26px; min-height: 250px; display: flex; flex-direction: column; text-decoration: none; background: var(--accent-t); overflow: hidden; transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease; isolation: isolate; }
.cat-card:nth-child(1), .cat-card:nth-child(2) { grid-column: span 6; min-height: 290px; }
.cat-card:nth-child(7) { grid-column: span 12; min-height: 0; flex-direction: row; align-items: center; gap: 24px; }
.cat-card:nth-child(7) h3 { margin: 0 0 .2em; }
.cat-card:nth-child(7) .cc-ic { margin: 0; }
.cat-card:nth-child(7) .count { position: static; margin-left: auto; order: 5; }
.cat-card::after { content: ""; position: absolute; width: 180px; height: 180px; border-radius: 50%; background: var(--accent); opacity: .28; right: -50px; bottom: -60px; z-index: -1; transition: transform .5s ease; }
.cat-card:hover { transform: translateY(-6px) rotate(-.4deg); box-shadow: var(--shadow); }
.cat-card:hover::after { transform: scale(1.35); }
.cat-card .cc-ic { width: 58px; height: 58px; border-radius: 18px; background: var(--paper); color: var(--accent-d); display: grid; place-items: center; margin-bottom: auto; box-shadow: var(--shadow-sm); }
.cat-card .cc-ic .icon { width: 28px; height: 28px; }
.cat-card h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin: 22px 0 .3em; }
.cat-card p { margin: 0; color: var(--forest-900); opacity: .78; font-size: .97rem; line-height: 1.5; max-width: 36ch; }
.cat-card .count { position: absolute; top: 24px; right: 24px; font-size: .8rem; font-weight: 800; background: var(--paper); color: var(--accent-d); padding: 5px 12px; border-radius: 999px; }
@media (max-width: 1000px) { .cat-card, .cat-card:nth-child(n) { grid-column: span 6; min-height: 220px; } }
@media (max-width: 1000px) { .cat-card:nth-child(7) { grid-column: span 12; } }
@media (max-width: 600px) { .cat-card, .cat-card:nth-child(n) { grid-column: span 12; min-height: 0; } .cat-card:nth-child(7) { flex-direction: column; align-items: flex-start; } .cat-card:nth-child(7) .count { position: absolute; } .cat-card h3 { margin-top: 18px; } }

.pillars { background: var(--forest-900); color: var(--cream); border-radius: var(--r-xl); padding: clamp(32px, 6vw, 72px); position: relative; overflow: hidden; }
.pillars::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(154,174,140,.35), transparent 65%); right: -160px; top: -200px; }
.pillars .section-head h2 { color: #fff; }
.pillars .section-head p { color: rgba(249,243,232,.75); }
.pillar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; position: relative; }
.pillar { background: rgba(249,243,232,.06); border: 1px solid rgba(249,243,232,.14); border-radius: var(--r-lg); padding: 26px 22px; }
.pillar .num { font-family: var(--f-display); font-weight: 600; font-size: clamp(2.6rem, 5vw, 3.6rem); line-height: 1; color: var(--c, var(--sun)); }
.pillar .unit { font-family: var(--f-display); font-size: 1.1rem; color: var(--c, var(--sun)); margin-left: 4px; }
.pillar h3 { color: #fff; font-size: 1.15rem; margin: 14px 0 .4em; }
.pillar p { font-size: .93rem; color: rgba(249,243,232,.78); margin: 0 0 12px; line-height: 1.55; }
.pillar a.src { font-size: .78rem; font-weight: 800; color: rgba(249,243,232,.85); text-decoration: none; border-bottom: 1px solid rgba(249,243,232,.35); }
.pillar a.src:hover { color: #fff; border-color: #fff; }
@media (max-width: 1000px) { .pillar-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pillar-grid { grid-template-columns: 1fr; } }

.habits { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 2px 20px; scrollbar-width: thin; }
.habit { scroll-snap-align: start; background: var(--paper); border-radius: var(--r-lg); padding: 24px; border: 1px solid var(--line); text-decoration: none; display: flex; flex-direction: column; gap: 10px; transition: transform .25s ease, box-shadow .25s ease; }
.habit:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.habit .h-num { font-family: var(--f-serif); font-style: italic; font-size: 2.6rem; line-height: 1; color: var(--accent); }
.habit h3 { font-size: 1.15rem; margin: 0; }
.habit p { margin: 0; font-size: .93rem; color: var(--muted); line-height: 1.5; }
.habit .more { margin-top: auto; font-weight: 800; font-size: .86rem; color: var(--accent-d); display: inline-flex; gap: 6px; align-items: center; }
.habit .more .icon { width: 16px; height: 16px; }

.featured { display: grid; grid-template-columns: 1.3fr 1fr; gap: 18px; }
.feat { position: relative; border-radius: var(--r-lg); overflow: hidden; text-decoration: none; display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); transition: transform .25s ease, box-shadow .25s ease; }
.feat:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feat .f-img { aspect-ratio: 16/9; background: var(--accent-t); overflow: hidden; }
.feat .f-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.feat:hover .f-img img { transform: scale(1.05); }
.feat .f-body { padding: 22px 24px 24px; }
.feat h3 { font-size: 1.3rem; margin: 10px 0 .3em; }
.feat p { margin: 0; color: var(--muted); font-size: .95rem; }
.feat--big .f-img { flex: 1; aspect-ratio: auto; min-height: 260px; }
.feat--big h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.feat-stack { display: grid; gap: 18px; }
.feat-stack .feat { flex-direction: row; }
.feat-stack .f-img { width: 38%; aspect-ratio: auto; flex-shrink: 0; }
.feat-stack .f-body { padding: 18px 20px; }
.feat-stack h3 { font-size: 1.12rem; }
@media (max-width: 900px) { .featured { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .feat-stack .feat { flex-direction: column; } .feat-stack .f-img { width: 100%; aspect-ratio: 16/9; } }

.tool-teaser { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 60px); align-items: center; background: var(--matcha-t); border-radius: var(--r-xl); padding: clamp(28px, 5vw, 64px); }
.tool-teaser .tool { margin: 0; }
.tool-list { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tool-list a { display: inline-flex; gap: 6px; align-items: center; background: var(--paper); padding: 8px 14px; border-radius: 999px; text-decoration: none; font-weight: 800; font-size: .88rem; color: var(--matcha-d); border: 1px solid transparent; transition: border-color .2s ease; }
.tool-list a:hover { border-color: var(--matcha-d); }
.tool-list .icon { width: 15px; height: 15px; }
.bedtimes { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 10px; }
.bedtime { background: var(--paper); border-radius: 14px; padding: 12px; text-align: center; border: 2px solid transparent; }
.bedtime b { display: block; font-family: var(--f-display); font-weight: 600; font-size: 1.6rem; color: var(--forest-900); line-height: 1.1; }
.bedtime span { font-size: .78rem; color: var(--muted); font-weight: 700; }
.bedtime.best { border-color: var(--matcha-d); }
@media (max-width: 860px) { .tool-teaser { grid-template-columns: 1fr; } }

.about-teaser { display: grid; grid-template-columns: 280px 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.about-teaser .mascot { background: var(--paper); border-radius: 50%; aspect-ratio: 1; display: grid; place-items: center; box-shadow: var(--shadow); padding: 30px; }
.about-teaser .mascot img { width: 100%; aspect-ratio: 16/10; object-fit: contain; }
.principles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 22px 0 26px; list-style: none; padding: 0; }
.principles li { display: flex; gap: 10px; font-weight: 700; align-items: flex-start; line-height: 1.45; }
.principles .icon { width: 22px; height: 22px; color: var(--forest); flex-shrink: 0; margin-top: 1px; }
@media (max-width: 760px) { .about-teaser { grid-template-columns: 1fr; text-align: center; } .about-teaser .mascot { width: 200px; margin: 0 auto; } .principles { grid-template-columns: 1fr; text-align: left; } }

/* ==========================================================================
   Contact & vaste pagina's
   ========================================================================== */
.mail-card { margin-bottom: 2.4em; background: var(--forest); color: var(--cream); border-radius: var(--r-xl); padding: clamp(32px, 6vw, 64px); text-align: center; position: relative; overflow: hidden; }
.mail-card::before, .mail-card::after { content: ""; position: absolute; border-radius: 50%; background: rgba(249,243,232,.07); }
.mail-card::before { width: 300px; height: 300px; left: -80px; top: -120px; }
.mail-card::after { width: 220px; height: 220px; right: -50px; bottom: -90px; }
.mail-card .m-ic { width: 72px; height: 72px; border-radius: 22px; background: var(--cream); color: var(--forest); display: grid; place-items: center; margin: 0 auto 18px; }
.mail-card .m-ic .icon { width: 34px; height: 34px; }
.mail-card h2 { color: #fff; }
.mail-card a.mail { display: inline-block; font-family: var(--f-display); font-weight: 600; font-size: clamp(1.5rem, 4.4vw, 2.6rem); color: var(--sun); text-decoration: none; margin: 6px 0 18px; word-break: break-word; position: relative; }
.mail-card a.mail:hover { text-decoration: underline; text-underline-offset: 6px; }
.mail-card p { color: rgba(249,243,232,.8); max-width: 520px; margin: 0 auto 22px; position: relative; }
.copy-btn { position: relative; }

.legal-nav { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 30px; }
.legal-nav a { text-decoration: none; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); font-weight: 800; font-size: .88rem; background: var(--paper); }
.legal-nav a[aria-current="page"] { background: var(--forest); color: var(--cream); border-color: var(--forest); }
.updated { display: inline-flex; gap: 8px; align-items: center; font-size: .88rem; font-weight: 700; color: var(--muted); background: var(--paper); padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); }
.updated .icon { width: 16px; height: 16px; }

.e404 { text-align: center; padding: clamp(40px, 8vw, 100px) 0; }
.e404 .big { font-family: var(--f-display); font-weight: 700; font-size: clamp(6rem, 20vw, 12rem); line-height: 1; color: var(--forest); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--forest-900); color: var(--cream); margin-top: clamp(60px, 8vw, 120px); position: relative; }
.footer-wave { display: block; width: 100%; height: 70px; color: var(--forest-900); position: absolute; top: -69px; left: 0; }
.footer-hero { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; padding: clamp(40px, 6vw, 70px) 0 clamp(36px, 5vw, 56px); border-bottom: 1px solid rgba(249,243,232,.14); }
.footer-hero h2 { color: #fff; font-size: clamp(2rem, 5vw, 3.6rem); max-width: 14ch; margin: 0 0 .3em; line-height: 1.05; }
.footer-hero h2 em { font-family: var(--f-serif); color: var(--sun); font-weight: 500; }
.footer-hero p { color: rgba(249,243,232,.78); max-width: 560px; margin: 0 0 22px; }
.footer-mascot { width: 260px; background: var(--cream); border-radius: var(--r-xl); padding: 18px 22px; transform: rotate(3deg); box-shadow: 0 20px 50px rgba(0,0,0,.25); transition: transform .4s ease; }
.footer-mascot:hover { transform: rotate(-2deg) scale(1.03); }
.footer-mascot img { width: 100%; aspect-ratio: 16/10; object-fit: contain; }
@media (max-width: 760px) { .footer-hero { grid-template-columns: 1fr; } .footer-mascot { width: 200px; } }

.footer-cols { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 32px; padding: clamp(36px, 5vw, 56px) 0; border-bottom: 1px solid rgba(249,243,232,.14); }
.footer-cols h3 { font-family: var(--f-body); font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; color: var(--sage); margin-bottom: 16px; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-cols a { color: var(--cream); text-decoration: none; font-weight: 600; opacity: .88; transition: opacity .2s ease, color .2s ease; }
.footer-cols a:hover { opacity: 1; color: var(--sun); }
.footer-cols .fc-cat { display: inline-flex; align-items: center; gap: 10px; }
.footer-cols .fc-cat i { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: rgba(249,243,232,.1); font-style: normal; }
.footer-cols .fc-cat .icon { width: 15px; height: 15px; }
.footer-cols .promise { font-size: .95rem; color: rgba(249,243,232,.78); line-height: 1.6; }
.footer-cols .promise li { display: flex; gap: 10px; }
.footer-cols .promise .icon { width: 18px; height: 18px; color: var(--sun); margin-top: 4px; }
@media (max-width: 960px) { .footer-cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-cols { grid-template-columns: 1fr; } }

.disclaimer { padding: clamp(36px, 5vw, 60px) 0; border-bottom: 1px solid rgba(249,243,232,.14); }
.disclaimer-head { display: flex; gap: 16px; align-items: center; margin-bottom: 26px; }
.disclaimer-head .d-ic { width: 54px; height: 54px; border-radius: 16px; background: var(--sun); color: var(--forest-900); display: grid; place-items: center; flex-shrink: 0; }
.disclaimer-head .d-ic .icon { width: 28px; height: 28px; }
.disclaimer-head h2 { color: #fff; margin: 0; font-size: clamp(1.4rem, 3vw, 2rem); }
.disclaimer-head p { margin: 4px 0 0; color: rgba(249,243,232,.7); font-size: .92rem; }
.emergency { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-bottom: 28px; }
.emergency div { background: rgba(242,193,78,.12); border: 1px solid rgba(242,193,78,.35); border-radius: var(--r); padding: 16px 18px; }
.emergency b { display: block; font-family: var(--f-display); font-weight: 600; font-size: 1.7rem; color: var(--sun); line-height: 1.1; }
.emergency span { font-size: .86rem; color: rgba(249,243,232,.85); line-height: 1.4; display: block; }
.disclaimer-cols { columns: 3 300px; column-gap: 40px; font-size: .88rem; line-height: 1.65; color: rgba(249,243,232,.78); }
.disclaimer-cols section { break-inside: avoid; margin-bottom: 22px; }
.disclaimer-cols h3 { font-family: var(--f-body); font-weight: 800; font-size: .92rem; color: #fff; margin: 0 0 6px; letter-spacing: .01em; }
.disclaimer-cols p { margin: 0 0 .7em; }
.disclaimer-cols a { color: var(--sun); }

.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 24px 0 34px; font-size: .86rem; color: rgba(249,243,232,.7); }
.footer-bottom ul { list-style: none; display: flex; gap: 18px; flex-wrap: wrap; margin: 0; padding: 0; }
.footer-bottom a { color: inherit; text-decoration: none; font-weight: 700; }
.footer-bottom a:hover { color: var(--sun); }

.to-top { position: fixed; right: 20px; bottom: 20px; width: 50px; height: 50px; border-radius: 50%; background: var(--forest); color: var(--cream); border: 0; display: grid; place-items: center; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s ease; z-index: 40; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top .icon { width: 22px; height: 22px; }

/* print */
@media print {
  .topbar, .nav-bar, .site-footer, .to-top, .search-overlay, .drawer, .burger, .m-search, .progress { display: none !important; }
  body { background: #fff; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* voorkom horizontaal scrollen door decoratieve elementen */
main, .site-footer { overflow-x: clip; }

/* suikerklontjes */
.cubes { display: flex; flex-wrap: wrap; gap: 6px; min-height: 30px; margin-bottom: 12px; }
.cube { width: 26px; height: 26px; border-radius: 6px; background: #fff; border: 2px solid var(--accent-d); box-shadow: inset -4px -4px 0 rgba(0,0,0,.06); animation: pop .35s cubic-bezier(.2,.8,.2,1.4) both; }
@keyframes pop { from { transform: scale(0); } to { transform: scale(1); } }
.tool-out { margin: 0; font-size: 1rem; }
.tool-out b { font-family: var(--f-display); font-weight: 600; font-size: 1.25rem; color: var(--accent-d); }
.field-row { display: grid; grid-template-columns: 1fr 120px; gap: 10px; }
/* bordmodel */
.plate { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; margin: 2em 0; }
.plate-visual { aspect-ratio: 1; border-radius: 50%; position: relative; background: conic-gradient(var(--salie) 0 50%, var(--sun) 50% 75%, var(--coral) 75% 100%); box-shadow: 0 0 0 14px #fff, var(--shadow); max-width: 320px; width: 100%; margin: 14px auto; }
.plate-visual span { position: absolute; font-weight: 800; font-size: .9rem; color: var(--forest-900); background: rgba(255,255,255,.85); padding: 4px 10px; border-radius: 999px; }
.plate-legend { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.plate-legend li { display: flex; gap: 12px; align-items: flex-start; }
.plate-legend i { width: 18px; height: 18px; border-radius: 6px; flex-shrink: 0; margin-top: 4px; }
@media (max-width: 640px) { .plate { grid-template-columns: 1fr; } }
/* NOVA-ladder */
.ladder { display: grid; gap: 10px; margin: 2em 0; }
.ladder > div { display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: center; padding: 16px 18px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); }
.ladder b { font-family: var(--f-display); font-size: 2rem; font-weight: 600; text-align: center; color: #fff; border-radius: 14px; padding: 6px 0; }
.ladder h4 { margin: 0 0 .2em; }
.ladder p { margin: 0; font-size: .95rem; color: var(--muted); }
/* kleurregenboog */
.rainbow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin: 2em 0; }
.rainbow div { border-radius: var(--r); padding: 18px 14px; color: #fff; min-height: 170px; display: flex; flex-direction: column; justify-content: flex-end; }
.rainbow h4 { color: #fff; margin: 0 0 .3em; font-size: 1.05rem; }
.rainbow p { margin: 0; font-size: .85rem; line-height: 1.45; opacity: .95; }
@media (max-width: 760px) { .rainbow { grid-template-columns: 1fr 1fr; } }
.quick-tags span { padding: 7px 14px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-weight: 700; font-size: .88rem; }
/* icoonkaarten binnen de leeskolom: twee kolommen */
.article-grid > .icon-grid:not(.bleed-wide) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 560px) { .article-grid > .icon-grid:not(.bleed-wide) { grid-template-columns: 1fr; } }

/* keuzehulp */
.choice { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; border: 2px solid var(--line); background: var(--cream); cursor: pointer; font-weight: 700; line-height: 1.4; }
.choice input { width: 20px; height: 20px; accent-color: var(--accent-d); margin-top: 2px; flex-shrink: 0; }
.choice:has(input:checked) { border-color: var(--accent-d); background: var(--accent-t); }
.choices { display: grid; gap: 8px; }
/* zonkalender */
.months { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; margin: 1.6em 0 .6em; }
.months span { text-align: center; padding: 26px 0 8px; border-radius: 10px; font-size: .78rem; font-weight: 800; background: var(--water-t); color: var(--water-d); position: relative; }
.months span.sun { background: var(--sun); color: var(--forest-900); }
.months span.half { background: linear-gradient(90deg, var(--water-t) 50%, var(--sun) 50%); }
.months span::before { content: "☁"; position: absolute; top: 6px; left: 0; right: 0; font-size: .9rem; }
.months span.sun::before { content: "☀"; }
.months span.half::before { content: "⛅"; }
@media (max-width: 560px) { .months { grid-template-columns: repeat(6, 1fr); } }
/* label-anatomie */
.anatomy { background: var(--paper); border: 2px dashed var(--accent-d); border-radius: var(--r-lg); padding: 24px; margin: 2em 0; text-align: center; }
.anatomy .name { font-family: var(--f-display); font-size: clamp(1.3rem, 3vw, 1.9rem); font-weight: 600; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.anatomy .name span { padding: 6px 14px; border-radius: 12px; }
.anatomy .labels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 16px; font-size: .86rem; }
.anatomy .labels div { padding: 10px; border-radius: 12px; }
@media (max-width: 640px) { .anatomy .labels { grid-template-columns: 1fr 1fr; } }

/* glazen-teller */
.glasses { display: flex; flex-wrap: wrap; gap: 8px; }
.glass { width: 46px; height: 60px; border: 3px solid var(--water-d); border-top-width: 2px; border-radius: 4px 4px 14px 14px; background: #fff; position: relative; overflow: hidden; padding: 0; }
.glass::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 0; background: var(--water); transition: height .35s ease; }
.glass[aria-pressed="true"]::after { height: 78%; }
.glass span { position: relative; z-index: 1; font-size: .7rem; font-weight: 800; }
/* cafeïneteller */
.caf-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.caf-row small { display: block; color: var(--muted); font-size: .8rem; }
.stepper { display: inline-flex; align-items: center; gap: 6px; }
.stepper button { width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--accent-t); color: var(--accent-d); font-weight: 800; font-size: 1.1rem; }
.stepper output { min-width: 22px; text-align: center; font-family: var(--f-display); font-weight: 600; font-size: 1.2rem; }

/* weekplanner */
.weekplan { display: grid; grid-template-columns: 1fr 180px; gap: 20px; align-items: center; }
.wp-grid { display: grid; grid-template-columns: 70px 1fr 1fr 60px; gap: 6px 10px; align-items: center; font-size: .9rem; }
.wp-grid .h { font-weight: 800; font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.wp-grid input[type=number] { width: 100%; font: inherit; padding: 7px 9px; border-radius: 10px; border: 2px solid var(--line); background: var(--cream); }
.wp-grid input[type=checkbox] { width: 20px; height: 20px; accent-color: var(--accent-d); justify-self: center; }
.ring { position: relative; width: 170px; height: 170px; margin: 0 auto; }
.ring svg { transform: rotate(-90deg); }
.ring-fill { transition: stroke-dashoffset .5s ease; }
.ring-center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring-num { font-family: var(--f-display); font-weight: 600; font-size: 2.4rem; line-height: 1; color: var(--accent-d); }
.ring-center small { font-size: .78rem; color: var(--muted); font-weight: 700; }
@media (max-width: 640px) { .weekplan { grid-template-columns: 1fr; } .wp-grid { grid-template-columns: 50px 1fr 1fr 44px; } }
/* stappen */
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 10px; border-radius: 999px; background: linear-gradient(90deg, var(--accent) var(--p, 40%), var(--line) var(--p, 40%)); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: var(--forest); border: 4px solid #fff; box-shadow: var(--shadow-sm); cursor: pointer; }
.range::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: var(--forest); border: 4px solid #fff; cursor: pointer; }
.steps-scale { display: flex; justify-content: space-between; font-size: .75rem; color: var(--muted); font-weight: 700; margin-top: 6px; }
.steps-val { font-family: var(--f-display); font-weight: 600; font-size: 2.2rem; color: var(--accent-d); }
/* praattest */
.talk-btns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.talk-btns button { border: 2px solid var(--line); background: var(--cream); border-radius: 14px; padding: 14px 10px; font-weight: 800; line-height: 1.3; }
.talk-btns button span { display: block; font-size: 1.6rem; margin-bottom: 4px; }
.talk-btns button[aria-pressed="true"] { border-color: var(--accent-d); background: var(--accent-t); }
@media (max-width: 560px) { .talk-btns { grid-template-columns: 1fr; } }
/* timers */
.timer-face { border-radius: var(--r-lg); background: var(--forest-900); color: var(--cream); text-align: center; padding: 26px 16px; transition: background .3s ease; }
.timer-face.is-work { background: var(--coral-d); }
.timer-face.is-rest { background: var(--forest); }
.t-phase { font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: .82rem; }
.t-time { font-family: var(--f-display); font-weight: 600; font-size: clamp(3.5rem, 12vw, 5.5rem); line-height: 1.05; font-variant-numeric: tabular-nums; }
.t-round { font-size: .9rem; opacity: .85; }
.timer-ctrl { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.timer-ctrl .btn { justify-content: center; min-width: 120px; }
.field-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (max-width: 480px) { .field-3 { grid-template-columns: 1fr; } }
/* oefenkaarten */
.exercise-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; margin: 2em 0; }
.exercise { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; position: relative; overflow: hidden; }
.exercise .ex-num { position: absolute; right: 16px; top: 10px; font-family: var(--f-serif); font-style: italic; font-size: 3rem; color: var(--accent-t); line-height: 1; }
.exercise h4 { margin: 0 0 .3em; font-size: 1.12rem; position: relative; }
.exercise .reps { display: inline-block; font-size: .78rem; font-weight: 800; color: var(--accent-d); background: var(--accent-t); padding: 3px 10px; border-radius: 999px; margin-bottom: 10px; }
.exercise p { margin: 0; font-size: .94rem; color: var(--muted); }
/* weekschema */
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin: 1.6em 0; }
.week div { border-radius: 14px; padding: 12px 8px; text-align: center; font-size: .82rem; font-weight: 700; background: var(--paper); border: 1px solid var(--line); line-height: 1.35; }
.week div b { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 6px; }
.week div.on { background: var(--accent); color: var(--forest-900); border-color: transparent; }
.week div.on b { color: var(--forest-900); }
.week div.soft { background: var(--accent-t); }
@media (max-width: 640px) { .week { grid-template-columns: repeat(4, 1fr); } }

/* ademhaling */
.breath-stage { display: grid; place-items: center; min-height: 300px; position: relative; background: radial-gradient(circle, var(--accent-t), transparent 70%); border-radius: var(--r-lg); }
.breath-circle { width: 110px; height: 110px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff, var(--accent)); box-shadow: 0 0 0 14px rgba(154,139,201,.18), 0 0 60px rgba(154,139,201,.45); transition-property: transform; transition-timing-function: ease-in-out; transform: scale(1); }
.breath-circle.is-big { transform: scale(2.1); }
.breath-text { position: absolute; text-align: center; pointer-events: none; }
.breath-label { font-family: var(--f-display); font-weight: 600; font-size: 1.5rem; color: var(--forest-900); }
.breath-count { font-weight: 800; color: var(--accent-d); font-size: 1.1rem; }
.pattern-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.pattern-btns button { border: 2px solid var(--line); background: var(--cream); border-radius: 999px; padding: 8px 14px; font-weight: 800; font-size: .88rem; }
.pattern-btns button[aria-pressed="true"] { border-color: var(--accent-d); background: var(--accent-t); color: var(--accent-d); }
/* balanswiel */
.wheel-wrap { display: grid; grid-template-columns: 300px 1fr; gap: 20px; align-items: center; }
.wheel-sliders { display: grid; gap: 10px; }
.wheel-sliders label { display: grid; grid-template-columns: 120px 1fr 28px; gap: 10px; align-items: center; font-weight: 800; font-size: .9rem; }
.wheel-sliders output { font-family: var(--f-display); font-weight: 600; color: var(--accent-d); text-align: right; }
@media (max-width: 720px) { .wheel-wrap { grid-template-columns: 1fr; } .wheel-wrap svg { max-width: 280px; margin: 0 auto; } }
/* quiz */
.quiz fieldset { border: 0; padding: 0; margin: 0 0 14px; }
.quiz legend { font-weight: 800; margin-bottom: 8px; }
.quiz .opts { display: grid; gap: 6px; }
.q-res { display: none; }
/* schermtijd */
.st-bar { height: 14px; border-radius: 999px; background: var(--line); overflow: hidden; }
.st-bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), var(--coral)); transition: width .4s ease; }

/* gewoontetracker */
.habit-grid { display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px; }
.habit-grid button { aspect-ratio: 1; border-radius: 10px; border: 2px solid var(--line); background: var(--cream); font-weight: 800; font-size: .82rem; color: var(--muted); transition: all .15s ease; }
.habit-grid button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent-d); color: #fff; transform: scale(1.04); }
@media (max-width: 520px) { .habit-grid { grid-template-columns: repeat(6, 1fr); } }
/* tijdlijn */
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 13px; top: 6px; bottom: 6px; width: 3px; background: var(--line); border-radius: 3px; }
.timeline li { position: relative; padding: 4px 0 14px 44px; }
.timeline li::before { content: ""; position: absolute; left: 4px; top: 6px; width: 21px; height: 21px; border-radius: 50%; background: var(--paper); border: 3px solid var(--line); transition: all .3s ease; }
.timeline li.done::before { background: var(--accent); border-color: var(--accent-d); box-shadow: 0 0 0 4px var(--accent-t); }
.timeline b { display: block; font-family: var(--f-display); font-weight: 600; color: var(--accent-d); }
/* mond */
.mouth { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; max-width: 280px; margin: 0 auto; }
.mouth span { border-radius: 40px 40px 14px 14px; padding: 18px 8px; text-align: center; font-weight: 800; font-size: .82rem; background: var(--cream); border: 2px solid var(--line); transition: all .3s ease; }
.mouth span:nth-child(n+3) { border-radius: 14px 14px 40px 40px; }
.mouth span.on { background: var(--accent); color: #fff; border-color: var(--accent-d); transform: scale(1.05); }
.mouth span.done { background: var(--accent-t); color: var(--accent-d); }
.uv-val { font-family: var(--f-display); font-weight: 600; font-size: 2.2rem; color: var(--accent-d); }
.uv-range { background: linear-gradient(90deg, #5d8f45 0%, #5d8f45 18%, #d9a400 27%, #e07a2b 55%, #c2453b 73%, #7d3c98 100%) !important; }
.ideas { display: none; }
[data-tool="nature"] input{text-align:center;padding-left:4px;padding-right:4px}
[data-tool="nature"] label{display:flex;flex-direction:column;gap:6px;font-weight:800}
@media (max-width:640px){[data-tool="nature"] .field-3{grid-template-columns:repeat(4,1fr)!important}}
.uv-scale{position:relative;height:18px;margin-top:4px;font-size:.75rem;font-weight:700;color:var(--muted,#6b6b5e)}
.uv-scale span{position:absolute;transform:translateX(-50%);top:0}
/* ===== Calculators (fase 9) ===== */
.calc-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.1fr); gap: 22px; align-items: start; }
@media (max-width: 760px) { .calc-grid { grid-template-columns: 1fr; } }
.calc-form { display: grid; gap: 14px; }
.calc-form .field-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tool-result .big + .tool-out { margin-top: 4px; }
.seg { display: inline-flex; background: var(--cream); border: 2px solid var(--line); border-radius: 999px; padding: 4px; gap: 4px; flex-wrap: wrap; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: block; padding: 8px 16px; border-radius: 999px; font-weight: 800; font-size: .9rem; color: var(--muted); transition: background .2s, color .2s; }
.seg input:checked + span { background: var(--accent-d); color: #fff; }
.seg input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.field small { display: block; color: var(--muted); font-size: .78rem; margin-top: 4px; font-weight: 600; }
.scale-wrap { position: relative; margin: 18px 0 6px; }
.scale-bar { display: flex; height: 18px; border-radius: 999px; overflow: hidden; gap: 3px; }
.scale-bar i { display: block; height: 100%; opacity: .45; transition: opacity .3s, flex-basis .3s; }
.scale-bar i.on { opacity: 1; }
.scale-bar i:nth-child(1) { background: var(--water); } .scale-bar i:nth-child(2) { background: var(--matcha); }
.scale-bar i:nth-child(3) { background: var(--sun); } .scale-bar i:nth-child(4) { background: var(--coral); }
.scale-marker { position: absolute; top: -7px; width: 4px; height: 32px; background: var(--forest-900, #1e3317); border-radius: 4px; transform: translateX(-50%); transition: left .4s cubic-bezier(.2,.8,.2,1); box-shadow: 0 0 0 3px var(--paper); }
.scale-legend { display: flex; justify-content: space-between; font-size: .72rem; font-weight: 800; color: var(--muted); }
.glasses-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.mini-glass { width: 18px; height: 26px; border: 2px solid var(--water-d); border-top: 0; border-radius: 0 0 6px 6px; background: linear-gradient(to top, var(--water) 75%, transparent 75%); animation: glassIn .4s both; }
@keyframes glassIn { from { transform: translateY(8px); opacity: 0; } }
.split-bar { display: flex; height: 22px; border-radius: 999px; overflow: hidden; margin: 14px 0 6px; }
.split-bar i { display: block; transition: flex-basis .4s; }
.split-bar i:first-child { background: var(--accent-d); } .split-bar i:last-child { background: var(--coral); }
.split-legend { display: flex; gap: 16px; font-size: .8rem; font-weight: 700; color: var(--muted); }
.split-legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; background: var(--accent-d); }
.split-legend span + span::before { background: var(--coral); }
.cd-svg { width: 100%; height: auto; display: block; margin-top: 12px; background: var(--paper); border-radius: 14px; }
.cd-area { fill: var(--accent-t); stroke: none; } .cd-line { fill: none; stroke: var(--accent-d); stroke-width: 3; }
.cd-bed-line { stroke: var(--lavender-d, #5b4a8a); stroke-width: 2; stroke-dasharray: 5 5; }
.cd-dot { fill: var(--lavender-d, #5b4a8a); } .cd-lbl { font: 700 13px var(--f-body, sans-serif); fill: var(--lavender-d, #5b4a8a); }
.zones { display: grid; gap: 8px; margin-top: 14px; }
.zone { display: grid; grid-template-columns: 14px 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px; background: var(--paper); border: 2px solid transparent; transition: border-color .2s, transform .2s; }
.zone::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--zc); }
.zone b { display: block; } .zone small { color: var(--muted); font-weight: 600; }
.zone strong { font-family: var(--f-display); font-size: 1.25rem; color: var(--forest-900, #1e3317); white-space: nowrap; }
.zone.on { border-color: var(--zc); transform: scale(1.02); }
.hr-measure { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; margin-top: 16px; padding: 14px; border-radius: 14px; background: var(--cream); }
.hr-measure .t-time { font-family: var(--f-display); font-size: 2rem; font-weight: 600; color: var(--accent-d); }
@media (max-width: 480px) { .hr-measure { grid-template-columns: 1fr; } .calc-form .field-2 { grid-template-columns: 1fr; } }
.tool-index { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
