.teaserimage--5 .component__content {
  position: relative;
}

.teaserimage--5 .swiper-slide {
  align-self: stretch;
  height: auto;
}

.teaserimage--5 .teaserimage__item {
  height: 100%;
  background-color: var(--clr-white);
  transform: scale(0.9);
  transition: 600ms;
}

.teaserimage--5 .swiper-slide-active .teaserimage__item {
  transform: scale(1);
}

.teaserimage--5 .teaserimage__image {
  grid-column: 1 / 2;
  grid-row: 1 / span 4;
}

.teaserimage--5 .teaserimage__title,
.teaserimage--5 .teaserimage__text {
  grid-column: 2 / -1;
  padding-inline: 2.75rem;
}

.teaserimage--5 .teaserimage__title {
  font-family: var(--ff-heading);
  font-weight: var(--fw-regular);
  font-size: clamp(2.5rem, 2.374vw + 1.645rem, 4rem);
  line-height: clamp(2.5rem, 2.374vw + 1.645rem, 4rem);
  color: var(--clr-secondary);
  padding-block-start: 2.75rem;
  text-transform: uppercase;
}

.teaserimage--5 .teaserimage__title p {
  font-family: var(--ff-heading);
  font-weight: var(--fw-regular);
  font-size: 1.75rem;
  line-height: 2rem;
  color: var(--clr-tertiary);
  text-transform: uppercase;
}

.teaserimage--5 .teaserimage__text {
  font-size: clamp(0.8889rem, calc(0.8164rem + 0.3342vw), 1.1111rem);
  padding-block-start: 1rem;
}

.teaserimage--5 .teaserimage__image > * {
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background-color: var(--clr-tertiary);
}

.teaserimage--5 .teaserimage__text > * + * {
  margin-block-start: 1em;
}

.teaserimage--5 .swiper-wrapper {
  margin-block-start: 3rem;
}

.teaserimage--5 .swiper-button-prev,
.teaserimage--5 .swiper-button-next {
  --swiper-theme-color: var(--clr-white);
  --swiper-navigation-size: 2.5rem;

  top: 0;
  bottom: auto;

  width: var(--swiper-navigation-size);
  height: var(--swiper-navigation-size);
  margin-top: unset;
  background-color: var(--clr-secondary);

  transition:
    color 600ms ease,
    background-color 600ms ease;
}

.teaserimage--5 .swiper-button-prev {
  left: auto;
  right: 2.5rem;
}

.teaserimage--5 .swiper-button-next {
  right: 0;
}

.teaserimage--5 .swiper-button-next:after,
.teaserimage--5 .swiper-button-prev:after {
  font-size: 1.25rem;
}

.teaserimage--5 .swiper-button-prev:hover,
.teaserimage--5 .swiper-button-next:hover {
  --swiper-theme-color: var(--clr-secondary);
  background-color: var(--clr-white);
}

.teaserimage--5 .swiper-horizontal > .swiper-pagination-bullets,
.teaserimage--5 .swiper-pagination-bullets.swiper-pagination-horizontal,
.teaserimage--5 .swiper-pagination-custom,
.teaserimage--5 .swiper-pagination-fraction {
  bottom: auto;
  top: 0;
}

.teaserimage--5 .swiper-pagination {
  display: flex;
  gap: 0.25rem;
  text-align: left;
}

.teaserimage--5 .swiper-horizontal > .swiper-pagination-bullets .swiper-pagination-bullet,
.teaserimage--5 .swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {
  margin: unset;
  height: auto;
}

.teaserimage--5 .swiper-pagination-bullet {
  --swiper-pagination-bullet-width: 100%;
  --swiper-pagination-bullet-height: 6px;
  --swiper-pagination-bullet-border-radius: 0;
  --swiper-pagination-color: transparent;
  --swiper-pagination-bullet-inactive-opacity: 1;
  --swiper-pagination-bullet-inactive-color: transparent;

  font-weight: var(--fw-bold);
  color: var(--clr-tertiary);
  text-transform: uppercase;
}

.teaserimage--5 .swiper-pagination-bullet::after {
  --swiper-pagination-bullet-inactive-color: var(--clr-tertiary);
  content: '';
  display: block;
  width: var(--swiper-pagination-bullet-width);
  height: var(--swiper-pagination-bullet-height);
  background: var(--swiper-pagination-bullet-inactive-color);
}

.teaserimage--5 .swiper-pagination-bullet-active {
  color: var(--clr-secondary);
}

.teaserimage--5 .swiper-pagination-bullet-active::after {
  --swiper-pagination-bullet-inactive-color: var(--clr-secondary);
  background: var(--swiper-pagination-bullet-inactive-color);
}

.teaserimage--5 .swiper-pagination {
  position: static;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.teaserimage--5 .swiper-pagination-bullets {
  display: flex;
  gap: 0.25rem;
  flex-wrap: nowrap;
  width: max-content;
  min-width: 100%;
}

.teaserimage--5 .swiper-pagination-bullet {
  flex: 1 0 auto;
  min-width: max-content;
  width: auto;
}

@media (max-width: 1199px) {
  .teaserimage--5 .teaserimage__item {
    display: flex;
    flex-direction: column;
  }
  .teaserimage--5 .teaserimage__text {
    margin-block-end: 2.75rem;
  }
  .teaserimage--5 .teaserimage__link {
    margin-inline: 2.75rem;
    margin-block-start: auto;
    margin-block-end: 2.75rem;
    align-self: flex-start;
  }
  .teaserimage--5 .swiper-pagination-bullet {
    flex: 0 1 calc(100% / var(--p-length, 1));
    transition: flex 600ms ease;
  }
  .teaserimage--5 .swiper-pagination-bullet-active {
    flex: 1 1 100%;
  }
}

@media (max-width: 767px) {
  .teaserimage--5 .teaserimage__title {
    padding-block-start: 3rem;
    padding-inline: 2rem;
  }
  .teaserimage--5 .teaserimage__text {
    padding-inline: 2rem;
  }
  .teaserimage--5 .teaserimage__link {
    margin-inline: 2rem;
    margin-block-end: 3rem;
    align-self: auto;
    justify-content: space-between;
  }
}

@media (max-width: 575px) {
  .teaserimage--5 .teaserimage__title {
    padding-block-start: 2rem;
    padding-inline: 2rem;
  }
  .teaserimage--5 .teaserimage__text {
    padding-inline: 2rem;
  }
  .teaserimage--5 .teaserimage__link {
    margin-inline: 2rem;
    margin-block-end: 2rem;
  }
}

@media (min-width: 1200px) {
  /*
  .teaserimage--5 .component__content {
    grid-column: 2 / -1;
  }
  */

  .teaserimage--5 .teaserimage__item {
    display: grid;
    grid-template-columns: 1fr 2fr;
  }

  .teaserimage--5 .teaserimage__item,
  .teaserimage--5 .teaserimage__image {
    height: 624px;
  }

  .teaserimage--5 .teaserimage__image > * {
    aspect-ratio: 3 / 4;
  }

  .teaserimage--5 .teaserimage__link {
    grid-column: 2 / -1;
    position: absolute;
    left: 2.75rem;
    bottom: 2.75rem;
  }

  .teaserimage--5 .swiper-wrapper {
    align-items: center;
  }
  .teaserimage--5 .swiper-button-prev,
  .teaserimage--5 .swiper-button-next {
    --swiper-navigation-size: 4.125rem;
    top: 50%;
    bottom: auto;
  }
  .teaserimage--5 .swiper-button-prev {
    left: 2.5rem;
  }
  .teaserimage--5 .swiper-button-next {
    right: 2.5rem;
  }
  .teaserimage--5 .swiper-button-next:after,
  .teaserimage--5 .swiper-button-prev:after {
    font-size: 1.75rem;
  }
  .teaserimage--5 .teaserimage__items::after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    z-index: 1;
    width: 150px;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
  }

  .teaserimage--5 .teaserimage__text {
    position: relative;
    overflow-y: auto;
  }
  /*
  .teaserimage--5 .teaserimage__text::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 25%;
    background: linear-gradient(0deg, var(--clr-white) 0%, rgba(255, 255, 255, 0) 100%);
  }
  */

  .teaserimage--5 .swiper-pagination-bullets {
    gap: 1.25rem;
  }
}
