/* ==========================================================================
   FabulaWiki: Organic / Natural design system
   Opbouw: 1 tokens · 2 basis · 3 layout · 4 componenten · 5 secties · 6 motion
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  /* Kleur: bosgrond, klei en ongebleekt papier */
  --background: #FDFCF8;          /* rijstpapier */
  --foreground: #2C2C24;          /* leem */
  --primary: #5D7052;             /* mos */
  --primary-foreground: #F3F4F1;  /* bleke mist */
  --secondary: #C18C5D;           /* terracotta: vlak/decor, tekst erop = foreground */
  --secondary-strong: #8F5A33;    /* gebakken klei: terracotta als tekstkleur (AA) */
  --accent: #E6DCCD;              /* zand */
  --accent-foreground: #4A4A40;   /* schors */
  --muted: #F0EBE5;               /* steen */
  --muted-foreground: #6B6B60;    /* droog gras, iets donkerder dan spec voor AA (5.2:1) */
  --border: #DED8CF;              /* ruw hout */
  --card: #FEFEFA;
  --destructive: #A85448;

  /* Typografie (schaal 1.25) */
  --font-heading: "Fraunces", Georgia, serif;
  --font-body: "Nunito", system-ui, sans-serif;
  --text-sm: 0.875rem;
  --text-base: 1.0625rem;
  --text-lg: 1.25rem;
  --text-xl: 1.5625rem;
  --text-2xl: clamp(2.25rem, 4vw + 1rem, 3rem);   /* sectiekoppen: 4xl → 5xl */
  --text-3xl: clamp(3rem, 6vw + 1rem, 4.5rem);    /* hero: 5xl → 7xl */

  /* Vorm */
  --radius: 1rem;
  --radius-lg: 1.5rem;
  --radius-card: 2rem;
  --radius-full: 999px;
  --blob-1: 60% 40% 30% 70% / 60% 30% 70% 40%;
  --blob-2: 30% 70% 70% 30% / 30% 30% 70% 70%;
  --blob-3: 50% 50% 20% 80% / 25% 80% 20% 75%;

  /* Schaduw: altijd getint, nooit zwart */
  --shadow-soft: 0 4px 20px -2px rgba(93, 112, 82, 0.15);
  --shadow-soft-hover: 0 6px 24px -4px rgba(93, 112, 82, 0.25);
  --shadow-lift: 0 20px 40px -10px rgba(93, 112, 82, 0.15);
  --shadow-float: 0 10px 40px -10px rgba(193, 140, 93, 0.2);

  /* Ruimte & motion */
  --gutter: 1rem;
  --section-y: clamp(5rem, 10vw, 8rem);
  --ease: cubic-bezier(0.34, 1.2, 0.64, 1);
  --duration: 300ms;
  --duration-slow: 500ms;

  /* Papierkorrel (feTurbulence), gedeeld door body en secties */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

@media (min-width: 640px) { :root { --gutter: 1.5rem; } }
@media (min-width: 1024px) { :root { --gutter: 2rem; } }

/* 2. Basis ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 6rem; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--foreground);
  background: var(--background);
  overflow-x: hidden;
}

/* Globale korrel: vaste laag boven alles, klikt niet mee */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  background-image: var(--grain);
  mix-blend-mode: multiply;
  opacity: 0.04;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  font-variation-settings: "SOFT" 100, "WONK" 0;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-wrap: balance;
  margin: 0 0 0.5em;
}
h1 { font-size: var(--text-3xl); font-weight: 800; }
h2 { font-size: var(--text-2xl); }
h3 { font-size: var(--text-lg); font-weight: 600; line-height: 1.3; }
p { margin: 0 0 1em; }

a { color: var(--primary); text-underline-offset: 3px; }

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 6px;
}

.icon { width: 1.5rem; height: 1.5rem; flex: none; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* Skiplink: verborgen tot hij focus krijgt */
.skip-link:focus {
  position: fixed; top: 1rem; left: 1rem; z-index: 200;
  width: auto; height: auto; clip: auto;
  padding: 0.75rem 1.25rem; border-radius: var(--radius-full);
  background: var(--primary); color: var(--primary-foreground); font-weight: 800;
}

/* 3. Layout ---------------------------------------------------------------- */
.container { width: 100%; max-width: 80rem; margin-inline: auto; padding-inline: var(--gutter); } /* max-w-7xl */
.container--focused { max-width: 72rem; }   /* max-w-6xl */
.container--intimate { max-width: 64rem; }  /* max-w-5xl */
.container--narrow { max-width: 48rem; }    /* max-w-3xl: FAQ */

.section { position: relative; padding-block: var(--section-y); overflow: hidden; }
.section--stone { background: rgba(240, 235, 229, 0.45); }
.section--sand { background: rgba(230, 220, 205, 0.35); }
.section--moss { background: var(--primary); color: var(--primary-foreground); }

/* Extra korrel op gekleurde secties: dubbele textuur */
.section--moss::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  mix-blend-mode: soft-light;
  opacity: 0.25;
  pointer-events: none;
}

.section-head { max-width: 42rem; margin-bottom: 4rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { font-size: var(--text-lg); color: var(--muted-foreground); }
.section--moss .section-head p { color: var(--primary-foreground); opacity: 0.9; }

.eyebrow {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--secondary-strong);
  margin-bottom: 1rem;
}
.section--moss .eyebrow { color: var(--accent); }

.grid { display: grid; gap: 2rem; }
@media (min-width: 768px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .grid--features { grid-template-columns: repeat(4, 1fr); }
}

/* 4. Componenten ----------------------------------------------------------- */

/* Knoppen: altijd pillen */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0 2rem;
  border: 2px solid transparent;
  border-radius: var(--radius-full);
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) ease,
    background-color var(--duration) ease, color var(--duration) ease;
}
.btn:hover { transform: scale(1.05); }
.btn:active { transform: scale(0.95); }
.btn .icon { width: 1.25rem; height: 1.25rem; transition: transform var(--duration) var(--ease); }
.btn:hover .icon { transform: translateX(3px); }

.btn--primary { background: var(--primary); color: var(--primary-foreground); box-shadow: var(--shadow-soft); }
.btn--primary:hover { box-shadow: var(--shadow-soft-hover); }
.btn--outline { border-color: var(--secondary); color: var(--secondary-strong); background: transparent; }
.btn--outline:hover { background: rgba(193, 140, 93, 0.1); }
.btn--ghost { color: var(--primary); background: transparent; }
.btn--ghost:hover { background: rgba(93, 112, 82, 0.1); }
.btn--light { background: var(--primary-foreground); color: var(--primary); box-shadow: var(--shadow-float); }
.btn--sm { min-height: 2.75rem; padding: 0 1.25rem; font-size: var(--text-sm); }
.btn--lg { min-height: 3.5rem; padding: 0 2.5rem; font-size: var(--text-lg); }

/* Kaarten: zachte rand, getinte schaduw, steeds een andere vorm */
.card {
  position: relative;
  background: var(--card);
  border: 1px solid rgba(222, 216, 207, 0.5);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  padding: 2rem;
  transition: transform var(--duration-slow) var(--ease), box-shadow var(--duration-slow) ease;
}
.card p { color: var(--muted-foreground); margin: 0; }
.card--lift:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.card--tilt:hover { transform: rotate(1deg) translateY(-2px); box-shadow: var(--shadow-lift); }

/* Zes afwisselende hoekpatronen tegen mechanische gelijkvormigheid */
.shape-1 { border-radius: 4rem 2rem 2rem 2rem; }
.shape-2 { border-radius: 2rem 5rem 2rem 2rem; }
.shape-3 { border-radius: 2rem 2rem 4rem 2rem; }
.shape-4 { border-radius: 2rem 2rem 2rem 5rem; }
.shape-5 { border-radius: 5rem 2rem 4rem 2rem; }
.shape-6 { border-radius: 2rem 4rem 2rem 5rem; }

/* Icoonhouder: vult zich met mos bij hover van de kaart */
.icon-box {
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 1.5rem;
  border-radius: var(--radius);
  background: rgba(93, 112, 82, 0.1);
  color: var(--primary);
  transition: background-color var(--duration) ease, color var(--duration) ease;
}
.icon-box .icon { width: 1.75rem; height: 1.75rem; }
.card:hover .icon-box { background: var(--primary); color: #fff; }
.icon-box--clay { background: rgba(193, 140, 93, 0.15); color: var(--secondary-strong); }
.card:hover .icon-box--clay { background: var(--secondary); color: var(--foreground); }

/* Blobs: grote, wazige kleurvlekken op de achtergrond */
.blob {
  position: absolute;
  z-index: 0;
  border-radius: var(--blob-1);
  filter: blur(64px);
  opacity: 0.35;
  pointer-events: none;
}
.blob--moss { background: var(--primary); }
.blob--clay { background: var(--secondary); }
.blob--sand { background: var(--accent); opacity: 0.8; }
.blob--shape-2 { border-radius: var(--blob-2); }
.blob--shape-3 { border-radius: var(--blob-3); }
.section > .container { position: relative; z-index: 1; }

/* Positie per blob (vervangt inline style-attributen, zodat de CSP geen 'unsafe-inline' nodig heeft) */
.blob--hero-a   { width: 34rem; height: 34rem; top: -8rem; right: -10rem; }
.blob--hero-b   { width: 22rem; height: 22rem; bottom: 4rem; left: -8rem; opacity: 0.18; }
.blob--solution { width: 26rem; height: 26rem; top: 10%; right: -12rem; opacity: 0.2; }
.blob--demo     { width: 30rem; height: 30rem; bottom: -12rem; right: -6rem; opacity: 0.25; }
.blob--cta-a    { width: 20rem; height: 20rem; top: -8rem; left: -6rem; }
.cta .blob.blob--cta-b { width: 16rem; height: 16rem; bottom: -8rem; right: -4rem; opacity: 0.3; }

/* Navigatie: zwevende glazen pil */
.nav-wrap {
  position: sticky;
  top: 1rem;
  z-index: 50;
  padding-inline: var(--gutter);
  margin-top: 1rem;
}
.nav {
  max-width: 72rem;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0.5rem 0.5rem 0.75rem;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(222, 216, 207, 0.5);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-soft);
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-variation-settings: "SOFT" 100;
  font-weight: 700;
  font-size: var(--text-lg);
  color: var(--foreground);
  text-decoration: none;
}
.logo-mark {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 22%;
  box-shadow: var(--shadow-soft);
}

.nav-links { display: none; align-items: center; gap: 0.25rem; list-style: none; margin: 0; padding: 0; }
.nav-links a:not(.btn) {
  display: block;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-full);
  color: var(--accent-foreground);
  font-weight: 700;
  text-decoration: none;
  transition: background-color var(--duration) ease, color var(--duration) ease;
}
.nav-links a:not(.btn):hover { background: rgba(93, 112, 82, 0.1); color: var(--primary); }

.lang-switch {
  display: inline-grid;
  place-items: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 800;
  color: var(--accent-foreground);
  text-decoration: none;
  transition: border-color var(--duration) ease, color var(--duration) ease;
}
.lang-switch:hover { border-color: var(--primary); color: var(--primary); }

.nav-actions { display: flex; align-items: center; gap: 0.5rem; }
.nav-toggle {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: 50%;
  background: rgba(93, 112, 82, 0.1);
  color: var(--primary);
  cursor: pointer;
}
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.nav-panel {
  max-width: 72rem;
  margin: 0.5rem auto 0;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(222, 216, 207, 0.5);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-lift);
}
.nav-panel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.25rem; }
.nav-panel a {
  display: block;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-lg);
  color: var(--foreground);
  font-weight: 700;
  text-decoration: none;
}
.nav-panel a:hover { background: rgba(93, 112, 82, 0.1); color: var(--primary); }

@media (min-width: 768px) {
  .nav-links { display: flex; }
  .nav-toggle, .nav-panel { display: none !important; }
}

/* 5. Secties --------------------------------------------------------------- */

/* Hero */
.hero { padding-top: clamp(4rem, 8vw, 6rem); }
.hero-grid { display: grid; gap: 4rem; align-items: center; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1.15fr 1fr; } }
.hero h1 em { font-style: italic; font-weight: 600; color: var(--primary); }
.hero-lead { font-size: var(--text-lg); color: var(--muted-foreground); max-width: 34rem; margin-bottom: 2.5rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* Hero-beeld: een "wiki-kaartje" als handgemaakte foto, schuin op een mosblob */
.hero-visual { position: relative; display: grid; place-items: center; padding: 2rem 0.5rem; }
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 4% 6%;
  background: var(--primary);
  border-radius: var(--blob-2);
  opacity: 0.9;
  box-shadow: var(--shadow-float);
}
.wiki-card {
  position: relative;
  width: min(100%, 22rem);
  padding: 1.75rem;
  background: var(--card);
  border: 4px solid #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift), var(--shadow-float);
  transform: rotate(-2deg);
  transition: transform 700ms var(--ease);
}
.hero-visual:hover .wiki-card { transform: rotate(0deg) scale(1.03); }
.wiki-card h3 { font-size: var(--text-xl); margin-bottom: 0.25rem; }
.wiki-card .meta { font-size: var(--text-sm); color: var(--muted-foreground); margin-bottom: 1rem; }
.wiki-card ul { list-style: none; margin: 0; padding: 0; }
.wiki-card li { display: flex; gap: 0.6rem; padding: 0.5rem 0; border-top: 1px dashed var(--border); font-size: var(--text-sm); }
.wiki-card li .icon { width: 1.1rem; height: 1.1rem; color: var(--primary); margin-top: 0.2rem; }
.wiki-card .locked { color: var(--muted-foreground); font-style: italic; }
.wiki-card .locked .icon { color: var(--secondary-strong); }
.chip {
  position: absolute;
  top: -0.25rem;
  right: 0;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  background: var(--secondary);
  color: var(--foreground);
  font-size: var(--text-sm);
  font-weight: 800;
  box-shadow: var(--shadow-float);
  transform: rotate(4deg);
}

/* Kerngetallen */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 5rem;
  padding: 2.5rem;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(222, 216, 207, 0.5);
  border-radius: 3rem 2rem 4rem 2rem;
  box-shadow: var(--shadow-soft);
}
@media (min-width: 768px) { .stats { grid-template-columns: repeat(4, 1fr); gap: 3rem; } }
.stat { text-align: center; }
.stat dd { margin: 0; }
.stat strong {
  display: block;
  font-family: var(--font-heading);
  font-variation-settings: "SOFT" 100;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--primary);
  transition: transform var(--duration) var(--ease);
}
.stat:hover strong { transform: scale(1.1); }
.stat span { display: block; margin-top: 0.4rem; font-size: var(--text-sm); line-height: 1.4; color: var(--muted-foreground); font-weight: 700; }

.quote {
  max-width: 40rem;
  margin: 4rem auto 0;
  font-family: var(--font-heading);
  font-variation-settings: "SOFT" 100;
  font-size: var(--text-xl);
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
}
.quote em { color: var(--primary); }

/* Hoe werkt het: stappen met een handgetekende, gestippelde verbindingslijn */
.steps-wrap { position: relative; }
.steps { position: relative; display: grid; gap: 3rem; list-style: none; margin: 0; padding: 0; }
.steps-line { display: none; }
@media (min-width: 1024px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 2rem; }
  .steps-line {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4.5rem;
    color: var(--secondary);
    pointer-events: none;
  }
}
.step { position: relative; text-align: center; }
.step-num {
  display: grid;
  place-items: center;
  width: 4.5rem;
  height: 4.5rem;
  margin: 0 auto 1.5rem;
  background: var(--card);
  border: 2px solid rgba(193, 140, 93, 0.5);
  border-radius: var(--blob-1);
  box-shadow: var(--shadow-float);
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--secondary-strong);
  transition: border-radius 700ms ease, transform var(--duration) var(--ease);
}
.step:nth-child(odd) .step-num { border-radius: var(--blob-3); }
.step:hover .step-num { border-radius: 50%; transform: scale(1.08); }
.step p { color: var(--muted-foreground); max-width: 18rem; margin-inline: auto; }

/* Demo */
.demo-intro { font-size: var(--text-lg); opacity: 0.9; }
.demo-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .demo-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.demo-card { color: var(--foreground); padding: clamp(1.5rem, 4vw, 2.25rem); border-radius: 2rem 4rem 2rem 4rem; }
.demo-label { font-weight: 800; margin-bottom: 0.75rem; }

/* Stepper: alleen met de knoppen, bewust geen sleepbare slider */
.stepper { display: flex; align-items: center; gap: 0.75rem; }
.stepper output {
  flex: 1;
  display: grid;
  place-items: center;
  min-height: 3rem;
  padding: 0 1rem;
  border-radius: var(--radius-full);
  background: var(--secondary);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  text-align: center;
}
.step-btn {
  display: grid;
  place-items: center;
  flex: none;
  width: 3rem;
  height: 3rem;
  border: 0;
  border-radius: 50%;
  background: var(--primary);
  color: var(--primary-foreground);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) ease, opacity var(--duration) ease;
}
.step-btn:hover:not(:disabled) { transform: scale(1.05); box-shadow: var(--shadow-soft-hover); }
.step-btn:active:not(:disabled) { transform: scale(0.95); }
.step-btn:disabled { opacity: 0.35; cursor: not-allowed; box-shadow: none; }

/* Boekenlegger-spoor: één stip per leespositie, alleen ter indicatie */
.bookmark-track {
  position: relative;
  display: flex;
  justify-content: space-between;
  list-style: none;
  margin: 1.5rem 0.5rem 2rem;
  padding: 0;
}
.bookmark-track::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 3px;
  margin-top: -1.5px;
  border-radius: var(--radius-full);
  background: linear-gradient(to right, var(--primary) var(--fill, 0%), var(--border) var(--fill, 0%));
  transition: background var(--duration-slow) ease;
}
.bookmark-track li {
  position: relative;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: var(--card);
  border: 2px solid var(--border);
  transition: background-color var(--duration) ease, border-color var(--duration) ease, transform var(--duration) var(--ease);
}
.bookmark-track li.is-read { background: var(--primary); border-color: var(--primary); }
.bookmark-track li.is-current {
  transform: scale(1.6);
  border-radius: var(--blob-1);
  background: var(--secondary);
  border-color: var(--card);
  box-shadow: var(--shadow-float);
}

.entity h3 { font-size: var(--text-xl); }
.entity ul { list-style: none; margin: 0 0 1rem; padding: 0; }
.entity li {
  display: flex;
  gap: 0.75rem;
  align-items: baseline;
  padding: 0.6rem 0;
  border-bottom: 1px dashed var(--border);
}
.entity li.is-new { animation: grow-in var(--duration-slow) var(--ease); }
.tag {
  flex: none;
  min-width: 2.75rem;
  padding: 0.1rem 0.5rem;
  border-radius: var(--radius-full);
  background: rgba(93, 112, 82, 0.1);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 800;
  text-align: center;
}
.hidden-note { display: flex; gap: 0.5rem; color: var(--muted-foreground); font-style: italic; margin: 0; }

.check-list { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1rem; }
.check-list li { display: flex; gap: 0.75rem; align-items: flex-start; }
.check-list .icon {
  width: 1.75rem;
  height: 1.75rem;
  padding: 0.3rem;
  border-radius: 50%;
  background: rgba(243, 244, 241, 0.15);
}

/* Voor wie / prijs */
.audience .card h3 { font-size: var(--text-xl); }
.price-card { background: var(--secondary); border-color: transparent; box-shadow: var(--shadow-float); }
.price-card p { color: var(--foreground); }
.price-card .icon-box { background: rgba(255, 255, 255, 0.35); color: var(--foreground); }
.price-card:hover .icon-box { background: var(--foreground); color: var(--secondary); }
.price {
  display: block;
  font-family: var(--font-heading);
  font-variation-settings: "SOFT" 100;
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  margin: 0.25rem 0 0.75rem;
}

/* FAQ */
.faq { display: grid; gap: 1rem; }
.faq details {
  background: var(--card);
  border: 1px solid rgba(222, 216, 207, 0.5);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  transition: box-shadow var(--duration) ease;
}
.faq details[open] { box-shadow: var(--shadow-lift); }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 3rem;
  padding: 1.25rem 1.5rem;
  font-family: var(--font-heading);
  font-variation-settings: "SOFT" 100;
  font-size: var(--text-lg);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  border-radius: var(--radius-lg);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon {
  color: var(--primary);
  padding: 0.25rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgba(93, 112, 82, 0.1);
  transition: transform var(--duration-slow) var(--ease);
}
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details p { padding: 0 1.5rem 1.5rem; margin: 0; color: var(--muted-foreground); }

/* Slot-CTA */
.cta {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 5vw, 4rem);
  background: var(--secondary);
  border-radius: 5rem 2rem 5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-float);
}
.cta > * { position: relative; }
.cta p { max-width: 36rem; margin: 0 auto 2rem; font-size: var(--text-lg); }
.cta .blob { position: absolute; opacity: 0.5; }

/* Footer */
.footer { padding-block: 3rem; border-top: 1px solid var(--border); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.footer p { margin: 0; color: var(--muted-foreground); font-size: var(--text-sm); }

/* 6. Motion ---------------------------------------------------------------- */
@keyframes grow-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
  .btn:hover, .btn:active, .card--lift:hover, .card--tilt:hover, .stat:hover strong,
  .step:hover .step-num, .hero-visual:hover .wiki-card { transform: none; }
  .wiki-card { transform: rotate(-2deg) !important; }
}

/* 404-pagina */
.not-found-actions { justify-content: center; }

/* Knop naar de web-app: in de balk vanaf tablet, op mobiel onderaan het uitklapmenu */
.nav-app { display: none; white-space: nowrap; }
.nav-panel .nav-panel-app { display: flex; margin-top: 0.75rem; color: var(--primary-foreground); }
.nav-panel .nav-panel-app:hover { background: var(--primary); color: var(--primary-foreground); }
@media (min-width: 768px) {
  .nav-app { display: inline-flex; }
}
