/* ==================================================
   HIGHLIGHT-SEKTION: TIMETABLE & LINE-UP
   ================================================== */

/* Die Haupt-Sektion massiv als visuelles Highlight hervorheben */
.op-programm {
  margin: 60px -16px;
  padding: 40px 16px;
  position: relative;

  /* Radikaler Bruch mit dem restlichen Schwarz deiner Seite: 
     Ein großer, atmosphärischer roter Hintergrund-Glow zieht alle Blicke an */
  background: radial-gradient(
    circle at center,
    rgba(102, 6, 12, 0.25) 0%,
    rgba(0, 0, 0, 0) 75%
  );

  /* Leuchtende Signal-Trennlinien grenzen den Sendeplan unübersehbar ab */
  border-top: 2px solid rgba(102, 6, 12, 0.6);
  border-bottom: 2px solid rgba(102, 6, 12, 0.6);
}

/* Edler Desktop-Kasten mit Innen- und Außenleuchten */
@media (min-width: 768px) {
  .op-programm {
    margin: 80px 0;
    border-radius: 24px;
    border: 1px solid rgba(102, 6, 12, 0.4);
    background: radial-gradient(
      circle at center,
      rgba(102, 6, 12, 0.18) 0%,
      rgba(255, 255, 255, 0.01) 100%
    );
    box-shadow:
      0 20px 50px rgba(0, 0, 0, 0.6),
      inset 0 0 30px rgba(102, 6, 12, 0.15);
  }
}

/* Die bestehende Überschrift stark vergrößern und als Blickfang inszenieren */
.op-card__title {
  margin: 0;
  font-size: 24px; /* Vergrößert für maximale Wichtigkeit */
  font-weight: 900;
  color: #fff;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ==================================================
   NAVIGATION & TABS
   ================================================== */

.op-tabs-wrap {
  display: flex;
  align-items: center;
  position: relative;
  margin-bottom: 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--cardBorder);
  border-radius: 14px;
  padding: 4px;
}

.op-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  width: 100%;
  padding: 4px 0;
}

.op-tabs::-webkit-scrollbar {
  display: none;
}

.op-tabs-arrow {
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 24px;
  cursor: pointer;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
  z-index: 2;
}

.op-tabs-arrow:hover {
  color: #ff3344;
}

.op-tab {
  flex: 0 0 auto;
  background: transparent;
  border: none;
  border-radius: 10px;
  padding: 10px 16px;
  color: var(--muted);
  cursor: pointer;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 2px;
  transition: all 0.25s ease;
}

.op-tab span {
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.op-tab small {
  font-size: 11px;
  opacity: 0.6;
}

/* Aktiver ausgewählter Tag leuchtet intensiv rot */
.op-tab.is-active {
  background: var(--accent);
  color: #fff;
  box-shadow:
    0 0 20px rgba(102, 6, 12, 0.7),
    0 4px 10px rgba(0, 0, 0, 0.5);
}

.op-tab-panel {
  display: none;
  animation: opFadeIn 0.4s ease forwards;
}

.op-tab-panel.is-active {
  display: block;
}

@keyframes opFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==================================================
   EVENT CONTENT CARDS
   ================================================== */

.op-card {
  background: var(--card);
  border: 1px solid var(--cardBorder);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
}

.op-card__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  border-bottom: 1px solid var(--cardBorder);
  padding-bottom: 16px;
  margin-bottom: 20px;
}

.op-pill {
  background: rgba(255, 255, 255, 0.1);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* ==================================================
   ZEITSTRAHL / TIMELINE
   ================================================== */

.op-list {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
}

.op-list::before {
  content: "";
  position: absolute;
  left: 52px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: rgba(255, 255, 255, 0.1);
}

.op-item {
  display: flex;
  gap: 20px;
  margin-bottom: 24px;
}

.op-item:last-child {
  margin-bottom: 0;
}

.op-item__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 65px;
  flex-shrink: 0;
}

.op-time {
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
}

.op-dot {
  width: 10px;
  height: 10px;
  background: #444;
  border-radius: 50%;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 0 4px var(--bg);
}

.op-dot--accent {
  background: #ff3344;
  box-shadow:
    0 0 0 4px var(--bg),
    0 0 10px #ff3344;
}

.op-text {
  flex-grow: 1;
}

.op-text strong {
  display: block;
  font-size: 15px;
  color: #fff;
  margin-bottom: 4px;
}

.op-sub {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
}

/* ==================================================
   HINWEISBOX (WM-SPIELPLAN / INFOBOX)
   ================================================== */

.op-note-box {
  margin-top: 35px;
  background: rgba(255, 51, 68, 0.04);
  border: 1px dashed rgba(255, 51, 68, 0.3);
  border-radius: 14px;
  padding: 24px;
}

.op-note-box__title {
  display: block;
  font-size: 16px;
  color: #fff;
  margin-bottom: 14px;
}

.op-note-box p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 12px 0;
}

.op-note-box p:last-of-type {
  margin-bottom: 0;
}

.op-note-box p strong {
  color: #ff3344;
}

/* Footer-Bereich mit Call-to-Action und Social Media */
.op-note-box__footer {
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.op-note-box__cta {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  opacity: 0.9;
}

/* Zentrierung der Icons speziell in der Hinweisbox */
.op-note-box .social-icons-row-promo {
  justify-content: center;
}

/* Mobil-Optimierung für kleine Displays */
@media (max-width: 480px) {
  .op-note-box {
    padding: 16px;
    margin-top: 25px;
  }
  .op-note-box__footer {
    margin-top: 20px;
    padding-top: 16px;
  }
}

/* ==================================================
   ANKER SCROLL ANIMATION
   ================================================== */

html {
  scroll-behavior: smooth;
}

/* Optionales Styling, damit der Link oben im Header gut aussieht: */
.timetable-anchor-link {
  display: inline-block;
  margin-top: 15px;
  color: var(--text);
  text-decoration: underline;
  font-weight: bold;
  font-size: 15px;
  opacity: 0.9;
  transition: opacity 0.2s;
}

.timetable-anchor-link:hover {
  opacity: 1;
  color: #fff;
}

/* ==================================================
   SPONSORING SECTION
   ================================================== */

.op-text--sponsor {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.op-sponsor {
  text-align: right;
  flex-shrink: 0;
}

.op-sponsor-label {
  display: block;
  font-size: 10px;
  opacity: 0.5;
  margin-bottom: 4px;
}

.op-sponsor img {
  height: 32px;
  width: auto;
  object-fit: contain;
  /* Filter wurde komplett entfernt: Logo erstrahlt in Echtfarben */
}

/* ==================================================
   RESPONSIVE DESIGN (MOBIL)
   ================================================== */

@media (max-width: 480px) {
  .op-card {
    padding: 16px;
  }
  .op-card__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .op-card__title {
    font-size: 19px; /* Passt sich auf Handys harmonisch an */
  }
  .op-list::before {
    left: 42px;
  }
  .op-item__meta {
    width: 55px;
    gap: 8px;
  }
  .op-text--sponsor {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .op-sponsor {
    text-align: left;
  }
}
