/* Gemeinsame Bausteine beider Websites: Terminzeile, Knöpfe, Hilfsklassen. Farben kommen aus den Marken-Variablen. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 120px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.5 var(--font-text); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.wrap { width: min(100% - 32px, var(--width)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border: 0; border-radius: var(--radius-btn); background: var(--accent); color: var(--on-accent); font: 800 14px/1 var(--font-head); letter-spacing: .04em; text-transform: uppercase; text-decoration: none; cursor: pointer; max-width: 100%; text-align: center; }
.btn:hover { background: var(--accent-strong); }
.btn--ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.btn--ghost:hover { background: var(--surface-2); }

.events { list-style: none; margin: 0; padding: 0; }
.event { display: grid; grid-template-columns: 76px 1fr auto; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.event:last-child { border-bottom: 0; }
.event__date { display: grid; justify-items: center; padding: 8px 4px; border-radius: 10px; background: var(--surface-2); line-height: 1.1; }
.event__dow, .event__mon { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.event__day { font: 900 30px/1.1 var(--font-head); }
.event__body { min-width: 0; }
.event__body p { margin: 0; }
.event__title { font-size: 13px; font-weight: 700; color: var(--accent-text); letter-spacing: .02em; }
.event__title a, .event__city a { text-decoration: none; }
.event__title a:hover, .event__city a:hover { text-decoration: underline; }
.event__city { font: 800 20px/1.25 var(--font-head); overflow-wrap: anywhere; }
.event__venue { color: var(--muted); overflow-wrap: anywhere; }
.event__meta { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; font-weight: 700; font-size: 14px; }
.event--off .event__city, .event--off .event__day { text-decoration: line-through; text-decoration-thickness: 2px; }
.badge { padding: 2px 8px; border-radius: 999px; background: var(--surface-2); font-size: 12px; font-weight: 700; }
.badge--bad { background: var(--bad-bg); color: var(--bad); }
.badge--warn { background: var(--warn-bg); color: var(--warn); }
@media (max-width: 520px) {
  .event { grid-template-columns: 54px minmax(0, 1fr) auto; gap: 12px; }
  .event .btn { padding: 0 14px; font-size: 13px; }
  .event__day { font-size: 24px; }
  .event__mon { font-size: 10px; letter-spacing: .02em; }
  .event__city { font-size: 18px; }
}

/* Das hidden-Attribut gilt immer, auch wenn eine Klasse display setzt. */
[hidden] { display: none !important; }
