/* Wubbeloqtje.be — stylesheet */
:root {
  --ink: #2a2140;
  --ink-soft: #5b5270;
  --paper: #fffaf3;
  --card: #ffffff;
  --line: #eadfce;
  --coral: #ff6b57;
  --coral-dark: #d94a37;
  --teal: #1f9e94;
  --sun: #ffc94a;
  --lilac: #efe7ff;
  --mint: #e2f6f2;
  --radius: 18px;
  --shadow: 0 6px 24px rgba(42, 33, 64, .08);
  --font-head: "Fraunces", Georgia, serif;
  --font-body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.7 var(--font-body);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--coral-dark); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 4px; }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }

/* Header */
.site-header { background: var(--card); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.header-inner { display: flex; align-items: center; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.logo { display: flex; align-items: center; gap: 10px; font: 800 1.35rem/1 var(--font-head); color: var(--ink); text-decoration: none; margin-right: auto; }
.logo-tld { color: var(--coral); }
.mainnav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; flex-wrap: wrap; }
.mainnav a { display: block; padding: 8px 12px; border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: .95rem; }
.mainnav a:hover { background: var(--lilac); }
.mainnav a[aria-current="page"] { background: var(--ink); color: #fff; }
.navtoggle, .navbutton { display: none; }

@media (max-width: 900px) {
  .navbutton { display: inline-block; padding: 8px 14px; border: 2px solid var(--ink); border-radius: 999px; font-weight: 700; cursor: pointer; }
  .mainnav { display: none; width: 100%; padding-bottom: 12px; }
  .navtoggle:checked ~ .mainnav { display: block; }
  .mainnav ul { flex-direction: column; }
}

/* Hero */
.hero { background: linear-gradient(135deg, var(--lilac), var(--mint)); border-bottom: 1px solid var(--line); }
.hero-inner { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; padding: 40px 0 44px; }
.hero-home .hero-inner { padding: 64px 0; }
.hero-fig { margin: 0; width: min(300px, 70vw); }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.2; letter-spacing: -.01em; }
h1 { overflow-wrap: break-word; font-size: clamp(2rem, 4.5vw, 3.2rem); margin: 8px 0 12px; font-weight: 800; }
.lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 62ch; margin: 0; }
.meta { font-size: .9rem; color: var(--ink-soft); margin: 16px 0 0; }
.badge { display: inline-block; margin: 14px 0 0; padding: 4px 12px; border-radius: 999px; background: var(--ink); color: #fff; font-size: .8rem; font-weight: 700; letter-spacing: .02em; }
.badge span { color: var(--sun); }
@media (max-width: 760px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); }
  .hero-fig { width: 180px; order: -1; }
}

.breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; font-size: .9rem; color: var(--ink-soft); }
.breadcrumbs li + li::before { content: "›"; margin: 0 8px; }
.breadcrumbs a { color: var(--ink-soft); }

/* Content layout */
.content-grid { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 48px; padding: 48px 0 24px; }
.content-grid.no-toc { grid-template-columns: minmax(0, 1fr); max-width: 820px; }
.sidebar { position: relative; }
.toc { position: sticky; top: 88px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; font-size: .95rem; }
.toc-title { font-weight: 700; margin: 0 0 8px; }
.toc ol { margin: 0; padding-left: 18px; }
.toc li { margin: 4px 0; }
.toc a { color: var(--ink); text-decoration: none; }
.toc a:hover { color: var(--coral-dark); text-decoration: underline; }
@media (max-width: 900px) {
  .content-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .toc { position: static; }
}

.prose { max-width: 760px; min-width: 0; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 2.2em 0 .5em; scroll-margin-top: 90px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.25rem; margin: 1.6em 0 .4em; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.1em; }
.prose li { margin: .3em 0; }
.prose figure { margin: 2em 0; }
.prose figcaption { font-size: .9rem; color: var(--ink-soft); margin-top: 8px; text-align: center; }

/* Components */
.definition { background: var(--card); border-left: 6px solid var(--coral); border-radius: 0 var(--radius) var(--radius) 0; padding: 20px 24px; box-shadow: var(--shadow); font-size: 1.1rem; margin: 0 0 2em; }
.definition p:last-child { margin-bottom: 0; }
.note { background: #fff5d6; border: 1px solid #f3dd98; border-radius: var(--radius); padding: 16px 20px; margin: 1.5em 0; }
.note p:last-child { margin-bottom: 0; }
.tip { background: var(--mint); border-radius: var(--radius); padding: 16px 20px; margin: 1.5em 0; }
.tip p:last-child { margin-bottom: 0; }

.table-wrap { overflow-x: auto; margin: 1.5em 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
table { border-collapse: collapse; width: 100%; font-size: .98rem; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--lilac); font-weight: 700; }
tr:last-child td { border-bottom: 0; }

.steps { list-style: none; padding: 0; counter-reset: stap; }
.steps > li { counter-increment: stap; position: relative; padding: 18px 20px 18px 72px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 14px; }
.steps > li::before { content: counter(stap); position: absolute; left: 20px; top: 18px; width: 36px; height: 36px; border-radius: 50%; background: var(--coral); color: #fff; font-weight: 800; display: grid; place-items: center; }
.steps h3 { margin-top: 0; }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin: 1.5em 0 2em; padding: 0; list-style: none; }
.facts li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; margin: 0; }
.facts strong { display: block; font-family: var(--font-head); font-size: 1.4rem; color: var(--coral-dark); }

.cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.cards li { margin: 0; }
.cards a { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 20px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .15s ease, border-color .15s ease; }
.cards a:hover { transform: translateY(-3px); border-color: var(--coral); }
.card-kicker { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--teal); font-weight: 700; }
.card-title { font-family: var(--font-head); font-size: 1.2rem; font-weight: 600; line-height: 1.3; }
.card-text { font-size: .95rem; color: var(--ink-soft); }
.prose .cards { margin: 1.5em 0 2em; }

.related { padding: 32px 0 56px; border-top: 1px solid var(--line); margin-top: 24px; }
.related h2 { font-size: 1.6rem; margin: 0 0 20px; }

.faq { margin-top: 3em; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 14px 18px; font-weight: 700; list-style: none; position: relative; padding-right: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 10px; font-size: 1.4rem; color: var(--coral); }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 18px 4px; }

.glossary dt { font-family: var(--font-head); font-weight: 600; font-size: 1.2rem; margin-top: 1.4em; scroll-margin-top: 90px; }
.glossary dd { margin: .3em 0 0; }

.cta { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 24px 28px; margin: 2em 0; }
.cta a { color: var(--sun); font-weight: 700; }
.cta p:last-child { margin-bottom: 0; }

/* Footer */
.site-footer { background: var(--ink); color: #e9e4f5; padding: 48px 0 32px; }
.foot-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.foot-title { font-family: var(--font-head); font-weight: 600; color: #fff; font-size: 1.1rem; margin: 0 0 8px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 4px 0; }
.site-footer a { color: #e9e4f5; text-decoration: none; }
.site-footer a:hover { color: var(--sun); text-decoration: underline; }
.foot-note { border-top: 1px solid rgba(255,255,255,.15); margin-top: 32px; padding-top: 20px; font-size: .92rem; }
.foot-note a { text-decoration: underline; }

/* NAP & reviews */
.nap { font-style: normal; line-height: 1.6; }
.prose .nap { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; margin: 1em 0 1.5em; }
.site-footer .nap a { text-decoration: underline; }
.foot-title a { color: #fff; }
.reviews ul { list-style: none; padding: 0; display: grid; gap: 12px; }
.review { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; margin: 0; }
.review blockquote { margin: 0; }
.stars { color: var(--sun); letter-spacing: 2px; margin: 0 0 6px; }
.review-by { font-size: .9rem; color: var(--ink-soft); margin: 0; }

/* Foto's */
.prose figure.photo { margin: 2em auto; max-width: 440px; }
.photo img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); background: var(--line); }

/* Auteur */
.byline { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.byline img { border-radius: 50%; }
.author-box { display: flex; gap: 16px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin: 3em 0 0; }
.author-box img { border-radius: 50%; flex: none; }
.author-box p { margin: 0 0 .4em; }
.author-name { font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; }

.page-lien-houtmans .hero-fig img { border-radius: 50%; box-shadow: var(--shadow); }
