.hero-section {
  width: 100%;
}

.hero-media {
  width: 100%;
  height: 500px;
  max-height: 500px;
  overflow: hidden;
}

.hero-bg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.75);
}

.hero_content_wrap {
  max-width: 1250px;
  margin: 0 auto;
  margin-bottom: 80px;
  padding: 40px 44px 0;
}

.hero_content {
  color: #002e2d;
  text-align: left;
}

.hero_content h1 {
  display: inline-block;
  margin: 0 0 20px;
}

.hero_content h1 .hero_oval {
  color: var(--mh-menu-highlight, #e5306a);
  font-weight: 600;
  font-size: 64px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  background: none;
  padding: 0;
  border-radius: 0;
  margin-left: 0;
  display: block;
  white-space: nowrap;
}

body.mh-highlight-senior .hero_content h1 .hero_oval {
  color: #b3c13d;
}

body.mh-highlight-junior .hero_content h1 .hero_oval {
  color: #2f8d89;
}

body.mh-highlight-foerderer .hero_content h1 .hero_oval {
  color: #666865;
}

.hero_content h1 .hero_oval:nth-child(2) {
  margin-left: 90px;
}

.hero_content h1 .hero_oval:nth-child(3) {
  margin-left: 145px;
}

.hero_content h1 .hero_oval:nth-child(4) {
  margin-left: 180px;
}

.hero_infotext {
  font-size: 22px;
  line-height: 30px;
  font-weight: 400;
  color: #002e2d;
  margin-top: 10px;
  margin-bottom: 32px;
  max-width: 700px;
}

.hero_infotext ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hero_infotext li {
  position: relative;
  padding-left: 44px;
  margin-bottom: 16px;
}

.hero_infotext li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 32px;
  height: 32px;
  background-image: url('check.svg');
  background-size: contain;
  background-repeat: no-repeat;
}

.hero_button {
  background-color: #ffeb00;
  padding: 16px 32px;
  border-radius: 8px;
  text-decoration: none;
  margin-bottom: 16px;
  display: inline-block;
  font-weight: 600;
  color: #002e2d;
  font-size: 22px;
  line-height: 30px;
  border: 1px solid #c8beb9;
  background: linear-gradient(90deg, #ffffffe3 82%, #f1e2fe00 100%);
  box-shadow: 0 4px 20px 4px #f1e2fe00;
  cursor: pointer;
  transition: transform 0.15s ease-in-out;
  background-size: 200% 100%;
  background-position: 15% 50%;
}

.hero_button:hover {
  opacity: 0.8;
}

.hero_button_infotext {
  font-size: 14px;
  line-height: 20px;
  color: #002e2d;
}

.hero_logo_image.hero_oval {
  background: linear-gradient(270deg, #e5306a 88%, #e5306a 100%);
  padding: 28px 60px;
  border-radius: 160px;
  margin-top: 28px;
  margin-left: auto;
  display: table;
  box-shadow: 0 4px 24px 0 rgba(0, 0, 0, 0.25);
}

.hero_logo_image.hero_oval img {
  height: 110px;
  width: auto;
}

@media only screen and (max-width: 920px) {
  .hero-media {
    height: 600px;
    max-height: 600px;
  }

  .hero_content_wrap {
    padding: 28px 24px 20px;
  }

  .hero_content h1 {
    margin-bottom: 24px;
  }

  .hero_content h1 .hero_oval {
    padding: 0;
    font-size: 34px;
    line-height: 1.15;
    box-shadow: none;
  }

  .hero_content h1 .hero_oval:nth-child(2) {
    margin-left: 30px;
  }

  .hero_infotext {
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 24px;
  }

  .hero_infotext li {
    padding-left: 36px;
  }

  .hero_infotext li::before {
    width: 24px;
    height: 24px;
    background-image: url('check_mobile.svg');
  }

  .hero_button {
    font-size: 18px;
    line-height: 24px;
    margin-left: auto;
    margin-right: auto;
    display: table;
  }

  .hero_button_infotext {
    text-align: center;
  }

  .hero_logo_image.hero_oval {
    padding: 18px 36px;
    border-radius: 120px;
    margin-right: auto;
  }

  .hero_logo_image.hero_oval img {
    height: 80px;
  }
}

@media only screen and (max-width: 400px) {
  .hero_content h1 .hero_oval:nth-child(2) {
    margin-left: 20px;
  }
}

@media only screen and (max-width: 365px) {
  .hero_content_wrap {
    padding: 24px 16px 16px;
  }

  .hero_content h1 .hero_oval:nth-child(2) {
    margin-left: 12px;
  }
}
