/* 't Wapen van Schijf – huisstijl
   Kleuren afgeleid van het logo (groen #005c32). */

:root {
  --brand: #005c32;
  --brand-dark: #00472a;
  --brand-darker: #00321d;
  --brand-tint: #e6f1ea;
  --brand-50: #f2f7f3;
  --cream: #faf7f0;
  --sand: #f1ecdf;
  --ink: #16221b;
  --ink-soft: #34423a;
  --muted: #5d6a62;
  --line: #dde4de;
  --white: #fff;
  --accent: #b5832a;
  --danger: #b3261e;
  --ok: #1f7a3f;
  --warn: #a15c00;

  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 1px 2px rgba(10, 40, 25, .06);
  --shadow: 0 1px 2px rgba(10, 40, 25, .05), 0 10px 30px rgba(10, 40, 25, .08);
  --container: 1160px;

  --font-serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", "URW Palladio L", Georgia, serif;
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-underline-offset: .18em; }
a:hover { color: var(--brand-dark); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--font-serif); line-height: 1.15; color: var(--brand-darker); margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.05rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
address { font-style: normal; }

.icon { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--white); padding: .5rem 1rem; z-index: 100; border-radius: 8px; }
.skip-link:focus { left: 8px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .container { padding: 0 28px; } }
.container.narrow { max-width: 760px; }

/* ---------- Knoppen ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .7em 1.15em; border-radius: 999px; border: 1.5px solid var(--line);
  background: var(--white); color: var(--brand-darker); font: inherit; font-weight: 600; font-size: .975rem;
  text-decoration: none; cursor: pointer; line-height: 1.2; transition: background .15s, border-color .15s, color .15s, transform .05s;
}
.btn:hover { border-color: var(--brand); color: var(--brand); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); border-color: var(--brand); color: var(--white); }
.btn-primary:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: var(--white); }
.btn-light { background: var(--white); border-color: var(--white); color: var(--brand-darker); }
.btn-light:hover { background: var(--brand-tint); border-color: var(--brand-tint); color: var(--brand-darker); }
.btn-outline-light { background: transparent; border-color: rgba(255,255,255,.6); color: var(--white); }
.btn-outline-light:hover { background: rgba(255,255,255,.12); border-color: var(--white); color: var(--white); }
.btn-ghost { background: transparent; border-color: transparent; }
.btn-ghost:hover { background: var(--brand-50); border-color: transparent; }
.btn-danger { background: var(--white); border-color: #e7b9b5; color: var(--danger); }
.btn-danger:hover { background: var(--danger); border-color: var(--danger); color: var(--white); }
.btn-small { padding: .45em .85em; font-size: .875rem; }
.btn-large { padding: .9em 1.5em; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-icon { padding: .55em; border-radius: 50%; }
.actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.25rem; }
.actions.center { justify-content: center; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 1rem; min-height: 72px; }
.brand { display: block; flex: none; }
.brand img { height: 50px; width: auto; }
.nav-toggle {
  margin-left: auto; display: inline-flex; align-items: center; gap: .4rem; padding: .55rem .9rem; border-radius: 999px;
  background: var(--brand-50); border: 1px solid var(--line); color: var(--brand-darker); font: inherit; font-weight: 600; cursor: pointer;
}
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: inline; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.site-nav { display: none; }
.site-nav.is-open {
  display: block; position: absolute; left: 0; right: 0; top: 100%;
  background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: .5rem 16px 1rem;
}
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav li a { display: block; padding: .7rem .25rem; text-decoration: none; color: var(--ink); font-weight: 600; border-bottom: 1px solid var(--line); }
.site-nav a[aria-current="page"] { color: var(--brand); }
.site-nav .nav-cta { margin-top: .9rem; width: 100%; }
@media (min-width: 1020px) {
  .nav-toggle { display: none; }
  .site-nav, .site-nav.is-open { display: flex; align-items: center; gap: 1rem; margin-left: auto; position: static; padding: 0; border: 0; box-shadow: none; background: none; }
  .site-nav ul { display: flex; gap: .15rem; }
  .site-nav li a { border: 0; padding: .5rem .7rem; border-radius: 999px; font-size: .96rem; }
  .site-nav li a:hover { background: var(--brand-50); color: var(--brand); }
  .site-nav a[aria-current="page"] { background: var(--brand-tint); }
  .site-nav .nav-cta { margin: 0; width: auto; }
  .brand img { height: 56px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--white);
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(255,255,255,.12), transparent 60%),
    radial-gradient(800px 400px at -10% 110%, rgba(0,0,0,.25), transparent 60%),
    linear-gradient(135deg, var(--brand) 0%, var(--brand-darker) 100%);
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 28px;
  background: var(--cream); clip-path: ellipse(60% 100% at 50% 100%);
}
.hero-inner { position: relative; display: grid; gap: 2rem; padding-top: 3.25rem; padding-bottom: 4.5rem; align-items: center; }
.hero h1 { color: var(--white); max-width: 18ch; }
.hero .lead { color: rgba(255,255,255,.9); max-width: 44ch; font-size: 1.15rem; }
.hero .eyebrow { color: #cfe6d7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.hero-emblem { display: none; }
@media (min-width: 900px) {
  .hero-inner { grid-template-columns: 1.4fr .8fr; padding-top: 4.5rem; padding-bottom: 6rem; }
  .hero-emblem { display: block; justify-self: center; }
  .hero-emblem img { width: 260px; opacity: .95; filter: drop-shadow(0 18px 40px rgba(0,0,0,.25)); }
}

.eyebrow { font-family: var(--font-sans); font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 0 0 .6rem; }
.lead { font-size: 1.15rem; color: var(--ink-soft); }

.page-hero { background: linear-gradient(180deg, var(--brand-50), var(--cream)); border-bottom: 1px solid var(--line); padding: 2.75rem 0 2.25rem; }
.page-hero h1 { margin-bottom: .3em; }
.page-hero .lead { max-width: 60ch; margin: 0; }

/* ---------- Secties ---------- */
.section { padding: 3.5rem 0; }
.section-tight { padding: 2rem 0 3rem; }
.section-tint { background: var(--sand); }
.section-head { max-width: 680px; margin: 0 auto 2rem; text-align: center; }
.section-head.left { margin: 0 0 1.25rem; text-align: left; }
.section-head p:last-child { color: var(--ink-soft); }
.split { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 1.15fr .85fr; gap: 3rem; } }

/* Weekprogramma */
.program-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.program-day { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.program-day header { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; padding: .9rem 1.1rem; background: var(--brand); color: var(--white); }
.program-dayname { font-family: var(--font-serif); font-size: 1.3rem; font-weight: 700; }
.program-part { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; opacity: .85; }
.program-day ul { list-style: none; margin: 0; padding: .4rem 1.1rem 1rem; }
.program-day li { padding: .6rem 0; border-bottom: 1px dashed var(--line); display: flex; flex-direction: column; }
.program-day li:last-child { border-bottom: 0; }
.program-time { font-size: .875rem; color: var(--brand); font-weight: 600; display: inline-flex; align-items: center; gap: .3rem; }
.program-text { font-size: .925rem; color: var(--muted); }

/* Kaarten met activiteiten */
.card-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.feature-card {
  display: flex; flex-direction: column; gap: .35rem; padding: 1.4rem; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); text-decoration: none; color: var(--ink); box-shadow: var(--shadow-sm); transition: transform .15s, box-shadow .15s, border-color .15s;
}
.feature-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: #b9cfc0; color: var(--ink); }
.feature-card h3 { margin: .5rem 0 .1rem; }
.feature-card p { color: var(--ink-soft); font-size: .975rem; margin: 0; flex: 1; }
.feature-card .more { margin-top: .8rem; font-weight: 600; color: var(--brand); display: inline-flex; align-items: center; gap: .3rem; font-size: .925rem; }
.feature-icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--brand-tint); color: var(--brand); }
.feature-icon .icon { width: 26px; height: 26px; }
.feature-icon.light { background: rgba(255,255,255,.14); color: var(--white); }
.feature-icon.big { width: 64px; height: 64px; border-radius: 18px; }
.feature-icon.big .icon { width: 32px; height: 32px; }

/* Binnenkort */
.upcoming { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.upcoming li { display: flex; gap: 1rem; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: .7rem .9rem; }
.upcoming-body { display: flex; flex-direction: column; min-width: 0; }
.upcoming-body strong { font-weight: 650; }
.date-badge {
  --cal: var(--brand);
  flex: none; width: 58px; text-align: center; border-radius: 12px; background: var(--brand-50); border: 1px solid var(--line);
  display: flex; flex-direction: column; line-height: 1.1; padding: .35rem 0; border-top: 4px solid var(--cal);
}
.date-badge .dow { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.date-badge .day { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 700; color: var(--brand-darker); }
.date-badge .mon { font-size: .78rem; color: var(--muted); }

.workshop-panel {
  background: linear-gradient(160deg, var(--brand) 0%, var(--brand-darker) 100%); color: var(--white);
  border-radius: calc(var(--radius) + 4px); padding: 1.75rem; box-shadow: var(--shadow);
}
.workshop-panel h2 { color: var(--white); margin-top: .8rem; }
.workshop-panel p { color: rgba(255,255,255,.88); }
.price-list { list-style: none; padding: 0; margin: 1rem 0 1.4rem; }
.price-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid rgba(255,255,255,.2); }
.price-list strong { white-space: nowrap; }
.price-list small { font-weight: 400; opacity: .8; }
.price-list.dark li { border-bottom-color: var(--line); }

.location-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-sm); }
.location-card h2 { margin-top: .8rem; }
.location-card address { font-size: 1.1rem; margin-bottom: .6rem; }

/* Activiteitenpagina */
.activity-list { display: grid; gap: 1.25rem; }
.activity { display: grid; gap: 1.25rem; grid-template-columns: auto 1fr; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; scroll-margin-top: 90px; }
.activity h2 { font-size: 1.55rem; }
.activity-body p { color: var(--ink-soft); max-width: 70ch; }
@media (max-width: 560px) { .activity { grid-template-columns: 1fr; } }
.when-list { list-style: none; padding: 0; margin: .25rem 0 1rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.when-list li { display: inline-flex; align-items: center; gap: .4rem; background: var(--brand-50); border: 1px solid var(--line); border-radius: 999px; padding: .3rem .8rem; font-size: .9rem; color: var(--brand-darker); }

/* Workshops */
.price-cards { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.price-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; display: flex; flex-direction: column; gap: .3rem; box-shadow: var(--shadow-sm); }
.price-card h2 { font-size: 1.4rem; margin: .7rem 0 0; }
.price-cards-note { margin: 1.2rem 0 0; text-align: center; color: var(--muted); }
.price-card .price-club { margin: .1rem 0 0; font-size: .9rem; color: var(--muted); }
.price-card .price { font-family: var(--font-serif); font-size: 2rem; font-weight: 700; color: var(--brand); margin: 0 0 .3rem; }
.price-card .price-note { margin: -.2rem 0 .4rem; font-size: .9rem; font-weight: 700; color: var(--accent); }
.price-card .price small { font-family: var(--font-sans); font-size: .9rem; color: var(--muted); font-weight: 400; }
.price-card p { color: var(--ink-soft); flex: 1; }
.price-card .btn { align-self: flex-start; }
.steps { padding-left: 1.3rem; margin: 0; display: grid; gap: .8rem; }
.steps li::marker { font-family: var(--font-serif); font-weight: 700; color: var(--brand); }
.info-panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; margin-bottom: 1rem; }
.info-panel h2 { font-size: 1.3rem; }
.check-list { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .5rem; }
.check-list li { display: flex; gap: .55rem; align-items: flex-start; }
.check-list .icon { color: var(--brand); margin-top: .25em; }

.prose h2 { font-size: 1.35rem; margin-top: 1.6em; }
.contact-list { list-style: none; padding: 0; display: grid; gap: .5rem; font-size: 1.1rem; }
.contact-list li { display: flex; gap: .6rem; align-items: center; }

/* ---------- Agenda ---------- */
.agenda-page { padding: 1.25rem 0 3rem; }
.tag { display: inline-flex; align-items: center; gap: .25rem; font-family: var(--font-sans); font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; background: var(--brand-tint); color: var(--brand-darker); border-radius: 999px; padding: .15rem .55rem; }
.copy-field { display: flex; gap: .5rem; }
.copy-field input { flex: 1; min-width: 0; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .82rem; min-height: 38px; padding: .4rem .6rem; }
.cal-dot { display: inline-block; width: .7rem; height: .7rem; border-radius: 50%; background: var(--cal, var(--brand)); margin-right: .45rem; flex: none; }

/* Binnenkort-balk */
.upcoming-strip { display: flex; align-items: stretch; gap: .75rem; margin-bottom: 1rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: .6rem; box-shadow: var(--shadow-sm); }
.strip-label { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .2rem; flex: none; padding: 0 .6rem; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); border-right: 1px solid var(--line); }
.strip-label .icon { width: 1.4rem; height: 1.4rem; }
.strip-list { list-style: none; margin: 0; padding: 0; display: flex; gap: .5rem; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; flex: 1; min-width: 0; }
.strip-list::-webkit-scrollbar { display: none; }
.strip-list li { flex: 1 1 0; min-width: 8.75rem; max-width: 15rem; scroll-snap-align: start; }
.strip-list.has-more { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 48px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 48px), transparent); }
.strip-item {
  --cal: var(--brand);
  display: flex; flex-direction: column; gap: .1rem; width: 100%; height: 100%; text-align: left; cursor: pointer;
  font: inherit; color: var(--ink); background: var(--brand-50); border: 1px solid var(--line); border-left: 4px solid var(--cal);
  border-radius: var(--radius-sm); padding: .45rem .6rem;
}
.strip-item:hover { border-color: var(--cal); background: var(--white); }
.strip-date { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--brand); }
.strip-title { font-weight: 650; font-size: .9rem; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.strip-time { font-size: .82rem; color: var(--muted); }
@media (max-width: 600px) {
  .upcoming-strip { flex-direction: column; gap: .4rem; }
  .strip-label { flex-direction: row; border-right: 0; padding: 0 .2rem; justify-content: flex-start; }
  .strip-label .icon { width: 1rem; height: 1rem; }
  .strip-list li { flex: 0 0 10.5rem; max-width: none; }
}

/* Werkbalk */
.agenda-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: .9rem; }
.agenda-nav { display: flex; align-items: center; gap: .4rem; }
.agenda-title { margin: 0 .3rem; font-size: clamp(1.35rem, 3vw, 1.85rem); display: inline-grid; justify-items: center; white-space: nowrap; }
/* Vaste breedte: de breedste maandnamen staan onzichtbaar op dezelfde plek, dus de pijltjes verspringen nooit */
.agenda-title > span { grid-area: 1 / 1; }
.agenda-title-sizer { visibility: hidden; }
.agenda-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }

/* Uitklapmenu (abonneren) */
.dropdown { position: relative; }
.dropdown > summary { list-style: none; }
.dropdown > summary::-webkit-details-marker { display: none; }
.dropdown .chev { width: .95em; height: .95em; transform: rotate(90deg); transition: transform .15s; }
.dropdown[open] .chev { transform: rotate(-90deg); }
.dropdown-panel {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 40; width: min(430px, calc(100vw - 32px));
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 18px 50px rgba(10,40,25,.18); padding: 1rem 1.1rem;
  max-height: min(78vh, 720px); overflow-y: auto; overscroll-behavior: contain;
}
.dropdown-intro { font-size: .95rem; color: var(--ink-soft); }
.feed { border-top: 1px solid var(--line); padding: .8rem 0; display: grid; gap: .5rem; }
.feed-name { display: flex; align-items: center; margin: 0; font-weight: 700; color: var(--brand-darker); }
.feed-actions { display: flex; flex-wrap: wrap; gap: .4rem; }
.feed-msg { margin: 0; font-size: .85rem; line-height: 1.45; background: var(--brand-50); border: 1px solid var(--brand-tint); border-radius: var(--radius-sm); padding: .5rem .65rem; color: var(--ink-soft); }
.feed-away { margin: .2rem 0 .4rem; font-size: .9rem; }
.feed-away .away-tag { margin-right: .15rem; }
.howto { border-top: 1px solid var(--line); padding-top: .7rem; font-size: .9rem; }
.howto summary { cursor: pointer; font-weight: 700; color: var(--brand); }
.howto ul { margin: .6rem 0 0; padding-left: 1.1rem; display: grid; gap: .45rem; color: var(--ink-soft); }
@media (max-width: 640px) {
  .agenda-actions, .dropdown { width: 100%; }
  .agenda-actions { justify-content: space-between; }
  .dropdown { width: auto; }
  .dropdown-panel { position: fixed; left: 16px; right: 16px; top: auto; bottom: 16px; width: auto; max-height: 80vh; overflow-y: auto; }
}

/* Agenda's aan/uit */
.cal-filter { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; margin-bottom: .9rem; }
.cal-filter-label { font-weight: 700; font-size: .9rem; color: var(--ink-soft); margin-right: .2rem; }
.cal-check { --cal: var(--brand); position: relative; cursor: pointer; font-weight: 600; font-size: .9rem; }
.cal-check input { position: absolute; opacity: 0; }
.cal-check span { display: inline-flex; align-items: center; gap: .45rem; padding: .35rem .85rem .35rem .55rem; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); color: var(--muted); }
.cal-check span::before { content: ""; width: 1rem; height: 1rem; border-radius: 4px; border: 2px solid var(--cal); background: var(--white); box-sizing: border-box; }
.cal-check input:checked + span { color: var(--ink); border-color: var(--cal); background: color-mix(in srgb, var(--cal) 9%, white); }
.cal-check input:checked + span::before { background: var(--cal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 80% no-repeat; }
.cal-check[style*="--cal-ink"] input:checked + span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232b2405' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.cal-check input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }

/* Kalenderrooster */
.cal { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.cal-head, .cal-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.cal-head span { padding: .5rem .6rem; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); background: var(--brand-50); border-bottom: 1px solid var(--line); }
.cal-day { min-width: 0; min-height: 118px; padding: .35rem .35rem .5rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.cal-week .cal-day:nth-child(7n) { border-right: 0; }
.cal-week:last-child .cal-day { border-bottom: 0; }
/* Zaterdag en zondag: eigen (warme) achtergrond */
.cal-day.is-weekend { background: #f6f0e1; }
.cal-head span.is-weekend { background: #ece3cc; color: #6b5a33; }
.cal-day.is-outside { background: #fafaf7; }
.cal-day.is-weekend.is-outside { background: #f6f3ea; }
.cal-day.is-outside .cal-num { color: #aab3ad; }
.cal-day.is-past:not(.is-today) .cal-items { opacity: .62; }
.cal-date { display: flex; align-items: center; gap: .3rem; min-height: 1.8rem; }
.cal-dow, .cal-mon, .cal-today-tag { display: none; }
.cal-num { font-size: .875rem; font-weight: 650; color: var(--ink-soft); min-width: 1.8rem; height: 1.8rem; display: grid; place-items: center; border-radius: 50%; }
.cal-day.is-today .cal-num { background: var(--brand); color: var(--white); }
.cal-items { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.cal-ev {
  --cal: var(--brand);
  display: block; width: 100%; text-align: left; cursor: pointer; font: inherit;
  font-size: .86rem; line-height: 1.28; padding: .3rem .45rem; border-radius: 6px; border: 0;
  color: var(--ink); background: color-mix(in srgb, var(--cal) 11%, white); box-shadow: inset 3px 0 0 var(--cal);
  overflow-wrap: break-word;
}
.cal-ev:hover { background: color-mix(in srgb, var(--cal) 20%, white); }
.cal-ev.is-allday { background: var(--cal); color: var(--cal-ink, var(--white)); box-shadow: none; }
.cal-ev.is-allday:hover { background: color-mix(in srgb, var(--cal) 85%, black); }
.cal-ev.is-cont { opacity: .55; }
.agenda-board.is-loading .cal-month { opacity: .6; transition: opacity .15s .1s; }
.cal-ev .t { font-weight: 800; margin-right: .3rem; font-variant-numeric: tabular-nums; }
.cal-ev .ttl { font-weight: 600; }
.cal-ev .sub { display: block; font-size: .78rem; opacity: .85; font-weight: 400; }
.cal-month .cal-ev.is-extra { display: none; }
.cal-more { align-self: flex-start; font: inherit; font-size: .8rem; font-weight: 700; color: var(--brand); background: none; border: 0; padding: .1rem .3rem; cursor: pointer; border-radius: 4px; }
.cal-more:hover { background: var(--brand-50); }
.cal-none { display: none; }

/* Buiten de deur (uitwedstrijd / kring elders) */
.away-tag { display: inline-block; font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; padding: 0 .3rem; margin-right: .25rem; border-radius: 4px; background: rgba(255,255,255,.85); color: var(--ink); border: 1px solid currentColor; vertical-align: .05em; }
.cal-ev:not(.is-allday) .away-tag { background: var(--white); }
.cal-check-away { margin-left: .35rem; }
.cal-check-away .away-tag { margin-right: .1rem; }

/* Sluitingsdagen: grijs met schuine strepen */
.cal-day.is-closed { background: repeating-linear-gradient(135deg, #f2f3f1 0 7px, #e5e8e4 7px 14px); }
.cal-day.is-closed .cal-num { color: #6b736d; }
.cal-closed-tag { margin-left: auto; font-size: .66rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: #4f5852; background: rgba(255,255,255,.9); border: 1px solid #c9cfca; border-radius: 999px; padding: .05rem .45rem; white-space: nowrap; }
.cal-ev.is-closure, .cal-ev.is-closure.is-allday { background: repeating-linear-gradient(135deg, #8d958f 0 6px, #7c847e 6px 12px); color: var(--white); box-shadow: none; }
/* Gesloten feestdag (Kerst, Oud & Nieuw, ...): gewoon geel (de dag zelf staat al grijs gearceerd op "Gesloten") */
.cal-ev.is-closure.is-holiday { background: var(--cal); color: var(--cal-ink, var(--white)); }
/* Schoolvakantie / bouwvakantie: geel met schuine strepen */
.cal-ev.is-allday.is-vacation { background: repeating-linear-gradient(135deg, var(--cal) 0 6px, color-mix(in srgb, var(--cal) 45%, white) 6px 12px); color: var(--cal-ink, var(--ink)); box-shadow: none; font-weight: 700; }
.cal-ev.is-closure:hover { filter: brightness(.95); }
/* Lange sluiting: titel alleen op de eerste dag en aan het begin van elke week */
.cal-week > .cal-day:not(:first-child) .cal-ev.is-closure.is-cont { display: none; }

/* Telefoon: rooster wordt een lijst van dagen */
@media (max-width: 819px) {
  .cal { background: transparent; border: 0; box-shadow: none; overflow: visible; }
  .cal-head { display: none; }
  .cal-week { display: block; }
  .cal-day {
    display: grid; grid-template-columns: 3.6rem 1fr; gap: .2rem .8rem; align-items: start; min-height: 0;
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: .7rem .8rem; margin-bottom: .55rem;
  }
  .cal-day.no-starts, .cal-day.is-outside { display: none; }
  .cal-date { flex-direction: column; gap: 0; text-align: center; line-height: 1.1; padding-top: .1rem; }
  .cal-dow, .cal-mon { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
  .cal-num { font-family: var(--font-serif); font-size: 1.45rem; font-weight: 700; color: var(--brand-darker); width: auto; height: auto; min-width: 0; }
  .cal-day.is-today { border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand-tint); }
  .cal-day.is-today .cal-num { background: none; color: var(--brand); }
  .cal-today-tag { display: block; font-size: .68rem; font-weight: 700; text-transform: uppercase; color: var(--brand); }
  .cal-closed-tag { margin: .2rem 0 0; display: inline-block; }
  .cal-day.is-past:not(.is-today) { opacity: .7; }
  .cal-day.is-past:not(.is-today) .cal-items { opacity: 1; }
  .cal-ev { font-size: .95rem; padding: .45rem .6rem; }
  .cal-ev.is-cont, .cal-month .cal-ev.is-extra.is-cont { display: none; }
  .cal-month .cal-ev.is-extra:not(.is-cont) { display: block; }
  .cal-more { display: none; }
  .cal-none { display: block; color: var(--muted); }
}

/* Paginavullend maandoverzicht (knop met schuine pijlen; Esc = terug) */
.full-toggle .full-off { display: none; }
.agenda-board.is-full .full-toggle .full-on { display: none; }
.agenda-board.is-full .full-toggle .full-off { display: inline-flex; }
.full-toggle span { display: inline-flex; }
body.agenda-full { overflow: hidden; }
.agenda-board.is-full {
  position: fixed; inset: 0; z-index: 60; background: var(--cream);
  display: flex; flex-direction: column; padding: .75rem 1rem 1rem; overflow: auto;
}
.agenda-board.is-full .agenda-toolbar { margin-bottom: .6rem; }
.agenda-board.is-full .cal { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.agenda-board.is-full .cal { overflow: visible; }
.agenda-board.is-full .cal-week { flex: 1 0 auto; }
.agenda-board.is-full .cal-day { min-height: 0; }
.agenda-board.is-full .cal-ev { font-size: .92rem; }
.agenda-board.is-full .cal-ev.is-extra { display: block; }
.agenda-board.is-full .cal-more { display: none; }
@media (max-width: 819px) {
  .full-toggle { display: none; }
}

/* Detailvenster */
.ev-dialog { border: 0; border-radius: calc(var(--radius) + 4px); padding: 0; width: min(520px, calc(100vw - 32px)); box-shadow: 0 30px 80px rgba(0,0,0,.3); color: var(--ink); }
.ev-dialog::backdrop { background: rgba(10, 30, 20, .45); }
.ev-dialog-close { position: absolute; top: .5rem; right: .5rem; margin: 0; }
.ev-dialog-body { padding: 1.4rem 1.5rem 1.5rem; }
.ev-dialog h2 { font-size: 1.45rem; margin: 0 2.5rem .7rem 0; }
.ev-dialog .ev-cal { display: inline-flex; align-items: center; font-size: .85rem; font-weight: 700; color: var(--muted); margin-bottom: .4rem; }
.ev-dialog .ev-facts { list-style: none; margin: 0 0 .8rem; padding: 0; display: grid; gap: .4rem; }
.ev-dialog .ev-facts li { display: flex; gap: .55rem; align-items: flex-start; }
.ev-dialog .ev-facts .icon { color: var(--brand); margin-top: .2em; }
.ev-dialog .ev-desc { white-space: pre-line; color: var(--ink-soft); margin: 0; border-top: 1px solid var(--line); padding-top: .8rem; }
.ev-dialog .ev-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.ev-dialog .ev-list button { width: 100%; }

/* ---------- Formulieren ---------- */
.form-layout { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 980px) { .form-layout { grid-template-columns: 1fr 320px; } }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); }
@media (min-width: 700px) { .form.card { padding: 2rem; } }
fieldset { border: 0; padding: 0; margin: 0 0 1.6rem; }
legend { font-family: var(--font-serif); font-size: 1.3rem; font-weight: 700; color: var(--brand-darker); margin-bottom: .8rem; padding: 0; }
.field { display: flex; flex-direction: column; gap: .3rem; margin-bottom: 1rem; flex: 1 1 180px; min-width: 0; }
.field-row { display: flex; flex-wrap: wrap; gap: 0 1rem; }
.field.grow { flex: 2 1 240px; }
.field.grow2 { flex: 3 1 260px; }
.field.narrow-field { flex: 0 1 135px; }
label { font-weight: 600; font-size: .95rem; color: var(--ink-soft); }
input[type=text], input[type=email], input[type=tel], input[type=number], input[type=date], input[type=time], input[type=password], input[type=search], input[type=url], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--white);
  border: 1.5px solid #cfd8d1; border-radius: var(--radius-sm); padding: .62rem .75rem; min-height: 46px;
}
textarea { resize: vertical; min-height: 110px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-tint); }
[aria-invalid="true"] { border-color: var(--danger) !important; }
.field-error { color: var(--danger); font-size: .875rem; margin: 0; font-weight: 600; }
.req { color: var(--danger); }
.hint { font-size: .85rem; color: var(--muted); margin: .2rem 0 0; }
.check { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400; margin: .3rem 0 .6rem; cursor: pointer; }
.check input { width: 1.15rem; height: 1.15rem; margin-top: .22rem; accent-color: var(--brand); flex: none; }
@media (max-width: 720px) { .check input { width: 1.35rem; height: 1.35rem; margin-top: .1rem; } }
.choice-row { display: grid; gap: .6rem; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); margin-bottom: 1rem; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; }
.choice span { display: flex; align-items: center; gap: .5rem; padding: .85rem 1rem; border: 1.5px solid #cfd8d1; border-radius: var(--radius-sm); font-weight: 600; color: var(--ink); background: var(--white); height: 100%; }
.choice input:checked + span { border-color: var(--brand); background: var(--brand-50); box-shadow: 0 0 0 3px var(--brand-tint); color: var(--brand-darker); }
.choice input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
/* Workshopkeuze: drie aanvinkbare vakjes naast elkaar (op de telefoon onder elkaar), prijs in het vakje */
.field .label { font-weight: 600; font-size: .95rem; color: var(--ink-soft); margin: 0 0 .2rem; }
.field .label .muted { font-weight: 400; }
.ws-choices { display: grid; gap: .6rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ws-choice { position: relative; display: block; cursor: pointer; font-weight: 400; }
.ws-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ws-box { position: relative; display: flex; flex-direction: column; align-items: center; gap: .2rem; height: 100%; padding: 1.1rem .7rem .9rem; text-align: center; border: 1.5px solid #cfd8d1; border-radius: var(--radius-sm); background: var(--white); color: var(--ink); transition: border-color .15s, background-color .15s; }
.ws-choice:hover .ws-box { border-color: var(--brand); }
.ws-check { position: absolute; top: .5rem; right: .5rem; display: grid; place-items: center; width: 1.35rem; height: 1.35rem; border: 1.5px solid #b9c6bd; border-radius: 5px; background: var(--white); color: transparent; }
.ws-check .icon { width: .95rem; height: .95rem; stroke-width: 3; }
.ws-icon { color: var(--brand); }
.ws-icon .icon { width: 1.7rem; height: 1.7rem; }
.ws-name { font-size: 1rem; line-height: 1.25; color: var(--brand-darker); }
.ws-club { font-size: .85rem; line-height: 1.3; color: var(--muted); }
.ws-price { margin-top: auto; padding-top: .35rem; font-size: 1.1rem; font-weight: 700; color: var(--ink); white-space: nowrap; }
.ws-price small { font-size: .8rem; font-weight: 600; color: var(--muted); }
.ws-choice input:checked + .ws-box { border-color: var(--brand); background: var(--brand-50); box-shadow: 0 0 0 3px var(--brand-tint); }
.ws-choice input:checked + .ws-box .ws-check { border-color: var(--brand); background: var(--brand); color: var(--white); }
.ws-choice input:focus-visible + .ws-box { outline: 3px solid var(--accent); outline-offset: 2px; }
.ws-choices[aria-invalid="true"] .ws-box { border-color: var(--danger); }
@media (max-width: 560px) {
  .ws-choices { grid-template-columns: 1fr; }
  .ws-box { display: grid; grid-template-columns: auto 1fr auto; align-items: center; column-gap: .8rem; row-gap: 0; padding: .75rem .9rem; text-align: left; }
  .ws-check { position: static; grid-row: 1 / span 2; }
  .ws-icon { display: none; }
  .ws-name { grid-column: 2; }
  .ws-club { grid-column: 2; }
  .ws-price { grid-column: 3; grid-row: 1 / span 2; margin: 0; padding: 0; }
}
/* Prijsindicatie met totaalbedrag onder de workshopkeuze */
.ws-total { margin-top: .8rem; padding: .7rem 1rem .75rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--brand-50); }
.ws-total table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.ws-total th, .ws-total td { padding: .2rem 0; text-align: left; font-weight: 400; vertical-align: baseline; }
.ws-total td { padding-left: .75rem; text-align: right; white-space: nowrap; color: var(--muted); font-variant-numeric: tabular-nums; }
.ws-total td:last-child { color: var(--ink); font-weight: 600; }
.ws-total tfoot th, .ws-total tfoot td { padding-top: .45rem; border-top: 1.5px solid var(--brand); font-size: 1.15rem; font-weight: 700; color: var(--brand-darker); }
.ws-total-note { margin: .35rem 0 0; font-size: .85rem; color: var(--muted); }
@media (max-width: 560px) {
  /* Telefoon: berekening klein onder de naam, bedrag rechts */
  .ws-total tr { display: grid; grid-template-columns: 1fr auto; column-gap: .75rem; padding: .2rem 0; }
  .ws-total th, .ws-total td { padding: 0; }
  .ws-total td:nth-child(2) { grid-row: 2; padding: 0; text-align: left; font-size: .8rem; }
  .ws-total td:last-child { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
  .ws-total tfoot tr { margin-top: .3rem; padding-top: .45rem; border-top: 1.5px solid var(--brand); }
  .ws-total tfoot th, .ws-total tfoot td { border: 0; padding: 0; }
  .ws-total tfoot td:nth-child(2) { display: none; }
}
.price-estimate { background: var(--brand-50); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .7rem 1rem; color: var(--brand-darker); font-weight: 600; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-top: .5rem; }
.form-actions .muted { margin: 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.success-panel { grid-column: 1 / -1; max-width: 680px; margin: 0 auto; text-align: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 2.5rem 1.5rem; box-shadow: var(--shadow); }
.success-panel .actions { justify-content: center; }

.alert { border-radius: var(--radius-sm); padding: .85rem 1rem; margin-bottom: 1rem; border: 1px solid; }
.alert ul { margin: 0; padding-left: 1.1rem; }
.alert p:last-child { margin-bottom: 0; }
.alert-error { background: #fdf0ef; border-color: #f1c4c0; color: #7d1a14; }
.alert-success { background: #edf7f0; border-color: #bfe0ca; color: #14532d; }
.alert-info { background: #eef4fb; border-color: #c8d9ee; color: #173c66; }
.alert-warn { background: #fdf1e1; border-color: #f0c29c; color: #6b2c08; }

/* ---------- Footer ---------- */
.site-footer { background: var(--brand-darker); color: rgba(255,255,255,.85); margin-top: 0; padding-top: 3rem; }
.site-footer a { color: var(--white); }
.site-footer h2 { color: var(--white); font-size: 1.1rem; margin-bottom: .7rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); padding-bottom: 2rem; }
@media (min-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr 1.4fr .8fr; } }
.footer-grid > div { min-width: 0; }
.footer-brand img { width: 220px; margin-bottom: .6rem; }
.footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.footer-list li { display: flex; gap: .45rem; align-items: flex-start; min-width: 0; }
.footer-list li .icon { margin-top: .3em; }
.email-link { overflow-wrap: anywhere; min-width: 0; }
.muted-light { color: rgba(255,255,255,.65); font-size: .925rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; border-top: 1px solid rgba(255,255,255,.15); padding-top: 1rem; padding-bottom: 1.4rem; font-size: .875rem; color: rgba(255,255,255,.65); }
.footer-bottom a { color: rgba(255,255,255,.8); }

/* ---------- Tijdelijke startpagina ---------- */
body.splash { min-height: 100vh; display: flex; flex-direction: column; }
body.splash main { flex: 1; }
.splash-hero {
  color: var(--white); text-align: center; position: relative;
  background:
    radial-gradient(1000px 420px at 50% -10%, rgba(255,255,255,.14), transparent 60%),
    linear-gradient(160deg, var(--brand) 0%, var(--brand-darker) 100%);
  padding: 3rem 0 6.5rem;
}
.splash-hero-inner { display: flex; flex-direction: column; align-items: center; }
.splash-logo { width: min(440px, 86vw); height: auto; margin-bottom: 1.75rem; filter: drop-shadow(0 12px 30px rgba(0,0,0,.25)); }
.splash-hero h1 { color: var(--white); font-size: clamp(1.7rem, 4vw, 2.6rem); max-width: 24ch; }
.splash-hero .lead { color: rgba(255,255,255,.9); max-width: 58ch; margin: 0 auto; }
.splash-body { margin-top: -4rem; padding-bottom: 3rem; position: relative; }
.splash-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); align-items: start; }
.splash-card { background: var(--white); border: 1px solid var(--line); border-radius: calc(var(--radius) + 2px); padding: 1.6rem; box-shadow: var(--shadow); }
.splash-card h2 { font-size: 1.45rem; margin: .8rem 0 .9rem; }
.splash-card address { font-size: 1.08rem; margin-bottom: .5rem; }
.splash-card .btn { margin-top: .4rem; }
.hours-list, .sport-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .2rem; }
.hours-list li { display: grid; grid-template-columns: 1fr auto; gap: .1rem 1rem; padding: .75rem 0; border-bottom: 1px dashed var(--line); }
.hours-list li:last-child, .sport-list li:last-child { border-bottom: 0; }
.hours-day { font-family: var(--font-serif); font-weight: 700; font-size: 1.2rem; color: var(--brand-darker); }
.hours-time { font-weight: 700; color: var(--brand); white-space: nowrap; align-self: center; font-variant-numeric: tabular-nums; }
.hours-text { grid-column: 1 / -1; color: var(--muted); font-size: .95rem; }
.sport-list li { display: flex; flex-direction: column; padding: .7rem 0; border-bottom: 1px dashed var(--line); }
.sport-list strong { font-family: var(--font-serif); font-size: 1.15rem; color: var(--brand-darker); }
.small-list { font-size: 1rem; margin: .4rem 0 .8rem; }
.splash-footer { background: var(--brand-darker); color: rgba(255,255,255,.7); font-size: .875rem; padding: 1rem 0; }
.splash-footer .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; }
.splash-footer a { color: rgba(255,255,255,.85); }

/* Balk boven de voorbeeldversie (/nieuwe-site) */
.staging-bar { background: #fff4d6; color: #5c4200; border-bottom: 1px solid #ecd9a0; font-size: .9rem; }
.staging-bar .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .3rem 1rem; padding-top: .45rem; padding-bottom: .45rem; }
.staging-bar a { color: #5c4200; font-weight: 700; }

/* Openingstijden op homepage/contact */
.program-open { font-size: .8rem; font-weight: 700; letter-spacing: .02em; opacity: .95; white-space: nowrap; }
.club-list { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .5rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.club-list li { display: flex; flex-direction: column; background: var(--brand-50); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .7rem .9rem; }
.club-list strong { font-family: var(--font-serif); font-size: 1.1rem; color: var(--brand-darker); }

/* ---------- Bardienst (beheer + deelpagina) ---------- */
.team-badge { display: inline-block; background: var(--cal, var(--brand)); color: var(--cal-ink, var(--white)); font-family: var(--font-sans); font-weight: 700; font-size: .78rem; letter-spacing: .02em; padding: .15rem .6rem; border-radius: 999px; white-space: nowrap; vertical-align: middle; }
.name-chip { display: inline-block; background: color-mix(in srgb, var(--cal, var(--brand)) 10%, white); border: 1px solid color-mix(in srgb, var(--cal, var(--brand)) 30%, white); padding: .15rem .6rem; border-radius: 999px; margin: .1rem .3rem .1rem 0; font-weight: 600; font-size: .95rem; }
.name-chip.is-manual { border-style: dashed; }
.name-chip.is-helper::after { content: " (hulp)"; font-weight: 400; color: var(--muted); font-size: .85em; }
.name-chip.is-empty { color: var(--muted); font-weight: 400; background: var(--white); font-style: italic; }
.bar-note { display: inline-block; font-size: .85rem; color: var(--muted); margin-left: .3rem; }
.bar-event { display: inline-flex; align-items: center; gap: .25rem; font-size: .85rem; font-weight: 600; color: #7a4500; margin-left: .3rem; }
.bar-event .icon { width: 1em; height: 1em; }
.bar-teams { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); margin-bottom: 1rem; }
.team-card { border-top: 5px solid var(--cal); }
.team-card h2 { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; font-size: 1.15rem; }
.bar-month { padding: 0; overflow: hidden; }
.bar-month > h2 { padding: 1rem 1.25rem .5rem; margin: 0; font-size: 1.25rem; }
.bar-shift { border-top: 1px solid var(--line); scroll-margin-top: 80px; }
.bar-shift > summary { list-style: none; display: grid; grid-template-columns: 8.5rem 5rem 1fr auto; gap: .35rem 1rem; align-items: center; padding: .65rem 1.25rem .65rem 1rem; cursor: pointer; border-left: 4px solid var(--cal); }
.bar-shift > summary::-webkit-details-marker { display: none; }
.bar-shift > summary:hover, .bar-shift[open] > summary { background: var(--brand-50); }
.bar-shift.is-cancelled > summary { background: repeating-linear-gradient(135deg, #f3f4f2 0 8px, #e9ebe8 8px 16px); border-left-color: #a9b0ab; }
.bar-shift.is-cancelled .team-badge { background: #8d968f; }
.bar-shift.is-past > summary { opacity: .6; }
.bar-date strong { display: block; }
.bar-date small { color: var(--muted); }
.bar-edit-hint { color: var(--muted); }
.bar-form { padding: 1rem 1.25rem 1.1rem; background: var(--brand-50); border-left: 4px solid var(--cal); border-top: 1px dashed var(--line); }
.bar-form .field { margin-bottom: .7rem; }
.day-checks { display: flex; flex-wrap: wrap; gap: 0 1.2rem; }
.small-legend { font-family: var(--font-sans); font-size: .95rem; font-weight: 600; color: var(--ink-soft); margin-bottom: .3rem; }
@media (max-width: 720px) {
  .bar-shift > summary { grid-template-columns: 1fr auto auto; padding-left: .8rem; padding-right: .8rem; }
  .bar-names { grid-column: 1 / -1; }
}

/* Deelpagina bardienst */
.share-page { background: var(--cream); }
.share-header { background: var(--white); border-bottom: 1px solid var(--line); }
.share-header-inner { display: flex; align-items: center; gap: 1.25rem; padding-top: 1rem; padding-bottom: 1rem; }
.share-header img { height: 54px; width: auto; }
.share-header h1 { font-size: clamp(1.4rem, 3vw, 2rem); margin: 0; }
.share-header p { margin: 0; }
.share-main { padding-top: 1.25rem; padding-bottom: 2.5rem; }
.share-tools { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .75rem; margin-bottom: 1rem; }
.share-actions { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.chip-filter { display: flex; flex-wrap: wrap; gap: .4rem; }
.filter-chip { --cal: var(--brand); padding: .35rem .9rem; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); text-decoration: none; color: var(--ink); font-weight: 600; font-size: .9rem; }
.filter-chip.is-active { background: var(--cal); border-color: var(--cal); color: var(--cal-ink, var(--white)); }
.share-month { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 1rem; overflow: hidden; break-inside: avoid; }
/* Open bardiensten (nog in te vullen) */
.share-open { background: #fff7ef; border: 1px solid #f0d2b8; border-left: 5px solid #c2571a; border-radius: var(--radius); padding: .8rem 1rem; margin-bottom: 1rem; }
.share-open h2 { display: flex; align-items: center; gap: .45rem; font-size: 1.15rem; margin: 0 0 .2rem; color: #8a3c12; }
.share-open ul { list-style: none; margin: .5rem 0 .2rem; padding: 0; display: grid; gap: .3rem; }
.share-open li { display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .6rem; }
.open-need { font-size: .78rem; font-weight: 700; color: #8a3c12; background: #fde6d4; border-radius: 999px; padding: .05rem .5rem; }
.share-month h2 { font-size: 1.2rem; margin: 0; padding: .8rem 1rem .4rem; }
.share-table { width: 100%; border-collapse: collapse; }
.share-table td { padding: .55rem 1rem; border-top: 1px solid var(--line); vertical-align: middle; }
.share-table tr { box-shadow: inset 4px 0 0 var(--cal); }
.share-table tr.is-cancelled td { background: repeating-linear-gradient(135deg, #f3f4f2 0 8px, #e9ebe8 8px 16px); color: var(--muted); }
.share-table tr.is-today td { background: var(--brand-50); }
.sh-date { width: 8.5rem; }
.sh-date small { color: var(--muted); }
.sh-team { width: 5.5rem; }
@media (max-width: 560px) {
  .share-table td { display: block; border-top: 0; padding: .2rem .9rem; }
  .share-table tr { display: block; border-top: 1px solid var(--line); padding: .5rem 0; }
  .sh-date, .sh-team { width: auto; display: inline-block !important; }
}

@media print {
  .no-print, .site-header, .site-footer, .staging-bar { display: none !important; }
  body, .share-page { background: #fff; font-size: 11pt; }
  .share-header { border: 0; }
  .share-month { border: 1px solid #ccc; box-shadow: none; }
  .team-badge, .name-chip { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* Pincode-scherm bardienst */
.pin-page { min-height: 100vh; display: grid; place-items: center; padding: 16px; }
.pin-box { width: min(380px, 100%); background: var(--white); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); box-shadow: var(--shadow); padding: 1.75rem 1.5rem; text-align: center; }
.pin-box img { width: 200px; height: auto; margin: 0 auto 1rem; }
.pin-box h1 { font-size: 1.6rem; }
.pin-input { text-align: center; font-size: 1.6rem !important; letter-spacing: .4em; margin-bottom: .8rem; -webkit-text-security: disc; }
.pin-input::placeholder { letter-spacing: normal; font-size: 1rem; }

/* Subtiele link in lopende tekst (bijv. Bistro de Beenhouwer) */
a.text-link { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: currentColor; text-underline-offset: .2em; text-decoration-style: dotted; }
a.text-link:hover { text-decoration-style: solid; color: inherit; }

/* ---------- Afdrukken maandagenda ---------- */
.print-head, .print-foot { display: none; }
@media print {
  /* Altijd precies één liggend A4: vaste hoogte, de weekrijen verdelen de ruimte (geen lege 2e pagina) */
  @page { size: A4 landscape; margin: 5mm; }
  html, body { background: #fff !important; margin: 0 !important; padding: 0 !important; height: auto !important; min-height: 0 !important; }
  body.page-agenda > :not(main) { display: none !important; }
  body.page-agenda main { margin: 0 !important; padding: 0 !important; }
  body.page-agenda .site-header, body.page-agenda .site-footer, body.page-agenda .staging-bar, body.page-agenda .skip-link,
  .upcoming-strip, .agenda-toolbar, .cal-filter, .cal-more, .ev-dialog, .alert, .cal-none { display: none !important; }
  .agenda-page { padding: 0; }
  .agenda-page .container { max-width: none; padding: 0; }
  .agenda-board, .agenda-board.is-full {
    position: static; padding: 0; background: #fff; display: flex !important; flex-direction: column;
    height: 198mm; overflow: hidden; break-after: avoid; page-break-after: avoid; break-inside: avoid;
  }
  .print-head { display: flex; flex: none; align-items: center; gap: 5mm; margin-bottom: 2.5mm; }
  .print-head img { height: 12mm; width: auto; }
  .print-title { font-family: var(--font-serif); font-size: 17pt; font-weight: 700; color: var(--brand-darker); margin: 0; text-transform: capitalize; }
  .print-sub { margin: 0; font-size: 9pt; color: #555; }
  .print-foot { display: flex; flex: none; justify-content: space-between; gap: 4mm; margin-top: 2mm; font-size: 7.5pt; color: #555; }
  .print-legend { display: flex; flex-wrap: wrap; gap: 4mm; }
  .print-legend > span { display: inline-flex; align-items: center; }
  .legend-closed { display: inline-block; width: 3.2mm; height: 3.2mm; margin-right: 1.5mm; border: 1px solid #aaa; background: repeating-linear-gradient(135deg, #8d958f 0 2px, #e5e8e4 2px 4px); }
  .cal, .cal-month { display: flex !important; flex-direction: column; flex: 1 1 auto; min-height: 0; border: 1px solid #bbb; border-radius: 0; box-shadow: none; overflow: hidden; background: #fff; }
  .cal-head { display: grid !important; flex: none; grid-template-columns: repeat(7, minmax(0, 1fr)); }
  .cal-head span { font-size: 7.5pt; padding: 1mm 1.5mm; background: #eef4f0; border-bottom: 1px solid #bbb; }
  .cal-week { display: grid !important; flex: 1 1 0; min-height: 0; grid-template-columns: repeat(7, minmax(0, 1fr)); break-inside: avoid; }
  .cal-day, .cal-day.no-starts, .cal-day.is-outside {
    display: flex !important; flex-direction: column; gap: .8mm; min-height: 0; overflow: hidden; margin: 0; padding: .8mm 1.1mm 1mm;
    border: 0; border-right: 1px solid #ccc; border-bottom: 1px solid #ccc; border-radius: 0; box-shadow: none; opacity: 1;
  }
  .cal-week .cal-day:nth-child(7n) { border-right: 0; }
  .cal-date { flex-direction: row !important; min-height: 0; text-align: left; }
  .cal-dow, .cal-mon, .cal-today-tag { display: none !important; }
  .cal-num { font-family: var(--font-sans); font-size: 8.5pt !important; width: auto; height: auto; min-width: 0; color: #333 !important; background: none !important; }
  .cal-day.is-today .cal-num { color: var(--brand) !important; text-decoration: underline; }
  .cal-day.is-outside .cal-num { color: #aaa !important; }
  .cal-day.is-past .cal-items, .cal-day.is-past:not(.is-today) { opacity: 1 !important; }
  .cal-ev, .cal-ev.is-extra, .cal-ev.is-cont { display: block !important; font-size: 7.5pt; line-height: 1.25; padding: .6mm 1.2mm; border-radius: 1mm; opacity: 1; }
  .cal-ev.is-cont { opacity: .7; }
  .cal-items { gap: .6mm; }
  /* Drukke dagen: kleinere letters, zodat alles in het vakje past */
  .cal-items:has(> li:nth-child(4)) .cal-ev { font-size: 6.8pt; line-height: 1.18; padding: .4mm 1mm; }
  .cal-items:has(> li:nth-child(6)) .cal-ev { font-size: 6pt; line-height: 1.12; padding: .25mm .9mm; }
  .cal-items:has(> li:nth-child(6)) .cal-ev { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .cal-items:has(> li:nth-child(8)) .cal-ev { font-size: 5.3pt; line-height: 1.08; padding-top: .1mm; padding-bottom: .1mm; }
  .cal-closed-tag { font-size: 6pt; padding: 0 1.2mm; }
  .cal-ev .sub { font-size: 6.5pt; }
  .cal-week > .cal-day:not(:first-child) .cal-ev.is-closure.is-cont { display: none !important; }
  .cal-ev, .cal-day.is-closed, .cal-day.is-weekend, .cal-closed-tag, .cal-dot, .legend-closed, .team-badge, .cal-head span {
    -webkit-print-color-adjust: exact; print-color-adjust: exact;
  }
}

/* Subtiele link naar het bardienstrooster in de agenda-werkbalk */
.bar-link { color: var(--muted); font-weight: 600; border: 1px solid transparent; }
.bar-link:hover { color: var(--brand); background: var(--brand-50); border-color: var(--line); }

/* Onderhoudsmodus: pagina voor bezoekers en balk voor ingelogde gebruikers */
body.maintenance { background: linear-gradient(160deg, var(--brand-darker), var(--brand) 70%); }
.maintenance-main { flex: 1; display: grid; place-items: center; padding: 2rem 16px; }
.maintenance-box { width: min(560px, 100%); background: var(--white); border-radius: calc(var(--radius) + 6px); box-shadow: 0 30px 80px rgba(0,0,0,.25); padding: 2rem 1.6rem 1.6rem; text-align: center; }
.maintenance-logo { width: min(260px, 70%); height: auto; margin: 0 auto 1rem; display: block; }
.maintenance-icon { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--brand-tint); color: var(--brand); margin-bottom: .6rem; }
.maintenance-icon .icon { width: 28px; height: 28px; }
.maintenance-box h1 { font-size: clamp(1.5rem, 4vw, 2rem); margin: 0 0 .6rem; }
.maintenance-box .lead { color: var(--ink-soft); margin: 0 auto 1rem; max-width: 46ch; }
.maintenance-until { display: inline-flex; align-items: center; gap: .5rem; text-align: left; background: var(--brand-50); border: 1px solid var(--brand-tint); border-radius: var(--radius-sm); padding: .5rem .8rem; font-size: .95rem; }
.maintenance-contact { margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); }
.maintenance-contact p { margin: .25rem 0; display: flex; align-items: center; justify-content: center; gap: .4rem; flex-wrap: wrap; }
.maintenance-bar { background: #fde6d4; color: #6b2c08; border-bottom: 1px solid #f0c29c; font-size: .9rem; }
.maintenance-bar .container { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .6rem; padding-top: .45rem; padding-bottom: .45rem; }
.maintenance-bar a { color: #6b2c08; font-weight: 700; }
@media print { .maintenance-bar { display: none !important; } }
