/* lijst.org — één klein stylesheet voor de hele site */
:root {
  --bg: #f7f7f4;
  --surface: #ffffff;
  --text: #1f2823;
  --muted: #5b665f;
  --accent: #0c7a56;
  --accent-ink: #ffffff;
  --accent-soft: #e6f3ec;
  --line: #e3e6e0;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101512;
    --surface: #191f1b;
    --text: #e7ece8;
    --muted: #9caaa1;
    --accent: #3ecf94;
    --accent-ink: #0b1410;
    --accent-soft: #17281f;
    --line: #2a332d;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  background: var(--bg);
  color: var(--text);
}
.wrap { max-width: 66rem; margin: 0 auto; padding: 0 1.25rem; }

a { color: var(--accent); text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { line-height: 1.25; text-wrap: balance; }
h1 { font-size: clamp(1.7rem, 4vw, 2.4rem); margin: 0 0 .5rem; }
h2 { font-size: 1.35rem; margin: 2.2rem 0 .7rem; }
h3 { font-size: 1.1rem; margin: 1.5rem 0 .5rem; }
p { margin: 0 0 1rem; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 44rem; }

/* Header */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.nav-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1.5rem;
  padding-top: .8rem; padding-bottom: .8rem;
}
.brand {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 700; font-size: 1.2rem; color: var(--text); text-decoration: none;
}
.brand svg { flex: none; }
.site-header nav { display: flex; flex-wrap: wrap; gap: .1rem; margin-left: auto; }
.site-header nav a {
  color: var(--text); text-decoration: none; font-weight: 500;
  padding: .35rem .7rem; border-radius: 8px;
}
.site-header nav a:hover { background: var(--accent-soft); color: var(--accent); }
.site-header nav a[aria-current="page"] { background: var(--accent-soft); color: var(--accent); }

/* Hero (homepage) */
.hero { padding: 3rem 0 1rem; }
.hero p { font-size: 1.2rem; color: var(--muted); max-width: 42rem; }

/* Kaarten */
.cards {
  display: grid; gap: .9rem; padding: 0; margin: 1rem 0 0; list-style: none;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
}
.cards a {
  display: block; height: 100%; padding: 1rem 1.1rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  color: var(--text); text-decoration: none;
}
.cards a:hover { border-color: var(--accent); }
.cards strong { display: block; color: var(--accent); margin-bottom: .2rem; }
.cards span { color: var(--muted); font-size: .95rem; }

/* Kruimelpad */
.breadcrumbs { margin: 1.3rem 0 0; font-size: .9rem; color: var(--muted); }
.breadcrumbs a { color: var(--muted); }

/* Artikel */
.content { max-width: 46rem; padding-bottom: 3rem; }
.content > h1 { margin-top: 1.2rem; }

/* Checklist */
.list-tools {
  position: sticky; top: 0; z-index: 2;
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem;
  margin: 1.5rem 0; padding: .7rem .9rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
}
.progress {
  flex: 1 1 8rem; height: .55rem; border-radius: 999px;
  background: var(--accent-soft); overflow: hidden;
}
.progress-bar { height: 100%; width: 0; background: var(--accent); border-radius: 999px; }
.progress-text { flex: none; margin: 0; font-size: .9rem; color: var(--muted); min-width: 9ch; }
.btn {
  font: inherit; font-size: .9rem; font-weight: 500; cursor: pointer;
  padding: .35rem .8rem; border-radius: 8px;
  border: 1px solid var(--line); background: var(--bg); color: var(--text);
}
.btn:hover { border-color: var(--accent); color: var(--accent); }

ul.check { list-style: none; margin: 0 0 1.5rem; padding: 0; }
ul.check li { border-bottom: 1px solid var(--line); }
ul.check label {
  display: flex; align-items: baseline; gap: .7rem;
  padding: .5rem .2rem; cursor: pointer;
}
ul.check input[type="checkbox"] {
  flex: none; width: 1.15rem; height: 1.15rem;
  accent-color: var(--accent); transform: translateY(.15rem); cursor: pointer;
}
ul.check li:has(input:checked) label {
  color: var(--muted); text-decoration: line-through;
  text-decoration-color: color-mix(in srgb, var(--muted) 50%, transparent);
}

/* Tips en FAQ */
.tips ul { padding-left: 1.2rem; }
.tips li { margin-bottom: .4rem; }
details {
  border: 1px solid var(--line); border-radius: 10px;
  padding: .6rem .9rem; margin-bottom: .6rem; background: var(--surface);
}
details summary { font-weight: 600; cursor: pointer; }
details p { margin: .6rem 0 .2rem; }

/* Gerelateerd */
.related ul { padding-left: 1.2rem; }
.related li { margin-bottom: .35rem; }

/* Footer */
.site-footer {
  margin-top: 3rem; padding: 2.2rem 0 1.5rem;
  background: var(--surface); border-top: 1px solid var(--line);
  font-size: .95rem;
}
.footer-grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
}
.site-footer h2 { font-size: 1rem; margin: 0 0 .5rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .3rem; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--accent); text-decoration: underline; }
.site-footer .copy { margin: 1.8rem 0 0; color: var(--muted); font-size: .85rem; }

/* Print: alleen de lijst zelf, netjes op papier */
@media print {
  .site-header, .site-footer, .list-tools, .breadcrumbs, .related, .faq { display: none; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .content { max-width: none; }
  a { color: inherit; text-decoration: none; }
  ul.check li { border-color: #ccc; break-inside: avoid; }
  ul.check li:has(input:checked) label { color: #777; }
  h2 { break-after: avoid; }
}
