/* Container */
.heimspielplan-responsive {
  width: 100%;
  overflow-x: hidden;
}

/* Monatsblock */
.month-block {
  margin-bottom: 1.5rem;
  border-radius: 6px;
  background-color: #f2f2f2; /* gleiches Grau wie Footer */
  overflow: hidden;
}

/* Monatskopf */
.month-header {
  background-color: #f2f2f2;
  color: #000;
  font-weight: 600;
  cursor: pointer;
  padding: 0.6rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.2s ease-in-out;
}
.month-header:hover {
  background-color: #e5e5e5;
}

/* Pfeil */
.month-toggle {
  font-size: 1rem;
}

/* Tabelleninhalt */
.month-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease;
  opacity: 0;
  background: #fff;
}
.month-content.open {
  max-height: 2000px; /* ausreichend groß, damit ganze Tabelle sichtbar wird */
  opacity: 1;
}

/* Tabellenoptik */
.heimspielplan-table thead th {
  background-color: #ff6501 !important;
  color: #fff !important;
  white-space: nowrap;
}

.heimspielplan-table .highlight-row {
  background-color: rgba(255, 101, 1, 0.08);
  font-weight: 700;
}

/* Mobile */
@media (max-width: 768px) {
  .heimspielplan-table td, 
  .heimspielplan-table th {
    font-size: 0.9rem;
    padding: 0.4rem;
  }

  .month-header {
    font-size: 1rem;
    padding: 0.5rem 0.8rem;
  }
}
