/* ==========================================================================
   Opvangdossier, stijlblad
   Plakboek voor de kinderopvang: roomwit karton, ronde vormen,
   confettistippen, zacht koraal, boterbloemgeel en mintgroen.
   Koppen in Teko, lopende tekst in Saira. Mobiel eerst.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Ontwerpvariabelen
   -------------------------------------------------------------------------- */

:root {
  /* Grond en karton */
  --room: #fff7ec;
  --room-diep: #fbebd6;
  --karton: #ffffff;
  --karton-rand: #f0dfc7;

  /* Inkt */
  --inkt: #21332c;
  --inkt-zacht: #56645c;
  --inkt-diep: #16241e;

  /* Kleuren uit de opvang */
  --koraal: #f2765c;
  --koraal-licht: #ffd9cf;
  --koraal-diep: #c0442a;
  --boter: #f8c845;
  --boter-licht: #fdeec0;
  --boter-diep: #8a6210;
  --mint: #86d9bc;
  --mint-licht: #d8f3e8;
  --mint-diep: #17654e;

  /* Typografie */
  --kop: "Teko", "Oswald", "Arial Narrow", sans-serif;
  --tekst: "Saira", "Segoe UI", system-ui, -apple-system, sans-serif;
  --kop-spatie: 0.02em;

  /* Ruimte */
  --ruimte-1: 0.35rem;
  --ruimte-2: 0.7rem;
  --ruimte-3: 1.1rem;
  --ruimte-4: 1.7rem;
  --ruimte-5: 2.5rem;
  --ruimte-6: 3.6rem;
  --ruimte-7: 5rem;

  /* Vormen */
  --rond-klein: 12px;
  --rond: 22px;
  --rond-groot: 34px;
  --rond-blob: 46% 54% 58% 42% / 52% 44% 56% 48%;

  /* Schaduwen, zacht als vilt */
  --schaduw-1: 0 2px 0 rgba(33, 51, 44, 0.06), 0 6px 16px rgba(33, 51, 44, 0.07);
  --schaduw-2: 0 3px 0 rgba(33, 51, 44, 0.07), 0 14px 30px rgba(33, 51, 44, 0.1);
  --schaduw-3: 0 5px 0 rgba(33, 51, 44, 0.08), 0 26px 56px rgba(33, 51, 44, 0.14);

  /* Breedtes */
  --breed: 1180px;
  --smal: 720px;

  /* Overgangen */
  --soepel: 220ms cubic-bezier(0.34, 0.9, 0.4, 1);

  /* Confetti als herbruikbaar patroon */
  --confetti:
    radial-gradient(circle at 12% 22%, var(--koraal-licht) 0 6px, transparent 7px),
    radial-gradient(circle at 78% 12%, var(--boter-licht) 0 8px, transparent 9px),
    radial-gradient(circle at 32% 78%, var(--mint-licht) 0 7px, transparent 8px),
    radial-gradient(circle at 92% 66%, var(--koraal-licht) 0 5px, transparent 6px),
    radial-gradient(circle at 56% 42%, var(--boter-licht) 0 4px, transparent 5px);
}

/* --------------------------------------------------------------------------
   2. Basis
   -------------------------------------------------------------------------- */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body.thema-plakboek {
  margin: 0;
  padding: 0;
  background-color: var(--room);
  background-image:
    radial-gradient(circle at 8% 4%, rgba(248, 200, 69, 0.18) 0 3px, transparent 4px),
    radial-gradient(circle at 86% 9%, rgba(242, 118, 92, 0.16) 0 4px, transparent 5px),
    radial-gradient(circle at 24% 32%, rgba(134, 217, 188, 0.2) 0 3px, transparent 4px),
    radial-gradient(circle at 68% 58%, rgba(248, 200, 69, 0.14) 0 3px, transparent 4px),
    radial-gradient(circle at 44% 86%, rgba(242, 118, 92, 0.12) 0 3px, transparent 4px);
  background-size: 320px 320px, 420px 420px, 380px 380px, 460px 460px, 350px 350px;
  color: var(--inkt);
  font-family: var(--tekst);
  font-size: 1rem;
  line-height: 1.68;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1, h2, h3, h4 {
  font-family: var(--kop);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: var(--kop-spatie);
  margin: 0 0 var(--ruimte-3);
  color: var(--inkt-diep);
  text-wrap: balance;
}

h1 { font-size: clamp(2.6rem, 10vw, 4.1rem); }
h2 { font-size: clamp(2rem, 7vw, 3rem); }
h3 { font-size: clamp(1.5rem, 5vw, 1.95rem); }
h4 { font-size: 1.35rem; }

p { margin: 0 0 var(--ruimte-3); }

a {
  color: var(--mint-diep);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  transition: color var(--soepel);
}

a:hover { color: var(--koraal-diep); }

strong { font-weight: 700; color: var(--inkt-diep); }

ul, ol { margin: 0 0 var(--ruimte-3); padding-left: 1.35rem; }
li { margin-bottom: var(--ruimte-2); }

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

.verborgen { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.omhulsel {
  width: min(100% - 2rem, var(--breed));
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   3. Sprong naar de inhoud
   -------------------------------------------------------------------------- */

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -6rem;
  z-index: 999;
  background: var(--inkt-diep);
  color: var(--room);
  font-family: var(--kop);
  font-size: 1.3rem;
  letter-spacing: 0.04em;
  padding: 0.55rem 1.2rem;
  border-radius: 0 0 var(--rond) var(--rond);
  text-decoration: none;
  transition: top var(--soepel);
}

.skip-link:focus,
.skip-link:focus-visible {
  top: 0;
  color: var(--boter);
}

/* --------------------------------------------------------------------------
   4. Kop van de site
   -------------------------------------------------------------------------- */

.kop {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 247, 236, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--karton-rand);
}

.kop__balk {
  width: min(100% - 1.6rem, var(--breed));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--ruimte-3);
  min-height: 4.4rem;
}

.merk {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--inkt-diep);
}

.merk__stip {
  width: 2.4rem;
  height: 2.4rem;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--boter);
  color: var(--inkt-diep);
  font-family: var(--kop);
  font-size: 1.4rem;
  letter-spacing: 0;
  box-shadow: 0 0 0 4px var(--boter-licht);
  transition: transform var(--soepel);
}

.merk:hover .merk__stip { transform: rotate(-8deg) scale(1.05); }

.merk__naam {
  font-family: var(--kop);
  font-size: 1.85rem;
  line-height: 1;
  letter-spacing: 0.03em;
}

.merk__staart {
  display: block;
  font-family: var(--tekst);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--inkt-zacht);
  line-height: 1.2;
}

.menu-knop {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 2px solid var(--inkt-diep);
  background: var(--karton);
  color: var(--inkt-diep);
  font-family: var(--kop);
  font-size: 1.25rem;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  cursor: pointer;
}

.menu-knop__streep {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--inkt-diep);
  position: relative;
}

.menu-knop__streep::before,
.menu-knop__streep::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--inkt-diep);
}

.menu-knop__streep::before { top: -6px; }
.menu-knop__streep::after { top: 6px; }

.hoofdnav {
  display: none;
  padding-bottom: var(--ruimte-3);
}

.hoofdnav.is-open { display: block; }

.hoofdnav__lijst {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--ruimte-1);
}

.hoofdnav__link {
  display: block;
  padding: 0.6rem 0.9rem;
  border-radius: var(--rond-klein);
  font-weight: 600;
  color: var(--inkt);
  text-decoration: none;
  transition: background var(--soepel), color var(--soepel);
}

.hoofdnav__link:hover,
.hoofdnav__link:focus-visible {
  background: var(--mint-licht);
  color: var(--mint-diep);
}

.hoofdnav__link[aria-current="page"] {
  background: var(--boter-licht);
  color: var(--boter-diep);
}

/* --------------------------------------------------------------------------
   5. Knoppen
   -------------------------------------------------------------------------- */

.knop {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--kop);
  font-size: 1.4rem;
  letter-spacing: 0.05em;
  line-height: 1;
  padding: 0.75rem 1.6rem 0.62rem;
  border-radius: 999px;
  border: 2px solid var(--inkt-diep);
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--soepel), box-shadow var(--soepel), background var(--soepel);
}

.knop--vol {
  background: var(--koraal);
  color: var(--inkt-diep);
  box-shadow: 0 4px 0 var(--inkt-diep);
}

.knop--vol:hover {
  background: var(--boter);
  color: var(--inkt-diep);
  transform: translateY(-2px);
  box-shadow: 0 6px 0 var(--inkt-diep);
}

.knop--lijn {
  background: var(--karton);
  color: var(--inkt-diep);
  box-shadow: 0 4px 0 var(--mint);
}

.knop--lijn:hover {
  background: var(--mint-licht);
  color: var(--mint-diep);
  transform: translateY(-2px);
  box-shadow: 0 6px 0 var(--mint);
}

.knop--klein {
  font-size: 1.15rem;
  padding: 0.5rem 1.1rem 0.4rem;
}

.knop:active { transform: translateY(1px); box-shadow: 0 2px 0 var(--inkt-diep); }

/* --------------------------------------------------------------------------
   6. Plakboekkaarten, het basispatroon van alle secties
   -------------------------------------------------------------------------- */

.plak {
  position: relative;
  background: var(--karton);
  border: 2px solid var(--karton-rand);
  border-radius: var(--rond-groot);
  box-shadow: var(--schaduw-2);
  padding: var(--ruimte-4) var(--ruimte-3);
}

.plak::before {
  content: "";
  position: absolute;
  top: -0.7rem;
  left: 50%;
  transform: translateX(-50%) rotate(-3deg);
  width: 5.5rem;
  height: 1.4rem;
  background: rgba(248, 200, 69, 0.65);
  border-radius: 3px;
  box-shadow: inset 0 0 0 1px rgba(138, 98, 16, 0.15);
}

.plak--mint { background: var(--mint-licht); border-color: #bde7d6; }
.plak--boter { background: var(--boter-licht); border-color: #f3dc9a; }
.plak--koraal { background: var(--koraal-licht); border-color: #f8c1b4; }
.plak--kaal::before { display: none; }
.plak--los { margin-top: var(--ruimte-4); }

.blok {
  padding-block: var(--ruimte-6);
}

.blok--strak { padding-block: var(--ruimte-5); }

.blok__kop {
  max-width: 46ch;
  margin-bottom: var(--ruimte-4);
}

.rubriek {
  display: inline-block;
  font-family: var(--kop);
  font-size: 1.1rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--koraal-diep);
  background: var(--koraal-licht);
  border-radius: 999px;
  padding: 0.25rem 0.9rem 0.1rem;
  margin-bottom: var(--ruimte-2);
}

.rubriek--mint { color: var(--mint-diep); background: var(--mint-licht); }
.rubriek--boter { color: var(--boter-diep); background: var(--boter-licht); }

.lead {
  font-size: 1.12rem;
  color: var(--inkt-zacht);
  max-width: 62ch;
}

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  padding-block: var(--ruimte-5) var(--ruimte-6);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: -18%;
  top: -14%;
  width: 24rem;
  height: 24rem;
  border-radius: var(--rond-blob);
  background: radial-gradient(circle at 35% 35%, var(--boter-licht), var(--mint-licht));
  opacity: 0.7;
  z-index: 0;
  pointer-events: none;
}

.hero__raster {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--ruimte-5);
}

.hero__tekst { max-width: 34ch; }

.hero h1 { margin-bottom: var(--ruimte-3); }

.hero h1 em {
  font-style: normal;
  color: var(--koraal-diep);
  position: relative;
}

.hero h1 em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.1em;
  height: 0.16em;
  background: var(--boter);
  z-index: -1;
  border-radius: 999px;
}

.hero__belofte {
  font-size: 1.2rem;
  color: var(--inkt-zacht);
  max-width: 52ch;
}

.hero__acties {
  display: flex;
  flex-wrap: wrap;
  gap: var(--ruimte-2);
  margin-top: var(--ruimte-4);
}

.hero__voetnoot {
  margin-top: var(--ruimte-3);
  font-size: 0.9rem;
  color: var(--inkt-zacht);
}

.hero__plakboek {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--ruimte-3);
  align-items: start;
}

.ronde-vorm {
  position: relative;
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  padding: var(--ruimte-3);
  border: 3px solid var(--karton);
  box-shadow: var(--schaduw-2);
}

.ronde-vorm--koraal { background: var(--koraal); }
.ronde-vorm--boter { background: var(--boter); }
.ronde-vorm--mint { background: var(--mint); }
.ronde-vorm--room { background: var(--room-diep); }

.ronde-vorm--kantel-a { transform: rotate(-4deg); }
.ronde-vorm--kantel-b { transform: rotate(5deg); margin-top: var(--ruimte-4); }
.ronde-vorm--kantel-c { transform: rotate(3deg); }
.ronde-vorm--kantel-d { transform: rotate(-6deg); margin-top: calc(var(--ruimte-3) * -1); }

.ronde-vorm__cijfer {
  font-family: var(--kop);
  font-size: 2.4rem;
  line-height: 1;
  color: var(--inkt-diep);
}

.ronde-vorm__woord {
  font-size: 0.85rem;
  line-height: 1.3;
  color: var(--inkt-diep);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   8. Probleem en oplossing
   -------------------------------------------------------------------------- */

.pijn-lijst {
  list-style: none;
  padding: 0;
  margin: var(--ruimte-4) 0 0;
  display: grid;
  gap: var(--ruimte-3);
}

.pijn-lijst li {
  position: relative;
  padding-left: 2.6rem;
  margin: 0;
}

.pijn-lijst li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: var(--koraal-licht);
  box-shadow: inset 0 0 0 3px var(--koraal);
}

.stappen {
  list-style: none;
  counter-reset: stap;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--ruimte-4);
}

.stap {
  position: relative;
  counter-increment: stap;
  background: var(--karton);
  border: 2px solid var(--karton-rand);
  border-radius: var(--rond);
  padding: var(--ruimte-4) var(--ruimte-3) var(--ruimte-3);
  box-shadow: var(--schaduw-1);
  margin: 0;
}

.stap::before {
  content: counter(stap);
  position: absolute;
  top: -1.2rem;
  left: var(--ruimte-3);
  width: 2.6rem;
  height: 2.6rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--mint);
  color: var(--inkt-diep);
  font-family: var(--kop);
  font-size: 1.7rem;
  border: 3px solid var(--karton);
}

.stap h3 { margin-bottom: var(--ruimte-2); }
.stap p { margin-bottom: 0; color: var(--inkt-zacht); }

/* --------------------------------------------------------------------------
   9. Functies en voordelen
   -------------------------------------------------------------------------- */

.raster {
  display: grid;
  gap: var(--ruimte-3);
}

.functie {
  background: var(--karton);
  border: 2px solid var(--karton-rand);
  border-radius: var(--rond);
  padding: var(--ruimte-3);
  box-shadow: var(--schaduw-1);
  transition: transform var(--soepel), box-shadow var(--soepel);
}

.functie:hover {
  transform: translateY(-4px) rotate(-0.6deg);
  box-shadow: var(--schaduw-2);
}

.functie__stip {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--kop);
  font-size: 1.5rem;
  color: var(--inkt-diep);
  margin-bottom: var(--ruimte-2);
}

.functie:nth-child(3n+1) .functie__stip { background: var(--koraal-licht); box-shadow: inset 0 0 0 3px var(--koraal); }
.functie:nth-child(3n+2) .functie__stip { background: var(--boter-licht); box-shadow: inset 0 0 0 3px var(--boter); }
.functie:nth-child(3n+3) .functie__stip { background: var(--mint-licht); box-shadow: inset 0 0 0 3px var(--mint); }

.functie h3 { font-size: 1.5rem; margin-bottom: var(--ruimte-1); }
.functie p { margin-bottom: 0; color: var(--inkt-zacht); font-size: 0.97rem; }

.voordelen {
  background: var(--inkt-diep);
  color: var(--room);
  border-radius: var(--rond-groot);
  padding: var(--ruimte-5) var(--ruimte-3);
  background-image: var(--confetti);
  background-size: 300px 300px;
  background-blend-mode: soft-light;
}

.voordelen h2 { color: var(--boter); }
.voordelen .lead { color: #cfe0d7; }

.voordeel-lijst {
  list-style: none;
  padding: 0;
  margin: var(--ruimte-4) 0 0;
  display: grid;
  gap: var(--ruimte-3);
}

.voordeel-lijst li {
  margin: 0;
  padding: var(--ruimte-3);
  border-radius: var(--rond);
  background: rgba(255, 247, 236, 0.08);
  border: 1px solid rgba(255, 247, 236, 0.18);
}

.voordeel-lijst strong {
  display: block;
  font-family: var(--kop);
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  color: var(--mint);
  margin-bottom: var(--ruimte-1);
}

/* --------------------------------------------------------------------------
   10. Vertrouwen
   -------------------------------------------------------------------------- */

.vertrouwen__raster {
  display: grid;
  gap: var(--ruimte-3);
}

.eerlijk {
  background: var(--karton);
  border: 2px dashed var(--mint);
  border-radius: var(--rond);
  padding: var(--ruimte-3);
}

.eerlijk h3 { font-size: 1.45rem; }

.eerlijk ul { margin-bottom: 0; }

.voorbeeldkader {
  margin-top: var(--ruimte-4);
  background: var(--room-diep);
  border: 2px solid var(--karton-rand);
  border-left: 8px solid var(--koraal);
  border-radius: var(--rond);
  padding: var(--ruimte-3);
}

.voorbeeldkader__label {
  font-family: var(--kop);
  font-size: 1.05rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--koraal-diep);
  display: block;
  margin-bottom: var(--ruimte-1);
}

/* --------------------------------------------------------------------------
   11. Tarieven
   -------------------------------------------------------------------------- */

.tarieven__raster {
  display: grid;
  gap: var(--ruimte-4);
}

.tarief {
  position: relative;
  background: var(--karton);
  border: 2px solid var(--karton-rand);
  border-radius: var(--rond-groot);
  padding: var(--ruimte-4) var(--ruimte-3);
  box-shadow: var(--schaduw-1);
  display: flex;
  flex-direction: column;
}

.tarief--uitgelicht {
  border-color: var(--koraal);
  box-shadow: var(--schaduw-3);
}

.tarief__vlag {
  position: absolute;
  top: -0.9rem;
  right: var(--ruimte-3);
  background: var(--koraal);
  color: var(--inkt-diep);
  font-family: var(--kop);
  font-size: 1.05rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.8rem 0.05rem;
  border-radius: 999px;
  border: 2px solid var(--karton);
}

.tarief__naam { font-size: 2rem; margin-bottom: var(--ruimte-1); }

.tarief__prijs {
  font-family: var(--kop);
  font-size: 3.2rem;
  line-height: 1;
  color: var(--mint-diep);
  margin-bottom: var(--ruimte-1);
}

.tarief__prijs span {
  font-family: var(--tekst);
  font-size: 0.95rem;
  color: var(--inkt-zacht);
  font-weight: 500;
}

.tarief__wat { color: var(--inkt-zacht); font-size: 0.97rem; }

.tarief__lijst {
  list-style: none;
  padding: 0;
  margin: var(--ruimte-3) 0;
  flex: 1 1 auto;
}

.tarief__lijst li {
  position: relative;
  padding-left: 1.7rem;
  font-size: 0.97rem;
}

.tarief__lijst li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: var(--boter);
  box-shadow: 0 0 0 3px var(--boter-licht);
}

.tarieven__voet {
  margin-top: var(--ruimte-4);
  font-size: 0.92rem;
  color: var(--inkt-zacht);
}

/* --------------------------------------------------------------------------
   12. Veelgestelde vragen
   -------------------------------------------------------------------------- */

.vragen { display: grid; gap: var(--ruimte-2); }

.vraag {
  background: var(--karton);
  border: 2px solid var(--karton-rand);
  border-radius: var(--rond);
  padding: var(--ruimte-2) var(--ruimte-3);
  box-shadow: var(--schaduw-1);
}

.vraag[open] { border-color: var(--mint); }

.vraag summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--kop);
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  color: var(--inkt-diep);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding-block: 0.35rem;
}

.vraag summary::-webkit-details-marker { display: none; }

.vraag summary::before {
  content: "+";
  flex: 0 0 auto;
  width: 1.8rem;
  height: 1.8rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--boter-licht);
  color: var(--boter-diep);
  font-size: 1.4rem;
  line-height: 1;
  transition: transform var(--soepel), background var(--soepel);
}

.vraag[open] summary::before {
  content: "+";
  transform: rotate(45deg);
  background: var(--mint-licht);
  color: var(--mint-diep);
}

.vraag__antwoord {
  padding-top: var(--ruimte-1);
  color: var(--inkt-zacht);
}

.vraag__antwoord p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   13. Artikelkaarten
   -------------------------------------------------------------------------- */

.kaarten {
  display: grid;
  gap: var(--ruimte-4);
}

.kaart {
  display: flex;
  flex-direction: column;
  background: var(--karton);
  border: 2px solid var(--karton-rand);
  border-radius: var(--rond-groot);
  overflow: hidden;
  box-shadow: var(--schaduw-1);
  transition: transform var(--soepel), box-shadow var(--soepel);
}

.kaart:hover {
  transform: translateY(-5px) rotate(0.5deg);
  box-shadow: var(--schaduw-3);
}

.kaart__beeld {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--room-diep);
}

.kaart__beeld img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.kaart:hover .kaart__beeld img { transform: scale(1.04); }

.kaart__rubriek {
  position: absolute;
  left: var(--ruimte-2);
  bottom: var(--ruimte-2);
  background: var(--boter);
  color: var(--inkt-diep);
  font-family: var(--kop);
  font-size: 1.05rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.75rem 0.05rem;
  border-radius: 999px;
}

.kaart__body {
  padding: var(--ruimte-3);
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.kaart__titel {
  font-size: clamp(1.35rem, 1.15rem + 0.55vw, 1.6rem);
  line-height: 1.14;
  margin-bottom: var(--ruimte-2);
  overflow-wrap: break-word;
  hyphens: auto;
}

.kaart__titel a { color: var(--inkt-diep); text-decoration: none; }
.kaart__titel a:hover { color: var(--koraal-diep); text-decoration: underline; }

.kaart__tekst { color: var(--inkt-zacht); font-size: 0.97rem; flex: 1 1 auto; }

.kaart__meta {
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--inkt-zacht);
  margin: 0;
}

.meer-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: var(--ruimte-4);
  font-family: var(--kop);
  font-size: 1.35rem;
  letter-spacing: 0.05em;
  color: var(--mint-diep);
  text-decoration: none;
  border-bottom: 3px solid var(--mint);
  padding-bottom: 2px;
}

.meer-link:hover { color: var(--koraal-diep); border-color: var(--koraal); }

/* --------------------------------------------------------------------------
   14. Contactformulier
   -------------------------------------------------------------------------- */

.contact__raster { display: grid; gap: var(--ruimte-4); }

.contact__uitleg p:last-child { margin-bottom: 0; }

.contact__mail {
  display: block;
  margin-top: var(--ruimte-3);
  font-weight: 600;
}

.formulier {
  background: var(--karton);
  border: 2px solid var(--karton-rand);
  border-radius: var(--rond-groot);
  padding: var(--ruimte-4) var(--ruimte-3);
  box-shadow: var(--schaduw-2);
  display: grid;
  gap: 0.35rem;
}

.formulier label {
  font-family: var(--kop);
  font-size: 1.3rem;
  letter-spacing: 0.03em;
  color: var(--inkt-diep);
  margin-top: var(--ruimte-2);
}

.formulier input,
.formulier select,
.formulier textarea {
  font-family: var(--tekst);
  font-size: 1rem;
  color: var(--inkt);
  background: var(--room);
  border: 2px solid var(--karton-rand);
  border-radius: var(--rond-klein);
  padding: 0.7rem 0.85rem;
  width: 100%;
  transition: border-color var(--soepel), box-shadow var(--soepel);
}

.formulier input:hover,
.formulier select:hover,
.formulier textarea:hover { border-color: var(--mint); }

.formulier input:focus,
.formulier select:focus,
.formulier textarea:focus {
  outline: none;
  border-color: var(--koraal);
  box-shadow: 0 0 0 4px var(--koraal-licht);
}

.formulier textarea { resize: vertical; min-height: 8rem; }

.formulier button { margin-top: var(--ruimte-3); width: 100%; }

.formulier__klein {
  font-size: 0.85rem;
  color: var(--inkt-zacht);
  margin: var(--ruimte-2) 0 0;
}

/* --------------------------------------------------------------------------
   15. Voet van de site
   -------------------------------------------------------------------------- */

.voet {
  margin-top: var(--ruimte-6);
  background: var(--inkt-diep);
  color: #dbe7e1;
  background-image: var(--confetti);
  background-size: 340px 340px;
  background-blend-mode: soft-light;
  border-top: 6px solid var(--boter);
}

.voet__raster {
  width: min(100% - 2rem, var(--breed));
  margin-inline: auto;
  padding-block: var(--ruimte-5);
  display: grid;
  gap: var(--ruimte-4);
}

.voet h2 {
  font-size: 1.45rem;
  color: var(--boter);
  margin-bottom: var(--ruimte-2);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.voet p { color: #c3d5cd; font-size: 0.95rem; }

.voet a { color: #eaf3ef; text-decoration: none; }
.voet a:hover { color: var(--boter); text-decoration: underline; }

.voet__lijst { list-style: none; padding: 0; margin: 0; }
.voet__lijst li { margin-bottom: 0.6rem; font-size: 0.95rem; line-height: 1.4; }

.voet__merk .merk__naam { color: var(--room); }
.voet__merk .merk__staart { color: #a9c6bb; }

.voet__mail { font-weight: 600; color: var(--boter); }

.netwerk {
  background: rgba(255, 247, 236, 0.07);
  border: 1px solid rgba(248, 200, 69, 0.35);
  border-radius: var(--rond);
  padding: var(--ruimte-3);
}

.netwerk h2 { color: var(--mint); }

.netwerk__lijst { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.55rem; }

.netwerk__link {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.5rem 0.6rem;
  border-radius: var(--rond-klein);
  font-size: 0.93rem;
  line-height: 1.45;
  transition: background var(--soepel), transform var(--soepel);
}

.netwerk__link::before {
  content: "";
  flex: 0 0 auto;
  width: 0.7rem;
  height: 0.7rem;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: var(--koraal);
}

.netwerk__lijst li:nth-child(2) .netwerk__link::before { background: var(--boter); }
.netwerk__lijst li:nth-child(3) .netwerk__link::before { background: var(--mint); }
.netwerk__lijst li:nth-child(4) .netwerk__link::before { background: var(--koraal-licht); }
.netwerk__lijst li:nth-child(5) .netwerk__link::before { background: var(--boter-licht); }

.netwerk__link:hover {
  background: rgba(255, 247, 236, 0.12);
  transform: translateX(3px);
}

.voet__balk {
  border-top: 1px solid rgba(255, 247, 236, 0.18);
}

.voet__balk-inner {
  width: min(100% - 2rem, var(--breed));
  margin-inline: auto;
  padding-block: var(--ruimte-3);
  display: flex;
  flex-wrap: wrap;
  gap: var(--ruimte-2);
  justify-content: space-between;
  font-size: 0.87rem;
  color: #b7cbc3;
}

/* --------------------------------------------------------------------------
   16. Kruimelpad van de generator
   -------------------------------------------------------------------------- */

.kruimels {
  width: min(100% - 2rem, var(--breed));
  margin: var(--ruimte-3) auto 0;
  font-size: 0.85rem;
}

.kruimels__lijst {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}

.kruimels__item {
  margin: 0;
  color: var(--inkt-zacht);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.kruimels__item + .kruimels__item::before {
  content: "";
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--koraal);
  display: inline-block;
}

.kruimels__item a { color: var(--mint-diep); text-decoration: none; }
.kruimels__item a:hover { text-decoration: underline; }

/* --------------------------------------------------------------------------
   17. Artikelopmaak van de generator
   -------------------------------------------------------------------------- */

.artikel { padding-block: var(--ruimte-4) var(--ruimte-6); }

.artikel__inner {
  width: min(100% - 2rem, var(--smal));
  margin-inline: auto;
}

.artikel-kop { margin-bottom: var(--ruimte-4); }

.artikel-kop__rubriek {
  display: inline-block;
  font-family: var(--kop);
  font-size: 1.1rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mint-diep);
  background: var(--mint-licht);
  border-radius: 999px;
  padding: 0.25rem 0.9rem 0.1rem;
  margin-bottom: var(--ruimte-2);
}

.artikel-kop__titel {
  font-size: clamp(2.3rem, 8vw, 3.5rem);
  margin-bottom: var(--ruimte-3);
}

.artikel-kop__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.1rem;
  font-size: 0.86rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--inkt-zacht);
  border-top: 2px dotted var(--karton-rand);
  border-bottom: 2px dotted var(--karton-rand);
  padding-block: 0.6rem;
}

.artikel-kop__auteur { font-weight: 600; color: var(--inkt); }
.artikel-kop__auteur a { color: var(--mint-diep); }
.artikel-kop__datum { color: var(--inkt-zacht); }
.artikel-kop__leestijd { color: var(--koraal-diep); font-weight: 600; }

.artikel-hero {
  margin: var(--ruimte-4) 0;
}

.artikel-hero__foto {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--rond-groot);
  border: 4px solid var(--karton);
  box-shadow: var(--schaduw-2);
}

.artikel-hero__credit {
  display: block;
  margin-top: var(--ruimte-2);
  font-size: 0.78rem;
  color: var(--inkt-zacht);
  text-align: right;
}

.artikel-hero__credit a { color: var(--inkt-zacht); }

/* Lopende tekst binnen het artikel */

.artikel__body { font-size: 1.05rem; }

.artikel__body .chapo {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--inkt-diep);
  font-weight: 500;
  background: var(--boter-licht);
  border-radius: var(--rond);
  padding: var(--ruimte-3);
  border-left: 8px solid var(--boter);
}

.artikel__body h2 {
  font-size: clamp(1.85rem, 6vw, 2.4rem);
  margin-top: var(--ruimte-5);
  padding-top: var(--ruimte-2);
  border-top: 3px solid var(--karton-rand);
}

.artikel__body h3 {
  font-size: clamp(1.4rem, 5vw, 1.7rem);
  margin-top: var(--ruimte-4);
  color: var(--mint-diep);
}

.artikel__body p { margin-bottom: var(--ruimte-3); }

.artikel__body ul,
.artikel__body ol {
  padding-left: 1.4rem;
  margin-bottom: var(--ruimte-3);
}

.artikel__body ul { list-style: none; padding-left: 0; }

.artikel__body ul li {
  position: relative;
  padding-left: 1.7rem;
}

.artikel__body ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--koraal);
  box-shadow: 0 0 0 3px var(--koraal-licht);
}

.artikel__body ol { counter-reset: nr; list-style: none; padding-left: 0; }

.artikel__body ol li {
  position: relative;
  counter-increment: nr;
  padding-left: 2.2rem;
}

.artikel__body ol li::before {
  content: counter(nr);
  position: absolute;
  left: 0;
  top: 0.15rem;
  width: 1.6rem;
  height: 1.6rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--mint-licht);
  color: var(--mint-diep);
  font-family: var(--kop);
  font-size: 1.15rem;
}

.artikel__body a {
  color: var(--mint-diep);
  text-decoration: underline;
  text-decoration-color: var(--mint);
}

.artikel__body a:hover {
  color: var(--koraal-diep);
  text-decoration-color: var(--koraal);
}

.artikel__body strong { color: var(--inkt-diep); }

.artikel__body blockquote {
  margin: var(--ruimte-4) 0;
  padding: var(--ruimte-3) var(--ruimte-3) var(--ruimte-3) var(--ruimte-4);
  background: var(--mint-licht);
  border-radius: var(--rond);
  border-left: 8px solid var(--mint);
  font-size: 1.1rem;
  color: var(--inkt-diep);
}

.artikel__body blockquote p:last-child { margin-bottom: 0; }

.artikel__body table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--ruimte-4) 0;
  font-size: 0.95rem;
  background: var(--karton);
  border-radius: var(--rond);
  overflow: hidden;
  box-shadow: var(--schaduw-1);
  display: block;
  overflow-x: auto;
  white-space: nowrap;
}

.artikel__body table th,
.artikel__body table td {
  padding: 0.65rem 0.85rem;
  text-align: left;
  border-bottom: 1px solid var(--karton-rand);
}

.artikel__body table th {
  background: var(--boter-licht);
  font-family: var(--kop);
  font-size: 1.25rem;
  letter-spacing: 0.03em;
  color: var(--inkt-diep);
}

.artikel__body table tr:last-child td { border-bottom: none; }

/* --------------------------------------------------------------------------
   18. Auteursblok en verder lezen
   -------------------------------------------------------------------------- */

.auteur-blok {
  margin-top: var(--ruimte-5);
  background: var(--karton);
  border: 2px solid var(--karton-rand);
  border-radius: var(--rond-groot);
  padding: var(--ruimte-4) var(--ruimte-3);
  box-shadow: var(--schaduw-1);
  display: grid;
  gap: var(--ruimte-3);
  justify-items: center;
  text-align: center;
}

.auteur-blok__foto {
  width: 6.5rem;
  height: 6.5rem;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--boter);
  box-shadow: 0 0 0 6px var(--boter-licht);
}

.auteur-blok__naam { font-size: 1.7rem; margin-bottom: var(--ruimte-1); }

.auteur-blok__bio { color: var(--inkt-zacht); margin-bottom: var(--ruimte-2); }

.auteur-blok__links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--ruimte-2);
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

.auteur-blok__links li { margin: 0; }

.auteur-blok__links a {
  display: inline-block;
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  background: var(--mint-licht);
  color: var(--mint-diep);
  font-size: 0.88rem;
  text-decoration: none;
}

.auteur-blok__links a:hover { background: var(--koraal-licht); color: var(--koraal-diep); }

.verder {
  width: min(100% - 2rem, var(--breed));
  margin: var(--ruimte-6) auto 0;
}

.verder__kop {
  font-size: clamp(1.8rem, 6vw, 2.4rem);
  margin-bottom: var(--ruimte-4);
}

.verder__lijst {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--ruimte-3);
}

.verder__item {
  margin: 0;
  background: var(--karton);
  border: 2px solid var(--karton-rand);
  border-radius: var(--rond);
  overflow: hidden;
  box-shadow: var(--schaduw-1);
  transition: transform var(--soepel), box-shadow var(--soepel);
}

.verder__item:hover { transform: translateY(-4px); box-shadow: var(--schaduw-2); }

.verder__link { display: block; text-decoration: none; color: inherit; }

.verder__foto {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.verder__titel {
  display: block;
  font-family: var(--kop);
  font-size: 1.45rem;
  letter-spacing: 0.02em;
  color: var(--inkt-diep);
  padding: var(--ruimte-3) var(--ruimte-3) 0;
}

.verder__link:hover .verder__titel { color: var(--koraal-diep); }

.verder__meta {
  display: block;
  padding: 0.4rem var(--ruimte-3) var(--ruimte-3);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--inkt-zacht);
}

/* --------------------------------------------------------------------------
   19. Foutpagina
   -------------------------------------------------------------------------- */

.fout { padding-block: var(--ruimte-7); }

.fout__inner {
  width: min(100% - 2rem, var(--smal));
  margin-inline: auto;
  text-align: center;
  background: var(--karton);
  border: 2px solid var(--karton-rand);
  border-radius: var(--rond-groot);
  padding: var(--ruimte-5) var(--ruimte-3);
  box-shadow: var(--schaduw-2);
}

.fout__code {
  font-family: var(--kop);
  font-size: clamp(4.5rem, 22vw, 8rem);
  line-height: 0.9;
  color: var(--koraal);
  display: block;
  margin-bottom: var(--ruimte-2);
}

.fout__titel { font-size: clamp(1.9rem, 7vw, 2.7rem); }

.fout__tekst { color: var(--inkt-zacht); max-width: 46ch; margin-inline: auto; }

.fout__acties {
  display: flex;
  flex-wrap: wrap;
  gap: var(--ruimte-2);
  justify-content: center;
  margin-top: var(--ruimte-4);
}

.fout__knop {
  display: inline-flex;
  align-items: center;
  font-family: var(--kop);
  font-size: 1.35rem;
  letter-spacing: 0.05em;
  padding: 0.65rem 1.4rem 0.52rem;
  border-radius: 999px;
  border: 2px solid var(--inkt-diep);
  background: var(--koraal);
  color: var(--inkt-diep);
  text-decoration: none;
  box-shadow: 0 4px 0 var(--inkt-diep);
}

.fout__knop:hover { background: var(--boter); color: var(--inkt-diep); }

.fout__link { color: var(--mint-diep); font-weight: 600; }

/* --------------------------------------------------------------------------
   20. Losse pagina's, tekstopmaak
   -------------------------------------------------------------------------- */

.pagina { padding-block: var(--ruimte-5) var(--ruimte-6); }

.pagina__inner {
  width: min(100% - 2rem, var(--smal));
  margin-inline: auto;
}

.tekstblok h2 {
  margin-top: var(--ruimte-5);
  font-size: clamp(1.8rem, 6vw, 2.3rem);
}

.tekstblok h3 { margin-top: var(--ruimte-4); color: var(--mint-diep); }

.tekstblok ul li::marker { color: var(--koraal); }

.lijst-blok {
  background: var(--karton);
  border: 2px solid var(--karton-rand);
  border-radius: var(--rond);
  padding: var(--ruimte-3);
  box-shadow: var(--schaduw-1);
  margin-bottom: var(--ruimte-3);
}

.lijst-blok h2 { margin-top: 0; font-size: 1.6rem; }

/* --------------------------------------------------------------------------
   21. Beweging
   -------------------------------------------------------------------------- */

@keyframes wiebel {
  0%, 100% { transform: rotate(-3deg); }
  50% { transform: rotate(3deg); }
}

@keyframes zweef {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

@keyframes stip-op {
  from { opacity: 0; transform: scale(0.6); }
  to { opacity: 1; transform: scale(1); }
}

.merk__stip { animation: zweef 6s ease-in-out infinite; }

.ronde-vorm--kantel-b { animation: zweef 7s ease-in-out infinite 0.4s; }

.rubriek { animation: stip-op 400ms ease-out both; }

.plak::before { animation: wiebel 12s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* --------------------------------------------------------------------------
   22. Breekpunten
   -------------------------------------------------------------------------- */

@media (min-width: 640px) {
  .plak { padding: var(--ruimte-5) var(--ruimte-4); }
  .raster { grid-template-columns: repeat(2, 1fr); }
  .kaarten { grid-template-columns: repeat(2, 1fr); }
  .verder__lijst { grid-template-columns: repeat(2, 1fr); }
  .voordeel-lijst { grid-template-columns: repeat(2, 1fr); }
  .stappen { grid-template-columns: repeat(2, 1fr); }
  .voet__raster { grid-template-columns: repeat(2, 1fr); }
  .formulier { padding: var(--ruimte-5) var(--ruimte-4); }
  .formulier button { width: auto; justify-self: start; }
  .auteur-blok {
    grid-template-columns: auto 1fr;
    justify-items: start;
    text-align: left;
    align-items: center;
  }
  .auteur-blok__links { justify-content: flex-start; }
  .hero__plakboek { gap: var(--ruimte-4); }
}

@media (min-width: 900px) {
  .kop__balk { min-height: 5rem; }

  .menu-knop { display: none; }

  .hoofdnav {
    display: block;
    padding-bottom: 0;
  }

  .hoofdnav__lijst {
    flex-direction: row;
    align-items: center;
    gap: var(--ruimte-1);
  }

  .hero__raster {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: var(--ruimte-6);
  }

  .hero { padding-block: var(--ruimte-6) var(--ruimte-7); }

  .raster { grid-template-columns: repeat(3, 1fr); }
  .kaarten { grid-template-columns: repeat(3, 1fr); }
  .verder__lijst { grid-template-columns: repeat(3, 1fr); }
  .tarieven__raster { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
  .stappen { grid-template-columns: repeat(4, 1fr); }
  .vertrouwen__raster { grid-template-columns: repeat(2, 1fr); }

  .contact__raster {
    grid-template-columns: 0.85fr 1.15fr;
    align-items: start;
    gap: var(--ruimte-5);
  }

  .voet__raster { grid-template-columns: repeat(3, 1fr); }

  .blok { padding-block: var(--ruimte-7); }

  .artikel__body { font-size: 1.08rem; }

  .plak { padding: var(--ruimte-5); }
}

@media (min-width: 1200px) {
  body.thema-plakboek { font-size: 1.03rem; }

  .voet__raster { grid-template-columns: 1.4fr 0.8fr 0.9fr 0.9fr 1.2fr; }

  .voordeel-lijst { grid-template-columns: repeat(4, 1fr); }

  .hero::after { width: 30rem; height: 30rem; right: -8%; }

  .artikel__inner { width: min(100% - 3rem, 760px); }
}

/* --------------------------------------------------------------------------
   23. Afdrukken
   -------------------------------------------------------------------------- */

@media print {
  body.thema-plakboek { background: #ffffff; color: #000000; }
  .kop, .voet, .hero__plakboek, .formulier, .skip-link { display: none; }
  .plak, .kaart, .artikel__body table { box-shadow: none; border: 1px solid #999999; }
  a { color: #000000; text-decoration: underline; }
}

/* --------------------------------------------------------------------------
   24. Overige pagina's: auteur, blog, juridisch, sitemap en bedankt
   -------------------------------------------------------------------------- */

.pagina__inner--ruim { width: min(100% - 2rem, 940px); }

.kaarten--los { margin-top: var(--ruimte-5); }

.blok__kop--los { margin-top: var(--ruimte-6); }

.paginakop { margin-bottom: var(--ruimte-5); }

.paginakop h1 { margin-bottom: var(--ruimte-2); }

.paginakop__lead {
  font-size: 1.14rem;
  line-height: 1.62;
  color: var(--inkt-zacht);
  max-width: 62ch;
  margin-bottom: 0;
}

.paginakop::after {
  content: "";
  display: block;
  width: 11rem;
  max-width: 60%;
  height: 0.6rem;
  margin-top: var(--ruimte-3);
  border-radius: 999px;
  background: linear-gradient(90deg,
    var(--koraal) 0 33.3%,
    var(--boter) 33.3% 66.6%,
    var(--mint) 66.6% 100%);
}

.datum-regel {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--inkt-zacht);
  margin-top: var(--ruimte-3);
}

/* Inhoudsopgave van de juridische pagina's */

.inhoudsopgave {
  background: var(--boter-licht);
  border: 2px solid #f3dc9a;
  border-radius: var(--rond);
  padding: var(--ruimte-3);
  margin-bottom: var(--ruimte-5);
}

.inhoudsopgave__kop {
  font-size: 1.45rem;
  margin-bottom: var(--ruimte-2);
  color: var(--boter-diep);
}

.inhoudsopgave__lijst {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--ruimte-1);
}

.inhoudsopgave__lijst li { margin: 0; }

.inhoudsopgave__lijst a {
  color: var(--boter-diep);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid rgba(138, 98, 16, 0.28);
}

.inhoudsopgave__lijst a:hover,
.inhoudsopgave__lijst a:focus-visible {
  color: var(--koraal-diep);
  border-color: var(--koraal);
}

/* Gegevens in het colofon */

.gegevenslijst { margin: 0 0 var(--ruimte-4); }

.gegevenslijst > div {
  display: grid;
  gap: 0.15rem;
  padding: var(--ruimte-2) 0;
  border-bottom: 2px dotted var(--karton-rand);
}

.gegevenslijst > div:last-child { border-bottom: none; }

.gegevenslijst dt {
  font-family: var(--kop);
  font-size: 1.3rem;
  line-height: 1.1;
  letter-spacing: 0.03em;
  color: var(--mint-diep);
}

.gegevenslijst dd { margin: 0; }

/* Notitie, een kleine terzijde binnen de lopende tekst */

.notitie {
  background: var(--mint-licht);
  border: 2px dashed var(--mint);
  border-radius: var(--rond);
  padding: var(--ruimte-3);
  margin: var(--ruimte-4) 0;
}

.notitie p:last-child { margin-bottom: 0; }

.notitie strong { color: var(--mint-diep); }

/* Tabel op een gewone pagina */

.tabel-omhulsel {
  overflow-x: auto;
  margin: var(--ruimte-4) 0;
  border-radius: var(--rond);
  box-shadow: var(--schaduw-1);
}

.datatabel {
  width: 100%;
  border-collapse: collapse;
  background: var(--karton);
  font-size: 0.95rem;
}

.datatabel th,
.datatabel td {
  padding: 0.65rem 0.85rem;
  text-align: left;
  border-bottom: 1px solid var(--karton-rand);
  vertical-align: top;
}

.datatabel th {
  background: var(--mint-licht);
  font-family: var(--kop);
  font-size: 1.25rem;
  letter-spacing: 0.03em;
  color: var(--inkt-diep);
}

.datatabel tr:last-child td { border-bottom: none; }

/* Auteurspagina */

.auteurkop {
  display: grid;
  gap: var(--ruimte-4);
  align-items: center;
  margin-bottom: var(--ruimte-5);
}

.auteurkop__portret {
  position: relative;
  justify-self: center;
  isolation: isolate;
}

.auteurkop__portret::before {
  content: "";
  position: absolute;
  inset: -2rem;
  z-index: -1;
  border-radius: 50%;
  background-image: var(--confetti);
  background-size: 150px 150px;
  opacity: 0.9;
}

.auteurkop__foto {
  width: 12rem;
  height: 12rem;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid var(--karton);
  box-shadow: 0 0 0 8px var(--boter-licht), var(--schaduw-2);
}

.auteurkop__tekst h1 { margin-bottom: var(--ruimte-2); }

.auteurkop__zin {
  font-size: 1.14rem;
  color: var(--inkt-zacht);
  margin-bottom: var(--ruimte-3);
}

.profiellinks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--ruimte-2);
}

.profiellinks li { margin: 0; }

.profiellinks a {
  display: inline-block;
  padding: 0.4rem 1rem 0.3rem;
  border-radius: 999px;
  background: var(--karton);
  border: 2px solid var(--karton-rand);
  color: var(--inkt-diep);
  font-family: var(--kop);
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  box-shadow: var(--schaduw-1);
  transition: transform var(--soepel), background var(--soepel), color var(--soepel);
}

.profiellinks a:hover,
.profiellinks a:focus-visible {
  background: var(--boter);
  color: var(--inkt-diep);
  transform: translateY(-2px) rotate(-1.5deg);
}

/* Genummerde artikelindex, gebruikt op de auteurspagina */

.artikelindex {
  list-style: none;
  counter-reset: art;
  padding: 0;
  margin: var(--ruimte-4) 0 0;
  display: grid;
  gap: var(--ruimte-3);
}

.artikelindex li {
  counter-increment: art;
  margin: 0;
  position: relative;
  background: var(--karton);
  border: 2px solid var(--karton-rand);
  border-radius: var(--rond);
  padding: var(--ruimte-3) var(--ruimte-3) var(--ruimte-3) 4.2rem;
  box-shadow: var(--schaduw-1);
  transition: transform var(--soepel), box-shadow var(--soepel);
}

.artikelindex li:hover {
  transform: translateY(-3px) rotate(-0.4deg);
  box-shadow: var(--schaduw-2);
}

.artikelindex li::before {
  content: counter(art);
  position: absolute;
  left: var(--ruimte-3);
  top: var(--ruimte-3);
  width: 2.3rem;
  height: 2.3rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-family: var(--kop);
  font-size: 1.45rem;
  color: var(--inkt-diep);
}

.artikelindex li:nth-child(3n+1)::before { background: var(--koraal-licht); box-shadow: inset 0 0 0 3px var(--koraal); }
.artikelindex li:nth-child(3n+2)::before { background: var(--boter-licht); box-shadow: inset 0 0 0 3px var(--boter); }
.artikelindex li:nth-child(3n+3)::before { background: var(--mint-licht); box-shadow: inset 0 0 0 3px var(--mint); }

.artikelindex__titel {
  display: block;
  font-family: var(--kop);
  font-size: 1.45rem;
  line-height: 1.16;
  overflow-wrap: break-word;
  letter-spacing: 0.02em;
  color: var(--inkt-diep);
  text-decoration: none;
}

.artikelindex__titel:hover { color: var(--koraal-diep); text-decoration: underline; }

.artikelindex__meta {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.8rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--inkt-zacht);
}

.artikelindex__zin {
  margin: var(--ruimte-2) 0 0;
  font-size: 0.97rem;
  color: var(--inkt-zacht);
}

/* Sitemap */

.sitemapraster {
  display: grid;
  gap: var(--ruimte-4);
  margin-top: var(--ruimte-4);
}

.sitemapkolom {
  background: var(--karton);
  border: 2px solid var(--karton-rand);
  border-radius: var(--rond-groot);
  padding: var(--ruimte-4) var(--ruimte-3);
  box-shadow: var(--schaduw-1);
}

.sitemapkolom h2 {
  font-size: 1.7rem;
  margin-bottom: var(--ruimte-2);
  color: var(--mint-diep);
}

.sitemaplijst {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--ruimte-2);
}

.sitemaplijst li { margin: 0; position: relative; padding-left: 1.5rem; }

.sitemaplijst li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--boter);
  box-shadow: 0 0 0 3px var(--boter-licht);
}

.sitemaplijst a { color: var(--inkt); text-decoration: none; font-weight: 600; line-height: 1.4; }
.sitemaplijst a:hover { color: var(--koraal-diep); text-decoration: underline; }

.sitemaplijst span {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--inkt-zacht);
}

/* Bedanktpagina */

.bedankt-hero { text-align: center; }

.bedankt-hero__vink {
  width: 5.5rem;
  height: 5.5rem;
  margin: 0 auto var(--ruimte-3);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--mint);
  border: 4px solid var(--karton);
  box-shadow: var(--schaduw-2);
  font-family: var(--kop);
  font-size: 2.6rem;
  line-height: 1;
  color: var(--inkt-diep);
  animation: zweef 6s ease-in-out infinite;
}

.bedankt-hero .paginakop__lead { margin-inline: auto; }

.bedankt-hero::after { margin-inline: auto; }

.bedankt-acties {
  display: flex;
  flex-wrap: wrap;
  gap: var(--ruimte-2);
  justify-content: center;
  margin-top: var(--ruimte-4);
}

/* Breekpunten voor deze pagina's */

@media (min-width: 640px) {
  .inhoudsopgave__lijst { grid-template-columns: repeat(2, 1fr); }
  .gegevenslijst > div {
    grid-template-columns: 14rem 1fr;
    gap: var(--ruimte-3);
    align-items: baseline;
  }
  .sitemapraster { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .auteurkop {
    grid-template-columns: auto 1fr;
    gap: var(--ruimte-6);
    justify-items: start;
  }
  .auteurkop__portret { justify-self: start; }
  .auteurkop__foto { width: 14rem; height: 14rem; }
  .artikelindex { grid-template-columns: repeat(2, 1fr); }
  .sitemapraster { grid-template-columns: repeat(3, 1fr); }
}
