.kursangebot-page {
  background: #fff;
}

.kursangebot-hero {
  position: relative;
  min-height: 277px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--white);

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

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

  background:
    linear-gradient(
      180deg,
      rgba(48, 34, 22, .45),
      rgba(91, 65, 42, .72)
    );
}

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

  width: min(100%, 520px);

  padding:
    78px 20px
    34px;

  text-align: center;
}

.kursangebot-hero__eyebrow {
  display: block;

  margin-bottom: 10px;

  font-family: var(--display);
  font-size: .9rem;
  font-weight: 500;

  letter-spacing: .11em;

  text-transform: uppercase;
}

.kursangebot-hero h1 {
  margin: 0;

  font-family: var(--display);

  font-size:
    clamp(
      2rem,
      7vw,
      3.1rem
    );

  font-weight: 600;

  line-height: 1.04;
}
.kursangebot-intro {
  padding:
    29px 15px
    28px;

  background: #fff;

  text-align: center;
}

.kursangebot-inner {
  width: min(100%, 660px);

  margin: 0 auto;
}

.kursangebot-eyebrow {
  display: block;

  margin-bottom: 12px;

  color: var(--red);

  font-family: var(--display);

  font-size: .83rem;

  font-weight: 600;

  letter-spacing: .14em;

  text-transform: uppercase;
}

.kursangebot-intro h2 {
  margin: 0;

  font-family: var(--display);

  font-size:
    clamp(
      2rem,
      7.5vw,
      2.8rem
    );

  font-weight: 600;

  line-height: 1.02;
}

.kursangebot-grid {
  padding:
    0 14px
    40px;

  background: #fff;
}

.kursangebot-inner--cards {
  display: grid;

  gap: 13px;
}

.kurs-card {
  position: relative;

  min-height: 450px;

  display: flex;

  align-items: flex-end;

  overflow: hidden;

  border-radius: 6px;

  color: #fff;

  background-position: center;
  background-size: cover;
}

.kurs-card--kids {
  background-image:
    url("../img/kinder-jugend.jpg");
}

.kurs-card--solo {
  background-image:
    url("../img/erwachsene-solo.jpg");
}

.kurs-card--paare {
  background-image:
    url("../img/erwachsene-paare.jpg");
}

.kurs-card--tanzsport {
  background-image:
    url("../img/tanzsport-teaser.jpg");
}


.kurs-card__shade {
  position: absolute;

  inset: 0;

  background:
    linear-gradient(
      180deg,
      rgba(46, 25, 5, .54),
      rgba(74, 47, 19, .78)
    );
}

.kurs-card--solo .kurs-card__shade,
.kurs-card--paare .kurs-card__shade {
  background:
    linear-gradient(
      180deg,
      rgba(139, 106, 68, .44),
      rgba(161, 126, 85, .76)
    );
}

.kurs-card--tanzsport .kurs-card__shade {
  background:
    linear-gradient(
      180deg,
      rgba(205, 157, 93, .30),
      rgba(218, 174, 111, .76)
    );
}


/* Karten-Inhalt */

.kurs-card__content {
  position: relative;

  z-index: 2;

  width: 100%;

  padding:
    28px 20px
    29px;

  text-align: center;
}

.kurs-card h3 {
  margin:
    0 0
    12px;

  font-family: var(--display);

  font-size: 2rem;

  font-weight: 600;

  line-height: 1;
}

.kurs-card a {
  display: inline-flex;

  align-items: center;

  gap: 14px;

  font-family: var(--display);

  font-size: 1rem;

  color: #fff;

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

.kurs-card a:hover {
  color: #fff;

  opacity: .86;

  transform:
    translateX(3px);
}

.kursangebot-studio {
  height: 250px;

  overflow: hidden;

  background: #ddd;
}

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

  object-fit: cover;

  object-position: center;
}

@media (min-width: 760px) {

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

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

    padding-top: 100px;
  }

  .kursangebot-intro {
    padding:
      65px 30px
      48px;
  }

  .kursangebot-inner--cards {
    max-width: 1180px;

    grid-template-columns:
      repeat(2, 1fr);

    gap: 18px;
  }

  .kurs-card {
    min-height: 430px;
  }

  .kursangebot-grid {
    padding:
      0 30px
      70px;
  }

  .kursangebot-studio {
    height: 430px;
  }

}

@media (min-width: 1100px) {

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

  .kursangebot-hero h1 {
    font-size: 3.8rem;
  }

  .kursangebot-intro h2 {
    font-size: 3rem;
  }

  .kursangebot-inner--cards {
    grid-template-columns:
      repeat(4, 1fr);
  }

  .kurs-card {
    min-height: 500px;
  }

  .kurs-card h3 {
    font-size: 2.1rem;
  }

  .kursangebot-studio {
    height: 520px;
  }

}
