/* One shared header height keeps the opaque menu flush on every breakpoint. */
:root:root{--header-h:114px!important;--pema-scrollbar-compensation:0px}
html body #site-header{height:var(--header-h)!important;min-height:var(--header-h)!important;max-height:var(--header-h)!important}
html body #site-header .brand{height:100%!important;min-height:var(--header-h)!important;display:flex!important;align-items:center!important}
html body #mobile-navigation{top:calc(var(--header-h) - 1px)!important;bottom:0!important;left:0!important;right:auto!important;width:calc(100% - var(--pema-scrollbar-compensation))!important;height:auto!important;min-height:0!important;max-height:none!important;border-top:0!important;background:#fff!important;overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior:contain;padding-bottom:max(32px,env(safe-area-inset-bottom))!important;isolation:isolate}
html body #mobile-navigation nav.menu-tree{min-width:0!important;max-width:min(780px,100%)!important}
html body #mobile-navigation .menu-tree>a,html body #mobile-navigation .menu-group>summary{overflow-wrap:anywhere!important;min-width:0!important}
html body.navigation-open{overflow:hidden!important;padding-right:var(--pema-scrollbar-compensation)!important}
html body.navigation-open:before{content:"";position:fixed;inset:0;z-index:44;background:#fff;pointer-events:none}
html body.navigation-open #site-header{background:#fff!important;backdrop-filter:none!important;border:0!important;box-shadow:none!important;width:calc(100% - var(--pema-scrollbar-compensation))!important}
html body.navigation-open #site-header:before,html body.navigation-open #site-header:after{display:none!important}
html body.navigation-open #site-header .brand img{filter:none!important}
html body.navigation-open #site-header .preview-offer,html body.navigation-open #site-header .preview-contact,html body.navigation-open #site-header .language-button,html body.navigation-open #site-header .menu-button{color:#a98556!important;text-shadow:none!important;filter:none!important}
/* Compact header and headline for phones/tablets in landscape and short windows. */
@media(max-height:520px) and (min-width:540px){
 :root:root{--header-h:72px!important}
 html body #site-header{padding:0 max(20px,3vw)!important}
 html body #site-header .brand img{width:72px!important;max-height:56px!important}
 html body #site-header .header-actions{gap:8px!important}
 html body #mobile-navigation{padding-top:20px!important}
}
@media(max-height:520px) and (min-width:761px){
 html body #main>section#top.hero.hero-variant-one>.hero-content{height:120px!important;min-height:120px!important;max-height:120px!important}
 html body #main>section#top.hero.hero-variant-one .qa-hero-title{font-size:clamp(24px,7svh,36px)!important}
 html body #main>section#top.hero.hero-variant-one>.hero-content:before{font-size:clamp(24px,7svh,36px)!important}
}
/* Let long German words and links wrap within narrow grid tracks. */
html body .pema-acquisition-grid>article,html body .legal-content>article{min-width:0!important;overflow-wrap:anywhere}
html body .team-company-title h3{min-width:0!important;overflow-wrap:anywhere}
html body .team-company-title{min-width:0!important}
html body .insight-list a{min-width:0!important}
html body .insight-list a>*{min-width:0!important;overflow-wrap:anywhere}
@media(max-width:900px){html body .pema-acquisition-grid{grid-template-columns:minmax(0,1fr)!important}}
@media(max-width:1000px){html body .insight-list a{grid-template-columns:minmax(0,1fr) auto!important}}
