/* =======================================================================
   Schutterpark — App Styles
   Aufbauend auf colors_and_type.css (Design-Tokens).
   Komponenten-Klassen mit Präfix .sp-*
   ======================================================================= */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  color: var(--fg-1);
  background: var(--bg-base);
  line-height: var(--lh-relaxed);
}
img { max-width: 100%; height: auto; }

/* ---------- Container & section ---------- */
.sp-container { max-width: var(--container-xl); margin: 0 auto; padding: 0 24px; }
.sp-narrow    { max-width: 760px; }
.sp-section   { padding: 64px 0; }
.sp-section--mist { background: var(--sp-blue-soft); }
.sp-section--subtle { background: var(--bg-subtle); }

.sp-section__head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; margin-bottom: 28px;
}

.sp-row     { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.sp-spacer  { flex: 1; }
.sp-stack > * + * { margin-top: 10px; }
.sp-stack--list > div { display: flex; justify-content: space-between; gap: 12px; }
.sp-muted   { color: var(--fg-3); }

.sp-h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(32px, 4vw, 48px); letter-spacing: -0.02em; line-height: 1.1; margin: 0; text-wrap: balance; }
.sp-h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
.sp-h4 { font-family: var(--font-display); font-weight: 700; font-size: 20px; margin: 0; }
.sp-lead { font-size: 18px; color: var(--fg-2); line-height: 1.55; max-width: 60ch; }
.sp-kicker { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--sp-blue-deep); margin-bottom: 10px; display: inline-block; }

/* ---------- Header ---------- */
.sp-header {
  background: #fff;
  border-bottom: 1px solid var(--border-subtle);
  position: sticky; top: 0; z-index: 50;
}
.sp-header__inner {
  max-width: var(--container-xl); margin: 0 auto;
  padding: 16px 24px;
  display: flex; align-items: center; gap: 24px;
}
.sp-header__logo { display: inline-flex; align-items: center; flex-shrink: 0; margin-right: auto; }
.sp-header__logo img { width: 200px; height: auto; display: block; }
.sp-header__nav { display: flex; gap: 4px; flex-wrap: wrap; align-items: center; }
.sp-nav-link {
  padding: 8px 14px; border-radius: var(--radius-sm); font-weight: 500; font-size: 15px;
  color: var(--fg-1); text-decoration: none; cursor: pointer;
  transition: background var(--dur-fast);
}
.sp-nav-link:hover { background: var(--bg-subtle); }
.sp-nav-link.active { color: var(--sp-blue-deep); }
.sp-nav-link.active::after {
  content: ""; display: block; height: 2px; background: var(--sp-blue-deep);
  margin-top: 3px; border-radius: 2px;
}
.sp-nav-link--cta {
  background: var(--sp-blue-deep); color: #fff;
  border-radius: var(--radius-pill);
  padding: 8px 18px;
  font-weight: 600;
  margin-left: 6px;
}
.sp-nav-link--cta:hover { background: var(--sp-slate-700); color: #fff; }
.sp-nav-link--cta.active { color: #fff; }
.sp-nav-link--cta.active::after { display: none; }

/* ---------- Hero ---------- */
.sp-hero {
  position: relative; overflow: hidden;
  background: #0E1B24; color: #fff;
}
.sp-hero__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
/* Kein Overlay — Lesbarkeit kommt ausschließlich über den text-shadow am Text. */
.sp-hero__inner {
  position: relative; max-width: var(--container-xl); margin: 0 auto;
  padding: 120px 24px 140px;
}
.sp-hero__claim {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(36px, 5.5vw, 64px); line-height: 1.05;
  letter-spacing: -0.02em; max-width: 820px; margin: 16px 0 0; color: #fff;
  text-wrap: balance;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7), 0 0 24px rgba(0, 0, 0, 0.5);
}
.sp-hero__lead {
  color: #fff; font-size: 20px; max-width: 620px; margin-top: 18px; line-height: 1.55;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7), 0 0 16px rgba(0, 0, 0, 0.5);
}
.sp-hero .sp-row { margin-top: 28px; }

/* ---------- Ribbon ---------- */
.sp-ribbon {
  display: inline-block; padding: 8px 18px;
  background: var(--sp-slate); color: #fff;
  font-family: var(--font-display); font-weight: 700; letter-spacing: 0.08em;
  transform: rotate(-6deg); font-size: 16px;
  box-shadow: var(--shadow-md);
}

/* ---------- Buttons ---------- */
.sp-btn {
  font-family: var(--font-body); font-weight: 600; font-size: 14px;
  padding: 11px 22px; border-radius: var(--radius-pill); border: 1px solid transparent;
  cursor: pointer; transition: all var(--dur-base) var(--ease-out);
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  text-decoration: none;
}
.sp-btn:focus-visible { outline: none; box-shadow: var(--ring-focus); }
.sp-btn:active { transform: scale(0.99); }
.sp-btn--primary   { background: var(--sp-blue-deep); color: #fff; }
.sp-btn--primary:hover { background: var(--sp-slate-700); box-shadow: var(--shadow-brand); }
.sp-btn--success   { background: var(--sp-green-600); color: #fff; }
.sp-btn--success:hover { background: var(--sp-green-700); }
.sp-btn--secondary { background: #fff; color: var(--sp-slate); border-color: var(--border-default); }
.sp-btn--secondary:hover { border-color: var(--sp-slate-400); background: var(--bg-subtle); }
.sp-btn--ghost     { background: transparent; color: var(--sp-blue-deep); }
.sp-btn--ghost:hover { background: var(--bg-subtle); }
.sp-btn--ghost-light { background: rgba(255,255,255,0.12); color: #fff; border-color: rgba(255,255,255,0.3); }
.sp-btn--ghost-light:hover { background: rgba(255,255,255,0.2); }
.sp-btn--sm { font-size: 12px; padding: 6px 12px; }
.sp-btn--lg { font-size: 16px; padding: 14px 24px; }
.sp-btn--block { width: 100%; justify-content: center; }
.sp-btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ---------- Form ---------- */
.sp-form { display: block; }
.sp-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; }
.sp-field { display: block; margin-bottom: 14px; }
.sp-field--full { grid-column: 1 / -1; }
.sp-label { display: block; font-size: 12px; font-weight: 600; color: var(--fg-2); margin-bottom: 4px; }
.sp-input, .sp-select, .sp-textarea {
  width: 100%; padding: 10px 12px; border: 1px solid var(--border-default);
  border-radius: var(--radius-sm); font-family: var(--font-body); font-size: 14px;
  color: var(--fg-1); background: #fff;
}
.sp-input:focus, .sp-select:focus, .sp-textarea:focus {
  outline: none; border-color: var(--sp-blue-accent); box-shadow: var(--ring-focus);
}
.sp-input--inline { width: auto; max-width: 100px; padding: 6px 10px; }
.sp-hint { font-size: 11px; color: var(--fg-3); margin-top: 3px; }
.sp-check { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--fg-1); cursor: pointer; }
.sp-check input { width: 18px; height: 18px; accent-color: var(--sp-blue-deep); }
.sp-form__actions { margin-top: 24px; justify-content: flex-end; }

/* ---------- Card ---------- */
.sp-card { background: #fff; border-radius: var(--radius-md); border: 1px solid var(--border-subtle); overflow: hidden; }
.sp-card--float { border: none; box-shadow: var(--shadow-md); }
.sp-card__head  { padding: 14px 20px; border-bottom: 1px solid var(--border-subtle); font-weight: 600; }
.sp-card__body  { padding: 20px; }
.sp-card hr     { border: 0; border-top: 1px solid var(--border-subtle); margin: 16px 0; }

/* ---------- Badge ---------- */
.sp-badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 10px; border-radius: var(--radius-pill);
  font-size: 11px; font-weight: 600;
}
.sp-badge--brand   { background: var(--sp-blue-soft); color: var(--sp-blue-deep); }
.sp-badge--success { background: var(--sp-green-100); color: #5CA02E; }
.sp-badge--warning { background: #FDF2D0; color: #8A6500; }
.sp-badge--danger  { background: #FBDDDF; color: #9C2E35; }
.sp-badge--slate   { background: var(--sp-slate-100); color: var(--sp-slate-700); }
.sp-badge--white   { background: #fff; color: var(--sp-blue-deep); }
.sp-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* ---------- Flash ---------- */
.sp-flash-stack { max-width: var(--container-xl); margin: 16px auto 0; padding: 0 24px; }
.sp-flash { padding: 12px 16px; border-radius: var(--radius-sm); font-size: 14px; margin-bottom: 10px; }
.sp-flash--success { background: var(--sp-green-100); color: #5CA02E; border-left: 3px solid #5CA02E; }
.sp-flash--error   { background: #FBDDDF; color: #9C2E35; border-left: 3px solid #C8434A; }
.sp-flash--info    { background: var(--sp-blue-mist); color: var(--sp-blue-deep); border-left: 3px solid var(--sp-blue-deep); }

/* ---------- Grid / Event card ---------- */
.sp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.sp-grid--rooms { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.sp-event-card { text-decoration: none; color: inherit; transition: all var(--dur-base) var(--ease-out); display: block; }
.sp-event-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.sp-event-card__image {
  height: 180px; background-size: cover; background-position: center;
  position: relative; display: flex; justify-content: space-between; padding: 14px;
  border-top-left-radius: var(--radius-md);
  border-top-right-radius: var(--radius-md);
}
.sp-event-card__image .sp-badge { align-self: flex-start; }
.sp-event-card__body { padding: 18px 20px; }
.sp-event-card__meta { font-size: 13px; font-weight: 600; color: var(--fg-3); }
.sp-event-card__title { font-family: var(--font-display); font-weight: 700; font-size: 22px; margin: 6px 0 8px; line-height: 1.2; }
.sp-event-card__short { font-size: 14px; color: var(--fg-2); line-height: 1.55; margin: 0; }
.sp-event-card__count { font-size: 12px; color: var(--fg-3); font-weight: 600; margin-top: 4px; }
.sp-progress { height: 6px; background: var(--sp-slate-100); border-radius: 4px; overflow: hidden; margin-top: 12px; }
.sp-progress > span { display: block; height: 100%; background: var(--sp-green-500); }

/* ---------- Event detail ---------- */
.sp-event-detail { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; margin-top: 20px; }
.sp-event-detail__hero { height: 320px; border-radius: var(--radius-md); background-size: cover; background-position: center; margin-bottom: 20px; }
.sp-event-detail__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(32px, 4vw, 52px); letter-spacing: -0.02em; line-height: 1.05; margin: 6px 0 20px; }
.sp-event-detail__main .sp-prose { font-family: var(--font-para); font-size: 18px; line-height: 1.7; max-width: 65ch; }
.sp-event-detail__main .sp-prose p { margin: 0 0 1em; }
.sp-event-detail__side .sp-card { position: sticky; top: 110px; }
.sp-callout { padding: 20px; border-radius: var(--radius-md); margin-top: 28px; }
.sp-callout--mist { background: var(--sp-blue-soft); }
.sp-callout h3 { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--sp-slate); margin: 0 0 6px; }
.sp-callout p  { color: var(--sp-slate-700); font-size: 14px; margin: 0; }
@media (max-width: 880px) {
  .sp-event-detail { grid-template-columns: 1fr; }
  .sp-event-detail__side .sp-card { position: static; }
}

/* ---------- Split (Home: text + image) ---------- */
.sp-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.sp-split__image { border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-lg); }
.sp-split__image img { display: block; width: 100%; }
@media (max-width: 880px) { .sp-split { grid-template-columns: 1fr; } }

/* ---------- Timeline ---------- */
.sp-timeline { margin-top: 40px; position: relative; padding-left: 32px; }
.sp-timeline::before {
  content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px;
  width: 2px; background: var(--sp-slate-200);
}
.sp-timeline__item { position: relative; padding-bottom: 36px; }
.sp-timeline__dot { position: absolute; left: -31px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--sp-blue-deep); box-shadow: 0 0 0 4px #fff; }
.sp-timeline__year { font-family: var(--font-mono); font-size: 12px; font-weight: 600; color: var(--sp-blue-deep); letter-spacing: 0.08em; }
.sp-timeline__title { font-family: var(--font-display); font-weight: 700; font-size: 22px; margin: 4px 0 6px; }
.sp-timeline__text { color: var(--fg-2); font-size: 16px; line-height: 1.6; max-width: 60ch; }

/* ---------- Footer ---------- */
.sp-footer { background: var(--sp-slate); color: #fff; padding: 56px 0 24px; margin-top: 64px; }
.sp-footer__inner {
  max-width: var(--container-xl); margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 2fr 1fr 1.4fr; gap: 56px; margin-bottom: 36px;
  align-items: start;
}
.sp-footer__col h6 { font-size: 14px; font-weight: 600; color: #fff; margin: 0 0 12px; }
.sp-footer__col a  { color: var(--sp-slate-300); text-decoration: none; display: block; padding: 3px 0; }
.sp-footer__col a:hover { color: #fff; }
.sp-footer__col p  { color: var(--sp-slate-300); margin: 0 0 8px; }

/* Brand-Spalte: Logo + Slogan horizontal nebeneinander, in der Spalte zentriert */
.sp-footer__col--brand { display: flex; flex-direction: column; align-items: center; }
.sp-footer__brand-row {
  display: flex; align-items: center; gap: 18px;
  justify-content: center; max-width: 100%;
}
.sp-footer__logo { display: inline-flex; flex-shrink: 0; padding: 0; }
.sp-footer__logo img {
  height: 96px; width: auto; display: block;
  filter: brightness(0) invert(1);
}
.sp-footer__claim { color: var(--sp-slate-300); margin: 0; max-width: 280px; line-height: 1.55; font-size: 14px; }

/* Block-Button mit 30 px Abstand zum Spaltenrand */
.sp-footer__organizer {
  display: block;
  width: auto;
  margin: 22px 30px 0;
  text-align: center;
  font-size: 13px; font-weight: 600;
  padding: 12px 30px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--radius-pill);
  transition: background var(--dur-fast);
  color: #fff !important;
}
.sp-footer__organizer:hover { background: rgba(255,255,255,0.1); }

.sp-footer__upcoming { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.sp-footer__upcoming a { padding: 0; display: block; color: var(--sp-slate-300); }
.sp-footer__upcoming a:hover { color: #fff; }
.sp-footer__upcoming-date { font-family: var(--font-mono); font-size: 11px; color: var(--sp-slate-400); display: block; letter-spacing: 0.04em; }
.sp-footer__upcoming-title { font-size: 14px; font-weight: 500; line-height: 1.35; display: block; }

.sp-footer__legal {
  max-width: var(--container-xl); margin: 0 auto; padding: 18px 24px 0;
  border-top: 1px solid rgba(255,255,255,0.12); font-size: 12px; color: var(--sp-slate-300);
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
}
.sp-footer__legal a { color: var(--sp-slate-300); }
.sp-footer__legal a:hover { color: #fff; }
.sp-footer__legal-right { display: inline-flex; gap: 8px; align-items: center; }
.sp-footer__legal-right a { display: inline; padding: 0; }

@media (max-width: 880px) {
  .sp-footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .sp-footer__brand-row { flex-direction: column; gap: 14px; }
  .sp-footer__claim { text-align: center; }
  .sp-footer__legal { justify-content: center; text-align: center; }
}

/* ---------- Admin shell ---------- */
.sp-admin { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.sp-sidebar { background: var(--sp-slate); color: #fff; padding: 18px 14px; display: flex; flex-direction: column; }
.sp-sidebar__brand { display: flex; align-items: center; gap: 10px; padding: 4px 10px 16px; text-decoration: none; color: #fff; }
.sp-sidebar__brand img { height: 34px; }
.sp-sidebar__brand-name { font-family: var(--font-display); font-weight: 700; font-size: 14px; }
.sp-sidebar__brand-role { font-size: 11px; color: var(--sp-slate-300); }
.sp-sidebar__group { font-family: var(--font-display); font-weight: 700; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sp-slate-300); padding: 14px 10px 6px; }
.sp-sidebar a {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: var(--radius-sm);
  color: #fff; text-decoration: none; font-size: 14px;
  margin: 1px 0;
}
.sp-sidebar a:hover { background: rgba(255,255,255,0.06); }
.sp-sidebar a.active { background: var(--sp-blue-deep); color: #fff; }
.sp-sidebar__badge { background: var(--sp-green-500); color: #fff; font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: 10px; margin-left: auto; }
.sp-sidebar__user { padding: 4px 12px; font-size: 13px; color: var(--sp-slate-300); }
.sp-sidebar__logout { background: transparent; border: 1px solid rgba(255,255,255,0.2); color: #fff; padding: 6px 12px; border-radius: var(--radius-sm); font-size: 13px; cursor: pointer; width: 100%; text-align: left; }
.sp-sidebar__logout:hover { background: rgba(255,255,255,0.06); }

.sp-main { background: var(--bg-subtle); padding: 28px 36px; }
.sp-main__header { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 24px; gap: 16px; flex-wrap: wrap; }
.sp-main__title  { font-family: var(--font-display); font-weight: 700; font-size: 28px; color: var(--fg-1); margin: 0; }

.sp-stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.sp-stat { background: #fff; border-radius: var(--radius-md); border: 1px solid var(--border-subtle); padding: 18px; }
.sp-stat__label { font-size: 12px; color: var(--fg-3); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }
.sp-stat__value { font-family: var(--font-display); font-weight: 700; font-size: 32px; color: var(--fg-1); margin-top: 6px; }

.sp-table { width: 100%; background: #fff; border-radius: var(--radius-md); border: 1px solid var(--border-subtle); border-collapse: separate; border-spacing: 0; overflow: hidden; font-size: 14px; }
.sp-table th, .sp-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border-subtle); }
.sp-table th { background: var(--bg-subtle); font-weight: 600; font-size: 12px; color: var(--fg-2); text-transform: uppercase; letter-spacing: 0.04em; }
.sp-table tr:last-child td { border-bottom: none; }
.sp-table tr:hover td { background: var(--bg-subtle); }
.sp-table tfoot td { background: var(--bg-subtle); }

/* Empty state */
.sp-empty { padding: 40px 20px; text-align: center; color: var(--fg-3); background: var(--bg-subtle); border-radius: var(--radius-md); }

/* Room cards */
.sp-room-card__bar { height: 8px; }

/* Print */
@media print {
  .sp-sidebar, .sp-header, .sp-footer, .sp-main__header > .sp-row, .sp-btn { display: none !important; }
  body { background: #fff; }
  .sp-main { padding: 0; }
}

/* ---------- Donation bar ---------- */
.sp-donation-bar { margin-top: 18px; }
.sp-donation-bar__track {
  height: 14px; background: var(--sp-slate-100);
  border-radius: var(--radius-pill); overflow: hidden;
}
.sp-donation-bar__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--sp-green-500), var(--sp-green-700));
  transition: width 600ms var(--ease-out);
}
.sp-donation-bar__label {
  margin-top: 8px; font-size: 14px; color: var(--fg-2);
}
.sp-donation-bar__label strong { color: var(--sp-blue-deep); font-size: 16px; margin-right: 6px; }

/* ---------- Sports-week (Eröffnungswoche) ---------- */
.sp-sportsweek-day {
  background: #fff; border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle); padding: 24px 28px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}
.sp-sportsweek-day__head {
  display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap;
  border-bottom: 1px solid var(--border-subtle); padding-bottom: 14px; margin-bottom: 14px;
}
.sp-sportsweek-day__weekday {
  font-family: var(--font-display); font-weight: 700;
  font-size: 22px; color: var(--sp-blue-deep);
  text-transform: uppercase; letter-spacing: 0.04em;
}
.sp-sportsweek-day__date {
  font-size: 14px; color: var(--fg-3); font-weight: 600;
}
.sp-sportsweek-day__items { display: flex; flex-direction: column; gap: 0; }
.sp-sportsweek-item {
  display: grid; grid-template-columns: 90px 1fr auto; gap: 16px; align-items: center;
  padding: 12px 0; border-bottom: 1px dashed var(--border-subtle);
  text-decoration: none; color: var(--fg-1);
}
.sp-sportsweek-item:last-child { border-bottom: none; }
.sp-sportsweek-item:hover { background: var(--bg-subtle); border-radius: var(--radius-sm); padding-left: 8px; padding-right: 8px; }
.sp-sportsweek-item__time { font-family: var(--font-mono); font-weight: 600; color: var(--sp-slate); font-size: 15px; }
.sp-sportsweek-item__title { font-weight: 600; color: var(--fg-1); font-size: 16px; }
.sp-sportsweek-item__sub   { font-size: 13px; color: var(--fg-3); margin-top: 2px; }
.sp-sportsweek-item__cat   { justify-self: end; }
@media (max-width: 600px) {
  .sp-sportsweek-item { grid-template-columns: 70px 1fr; }
  .sp-sportsweek-item__cat { display: none; }
}

.sp-sportsweek-highlights {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px; margin-top: 24px;
}
.sp-sportsweek-highlight {
  background: var(--sp-blue-soft); border-radius: var(--radius-md);
  padding: 18px 20px; color: var(--sp-slate-700);
}
.sp-sportsweek-highlight__when { font-family: var(--font-mono); font-size: 12px; font-weight: 600; color: var(--sp-blue-deep); letter-spacing: 0.06em; text-transform: uppercase; }
.sp-sportsweek-highlight__title { font-family: var(--font-display); font-weight: 700; font-size: 18px; margin: 4px 0 0; color: var(--sp-slate); }

/* ---------- Vergangene Veranstaltungen ---------- */
.sp-section--past { background: var(--bg-subtle); }
.sp-past-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin-top: 24px; }
.sp-past-card {
  display: block; background: #fff;
  border-radius: var(--radius-md); overflow: hidden;
  text-decoration: none; color: inherit;
  border: 1px solid var(--border-subtle);
  transition: all var(--dur-base) var(--ease-out);
}
.sp-past-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.sp-past-card__image { height: 140px; background-size: cover; background-position: center; background-color: var(--sp-slate-200); }
.sp-past-card__body { padding: 14px 18px; }
.sp-past-card__date { font-family: var(--font-mono); font-size: 11px; color: var(--fg-3); letter-spacing: 0.04em; text-transform: uppercase; }
.sp-past-card__title { font-family: var(--font-display); font-weight: 700; font-size: 17px; margin: 4px 0 6px; line-height: 1.25; }
.sp-past-card__report-flag { display: inline-block; font-size: 11px; font-weight: 600; color: var(--sp-green-700); margin-top: 4px; }

.sp-event-report {
  background: var(--sp-blue-soft); border-radius: var(--radius-md);
  padding: 24px 28px; margin-top: 28px;
}
.sp-event-report h3 {
  font-family: var(--font-display); font-weight: 700; font-size: 20px;
  color: var(--sp-slate); margin: 0 0 12px;
}
.sp-event-report .sp-prose { color: var(--sp-slate-700); font-size: 16px; line-height: 1.7; max-width: none; }

/* ---------- Sticky Footer (Body als Flex-Container) ---------- */
body.is-public { display: flex; flex-direction: column; min-height: 100vh; }
body.is-public > main { flex: 1; }

/* Pending-Booking style (für FullCalendar) */
.fc-event.is-pending { opacity: 0.85; }
.fc-event.is-pending .fc-event-title::before { content: '⏳ '; }

/* Responsive */
@media (max-width: 880px) {
  .sp-admin { grid-template-columns: 1fr; }
  .sp-sidebar { position: sticky; top: 0; }
  .sp-form__grid { grid-template-columns: 1fr; }
  .sp-header__inner { flex-wrap: wrap; }
  .sp-header__logo img { width: 160px; }
  .sp-header__nav { width: 100%; order: 3; }
}
