/* SV Tongria — ontwerpvoorstel */
:root {
  --navy: #0f2340;
  --navy-2: #17315a;
  --ink: #1a2230;
  --muted: #5b6678;
  --line: #e3e6ec;
  --paper: #f6f4ef;
  --white: #ffffff;
  --gold: #e8b931;
  --gold-ink: #7a5a00;
  --red: #c0392b;
  --green: #1f8a4c;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15, 35, 64, .06), 0 8px 24px rgba(15, 35, 64, .08);
  --display: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { overflow-x: clip; margin: 0; font-family: var(--body); color: var(--ink); background: var(--paper); line-height: 1.6; font-size: 16px; }
img { max-width: 100%; display: block; }
a { color: var(--navy-2); }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; margin: 0 0 .5em; letter-spacing: .01em; }
h2 { font-size: clamp(2rem, 4vw, 2.75rem); text-transform: uppercase; }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.eyebrow { font: 600 .8rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: .8rem; display: block; }
section { padding: 88px 0; }
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }

/* Demo-balk */
.demo-bar { background: var(--gold); color: var(--navy); font-size: .85rem; text-align: center; padding: 7px 12px; font-weight: 600; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(15, 35, 64, .97); backdrop-filter: blur(8px); color: #fff; }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; }
.brand img { height: 50px; width: auto; border-radius: 4px; background: #fff; padding: 2px; }
.brand b { font-family: var(--display); font-size: 1.5rem; letter-spacing: .04em; text-transform: uppercase; display: block; line-height: 1; }
.brand small { font-size: .72rem; opacity: .7; letter-spacing: .08em; text-transform: uppercase; }
.nav { margin-left: auto; display: flex; gap: 4px; align-items: center; }
.nav a { color: #d7deea; text-decoration: none; font-size: .92rem; padding: 8px 12px; border-radius: 8px; }
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.btn { display: inline-flex; align-items: center; gap: 8px; font: 600 .95rem var(--body); padding: 12px 20px; border-radius: 10px; text-decoration: none; border: 0; cursor: pointer; transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: #f2c94c; }
.btn-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .45); }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); }
.btn-navy { background: var(--navy); color: #fff; }
.nav .btn { margin-left: 8px; padding: 9px 16px; }
.menu-toggle { display: none; margin-left: auto; background: none; border: 0; color: #fff; font-size: 1.6rem; cursor: pointer; }

/* Hero */
.hero { position: relative; background: radial-gradient(1200px 500px at 85% 20%, #22477e 0%, transparent 60%), linear-gradient(160deg, var(--navy) 0%, #0a1830 100%); color: #fff; padding: 96px 0 120px; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -140px; top: 50%; translate: 0 -50%; width: 620px; height: 620px; border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 38px, rgba(255, 255, 255, .06) 38px 40px); pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: center; }
.hero .wrap > * { min-width: 0; }
.hero h1 { font-size: clamp(2.8rem, 6.5vw, 5rem); text-transform: uppercase; margin-bottom: .3em; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero p.lead { font-size: 1.2rem; color: #c9d3e3; max-width: 34em; margin-bottom: 2em; }
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.status-card { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: 18px; padding: 28px; backdrop-filter: blur(6px); }
.status-pill { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.status-pill .dot { width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.status-pill.open { background: rgba(46, 204, 113, .16); color: #5ee38f; }
.status-pill.open .dot { animation: pulse 1.6s infinite; }
.status-pill.closed { background: rgba(255, 255, 255, .1); color: #dfe5ee; }
@keyframes pulse { 0%, 100% { opacity: 1 } 50% { opacity: .35 } }
.status-card .big { font-family: var(--display); font-size: 2.1rem; line-height: 1.1; margin: 14px 0 6px; }
.status-card .sub { color: #b8c4d8; font-size: .95rem; }
.status-card hr { border: 0; border-top: 1px solid rgba(255, 255, 255, .12); margin: 20px 0; }
.status-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: .93rem; color: #d5dceb; }
.status-card li { display: flex; justify-content: space-between; gap: 12px; }
.status-card li span:last-child { color: #fff; font-weight: 600; white-space: nowrap; }

/* Cijfers */
.facts { margin-top: -56px; position: relative; z-index: 2; padding: 0; }
.facts .grid { display: grid; grid-template-columns: repeat(5, 1fr); background: var(--white); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; }
.fact { padding: 26px 22px; border-right: 1px solid var(--line); }
.fact:last-child { border-right: 0; }
.fact b { display: block; font-family: var(--display); font-size: 2.4rem; color: var(--navy); line-height: 1; }
.fact span { color: var(--muted); font-size: .88rem; }

/* Kaarten */
.card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* Openingsuren */
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; }
.day { background: var(--white); border-radius: 12px; padding: 16px 14px; box-shadow: var(--shadow); min-height: 210px; display: flex; flex-direction: column; gap: 8px; }
.day.today { outline: 2.5px solid var(--gold); }
.day h4 { margin: 0; font: 700 .8rem var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.day.closed { background: transparent; box-shadow: none; border: 1.5px dashed #cfd5df; }
.day.closed p { color: #98a1b1; font-size: .85rem; margin: 0; }
.slot { border-radius: 8px; padding: 8px 10px; font-size: .82rem; line-height: 1.35; }
.slot b { display: block; font-size: .92rem; }
.slot.all { background: #e8eef8; color: var(--navy); }
.slot.heavy { background: #fdf3d6; color: #6b4e00; }
.slot.test { background: #eee; color: #444; }
.legend { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 18px; font-size: .88rem; color: var(--muted); }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.closures { margin-top: 32px; }
.closures table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.closures td { padding: 10px 0; border-bottom: 1px solid var(--line); }
.closures tr.past td { color: #a3abb8; text-decoration: line-through; }
.tag { display: inline-block; font-size: .75rem; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: #fdf3d6; color: #6b4e00; }

/* Melding ledenstop */
.notice { display: flex; gap: 20px; align-items: flex-start; background: var(--navy); color: #fff; border-radius: 18px; padding: 32px; }
.notice .icon { flex: none; width: 52px; height: 52px; border-radius: 12px; background: var(--gold); color: var(--navy); display: grid; place-items: center; font-size: 1.5rem; font-weight: 800; }
.notice p { color: #c9d3e3; }
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.step { background: rgba(255, 255, 255, .06); border-radius: 12px; padding: 18px; font-size: .93rem; color: #dfe5ee; }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--gold); color: var(--navy); font-weight: 800; margin-bottom: 10px; }
.step b { color: #fff; display: block; margin-bottom: 4px; }

/* Leden-info */
.alt { background: var(--white); }
.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.info-list li { display: flex; gap: 14px; }
.info-list li::before { content: "→"; color: var(--gold-ink); font-weight: 700; }
.price { display: flex; align-items: baseline; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); }
.price b { font-family: var(--display); font-size: 1.8rem; color: var(--navy); }
.iban { font-family: ui-monospace, Consolas, monospace; background: var(--paper); border-radius: 8px; padding: 10px 12px; display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 14px 0 6px; font-size: .95rem; }
.iban button { font: 600 .8rem var(--body); border: 0; background: var(--navy); color: #fff; border-radius: 6px; padding: 6px 10px; cursor: pointer; }
.warn { border-left: 4px solid var(--gold); background: #fffaf0; padding: 14px 16px; border-radius: 0 10px 10px 0; font-size: .95rem; }

/* Proeven */
.dates { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.date { background: var(--white); border-radius: 12px; padding: 16px; box-shadow: var(--shadow); border-top: 4px solid var(--navy); }
.date.ext { border-top-color: #9aa6b8; }
.date b { font-family: var(--display); font-size: 1.6rem; display: block; color: var(--navy); line-height: 1.1; }
.date span { font-size: .85rem; color: var(--muted); }

/* Wedstrijden */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.chip { border: 1.5px solid var(--line); background: var(--white); border-radius: 999px; padding: 7px 14px; font: 600 .85rem var(--body); cursor: pointer; color: var(--ink); }
.chip.active { background: var(--navy); color: #fff; border-color: var(--navy); }
details.event { background: var(--white); border-radius: 12px; box-shadow: var(--shadow); margin-bottom: 10px; }
details.event summary { list-style: none; cursor: pointer; padding: 18px 22px; display: flex; align-items: center; gap: 16px; }
details.event summary::-webkit-details-marker { display: none; }
details.event summary .when { font: 700 .8rem var(--body); color: var(--gold-ink); min-width: 92px; text-transform: uppercase; letter-spacing: .06em; }
details.event summary .title { font-weight: 600; flex: 1; }
details.event summary .count { font-size: .82rem; color: var(--muted); }
details.event summary::after { content: "+"; font-size: 1.4rem; color: var(--muted); transition: rotate .2s; }
details.event[open] summary::after { rotate: 45deg; }
.files { padding: 0 22px 20px; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px; }
.files a { display: flex; gap: 10px; align-items: center; text-decoration: none; color: var(--ink); background: var(--paper); border-radius: 8px; padding: 10px 12px; font-size: .9rem; }
.files a:hover { background: #ece8df; }
.files a::before { content: "PDF"; font: 700 .65rem var(--body); background: var(--red); color: #fff; border-radius: 4px; padding: 3px 5px; }
.tombola { padding: 0 22px 20px; font-size: .9rem; color: var(--muted); }

/* Nieuws */
.news-card { display: flex; flex-direction: column; }
.news-card .meta { font-size: .8rem; color: var(--muted); margin-bottom: 8px; }
.news-card h3 { font-size: 1.5rem; }
.news-card p { color: var(--muted); font-size: .95rem; flex: 1; }
.news-card a.more { font-weight: 600; text-decoration: none; }

/* Historiek */
.timeline { position: relative; padding-left: 28px; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.tl { position: relative; margin-bottom: 26px; }
.tl::before { content: ""; position: absolute; left: -28px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px var(--paper); }
.tl b { font-family: var(--display); font-size: 1.5rem; color: var(--navy); }
.tl p { margin: 2px 0 0; color: var(--muted); }

/* Downloads */
.dl { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); padding: 16px 0; border-bottom: 1px solid var(--line); }
.dl:last-child { border-bottom: 0; }
.dl .ic { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; background: #e8eef8; color: var(--navy); font-weight: 800; font-size: .75rem; flex: none; }
.dl small { display: block; color: var(--muted); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 24px; }
.map { border-radius: var(--radius); overflow: hidden; min-height: 380px; box-shadow: var(--shadow); background: #dfe4ea; }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; }
form .field { display: grid; gap: 6px; margin-bottom: 14px; }
form label { font-size: .85rem; font-weight: 600; }
form input, form select, form textarea { font: inherit; padding: 11px 12px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; }
form input:focus, form select:focus, form textarea:focus { outline: none; border-color: var(--navy-2); }

/* Footer */
footer { background: #0a1830; color: #9fb0c8; padding: 56px 0 28px; font-size: .92rem; }
footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
footer h4 { color: #fff; font-family: var(--display); font-size: 1.2rem; text-transform: uppercase; letter-spacing: .05em; margin: 0 0 12px; }
footer a { color: #cdd8e8; text-decoration: none; }
footer .bottom { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .82rem; }

/* Toast */
.toast { position: fixed; bottom: 24px; left: 50%; translate: -50% 20px; background: var(--navy); color: #fff; padding: 12px 20px; border-radius: 10px; opacity: 0; transition: .25s; pointer-events: none; z-index: 100; }
.toast.show { opacity: 1; translate: -50% 0; }

/* Responsive */
@media (max-width: 1000px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .facts .grid { grid-template-columns: repeat(3, 1fr); }
  .fact:nth-child(3) { border-right: 0; }
  .fact:nth-child(n+4) { border-top: 1px solid var(--line); }
  .week { grid-template-columns: repeat(4, 1fr); }
  .grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--navy); flex-direction: column; align-items: stretch; padding: 12px 20px 20px; }
  .nav.open { display: flex; }
  .nav .btn { margin: 8px 0 0; justify-content: center; }
  .grid-2, .contact-grid, .steps { grid-template-columns: 1fr; }
  footer .cols { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  section { padding: 64px 0; }
  .week { grid-template-columns: 1fr 1fr; }
  .facts .grid { grid-template-columns: 1fr 1fr; }
  .fact { border-right: 0 !important; border-top: 1px solid var(--line); }
  .grid-3 { grid-template-columns: 1fr; }
  .notice { flex-direction: column; }
}
