/* =========================================================
   STUNDENPLAN UND TERMINE
   Nur seitenbezogene Styles.
   Header, Footer, Offcanvas, Variablen und Basisstyles
   kommen aus shared.css.
========================================================= */

.stundenplan-page {
  background: #fff;
}


/* =========================================================
   HERO
========================================================= */

.stundenplan-hero {
  position: relative;
  min-height: 385px;

  display: grid;
  place-items: center;

  overflow: hidden;

  color: var(--white);

  background:
    url("../img/hero.jpg")
    center 38% / cover no-repeat;
}

.stundenplan-hero__shade {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      180deg,
      rgba(49, 35, 23, .48),
      rgba(94, 67, 43, .72)
    );
}

.stundenplan-hero__content {
  position: relative;
  z-index: 2;

  width: min(100%, 560px);

  padding:
    105px 20px
    48px;

  text-align: center;
}

.stundenplan-hero__eyebrow {
  display: block;

  margin-bottom: 14px;

  font-family: var(--display);

  font-size: .98rem;
  font-weight: 500;

  letter-spacing: .11em;

  text-transform: uppercase;
}

.stundenplan-hero h1 {
  margin: 0;

  font-family: var(--display);

  font-size:
    clamp(
      2.25rem,
      8vw,
      3.6rem
    );

  font-weight: 600;

  line-height: 1.06;
}


/* =========================================================
   CONTENT / KALENDER
========================================================= */

.stundenplan-content {
  padding:
    58px 20px
    59px;

  background: #fff;
}

.stundenplan-inner {
  width: min(100%, 720px);

  margin: 0 auto;
}


/* Platzhalter wie im Screenshot */

.calendar-widget-placeholder {
  min-height: 796px;

  display: grid;
  place-items: center;

  background: #dedede;

  color: #2d2927;

  text-align: center;

  font-family: var(--display);

  font-size: 2rem;

  font-weight: 500;
}


/* roter Button */

.stundenplan-button {
  display: block;

  width: min(100%, 235px);

  margin:
    58px auto
    0;

  padding:
    13px 22px;

  border-radius: 999px;

  color: #fff;

  background: var(--red);

  text-align: center;

  font-family: var(--display);

  font-size: 1.12rem;

  font-weight: 500;

  transition:
    transform .2s ease,
    filter .2s ease;
}

.stundenplan-button:hover,
.stundenplan-button:focus-visible {
  color: #fff;

  transform:
    translateY(-2px);

  filter:
    brightness(1.06);
}


/* =========================================================
   STUDIO FOTO
========================================================= */

.stundenplan-studio {
  height: 300px;

  overflow: hidden;

  background: #ddd;
}

.stundenplan-studio img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  object-position: center;
}


/* =========================================================
   TABLET
========================================================= */

@media (min-width: 760px) {

  .stundenplan-hero {
    min-height: 520px;
  }

  .stundenplan-hero__content {
    width: min(100%, 760px);

    padding-top: 120px;
  }

  .stundenplan-content {
    padding:
      80px 30px
      75px;
  }

  .calendar-widget-placeholder {
    min-height: 760px;
  }

  .stundenplan-button {
    width: 260px;

    font-size: 1.2rem;
  }

  .stundenplan-studio {
    height: 430px;
  }

}


/* =========================================================
   DESKTOP
========================================================= */

@media (min-width: 1100px) {

  .stundenplan-hero {
    min-height: 620px;
  }

  .stundenplan-hero h1 {
    font-size: 4rem;
  }

  .stundenplan-inner {
    width: min(100%, 980px);
  }

  .calendar-widget-placeholder {
    min-height: 700px;
  }

  .stundenplan-studio {
    height: 520px;
  }

}
