:root {
  /* Verloop uit het Instagram-logo */
  --brand-blue: #3f6bff;
  --brand-purple: #a65cf0;
  --brand-red: #e8384a;
  --brand-orange: #ff9a3c;
  --brand-gradient: linear-gradient(120deg, var(--brand-blue) 0%, var(--brand-purple) 30%, var(--brand-red) 62%, var(--brand-orange) 100%);

  /* Afdelingskleuren, zoals de Instagram-highlights */
  --speelclub: linear-gradient(135deg, #ffd23f, #ff9b2e);
  --speelclub-solid: #ffc02e;
  --rakwi: linear-gradient(135deg, #12a150, #6fd36b);
  --rakwi-solid: #1fa347;
  --tito: linear-gradient(135deg, #e3192b, #ff7a2e);
  --tito-solid: #e3192b;
  --keti: linear-gradient(135deg, #1f5fd6, #4fc6ea);
  --keti-solid: #2b6fd6;
  --aspi: linear-gradient(135deg, #ff6fae, #ffb347);
  --aspi-solid: #ff8a4c;

  --bg: #fffaf3;
  --bg-tint: #f7f0ff;
  --ink: #1c1530;
  --muted: #5b5470;
  --card: #ffffff;
  --line: rgba(28, 21, 48, 0.12);

  --radius: 22px;
  --wrap: 1140px;
  --font-head: "Fredoka", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 700; line-height: 1.05; margin: 0 0 .5em; }
h1 { font-size: clamp(2.6rem, 7vw, 5.2rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
h3 { font-size: 1.45rem; font-weight: 600; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }
.center { text-align: center; }

/* Gekantelde labels, zoals het logo */
.tag {
  display: inline-block; font-family: var(--font-head); font-weight: 600;
  font-size: .95rem; letter-spacing: .02em;
  background: #fff; color: var(--ink); padding: .3em .9em; border-radius: 999px;
  transform: rotate(-3deg); margin-bottom: 1rem;
}
.tag-dark { background: var(--ink); color: #fff; }

/* Afdelingsverlopen */
.g-speelclub { --g: var(--speelclub); --c: var(--speelclub-solid); }
.g-rakwi     { --g: var(--rakwi);     --c: var(--rakwi-solid); }
.g-tito      { --g: var(--tito);      --c: var(--tito-solid); }
.g-keti      { --g: var(--keti);      --c: var(--keti-solid); }
.g-aspi      { --g: var(--aspi);      --c: var(--aspi-solid); }

/* Knoppen */
.btn {
  display: inline-block; text-decoration: none; font-family: var(--font-head); font-weight: 600;
  font-size: 1.05rem; background: var(--brand-gradient); background-origin: border-box; color: #fff;
  padding: .75em 1.5em; border-radius: 999px; border: 2px solid transparent;
  transition: transform .15s, box-shadow .15s;
  box-shadow: 0 6px 18px rgba(166, 92, 240, .3);
}
.btn:hover { transform: translateY(-2px) rotate(-1deg); }
.btn-small { padding: .45em 1.15em; font-size: .95rem; }
.btn-white { background: #fff; color: var(--ink); box-shadow: 0 6px 18px rgba(28, 21, 48, .2); }
.btn-outline { background: transparent; color: #fff; border-color: #fff; box-shadow: none; }
.btn-outline:hover { background: #fff; color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; box-shadow: none; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 250, 243, .92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; align-items: center; gap: .6em; text-decoration: none; font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; }
.logo img { width: 44px; height: 44px; border-radius: 50%; }
.nav { display: flex; align-items: center; gap: 1.5rem; }
.nav a:not(.btn) { text-decoration: none; font-weight: 800; }
.nav a:not(.btn):hover { color: var(--brand-red); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 3px; background: var(--ink); margin: 4px 0; border-radius: 2px; transition: .2s; }

@media (max-width: 1100px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 8px 16px 20px; display: none;
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 14px; text-align: center; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* Hero in de stijl van het logo */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(circle at 100% 100%, rgba(255, 255, 255, .55), transparent 28%),
    radial-gradient(circle at 0% 100%, var(--brand-blue), transparent 45%),
    radial-gradient(circle at 0% 0%, var(--brand-purple), transparent 50%),
    radial-gradient(circle at 100% 0%, #ffad3b, transparent 50%),
    linear-gradient(135deg, var(--brand-purple), var(--brand-red) 55%, var(--brand-orange));
  padding-top: clamp(48px, 8vw, 96px);
}
.hero-text { max-width: 760px; margin: 0 auto; text-align: center; }
.hero h1 { position: relative; transform: rotate(-4deg); margin: .3em 0 .6em; text-shadow: 0 2px 20px rgba(28, 21, 48, .15); }
.lead { font-size: 1.2rem; max-width: 34em; margin: 0 auto; font-weight: 600; opacity: .95; }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 1.75rem; }
.hero-photo { max-width: 1280px; margin: clamp(24px, 4vw, 48px) auto 0; padding: 0 16px; }
/* Onderste 28% van de foto (onder de knieën) valt weg, ook bij een nieuwe upload. */
.hero-photo img { width: 100%; height: auto; object-fit: cover; object-position: top; margin-bottom: -2px; }

/* "!!"-streepjes uit het logo */
.burst { position: absolute; top: 50%; width: 1.2em; height: 1.4em; pointer-events: none; }
.burst i { position: absolute; display: block; width: .18em; height: .55em; border: .055em solid #fff; border-radius: .04em; }
.burst-l { left: -1.1em; transform: translateY(-80%); }
.burst-l i:nth-child(1) { left: .55em; top: 0; transform: rotate(-35deg); }
.burst-l i:nth-child(2) { left: .2em; top: .5em; transform: rotate(-70deg); }
.burst-l i:nth-child(3) { left: .3em; top: .95em; transform: rotate(-110deg); }
.burst-r { right: -1.1em; transform: translateY(-60%); }
.burst-r i:nth-child(1) { right: .55em; top: 0; transform: rotate(20deg); }
.burst-r i:nth-child(2) { right: .2em; top: .4em; transform: rotate(45deg); }
.burst-r i:nth-child(3) { right: .15em; top: .9em; transform: rotate(80deg); }
@media (max-width: 720px) { .burst { display: none; } }

/* Secties */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-tint { background: var(--bg-tint); }
.section-brand { background: var(--brand-gradient); color: #fff; }
.section-lead { color: var(--muted); max-width: 40em; }
.grid-2 { display: grid; gap: 24px 64px; }
@media (min-width: 860px) { .grid-2 { grid-template-columns: 1fr 1.2fr; } }
.prose p { font-size: 1.125rem; }

/* Kerncijfers */
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 48px; }
@media (min-width: 720px) { .facts { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.fact { background: var(--g); color: #fff; border-radius: var(--radius); padding: 22px; }
.fact:nth-child(odd) { transform: rotate(-1.5deg); }
.fact:nth-child(even) { transform: rotate(1.5deg); }
.fact strong { display: block; font-family: var(--font-head); font-weight: 700; font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.1; }
.fact span { font-weight: 700; opacity: .95; }

/* Afdelingen */
.age-finder {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px;
  background: var(--card); border-radius: var(--radius); padding: 16px 20px; margin: 28px 0 32px;
  border: 1px solid var(--line);
}
.age-finder label { font-weight: 800; }
.age-finder select {
  font: inherit; font-weight: 700; padding: .45em 2.6em .45em .9em; border-radius: 12px;
  border: 2px solid var(--ink); color: var(--ink); cursor: pointer;
  -webkit-appearance: none; appearance: none;
  background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1.5 1.5 7 7l5.5-5.5' fill='none' stroke='%231c1530' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 1em center;
}
.age-result { margin: 0; font-family: var(--font-head); font-weight: 600; font-size: 1.2rem; }

.cards { display: grid; gap: 20px; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card {
  position: relative; background: var(--card); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  outline: 4px solid transparent; outline-offset: -4px;
  transition: transform .2s, outline-color .2s, opacity .2s;
}
.card::before { content: ""; height: 12px; background: var(--g); }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 40%; }
.card-body { padding: 20px 22px 22px; }
.card h3 { margin-bottom: .35em; }
.card .age {
  display: inline-block; font-weight: 800; font-size: .85rem;
  background: var(--g); color: #fff; padding: .2em .8em; border-radius: 999px;
}
.card p { color: var(--muted); }
.cards.filtering .card { opacity: .35; }
.cards.filtering .card.match { opacity: 1; outline-color: var(--c); transform: translateY(-6px) rotate(-1deg); }

.groepsleiding {
  display: grid; margin-top: 32px; background: var(--ink); color: #fff;
  border-radius: var(--radius); overflow: hidden;
}
.groepsleiding img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 35%; }
.groepsleiding > div { padding: clamp(24px, 4vw, 48px); align-self: center; }
.groepsleiding h3 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 700; }
.groepsleiding p { color: rgba(255, 255, 255, .8); }
.phones { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.phones li { display: flex; gap: 12px; align-items: baseline; }
.phones span { min-width: 3.5em; color: rgba(255, 255, 255, .7); }
.phones a { font-family: var(--font-head); font-weight: 600; font-size: 1.2rem; color: #fff; }
@media (min-width: 860px) { .groepsleiding { grid-template-columns: 1fr 1fr; } }

/* Activiteiten */
.highlights { display: grid; gap: 18px; margin-top: 32px; }
@media (min-width: 640px) { .highlights { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .highlights { grid-template-columns: repeat(4, 1fr); } }
.highlight { background: var(--g); color: #fff; border-radius: var(--radius); padding: 24px; }
.highlight p { margin: 0; font-weight: 600; }

.gallery {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px;
  margin: 48px auto 32px; max-width: 1280px; padding: 0 16px;
}
@media (min-width: 720px) { .gallery { grid-template-columns: repeat(4, 1fr); gap: 10px; } }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 14px; transition: transform .2s; }
.gallery img:hover { transform: scale(1.03) rotate(-1deg); }

/* Praktisch */
.info-grid { display: grid; gap: 18px; margin-top: 32px; }
@media (min-width: 720px) { .info-grid { grid-template-columns: repeat(2, 1fr); } }
.info { background: var(--card); border-radius: var(--radius); padding: 26px; border: 1px solid var(--line); }
.info p:last-child { margin-bottom: 0; }
.info a { color: var(--brand-red); font-weight: 800; }
.price { font-size: 1.1rem; }
.price strong {
  font-family: var(--font-head); font-size: 2.4rem; line-height: 1;
  background: var(--brand-gradient); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Inschrijven */
.cta-box {
  display: grid; gap: 24px; align-items: center; color: #fff;
  background: var(--brand-gradient); border-radius: calc(var(--radius) * 1.4);
  padding: clamp(28px, 5vw, 56px);
  max-width: calc(var(--wrap) - 64px);
}
@media (min-width: 860px) { .cta-box { grid-template-columns: 1fr auto; } }
@media (max-width: 719px) { .cta-box { margin: 0 16px; } }
.cta-box h2 { transform: rotate(-2deg); transform-origin: left; }
.cta-box p { font-size: 1.15rem; font-weight: 600; margin: 0; max-width: 36em; }

/* Verhuur */
.verhuur-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.5rem; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; align-self: center; }
.checklist li {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  padding: 14px 18px 14px 52px; position: relative; font-weight: 700;
}
.checklist li::before {
  content: "✓"; position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; border-radius: 50%; background: var(--brand-gradient);
  color: #fff; display: grid; place-items: center; font-size: .85rem;
}

/* Contact */
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li {
  display: grid; grid-template-columns: 100px 1fr; gap: 12px;
  padding: 16px 0; border-bottom: 1px solid var(--line); font-weight: 700;
  overflow-wrap: anywhere;
}
.contact-list span { color: var(--muted); font-weight: 600; }
.contact-list a { color: var(--brand-red); }

/* Footer */
.site-footer { background: var(--ink); color: #fff; border-top: 8px solid transparent; border-image: var(--brand-gradient) 1; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 28px; padding-bottom: 28px; }
.footer-inner p { margin: 0; }
.footer-inner a { color: #ffb86b; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Donkere tekst op het lichte Speelclub-verloop */
.fact.g-speelclub, .highlight.g-speelclub, .g-speelclub .age { color: var(--ink); }
.groepsleiding .tag { color: var(--ink); }

/* Leiding met citaten */
.card .leiding { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line); }
.card .leiding .label { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; margin-bottom: 6px; }
.leiders { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.leiders li { background: var(--bg-tint); border-radius: 999px; padding: .15em .75em; font-weight: 800; font-size: .95rem; }
.quote {
  position: relative; margin: 14px 0 0; padding: 12px 16px; border-radius: 16px 16px 16px 4px;
  background: var(--g); color: #fff; transform: rotate(-1deg);
}
.g-speelclub .quote { color: var(--ink); }
.quote p { margin: 0; color: inherit; font-weight: 700; font-style: italic; }
.quote p::before { content: "“"; }
.quote p::after { content: "”"; }
.quote cite { display: block; margin-top: 4px; font-style: normal; font-size: .85rem; font-weight: 800; opacity: .85; }
.quote cite::before { content: "— "; }
.card-body { display: flex; flex-direction: column; flex: 1; }

/* Kleding */
.kleding-grid { display: grid; gap: 18px; margin-top: 32px; }
@media (min-width: 860px) { .kleding-grid { grid-template-columns: repeat(3, 1fr); } }
.kleding { background: var(--card); border-radius: var(--radius); padding: 26px; border: 1px solid var(--line); border-top: 10px solid var(--c); }
.kleding-price {
  display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: 1.3rem;
  background: var(--g); color: #fff; padding: .15em .7em; border-radius: 999px; transform: rotate(-2deg); margin-bottom: .8em;
}
.kleding p:last-child { color: var(--muted); margin: 0; }
.kleding a { color: var(--brand-red); font-weight: 800; }
.card .age { align-self: flex-start; }

/* Kalender */
.nav a[aria-current="page"] { color: var(--brand-red); }
.page-hero {
  color: #fff; padding: clamp(56px, 8vw, 96px) 0 clamp(48px, 6vw, 72px);
  background:
    radial-gradient(circle at 0% 100%, var(--brand-blue), transparent 45%),
    radial-gradient(circle at 100% 0%, #ffad3b, transparent 50%),
    linear-gradient(135deg, var(--brand-purple), var(--brand-red) 55%, var(--brand-orange));
}
.page-hero h1 { font-size: clamp(2.4rem, 6vw, 4rem); transform: rotate(-2deg); transform-origin: left; margin: .2em 0 .5em; }
.page-hero .lead { margin: 0; }
.page-hero .hero-cta { justify-content: flex-start; }

.binnenkort { margin-top: 48px; }
.binnenkort-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.binnenkort-head h3 { margin: 0; font-size: 1.6rem; }

.events { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.event {
  display: grid; grid-template-columns: 72px 1fr; gap: 18px; align-items: center;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 20px;
}
.event-date {
  display: grid; place-items: center; align-content: center; padding: 12px 0; border-radius: 16px;
  background: #efe6ff; color: #5a32c4; font-family: var(--font-head); line-height: 1;
}
.event-day { font-size: 1.6rem; font-weight: 700; }
.event-month { font-size: .85rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; margin-top: 2px; }
.event-weekday { margin: 0 0 2px; color: var(--muted); font-weight: 700; font-size: .9rem; }
.event-weekday::first-letter, .kalender-month::first-letter { text-transform: uppercase; }
.event-title { margin: 0; font-size: 1.2rem; }
.event-location { margin: 4px 0 0; color: var(--muted); font-weight: 600; }
.event-location::before { content: "📍 "; }
.event-desc { margin: 8px 0 0; color: var(--muted); white-space: pre-line; overflow-wrap: anywhere; }
.kalender-month { font-size: clamp(1.5rem, 3vw, 2rem); margin: 40px 0 14px; }
.kalender-full > .kalender-month:first-child { margin-top: 0; }
.kalender-empty { color: var(--muted); font-weight: 700; margin: 0; }
@media (max-width: 480px) {
  .event { grid-template-columns: 56px 1fr; gap: 12px; padding: 12px 14px; }
  .event-day { font-size: 1.35rem; }
}
.binnenkort .event-desc { display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; white-space: normal; }
.event-next {
  display: inline-block; margin-bottom: 4px; padding: .1em .65em; border-radius: 999px;
  background: var(--brand-gradient); color: #fff; font-family: var(--font-head); font-weight: 600; font-size: .8rem;
}

/* Privacyverklaring */
.legal { max-width: 820px; }
.legal h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-top: 1.6em; }
.legal ul { padding-left: 1.2em; margin: 0 0 1em; }
.legal li { margin-bottom: .4em; }
.legal a { color: var(--brand-red); font-weight: 700; overflow-wrap: anywhere; }
.legal-meta { color: var(--muted); font-weight: 700; }
.legal-summary { background: var(--bg-tint); border-radius: var(--radius); padding: clamp(20px, 4vw, 32px); }
.legal-summary h2 { margin-top: 0; }
.legal-summary p:last-child { margin-bottom: 0; }
.legal-contacts { display: grid; gap: 16px; margin: 1.5em 0; }
@media (min-width: 640px) { .legal-contacts { grid-template-columns: 1fr 1fr; } }
.legal-contacts > div { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.legal-contacts h3 { margin-bottom: .4em; }
.legal-contacts p:last-child { margin-bottom: 0; }
.table-wrap { overflow-x: auto; margin: 0 0 1.5em; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
.legal table { width: 100%; border-collapse: collapse; font-size: .98rem; }
.legal th, .legal td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { font-family: var(--font-head); font-weight: 600; background: var(--bg-tint); }
.legal tr:last-child td { border-bottom: 0; }
.legal td:last-child { white-space: nowrap; font-weight: 700; }
@media (max-width: 480px) { .legal td:last-child { white-space: normal; } }
.legal a[href^="tel:"] { white-space: nowrap; overflow-wrap: normal; }

/* Hero: wolkjes */
.hero .hero-inner, .hero .hero-photo { position: relative; z-index: 1; }
.clouds { position: absolute; inset: 0 0 auto 0; height: 70%; pointer-events: none; z-index: 0; overflow: hidden; }
.cloud { position: absolute; left: 0; fill: #fff; animation: cloud-drift linear infinite; }
.cloud-1 { top: 6%;  width: 150px; height: 80px; opacity: .3; animation-duration: 95s;  animation-delay: -20s; }
.cloud-2 { top: 22%; width: 90px;  height: 48px; opacity: .22; animation-duration: 120s; animation-delay: -75s; }
.cloud-3 { top: 40%; width: 200px; height: 106px; opacity: .18; animation-duration: 140s; animation-delay: -40s; }
.cloud-4 { top: 12%; width: 110px; height: 58px; opacity: .26; animation-duration: 105s; animation-delay: -95s; }
@keyframes cloud-drift {
  from { transform: translateX(-240px); }
  to   { transform: translateX(calc(100vw + 40px)); }
}
@media (prefers-reduced-motion: reduce) { .cloud { animation: none; } .cloud-1 { transform: translateX(8vw); } .cloud-2 { transform: translateX(70vw); } .cloud-3 { transform: translateX(40vw); } .cloud-4 { transform: translateX(85vw); } }
