/**
 * @todo avoid so much repetitive code
 */
.teasercardWrapper {
  max-width: 460px;
  display: flex;
  justify-content: end;
}
.teasercardWrapper .text-content-teaser-card {
  padding: 1rem 1rem 4rem 1rem;
}
.teasercardWrapper .text-content-teaser-card h2 {
  font-size: 1.875rem;
  font-weight: 600;
}
.teasercardWrapper .text-content-teaser-card p:first-of-type {
  line-height: 0.5;
  font-size: 20px;
  color: #131313;
  margin-bottom: 1rem !important;
}
.teasercardWrapper .text-content-teaser-card p {
  font-size: 1rem;
  font-weight: 400;
  width: 99%;
  margin: 0 auto 2.5rem;
}
.teasercardWrapper .text-content-teaser-card a {
  background-color: var(--color-contrast);
  color: white;
  padding: 1rem 1.875rem;
  border: solid 2px var(--color-contrast);
}
.teasercardWrapper .text-content-teaser-card a:hover {
  background: white;
  color: var(--color-contrast);
  border: solid 2px var(--color-contrast);
}

section.in-slide-context:has(.teasercardWrapper) header {
  opacity: 0;
  transform: translateX(50%);
  transition: all 2s;
}
section.in-slide-context:has(.teasercardWrapper) h1 {
  font-size: 4.8rem;
  font-weight: 700;
  color: white;
  text-shadow: 0 3px 26px rgba(0, 0, 0, 0.4117647059);
  margin-bottom: 0 !important;
}
@media screen and (max-width: 1299px) {
  section.in-slide-context:has(.teasercardWrapper) h1 {
    font-size: 3.5rem;
    transform: none;
  }
  section.in-slide-context:has(.teasercardWrapper) p.h3 {
    transform: none;
  }
}
section.in-slide-context:has(.teasercardWrapper) p.h3 {
  color: white !important;
  font-size: 3rem;
  text-align: center !important;
  font: normal normal bold 54px/57px Barlow;
  letter-spacing: -0.54px;
  text-shadow: 0 3px 26px rgba(0, 0, 0, 0.4117647059);
  opacity: 1;
}
@media screen and (max-width: 800px) {
  section.in-slide-context:has(.teasercardWrapper) h1 {
    font-size: 3.5rem;
  }
  section.in-slide-context:has(.teasercardWrapper) p.h3 {
    font-size: 2.4rem !important;
  }
}
section.in-slide-context:has(.teasercardWrapper) .base-container .base-grid {
  display: flex;
}
section.in-slide-context:has(.teasercardWrapper) .base-container .base-grid .colpos-501 {
  display: flex;
  justify-content: end;
  align-items: center;
}
section.in-slide-context:has(.teasercardWrapper) .base-container .base-grid .colpos-502 .in-slide-context .base-container .teasercardWrapper .teasercard-image-container {
  background-size: cover;
  height: max(20vw, min(40vw, 600px));
  background-repeat: no-repeat;
  width: 100%;
  max-width: 450px;
  display: flex;
  justify-content: center;
  align-items: end;
  text-align: center;
  box-shadow: 0 0 40px 17px rgba(0, 0, 0, 0.2);
  position: absolute;
  top: 12%;
  left: 71.5%;
}
@media (max-width: 768px) {
  section.in-slide-context:has(.teasercardWrapper) .base-container .base-grid .colpos-502 .in-slide-context .base-container .teasercardWrapper .teasercard-image-container {
    left: 50%;
    transform: translateX(-50%);
  }
}
@media screen and (max-width: 650px) {
  section.in-slide-context:has(.teasercardWrapper) .base-grid {
    gap: 0 !important;
  }
}

@media screen and (max-width: 1300px) {
  .teasercardWrapper {
    display: none;
  }
}
.teasercard-image-container {
  background-size: cover;
  height: max(20vw, min(40vw, 600px));
  background-repeat: no-repeat;
  width: 100%;
  max-width: 450px;
  display: flex;
  justify-content: center;
  align-items: end;
  text-align: center;
  box-shadow: 0 0 40px 17px rgba(0, 0, 0, 0.2);
  position: absolute;
  top: 12%;
  left: 71.5%;
  z-index: 100;
}

@media (max-width: 768px) {
  .teasercard-image-container {
    left: 50%;
    transform: translateX(-50%);
  }
}
.teasercard-image-container {
  background-size: cover;
  height: max(20vw, min(40vw, 500px));
  background-repeat: no-repeat;
  width: 100%;
  max-width: 400px;
  display: flex;
  justify-content: center;
  align-items: end;
  text-align: center;
  box-shadow: 0 0 40px 17px rgba(0, 0, 0, 0.2);
  position: absolute;
  top: 12%;
  left: 71.5%;
  z-index: 100;
}

@media screen and (max-width: 1750px) {
  .teasercard-image-container {
    transform: scale(0.8);
  }
}
.teasercard-text-dark-background {
  background-color: #343c43;
  padding: 15px;
  margin-bottom: 30px;
  color: #ffffff;
}

.teasercard-text-light-background {
  background-color: #ffffff;
  padding: 15px;
  margin-bottom: 30px;
  color: #343c43;
}
/*# sourceMappingURL=teasercard.css.map */
