/* Beter voor Kinderen – bvkinderen.nl */

@font-face { font-family: "Fraunces"; font-weight: 100 900; font-style: normal; font-display: swap; src: url("../fonts/fraunces-var.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-weight: 100 900; font-style: italic; font-display: swap; src: url("../fonts/fraunces-var-italic.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 400; font-display: swap; src: url("../fonts/source-sans-3-400.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 600; font-display: swap; src: url("../fonts/source-sans-3-600.woff2") format("woff2"); }

:root {
  --paars: #800080;
  --paars-donker: #5c005c;
  --aubergine: #2c0a30;
  --lila: #f7edf7;
  --lila-rand: #e6cfe6;
  --creme: #fdf9f3;
  --geel: #f2b632;
  --inkt: #2b2330;
  --grijs: #62576a;
  --wit: #fff;
  --kop: "Fraunces", Georgia, "Times New Roman", serif;
  --tekst: "Source Sans 3", "Source Sans Pro", -apple-system, "Segoe UI", sans-serif;
  --radius: 18px;
  --stippel: 2px dashed var(--paars);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

body {
  margin: 0;
  background: var(--creme);
  color: var(--inkt);
  font-family: var(--tekst);
  font-size: 18px;
  line-height: 1.65;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--paars); text-underline-offset: 3px; }
a:hover { color: var(--paars-donker); }
:focus-visible { outline: 3px solid var(--geel); outline-offset: 3px; border-radius: 4px; }
strong, b { font-weight: 600; }

h1, h2, h3 {
  margin: 0;
  color: var(--aubergine);
  font-family: var(--kop);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.2rem, 1.3rem + 3.6vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1.2em; }

.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 12px; top: 12px; z-index: 100; padding: 10px 16px; background: var(--wit); border-radius: 8px; }

.kicker {
  margin: 0 0 14px;
  color: var(--paars);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.kicker a { color: inherit; text-decoration: none; }
.kicker a:hover { text-decoration: underline; }
.lead { max-width: 38em; margin: 20px 0 0; color: var(--grijs); font-size: 1.2rem; line-height: 1.6; }

/* Knoppen */
.knop {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border: 2px solid var(--paars);
  border-radius: 999px;
  background: var(--paars);
  color: var(--wit);
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, transform 0.15s;
}
.knop:hover { background: var(--paars-donker); border-color: var(--paars-donker); color: var(--wit); transform: translateY(-1px); }
.knop-rand { background: transparent; color: var(--paars); }
.knop-rand:hover { background: var(--paars); border-color: var(--paars); color: var(--wit); }
.knop-klein { padding: 9px 20px; }
.knop-licht { background: var(--wit); border-color: var(--wit); color: var(--paars); font-size: 1.25rem; }
.knop-licht:hover { background: var(--geel); border-color: var(--geel); color: var(--aubergine); }
.knop .icoon { width: 22px; height: 22px; }
.acties { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.tekstlink { font-weight: 600; text-decoration: none; border-bottom: 2px dashed currentColor; padding-bottom: 2px; }
.tekstlink::after { content: " →"; }
.tekstlink:hover { border-bottom-style: solid; }

/* Kop en menu */
.kop { position: sticky; top: 0; z-index: 40; background: rgba(253, 249, 243, 0.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--lila-rand); }
.kop-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.logo { flex: none; }
.logo img { width: 230px; }

.menu ul { list-style: none; margin: 0; padding: 0; }
.menu > ul { display: flex; align-items: center; gap: 6px; }
.menu > ul > li { position: relative; }
.menu a { text-decoration: none; }
.menu > ul > li > a:not(.knop) { display: block; padding: 10px 16px; border-radius: 999px; color: var(--aubergine); font-weight: 600; }
.menu > ul > li > a:not(.knop):hover,
.menu > ul > li > a[aria-current="page"]:not(.knop),
.menu > ul > li > a.actief { background: var(--lila); color: var(--paars); }
.menu .heeft-sub > a::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.menu .knop { margin-left: 10px; }

.sub {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 270px;
  padding: 10px !important;
  background: var(--wit);
  border: 1px solid var(--lila-rand);
  border-radius: var(--radius);
  box-shadow: 0 18px 40px -18px rgba(44, 10, 48, 0.35);
  visibility: hidden;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.15s, transform 0.15s, visibility 0.15s;
}
.heeft-sub:hover > .sub, .heeft-sub:focus-within > .sub { visibility: visible; opacity: 1; transform: none; }
.sub a { display: block; padding: 8px 14px; border-radius: 10px; color: var(--inkt); }
.sub a:hover, .sub a[aria-current="page"] { background: var(--lila); color: var(--paars); }
.sub .kind a { padding-left: 30px; color: var(--grijs); font-size: 0.94em; }
.sub .kind a::before { content: "– "; }

.menu-knop { display: none; }

@media (max-width: 820px) {
  .kop-in { flex-wrap: wrap; min-height: 68px; gap: 0 16px; }
  .logo img { width: 180px; }
  .menu-knop {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 16px;
    border: 2px solid var(--paars);
    border-radius: 999px;
    background: transparent;
    color: var(--paars);
    font: 600 1rem var(--tekst);
    cursor: pointer;
  }
  .menu-knop-streep { width: 18px; height: 2px; background: currentColor; box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor; }
  .menu { display: none; flex-basis: 100%; padding: 6px 0 18px; }
  .menu.open { display: block; }
  .menu > ul { display: block; }
  .menu > ul > li > a:not(.knop) { padding: 12px 14px; }
  .menu .heeft-sub > a::after { display: none; }
  .sub { position: static; visibility: visible; opacity: 1; transform: none; min-width: 0; padding: 0 0 6px 14px !important; border: 0; box-shadow: none; background: none; }
  .menu .knop { margin: 10px 0 0 14px; }
}

/* Lijstjes rond foto's: de stippellijn uit het logo */
.lijst { position: relative; }
.lijst img { position: relative; width: 100%; border-radius: var(--radius); }
.lijst::before {
  content: "";
  position: absolute;
  inset: 14px -14px -14px 14px;
  border: var(--stippel);
  border-radius: var(--radius);
}
.ballon { color: var(--paars); }

/* Hero */
.hero { overflow: hidden; padding: clamp(40px, 7vw, 88px) 0 clamp(56px, 8vw, 104px); }
.hero-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero h1 em { font-style: italic; font-weight: 500; color: var(--paars); }
.hero-beeld { position: relative; }
.hero-ballon { position: absolute; z-index: 2; top: -44px; right: 8px; width: 54px; transform: rotate(8deg); }
@media (max-width: 820px) {
  .hero-in { grid-template-columns: 1fr; }
  .hero-beeld { margin-right: 14px; }
}

/* Secties */
.sectie { padding: clamp(56px, 8vw, 104px) 0; }
.sectie + .sectie:not(.band) { padding-top: 0; }
.band { background: var(--lila); }
.band + .sectie { padding-top: clamp(56px, 8vw, 104px) !important; }
.sectiekop { max-width: 40em; margin-bottom: 40px; }

/* Aanbodkaarten */
.kaarten { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; list-style: none; margin: 0; padding: 0; }
.kaart {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 26px 24px 22px;
  background: var(--wit);
  border: 1px solid var(--lila-rand);
  border-radius: var(--radius);
  color: var(--inkt);
  text-decoration: none;
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
}
.kaart:hover { transform: translateY(-4px); border-color: var(--paars); box-shadow: 0 22px 40px -24px rgba(128, 0, 128, 0.45); color: var(--inkt); }
.kaart h3 { margin: 18px 0 8px; }
.kaart p { margin: 0 0 18px; color: var(--grijs); font-size: 1rem; line-height: 1.55; }
.kaart-meer { margin-top: auto; color: var(--paars); font-weight: 600; }
.kaart-icoon { display: grid; place-items: center; flex: none; width: 56px; height: 56px; border: var(--stippel); border-radius: 50%; background: var(--lila); color: var(--paars); }
.kaart-icoon .icoon { width: 28px; height: 28px; }
.kaart-contact { background: var(--paars); border-color: var(--paars); color: var(--wit); justify-content: flex-end; }
.kaart-contact h3, .kaart-contact .kaart-meer { color: var(--wit); }
.kaart-contact h3 { margin-top: 0; }
.kaart-contact p { color: #f1dcf1; }
.kaart-contact:hover { background: var(--paars-donker); color: var(--wit); }

/* Missie */
.missie { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(40px, 7vw, 96px); align-items: center; }
.missie-beeld { max-width: 380px; }
.missie blockquote { margin: 0 0 28px; }
.missie blockquote p { margin: 0; color: var(--aubergine); font-family: var(--kop); font-size: clamp(1.6rem, 1.2rem + 1.7vw, 2.4rem); font-style: italic; line-height: 1.25; }
.missie blockquote strong { color: var(--paars); font-style: normal; font-weight: 600; }
@media (max-width: 760px) {
  .missie { grid-template-columns: 1fr; }
  .missie-beeld { max-width: 300px; margin-right: 14px; }
}

/* Werkwijze */
.stappen { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; list-style: none; margin: 0; padding: 0; counter-reset: stap; }
.stappen li { counter-increment: stap; padding-top: 22px; border-top: var(--stippel); }
.stappen li::before { content: counter(stap); display: block; margin-bottom: 10px; color: var(--paars); font-family: var(--kop); font-size: 2.6rem; font-style: italic; line-height: 1; }
.stappen h3 { margin-bottom: 8px; }
.stappen p { margin: 0; color: var(--grijs); }

/* Paginakop en inhoud */
.paginakop { padding: clamp(40px, 6vw, 72px) 0 clamp(36px, 5vw, 56px); background: var(--lila); border-bottom: 1px solid var(--lila-rand); }
.pagina { padding-block: clamp(40px, 6vw, 72px) clamp(56px, 8vw, 96px); }
.pagina-met-zijbalk { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 860px) { .pagina-met-zijbalk { grid-template-columns: 1fr; } }

.proza { max-width: 42em; }
.proza-breed { max-width: 54em; }
.proza::after { content: ""; display: table; clear: both; }
.proza > :last-child { margin-bottom: 0; }
.proza h2 { margin: 1.7em 0 0.5em; font-size: 1.55rem; }
.proza h2:first-child { margin-top: 0; }
.proza h2 span { display: block; margin-bottom: 4px; color: var(--paars); font-family: var(--tekst); font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; }
.proza ul, .proza ol { margin: 0 0 1.2em; padding-left: 1.4em; }
.proza li { margin-bottom: 0.4em; }
.proza li::marker { color: var(--paars); font-weight: 600; }
.proza li > ol, .proza li > ul { margin: 0.4em 0 0.6em; }
.proza figure { margin: 0 0 1.5em; }
.proza figure.alignleft { float: left; width: min(42%, 320px); margin: 6px 44px 34px 0; }
.proza figure.alignright { float: right; width: min(46%, 380px); margin: 6px 14px 34px 40px; }
.proza figure.logo-vs { width: 150px; margin-right: 0; padding: 10px; background: var(--wit); border: 1px solid var(--lila-rand); border-radius: 12px; }
@media (max-width: 600px) {
  .proza figure.alignleft, .proza figure.alignright { float: none; width: auto; max-width: 320px; margin: 0 14px 34px 0; }
  .proza figure.logo-vs { max-width: 150px; }
}

.modules { list-style: none; padding: 0 !important; counter-reset: module; }
.modules li { counter-increment: module; position: relative; margin: 0 !important; padding: 12px 0 12px 52px; border-bottom: 1px solid var(--lila-rand); }
.modules li::before { content: counter(module); position: absolute; left: 0; top: 9px; display: grid; place-items: center; width: 34px; height: 34px; border: var(--stippel); border-radius: 50%; color: var(--paars); font-family: var(--kop); font-weight: 600; }

.jaren { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin: 0 0 1.5em; clear: both; }
.jaar { padding: 22px 24px; background: var(--wit); border: var(--stippel); border-radius: var(--radius); }
.jaar h3 { margin-bottom: 10px; color: var(--paars); font-style: italic; }
.jaar ul { margin: 0; }
.jaar li:last-child { margin-bottom: 0; }

/* Zijbalk */
.zijbalk { position: sticky; top: 108px; }
.zijbalk-blok { padding: 22px 14px 14px; background: var(--wit); border: 1px solid var(--lila-rand); border-radius: var(--radius); }
.zijbalk-kop { margin: 0 10px 8px; color: var(--paars); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.zijbalk ul { list-style: none; margin: 0; padding: 0; }
.zijbalk a { display: block; padding: 7px 10px; border-radius: 10px; color: var(--inkt); line-height: 1.35; text-decoration: none; }
.zijbalk a:hover { background: var(--lila); color: var(--paars); }
.zijbalk a[aria-current="page"] { background: var(--paars); color: var(--wit); font-weight: 600; }
.zijbalk ul ul a { padding-left: 26px; color: var(--grijs); font-size: 0.95em; }
@media (max-width: 860px) { .zijbalk { position: static; } }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(40px, 7vw, 96px); align-items: start; }
.contact-beeld { position: relative; max-width: 360px; }
.belkaart { display: inline-flex; align-items: center; gap: 20px; margin-bottom: 48px; padding: 22px 32px 22px 22px; background: var(--wit); border: var(--stippel); border-radius: var(--radius); text-decoration: none; transition: background 0.15s; }
.belkaart:hover { background: var(--lila); }
.belkaart-label { display: block; color: var(--grijs); }
.belkaart-nummer { display: block; color: var(--paars); font-family: var(--kop); font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.3rem); font-weight: 600; line-height: 1.2; }
@media (max-width: 760px) {
  .contact { grid-template-columns: 1fr; }
  .contact-beeld { max-width: 280px; margin-right: 14px; }
}

/* Oproep */
.oproep { background: var(--paars); color: var(--wit); }
.oproep-in { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 56px; padding-block: clamp(44px, 6vw, 72px); }
.oproep-in > div:first-of-type { flex: 1 1 380px; max-width: 36em; }
.oproep h2 { color: var(--wit); margin-bottom: 12px; }
.oproep p { margin: 0; color: #f1dcf1; }
.oproep-acties { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.oproep .tekstlink { color: var(--wit); }
.oproep-ballon { position: absolute; top: -34px; right: 0; width: 46px; color: var(--geel); transform: rotate(10deg); }

/* Voet */
.voet { background: var(--aubergine); color: #d9c9dc; font-size: 0.98rem; }
.voet-in { display: grid; grid-template-columns: 1.3fr 1.2fr 1fr 1.2fr; gap: 36px; padding-block: 56px 40px; }
.voet p { margin: 0 0 6px; }
.voet ul { list-style: none; margin: 0; padding: 0; }
.voet li { margin-bottom: 6px; }
.voet a { color: #d9c9dc; text-decoration: none; }
.voet a:hover { color: var(--wit); text-decoration: underline; }
.voet-naam { color: var(--wit); font-family: var(--kop); font-size: 1.4rem; font-style: italic; }
.voet-kop { margin-bottom: 12px !important; color: var(--geel); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.voet-onder { padding-block: 18px 24px; border-top: 1px solid rgba(255, 255, 255, 0.14); color: #a892ac; font-size: 0.88rem; }
@media (max-width: 820px) { .voet-in { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .voet-in { grid-template-columns: 1fr; } }
