/* Native menu classes are managed in Appearance > Menus. */
.trx-tb-header .trx-tb-menu.et_pb_menu .et_pb_menu__menu .nav .leistungen-menue > ul.sub-menu {
    width: 340px;
}

.trx-tb-header .trx-tb-menu.et_pb_menu :is(.et-menu, .et_mobile_menu) .leistungen-demo {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, .25);
}

.trx-tb-header .trx-tb-menu.et_pb_menu :is(.et-menu, .et_mobile_menu) .leistungen-demo > a {
    color: var(--trx-accent, #c7f43d) !important;
}

/* Five native Divi columns: the focused entry first, then four alternatives.
   The homepage reuses the two fixed-price cards in its "So starten Sie" section. */
:is(.route-services, .home) #main-content .leistungen-auswahl.et_pb_section {
    padding-block: clamp(56px, 7vw, 96px);
    background: #f3f6fa;
}

:is(.route-services, .home) #main-content .leistungen-auswahl > .et_pb_row {
    width: calc(100% - 40px) !important;
    max-width: 1140px !important;
    margin-inline: auto !important;
}

:is(.route-services, .home) #main-content .leistungen-auswahl .flow-copy p {
    color: #35475b !important;
}

:is(.route-services, .home) #main-content .leistungen-auswahl .eyebrow p {
    color: #24688c !important;
}

:is(.route-services, .home) #main-content .leistungen-auswahl > .leistungen-karten.et_pb_row {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    align-items: stretch !important;
    gap: 24px;
    margin-top: 28px !important;
}

:is(.route-services, .home) #main-content .leistungen-karten > .leistungen-karte.et_pb_column {
    display: flex;
    flex-direction: column;
    width: auto !important;
    min-width: 0;
    margin: 0 !important;
    padding: clamp(24px, 3vw, 36px) !important;
    border: 1px solid #d7e0e9;
    border-radius: 12px;
    background: #fff;
}

:is(.route-services, .home) #main-content .leistungen-karten > .leistungen-einstieg.et_pb_column {
    grid-column: 1 / -1;
    border-left: 5px solid var(--trx-accent, #c7f43d);
}

:is(.route-services, .home) #main-content .leistungen-karte > .et_pb_module {
    margin-bottom: 14px !important;
}

:is(.route-services, .home) #main-content .leistungen-karte h3 {
    margin: 0;
    font-size: clamp(23px, 2.4vw, 30px);
    line-height: 1.2;
    color: var(--trx-navy, #101f31);
}

:is(.route-services, .home) #main-content .leistungen-karte p {
    color: #35475b;
}

:is(.route-services, .home) #main-content .leistungen-karte > .et_pb_button_module_wrapper {
    margin-top: auto !important;
    margin-bottom: 0 !important;
    padding-top: 10px;
}

@media (max-width: 760px) {
    :is(.route-services, .home) #main-content .leistungen-auswahl > .leistungen-karten.et_pb_row {
        grid-template-columns: minmax(0, 1fr) !important;
    }
}
