/* =====================================================================
   Flotar Roden – ontwerpsysteem
   Kleuren zijn afgeleid van het logo: blauw #0071B9, antraciet en grijs.
   ===================================================================== */

:root {
    /* Merkkleuren */
    --brand-50:  #EEF7FD;
    --brand-100: #D8ECFA;
    --brand-200: #AFD8F3;
    --brand-300: #7CBEE9;
    --brand-400: #3E9BD8;
    --brand-500: #0071B9;
    --brand-600: #005E9C;
    --brand-700: #004B7E;
    --brand-800: #0A3557;
    --brand-900: #0B2439;

    --accent-400: #21B6C7;
    --accent-500: #0E97A8;
    --accent-600: #0A7A88;

    /* Neutralen */
    --ink:        #101A24;
    --ink-soft:   #33465A;
    --muted:      #5C6F81;
    --muted-soft: #8496A6;
    --line:       #DFE7EE;
    --line-soft:  #EDF2F6;
    --surface:    #FFFFFF;
    --surface-2:  #F5F8FB;
    --surface-3:  #EAF1F7;

    /* Statuskleuren */
    --danger:     #C0261C;
    --danger-bg:  #FDECEA;
    --danger-line:#F3C7C3;
    --success:    #16704A;
    --success-bg: #E7F6EE;
    --success-line:#BCE3CE;
    --warning:    #8A5A00;
    --warning-bg: #FFF6E5;
    --warning-line:#F0DCA8;

    /* Vorm */
    --radius-sm: 8px;
    --radius:    14px;
    --radius-lg: 22px;
    --radius-xl: 30px;

    --shadow-xs: 0 1px 2px rgba(11, 36, 57, .05);
    --shadow-sm: 0 1px 3px rgba(11, 36, 57, .07), 0 1px 2px rgba(11, 36, 57, .04);
    --shadow:    0 4px 8px -2px rgba(11, 36, 57, .07), 0 12px 28px -12px rgba(11, 36, 57, .22);
    --shadow-lg: 0 8px 16px -6px rgba(11, 36, 57, .10), 0 32px 64px -24px rgba(11, 36, 57, .30);

    /* Typografie */
    --font-sans: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

    /* Ritme */
    --container: 1180px;
    --container-narrow: 820px;
    --gutter: clamp(1.25rem, 4vw, 2.5rem);
    --section-y: clamp(3.5rem, 7vw, 6rem);

    --header-h: 78px;
}

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

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
    margin: 0;
    background: var(--surface);
    color: var(--ink);
    font-family: var(--font-sans);
    font-size: 1.0625rem;
    line-height: 1.65;
    font-feature-settings: "kern" 1, "liga" 1;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4, h5 {
    margin: 0 0 .6em;
    line-height: 1.18;
    font-weight: 750;
    letter-spacing: -.021em;
    color: var(--brand-900);
    text-wrap: balance;
}

h1 { font-size: clamp(2rem, 1.35rem + 2.6vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.3vw, 2.1rem); }
h3 { font-size: clamp(1.2rem, 1.08rem + .55vw, 1.45rem); }
h4 { font-size: 1.1rem; }

p  { margin: 0 0 1.15em; }
p:last-child, ul:last-child, ol:last-child { margin-bottom: 0; }

a {
    color: var(--brand-600);
    text-decoration-thickness: 1px;
    text-underline-offset: .18em;
}
a:hover { color: var(--brand-700); }

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

hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

::selection { background: var(--brand-200); color: var(--brand-900); }

/* ---------------------------------------------------------------------
   Hulpklassen
   --------------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
}
.container--narrow { max-width: var(--container-narrow); }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(2.25rem, 4.5vw, 3.5rem); }
.section--muted { background: var(--surface-2); }
.section--brand {
    background: linear-gradient(160deg, var(--brand-800) 0%, var(--brand-900) 100%);
    color: #E5EFF7;
}
.section--brand h2, .section--brand h3 { color: #fff; }

.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    margin: -1px; padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    left: 50%;
    top: -100px;
    transform: translateX(-50%);
    z-index: 200;
    background: var(--brand-600);
    color: #fff;
    padding: .85rem 1.4rem;
    border-radius: 0 0 var(--radius) var(--radius);
    font-weight: 600;
    text-decoration: none;
    transition: top .16s ease;
}
.skip-link:focus { top: 0; color: #fff; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .11em;
    text-transform: uppercase;
    color: var(--brand-500);
    margin-bottom: .8rem;
}
.eyebrow::before {
    content: "";
    width: 26px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
}
.section--brand .eyebrow { color: var(--brand-200); }

.lead {
    font-size: clamp(1.08rem, 1rem + .35vw, 1.28rem);
    line-height: 1.6;
    color: var(--ink-soft);
}
.section--brand .lead { color: #C9DDEC; }

.section-head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

.text-muted { color: var(--muted); }
.text-small { font-size: .92rem; }

/* ---------------------------------------------------------------------
   Knoppen
   --------------------------------------------------------------------- */
.btn {
    --btn-bg: var(--brand-500);
    --btn-fg: #fff;
    --btn-border: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    padding: .85rem 1.5rem;
    border: 1px solid var(--btn-border);
    border-radius: 999px;
    background: var(--btn-bg);
    color: var(--btn-fg);
    font-weight: 650;
    font-size: 1rem;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .16s ease, color .16s ease, transform .16s ease, box-shadow .16s ease;
    box-shadow: var(--shadow-xs);
}
.btn:hover { --btn-bg: var(--brand-600); color: var(--btn-fg); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn:active { transform: translateY(0); }

.btn--ghost   { --btn-bg: transparent; --btn-fg: var(--brand-600); --btn-border: var(--line); box-shadow: none; }
.btn--ghost:hover { --btn-bg: var(--brand-50); --btn-fg: var(--brand-700); --btn-border: var(--brand-200); }

.btn--light   { --btn-bg: #fff; --btn-fg: var(--brand-700); }
.btn--light:hover { --btn-bg: var(--brand-50); --btn-fg: var(--brand-800); }

.btn--outline-light { --btn-bg: transparent; --btn-fg: #fff; --btn-border: rgba(255,255,255,.45); box-shadow: none; }
.btn--outline-light:hover { --btn-bg: rgba(255,255,255,.12); --btn-fg: #fff; }

.btn--accent { --btn-bg: var(--accent-500); }
.btn--accent:hover { --btn-bg: var(--accent-600); }

.btn--sm { padding: .55rem 1.1rem; font-size: .92rem; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }

.arrow-link {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-weight: 650;
    text-decoration: none;
    color: var(--brand-600);
}
.arrow-link::after {
    content: "→";
    transition: transform .16s ease;
}
.arrow-link:hover::after { transform: translateX(3px); }

/* ---------------------------------------------------------------------
   Header en navigatie
   --------------------------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .93);
    backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--line-soft);
}
.site-header__bar {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    min-height: var(--header-h);
}

.site-logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.site-logo img { height: 46px; width: auto; }

/* Slogan tussen logo en knoppen, alleen op ruime schermen. */
.site-header__claim {
    margin: 0;
    padding-left: 1.5rem;
    border-left: 1px solid var(--line);
    font-size: .88rem;
    font-weight: 600;
    color: var(--muted);
    line-height: 1.35;
    max-width: 22rem;
}

.site-header__actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-left: auto;
    flex-shrink: 0;
}
.site-header__mail { font-size: .92rem; font-weight: 600; }
.site-header__mail a { text-decoration: none; }
.site-header__mail a:hover { text-decoration: underline; }

/* Tweede rij: het hoofdmenu over de volle breedte. */
.site-header__nav { border-top: 1px solid var(--line-soft); }
.site-header__nav > .container { padding-block: .25rem; }

/* De koptekst mag breder zijn dan de inhoud, zodat het menu op één regel past. */
.site-header .container { max-width: 1360px; }

.nav-toggle {
    display: none;
    align-items: center;
    gap: .55rem;
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: .55rem 1rem .55rem .85rem;
    font-weight: 650;
    font-size: .95rem;
    color: var(--brand-800);
    cursor: pointer;
}
.nav-toggle__bars { display: grid; gap: 4px; width: 18px; }
.nav-toggle__bars span {
    display: block; height: 2px; background: currentColor; border-radius: 2px;
    transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.main-nav { display: flex; align-items: center; gap: .1rem; flex-wrap: wrap; }
.main-nav > a {
    display: inline-block;
    padding: .72rem .55rem;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    color: var(--ink-soft);
    font-weight: 600;
    font-size: .875rem;
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.main-nav > a:hover { background: var(--brand-50); color: var(--brand-700); }
.main-nav > a[aria-current="page"] {
    color: var(--brand-600);
    border-bottom-color: var(--brand-500);
    background: transparent;
}

.header-cta-mobile { display: none; }

@media (max-width: 1420px) {
    .site-header__claim { display: none; }
}

/* Onder 1280px past het menu niet meer op één regel: uitklapbaar paneel. */
@media (max-width: 1279px) {
    .site-header__nav { border-top: 0; }
    .site-header__nav > .container { padding: 0; }
    .site-header__actions { display: none; }
    .nav-toggle { display: inline-flex; margin-left: auto; }
    .main-nav {
        position: fixed;
        inset: var(--header-h) 0 auto 0;
        display: block;
        background: var(--surface);
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow-lg);
        padding: .75rem var(--gutter) 1.5rem;
        max-height: calc(100dvh - var(--header-h));
        overflow-y: auto;
        transform: translateY(-8px);
        opacity: 0;
        visibility: hidden;
        transition: opacity .18s ease, transform .18s ease, visibility .18s;
    }
    .main-nav[data-open="true"] { transform: translateY(0); opacity: 1; visibility: visible; }
    .main-nav > a {
        display: block;
        padding: .85rem 1rem;
        border-radius: var(--radius-sm);
        font-size: 1.05rem;
        border-bottom: 1px solid var(--line-soft);
    }
    .main-nav > a:last-of-type { border-bottom: 0; }
    /* In het uitklapmenu is een gemarkeerde rij duidelijker dan een streep. */
    .main-nav > a[aria-current="page"] {
        background: var(--brand-50);
        color: var(--brand-700);
        border-bottom-color: var(--line-soft);
    }
    .header-cta-mobile { display: block; margin-top: 1.1rem; }
    .header-cta-mobile .btn { width: 100%; }
}

/* ---------------------------------------------------------------------
   Hero
   --------------------------------------------------------------------- */
.hero {
    position: relative;
    isolation: isolate;
    color: #fff;
    background: var(--brand-800);
    overflow: hidden;
}
.hero__media {
    position: absolute;
    inset: 0;
    z-index: -2;
}
.hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 42%;
}
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(100deg, rgba(11, 36, 57, .93) 0%, rgba(11, 36, 57, .78) 42%, rgba(0, 94, 156, .48) 100%);
}
.hero__inner {
    padding-block: clamp(3.5rem, 9vw, 7.5rem);
    max-width: 44rem;
}
.hero h1 { color: #fff; margin-bottom: .5em; }
.hero p { color: #D3E4F1; }
.hero .eyebrow { color: var(--brand-200); }
.hero .btn-row { margin-top: 2rem; }

.hero--page .hero__inner { padding-block: clamp(2.75rem, 6vw, 4.75rem); max-width: 46rem; }
.hero--page h1 { font-size: clamp(1.85rem, 1.3rem + 2.2vw, 2.7rem); }

/* Golfrand onderaan de hero */
.hero__wave { display: block; width: 100%; height: auto; margin-top: -1px; color: var(--surface); }
.hero__wave--muted { color: var(--surface-2); }

/* Kruimelpad */
.breadcrumb { font-size: .88rem; margin-bottom: 1.1rem; color: #A9C6DC; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; margin: 0; padding: 0; }
.breadcrumb li::after { content: "/"; margin-left: .4rem; opacity: .55; }
.breadcrumb li:last-child::after { content: ""; }
.breadcrumb a { color: inherit; text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb [aria-current="page"] { color: #fff; font-weight: 600; }

/* ---------------------------------------------------------------------
   Kaarten en rasters
   --------------------------------------------------------------------- */
.grid { display: grid; gap: clamp(1.1rem, 2.2vw, 1.75rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }

.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: clamp(1.35rem, 2.5vw, 1.9rem);
    box-shadow: var(--shadow-xs);
    transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}
.card--hover:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: var(--brand-200); }
.card--flat { box-shadow: none; }
.card h3 { margin-bottom: .45rem; }
.card__icon {
    width: 46px; height: 46px;
    display: grid; place-items: center;
    border-radius: 13px;
    background: var(--brand-50);
    color: var(--brand-600);
    margin-bottom: 1rem;
}
.card__icon svg { width: 24px; height: 24px; }

/* Kaart met beeld */
.media-card {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xs);
    transition: box-shadow .18s ease, transform .18s ease;
    height: 100%;
}
.media-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.media-card__media { aspect-ratio: 16 / 9; background: var(--surface-3); overflow: hidden; }
.media-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.media-card:hover .media-card__media img { transform: scale(1.04); }
.media-card__body { padding: 1.35rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.media-card__body h3 { font-size: 1.18rem; }
.media-card__meta { font-size: .86rem; color: var(--muted); margin-bottom: .5rem; font-weight: 600; }
.media-card__body .arrow-link { margin-top: auto; padding-top: .9rem; }

/* Statistiekblokken */
.stats { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.stats--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); }
.stat { background: var(--surface); padding: 1.6rem 1.4rem; text-align: center; }
.stat__value { font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.4rem); font-weight: 800; color: var(--brand-600); line-height: 1.1; letter-spacing: -.02em; }
.stat__label { font-size: .9rem; color: var(--muted); margin-top: .3rem; }

/* ---------------------------------------------------------------------
   Zwemtijden
   --------------------------------------------------------------------- */
.times { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.time-card {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-left: 4px solid var(--brand-500);
    border-radius: var(--radius);
    padding: 1.15rem 1.35rem;
}
.section--brand .time-card {
    background: rgba(255,255,255,.07);
    border-color: rgba(255,255,255,.16);
    border-left-color: var(--brand-300);
    color: #fff;
}
.time-card__day { font-weight: 700; color: var(--brand-800); font-size: 1.05rem; }
.section--brand .time-card__day { color: #fff; }
.time-card__hours { font-size: 1.35rem; font-weight: 750; color: var(--brand-600); letter-spacing: -.01em; }
.section--brand .time-card__hours { color: var(--brand-200); }
.time-card__note { font-size: .88rem; color: var(--muted); }
.section--brand .time-card__note { color: #B7D0E3; }

/* ---------------------------------------------------------------------
   Zwemkalender
   --------------------------------------------------------------------- */
.calendar-toolbar {
    display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between;
    margin-bottom: 2rem;
}
.year-switch { display: flex; gap: .4rem; flex-wrap: wrap; }
.year-switch a {
    padding: .5rem 1rem; border-radius: 999px; border: 1px solid var(--line);
    text-decoration: none; font-weight: 650; color: var(--ink-soft); background: var(--surface);
}
.year-switch a[aria-current="true"] { background: var(--brand-500); border-color: var(--brand-500); color: #fff; }
.year-switch a:hover:not([aria-current="true"]) { border-color: var(--brand-300); color: var(--brand-700); }

.calendar-legend { display: flex; flex-wrap: wrap; gap: 1.25rem; font-size: .92rem; color: var(--muted); }
.calendar-legend span { display: inline-flex; align-items: center; gap: .5rem; }
.legend-dot { width: 14px; height: 14px; border-radius: 4px; border: 1px solid var(--line); }
.legend-dot--swim { background: var(--surface); }
.legend-dot--off  { background: var(--danger); border-color: var(--danger); }

.calendar-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15.5rem), 1fr)); }
.month {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--surface);
    box-shadow: var(--shadow-xs);
}
.month__head {
    background: var(--surface-2);
    padding: .8rem 1.1rem;
    font-weight: 700;
    color: var(--brand-800);
    border-bottom: 1px solid var(--line);
    display: flex; align-items: baseline; justify-content: space-between; gap: .5rem;
}
.month__count { font-size: .8rem; font-weight: 600; color: var(--muted); }
.month__list { list-style: none; margin: 0; padding: .5rem; display: grid; gap: .3rem; }
.swim-day {
    display: flex; align-items: center; gap: .7rem;
    padding: .5rem .7rem;
    border-radius: var(--radius-sm);
    font-size: .95rem;
}
.swim-day__dow {
    flex: 0 0 2.1rem;
    font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
    color: var(--muted);
}
.swim-day__date { font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; }
.swim-day__note {
    margin-left: auto; font-size: .78rem; color: var(--muted); text-align: right;
    text-decoration: none; max-width: 45%; line-height: 1.3;
}
.swim-day--off {
    background: var(--danger-bg);
    color: #7C1A14;
}
.swim-day--off .swim-day__date { text-decoration: line-through; text-decoration-color: rgba(124, 26, 20, .5); }
.swim-day--off .swim-day__dow, .swim-day--off .swim-day__note { color: #9B3129; }
.swim-day--today { outline: 2px solid var(--brand-400); outline-offset: -2px; }
.swim-day--next { background: var(--brand-50); }

.next-swim {
    display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem;
    background: linear-gradient(120deg, var(--brand-600), var(--brand-500));
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 1.5rem 1.75rem;
}
.next-swim__label { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; color: var(--brand-100); }
.next-swim__date  { font-size: clamp(1.25rem, 1.05rem + .8vw, 1.7rem); font-weight: 750; }
.next-swim__time  { color: #D6EAF8; }

/* ---------------------------------------------------------------------
   Tabellen
   --------------------------------------------------------------------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table.data { width: 100%; border-collapse: collapse; min-width: 32rem; }
table.data th, table.data td { padding: .9rem 1.1rem; text-align: left; border-bottom: 1px solid var(--line-soft); }
table.data thead th {
    background: var(--surface-2);
    font-size: .8rem; text-transform: uppercase; letter-spacing: .06em;
    color: var(--muted); font-weight: 700;
    border-bottom: 1px solid var(--line);
}
table.data tbody tr:last-child td { border-bottom: 0; }
table.data tbody tr:hover { background: var(--brand-50); }
table.data td.numeric { text-align: right; font-variant-numeric: tabular-nums; font-weight: 650; white-space: nowrap; }
table.data caption { caption-side: bottom; padding: .9rem 1.1rem; font-size: .88rem; color: var(--muted); text-align: left; }

.fee-total td { font-weight: 700; background: var(--surface-2); color: var(--brand-800); }

/* ---------------------------------------------------------------------
   Personen
   --------------------------------------------------------------------- */
.people { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); }
.person {
    display: flex; gap: 1rem; align-items: flex-start;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.1rem 1.2rem;
}
.person__avatar {
    flex: 0 0 46px; height: 46px; border-radius: 50%;
    background: var(--brand-100); color: var(--brand-700);
    display: grid; place-items: center;
    font-weight: 750; font-size: 1rem; letter-spacing: .02em;
    overflow: hidden;
}
.person__avatar img { width: 100%; height: 100%; object-fit: cover; }
.person__name { font-weight: 700; color: var(--brand-900); }
.person__role { font-size: .9rem; color: var(--muted); margin-bottom: .3rem; }
.person__contact { font-size: .9rem; display: grid; gap: .15rem; }
.person__contact a { word-break: break-word; }

/* ---------------------------------------------------------------------
   Links en sponsoren
   --------------------------------------------------------------------- */
.link-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.link-list a {
    display: flex; align-items: center; gap: .9rem;
    padding: 1rem 1.2rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    text-decoration: none;
    color: var(--ink);
    transition: border-color .16s ease, transform .16s ease, box-shadow .16s ease;
}
.link-list a:hover { border-color: var(--brand-300); transform: translateX(2px); box-shadow: var(--shadow-xs); }
.link-list__title { font-weight: 650; color: var(--brand-800); }
.link-list__desc { font-size: .87rem; color: var(--muted); }
.link-list__ext { margin-left: auto; color: var(--brand-500); flex-shrink: 0; }

.sponsors { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); align-items: stretch; }
.sponsor {
    display: grid; place-items: center;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.5rem;
    min-height: 8rem;
}
.sponsor img { max-height: 5.5rem; width: auto; object-fit: contain; }
.sponsor__name { font-weight: 650; color: var(--ink-soft); text-align: center; }
a.sponsor:hover { border-color: var(--brand-300); box-shadow: var(--shadow-xs); }

/* ---------------------------------------------------------------------
   Documenten
   --------------------------------------------------------------------- */
.doc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.doc {
    display: flex; gap: 1.1rem; align-items: flex-start;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.2rem 1.35rem;
}
.doc__icon {
    flex: 0 0 44px; height: 52px; border-radius: 8px;
    background: var(--danger-bg); color: var(--danger);
    display: grid; place-items: center; font-weight: 800; font-size: .72rem; letter-spacing: .04em;
    border: 1px solid var(--danger-line);
}
.doc__title { font-weight: 700; color: var(--brand-900); }
.doc__desc { font-size: .92rem; color: var(--muted); margin: .2rem 0 .6rem; }
.doc__meta { font-size: .82rem; color: var(--muted-soft); }

/* ---------------------------------------------------------------------
   Rijke tekst
   --------------------------------------------------------------------- */
.prose { max-width: 68ch; }
.prose > *:first-child { margin-top: 0; }
.prose h2 { margin-top: 2.2em; }
.prose h3 { margin-top: 1.8em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul, .prose ol { margin: 0 0 1.15em; padding-left: 1.35em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--brand-400); }
.prose blockquote {
    margin: 1.8em 0;
    padding: .3em 0 .3em 1.35em;
    border-left: 3px solid var(--brand-300);
    color: var(--ink-soft);
    font-style: italic;
}
.prose img { border-radius: var(--radius); margin: 1.5em 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .96rem; }
.prose th, .prose td { padding: .7rem .9rem; border: 1px solid var(--line); text-align: left; }
.prose thead th { background: var(--surface-2); }
.prose code { background: var(--surface-3); padding: .12em .4em; border-radius: 4px; font-family: var(--font-mono); font-size: .9em; }
.prose figure { margin: 1.6em 0; }
.prose figcaption { font-size: .88rem; color: var(--muted); margin-top: .5em; }

/* ---------------------------------------------------------------------
   Layout met zijkolom
   --------------------------------------------------------------------- */
.with-aside {
    display: grid;
    gap: clamp(2rem, 4vw, 3.25rem);
    grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 62rem) {
    .with-aside { grid-template-columns: minmax(0, 1fr) 20.5rem; align-items: start; }
    .with-aside__side { position: sticky; top: calc(var(--header-h) + 1.5rem); }
}
.side-card {
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}
.side-card + .side-card { margin-top: 1.25rem; }
.side-card h3 { font-size: 1.05rem; margin-bottom: .9rem; }
.side-card dl { margin: 0; display: grid; gap: .8rem; }
.side-card dl > div { min-width: 0; }
.side-card dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .07em; font-weight: 700; color: var(--muted); }
/* Lange e-mailadressen mogen afbreken in plaats van de pagina te verbreden. */
.side-card dd { margin: .1rem 0 0; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.side-card dd a { font-weight: 600; }
.mail-link { overflow-wrap: anywhere; }

/* ---------------------------------------------------------------------
   Formulieren
   --------------------------------------------------------------------- */
.form { display: grid; gap: 1.3rem; }
.form-row { display: grid; gap: 1.3rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }

.field label, .field .label {
    display: block;
    font-weight: 650;
    margin-bottom: .4rem;
    color: var(--brand-900);
}
.field .required { color: var(--danger); }
.field .hint { font-size: .87rem; color: var(--muted); margin-top: .4rem; }

.input, .textarea, .select {
    width: 100%;
    padding: .8rem 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--surface);
    color: var(--ink);
    transition: border-color .15s ease, box-shadow .15s ease;
}
.input:hover, .textarea:hover, .select:hover { border-color: var(--muted-soft); }
.input:focus, .textarea:focus, .select:focus {
    outline: none;
    border-color: var(--brand-500);
    box-shadow: 0 0 0 3px rgba(0, 113, 185, .18);
}
.textarea { min-height: 10rem; resize: vertical; }
.select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%235C6F81' d='M1.4 0 6 4.6 10.6 0 12 1.4 6 7.4 0 1.4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 11px;
    padding-right: 2.6rem;
}
.input[aria-invalid="true"], .textarea[aria-invalid="true"], .select[aria-invalid="true"] {
    border-color: var(--danger);
    box-shadow: 0 0 0 3px rgba(192, 38, 28, .14);
}
.field-error { color: var(--danger); font-size: .88rem; margin-top: .4rem; font-weight: 600; }

.checkbox-field { display: flex; gap: .7rem; align-items: flex-start; }
.checkbox-field input { margin-top: .3rem; width: 1.05rem; height: 1.05rem; accent-color: var(--brand-500); }
.checkbox-field label { font-weight: 500; color: var(--ink-soft); margin: 0; }

/* Honeypot – onzichtbaar voor mensen, zichtbaar voor bots */
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------------------------------------------------------------------
   Meldingen
   --------------------------------------------------------------------- */
.alert {
    display: flex;
    gap: .85rem;
    padding: 1.1rem 1.3rem;
    border-radius: var(--radius);
    border: 1px solid transparent;
    margin-bottom: 1.5rem;
}
.alert__icon { flex-shrink: 0; font-weight: 800; }
.alert--success { background: var(--success-bg); border-color: var(--success-line); color: #10553A; }
.alert--error   { background: var(--danger-bg);  border-color: var(--danger-line);  color: #7C1A14; }
.alert--warning { background: var(--warning-bg); border-color: var(--warning-line); color: var(--warning); }
.alert--info    { background: var(--brand-50);   border-color: var(--brand-200);    color: var(--brand-800); }
.alert p:last-child { margin-bottom: 0; }
.alert ul { margin: .5rem 0 0; padding-left: 1.2rem; }

/* ---------------------------------------------------------------------
   Footer
   --------------------------------------------------------------------- */
.site-footer {
    background: var(--brand-900);
    color: #B7CDDE;
    padding-block: clamp(3rem, 5vw, 4.5rem) 0;
    font-size: .96rem;
}
.footer-grid {
    display: grid;
    gap: 2.5rem;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
    padding-bottom: 2.75rem;
}
.site-footer h2, .site-footer h3 {
    color: #fff;
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: 1.1rem;
}
.site-footer a { color: #CFE1EE; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer-logo img { height: 44px; width: auto; margin-bottom: 1.1rem; }
.footer-note { color: #96B2C7; font-size: .9rem; }
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .12);
    padding-block: 1.5rem;
    display: flex; flex-wrap: wrap; gap: .75rem 1.75rem; align-items: center;
    justify-content: space-between;
    font-size: .88rem;
    color: #8FAEC5;
}
.footer-bottom p { margin: 0; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 1.25rem; }

/* Vermelding van de maker, rechts onderin. */
.footer-credit { margin-left: auto; }
.footer-credit a {
    color: #A8C4D8;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, .22);
    padding-bottom: 1px;
    transition: color .15s ease, border-color .15s ease;
}
.footer-credit a:hover { color: #fff; border-bottom-color: currentColor; text-decoration: none; }
@media (max-width: 48rem) {
    .footer-bottom { flex-direction: column; align-items: flex-start; }
    .footer-credit { margin-left: 0; }
}

/* ---------------------------------------------------------------------
   Diversen
   --------------------------------------------------------------------- */
.badge {
    display: inline-flex; align-items: center; gap: .35rem;
    padding: .25rem .7rem;
    border-radius: 999px;
    font-size: .78rem; font-weight: 700; letter-spacing: .02em;
    background: var(--brand-50); color: var(--brand-700);
    border: 1px solid var(--brand-100);
}
.badge--accent  { background: #E4F7F9; color: var(--accent-600); border-color: #C2ECF1; }
.badge--warning { background: var(--warning-bg); color: var(--warning); border-color: var(--warning-line); }
.badge--danger  { background: var(--danger-bg); color: var(--danger); border-color: var(--danger-line); }
.badge--muted   { background: var(--surface-2); color: var(--muted); border-color: var(--line); }

.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.timeline li {
    display: grid;
    grid-template-columns: 8.5rem 1fr;
    gap: 1.5rem;
    padding: 1.35rem 0;
    border-bottom: 1px solid var(--line);
}
.timeline li:last-child { border-bottom: 0; }
.timeline__date { font-weight: 700; color: var(--brand-600); font-size: .95rem; }
.timeline__title { font-weight: 700; color: var(--brand-900); font-size: 1.08rem; margin-bottom: .2rem; }
.timeline__meta { font-size: .9rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: .5rem .9rem; align-items: center; }
@media (max-width: 40rem) {
    .timeline li { grid-template-columns: 1fr; gap: .35rem; }
}

.empty-state {
    text-align: center;
    padding: 3rem 1.5rem;
    border: 1px dashed var(--line);
    border-radius: var(--radius-lg);
    color: var(--muted);
    background: var(--surface-2);
}

.cta-band {
    background: linear-gradient(120deg, var(--brand-600) 0%, var(--brand-500) 55%, var(--accent-500) 130%);
    color: #fff;
    border-radius: var(--radius-xl);
    padding: clamp(2rem, 4vw, 3.25rem);
    display: grid;
    gap: 1.75rem;
    align-items: center;
}
@media (min-width: 52rem) {
    .cta-band { grid-template-columns: 1fr auto; gap: 2.5rem; }
}
.cta-band h2 { color: #fff; margin-bottom: .35rem; }
.cta-band p { color: #DCEDF9; margin-bottom: 0; }

.pagination { display: flex; gap: .5rem; flex-wrap: wrap; justify-content: center; margin-top: 2.5rem; }
.pagination a, .pagination span {
    padding: .55rem 1rem; border-radius: var(--radius-sm);
    border: 1px solid var(--line); text-decoration: none; color: var(--ink-soft); font-weight: 600;
}
.pagination a:hover { border-color: var(--brand-300); color: var(--brand-700); }
.pagination [aria-current="page"] { background: var(--brand-500); border-color: var(--brand-500); color: #fff; }

/* ---------------------------------------------------------------------
   Bewegingsvoorkeur en print
   --------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }
}

@media print {
    .site-header, .site-footer, .skip-link, .btn, .cta-band, .hero__media, .hero__wave { display: none !important; }
    body { font-size: 11pt; color: #000; background: #fff; }
    .hero { background: none; color: #000; padding: 0; }
    .hero h1, .hero p { color: #000; }
    .hero::after { display: none; }
    .card, .month, .table-wrap { break-inside: avoid; border-color: #999; box-shadow: none; }
    a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #444; }
    .section { padding-block: 1rem; }
}
