/* Ergänzungen zum bestehenden Wochenraster und zu den mobilen Tageskarten. */
h1 { overflow-wrap: anywhere; hyphens: auto; }
.program-intro { margin: 14px 0 0; max-width: 64rem; color: var(--muted); line-height: 1.55; }
.day-nav { display: none; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
.day-nav a { display: flex; gap: 5px; align-items: center; justify-content: center; min-height: 44px; padding: 10px 13px; border-radius: 12px; background: #16315e; color: #fff; text-decoration: none; font-weight: 750; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.slot-column { width: 108px; }
.programm th.day-header { background: #2b395b; padding: 16px 8px; }
.day-header span { font-size: .92rem; font-weight: 600; }
.programm td { vertical-align: top; background: rgba(238,245,255,.8); padding: 12px 9px 18px; }
.programm .time-slot { background: #fff; font-size: .82rem; letter-spacing: .02em; padding: 12px 6px; }
.cell-content { display: grid; gap: 16px; }
.programm-button, .mobile-button, .info-pill { flex-direction: column; gap: 7px; min-width: 0; overflow-wrap: anywhere; }
.programm-button { padding: 15px 10px; min-height: 94px; }
.event-time { font-size: .9em; font-weight: 800; }
.event-name { font-size: 1.02em; font-weight: 850; line-height: 1.25; }
.event-summary { font-size: .85em; line-height: 1.4; font-weight: 600; }
.event-place { font-size: .8em; font-weight: 700; line-height: 1.4; }
.event-option { font-size: .74em; padding: 3px 9px; border-radius: 999px; background: #16315e; color: #fff; letter-spacing: .02em; }
.choice-label { margin: 3px 0 0; font-size: .86rem; line-height: 1.4; font-weight: 750; text-align: center; color: #16315e; }
.choice-or { margin: -6px 0; font-size: .85rem; text-align: center; color: #2d4478; }
.empty-slot { display: block; padding: 15px 0; color: #66728b; font-weight: 500; }
.day-card { scroll-margin-top: 16px; }
.slot-content { padding-bottom: 8px; }
.note { line-height: 1.55; }
.note a { color: #1146ab; text-underline-offset: 3px; }
a:focus-visible { outline: 3px solid #16315e; outline-offset: 4px; }
.programm-button:focus-visible, .mobile-button:focus-visible { outline: 3px solid #16315e; outline-offset: 4px; }
.legend-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.site-footer__title { white-space: normal; }
@media (max-width: 1100px) {
  .desktop-programm { display: none; }
  .mobile-programm { display: block; }
  .day-nav { display: flex; }
  .mobile-days { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .slot { grid-template-columns: 1fr; }
  .slot-label { width: max-content; max-width: 100%; }
}
@media (max-width: 820px) {
  .mobile-days { grid-template-columns: 1fr; }
  .legend-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .day-nav { gap: 7px; }
  .day-nav a { flex: 1 1 44px; padding: 10px 5px; }
  .day-nav a span { display: none; }
  .legend-grid { grid-template-columns: 1fr; }
  .mobile-button { padding: 15px 14px; }
  .info-pill { padding: 14px; }
}
@media print {
  .day-nav { display: none; }
  .desktop-programm { display: block; }
  .mobile-programm { display: none; }
  .note { display: block; font-size: 9pt; }
  .slot-column { width: 65px; }
  .programm th, .programm td { padding: 6px; font-size: 9pt; }
  .programm-button { min-height: 0; padding: 7px 4px; }
  .cell-content { gap: 8px; }
  .day-header span { font-size: 8pt; }
}
