/* ==========================================================================
   Be-Fast modern stylesheet
   Merk: cobalt #002bba + geel #ffe500. Type: Rubik (huisstijl).
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
    /* Merk */
    --blue:        #002bba;
    --blue-700:    #0022a0;
    --blue-900:    #001a6b;
    --blue-ink:    #00114a;   /* zeer donker blauw, voor tekst/secties */
    --yellow:      #ffe500;
    --yellow-600:  #e6cf00;

    /* Neutraal */
    --ink:         #0d1330;
    --body:        #36405f;
    --muted:       #6b7494;
    --line:        #e6e8f2;
    --bg:          #ffffff;
    --bg-soft:     #f4f6fc;
    --bg-blue-soft:#eef1fc;
    --white:       #ffffff;

    /* Vorm & ritme */
    --radius:      18px;
    --radius-lg:   28px;
    --radius-pill: 999px;
    --shadow:      0 10px 30px -12px rgba(0, 27, 107, .25);
    --shadow-lg:   0 30px 60px -20px rgba(0, 27, 107, .35);
    --container:   1180px;
    --gutter:      clamp(1.25rem, 4vw, 2.5rem);

    /* Type: Rubik is de huisstijl van de club, zie de bestaande drukwerken. */
    --font-head: 'Rubik', system-ui, sans-serif;
    --font-body: 'Rubik', system-ui, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-body);
    color: var(--body);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; border: 0; background: none; }

h1, h2, h3, h4 {
    font-family: var(--font-head);
    color: var(--ink);
    line-height: 1.08;
    letter-spacing: -.02em;
    font-weight: 700;
}

.skip-link {
    position: absolute; left: -9999px; top: 0;
    background: var(--yellow); color: var(--blue-ink);
    padding: .75rem 1.25rem; border-radius: 0 0 var(--radius) 0;
    font-weight: 600; z-index: 200;
}
.skip-link:focus { left: 0; }

:focus-visible {
    outline: 3px solid var(--yellow);
    outline-offset: 2px;
    border-radius: 4px;
}

/* ---------- Layout helpers ---------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
}
.section { padding-block: clamp(3.5rem, 8vw, 7rem); }
.section--soft  { background: var(--bg-soft); }
.section--blue  { background: var(--blue-ink); color: #cdd6f5; }
.section--blue h2, .section--blue h3 { color: #fff; }

.section-head { max-width: 60ch; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
    display: inline-block;
    font-family: var(--font-head);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: .9rem;
}
.section--blue .eyebrow { color: var(--yellow); }
.section-head h2 { font-size: clamp(1.9rem, 4.5vw, 3rem); }
.section-head p { margin-top: 1rem; font-size: 1.075rem; color: var(--muted); }
.section--blue .section-head p { color: #aebbe6; }

/* ---------- Buttons ---------- */
.btn {
    --btn-bg: var(--blue);
    --btn-fg: #fff;
    display: inline-flex; align-items: center; gap: .55rem;
    background: var(--btn-bg); color: var(--btn-fg);
    font-family: var(--font-head); font-weight: 600; font-size: 1rem;
    padding: .9rem 1.6rem;
    border-radius: var(--radius-pill);
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
    will-change: transform;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--accent { --btn-bg: var(--yellow); --btn-fg: var(--blue-ink); }
.btn--accent:hover { background: var(--yellow-600); }
.btn--ghost {
    --btn-bg: transparent; --btn-fg: #fff;
    box-shadow: inset 0 0 0 2px rgba(255,255,255,.55);
}
.btn--ghost:hover { box-shadow: inset 0 0 0 2px #fff; background: rgba(255,255,255,.08); }
.btn--outline {
    --btn-bg: transparent; --btn-fg: var(--blue);
    box-shadow: inset 0 0 0 2px var(--blue);
}
.btn--outline:hover { background: var(--blue); --btn-fg:#fff; }
.btn--sm { padding: .55rem 1.1rem; font-size: .92rem; }
.btn--lg { padding: 1.05rem 2rem; font-size: 1.075rem; }
.btn__arrow { transition: transform .18s ease; }
.btn:hover .btn__arrow { transform: translateX(3px); }

/* ==========================================================================
   Header / navigatie
   ========================================================================== */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    transition: background .3s ease, border-color .3s ease, box-shadow .3s ease;
}
/* Transparant over de hero op de homepage */
.site-header[data-transparent="true"] {
    position: fixed; left: 0; right: 0;
    background: transparent; border-bottom-color: transparent;
}
.site-header[data-transparent="true"] .brand__word,
.site-header[data-transparent="true"] .nav__link { color: #fff; }
.site-header[data-transparent="true"] .nav__toggle span { background: #fff; }
/* Bij scrollen wordt hij massief (klasse via JS) */
.site-header.is-solid {
    position: fixed; left: 0; right: 0;
    background: rgba(255,255,255,.92);
    backdrop-filter: saturate(160%) blur(12px);
    border-bottom-color: var(--line);
    box-shadow: 0 6px 24px -16px rgba(0,17,74,.4);
}
.site-header.is-solid .brand__word,
.site-header.is-solid .nav__link { color: var(--ink); }
.site-header.is-solid .nav__toggle span { background: var(--ink); }

.site-header__inner {
    display: flex; align-items: center; justify-content: space-between;
    min-height: 76px;
}
/* Het merk mag nooit samengedrukt worden of over twee regels breken:
   past de navigatie er niet meer naast, dan klapt die in tot het
   hamburgermenu (zie de mediaquery hieronder). */
.brand { display: inline-flex; align-items: center; gap: .65rem; flex-shrink: 0; }
.brand__mark { border-radius: 50%; }
.brand__word {
    font-family: var(--font-head);
    font-weight: 400; font-size: 1.3rem; letter-spacing: .14em;
    color: var(--ink);
    white-space: nowrap;
}

.nav { display: flex; align-items: center; }
.nav__menu { display: flex; align-items: center; gap: .35rem; }
.nav__link {
    font-family: var(--font-head); font-weight: 500;
    color: var(--body);
    padding: .55rem .7rem; border-radius: var(--radius-pill);
    position: relative; transition: color .18s ease, background .18s ease;
    /* Een menu-item mag nooit midden in een woord afbreken: dan wordt de
       hele balk twee regels hoog. Past het geheel niet meer, dan klapt het
       menu in tot het hamburgermenu (zie de mediaquery hieronder). */
    white-space: nowrap;
}
/* Uitzonderlijk lange namen krijgen drie puntjes in plaats van de balk te
   verbreden. De volledige naam staat in de title van de link. */
.nav__link--user {
    display: inline-block; vertical-align: middle;
    max-width: 9rem; overflow: hidden; text-overflow: ellipsis;
}
.nav__link:hover { color: var(--blue); }
.nav__link.is-active { color: var(--blue); }
.site-header[data-transparent="true"] .nav__link.is-active { color: var(--yellow); }
.nav__cta-item { margin-left: .5rem; }

.nav__toggle {
    display: none;
    width: 44px; height: 44px;
    flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.nav__toggle span {
    width: 24px; height: 2px; background: var(--ink);
    border-radius: 2px; transition: transform .25s ease, opacity .2s ease;
}
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Ingelogde leden hebben meer menu-items (praktische info, hun naam,
   uitloggen) en er is een tab voor Antwerp Swimrun bijgekomen, dus klapt
   het menu vroeger in dan de oude 860px. */
@media (max-width: 1200px) {
    .nav__toggle { display: flex; z-index: 120; }
    .nav__menu {
        position: fixed; inset: 0 0 0 auto;
        width: min(78vw, 320px);
        flex-direction: column; align-items: stretch; justify-content: flex-start;
        gap: .25rem;
        padding: 6rem 1.5rem 2rem;
        background: var(--blue-ink);
        transform: translateX(100%);
        transition: transform .3s cubic-bezier(.4,0,.2,1);
        box-shadow: var(--shadow-lg);
    }
    .nav.is-open .nav__menu { transform: translateX(0); }
    .nav__menu .nav__link { color: #dfe5fb; font-size: 1.15rem; padding: .85rem 1rem; }
    /* In het uitklapmenu kappen we de naam niet af. Een uitzonderlijk lange
       naam breekt daar gewoon over twee regels in plaats van buiten de lade
       te lopen. */
    .nav__menu .nav__link--user {
        display: block; max-width: none;
        white-space: normal; overflow-wrap: anywhere;
    }
    .nav__menu .nav__link:hover,
    .nav__menu .nav__link.is-active { color: #fff; background: rgba(255,255,255,.08); }
    .nav__cta-item { margin: 1rem 0 0; }
    .nav__cta-item .btn { width: 100%; justify-content: center; }
    body.nav-open { overflow: hidden; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
    position: relative;
    min-height: clamp(640px, 92vh, 920px);
    display: flex; align-items: center;
    color: #fff;
    overflow: hidden;
    isolation: isolate;
}
.hero__bg {
    position: absolute; inset: 0; z-index: -2;
    object-fit: cover; width: 100%; height: 100%;
}
.hero::after { /* merk-overlay */
    content: ""; position: absolute; inset: 0; z-index: -1;
    background:
        radial-gradient(120% 90% at 15% 10%, rgba(0,43,186,.55), transparent 60%),
        linear-gradient(180deg, rgba(0,17,74,.55) 0%, rgba(0,17,74,.82) 100%);
}
.hero__inner { padding-block: 9rem 4rem; max-width: 760px; }
/* Het label van Sporting A is een vermelding, geen banner: een klein schild
   met een regel tekst in een glazen pil boven de titel. */
.hero__badge {
    display: inline-flex; align-items: center; gap: .65rem;
    margin-bottom: 1.6rem;
    padding: .35rem 1.15rem .35rem 1rem;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, .09);
    border: 1px solid rgba(255, 255, 255, .18);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    line-height: 1.2;
}
.hero__badge img {
    flex: none; height: 40px; width: auto;
    filter: drop-shadow(0 2px 6px rgba(0, 17, 74, .35));
}
.hero__badge-title {
    font-family: var(--font-head); font-weight: 600;
    font-size: .74rem; letter-spacing: .15em; text-transform: uppercase;
    color: #fff;
}
.hero h1 {
    color: #fff;
    font-size: clamp(2.6rem, 7vw, 5rem);
    line-height: .98;
}
.hero h1 .accent { color: var(--yellow); }
.hero__lead {
    margin-top: 1.5rem; font-size: clamp(1.05rem, 2.2vw, 1.3rem);
    color: #dce3fb; max-width: 48ch;
}
.hero__actions { margin-top: 2.25rem; display: flex; flex-wrap: wrap; gap: 1rem; }
.hero__stats {
    margin-top: 3.25rem; display: flex; flex-wrap: wrap; gap: 2.5rem;
}
.hero__stat .num {
    font-family: var(--font-head); font-weight: 700;
    font-size: clamp(1.8rem, 4vw, 2.6rem); color: #fff; line-height: 1;
}
.hero__stat .lbl { font-size: .85rem; color: #b7c2ec; letter-spacing: .03em; margin-top: .35rem; }

/* ==========================================================================
   Disciplines
   ========================================================================== */
.disc-grid {
    display: grid; gap: 1.25rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.disc-card {
    position: relative;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 2rem 1.75rem 1.75rem;
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.disc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.disc-card::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px;
    background: var(--blue);
    transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.disc-card:hover::before { transform: scaleX(1); }
.disc-card .ico {
    width: 56px; height: 56px; border-radius: 16px;
    display: grid; place-items: center;
    background: var(--bg-blue-soft); color: var(--blue);
    margin-bottom: 1.25rem;
}
.disc-card .ico svg { width: 28px; height: 28px; }
.disc-card h3 { font-size: 1.3rem; margin-bottom: .5rem; }
.disc-card p { font-size: .98rem; color: var(--muted); }
.disc-card .when {
    margin-top: 1rem; font-family: var(--font-head); font-weight: 500;
    font-size: .85rem; color: var(--blue);
}

/* ==========================================================================
   Split (over de club)
   ========================================================================== */
.split { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (min-width: 880px) { .split { grid-template-columns: 1.05fr 1fr; } }
.split--reverse .split__media { order: 2; }
.split__media {
    position: relative; border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4 / 3.4;
}
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__media .tag {
    position: absolute; left: 1rem; bottom: 1rem;
    background: var(--yellow); color: var(--blue-ink);
    font-family: var(--font-head); font-weight: 600; font-size: .82rem;
    padding: .5rem .9rem; border-radius: var(--radius-pill);
}
.split__body h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); margin-bottom: 1rem; }
.split__body p { margin-bottom: 1rem; }
.value-list { margin: 1.5rem 0; display: grid; gap: .85rem; }
.value-list li { display: flex; gap: .8rem; align-items: flex-start; }
.value-list .check {
    flex: none; width: 26px; height: 26px; border-radius: 50%;
    background: var(--blue); color: #fff; display: grid; place-items: center;
    font-size: .8rem; margin-top: .1rem;
}
.value-list strong { color: var(--ink); font-family: var(--font-head); }

/* ==========================================================================
   Agenda-teaser
   ========================================================================== */
.agenda-teaser__head {
    display: flex; flex-wrap: wrap; gap: 1rem;
    align-items: end; justify-content: space-between;
    margin-bottom: 2.5rem;
}
.event-list { display: grid; gap: 1rem; }
.event-row {
    display: grid; grid-template-columns: auto 1fr auto; gap: 1.5rem; align-items: center;
    background: var(--white); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 1.1rem 1.4rem;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.event-row:hover { transform: translateX(4px); box-shadow: var(--shadow); border-color: transparent; }
.event-row__date {
    text-align: center; line-height: 1;
    background: var(--bg-blue-soft); color: var(--blue);
    border-radius: 14px; padding: .7rem .85rem; min-width: 64px;
}
.event-row__date .d { font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; }
.event-row__date .m { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; margin-top: .2rem; }
.event-row__main h3 { font-size: 1.15rem; margin-bottom: .25rem; }
.event-row__meta { font-size: .9rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: .25rem .9rem; }
.event-row__cta { color: var(--blue); font-family: var(--font-head); font-weight: 600; font-size: .9rem; white-space: nowrap; }
.pill {
    display: inline-block; font-family: var(--font-head); font-weight: 600;
    font-size: .72rem; letter-spacing: .04em; text-transform: uppercase;
    padding: .25rem .7rem; border-radius: var(--radius-pill);
    background: var(--yellow); color: var(--blue-ink);
}
.empty-state {
    text-align: center; padding: 3rem 1.5rem;
    background: var(--white); border: 1px dashed var(--line); border-radius: var(--radius-lg);
}
.empty-state p { color: var(--muted); margin-bottom: 1.25rem; }

@media (max-width: 560px) {
    .event-row { grid-template-columns: auto 1fr; }
    .event-row__cta { grid-column: 2; justify-self: start; }
}

/* ==========================================================================
   CTA-band
   ========================================================================== */
.cta-band {
    position: relative; overflow: hidden;
    background: var(--blue); color: #fff;
    border-radius: var(--radius-lg);
    padding: clamp(2.5rem, 6vw, 4.5rem);
    text-align: center;
}
.cta-band::before, .cta-band::after {
    content: ""; position: absolute; border-radius: 50%;
    background: radial-gradient(circle, rgba(255,229,0,.25), transparent 70%);
}
.cta-band::before { width: 340px; height: 340px; top: -140px; right: -80px; }
.cta-band::after  { width: 300px; height: 300px; bottom: -160px; left: -60px;
    background: radial-gradient(circle, rgba(255,255,255,.12), transparent 70%); }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 4.5vw, 3rem); position: relative; }
.cta-band p { color: #d4ddfb; margin: 1rem auto 2rem; max-width: 50ch; position: relative; }
.cta-band .hero__actions { justify-content: center; position: relative; }

/* ==========================================================================
   Sponsors
   ========================================================================== */
.sponsor-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(2rem, 6vw, 4.5rem); }
.sponsor-strip img { height: 46px; width: auto; opacity: .65; filter: grayscale(1); transition: opacity .2s ease, filter .2s ease; }
.sponsor-strip img:hover { opacity: 1; filter: none; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--blue-ink); color: #aab6e2; padding-top: clamp(3rem, 6vw, 4.5rem); }
.site-footer a { color: #c9d3f5; transition: color .15s ease; }
.site-footer a:hover { color: #fff; }
.site-footer__grid {
    display: grid; gap: 2.5rem 2rem;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    padding-bottom: 3rem;
}
.site-footer__brand img { border-radius: 50%; margin-bottom: 1rem; }
/* Het label van Sporting A is een schild, geen rond logo. */
.site-footer__brand img.site-footer__label {
    border-radius: 0;
    height: 96px; width: auto;
    margin: 1.25rem 0 0;
}
.site-footer__tagline { font-family: var(--font-head); color: #fff; font-weight: 500; }
.site-footer__motto { margin-top: 1rem; font-style: italic; color: var(--yellow); }
.site-footer h3 {
    color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase;
    margin-bottom: 1.1rem;
}
.site-footer__col ul { display: grid; gap: .6rem; }
.site-footer__plain li { color: #93a0cf; font-size: .92rem; }
.site-footer__bottom {
    display: flex; flex-wrap: wrap; gap: .5rem; justify-content: space-between;
    border-top: 1px solid rgba(255,255,255,.1);
    padding-block: 1.5rem; font-size: .85rem; color: #7b88b8;
}
@media (max-width: 760px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Reveal-on-scroll
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   Binnenpagina's
   ========================================================================== */
.container.narrow { max-width: 820px; }

/* Compacte pagina-kop (cobalt band onder de massieve header) */
.page-hero {
    background: var(--blue-ink);
    color: #cdd6f5;
    padding: clamp(7rem, 12vw, 9rem) 0 clamp(2.5rem, 6vw, 4rem);
    position: relative; overflow: hidden;
}
.page-hero::before {
    content: ""; position: absolute; width: 360px; height: 360px;
    top: -160px; right: -80px; border-radius: 50%;
    background: radial-gradient(circle, rgba(255,229,0,.18), transparent 70%);
}
.page-hero .eyebrow { color: var(--yellow); }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 6vw, 3.6rem); position: relative; }
.page-hero p { margin-top: 1rem; max-width: 60ch; color: #aebbe6; font-size: 1.08rem; position: relative; }

.muted-note { color: var(--muted); font-size: .92rem; margin-top: 1.5rem; }

/* ---- Prose (gedragscode, privacy) ---- */
.prose h2 { font-size: 1.35rem; margin: 2.2rem 0 .6rem; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-bottom: 1rem; }
.prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================================
   Formulieren
   ========================================================================== */
.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 2.5rem); }
.section--soft .form { box-shadow: var(--shadow); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.25rem; margin-bottom: 1.75rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--font-head); font-weight: 500; font-size: .92rem; color: var(--ink); }
.field .req { color: var(--blue); }
.field .opt { color: var(--muted); font-weight: 400; font-size: .82rem; }
.field input, .field select, .field textarea {
    font: inherit; color: var(--ink);
    background: var(--bg-soft);
    border: 1.5px solid var(--line); border-radius: 12px;
    padding: .75rem .9rem; width: 100%;
    transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none; border-color: var(--blue); background: #fff;
    box-shadow: 0 0 0 4px rgba(0,43,186,.1);
}
.field textarea { resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { color: var(--da, #c01c3c); margin-bottom: 1rem; font-weight: 500; }
@media (max-width: 560px) { .form__grid { grid-template-columns: 1fr; } }

/* ---- Meldingen ---- */
.notice { border-radius: var(--radius); padding: 1rem 1.25rem; margin-bottom: 2rem; font-weight: 500; }
.notice--ok  { background: #eafaf0; color: #1c7a43; border: 1px solid #b6e8c9; }
.notice--err { background: #fdecef; color: #b3203c; border: 1px solid #f3c2cd; }

/* ==========================================================================
   Agenda
   ========================================================================== */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.5rem; }
.chip {
    font-family: var(--font-head); font-weight: 500; font-size: .9rem;
    padding: .5rem 1rem; border-radius: var(--radius-pill);
    background: var(--bg-soft); color: var(--body);
    border: 1.5px solid var(--line); transition: all .15s ease;
}
.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip.is-active { background: var(--blue); color: #fff; border-color: var(--blue); }

.month-group { margin-bottom: 2.75rem; }
.month-group__title {
    font-size: 1.05rem; text-transform: capitalize;
    color: var(--blue); letter-spacing: .02em;
    padding-bottom: .6rem; margin-bottom: 1.1rem;
    border-bottom: 2px solid var(--line);
}
.event-row__desc { margin-top: .5rem; font-size: .92rem; color: var(--muted); }

/* ==========================================================================
   Lidmaatschap-tiers
   ========================================================================== */
.tier-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); align-items: start; }
.tier {
    position: relative; background: var(--white);
    border: 1px solid var(--line); border-radius: var(--radius-lg);
    padding: 2rem 1.75rem; transition: transform .2s ease, box-shadow .2s ease;
}
.tier:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.tier--featured { border-color: var(--blue); box-shadow: var(--shadow-lg); }
.tier__badge {
    position: absolute; top: -13px; left: 1.75rem;
    background: var(--yellow); color: var(--blue-ink);
    font-family: var(--font-head); font-weight: 600; font-size: .72rem;
    letter-spacing: .06em; text-transform: uppercase;
    padding: .35rem .85rem; border-radius: var(--radius-pill);
}
.tier__name { font-size: 1.3rem; margin-bottom: .5rem; }
.tier__price { font-family: var(--font-head); font-weight: 700; font-size: 2.6rem; color: var(--ink); line-height: 1; }
.tier__price .cur { font-size: 1.4rem; vertical-align: top; margin-right: 2px; }
.tier__price .per { font-size: .9rem; font-weight: 500; color: var(--muted); margin-left: .3rem; }
.tier__desc { color: var(--muted); margin: .75rem 0 1.25rem; font-size: .95rem; }
.tier__feats { display: grid; gap: .65rem; margin-bottom: 1.75rem; }
.tier__feats li { display: flex; gap: .6rem; align-items: flex-start; font-size: .95rem; }
.tier__feats .check {
    flex: none; width: 22px; height: 22px; border-radius: 50%;
    background: var(--bg-blue-soft); color: var(--blue);
    display: grid; place-items: center; font-size: .7rem; margin-top: .1rem;
}
.tier .btn { width: 100%; justify-content: center; }

/* ---- Stappen ---- */
.steps { display: grid; gap: 1.1rem; counter-reset: step; }
.steps li { display: flex; gap: 1rem; align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.25rem; }
.steps__num { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--blue); color: #fff; font-family: var(--font-head); font-weight: 700; display: grid; place-items: center; }
.steps a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }

/* ==========================================================================
   Training-tabel
   ========================================================================== */
.table-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.schedule { width: 100%; border-collapse: collapse; }
.schedule th, .schedule td { text-align: left; padding: 1rem 1.25rem; }
.schedule thead th { font-family: var(--font-head); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: var(--bg-soft); }
.schedule tbody tr { border-top: 1px solid var(--line); }
.schedule tbody tr:hover { background: var(--bg-blue-soft); }
@media (max-width: 640px) {
    .schedule thead { display: none; }
    .schedule, .schedule tbody, .schedule tr, .schedule td { display: block; width: 100%; }
    .schedule tr { padding: .5rem 0; }
    .schedule td { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 1.25rem; border: 0; }
    .schedule td::before { content: attr(data-label); font-weight: 600; color: var(--muted); font-family: var(--font-head); }
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid { display: grid; gap: clamp(2rem, 5vw, 3.5rem); }
@media (min-width: 860px) { .contact-grid { grid-template-columns: 1.4fr 1fr; } }
.contact-aside { background: var(--blue-ink); color: #c9d3f5; border-radius: var(--radius-lg); padding: 2rem 1.75rem; align-self: start; }
.contact-aside h2 { color: #fff; font-size: 1.4rem; margin-bottom: .5rem; }
.contact-list { margin: 1.5rem 0; display: grid; gap: 1rem; }
.contact-list li { display: grid; gap: .15rem; }
.contact-list span { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: #8e9bcb; }
.contact-list a { color: #fff; }
.contact-aside .btn { margin-top: .5rem; }
.contact-aside .btn--outline { color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.5); }
.contact-aside .btn--outline:hover { background: rgba(255,255,255,.1); }

/* ==========================================================================
   Beheer
   ========================================================================== */
.login-card { max-width: 420px; margin: 0 auto; }
.admin-bar { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.25rem; margin-bottom: 2rem; }
.admin-h { font-size: 1.3rem; margin: 2.5rem 0 1rem; }
.admin-list { display: grid; gap: 1rem; }
.admin-row { display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; align-items: start; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.5rem; }
.admin-row--compact { align-items: center; }
.admin-row__info h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.admin-row__sub { font-size: .85rem; color: var(--muted); margin-top: .5rem; }
.admin-row__sub a { color: var(--blue); }
.admin-row__actions { display: flex; flex-direction: column; gap: .5rem; }
.admin-row__actions form { display: block; }
.admin-row__actions .btn { width: 100%; justify-content: center; }
.btn--danger { --btn-bg: #fdecef; --btn-fg: #b3203c; box-shadow: inset 0 0 0 1.5px #f3c2cd; }
.btn--danger:hover { --btn-bg: #b3203c; --btn-fg: #fff; }
@media (max-width: 600px) {
    .admin-row { grid-template-columns: 1fr; }
    .admin-row__actions { flex-direction: row; flex-wrap: wrap; }
    .admin-row__actions .btn { width: auto; }
}
.admin-tabs { display: flex; gap: .5rem; margin-bottom: 1.5rem; }
.admin-tabs a {
    font-family: var(--font-head); font-weight: 500; font-size: .9rem;
    padding: .45rem 1rem; border-radius: var(--radius-pill);
    background: var(--bg-soft); color: var(--body); border: 1.5px solid var(--line);
}
.admin-tabs a:hover { border-color: var(--blue); color: var(--blue); }

/* ==========================================================================
   Ledenzone: navigatie-auth + deelnames aan wedstrijden
   ========================================================================== */
.nav__auth .nav__link { font-size: .92rem; }

/* Statuschips (groen = doet mee, amber = misschien) */
.part-chip {
    display: inline-flex; align-items: center; gap: .35rem;
    font-family: var(--font-head); font-weight: 600;
    font-size: .72rem; letter-spacing: .03em; text-transform: uppercase;
    padding: .25rem .65rem; border-radius: var(--radius-pill);
}
.part-chip--going { background: #e6f7ec; color: #1c7a43; }
.part-chip--maybe { background: #fff6dd; color: #9a7400; }

/* Deelnameblok onder een wedstrijd (alleen voor leden) */
.participation {
    margin-top: 1.1rem;
    padding: 1rem 1.1rem;
    border-radius: 16px;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    display: grid; gap: .85rem;
}
.participation__bar {
    display: flex; flex-wrap: wrap; align-items: center;
    gap: .6rem .9rem;
}
.participation__label {
    font-family: var(--font-head); font-weight: 600; font-size: .95rem;
    color: var(--ink);
}
.participation__controls { display: flex; flex-wrap: wrap; gap: .5rem; }
.participation__controls form { display: inline; margin: 0; }

.participation__people {
    display: flex; flex-wrap: wrap; align-items: center; gap: .45rem .65rem;
    font-size: .92rem;
    padding-top: .75rem;
    border-top: 1px solid var(--line);
}
.participation__names { color: var(--body); }
.participation__empty { color: var(--muted); font-style: italic; }
.participation__hint { margin-top: 1rem; padding-top: 1rem; border-top: 1px dashed var(--line); font-size: .9rem; color: var(--muted); }
.participation__hint a { color: var(--blue); font-weight: 600; }

/* Duidelijk klikbare knoppen */
.part-btn {
    font-family: var(--font-head); font-weight: 600; font-size: .88rem;
    line-height: 1;
    padding: .6rem 1.1rem; border-radius: var(--radius-pill);
    background: #fff; color: var(--ink);
    border: 1.5px solid var(--line); cursor: pointer;
    box-shadow: 0 1px 2px rgba(0,17,74,.06);
    transition: transform .15s ease, border-color .15s ease, background .15s ease, color .15s ease, box-shadow .15s ease;
}
.part-btn:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-1px); box-shadow: var(--shadow); }
.part-btn:active { transform: translateY(0); }
.part-btn--going.is-active { background: #1c7a43; border-color: #1c7a43; color: #fff; }
.part-btn--going.is-active:hover { background: #18683a; color: #fff; }
.part-btn--maybe.is-active { background: #f5c518; border-color: #f5c518; color: #3a2c00; }
.part-btn--maybe.is-active:hover { background: #e6b800; color: #3a2c00; }
.part-btn--clear { background: transparent; color: var(--muted); border-style: dashed; box-shadow: none; }
.part-btn--clear:hover { border-color: #b3203c; color: #b3203c; background: #fff; }

/* =====================================================================
   Uitbreidingen: clubactiviteiten, carpool, bestuur, shop, ledenzone
   en de nieuwe beheerschermen.
   ===================================================================== */

/* ---------- Hulpklassen ---------- */
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.inline-form { display: inline-flex; align-items: center; gap: .5rem; flex-wrap: wrap; margin-top: .5rem; }
.form__actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.form-hint { margin-top: 1rem; font-size: .9rem; text-align: center; }
.form-hint a, .link-ghost { color: var(--blue); font-weight: 600; }
.link-ghost { font-size: .88rem; text-decoration: none; }
.link-ghost:hover { text-decoration: underline; }
.event-row__tools { margin-top: .65rem; }

/* ---------- Anoniem meedoen ---------- */
.part-btn--anonymous.is-active { background: var(--blue-ink); border-color: var(--blue-ink); color: #fff; }
.part-btn--anonymous.is-active:hover { background: var(--blue-900); color: #fff; }

/* ---------- Clubactiviteiten: omgekeerde tegel ---------- */
.pill--club { background: var(--blue); color: #fff; }
.pill--warn { background: #fff6dd; color: #9a7400; }
.pill--ok   { background: #e6f7ec; color: #1c7a43; }
.chip--club.is-active { background: var(--blue-ink); border-color: var(--blue-ink); }

.event-row--club {
    background: var(--blue);
    border-color: var(--blue-900);
    color: #fff;
}
.event-row--club h3,
.event-row--club .event-row__desc,
.event-row--club .event-row__meta,
.event-row--club .participation__names,
.event-row--club .carpool { color: #fff; }
.event-row--club .event-row__date { background: var(--yellow); color: var(--blue-ink); }
.event-row--club .event-row__date .m { color: var(--blue-ink); }
.event-row--club .pill { background: rgba(255,255,255,.16); color: #fff; }
.event-row--club .pill--club { background: var(--yellow); color: var(--blue-ink); }
.event-row--club .event-row__cta { background: var(--yellow); color: var(--blue-ink); border-color: var(--yellow); }
/* Het deelnamepaneel staat normaal op een lichte achtergrond. In een blauwe
   tegel moet het mee donker worden, anders staat er witte tekst op lichtgrijs. */
.event-row--club .participation {
    background: rgba(0, 0, 0, .18);
    border-color: rgba(255,255,255,.22);
}
.event-row--club .participation__people,
.event-row--club .participation__hint,
.event-row--club .carpool { border-color: rgba(255,255,255,.25); }
.event-row--club .participation__label,
.event-row--club .participation__empty,
.event-row--club .participation__hint { color: rgba(255,255,255,.88); }
.event-row--club .link-ghost { color: var(--yellow); }
.event-row--club .carpool__hint,
.event-row--club .carpool__meta { color: rgba(255,255,255,.75); }

/* ---------- Samen rijden ---------- */
.carpool { margin-top: 1rem; padding-top: .9rem; border-top: 1px dashed var(--line); font-size: .92rem; }
.carpool > summary {
    cursor: pointer; font-family: var(--font-head); font-weight: 600;
    display: flex; flex-wrap: wrap; align-items: center; gap: .5rem;
}
.carpool__count { font-weight: 400; color: var(--muted); font-size: .85rem; }
.carpool__list { list-style: none; margin: .85rem 0; display: grid; gap: .5rem; }
.carpool__list li { display: flex; flex-wrap: wrap; gap: .5rem; align-items: baseline; }
.carpool__meta { color: var(--muted); font-size: .85rem; }
.carpool__fields { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-top: .5rem; }
.carpool__fields select,
.carpool__fields input {
    font: inherit; font-size: .9rem; padding: .5rem .7rem;
    border: 1.5px solid var(--line); border-radius: var(--radius-pill); background: #fff; color: var(--ink);
}
.carpool__fields input[type="number"] { width: 5rem; }
.carpool__fields input[type="text"] { flex: 1 1 12rem; min-width: 0; }
.carpool__hint { margin-top: .5rem; font-size: .82rem; color: var(--muted); }

/* ---------- Bestuur ---------- */
.board-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.board-card {
    background: var(--white, #fff); border: 1px solid var(--line); border-radius: var(--radius-lg);
    padding: 1.75rem 1.5rem; text-align: center; box-shadow: var(--shadow);
}
.board-card h3 { font-size: 1.1rem; margin-bottom: .2rem; }
.board-card p { font-size: .92rem; color: var(--body); margin-bottom: .5rem; }
.board-card a { color: var(--blue); overflow-wrap: anywhere; }
.board-card__role { color: var(--blue); font-weight: 600; font-size: .88rem; text-transform: uppercase; letter-spacing: .04em; }
.board-card__photo {
    width: 96px; height: 96px; border-radius: 50%; object-fit: cover;
    margin: 0 auto 1rem; display: block; background: var(--bg-blue-soft);
}
.board-card__photo--empty {
    display: grid; place-items: center;
    font-family: var(--font-head); font-size: 2rem; font-weight: 700; color: var(--blue);
}

/* ---------- Informatieblokken (praktische info) ---------- */
.info-block { margin-bottom: 3.5rem; }
.info-block > h2 { margin-bottom: 1rem; }
.info-block > p { margin-bottom: 1rem; max-width: 70ch; }
.info-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin: 1.5rem 0; }
.info-card {
    background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 1.4rem 1.5rem;
}
.info-card h3 { font-size: 1rem; margin-bottom: .5rem; }
.info-card p { font-size: .92rem; color: var(--body); }
.info-card a { color: var(--blue); }
.doc-links { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.25rem 0; }

/* ---------- Ledenzone: twee kolommen ---------- */
.account-grid { display: grid; gap: 2rem; grid-template-columns: minmax(0, 1fr) 320px; align-items: start; }
.account-side { display: grid; gap: 1.25rem; position: sticky; top: 100px; }
.side-card {
    background: var(--white, #fff); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 1.4rem 1.5rem; box-shadow: var(--shadow);
}
.side-card h2 { font-size: 1.05rem; margin-bottom: .6rem; }
.side-card p { font-size: .9rem; color: var(--body); margin-bottom: 1rem; }
.side-card--accent { background: var(--bg-blue-soft); border-color: #d5ddf7; }
.side-list { list-style: none; display: grid; gap: .85rem; }
.side-list li { display: flex; flex-direction: column; gap: .1rem; font-size: .9rem; }
.side-list a { color: var(--blue); font-weight: 600; }
.side-list span { color: var(--muted); font-size: .82rem; }

@media (max-width: 900px) {
    .account-grid { grid-template-columns: 1fr; }
    .account-side { position: static; }
}

/* ---------- Instagram ---------- */
.insta-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.insta-tile {
    position: relative; display: block; overflow: hidden;
    border-radius: var(--radius); box-shadow: var(--shadow);
    /* De club post staande beelden met tekst erin; op vierkant zou die tekst
       wegvallen. 4:5 is het staande formaat van Instagram. */
    aspect-ratio: 4 / 5;
}
.insta-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.insta-tile:hover img { transform: scale(1.04); }
.insta-tile__cap {
    position: absolute; inset: auto 0 0 0; padding: 1.5rem 1rem .9rem;
    background: linear-gradient(to top, rgba(0,17,74,.85), transparent);
    color: #fff; font-size: .85rem; line-height: 1.35;
}

/* ---------- Shop ---------- */
.product-grid { display: grid; gap: 1.75rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.product-card {
    background: var(--white, #fff); border: 1px solid var(--line); border-radius: var(--radius-lg);
    overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.product-card__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--bg-soft); }
.product-card__img--empty {
    display: grid; place-items: center;
    font-family: var(--font-head); font-weight: 800; color: var(--blue); letter-spacing: .08em;
}
.product-card__body { padding: 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.product-card__body h2 { font-size: 1.1rem; }
.product-card__price { font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; color: var(--blue); }
.product-card__desc { font-size: .9rem; color: var(--body); }
.product-card__form { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: auto; padding-top: .75rem; }
.product-card__form select,
.product-card__form input {
    font: inherit; font-size: .9rem; padding: .5rem .7rem;
    border: 1.5px solid var(--line); border-radius: var(--radius-pill); background: #fff;
}
.product-card__form select { flex: 1 1 8rem; min-width: 0; }
.product-card__form input[type="number"] { width: 4.5rem; }

.cart-table .qty-input {
    width: 4.5rem; font: inherit; padding: .4rem .6rem;
    border: 1.5px solid var(--line); border-radius: var(--radius-pill);
}
.cart-foot { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; margin-top: 1.5rem; }
.cart-total { font-family: var(--font-head); font-size: 1.15rem; margin: 1.25rem 0; }
.order-lines { list-style: none; margin-top: .6rem; font-size: .9rem; color: var(--body); display: grid; gap: .2rem; }

/* ---------- Vrijwaring op het inschrijfformulier ---------- */
.waiver {
    border: 1px solid var(--line); border-radius: var(--radius);
    padding: 1.4rem 1.5rem; margin-bottom: 1.75rem; background: var(--bg-soft);
}
.waiver legend { font-family: var(--font-head); font-weight: 600; padding: 0 .5rem; }
.waiver p { font-size: .88rem; color: var(--body); margin-bottom: 1rem; }

/* ---------- Aankruisvelden ---------- */
.checkgroup { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.25rem; margin-bottom: 1.5rem; }
.checkgroup legend { font-family: var(--font-head); font-weight: 600; font-size: .92rem; padding: 0 .4rem; }
.checkline { display: flex; align-items: flex-start; gap: .6rem; font-size: .92rem; margin: .4rem 0; cursor: pointer; }
.checkline input { margin-top: .2rem; width: 1.05rem; height: 1.05rem; accent-color: var(--blue); flex-shrink: 0; }
.checkline a { color: var(--blue); }

/* ---------- Beheer ---------- */
.admin-tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.admin-tabs a {
    font-family: var(--font-head); font-weight: 600; font-size: .88rem;
    padding: .5rem 1rem; border-radius: var(--radius-pill);
    border: 1.5px solid var(--line); color: var(--body); text-decoration: none;
}
.admin-tabs a:hover { border-color: var(--blue); color: var(--blue); }
.admin-tabs a.is-active { background: var(--blue); border-color: var(--blue); color: #fff; }

.admin-cards { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-bottom: 2rem; }
.admin-card {
    background: var(--white, #fff); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 1.5rem; text-decoration: none; color: var(--ink); box-shadow: var(--shadow);
    display: flex; flex-direction: column; gap: .35rem;
    transition: transform .15s ease, box-shadow .15s ease;
}
.admin-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.admin-card__num { font-family: var(--font-head); font-size: 2rem; font-weight: 800; color: var(--blue); line-height: 1; }
.admin-card__lbl { font-size: .88rem; color: var(--muted); }

.admin-toolbar { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; }
.admin-hint { font-size: .88rem; color: var(--muted); margin: 1rem 0 2rem; }
.admin-hint a { color: var(--blue); }
.admin-h--sm { font-size: 1.05rem; margin-top: 0; }
.admin-fieldset {
    border: 1px solid var(--line); border-radius: var(--radius);
    padding: 1.4rem 1.5rem; margin-bottom: 1.5rem; background: #fff;
}
.admin-fieldset legend { font-family: var(--font-head); font-weight: 600; padding: 0 .5rem; }
.admin-thumb { margin-top: .6rem; max-width: 120px; border-radius: var(--radius); border: 1px solid var(--line); }
.admin-row__form { min-width: 0; }
.admin-row__actions--stack { align-items: stretch; }
.admin-row.is-undone { opacity: .6; }
.form__grid--row { grid-template-columns: repeat(4, 1fr); gap: .75rem; margin-bottom: 1rem; }

.detail-list { display: grid; gap: .4rem; margin: .75rem 0; font-size: .9rem; }
.detail-list div { display: flex; flex-wrap: wrap; gap: .5rem; }
.detail-list dt { color: var(--muted); min-width: 10rem; }
.detail-list dd { color: var(--ink); font-weight: 500; }

@media (max-width: 760px) {
    .form__grid--row { grid-template-columns: 1fr 1fr; }
    .detail-list dt { min-width: 100%; }
}
@media (max-width: 480px) {
    .form__grid--row { grid-template-columns: 1fr; }
}
