main .immersive-teaser-container {
  padding: 0;
  margin: 0;
  margin-bottom: -1px;
  width: 100%;
  background-color: var(--tertiary-white);
}

main .immersive-teaser-container>div {
  padding: 0;
  padding-bottom: 20px;
  margin: 0;
  width: 100%;
  max-width: inherit;
  background-color: #18171a;
  clip-path: polygon(80% 16px, 84% 0px, 100% 0%, 100% 100%, 0% 100%, 0% 16px);
  margin-top: -20px;
}

.block.immersive-teaser:not([data-block-status='loaded'])  {
  @media (width >= 768px) { 
    min-height: 487px;
  }
}

.immersive-teaser:not([data-aue-model]) {
  .immersive__wrapper:not(.bottom-variation) {
    @media (width >= 768px) {
      height: calc(601px - 114px);
      min-height: 487px;

      .immersive__image {
        display: flex;
        align-items: center;
        height: 100%;
      }
    }
    @media (width >= 1200px) {
      height: calc(100vh - 64px);
      min-height: 700px;
    }

    @media (width >= 1920px) {
      .immersive__content {
        align-items: start;
        padding-top: 193px;
      }
      .immersive__image {
        width: 80%;
      }
    }
  }
}

.immersive__wrapper {
  text-align: center;
  color: white;
  display: flex;
  flex-direction: column;
  position: relative;

  .immersive__image {
    order: 2;
    position: relative;
    padding-bottom: 0;

    img {
      width: 100%;
      display: block;
      object-fit: cover;
      height: auto;
    }

    &::before {
      content: '';
      width: 100%;
      height: 100%;
      position: absolute;
      top: 0;
      left: 0;
      background: transparent;
    }
  }

  .immersive__content {
    order: 1;
    padding: 5rem 1.25rem 2rem;
    background-color: #18171a;
    text-align: left;

    position: absolute;
    top: 0;
    z-index: 1;
    background-color: transparent;

    .immersive__title {
      color: white;
      margin: 0;
      font-size: var(--heading-font-6-mob);
      font-family: var(--body-heading-font-family);
      font-weight: var(--keplar-fw-700);
      line-height: var(--heading-lh-1--mob-display);
      letter-spacing: 0.64px;
      word-wrap: break-word;
      text-align: left;

      @media(width >=1024px) {
        font-size: var(--heading-font-4-des);
        line-height: var(--heading-lh-3-des-display);
        max-width: 436px;
      }
    }

    .immersive__subtitle {
      margin-top: 12px;
      color: white;
      font-size: 16px;
      font-family: var(--font-primary-nexa);
      font-weight: 500;
      line-height: 20px;
      word-wrap: break-word;
      text-align: left;
    }

    .immersive__description {
      margin-top: 12px;
      width: 100%;
    }

    .immersive__description p {
      margin: 0;
      color: white;
      font-size: 14px;
      font-family: var(--font-primary-nexa);
      font-weight: 400;
      line-height: 20px;
      word-wrap: break-word;
      text-align: left;

      @media(width >=1024px) {
        font-size: var(--body-font-size-s);
        line-height: 24px;
      }
    }
  }

  .teaser-wrapper {
    order: 3;
  }

  &::after {
    order: 4;
  }
}

.immersive__wrapper .banner-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
}

.immersive__wrapper .immersive__content .immersive__action {
  display: inline-flex;
  align-items: center;
  margin-top: 32px;

  .cta__new-primary {
    padding-inline: 20px;

    &::after {
      display: none;
    }

    @media (width >=768px) {
      padding: 0 28px;
    }
  }
}

.immersive__wrapper .light-teaser.teaser-wrapper {
  padding: 24px;
  background: #18171a;

  .teaser__card {
    padding: 20px 20px 32px;
    position: relative;
    margin-top: -60px;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 96px) calc(100% - 16px), calc(100% - 108px) 100%, 0 100%);

    .teaser__content {
      display: block;

      .teaser__pretitle {
        margin-bottom: 48px;

        p {
          font-size: 12px;
          font-weight: 300;
          line-height: 20px;
        }
      }

      .teaser__title {
        width: 75%;

        .teaser__title-text {
          font-size: 14px;
          font-weight: 500;
          line-height: 18px;
          word-wrap: break-word;
        }
      }
    }

    .teaser__actions {
      position: absolute;
      width: max-content;
      top: 0;
      right: 0;
    }
  }
}

main .immersive-teaser-container>div:has(.bottom-variation) {
  clip-path: none;
  margin-top: 0;
  padding-bottom: 0;
}

.left-seperator::after {
  content: '';
  width: 100%;
  display: block;
  height: 25px;
  background-color: #18171a;
  clip-path: polygon(0 100%, 30% 100%, 32% 0, 100% 0, 100% 100%, 0 100%);
  position: relative;
  margin-top: -12px;
}

@media (width >=768px) {
  main .immersive-teaser-container {
    background-color: var(--tertiary-light-grey);
  }

  main .immersive-teaser-container>div {
    padding-bottom: 24px;
    clip-path: polygon(81% 20px, 82% 0px, 100% 0%, 100% 100%, 0% 100%, 0% 20px);
    margin-top: -22px;
  }

  .immersive__wrapper {
    position: relative;
    display: block;
    background: #18171a;
  }

  .immersive__wrapper .immersive__image {
    width: 80%;
    height: auto;
    margin-left: auto;

    img {
      height: 100%;
      object-fit: cover;
      object-position: bottom;
    }

    &::before {
      background: linear-gradient(90deg, #18171a 25%, transparent 40%), linear-gradient(170deg, #18171a 25%, transparent 40%),
        linear-gradient(0deg, #18171a 0%, transparent 25%);
    }
  }

  .immersive__wrapper .immersive__content {
    position: absolute;
    top: 0;
    left: 0;
    background-color: transparent;
    padding: 0;
    padding-left: 4rem;
    width: 55%;
    height: 100%;
    display: flex;
    align-items: center;

    .immersive_content_wrapper {
      display: flex;
      flex-direction: column;

      .immersive__title {
        letter-spacing: 0.72px;
      }

      .immersive__subtitle {
        font-size: 1.315rem;
        font-weight: 500;
        line-height: 1.5rem;
      }

      .immersive__description {
        width: 100%;
        margin-top: 1rem;
        margin-bottom: 96px;
        max-width: 27.25rem;
      }

      .immersive__description p {
        font-weight: 300;
      }

      .immersive__action {
        margin-top: 0;
      }
    }
  }

  .immersive__wrapper .light-teaser.teaser-wrapper {
    position: absolute;
    padding: 0;
    bottom: 64px;
    right: 64px;
    width: 45.25%;
    min-height: 33.5%;
    background-color: transparent;

    .teaser__card {
      padding: 32px 32px 64px;
      margin-top: 0;
      backdrop-filter: blur(10px);
      clip-path: polygon(0 0, 100% 0, 100% calc(100% - 24px), 62% calc(100% - 24px), calc(62% - 25px) 100%, 0 100%);

      .teaser__content {
        .teaser__pretitle {
          margin-bottom: 48px;

          p {
            font-size: 14px;
            font-weight: 400;
            line-height: 20px;
          }
        }

        .teaser__title {
          .teaser__title-text {
            font-size: 24px;
            font-weight: 500;
            line-height: 32px;
          }
        }

        .teaser__description {
          p {
            font-size: 18px;
            font-weight: 400;
            line-height: 24px;
          }
        }
      }
    }
  }
}

@media (width >=1200px) {
  .immersive__wrapper .immersive__content {
    padding-left: 56px;

    .immersive_content_wrapper {
      .immersive__title {
        font-size: var(--heading-font-4-des);
        line-height: var(--heading-lh-3-des-display);
        letter-spacing: 1.28px;
        max-width: 27.25rem;
      }

      .immersive__subtitle {
        font-size: 1.5rem;
        font-weight: 500;
        line-height: 2.5rem;
      }

      .immersive__description p {
        font-size: 1.125rem;
        line-height: 1.5rem;
        margin-bottom: 96px;
      }
    }
  }
}

.bottom-variation {
  &.immersive__wrapper {
    height: 377px;
    background: var(--gradient-2);

    @media (width >=768px) {
      height: 432px;
    }

    @media (width >=1024px) {
      height: 486px;
    }

    .immersive__content {
      position: absolute;
      bottom: 0;
      top: auto;
      background-color: transparent;
      padding: 58px 20px 30px;
      width: 100%;

      @media (width >=768px) {
        width: 316px;
        padding: 0 0 40px 56px;
        align-items: flex-end;
      }

      @media (width >=1024px) {
        width: 100%;
        padding: 0 56px 56px;
      }

      .immersive__title {
        font-size: var(--heading-font-17-des);
        line-height: var(--heading-lh-16-des-display);
        font-weight: var(--keplar-fw-700);
        color: var(--tertiary-white);
        letter-spacing: 0.48px;

        @media (width >=768px) {
          font-size: 1.5rem;
          max-width: inherit;
          padding-right: 0;
          width: 316px;
        }

        @media (width >=1024px) {
          width: 538px;
          max-width: 538px;
          font-size: var(--heading-font-4-des);
          line-height: var(--heading-lh-3-des-display);
          letter-spacing: 1.28px;
        }

        @media (width >=1920px) {
          width: 584px;
          max-width: 584px;
        }
      }

      .immersive__description {
        margin-top: 24px;

        @media (width >=768px) {
          width: 100%;
          margin-bottom: 0;
        }

        @media (width >=1024px) {
          width: 399px;
          margin-top: 0;
        }

        @media (width >=1920px) {
          width: 584px;
        }

        p {
          font-size: 0.75rem;
          font-weight: var(--fw-400);
          line-height: 1rem;

          @media (width >=1024px) {
            font-size: 1.125rem;
            font-weight: var(--fw-300);
            line-height: 1.5rem;
            margin-bottom: 0;
          }
        }
      }
    }

    .immersive__image {
      order: inherit;
      padding-bottom: 0;

      @media (width >=768px) {
        width: 100%;
      }

      &::before {
        background: linear-gradient(0deg, #18171a 20%, rgba(24, 23, 26, 0) 60%);

        @media (width >=1024px) {
          background: linear-gradient(0deg, #18171a 30%, rgba(24, 23, 26, 0) 55%);
        }
      }

      img {
        height: 235px;
        object-fit: cover;
        object-position: center;

        @media (width >=768px) {
          height: 432px;
        }

        @media (width >=1024px) {
          height: 486px;
        }
      }
    }

    .immersive_content_wrapper {
      @media (width >=1024px) {
        width: 100%;
      }
    }

    .immersive_content_textContainer {
      @media (width >=768px) {
        width: 316px;
      }

      @media (width >=1024px) {
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        width: 100%;
      }
    }
  }
}
