:root {
  --purple: #9059ba;
  --purple-dark: #4e2570;
  --purple-deep: #32164b;
  --purple-soft: #f4eef9;
  --yellow: #ffd44f;
  --orange: #f0a21a;
  --ink: #251932;
  --muted: #75657f;
  --line: #e5d8ef;
  --bg: #efe6f6;
  --white: #fff;
  --radius: 20px;
  --shadow: 0 18px 45px rgba(78, 37, 112, .16);
}
* { box-sizing: border-box; }
body { margin: 0; font-family: Arial, Helvetica, sans-serif; color: var(--ink); background: radial-gradient(circle at top left, rgba(255,212,79,.22), transparent 28%), linear-gradient(135deg, var(--purple-deep), var(--purple), #b88ad2); line-height: 1.6; }
a { color: var(--purple-dark); font-weight: 700; }
img { max-width: 100%; display: block; }
.wrap { width: min(1240px, calc(100% - 32px)); margin: 0 auto; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--yellow); padding: 8px; z-index: 10; }
.skip-link:focus { left: 8px; }
.site-header { background: rgba(50, 22, 75, .94); color: var(--white); position: sticky; top: 0; z-index: 5; box-shadow: 0 8px 30px rgba(0,0,0,.18); backdrop-filter: blur(12px); }
.nav { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { color: var(--white); text-decoration: none; display: flex; align-items: center; gap: 12px; }
.brand-logo { width: 86px; height: 58px; object-fit: contain; }
.brand small { display: block; color: #eadbf3; font-weight: 400; }
.nav-toggle { display: none; border: 1px solid rgba(255,255,255,.35); border-radius: 12px; background: transparent; color: var(--white); padding: 10px 14px; font-weight: 800; }
.nav-menu { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.nav-menu a { color: var(--white); text-decoration: none; padding: 10px 12px; border-radius: 999px; font-size: 14px; }
.nav-menu a:hover, .nav-admin { background: rgba(255,255,255,.13); }
.admin-toolbar { background: var(--yellow); color: var(--purple-deep); border-bottom: 1px solid rgba(50,22,75,.12); }
.admin-toolbar-inner { min-height: 42px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.admin-toolbar a { color: var(--purple-deep); }
.hero { padding: 24px 0 0; color: var(--white); }
.hero-grid { min-height: 560px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 30px; align-items: center; padding: 48px; border-radius: 0 0 32px 32px; background: radial-gradient(circle at 18% 18%, rgba(255,212,79,.28), transparent 32%), linear-gradient(135deg, var(--purple-deep), var(--purple-dark) 54%, var(--purple)); box-shadow: var(--shadow); overflow: hidden; }
h1 { font-size: clamp(34px, 6vw, 68px); line-height: 1.02; margin: 0 0 20px; letter-spacing: 0; }
h2 { font-size: clamp(24px, 3vw, 36px); line-height: 1.15; margin: 0 0 14px; }
h3 { margin: 0 0 10px; font-size: 22px; line-height: 1.2; }
.hero p, .lead { font-size: 20px; max-width: 720px; }
.button-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 12px 18px; border-radius: 999px; text-decoration: none; font-weight: 900; border: 0; cursor: pointer; }
.button.primary { background: var(--yellow); color: var(--purple-deep); }
.button.light { background: var(--white); color: var(--purple-dark); }
.button.ghost { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,.45); }
.button.dark { color: var(--purple-dark); border-color: var(--purple); }
.hero-card, .card, .sponsor-card, .contact-form, .route-card, .cta { border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.hero-photo { position: relative; min-height: 440px; border-radius: 28px; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.24); }
.hero-photo img { width: 100%; height: 100%; min-height: 440px; object-fit: cover; }
.hero-card { position: absolute; left: 18px; bottom: 18px; right: 18px; color: var(--purple-deep); padding: 20px; min-height: 0; display: flex; flex-direction: column; justify-content: end; gap: 6px; border: 3px solid rgba(255,212,79,.95); background: rgba(255,255,255,.92); }
.hero-card strong { font-size: 26px; line-height: 1.1; }
main { width: min(1360px, calc(100% - 28px)); margin: 0 auto 26px; background: var(--white); border-radius: 0 0 34px 34px; box-shadow: 0 28px 70px rgba(50, 22, 75, .22); overflow: hidden; }
.page-hero { position: relative; width: min(1360px, calc(100% - 28px)); min-height: clamp(240px, 34vw, 430px); margin: 0 auto; display: grid; align-items: end; overflow: hidden; color: var(--white); background: var(--purple-deep); }
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(50,22,75,.18), rgba(50,22,75,.76)); }
.page-hero-copy { position: relative; z-index: 1; padding: 42px 0; }
.page-hero h1 { max-width: 820px; margin: 0; text-shadow: 0 3px 18px rgba(0,0,0,.45); }
.section { padding: 62px 0; background: var(--white); }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.two-col, .feature-grid, .contact-page { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.list, .calendar-list { display: grid; gap: 12px; }
.preview-panel { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: var(--white); box-shadow: var(--shadow); }
.list-row, .calendar-item { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; display: flex; gap: 18px; align-items: center; text-decoration: none; color: var(--ink); }
.list-row small { display: block; color: var(--muted); font-weight: 700; }
time { color: var(--purple); font-weight: 900; min-width: 92px; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.card { overflow: hidden; display: grid; grid-template-rows: auto 1fr; }
.card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--purple-dark); }
.card div, .sponsor-card { padding: 20px; }
.meta { color: var(--muted); font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: 0; }
.feature-section { display: grid; grid-template-columns: 1.2fr .8fr; gap: 22px; }
.action-feature, .beach-feature { overflow: hidden; border-radius: var(--radius); background: var(--purple-dark); color: var(--white); box-shadow: var(--shadow); }
.action-feature { display: grid; grid-template-columns: 1.1fr .9fr; }
.beach-feature { display: grid; }
.action-feature img, .beach-feature img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; }
.action-feature .feature-copy, .beach-feature .feature-copy { padding: 28px; }
.feature-copy { padding: 18px 0; }
.sponsor-carousel { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.sponsor-track { display: flex; gap: 14px; width: max-content; padding: 14px; animation: sponsor-scroll 34s linear infinite; }
.sponsor-track:hover { animation-play-state: paused; }
.sponsor-track div, .sponsor-track a { width: 178px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 12px; min-height: 92px; display: grid; place-items: center; }
.sponsor-track a { transition: transform .18s ease, box-shadow .18s ease; }
.sponsor-track a:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.sponsor-track img, .sponsor-card img { max-height: 82px; object-fit: contain; margin: auto; }
@keyframes sponsor-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.contact-preview { display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; align-items: stretch; }
.route-card { display: grid; place-items: center; min-height: 160px; text-decoration: none; font-size: 24px; color: var(--purple-dark); border: 2px solid var(--yellow); }
.article { padding: 56px 0; }
.article > img { width: 100%; max-height: 760px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 24px; }
.body-text { font-size: 18px; max-width: 820px; }
.calendar-item small { display: block; color: var(--muted); }
.table-wrap { overflow-x: auto; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; min-width: 720px; }
th, td { text-align: left; padding: 15px 16px; border-bottom: 1px solid var(--line); }
th { background: var(--purple-soft); color: var(--purple-dark); }
.sponsor-card { text-align: center; }
.cta { margin-top: 28px; padding: 28px; background: var(--purple-dark); color: var(--white); }
.contact-page { padding: 56px 0; align-items: start; }
.contact-form { padding: 24px; display: grid; gap: 14px; }
label { display: grid; gap: 7px; font-weight: 800; }
input, textarea, select { width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 12px; font: inherit; }
.edit-link { display: inline-flex; background: var(--orange); color: var(--purple-deep); padding: 8px 12px; border-radius: 999px; text-decoration: none; font-size: 14px; }
.featured-card { display: grid; grid-template-columns: 1.1fr .9fr; gap: 0; overflow: hidden; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); margin-bottom: 24px; }
.featured-card img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.featured-card div { padding: 30px; }
.filter-row { display: flex; gap: 10px; flex-wrap: wrap; margin: 0 0 24px; }
.filter-row a { padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); text-decoration: none; color: var(--purple-dark); }
.filter-row a.active { background: var(--purple-dark); color: var(--white); border-color: var(--purple-dark); }
.calendar-tools { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 14px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--purple-soft); }
.calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; margin-bottom: 28px; }
.calendar-head { color: var(--purple-dark); font-weight: 900; text-align: center; }
.calendar-day { min-height: 118px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); display: grid; align-content: start; gap: 6px; }
.calendar-day.muted { background: #f7f8fb; }
.calendar-chip { display: block; padding: 5px 7px; border-radius: 8px; color: var(--white); background: var(--purple-dark); font-size: 12px; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.calendar-chip.type-toernooi, .calendar-chip.type-competitie { background: var(--purple); }
.calendar-chip.type-vergadering { background: var(--orange); color: var(--purple-deep); }
.calendar-chip.type-vrijwilligers { background: #177c68; }
.site-footer { background: rgba(50, 22, 75, .94); color: var(--white); padding: 34px 0; }
.footer-grid { display: flex; justify-content: space-between; gap: 18px; }
.footer-grid a { display: block; color: var(--white); }
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav-menu { display: none; position: absolute; left: 16px; right: 16px; top: 74px; background: var(--purple-dark); padding: 12px; border-radius: 0 0 18px 18px; }
  .nav-menu.open { display: grid; }
  .nav-menu a { border-radius: 12px; }
  .hero-grid, .two-col, .feature-grid, .contact-page, .contact-preview, .feature-section, .action-feature, .featured-card { grid-template-columns: 1fr; }
  .hero-grid { min-height: auto; padding: 28px 20px; border-radius: 0 0 26px 26px; }
  main, .page-hero { width: min(100% - 16px, 1360px); }
  .hero-photo, .hero-photo img { min-height: 300px; }
  .accent-band .feature-grid { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; }
  .calendar-grid { grid-template-columns: 1fr; }
  .calendar-head { display: none; }
  .footer-grid { display: grid; }
}
