.assets-card {
  overflow: hidden;
}

.assets-card__outer {
  height: 100%;
  overflow: hidden;
  position: relative;
  border-radius: 24px;
  border-top-right-radius: 0;
  padding-top: 54px;
  position: relative;
}
.assets-card__outer::before {
  content:'';
  display: block;
  position: absolute;
  top: 1px;
  right: 0;
  background: url('../../images/assets-card/assets-card--shape-mobile.svg');
  width: 178px;
  height: 54px;
}
.assets-card__wrapper {
  height: 100%;
  padding: 24px 16px;
  background-color: var(--color-neutral--light-grey);
  flex: 1 0 100%;
  height: 100%;
  border-top-left-radius: 24px;
}
.assets-card__inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}
.assets-card__headline {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.assets-card__headline p {
  margin: 0;
}
.assets-card .assets-card__title {
  color: var(--color-neutral--grey);
  font-weight: 800;

  font-size: 35px;
  line-height: 130%;
  max-width: 251px;
}
.assets-card .assets-card__title,
.assets-card .assets-card__text {
  position: relative;
  z-index: 2;
}
.assets-card__image-wrapper {
  position: absolute;
  z-index: 1;
}

.assets-card:first-child .assets-card__image-wrapper {
  top: 0;
  right: -55px;
  transform: rotate(-39deg);
  max-width: 300px;
}

.assets-card:nth-child(2) .assets-card__image-wrapper {
  width: 500px;
  transform: rotate(135deg);
  right: -150px;
}

.assets-card:nth-child(3) .assets-card__image-wrapper {
  right: -250px;
  transform: rotate(-87deg);
  width: 638px;
  top: 17%;
}





@media all and (min-width: 1000px) {
  .assets-card {
    flex: unset;
  }
  .assets-card__outer {
    border-top-right-radius: 24px;
    padding: 0;
  }
  .assets-card__outer::before {
    content: none;
  }
  .assets-card__wrapper {
    padding: 24px 38px 24px 54px;
  }
  .assets-card__inner {
    justify-content: unset;
  }
  .assets-card__headline {
    gap: 34px;
  }
  .assets-card .assets-card__title {
    max-width: unset;
  }
  .assets-card .assets-card__text p {
    font-size: 14px;
    font-weight: 400;
    line-height: 160%;
  }

  .assets-card:not(:first-child) {
    width: calc(50% - 12px);
  }
  .assets-card:not(:first-child) .assets-card__title {
    font-size: 64px;
    line-height: 120%;
  }


  .assets-card:first-child {
    width: 100%;
    max-height: 545px;
  }
  .assets-card:first-child .assets-card__inner {
    padding-top: 10.2rem;
    display: flex;
    justify-content: space-between;
    flex-direction: row;
  }
  .assets-card:first-child .assets-card__image-wrapper {
    width: 590px;
    height: 437px;
    left: 51%;
    transform: translateX(-50%);
    bottom: 0;
    z-index: 1;
    max-width: unset;
    top: unset;
    right: unset;
  }
  .assets-card:first-child .assets-card__title {
    font-size: 89px;
    line-height: 110%;
    min-width: 462px;
    max-width: 462px;
  }
  .assets-card:first-child .assets-card__text {
    padding-left: 1rem;
    transform: translateY(-150px);
    max-width: 240px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    height: calc(100% + 10.2rem);
    justify-content: center;
  }
  .assets-card:first-child .assets-card__text p {
    font-size: 13px;
    margin: 0;
  }


  .assets-card:nth-child(2) .assets-card__wrapper {
    padding: 22px 27px 52px 27px;
  }
  .assets-card:nth-child(2) .assets-card__image-wrapper {
    left: -224px;
    top: -35px;
    z-index: 1;

    width: unset;
    transform: rotate(0);
    right: -unset;
  }
  .assets-card:nth-child(2) .assets-card__title {
    font-size: 59px;
  }
  .assets-card:nth-child(2) .assets-card__text {
    max-width: 378px;
    padding-right: 9px;
  }


  .assets-card:nth-child(3) .assets-card__wrapper {
    padding: 46px 27px 52px 29px;
  }
  .assets-card:nth-child(3) .assets-card__image-wrapper {
    right: -223px;
    bottom: -135px;
    z-index: 1;

    transform: rotate(0);
    width: unset;
    top: unset;
  }
  .assets-card:nth-child(3) .assets-card__title {
    line-height: 100%;
  }
  .assets-card:nth-child(3) .assets-card__title span {
    font-size: 48px;
    line-height: 120%;
    display: block;
  }
  .assets-card:nth-child(3) .assets-card__text {
    max-width: 255px;
  }






}

@media all and (min-width: 1250px) {
  .assets-card:first-child .assets-card__text {
    padding-left: 0;
  }


  .assets-card:nth-child(2) .assets-card__wrapper {
    padding: 22px 27px 52px 106px;
  }
  .assets-card:nth-child(2) .assets-card__title {
    font-size: 64px;
  }
}
