/* VKE Eizer – geel & zwart */
:root {
  --yellow: #ffe100;
  --yellow-soft: #fff7b8;
  --black: #111111;
  --ink: #1b1b1b;
  --muted: #5f5f5f;
  --line: #e6e3d8;
  --bg: #faf9f4;
  --card: #ffffff;
  --win: #1f8a4c;
  --draw: #8a7a1f;
  --loss: #c0392b;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(0,0,0,.05), 0 8px 24px rgba(0,0,0,.06);
  --wrap: 1120px;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--bg); line-height: 1.55; font-size: 16px; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.05; margin: 0; letter-spacing: .01em; text-transform: uppercase; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Header ---------- */
.site-header { background: var(--black); color: #fff; position: sticky; top: 0; z-index: 50; border-bottom: 4px solid var(--yellow); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 46px; height: 46px; border-radius: 50%; }
.brand span { font-family: var(--display); font-size: 1.6rem; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; }
.brand span b { color: var(--yellow); font-weight: 700; }
.nav { display: flex; gap: 4px; }
.nav a { text-decoration: none; font-weight: 600; font-size: .95rem; padding: 8px 14px; border-radius: 999px; color: #ddd; transition: background .15s, color .15s; }
.nav a:hover { color: #fff; background: rgba(255,255,255,.08); }
.nav a[aria-current="page"] { background: var(--yellow); color: var(--black); }
.nav-toggle { display: none; background: none; border: 0; color: #fff; padding: 8px; cursor: pointer; }
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; top: 76px; left: 0; right: 0; background: var(--black); flex-direction: column; padding: 8px 16px 18px; display: none; border-bottom: 4px solid var(--yellow); }
  .nav-open .nav { display: flex; }
  .nav a { padding: 12px 14px; font-size: 1.05rem; }
}

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; background: var(--black); overflow: hidden; }
.hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; opacity: .55; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,10,10,.92) 0%, rgba(10,10,10,.55) 55%, rgba(10,10,10,.2) 100%); }
.hero .wrap { position: relative; z-index: 1; padding-top: 96px; padding-bottom: 96px; }
.hero .kicker { display: inline-block; background: var(--yellow); color: var(--black); font-weight: 700; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 4px; }
.hero h1 { font-size: clamp(3rem, 9vw, 6rem); margin: 16px 0 12px; }
.hero h1 b { color: var(--yellow); }
.hero p { max-width: 520px; font-size: 1.15rem; color: #e8e8e8; margin: 0 0 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.page-hero { background: var(--black); color: #fff; padding: 56px 0 44px; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; right: -60px; top: -40px; width: 300px; height: 300px; border-radius: 50%; border: 36px solid var(--yellow); opacity: .9; }
.page-hero .wrap { position: relative; }
.page-hero h1 { font-size: clamp(2.6rem, 7vw, 4.5rem); }
.page-hero p { color: #cfcfcf; margin: 8px 0 0; font-size: 1.05rem; }
@media (max-width: 600px) { .page-hero::before { width: 170px; height: 170px; border-width: 22px; right: -95px; top: -95px; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; padding: 13px 22px; border-radius: 999px; border: 2px solid transparent; transition: transform .1s, background .15s; }
.btn:active { transform: translateY(1px); }
.btn-yellow { background: var(--yellow); color: var(--black); }
.btn-yellow:hover { background: #fff04d; }
.btn-ghost { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-dark { background: var(--black); color: #fff; }
.btn-dark:hover { background: #333; }

/* ---------- Sections ---------- */
section.block { padding: 64px 0; }
section.block.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(2rem, 5vw, 2.8rem); }
.section-head h2::after { content: ""; display: block; width: 56px; height: 6px; background: var(--yellow); margin-top: 10px; border-radius: 3px; }
.section-head p { margin: 0; color: var(--muted); }
.link-arrow { font-weight: 700; text-decoration: none; white-space: nowrap; }
.link-arrow::after { content: " →"; }
.link-arrow:hover { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; }

/* ---------- Match cards ---------- */
.match-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.match-card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 18px 14px; display: flex; flex-direction: column; gap: 10px; border-top: 6px solid var(--yellow); }
.match-card.is-W { border-top-color: var(--win); }
.match-card.is-V { border-top-color: var(--loss); }
.match-card.is-G { border-top-color: var(--draw); }
.match-card header { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.eyebrow { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.team-tag { font-size: .75rem; font-weight: 700; background: var(--black); color: var(--yellow); padding: 3px 8px; border-radius: 4px; white-space: nowrap; }
.match-date { margin: 0; font-weight: 600; text-transform: capitalize; }
.match-teams { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; padding: 8px 0; }
.match-teams .t { font-weight: 600; font-size: .95rem; line-height: 1.25; }
.match-teams .home { text-align: right; }
.match-teams .us { font-weight: 800; }
.score, .kickoff { font-family: var(--display); font-size: 2.2rem; font-weight: 700; background: var(--black); color: #fff; border-radius: 10px; padding: 2px 12px; min-width: 84px; text-align: center; }
.score i { font-style: normal; color: var(--yellow); margin: 0 4px; }
.kickoff { font-size: 1.6rem; background: var(--yellow); color: var(--black); padding: 6px 12px; }
.match-card footer { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: .82rem; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 10px; }

.badge { display: inline-flex; align-items: center; justify-content: center; font-size: .75rem; font-weight: 800; padding: 3px 9px; border-radius: 999px; color: #fff; white-space: nowrap; }
.badge-W { background: var(--win); }
.badge-V { background: var(--loss); }
.badge-G { background: var(--draw); }
.badge-venue { background: var(--yellow-soft); color: var(--black); }

/* ---------- Standings ---------- */
.standings-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.standing-card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.standing-head { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.standing-head h3 { font-size: 1.6rem; }
.standing-head p { margin: 2px 0 0; color: var(--muted); font-size: .9rem; }
.pos { text-align: center; background: var(--yellow); border-radius: 12px; padding: 6px 14px; line-height: 1; }
.pos strong { display: block; font-family: var(--display); font-size: 2.2rem; }
.pos sup { font-size: .9rem; }
.pos span { font-size: .75rem; font-weight: 700; }
.standing-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: auto; }

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.ranking { width: 100%; border-collapse: collapse; font-size: .92rem; font-variant-numeric: tabular-nums; }
.ranking th { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; padding: 8px 6px; border-bottom: 2px solid var(--black); text-align: center; }
.ranking td { padding: 9px 6px; border-bottom: 1px solid var(--line); text-align: center; }
.ranking .l { text-align: left; }
.ranking td.l { font-weight: 500; }
.ranking .pts { font-weight: 800; }
.ranking tr.us td { background: var(--yellow); font-weight: 800; }
.ranking tr.us td:first-child { border-radius: 8px 0 0 8px; }
.ranking tr.us td:last-child { border-radius: 0 8px 8px 0; }
.ranking tbody tr:not(.us):hover td { background: #f6f4ea; }
@media (max-width: 520px) { .hide-s { display: none; } .ranking { font-size: .85rem; } .ranking td, .ranking th { padding: 8px 4px; } }

.form { display: inline-flex; gap: 4px; }
.dot { width: 24px; height: 24px; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; font-size: .72rem; font-weight: 800; color: #fff; }
.dot-W { background: var(--win); }
.dot-V { background: var(--loss); }
.dot-G { background: var(--draw); }

.source { font-size: .82rem; color: var(--muted); margin: 12px 0 0; }

/* ---------- Team page ---------- */
.stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin-top: -36px; position: relative; z-index: 2; }
.stat { background: var(--card); padding: 18px 12px; text-align: center; display: flex; flex-direction: column; gap: 6px; align-items: center; justify-content: center; }
.stat strong { font-family: var(--display); font-size: 2.2rem; line-height: 1; }
.stat sup { font-size: .9rem; }
.stat span { font-size: .78rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } .stat-form { grid-column: 1 / -1; } }

.two-col { display: grid; grid-template-columns: 1.05fr 1fr; gap: 28px; align-items: start; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }
.panel { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; }
.panel h2 { font-size: 1.8rem; margin-bottom: 14px; }

.filters { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.seg { display: inline-flex; background: #efede4; border-radius: 999px; padding: 4px; }
.seg button { border: 0; background: none; font: inherit; font-weight: 700; padding: 8px 16px; border-radius: 999px; cursor: pointer; color: var(--muted); }
.seg button[aria-selected="true"] { background: var(--black); color: var(--yellow); }
.select select { font: inherit; font-weight: 600; padding: 9px 12px; border-radius: 10px; border: 1px solid var(--line); background: #fff; }

.match-list { list-style: none; margin: 0; padding: 0; }
.match-list .month { font-family: var(--display); font-size: 1.15rem; text-transform: uppercase; font-weight: 700; padding: 16px 0 6px; color: var(--muted); }
.match-list .row { display: grid; grid-template-columns: 56px 1fr auto; grid-template-areas: "when teams badge" "when meta badge"; column-gap: 12px; row-gap: 2px; align-items: center; padding: 12px 8px; border-bottom: 1px solid var(--line); border-left: 4px solid transparent; }
.match-list .row.is-W { border-left-color: var(--win); }
.match-list .row.is-V { border-left-color: var(--loss); }
.match-list .row.is-G { border-left-color: var(--draw); }
.match-list .when { grid-area: when; display: flex; flex-direction: column; line-height: 1.15; }
.match-list .when strong { text-transform: capitalize; }
.match-list .when small { color: var(--muted); }
.match-list .teams { grid-area: teams; display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; font-size: .95rem; }
.match-list .teams .us { font-weight: 800; }
.match-list .res { font-family: var(--display); font-weight: 700; font-size: 1.15rem; background: var(--black); color: #fff; padding: 0 8px; border-radius: 6px; }
.match-list .meta { grid-area: meta; font-size: .8rem; color: var(--muted); }
.match-list .meta small { margin-left: 6px; color: var(--loss); font-weight: 600; }
.match-list .badge { grid-area: badge; width: 28px; height: 28px; padding: 0; }
.empty { color: var(--muted); padding: 20px 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 28px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.contact-list li { display: flex; gap: 16px; align-items: start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 0; }
.ic { flex: 0 0 44px; height: 44px; border-radius: 12px; background: var(--yellow); display: flex; align-items: center; justify-content: center; }
.ic svg { width: 22px; height: 22px; }
.contact-list .lbl { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: var(--muted); }
.contact-list a, .contact-list .val { font-weight: 600; font-size: 1.05rem; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; }
.map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-height: 380px; background: #ddd; }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }
.people { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.person { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; border-left: 6px solid var(--yellow); }
.person h3 { font-size: 1.35rem; }
.person p { margin: 4px 0 0; color: var(--muted); font-size: .92rem; }

/* ---------- Club strip ---------- */
.club-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.club-strip img { border-radius: var(--radius); box-shadow: var(--shadow); }
.club-strip p { color: var(--muted); font-size: 1.05rem; }
@media (max-width: 860px) { .club-strip { grid-template-columns: 1fr; } }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 20px; }
.fact { border: 2px solid var(--black); border-radius: 12px; padding: 12px; text-align: center; }
.fact strong { display: block; font-family: var(--display); font-size: 1.8rem; line-height: 1; }
.fact span { font-size: .78rem; color: var(--muted); font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: #bdbdbd; padding: 48px 0 28px; margin-top: 0; border-top: 6px solid var(--yellow); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-family: var(--display); text-transform: uppercase; font-size: 1.2rem; margin: 0 0 10px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--yellow); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.footer-brand { display: flex; gap: 14px; align-items: center; }
.footer-brand img { width: 64px; height: 64px; border-radius: 50%; }
.copyright { border-top: 1px solid #2a2a2a; margin-top: 32px; padding-top: 18px; font-size: .85rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* ---------- Home: wedstrijden per ploeg ---------- */
.team-groups { display: grid; grid-template-columns: 1fr; gap: 24px; }
.team-group { background: #f1efe5; border-radius: calc(var(--radius) + 6px); padding: 18px; }
.team-group-head { display: flex; justify-content: space-between; align-items: end; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.team-group-head h3 { font-size: 1.8rem; display: flex; align-items: center; gap: 10px; }
.team-group-head h3::before { content: ""; width: 10px; height: 26px; background: var(--yellow); border-radius: 3px; }
.team-group-head p { margin: 2px 0 0; color: var(--muted); font-size: .9rem; }
.team-group .match-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

/* ---------- Bijwerken ---------- */
.steps ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 14px; }
.steps li::marker { font-weight: 800; }
.knop-wrap { margin: 12px 0 0; }
.knop { cursor: grab; box-shadow: 0 0 0 4px var(--black); }
.rbfa-links { margin: 10px 0 0; padding-left: 18px; display: flex; flex-direction: column; gap: 4px; }
.rbfa-links a { font-weight: 600; }
kbd { font: 600 .85em var(--body); background: #efede4; border: 1px solid var(--line); border-radius: 5px; padding: 1px 6px; }
code { background: #efede4; border-radius: 5px; padding: 1px 6px; font-size: .9em; }
