@import url('styles-base.css');

/* Wohnung OG: echtes Foto statt grafischer Fläche */
.visual-wood {
  background-image: linear-gradient(0deg, rgba(20,30,25,.35), rgba(20,30,25,.05)), url('wohnung-a/WhatsApp%20Image%202026-08-25%20at%2020.56.39aa.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.visual-wood:before,
.visual-wood:after {
  content: none;
}

/* Studio EG: echtes Foto statt grafischer Fläche */
.visual-sage {
  background-image: linear-gradient(0deg, rgba(20,30,25,.35), rgba(20,30,25,.05)), url('studio-b/bild-b-01.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.visual-sage:before,
.visual-sage:after {
  content: none;
}

/* Mehr Luft zwischen einer Bildergruppe und der nächsten Überschrift */
#bilder .gallery + h3 {
  margin-top: 56px;
}

/* Belegungskalender */
.availability-section {
  background: var(--paper);
}
.calendar-toolbar {
  max-width: 950px;
  margin: 0 auto 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}
.calendar-toolbar button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--cream);
  color: var(--ink);
  font-size: 22px;
  cursor: pointer;
  border-radius: 50%;
}
.calendar-toolbar button:disabled {
  opacity: .35;
  cursor: default;
}
.calendar-toolbar strong {
  min-width: 190px;
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-size: 25px;
}
.calendar-grid-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 950px;
  margin: auto;
}
.calendar-card {
  border: 1px solid var(--line);
  background: var(--cream);
  padding: 28px;
}
.calendar-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  margin: 0 0 20px;
}
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 7px;
}
.calendar-weekday {
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: #718078;
  padding-bottom: 6px;
}
.calendar-day {
  aspect-ratio: 1;
  min-height: 36px;
  display: grid;
  place-items: center;
  border-radius: 4px;
  font-size: 12px;
  background: #ebe6dc;
  border: 1px solid transparent;
}
.calendar-day.available {
  background: #dbe7d8;
  color: #274b3e;
  border-color: #bfd0bb;
}
.calendar-day.occupied {
  background: #ead1c8;
  color: #7d3824;
  border-color: #d8aa9a;
}
.calendar-day.unknown {
  background: #ede9e1;
  color: #596961;
  border-color: #ddd6ca;
}
.calendar-day.past {
  opacity: .3;
}
.calendar-day.empty {
  background: transparent;
  border: 0;
}
.calendar-note {
  margin: 16px 0 0;
  font-size: 12px;
  color: #66766e;
}
.calendar-legend {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 24px;
  font-size: 11px;
  color: #66766e;
}
.calendar-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.calendar-legend i {
  width: 13px;
  height: 13px;
  display: inline-block;
  border-radius: 3px;
}
.calendar-legend .legend-free { background: #dbe7d8; border: 1px solid #bfd0bb; }
.calendar-legend .legend-busy { background: #ead1c8; border: 1px solid #d8aa9a; }
.calendar-legend .legend-open { background: #ede9e1; border: 1px solid #ddd6ca; }
.availability-hint {
  max-width: 760px;
  margin: 25px auto 0;
  text-align: center;
  color: #66766e;
  font-size: 12px;
}

@media (max-width: 700px) {
  #bilder .gallery + h3 {
    margin-top: 38px;
  }
  .calendar-grid-wrap {
    grid-template-columns: 1fr;
  }
  .calendar-card {
    padding: 22px 16px;
  }
  .calendar-day {
    min-height: 32px;
  }
}
