/* BGF_WARTUNGSHINWEIS_PATCH5_20261112
 * DATEI: css/filmpages.css
 * PFLEGE: Filmseiten-Layout. Inhalte in HTML/Produktdatenbanken, UI-Texte in Sprachdatenbank; mobile @media-Regeln am Dateiende.
 * REGEL: Neue Sprachen ausschließlich durch Ergänzung der zuständigen zentralen Datenbanken; keine Funktions-/CSS-Änderungen für Übersetzungen.
 */
/* BGF – FILMPAGES
 * Gestaltung der zugehörigen Komponenten.
 * Reihenfolge und Spezifität der Regeln beachten; !important nur gezielt ändern.
 */
/* ==========================================================================
   filmpages.css
   BGF Filmdetail Layout
   Bereinigte Version
   ========================================================================== */


/* ==========================================================================
   1. GRUNDLAGEN FILMDETAIL
   ========================================================================== */


body.page-filmdetail {

    --film-poster-column: 30%;

    --film-column-gap: 24px;

    --film-credit-gap: 5px;

    --film-buy-gap-top: -15px;

    --paypal-color: #ffbc42;

    --paypal-hover-color: #e0a328;

    --cart-color: #262625;

}

/* ==========================================================================
   2. DESKTOP BASIS
   ========================================================================== */


@media screen and (min-width: 861px) {


    body.page-filmdetail main.unzerstoerbar-main {

        width: 100%;

        max-width: 1200px;

        margin: 0 auto;

        padding: 0 40px;

        box-sizing: border-box;

    }

/* ==========================================================================
   3. MEDIEN-RECHTECK
   Poster links / GIF rechts
   ========================================================================== */


    body.page-filmdetail .filmdetail-layout-container {

        display: flex;

        flex-direction: row;

        width: 100%;

        gap: var(--film-column-gap);

        align-items: stretch;

        margin: 20px auto 0 auto;

        box-sizing: border-box;

    }

/* Poster-Spalte */


    body.page-filmdetail .filmdetail-sidebar {

        flex: 0 0 var(--film-poster-column);

        width: var(--film-poster-column);

        max-width: var(--film-poster-column);

        margin: 0;

        box-sizing: border-box;

    }

    body.page-filmdetail .filmdetail-sidebar img.filmdetail-poster-img {

        width: 100%;

        max-width: 100%;

        height: auto;

        display: block;

        border-radius: 4px;

        box-shadow:
            0 4px 15px rgba(0,0,0,0.15);

    }

/* Rechte Medien-Spalte */


    body.page-filmdetail .filmdetail-main-content {

        display: flex;

        flex-direction: column;

        flex: 1 1 auto;

        width: auto;

        margin: 0;

        box-sizing: border-box;

    }

    body.page-filmdetail
    .filmdetail-main-content
    img.filmdetail-gif-img,
    body.page-filmdetail
    .filmdetail-main-content
    a.filmdetail-gif-link {

        width: 100%;

        max-width: 100%;

        height: auto;

        display: block;

    }

/* Produktionsdaten unter GIF */


    body.page-filmdetail
    .filmdetail-main-content
    .mobile-credits {

        width: 100%;

        margin-top: var(--film-credit-gap);

        padding: 0;

        background: transparent;

        color: #222222;

        text-align: left;

        box-sizing: border-box;

    }

}
/* ==========================================================================
   4. INTEGRALER KAUFBEREICH
   Teaser links / Kaufbox rechts
   ========================================================================== */


body.page-filmdetail .kaufbereich-horizontal-row {

    display: flex;

    flex-direction: row;

    width: 100%;

    gap: var(--film-column-gap);

    align-items: flex-start;

    margin:
        var(--film-buy-gap-top)
        auto
        40px
        auto;

    box-sizing: border-box;

}

/* Linke Spalte: Teaser */

body.page-filmdetail .kaufbereich-left-anchor {

    flex: 0 0 var(--film-poster-column);

    width: var(--film-poster-column);

    max-width: var(--film-poster-column);

    display: flex;

    flex-direction: column;

    justify-content: flex-start;

    box-sizing: border-box;

}

/* Rechte Spalte: Kaufbox */

body.page-filmdetail .kaufbereich-right-anchor {

    flex: 1 1 auto;

    width: auto;

    box-sizing: border-box;

}

/* ==========================================================================
   5. TEASER BUTTON
   ========================================================================== */


body.page-filmdetail .teaser-text-link {

    width: 100%;

    background-color: #262625;

    color: #C53028;

    border: none;

    padding: 12px 14px;

    font-size: 14px;

    font-weight: bold;

    cursor: pointer;

    text-align: center;

    border-radius: 0;

    display: block;

    box-sizing: border-box;

    transition:
        background-color 0.2s ease,
        color 0.2s ease;

}

body.page-filmdetail .teaser-text-link:hover {

    background-color: #40403f;

    color: #fbfcfb;

}

/* ==========================================================================
   6. KAUFBOX
   ========================================================================== */


body.page-filmdetail .bgf-kauf-kachel {

    display: flex;

    flex-direction: row;

    justify-content: space-between;

    align-items: stretch;

    width: 100%;

    gap: var(--film-column-gap);

    box-sizing: border-box;

}

/* Legal-Bereich */


body.page-filmdetail .cell-legal-wrapper {

    flex: 1 1 0;

    min-width: 0;

    display: flex;

    flex-direction: column;

    gap: 10px;

    box-sizing: border-box;

}

body.page-filmdetail .cell-legal-label {

    display: flex;

    align-items: flex-start;

    gap: 10px;

    color: #444444;

    font-weight: 500;

}

/* Legal Links */


body.page-filmdetail .bgf-trigger-legal {

    background: none;

    border: none;

    outline: none;

    box-shadow: none;

    padding: 2px 4px;

    margin: -2px -4px;

    font-size: inherit;

    font-family: 'Open Sans', sans-serif;

    color: #C53028;

    cursor: pointer;

    display: inline-block;

    text-decoration: none;

}


body.page-filmdetail .bgf-trigger-legal:hover {
    text-decoration: none;
    font-weight: 700;
}
/* ==========================================================================
   7. DYNAMISCHE PREISE
   ========================================================================== */


body.page-filmdetail #bgf-dynamic-prices-container {
    flex: 0 0 auto;
    width: auto;
    max-width: none;
    margin-left: auto; /* Preisblock rechtsbuendig. */

    display: flex;
    flex-direction: column;
    align-self: flex-end;
    gap: 12px;

    box-sizing: border-box;
}

/* Preiszeilen */


body.page-filmdetail .kaufbox-price-row {

    display: flex;

    justify-content: space-between;

    align-items: stretch;

    width: 100%;

    gap: 15px;

    padding: 0;

    margin: 0;

}

/* Preisbeschreibung */


body.page-filmdetail .kaufbox-price-label {

    text-align: right;

    white-space: normal;

    display: block;

    flex-grow: 1;

    font-family: 'Open Sans', sans-serif;

    line-height: 1.3;

}

body.page-filmdetail .kaufbox-status-text {

    color: #cc0000;

    font-size: 13.5px;

    font-weight: bold;

    display: block;

}

body.page-filmdetail .kaufbox-price-value {

    display: block;

    margin-top: 4px;

}

body.page-filmdetail .kaufbox-lizenz-zusatz {

    color: #cc0000;

    font-size: 13.5px;

    font-weight: 500;

}

body.page-filmdetail .kaufbox-actual-price {

    color: #000000;

    font-size: 13.5px;

    font-weight: bold;

    margin-left: 5px;

}

/* ==========================================================================
   8. PAYPAL BUTTONS
   ========================================================================== */


body.page-filmdetail .btn-paypal-responsive {
    flex-shrink: 0;
    width: 110px;
    max-width: 110px;
    min-width: 110px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background-color: var(--bgf-payment-background);
    color: var(--bgf-payment-text);
    border: none;
    border-radius: var(--bgf-payment-radius);
    cursor: pointer;
    transition: var(--bgf-payment-transition);
}

body.page-filmdetail .btn-paypal-responsive:where(
    :not(:disabled):not(.btn-disabled):not(.cart-added)
):hover,
body.page-filmdetail .btn-paypal-responsive:where(
    :not(:disabled):not(.btn-disabled):not(.cart-added)
):focus-visible {
    background-color: var(--bgf-payment-hover-background);
    color: var(--bgf-payment-text);
}


body.page-filmdetail .btn-paypal-responsive.cart-added {

    background-color: var(--cart-color);

    color: #ffffff;

    cursor: default;

}

body.page-filmdetail .btn-paypal-responsive.cart-added:hover {

    background-color: var(--cart-color);

    color: #ffffff;

}
/* ==========================================================================
   9. MEDIEN-TOOLTIPPS
   ========================================================================== */


/* GIF Tooltip */


body.page-filmdetail
.filmdetail-main-content
.filmdetail-gif-link {

    position: relative;

    display: block;

}

body.page-filmdetail
.filmdetail-main-content
.filmdetail-gif-link[data-title]::after {

    content: attr(data-title);

    position: absolute;

    bottom: 15px;

    left: 50%;

    transform: translateX(-50%);

    font-size: 14px;

    padding: 10px 20px;

    color: #C53028;

    background-color: transparent;

    border-radius: 4px;

    white-space: nowrap;

    font-weight: bold;

    box-shadow: none;

    opacity: 0;

    visibility: hidden;

    transition:
        opacity 0.2s ease,
        visibility 0.2s ease;

    z-index: 99;

}

body.page-filmdetail
.filmdetail-main-content
.filmdetail-gif-link[data-title]:hover::after,
body.page-filmdetail
.filmdetail-main-content
.filmdetail-gif-link[data-title]:focus::after {

    opacity: 1;

    visibility: visible;

}

/* Poster Tooltip */


body.page-filmdetail
.filmdetail-sidebar[data-title] {

    position: relative;

}

body.page-filmdetail
.filmdetail-sidebar[data-title]::after {

    content: attr(data-title);

    position: absolute;

    top: 50%;

    left: 50%;

    transform:
        translate(-50%, -50%);

    font-size: 14px;

    font-family:
        'Open Sans',
        sans-serif;

    font-weight: bold;

    padding: 10px 20px;

    color: #C53028;

    background-color: #262625;

    border-radius: 4px;

    white-space: nowrap;

    box-shadow:
        0 4px 10px rgba(0,0,0,0.3);

    opacity: 0;

    visibility: hidden;

    transition:
        opacity 0.2s ease,
        visibility 0.2s ease;

    z-index: 99;

    pointer-events: none;

}

body.page-filmdetail
.filmdetail-sidebar[data-title]:hover::after {

    opacity: 1;

    visibility: visible;

}

/* ==========================================================================
   10. FILMDETAIL MOBILE
   ========================================================================== */


@media screen and (max-width: 860px) {


    body.page-filmdetail main.unzerstoerbar-main {

        width: 100%;

        max-width: 100%;

        padding: 0 16px;

        box-sizing: border-box;

    }

    body.page-filmdetail
    .filmdetail-layout-container {

        display: flex;

        flex-direction: column;

        width: 100%;

        gap: 14px;

        margin: 12px 0 0 0;

    }

    body.page-filmdetail
    .filmdetail-sidebar,
    body.page-filmdetail
    .filmdetail-main-content {

        width: 100%;

        max-width: 100%;

        margin: 0;

    }

    body.page-filmdetail
    .filmdetail-sidebar {

        max-width: 70%;

        margin-left: auto;

        margin-right: auto;

    }

    body.page-filmdetail
    .filmdetail-main-content
    img.filmdetail-gif-img {

        width: 100%;

        max-width: 100%;

        height: auto;

    }

    body.page-filmdetail
    .mobile-credits {

        width: 100%;

        margin-top: 6px;

        font-size: 12.5px;

        line-height: 1.4;

    }

}

/* ==========================================================================
   10. FILMDETAIL MOBILE – KAUFBEREICH
   ========================================================================== */


@media screen and (max-width: 860px) {


    body.page-filmdetail
    .kaufbereich-horizontal-row {

        display: flex;

        flex-direction: column;

        width: 100%;

        gap: 14px;

        margin: 14px 0 30px 0;

    }

    body.page-filmdetail
    .kaufbereich-left-anchor,
    body.page-filmdetail
    .kaufbereich-right-anchor {

        width: 100%;

        max-width: 100%;

        flex: 0 0 auto;

    }

    body.page-filmdetail
    .kaufbereich-left-anchor {

        justify-content: flex-start;

    }

    body.page-filmdetail
    .teaser-text-link {

        width: 100%;

    }

    body.page-filmdetail
    .bgf-kauf-kachel {

        display: flex;

        flex-direction: column;

        width: 100%;

        gap: 18px;

    }

    body.page-filmdetail
    .cell-legal-wrapper {

        width: 100%;

        gap: 10px;

    }

    body.page-filmdetail
    #bgf-dynamic-prices-container {

        width: 100%;

        max-width: 100%;

        flex: 0 0 auto;

        margin: 0;

        gap: 10px;

    }

    body.page-filmdetail
    .kaufbox-price-row {

        display: grid;

        grid-template-columns:
            minmax(0, 1fr)
            96px;

        align-items: stretch;

        gap: 10px;

    }

    body.page-filmdetail
    .kaufbox-price-label {

        text-align: left;

    }

    body.page-filmdetail
    .btn-paypal-responsive {

        width: 96px;

        max-width: 96px;

        min-width: 96px;

        min-height: 44px;

    }

}
/* ==========================================================================
   11. FILMDETAIL MOBILE / TABLET QUERFORMAT
   Poster und GIF nebeneinander
   ========================================================================== */


@media screen and (max-width: 1180px)
and (max-height: 860px)
and (orientation: landscape) {

    body.page-filmdetail main.unzerstoerbar-main {

        width: 100%;

        max-width: 1120px;

        margin: 0 auto;

        padding: 0 24px;

        box-sizing: border-box;

    }

    body.page-filmdetail
    .filmdetail-layout-container {

        display: grid;

        grid-template-columns:

            minmax(180px, 30%)

            minmax(0, 1fr);

        gap: 20px;

        align-items: start;

        width: 100%;

        margin: 12px 0 0 0;

    }

    body.page-filmdetail
    .filmdetail-sidebar,
    body.page-filmdetail
    .filmdetail-main-content {

        width: 100%;

        max-width: 100%;

        flex: none;

        margin: 0;

    }

    body.page-filmdetail
    .filmdetail-sidebar
    img.filmdetail-poster-img {

        width: 100%;

        max-width: 100%;

        height: auto;

    }

    body.page-filmdetail
    .filmdetail-main-content
    img.filmdetail-gif-img,
    body.page-filmdetail
    .filmdetail-main-content
    a.filmdetail-gif-link {

        width: 100%;

        max-width: 100%;

        height: auto;

    }

/* --------------------------------------------------------------------------
   Kaufbereich Querformat
   Teaser links / Kaufbox rechts
   -------------------------------------------------------------------------- */


    body.page-filmdetail
    .kaufbereich-horizontal-row {

        display: grid;

        grid-template-columns:

            minmax(180px, 30%)

            minmax(0, 1fr);

        gap: 20px;

        align-items: end;

        width: 100%;

        margin: 6px 0 28px 0;

    }

    body.page-filmdetail
    .kaufbereich-left-anchor,
    body.page-filmdetail
    .kaufbereich-right-anchor {

        width: 100%;

        max-width: 100%;

        flex: none;

    }

    body.page-filmdetail
    .bgf-kauf-kachel {

        display: grid;

        grid-template-columns:

            minmax(0, 1fr)

            minmax(280px, 55%);

        gap: 18px;

        align-items: stretch;

        width: 100%;

    }

    body.page-filmdetail
    .cell-legal-wrapper {

        width: 100%;

        gap: 8px;

    }

    body.page-filmdetail
    #bgf-dynamic-prices-container {

        width: 100%;

        max-width: 100%;

        flex: none;

        margin: 0;

        gap: 9px;

    }

    body.page-filmdetail
    .kaufbox-price-row {

        display: grid;

        grid-template-columns:

            minmax(0, 1fr)

            100px;

        gap: 10px;

        align-items: stretch;

    }

    body.page-filmdetail
    .btn-paypal-responsive {

        width: 100px;

        min-width: 100px;

        max-width: 100px;

    }


}
/* ==========================================================================
   12. ZUSÄTZLICHE FILMDETAIL TEXTBEREICHE
   Synopsis / Zitate / Autoren
   ========================================================================== */


/* Fließtext */

body.page-filmdetail #synopsis-start p,
body.page-filmdetail .filmdetail-synopsis-text {

    font-size: 15px;

    margin-bottom: 22px;

    color: #333333;

    line-height: 1.6;

    text-align: justify;

    margin-top: 0;

    font-family:
        'Open Sans',
        sans-serif;

}

/* Erster Absatz Hervorhebung */

body.page-filmdetail
#synopsis-start p:first-of-type,
body.page-filmdetail
p.filmdetail-synopsis-text {

    font-size: 16px;

    color: #111111;

}

/* Filmzitate */

body.page-filmdetail .film-quote {

    font-size: 15px;

    font-style: italic;

    color: #111111;

    margin-top: 20px;

    margin-bottom: 20px;

    line-height: 1.5;

    text-align: left;

    width: 100%;

    display: block;

    box-sizing: border-box;

    font-family:
        'Open Sans',
        sans-serif;

}

/* Autor unter Zitat */

body.page-filmdetail
.film-quote .quote-author {

    display: block;

    margin-top: 6px;

    font-style: normal;

    font-weight: normal;

    color: #444444;

    font-size: 14px;

}

/* ==========================================================================
   13. GLOBALE OVERLAYS / MEDIA MODALE
   ========================================================================== */


body.page-filmdetail
#bgf-universal-media-overlay {

    position: fixed;

    top: 0;

    left: 0;

    width: 100vw;

    height: 100vh;

    z-index: 999999;

    background:
        rgba(0,0,0,0.95);

    box-sizing: border-box;

    padding: 15px;

    overflow: hidden;

}

body.page-filmdetail
#bgf-universal-media-content {

    display: flex;

    justify-content: center;

    align-items: center;

    width: 100%;

    height: 100%;

}

body.page-filmdetail
#bgf-universal-media-content img {

    display: block;

    width: auto;

    height: 82vh;

    max-height: 82vh;

    max-width: 90vw;

    object-fit: contain;

    margin: 0 auto;

    border-radius: 4px;

    box-shadow:
        0 10px 30px rgba(0,0,0,0.5);

}
/* ==========================================================================
   14. PLAKAT- UND GIF-OVERLAY FIX
   ========================================================================== */


/* Plakat-Modal */

body.page-filmdetail [id^="posterModal_"] {

    z-index: 999999;

}

body.page-filmdetail
.bgf-poster-modal-inner {

    display: flex;

    justify-content: center;

    align-items: center;

    width: 100%;

    height: 100%;

}

body.page-filmdetail
.bgf-poster-image {

    display: block;

    max-height: 82vh;

    width: auto;

    object-fit: contain;

}

/* ==========================================================================
   15. MODAL BASISSTRUKTUR
   ========================================================================== */


body.page-filmdetail
.bgf-modal-overlay {

    position: fixed;

    inset: 0;

    display: none;

    justify-content: center;

    align-items: center;

    background:
        rgba(0,0,0,0.85);

    z-index: 999999;

}

body.page-filmdetail
.bgf-modal-overlay.active {

    display: flex;

}

body.page-filmdetail
.bgf-modal-content {

    position: relative;

    max-width: 90vw;

    max-height: 90vh;

    overflow: auto;

    background: #ffffff;

    padding: 20px;

    box-sizing: border-box;

}

body.page-filmdetail
.bgf-modal-close {

    position: absolute;

    top: 10px;

    right: 10px;

    cursor: pointer;

    font-size: 24px;

    line-height: 1;

}

/* ==========================================================================
   16. DESKTOP FEINJUSTIERUNG
   ========================================================================== */


@media screen and (min-width: 861px) {


    body.page-filmdetail
    .kaufbereich-horizontal-row {

        min-height: 44px;

    }

    body.page-filmdetail
    .kaufbereich-left-anchor {

        align-self: stretch;

    }

    body.page-filmdetail
    .teaser-text-link {

        margin-top: 0;

    }

    body.page-filmdetail
    .kaufbereich-right-anchor {

        align-self: stretch;

    }

    body.page-filmdetail
    .bgf-kauf-kachel {

        min-height: 44px;

    }


}
/* ==========================================================================
   17. DRUCK / ZUSÄTZLICHE ANPASSUNGEN
   ========================================================================== */


/* Verhindert horizontales Überlaufen */

body.page-filmdetail {

    overflow-x: hidden;

}

/* Bilder bleiben innerhalb ihrer Bereiche */


body.page-filmdetail img {

    max-width: 100%;

}

/* ==========================================================================
   18. KAUFBEREICH FEINABSTIMMUNG
   ========================================================================== */


body.page-filmdetail
.kaufbereich-horizontal-row {

    position: relative;

}

body.page-filmdetail
.kaufbereich-left-anchor,
body.page-filmdetail
.kaufbereich-right-anchor {

    box-sizing: border-box;

}

body.page-filmdetail
.kaufbereich-right-anchor
.bgf-kauf-kachel {

    height: 100%;

}

body.page-filmdetail
.cell-legal-wrapper input[type="checkbox"] {

    flex-shrink: 0;

}

/* ==========================================================================
   19. CHECKOUT STATUS
   ========================================================================== */


body.page-filmdetail
.btn-paypal-responsive[disabled] {

    opacity: 0.45;

    cursor: not-allowed;

}

body.page-filmdetail
.btn-paypal-responsive.btn-disabled {

    opacity: 0.45;

    cursor: not-allowed;

}

/* ==========================================================================
   20. RECHTSMODALE AUF FILMSEITEN
   ========================================================================== */

body.page-filmdetail #bgf-legal-layer {
    display: none;
}

body.page-filmdetail #bgf-legal-layer.is-active {
    display: block;
}

body.page-filmdetail
#bgf-legal-layer.is-active > .bgf-modal-overlay {
    display: flex !important;
    padding: 16px !important;
}

body.page-filmdetail
#bgf-legal-layer .bgf-legal-dialog {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    max-width: 800px;
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
    overflow-y: auto;
    padding: 20px;
    background: #FAFAFA;
    color: #262625;
    border-left: 4px solid #C53028;
    border-radius: 0;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
}

body.page-filmdetail
#bgf-legal-layer .bgf-modal-close {
    position: static;
    display: block;
    margin: 0 0 20px auto;
    padding: 10px 16px;
    border: 0;
    border-radius: 4px;
    background: #C53028;
    color: #FFFFFF;
    font: inherit;
    font-weight: 700;
    line-height: 1.3;
    cursor: pointer;
}

body.page-filmdetail
#bgf-legal-layer .bgf-legal-content {
    line-height: 1.6;
    overflow-wrap: anywhere;
}
/* ==========================================================================
   ENDE filmpages.css
   ========================================================================== */
/* BGF: Filmfassungs-Auswahl; ausschließlich Film-Kaufbereiche. */
body.page-filmdetail .bgf-film-version-selector {
    border: 0; padding: 0; margin: 0 0 12px auto; min-width: 0;
    display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 14px;
}
body.page-filmdetail .bgf-film-version-selector legend {
    font-weight: 700; font-size: 13px; text-align: right; margin-bottom: 6px;
}
body.page-filmdetail .bgf-film-version-option {
    display: inline-flex; align-items: center; gap: 6px; cursor: pointer; font-size: 13px;
}
body.page-filmdetail .bgf-film-version-option .shop-flag-svg {
    display: inline-flex; width: 24px; height: 16px; flex-shrink: 0;
}

/* ==========================================================================
   BGF MEDIENMODAL: einheitlicher Firmenlook, nur für Filmseiten.
   Das aktive Medien-Overlay bleibt unabhängig von Kauf- und Rechtsmodalen.
   ========================================================================== */
body.page-filmdetail #bgf-media-layer {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000000;
}
body.page-filmdetail #bgf-media-layer.is-active {
    display: block;
}
body.page-filmdetail #bgf-media-layer.is-active > .bgf-modal-overlay {
    display: flex !important;
    position: fixed;
    inset: 0;
    box-sizing: border-box;
    padding: 16px !important;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.85);
}
body.page-filmdetail #bgf-media-layer .bgf-media-dialog {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    position: relative;
    box-sizing: border-box;
    width: auto;
    max-width: 96vw;
    max-height: calc(100vh - 16px);
    max-height: calc(100dvh - 16px);
    margin: auto;
    padding: 0;
    overflow: visible;
    background: transparent;
}
/* Die globale Regel positioniert Schließen rechts oben; nur hier aufheben. */
body.page-filmdetail #bgf-media-layer .bgf-media-dialog > .bgf-modal-close {
    position: static !important;
    display: block;
    flex: 0 0 auto;
    align-self: center;
    margin: 0;
    padding: 10px 20px;
    border: 0;
    border-radius: 4px;
    background: #C53028;
    color: #FFFFFF;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    cursor: pointer;
}
body.page-filmdetail #bgf-media-layer .bgf-media-dialog > .bgf-modal-close:hover,
body.page-filmdetail #bgf-media-layer .bgf-media-dialog > .bgf-modal-close:focus-visible {
    background: #a92520;
    color: #FFFFFF;
}
/* Großes, unbeschnittenes 16:9-Video mit Platz für den Schließen-Button. */
body.page-filmdetail #bgf-media-layer .bgf-teaser-video {
    display: block;
    box-sizing: border-box;
    width: min(96vw, calc((100vh - 72px) * 16 / 9));
    width: min(96vw, calc((100dvh - 72px) * 16 / 9));
    max-width: 100%;
    max-height: calc(100vh - 72px);
    max-height: calc(100dvh - 72px);
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    background: #000;
}
/* Poster: Originalproportionen und vollständige Darstellung. */
body.page-filmdetail #bgf-media-layer .bgf-poster-image {
    display: block;
    width: auto !important;
    height: auto !important;
    max-width: 96vw !important;
    max-height: calc(100vh - 72px) !important;
    max-height: calc(100dvh - 72px) !important;
    object-fit: contain !important;
}


/* BGF_KORREKTUR_20261023_V1: Film-Metadaten und Kaufbox ohne Überlagerung */
body.page-filmdetail { --film-buy-gap-top: 0px; }
body.page-filmdetail #bgf-dynamic-mobile-credits .film-detail-meta { padding:6px 0 0!important; }
body.page-filmdetail #bgf-dynamic-mobile-credits .film-detail-meta-line { display:block; white-space:normal; font-size:14px; line-height:1.45; }
body.page-filmdetail .kaufbereich-horizontal-row { margin-bottom:16px; }
body.page-filmdetail .kaufbereich-right-anchor,body.page-filmdetail .bgf-kauf-kachel { min-width:0; }
body.page-filmdetail #bgf-film-kaufbox:not(:has(> .bgf-alt-flags)) > #bgf-dynamic-prices-container { width:100%; max-width:100%; margin:0; align-self:stretch; gap:10px; }
body.page-filmdetail .kaufbox-price-row { display:grid; grid-template-columns:minmax(0,1fr) minmax(145px,auto); align-items:center; gap:12px; width:100%; }
body.page-filmdetail .kaufbox-price-label { min-width:0; text-align:right; overflow-wrap:break-word; }
body.page-filmdetail .kaufbox-status-text { font-size:12.5px; line-height:1.35; }
body.page-filmdetail .kaufbox-price-value { margin-top:3px; }
body.page-filmdetail .btn-paypal-responsive { width:auto; min-width:145px; max-width:none; min-height:42px; padding:8px 10px; white-space:normal; line-height:1.25; }
@media(max-width:860px) { body.page-filmdetail .kaufbereich-horizontal-row { margin-top:14px!important; } body.page-filmdetail .kaufbox-price-label { text-align:left; } body.page-filmdetail .kaufbox-price-row { grid-template-columns:minmax(0,1fr) minmax(125px,auto); } body.page-filmdetail .btn-paypal-responsive { min-width:125px; } }

/* BGF Bussmanns: Fassungswahl auf EN als linke Spalte, Preise rechts. */
@media screen and (min-width: 861px) {
    body.page-filmdetail .bgf-kauf-kachel.bgf-bussmanns-versions {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        gap: 16px;
    }
    body.page-filmdetail .bgf-bussmanns-versions .bgf-film-version-selector {
        flex: 1 1 240px;
        min-width: 200px;
        margin: 0;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        flex-wrap: nowrap;
    }
    body.page-filmdetail .bgf-bussmanns-versions .bgf-film-version-selector legend {
        text-align: left;
        max-width: 100%;
    }
    body.page-filmdetail .bgf-bussmanns-versions .bgf-film-version-option {
        max-width: 100%;
        text-align: left;
    }
    body.page-filmdetail .bgf-bussmanns-versions #bgf-dynamic-prices-container {
        flex: 0 1 auto;
        min-width: 0;
        margin-left: auto;
    }
}
@media screen and (max-width: 860px) {
    body.page-filmdetail .bgf-bussmanns-versions .bgf-film-version-selector {
        width: 100%;
        margin: 0 0 12px;
        justify-content: flex-start;
    }
}


/* BGF_CSS_MIGRATION_20261026: kompatibel uebernommene Dialog- und Flaggenstile */
/* Stufe 2: nur Zusatzleiste und modaler Original-Shopcontainer */
.bgf-alt-flags { display:flex; flex-wrap:wrap; align-items:center; gap:8px 12px; margin-top:12px; padding-top:9px; border-top:1px solid #ddd; }
.bgf-alt-label { font-size:12px; font-weight:700; color:#C53028; }
.bgf-alt-flag-row { display:inline-flex; flex-wrap:wrap; align-items:center; gap:8px; }
.bgf-alt-flag-button { display:inline-flex; align-items:center; justify-content:center; padding:0; border:0; background:transparent; cursor:pointer; border-radius:0; }
.bgf-alt-flag-button:hover, .bgf-alt-flag-button:focus-visible { outline:1px solid #C53028; outline-offset:2px; }
dialog.bgf-alt-popup { position:fixed; width:min(850px,calc(100vw - 32px)); max-width:850px; max-height:calc(100vh - 32px); overflow:auto; padding:18px; margin:auto; border:0; border-radius:4px; box-shadow:0 10px 35px #0005; background:white; color:#222; box-sizing:border-box; }
dialog.bgf-alt-popup::backdrop { background:rgba(0,0,0,.72); }
.bgf-alt-head { display:flex; justify-content:flex-end; margin-bottom:10px; }
.bgf-alt-close { border:0; background:transparent; color:#C53028; cursor:pointer; font:inherit; font-weight:600; }
.bgf-alt-close:hover { font-weight:800; }
.bgf-alt-original-card > .shop-product-card { width:100%; box-sizing:border-box; }
@media(max-width:600px) {dialog.bgf-alt-popup {padding:12px;} .bgf-alt-flags {gap:6px;}}

/* Original shop dialogs MUST be invisible when closed, even if site-wide CSS overrides UA dialog rules. */
body.bgf-alt-installed dialog.shop-media-modal:not([open]),
body.bgf-alt-installed dialog.shop-info-modal:not([open]) { display:none !important; }
body.bgf-alt-installed dialog.bgf-alt-popup:not([open]) { display:none !important; }
/* Keep the original product card constrained to the modal, never to the film layout. */
body.bgf-alt-installed dialog.bgf-alt-popup .shop-product-card { min-height:0; max-width:100%; }

/* V4: Original-Dialog-CSS aus css/shop.css */


body.bgf-alt-installed .shop-info-button {
    margin-top: 10px;
    padding: 5px 10px;
    border: 1px solid #666;
    background: none;
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
	font-weight: bold;
	color: #C53028;
    cursor: pointer;
}


body.bgf-alt-installed .shop-info-button:hover {
    border: 2px solid;
	border-color: #C53028;
	font-family: 'Open Sans', sans-serif;
    font-size: 12px;
	color: #262625;
}


body.bgf-alt-installed dialog.shop-media-modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    max-width: none !important;
    max-height: none !important;
    background: rgba(0, 0, 0, 0.8) !important;
    z-index: 1000000 !important;
    display: none;
    align-items: center !important;
    justify-content: center !important;
    border: none !important;
    padding: 0 !important;
}


body.bgf-alt-installed dialog.shop-media-modal[open] {
    display: flex !important;
}


body.bgf-alt-installed .shop-media-modal-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}


body.bgf-alt-installed .shop-media-close {
    background: transparent !important;
    color: #C53028 !important;
    font-family: 'Open Sans', sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    border: none !important;
    cursor: pointer !important;
    margin: 0 0 6px auto !important;
    padding: 5px 10px !important;
    text-align: right !important;
    display: inline-flex !important;
    align-self: flex-end !important;
    justify-content: flex-end !important;
    width: auto !important;
}


body.bgf-alt-installed #shopPosterImage,
body.bgf-alt-installed #shopPosterPdf {
    max-width: 80vw !important;
    max-height: 75vh !important;
    width: auto !important;
    height: auto !important;
    display: block !important;
}


body.bgf-alt-installed dialog.shop-info-modal {
    border: none;
    padding: 0;
    background: #fff;
    max-width: 900px;
    width: 90vw;
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}


body.bgf-alt-installed dialog.shop-info-modal::backdrop {
    background: rgba(0, 0, 0, 0.7);
}


body.bgf-alt-installed .shop-info-inner {
    display: flex;
    gap: 25px;
    padding: 30px;
    align-items: flex-start;
    position: relative;
}


body.bgf-alt-installed .shop-info-poster {
    width: 260px;
    height: auto;
    display: block;
    flex-shrink: 0;
}


body.bgf-alt-installed .shop-info-copy {
    flex: 1;
    min-width: 0;
}


body.bgf-alt-installed .shop-info-meta {
    margin-bottom: 15px;
    font-size: 14px;
}


body.bgf-alt-installed .shop-info-synopsis {
    line-height: 1.5;
}


body.bgf-alt-installed dialog.shop-info-modal #shopInfoClose {
    position: absolute !important;
    top: 15px !important;
    right: 20px !important;
    width: auto !important;
    display: inline-block !important;
    margin: 0 !important;
    z-index: 10;
}

body.bgf-alt-installed #shopTeaserImage,
body.bgf-alt-installed #shopTeaserVideo {
    max-width: min(90vw, 1100px) !important;
    max-height: 80vh !important;
    object-fit: contain !important;
}

body.bgf-alt-installed #shopPosterModal[data-physical-product="true"] #shopPosterImage {
    height: min(75vh, 900px) !important;
    width: auto !important;
    max-width: 85vw !important;
    object-fit: contain !important;
  
    width: auto !important; height: auto !important;
    max-width: min(85vw, 520px) !important;
    max-height: min(72vh, 620px) !important;
}

/* Support-Kachel: kompakter Firmenbutton statt kachelbreiter Leiste. */
body.bgf-alt-installed .shop-support-card .shop-info-button,
body.bgf-alt-installed .shop-support-card .shop-support-button {
  width: auto !important;
  max-width: 100% !important;
  align-self: flex-start !important;
}

/* BGF V5: originale Shopdialoge am body statt im Kachelpopup */


body.bgf-alt-installed dialog.shop-media-modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    max-width: none !important;
    max-height: none !important;
    background: rgba(0, 0, 0, 0.8) !important;
    z-index: 1000000 !important;
    display: none;
    align-items: center !important;
    justify-content: center !important;
    border: none !important;
    padding: 0 !important;
}


body.bgf-alt-installed dialog.shop-media-modal[open] {
    display: flex !important;
}


body.bgf-alt-installed .shop-media-modal-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}


body.bgf-alt-installed .shop-media-close {
    background: transparent !important;
    color: #C53028 !important;
    font-family: 'Open Sans', sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    border: none !important;
    cursor: pointer !important;
    margin: 0 0 6px auto !important;
    padding: 5px 10px !important;
    text-align: right !important;
    display: inline-flex !important;
    align-self: flex-end !important;
    justify-content: flex-end !important;
    width: auto !important;
}


body.bgf-alt-installed #shopPosterImage,
body.bgf-alt-installed #shopPosterPdf {
    max-width: 80vw !important;
    max-height: 75vh !important;
    width: auto !important;
    height: auto !important;
    display: block !important;
}


body.bgf-alt-installed dialog.shop-info-modal {
    border: none;
    padding: 0;
    background: #fff;
    max-width: 900px;
    width: 90vw;
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}


body.bgf-alt-installed dialog.shop-info-modal::backdrop {
    background: rgba(0, 0, 0, 0.7);
}


body.bgf-alt-installed .shop-info-inner {
    display: flex;
    gap: 25px;
    padding: 30px;
    align-items: flex-start;
    position: relative;
}


body.bgf-alt-installed .shop-info-poster {
    width: 260px;
    height: auto;
    display: block;
    flex-shrink: 0;
}


body.bgf-alt-installed .shop-info-copy {
    flex: 1;
    min-width: 0;
}


body.bgf-alt-installed .shop-info-meta {
    margin-bottom: 15px;
    font-size: 14px;
}


body.bgf-alt-installed .shop-info-synopsis {
    line-height: 1.5;
}


body.bgf-alt-installed dialog.shop-info-modal #shopInfoClose {
    position: absolute !important;
    top: 15px !important;
    right: 20px !important;
    width: auto !important;
    display: inline-block !important;
    margin: 0 !important;
    z-index: 10;
}

body.bgf-alt-installed #shopTeaserImage,
body.bgf-alt-installed #shopTeaserVideo {
    max-width: min(90vw, 1100px) !important;
    max-height: 80vh !important;
    object-fit: contain !important;
}

body.bgf-alt-installed #shopPosterModal[data-physical-product="true"] #shopPosterImage {
    height: min(75vh, 900px) !important;
    width: auto !important;
    max-width: 85vw !important;
    object-fit: contain !important;
  
    width: auto !important; height: auto !important;
    max-width: min(85vw, 520px) !important;
    max-height: min(72vh, 620px) !important;
}
/* V5: correct original poster / teaser constraints, including modal-created media */
body.bgf-alt-installed dialog.shop-media-modal:not([open]),
body.bgf-alt-installed dialog.shop-info-modal:not([open]) { display:none!important; }
body.bgf-alt-installed dialog.shop-media-modal[open] {display:flex!important;}
body.bgf-alt-installed dialog.shop-media-modal img,
body.bgf-alt-installed dialog.shop-media-modal video,
body.bgf-alt-installed dialog.shop-media-modal iframe {max-width:80vw!important;max-height:75vh!important;width:auto!important;height:auto!important;object-fit:contain;}
body.bgf-alt-installed dialog.shop-media-modal .shop-media-modal-inner {max-width:90vw;max-height:90vh;}
body.bgf-alt-installed dialog.bgf-alt-popup .shop-product-card {display:flex;flex-direction:column;border:1px solid #ddd;background:#fff;padding:14px;box-sizing:border-box;}
body.bgf-alt-installed dialog.bgf-alt-popup .shop-card-top {display:flex;gap:14px;align-items:flex-start;}
body.bgf-alt-installed dialog.bgf-alt-popup .shop-media-area {flex:0 0 190px;width:190px;max-width:36%;}
body.bgf-alt-installed dialog.bgf-alt-popup .shop-poster {width:100%;max-width:190px;height:auto;display:block;cursor:pointer;}
body.bgf-alt-installed dialog.bgf-alt-popup .shop-product-info {flex:1 1 auto;min-width:0;}
body.bgf-alt-installed dialog.bgf-alt-popup .shop-license-row {display:flex;justify-content:space-between;align-items:center;gap:10px;}
body.bgf-alt-installed dialog.bgf-alt-popup .shop-buy-button {background:#ffbd32;border:0;border-radius:3px;padding:7px 12px;font-weight:700;cursor:pointer;}
body.bgf-alt-installed dialog.bgf-alt-popup .shop-teaser-button {display:inline-flex;width:auto;padding:6px 12px;background:#262625;color:#C53028;border:1px solid #262625;font-weight:700;cursor:pointer;}
body.bgf-alt-installed dialog.bgf-alt-popup .shop-info-button {background:#fff;border:1px solid #666;color:#C53028;padding:5px 10px;font-weight:700;cursor:pointer;}
body.bgf-alt-installed dialog.bgf-alt-popup .shop-product-meta {font-size:12px;color:#666;}
body.bgf-alt-installed dialog.bgf-alt-popup .shop-product-title {font-size:15px;font-weight:700;}
body.bgf-alt-installed dialog.bgf-alt-popup .shop-availability {border-top:1px solid #eee;margin-top:12px;padding-top:10px;color:#C53028;}
body.bgf-alt-installed dialog.bgf-alt-popup .bgf-kauf-kachel {display:flex;flex-direction:column;gap:8px;margin-top:12px;}
/* Right-aligned flags in their own line directly beneath the existing buy actions */

/* BGF_V6_DIALOG_KORREKTUR – only requested pages are enabled via JS body marker */
body.bgf-v6-target dialog.bgf-alt-popup .shop-teaser-button {box-sizing:border-box!important;width:82px!important;max-width:82px!important;min-width:82px!important;justify-content:center!important;padding:6px 2px!important;white-space:normal!important;}
body.bgf-v6-target dialog.bgf-alt-popup .shop-product-description.bgf-v6-full-synopsis {white-space:normal!important;line-height:1.5!important;max-height:210px;overflow-y:auto;margin:12px 0!important;font-size:13px!important;}
body.bgf-v6-target dialog.bgf-alt-popup .shop-product-description.bgf-v6-full-synopsis b,
body.bgf-v6-target dialog.bgf-alt-popup .shop-product-description.bgf-v6-full-synopsis strong {font-weight:700!important;}

/* BGF_V7_MODAL_FIX: Nur alternative Produktdialoge auf den beiden V6-Zielseiten. */
body.bgf-v6-target dialog.bgf-alt-popup .shop-media-area > .shop-teaser-button {
  box-sizing:border-box!important;
  display:flex!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  justify-content:center!important;
  padding:5px 4px!important;
}
body.bgf-v6-target dialog.bgf-alt-popup .shop-product-description.bgf-v6-full-synopsis {
  white-space:normal!important;
  overflow-wrap:break-word;
}

body.bgf-alt-installed dialog.bgf-alt-popup .shop-media-area > .shop-teaser-button {
  display:flex!important; box-sizing:border-box!important; width:100%!important;
  min-width:0!important; max-width:100%!important; padding:6px 3px!important;
  justify-content:center!important; white-space:normal!important;
}



/* BGF_KAUFABSCHLUSS_PRAEZISE_20261026 */
/* Nur Desktop-Filmkacheln mit normalen Alternativflaggen.
   Teaser bleibt unmittelbar unter dem Poster. Die Kaufzeile bleibt 44px hoch.
   Preiszeilen dürfen oberhalb der Kaufzeile liegen, aber nur rechts neben
   den Produktionsdaten; diese erhalten links ihren eigenen Textbereich. */
@media screen and (min-width: 861px) {
  body.page-filmdetail .kaufbereich-horizontal-row:has(#bgf-film-kaufbox > .bgf-alt-flags) {
    align-items: flex-start;
    min-height: 44px;
  }
  body.page-filmdetail .kaufbereich-horizontal-row:has(#bgf-film-kaufbox > .bgf-alt-flags)
  > .kaufbereich-left-anchor {
    align-self: flex-start;
  }
  body.page-filmdetail .kaufbereich-horizontal-row:has(#bgf-film-kaufbox > .bgf-alt-flags)
  > .kaufbereich-right-anchor {
    position: relative;
    top: auto;
    bottom: auto;
    right: auto;
    height: 44px;
    align-self: flex-start;
  }
  body.page-filmdetail #bgf-film-kaufbox:has(> .bgf-alt-flags) {
    position: relative;
    height: 44px;
    min-height: 44px;
    padding: 0 10px;
    align-items: flex-end;
  }
  body.page-filmdetail #bgf-film-kaufbox > #bgf-dynamic-prices-container {
    position: absolute;
    right: 10px;
    bottom: 0;
    top: auto;
    margin: 0;
    align-self: auto;
  }
  body.page-filmdetail #bgf-film-kaufbox > .bgf-alt-flags {
    position: absolute;
    left: 10px;
    bottom: 0;
    top: auto;
    margin: 0;
    align-self: auto;
  }
  /* Produktionsdaten bleiben links; der rechts hochragende Preisblock
     erhält seinen eigenen Bereich und überdeckt keinen Text. */
  body.page-filmdetail:has(#bgf-film-kaufbox > .bgf-alt-flags)
  #bgf-dynamic-mobile-credits {
    max-width: 55%;
    box-sizing: border-box;
  }
}

/* BGF_CSS_BEREINIGUNG_20261026 */
/* Filmseiten: kompakte Kaufkachel; normale Filmfassungsflaggen unter Preisen. */
@media screen and (min-width:861px) {
  /* Preise und Sprachfassungen: zwei Spalten, unabhängig von DOM-Reihenfolge. */
  body.page-filmdetail #bgf-film-kaufbox:has(> .bgf-alt-flags) {
    display:flex; flex-direction:row; align-items:center;
    justify-content:space-between; gap:20px; height:auto;
    padding:6px 10px; background:#fff; border:0; box-shadow:none;
  }
  body.page-filmdetail #bgf-film-kaufbox > .bgf-alt-flags {
    order:-1; flex:0 1 auto; min-width:0; width:auto;
    display:flex; flex-direction:column; align-items:flex-start;
    gap:3px; margin:0; padding:0; border:0;
  }
  body.page-filmdetail #bgf-film-kaufbox > #bgf-dynamic-prices-container {
    order:1; flex:0 1 auto; width:auto; max-width:none;
    margin-left:auto; margin-top:0; margin-right:0; margin-bottom:0;
    align-self:center;
  }
  body.page-filmdetail #bgf-film-kaufbox > .bgf-alt-flags .bgf-alt-flag-row {
    display:flex; flex-wrap:wrap; justify-content:flex-start; gap:7px;
  }
}
/* Bussmanns: nur die separate Alternativflaggenleiste unterdruecken.
   Die englische Radio-Fassungswahl bleibt erhalten. */
body.page-filmdetail:has(main[data-page-type="film"][data-film-id="DE07"]) .bgf-alt-flags,
body.page-filmdetail:has(main[data-page-type="film"][data-film-id="IT06"]) .bgf-alt-flags {
  display:none;
}

/* BGF_FIRMENLOOK_REPARATUR_20261026 */

/* BGF_FLAGGEN_ZWEISPALTIG_20261026 */

/* BGF_PAYMENT_SEO_20261027 */

.bgf-payment-line{display:flex;align-items:center;flex-wrap:wrap;column-gap:9px;row-gap:3px;font-family:inherit;font-size:12px;line-height:1.35;color:#222;background:transparent;border:0;padding:0;min-width:0}
.bgf-payment-logos{display:inline-flex;align-items:center;gap:8px;flex:0 0 auto}
.bgf-payment-logo{height:16px;width:auto;display:block;flex:none}
.bgf-paypal-logo{width:66px}.bgf-visa-logo{width:39px}.bgf-mastercard-logo{width:31px}
.bgf-payment-mail{width:18px;height:18px;flex:none}
.bgf-payment-note{min-width:0}
body.page-shop #bgf-shop-payment{margin:3px 0 10px}
#bgf-exhibition-shop .bgf-payment-exhibition{margin:5px 0 13px;font-size:11px}
.bgf-payment-film{margin:4px 0 3px;font-size:11px}
@media(max-width:540px){.bgf-payment-line{font-size:11px;column-gap:6px}.bgf-payment-logos{gap:5px}}


/* BGF_SEO_KORREKTUR_20261027_V2 – Radiowahl Bussmanns, keine Änderungen am Kaufablauf */
body.page-filmdetail .bgf-bussmanns-versions .bgf-film-version-selector {
 display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;align-content:flex-start;
 justify-content:flex-start;column-gap:14px;row-gap:7px;min-width:0;
}
body.page-filmdetail .bgf-bussmanns-versions .bgf-film-version-selector legend {width:100%;flex:0 0 100%;}
body.page-filmdetail .bgf-bussmanns-versions .bgf-film-version-option {display:inline-flex;max-width:none;white-space:nowrap;}
@media(min-width:861px){body.page-filmdetail .bgf-bussmanns-versions .bgf-film-version-selector {flex:1 1 360px;min-width:0;}}
@media(max-width:860px){body.page-filmdetail .bgf-bussmanns-versions .bgf-film-version-selector {width:100%;}}

/* BGF_PATCH_04A_MODAL_CLOSE_FILM */
/* Only close buttons. Do not change media geometry, video or poster sizing. */
body.page-filmdetail #bgf-media-layer .bgf-media-dialog > .bgf-modal-close,
body.page-filmdetail #bgf-legal-layer .bgf-modal-close,
body.page-filmdetail #posterModal .bgf-media-close,
body.page-filmdetail dialog.bgf-alt-popup .bgf-alt-close,
body.page-filmdetail.bgf-alt-installed dialog.shop-media-modal .shop-media-close,
body.page-filmdetail.bgf-alt-installed dialog.shop-info-modal #shopInfoClose {
    background: transparent !important;
    color: #C53028 !important;
    border: 0 !important;
    border-radius: 0 !important;
    text-decoration: none !important;
    font-family: 'Open Sans', sans-serif !important;
    font-weight: 700 !important;
    cursor: pointer !important;
}
body.page-filmdetail #bgf-media-layer .bgf-media-dialog > .bgf-modal-close:hover,
body.page-filmdetail #bgf-media-layer .bgf-media-dialog > .bgf-modal-close:focus-visible,
body.page-filmdetail #bgf-legal-layer .bgf-modal-close:hover,
body.page-filmdetail #bgf-legal-layer .bgf-modal-close:focus-visible,
body.page-filmdetail #posterModal .bgf-media-close:hover,
body.page-filmdetail #posterModal .bgf-media-close:focus-visible,
body.page-filmdetail dialog.bgf-alt-popup .bgf-alt-close:hover,
body.page-filmdetail dialog.bgf-alt-popup .bgf-alt-close:focus-visible,
body.page-filmdetail.bgf-alt-installed dialog.shop-media-modal .shop-media-close:hover,
body.page-filmdetail.bgf-alt-installed dialog.shop-media-modal .shop-media-close:focus-visible,
body.page-filmdetail.bgf-alt-installed dialog.shop-info-modal #shopInfoClose:hover,
body.page-filmdetail.bgf-alt-installed dialog.shop-info-modal #shopInfoClose:focus-visible {
    background: transparent !important;
    color: #C53028 !important;
    text-decoration: none !important;
    font-weight: 800 !important;
}

/* BGF_PATCH16 – Filmseiten: Schließen nicht mehr volle Breite. */
body.page-filmdetail.bgf-alt-installed dialog.shop-media-modal .shop-media-close {
    display:inline-flex!important;width:auto!important;align-self:center!important;
    justify-content:center!important;text-align:center!important;
    margin:0 auto 6px!important;padding:5px 10px!important;
    background:transparent!important;color:#C53028!important;
    border:0!important;font-weight:700!important;
}
body.page-filmdetail.bgf-alt-installed dialog.shop-info-modal .shop-info-leseprobe-button {
    display:inline-flex;min-height:34px;padding:6px 13px;
    border:1px solid #C53028;border-radius:3px;background:#fff;color:#C53028;
    font:700 13px 'Open Sans',sans-serif;cursor:pointer;
}
body.page-filmdetail.bgf-alt-installed dialog.shop-info-modal .shop-info-leseprobe-button:hover,
body.page-filmdetail.bgf-alt-installed dialog.shop-info-modal .shop-info-leseprobe-button:focus-visible {
    background:#C53028;color:#fff;
}
/* BGF_BUSSMANNS_PREIS_OVERLAY_FIX_20261028 */
/* The generic film-price layout positions this child absolutely.
   On Bussmanns it overflows the right purchase column and covers the teaser.
   Scope the correction strictly to the Bussmanns purchase card. */
@media screen and (min-width: 861px) {
  body.page-filmdetail #bgf-film-kaufbox.bgf-bussmanns-versions > #bgf-dynamic-prices-container {
    position: static !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    margin: 0;
  }
  body.page-filmdetail #bgf-film-kaufbox.bgf-bussmanns-versions #bgf-dynamic-prices-container .kaufbox-price-row {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
  body.page-filmdetail #bgf-film-kaufbox.bgf-bussmanns-versions #bgf-dynamic-prices-container .kaufbox-price-label {
    min-width: 0;
    max-width: 100%;
  }
}

/* BGF_FILMTEXT_EINHEITLICH_V3_START */
/* Gemeinsames Leselayout auf Filmseiten; Kaufbereich und Modale unberuehrt. */
body.page-filmdetail .filmdetail-text-container {
    color: #222222;
}
body.page-filmdetail .filmdetail-text-container p,
body.page-filmdetail .filmdetail-text-container .filmdetail-synopsis-text,
body.page-filmdetail .filmdetail-text-container .film-quote,
body.page-filmdetail .filmdetail-text-container blockquote p,
body.page-filmdetail .filmdetail-text-container h3 {
    font-size: 15px !important;
    line-height: 1.45 !important;
    letter-spacing: normal !important;
    color: #222222 !important;
    text-align: left !important;
}
body.page-filmdetail .filmdetail-text-container p,
body.page-filmdetail .filmdetail-text-container .filmdetail-synopsis-text {
    margin-top: 0 !important;
    margin-bottom: 10px !important;
}
body.page-filmdetail .filmdetail-text-container h3 {
    margin: 12px 0 8px !important;
}
body.page-filmdetail .filmdetail-text-container p strong,
body.page-filmdetail .filmdetail-text-container p b,
body.page-filmdetail .filmdetail-text-container h3 strong {
    color: inherit !important;
    font-size: inherit !important;
}
body.page-filmdetail .filmdetail-text-container blockquote {
    margin: 12px 0 14px !important;
    padding: 9px 14px !important;
    border-left: 3px solid #ccc !important;
    background: #fff !important;
    box-shadow: 0 1px 3px rgba(0,0,0,.05) !important;
}
body.page-filmdetail .filmdetail-text-container blockquote p {
    margin: 0 0 5px !important;
    font-style: normal !important;
}
body.page-filmdetail .filmdetail-text-container blockquote footer,
body.page-filmdetail .filmdetail-text-container blockquote cite {
    font-size: 13px !important;
    line-height: 1.4 !important;
    color: #666666 !important;
}
body.page-filmdetail .filmdetail-text-container blockquote footer {
    margin: 0 !important;
    padding: 0 !important;
}
/* BGF_FILMTEXT_EINHEITLICH_V3_END */

/* BGF_INFO_MODAL_MOBILE_20261118:START */
/* Pflege: Nur das Shop-Informationsdialog-Layout auf schmalen Displays.
   Desktop bleibt unveraendert. UI-Texte stehen in bgf-ui-texte.js.
   Mobile @media-Regel bewusst am Ende dieser Datei. */
@media screen and (max-width: 600px) {
    body.bgf-alt-installed dialog.shop-info-modal {
        width: calc(100vw - 24px) !important;
        max-width: calc(100vw - 24px) !important;
        max-height: calc(100dvh - 24px) !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
    }
    body.bgf-alt-installed dialog.shop-info-modal .shop-info-inner {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 14px !important;
        padding: 46px 16px 20px !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }
    body.bgf-alt-installed dialog.shop-info-modal .shop-info-inner > div {
        min-width: 0 !important;
        max-width: 100% !important;
    }
    body.bgf-alt-installed dialog.shop-info-modal .shop-info-poster {
        display: block !important;
        width: auto !important;
        max-width: 100% !important;
        max-height: 42dvh !important;
        height: auto !important;
        object-fit: contain !important;
        margin: 0 auto !important;
    }
    body.bgf-alt-installed dialog.shop-info-modal .shop-info-copy {
        flex: 0 1 auto !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        overflow-wrap: anywhere;
    }
    body.bgf-alt-installed dialog.shop-info-modal #shopInfoClose {
        top: 10px !important;
        right: 12px !important;
        left: auto !important;
    }
}
/* BGF_INFO_MODAL_MOBILE_20261118:END */

/* BGF_ALT_POPUP_MOBILE_STACK_20261118 */
/* Alternative version popup only. On narrow screens place poster/teaser above full-width text.
   Desktop and native shop-info-modal remain unchanged. Maintain this rule at the CSS end. */
@media (max-width: 600px) {
  body.bgf-alt-installed dialog.bgf-alt-popup .shop-card-top {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    min-width: 0;
  }
  body.bgf-alt-installed dialog.bgf-alt-popup .shop-media-area {
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  body.bgf-alt-installed dialog.bgf-alt-popup .shop-poster {
    width: auto;
    max-width: min(180px, 100%);
    height: auto;
  }
  body.bgf-alt-installed dialog.bgf-alt-popup .shop-media-area > .shop-teaser-button {
    width: min(180px, 100%) !important;
    max-width: 100% !important;
    align-self: center;
  }
  body.bgf-alt-installed dialog.bgf-alt-popup .shop-product-info,
  body.bgf-alt-installed dialog.bgf-alt-popup .shop-product-description {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow-wrap: anywhere;
  }
  body.bgf-alt-installed dialog.bgf-alt-popup .shop-product-card {
    min-width: 0;
    max-width: 100%;
  }
}


/* BGF_FILMINFO_KONSOLIDIERT_V6_20261118
 * Zentrale Pflege der separaten Film-Info. Ohne Prioritaetsdeklarationen.
 * Mobil: Kapitelbeschriftungen umbrechen, eigene Scrollliste, keine Überlappung.
 * Mobile Media Query bleibt am Dateiende.
 */
body.bgf-alt-installed dialog.shop-info-modal.bgf-film-info-separate[open] {
  width: min(1100px, 96vw);
  max-width: 96vw;
  max-height: 94dvh;
  overflow: hidden;
  box-sizing: border-box;
}
body.bgf-alt-installed dialog.shop-info-modal.bgf-film-info-separate .shop-info-inner {
  display: flex;
  flex-direction: column;
  max-height: calc(94dvh - 4px);
  min-height: 0;
  overflow: hidden;
  box-sizing: border-box;
  gap: 8px;
  padding: 20px;
}
body.bgf-alt-installed dialog.shop-info-modal.bgf-film-info-separate .shop-info-inner > div:has(> #shopInfoPoster) {display:none;}
body.bgf-alt-installed dialog.shop-info-modal.bgf-film-info-separate .shop-info-copy {
  display: grid;
  grid-template-columns: minmax(170px,220px) minmax(0,1fr);
  grid-template-rows: auto auto minmax(0,1fr);
  gap: 8px 24px;
  min-height: 0;
  min-width: 0;
  flex: 1;
  overflow: hidden;
  width: 100%;
}
body.bgf-alt-installed dialog.shop-info-modal.bgf-film-info-separate #shopInfoTitle,
body.bgf-alt-installed dialog.shop-info-modal.bgf-film-info-separate #shopInfoMeta {grid-column:1/-1;}
body.bgf-alt-installed dialog.shop-info-modal.bgf-film-info-separate .bgf-film-info-nav {
  grid-column:1;
  grid-row:3;
  display:flex;
  flex-direction:column;
  min-height:0;
  min-width:0;
  overflow:hidden;
  gap:12px;
}
body.bgf-alt-installed dialog.shop-info-modal.bgf-film-info-separate .bgf-film-info-links {
  display:flex;
  flex-direction:column;
  gap:9px;
  min-height:0;
  min-width:0;
  overflow-y:auto;
  overflow-x:hidden;
}
body.bgf-alt-installed dialog.shop-info-modal.bgf-film-info-separate .bgf-film-info-back,
body.bgf-alt-installed dialog.shop-info-modal.bgf-film-info-separate .bgf-film-info-chapter {
  display:block;
  width:100%;
  min-width:0;
  flex:0 0 auto;
  border:0;
  background:transparent;
  color:#c53028;
  text-align:left;
  font:inherit;
  font-weight:700;
  line-height:1.45;
  text-decoration:none;
  white-space:normal;
  overflow-wrap:anywhere;
  word-break:normal;
  padding:4px 0;
  cursor:pointer;
}
body.bgf-alt-installed dialog.shop-info-modal.bgf-film-info-separate #shopInfoSynopsis {
  grid-column:2;
  grid-row:3;
  min-width:0;
  min-height:0;
  max-height:none;
  overflow-y:auto;
  overflow-x:hidden;
  overscroll-behavior:contain;
}
body.bgf-alt-installed dialog.shop-info-modal.bgf-film-info-separate #shopInfoSynopsis img,
body.bgf-alt-installed dialog.shop-info-modal.bgf-film-info-separate #shopInfoSynopsis video {
  max-width:100%; height:auto;
}
@media (max-width:720px) {
  body.bgf-alt-installed dialog.shop-info-modal.bgf-film-info-separate[open] {
    width:calc(100vw - 20px);
    max-width:calc(100vw - 20px);
    max-height:calc(100dvh - 20px);
  }
  body.bgf-alt-installed dialog.shop-info-modal.bgf-film-info-separate .shop-info-inner {
    max-height:calc(100dvh - 24px);
    padding:46px 12px 12px;
  }
  body.bgf-alt-installed dialog.shop-info-modal.bgf-film-info-separate .shop-info-copy {
    display:flex;
    flex-direction:column;
    gap:8px;
    min-width:0;
  }
  body.bgf-alt-installed dialog.shop-info-modal.bgf-film-info-separate .bgf-film-info-nav {
    flex:0 0 auto;
    max-height:min(34dvh,220px);
    min-height:0;
    gap:6px;
  }
  body.bgf-alt-installed dialog.shop-info-modal.bgf-film-info-separate .bgf-film-info-links {
    display:flex;
    flex-direction:column;
    overflow-y:auto;
    overflow-x:hidden;
    white-space:normal;
    gap:4px;
  }
  body.bgf-alt-installed dialog.shop-info-modal.bgf-film-info-separate .bgf-film-info-back,
  body.bgf-alt-installed dialog.shop-info-modal.bgf-film-info-separate .bgf-film-info-chapter {
    flex:0 0 auto;
    width:100%;
    white-space:normal;
    overflow-wrap:anywhere;
    line-height:1.5;
    padding:5px 0;
  }
  body.bgf-alt-installed dialog.shop-info-modal.bgf-film-info-separate #shopInfoSynopsis {
    flex:1 1 auto;
    min-height:0;
    overflow-y:auto;
  }
}

/* BGF_GESAMTPRUEFUNG_RESPONSIVE_20261118
 * Wartung: Responsive Filmplakate und FilmInfo-Navigation zentral hier.
 * Desktop unveraendert; keine zusaetzlichen !important-Deklarationen.
 */
@media (max-width:720px) {
  body.page-filmdetail .filmdetail-sidebar img.filmdetail-poster-img {
    width:min(94%,420px);max-width:420px;height:auto;margin-inline:auto;display:block;
  }
  body.bgf-alt-installed dialog.shop-info-modal.bgf-film-info-separate .bgf-film-info-nav {
    max-height:min(25dvh,170px);overflow-y:auto;flex-shrink:0;
  }
  body.bgf-alt-installed dialog.shop-info-modal.bgf-film-info-separate .bgf-film-info-links {
    max-height:110px;overflow-y:auto;
  }
  body.bgf-alt-installed dialog.shop-info-modal.bgf-film-info-separate #shopInfoSynopsis {
    min-height:150px;overflow-y:auto;overflow-wrap:anywhere;
  }
  body.bgf-alt-installed dialog.bgf-alt-popup .shop-poster {
    width:min(55vw,220px);max-width:220px;height:auto;
  }
}

/* BGF KONSOLIDIERT 2026-11-18 – mobile film posters and chapter readability.
 * Wartung: Filmseitenplakate zentral hier, Desktop unberuehrt.
 * Bei neuen Sprachen keine CSS- oder JS-Sprachlisten anlegen.
 */
@media (max-width:720px) {
  body.page-filmdetail .filmdetail-sidebar {
    min-width:0;
    width:100%;
    max-width:100%;
  }
  body.page-filmdetail .filmdetail-sidebar img.filmdetail-poster-img {
    display:block;
    width:min(94%,420px);
    max-width:100%;
    height:auto;
    margin-inline:auto;
  }
  body.bgf-alt-installed dialog.shop-info-modal.bgf-film-info-separate .bgf-film-info-nav {
    max-height:min(24dvh,160px);
    overflow-y:auto;
    overflow-x:hidden;
  }
  body.bgf-alt-installed dialog.shop-info-modal.bgf-film-info-separate .bgf-film-info-chapter {
    overflow-wrap:anywhere;
    white-space:normal;
  }
}


/* PDF-Modal verwendet denselben bestehenden BGF-Viewer, auch über FilmInfo. */
dialog.bgf-article-pdf-dialog {
  box-sizing:border-box;width:min(620px,calc(100vw - 16px));
  height:calc(100dvh - 16px);max-height:calc(100dvh - 16px);
  padding:0;border:0;border-radius:4px;overflow:hidden;
  box-shadow:0 20px 50px rgba(0,0,0,.5);
}
dialog.bgf-article-pdf-dialog::backdrop {background:rgba(0,0,0,.75);}
dialog.bgf-article-pdf-dialog .bgf-app-container {height:100% !important;max-height:100% !important;}

/* BGF_MODAL_TEASER_MOBILE_V5_START */
/* Wartung: gemeinsame Modal-/Teaser-Steuerung; keine Änderungen an Filmmedienquellen. */
body.bgf-alt-installed dialog.bgf-alt-popup .shop-media-area > .shop-teaser-button,
body.bgf-alt-installed dialog.bgf-alt-popup .shop-teaser-button {
  display:inline-flex;align-items:center;justify-content:center;gap:7px;
  box-sizing:border-box;min-height:34px;max-width:100%;
  background:#252525;color:#fff;border:1px solid #252525;border-radius:0;
  padding:7px 10px;font-size:13px;font-weight:700;line-height:1.35;
  text-align:center;white-space:normal;cursor:pointer;
}
body.bgf-alt-installed dialog.bgf-alt-popup .shop-teaser-button:hover,
body.bgf-alt-installed dialog.bgf-alt-popup .shop-teaser-button:focus-visible {
  background:#C53028;border-color:#C53028;color:#fff;
}
/* Keep source-page media button behaviour: full-surface poster/video controls,
   no separate overlay that blocks playback or enlargement. */
#shopInfoModal #shopInfoSynopsis .bgf-film-media-grid {
  display:grid;grid-template-columns:minmax(0,0.8fr) minmax(0,1fr);
  grid-template-rows:repeat(2,minmax(0,1fr));gap:12px;
  width:100%;max-width:100%;margin:20px 0;
  align-items:stretch;overflow:visible;
}
#shopInfoModal #shopInfoSynopsis .bgf-film-media-grid > .bgf-100-tile {
  position:relative;min-width:0;min-height:0;margin:0;padding:0;
  display:flex;overflow:hidden;align-items:stretch;
}
#shopInfoModal #shopInfoSynopsis .bgf-film-media-grid > .bgf-100-tile:first-child {grid-column:1;grid-row:1 / 3;}
#shopInfoModal #shopInfoSynopsis .bgf-film-media-grid > .bgf-100-tile:nth-child(2) {grid-column:2;grid-row:1;}
#shopInfoModal #shopInfoSynopsis .bgf-film-media-grid > .bgf-100-tile:nth-child(3) {grid-column:2;grid-row:2;}
#shopInfoModal #shopInfoSynopsis .bgf-film-media-grid .bgf-100-preview {width:100%;height:100%;display:flex;align-items:center;justify-content:center;}
#shopInfoModal #shopInfoSynopsis .bgf-film-media-grid .bgf-100-preview img,
#shopInfoModal #shopInfoSynopsis .bgf-film-media-grid .bgf-100-preview video {
  width:100%;height:100%;object-fit:contain;display:block;
}
#shopInfoModal #shopInfoSynopsis .bgf-film-media-grid .bgf-100-open {
  position:absolute;inset:0;z-index:2;display:flex;align-items:flex-end;
  justify-content:center;box-sizing:border-box;width:100%;height:100%;
  padding:12px 8px;border:0;border-radius:0;background:transparent;
  color:#fff;font-size:13px;font-weight:700;text-shadow:0 1px 3px #000;
  opacity:0;cursor:pointer;
}
#shopInfoModal #shopInfoSynopsis .bgf-film-media-grid .bgf-100-open:hover,
#shopInfoModal #shopInfoSynopsis .bgf-film-media-grid .bgf-100-open:focus-visible {
  opacity:1;background:linear-gradient(transparent 50%,rgba(0,0,0,.8));
}
@media(max-width:720px){
  body.bgf-alt-installed dialog.bgf-alt-popup .shop-card-top {
    display:flex;flex-direction:column;gap:14px;align-items:stretch;
  }
  body.bgf-alt-installed dialog.bgf-alt-popup .shop-media-area {
    display:flex;flex-direction:column;align-items:center;gap:8px;
    width:100%;max-width:100%;flex:0 0 auto;
  }
  body.bgf-alt-installed dialog.bgf-alt-popup .shop-poster {
    width:auto;max-width:min(72vw,240px);height:auto;object-fit:contain;
  }
  body.bgf-alt-installed dialog.bgf-alt-popup .shop-media-area > .shop-teaser-button {
    width:min(72vw,240px);max-width:100%;min-width:0;
  }
  body.bgf-alt-installed dialog.bgf-alt-popup .shop-product-info,
  body.bgf-alt-installed dialog.bgf-alt-popup .shop-product-description {
    width:100%;max-width:100%;min-width:0;overflow-wrap:break-word;
  }
  /* Three actual media elements, separated by at least 12px. Poster never disappears. */
  #shopInfoModal #shopInfoSynopsis .bgf-film-media-grid {
    grid-template-columns:minmax(0,1fr);grid-template-rows:none;gap:12px;
  }
  #shopInfoModal #shopInfoSynopsis .bgf-film-media-grid > .bgf-100-tile,
  #shopInfoModal #shopInfoSynopsis .bgf-film-media-grid > .bgf-100-tile:first-child,
  #shopInfoModal #shopInfoSynopsis .bgf-film-media-grid > .bgf-100-tile:nth-child(2),
  #shopInfoModal #shopInfoSynopsis .bgf-film-media-grid > .bgf-100-tile:nth-child(3) {
    grid-column:auto;grid-row:auto;height:auto;min-height:0;
  }
  #shopInfoModal #shopInfoSynopsis .bgf-film-media-grid > .bgf-100-tile:first-child {
    width:min(80%,250px);justify-self:center;aspect-ratio:1000/1414;
  }
  #shopInfoModal #shopInfoSynopsis .bgf-film-media-grid > .bgf-100-tile:not(:first-child) {
    width:100%;aspect-ratio:16/9;
  }
  #shopInfoModal #shopInfoSynopsis .bgf-film-media-grid .bgf-100-open {
    opacity:1;background:linear-gradient(transparent 65%,rgba(0,0,0,.75));
  }
}
/* BGF_MODAL_TEASER_MOBILE_V5_END */

/* BGF_MODAL_MEDIEN_V9: Medien ausschliesslich aus dem Filmkopf.
   Wartung: HTML-Medien in .filmdetail-layout-container pflegen; keine
   100-Kinos-Kacheln in Kaufmodale kopieren. Mobile Regeln stehen am Dateiende. */
dialog.bgf-alt-popup.bgf-modal-media-v9-active .shop-card-top {
  display:flex;flex-direction:column;align-items:stretch;gap:14px;
}
dialog.bgf-alt-popup.bgf-modal-media-v9-active .bgf-alt-header-media {
  display:grid;grid-template-columns:minmax(0,31fr) minmax(0,69fr);
  gap:12px;width:100%;min-width:0;box-sizing:border-box;align-items:center;
}
dialog.bgf-alt-popup.bgf-modal-media-v9-active .bgf-alt-header-media button {
  appearance:none;border:0;padding:0;margin:0;min-width:0;width:100%;
  background:#111;position:relative;cursor:zoom-in;overflow:hidden;
}
dialog.bgf-alt-popup.bgf-modal-media-v9-active .bgf-alt-header-media img,
dialog.bgf-alt-popup.bgf-modal-media-v9-active .bgf-alt-header-media video {
  display:block;width:100%;height:auto;max-width:100%;object-fit:contain;
}
dialog.bgf-alt-popup.bgf-modal-media-v9-active .bgf-alt-header-play {
  position:absolute;right:10px;bottom:10px;color:white;background:#c53028;
  border-radius:3px;padding:7px 11px;font-weight:bold;
}
dialog.bgf-alt-popup.bgf-modal-media-v9-active .shop-media-area .shop-poster {display:none;}
dialog.bgf-alt-popup.bgf-modal-media-v9-active .shop-media-area {
  display:flex;justify-content:center;align-items:center;width:100%;
}
dialog.bgf-alt-header-viewer {
  box-sizing:border-box;border:0;border-radius:4px;padding:42px 12px 12px;
  background:#fff;max-width:min(95vw,1100px);width:95vw;max-height:95dvh;
}
dialog.bgf-alt-header-viewer::backdrop {background:rgba(0,0,0,.82);}
dialog.bgf-alt-header-viewer video {display:block;width:100%;max-height:calc(95dvh - 65px);}
dialog.bgf-alt-header-viewer .bgf-alt-header-viewer-close {
  position:absolute;right:12px;top:6px;background:none;border:0;
  color:#c53028;font-size:26px;cursor:pointer;
}
@media(max-width:720px) {
  dialog.bgf-alt-popup.bgf-modal-media-v9-active .bgf-alt-header-media {
    grid-template-columns:minmax(0,1fr);gap:12px;
  }
  dialog.bgf-alt-popup.bgf-modal-media-v9-active .bgf-alt-header-media button {width:100%;}
}

/* BGF_MODAL_MEDIEN_V10_CORPORATE_START */
/* Wartung: Corporate-Mediensteuerung fuer Fassungs- und Filminfo-Modale.
   Quellen, Video-Loop, Poster-Viewer und Slideshow bleiben im vorhandenen JS/HTML.
   Keine duplizierten Klick-Handler. Mobile Media Queries am Ende der CSS. */
dialog.bgf-alt-popup.bgf-modal-media-v9-active .bgf-alt-header-media button {
  position:relative;display:block;overflow:hidden;box-sizing:border-box;
  padding:0;margin:0;border:1px solid transparent;border-radius:0;
  background:#171717;color:#fff;cursor:pointer;
  transition:border-color .18s ease,box-shadow .18s ease;
}
dialog.bgf-alt-popup.bgf-modal-media-v9-active .bgf-alt-header-media button:hover,
dialog.bgf-alt-popup.bgf-modal-media-v9-active .bgf-alt-header-media button:focus-visible {
  border-color:#C53028;box-shadow:0 0 0 2px #C53028;outline:none;
}
dialog.bgf-alt-popup.bgf-modal-media-v9-active .bgf-alt-header-media button::after {
  content:'⛶';position:absolute;right:10px;bottom:10px;z-index:2;
  display:flex;align-items:center;justify-content:center;
  min-width:36px;height:36px;padding:0 5px;box-sizing:border-box;
  background:#C53028;color:#fff;border:1px solid #C53028;
  font-size:20px;font-weight:700;line-height:1;
  transition:background .18s ease,color .18s ease;
  pointer-events:none;
}
dialog.bgf-alt-popup.bgf-modal-media-v9-active .bgf-alt-header-media .bgf-alt-header-loop::after {
  content:'▶';font-size:16px;
}
dialog.bgf-alt-popup.bgf-modal-media-v9-active .bgf-alt-header-media .bgf-alt-header-play {
  display:none; /* einziges sichtbares Play-Symbol: ::after */
}
dialog.bgf-alt-popup.bgf-modal-media-v9-active .bgf-alt-header-media button:hover::after,
dialog.bgf-alt-popup.bgf-modal-media-v9-active .bgf-alt-header-media button:focus-visible::after {
  background:#fff;color:#C53028;
}
dialog.bgf-alt-header-viewer .bgf-alt-header-viewer-close {
  color:#C53028;background:transparent;border:1px solid transparent;
  font-weight:700;transition:background .18s ease,color .18s ease;
}
dialog.bgf-alt-header-viewer .bgf-alt-header-viewer-close:hover,
dialog.bgf-alt-header-viewer .bgf-alt-header-viewer-close:focus-visible {
  background:#C53028;color:#fff;border-color:#C53028;outline:none;
}
/* Originale Medienbuttons in der Filminfo: identische Corporate-Hoverlogik. */
#shopInfoModal #shopInfoSynopsis .bgf-film-media-grid .bgf-100-open {
  color:#fff;border:1px solid transparent;transition:background .18s ease,border-color .18s ease;
}
#shopInfoModal #shopInfoSynopsis .bgf-film-media-grid .bgf-100-open:hover,
#shopInfoModal #shopInfoSynopsis .bgf-film-media-grid .bgf-100-open:focus-visible {
  color:#fff;border-color:#C53028;background:linear-gradient(transparent 55%,rgba(197,48,40,.88));
  outline:none;
}
@media(max-width:720px) {
  dialog.bgf-alt-popup.bgf-modal-media-v9-active .bgf-alt-header-media {gap:12px;}
  dialog.bgf-alt-popup.bgf-modal-media-v9-active .bgf-alt-header-media button::after {
    right:10px;bottom:10px;min-width:40px;height:40px;
  }
}
/* BGF_MODAL_MEDIEN_V10_CORPORATE_END */

/* BGF_V11_HEADER_MEDIA: Nur die aus dem Filmkopf kopierten Medien im Info-Modal.
   Wartung: .filmdetail-layout-container im jeweiligen Film-HTML ist die Quelle.
   100-Kinos-Medien und ihre Buttons werden nicht beeinflusst. */
#shopInfoModal #shopInfoSynopsis .bgf-v11-info-media {
  display:grid;grid-template-columns:minmax(0,38fr) minmax(0,62fr);
  align-items:start;gap:12px;width:100%;margin:0 0 20px;box-sizing:border-box;
}
#shopInfoModal #shopInfoSynopsis .bgf-v11-media-button {
  position:relative;display:block;width:100%;min-width:0;padding:0;margin:0;
  border:2px solid transparent;border-radius:0;background:#171717;
  cursor:pointer;overflow:hidden;transition:border-color .18s ease;
}
#shopInfoModal #shopInfoSynopsis .bgf-v11-media-button img,
#shopInfoModal #shopInfoSynopsis .bgf-v11-media-button video {
  display:block;width:100%;height:auto;object-fit:contain;
}
#shopInfoModal #shopInfoSynopsis .bgf-v11-media-button::after {
  content:'⛶';position:absolute;right:8px;bottom:8px;background:#C53028;
  color:#fff;padding:7px 10px;font-size:18px;line-height:1;
}
#shopInfoModal #shopInfoSynopsis .bgf-v11-slide::after {content:none;display:none;}
#shopInfoModal #shopInfoSynopsis .bgf-v11-media-button:hover,
#shopInfoModal #shopInfoSynopsis .bgf-v11-media-button:focus-visible {border-color:#C53028;outline:none;}
#shopInfoModal #shopInfoSynopsis .bgf-v11-media-button:hover::after,
#shopInfoModal #shopInfoSynopsis .bgf-v11-media-button:focus-visible::after {background:#fff;color:#C53028;}
dialog.bgf-v11-viewer {max-width:min(96vw,1000px);width:96vw;max-height:96dvh;
  padding:45px 12px 12px;box-sizing:border-box;background:#fff;border:0;}
dialog.bgf-v11-viewer::backdrop {background:rgba(0,0,0,.85);}
dialog.bgf-v11-viewer video {display:block;width:100%;max-height:calc(96dvh - 65px);}
dialog.bgf-v11-viewer .bgf-v11-large-poster {display:block;max-width:100%;max-height:calc(96dvh - 65px);width:auto;height:auto;margin:auto;}
dialog.bgf-v11-viewer .bgf-v11-close {position:absolute;right:10px;top:6px;
  border:1px solid transparent;background:#fff;color:#C53028;font-weight:700;font-size:24px;cursor:pointer;}
dialog.bgf-v11-viewer .bgf-v11-close:hover,
dialog.bgf-v11-viewer .bgf-v11-close:focus-visible {background:#C53028;color:#fff;}
@media(max-width:720px) {
  #shopInfoModal #shopInfoSynopsis .bgf-v11-info-media {grid-template-columns:minmax(0,1fr);gap:12px;}
  #shopInfoModal #shopInfoSynopsis .bgf-v11-poster {width:100%;max-width:100%;}
}
/* BGF_V11_HEADER_MEDIA_END */


/* BGF_V13_IST_KORREKTUR – Stand 19.11.2026.
   Wartung: Nur Bedienoberflaechen; V11-Klassen entsprechen shop-system.js.
   Keine Medienquellen, HTML, JS, Kapitel oder 100-Kinos-Positionen aendern.
   Medienregeln fuer mobile Ansichten stehen am Ende der Datei. */
#shopInfoModal #shopInfoSynopsis .bgf-v11-media-button::after,
dialog.bgf-alt-popup.bgf-modal-media-v9-active .bgf-alt-header-media button::after {
  opacity:0;visibility:hidden;
  transition:opacity .18s ease,visibility .18s ease,background .18s ease,color .18s ease;
}
#shopInfoModal #shopInfoSynopsis .bgf-v11-media-button:is(:hover,:focus-visible)::after,
dialog.bgf-alt-popup.bgf-modal-media-v9-active .bgf-alt-header-media button:is(:hover,:focus-visible)::after {
  opacity:1;visibility:visible;background:#C53028;color:#fff;
}
/* Die vorhandenen 100-Kinos-Kacheln im Filminfo-Klon erhalten die
   Positionierung ihrer originalen HTML-Klickflaechen, ohne Umordnung. */
#shopInfoModal #shopInfoSynopsis .bgf-100-media-tiles .bgf-100-tile {
  position:relative;overflow:hidden;
}
#shopInfoModal #shopInfoSynopsis .bgf-100-media-tiles .bgf-100-tile > .bgf-100-open {
  position:absolute;inset:0;z-index:3;box-sizing:border-box;
  display:flex;align-items:flex-end;justify-content:center;
  width:100%;height:100%;margin:0;padding:14px 10px;
  border:0;border-radius:0;background:transparent;color:#fff;
  font:inherit;font-size:14px;font-weight:700;text-align:center;
  text-shadow:0 1px 3px #000;cursor:pointer;
  opacity:0;transition:opacity .18s ease,background .18s ease;
}
#shopInfoModal #shopInfoSynopsis .bgf-100-media-tiles .bgf-100-tile > .bgf-100-open:is(:hover,:focus-visible),
#shopInfoModal #shopInfoSynopsis .bgf-100-media-tiles .bgf-100-tile.bgf-100-touch-reveal > .bgf-100-open {
  opacity:1;background:linear-gradient(to top,rgba(197,48,40,.86),transparent 62%);
}
#shopInfoModal #shopInfoSynopsis .bgf-100-media-tiles .bgf-100-tile > .bgf-100-open:focus-visible {
  outline:2px solid #C53028;outline-offset:-3px;
}
/* Die bereits funktionierende Originalkachel bleibt am Originalort.
   Nur die Hover-Farbe wird vereinheitlicht. */
.bgf-100-cinemas .bgf-100-tile > .bgf-100-open:is(:hover,:focus-visible),
.bgf-100-cinemas .bgf-100-tile.bgf-100-touch-reveal > .bgf-100-open {
  background:linear-gradient(to top,rgba(197,48,40,.86),transparent 62%)!important;
  color:#fff;
}


/* BGF_PDF_100KINOS_V14 – zentraler Firmenlook fuer PDF-Artikel und Viewer.
   Wartung: kein Eingriff in die Originalseite oder V11-Mediensteuerung. */
#shopInfoModal #shopInfoSynopsis a[href$=".pdf"],
#shopInfoModal #shopInfoSynopsis a[href*=".pdf?"],
a.bgf-presse-pdf-firmenlink {
  color:#C53028!important;text-decoration:none!important;font-weight:400!important;
}
#shopInfoModal #shopInfoSynopsis a[href$=".pdf"]:is(:hover,:focus-visible),
#shopInfoModal #shopInfoSynopsis a[href*=".pdf?"]:is(:hover,:focus-visible),
a.bgf-presse-pdf-firmenlink:is(:hover,:focus-visible) {
  color:#C53028!important;text-decoration:none!important;font-weight:700!important;
}
dialog.bgf-press-pdf-viewer {
  box-sizing:border-box;width:min(96vw,1100px);max-width:1100px;
  height:96dvh;max-height:96dvh;padding:0;border:0;background:#fff;
}
dialog.bgf-press-pdf-viewer::backdrop {background:rgba(0,0,0,.83);}
.bgf-press-pdf-toolbar {height:46px;display:flex;align-items:center;justify-content:flex-end;padding:0 12px;}
.bgf-press-pdf-close {border:0;background:transparent;color:#C53028;font:700 15px Arial,sans-serif;cursor:pointer;padding:9px 12px;}
.bgf-press-pdf-close:is(:hover,:focus-visible) {background:#C53028;color:#fff;}
.bgf-press-pdf-frame {display:block;border:0;width:100%;height:calc(100% - 46px);}
#shopInfoModal #shopInfoSynopsis .bgf-100-media-tiles[data-bgf-cinema-placed="1"] {margin:16px 0 22px;}
@media(max-width:720px) {
  dialog.bgf-press-pdf-viewer {width:100vw;height:100dvh;max-height:100dvh;}
}

/* BGF V17: Original-Kaufrechteck des Produkt-Renderers im Fassungsmodal.
   Wartung: DOM-Struktur in shop-system.js (bgf-alt-purchase-region).
   Preise, Produkt-IDs, Medienquellen und HTML bleiben unveraendert. */
dialog.bgf-alt-popup.bgf-alt-purchase-v17 .shop-card-top {
  display:grid;grid-template-columns:minmax(0,1fr) minmax(0,0.8fr);
  align-items:start;gap:14px;
}
dialog.bgf-alt-popup.bgf-alt-purchase-v17 .bgf-alt-header-media {
  grid-column:1 / -1;
}
dialog.bgf-alt-popup.bgf-alt-purchase-v17 .bgf-alt-purchase-region {
  grid-column:1 / -1;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,0.8fr);
  align-items:start;gap:10px 14px;min-width:0;
}
dialog.bgf-alt-popup.bgf-alt-purchase-v17 .bgf-alt-purchase-region > .shop-media-area {
  grid-column:1;grid-row:1 / span 2;max-width:none;width:100%;flex:none;
  display:flex;align-items:flex-start;justify-content:flex-start;
}
dialog.bgf-alt-popup.bgf-alt-purchase-v17 .bgf-alt-purchase-region > .shop-availability {
  grid-column:2;grid-row:1;margin:0;min-width:0;
}
dialog.bgf-alt-popup.bgf-alt-purchase-v17 .bgf-alt-purchase-region > .bgf-kauf-kachel {
  grid-column:2;grid-row:2;margin:0;min-width:0;
}
dialog.bgf-alt-popup.bgf-alt-purchase-v17 .shop-product-card > .shop-product-info {
  width:100%;max-width:100%;margin-top:14px;min-width:0;
}
@media(max-width:720px) {
  dialog.bgf-alt-popup.bgf-alt-purchase-v17 .shop-card-top,
  dialog.bgf-alt-popup.bgf-alt-purchase-v17 .bgf-alt-purchase-region {
    display:flex;flex-direction:column;gap:12px;align-items:stretch;
  }
  dialog.bgf-alt-popup.bgf-alt-purchase-v17 .bgf-alt-purchase-region > .shop-media-area,
  dialog.bgf-alt-popup.bgf-alt-purchase-v17 .bgf-alt-purchase-region > .shop-availability,
  dialog.bgf-alt-popup.bgf-alt-purchase-v17 .bgf-alt-purchase-region > .bgf-kauf-kachel {
    width:100%;max-width:100%;margin:0;
  }
}


/* BGF V18 – Filmseiten-Rechteck im Fassungsmodal.
   Quelle: de/en/it/finding-pictures.html, filmdetail-layout-container
   und kaufbereich-horizontal-row. Kein Eingriff in die Filmseiten selbst.
   Die Shop-Kaufkachel bleibt die originale, sprachabhängige Renderer-Ausgabe. */
dialog.bgf-alt-popup.bgf-v18-film-rectangle .shop-card-top {
  display:block;
}
dialog.bgf-alt-popup.bgf-v18-film-rectangle .bgf-v18-media-layout,
dialog.bgf-alt-popup.bgf-v18-film-rectangle .bgf-v18-purchase-row {
  display:grid;
  grid-template-columns:minmax(0,0.7fr) minmax(0,1fr);
  column-gap:12px;
  width:100%;
  align-items:start;
  box-sizing:border-box;
}
dialog.bgf-alt-popup.bgf-v18-film-rectangle .bgf-v18-media-layout {
  margin:0;
}
dialog.bgf-alt-popup.bgf-v18-film-rectangle .bgf-v18-media-layout > *,
dialog.bgf-alt-popup.bgf-v18-film-rectangle .bgf-v18-purchase-row > * {
  width:100%;min-width:0;max-width:none;margin:0;padding:0;
}
dialog.bgf-alt-popup.bgf-v18-film-rectangle .bgf-v18-media-layout button {
  position:relative;display:block;width:100%;padding:0;border:0;
  background:transparent;cursor:pointer;overflow:hidden;
}
dialog.bgf-alt-popup.bgf-v18-film-rectangle .bgf-v18-media-layout img,
dialog.bgf-alt-popup.bgf-v18-film-rectangle .bgf-v18-media-layout video {
  display:block;width:100%;height:auto;object-fit:contain;
}
dialog.bgf-alt-popup.bgf-v18-film-rectangle .bgf-v18-media-layout button::after {
  content:'⛶';position:absolute;right:8px;bottom:8px;
  background:#C53028;color:white;padding:8px 11px;
  opacity:0;transition:opacity .18s ease;pointer-events:none;
}
dialog.bgf-alt-popup.bgf-v18-film-rectangle .bgf-v18-media-layout .bgf-alt-header-loop::after {
  content:'▶';
}
dialog.bgf-alt-popup.bgf-v18-film-rectangle .bgf-v18-media-layout button:is(:hover,:focus-visible)::after {
  opacity:1;
}
dialog.bgf-alt-popup.bgf-v18-film-rectangle .bgf-v18-media-layout .bgf-alt-header-play {
  display:none;
}
dialog.bgf-alt-popup.bgf-v18-film-rectangle .bgf-v18-purchase-row {
  margin:10px 0 16px;
}
dialog.bgf-alt-popup.bgf-v18-film-rectangle .bgf-v18-purchase-row .shop-availability {
  margin:0 0 5px;
}
dialog.bgf-alt-popup.bgf-v18-film-rectangle .bgf-v18-purchase-row .bgf-kauf-kachel {
  margin:0;min-width:0;width:100%;box-sizing:border-box;
}
dialog.bgf-alt-popup.bgf-v18-film-rectangle .bgf-v18-purchase-row .shop-teaser-button {
  width:100%;max-width:100%;margin:0;box-sizing:border-box;
  background:#222;color:#fff;border:0;cursor:pointer;
}
dialog.bgf-alt-popup.bgf-v18-film-rectangle .bgf-v18-purchase-row .shop-teaser-button:is(:hover,:focus-visible) {
  background:#C53028;color:white;
}
dialog.bgf-alt-popup.bgf-v18-film-rectangle .shop-product-card > .shop-product-info {
  margin-top:0;width:100%;max-width:100%;
}
@media(max-width:720px) {
  dialog.bgf-alt-popup.bgf-v18-film-rectangle .bgf-v18-media-layout,
  dialog.bgf-alt-popup.bgf-v18-film-rectangle .bgf-v18-purchase-row {
    display:flex;flex-direction:column;gap:12px;
  }
  dialog.bgf-alt-popup.bgf-v18-film-rectangle .bgf-v18-purchase-row {
    margin-top:12px;
  }
}

/* BGF V23 – EINZIGE Layoutquelle fuer das alternative Filmfassungsmodal.
   Wartung: Medien-/Kaufrechteck nur hier anpassen. Die Filmseiten-HTML,
   Produktdaten, Kauf-Events und das allgemeine Shop-Layout bleiben unberuehrt.
   31:69 gilt fuer die nutzbare Breite nach Abzug des Spaltenabstands. */
dialog.bgf-alt-popup.bgf-v19-film-rectangle .shop-card-top {
  display:block; width:100%; min-width:0;
}
dialog.bgf-alt-popup.bgf-v19-film-rectangle .bgf-v19-rectangle {
  display:grid; grid-template-columns:minmax(0,38fr) minmax(0,62fr);
  gap:12px; width:100%; min-width:0; box-sizing:border-box;
  align-items:stretch;
}
dialog.bgf-alt-popup.bgf-v19-film-rectangle .bgf-v19-left,
dialog.bgf-alt-popup.bgf-v19-film-rectangle .bgf-v19-right {
  display:flex; flex-direction:column; align-items:stretch;
  min-width:0; width:100%; margin:0; padding:0; box-sizing:border-box;
}
dialog.bgf-alt-popup.bgf-v19-film-rectangle .bgf-v19-rectangle .bgf-alt-header-poster,
dialog.bgf-alt-popup.bgf-v19-film-rectangle .bgf-v19-rectangle .bgf-alt-header-loop {
  display:block; position:relative; overflow:hidden; width:100%;
  padding:0; margin:0; border:0; background:transparent; cursor:pointer;
}
dialog.bgf-alt-popup.bgf-v19-film-rectangle .bgf-v19-rectangle img,
dialog.bgf-alt-popup.bgf-v19-film-rectangle .bgf-v19-rectangle video {
  display:block; width:100%; height:auto; max-width:100%; object-fit:contain;
}
dialog.bgf-alt-popup.bgf-v19-film-rectangle .bgf-v19-left > .shop-teaser-button {
  display:flex; align-items:center; justify-content:center;
  width:100%; max-width:100%; min-width:0; box-sizing:border-box;
  margin:0; padding:7px 10px; background:#262625; color:#fff;
  border:0; font-size:13px; font-weight:700; line-height:1.35;
}
dialog.bgf-alt-popup.bgf-v19-film-rectangle .bgf-v19-left > .shop-teaser-button:is(:hover,:focus-visible) {
  background:#C53028; color:#fff;
}
dialog.bgf-alt-popup.bgf-v19-film-rectangle .bgf-v19-right > .shop-availability {
  width:100%; min-width:0; margin:5px 0 0; padding:0; border:0;
}
dialog.bgf-alt-popup.bgf-v19-film-rectangle .bgf-v19-right > .bgf-kauf-kachel {
  display:flex; flex-direction:column; align-items:stretch; gap:5px;
  width:100%; min-width:0; margin:5px 0 0; padding:0; box-sizing:border-box;
}
dialog.bgf-alt-popup.bgf-v19-film-rectangle .bgf-v19-right .shop-license-row {
  display:grid; grid-template-columns:minmax(0,1fr) auto;
  align-items:center; gap:3px 8px; min-width:0; margin:0; padding:2px 0;
}
dialog.bgf-alt-popup.bgf-v19-film-rectangle .bgf-v19-right .shop-license-row > span {
  display:flex; flex-wrap:wrap; align-items:baseline; gap:2px 5px;
  min-width:0; font-size:13px; line-height:1.35;
}
dialog.bgf-alt-popup.bgf-v19-film-rectangle .bgf-v19-right .bgf-license-label {
  color:#C53028; font-weight:700;
}
dialog.bgf-alt-popup.bgf-v19-film-rectangle .bgf-v19-right .bgf-license-price {
  color:#111; font-weight:400; white-space:nowrap;
}
dialog.bgf-alt-popup.bgf-v19-film-rectangle .bgf-v19-right .shop-license-row > .shop-buy-button {
  width:auto; min-width:74px; margin:0; padding:6px 10px;
  justify-self:end; align-self:center; white-space:nowrap;
}
dialog.bgf-alt-popup.bgf-v19-film-rectangle .bgf-alt-payment-v22 {
  display:flex; flex-wrap:wrap; align-items:center; gap:4px 8px;
  width:100%; margin:5px 0 0; padding:4px 0 0;
  border-top:1px solid #eee; font-size:11px; line-height:1.4;
}
dialog.bgf-alt-popup.bgf-v19-film-rectangle .bgf-alt-payment-logos-v22 {
  display:inline-flex; align-items:center; min-width:0;
}
dialog.bgf-alt-popup.bgf-v19-film-rectangle .bgf-alt-payment-v22 .bgf-payment-note {
  min-width:0; flex:1 1 170px;
}
/* Der Titel darf nicht die fruehere 15px-Shopkarten-Ueberschrift erben. */
body.bgf-alt-installed dialog.bgf-alt-popup.bgf-v19-film-rectangle .shop-product-title {
  font-size:22px; line-height:1.25; font-weight:700;
}
body.bgf-alt-installed dialog.bgf-alt-popup.bgf-v19-film-rectangle .shop-product-meta {
  font-size:13px; line-height:1.4;
}
dialog.bgf-alt-popup.bgf-v19-film-rectangle .shop-product-card > .shop-product-info {
  width:100%; max-width:100%; min-width:0; margin-top:16px;
}
/* Der Loop laeuft automatisch; kein Play-Pfeil, auch nicht als Pseudoelement.
   Klick zum vergroesserten Viewer bleibt technisch moeglich. */
dialog.bgf-alt-popup.bgf-v19-film-rectangle .bgf-v19-right .bgf-alt-header-loop::after,
dialog.bgf-alt-popup.bgf-v19-film-rectangle .bgf-v19-right .bgf-alt-header-play {
  content:none; display:none;
}
/* BGF V24: Die sichtbare Rechteckkontur umfasst beide Spalten und ihre
   gemeinsame Hoehe. Die 38:62-Teilung gleicht bei 850px Modalbreite das
   Posterformat (~0,70 Breite/Hoehe) gegen 16:9 Loop + Kaufzeilen aus.
   Keine absolute Hoehe: Sprachumbrueche duerfen wachsen. */
dialog.bgf-alt-popup.bgf-v19-film-rectangle .bgf-v19-rectangle {
  border:1px solid #ddd;
  padding:12px;
  align-items:stretch;
}
dialog.bgf-alt-popup.bgf-v19-film-rectangle .bgf-v19-left,
dialog.bgf-alt-popup.bgf-v19-film-rectangle .bgf-v19-right {
  height:100%;
}
dialog.bgf-alt-popup.bgf-v19-film-rectangle .bgf-v19-left > .shop-teaser-button {
  width:100% !important;
  min-width:0 !important;
  max-width:100% !important;
  min-height:32px;
  padding:6px 8px !important;
  flex:0 0 auto;
}
dialog.bgf-alt-popup.bgf-v19-film-rectangle .bgf-v19-right .shop-license-row > span,
dialog.bgf-alt-popup.bgf-v19-film-rectangle .bgf-v19-right .bgf-license-label,
dialog.bgf-alt-popup.bgf-v19-film-rectangle .bgf-v19-right .bgf-license-price {
  font-size:14px;
  line-height:1.45;
}
dialog.bgf-alt-popup.bgf-v19-film-rectangle .bgf-v19-right .shop-license-row > .shop-buy-button {
  font-size:13px;
  min-height:32px;
}
dialog.bgf-alt-popup.bgf-v19-film-rectangle .bgf-v19-right > .shop-availability {
  font-size:14px;
  line-height:1.4;
}
dialog.bgf-alt-popup.bgf-v19-film-rectangle .bgf-alt-payment-v22 {
  font-size:12px;
  line-height:1.4;
}
/* Alle mobilen Regeln am Ende der CSS-Datei. */
@media (max-width:720px) {
  dialog.bgf-alt-popup.bgf-v19-film-rectangle .bgf-v19-rectangle {
    display:flex; flex-direction:column; gap:12px;
  }
  dialog.bgf-alt-popup.bgf-v19-film-rectangle .bgf-v19-left,
  dialog.bgf-alt-popup.bgf-v19-film-rectangle .bgf-v19-right {
    width:100%; min-height:0;
  }
  body.bgf-alt-installed dialog.bgf-alt-popup.bgf-v19-film-rectangle .shop-product-title {
    font-size:20px;
  }
}

/* BGF_V28_FILMINFO_KAUFBEREICH – Quelle ist der originale Fassungsdialog.
   Keine HTML-/Preis-/Kaufsteuerungs-Aenderungen; 38:62 nach Abzug von 12px Abstand. */
#shopInfoModal #shopInfoSynopsis .bgf-v11-info-media.bgf-v28-purchase-media {
  border:1px solid #ddd; padding:12px; box-sizing:border-box;
  display:grid;grid-template-columns:minmax(0,38fr) minmax(0,62fr);
  gap:12px;align-items:stretch;width:100%;
}
#shopInfoModal .bgf-v28-info-left,#shopInfoModal .bgf-v28-info-right {
  display:flex;flex-direction:column;min-width:0;width:100%;gap:6px;
}
#shopInfoModal .bgf-v28-info-left .shop-teaser-button {
  display:block;width:100%;padding:7px 10px;background:#262625;color:#fff;
  border:0;font-size:13px;font-weight:700;cursor:pointer;
}
#shopInfoModal .bgf-v28-info-right .bgf-kauf-kachel {
  display:flex;flex-direction:column;gap:6px;margin:4px 0 0;min-width:0;
}
#shopInfoModal .bgf-v28-info-right .shop-license-row {
  display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center;
  margin:0;padding:2px 0;min-width:0;
}
#shopInfoModal .bgf-v28-info-right .shop-license-row > span {
  display:flex;flex-wrap:wrap;align-items:baseline;gap:4px;font-size:13px;line-height:1.4;
}
#shopInfoModal .bgf-v28-info-right .bgf-license-label {color:#C53028;font-weight:700;}
#shopInfoModal .bgf-v28-info-right .bgf-license-price {color:#111;white-space:nowrap;}
#shopInfoModal .bgf-v28-info-right .shop-buy-button {
  display:inline-block;background:#ffbd32;border:0;border-radius:3px;
  padding:7px 10px;font-size:13px;font-weight:700;cursor:pointer;white-space:nowrap;
}
#shopInfoModal .bgf-v28-info-right .bgf-alt-payment-v22 {
  display:flex;flex-wrap:wrap;align-items:center;gap:6px;
  padding-top:5px;border-top:1px solid #eee;font-size:11px;line-height:1.4;
}
#shopInfoModal .bgf-v28-info-right .bgf-alt-payment-logos-v22 {display:inline-flex;align-items:center;}
#shopInfoModal .bgf-v28-info-right .bgf-payment-note {flex:1 1 150px;}
#shopInfoModal .bgf-v28-info-right .bgf-v11-slide {width:100%;}
@media(max-width:720px) {
  #shopInfoModal #shopInfoSynopsis .bgf-v11-info-media.bgf-v28-purchase-media {
    grid-template-columns:minmax(0,1fr);gap:12px;
  }
  #shopInfoModal .bgf-v28-info-left,#shopInfoModal .bgf-v28-info-right {width:100%;}
}

/* BGF_MOBILE_RETURN_20261119
 * Mobile only: original purchase nodes first, media second; desktop unchanged.
 * The separate info dialog retains its original editorial sections.
 * No duplicate controls, prices or payment actions are introduced.
 */
@media (max-width:720px) {
  dialog.bgf-alt-popup.bgf-v19-film-rectangle .bgf-v19-rectangle {
    display:flex;
    flex-direction:column;
  }
  dialog.bgf-alt-popup.bgf-v19-film-rectangle .bgf-v19-right {order:0;}
  dialog.bgf-alt-popup.bgf-v19-film-rectangle .bgf-v19-left {order:1;}
  #shopInfoModal #shopInfoSynopsis .bgf-v28-purchase-media {
    display:flex;
    flex-direction:column;
  }
  #shopInfoModal #shopInfoSynopsis .bgf-v28-info-right {order:0;}
  #shopInfoModal #shopInfoSynopsis .bgf-v28-info-left {order:1;}
  #shopInfoModal.bgf-film-info-separate .bgf-film-info-nav {
    max-height:min(32dvh,220px);
    overflow-y:auto;
    overscroll-behavior:contain;
  }
}
/* BGF_FILM_MOBILE_OVERVIEW_V4 — keep mobile rules at stylesheet end. */
.bgf-film-mobile-overview{display:none}
@media(max-width:950px){
  .bgf-film-mobile-overview{display:block;box-sizing:border-box;width:100%;background:#fff;border:1px solid #d7d7d7;border-radius:4px;font-size:14px;}
  #bgf-film-page-overview{position:sticky;top:100px;z-index:34;margin:8px 0 14px;}
  #bgf-film-modal-overview{position:sticky;top:0;z-index:3;margin:0 0 12px;}
  .bgf-film-mobile-overview summary{padding:11px 14px;color:#c53028;font-weight:700;cursor:pointer;line-height:1.35;}
  .bgf-film-mobile-overview nav{display:grid;max-height:min(55vh,360px);overflow:auto;border-top:1px solid #eee;}
  .bgf-film-mobile-overview nav button{appearance:none;border:0;border-bottom:1px solid #eee;background:#fff;color:#c53028;text-align:left;padding:11px 14px;font:600 14px/1.35 inherit;cursor:pointer;}
  .bgf-film-mobile-overview nav button:focus-visible{outline:2px solid #c53028;outline-offset:-2px;}
  main[data-page-type="film"] h2,main[data-page-type="film"] h3,#bgf-film-kaufbox{scroll-margin-top:165px;}
  #shopInfoModal .bgf-film-info-links{display:none;}
}
@media(min-width:600px) and (max-width:950px) and (orientation:landscape){
 #bgf-film-page-overview{top:48px}
 .bgf-film-mobile-overview nav{max-height:50vh}
}
