/* Keep the artwork at its native size; fade the extra space, not the text. */
body.dpw-site .dp-app-page[data-dp-app-root="hero"] .dph-hero.dph-hero {
    position: relative;
    isolation: isolate;
    background: #040405 !important;
}
.dpw-site .dp-app-page[data-dp-app-root="hero"] .dph-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: url("../media/app-hero-1254w.webp") right center / min(65%, 1254px) auto no-repeat;
    mask-image: linear-gradient(90deg, transparent 32%, black 68%);
}
@media (max-width: 959px) {
    .dpw-site .dp-app-page[data-dp-app-root="hero"] .dph-hero::before {
        background-image: image-set(
            url("../media/dp-visual-app-entwicklung-ios-android-v1-2026-600w.webp") 1x,
            url("../media/dp-visual-app-entwicklung-ios-android-v1-2026-960w.webp") 2x,
            url("../media/app-hero-1254w.webp") 3x
        );
        background-size: min(100%, 400px) auto;
        background-position: right top;
        mask-image: linear-gradient(180deg, rgba(0,0,0,.38), rgba(0,0,0,.16) 26%, transparent 54%);
    }
}

/* These source logos contain no higher-resolution pixels to select. */
body.dpw-site .dprm-single img[src*="Screenshot-2025-08-12-073927"],
body.dpw-site .dpw-gallery img[src*="Screenshot-2025-08-12-073927"] {
    object-fit: scale-down !important;
    background-color: #fff;
}
@media (max-width: 569px) and (min-resolution: 2.5dppx) {
    .dpw-site .dp-home-uncode.dp-home-v12 .dph-logo-marquee .dph-logo-track .dph-logo-cell > img:is(
        [src*="/2025/02/maternus.png"], [src*="/2025/02/ks-optics.png"]
    ) {
        object-fit: contain !important;
        max-width: 79px !important;
        max-height: 50px !important;
        margin-inline: auto;
    }
}
