/* =========================================================
   STARTSEITE
   Nur startseitenspezifische Styles.
   shared.css muss davor eingebunden werden.
========================================================= */

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(rgba(31, 26, 22, 0.12), rgba(31, 26, 22, 0.12)),
    url("../img/mainSlider.jpg") center 28% / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 18, 16, 0.17), rgba(28, 23, 18, 0.36));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100%, 620px);
  padding: 58px 24px 30px;
  text-align: center;
}

.brand--hero {
  margin-top: 2vh;
  margin-bottom: 42px;
}

.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2rem, 7.4vw, 3.25rem);
  font-weight: 600;
  line-height: 1.06;
}

.hero p {
  margin: 24px 0 0;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 400;
}

.scroll-cue {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 25px;
  color: var(--gold);
  font-size: 1rem;
}

.scroll-cue span {
  width: 1px;
  height: 42px;
  background: currentColor;
}

.offer {
  padding: 38px 16px 34px;
  background: var(--cream);
}

.section-heading {
  max-width: 660px;
  margin: 0 auto 28px;
  text-align: center;
}

.eyebrow {
  display: block;
  margin-bottom: 12px;
  color: var(--red);
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.section-heading h2 {
  margin: 0 0 20px;
  font-family: var(--display);
  font-size: clamp(1.85rem, 6.8vw, 2.65rem);
  font-weight: 600;
  line-height: 1.02;
}

.section-heading p {
  margin: 0;
  font-family: var(--display);
  font-size: 1.12rem;
  line-height: 1.2;
}

.cards {
  display: grid;
  gap: 12px;
  max-width: 660px;
  margin: 0 auto;
}

.offer-card {
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  border-radius: 6px;
  color: var(--white);
  background-position: center;
  background-size: cover;
}

.offer-card--sport { background-image: url("../img/tanzsport-teaser.jpg"); }
.offer-card--wellbeing { background-image: url("../img/tanzen-fuer-dich.jpg"); }
.offer-card--private { background-image: url("../img/privat-individuell.jpg"); }

.offer-card__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(75, 44, 13, 0.2), rgba(91, 57, 24, 0.66));
}

.offer-card:nth-child(2) .offer-card__shade {
  background: linear-gradient(180deg, rgba(119, 92, 59, 0.25), rgba(150, 118, 78, 0.66));
}

.offer-card:nth-child(3) .offer-card__shade {
  background: linear-gradient(180deg, rgba(195, 145, 79, 0.22), rgba(210, 165, 102, 0.7));
}

.offer-card__content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 34px 24px 28px;
  text-align: center;
}

.offer-card h3 {
  margin: 0 0 12px;
  font-family: var(--display);
  font-size: 1.75rem;
  font-weight: 600;
}

.offer-card p {
  max-width: 340px;
  margin: 0 auto 20px;
  font-family: var(--display);
  font-size: 1.12rem;
  line-height: 1.25;
}

.offer-card a {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--display);
  font-size: 0.95rem;
}

.button-stack {
  display: grid;
  gap: 12px;
  max-width: 290px;
  margin: 32px auto 0;
}

.pill-button {
  padding: 13px 18px;
  border-radius: 999px;
  color: var(--white);
  background: var(--red);
  text-align: center;
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 500;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.pill-button:hover,
.pill-button:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.studio-photo {
  height: 245px;
  overflow: hidden;
}

.studio-photo img {
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (min-width: 760px) {
  .hero { min-height: 820px; }

  .offer { padding: 70px 30px 60px; }

  .cards {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1180px;
  }

  .offer-card { min-height: 470px; }
  .studio-photo { height: 430px; }
}
