/* Mobile-only layout correction for /operationen and /co2-laser.
   Intentionally scoped through page-specific body classes. */
@media (max-width: 760px) {
    body.sc-mobile-hero-fix .sc-service-hero--plain {
        min-height: 0;
        padding: 150px 0 56px;
        overflow: hidden;
    }

    body.sc-mobile-hero-fix .sc-service-hero--plain .sc-container {
        width: auto;
        max-width: none;
        margin: 0;
        padding-inline: 20px;
        box-sizing: border-box;
    }

    body.sc-mobile-hero-fix .sc-service-hero--plain .sc-service-hero__inner,
    body.sc-mobile-hero-fix .sc-service-hero--plain .sc-service-hero__copy {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    body.sc-mobile-hero-fix .sc-service-hero--plain .sc-service-breadcrumb {
        width: 100%;
        max-width: 100%;
        margin-bottom: 26px;
        overflow: hidden;
    }

    body.sc-mobile-hero-fix .sc-service-hero--plain h1 {
        width: 100%;
        max-width: 100%;
        margin: 22px 0 28px;
        font-size: clamp(44px, 12vw, 58px);
        line-height: .93;
        letter-spacing: -.045em;
        overflow-wrap: normal;
        word-break: normal;
        hyphens: none;
    }

    body.sc-mobile-hero-fix .sc-service-hero--plain h1 em {
        display: block;
        max-width: 100%;
    }

    body.sc-mobile-hero-fix .sc-service-hero--plain .sc-service-hero__copy > p {
        width: 100%;
        max-width: 100%;
        font-size: 16px;
        line-height: 1.55;
        overflow-wrap: normal;
        word-break: normal;
    }

    body.sc-mobile-hero-fix .sc-service-hero--plain .sc-service-hero__actions {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 390px) {
    body.sc-mobile-hero-fix .sc-service-hero--plain h1 {
        font-size: clamp(40px, 11.5vw, 48px);
    }
}

/* Mobile-only correction for the first content block on the CO2 page. */
@media (max-width: 760px) {
    body.sc-mobile-hero-fix .sc-service-intro#details .sc-container {
        width: auto !important;
        max-width: none !important;
        margin: 0 !important;
        padding-inline: 20px !important;
        box-sizing: border-box;
    }

    body.sc-mobile-hero-fix .sc-service-intro#details .sc-service-intro__content,
    body.sc-mobile-hero-fix .sc-service-intro#details .sc-service-intro__text {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box;
    }

    body.sc-mobile-hero-fix .sc-service-intro#details h2 {
        max-width: 100% !important;
        font-size: clamp(38px, 10.5vw, 52px) !important;
        line-height: .98 !important;
        overflow-wrap: normal !important;
        word-break: normal !important;
        hyphens: none !important;
    }

    body.sc-mobile-hero-fix .sc-service-intro#details .sc-service-intro__text p {
        max-width: 100% !important;
        overflow-wrap: normal !important;
        word-break: normal !important;
    }
}
