/* ===== CV De Stuiterballen ===== */
:root {
    --green: #39e600;
    --green-dark: #1f9e00;
    --orange: #f5a81c;
    --pink: #ff3d9a;
    --purple: #7b3fe4;
    --blue: #1fb6ff;
    --yellow: #ffe14d;
    --ink: #1b1340;
    --ink-soft: #4a4370;
    --paper: #fffaf0;
    --white: #fff;
    --radius: 26px;
    --shadow: 0 6px 0 var(--ink);
    --font-fun: 'Luckiest Guy', 'Comic Sans MS', cursive;
    --font-body: 'Nunito', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1.075rem;
    line-height: 1.65;
    color: var(--ink);
    background-color: var(--paper);
    background-image:
        radial-gradient(circle at 12% 18%, rgba(255, 61, 154, .14) 0 6px, transparent 7px),
        radial-gradient(circle at 78% 8%, rgba(31, 182, 255, .16) 0 5px, transparent 6px),
        radial-gradient(circle at 45% 62%, rgba(245, 168, 28, .18) 0 7px, transparent 8px),
        radial-gradient(circle at 90% 70%, rgba(123, 63, 228, .14) 0 5px, transparent 6px),
        radial-gradient(circle at 25% 88%, rgba(57, 230, 0, .16) 0 6px, transparent 7px);
    background-size: 260px 260px;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--purple); font-weight: 700; }
a:hover { color: var(--pink); }
h1, h2, h3 { font-family: var(--font-fun); font-weight: 400; line-height: 1.1; letter-spacing: .02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.6rem, 7vw, 5rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.1rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.sr, .skip { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip:focus { position: fixed; top: 10px; left: 10px; width: auto; height: auto; clip: auto; z-index: 100; background: var(--yellow); padding: .5em 1em; }

/* ===== Header ===== */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: var(--white);
    border-bottom: 4px solid var(--ink);
}
.site-header::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -10px; height: 6px;
    background: repeating-linear-gradient(90deg, var(--pink) 0 40px, var(--orange) 40px 80px, var(--green) 80px 120px, var(--blue) 120px 160px, var(--purple) 160px 200px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .5rem 0; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); }
.brand img { width: 64px; height: 64px; transition: transform .4s cubic-bezier(.3, 1.8, .5, 1); }
.brand:hover img { transform: rotate(-12deg) scale(1.08); }
.brand-text { font-family: var(--font-fun); font-size: 1.6rem; color: var(--ink); letter-spacing: .03em; }
.site-nav ul { list-style: none; display: flex; gap: .4rem; margin: 0; padding: 0; }
.site-nav a {
    display: block; padding: .45em 1em; border-radius: 999px;
    font-family: var(--font-fun); font-size: 1.15rem; letter-spacing: .04em; font-weight: 400;
    color: var(--ink); text-decoration: none; border: 3px solid transparent;
    transition: transform .2s, background .2s;
}
.site-nav a:hover { transform: translateY(-3px) rotate(-2deg); background: var(--yellow); color: var(--ink); }
.site-nav a.is-active { border-color: var(--ink); box-shadow: 0 3px 0 var(--ink); }
.nav-home.is-active { background: var(--green); }
.nav-over-ons.is-active { background: var(--orange); }
.nav-doneren.is-active { background: var(--pink); color: var(--white); }
.nav-marktplaats.is-active { background: var(--blue); }
.nav-contact.is-active { background: var(--purple); color: var(--white); }
.nav-toggle { display: none; }

@media (max-width: 860px) {
    .brand-text { font-size: 1.3rem; }
    .brand img { width: 52px; height: 52px; }
    .nav-toggle {
        display: flex; flex-direction: column; justify-content: center; gap: 5px;
        width: 50px; height: 50px; border: 3px solid var(--ink); border-radius: 14px;
        background: var(--yellow); cursor: pointer; box-shadow: 0 3px 0 var(--ink); padding: 0 10px;
    }
    .nav-toggle span { height: 4px; background: var(--ink); border-radius: 4px; transition: transform .25s, opacity .25s; }
    .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
    .brand, .nav-toggle { position: relative; z-index: 2; }
    .site-nav {
        position: fixed; inset: 0; z-index: 1;
        display: flex; align-items: center; justify-content: center;
        padding: 96px 16px 2rem; overflow-y: auto;
        background:
            radial-gradient(circle at 15% 20%, rgba(255, 255, 255, .35) 0 8px, transparent 9px),
            radial-gradient(circle at 80% 35%, rgba(255, 61, 154, .5) 0 7px, transparent 8px),
            radial-gradient(circle at 30% 75%, rgba(31, 182, 255, .5) 0 9px, transparent 10px),
            radial-gradient(circle at 85% 85%, rgba(123, 63, 228, .45) 0 6px, transparent 7px),
            linear-gradient(160deg, var(--green) 0%, #8af23d 55%, var(--yellow) 100%);
        background-size: 220px 220px, 260px 260px, 300px 300px, 240px 240px, auto;
        transform: translateX(100%); visibility: hidden;
        transition: transform .45s cubic-bezier(.7, 0, .2, 1), visibility 0s linear .45s;
    }
    .site-nav.is-open { transform: none; visibility: visible; transition: transform .45s cubic-bezier(.3, 1.25, .5, 1), visibility 0s; }
    .site-nav ul { flex-direction: column; align-items: stretch; width: min(340px, 100%); gap: .9rem; }
    .site-nav li { opacity: 0; transform: translateX(60px); transition: opacity .3s, transform .4s cubic-bezier(.3, 1.6, .5, 1); }
    .site-nav.is-open li { opacity: 1; transform: none; }
    .site-nav.is-open li:nth-child(1) { transition-delay: .15s; }
    .site-nav.is-open li:nth-child(2) { transition-delay: .21s; }
    .site-nav.is-open li:nth-child(3) { transition-delay: .27s; }
    .site-nav.is-open li:nth-child(4) { transition-delay: .33s; }
    .site-nav.is-open li:nth-child(5) { transition-delay: .39s; }
    .site-nav a {
        font-size: 2rem; text-align: center; padding: .4em 1em;
        background: var(--white); border: 4px solid var(--ink); box-shadow: 0 5px 0 var(--ink);
    }
    .site-nav li:nth-child(odd) a { transform: rotate(-1.5deg); }
    .site-nav li:nth-child(even) a { transform: rotate(1.5deg); }
    .site-nav a:hover { transform: scale(1.04); }
    body.nav-open { overflow: hidden; }
}

/* ===== Buttons ===== */
.btn {
    display: inline-block; padding: .7em 1.5em; border-radius: 999px;
    font-family: var(--font-fun); font-size: 1.2rem; letter-spacing: .05em; font-weight: 400;
    text-decoration: none; color: var(--ink); background: var(--yellow);
    border: 3px solid var(--ink); box-shadow: 0 5px 0 var(--ink);
    transition: transform .15s, box-shadow .15s; cursor: pointer;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 8px 0 var(--ink); color: var(--ink); }
.btn:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--ink); }
.btn-pink { background: var(--pink); color: var(--white); }
.btn-pink:hover { color: var(--white); }
.btn-green { background: var(--green); }
.btn-blue { background: var(--blue); }
.btn-white { background: var(--white); }

/* ===== Hero ===== */
.hero {
    position: relative; overflow: hidden;
    background: linear-gradient(135deg, var(--green) 0%, #8af23d 45%, var(--yellow) 100%);
    border-bottom: 4px solid var(--ink);
    padding: clamp(3rem, 7vw, 6rem) 0 clamp(4rem, 9vw, 7rem);
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 2rem; position: relative; z-index: 2; }
.hero .kicker {
    display: inline-block; background: var(--ink); color: var(--yellow);
    font-family: var(--font-fun); letter-spacing: .08em; padding: .3em .9em; border-radius: 999px;
    transform: rotate(-3deg); margin-bottom: 1rem;
}
.hero h1 { color: var(--ink); text-shadow: 4px 4px 0 var(--white); }
.hero h1 .pop { color: var(--pink); display: inline-block; }
.hero p.lead { font-size: 1.25rem; max-width: 34em; font-weight: 700; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; }
.hero-logo { position: relative; justify-self: center; width: min(440px, 100%); }
.hero-logo img { width: 100%; filter: drop-shadow(0 12px 0 rgba(27, 19, 64, .9)); animation: wobble 4s ease-in-out infinite; }
.hero-logo::before {
    content: ""; position: absolute; inset: -6%; border-radius: 50%;
    background: repeating-conic-gradient(var(--white) 0 10deg, transparent 10deg 20deg);
    opacity: .45; animation: spin 30s linear infinite; z-index: -1;
}
@keyframes wobble { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg) scale(1.03); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* bouncing balls */
.balls { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.ball {
    position: absolute; bottom: 0; border-radius: 50%; border: 3px solid var(--ink);
    animation: bounce var(--d, 1.6s) cubic-bezier(.5, 0, .5, 1) infinite alternate;
    animation-delay: var(--delay, 0s);
}
.ball::after { content: ""; position: absolute; top: 18%; left: 22%; width: 28%; height: 22%; border-radius: 50%; background: rgba(255, 255, 255, .7); }
@keyframes bounce {
    0% { transform: translateY(0) scale(1.15, .85); }
    12% { transform: translateY(-8%) scale(.95, 1.05); }
    100% { transform: translateY(var(--h, -300px)) scale(1); }
}
@media (prefers-reduced-motion: reduce) { .ball, .hero-logo img, .hero-logo::before { animation: none; } }

/* Page hero (sub pages) */
.page-hero {
    position: relative; overflow: hidden; text-align: center;
    padding: clamp(3rem, 7vw, 5rem) 0 clamp(3.5rem, 8vw, 6rem);
    border-bottom: 4px solid var(--ink); color: var(--ink);
}
.page-hero p { font-size: 1.2rem; font-weight: 700; max-width: 40em; margin-inline: auto; }
.page-hero h1 { text-shadow: 4px 4px 0 var(--white); position: relative; z-index: 2; }
.page-hero .wrap { position: relative; z-index: 2; }
.hero-orange { background: linear-gradient(135deg, var(--orange), var(--yellow)); }
.hero-pink { background: linear-gradient(135deg, var(--pink), #ff8fc4); }
.hero-pink h1 { color: var(--white); text-shadow: 4px 4px 0 var(--ink); }
.hero-pink p { color: var(--white); }
.hero-blue { background: linear-gradient(135deg, var(--blue), #8fe0ff); }
.hero-purple { background: linear-gradient(135deg, var(--purple), #b18cff); }
.hero-purple h1 { color: var(--white); text-shadow: 4px 4px 0 var(--ink); }
.hero-purple p { color: var(--white); }

/* zigzag bottom */
.zigzag::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 22px; z-index: 3;
    background:
        linear-gradient(135deg, var(--paper) 25%, transparent 25%) -11px 0 / 22px 22px,
        linear-gradient(225deg, var(--paper) 25%, transparent 25%) -11px 0 / 22px 22px;
}

/* ===== Sections ===== */
section.block { padding: clamp(3.5rem, 8vw, 6rem) 0; position: relative; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 2.8rem; }
.section-head .tag {
    display: inline-block; font-family: var(--font-fun); letter-spacing: .08em;
    padding: .25em .9em; border-radius: 999px; border: 3px solid var(--ink);
    background: var(--white); transform: rotate(2deg); margin-bottom: .8rem;
}
.squiggle { display: block; width: 140px; height: 16px; margin: .4rem auto 0; }

.card {
    background: var(--white); border: 4px solid var(--ink); border-radius: var(--radius);
    box-shadow: var(--shadow); overflow: hidden; transition: transform .25s cubic-bezier(.3, 1.6, .5, 1);
}
.card:hover { transform: translateY(-6px) rotate(-1deg); }
.card-body { padding: 1.4rem 1.5rem 1.6rem; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .grid-3, .grid-2, .hero-grid { grid-template-columns: 1fr; } .hero-logo { width: min(300px, 80%); grid-row: 1; } }

/* feature cards */
.feature .icon {
    width: 74px; height: 74px; border-radius: 50%; border: 4px solid var(--ink);
    display: grid; place-items: center; font-size: 2.2rem; margin: -1rem 0 1rem;
}
.feature:nth-child(1) .icon { background: var(--pink); }
.feature:nth-child(2) .icon { background: var(--orange); }
.feature:nth-child(3) .icon { background: var(--blue); }
.feature img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; border-bottom: 4px solid var(--ink); }
.feature .card-body { padding-top: 0; }
.feature .icon { position: relative; margin-top: -37px; }

/* photo collage */
.collage { position: relative; min-height: 440px; }
.collage img {
    position: absolute; border: 6px solid var(--white); border-radius: 18px;
    box-shadow: 0 0 0 4px var(--ink), 8px 10px 0 4px var(--ink); object-fit: cover;
}
.collage img:nth-child(1) { width: 66%; aspect-ratio: 1; top: 0; left: 0; transform: rotate(-5deg); }
.collage img:nth-child(2) { width: 52%; aspect-ratio: 4 / 3; bottom: 0; right: 0; transform: rotate(6deg); }
.collage .sticker {
    position: absolute; right: 6%; top: 4%; width: 120px; height: 120px; border-radius: 50%;
    background: var(--pink); color: var(--white); border: 4px solid var(--ink);
    display: grid; place-items: center; text-align: center; font-family: var(--font-fun);
    font-size: 1.15rem; line-height: 1; transform: rotate(12deg); z-index: 2;
}
@media (max-width: 760px) { .collage { min-height: 360px; } }

/* countdown */
.countdown-band {
    background: var(--ink); color: var(--white); text-align: center;
    padding: 3rem 0; border-block: 4px solid var(--ink); position: relative; overflow: hidden;
}
.countdown-band h2 { color: var(--yellow); }
.countdown { display: flex; justify-content: center; gap: clamp(.6rem, 3vw, 1.5rem); flex-wrap: wrap; margin-top: 1rem; }
.countdown div {
    min-width: 96px; padding: .8rem .6rem; border-radius: 20px; border: 4px solid var(--white);
    font-family: var(--font-fun); font-size: clamp(2.2rem, 6vw, 3.4rem); line-height: 1;
}
.countdown div small { display: block; font-family: var(--font-body); font-size: .9rem; font-weight: 800; margin-top: .4rem; letter-spacing: .05em; }
.countdown div:nth-child(1) { background: var(--pink); }
.countdown div:nth-child(2) { background: var(--orange); color: var(--ink); }
.countdown div:nth-child(3) { background: var(--green); color: var(--ink); }
.countdown div:nth-child(4) { background: var(--blue); color: var(--ink); }

/* agenda */
.agenda { display: grid; gap: 1.2rem; max-width: 820px; margin-inline: auto; }
.agenda-item { display: grid; grid-template-columns: 110px 1fr; gap: 1.2rem; align-items: center; padding: 1rem; }
.agenda-item:hover { transform: translateX(6px); }
.agenda-date {
    text-align: center; border-radius: 18px; border: 3px solid var(--ink); padding: .6rem .3rem;
    font-family: var(--font-fun); line-height: 1; background: var(--yellow);
}
.agenda-date b { display: block; font-size: 2.4rem; font-weight: 400; }
.agenda-item:nth-child(2) .agenda-date { background: var(--green); }
.agenda-item:nth-child(3) .agenda-date { background: var(--pink); color: var(--white); }
.agenda-item:nth-child(4) .agenda-date { background: var(--blue); }
.agenda-item h3 { margin: 0 0 .2rem; }
.agenda-item p { margin: 0; color: var(--ink-soft); }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.gallery figure { margin: 0; border: 4px solid var(--ink); border-radius: 20px; overflow: hidden; aspect-ratio: 1; box-shadow: 0 5px 0 var(--ink); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery figure:hover img { transform: scale(1.08) rotate(2deg); }
.gallery figure:nth-child(4n+1) { transform: rotate(-2deg); }
.gallery figure:nth-child(4n+3) { transform: rotate(2deg); }
.gallery .bw img { filter: grayscale(1) contrast(1.1); mix-blend-mode: multiply; }
.gallery .bw { background: var(--orange); }
.gallery .bw:nth-child(even) { background: var(--pink); }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr 1fr; } }

/* CTA band */
.cta {
    background: var(--pink); color: var(--white); border-radius: 40px; border: 4px solid var(--ink);
    box-shadow: 0 10px 0 var(--ink); padding: clamp(2rem, 6vw, 4rem); text-align: center; position: relative; overflow: hidden;
}
.cta h2 { text-shadow: 3px 3px 0 var(--ink); }
.cta p { font-size: 1.2rem; font-weight: 700; max-width: 36em; margin: 0 auto 1.5rem; }
.cta .confetti-dot { position: absolute; border-radius: 50%; opacity: .9; }

/* ===== Over ons ===== */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.value { text-align: center; padding: 1.6rem 1.2rem; border-radius: var(--radius); border: 4px solid var(--ink); box-shadow: var(--shadow); }
.value .emoji { font-size: 2.8rem; display: block; margin-bottom: .4rem; }
.value:nth-child(1) { background: var(--yellow); }
.value:nth-child(2) { background: #c8ffb0; }
.value:nth-child(3) { background: #ffd0e6; }
.value:nth-child(4) { background: #cdeeff; }
@media (max-width: 900px) { .values { grid-template-columns: 1fr 1fr; } }

.timeline { position: relative; max-width: 760px; margin-inline: auto; padding-left: 2.5rem; }
.timeline::before { content: ""; position: absolute; left: 12px; top: 0; bottom: 0; width: 6px; border-radius: 6px; background: linear-gradient(var(--pink), var(--orange), var(--green), var(--blue)); }
.timeline-item { position: relative; margin-bottom: 1.6rem; padding: 1.2rem 1.4rem; }
.timeline-item::before {
    content: ""; position: absolute; left: -2.5rem; top: 1.4rem; width: 30px; height: 30px; border-radius: 50%;
    background: var(--yellow); border: 4px solid var(--ink); transform: translateX(-1px);
}
.timeline-item .year { font-family: var(--font-fun); font-size: 1.3rem; color: var(--pink); }

.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; }
.member { text-align: center; padding: 1.5rem 1rem; }
.avatar {
    width: 120px; height: 120px; border-radius: 50%; margin: 0 auto 1rem; border: 4px solid var(--ink);
    display: grid; place-items: center; font-family: var(--font-fun); font-size: 2.6rem; color: var(--ink);
    position: relative;
}
.avatar::after { content: ""; position: absolute; top: 16%; left: 20%; width: 26%; height: 18%; border-radius: 50%; background: rgba(255, 255, 255, .6); }
.member:nth-child(1) .avatar { background: var(--orange); }
.member:nth-child(2) .avatar { background: var(--pink); }
.member:nth-child(3) .avatar { background: var(--green); }
.member:nth-child(4) .avatar { background: var(--blue); }
.member h3 { margin-bottom: .1rem; }
.member .role { color: var(--ink-soft); font-weight: 800; margin: 0; }
@media (max-width: 900px) { .team { grid-template-columns: 1fr 1fr; } }

/* ===== Doneren ===== */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; align-items: stretch; }
.tier { text-align: center; padding: 2rem 1.5rem; display: flex; flex-direction: column; }
.tier .amount { font-family: var(--font-fun); font-size: 3.6rem; line-height: 1; margin: .5rem 0; }
.tier ul { list-style: none; padding: 0; margin: 1rem 0 1.6rem; text-align: left; flex: 1; }
.tier li { padding: .35rem 0 .35rem 2rem; position: relative; }
.tier li::before { content: "★"; position: absolute; left: 0; color: var(--pink); font-size: 1.2rem; }
.tier.featured { background: var(--yellow); transform: scale(1.04) rotate(-1deg); }
.tier.featured:hover { transform: scale(1.06) rotate(1deg); }
.tier .ribbon {
    align-self: center; background: var(--pink); color: var(--white); font-family: var(--font-fun);
    padding: .2em 1em; border-radius: 999px; border: 3px solid var(--ink); margin-top: -3.2rem; margin-bottom: 1rem;
}
.tier.featured { overflow: visible; }
@media (max-width: 900px) { .tiers { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; } .tier.featured { transform: none; } }

.bank {
    display: grid; grid-template-columns: auto 1fr; gap: 1.5rem; align-items: center;
    background: var(--white); border: 4px dashed var(--ink); border-radius: var(--radius); padding: 1.6rem 2rem;
}
.bank .piggy { font-size: 4rem; }
.bank dl { display: grid; grid-template-columns: auto 1fr; gap: .2rem 1.2rem; margin: 0; }
.bank dt { font-weight: 800; }
.bank dd { margin: 0; font-family: ui-monospace, monospace; font-size: 1.05rem; }
@media (max-width: 560px) { .bank { grid-template-columns: 1fr; text-align: center; } .bank dl { grid-template-columns: 1fr; } }

.progress-wrap { max-width: 760px; margin: 0 auto; }
.progress { height: 38px; border-radius: 999px; border: 4px solid var(--ink); background: var(--white); overflow: hidden; box-shadow: 0 5px 0 var(--ink); }
.progress span {
    display: block; height: 100%; width: 0; transition: width 1.6s cubic-bezier(.3, 1.2, .5, 1);
    background: repeating-linear-gradient(-45deg, var(--green) 0 18px, #7cf54a 18px 36px);
}
.progress-labels { display: flex; justify-content: space-between; font-weight: 800; margin-top: .8rem; }

/* ===== Marktplaats ===== */
.filters { display: flex; gap: .7rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2.2rem; }
.filter {
    font-family: var(--font-fun); font-size: 1.1rem; letter-spacing: .04em; padding: .45em 1.2em; border-radius: 999px;
    border: 3px solid var(--ink); background: var(--white); color: var(--ink); cursor: pointer; transition: transform .15s;
}
.filter:hover { transform: translateY(-2px); }
.filter.is-active { background: var(--ink); color: var(--yellow); }
.listings { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.8rem; }
.listing { display: flex; flex-direction: column; }
.listing.is-hidden { display: none; }
.listing .thumb {
    aspect-ratio: 4 / 3; display: grid; place-items: center; font-size: 4.5rem;
    border-bottom: 4px solid var(--ink); position: relative;
}
.listing .thumb img { width: 100%; height: 100%; object-fit: cover; }
.listing .badge {
    position: absolute; top: 12px; left: 12px; font-family: var(--font-fun); font-size: .95rem; letter-spacing: .05em;
    padding: .15em .8em; border-radius: 999px; border: 3px solid var(--ink); background: var(--green);
}
.listing .badge.gezocht { background: var(--orange); }
.listing .badge.gratis { background: var(--pink); color: var(--white); }
.listing .card-body { flex: 1; display: flex; flex-direction: column; }
.listing h3 { font-size: 1.3rem; margin-bottom: .3rem; }
.listing p { color: var(--ink-soft); font-size: .98rem; flex: 1; }
.listing .meta { display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.listing .price { font-family: var(--font-fun); font-size: 1.6rem; color: var(--purple); }
.listing .btn { font-size: 1rem; padding: .45em 1.1em; box-shadow: 0 3px 0 var(--ink); }
.t1 { background: #ffd0e6; } .t2 { background: #fff1a8; } .t3 { background: #c8ffb0; }
.t4 { background: #cdeeff; } .t5 { background: #e3d4ff; } .t6 { background: #ffe0b8; }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 2.5rem; align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.form { padding: clamp(1.5rem, 4vw, 2.5rem); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 800; margin-bottom: .3rem; }
.field input, .field textarea, .field select {
    width: 100%; font: inherit; color: var(--ink); padding: .75em 1em;
    border: 3px solid var(--ink); border-radius: 16px; background: var(--paper);
    transition: box-shadow .15s, background .15s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; background: var(--white); box-shadow: 0 0 0 4px var(--yellow); }
.field textarea { min-height: 150px; resize: vertical; }
.hp { position: absolute; left: -9999px; }
.notice { padding: 1rem 1.2rem; border-radius: 16px; border: 3px solid var(--ink); margin-bottom: 1.4rem; font-weight: 700; }
.notice.ok { background: #c8ffb0; }
.notice.err { background: #ffd0e6; }
.info-card { padding: 1.6rem; margin-bottom: 1.6rem; }
.info-card h3 { display: flex; align-items: center; gap: .6rem; }
.info-card .ic { width: 46px; height: 46px; border-radius: 50%; border: 3px solid var(--ink); display: grid; place-items: center; font-size: 1.4rem; background: var(--yellow); flex: none; }
.info-card:nth-child(2) .ic { background: var(--green); }
.info-card:nth-child(3) .ic { background: var(--pink); }
.socials { display: flex; gap: .7rem; flex-wrap: wrap; }
.socials a { text-decoration: none; }
.map-card iframe { display: block; width: 100%; height: 320px; border: 0; }

/* FAQ */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 1rem; }
.faq details { background: var(--white); border: 4px solid var(--ink); border-radius: 20px; box-shadow: 0 4px 0 var(--ink); }
.faq summary { cursor: pointer; padding: 1rem 1.4rem; font-weight: 800; font-size: 1.1rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-fun); font-size: 1.6rem; line-height: 1; color: var(--pink); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 1.4rem 1.2rem; margin: 0; }

/* ===== Footer ===== */
.site-footer { background: var(--ink); color: #e9e6ff; margin-top: 4rem; position: relative; padding: 3.5rem 0 1.5rem; }
.footer-wave {
    position: absolute; left: 0; right: 0; top: -28px; height: 30px;
    background: radial-gradient(circle at 20px -6px, transparent 24px, var(--ink) 25px) 0 0 / 40px 30px repeat-x;
}
.footer-grid { display: grid; grid-template-columns: auto 1.3fr 1fr 1.2fr; gap: 2rem; align-items: start; }
.site-footer h3 { color: var(--yellow); font-size: 1.35rem; }
.site-footer a { color: var(--green); }
.site-footer a:hover { color: var(--yellow); }
.footer-logo { width: 110px; animation: wobble 5s ease-in-out infinite; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .25rem; }
.footer-links a { text-decoration: none; }
.copyright { border-top: 2px dashed rgba(255, 255, 255, .2); padding-top: 1.2rem; margin-top: 2rem; font-size: .92rem; text-align: center; color: #b7b0e0; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; text-align: center; } .footer-logo { margin-inline: auto; } }

/* reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity .6s, transform .6s cubic-bezier(.3, 1.4, .5, 1); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* confetti canvas */
#confetti { position: fixed; inset: 0; pointer-events: none; z-index: 200; }
.eur { font-family: var(--font-body); font-weight: 800; }

/* Sponsorhoek */
.sponsors { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.6rem; }
.sponsor {
    display: grid; place-items: center; aspect-ratio: 3 / 2; padding: 1.5rem 2rem;
    background: var(--white); border: 4px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow);
    text-decoration: none; transition: transform .25s cubic-bezier(.3, 1.6, .5, 1), box-shadow .25s;
}
.sponsor:hover { transform: translateY(-6px) rotate(-2deg); box-shadow: 0 10px 0 var(--ink); }
.sponsor:nth-child(even):hover { transform: translateY(-6px) rotate(2deg); }
.sponsor { min-width: 0; }
.sponsor img { width: 100%; height: 100%; max-height: 120px; object-fit: contain; }
.sponsor-empty {
    border-style: dashed; box-shadow: none; background: transparent; color: var(--ink-soft);
    font-family: var(--font-fun); font-size: 1.15rem; letter-spacing: .04em; text-align: center; align-content: center; gap: .2rem;
}
.sponsor-empty span {
    display: grid; place-items: center; width: 46px; height: 46px; margin: 0 auto; border-radius: 50%;
    background: var(--yellow); border: 3px solid var(--ink); color: var(--ink); font-size: 1.8rem; line-height: 1;
}
.sponsor-empty:hover { background: var(--white); color: var(--pink); }
@media (max-width: 760px) {
    .sponsors { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
    .sponsor { padding: .9rem; border-width: 3px; box-shadow: 0 4px 0 var(--ink); }
    .sponsor-empty { box-shadow: none; font-size: .95rem; }
    .sponsor-empty span { width: 38px; height: 38px; font-size: 1.5rem; }
    .sponsor img { max-height: 80px; }
}

/* ===== Blokkenbouwer ===== */
.site-nav a.is-active.c-green { background: var(--green); }
.site-nav a.is-active.c-orange { background: var(--orange); }
.site-nav a.is-active.c-yellow { background: var(--yellow); }
.site-nav a.is-active.c-blue { background: var(--blue); }
.site-nav a.is-active.c-pink { background: var(--pink); color: var(--white); }
.site-nav a.is-active.c-purple { background: var(--purple); color: var(--white); }
.hero-green { background: linear-gradient(135deg, var(--green), #b6ff8f); }
.hero-yellow { background: linear-gradient(135deg, var(--yellow), #fff6b8); }
section.block.pt-0 { padding-top: 0; }
section.block.pt-s { padding-top: 1rem; }
.wrap.narrow { max-width: 820px; }
.prose { max-width: 760px; margin-inline: auto; }
.grid-2 .prose { max-width: none; margin: 0; }
.prose ul, .prose ol { padding-left: 1.4rem; margin: 0 0 1em; }
.prose li { margin-bottom: .3em; }
.prose h3 { margin-top: 1.4em; }
.tag-inline {
    display: inline-block; font-family: var(--font-fun); padding: .25em .9em; border: 3px solid var(--ink);
    border-radius: 999px; background: var(--yellow); transform: rotate(-2deg); margin-bottom: .8rem;
}
.head-btn { margin: 2rem 0 0; }
.photo-single img {
    width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 4px solid var(--ink); border-radius: var(--radius);
    box-shadow: var(--shadow); transform: rotate(-2deg);
}
.photo-single { position: relative; }
.photo-single .sticker { position: absolute; }
.avatar.has-photo { overflow: hidden; }
.avatar.has-photo img { width: 100%; height: 100%; object-fit: cover; }
.avatar.has-photo::after { display: none; }
.info-card p:last-child { margin-bottom: 0; }
.agenda-empty { text-align: center; font-weight: 700; }
.photo-single .sticker {
    position: absolute; right: -10px; top: -24px; width: 110px; height: 110px; border-radius: 50%;
    background: var(--pink); color: var(--white); border: 4px solid var(--ink);
    display: grid; place-items: center; text-align: center; font-family: var(--font-fun);
    font-size: 1.1rem; line-height: 1; transform: rotate(12deg); z-index: 2;
}
.member:nth-child(4n+1) .avatar { background: var(--orange); }
.member:nth-child(4n+2) .avatar { background: var(--pink); }
.member:nth-child(4n+3) .avatar { background: var(--green); }
.member:nth-child(4n+4) .avatar { background: var(--blue); }
.agenda-item:nth-child(4n+2) .agenda-date { background: var(--green); }
.agenda-item:nth-child(4n+3) .agenda-date { background: var(--pink); color: var(--white); }
.agenda-item:nth-child(4n+4) .agenda-date { background: var(--blue); }
/* Tussenmaat (tablet liggend / smal venster): menu compacter zodat het op één regel past */
@media (min-width: 861px) and (max-width: 1100px) {
    .brand-text { font-size: 1.3rem; white-space: nowrap; }
    .brand img { width: 52px; height: 52px; }
    .site-nav ul { gap: .15rem; }
    .site-nav a { font-size: 1rem; padding: .4em .7em; white-space: nowrap; }
}
/* Homepage-titel: "De Stuiterballen" altijd op één regel (lettergrootte afgestemd op de kolombreedte) */
.hero h1 { font-size: clamp(2.6rem, 5.8vw, 4.6rem); }
.hero h1 .pop { white-space: nowrap; }
@media (max-width: 760px) { .hero h1 { font-size: clamp(2rem, 10.4vw, 4.6rem); } }
/* Zigzag-onderrand van de koppen: de kop eindigt in punten, met de donkere lijn langs de punten */
.zigzag { border-bottom: 0; }
.zigzag::after {
    bottom: 0; height: 20px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='20'%3E%3Cpath d='M-20 18 L0 4 L20 18 L40 4 L60 18 V20 H-20 Z' fill='%23fffaf0'/%3E%3Cpath d='M-20 18 L0 4 L20 18 L40 4 L60 18' fill='none' stroke='%231b1340' stroke-width='4' stroke-linejoin='round'/%3E%3C/svg%3E") repeat-x 0 100% / 40px 20px;
}
