/* ================================
   Kalender – clean & übersichtlich
   ================================ */

.what-do-you { padding: 60px 0; }
.what-do-you .whatdoyou-heading h2 { letter-spacing: .2px; }
.what-do-you .whatdoyou-heading p { opacity: .9; line-height: 1.5; }

/* =========================
   Header über dem Kalender
   ========================= */
.calendar-header{
  margin: 0 auto 25px auto;
  text-align: center;
  max-width: 980px;
}
.calendar-header h2{
  margin: 0 0 8px 0;
  font-weight: 800;
  letter-spacing: .2px;
}
.calendar-subtitle{
  margin: 0 0 12px 0;
  opacity: .85;
  color: white;
}
.calendar-range{
  margin-top: 10px;
  opacity: .75;
  font-size: 13px;
  color: white;
}

/* Navigation */
.calendar-nav{
  display:flex;
  gap:10px;
  margin-top: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.calendar-nav .btn-custom{
  padding: 10px 14px;
  border-radius: 999px;
}

/* =========================
   Legende
   ========================= */
.calendar-legend{
  margin-top: 12px;
  display: inline-block;
  padding: 10px 12px;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 10px;
  background: rgba(255,255,255,.65);
}
.calendar-legend .legend-item{
  display: inline-flex;
  align-items: center;
  margin: 4px 10px;
  font-size: 13px;
  white-space: nowrap;
}
.legend-dot{
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 8px;
  border: 1px solid rgba(0,0,0,.15);
}
.legend-available{ background: rgba(32, 201, 151, 0.75); }   /* mint/grün */
.legend-unavailable{ background: #e5e5e5; }                  /* grau */
.legend-today{ background: #f1c40f; }                        /* gelb */
.legend-past{ background: #cfcfcf; }                         /* blass */

/* =========================
   Zentrierter Kalenderbereich
   ========================= */
.calendar-center{
  display: flex;
  justify-content: center;
}
.calendar-grid-wrap{
  width: 100%;
  max-width: 1100px;            /* zentriert + nicht zu breit */
  display: grid;
  grid-template-columns: repeat(4, minmax(240px, 1fr));
  gap: 18px;
}

/* Responsives Grid */
@media (max-width: 1200px) {
  .calendar-grid-wrap { grid-template-columns: repeat(3, minmax(240px, 1fr)); }
}
@media (max-width: 992px) {
  .calendar-grid-wrap { grid-template-columns: repeat(2, minmax(220px, 1fr)); }
}
@media (max-width: 576px) {
  .calendar-grid-wrap { grid-template-columns: 1fr; }
}

/* =========================
   Monatsboxen (Cards)
   ========================= */
.calendar-box{
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
  backdrop-filter: blur(6px);
}

/* Monatstitel */
.calendar-month-title{
  padding: 14px 16px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  background: rgba(255,255,255,0.75);
}
.calendar-month-title h3{
  margin: 0;
  font-size: 18px;
  font-weight: 800;
}
.calendar-month-title h3 span{
  font-weight: 700;
  opacity: .6;
}

/* =========================
   Kalender-Grid im Monat
   ========================= */
.calendar-grid{ padding: 14px 14px 16px 14px; }

/* Wochentage */
.cal-week{
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin-bottom: 6px;
}
.cal-week .dow{
  font-size: 12px;
  text-align: center;
  opacity: .55;
  font-weight: 800;
}

/* Tage */
.cal-days{
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.cal-empty{
  height: 36px;
  background: transparent;
  border: 0;
}

/* Tageszelle */
.cal-day{
  height: 36px;
  border-radius: 10px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size: 13px;
  background: rgba(0,0,0,0.02);
  border: 1px solid rgba(0,0,0,0.06);
  transition: transform .08s ease, box-shadow .12s ease, background .12s ease;
}

.cal-day span{
  opacity: .85;
  font-weight: 700;
}

.cal-day a{
  width: 100%;
  height: 100%;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  font-weight: 900;
}

/* Verfügbar */
.cal-day.available{
  background: rgba(32, 201, 151, 0.14);
  border-color: rgba(32, 201, 151, 0.35);
}
.cal-day.available:hover{
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.08);
  background: rgba(32, 201, 151, 0.20);
}

/* Heute */
.cal-day.today{
  border-color: rgba(241, 196, 15, 0.55);
  background: rgba(241, 196, 15, 0.16);
}
.cal-day.today a,
.cal-day.today span{
  font-weight: 900;
}

/* Vergangenheit */
.cal-day.past{
  opacity: 0.35;
}
.cal-day.past a,
.cal-day.past span{
  pointer-events: none;
  cursor: default;
}

/* =========================
   Tagesansicht im Modal
   ========================= */
.dayview{ padding: 18px; }
.dayview h3{ margin-top: 0; font-weight: 900; }

.slot{
  display:flex;
  justify-content:space-between;
  align-items:center;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 14px;
  padding: 12px 14px;
  margin: 10px 0;
  background: rgba(0,0,0,0.02);
}
.slot strong{ font-weight: 900; }

/* =========================
   Mobile Optimierung
   ========================= */
@media (max-width: 576px){
  .calendar-nav .btn-custom{
    width: 100%;
    text-align:center;
  }
  .calendar-legend{
    display:block;
  }
  .calendar-legend .legend-item{
    margin: 6px 10px 0 0;
  }
}

@media (max-width: 360px){
  .cal-empty{ height: 30px; }
  .cal-day{ height: 30px; }
  .cal-day a, .cal-day span{ font-size: 11px; }
}


/* =========================
   Kalender – Überschrift
   ========================= */
.calendar-title-wrap{
  text-align: center;
  margin-bottom: 36px;
}

.calendar-title{
  color: #ffffff;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: .4px;
  margin: 0 0 14px 0;
  font-family: 'Merienda One', cursive;
}

/* Divider mit Logo */
.calendar-title-divider{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 14px;
}

.calendar-title-divider .line{
  width: 90px;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    #d0ae5e,
    transparent
  );
  opacity: .9;
}

/* Logo mittig */
.calendar-title-logo{
  height: 88px;
  width: auto;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.4));
}

/* Untertitel */
.calendar-title-sub{
  color: rgba(255,255,255,.75);
  font-size: 15px;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.5;
}

/* =========================
   Responsive Feinschliff
   ========================= */
@media (max-width: 767px){
  .calendar-title{
    font-size: 26px;
  }

  .calendar-title-divider .line{
    width: 50px;
  }

  .calendar-title-logo{
    height: 34px;
  }

  .calendar-title-sub{
    font-size: 14px;
  }
}
