
/* BESTA BAU V131 | Unified header/navigation framework.
   Applies to every theme & route; does not change menu data, links, labels or order.
   The theme controls colors/images/cards/typography, never navigation geometry. */
html{max-width:100%;overflow-x:clip}
body[data-besta-theme]{max-width:100%;min-width:0;overflow-x:clip}
body[data-besta-theme] .site-header{
 position:relative;z-index:60;overflow:visible;
}
body[data-besta-theme] .header-inner{
 width:min(1500px,calc(100% - 48px));max-width:1500px;
 margin:0 auto;min-width:0;position:relative;
 display:grid;grid-template-columns:minmax(155px,220px) minmax(0,1fr);
 grid-template-areas:'brand tools' 'nav nav';column-gap:20px;row-gap:0;
 align-items:center;justify-content:stretch;
 min-height:0;padding:10px 0 0;
}
body[data-besta-theme] .header-inner>.brand,
body[data-besta-theme="t11"] .header-inner>.brand,
body[data-besta-theme="t11"]:has(.besta-3d-home) .header-inner>.brand{
 position:relative;inset:auto;left:auto;top:auto;right:auto;bottom:auto;
 grid-area:brand;display:block!important;width:clamp(145px,13vw,210px);max-width:210px;
 margin:0;flex:none;filter:none;transform:none;z-index:1;
}
body[data-besta-theme] .header-inner>.brand img,
body[data-besta-theme="t11"] .header-inner>.brand img{
 position:static;display:block;width:100%;height:auto;max-height:75px;object-fit:contain;
 background:transparent;filter:none;
}
body[data-besta-theme] .header-tools,
body[data-besta-theme="t11"] .header-tools{
 grid-area:tools;display:flex;justify-content:flex-end;align-items:center;
 flex-wrap:wrap;min-width:0;max-width:100%;gap:10px;
 margin:0;order:initial;flex:initial;
}
body[data-besta-theme] .navigation,
body[data-besta-theme="t11"] .navigation{
 grid-area:nav;display:block;position:relative;inset:auto;
 margin:4px 0 0;min-width:0;width:100%;max-width:100%;
 padding:0;border:0;border-top:1px solid #e6edf5;
 background:transparent;box-shadow:none;order:initial;flex:none;
 overflow:visible;z-index:5;
}
body[data-besta-theme] .navigation>ul,
body[data-besta-theme="t11"] .navigation>ul{
 display:flex;align-items:center;justify-content:center;flex-wrap:wrap;
 width:100%;max-width:100%;padding:0;margin:0;gap:2px 7px;
}
body[data-besta-theme] .nav-item{position:relative;min-width:0;max-width:100%;}
body[data-besta-theme] .nav-link,
body[data-besta-theme="t11"] .nav-link{
 font-size:clamp(11px,.92vw,14px);font-weight:800;
 padding:13px 7px;line-height:1.3;white-space:nowrap;
}
body[data-besta-theme] .submenu{position:absolute;top:100%;z-index:90;min-width:min(270px,90vw);max-width:min(340px,90vw)}
body[data-besta-theme] .navigation .sub-toggle{flex:0 0 auto}
body[data-besta-theme="t11"] .site-header{background:#fff;}
body[data-besta-theme="t11"] .besta-3d-home .besta-hero-shell{
 width:min(1500px,calc(100% - 72px));max-width:1500px;
 min-height:0;padding:32px 0 95px;align-items:flex-start;
}
body[data-besta-theme="t11"] .besta-3d-home .besta-hero-copy{width:min(560px,52%);min-width:0;}
body[data-besta-theme="t11"] .besta-3d-hero-brand{
 width:clamp(250px,27vw,415px);max-width:100%;margin:0 0 14px;
}
body[data-besta-theme="t11"] .besta-3d-home .besta-hero-copy h1{
 font-size:clamp(2.6rem,4.1vw,4.6rem);line-height:1.02;
}
body[data-besta-theme="t11"] .besta-dynamic-hero.besta-3d-home{min-height:680px;overflow:hidden;}
body[data-besta-theme="t11"] .besta-3d-home .besta-hero-backdrop:after{
 background:linear-gradient(90deg,#092746eb 0%,#0a2a48cd 31%,#0828482c 60%,transparent 85%);
}
body[data-besta-theme="t11"] .besta-3d-services-strip{margin-top:-28px;}
body[data-besta-theme="t11"] .page-head{padding:50px 0 48px;}
body[data-besta-theme="t11"] .page-head h1{max-width:100%;overflow-wrap:break-word;font-size:clamp(2rem,4vw,3.8rem);}
body[data-besta-theme="t11"] .interior-hero{padding:55px 0;}
body[data-besta-theme="t11"] .interior-grid{min-width:0;}
body[data-besta-theme="t11"] .interior-grid h1{font-size:clamp(2rem,3.5vw,3.6rem);overflow-wrap:break-word;}
body[data-besta-theme="t11"] .interior-grid>*{min-width:0;}
@media(max-width:1050px){
 body[data-besta-theme] .header-inner{grid-template-columns:160px minmax(0,1fr)}
 body[data-besta-theme] .nav-link,body[data-besta-theme="t11"] .nav-link{font-size:11px;padding:11px 5px}
 body[data-besta-theme="t11"] .besta-3d-home .besta-hero-copy{width:min(540px,63%)}
}
@media(max-width:800px){
 body[data-besta-theme] .header-inner,body[data-besta-theme="t11"] .header-inner{
  display:flex;flex-wrap:nowrap;min-height:76px;gap:8px;
  width:calc(100% - 28px);padding:8px 0;
 }
 body[data-besta-theme] .header-inner>.brand,
 body[data-besta-theme="t11"] .header-inner>.brand,
 body[data-besta-theme="t11"]:has(.besta-3d-home) .header-inner>.brand{
  position:relative;display:block!important;width:clamp(96px,24vw,135px);
  max-width:135px;flex:0 0 auto;order:0;
 }
 body[data-besta-theme] .header-inner>.brand img{max-height:64px}
 body[data-besta-theme] .mobile-toggle{display:flex;flex:0 0 40px;order:1;margin-left:auto}
 body[data-besta-theme] .header-tools,body[data-besta-theme="t11"] .header-tools{
  order:2;flex:0 1 auto;min-width:0;margin:0;gap:4px;flex-wrap:nowrap;
 }
 body[data-besta-theme] .header-tools .header-cta{display:none}
 body[data-besta-theme] .header-tools .admin-access{padding:5px!important;font-size:10px!important}
 body[data-besta-theme] .language-switch{max-width:78px;padding:7px 4px;font-size:11px}
 body[data-besta-theme] .navigation,body[data-besta-theme="t11"] .navigation{
  display:none;position:absolute;top:100%;left:-14px;right:-14px;
  width:calc(100% + 28px);max-width:none;order:initial;flex:none;
  padding:10px 14px;background:#fff;z-index:95;
  margin:0;border:1px solid #e1e8ef;box-shadow:0 18px 30px #071e3c25;
  max-height:75vh;overflow:auto;
 }
 body[data-besta-theme] .navigation.opened,body[data-besta-theme="t11"] .navigation.opened{display:block}
 body[data-besta-theme] .navigation>ul,body[data-besta-theme="t11"] .navigation>ul{display:block}
 body[data-besta-theme] .nav-item{display:flex;flex-wrap:wrap;justify-content:space-between;white-space:normal}
 body[data-besta-theme] .nav-link,body[data-besta-theme="t11"] .nav-link{font-size:14px;padding:13px 8px;white-space:normal;flex:1}
 body[data-besta-theme] .submenu{position:static;order:3;min-width:100%;max-width:100%;box-shadow:none;max-height:none}
 body[data-besta-theme="t11"] .besta-3d-home .besta-hero-shell{width:calc(100% - 32px);padding:30px 0 80px;}
 body[data-besta-theme="t11"] .besta-3d-home .besta-hero-copy{width:100%;max-width:560px}
 body[data-besta-theme="t11"] .besta-3d-home .besta-hero-copy h1{font-size:clamp(2.2rem,7vw,3.6rem)}
 body[data-besta-theme="t11"] .besta-3d-hero-brand{width:min(300px,80vw)}
 body[data-besta-theme="t11"] .besta-dynamic-hero.besta-3d-home{min-height:730px;}
 body[data-besta-theme="t11"] .besta-3d-home .besta-hero-backdrop:after{background:linear-gradient(90deg,#092746f1,#092746d3 55%,#09274678)}
 body[data-besta-theme="t11"] .interior-hero,body[data-besta-theme="t11"] .page-head{background:#f3f8fc}
}
@media(max-width:510px){
 body[data-besta-theme="t11"] .besta-3d-services-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;}
 body[data-besta-theme="t11"] .besta-3d-services-grid>a{min-width:0;padding:8px;overflow-wrap:anywhere}
 body[data-besta-theme="t11"] .besta-3d-hero-brand{width:min(260px,80vw)}
 body[data-besta-theme="t11"] .besta-3d-home .besta-hero-copy h1{font-size:clamp(2rem,9vw,3rem)}
 body[data-besta-theme="t11"] .besta-hero-trust{flex-wrap:wrap}
}
