.calendar-wrapper {
  display: flex;
  gap: 2rem;
}
.calendar-header {
  text-align: center;
  margin-bottom: 0.5rem;
}
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 40px);
  gap: 4px;
}
.day {
  padding: 8px;
  text-align: center;
  border: 1px solid #ccc;
  cursor: default;
}
.day.active {
  background: #f0f0f0;
  cursor: pointer;
}
.day.active:hover {
  background: #ddd;
}
.timeslot-box {
  min-width: 200px;
}
.timeslot-btn {
  display: block;
  margin: 0.5rem 0;
  width: 100%;
  padding: 0.5rem;
}

.calendar-container {
  max-width: 100%;
  border: 1px solid #ddd;
  background: #fff;
  padding: 1rem;
  border-radius: .5rem;
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.calendar-header h5 {
  margin: 0;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: .5rem;
  text-align: center;
}

.calendar-day {
  padding: .75rem;
  border-radius: .25rem;
  cursor: pointer;
  border: 1px solid transparent;
  user-select: none;
}

.calendar-day.today {
  background: #f3f3f3;
  font-weight: bold;
}

.calendar-day.booked {
  background: #eee;
  color: #aaa;
  cursor: not-allowed;
}

.calendar-day.available:hover {
  background: #e9f5ff;
  border-color: #0d6efd;
}

.calendar-day.selected {
  background: #0d6efd;
  color: #fff;
  font-weight: bold;
}

.time-slots {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.time-slot {
  padding: .5rem 1rem;
  background: #f8f9fa;
  border-radius: .25rem;
  border: 1px solid #ced4da;
  cursor: pointer;
  transition: 0.2s;
}

.time-slot:hover {
  background: #e9f5ff;
  border-color: #0d6efd;
}

.time-slot.selected {
  background: #0d6efd;
  color: white;
  border-color: #0d6efd;
}

/* Standard etwas kleiner als das Bootstrap-h4 */
.month-title { font-size: 1.4rem; line-height: 1.2; }

/* Auf kleinen Screens noch kleiner + einzeilig */
@media (max-width: 576px) {
  .month-title { font-size: 1.1rem; }
  .calendar-nav .btn { padding-top: .35rem; padding-bottom: .35rem; }
}