/* ============================================================
   KALENDER.CSS – Styles für den Vereinskalender
   ============================================================ */

/* Kategorie-Filter */
.category-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem;
  margin: 1.5rem 0 2.5rem;
}

.btn-filter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .5rem 1rem;
  border-radius: 9999px;

  /* leicht glasiger Hintergrund, bleibt bewusst neutral */
  background: rgba(255,255,255,.1);

  /* Textfarbe hängt an der globalen Textfarbe,
     passt sich also deiner Theme-Studio-"Textfarbe" an */
  color: var(--theme-text-color, #ffffff);

  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .25s ease;
}

.btn-filter:hover {
  background: var(--cat-color, rgba(255,255,255,.2));
  border-color: var(--cat-color, var(--yellow));
  transform: translateY(-2px);
}

.btn-filter.active {
  background: var(--cat-color, var(--yellow));
  /* für bestmöglichen Kontrast lassen wir hier explizit Schwarz */
  color: #000;
  border-color: var(--cat-color, var(--yellow));
}

.color-dot {
  width: .8rem;
  height: .8rem;
  border-radius: 50%;
  margin-right: .4rem;
  background: var(--cat-color, #fff);
}

/* Hervorhebung im Kalender */
.highlight {
  border-left: 8px solid var(--yellow) !important;
  transform: scale(1.02);
  animation: pulse 2s infinite;
  box-shadow: 0 0 25px rgba(232,255,58,.6);
}

@keyframes pulse {
  0%,100% { box-shadow:0 0 15px rgba(232,255,58,.4); }
  50% { box-shadow:0 0 35px rgba(232,255,58,1); }
}

/* Buttons unten */
.calendar-buttons {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: center;
}

.calendar-buttons a {
  background: var(--yellow);
  color: var(--green-dark);
  padding: .4rem .8rem;
  border-radius: .5rem;
  font-weight: 600;
  text-decoration: none;
  font-size: .9rem;
  transition: .3s ease;
}

.calendar-buttons a:hover {
  background: #fff75f;
  transform: translateY(-2px);
}
