/* BGF_WARTUNGSHINWEIS_PATCH5_20261112
 * DATEI: css/kauf-system.css
 * PFLEGE: Kaufmodal-, Warenkorb- und Checkout-Layout. Texte in JS-Datenbanken, nicht in CSS. Mobile @media-Regeln gesammelt am Dateiende halten.
 * REGEL: Neue Sprachen ausschließlich durch Ergänzung der zuständigen zentralen Datenbanken; keine Funktions-/CSS-Änderungen für Übersetzungen.
 */
/* BGF – KAUF-SYSTEM
 * Gestaltung der zugehörigen Komponenten.
 * Reihenfolge und Spezifität der Regeln beachten; !important nur gezielt ändern.
 */
/* ==========================================================================
   6. KAUFABWICKLUNG & RECHTSSICHERE MODALE (EDLER DESIGN-LOOK)
   ========================================================================== */

/* Das Haupt-Overlay im Hintergrund (Kinomodus bleibt erhalten) */
.bgf-modal-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(10, 10, 10, 0.85) !important;
    backdrop-filter: blur(5px) !important;
    -webkit-backdrop-filter: blur(5px) !important;
    z-index: 1000000 !important;
    display: none;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    padding: 20px !important;
}

/* Sichtbarkeit bei Aktivierung */
.bgf-modal-overlay.active,
.bgf-modal-overlay.show,
.bgf-modal-overlay.open,
body.modal-open .bgf-modal-overlay {
    display: flex !important;
}

/* 🟢 DER GEWÜNSCHTE LOOK: Aufgeräumte Inhaltsbox mit vertikaler Firmen-Linie */
.kauf-popup-schmal {
    width: 100% !important;
    max-width: 580px !important;
    background: #FFFFFF !important;            /* Klares Weiß für maximalen Kontrast */
    border-radius: 4px !important;
    padding: 30px !important;
    box-shadow: 0 15px 40px rgba(0,0,0,0.4) !important;
    box-sizing: border-box !important;
    position: relative !important;
    
    /* 🟢 EDLES FIRMEN-DETAIL: Die dezente, vertikale Linie am linken Rand */
    border-left: 5px solid #C53028 !important; 
}

/* 🟢 OPTIMIERTER SCROLLSCHUTZ: Text wird sauber aufgeteilt und ohne Scrollbalken lesbar */
.kauf-popup-schmal div[style*="overflow-y"] {
    border: none !important;                   /* Entfernt den unschönen grauen Innenrahmen */
    background: transparent !important;
    padding: 0 !important;
    margin-top: 15px !important;
    max-height: none !important;               /* Hebt die starre Höhenbegrenzung auf */
    overflow-y: visible !important;            /* 🟢 ELIMINIERT DEN SCROLLBALKEN komplett */
}

/* Textformatierung innerhalb des Popups */
.kauf-popup-schmal p {
    font-family: 'Open Sans', sans-serif !important;
    font-size: 13.5px !important;              /* Identisch zum eleganten Tabellen-Look */
    line-height: 1.5 !important;
    color: #333333 !important;                 /* Angenehmes Anthrazit */
    margin: 0 0 12px 0 !important;
    text-align: left !important;
}

.kauf-popup-schmal h3 {
    font-family: 'Open Sans', sans-serif !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #111111 !important;
    margin: 0 0 5px 0 !important;
    text-align: left !important;
}

/* Universeller Schließen-Button am Fuß des Popups */
button.bgf-popup-close-btn {
    display: block !important;
    width: 120px !important;                   /* 🟢 Kompakter Button statt voller Spaltenbreite */
    margin: 20px 0 0 auto !important;          /* Schiebt den Button elegant nach unten rechts */
    background: #111111 !important;
    color: #FFFFFF !important;
    border: none !important;
    padding: 8px 16px !important;
    font-family: 'Open Sans', sans-serif !important;
    font-size: 12px !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    transition: background 0.15s ease !important;
}

button.bgf-popup-close-btn:hover {
    background: #C53028 !important;            /* Wechselt beim Hovern auf dein Firmen-Rot */
}


/* Checkbox-Formularelemente für den Kaufvorgang */
.kauf-checkbox-row {
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
    margin-bottom: 12px !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
}

.kauf-checkbox-row input[type="checkbox"] {
    margin-top: 2px !important;
    cursor: pointer !important;
}

.kauf-checkbox-row a {
    color: #C53028 !important;
    text-decoration: none !important;
    font-weight: 600 !important;
}

.kauf-checkbox-row a:hover {
    text-decoration: underline !important;
}
/* ==========================================================================
   ZENTRALER WARENKORB
   ========================================================================== */

#bgf-cart-dialog {
    position: fixed;
    inset: 0;
    box-sizing: border-box;
    width: calc(100% - 32px);
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
    margin: auto;
    padding: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 0;
    border-left: 4px solid #C53028;
    border-radius: 0;
    background: #FAFAFA;
    color: #262625;
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    line-height: 1.5;
    text-align: left;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

#bgf-cart-dialog:not([open]) {
    display: none;
}

#bgf-cart-dialog::backdrop {
    background: rgba(10, 10, 10, 0.78);
}

#bgf-cart-dialog .bgf-cart-content {
    padding: 24px;
}

#bgf-cart-dialog .bgf-cart-title {
    margin: 0 0 20px;
    color: #262625;
    font-size: 24px;
    line-height: 1.3;
    font-weight: 700;
}

#bgf-cart-dialog button {
    box-sizing: border-box;
    min-height: 44px;
    padding: 10px 16px;
    border: 0;
    border-radius: 4px;
    font: inherit;
    font-weight: 700;
    line-height: 1.3;
    text-transform: none;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

#bgf-cart-dialog button:focus-visible {
    outline: 2px solid #262625;
    outline-offset: 3px;
}

#bgf-cart-dialog .bgf-cart-close {
    display: block;
    margin: 0 0 16px auto;
    background: #C53028;
    color: #FFFFFF;
}

#bgf-cart-dialog .bgf-cart-close:hover {
    background: #A42620;
}

#bgf-cart-dialog .bgf-cart-empty {
    margin: 0 0 24px;
}

#bgf-cart-dialog .bgf-cart-items {
    margin: 0;
    padding: 0;
    list-style: none;
}

#bgf-cart-dialog .bgf-cart-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 16px;
    margin: 0;
    padding: 16px 0;
    border-bottom: 1px solid #DDDDDD;
}

#bgf-cart-dialog .bgf-cart-info {
    min-width: 0;
    overflow-wrap: anywhere;
}

#bgf-cart-dialog .bgf-cart-product {
    display: block;
    margin-bottom: 4px;
    font-weight: 700;
}

#bgf-cart-dialog .bgf-cart-license,
#bgf-cart-dialog .bgf-cart-article {
    font-size: 13px;
}

#bgf-cart-dialog .bgf-cart-article {
    margin-top: 4px;
    color: #595959;
}

#bgf-cart-dialog .bgf-cart-price {
    white-space: nowrap;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

#bgf-cart-dialog .bgf-cart-remove {
    background: #EAEAEA;
    color: #A42620;
}

#bgf-cart-dialog .bgf-cart-remove:hover {
    background: #DDDDDD;
}

#bgf-cart-dialog .bgf-cart-total {
    margin: 20px 0;
    text-align: right;
    font-size: 18px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

#bgf-cart-dialog .bgf-cart-continue {
    display: block;
    margin: 20px 0 0;
    background: #262625;
    color: #FFFFFF;
}

#bgf-cart-dialog .bgf-cart-continue:hover {
    background: #40403F;
}

/* Warenkorb-Icon in der Kopfzeile */

#bgf-cart-navigation svg {
    vertical-align: bottom;
}

#bgf-cart-navigation span {
    font-weight: 700;
}

/* ==========================================================================
   MOBILE ANPASSUNGEN – AM DATEIENDE
   ========================================================================== */

@media screen and (max-width: 600px) {
    #bgf-cart-dialog .bgf-cart-content {
        padding: 16px;
    }

    #bgf-cart-dialog .bgf-cart-title {
        font-size: 21px;
    }

    #bgf-cart-dialog .bgf-cart-item {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 10px;
    }

    #bgf-cart-dialog .bgf-cart-info {
        grid-column: 1 / -1;
    }

    #bgf-cart-dialog .bgf-cart-remove {
        justify-self: end;
    }

    #bgf-cart-dialog .bgf-cart-continue {
        width: 100%;
    }
}

/* ENDE WARENKORB */
/* ==========================================================================
   WARENKORB – PRODUKTBILDER UND ANZAHL
   ========================================================================== */
.bgf-cart-thumbnail {
    display: block;
    width: 56px;
    height: 76px;
    object-fit: contain;
    flex: 0 0 56px;
    margin-right: 10px;
}
.bgf-cart-item { align-items: center; }
#bgf-cart-navigation { display: inline-flex; align-items: center; gap: 3px; }

/* ========================================================================
   TEILPATCH 3 – KOMPAKTER WARENKORB / FILMPLAKAT IM KAUFFENSTER
   Ausschließlich auf die beiden Modale begrenzt.
   ======================================================================== */
#bgf-cart-dialog { border-radius: 5px; }
#bgf-cart-dialog .bgf-cart-item {
    display: grid; grid-template-columns: 76px minmax(0,1fr) auto;
    gap: 8px 14px; align-items: center; padding: 12px 0;
}
#bgf-cart-dialog .bgf-cart-thumbnail {
    grid-column: 1; grid-row: 1 / 3;
    max-width: 100%; margin: 0; object-fit: contain;
}
#bgf-cart-dialog .bgf-cart-support-symbol {
    grid-column: 1; grid-row: 1 / 3;
    display: flex; align-items: center; justify-content: center;
    font-size: 40px; color: #c53028; background: #f5eeee;
}
#bgf-cart-dialog .bgf-cart-info { grid-column: 2; grid-row: 1; }
#bgf-cart-dialog .bgf-cart-price { grid-column: 3; grid-row: 1; text-align: right; }
#bgf-cart-dialog .bgf-cart-remove {
    grid-column: 2; grid-row: 2; justify-self: start;
    width: auto; min-width: 94px; min-height: 30px;
    padding: 5px 12px; font-size: 12px; line-height: 1.2;
}
#bgf-cart-dialog .bgf-cart-continue { margin-top: 12px; }
/* Das Poster steht links neben dem Kopfbereich; kein Upscaling erzwingen. */
#shopPurchaseModal .bgf-purchase-poster {
    display: block; float: left; width: 78px; height: 112px;
    object-fit: contain; margin: 0 16px 10px 0;
}
#shopPurchaseModal .bgf-shop-modal-container::after { content: ""; display: block; clear: both; }
@media (max-width: 600px) {
    #bgf-cart-dialog .bgf-cart-content { padding: 14px; }
    #bgf-cart-dialog .bgf-cart-item { grid-template-columns: 58px minmax(0,1fr) auto; gap: 6px 10px; }
    #bgf-cart-dialog .bgf-cart-thumbnail { width: 56px; height: 76px; }
    #bgf-cart-dialog .bgf-cart-support-symbol { width: 56px; height: 56px; font-size: 30px; }
    #bgf-cart-dialog .bgf-cart-remove { grid-column: 2; grid-row: 2; justify-self: start; }
    #shopPurchaseModal .bgf-purchase-poster { width: 58px; height: 85px; margin-right: 10px; }
}

/* BGF_FILM_LEGAL_STYLE_20261023 – gezielte Filmseiten-Korrektur */
body.page-filmdetail .kauf-checkbox-row a:hover,
body.page-filmdetail .bgf-trigger-legal:hover,
body.page-filmdetail #shopModalTermsLink:hover { text-decoration:none!important; font-weight:700!important; }
body.page-filmdetail #shopModalTermsLink { text-decoration:none!important; }
body.page-filmdetail button.bgf-popup-close-btn { width:auto!important; margin:0 0 12px auto!important; padding:4px 0!important; background:transparent!important; color:#C53028!important; border:0!important; box-shadow:none!important; font-weight:400!important; text-transform:none!important; }
body.page-filmdetail button.bgf-popup-close-btn:hover { background:transparent!important; color:#C53028!important; font-weight:700!important; text-decoration:none!important; }
body.page-filmdetail #bgf-dynamic-mobile-credits .film-detail-meta { padding:6px 0 0; font-size:13px; line-height:1.5; }
body.page-filmdetail #bgf-dynamic-mobile-credits .film-detail-meta-title { display:block; font-size:14px; }
body.page-filmdetail #bgf-dynamic-mobile-credits .film-detail-meta-availability { color:#C53028; font-weight:600; }
/* ==========================================================
   BGF – RECHTSMODAL VOR KAUFMODAL
   ========================================================== */

#shopLegalModal.shop-layer.is-open {
    position: fixed !important;
    inset: 0 !important;
    z-index: 3000000 !important;

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

    background: rgba(0, 0, 0, 0.65) !important;
}

/* ==========================================================
   BGF – KAUFMODAL SCHLIESSEN-BUTTON
   Position und JavaScript-Funktion bleiben unverändert
   ========================================================== */

#shopPurchaseCloseBtn.bgf-shop-modal-close-top {
    background: transparent !important;
    color: #c53028 !important;

    border: none !important;
    box-shadow: none !important;

    font-weight: normal !important;
    text-decoration: none !important;

    cursor: pointer;
}

#shopPurchaseCloseBtn.bgf-shop-modal-close-top:hover {
    background: transparent !important;
    color: #c53028 !important;

    font-weight: bold !important;
    text-decoration: none !important;
}

/* BGF_KORREKTUR_20261023_V1: einheitliches Rechtsoverlay und Textnavigation */
#shopLegalModal .shop-popup { display:flex!important; flex-direction:column!important; position:relative!important; width:min(920px,calc(100% - 32px))!important; max-height:calc(100dvh - 32px)!important; padding:24px 26px!important; box-sizing:border-box!important; overflow:hidden!important; background:#fff!important; border:0!important; border-left:4px solid #C53028!important; }
#shopLegalModal #bgf-legal-logo { display:block!important; width:auto!important; max-width:95px!important; max-height:36px!important; object-fit:contain!important; align-self:flex-start!important; flex:none!important; margin:0 0 8px!important; }
/* BGF_CSS_STUFE3A_LEGACY_TABS_REMOVED_20261112 */
#shopLegalModal #shopLegalTitle { order:2!important; flex:none!important; margin:0 0 10px!important; }
#shopLegalModal #shopLegalContent { order:3!important; flex:1 1 auto!important; min-height:0!important; overflow-y:auto!important; }
#shopLegalModal #shopLegalClose,#shopPurchaseCloseBtn.bgf-shop-modal-close-top { background:transparent!important; color:#C53028!important; border:0!important; box-shadow:none!important; text-decoration:none!important; font-weight:400!important; text-transform:none!important; }
#shopLegalModal #shopLegalClose:hover,#shopPurchaseCloseBtn.bgf-shop-modal-close-top:hover { font-weight:700!important; text-decoration:none!important; }
.kauf-checkbox-row a:hover { text-decoration:none!important; font-weight:700!important; }
@media(max-width:600px) { #shopLegalModal .shop-popup { padding:18px 16px!important; } }

/* BGF_CHECKOUT_CLEAR_V1 */

#shopLegalModal #bgf-legal-logo { width:180px!important; max-width:45vw!important; max-height:72px!important; height:auto!important; object-fit:contain!important; margin:0 0 16px!important; }
#shopLegalModal #shopLegalTitle { font-size:20px!important; line-height:1.35!important; margin:6px 0 16px!important; }
#shopLegalModal #shopLegalContent { font-size:14px!important; line-height:1.6!important; }
#shopPurchaseModal .bgf-modal-v2-logo { width:180px!important; max-width:45vw!important; height:auto!important; margin-bottom:16px!important; }
#shopPurchaseModal .bgf-checkout-legal-link, #shopPurchaseModal #shopModalTermsLink { color:#C53028!important; text-decoration:none!important; font-weight:400!important; }
#shopPurchaseModal .bgf-checkout-legal-link:hover, #shopPurchaseModal .bgf-checkout-legal-link:focus-visible, #shopPurchaseModal #shopModalTermsLink:hover { text-decoration:none!important; font-weight:700!important; }
#shopPurchaseModal .bgf-shop-check-row a { cursor:pointer; }

/* BGF_UNIFIED_MODAL_CART_20261024 */
#shopLegalModal #shopLegalHeading { display:none!important; }
#shopLegalModal #bgf-legal-logo { display:block!important; width:175px!important; max-width:45vw!important; max-height:70px!important; height:auto!important; object-fit:contain!important; margin:0 0 12px!important; }
#shopLegalModal #shopLegalTitle { text-align:left!important; font-size:20px!important; margin:6px 0 14px!important; }
#shopLegalModal .shop-popup { border:0!important; border-left:4px solid #C53028!important; }
#shopLegalModal #shopLegalTabs { display:none!important; }
#shopLegalModal #shopLegalContent { font-size:14px!important; line-height:1.65!important; }
#shopPurchaseModal .bgf-modal-v2-logo { width:175px!important; max-width:45vw!important; height:auto!important; }
#bgf-cart-navigation { display:inline-flex!important; align-items:center!important; gap:3px!important; text-decoration:none!important; white-space:nowrap!important; }
#bgf-cart-navigation:hover { font-weight:700!important; text-decoration:none!important; }
.kauf-checkbox-row a:hover { font-weight:700!important; text-decoration:none!important; }


/* BGF_CART_BRAND_FLAGS_20261024 – bestehende BGF-Flaggen, keine Emojis */
#bgf-cart-dialog .bgf-cart-brand-head {display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:14px;}
#bgf-cart-dialog .bgf-cart-brand-logo {display:block;width:175px;max-width:48%;height:auto;object-fit:contain;}
#bgf-cart-dialog .bgf-cart-close {position:static!important;margin:0!important;background:#C53028!important;color:#fff!important;border:1px solid #C53028!important;border-radius:3px!important;cursor:pointer;}
#bgf-cart-dialog .bgf-cart-close:hover {background:#a82721!important;font-weight:700!important;text-decoration:none!important;}
#bgf-cart-dialog .bgf-cart-version {display:flex;align-items:center;gap:7px;margin:3px 0 5px;font-size:12px;color:#555;}
#bgf-cart-dialog .bgf-cart-version .shop-flag-svg {display:inline-flex;align-items:center;flex:none;width:24px;height:16px;}
#bgf-cart-dialog .bgf-cart-version .shop-flag-svg svg {display:block;width:24px;height:16px;}
#bgf-cart-dialog .bgf-cart-remove {background:transparent!important;border:0!important;box-shadow:none!important;color:#C53028!important;padding:3px 0!important;text-decoration:none!important;cursor:pointer;}
#bgf-cart-dialog .bgf-cart-remove:hover {background:transparent!important;font-weight:700!important;text-decoration:none!important;}
#bgf-cart-dialog .bgf-cart-continue {background:#F2A200!important;color:#171717!important;border:1px solid #F2A200!important;border-radius:3px!important;cursor:pointer;}
#bgf-cart-dialog .bgf-cart-continue:hover {background:#e6a000!important;font-weight:700!important;text-decoration:none!important;}
@media(max-width:600px){#bgf-cart-dialog .bgf-cart-brand-logo{width:145px;}}

/* BGF_CART_CORRECTION_20261024_V2: einheitliche Ausrichtung, Originalbild Support */
#bgf-cart-dialog .bgf-cart-remove { grid-column:2; grid-row:2; justify-self:start; min-width:0!important; min-height:0!important; width:auto!important; margin:0!important; padding:3px 0!important; font-size:12px!important; font-weight:400!important; text-align:left!important; }
#bgf-cart-dialog .bgf-cart-remove:hover { font-weight:700!important; }
#bgf-cart-dialog .bgf-cart-info { align-self:end; }
#bgf-cart-dialog .bgf-cart-brand-logo { width:175px; max-width:48%; height:auto; }
#bgf-cart-dialog .bgf-cart-thumbnail { object-fit:contain; }


/* BGF_SUPPORT_ADD_AND_EXHIBITION_CART_20261024 – Schließen im BGF-Firmenlook */
#bgf-cart-dialog .bgf-cart-close {
  display:inline-block!important; min-height:0!important; width:auto!important;
  margin:0!important; padding:4px 0!important; background:transparent!important;
  color:#C53028!important; border:0!important; border-radius:0!important;
  box-shadow:none!important; font-weight:400!important; text-transform:none!important;
  text-decoration:none!important; cursor:pointer!important;
}
#bgf-cart-dialog .bgf-cart-close:hover,
#bgf-cart-dialog .bgf-cart-close:focus-visible {
  background:transparent!important; color:#C53028!important;
  font-weight:700!important; text-decoration:none!important;
}
#shopLegalModal #shopLegalClose,
#shopPurchaseModal #shopPurchaseCloseBtn {
  background:transparent!important; color:#C53028!important;
  border:0!important; box-shadow:none!important; text-decoration:none!important;
  font-weight:400!important;
}
#shopLegalModal #shopLegalClose:hover,
#shopPurchaseModal #shopPurchaseCloseBtn:hover {
  font-weight:700!important; text-decoration:none!important;
}


/* BGF_EXHIBITION_SHOP_V1: begrenzt auf Ausstellungsseite */
body.page-ausstellungen .bgf-exhibition-layout{display:grid;grid-template-columns:minmax(0, 1fr) minmax(300px, 29%);gap:26px;align-items:start}
body.page-ausstellungen .bgf-exhibition-main{min-width:0}
body.page-ausstellungen #bgf-exhibition-shop{min-width:0;border-left:1px solid #ddd;padding-left:22px}
body.page-ausstellungen .bgf-exhibition-shop-title{font-size:18px;margin:0 0 16px;color:#222}
body.page-ausstellungen .bgf-exhibition-card{padding:0 0 22px;margin:0 0 24px;border-bottom:1px solid #ddd}
body.page-ausstellungen .bgf-exhibition-type{font-size:13px;color:#C53028;margin:0 0 4px}
body.page-ausstellungen .bgf-exhibition-name{font-size:15px;margin:0 0 10px}
body.page-ausstellungen .bgf-exhibition-card-body{display:grid;grid-template-columns:42% minmax(0,1fr);gap:12px}
body.page-ausstellungen .bgf-exhibition-image{width:100%;height:auto;max-height:185px;object-fit:contain;display:block}
body.page-ausstellungen .bgf-exhibition-trailer{display:block;width:100%;background:#222;color:white;border:0;padding:6px;margin-top:6px;cursor:pointer}
body.page-ausstellungen .bgf-exhibition-copy{min-width:0;font-size:12px}
body.page-ausstellungen .bgf-exhibition-meta{font-size:11px;color:#666;overflow-wrap:anywhere}
body.page-ausstellungen .bgf-exhibition-short{line-height:1.45}
body.page-ausstellungen .bgf-exhibition-info{background:transparent;border:1px solid #C53028;color:#C53028;padding:6px 10px;cursor:pointer;text-decoration:none}
body.page-ausstellungen .bgf-exhibition-actions{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:12px}
body.page-ausstellungen .bgf-exhibition-buy{background:#F2A200;color:#171717;border:0;border-radius:3px;padding:8px 10px;cursor:pointer;font-weight:600}
body.page-ausstellungen .bgf-exhibition-license-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}
body.page-ausstellungen .bgf-exhibition-license{display:flex;flex-direction:column;gap:5px;font-size:11px;min-width:0}
body.page-ausstellungen .bgf-exhibition-license strong{font-size:13px}
body.page-ausstellungen .bgf-exhibition-note{font-size:11px;color:#C53028;font-weight:700;margin:9px 0 0}
body.page-ausstellungen .bgf-exhibition-info:hover,body.page-ausstellungen .bgf-exhibition-buy:hover{font-weight:700;text-decoration:none}
.bgf-exhibition-detail{max-width:min(650px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;border:0;border-left:4px solid #C53028;background:white;padding:22px}
.bgf-exhibition-detail::backdrop{background:rgba(0,0,0,.72)}
.bgf-exhibition-detail-head{display:flex;justify-content:flex-end}
.bgf-exhibition-close{background:transparent;color:#C53028;border:0;padding:3px 0;cursor:pointer;font-weight:400;text-decoration:none}
.bgf-exhibition-close:hover{font-weight:700;text-decoration:none}
.bgf-exhibition-description{font-size:14px;line-height:1.55}
.bgf-exhibition-preview{display:inline-block;margin-top:12px;color:#C53028;text-decoration:none}
.bgf-exhibition-preview:hover{font-weight:700;text-decoration:none}
@media(max-width:950px){body.page-ausstellungen .bgf-exhibition-layout{grid-template-columns:1fr}body.page-ausstellungen #bgf-exhibition-shop{border-left:0;border-top:1px solid #ddd;padding:18px 0 0}}

/* BGF_EXHIBITION_FOOTER_POSITION_FIX */
body.page-ausstellungen #bgf-footer-container{display:block;clear:both;width:100%;margin-top:28px;text-align:center;}


/* BGF_EXHIBITION_LAYOUT_REPAIR_20261024 */
body.page-ausstellungen .bgf-exhibition-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 29%) !important;
  gap: 26px !important;
  align-items: start !important;
}
body.page-ausstellungen .bgf-exhibition-layout > .bgf-exhibition-main {min-width:0 !important;}
body.page-ausstellungen .bgf-exhibition-layout > #bgf-exhibition-shop {
  min-width:0 !important;
  width:auto !important;
  margin:0 !important;
  border-left:1px solid #ddd;
  padding-left:22px;
}
body.page-ausstellungen #bgf-footer-container {
  display:block !important;
  clear:both !important;
  width:100% !important;
  margin-top:28px !important;
  text-align:center !important;
}
@media (max-width:950px) {
  body.page-ausstellungen .bgf-exhibition-layout {grid-template-columns:minmax(0,1fr) !important;}
  body.page-ausstellungen .bgf-exhibition-layout > #bgf-exhibition-shop {
    border-left:0;
    border-top:1px solid #ddd;
    padding:18px 0 0;
  }
}

/* BGF_AUSSTELLUNG_PDF_FIX_20261024: BGF-Firmenlook ohne vertikale Linien */
.page-ausstellungen .bgf-exhibition-layout{display:grid!important;grid-template-columns:minmax(0,72fr) minmax(280px,28fr)!important;gap:28px!important;align-items:start!important}
.page-ausstellungen .bgf-exhibition-main{min-width:0!important}
.page-ausstellungen #bgf-exhibition-shop{position:static!important;min-width:0!important;width:auto!important;border:0!important;border-left:0!important;padding:0!important;margin:0!important}
.page-ausstellungen .bgf-exhibition-card,.page-ausstellungen .bgf-exhibition-card *{border-left:0!important}
.page-ausstellungen .bgf-exhibition-card .shop-flag-list,.bgf-exhibition-detail .shop-flag-list{display:flex;flex-wrap:wrap;gap:10px;margin:8px 0}
.page-ausstellungen .bgf-exhibition-card .shop-flag-link,.bgf-exhibition-detail .shop-flag-link{display:inline-flex;align-items:center;gap:5px;font-size:12px}
.page-ausstellungen a,.page-ausstellungen a:hover,.page-ausstellungen a:focus{text-decoration:none!important}
.page-ausstellungen a:hover{font-weight:bold}
.bgf-exhibition-detail{border-left:0!important}
.bgf-exhibition-detail-poster{display:block;max-height:180px;max-width:100%;object-fit:contain;margin:8px 0 14px}
.bgf-pdf-open{color:#C53028!important;text-decoration:none!important;font-weight:600;cursor:pointer}
.bgf-pdf-open:hover{font-weight:bold!important}
.bgf-screenplay-excerpt{margin:28px 0 24px;padding:16px 0;border:0!important}
.bgf-screenplay-excerpt h2{font-size:19px;margin:0 0 8px}
.bgf-screenplay-excerpt p{margin:0 0 12px;line-height:1.5}
.bgf-pdf-count{margin-left:12px;font-size:12px;color:#666}
@media(max-width:880px){.page-ausstellungen .bgf-exhibition-layout{grid-template-columns:1fr!important}}


/* BGF_CHECKOUT_DE_V1_20261024 */
.bgf-cart-checkout,.bgf-checkout-pay{display:block;width:100%;background:#F2A200;color:#171717;border:0;border-radius:4px;padding:13px 18px;font-weight:700;cursor:pointer;margin:12px 0}
.bgf-cart-checkout:hover,.bgf-checkout-pay:hover{filter:brightness(.95)}
.bgf-checkout-dialog{border:0;border-left:5px solid #C53028;border-radius:6px;padding:0;max-width:min(640px,94vw);width:100%;max-height:90vh;overflow:auto;box-shadow:0 15px 70px #0006;background:#fff;color:#242424}
.bgf-checkout-dialog::backdrop{background:#0009}
.bgf-checkout-shell{padding:26px;display:flex;flex-direction:column;gap:12px;font-size:15px}
.bgf-checkout-head{display:flex;justify-content:space-between;align-items:center}.bgf-checkout-head img{max-width:155px;max-height:52px;object-fit:contain}
.bgf-checkout-shell h2{margin:0 0 8px;font-size:24px}.bgf-checkout-shell h3{margin:12px 0 0;font-size:17px}
.bgf-checkout-items{list-style:none;padding:0;margin:0}.bgf-checkout-item{display:flex;gap:12px;align-items:center;padding:12px 0;border-bottom:1px solid #ddd}.bgf-checkout-poster{width:55px;height:75px;object-fit:contain;flex:none}.bgf-checkout-item-detail{display:flex;flex:1;flex-direction:column;gap:4px;min-width:0}.bgf-checkout-item-detail small{color:#555}.bgf-checkout-price{white-space:nowrap}.bgf-checkout-version{font-size:12px;display:flex;gap:5px;align-items:center}.bgf-checkout-version svg{width:24px;height:16px}
.bgf-checkout-shipping-note,.bgf-checkout-shipping-notice{background:#F3E5AB;padding:10px;border-radius:3px;line-height:1.45}.bgf-checkout-shipping-free{font-weight:600}
.bgf-checkout-form{display:grid;grid-template-columns:1fr 1fr;gap:10px}.bgf-checkout-form h3,.bgf-checkout-field:first-of-type{grid-column:1/-1}.bgf-checkout-field{display:flex;flex-direction:column;gap:5px;font-size:13px}.bgf-checkout-field input,.bgf-checkout-field select{padding:10px;border:1px solid #999;border-radius:3px;min-width:0;font:inherit}.bgf-checkout-total{display:flex;justify-content:space-between;border-top:2px solid #ddd;padding-top:12px;font-size:19px}
.bgf-checkout-text-link{background:none;border:0;color:#C53028;text-decoration:none!important;cursor:pointer;padding:7px;align-self:center}.bgf-checkout-text-link:hover{font-weight:700;text-decoration:none!important}.bgf-checkout-error{color:#a22222;font-weight:600}
@media(max-width:520px){.bgf-checkout-form{grid-template-columns:1fr}.bgf-checkout-field{grid-column:1/-1}.bgf-checkout-shell{padding:17px}}


/* BGF_CHECKOUT_COMPACT_20261024_V2 – kompakte BGF-Bedienelemente */
#bgf-cart-dialog { max-width: 630px; }
#bgf-cart-dialog .bgf-cart-content { padding: 16px 20px; }
#bgf-cart-dialog .bgf-cart-item { grid-template-columns: 58px minmax(0,1fr) auto; gap: 4px 12px; padding: 9px 0; }
#bgf-cart-dialog .bgf-cart-thumbnail { width: 54px; height: 73px; }
#bgf-cart-dialog .bgf-cart-support-symbol { width: 54px; height: 54px; }
#bgf-cart-dialog .bgf-cart-title { font-size: 20px; margin-bottom: 9px; }
#bgf-cart-dialog .bgf-cart-total { margin: 12px 0; font-size: 17px; }
#bgf-cart-dialog .bgf-cart-version,
.bgf-checkout-dialog .bgf-checkout-version,
.bgf-checkout-dialog .bgf-checkout-version .bgf-cart-version { display:inline-flex; align-items:center; gap:8px; line-height:1.3; }
#bgf-cart-dialog .bgf-cart-version .shop-flag-svg,
.bgf-checkout-dialog .shop-flag-svg { display:inline-flex; flex:none; align-items:center; width:22px; height:15px; margin:0; }
#bgf-cart-dialog .bgf-cart-version .shop-flag-svg svg,
.bgf-checkout-dialog .shop-flag-svg svg { display:block; width:22px; height:15px; }
#bgf-cart-dialog .bgf-cart-product-shipping { display:block; margin-top:5px; font-size:11px; line-height:1.4; color:#9c3029; font-weight:600; }
#bgf-cart-dialog .bgf-cart-actions,
.bgf-checkout-dialog .bgf-checkout-actions { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:10px; margin-top:12px; }
#bgf-cart-dialog .bgf-cart-actions > button,
.bgf-checkout-dialog .bgf-checkout-actions > button { display:inline-flex!important; align-items:center; justify-content:center; width:auto!important; max-width:100%; flex:0 0 auto; min-height:38px; padding:8px 16px; margin:0!important; border-radius:4px; text-decoration:none!important; }
#bgf-cart-dialog .bgf-cart-actions .bgf-cart-continue { background:transparent!important; color:#C53028!important; border:1px solid #666!important; }
#bgf-cart-dialog .bgf-cart-actions .bgf-cart-continue:hover { background:transparent!important; font-weight:700!important; }
#bgf-cart-dialog .bgf-cart-actions .bgf-cart-checkout,
.bgf-checkout-dialog .bgf-checkout-actions .bgf-checkout-pay { background:var(--bgf-payment-background,#FFC439)!important; color:var(--bgf-payment-text,#000)!important; border:0!important; font-weight:700!important; }
#bgf-cart-dialog .bgf-cart-actions .bgf-cart-checkout:hover,
.bgf-checkout-dialog .bgf-checkout-actions .bgf-checkout-pay:hover { background:var(--bgf-payment-hover-background,#F2A200)!important; }
.bgf-checkout-dialog { max-width:min(680px,96vw); max-height:94dvh; }
.bgf-checkout-shell { padding:12px 18px; gap:6px; font-size:13px; }
.bgf-checkout-shell h2 { font-size:20px; margin:0; }
.bgf-checkout-shell h3 { font-size:15px; margin:8px 0 0; }
.bgf-checkout-item { gap:8px; padding:5px 0; }
.bgf-checkout-poster { width:42px; height:56px; }
.bgf-checkout-item-detail { gap:3px; }
.bgf-checkout-shipping-note { display:block; background:transparent!important; padding:0!important; margin:2px 0; font-size:11px; color:#9c3029!important; font-weight:600; }
.bgf-checkout-shipping-notice { display:none!important; }
.bgf-checkout-form { gap:8px 10px; }
.bgf-checkout-form h3 { grid-column:1/-1; }
.bgf-checkout-country { grid-column:1/-1; margin:0; color:#C53028; font-size:12px; font-weight:600; }
.bgf-checkout-field input { padding:6px 9px; min-height:34px; box-sizing:border-box; }
.bgf-checkout-total { padding-top:9px; font-size:17px; }
.bgf-checkout-shipping-free { font-size:12px; margin:2px 0; }
.bgf-checkout-dialog .bgf-checkout-actions .bgf-checkout-text-link { color:#C53028; background:transparent; padding:8px 0; }
.bgf-checkout-dialog .bgf-checkout-actions .bgf-checkout-text-link:hover { font-weight:700; text-decoration:none!important; }
body.page-ausstellungen .bgf-exhibition-trailer,
body.page-ausstellungen .bgf-exhibition-buy,
body.page-ausstellungen .bgf-exhibition-info,
body.page-ausstellungen .bgf-exhibition-card .shop-buy-button,
body.page-shop .shop-buy-button,
body.page-shop .shop-info-button { width:fit-content!important; max-width:100%; align-self:flex-start; justify-self:start; flex:0 0 auto; }
body.page-ausstellungen .bgf-exhibition-license-actions { display:flex; flex-wrap:wrap; gap:12px; }
body.page-ausstellungen .bgf-exhibition-license { flex:0 1 auto; }



/* BGF_SHIPPING_ICONS_BUTTONS_20261024_V3 */
#bgf-cart-dialog .bgf-shipping-lines,
.bgf-checkout-dialog .bgf-shipping-lines {
  display:flex;flex-direction:column;gap:2px;margin:5px 0 3px;
  background:transparent!important;padding:0!important;
  color:#C53028!important;font-size:11px;line-height:1.4;
}
#bgf-cart-dialog .bgf-shipping-line,
.bgf-checkout-dialog .bgf-shipping-line {
  display:flex;align-items:flex-start;gap:6px;color:#C53028!important;
}
#bgf-cart-dialog .bgf-shipping-restriction,
.bgf-checkout-dialog .bgf-shipping-restriction {font-weight:700;}
#bgf-cart-dialog .bgf-shipping-icon,
.bgf-checkout-dialog .bgf-shipping-icon {
  display:inline-flex;align-items:center;justify-content:center;
  width:13px;height:13px;flex:0 0 13px;margin-top:1px;color:#C53028;
}
#bgf-cart-dialog .bgf-shipping-icon svg,
.bgf-checkout-dialog .bgf-shipping-icon svg {width:13px;height:13px;display:block;}
/* Beide Aktionen gehören zur Kaufabwicklung: identische gelbe Grundgestaltung. */
#bgf-cart-dialog .bgf-cart-actions .bgf-cart-continue,
#bgf-cart-dialog .bgf-cart-actions .bgf-cart-checkout {
  background:var(--bgf-payment-background,#FFC439)!important;
  color:var(--bgf-payment-text,#000)!important;
  border:1px solid var(--bgf-payment-background,#FFC439)!important;
  border-radius:4px!important;
  font-weight:700!important;
}
#bgf-cart-dialog .bgf-cart-actions .bgf-cart-continue:hover,
#bgf-cart-dialog .bgf-cart-actions .bgf-cart-checkout:hover {
  background:var(--bgf-payment-hover-background,#F2A200)!important;
  border-color:var(--bgf-payment-hover-background,#F2A200)!important;
  text-decoration:none!important;
}
/* Checkout-Kopf bleibt beim Scrollen sichtbar. */
.bgf-checkout-dialog .bgf-checkout-head {
  position:sticky;top:0;z-index:2;background:#fff;
  padding:5px 0 8px;margin-top:-5px;
}
.bgf-checkout-dialog .bgf-checkout-head .bgf-checkout-text-link {
  width:auto!important;min-height:0!important;padding:4px 0!important;
  color:#C53028!important;font-weight:400;
}
.bgf-checkout-dialog .bgf-checkout-head .bgf-checkout-text-link:hover {
  font-weight:700;text-decoration:none!important;
}
/* Checkout-PayPal bleibt Kaufbutton; Zurück ist Textnavigation. */
.bgf-checkout-dialog .bgf-checkout-actions .bgf-checkout-pay {
  width:auto!important;min-height:38px!important;
}


/* BGF_PHYSICAL_PRODUCT_LANGUAGES_20261024_V1 */
body.page-shop .shop-product-card .bgf-physical-product-versions,
#bgf-cart-dialog .bgf-physical-product-versions,
.bgf-checkout-dialog .bgf-physical-product-versions,
#shopPurchaseModal .bgf-physical-product-versions {
 display:flex;flex-wrap:wrap;align-items:center;gap:4px 12px;margin:4px 0 6px;
 font-size:12px;line-height:1.35;color:#333;
}
.bgf-physical-version {display:inline-flex;align-items:center;gap:6px;white-space:nowrap;}
.bgf-physical-version .shop-flag-svg {display:inline-flex;align-items:center;flex:none;width:24px;height:16px;}
.bgf-physical-version .shop-flag-svg svg {display:block;width:24px;height:16px;}

/* BGF_PHYSICAL_CONSISTENCY_20261024_V1 */
.bgf-physical-meta{font-size:12px;line-height:1.4;color:#555;margin:3px 0 5px;overflow-wrap:anywhere}
#bgf-checkout-dialog .bgf-physical-meta{margin:5px 0}
#bgf-cart-dialog .bgf-cart-brand-head,#bgf-checkout-dialog .bgf-checkout-head{position:sticky;top:0;background:#fafafa;z-index:2}
#bgf-cart-dialog .bgf-cart-close,#bgf-checkout-dialog .bgf-checkout-text-link{color:#C53028;text-decoration:none}
#bgf-cart-dialog .bgf-cart-close:hover,#bgf-checkout-dialog .bgf-checkout-text-link:hover{font-weight:700;text-decoration:none}

/* BGF_KAUFSTRUKTUR_20261024_V2: Ausstellungskaufzeilen */
body.page-ausstellungen .bgf-exhibition-license-actions {display:grid !important;
  grid-template-columns:minmax(0,1fr) !important; gap:8px !important;}
body.page-ausstellungen .bgf-exhibition-license {display:grid !important;
  grid-template-columns:minmax(0,1fr) auto !important; gap:3px 8px !important;
  align-items:center !important; min-width:0 !important;}
body.page-ausstellungen .bgf-exhibition-license-label {grid-column:1 !important;
  color:#C53028 !important; font-weight:700 !important; overflow-wrap:anywhere !important;}
body.page-ausstellungen .bgf-exhibition-license-price {grid-column:1 !important;
  font-size:13px !important; white-space:nowrap !important;}
body.page-ausstellungen .bgf-exhibition-license > .shop-buy-button {grid-column:2 !important;
  grid-row:1 / span 2 !important; justify-self:end !important; align-self:center !important;}
body.page-ausstellungen .bgf-exhibition-actions {display:flex !important; justify-content:space-between !important;
  align-items:center !important; gap:8px !important;}
body.page-ausstellungen .bgf-exhibition-card .shop-buy-button {width:auto !important;
  flex:0 0 auto !important; padding:6px 12px !important; background:#FFC439 !important;
  color:#000 !important; border:0 !important; border-radius:4px !important; font-weight:700 !important;}
body.page-ausstellungen .bgf-exhibition-card .shop-buy-button:hover {background:#F2A200 !important;}
body.page-ausstellungen .bgf-exhibition-visual .shop-teaser-button {display:inline-flex !important;
  width:auto !important; min-height:28px !important; padding:5px 12px !important;
  background:#262625 !important; color:#C53028 !important; border:1px solid #262625 !important;
  border-radius:3px !important; font-size:12px !important; font-weight:700 !important;}
body.page-ausstellungen .bgf-exhibition-visual .shop-teaser-button:hover {background:#262625 !important; border-color:#C53028 !important;}

/* BGF_STATUS_BRAND_20261025 */
body.page-ausstellungen .bgf-exhibition-availability,
body.page-ausstellungen .bgf-exhibition-shipping { color:#C53028 !important; font-weight:700 !important; }

/* BGF_EMAIL_VORKASSE_20261026 – kompakte Zahlungswahl */
.bgf-checkout-payment{border-top:1px solid #ddd;padding-top:10px;display:flex;flex-direction:column;gap:7px}
.bgf-checkout-payment-title{font-size:13px;font-weight:700;margin:0}
.bgf-checkout-payment-choice{display:flex;align-items:center;gap:9px;cursor:pointer;padding:6px 8px;border:1px solid #ddd;border-radius:3px;font-size:13px}
.bgf-checkout-payment-choice:has(input:checked){border-color:#C53028;background:#fffaf2}
.bgf-checkout-payment-choice input{accent-color:#C53028;margin:0;flex:none}
.bgf-checkout-payment-notice{margin:0;font-size:11px;line-height:1.45;color:#555}
.bgf-checkout-contact{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.bgf-checkout-contact .bgf-checkout-field input{min-height:36px;padding:7px 9px;box-sizing:border-box}
.bgf-checkout-dialog .bgf-checkout-item-support .bgf-checkout-poster{object-fit:contain}


/* BGF_FILM_SHOP_LAYER_FIX_20261029 */
/* Nur die zentralen Shop-Dialoge auf Filmseiten; JS steuert inline display. */
body.page-filmdetail #shopPurchaseModal.shop-layer,
body.page-filmdetail #shopLegalModal.shop-layer {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    box-sizing: border-box;
    z-index: 1000000;
    background: rgba(12,12,12,.82);
    padding: 20px;
    display: none;
    align-items: center;
    justify-content: center;
}
body.page-filmdetail #shopLegalModal.shop-layer { z-index: 3000000; }
body.page-filmdetail #shopPurchaseModal.shop-layer.is-open,
body.page-filmdetail #shopLegalModal.shop-layer.is-open { display: flex !important; }
body.page-filmdetail #shopPurchaseModal .shop-popup,
body.page-filmdetail #shopLegalModal .shop-popup {
    position: relative;
    width: min(920px, calc(100vw - 40px));
    max-height: calc(100dvh - 40px);
    overflow-y: auto;
    background: #FAFAFA;
    border-left: 5px solid #C53028;
    box-shadow: 0 20px 55px rgba(0,0,0,.42);
    box-sizing: border-box;
}
body.page-filmdetail #shopPurchaseModal .shop-popup-close,
body.page-filmdetail #shopLegalModal .shop-popup-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 5;
    cursor: pointer;
    color: #C53028;
    background: transparent;
    border: 0;
    text-decoration: none;
}
body.page-filmdetail #shopPurchaseModal .shop-popup-close:hover,
body.page-filmdetail #shopLegalModal .shop-popup-close:hover {font-weight: 700; text-decoration:none;}

/* BGF_FLAGGEN_EINHEITLICH_20261029: alle Sprachflaggen 24 x 16 px */
.lang-area a > svg, .lang-switcher a > svg,
.shop-flag-svg, .shop-flag-svg > svg,
.promo-lang-item > svg,
.bgf-alt-flag-button .shop-flag-svg,
.bgf-alt-flag-button .shop-flag-svg > svg {
    width: 24px !important;
    height: 16px !important;
    flex: 0 0 24px;
    box-sizing: border-box;
}
.shop-flag-svg { display: inline-flex; align-items: center; vertical-align: middle; }
.shop-flag-svg > svg, .promo-lang-item > svg, .lang-area a > svg, .lang-switcher a > svg { display: block; }
/* BGF_MODAL_SCROLL_STUFE2_START */
/* Nur mobiles Kaufmodal: ein definierter Scrollbereich im eigentlichen Dialog.
   Die Desktop-Zweispaltenstruktur und die Kauf-/Checkout-Logik bleiben unveraendert. */

/* BGF_MODAL_SCROLL_STUFE2_END */

/* BGF_LEGAL_RETURN_STUFE3B */
/* Einheitliche Rechts-Popups in Shop und Filmseiten, ohne Tabs. */
#shopLegalModal .shop-popup,
body.page-shop #shopLegalModal .shop-popup,
body.page-filmdetail #shopLegalModal .shop-popup {
    display: flex !important;
    flex-direction: column !important;
    width: min(920px, calc(100vw - 32px)) !important;
    max-height: calc(100dvh - 32px) !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding: 20px 24px !important;
    background: #fff !important;
    border: 0 !important;
    border-left: 4px solid #C53028 !important;
    border-radius: 3px !important;
}
#shopLegalModal .bgf-legal-v2-scroll,
body.page-shop #shopLegalModal .bgf-legal-v2-scroll {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
}
#shopLegalModal .bgf-legal-v2-footer,
body.page-shop #shopLegalModal .bgf-legal-v2-footer {
    display: flex !important;
    flex: 0 0 auto !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    padding: 12px 0 0 !important;
    margin-top: 10px !important;
    border-top: 1px solid #ddd !important;
    background: #fff !important;
}
#shopLegalModal #shopLegalBack,
body.page-shop #shopLegalModal #shopLegalBack {
    display: inline-block !important;
    margin: 0 0 0 auto !important;
    padding: 5px 10px !important;
    min-height: 34px !important;
    border: 1px solid #666 !important;
    border-radius: 0 !important;
    background: #fff !important;
    color: #C53028 !important;
    font-family: 'Open Sans', Arial, sans-serif !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    box-shadow: none !important;
    cursor: pointer !important;
}
#shopLegalModal #shopLegalBack:hover,
#shopLegalModal #shopLegalBack:focus-visible,
body.page-shop #shopLegalModal #shopLegalBack:hover,
body.page-shop #shopLegalModal #shopLegalBack:focus-visible {
    border: 2px solid #C53028 !important;
    color: #262625 !important;
    background: #fff !important;
}
#shopLegalModal.bgf-legal-from-purchase #shopLegalClose {
    display: none !important;
}

/* BGF_LEGAL_RETURN_STUFE3B_END */

/* BGF_LEGAL_LOGO_STUFE3C */
/* Header nur für Filmseiten ergänzen; Shop-Header ist bereits vorhanden. */
#shopLegalModal .bgf-legal-film-head {
    display: flex !important;
    flex: 0 0 auto !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 12px !important;
    padding: 0 0 12px !important;
    margin: 0 0 12px !important;
    border-bottom: 1px solid #ddd !important;
    background: #fff !important;
}
#shopLegalModal .bgf-legal-film-head .bgf-modal-v2-logo {
    display: block !important;
    width: 180px !important;
    max-width: 55% !important;
    height: auto !important;
    object-fit: contain !important;
    margin: 0 !important;
}

/* BGF_LEGAL_LOGO_STUFE3C_END */

/* BGF_4D5_SCREENING_CSS_STAGE_BEGIN */
/* Unveränderte Kopie des bestehenden JS-CSS; JS bleibt bis Browsernachweis aktiv. */
      #bgf-screening-dialog{width:min(900px,calc(100vw - 28px))!important;padding:22px!important}
      #bgf-screening-dialog .bgf-screening-brand img{display:block;max-width:205px;max-height:64px;object-fit:contain}
      #bgf-screening-dialog .bgf-screening-shell{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,.8fr);gap:28px;align-items:start}
      #bgf-screening-dialog .bgf-screening-summary{border:1px solid #ddd;border-radius:4px;padding:16px;background:#fafafa}
      #bgf-screening-dialog .bgf-screening-summary section{margin:0 0 15px;border-top:0;padding-top:0}
      #bgf-screening-dialog .bgf-screening-film-overview{display:flex;align-items:flex-start;gap:14px;margin:10px 0 18px}
      #bgf-screening-dialog .bgf-screening-film-overview img{width:84px;max-height:130px;object-fit:contain}
      #bgf-screening-dialog .bgf-screening-film-overview strong{font-size:16px}
      #bgf-screening-dialog .bgf-screening-film-overview p{font-size:12px;color:#666;line-height:1.45}
      #bgf-screening-dialog .bgf-screening-information{margin:10px 0 16px}
      #bgf-screening-dialog .bgf-screening-information h3{font-size:14px;margin:12px 0 4px}
      #bgf-screening-dialog .bgf-screening-information p{font-size:13px;line-height:1.45;color:#555;margin:0 0 9px}
      #bgf-screening-dialog .bgf-screening-pricelist h3{font-size:14px;margin:0 0 9px}
      #bgf-screening-dialog .bgf-screening-pricelist table{border-collapse:collapse;width:100%;font-size:13px}
      #bgf-screening-dialog .bgf-screening-pricelist tr{border-bottom:1px solid #ddd}
      #bgf-screening-dialog .bgf-screening-pricelist tr.is-selected{background:#f6e8e6}
      #bgf-screening-dialog .bgf-screening-pricelist th{text-align:left;font-weight:400;padding:7px 4px}
      #bgf-screening-dialog .bgf-screening-pricelist td{text-align:right;font-weight:600;white-space:nowrap;padding:7px 4px}
      #bgf-screening-dialog .bgf-screening-legal{display:flex;flex-wrap:wrap;gap:7px 14px;margin:15px 0 8px}
      #bgf-screening-dialog .bgf-screening-legal-link{border:0;background:transparent;padding:2px 0;color:#C53028;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
      #bgf-screening-dialog .bgf-screening-legal-note{display:block;color:#666;font-size:12px;line-height:1.45}
      #bgf-screening-dialog .bgf-screening-confirmations{margin-top:8px;display:grid;gap:7px}
      #bgf-screening-dialog .bgf-screening-consent{display:flex;align-items:flex-start;gap:8px;font-size:12px;line-height:1.3;cursor:pointer}
      #bgf-screening-dialog .bgf-screening-consent input{flex:none;margin-top:2px;accent-color:#C53028}
      @media(min-width:900px) and (min-height:750px){
        #bgf-screening-dialog{width:min(1000px,calc(100vw - 40px))!important;padding:14px 20px!important;max-height:calc(100vh - 24px)!important}
        #bgf-screening-dialog .bgf-screening-shell{gap:22px}
        #bgf-screening-dialog .bgf-screening-brand{margin-bottom:7px!important}
        #bgf-screening-dialog .bgf-screening-film-overview{margin:4px 0 7px!important;gap:10px!important}
        #bgf-screening-dialog .bgf-screening-film-overview img{width:65px!important;max-height:98px!important}
        #bgf-screening-dialog .bgf-screening-information{margin:3px 0 5px!important}
        #bgf-screening-dialog .bgf-screening-information h3{margin:6px 0 2px!important;font-size:12px!important}
        #bgf-screening-dialog .bgf-screening-information p{font-size:11px!important;line-height:1.3!important;margin:0 0 4px!important}
        #bgf-screening-dialog .bgf-screening-options fieldset{margin-top:7px!important;padding-top:5px!important}
        #bgf-screening-dialog .bgf-screening-options fieldset label{padding:3px 4px!important;font-size:13px}
        #bgf-screening-dialog .bgf-screening-summary{padding:12px!important}
        #bgf-screening-dialog .bgf-screening-pricelist th,#bgf-screening-dialog .bgf-screening-pricelist td{padding:4px!important}
        #bgf-screening-dialog .bgf-screening-summary section{margin-bottom:7px!important;padding-top:4px!important}
        #bgf-screening-dialog .bgf-screening-legal{margin:7px 0 4px!important;gap:3px 10px!important}
        #bgf-screening-dialog .bgf-screening-legal-note{font-size:10px!important;line-height:1.25!important}
        #bgf-screening-dialog .bgf-screening-summary button{font-size:12px}
      }
      @media(max-width:690px){#bgf-screening-dialog .bgf-screening-shell{grid-template-columns:1fr;gap:12px}}
    
/* BGF_4D5_SCREENING_CSS_STAGE_END */

/* BGF_4D6_SCREENING_DESIGN_BEGIN */
/* Only the screening license dialog. No checkout, cart or legal-modal changes. */
#bgf-screening-dialog {
  box-sizing:border-box!important;
  border:0!important;
  border-left:5px solid #C53028!important;
  border-radius:4px!important;
  background:#fff!important;
  color:#262625!important;
  font-family:"Open Sans",Arial,sans-serif!important;
  box-shadow:0 20px 55px rgba(0,0,0,.38)!important;
  overflow-y:auto!important;
  max-height:calc(100dvh - 24px)!important;
}
#bgf-screening-dialog::backdrop { background:rgba(10,10,10,.78); }
#bgf-screening-dialog .bgf-screening-shell { min-width:0; }
#bgf-screening-dialog .bgf-screening-options,
#bgf-screening-dialog .bgf-screening-summary { min-width:0; }
#bgf-screening-dialog h2 { color:#222!important;font-size:20px!important;line-height:1.25!important;margin:0 0 6px!important; }
#bgf-screening-dialog .bgf-screening-film-overview { border-bottom:1px solid #e6e6e6;padding-bottom:10px; }
#bgf-screening-dialog .bgf-screening-film-overview strong { color:#242424; }
#bgf-screening-dialog .bgf-screening-information { display:grid;gap:8px; }
#bgf-screening-dialog .bgf-screening-information h3 {
  position:relative;padding-left:19px!important;margin:0 0 2px!important;
  color:#222!important;font-weight:700!important;line-height:1.3!important;
}
#bgf-screening-dialog .bgf-screening-information h3::before {
  content:"✓";position:absolute;left:0;top:0;color:#C53028;font-weight:800;font-size:16px;
}
#bgf-screening-dialog .bgf-screening-information p { padding-left:19px!important;margin:0 0 4px!important; }
#bgf-screening-dialog .bgf-screening-options fieldset { min-width:0; }
#bgf-screening-dialog .bgf-screening-options fieldset legend { color:#262625;font-weight:700; }
#bgf-screening-dialog .bgf-screening-options input[type="radio"],
#bgf-screening-dialog .bgf-screening-consent input { accent-color:#C53028; }
#bgf-screening-dialog .bgf-screening-options label:has(input:checked) { background:#fbf1f0;border-radius:3px; }
#bgf-screening-dialog .bgf-screening-summary { background:#fafafa!important;border-color:#e2e2e2!important; }
#bgf-screening-dialog .bgf-screening-pricelist h3 { font-weight:700;color:#222; }
#bgf-screening-dialog .bgf-screening-pricelist tr.is-selected { background:#f6e8e6; }
#bgf-screening-dialog .bgf-screening-pricelist tr.is-selected th,
#bgf-screening-dialog .bgf-screening-pricelist tr.is-selected td { font-weight:700; }
#bgf-screening-dialog .bgf-screening-summary > section:not(.bgf-screening-pricelist) strong { color:#262625; }
#bgf-screening-dialog .bgf-screening-legal-link { text-decoration:none!important;font-weight:400; }
#bgf-screening-dialog .bgf-screening-legal-link:hover,
#bgf-screening-dialog .bgf-screening-legal-link:focus-visible { font-weight:700;text-decoration:none!important; }
#bgf-screening-dialog .bgf-screening-consent { color:#333; }
#bgf-screening-dialog .bgf-screening-summary button { border-radius:3px; }
#bgf-screening-dialog .bgf-screening-summary button:focus-visible { outline:2px solid #C53028;outline-offset:2px; }
/* Responsive rules at the end, after all desktop declarations. */
@media (max-width:690px) {
  #bgf-screening-dialog { width:calc(100vw - 20px)!important;max-height:calc(100dvh - 20px)!important;padding:15px!important; }
  #bgf-screening-dialog .bgf-screening-shell { grid-template-columns:minmax(0,1fr)!important;gap:12px!important; }
  #bgf-screening-dialog .bgf-screening-summary { padding:12px!important; }
  #bgf-screening-dialog .bgf-screening-film-overview img { width:64px!important;max-height:98px!important; }
}
/* BGF_4D6_SCREENING_DESIGN_END */

/* BGF_4E_SCREENING_ONLY_CSS_BEGIN: screening modal only; no private-purchase changes */
#bgf-screening-dialog{width:min(1120px,calc(100vw - 36px))!important;max-height:calc(100vh - 24px)!important;padding:18px 24px!important;border-left:5px solid #C53028!important}
#bgf-screening-dialog .bgf-screening-shell{grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr)!important;gap:24px!important}
#bgf-screening-dialog .bgf-screening-brand{align-items:center!important;margin:0 0 10px!important}
#bgf-screening-dialog .bgf-screening-top-close{background:none;border:0;color:#C53028;font-weight:600;cursor:pointer;padding:6px 0}
#bgf-screening-dialog .bgf-screening-eyebrow{color:#C53028;font-weight:700;font-size:12px;letter-spacing:.08em;margin:0 0 5px}
#bgf-screening-dialog .bgf-screening-film-overview{margin:5px 0 10px!important}
#bgf-screening-dialog .bgf-screening-film-overview img{width:78px!important;max-height:115px!important}
#bgf-screening-dialog .bgf-screening-options fieldset{margin:5px 0 9px!important;padding:5px 0 0!important}
#bgf-screening-dialog .bgf-screening-options fieldset label{padding:5px 7px!important;border-radius:3px}
#bgf-screening-dialog .bgf-screening-options fieldset label:has(input:checked){background:#e9e9e9!important}
#bgf-screening-dialog .bgf-screening-pricelist tr.is-selected{background:#e9e9e9!important}
#bgf-screening-dialog .bgf-screening-summary{background:#fff!important;border:0!important;border-left:1px solid #ddd!important;border-radius:0!important;padding:0 0 0 22px!important}
#bgf-screening-dialog .bgf-screening-information{margin:8px 0!important}
#bgf-screening-dialog .bgf-screening-information h3{font-size:13px!important;margin:6px 0 2px!important}
#bgf-screening-dialog .bgf-screening-information p{font-size:12px!important;line-height:1.3!important;margin:0 0 5px!important}
#bgf-screening-dialog .bgf-screening-other{border-top:1px solid #ddd;margin-top:9px;padding-top:8px}
#bgf-screening-dialog .bgf-screening-other h3{margin:0 0 6px;font-size:14px}
#bgf-screening-dialog .bgf-screening-other-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:7px 0;border-bottom:1px solid #ddd}
#bgf-screening-dialog .bgf-screening-other-row strong{display:block;font-size:13px;color:#C53028}
#bgf-screening-dialog .bgf-screening-other-row small{display:block;font-size:11px;color:#555;line-height:1.3}
#bgf-screening-dialog .bgf-screening-other-row button{border:1px solid #C53028;background:white;color:#C53028;padding:7px 12px;cursor:pointer;border-radius:3px;font-weight:600;white-space:nowrap}
#bgf-screening-dialog .bgf-screening-mp4-note{font-size:11px;color:#555;margin:0 0 6px}
#bgf-screening-dialog .bgf-screening-actions{margin-top:12px;display:flex}
#bgf-screening-dialog .bgf-screening-actions button{background:#C53028;color:white;border:1px solid #C53028;border-radius:3px;padding:10px 15px;font-weight:600;cursor:pointer;width:100%}
#bgf-screening-dialog .bgf-screening-actions button:disabled{opacity:.55;cursor:not-allowed}
@media(max-width:690px){#bgf-screening-dialog{padding:14px!important;max-height:90vh!important}#bgf-screening-dialog .bgf-screening-shell{grid-template-columns:1fr!important;gap:12px!important}#bgf-screening-dialog .bgf-screening-summary{border-left:0!important;border-top:1px solid #ddd!important;padding:12px 0 0!important}}
/* BGF_4E_SCREENING_ONLY_CSS_END */


/* BGF_4F_SCREENING_FACTS_CSS_BEGIN */
#bgf-screening-dialog .bgf-screening-library{font-size:11px;line-height:1.35;color:#555;margin:4px 0 8px}
#bgf-screening-dialog .bgf-screening-delivery-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;border-top:1px solid #ddd;margin-top:10px;padding-top:10px}
#bgf-screening-dialog .bgf-screening-delivery-step{text-align:center;min-width:0}
#bgf-screening-dialog .bgf-screening-delivery-step strong{display:block;color:#222;font-size:11px;line-height:1.3}
#bgf-screening-dialog .bgf-screening-delivery-step span{display:block;color:#666;font-size:10px;line-height:1.35;margin-top:3px}
@media(max-width:690px){#bgf-screening-dialog .bgf-screening-delivery-steps{grid-template-columns:1fr;gap:7px}#bgf-screening-dialog .bgf-screening-delivery-step{text-align:left}}
/* BGF_4F_SCREENING_FACTS_CSS_END */

/* BGF_4G_EDU_LIBRARY_ONLY_CSS_BEGIN */
@media(min-width:691px){
  #bgf-screening-dialog .bgf-screening-shell{grid-template-columns:minmax(0,1.22fr) minmax(0,1fr)!important;gap:20px!important}
  #bgf-screening-dialog .bgf-screening-summary{padding-left:20px!important}
}
#bgf-screening-dialog .bgf-screening-information{margin:5px 0!important}
#bgf-screening-dialog .bgf-screening-information h3{margin:5px 0 2px!important}
#bgf-screening-dialog .bgf-screening-delivery-steps{gap:8px;margin-top:8px;padding-top:9px}
#bgf-screening-dialog .bgf-screening-delivery-step strong{font-size:12px;line-height:1.4}
#bgf-screening-dialog .bgf-screening-delivery-step span{font-size:11px;line-height:1.4}
/* BGF_4G_EDU_LIBRARY_ONLY_CSS_END */

/* BGF_4H_SCREENING_EDU_LAYOUT_CSS_BEGIN */
#bgf-screening-dialog .bgf-screening-edu-library-note{margin:7px 0 10px!important;padding:7px 9px;border-left:2px solid #C53028;background:#f6f6f6;color:#333;font-size:11px;line-height:1.4}
#bgf-screening-dialog .bgf-screening-edu-library-note[hidden]{display:none!important}
#bgf-screening-dialog .bgf-screening-film-overview img{width:108px!important;max-width:108px!important;max-height:158px!important;height:auto!important;object-fit:contain!important}
#bgf-screening-dialog .bgf-screening-delivery-steps{margin:10px 0 8px!important;padding:11px 0!important;border-top:1px solid #ddd;border-bottom:1px solid #ddd;gap:10px!important}
#bgf-screening-dialog .bgf-screening-delivery-step strong{font-size:12px!important;line-height:1.35!important}
#bgf-screening-dialog .bgf-screening-delivery-step span{font-size:11px!important;line-height:1.35!important}
#bgf-screening-dialog .bgf-screening-other{margin-top:7px!important;padding-top:8px!important}
@media(min-width:691px){
  #bgf-screening-dialog .bgf-screening-shell{grid-template-columns:minmax(0,1.13fr) minmax(0,1fr)!important;gap:18px!important}
  #bgf-screening-dialog .bgf-screening-summary{padding-left:18px!important}
}
/* BGF_4H_SCREENING_EDU_LAYOUT_CSS_END */

/* BGF_LEGAL_MIGRATION_20261112_V1: zuvor dynamische Layoutregeln, ohne Tabs. */
#shopLegalModal:not(.bgf-exhibition-legal-dialog) { align-items:center!important; justify-content:center!important; padding:20px!important; box-sizing:border-box!important; }
#shopLegalModal:not(.bgf-exhibition-legal-dialog) .shop-popup { max-width:920px!important; border-radius:3px!important; }
#shopLegalClose.bgf-legal-close-brand { position:absolute!important; top:14px!important; right:22px!important; left:auto!important; width:auto!important; margin:0!important; padding:4px 0!important; display:inline-block!important; text-align:right!important; background:transparent!important; color:#C53028!important; border:0!important; box-shadow:none!important; text-decoration:none!important; font-weight:400!important; cursor:pointer!important; }
#shopLegalClose.bgf-legal-close-brand:hover,#shopLegalClose.bgf-legal-close-brand:focus-visible { font-weight:700!important; text-decoration:none!important; }
#shopLegalTitle.bgf-legal-entry-title { margin:0 0 12px!important; font-size:19px!important; line-height:1.4!important; }
#shopLegalContent { overflow-y:auto!important; min-height:0!important; padding-right:8px!important; }
#shopLegalContent p { line-height:1.6!important; margin:0 0 13px!important; }
@media(max-width:600px) { #shopLegalModal:not(.bgf-exhibition-legal-dialog) { padding:10px!important; } #shopLegalModal:not(.bgf-exhibition-legal-dialog) .shop-popup { max-height:calc(100dvh - 20px)!important; padding:18px 16px!important; } }

/* BGF_SCREENING_CONSENT_BRANDED_20261112: branded inline validation, all viewport sizes */
#bgf-screening-dialog .bgf-screening-consent-error:not([hidden]) {
  display:block; margin:8px 0 2px; padding:10px 12px;
  border-left:3px solid #C53028; background:#fff3f1;
  color:#9b211c; font-size:13px; line-height:1.45; font-weight:600;
}

#bgf-screening-dialog .bgf-screening-consent input[aria-invalid="true"] {outline:2px solid #C53028;outline-offset:2px;}

/* BGF_SCREENING_CONSENT_VISIBLE_V2_20261112 – screening only; ensure warning legibility and modal scrolling. */
#bgf-screening-dialog .bgf-screening-consent-error:not([hidden]) {
  display:block!important;visibility:visible!important;opacity:1!important;
  color:#9b211c!important;font-size:13px!important;line-height:1.45!important;
  font-weight:600!important;white-space:normal!important;
  padding:10px 12px!important;margin:8px 0 4px!important;
  border-left:3px solid #C53028!important;background:#fff3f1!important;
  height:auto!important;min-height:0!important;
}
#bgf-screening-dialog .bgf-screening-consent-error[hidden] {display:none!important;}
#bgf-screening-dialog[open] {max-height:calc(100dvh - 24px)!important;overflow-y:auto!important;overscroll-behavior:contain;}

/* BGF_PATCH17_DESKTOP_CHECKOUT: original BGF colors, two-column layout.
   CSS only on wide desktops; original DOM/keyboard order and mobile layout retained. */
.bgf-checkout-columns{display:flex;flex-direction:column;gap:10px;min-width:0}
.bgf-checkout-summary,.bgf-checkout-completion{min-width:0}
.bgf-checkout-columns .bgf-checkout-item-detail{overflow-wrap:anywhere}
@media (min-width:900px) and (min-height:650px){
 #bgf-checkout-dialog.bgf-checkout-dialog{width:min(1080px,96vw);max-width:min(1080px,96vw);max-height:94dvh;}
 #bgf-checkout-dialog .bgf-checkout-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:start;}
 #bgf-checkout-dialog .bgf-checkout-summary{border-right:1px solid #ddd;padding-right:20px;}
 #bgf-checkout-dialog .bgf-checkout-completion{display:flex;flex-direction:column;gap:7px;}
 #bgf-checkout-dialog .bgf-checkout-completion .bgf-checkout-form{gap:7px;}
 #bgf-checkout-dialog .bgf-checkout-completion .bgf-checkout-payment{gap:5px;padding-top:7px;}
 #bgf-checkout-dialog .bgf-checkout-completion .bgf-checkout-payment-choice{padding:5px 8px;}
 #bgf-checkout-dialog .bgf-checkout-completion .bgf-checkout-actions{margin-top:4px;}
}
/* BGF_CSS_STUFE3D_MOBILE_QUERIES: unverändert verschobene Blöcke */
@media(max-width:600px){#shopLegalModal #bgf-legal-logo,#shopPurchaseModal .bgf-modal-v2-logo{width:145px!important;max-width:48vw!important;}}

@media(max-width:600px){#bgf-cart-dialog .bgf-cart-remove{grid-column:2;grid-row:2;}}

@media(max-width:520px){
  #bgf-cart-dialog .bgf-cart-content { padding:14px; }
  .bgf-checkout-shell { padding:14px; }
  #bgf-cart-dialog .bgf-cart-actions > button,
  .bgf-checkout-dialog .bgf-checkout-actions > button { font-size:12px; padding:8px 10px; }
}

@media(max-width:520px){.bgf-checkout-contact{grid-template-columns:1fr}}

@media (max-width: 600px) {
    #shopPurchaseModal .bgf-shop-modal-overlay {
        overflow-y: hidden !important;
        align-items: center !important;
    }
    #shopPurchaseModal .bgf-shop-modal-container {
        max-height: calc(100dvh - 20px) !important;
        overflow-y: auto !important;
        overscroll-behavior-y: contain;
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 600px) {
    #shopLegalModal .shop-popup,
    body.page-shop #shopLegalModal .shop-popup,
    body.page-filmdetail #shopLegalModal .shop-popup {
        max-height: calc(100dvh - 20px) !important;
        width: calc(100vw - 20px) !important;
        padding: 16px !important;
    }
    #shopLegalModal #shopLegalBack,
    body.page-shop #shopLegalModal #shopLegalBack {
        width: 100% !important;
        min-height: 44px !important;
        margin-left: 0 !important;
    }
}

@media (max-width: 600px) {
    #shopLegalModal .bgf-legal-film-head .bgf-modal-v2-logo {
        width: 145px !important;
        max-width: 55% !important;
    }
}

/* BGF_DIRECT_CHECKOUT_20261116: Corporate-Schließen, sichtbarer Tastaturfokus.
 * Wartung: Nur Checkout-Kopf; allgemeine Modalbuttons bleiben zentral. */
#bgf-checkout-dialog .bgf-checkout-head button.bgf-checkout-text-link {
  appearance:none; background:transparent; border:0; border-radius:3px;
  box-shadow:none; color:#C53028; cursor:pointer; font:inherit;
}
#bgf-checkout-dialog .bgf-checkout-head button.bgf-checkout-text-link:focus {outline:none;}
#bgf-checkout-dialog .bgf-checkout-head button.bgf-checkout-text-link:focus-visible {
  outline:2px solid #C53028; outline-offset:3px;
}

/* BGF_SUPPORT_CHECKOUT_LAYOUT_20261116
 * Wartung: Originalbild ../img/bgf-support-avola.jpg; nur Checkout mit Support.
 * Gemeinsame Warenkorb-/Zahlungslogik bleibt in js/kauf-system.js.
 * Mobile Regeln ausschließlich am Ende dieses Stylesheets. */
#bgf-checkout-dialog.bgf-checkout-has-support{width:min(1050px,96vw);max-width:min(1050px,96vw)}
#bgf-checkout-dialog.bgf-checkout-has-support .bgf-checkout-columns{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:24px;align-items:start}
#bgf-checkout-dialog.bgf-checkout-has-support .bgf-checkout-summary{min-width:0;border-right:1px solid #ddd;padding-right:20px}
.bgf-checkout-has-support .bgf-checkout-support-hero{display:flex;flex-direction:column;gap:7px;margin-bottom:12px}
.bgf-checkout-has-support .bgf-checkout-avola{display:block;width:100%;height:auto;object-fit:contain;max-height:48vh}
.bgf-checkout-has-support .bgf-checkout-avola-credit{color:#666;font-size:11px}
.bgf-checkout-has-support .bgf-checkout-support-copy{display:flex;flex-direction:column;gap:5px}
.bgf-checkout-has-support .bgf-checkout-support-copy strong{font-size:19px;line-height:1.3}
.bgf-checkout-has-support .bgf-checkout-support-copy span{font-size:15px}
.bgf-checkout-has-support .bgf-checkout-support-amount{display:flex;justify-content:space-between;align-items:center;background:#f6f6f6;padding:13px;border-radius:4px;gap:10px}
.bgf-checkout-has-support .bgf-checkout-support-amount strong{font-size:22px}
.bgf-checkout-support-only .bgf-checkout-contact{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.bgf-checkout-support-only .bgf-checkout-message{grid-column:1/-1}
.bgf-checkout-support-only .bgf-checkout-message textarea{width:100%;box-sizing:border-box;font:inherit;resize:vertical;padding:8px;border:1px solid #aaa;border-radius:3px}
.bgf-checkout-support-only .bgf-checkout-payment{border:0;padding-top:0}
.bgf-checkout-support-only .bgf-checkout-support-privacy{font-size:11px;color:#555;line-height:1.5}
.bgf-checkout-support-only .bgf-checkout-actions{justify-content:flex-end}
@media(max-width:760px){
 #bgf-checkout-dialog.bgf-checkout-has-support{width:min(96vw,640px);max-width:min(96vw,640px)}
 #bgf-checkout-dialog.bgf-checkout-has-support .bgf-checkout-columns{display:flex;flex-direction:column;gap:12px}
 #bgf-checkout-dialog.bgf-checkout-has-support .bgf-checkout-summary{border-right:0;padding-right:0;width:100%}
 .bgf-checkout-has-support .bgf-checkout-completion{width:100%}
 .bgf-checkout-has-support .bgf-checkout-avola{max-height:none}
}
@media(max-width:520px){.bgf-checkout-support-only .bgf-checkout-contact{grid-template-columns:1fr}}

/* BGF_FILMINFO_MENU_V3_20261118
 * ZENTRALE Darstellung fuer alle Film-Informationsdialoge.
 * Desktop: rote Navigation links, rechts eigener Text-Scrollbereich.
 * Mobile-Regeln stehen am Ende dieser Datei. Keine Duplikate in filmpages.css.
 */
dialog.bgf-alt-popup.bgf-alt-info-expanded{width:min(1120px,96vw)!important;max-width:96vw!important;max-height:94dvh!important;overflow-y:auto!important;box-sizing:border-box!important;}
dialog.bgf-alt-popup .bgf-alt-inline-info:not([hidden]){display:grid!important;grid-template-columns:minmax(175px,215px) minmax(0,1fr)!important;gap:22px!important;margin:14px 12px!important;padding:18px 0 0!important;border-top:1px solid #ddd!important;align-items:stretch!important;min-height:200px!important;}
dialog.bgf-alt-popup .bgf-alt-inline-info[hidden]{display:none!important;}
dialog.bgf-alt-popup .bgf-alt-inline-nav{display:flex!important;flex-direction:column!important;gap:0!important;border-right:1px solid #ddd!important;padding:0 12px 0 0!important;max-height:52dvh!important;overflow-y:auto!important;}
dialog.bgf-alt-popup .bgf-alt-inline-nav a{display:block!important;color:#C53028!important;text-decoration:none!important;font-size:13px!important;line-height:1.4!important;padding:9px 3px!important;border-bottom:1px solid #eee!important;font-weight:400!important;overflow-wrap:anywhere!important;}
dialog.bgf-alt-popup .bgf-alt-inline-nav a:hover,dialog.bgf-alt-popup .bgf-alt-inline-nav a:focus{font-weight:700!important;text-decoration:none!important;}
dialog.bgf-alt-popup .bgf-alt-info-body{min-width:0!important;max-height:52dvh!important;overflow-y:auto!important;overscroll-behavior:contain!important;overflow-wrap:break-word!important;line-height:1.6!important;padding:0 10px 8px 0!important;}
dialog.bgf-alt-popup .bgf-alt-info-body section{scroll-margin-top:8px;margin-bottom:20px;}
dialog.bgf-alt-popup .bgf-alt-info-body h2{font-size:19px!important;line-height:1.3!important;margin:0 0 12px!important;}
dialog.bgf-alt-popup .bgf-alt-info-body h3{font-size:16px!important;line-height:1.4!important;margin:12px 0 8px!important;}
dialog.bgf-alt-popup .bgf-alt-info-body img,dialog.bgf-alt-popup .bgf-alt-info-body video{max-width:100%!important;max-height:210px!important;object-fit:contain!important;}
dialog.bgf-alt-popup .bgf-alt-info-body a{color:#C53028!important;text-decoration:none!important;}
dialog.bgf-alt-popup .bgf-alt-info-body a:hover{font-weight:700!important;text-decoration:none!important;}
@media(max-width:720px){
 dialog.bgf-alt-popup .bgf-alt-inline-info:not([hidden]){grid-template-columns:minmax(0,1fr)!important;gap:10px!important;margin:10px 4px!important;}
 dialog.bgf-alt-popup .bgf-alt-inline-nav{max-height:140px!important;border-right:0!important;border-bottom:1px solid #ddd!important;padding:0 0 8px!important;}
 dialog.bgf-alt-popup .bgf-alt-info-body{max-height:45dvh!important;}
}

/* BGF_FILMINFO_V4_20261118 – Wartung: Ruecksprung-Design zentral hier steuern. */
dialog.bgf-alt-popup .bgf-alt-inline-nav .bgf-alt-back-to-purchase{position:sticky!important;top:0!important;z-index:2!important;background:#fff!important;color:#C53028!important;font-weight:700!important;border-bottom:2px solid #C53028!important;padding:10px 3px!important;}

/* BGF_MODAL_TOP_LAYER_V29 – native Dialoge ueber allen anderen modalen Dialogen.
   Das dialog::backdrop wird vom Browser verwaltet, nicht durch z-index. */
dialog.bgf-native-shop-layer-v29 {
  position:fixed; inset:0; margin:auto; padding:0; border:0;
  width:100vw; max-width:none; height:100dvh; max-height:none;
  background:transparent; color:inherit; overflow:auto; box-sizing:border-box;
}
dialog.bgf-native-shop-layer-v29::backdrop { background:rgba(0,0,0,.65); }
dialog#shopPurchaseModal.bgf-native-shop-layer-v29 > .bgf-shop-modal-overlay {
  position:relative !important; width:100% !important; min-height:100% !important;
  height:auto !important; background:transparent !important;
}
dialog#shopLegalModal.bgf-native-shop-layer-v29 {
  display:none; align-items:center; justify-content:center;
}
dialog#shopLegalModal.bgf-native-shop-layer-v29[open] { display:flex; }

/* BGF_EXHIBITION_POSTER_THEN_SHOP_V2_20261119
 * Maintenance: mobile/tablet exhibition order only. DOM, desktop grid,
 * exhibition posters, checkout, product IDs and modal behavior are unchanged.
 * Intro -> poster grid -> shop -> sponsor / editorial content.
 * Keep responsive rules at the end of this stylesheet.
 */
@media (max-width: 950px) {
  body.page-ausstellungen main.unzerstoerbar-main {
    margin-left: 16px !important;
    margin-right: 16px !important;
    max-width: calc(100% - 32px) !important;
    width: auto !important;
    min-width: 0 !important;
  }
  body.page-ausstellungen .bgf-exhibition-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 0 !important;
    align-items: start !important;
  }
  body.page-ausstellungen .bgf-exhibition-layout > .bgf-exhibition-main {
    display: contents !important;
  }
  body.page-ausstellungen .bgf-exhibition-layout > .bgf-exhibition-main > * {
    order: 3;
    min-width: 0;
    max-width: 100%;
  }
  body.page-ausstellungen .bgf-exhibition-layout > .bgf-exhibition-main > .content-text:first-child {order: 0;}
  body.page-ausstellungen .bgf-exhibition-layout > .bgf-exhibition-main > .poster-grid {order: 1;}
  body.page-ausstellungen .bgf-exhibition-layout > #bgf-exhibition-shop {
    order: 2;
    position: static !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 8px 0 24px !important;
    padding: 16px 0 20px !important;
    border: 0 !important;
    border-top: 1px solid #ddd !important;
    border-bottom: 1px solid #ddd !important;
  }
  body.page-ausstellungen .poster-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
    margin: 14px 0 16px !important;
    width: 100% !important;
  }
  body.page-ausstellungen .poster-grid .poster-item {
    width: 100% !important;
    min-width: 0 !important;
  }
  body.page-ausstellungen .poster-grid .poster-thumb {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
  }
  body.page-ausstellungen .bgf-exhibition-card-body {
    grid-template-columns: minmax(95px, 38%) minmax(0, 1fr);
  }
}
@media (min-width: 600px) and (max-width: 950px) and (orientation: landscape) {
  body.page-ausstellungen main.unzerstoerbar-main {
    margin-left: 20px !important;
    margin-right: 20px !important;
    max-width: calc(100% - 40px) !important;
  }
  body.page-ausstellungen .poster-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }
  body.page-ausstellungen #bgf-exhibition-shop .bgf-exhibition-card-body {
    grid-template-columns: minmax(105px, 25%) minmax(0, 1fr);
  }
}

/* BGF_EXHIBITION_MOBILE_NAV_V3
 * Maintenance: navigation only; responsive rules remain at CSS file end.
 * Existing exhibition shop position, purchase modals and desktop layout unchanged.
 */
.bgf-exhibition-mobile-nav { display: none; }
@media (max-width: 950px) {
  body.page-ausstellungen .bgf-exhibition-mobile-nav {
    display: block;
    position: sticky;
    top: 102px;
    z-index: 35;
    box-sizing: border-box;
    width: 100%;
    margin: 8px 0 14px;
    border: 1px solid #d7d7d7;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,.08);
    font-size: 14px;
  }
  body.page-ausstellungen .bgf-exhibition-mobile-nav summary {
    display: list-item;
    cursor: pointer;
    padding: 11px 14px;
    color: #c53028;
    font-weight: 700;
    line-height: 1.35;
  }
  body.page-ausstellungen .bgf-exhibition-mobile-nav nav {
    display: grid;
    max-height: min(55vh, 360px);
    overflow-y: auto;
    border-top: 1px solid #eee;
  }
  body.page-ausstellungen .bgf-exhibition-mobile-nav nav a {
    display: block;
    padding: 11px 14px;
    border-bottom: 1px solid #eee;
    color: #c53028;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
  }
  body.page-ausstellungen .bgf-exhibition-mobile-nav nav a:focus-visible {
    outline: 2px solid #c53028;
    outline-offset: -2px;
  }
  body.page-ausstellungen .bgf-exhibition-nav-target { scroll-margin-top: 165px; }
}
@media (min-width: 600px) and (max-width: 950px) and (orientation: landscape) {
  body.page-ausstellungen .bgf-exhibition-mobile-nav { top: 48px; }
  body.page-ausstellungen .bgf-exhibition-mobile-nav nav { max-height: 55vh; }
  body.page-ausstellungen .bgf-exhibition-nav-target { scroll-margin-top: 105px; }
}
