/* Release 162 · iPhone (Notch, Dynamic Island), Android und installierte App.
   Inhalte beginnen unterhalb der Statusleiste; ein fester Hintergrund hält den Bereich darunter frei.
   Wird als letztes Stylesheet geladen. Auf Geräten ohne Aussparung sind alle Werte 0. */
:root{--sc-safe-top:env(safe-area-inset-top,0px);--sc-safe-right:env(safe-area-inset-right,0px);--sc-safe-bottom:env(safe-area-inset-bottom,0px);--sc-safe-left:env(safe-area-inset-left,0px)}
html:root{scroll-padding-top:var(--sc-safe-top)}
html:root body{box-sizing:border-box;padding-top:var(--sc-safe-top)!important}
html:root body::before{content:"";position:fixed;z-index:2147483646;top:0;left:0;right:0;height:var(--sc-safe-top);background:#070707;pointer-events:none}

/* Sticky-Kopfzeilen behalten top:0: Ihre Bereichscontainer liegen bereits unterhalb der Aussparung. */

/* Fahrzeugdatenbank: Logo ist höher als die alte feste Kopfzeile und wurde oben abgeschnitten. */
html:root body .scdb-header{height:auto!important;min-height:63px;padding-top:4px!important;padding-bottom:4px!important}

/* Kompakte Kopfzeilen: Logo, Anmeldung und Sprachauswahl vollständig sichtbar, auch bei 320 px. */
@media(max-width:760px){
 html:root body #publicLanding .sc-v126-header{padding-top:10px!important;padding-bottom:10px!important;padding-left:max(12px,var(--sc-safe-left))!important;padding-right:max(12px,var(--sc-safe-right))!important;row-gap:8px!important}
 html:root body #publicLanding .sc-v126-header .sc-v126-actions{min-width:0;flex-wrap:wrap;justify-content:flex-end;gap:8px}
 html:root body #publicLanding .sc-v126-header .sc-v126-actions .sc-btn{min-height:44px;min-width:0;line-height:1.15}
 html:root body #publicLanding .sc-v126-header .sc-language-control{min-width:0;max-width:100%}
 html:root body #appView>.topbar{min-width:0;gap:8px}
 html:root body #appView>.topbar .top-actions{min-width:0;flex-wrap:wrap;justify-content:flex-end;gap:6px}
 html:root body .topbar .sc-language-control,html:root body .topbar .sc-language-select{max-width:min(150px,38vw)}
}
@media(max-width:380px){
 html:root body #publicLanding .sc-v126-header .sc-v126-actions .sc-btn{padding-left:10px!important;padding-right:10px!important;font-size:13px!important;letter-spacing:0!important}
}

/* Vollflächige Fenster und Overlays: Titel und Schließen-Schaltfläche nicht unter der Kamera-Aussparung. */
html:root body :is(.sc12-modal,.c50-modal,.modal-overlay,.sc25-overlay,.sc108-modal,.sc111-area-overlay,.sc-public-promo-modal,.sc-receipt-overlay,.sc-warning-gate){
 box-sizing:border-box;
 padding-top:max(12px,calc(var(--sc-safe-top) + 8px))!important;
 padding-bottom:max(12px,calc(var(--sc-safe-bottom) + 8px))!important;
 padding-left:max(8px,var(--sc-safe-left))!important;
 padding-right:max(8px,var(--sc-safe-right))!important;
}
html:root body :is(.sc-admin-chat-window,.c76-chat-overlay){box-sizing:border-box;padding-top:var(--sc-safe-top)!important}

/* Querformat: seitliche Aussparungen berücksichtigen. */
@media(orientation:landscape){
 html:root body{padding-left:var(--sc-safe-left);padding-right:var(--sc-safe-right)}
}
