/* Davoc Lot — huisstijl */
:root {
  --red: #e22e31;
  --red-dark: #9e1b1e;
  --red-soft: #fdeceb;
  --black: #231f20;
  --ink: #231f20;
  --muted: #6e6a6b;
  --line: #e3e2e2;
  --bg-soft: #f7f7f7;
  --white: #ffffff;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(17,17,17,.04), 0 8px 24px rgba(17,17,17,.06);
  --max: 1180px;
  --font: Calibri, Carlito, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
}
img, svg { max-width: 100%; display: block; }
a { color: var(--red); text-underline-offset: 3px; }
a:hover { color: var(--red-dark); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { color: var(--black); line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.25rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.25em; margin: 0 0 1em; }
li { margin-bottom: .35em; }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--black); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip-link:focus { left: 1rem; top: 1rem; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: 780px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 1rem; min-height: 72px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--black); margin-right: auto; }
.brand img { width: 54px; height: 54px; }
.brand-name { font-weight: 800; font-size: 1.15rem; letter-spacing: -.01em; line-height: 1.1; }
.brand-name small { display: block; font-weight: 500; font-size: .75rem; color: var(--muted); letter-spacing: .02em; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .15rem; }
.main-nav a {
  display: block; padding: .5rem .7rem; border-radius: var(--radius-sm);
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem;
}
.main-nav a:hover { background: var(--bg-soft); color: var(--black); }
.main-nav a[aria-current="page"] { color: var(--red); }
.header-actions { display: flex; align-items: center; gap: .5rem; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer;
}
.icon-btn:hover { background: var(--bg-soft); color: var(--black); }
.icon-btn svg { width: 20px; height: 20px; }
.nav-toggle { display: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .8rem 1.3rem; border-radius: 999px;
  font-weight: 700; font-size: 1rem; text-decoration: none; line-height: 1.2;
  border: 2px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); color: #fff; }
.btn-outline { border-color: currentColor; color: var(--black); background: transparent; }
.btn-outline:hover { background: var(--black); color: #fff; border-color: var(--black); }
.btn-light { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-light:hover { background: #fff; color: var(--black); border-color: #fff; }
.btn-sm { padding: .55rem 1rem; font-size: .92rem; }

/* Hero */
.hero { position: relative; background: #1a1718; color: #fff; overflow: hidden; }
.hero-art { position: absolute; inset: 0; opacity: .9; }
.hero-art svg { width: 100%; height: 100%; }
.hero .container { position: relative; padding-top: clamp(4rem, 10vw, 7.5rem); padding-bottom: clamp(4rem, 10vw, 7.5rem); }
.hero h1 { color: #fff; max-width: 15ch; }
.hero .lead { font-size: clamp(1.1rem, 2vw, 1.35rem); color: rgba(255,255,255,.85); max-width: 46ch; }
.hero .btn-row { margin-top: 2rem; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-bottom: .9rem; }
.hero .eyebrow { color: #ff8f91; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

.page-hero { background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.page-hero .container { padding-top: clamp(2.5rem, 6vw, 4.5rem); padding-bottom: clamp(2rem, 5vw, 3.5rem); }
.page-hero p { color: var(--muted); font-size: 1.15rem; max-width: 60ch; margin: 0; }
.breadcrumb { font-size: .88rem; color: var(--muted); margin-bottom: 1rem; }
.breadcrumb a { color: var(--muted); }

/* Sections */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--black); color: rgba(255,255,255,.85); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 680px; margin-bottom: 2.25rem; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.section-dark .section-head p { color: rgba(255,255,255,.7); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split.top { align-items: start; }

/* Grids & cards */
.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem; box-shadow: var(--shadow);
}
.card h3 { margin-bottom: .4em; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card .meta { font-size: .88rem; color: var(--muted); }
.card-link { text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; }
.card-link:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(17,17,17,.1); color: inherit; }
.card-link .more { margin-top: auto; padding-top: .8rem; color: var(--red); font-weight: 700; font-size: .95rem; }
.card-media { margin: -1.5rem -1.5rem 1.25rem; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; }
.icon-badge {
  width: 48px; height: 48px; border-radius: 12px; background: var(--red-soft); color: var(--red);
  display: flex; align-items: center; justify-content: center; margin-bottom: 1rem;
}
.icon-badge svg { width: 24px; height: 24px; }

/* 4 W */
.w-grid .card { border-top: 4px solid var(--red); }
.w-grid .w-q { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; color: var(--red); margin-bottom: .3rem; }

/* Image placeholder */
.ph {
  position: relative; aspect-ratio: 4 / 3; width: 100%;
  background: linear-gradient(135deg, #3a3637 0%, #231f20 60%, #4a1012 100%);
  border-radius: var(--radius); overflow: hidden; color: rgba(255,255,255,.75);
  display: flex; align-items: flex-end;
}
.ph.wide { aspect-ratio: 16 / 9; }
.ph.square { aspect-ratio: 1 / 1; }
.ph.portrait { aspect-ratio: 1 / 1; border-radius: 50%; }
.ph svg.ph-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.ph .ph-label { position: relative; font-size: .78rem; font-weight: 600; letter-spacing: .04em; padding: .6rem .8rem; background: rgba(0,0,0,.35); border-top-right-radius: 8px; }
.card-media .ph { border-radius: 0; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.stat { text-align: center; padding: 1.25rem .5rem; }
.stat .num { display: block; font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; color: var(--red); line-height: 1; }
.stat .lbl { display: block; margin-top: .5rem; color: var(--muted); font-size: .95rem; }
.section-dark .stat .lbl { color: rgba(255,255,255,.7); }

/* Labels */
.labels { display: flex; flex-wrap: wrap; gap: 1rem; }
.label-badge {
  display: flex; align-items: center; gap: .85rem; padding: .9rem 1.2rem;
  background: #fff; border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow);
}
.label-badge .seal { width: 46px; height: 46px; flex: none; }
.label-badge strong { display: block; color: var(--black); line-height: 1.2; }
.label-badge span { font-size: .85rem; color: var(--muted); }

/* News */
.news-date { font-size: .82rem; font-weight: 700; color: var(--red); text-transform: uppercase; letter-spacing: .06em; }

/* Event list */
.event-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
.event { display: flex; gap: 1rem; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.25rem; }
.event .date { flex: none; width: 64px; text-align: center; border-right: 1px solid var(--line); padding-right: 1rem; }
.event .date .d { display: block; font-size: 1.6rem; font-weight: 800; line-height: 1; color: var(--black); }
.event .date .m { display: block; font-size: .78rem; font-weight: 700; color: var(--red); text-transform: uppercase; letter-spacing: .08em; margin-top: .2rem; }
.event h3 { font-size: 1.05rem; margin: 0 0 .15rem; }
.event p { margin: 0; font-size: .92rem; color: var(--muted); }
.tag { display: inline-block; font-size: .75rem; font-weight: 700; padding: .15rem .55rem; border-radius: 999px; background: var(--bg-soft); color: var(--ink); margin-right: .3rem; }
.tag.red { background: var(--red-soft); color: var(--red-dark); }

/* Sponsors */
.sponsors { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.sponsor {
  aspect-ratio: 3 / 2; border: 1px dashed #cfcfd6; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center; color: #9a9aa3; font-weight: 700; font-size: .9rem; background: #fff;
}

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: .97rem; }
th, td { text-align: left; padding: .85rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--bg-soft); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; }
tbody tr:last-child td { border-bottom: 0; }
td.price { font-weight: 800; color: var(--black); white-space: nowrap; }

/* Lists */
.check-list, .cross-list { list-style: none; padding: 0; }
.check-list li, .cross-list li { position: relative; padding-left: 1.9rem; margin-bottom: .6rem; }
.check-list li::before, .cross-list li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 1.2rem; height: 1.2rem; border-radius: 50%;
  background-repeat: no-repeat; background-position: center; background-size: .75rem;
}
.check-list li::before { background-color: var(--red-soft); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e22e31' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E"); }
.cross-list li::before { background-color: #eeeef0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236e6a6b' stroke-width='3.5' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E"); }
.steps { list-style: none; padding: 0; counter-reset: step; display: grid; gap: 1rem; }
.steps li { counter-increment: step; position: relative; padding-left: 3.25rem; margin: 0; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0; width: 2.3rem; height: 2.3rem; border-radius: 50%;
  background: var(--black); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center;
}
.steps strong { display: block; color: var(--black); }

/* Vision list */
.vision { list-style: none; padding: 0; counter-reset: v; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem 2rem; }
.vision li { counter-increment: v; display: flex; gap: 1rem; margin: 0; }
.vision li::before { content: counter(v, decimal-leading-zero); font-weight: 800; color: var(--red); font-size: 1.1rem; min-width: 2rem; }

/* Organigram */
.org { display: flex; flex-direction: column; align-items: center; gap: 0; }
.org-level { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; position: relative; width: 100%; }
.org-connector { width: 2px; height: 28px; background: #cfcfd6; }
.org-node {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.2rem;
  min-width: 200px; text-align: center; box-shadow: var(--shadow);
}
.org-node.top { background: var(--black); color: #fff; border-color: var(--black); }
.org-node.top .role { color: #fff; }
.org-node.accent { border-top: 4px solid var(--red); }
.org-node .role { font-weight: 800; color: var(--black); display: block; }
.org-node .who { font-size: .9rem; color: var(--muted); display: block; }
.org-node.top .who { color: rgba(255,255,255,.7); }
.org-group { border: 1px dashed #cfcfd6; border-radius: calc(var(--radius) + 6px); padding: 1.25rem; width: 100%; }
.org-group > .org-title { display: block; text-align: center; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; color: var(--muted); margin-bottom: 1rem; }
.org-sub { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: .75rem; }
.org-sub .org-node { min-width: 0; }

/* People */
.people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.person { text-align: center; }
.person .ph { width: 120px; margin: 0 auto 1rem; }
.person h3 { font-size: 1.05rem; margin-bottom: .1rem; }
.person .role { color: var(--red); font-weight: 700; font-size: .9rem; display: block; margin-bottom: .4rem; }
.person a { font-size: .92rem; word-break: break-word; }

/* API highlight */
.api-card { display: grid; grid-template-columns: 140px 1fr; gap: 1.5rem; align-items: center; border-left: 6px solid var(--red); }
.api-card .ph { width: 140px; }
.callout { background: var(--red-soft); border-radius: var(--radius); padding: 1.25rem 1.5rem; color: var(--ink); }
.callout strong { color: var(--red-dark); }
.callout.dark { background: var(--black); color: rgba(255,255,255,.85); }
.callout.dark strong { color: #fff; }

/* CTA band */
.cta-band { background: var(--red); color: #fff; border-radius: calc(var(--radius) + 6px); padding: clamp(2rem, 5vw, 3.5rem); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.cta-band h2 { color: #fff; margin-bottom: .3rem; }
.cta-band p { margin: 0; color: rgba(255,255,255,.9); }
.cta-band .btn-primary { background: #fff; color: var(--red); }
.cta-band .btn-primary:hover { background: var(--black); color: #fff; }

/* FAQ */
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; margin-bottom: .75rem; }
.faq summary { cursor: pointer; padding: 1rem 1.25rem; font-weight: 700; color: var(--black); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--red); }
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 1.25rem 1.1rem; color: var(--muted); }

/* Location */
.loc-links { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.map-ph { aspect-ratio: 16 / 9; border-radius: var(--radius); background:
  linear-gradient(#e9e9ec 1px, transparent 1px) 0 0 / 28px 28px,
  linear-gradient(90deg, #e9e9ec 1px, transparent 1px) 0 0 / 28px 28px, #f7f7f8;
  display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); }
.map-ph .pin { width: 44px; height: 44px; color: var(--red); }

/* Prose */
.prose h2 { font-size: 1.5rem; margin-top: 2.2rem; }
.prose h3 { margin-top: 1.6rem; }
.prose > *:first-child { margin-top: 0; }

/* Search */
.search-box { display: flex; gap: .5rem; }
.search-box input { flex: 1; font: inherit; padding: .85rem 1.1rem; border: 2px solid var(--line); border-radius: 999px; }
.search-box input:focus { border-color: var(--red); outline: none; }
.search-results { list-style: none; padding: 0; margin-top: 1.5rem; }
.search-results li { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.search-results a { font-weight: 700; font-size: 1.1rem; }
.search-results p { margin: .2rem 0 0; color: var(--muted); font-size: .95rem; }

/* Footer */
.site-footer { background: var(--black); color: rgba(255,255,255,.7); padding: 3.5rem 0 1.5rem; font-size: .95rem; margin-top: 0; }
.site-footer h3 { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1rem; }
.site-footer a { color: rgba(255,255,255,.85); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-brand { display: flex; align-items: center; gap: .7rem; color: #fff; font-weight: 800; font-size: 1.15rem; margin-bottom: 1rem; }
.footer-brand img { width: 72px; height: 72px; }
.socials { display: flex; gap: .5rem; margin-top: 1rem; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); display: inline-flex; align-items: center; justify-content: center; }
.socials a:hover { background: var(--red); border-color: var(--red); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2.5rem; padding-top: 1.25rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .85rem; }
.footer-bottom ul { list-style: none; display: flex; flex-wrap: wrap; gap: 1.25rem; padding: 0; margin: 0; }

/* Placeholder marker for content to be filled in */
.todo { background: #fff3c4; color: #4a3b00; border-radius: 4px; padding: 0 .25em; }

/* Responsive */
@media (max-width: 1080px) {
  .main-nav a { padding: .5rem .5rem; font-size: .9rem; }
  .header-actions .btn { display: none; }
}
@media (max-width: 960px) {
  .grid-4, .people { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .sponsors { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }

  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: fixed; left: 0; right: 0; top: 72px; height: calc(100vh - 72px); height: calc(100dvh - 72px);
    background: #fff; padding: 1rem 1.25rem 2rem; overflow-y: auto;
    opacity: 0; transform: translateY(-8px); transition: opacity .18s ease, transform .18s ease, visibility .18s; visibility: hidden;
  }
  .main-nav.open { opacity: 1; transform: none; visibility: visible; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav a { font-size: 1.15rem; padding: 1rem .25rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .main-nav a.nav-cta { display: block; margin-top: 1.5rem; color: #fff; background: var(--red); border: 0; border-radius: 999px; text-align: center; padding: 1rem; font-size: 1.05rem; }
  .header-actions .btn { display: none; }
  body.nav-open { overflow: hidden; }
}
@media (min-width: 961px) { .main-nav .nav-cta { display: none; } }
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .grid-2, .grid-3, .grid-4, .vision { grid-template-columns: 1fr; }
  .people { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 1rem; }
  .person .ph { width: 96px; }
  .sponsors { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .api-card { grid-template-columns: 1fr; text-align: center; }
  .api-card .ph { margin: 0 auto; width: 110px; }
  .btn-row .btn { flex: 1 1 100%; justify-content: center; }
  .brand-name small { display: none; }
  .label-badge { border-radius: var(--radius); width: 100%; }
  th, td { padding: .7rem .75rem; }
  .org-sub { grid-template-columns: repeat(2, 1fr); }
  .org-node { padding: .8rem .6rem; font-size: .9rem; min-width: 0; hyphens: auto; overflow-wrap: anywhere; }
  .org-group { padding: .9rem; }
  .table-stack thead { display: none; }
  .table-stack tr { display: block; padding: .75rem 0; border-bottom: 1px solid var(--line); }
  .table-stack td { display: flex; justify-content: space-between; gap: 1rem; border: 0; padding: .3rem 1rem; }
  .table-stack td::before { content: attr(data-label); font-weight: 700; color: var(--muted); font-size: .85rem; }
  .table-stack tbody tr:last-child { border-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print { .site-header, .site-footer, .hero-art, .cta-band { display: none; } }

/* Wedstrijdkalender */
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; margin-bottom: 1.25rem; }
.filters label { font-weight: 700; color: var(--black); font-size: .95rem; }
.filters select { font: inherit; padding: .55rem 2.2rem .55rem .9rem; border: 2px solid var(--line); border-radius: 999px; background: #fff; min-width: 200px; }
.filters select:focus { border-color: var(--red); outline: none; }
.filters .check { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; cursor: pointer; }
.filters .check input { width: 1.1rem; height: 1.1rem; accent-color: var(--red); }
.matches td { white-space: normal; }
.matches td:first-child { white-space: nowrap; }
.no-results { margin-top: 1rem; color: var(--muted); }
.event h3 { overflow-wrap: anywhere; }
.matches tr[hidden], .no-results[hidden] { display: none !important; }
@media (max-width: 640px) {
  .matches tr { display: grid; grid-template-columns: auto 1fr; gap: .1rem .6rem; padding: .85rem 1rem; }
  .matches td { display: block; padding: 0; border: 0; }
  .matches td::before { content: none; }
  .matches td:nth-child(1) { grid-column: 1; }
  .matches td:nth-child(2) { grid-column: 2; color: var(--muted); }
  .matches td:nth-child(4) { grid-column: 1 / -1; grid-row: 2; font-weight: 700; color: var(--black); }
  .matches td:nth-child(3), .matches td:nth-child(5) { grid-column: 1 / -1; font-size: .88rem; color: var(--muted); }
  .matches .tag { margin-left: .3rem; }
  .filters select { flex: 1; min-width: 0; }
  .filters .check { flex-basis: 100%; }
}
.speer { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

/* Foto's */
.photo { display: block; width: 100%; height: auto; border-radius: var(--radius); object-fit: cover; background: var(--bg-soft); }
.photo.wide { aspect-ratio: 16 / 9; }
.photo.square { aspect-ratio: 1 / 1; max-width: 520px; justify-self: center; }
.photo.portrait-photo { aspect-ratio: 4 / 5; max-width: 420px; justify-self: center; }
.photo.jsf { max-width: 360px; justify-self: center; box-shadow: var(--shadow); }
.card-media .photo { border-radius: 0; }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(26,23,24,.88) 0%, rgba(26,23,24,.7) 45%, rgba(26,23,24,.25) 100%); }
.clubfoto { padding: 0 0 clamp(2.5rem, 6vw, 4rem); }
.clubfoto figure { margin: 0 auto; }
.clubfoto figcaption { margin-top: .6rem; font-size: .88rem; color: var(--muted); text-align: center; }
.avatar { width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 1rem; background: var(--red-soft); color: var(--red-dark);
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.8rem; letter-spacing: .02em; }
.api-card .avatar { width: 110px; height: 110px; margin: 0; }
.sponsor { border-style: solid; border-color: var(--line); padding: 1rem; }
.sponsor img { max-width: 100%; max-height: 64px; width: auto; height: auto; object-fit: contain; }
.footer-brand img { width: 180px; height: auto; }
@media (max-width: 640px) {
  .hero-shade { background: linear-gradient(180deg, rgba(26,23,24,.75) 0%, rgba(26,23,24,.85) 100%); }
  .api-card .avatar { margin: 0 auto; }
  .avatar { width: 80px; height: 80px; font-size: 1.5rem; }
}
.card-media .photo[src*="jeugdsportfonds"] { object-fit: contain; background: #2b2d77; }
.card-media .photo[src*="clubfoto"] { object-fit: contain; background: #e9e7e7; }
.photo.affiche { max-width: 320px; justify-self: center; box-shadow: var(--shadow); }
.wedstrijdbal { padding: clamp(1.5rem, 4vw, 2.5rem); border-top: 4px solid var(--red); }
.price-big { font-size: 3rem; font-weight: 800; color: var(--red); line-height: 1; margin-bottom: .5rem; }
.card-media .photo[src*="affiche"] { object-fit: cover; object-position: top; }
@media (max-width: 1240px) and (min-width: 961px) {
  .main-nav a { padding: .5rem .45rem; font-size: .88rem; }
  .brand-name small { display: none; }
}
.title-xl { font-size: clamp(2rem, 4.4vw, 3rem); }
.main-nav a { white-space: nowrap; }
@media (max-width: 1400px) and (min-width: 961px) {
  .main-nav a { padding: .5rem .5rem; font-size: .92rem; }
  .brand-name small { white-space: nowrap; }
}
@media (max-width: 1240px) and (min-width: 961px) {
  .header-actions .btn { display: none; }
}
@media (max-width: 1100px) and (min-width: 961px) {
  .main-nav a { padding: .5rem .35rem; font-size: .85rem; }
  .brand-name { font-size: 1rem; }
}
.label-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 300px)); gap: 1.25rem; }
.label-tile { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.label-tile .photo { border-radius: 0; aspect-ratio: 2 / 1; }
.label-tile figcaption { padding: .8rem 1rem; }
.label-tile strong { display: block; color: var(--black); line-height: 1.25; }
.label-tile span { font-size: .85rem; color: var(--muted); }
@media (max-width: 640px) { .label-tiles { grid-template-columns: 1fr 1fr; gap: .75rem; } .label-tile figcaption { padding: .6rem .7rem; } }
.agenda-box { margin-top: 1.75rem; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: var(--radius); padding: 1.25rem 1.5rem; box-shadow: var(--shadow); }
.agenda-box h3 { margin-bottom: .4rem; }
.agenda-box .btn-row { gap: .5rem; margin-top: .75rem; }
.agenda-box .btn svg { display: inline; }
.agenda-box ol { padding-left: 1.2em; margin: 0; }
.agenda-box code { font-size: .85em; background: var(--bg-soft); padding: .1em .35em; border-radius: 4px; word-break: break-all; }
@media (max-width: 640px) { .agenda-box .btn-row .btn { flex: 1 1 100%; justify-content: center; } }
.vs-steps { list-style: none; padding: 0; counter-reset: vs; display: grid; gap: 1.5rem; margin: 1.25rem 0; }
.vs-steps li { counter-increment: vs; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 1.25rem; align-items: start; margin: 0; padding-left: 3rem; position: relative; }
.vs-steps li::before { content: counter(vs); position: absolute; left: 0; top: 0; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--red); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.vs-steps strong { color: var(--black); }
.photo.vs-shot { border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: var(--radius-sm); }
.photo.vs-w1 { max-width: 440px; }
.photo.vs-w2 { max-width: 300px; }
.photo.vs-w3 { max-width: 330px; }
.vs-ploegen { margin-top: .5rem; }
.vs-ploegen summary { cursor: pointer; font-weight: 700; color: var(--red); margin-bottom: .75rem; }
@media (max-width: 760px) { .vs-steps li { grid-template-columns: 1fr; padding-left: 2.7rem; } }

/* Wedstrijdkalender per maand */
.maanden { display: grid; gap: .75rem; }
.maand { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.maand[hidden] { display: none !important; }
.maand summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 1rem; padding: 1rem 1.25rem; font-weight: 800; color: var(--black); }
.maand summary::-webkit-details-marker { display: none; }
.maand summary::after { content: "+"; margin-left: .25rem; font-size: 1.4rem; line-height: 1; color: var(--red); }
.maand[open] summary::after { content: "–"; }
.maand summary:hover .maand-naam, .maand summary:focus-visible .maand-naam { color: var(--red); }
.maand-aantal { margin-left: auto; font-weight: 600; font-size: .9rem; color: var(--muted); }
.maand .table-wrap { border: 0; border-top: 1px solid var(--line); border-radius: 0; }
@media (min-width: 641px) {
  .maand table { table-layout: fixed; width: 100%; }
  .maand th:nth-child(1) { width: 11%; } .maand th:nth-child(2) { width: 7%; } .maand th:nth-child(3) { width: 17%; }
  .maand th:nth-child(4) { width: 37%; } .maand th:nth-child(5) { width: 28%; }
}

/* Sponsors in kleur en carrousel */
a.sponsor { text-decoration: none; transition: border-color .15s, box-shadow .15s; }
a.sponsor:hover, a.sponsor:focus-visible { border-color: var(--red); box-shadow: var(--shadow); }
.sponsor img { max-height: 72px; }
.carrousel { display: flex; overflow: hidden; gap: 1rem; padding: .5rem 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.carrousel-track { display: flex; gap: 1rem; list-style: none; margin: 0; padding: 0; flex-shrink: 0; min-width: 100%; justify-content: space-around;
  animation: carrousel 40s linear infinite; }
.carrousel-track li { margin: 0; }
.carrousel-track .sponsor { width: 200px; height: 120px; aspect-ratio: auto; padding: 1rem 1.25rem; }
.carrousel:hover .carrousel-track, .carrousel:focus-within .carrousel-track { animation-play-state: paused; }
@keyframes carrousel { from { transform: translateX(0); } to { transform: translateX(calc(-100% - 1rem)); } }
@media (prefers-reduced-motion: reduce) {
  .carrousel { flex-wrap: wrap; justify-content: center; -webkit-mask-image: none; mask-image: none; }
  .carrousel-track { animation: none; flex-wrap: wrap; justify-content: center; }
  .carrousel-track[aria-hidden="true"] { display: none; }
}
.btn-row.center { justify-content: center; }
.sponsor-cta { margin-top: 2rem; }
@media (max-width: 640px) { .carrousel-track .sponsor { width: 150px; height: 96px; padding: .75rem; } }
.carrousel-track .sponsor img { max-height: 100%; max-width: 100%; }
.sponsors .sponsor img { max-height: 76px; max-width: 88%; }
.partner-logo { display: flex; width: fit-content; flex-direction: column; gap: .4rem; text-decoration: none; margin-bottom: 1.5rem; }
.partner-logo span { font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.partner-logo img { width: 240px; height: auto; }
.shop-shot { display: block; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.shop-shot .photo { border-radius: 0; }
.shop-shot:hover { transform: translateY(-3px); }
.photo.affiche.fairplay { max-width: 380px; }
.agenda-fold { padding: 0; }
.agenda-fold > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 1rem; padding: 1rem 1.25rem; }
.agenda-fold > summary::-webkit-details-marker { display: none; }
.agenda-fold > summary::after { content: "+"; margin-left: auto; font-size: 1.5rem; line-height: 1; color: var(--red); font-weight: 700; }
.agenda-fold[open] > summary::after { content: "–"; }
.agenda-fold > summary .icon-badge { flex-shrink: 0; margin: 0; }
.agenda-fold > summary strong { display: block; color: var(--black); }
.agenda-fold > summary:hover strong { color: var(--red); }
.agenda-sub { display: block; font-size: .9rem; color: var(--muted); }
.agenda-body { padding: 0 1.5rem 1.5rem; border-top: 1px solid var(--line); padding-top: 1.25rem; }
@media (max-width: 640px) { .btn-row.compact .btn { flex: 0 1 auto; } }
.nb-uit { display: flex; gap: 1.5rem; align-items: flex-start; background: var(--black); color: rgba(255,255,255,.85); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); }
.nb-uit h2 { color: #fff; margin: .25rem 0 .5rem; }
.nb-uit .eyebrow { color: #ff8f91; }
.nb-uit .icon-badge { flex-shrink: 0; width: 64px; height: 64px; }
.nb-grid .card { display: flex; flex-direction: column; }
.nb-card .eyebrow svg { display: inline; vertical-align: -2px; }
@media (max-width: 640px) { .nb-uit { flex-direction: column; padding: 1.5rem; } }
.news-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 2.5rem; align-items: start; }
.nb-side { position: sticky; top: 96px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.nb-side h2 { font-size: 1.35rem; margin: 0; }
.nb-side-sub { color: var(--muted); font-size: .9rem; margin: .2rem 0 1rem; }
.nb-side ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.nb-side li { margin: 0; }
.nb-item { display: grid; gap: .2rem; padding: .85rem 1rem; border-radius: var(--radius-sm); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: border-color .15s, background .15s; }
.nb-item:hover, .nb-item:focus-visible { border-color: var(--red); background: var(--red-soft); }
.nb-maand { font-weight: 800; color: var(--black); display: flex; align-items: center; gap: .4rem; }
.nb-maand svg { color: var(--red); }
.nb-tekst { font-size: .88rem; color: var(--muted); line-height: 1.45; }
.nb-lees { font-size: .85rem; font-weight: 700; color: var(--red); display: inline-flex; align-items: center; gap: .3rem; }
@media (max-width: 960px) { .news-layout { grid-template-columns: 1fr; } .nb-side { position: static; } }

/* Submenu's */
.main-nav .has-sub { position: relative; display: flex; align-items: center; }
.main-nav a.is-active { color: var(--red); }
.sub-toggle { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 32px; margin-left: -.35rem; padding: 0; border: 0; background: none; color: var(--ink); cursor: pointer; border-radius: var(--radius-sm); }
.sub-toggle svg { transition: transform .15s; }
.has-sub.open .sub-toggle svg { transform: rotate(180deg); }
.main-nav ul.sub { display: none; position: absolute; top: calc(100% + 4px); left: 0; z-index: 60; flex-direction: column; gap: 0; min-width: 230px; padding: .5rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.main-nav ul.sub::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.main-nav .sub a { font-size: .95rem; padding: .6rem .8rem; }
@media (min-width: 961px) {
  .has-sub:hover > ul.sub, .has-sub:focus-within > ul.sub, .has-sub.open > ul.sub { display: flex; }
}
@media (max-width: 960px) {
  .main-nav .has-sub { display: block; }
  .sub-toggle { display: none; }
  .main-nav ul.sub { display: flex; position: static; box-shadow: none; border: 0; padding: 0 0 .25rem 1rem; min-width: 0; background: none; }
  .main-nav ul.sub::before { content: none; }
  .main-nav .sub a { font-size: 1rem; padding: .75rem .25rem; color: var(--muted); }
}
.main-nav .sub a[aria-current="page"] { color: var(--red); }

/* Verwijsbanner */
.link-banner { display: flex; align-items: center; gap: 1.25rem; padding: 1.5rem 1.75rem; background: #fff; border: 1px solid var(--line); border-left: 6px solid var(--red); border-radius: var(--radius); box-shadow: var(--shadow); text-decoration: none; color: var(--ink); transition: transform .15s, box-shadow .15s; }
.link-banner:hover { transform: translateY(-2px); }
.link-banner .icon-badge { flex-shrink: 0; width: 60px; height: 60px; margin: 0; }
.lb-tekst { display: grid; gap: .15rem; flex: 1; }
.lb-tekst strong { font-size: 1.35rem; color: var(--black); }
.lb-tekst > span:last-child { color: var(--muted); }
.link-banner .btn { flex-shrink: 0; }
.link-banner .btn svg { display: inline; }
@media (max-width: 640px) { .link-banner { flex-direction: column; align-items: flex-start; } }

/* Actiebanner */
.actie-sectie { padding-bottom: 0; }
.actie-banner { display: grid; grid-template-columns: 260px 1fr; gap: 2rem; align-items: center; background: var(--red); color: rgba(255,255,255,.92); border-radius: calc(var(--radius) + 6px); padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: var(--shadow); }
.actie-banner h2 { color: #fff; margin: .3rem 0 .6rem; font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
.actie-banner .eyebrow { color: #fff; background: rgba(0,0,0,.18); padding: .25rem .6rem; border-radius: 999px; }
.actie-banner strong { color: #fff; }
.actie-affiche { border-radius: var(--radius-sm); box-shadow: 0 10px 30px rgba(0,0,0,.25); transform: rotate(-2deg); }
.btn-light-solid { background: #fff; color: var(--red); border-color: #fff; }
.btn-light-solid:hover { background: var(--black); color: #fff; border-color: var(--black); }
.actie-sectie[hidden] { display: none !important; }
@media (max-width: 760px) { .actie-banner { grid-template-columns: 1fr; } .actie-affiche { max-width: 220px; } }

/* Sponsorcarrousel groot */
.carrousel-groot .carrousel-track .sponsor { width: 280px; height: 170px; padding: 1.25rem 1.5rem; }
.carrousel-groot .carrousel-track { animation-duration: 55s; }
@media (max-width: 640px) { .carrousel-groot .carrousel-track .sponsor { width: 200px; height: 125px; } }
.actie-compact { grid-template-columns: 170px 1fr; margin-bottom: 3rem; }
.actie-compact h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.actie-banner[hidden] { display: none !important; }
@media (max-width: 760px) { .actie-compact .actie-affiche { max-width: 160px; } }
@media (max-width: 760px) { .actie-banner.actie-compact { grid-template-columns: 1fr; } }

/* Infogids */

.infogids { display: flex; gap: 1.5rem; align-items: flex-start; background: var(--red-soft); border: 1px solid #f6c9ca; border-left: 6px solid var(--red); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.25rem); }
.infogids .icon-badge { flex-shrink: 0; width: 64px; height: 64px; background: #fff; margin: 0; }
.infogids h2 { margin: .1rem 0 .5rem; }
.infogids p { max-width: 70ch; }
.infogids .btn svg { display: inline; }
@media (max-width: 640px) { .infogids { flex-direction: column; } }
.trooper { display: flex; gap: 1.5rem; align-items: flex-start; margin-top: 1.25rem; padding: clamp(1.5rem, 4vw, 2.5rem); border-top: 4px solid var(--black); }
.trooper .icon-badge { flex-shrink: 0; width: 60px; height: 60px; margin: 0; }
.trooper h2 { margin: .1rem 0 .6rem; }
.trooper .steps { margin: 1.25rem 0 1.5rem; }
@media (max-width: 640px) { .trooper { flex-direction: column; } }
.faq .answer p { margin: 0 0 .6rem; }
.faq .answer ol { padding-left: 1.25rem; margin: 0 0 .5rem; }
.faq .answer ol li { margin-bottom: .35rem; }
.uren { border-collapse: collapse; margin-top: .5rem; width: 100%; max-width: 360px; }
.uren th, .uren td { text-align: left; padding: .45rem 1.5rem .45rem 0; border-bottom: 1px solid var(--line, #e6e6e6); }
.uren th { font-weight: 700; }
.trooper .trooper-logo { display: block; width: 100%; max-width: 380px; height: auto; margin-bottom: 1.25rem; }
.banners .actie-banner { margin-bottom: 1.5rem; }
.banners .actie-banner:last-child { margin-bottom: 0; }
.banners + .kalender-sectie { padding-top: 3.5rem; }
