/* ============================================================
   BOOKING CALENDAR STYLES
   ============================================================ */

.booking-page {
  min-height: 100vh;
  background: var(--color-black);
  padding-top: 100px;
}

.booking-header {
  text-align: center;
  padding: var(--section-padding) 0 60px;
  background: var(--color-charcoal);
  border-bottom: 1px solid rgba(201, 169, 110, 0.1);
}

.booking-notice {
  background: rgba(201, 169, 110, 0.07);
  border: 1px solid rgba(201, 169, 110, 0.2);
  padding: 20px 32px;
  margin-top: 40px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.booking-notice__icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.booking-notice__text {
  font-size: 0.82rem;
  color: var(--color-gold);
  letter-spacing: 0.05em;
}

/* --- CALENDAR --- */
.calendar-wrap {
  background: var(--color-charcoal);
  padding: 48px;
  border-top: 2px solid var(--color-gold);
  max-width: 720px;
  margin: 0 auto;
}

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}

.calendar-nav-btn {
  background: none;
  border: 1px solid rgba(201, 169, 110, 0.2);
  color: var(--color-gold);
  width: 44px;
  height: 44px;
  cursor: pointer;
  font-size: 1.1rem;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.calendar-nav-btn:hover {
  background: rgba(201, 169, 110, 0.1);
  border-color: var(--color-gold);
}

.calendar-month-year {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--color-white);
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 8px;
}

.calendar-weekday {
  text-align: center;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-light-grey);
  padding: 8px;
}

.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.calendar-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 400;
  color: #e8e4de;
  background: rgba(255,255,255,0.04);
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
  border: 1px solid rgba(255,255,255,0.06);
}

.calendar-day:hover:not(.disabled):not(.booked):not(.past):not(.before-opening) {
  border-color: var(--color-gold);
  color: var(--color-gold);
  background: rgba(201, 169, 110, 0.08);
}

.calendar-day.available {
  color: #f0ece6;
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.08);
}

/* Reserviert (Bestätigt) — sichtbar markiert, aber noch wählbar */
.calendar-day.reserved {
  color: var(--color-gold);
  background: rgba(201, 169, 110, 0.1);
  border-color: rgba(201, 169, 110, 0.4);
  cursor: pointer;
}

/* Kleines "R"-Label unten im Tag */
.calendar-day.reserved::after {
  content: 'R';
  position: absolute;
  bottom: 3px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-gold);
  opacity: 0.85;
  font-family: var(--font-sans);
}

/* Hover auf reservierten Tagen */
.calendar-day.reserved:hover {
  background: rgba(201, 169, 110, 0.2);
  border-color: rgba(201, 169, 110, 0.7);
  color: #f5f3ef;
}

/* Wenn reserviert UND ausgewählt */
.calendar-day.reserved.selected {
  background: var(--color-gold);
  color: #0a0a0a !important;
  border-color: var(--color-gold);
}

.calendar-day.reserved.selected::after {
  color: rgba(10, 10, 10, 0.6);
}

.calendar-day.selected {
  background: var(--color-gold);
  color: #0a0a0a !important;
  font-weight: 600;
  border-color: var(--color-gold);
}

.calendar-day.booked {
  color: rgba(248, 113, 113, 0.5);
  background: rgba(248, 113, 113, 0.06);
  border-color: rgba(248, 113, 113, 0.15);
  cursor: not-allowed;
  text-decoration: line-through;
}

.calendar-day.booked::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(220, 80, 80, 0.5);
}

.calendar-day.today {
  border-color: rgba(201, 169, 110, 0.6);
  color: var(--color-gold);
  font-weight: 600;
  background: rgba(201, 169, 110, 0.07);
}

.calendar-day.past,
.calendar-day.disabled {
  color: rgba(200, 196, 190, 0.28);
  background: transparent;
  border-color: transparent;
  cursor: not-allowed;
}

.calendar-day.before-opening {
  color: rgba(200, 196, 190, 0.3);
  background: rgba(255,255,255,0.015);
  border-color: rgba(255,255,255,0.04);
  cursor: not-allowed;
  position: relative;
}

.calendar-day.before-opening::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 3px,
    rgba(201, 169, 110, 0.04) 3px,
    rgba(201, 169, 110, 0.04) 6px
  );
}

.calendar-legend {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-top: 32px;
  flex-wrap: wrap;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--color-light-grey);
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.legend-dot--available  { background: var(--color-white); }
.legend-dot--reserved   { background: rgba(201, 169, 110, 0.5); border: 1px solid var(--color-gold); }
.legend-dot--selected   { background: var(--color-gold); }
.legend-dot--booked     { background: rgba(220, 80, 80, 0.5); }
.legend-dot--restricted {
  background: transparent;
  border: 1px solid rgba(201, 169, 110, 0.3);
}

/* --- BOOKING FORM --- */
.booking-form-section {
  padding: 80px 0;
  background: var(--color-black);
}

.booking-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.selected-date-display {
  background: rgba(201, 169, 110, 0.07);
  border: 1px solid rgba(201, 169, 110, 0.2);
  padding: 20px 28px;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.selected-date-display__label {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-light-grey);
  margin-bottom: 6px;
}

.selected-date-display__value {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--color-gold);
}

@media (max-width: 768px) {
  .booking-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .calendar-wrap {
    padding: 24px 16px;
  }
}
