/* SJO DEES Vessem - publieke site */
:root {
    --blue: #004B9B;
    --green: #0A7A3D;
    --ink: #1B2A44;
    --grey: #E9EEF2;
    --white: #fff;
    --blue-soft: #e5eef8;
    --green-soft: #e3f2ea;
    --text: #243049;
    --muted: #5d6b82;
    --line: #d8e0e8;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 1px 2px rgba(27, 42, 68, .06), 0 8px 24px rgba(27, 42, 68, .08);
    --font: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
    --header-h: 84px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--white); line-height: 1.6; font-size: 1rem; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--green); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .6em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); font-weight: 800; }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.icon { flex: none; vertical-align: middle; }
.container { width: min(1180px, 100% - 2rem); margin-inline: auto; }
.container.narrow { width: min(820px, 100% - 2rem); }
.container.with-side { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 3rem; align-items: start; }
.center { text-align: center; }
.muted { color: var(--muted); }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 200; }
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid #f2b705; outline-offset: 2px; border-radius: 4px; }

/* Knoppen */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .7rem 1.3rem; border-radius: 999px; border: 2px solid transparent; font: 600 .92rem var(--font); text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; line-height: 1.2; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: #086431; color: #fff; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: #003c7c; color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--grey); color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-lg { padding: .95rem 1.7rem; font-size: 1rem; }
.btn-sm { padding: .45rem .95rem; font-size: .82rem; }
.btn-login { border-color: var(--ink); color: var(--ink); padding: .55rem 1.05rem; }
.btn-login:hover { background: var(--ink); color: #fff; }
.more { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; text-decoration: none; font-size: .92rem; }
.more:hover .icon { transform: translateX(3px); }
.more .icon { transition: transform .2s; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .97); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; z-index: 1; pointer-events: none; background: linear-gradient(90deg, var(--blue) 50%, var(--green) 50%); }
.header-inner { width: min(1320px, 100% - 2rem); margin-inline: auto; min-height: var(--header-h); display: flex; align-items: center; gap: 1.2rem; }
.brand { text-decoration: none; display: block; }
.wordmark { display: inline-flex; align-items: center; gap: .6rem; }
.wordmark-mark { width: 42px; height: auto; }
.wordmark-text { display: flex; flex-direction: column; line-height: 1; }
.wm-sjo { font-weight: 800; font-style: italic; font-size: 1.6rem; color: var(--ink); letter-spacing: -.02em; }
.wm-name { font-weight: 800; font-style: italic; font-size: 1.02rem; letter-spacing: -.01em; margin-top: 2px; }
.wm-dees { color: var(--blue); }
.wm-vessem { color: var(--green); }
.wordmark.on-dark .wm-sjo { color: #fff; }
.wordmark.on-dark .wm-dees { color: #7db4ee; }
.wordmark.on-dark .wm-vessem { color: #6fd29a; }
.slogan { font-size: .66rem; font-weight: 600; letter-spacing: .22em; color: var(--muted); border-left: 2px solid var(--line); padding-left: 1rem; line-height: 1.4; max-width: 9rem; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 1rem; }
.site-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .1rem; }
.site-nav li { position: relative; display: flex; align-items: center; }
.site-nav a { text-decoration: none; }
.site-nav > ul > li > a { color: var(--ink); font-weight: 600; font-size: .84rem; padding: .6rem .5rem; border-radius: 8px; position: relative; white-space: nowrap; }
.site-nav > ul > li > a::after { content: ""; position: absolute; left: .6rem; right: .6rem; bottom: .25rem; height: 2px; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.site-nav > ul > li:hover > a::after, .site-nav > ul > li.is-active > a::after { transform: scaleX(1); }
.site-nav > ul > li.is-active > a { color: var(--blue); }
.sub-toggle { background: none; border: 0; color: var(--ink); padding: .25rem; cursor: pointer; margin-left: -.5rem; display: none; }
.has-sub > a { padding-right: .2rem; }
.has-sub::after { content: ""; width: 7px; height: 7px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg) translateY(-2px); margin: 0 .55rem 0 .1rem; }
.sub { list-style: none; margin: 0; padding: .5rem; position: absolute; left: 0; top: calc(100% - 4px); z-index: 5; min-width: 240px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s ease .12s, transform .2s ease .12s, visibility 0s linear .32s; display: block !important; }
.sub::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.has-sub:hover > .sub, .has-sub:focus-within > .sub, .has-sub.open > .sub { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.has-sub::after { transition: transform .2s; }
.has-sub:hover::after, .has-sub.open::after { transform: rotate(225deg) translate(-2px, -1px); }
.sub a { display: block; padding: .6rem .8rem; color: var(--ink); font-weight: 500; font-size: .9rem; border-radius: 8px; }
.sub a:hover { background: var(--grey); color: var(--blue); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; color: var(--ink); padding: .4rem; cursor: pointer; }
.nav-toggle .when-open { display: none; }
.nav-toggle[aria-expanded="true"] .when-open { display: inline; }
.nav-toggle[aria-expanded="true"] .when-closed { display: none; }

@media (max-width: 1500px) { .slogan { display: none; } }
@media (max-width: 1200px) {
    .nav-toggle { display: inline-flex; }
    .site-nav { position: fixed; inset: var(--header-h) 0 0 0; background: #fff; flex-direction: column; align-items: stretch; padding: 1rem 1.2rem 2rem; overflow-y: auto; transform: translateX(100%); transition: transform .3s; margin: 0; gap: 1rem; visibility: hidden; }
    .site-nav.open { transform: none; visibility: visible; }
    .site-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
    .site-nav li { flex-wrap: wrap; border-bottom: 1px solid var(--grey); }
    .site-nav > ul > li > a { flex: 1; font-size: 1.05rem; padding: .95rem .3rem; }
    .site-nav > ul > li > a::after { display: none; }
    .has-sub::after { display: none; }
    .sub-toggle { display: inline-flex; padding: .9rem; margin: 0; }
    .sub-toggle .icon { transition: transform .2s; }
    .has-sub.open .sub-toggle .icon { transform: rotate(180deg); }
    .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 1rem; width: 100%; max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease; }
    .sub::before { display: none; }
    .has-sub.open > .sub { max-height: 40rem; padding-bottom: .5rem; }
    .btn-login { align-self: flex-start; }
}

/* Hero */
.hero { position: relative; min-height: 340px; display: flex; align-items: center; overflow: hidden; background: var(--ink); color: #fff; isolation: isolate; }
.hero-bg { position: absolute; top: 0; right: 0; bottom: 0; aspect-ratio: 521 / 480; background: var(--ink) no-repeat center / cover; z-index: -3; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 55%); mask-image: linear-gradient(90deg, transparent 0, #000 55%); }
.hero { background: var(--ink); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(95deg, rgba(14, 24, 44, .94) 0%, rgba(14, 24, 44, .86) 38%, rgba(14, 24, 44, .35) 70%, rgba(14, 24, 44, .1) 100%); }
.hero-shapes span { position: absolute; top: -10%; bottom: -10%; z-index: -1; transform: skewX(-18deg); }
.shape-blue { left: 56%; width: 14px; background: var(--blue); }
.shape-green { left: calc(56% + 30px); width: 34px; background: var(--green); }
.hero-content { padding-block: 2.2rem 5.2rem; }
.eyebrow { font-weight: 600; letter-spacing: .3em; font-size: .78rem; margin-bottom: .7rem; color: #cfe3f7; display: flex; align-items: center; gap: .9rem; }
.eyebrow::before { content: ""; width: 44px; height: 4px; background: var(--green); display: block; }
.hero h1 { color: #fff; max-width: none; margin-bottom: .3em; font-size: clamp(1.9rem, 4.4vw, 3rem); }
.hero-sub { font-size: clamp(1rem, 1.6vw, 1.15rem); max-width: 60ch; color: #e1ebf6; margin-bottom: 1.1rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; }

/* Secties */
.section { padding-block: clamp(2.6rem, 6vw, 4.5rem); }
.section-alt { background: var(--grey); position: relative; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.4rem; }
.section-head h2 { margin: 0; padding-left: .9rem; border-left: 5px solid var(--green); }
.section-head h2::first-letter { text-transform: uppercase; }
.grid { display: grid; gap: 1.5rem; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gap-lg { gap: clamp(1.5rem, 4vw, 3rem); }
@media (max-width: 980px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-2 { grid-template-columns: 1fr; } .container.with-side { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .grid-3 { grid-template-columns: 1fr; } }
.empty { padding: 1.4rem; background: #fff; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); text-align: center; }
.section-alt .empty { background: rgba(255, 255, 255, .6); }
.meta-line { color: var(--muted); font-size: .9rem; margin-bottom: 1.2rem; font-weight: 500; }

/* Snelmenu */
.quick { padding-block: 0; margin-top: -3.2rem; position: relative; z-index: 2; }
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; }
.tile { display: flex; flex-direction: column; gap: .35rem; justify-content: flex-start; min-height: 112px; background: #fff; border-radius: var(--radius); padding: 1.3rem 1.1rem; text-decoration: none; box-shadow: var(--shadow); border-top: 4px solid var(--blue); height: 100%; transition: transform .2s, box-shadow .2s; }
.tile-green { border-top-color: var(--green); }
.tile:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(27, 42, 68, .16); }
.tile-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); margin-bottom: .5rem; }
.tile-green .tile-icon { background: var(--green-soft); color: var(--green); }
.tile-title { font-weight: 700; color: var(--ink); font-size: 1.02rem; }
.tile-text { font-size: .82rem; color: var(--muted); line-height: 1.4; }
@media (max-width: 1080px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .tiles { grid-template-columns: repeat(2, 1fr); gap: .75rem; } .tile { padding: 1rem .9rem; } .tile-text { display: none; } .quick { margin-top: -2rem; } }

/* Kaarten */
.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; border: 1px solid rgba(27, 42, 68, .05); }
.card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(27, 42, 68, .14); }
.card-media { position: relative; display: block; aspect-ratio: 16 / 10; background: var(--grey); overflow: hidden; }
.card-media img:not(.team-badge) { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-media img:not(.team-badge) { transform: scale(1.04); }
.media-ph { position: absolute; inset: 0; display: grid; place-items: center; color: #a9b8cb; background: linear-gradient(135deg, var(--blue-soft), var(--green-soft)); }
.card-body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { margin-bottom: .5rem; }
.card-body h3 a { color: var(--ink); text-decoration: none; }
.card-body h3 a:hover { color: var(--blue); }
.card-body p { color: var(--muted); font-size: .93rem; }
.card-body .more { margin-top: auto; }
.card-meta { display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; font-size: .8rem; color: var(--muted); margin-bottom: .7rem; font-weight: 500; }
.chip { display: inline-block; background: var(--blue-soft); color: var(--blue); font-weight: 700; font-size: .72rem; padding: .22rem .65rem; border-radius: 999px; text-transform: uppercase; letter-spacing: .06em; }
.chip-green { background: var(--green-soft); color: var(--green); }
.team-badge { position: absolute !important; right: .8rem; bottom: .8rem; width: 56px !important; height: 56px !important; object-fit: contain !important; background: #fff; border-radius: 50%; padding: 4px; box-shadow: var(--shadow); }
.staff-short { display: grid; grid-template-columns: auto 1fr; gap: .25rem .8rem; font-size: .88rem; margin: 0 0 1rem; }
.staff-short dt { font-weight: 700; color: var(--ink); }
.staff-short dd { margin: 0; color: var(--muted); }

/* Wedstrijden */
.match-list { display: flex; flex-direction: column; gap: .8rem; margin-bottom: 1.2rem; }
.match { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: .9rem 1.1rem; display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: .3rem 1rem; align-items: center; border-left: 5px solid var(--blue); position: relative; }
.match.is-home { border-left-color: var(--green); }
.match.is-cancelled { opacity: .7; }
.match-when { display: flex; flex-direction: column; align-items: center; line-height: 1.2; text-align: center; background: var(--grey); border-radius: var(--radius-sm); padding: .5rem .3rem; }
.match-date { font-weight: 700; font-size: .8rem; color: var(--ink); text-transform: capitalize; }
.match-time { font-weight: 800; font-size: 1.1rem; color: var(--blue); }
.match.is-home .match-time { color: var(--green); }
.match-body { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: .6rem; align-items: center; }
.side { display: flex; align-items: center; gap: .6rem; min-width: 0; }
.side.away { flex-direction: row-reverse; text-align: right; }
.side img, .logo-ph { width: 36px; height: 36px; object-fit: contain; flex: none; }
.logo-ph { display: grid; place-items: center; color: #a9b8cb; background: var(--grey); border-radius: 50%; }
.side-name { font-size: .88rem; font-weight: 500; line-height: 1.25; overflow-wrap: anywhere; }
.side.is-own .side-name { font-weight: 700; color: var(--ink); }
.match-score { text-align: center; min-width: 76px; }
.vs { font-size: .75rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.score { display: inline-flex; align-items: center; gap: .35rem; background: var(--ink); color: #fff; border-radius: 10px; padding: .3rem .8rem; font-size: 1.3rem; font-weight: 800; }
.score i { font-style: normal; opacity: .5; }
.result-gewonnen .score { background: var(--green); }
.result-verloren .score { background: var(--ink); }
.result-gelijk .score, .result-gelijkspel .score { background: var(--blue); }
.match-meta { grid-column: 2; display: flex; flex-wrap: wrap; gap: .4rem .6rem; align-items: center; font-size: .78rem; color: var(--muted); }
.tag { display: inline-block; padding: .12rem .55rem; border-radius: 999px; font-weight: 700; font-size: .7rem; text-transform: uppercase; letter-spacing: .05em; text-decoration: none; }
.tag-home { background: var(--green-soft); color: var(--green); }
.tag-away { background: var(--blue-soft); color: var(--blue); }
.tag-team { background: var(--grey); color: var(--ink); }
a.tag-team:hover { background: var(--ink); color: #fff; }
.tag-result.result-gewonnen { background: var(--green); color: #fff; }
.tag-result.result-verloren { background: #e8d9d9; color: #8a2f2f; }
.tag-result.result-gelijk, .tag-result.result-gelijkspel { background: var(--blue); color: #fff; }
.match-loc { display: inline-flex; align-items: center; gap: .25rem; color: var(--blue); font-weight: 600; text-decoration: none; }
.match-loc:hover { color: var(--green); text-decoration: underline; }
.match-details { grid-column: 2; font-size: .85rem; }
.match-details summary { cursor: pointer; color: var(--blue); font-weight: 600; font-size: .78rem; list-style: none; }
.match-details summary::-webkit-details-marker { display: none; }
.match-details summary::after { content: " +"; }
.match-details[open] summary::after { content: " –"; }
.match-details dl { display: grid; grid-template-columns: 7rem 1fr; gap: .3rem .8rem; margin: .6rem 0 .2rem; padding: .8rem; background: var(--grey); border-radius: var(--radius-sm); }
.match-details dt { font-weight: 700; color: var(--ink); }
.match-details dd { margin: 0; }
@media (max-width: 640px) {
    .match { grid-template-columns: 1fr; padding: .9rem; }
    .match-when { flex-direction: row; gap: .6rem; justify-content: flex-start; padding: .3rem .7rem; width: fit-content; }
    .match-meta, .match-details { grid-column: 1; }
    .match-body { grid-template-columns: 1fr auto 1fr; }
    .side { flex-direction: column; text-align: center; gap: .3rem; }
    .side.away { flex-direction: column; text-align: center; }
    .match-details dl { grid-template-columns: 1fr; }
}

/* Dag-koppen, filters */
.day-head { font-size: 1.1rem; text-transform: capitalize; margin: 2rem 0 .9rem; padding-bottom: .5rem; border-bottom: 2px solid var(--grey); display: flex; align-items: center; gap: .7rem; }
.filters { display: flex; flex-wrap: wrap; gap: 1rem; align-items: flex-end; background: var(--grey); padding: 1.1rem 1.2rem; border-radius: var(--radius); margin-bottom: 1.4rem; }
.filters label { display: flex; flex-direction: column; gap: .3rem; font-size: .76rem; font-weight: 700; color: var(--ink); text-transform: uppercase; letter-spacing: .06em; flex: 1 1 150px; }
.filters select, .filters input { font: 500 .92rem var(--font); padding: .6rem .7rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; color: var(--text); width: 100%; text-transform: none; letter-spacing: 0; }
.filter-actions { display: flex; gap: .5rem; }

/* Agenda */
.agenda-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1rem; }
.agenda-list > li { display: flex; gap: 1rem; background: #fff; border-radius: var(--radius); padding: 1rem 1.1rem; box-shadow: var(--shadow); align-items: flex-start; }
.date-badge { flex: none; width: 62px; text-align: center; border-radius: var(--radius-sm); overflow: hidden; background: var(--blue); color: #fff; line-height: 1; }
.date-badge .d { display: block; font-size: 1.7rem; font-weight: 800; padding: .55rem 0 .15rem; }
.date-badge .m { display: block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; padding: .25rem 0 .4rem; background: var(--green); }
.agenda-body { flex: 1; min-width: 0; }
.agenda-body h3 { margin: .2rem 0 .3rem; font-size: 1.05rem; }
.agenda-body h3 a { color: var(--ink); text-decoration: none; }
.agenda-body h3 a:hover { color: var(--blue); }
.agenda-body p { margin: 0 0 .3rem; font-size: .9rem; color: var(--muted); }
.agenda-meta { display: flex; flex-wrap: wrap; gap: .3rem 1rem; font-weight: 600; color: var(--ink) !important; font-size: .82rem !important; }
.agenda-meta span { display: inline-flex; align-items: center; gap: .3rem; }
.agenda-thumb { flex: none; width: 140px; border-radius: var(--radius-sm); overflow: hidden; align-self: stretch; }
.agenda-thumb img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 640px) { .agenda-thumb { display: none; } }
.toolbar { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; margin-bottom: 1.6rem; }
.segmented { display: inline-flex; background: var(--grey); border-radius: 999px; padding: .25rem; }
.segmented a { padding: .5rem 1.2rem; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .88rem; color: var(--ink); }
.segmented a.is-active { background: var(--ink); color: #fff; }
.pill-nav { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0 0 1.5rem; }
.toolbar .pill-nav { margin: 0; }
.pill-nav a { display: block; padding: .4rem 1rem; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: .85rem; font-weight: 600; color: var(--ink); }
.pill-nav a:hover { border-color: var(--blue); color: var(--blue); }
.pill-nav a.is-active { background: var(--blue); border-color: var(--blue); color: #fff; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.cal-head h2 { margin: 0; text-transform: capitalize; }
.calendar { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.cal-dow { background: var(--ink); color: #fff; text-align: center; font-weight: 700; font-size: .78rem; text-transform: uppercase; padding: .6rem 0; letter-spacing: .08em; }
.cal-cell { min-height: 108px; padding: .35rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: .2rem; }
.cal-cell.is-empty { background: #f6f8fa; }
.cal-day { font-weight: 700; font-size: .85rem; color: var(--muted); }
.cal-cell.is-today .cal-day { background: var(--green); color: #fff; width: 1.7rem; height: 1.7rem; border-radius: 50%; display: grid; place-items: center; }
.cal-event { display: block; background: var(--blue-soft); color: var(--blue); border-left: 3px solid var(--blue); font-size: .72rem; font-weight: 600; line-height: 1.25; padding: .2rem .35rem; border-radius: 4px; text-decoration: none; overflow: hidden; text-overflow: ellipsis; }
.cal-event:nth-of-type(even) { background: var(--green-soft); color: var(--green); border-color: var(--green); }
.cal-event:hover { filter: brightness(.95); }
@media (max-width: 760px) {
    .calendar { grid-template-columns: 1fr; border: 0; }
    .cal-dow, .cal-cell.is-empty { display: none; }
    .cal-cell { min-height: 0; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: .4rem; flex-direction: row; flex-wrap: wrap; align-items: center; }
    .cal-cell:not(.has-events) { display: none; }
    .cal-day { min-width: 2rem; }
}

/* Verjaardagen */
.birthday-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .6rem; }
.birthday-list li { display: grid; grid-template-columns: 40px 1fr auto auto; gap: .8rem; align-items: center; background: #fff; border-radius: var(--radius); padding: .65rem 1rem; box-shadow: var(--shadow); }
.birthday-list .b-icon { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--green-soft); color: var(--green); }
.birthday-list .b-name { font-weight: 700; color: var(--ink); }
.birthday-list .b-team { font-size: .85rem; color: var(--muted); }
.birthday-list .b-team a { color: var(--blue); font-weight: 600; text-decoration: none; }
.birthday-list .b-date { text-align: right; font-weight: 600; font-size: .9rem; color: var(--ink); display: flex; flex-direction: column; line-height: 1.25; }
.birthday-list .b-date small { font-weight: 500; color: var(--muted); font-size: .75rem; }
.birthday-list .is-today { background: linear-gradient(100deg, var(--green-soft), #fff); border: 1px solid var(--green); }
.birthday-list .is-today .b-date { color: var(--green); }
@media (max-width: 520px) { .birthday-list li { grid-template-columns: 40px 1fr auto; } .birthday-list .b-team { grid-column: 2; grid-row: 2; } }

/* Notices */
.notice { display: flex; gap: .9rem; align-items: flex-start; padding: 1.1rem 1.3rem; border-radius: var(--radius); background: var(--blue-soft); color: var(--ink); border: 1px solid #c7d9ee; }
.notice-warn { background: #fff7e0; border-color: #f2dca0; }
.notice > div { display: flex; flex-direction: column; font-size: .92rem; }
.notice a { font-weight: 600; }

/* Pagina-kop */
.page-head { background: var(--ink); color: #fff; padding-block: clamp(2.2rem, 5vw, 3.6rem); position: relative; overflow: hidden; isolation: isolate; }
.page-head::before { content: ""; position: absolute; right: 8%; top: -20%; bottom: -20%; width: 70px; background: linear-gradient(90deg, var(--blue) 0 30%, transparent 30% 45%, var(--green) 45% 100%); transform: skewX(-18deg); opacity: .9; z-index: -1; }
.page-head.has-image { background-image: linear-gradient(95deg, rgba(14, 24, 44, .92), rgba(14, 24, 44, .6)), var(--head-image); background-size: cover; background-position: center; }
.page-head h1 { color: #fff; margin-bottom: .3em; }
.page-head .lead { font-size: 1.1rem; color: #d3e0ef; max-width: 60ch; margin: 0; }
.page-head .card-meta { color: #cfe0f2; }
.page-head .chip { background: rgba(255, 255, 255, .15); color: #fff; }
.crumbs { font-size: .8rem; color: #a9bddb; margin-bottom: 1rem; font-weight: 500; }
.crumbs a { color: #cfe3f7; text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.article-head h1 { font-size: clamp(1.8rem, 4vw, 2.7rem); }

/* Inhoud (WYSIWYG) */
.prose { font-size: 1.04rem; }
.prose > :first-child { margin-top: 0; }
.prose h2 { margin-top: 2em; }
.prose h3 { margin-top: 1.6em; }
.prose img { border-radius: var(--radius-sm); margin-block: 1.2rem; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: .35rem; }
.prose blockquote { margin: 1.5rem 0; padding: .6rem 1.3rem; border-left: 5px solid var(--green); background: var(--grey); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-style: italic; }
.prose table { border-collapse: collapse; width: 100%; margin: 1.2rem 0; }
.prose th, .prose td { border: 1px solid var(--line); padding: .55rem .75rem; text-align: left; }
.prose th { background: var(--grey); }
.prose iframe { max-width: 100%; border: 0; border-radius: var(--radius-sm); aspect-ratio: 16 / 9; width: 100%; height: auto; }
.prose hr { border: 0; height: 3px; background: linear-gradient(90deg, var(--blue) 50%, var(--green) 50%); margin: 2rem 0; border-radius: 3px; }
.article-image img { width: 100%; border-radius: var(--radius); margin-bottom: 2rem; box-shadow: var(--shadow); }
.back { margin-top: 2.5rem; }
.side-nav { position: sticky; top: calc(var(--header-h) + 1.5rem); background: var(--grey); border-radius: var(--radius); padding: 1.2rem; }
.side-nav h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: .7rem; }
.side-nav ul { list-style: none; margin: 0; padding: 0; }
.side-nav a { display: block; padding: .55rem .8rem; border-radius: var(--radius-sm); text-decoration: none; color: var(--ink); font-weight: 600; font-size: .92rem; }
.side-nav a:hover { background: #fff; }
.side-nav a.is-active { background: var(--ink); color: #fff; }
.container.with-side .side-nav { order: 2; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 1.2rem; margin-top: 2.5rem; font-weight: 600; font-size: .9rem; }

/* Team detail */
.team-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 2.5rem; align-items: start; }
@media (max-width: 980px) { .team-layout { grid-template-columns: 1fr; } .team-side { order: -1; } }
.team-main h2 { margin-top: 2.2rem; padding-left: .9rem; border-left: 5px solid var(--green); }
.team-main > h2:first-child, .team-main .team-photo + h2 { margin-top: 1.5rem; }
.team-photo { margin: 0; }
.team-photo img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.panel { background: var(--grey); border-radius: var(--radius); padding: 1.3rem; margin-bottom: 1.2rem; }
.panel h2 { font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: .9rem; }
.team-logo { width: 96px; height: 96px; object-fit: contain; margin-bottom: 1rem; }
.facts { display: grid; grid-template-columns: auto 1fr; gap: .5rem 1rem; margin: 0; }
.facts dt { font-weight: 700; color: var(--ink); }
.facts dd { margin: 0; }
.facts-wide { background: var(--grey); padding: 1.2rem 1.4rem; border-radius: var(--radius); margin-bottom: 1.8rem; }
.staff-list, .plan-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .8rem; }
.staff-list li, .plan-list li { display: flex; gap: .8rem; align-items: center; font-size: .92rem; }
.staff-list img, .avatar-ph { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex: none; }
.avatar-ph { display: grid; place-items: center; background: var(--blue); color: #fff; font-weight: 700; }
.staff-list small, .plan-list small { display: block; color: var(--muted); font-size: .78rem; }
.plan-list li { align-items: flex-start; }
.plan-list .icon { color: var(--green); margin-top: .15rem; }
.sponsor-panel a { display: flex; flex-direction: column; gap: .6rem; align-items: flex-start; text-decoration: none; font-weight: 600; color: var(--ink); }
.sponsor-panel img { max-height: 70px; width: auto; background: #fff; padding: .4rem; border-radius: var(--radius-sm); }
.player-grid { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: .8rem; }
.player { background: #fff; border-radius: var(--radius); padding: .9rem .6rem; text-align: center; box-shadow: var(--shadow); border-bottom: 4px solid var(--grey); display: flex; flex-direction: column; align-items: center; gap: .3rem; }
.player.club-blauw { border-bottom-color: var(--blue); }
.player.club-groen { border-bottom-color: var(--green); }
.player img, .player .avatar-ph { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.player .avatar-ph { font-size: 1.4rem; }
.player .p-name { font-weight: 700; color: var(--ink); font-size: .92rem; }
.player small { color: var(--muted); font-size: .72rem; line-height: 1.2; }
.more-links { display: flex; flex-wrap: wrap; gap: 1.5rem; }

/* Tabellen, documenten */
.table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
.data-table { width: 100%; border-collapse: collapse; background: #fff; }
.data-table th, .data-table td { padding: .85rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--grey); }
.data-table thead th { background: var(--ink); color: #fff; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.data-table tbody th { font-weight: 800; color: var(--ink); white-space: nowrap; }
.data-table tbody th a { text-decoration: none; }
.data-table .slot { display: block; font-size: .9rem; margin-bottom: .45rem; }
.data-table .slot small { display: block; color: var(--muted); font-size: .76rem; }
@media (max-width: 700px) {
    .data-table thead { display: none; }
    .data-table, .data-table tbody, .data-table tr, .data-table td, .data-table th { display: block; }
    .data-table tr { border-bottom: 6px solid var(--grey); padding: .5rem 0; }
    .data-table td { border: 0; padding: .3rem 1rem; }
    .data-table td::before { content: attr(data-label); display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: var(--muted); }
    .data-table tbody th { border: 0; font-size: 1.1rem; padding: .5rem 1rem 0; }
}
.doc-list { list-style: none; margin: 0 0 1rem; padding: 0; display: flex; flex-direction: column; gap: .6rem; }
.doc-list li { display: flex; align-items: center; gap: 1rem; background: #fff; padding: .8rem 1rem; border-radius: var(--radius); box-shadow: var(--shadow); }
.doc-ext { flex: none; width: 50px; height: 50px; border-radius: var(--radius-sm); background: var(--blue-soft); color: var(--blue); font-weight: 800; font-size: .72rem; display: grid; place-items: center; }
.doc-info { flex: 1; display: flex; flex-direction: column; font-weight: 600; }
.doc-info a { color: var(--ink); text-decoration: none; }
.doc-info small { color: var(--muted); font-weight: 400; }
.notfound .big-number { font-size: clamp(5rem, 16vw, 9rem); font-weight: 800; line-height: 1; margin: 0; background: linear-gradient(100deg, var(--blue) 40%, var(--green) 60%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Footer */
.site-footer { background: var(--ink); color: #c8d3e3; margin-top: 2rem; position: relative; }
.footer-sponsors { background: #fff; border-top: 1px solid var(--line); padding: 2rem 0; margin-top: -2rem; }
.footer-sponsors h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; text-align: center; color: var(--muted); margin-bottom: 1.2rem; }
.sponsor-row { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: center; align-items: center; }
.sponsor-row img { max-height: 54px; max-width: 150px; width: auto; filter: grayscale(.4); opacity: .9; transition: .2s; }
.sponsor-row a:hover img { filter: none; opacity: 1; }
.sponsor-row span { font-weight: 700; color: var(--ink); }
.footer-main { padding-block: 3.2rem 2.4rem; background-image: linear-gradient(100deg, transparent 0 70%, rgba(0, 75, 155, .35) 70% 72%, transparent 72% 74%, rgba(10, 122, 61, .4) 74% 80%, transparent 80%); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-logo { width: 220px; height: auto; border-radius: var(--radius-sm); margin-bottom: 1rem; }
.footer-slogan { font-weight: 700; letter-spacing: .22em; font-size: .75rem; color: #fff; }
.club-logos { display: flex; gap: .8rem; margin-top: 1rem; }
.club-logos a { background: #fff; border-radius: var(--radius-sm); padding: .4rem .6rem; display: block; }
.club-logos img { height: 64px; width: auto; }
.site-footer h2 { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 1rem; }
.site-footer h2.mt { margin-top: 1.8rem; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .45rem; font-size: .92rem; }
.footer-links a { color: #c8d3e3; text-decoration: none; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding-block: 1.1rem; font-size: .8rem; }
.footer-bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print { .site-header, .site-footer, .hero-cta, .filters { display: none; } }

/* Samenwerking */
.collab { padding-block: clamp(2rem, 4vw, 3rem) 0; }
.collab-box { display: grid; grid-template-columns: auto 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; background: linear-gradient(100deg, var(--blue-soft) 0 50%, var(--green-soft) 50% 100%); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2.2rem); position: relative; overflow: hidden; }
.collab-logos { display: flex; align-items: center; gap: 1rem; }
.collab-logo { background: #fff; border-radius: var(--radius); padding: .8rem 1rem; box-shadow: var(--shadow); display: block; }
.collab-logo img { height: 120px; width: auto; }
.collab-plus { font-size: 2rem; font-weight: 800; color: var(--ink); }
.eyebrow-sm { font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); margin: 0 0 .4rem; }
.collab-text h2 { margin-bottom: .5rem; }
.c-blue { color: var(--blue); } .c-green { color: var(--green); }
@media (max-width: 760px) { .collab-box { grid-template-columns: 1fr; background: linear-gradient(180deg, var(--blue-soft) 0 40%, var(--green-soft) 40% 100%); } .collab-logo img { height: 84px; } }

/* Confetti */
.confetti-canvas { position: fixed; inset: 0; pointer-events: none; z-index: 300; }
.confetti-toast { position: fixed; left: 50%; bottom: 1.5rem; transform: translateX(-50%); z-index: 301; background: var(--ink); color: #fff; padding: .85rem 1.4rem; border-radius: 999px; box-shadow: 0 10px 30px rgba(0,0,0,.3); font-size: .92rem; display: flex; gap: .6rem; align-items: center; width: max-content; max-width: calc(100% - 2rem); transition: opacity .6s, transform .6s; border: 2px solid var(--green); }
.confetti-toast.hide { opacity: 0; transform: translate(-50%, 12px); }

/* Documentmappen */
.folder-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.2rem; }
.folder { display: flex; flex-direction: column; gap: .3rem; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.4rem; text-decoration: none; border-top: 4px solid var(--blue); transition: transform .2s, box-shadow .2s; height: 100%; }
.folder-grid li:nth-child(even) .folder { border-top-color: var(--green); }
.folder:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(27, 42, 68, .14); }
.folder-icon { color: var(--blue); } .folder-grid li:nth-child(even) .folder-icon { color: var(--green); }
.folder-name { font-weight: 700; font-size: 1.1rem; color: var(--ink); }
.folder-count { font-size: .85rem; color: var(--muted); }

/* Logo in de header */
.brand-logo { height: 76px; padding-block: .25rem; width: auto; display: block; }
.header-right { margin-left: auto; order: 2; }
@media (max-width: 1200px) { .brand-logo { height: 58px; } .nav-toggle { margin-left: auto; flex: none; } }
@media (max-width: 520px) { .brand-logo { height: 50px; } }

/* Sponsoren in de hero */
.hero-sponsors { margin-top: 1.1rem; display: flex; flex-direction: row; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; }
.hero-sponsors .sponsor-label { font-size: .68rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #cfe3f7; }
.hero-sponsors ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .7rem; }
.hero-sponsors a { display: flex; align-items: center; background: #fff; border-radius: var(--radius-sm); padding: .3rem .7rem; height: 42px; box-shadow: 0 4px 14px rgba(0,0,0,.25); transition: transform .2s; }
.hero-sponsors a:hover { transform: translateY(-2px); }
.hero-sponsors img { height: 28px; width: auto; max-width: 130px; object-fit: contain; display: block; }

/* Hero-slideshow (eigen afbeeldingen uit het CMS) */
.hero-slides { position: absolute; inset: 0; z-index: -3; }
.hero-slide { position: absolute; inset: 0; background: var(--ink) center / cover no-repeat; opacity: 0; transition: opacity 1.2s ease; }
.hero-slide.is-active { opacity: 1; }
.hero-dots { position: absolute; right: 1.2rem; bottom: 4.2rem; display: flex; gap: .5rem; z-index: 2; }
.hero-dots button { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff; background: transparent; padding: 0; cursor: pointer; }
.hero-dots button.is-active { background: #fff; }
.hero-dots button:focus-visible { outline: 3px solid #f2b705; outline-offset: 2px; }
