/* Schützengesellschaft Bütschwil – Stylesheet
   Struktur: 1 Schrift & Variablen · 2 Basis · 3 Kopf/Navigation · 4 Seitenrahmen · 5 Karten & Bausteine
             6 Startseite · 7 Unterseiten · 8 Kalender · 9 Album · 10 Slider & Lightbox · 11 Fuss · 12 Druck */

/* ===== 1 Schrift & Variablen ===== */
/* Open Sans (SIL OFL 1.1), variable Schrift, Subset latin – lokal gehostet */
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("../fonts/open-sans-latin.woff2") format("woff2");
}

:root {
  --c-accent: #e1002a;     /* Rot: Akzent, Buttons, aktive Navigation */
  --c-ink: #1b2a29;        /* Text */
  --c-muted: #566766;      /* Sekundärtext */
  --c-bg: #f2f5f4;         /* Seitenhintergrund, Kacheln */
  --c-card: #ffffff;
  --c-line: #e1e9e8;       /* Rahmen */
  --c-line-strong: #d3dedd;
  --c-tint: #e8eeed;       /* neutrale Fläche (Avatar, offenes Menü) */
  --c-tint-2: #eaf0ef;     /* Segmentierte Schalter */
  --c-green: #1d8f00;      /* Häkchen, Kalenderfarbe */
  --c-focus: #0086ac;      /* Fokusrahmen */
  --c-dark: #1f3331;       /* Footer */
  --c-dark-text: #c4d3d1;
  --radius-lg: 20px;
  --radius-md: 12px;
  --shadow-card: 0 1px 2px rgba(27, 42, 41, 0.05);
  --shadow-pop: 0 16px 40px rgba(27, 42, 41, 0.18);
  --font: "Open Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: 32px;
}

/* ===== 2 Basis ===== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  margin: 0;
  background: var(--c-bg);
  color: var(--c-ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--c-accent); }
h1, h2, h3, p, ul, ol, dl, figure { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--c-focus); outline-offset: 2px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 100; padding: 8px 14px;
  border-radius: 8px; background: var(--c-ink); color: #fff;
}
.skip-link:focus { top: 8px; color: #fff; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--c-muted); }

/* ===== 3 Kopf & Navigation ===== */
.site-header { position: relative; z-index: 20; background: #fff; border-bottom: 1px solid var(--c-line); }
.site-header__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; padding-top: 10px; padding-bottom: 10px; }
.brand { flex: 0 0 auto; line-height: 0; }
.brand img { display: block; height: 48px; width: auto; }
.nav-toggle {
  display: none; margin-left: auto; width: 44px; height: 44px; align-items: center; justify-content: center;
  border: 1px solid var(--c-line); border-radius: 10px; background: #fff; cursor: pointer;
}
.site-nav { flex: 1 1 auto; }
.site-nav__list { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.site-nav__list > li { position: relative; }
.site-nav__link {
  display: inline-flex; align-items: center; gap: 4px; margin: 0; padding: 5px 11px; border: 0; border-radius: 999px;
  background: transparent; color: var(--c-ink); font-size: 13px; font-weight: 600; line-height: 1.6; cursor: pointer;
}
.site-nav__link:hover { background: var(--c-tint-2); color: var(--c-ink); }
.site-nav__link.is-active { border-radius: 0; font-weight: 700; box-shadow: inset 0 -2px 0 var(--c-accent); }
.site-nav__link.is-active:hover { background: transparent; }
.site-nav__link svg { transition: transform .15s; }
.has-sub.is-open > .site-nav__link { background: var(--c-tint); }
.has-sub.is-open > .site-nav__link svg { transform: rotate(180deg); }
.site-nav__sub {
  display: none; position: absolute; top: calc(100% + 10px); left: 0; z-index: 30; min-width: 200px; margin: 0; padding: 8px; list-style: none;
  border: 1px solid var(--c-line); border-radius: 14px; background: #fff; box-shadow: var(--shadow-pop);
}
.site-nav__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.site-nav__sub a { display: block; padding: 8px 12px; border-radius: 8px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.site-nav__sub a:hover { background: var(--c-bg); color: var(--c-ink); }
.site-nav__sub a[aria-current="page"] { background: var(--c-tint); }
.has-sub.is-open > .site-nav__sub { display: block; }
@media (hover: hover) and (min-width: 900px) {
  .has-sub:hover > .site-nav__sub, .has-sub:focus-within > .site-nav__sub { display: block; }
}
.site-nav__cta { margin-left: auto; }
.btn-outline {
  display: inline-block; padding: 6px 14px; border: 1.5px solid var(--c-accent); border-radius: 999px;
  color: var(--c-accent); font-size: 13px; font-weight: 700; line-height: 1.5;
}
.btn-outline:hover { background: var(--c-accent); color: #fff; }

@media (max-width: 899px) {
  :root { --gutter: 16px; }
  .nav-toggle { display: inline-flex; }
  .site-nav { flex: 0 0 100%; }
  .js .site-nav { display: none; }
  .js .site-nav.is-open { display: block; padding: 4px 0 12px; }
  .site-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav__link { width: 100%; padding: 10px 12px; font-size: 15px; }
  .site-nav__link.is-active { box-shadow: inset 3px 0 0 var(--c-accent); border-radius: 0; background: var(--c-bg); }
  .has-sub > .site-nav__link { cursor: default; pointer-events: none; color: var(--c-muted); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
  .has-sub > .site-nav__link svg { display: none; }
  .site-nav__sub { display: block; position: static; min-width: 0; padding: 0 0 6px 12px; border: 0; box-shadow: none; background: transparent; }
  .site-nav__sub::before { display: none; }
  .site-nav__sub a { padding: 9px 12px; font-size: 15px; white-space: normal; }
  .site-nav__cta { margin: 8px 0 0; }
  .site-nav__cta .btn-outline { display: block; padding: 10px 14px; text-align: center; }
}

/* ===== 4 Seitenrahmen ===== */
.page { flex: 1 0 auto; padding-top: 32px; padding-bottom: 56px; }
.page-head { margin: 0 0 24px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: 13px; color: var(--c-muted); }
.crumbs a { color: var(--c-muted); }
.crumbs a:hover { color: var(--c-accent); }
.page-title { margin: 6px 0 0; font-size: 38px; line-height: 1.15; font-weight: 800; letter-spacing: -0.01em; }
.page-intro { margin: 6px 0 0; color: var(--c-muted); }
@media (max-width: 899px) {
  .page { padding-top: 20px; padding-bottom: 40px; }
  .page-title { font-size: 30px; }
}

/* ===== 5 Karten & Bausteine ===== */
.card { padding: 32px; border: 1px solid var(--c-line); border-radius: var(--radius-lg); background: var(--c-card); box-shadow: var(--shadow-card); }
.card--tight { padding: 24px; }
.card--row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding: 22px 28px; }
.card__title { margin: 0 0 18px; font-size: 22px; line-height: 1.3; font-weight: 700; }
.card__title--sm { margin: 0 0 16px; font-size: 18px; font-weight: 800; }
.card--row .card__title { margin: 0; font-size: 16px; font-weight: 700; }
.stack { display: flex; flex-direction: column; gap: 24px; }
.stack--top { margin-top: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
@media (max-width: 899px) {
  .card { padding: 20px; border-radius: 16px; }
  .grid-2 { grid-template-columns: 1fr; }
}

.btn {
  display: block; margin-top: 20px; padding: 11px 16px; border-radius: 999px; background: var(--c-accent); color: #fff;
  font-size: 14px; font-weight: 700; text-align: center;
}
.btn:hover { background: #b80022; color: #fff; }
.btn-ghost {
  display: inline-block; padding: 7px 16px; border: 1px solid var(--c-line-strong); border-radius: 999px; background: #fff;
  font-size: 13px; font-weight: 600; line-height: 1.5; cursor: pointer;
}
.btn-ghost:hover { background: var(--c-bg); color: var(--c-ink); }
.chip-link {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: 999px; background: var(--c-bg);
  font-size: 13px; font-weight: 600; line-height: 1.5;
}
.chip-link:hover { background: var(--c-tint); color: var(--c-ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.dot { display: inline-block; flex: 0 0 10px; width: 10px; height: 10px; margin-right: 8px; border-radius: 50%; vertical-align: baseline; }

/* Fliesstext */
.prose { font-size: 16px; line-height: 1.7; }
.prose--narrow { max-width: 820px; }
.prose > * + * { margin-top: 1em; }
.prose h2 { margin-top: 1.6em; font-size: 20px; line-height: 1.3; font-weight: 700; }
.prose h2:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .3em; }
.prose a { color: var(--c-accent); text-decoration: underline; text-underline-offset: 2px; }
.prose img { display: block; }
.prose table { width: 100%; border-collapse: collapse; }
.prose td, .prose th { padding: 8px 10px; border-top: 1px solid var(--c-line); text-align: left; vertical-align: top; }
.rounded { display: block; border-radius: var(--radius-md); }
.lead { font-size: 18px; }

/* Dokumente (PDF) */
.docs { display: flex; flex-direction: column; gap: 8px; }
.doc { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: var(--radius-md); background: var(--c-bg); }
.doc:hover { background: var(--c-tint); color: var(--c-ink); }
.doc__tag { flex: 0 0 auto; padding: 3px 8px; border-radius: 6px; background: var(--c-accent); color: #fff; font-size: 11px; font-weight: 800; line-height: 1.4; }
.doc__text { flex: 1 1 auto; display: flex; flex-direction: column; line-height: 1.35; }
.doc__title { font-size: 15px; font-weight: 600; }
.doc__sub { font-size: 13px; color: var(--c-muted); }
.doc__icon { flex: 0 0 auto; display: flex; color: var(--c-muted); }
.info-rows { display: flex; flex-direction: column; }
.info-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding: 14px 0; border-top: 1px solid var(--c-line); }
.info-row:first-child { border-top: 0; padding-top: 0; }
.info-row__label { font-weight: 600; }
.info-row__docs { flex: 0 1 380px; min-width: 240px; }
.split { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; margin-bottom: 20px; }
.split > .card__title { margin: 0; }
.split--top { align-items: flex-start; }
.split__img { flex: 0 0 auto; max-width: 100%; height: auto; }
.split > div { flex: 1 1 300px; }

/* Personen */
.people { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.person { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 24px; }
.person__head { display: flex; align-items: center; gap: 14px; }
.avatar {
  flex: 0 0 48px; display: flex; width: 48px; height: 48px; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--c-tint); font-size: 16px; font-weight: 800;
}
.person__role { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--c-muted); }
.person__name { font-size: 17px; font-weight: 700; line-height: 1.3; }
.person__extra { font-size: 14px; color: var(--c-muted); line-height: 1.5; }
@media (max-width: 1000px) { .people { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .people { grid-template-columns: 1fr; } }

/* Links, Verein */
.links-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.link-card { display: flex; flex-direction: column; gap: 16px; align-items: center; padding: 24px; text-align: center; }
.link-card:hover { box-shadow: 0 8px 24px rgba(27, 42, 41, 0.12); color: var(--c-ink); }
.link-card__img { display: flex; height: 100px; align-items: center; justify-content: center; }
.link-card__img img { max-height: 100px; width: auto; }
.link-card__name { font-weight: 700; line-height: 1.4; }
.address { margin: 0 0 16px; font-style: normal; }
.map { display: block; width: 100%; height: 380px; border: 0; border-radius: var(--radius-md); background: var(--c-bg); }

/* ===== 6 Startseite ===== */
.hero { margin-bottom: 28px; }
.home-grid { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.home-main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.home-aside { flex: 1 1 300px; max-width: 100%; display: flex; flex-direction: column; gap: 28px; }
.hero-card { display: flex; flex-wrap: wrap; align-items: center; gap: 32px; }
.hero-card__img { flex: 0 0 auto; width: 210px; height: auto; border-radius: 10px; box-shadow: 0 10px 24px rgba(27, 42, 41, 0.22); }
.hero-card__body { flex: 1 1 280px; display: flex; flex-direction: column; gap: 18px; }
.hero-card .page-title { margin: 0; }
.programs { display: flex; flex-direction: column; gap: 10px; }
.program { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 16px; padding: 14px 18px; border-radius: var(--radius-md); background: var(--c-bg); }
.program__name { font-size: 16px; font-weight: 700; }
.program__day { font-size: 14px; color: var(--c-muted); }
.program__time { font-size: 16px; font-weight: 700; color: var(--c-accent); }
.checklist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.checklist li { display: flex; align-items: flex-start; gap: 14px; padding: 16px; border-radius: var(--radius-md); background: var(--c-bg); font-size: 15px; }
.check { flex: 0 0 28px; display: flex; width: 28px; height: 28px; align-items: center; justify-content: center; border-radius: 50%; background: var(--c-green); }
.event-mini-list { display: flex; flex-direction: column; gap: 16px; min-height: 40px; }
.event-mini { display: flex; align-items: center; gap: 14px; }
.event-mini__date { flex: 0 0 52px; overflow: hidden; border: 1px solid var(--c-line); border-radius: 12px; background: #fff; text-align: center; }
.event-mini__month { display: block; color: #fff; font-size: 11px; font-weight: 700; line-height: 20px; letter-spacing: .05em; text-transform: uppercase; }
.event-mini__day { display: block; font-size: 20px; font-weight: 800; line-height: 30px; }
.event-mini__text { font-size: 14px; line-height: 1.4; }
.event-mini__text strong { font-weight: 700; }
.event-mini__meta { display: block; font-size: 13px; color: var(--c-muted); }
.sponsors { display: flex; flex-direction: column; gap: 12px; }
.sponsor { display: block; overflow: hidden; border: 1px solid var(--c-line); border-radius: var(--radius-md); background: #fff; line-height: 0; }
.sponsor img { display: block; width: 100%; height: auto; }
.sponsor--pad { padding: 16px 12px; }
.sponsor:hover { box-shadow: 0 6px 18px rgba(27, 42, 41, 0.12); }
@media (max-width: 899px) {
  .home-grid, .hero { gap: 20px; }
  .hero { margin-bottom: 20px; }
  .home-main, .home-aside { gap: 20px; }
  .hero-card { gap: 20px; }
  .hero-card__img { width: 170px; margin: 0 auto; }
  .hero-card .page-title { font-size: 28px; }
  .checklist { grid-template-columns: 1fr; }
}

/* ===== 8 Kalender ===== */
.sgb-cal__toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; }
.sgb-cal__group { display: inline-flex; align-items: center; gap: 6px; }
.sgb-cal__round {
  display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; padding: 0;
  border: 1px solid var(--c-line-strong); border-radius: 50%; background: #fff; cursor: pointer;
}
.sgb-cal__round:hover { background: var(--c-bg); }
.sgb-cal__pill { height: 38px; padding: 0 16px; border: 1px solid var(--c-line-strong); border-radius: 999px; background: #fff; font-size: 13px; font-weight: 600; cursor: pointer; }
.sgb-cal__pill:hover { background: var(--c-bg); }
.sgb-cal__title { margin: 0; font-size: 22px; line-height: 1.3; font-weight: 700; text-align: center; }
.sgb-cal__views { display: inline-flex; gap: 0; padding: 3px; border-radius: 999px; background: var(--c-tint-2); }
.sgb-cal__views button { padding: 6px 16px; border: 0; border-radius: 999px; background: transparent; color: var(--c-muted); font-size: 13px; font-weight: 600; cursor: pointer; }
.sgb-cal__views button[aria-pressed="true"] { background: #fff; color: var(--c-ink); font-weight: 700; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15); }
.sgb-cal__filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 22px; }
.sgb-cal__chip {
  display: inline-flex; align-items: center; padding: 5px 14px; border: 1px solid var(--c-line-strong); border-radius: 999px;
  background: #fff; font-size: 13px; font-weight: 600; cursor: pointer;
}
.sgb-cal__chip .dot { margin-right: 8px; }
.sgb-cal__chip input:not(:checked) ~ .dot { background: #c3cfce !important; }
.sgb-cal__chip input:not(:checked) ~ span:last-child { color: var(--c-muted); text-decoration: line-through; }
.sgb-cal__chip:focus-within { outline: 2px solid var(--c-focus); outline-offset: 2px; }
.sgb-cal__list { display: flex; flex-direction: column; gap: 22px; }
.sgb-cal__day { display: flex; align-items: baseline; justify-content: space-between; padding: 0 4px 8px; border-bottom: 1px solid var(--c-line); }
.sgb-cal__day-name { font-size: 15px; font-weight: 800; }
.sgb-cal__day-alt { font-size: 14px; font-weight: 700; color: var(--c-accent); }
.sgb-cal__item { display: flex; align-items: center; gap: 16px; padding: 12px 4px; }
.sgb-cal__item:hover { background: var(--c-bg); }
.sgb-cal__time { flex: 0 0 120px; font-size: 14px; color: var(--c-muted); }
.sgb-cal__item .dot { margin: 0; }
.sgb-cal__item a { font-size: 15px; font-weight: 600; }
.sgb-cal__empty { margin: 0; padding: 12px 4px; color: var(--c-muted); }
.sgb-cal__month { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 0; overflow: hidden; border: 1px solid var(--c-line); border-radius: var(--radius-md); }
.sgb-cal__month th { padding: 8px 4px; background: var(--c-bg); font-size: 13px; font-weight: 700; text-align: center; }
.sgb-cal__month td { height: 96px; padding: 4px; vertical-align: top; border-top: 1px solid var(--c-line); border-left: 1px solid var(--c-line); }
.sgb-cal__month td:first-child { border-left: 0; }
.sgb-cal__month td.is-other { background: #fafcfb; color: #9aaba9; }
.sgb-cal__month td.is-today { background: #fff7e0; }
.sgb-cal__num { display: block; padding: 0 4px; text-align: right; font-size: 13px; }
.sgb-cal__ev {
  display: block; margin: 2px 0 0; padding: 1px 6px; overflow: hidden; border-radius: 6px; color: #fff !important;
  font-size: 12px; line-height: 1.5; text-overflow: ellipsis; white-space: nowrap;
}
.sgb-cal__ev:hover { opacity: .85; }
@media (max-width: 700px) {
  .sgb-cal__title { order: -1; flex: 0 0 100%; font-size: 19px; }
  .sgb-cal__item { flex-wrap: wrap; gap: 4px 12px; }
  .sgb-cal__time { flex-basis: 100%; }
  .sgb-cal__item .dot { order: 0; }
  .sgb-cal__month td { height: 64px; padding: 2px; }
  .sgb-cal__ev { padding: 0 3px; font-size: 10px; }
}
/* Termin-Detail */
.event__info { display: flex; flex-direction: column; gap: 12px; margin: 0; }
.kv { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.kv dt { flex: 0 0 110px; font-weight: 700; }
.kv dd { flex: 1 1 240px; margin: 0; min-width: 0; overflow-wrap: anywhere; }
.kv a { color: var(--c-accent); }
.event__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.event__desc { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--c-line); }

/* ===== 9 Album ===== */
.album-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.album-card { display: flex; align-items: center; gap: 20px; padding: 20px; }
.album-card:hover { box-shadow: 0 8px 24px rgba(27, 42, 41, 0.12); color: var(--c-ink); }
.album-card img { flex: 0 0 auto; display: block; width: 128px; height: 128px; object-fit: cover; border-radius: 14px; }
.album-card__body { display: flex; flex-direction: column; gap: 6px; }
.album-card__title { font-size: 18px; font-weight: 700; line-height: 1.3; }
.album-card__count { font-size: 13px; font-weight: 600; color: var(--c-muted); }
.back { margin: 0 0 16px; font-size: 14px; font-weight: 600; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, 112px); gap: 12px; margin-top: 16px; }
.gallery__item { display: block; width: 112px; height: 112px; overflow: hidden; border-radius: 12px; background: var(--c-bg); line-height: 0; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s; }
.gallery__item:hover img { transform: scale(1.06); }
@media (max-width: 700px) {
  .album-grid { grid-template-columns: 1fr; }
  .album-card { gap: 14px; padding: 14px; }
  .album-card img { width: 96px; height: 96px; }
  .gallery { grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 8px; }
  .gallery__item { width: 100%; height: auto; aspect-ratio: 1; }
}

/* ===== 10 Slider & Lightbox ===== */
.sgb-slider {
  position: relative; overflow: hidden; aspect-ratio: 760 / 198; max-height: 300px; width: 100%;
  border: 1px solid var(--c-line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-card), 0 12px 32px rgba(27, 42, 41, 0.06);
}
.sgb-slider__track { display: flex; height: 100%; transition: transform .8s cubic-bezier(.25, .46, .45, .94); will-change: transform; }
.sgb-slide { position: relative; flex: 0 0 100%; height: 100%; overflow: hidden; }
.sgb-slide__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 53% 64%; filter: blur(50px); }
.sgb-slide__img { position: relative; display: block; width: 100%; height: 100%; object-fit: contain; }
.sgb-slider__btn {
  position: absolute; top: 50%; z-index: 2; width: 40px; height: 40px; margin-top: -20px; padding: 0; border: 0; border-radius: 50%;
  background: #fff center / 16px no-repeat; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.16); cursor: pointer;
}
.sgb-slider__btn:hover { background-color: #f6f8f8; }
.sgb-slider__btn--prev { left: 18px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%231b2a29' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 3 5 8l5 5'/%3E%3C/svg%3E"); }
.sgb-slider__btn--next { right: 18px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%231b2a29' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 3 5 5-5 5'/%3E%3C/svg%3E"); }
.sgb-slider__dots { position: absolute; left: 0; right: 0; bottom: 6px; z-index: 2; display: flex; justify-content: center; }
.sgb-slider__dot { padding: 6px 3px; border: 0; background: transparent; cursor: pointer; }
.sgb-slider__dot::before { content: ""; display: block; width: 6px; height: 6px; border-radius: 3px; background: #c3cfce; transition: width .2s, background .2s; }
.sgb-slider__dot[aria-current="true"]::before { width: 22px; background: var(--c-accent); }
@media (max-width: 700px) {
  .sgb-slider { border-radius: 14px; }
  .sgb-slider__btn { display: none; }
}
@media (prefers-reduced-motion: reduce) { .sgb-slider__track { transition: none; } }

.sgb-lightbox { position: fixed; inset: 0; z-index: 9999; display: none; align-items: center; justify-content: center; background: rgba(11, 11, 11, .88); }
.sgb-lightbox.is-open { display: flex; }
.sgb-lightbox__img { max-width: 94vw; max-height: 84vh; border-radius: 6px; box-shadow: 0 0 8px rgba(0, 0, 0, .6); background: #fff; }
.sgb-lightbox__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 12px 56px; color: #f3f3f3; text-align: center; font-size: 13px; }
.sgb-lightbox__btn { position: absolute; width: 48px; height: 64px; border: 0; background: transparent; color: #fff; font-size: 40px; line-height: 64px; opacity: .7; cursor: pointer; }
.sgb-lightbox__btn:hover, .sgb-lightbox__btn:focus-visible { opacity: 1; }
.sgb-lightbox__close { top: 0; right: 0; height: 48px; line-height: 48px; }
.sgb-lightbox__prev { left: 0; top: calc(50% - 32px); }
.sgb-lightbox__next { right: 0; top: calc(50% - 32px); }

/* ===== 11 Fuss ===== */
.site-footer { background: var(--c-dark); color: var(--c-dark-text); font-size: 13px; }
.site-footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 24px; padding-bottom: 24px; }

/* ===== 12 Druck ===== */
@media print {
  body { background: #fff; font-size: 12pt; }
  .site-header, .site-footer, .hero, .skip-link, .event__actions, .sgb-lightbox, .home-aside .btn { display: none !important; }
  .card { border: 0; box-shadow: none; padding: 0; }
}

/* Ergänzungen */
.person__head + .chip-link { margin-top: 14px; }

/* Sponsorenstreifen (alle Seiten ausser Startseite, dort als Karte) */
.sponsor-strip { flex: 0 0 auto; border-top: 1px solid var(--c-line); background: #fff; }
.sponsor-strip__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; padding-top: 24px; padding-bottom: 24px; }
.sponsor-strip__title { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--c-muted); }
.sponsor-strip__logos { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.sponsor-tile { display: flex; height: 80px; align-items: center; justify-content: center; overflow: hidden; border: 1px solid var(--c-line); border-radius: var(--radius-md); background: #fff; line-height: 0; }
.sponsor-tile:hover { box-shadow: 0 6px 18px rgba(27, 42, 41, 0.12); }
.sponsor-tile img { display: block; width: auto; height: 100%; max-width: 100%; object-fit: contain; }
.sponsor-tile:nth-child(2) { padding: 0 18px; }
.sponsor-tile:nth-child(2) img { height: auto; width: 170px; }
@media (max-width: 600px) { .sponsor-strip__logos { width: 100%; } .sponsor-tile { flex: 1 1 140px; } }
@media print { .sponsor-strip { display: none; } }
