/*
 * EMB Baggerkonfigurator
 * Frontend-Konfigurator: Grundlayout und Prozessnavigation
 * Seit Version 2.05.55 aus frontend-ui.css ausgelagert.
 * Mobile Reihenfolge und Prozessnavigation überarbeitet in Version 2.05.67.
 *
 * Das Modul wird ausschließlich auf konfiguration.php nach den globalen
 * Frontend-Styles geladen. Die erhöhte Seitenspezifität ersetzt die
 * bisherigen Legacy-Überschreibungen ohne erzwungene Prioritätsregeln.
 */

body.app-body--frontend #content.frontend-main #konfiguration.configuration-page {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr);
    grid-template-areas:
        "media details"
        "tabs tabs"
        "categories objects";
    gap: 24px;
    width: min(100%, 1380px);
    height: auto;
    min-height: 0;
    margin: 0 auto;
    padding: clamp(24px, 4vw, 56px);
    overflow: visible;
    box-sizing: border-box;
    color: var(--fe-ink);
}

body.app-body--frontend #content.frontend-main #konfiguration #configuration_details {
    grid-area: details;
    position: static;
    width: 100%;
    height: auto;
    margin: 0;
    padding: clamp(24px, 3vw, 36px);
    border: 1px solid var(--fe-line);
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 16px 40px rgba(15, 29, 40, .08);
    box-sizing: border-box;
}

body.app-body--frontend #content.frontend-main #konfiguration #configuration_details h1 {
    margin: 0 0 24px;
    color: var(--fe-ink);
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(34px, 4vw, 58px);
    line-height: 1.03;
    letter-spacing: -.035em;
}

body.app-body--frontend #content.frontend-main #konfiguration #configuration_details > hr {
    display: none;
}

body.app-body--frontend #content.frontend-main #konfiguration #configuration_tabs {
    grid-area: tabs;
    position: static;
    display: flex;
    width: 100%;
    height: auto;
    gap: 8px;
    margin: 8px 0 0;
    padding: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    border: 1px solid var(--fe-line);
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(15, 29, 40, .06);
    scrollbar-width: none;
    box-sizing: border-box;
}

body.app-body--frontend #content.frontend-main #konfiguration #configuration_tabs::-webkit-scrollbar {
    display: none;
}

body.app-body--frontend #content.frontend-main #konfiguration .configuration_tab {
    position: static;
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: max-content;
    min-height: 48px;
    margin: 0;
    padding: 12px 18px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: var(--fe-ink);
    font: 750 14px/1.2 Arial, Helvetica, sans-serif;
    text-align: center;
    text-decoration: none;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

body.app-body--frontend #content.frontend-main #konfiguration .configuration_tab:hover {
    background: #eef6f7;
    color: var(--fe-accent-dark);
}

body.app-body--frontend #content.frontend-main #konfiguration .configuration_tab.active {
    background: var(--fe-accent);
    color: #fff;
    box-shadow: 0 8px 20px rgba(27, 168, 181, .22);
}

body.app-body--frontend #content.frontend-main #konfiguration #gotoAbschluss {
    margin-left: auto;
    background: var(--fe-ink);
    color: #fff;
}

body.app-body--frontend #content.frontend-main #konfiguration .configuration_tab .img_flip {
    width: 12px;
    height: 12px;
    margin-right: 4px;
    object-fit: contain;
}

@media (max-width: 900px) {
body.app-body--frontend #content.frontend-main #konfiguration.configuration-page {
        grid-template-columns: 1fr;
        grid-template-areas:
            "details"
            "media"
            "tabs"
            "categories"
            "objects";
        gap: 16px;
        padding: 20px;
    }

}

@media (max-width: 560px) {
body.app-body--frontend #content.frontend-main #konfiguration.configuration-page {
        padding: 14px;
    }

}

@media (max-width: 560px) {
body.app-body--frontend #content.frontend-main #konfiguration #configuration_details {
        border-radius: 15px;
    }

}

@media (max-width: 560px) {
body.app-body--frontend #content.frontend-main #konfiguration #configuration_details {
        padding: 20px;
    }

}

@media (max-width: 560px) {
body.app-body--frontend #content.frontend-main #konfiguration #gotoAbschluss {
        margin-left: 0;
    }

}

body.app-body--frontend #content.frontend-main #konfiguration #configuration_details h1 {
    max-width: 100%;
    margin-bottom: 28px;
    font-size: clamp(30px, 3.35vw, 48px);
    line-height: 1.06;
    overflow-wrap: anywhere;
    hyphens: auto;
}

body.app-body--frontend #content.frontend-main #konfiguration #configuration_details {
    display: flex;
    flex-direction: column;
}

@media (max-width: 900px) {
body.app-body--frontend #content.frontend-main #konfiguration #configuration_details h1 {
        font-size: clamp(30px, 8vw, 44px);
    }

}

body.app-body--frontend #content.frontend-main #konfiguration #configuration_details {
    overflow: visible;
    align-self: start;
}

body.app-body--frontend #content.frontend-main #konfiguration #configuration_tabs {
    position: relative;
    z-index: 2;
    margin-top: 0;
}

body.app-body--frontend #content.frontend-main #konfiguration #configuration_details,
body.app-body--frontend #content.frontend-main #konfiguration #configuration_details > div {
    position: static;
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
    overflow: visible;
}

body.app-body--frontend #content.frontend-main #konfiguration #configuration_tabs {
    align-self: start;
    position: static;
    z-index: auto;
}

body.app-body--frontend #content.frontend-main #konfiguration.configuration-page {
    align-items: start;
}

body.app-body--frontend #content.frontend-main #konfiguration #configuration_details {
    align-self: start;
}

body.app-body--frontend #content.frontend-main #konfiguration.configuration-page--highend {
    width: 100%;
    max-width: none;
    display: grid;
    grid-template-columns: minmax(0, 1.38fr) minmax(420px, .92fr);
    column-gap: clamp(28px, 3vw, 58px);
    row-gap: 32px;
    align-items: start;
    padding-top: clamp(36px, 4vw, 72px);
}

body.app-body--frontend #content.frontend-main #konfiguration.configuration-page--highend #configuration_details {
    grid-column: 2;
    grid-row: 1;
    position: sticky;
    top: 24px;
    min-width: 0;
    padding: clamp(28px, 3vw, 48px);
    border: 1px solid var(--fe-line);
    border-radius: var(--fe-radius-lg);
    background: #fff;
    box-shadow: var(--fe-shadow);
}

body.app-body--frontend #content.frontend-main #konfiguration.configuration-page--highend #configuration_details h1 {
    margin: 0 0 clamp(30px, 3vw, 48px);
    color: var(--fe-ink);
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(38px, 3.4vw, 38px);
    font-weight: 850;
    line-height: .98;
    letter-spacing: -.045em;
    overflow-wrap: anywhere;
}

body.app-body--frontend #content.frontend-main #konfiguration.configuration-page--highend #configuration_details > hr {
    display: none;
}

body.app-body--frontend #content.frontend-main #konfiguration.configuration-page--highend #configuration_tabs {
    grid-column: 1 / -1;
    grid-row: 2;
    position: sticky;
    top: 12px;
    z-index: 20;
    width: 100%;
    min-height: 82px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
    overflow-x: auto;
    border: 1px solid var(--fe-line);
    border-radius: 15px;
    background: rgba(255, 255, 255, .94);
    box-shadow: var(--fe-shadow-soft);
    backdrop-filter: blur(16px);
}

body.app-body--frontend #content.frontend-main #konfiguration.configuration-page--highend .configuration_tab {
    min-width: max-content;
    min-height: 58px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 0 18px;
    border: 0;
    border-radius: 14px;
    background: transparent;
    color: var(--fe-ink);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

body.app-body--frontend #content.frontend-main #konfiguration.configuration-page--highend .configuration_tab::before {
    content: attr(data-step);
    color: #8b99a4;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
}

body.app-body--frontend #content.frontend-main #konfiguration.configuration-page--highend .configuration_tab.active {
    background: var(--fe-accent);
    color: #fff;
}

body.app-body--frontend #content.frontend-main #konfiguration.configuration-page--highend .configuration_tab.active::before {
    color: rgba(255,255,255,.72);
}

body.app-body--frontend #content.frontend-main #konfiguration.configuration-page--highend .configuration_tab--finish {
    margin-left: auto;
    padding-inline: 24px;
    background: var(--fe-ink);
    color: #fff;
}

body.app-body--frontend #content.frontend-main #konfiguration.configuration-page--highend .configuration_tab--finish::before {
    content: none;
}

body.app-body--frontend #content.frontend-main #konfiguration.configuration-page--highend .configuration_tab img {
    display: none;
}

@media (max-width: 1120px) {
body.app-body--frontend #content.frontend-main #konfiguration.configuration-page--highend {
        grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
    }

}

@media (max-width: 1120px) {
body.app-body--frontend #content.frontend-main #konfiguration.configuration-page--highend #configuration_details {
        padding: 28px;
    }

}

@media (max-width: 900px) {
body.app-body--frontend #content.frontend-main #konfiguration.configuration-page--highend {
        display: flex;
        flex-direction: column;
        gap: 22px;
        padding-top: 24px;
    }

}

@media (max-width: 900px) {
body.app-body--frontend #content.frontend-main #konfiguration.configuration-page--highend #configuration_details {
        position: relative;
        top: auto;
        width: 100%;
    }

}

@media (max-width: 900px) {
body.app-body--frontend #content.frontend-main #konfiguration.configuration-page--highend #configuration_tabs {
        position: sticky;
        top: 6px;
        order: 3;
    }

}

@media (max-width: 620px) {
body.app-body--frontend #content.frontend-main #konfiguration.configuration-page--highend #configuration_details {
        padding: 22px 18px;
        border-radius: 15px;
    }

}

@media (max-width: 620px) {
body.app-body--frontend #content.frontend-main #konfiguration.configuration-page--highend #configuration_details h1 {
        font-size: clamp(34px, 11vw, 48px);
    }

}

@media (max-width: 620px) {
body.app-body--frontend #content.frontend-main #konfiguration.configuration-page--highend .configuration_tab {
        min-height: 52px;
        padding-inline: 15px;
        font-size: 14px;
    }

}

/*
 * Mobile Ablaufsteuerung 2.05.67
 *
 * Im Desktop-Raster wird die visuelle Reihenfolge über grid-template-areas
 * gesteuert. Sobald der Konfigurator unter 900 px auf Flexbox wechselt,
 * benötigen alle Hauptbereiche eine ausdrückliche Reihenfolge, damit die
 * Optionen nicht vor den Kategorien und die Prozessnavigation nicht am
 * Seitenende erscheinen.
 */
@media (max-width: 900px) {
    body.app-body--frontend #content.frontend-main #konfiguration.configuration-page--highend {
        display: flex;
        flex-direction: column;
        gap: 16px;
        padding-top: 20px;
    }

    body.app-body--frontend #content.frontend-main #konfiguration.configuration-page--highend .configuration-product-stage {
        order: 1;
    }

    body.app-body--frontend #content.frontend-main #konfiguration.configuration-page--highend #configuration_details {
        order: 2;
    }

    body.app-body--frontend #content.frontend-main #konfiguration.configuration-page--highend #configuration_tabs {
        position: static;
        top: auto;
        z-index: auto;
        order: 3;
        margin: 0;
    }

    body.app-body--frontend #content.frontend-main #konfiguration.configuration-page--highend #configuration_categories {
        order: 4;
    }

    body.app-body--frontend #content.frontend-main #konfiguration.configuration-page--highend #configuration_objects {
        order: 5;
    }
}

@media (max-width: 620px) {
    body.app-body--frontend #content.frontend-main #konfiguration.configuration-page--highend {
        gap: 14px;
        padding: 14px 0 24px;
    }

    body.app-body--frontend #content.frontend-main #konfiguration.configuration-page--highend #configuration_tabs {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
        gap: 7px;
        padding: 8px;
        overflow: visible;
        border-radius: 15px;
        background: #fff;
        box-shadow: none;
        backdrop-filter: none;
    }

    body.app-body--frontend #content.frontend-main #konfiguration.configuration-page--highend .configuration_tab {
        width: 100%;
        min-width: 0;
        min-height: 50px;
        justify-content: flex-start;
        gap: 7px;
        padding: 9px 10px;
        border-radius: 11px;
        font-size: 13px;
        line-height: 1.2;
        text-align: left;
        white-space: normal;
    }

    body.app-body--frontend #content.frontend-main #konfiguration.configuration-page--highend .configuration_tab::before {
        flex: 0 0 auto;
    }

    body.app-body--frontend #content.frontend-main #konfiguration.configuration-page--highend .configuration_tab--finish {
        grid-column: 1 / -1;
        min-height: 52px;
        margin-left: 0;
        justify-content: center;
        text-align: center;
    }
}

/*
 * Version 2.05.69
 * Mobiles Kategorie-Akkordeon
 *
 * Die Optionsauswahl wird ausschließlich bis 900 px direkt unter den
 * aktiven Kategorie-Reiter verschoben. Der Inline-Block erhält order: 0,
 * damit die mobile Ablaufregel aus 2.05.67 (order: 5) ihn nicht mehr hinter
 * alle Kategorien schiebt.
 */
@media (max-width: 900px) {
    body.app-body--frontend #content.frontend-main #konfiguration.configuration-page--highend.configuration-selection--accordion #configuration_categories {
        order: 4;
        min-height: 0;
    }

    body.app-body--frontend #content.frontend-main #konfiguration.configuration-page--highend.configuration-selection--accordion
    #configuration_categories .configuration_categories--accordion {
        position: static;
        display: flex;
        width: 100%;
        height: auto;
        flex-direction: column;
        gap: 10px;
        margin: 0;
        padding: 0;
        overflow: visible;
    }

    body.app-body--frontend #content.frontend-main #konfiguration.configuration-page--highend.configuration-selection--accordion
    #configuration_categories br {
        display: none;
    }

    body.app-body--frontend #content.frontend-main #konfiguration.configuration-page--highend.configuration-selection--accordion
    #configuration_objects {
        display: none;
    }

    body.app-body--frontend #content.frontend-main #konfiguration.configuration-page--highend.configuration-selection--accordion
    #configuration_objects.configuration_objects--inline {
        display: block;
        order: 0;
        width: 100%;
        min-height: 0;
        margin: 0 0 10px;
        padding: 14px;
        overflow: visible;
        border: 1px solid #e3edf0;
        border-radius: 14px;
        background: #fbfcfd;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, .65);
        box-sizing: border-box;
    }

    body.app-body--frontend #content.frontend-main #konfiguration.configuration-page--highend.configuration-selection--accordion
    #configuration_objects.configuration_objects--inline #objectlist {
        display: grid;
        gap: 10px;
        max-height: none;
    }

    body.app-body--frontend #content.frontend-main #konfiguration.configuration-page--highend.configuration-selection--accordion
    .configuration_category,
    body.app-body--frontend #content.frontend-main #konfiguration.configuration-page--highend.configuration-selection--accordion
    .configuration_subcategory {
        order: 0;
        width: 100%;
    }

    body.app-body--frontend #content.frontend-main #konfiguration.configuration-page--highend.configuration-selection--accordion
    .configuration_subcategory {
        margin-top: -2px;
    }
}

@media (max-width: 620px) {
    body.app-body--frontend #content.frontend-main #konfiguration.configuration-page--highend.configuration-selection--accordion
    #configuration_objects.configuration_objects--inline {
        margin-top: 0;
        padding: 12px;
    }
}

@media (min-width: 901px) {
    body.app-body--frontend #content.frontend-main #konfiguration.configuration-page--highend.configuration-selection--accordion
    #configuration_objects {
        display: block;
    }
}


/*
 * Version 2.05.70
 * Mobiler Akkordeon-Pfeil und echter Auf-/Zu-Zustand.
 */
@media (max-width: 900px) {
    body.app-body--frontend #content.frontend-main
    #konfiguration.configuration-page--highend.configuration-selection--accordion
    .configuration_category {
        position: relative;
        padding-right: 48px;
        cursor: pointer;
    }

    body.app-body--frontend #content.frontend-main
    #konfiguration.configuration-page--highend.configuration-selection--accordion
    .configuration_category::after {
        content: "";
        display: block;
        width: 10px;
        height: 10px;
        flex: 0 0 10px;
        margin-left: auto;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        transform: rotate(45deg);
        transform-origin: center;
        transition: transform .18s ease;
    }

    body.app-body--frontend #content.frontend-main
    #konfiguration.configuration-page--highend.configuration-selection--accordion
    .configuration_category[aria-expanded="true"]::after {
        transform: rotate(225deg);
    }
}


/*
 * Version 2.05.72
 * Kompakte mobile Prozessnavigation als Hamburger-Dropdown.
 */
body.app-body--frontend #content.frontend-main
#konfiguration #configuration_tabs .configuration-mobile-menu-toggle {
    display: none;
}

body.app-body--frontend #content.frontend-main
#konfiguration #configuration_tabs .configuration-tabs__links {
    display: flex;
    align-items: center;
    width: 100%;
    min-width: 0;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
}

body.app-body--frontend #content.frontend-main
#konfiguration #configuration_tabs .configuration-tabs__links::-webkit-scrollbar {
    display: none;
}

@media (max-width: 900px) {
    body.app-body--frontend #content.frontend-main
    #konfiguration.configuration-page--highend #configuration_tabs {
        display: block;
        width: 100%;
        min-height: 0;
        padding: 8px;
        overflow: visible;
        border-radius: 15px;
        background: #fff;
        box-shadow: none;
        backdrop-filter: none;
    }

    body.app-body--frontend #content.frontend-main
    #konfiguration #configuration_tabs .configuration-mobile-menu-toggle {
        display: grid;
        grid-template-columns: 24px auto minmax(0, 1fr) 12px;
        align-items: center;
        width: 100%;
        min-height: 52px;
        gap: 10px;
        margin: 0;
        padding: 10px 13px;
        border: 1px solid var(--fe-line);
        border-radius: 12px;
        background: #f7f9fa;
        color: var(--fe-ink);
        font: inherit;
        text-align: left;
        cursor: pointer;
        box-shadow: none;
    }

    body.app-body--frontend #content.frontend-main
    #konfiguration #configuration_tabs.is-mobile-menu-open
    .configuration-mobile-menu-toggle {
        border-color: #9fd9df;
        background: #eef9fa;
    }

    body.app-body--frontend #content.frontend-main
    #konfiguration .configuration-mobile-menu-toggle__icon {
        display: grid;
        width: 22px;
        gap: 4px;
    }

    body.app-body--frontend #content.frontend-main
    #konfiguration .configuration-mobile-menu-toggle__icon span {
        display: block;
        width: 22px;
        height: 2px;
        border-radius: 2px;
        background: currentColor;
        transition: transform .18s ease, opacity .18s ease;
    }

    body.app-body--frontend #content.frontend-main
    #konfiguration #configuration_tabs.is-mobile-menu-open
    .configuration-mobile-menu-toggle__icon span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    body.app-body--frontend #content.frontend-main
    #konfiguration #configuration_tabs.is-mobile-menu-open
    .configuration-mobile-menu-toggle__icon span:nth-child(2) {
        opacity: 0;
    }

    body.app-body--frontend #content.frontend-main
    #konfiguration #configuration_tabs.is-mobile-menu-open
    .configuration-mobile-menu-toggle__icon span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    body.app-body--frontend #content.frontend-main
    #konfiguration .configuration-mobile-menu-toggle__caption {
        color: var(--fe-muted);
        font-size: 11px;
        font-weight: 900;
        letter-spacing: .08em;
        text-transform: uppercase;
    }

    body.app-body--frontend #content.frontend-main
    #konfiguration .configuration-mobile-menu-toggle__current {
        min-width: 0;
        overflow: hidden;
        color: var(--fe-ink);
        font-size: 14px;
        font-weight: 850;
        line-height: 1.25;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    body.app-body--frontend #content.frontend-main
    #konfiguration .configuration-mobile-menu-toggle__caret {
        width: 9px;
        height: 9px;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        transform: rotate(45deg);
        transition: transform .18s ease;
    }

    body.app-body--frontend #content.frontend-main
    #konfiguration #configuration_tabs.is-mobile-menu-open
    .configuration-mobile-menu-toggle__caret {
        transform: rotate(225deg);
    }

    body.app-body--frontend #content.frontend-main
    #konfiguration #configuration_tabs .configuration-tabs__links {
        display: none;
        width: 100%;
        margin-top: 8px;
        padding: 4px 0 0;
        overflow: visible;
    }

    body.app-body--frontend #content.frontend-main
    #konfiguration #configuration_tabs.is-mobile-menu-open
    .configuration-tabs__links {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 6px;
    }

    body.app-body--frontend #content.frontend-main
    #konfiguration #configuration_tabs .configuration-tabs__links
    .configuration_tab {
        display: flex;
        width: 100%;
        min-width: 0;
        min-height: 46px;
        justify-content: flex-start;
        margin: 0;
        padding: 9px 12px;
        border-radius: 10px;
        text-align: left;
        white-space: normal;
    }

    body.app-body--frontend #content.frontend-main
    #konfiguration #configuration_tabs .configuration-tabs__links
    .configuration_tab--finish {
        grid-column: auto;
        min-height: 48px;
        margin-left: 0;
        justify-content: flex-start;
        text-align: left;
    }
}

@media (max-width: 420px) {
    body.app-body--frontend #content.frontend-main
    #konfiguration #configuration_tabs .configuration-mobile-menu-toggle {
        grid-template-columns: 24px minmax(0, 1fr) 12px;
    }

    body.app-body--frontend #content.frontend-main
    #konfiguration .configuration-mobile-menu-toggle__caption {
        display: none;
    }
}


/*
 * Version 2.05.73
 * Sichtbares und robustes mobiles Hamburger-Dropdown.
 */
@media (max-width: 900px) {
    body.app-body--frontend #content.frontend-main
    #konfiguration #configuration_tabs {
        position: relative;
        z-index: 12;
    }

    body.app-body--frontend #content.frontend-main
    #konfiguration #configuration_tabs
    .configuration-mobile-menu-toggle__icon {
        color: var(--fe-accent-dark);
    }

    body.app-body--frontend #content.frontend-main
    #konfiguration #configuration_tabs
    .configuration-mobile-menu-toggle__icon span {
        height: 3px;
    }

    body.app-body--frontend #content.frontend-main
    #konfiguration #configuration_tabs
    .configuration-tabs__links[hidden] {
        display: none;
    }

    body.app-body--frontend #content.frontend-main
    #konfiguration #configuration_tabs
    .configuration-mobile-menu-toggle[aria-expanded="true"]
    + .configuration-tabs__links:not([hidden]) {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 6px;
        width: 100%;
        margin-top: 8px;
        padding: 4px 0 0;
        overflow: visible;
    }

    body.app-body--frontend #content.frontend-main
    #konfiguration #configuration_tabs.is-mobile-menu-open
    .configuration-tabs__links:not([hidden]) {
        display: grid;
    }
}


/*
 * 2.06.01 – Herstellerlogo im Kopf der Konfigurationskarte
 */
body.app-body--frontend
#content.frontend-main
#konfiguration
.configuration-details__header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 16px;
    margin: 0 0 24px;
}

body.app-body--frontend
#content.frontend-main
#konfiguration
.configuration-details__header h1 {
    min-width: 0;
    margin: 0;
}

body.app-body--frontend
#content.frontend-main
#konfiguration
.configuration-details__manufacturer {
    display: flex;
    width: max-content;
    max-width: 128px;
    min-height: 38px;
    align-items: center;
    justify-content: flex-end;
    padding: 4px 0;
    overflow: hidden;
    border: 0;
    border-radius: 8px;
    background: transparent;
    box-sizing: border-box;
    cursor: default;
}

body.app-body--frontend
#content.frontend-main
#konfiguration
.configuration-details__manufacturer.is-linked {
    cursor: pointer;
}

body.app-body--frontend
#content.frontend-main
#konfiguration
.configuration-details__manufacturer.is-linked:focus-visible {
    outline: 2px solid var(--fe-accent);
    outline-offset: 4px;
}

body.app-body--frontend
#content.frontend-main
#konfiguration
.configuration-details__manufacturer img {
    display: block;
    width: auto;
    height: auto;
    max-width: 120px;
    max-height: 34px;
    margin: 0;
    padding: 0;
    object-fit: contain;
    object-position: right center;
}

@media (max-width: 620px) {
    body.app-body--frontend
    #content.frontend-main
    #konfiguration
    .configuration-details__header {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
        margin-bottom: 20px;
    }

    body.app-body--frontend
    #content.frontend-main
    #konfiguration
    .configuration-details__manufacturer {
        max-width: 116px;
        min-height: 34px;
        justify-content: flex-start;
    }

    body.app-body--frontend
    #content.frontend-main
    #konfiguration
    .configuration-details__manufacturer img {
        max-width: 108px;
        max-height: 30px;
        object-position: left center;
    }
}


/*
 * 2.06.02 – Modellbezeichnung unter dem Herstellerlogo
 *
 * Das Logo bleibt rechts oben. Die Modellbezeichnung folgt darunter und
 * nutzt wieder die vollständige Breite der Preiskarte.
 */
body.app-body--frontend
#content.frontend-main
#konfiguration
.configuration-details__header {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
}

body.app-body--frontend
#content.frontend-main
#konfiguration
.configuration-details__header h1 {
    order: 2;
    width: 100%;
    max-width: 100%;
    text-align: left;
}

body.app-body--frontend
#content.frontend-main
#konfiguration
.configuration-details__manufacturer {
    order: 1;
    align-self: auto;
    justify-content: left;
}

body.app-body--frontend
#content.frontend-main
#konfiguration
.configuration-details__manufacturer img {
    object-position: right center;
}

@media (max-width: 620px) {
    body.app-body--frontend
    #content.frontend-main
    #konfiguration
    .configuration-details__header {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    body.app-body--frontend
    #content.frontend-main
    #konfiguration
    .configuration-details__manufacturer {
        align-self: flex-end;
        justify-content: flex-end;
    }

    body.app-body--frontend
    #content.frontend-main
    #konfiguration
    .configuration-details__manufacturer img {
        object-position: right center;
    }
}
