.m_leistungen {
    position: relative;
    overflow: hidden;

    padding: 100px 48px;

    background: #111;
    color: #fff;
}

.m_leistungen_container {
    width: 100%;
    max-width: 1440px;

    margin: 0 auto;
}

/* -------------------------------- */
/* Text und Bild                    */
/* -------------------------------- */

.m_leistungen_intro {
    display: flex;
    align-items: center;

    gap: 80px;
}

.m_leistungen_content,
.m_leistungen_image {
    flex: 1;
    min-width: 0;
}

.m_leistungen_subheadline {
    display: block;

    margin-bottom: 20px;

    color: #e62020;

    font-weight: 700;
    letter-spacing: .3em;
    text-transform: uppercase;
}

.m_leistungen_headline {
    margin: 0;

    color: #fff;

    font-weight: 900;
    line-height: .92;
    letter-spacing: -.01em;
    text-transform: uppercase;
}

.m_leistungen_headline::after {
    content: "";

    display: block;

    width: 60px;
    height: 3px;

    margin-top: 32px;

    background: #e62020;
}

.m_leistungen_text {
    max-width: 560px;

    margin-top: 28px;

    color: rgba(255, 255, 255, .55);

    font-weight: 300;
    line-height: 1.75;
}

.m_leistungen_text > *:first-child {
    margin-top: 0;
}

.m_leistungen_text > *:last-child {
    margin-bottom: 0;
}

.m_leistungen_image {
    overflow: hidden;

    background: #181818;
}

.m_leistungen_image img {
    display: block;

    width: 100%;
    height: auto;
}

/* -------------------------------- */
/* Leistungskacheln                 */
/* -------------------------------- */

.m_leistungen_elements {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap: 24px;

    margin-top: 64px;
}

.m_leistungen_item {
    position: relative;

    cursor: pointer;

    padding: 34px 30px;

    border: 1px solid rgba(255, 255, 255, .16);
    background: rgba(255, 255, 255, .03);

    transition:
        border-color .28s ease,
        background .28s ease,
        transform .28s ease;
}

.m_leistungen_item:hover {
    transform: translateY(-4px);

    border-color: rgba(230, 32, 32, .8);
    background: rgba(230, 32, 32, .08);
}

.m_leistungen_item_icon {
    display: flex;
    align-items: center;

    height: 50px;
    margin-bottom: 32px;

    color: #e62020;
}

.m_leistungen_item_icon img,
.m_leistungen_item_icon svg {
    max-width: 50px;
    max-height: 50px;

    width: auto;
    height: auto;
}

.m_leistungen_item_icon svg {
    fill: currentColor;
}

.m_leistungen_item_content {
    min-width: 0;
}

.m_leistungen_item_title {
    margin: 0 0 8px;

    color: #fff;

    font-weight: 800;
    text-transform: uppercase;
}

.m_leistungen_item_text {
    color: rgba(255, 255, 255, .45);

    font-weight: 400;
    line-height: 1.5;
}

.m_leistungen_item_text > *:first-child {
    margin-top: 0;
}

.m_leistungen_item_text > *:last-child {
    margin-bottom: 0;
}

/* -------------------------------- */
/* CTA Box                          */
/* -------------------------------- */

.m_leistungen_cta {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 40px;

    margin-top: 24px;
    padding: 40px;

    border: 1px solid rgba(230, 32, 32, .45);
    background: rgba(230, 32, 32, .12);
}

.m_leistungen_cta_content {
    display: flex;
    align-items: center;

    gap: 24px;

    min-width: 0;
}

.m_leistungen_cta_icon {
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #e62020;
}

.m_leistungen_cta_icon img,
.m_leistungen_cta_icon svg {
    max-width: 180px;
    max-height: 70px;

    width: auto;
    height: auto;
}

.m_leistungen_cta_icon svg {
    fill: currentColor;
}

.m_leistungen_cta_text_content {
    min-width: 0;
}

.m_leistungen_cta_title {
    margin: 0 0 16px;

    color: #fff;

    font-weight: 900;
    line-height: .95;
    text-transform: uppercase;
}

.m_leistungen_cta_text {
    max-width: 620px;

    color: rgba(255, 255, 255, .6);

    font-weight: 300;
    line-height: 1.7;
}

.m_leistungen_cta_text > *:first-child {
    margin-top: 0;
}

.m_leistungen_cta_text > *:last-child {
    margin-bottom: 0;
}

.m_leistungen_cta_button {
    flex-shrink: 0;
}

.m_leistungen_cta_button a {
    display: inline-flex;
}

/* -------------------------------- */
/* Tablet                           */
/* -------------------------------- */

@media (max-width: 1024px) {

    .m_leistungen_intro {
        gap: 48px;
    }

    .m_leistungen_elements {
        grid-template-columns: repeat(2, 1fr);
    }

    .m_leistungen_cta {
        align-items: flex-start;
    }

}

/* -------------------------------- */
/* Mobile                           */
/* -------------------------------- */

@media (max-width: 767px) {

    .m_leistungen {
        padding: 80px 24px;
    }

    .m_leistungen_intro {
        flex-direction: column;
        align-items: stretch;

        gap: 48px;
    }

    .m_leistungen_content,
    .m_leistungen_image {
        width: 100%;
    }

    .m_leistungen_elements {
        grid-template-columns: 1fr;

        gap: 18px;

        margin-top: 48px;
    }

    .m_leistungen_cta {
        flex-direction: column;
        align-items: flex-start;

        gap: 32px;

        margin-top: 18px;
        padding: 30px 24px;
    }

    .m_leistungen_cta_button {
        width: 100%;
    }

    .m_leistungen_cta_button .button {
        width: 100%;
    }

}

/* -------------------------------- */
/* Kleine Smartphones               */
/* -------------------------------- */

@media (max-width: 500px) {

    .m_leistungen_cta_content {
        flex-direction: column;
        align-items: flex-start;
    }

}