.images-diagmed-3 {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.images-diagmed-3 .content-wrapper {
    width: 100%;
    height: 42.5rem;
    position: relative;
}
.images-diagmed-3 .content-wrapper .background {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}
.images-diagmed-3 .content-wrapper .background > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.images-diagmed-3 .content-wrapper .front {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: end;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    height: 100%;
    z-index: 10;
    padding: 0 0 3rem;
    background-image: linear-gradient(
        rgba(255, 255, 255, 0) 60%,
        white 80%,
        white 100%
    );
}
.images-diagmed-3 .content-wrapper .front .upper-headline {
    color: #ff0202;
    font-size: 1.5rem;
    line-height: 2rem;
    text-align: center;
    font-weight: 500;
}
.images-diagmed-3 .content-wrapper .front .headline {
    color: #343434;
    font-size: 4rem;
    line-height: 4rem;
    text-align: center;
    font-weight: 500;
}

@media (max-width: 96.5rem) {
    .images-diagmed-3 .content-wrapper {
        width: 100%;
        height: 74.625rem;
    }
    .images-diagmed-3 .content-wrapper .front {
        gap: 1.5rem;
        width: 100%;
        height: 100%;
        padding: 0 6rem 10rem;
        background-image: linear-gradient(
            rgba(255, 255, 255, 0) 60%,
            white 80%,
            white 100%
        );
    }
    .images-diagmed-3 .content-wrapper .front .upper-headline {
        font-size: 1.5rem;
        line-height: 2rem;
        font-weight: 500;
    }
    .images-diagmed-3 .content-wrapper .front .headline {
        font-size: 4rem;
        line-height: 4rem;
        font-weight: 500;
    }
}
@media (max-width: 43.75rem) {
    .images-diagmed-3 .content-wrapper {
        height: 53.25rem;
    }
    .images-diagmed-3 .content-wrapper .front {
        gap: 0.5rem;
        padding: 0 1.25rem 8.75rem;
        background-image: linear-gradient(
            rgba(255, 255, 255, 0) 60%,
            white 80%,
            white 100%
        );
    }
    .images-diagmed-3 .content-wrapper .front .upper-headline {
        font-size: 1rem;
        line-height: 1.5rem;
        font-weight: 400;
    }
    .images-diagmed-3 .content-wrapper .front .headline {
        font-size: 2rem;
        line-height: 2rem;
        font-weight: 600;
    }
}
