/* Ergänzungen zum vorhandenen Popup; Aktivierung erfolgt über dessen Einstellungen. */
.menuhead .ds-bf-header {
    position: absolute;
    top: 14px;
    left: 260px;
    right: 360px;
    height: 72px;
    display: block;
    padding: 0;
    margin: 0;
    border: 0;
    background: none;
    cursor: pointer;
}

.ds-bf-header img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.menuhead.scrolled .ds-bf-header {
    top: 6px;
    height: 38px;
}

.bfstoerer.ds-bf-mobile {
    display: none;
    bottom: 20px;
    right: 155px;
    width: 54px;
    height: 55px;
    padding: 0;
    margin: 0;
    border: 0;
    background: none;
    cursor: pointer;
}

/* In der App ist der Header auch bei breiten Ansichten ausgeblendet. */
body.ds-bf-dismissed .bfstoerer.ds-bf-mobile.ds-bf-in-app {
    display: block;
}

.ds-bf-mobile img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ds-bf-header:focus-visible,
.ds-bf-mobile:focus-visible {
    outline: 2px solid #00649c;
    outline-offset: 3px;
}

/* Platz für die vorhandene Schließen-Schaltfläche freihalten. */
.ds-bf-popup .bfoverlayinner2023 img:not(.close) {
    max-height: calc(100vh - 110px);
}

.ds-bf-popup .bfoverlayinner2023 .close {
    width: 34px;
    top: -42px;
    right: 0;
    cursor: pointer;
}

@media screen and (min-width: 1001px) {
    /* Der Banner nutzt während der Aktion denselben Platz wie im Entwurf. */
    .menuhead.ds-bf-active .tel,
    .menuhead.ds-bf-active .tpouter {
        display: none;
    }
}

@media screen and (max-width: 1000px) {
    /* Das Popup liegt auch mobil über Header und Buchungsleiste. */
    .bfoverlayouter2023.ds-bf-popup {
        z-index: 2001;
    }

    .menuhead .ds-bf-header {
        display: none;
    }

    body.ds-bf-dismissed .bfstoerer.ds-bf-mobile {
        display: block;
    }

    /* Das optionale App-Store-Symbol erhält einen eigenen Platz links daneben. */
    .menuhead.ds-bf-active ~ .appstorelink {
        right: 220px;
    }
}
