/* Stichting Wiebeltenen */

:root {
  --roze: #e6007e;
  --roze-donker: #b8005f;
  --groen: #95c11f;
  --groen-donker: #4f6b0a;
  --blauw: #009fe3;
  --blauw-donker: #006a99;
  --inkt: #22212b;
  --tekst: #45434f;
  --zacht: #fff8f1;
  --wit: #fff;
  --lijn: #efe6dc;

  --kop: "Fredoka", system-ui, sans-serif;
  --body: "Nunito", system-ui, sans-serif;

  --radius: 22px;
  --schaduw: 0 12px 32px -14px rgba(34, 33, 43, 0.28);
  --breed: 1120px;
  --smal: 720px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--tekst);
  background: var(--zacht);
  -webkit-font-smoothing: antialiased;
}

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

h1,
h2,
h3 {
  font-family: var(--kop);
  font-weight: 600;
  color: var(--inkt);
  line-height: 1.15;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1.1em; }

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

a:hover { color: var(--roze); }

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

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

.smal {
  max-width: var(--smal);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--inkt);
  color: var(--wit);
  padding: 0.6rem 1rem;
  border-radius: 10px;
  z-index: 100;
}

.skip-link:focus { top: 1rem; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 248, 241, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--lijn);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
}

.logo img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  background: var(--wit);
  border-radius: 16px;
  padding: 3px;
  box-shadow: 0 4px 12px -6px rgba(34, 33, 43, 0.35);
}

.menu-knop {
  display: none;
  background: none;
  border: 2px solid var(--inkt);
  border-radius: 12px;
  font: 600 1rem var(--kop);
  color: var(--inkt);
  padding: 0.35rem 0.9rem;
  cursor: pointer;
}

.nav ul {
  list-style: none;
  display: flex;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
}

.nav a {
  display: block;
  font-family: var(--kop);
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--inkt);
  text-decoration: none;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
}

.nav a:hover { background: #fde3f0; color: var(--roze-donker); }

.nav a[aria-current="page"] {
  background: var(--roze);
  color: var(--wit);
}

@media (max-width: 760px) {
  .menu-knop { display: block; }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--zacht);
    border-bottom: 1px solid var(--lijn);
    display: none;
  }

  .nav.open { display: block; }

  .nav ul {
    flex-direction: column;
    padding: 0.75rem 1.25rem 1.25rem;
  }

  .nav a { padding: 0.7rem 1rem; }
}

/* ---------- Knoppen ---------- */

.knoppen {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.knop {
  display: inline-block;
  font-family: var(--kop);
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  background: var(--roze);
  color: var(--wit);
  box-shadow: 0 6px 0 var(--roze-donker);
  transition: transform 0.15s, box-shadow 0.15s;
}

.knop:hover {
  color: var(--wit);
  transform: translateY(2px);
  box-shadow: 0 4px 0 var(--roze-donker);
}

.knop-rand {
  background: var(--wit);
  color: var(--inkt);
  box-shadow: 0 6px 0 var(--lijn), inset 0 0 0 2px var(--inkt);
}

.knop-rand:hover {
  color: var(--inkt);
  box-shadow: 0 4px 0 var(--lijn), inset 0 0 0 2px var(--inkt);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 7vw, 6rem) 0 clamp(4rem, 8vw, 7rem);
}

.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}

.label {
  display: inline-block;
  font-family: var(--kop);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--groen-donker);
  background: #eef6d6;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.hero h1 .accent { color: var(--roze); }

.hero .lead {
  font-size: 1.2rem;
  max-width: 32em;
}

.hero-beeld {
  position: relative;
}

.hero-beeld img {
  border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%;
  box-shadow: var(--schaduw);
  aspect-ratio: 1;
  object-fit: contain;
  width: 100%;
  background: var(--wit);
  padding: 9%;
}

.hero-beeld::before,
.hero-beeld::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  z-index: -1;
}

.hero-beeld::before {
  width: 38%;
  aspect-ratio: 1;
  background: var(--groen);
  top: -6%;
  right: -4%;
}

.hero-beeld::after {
  width: 26%;
  aspect-ratio: 1;
  background: var(--blauw);
  bottom: -2%;
  left: -5%;
}

.noot {
  position: absolute;
  font-size: 2.2rem;
  line-height: 1;
  color: var(--roze);
  animation: wiebel 3.2s ease-in-out infinite;
}

.noot-1 { top: 8%; left: -2%; }
.noot-2 { bottom: 14%; right: -3%; color: var(--blauw); animation-delay: -1.4s; }

@keyframes wiebel {
  0%, 100% { transform: rotate(-10deg) translateY(0); }
  50% { transform: rotate(10deg) translateY(-8px); }
}

@media (prefers-reduced-motion: reduce) {
  .noot { animation: none; }
  html { scroll-behavior: auto; }
}

@media (max-width: 860px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-beeld { max-width: 420px; margin: 1rem auto 0; }
}

/* ---------- Secties ---------- */

.sectie {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}

.sectie-wit { background: var(--wit); }

.sectie-kop {
  max-width: 640px;
  margin-bottom: 2.5rem;
}

.sectie-kop.midden {
  text-align: center;
  margin-inline: auto;
}

.golf {
  display: block;
  width: 100%;
  height: 48px;
}

/* ---------- Kaarten ---------- */

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 1.5rem;
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.kaart {
  background: var(--wit);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--schaduw);
  border-top: 6px solid var(--roze);
  hyphens: auto;
  overflow-wrap: break-word;
}

.sectie-wit .kaart {
  background: var(--zacht);
  box-shadow: none;
}

.kaart.groen { border-top-color: var(--groen); }
.kaart.blauw { border-top-color: var(--blauw); }

.kaart > :last-child { margin-bottom: 0; }

.kaart .motto {
  font-family: var(--kop);
  font-size: 1.15rem;
  color: var(--inkt);
}

.icoon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  margin-bottom: 1rem;
  background: #fde3f0;
}

.icoon.groen { background: #eef6d6; }
.icoon.blauw { background: #dcf2fc; }
.icoon.geel { background: #fff1c9; }

.pijl-link {
  font-family: var(--kop);
  font-weight: 600;
  text-decoration: none;
}

.pijl-link::after {
  content: " →";
  transition: margin 0.2s;
}

.pijl-link:hover::after { margin-left: 0.25rem; }

/* ---------- Project ---------- */

.project {
  background: var(--inkt);
  color: #e9e7f0;
  position: relative;
  overflow: hidden;
}

.project h2,
.project h3 { color: var(--wit); }

.project a:not(.knop) { color: #7fd3f7; }

.project .label {
  background: rgba(149, 193, 31, 0.18);
  color: #c4e46a;
}

.project .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.project-beeld img {
  border-radius: var(--radius);
  aspect-ratio: 1;
  object-fit: cover;
  transform: rotate(-2deg);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.6);
}

.project.zonder-beeld .container {
  grid-template-columns: 1fr;
  max-width: 820px;
}

@media (max-width: 860px) {
  .project .container { grid-template-columns: 1fr; }
  .project-beeld { max-width: 440px; }
}

.stappen {
  list-style: none;
  padding: 0;
  margin: 1.75rem 0 0;
  display: grid;
  gap: 0.9rem;
  counter-reset: stap;
}

.stappen li {
  counter-increment: stap;
  display: grid;
  grid-template-columns: 2.6rem 1fr;
  gap: 1rem;
  align-items: start;
}

.stappen li::before {
  content: counter(stap);
  font-family: var(--kop);
  font-weight: 600;
  font-size: 1.15rem;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--roze);
  color: var(--wit);
}

.stappen li:nth-child(2)::before { background: var(--groen); color: var(--inkt); }
.stappen li:nth-child(3)::before { background: var(--blauw); color: var(--inkt); }

.stappen strong {
  display: block;
  font-family: var(--kop);
  font-weight: 600;
  color: inherit;
}

.project .stappen strong { color: var(--wit); }

/* ---------- Fondsen ---------- */

/* Zelfde kleur als de achtergrond van fondsen.webp, zodat die naadloos opgaat */
.fondsen {
  background: #161415;
  color: #c9c6d4;
  text-align: center;
  padding: 2.5rem 0 3rem;
}

.project + .fondsen {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.fondsen h2 {
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c9c6d4;
  margin-bottom: 1.5rem;
}

.fondsen-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
  align-items: center;
  justify-content: center;
}

.fondsen-logos img {
  height: auto;
  max-height: 200px;
  width: auto;
  max-width: 100%;
}

/* Kleur op wit; een wit vlak houdt het leesbaar op donker */
.fondsen-logos .op-wit {
  max-height: 130px;
  background: var(--wit);
  border-radius: 14px;
  padding: 12px;
}

/* ---------- Ambitie ---------- */

.cijfers {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.cijfers div {
  background: var(--wit);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--schaduw);
  border-top: 6px solid var(--roze);
  text-align: center;
}

.cijfers strong {
  display: block;
  font-family: var(--kop);
  font-weight: 600;
  font-size: clamp(1.9rem, 3.2vw, 2.5rem);
  line-height: 1.1;
  white-space: nowrap;
  color: var(--roze);
}

.cijfers span {
  display: block;
  margin-top: 0.35rem;
  font-family: var(--kop);
  font-size: 1.1rem;
  color: var(--inkt);
}

.cijfers div:nth-child(2) { border-top-color: var(--groen); }
.cijfers div:nth-child(2) strong { color: var(--groen-donker); }
.cijfers div:nth-child(3) { border-top-color: var(--blauw); }
.cijfers div:nth-child(3) strong { color: var(--blauw-donker); }

/* ---------- Citaat ---------- */

.stip {
  text-align: center;
}

.stip blockquote {
  margin: 0 auto;
  max-width: 820px;
  font-family: var(--kop);
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  line-height: 1.4;
  color: var(--inkt);
}

.stip blockquote::before {
  content: "";
  display: block;
  width: 64px;
  height: 8px;
  margin: 0 auto 1.5rem;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--roze) 0 33%, var(--groen) 33% 66%, var(--blauw) 66%);
}

.stip figcaption {
  margin-top: 1rem;
  font-size: 1rem;
}

/* ---------- Documenten ---------- */

.documenten {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.document {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--zacht);
  border: 2px solid var(--lijn);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--inkt);
  transition: border-color 0.2s, transform 0.2s;
}

.document:hover {
  color: var(--inkt);
  border-color: var(--roze);
  transform: translateY(-2px);
}

.document .icoon { margin: 0; flex-shrink: 0; }

.document strong {
  display: block;
  font-family: var(--kop);
  font-weight: 600;
  font-size: 1.1rem;
}

.document span { font-size: 0.9rem; color: var(--tekst); }

.anbi {
  margin-top: 1.5rem;
  padding: 1.5rem 1.75rem;
  border-radius: var(--radius);
  background: #eef6d6;
}

.anbi h3 {
  color: var(--groen-donker);
  margin-bottom: 0.4rem;
}

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

/* ---------- Bestuur & contact ---------- */

.bestuur {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.bestuur li {
  background: var(--wit);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--schaduw);
}

.avatar {
  width: 64px;
  height: 64px;
  margin: 0 auto 0.75rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--kop);
  font-weight: 600;
  font-size: 1.4rem;
  color: var(--wit);
  background: var(--roze);
}

.bestuur li:nth-child(2) .avatar { background: var(--groen); color: var(--inkt); }
.bestuur li:nth-child(3) .avatar { background: var(--blauw); color: var(--inkt); }

.bestuur strong {
  display: block;
  font-family: var(--kop);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--inkt);
}

.contact {
  margin-top: 2.5rem;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  background: var(--wit);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--schaduw);
}

.contact h3 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--roze-donker);
  margin-bottom: 0.4rem;
}

.contact p { margin: 0; }

.contact a { word-break: break-word; }

/* ---------- Tekstpagina's ---------- */

.pagina-kop {
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3rem);
  text-align: center;
}

.pagina-kop .lead {
  font-size: 1.25rem;
  max-width: 36em;
  margin-inline: auto;
}

.inhoud {
  background: var(--wit);
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.inhoud h2 {
  margin-top: 2.5rem;
}

.inhoud h2:first-child { margin-top: 0; }

.inhoud .motto {
  font-family: var(--kop);
  font-size: 1.35rem;
  line-height: 1.45;
  color: var(--roze-donker);
  border-left: 5px solid var(--roze);
  padding-left: 1.25rem;
  margin: 0 0 1.5rem;
}

.inhoud .motto.groen {
  color: var(--groen-donker);
  border-color: var(--groen);
}

.bolletjes {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: grid;
  gap: 0.6rem;
}

.bolletjes li {
  position: relative;
  padding: 0.85rem 1rem 0.85rem 3rem;
  background: var(--zacht);
  border-radius: 14px;
}

.bolletjes li::before {
  content: "♪";
  position: absolute;
  left: 1.1rem;
  top: 0.8rem;
  font-weight: 700;
  color: var(--roze);
}

.bolletjes.groen li::before { color: var(--groen-donker); }

.scheiding {
  border: 0;
  height: 8px;
  width: 64px;
  margin: 3rem 0;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--roze) 0 33%, var(--groen) 33% 66%, var(--blauw) 66%);
}

.uitgelicht {
  background: #eef6d6;
  border-radius: var(--radius);
  padding: 1.75rem 2rem;
  margin: 2rem 0;
}

.uitgelicht > :last-child { margin-bottom: 0; }

.uitgelicht h3 { color: var(--groen-donker); }

.praktisch {
  border: 2px solid var(--lijn);
  border-radius: var(--radius);
  padding: 1.75rem 2rem;
  margin: 2.5rem 0 0;
}

.praktisch h2 {
  margin-top: 0;
  font-size: 1.5rem;
}

.praktisch dl {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.5rem 1.5rem;
  margin: 0;
}

.praktisch dt {
  font-family: var(--kop);
  font-weight: 600;
  color: var(--inkt);
}

.praktisch dd { margin: 0; }

@media (max-width: 480px) {
  .praktisch dl { grid-template-columns: 1fr; gap: 0.1rem; }
  .praktisch dd { margin-bottom: 0.6rem; }
}

.inhoud figure {
  margin: 2rem 0;
}

.inhoud figure img {
  border-radius: var(--radius);
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--inkt);
  color: #c9c6d4;
  padding: 3.5rem 0 2rem;
  font-size: 0.95rem;
}

.site-footer a { color: #fff; }
.site-footer a:hover { color: #7fd3f7; }

.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.4fr 1fr 1fr;
  align-items: start;
}

@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-logo {
  width: 84px;
  background: var(--wit);
  border-radius: 18px;
  padding: 6px;
  margin-bottom: 1rem;
}

.site-footer h3 {
  color: var(--wit);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.site-footer p { margin: 0; }

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.copyright {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
}
