/* WGRCMS Step 0101 - Header Scroll Lock
   Fix: Kontaktseite vergroessert Navigation beim Scrollen. */
:root{--wgr-blue:#015da8!important;--wgr-header-h:82px!important;--wgr-fixed-header-height:82px!important;}
html{scroll-padding-top:92px!important;}
body:not(.admin-body):not(.login-body){padding-top:82px!important;}
.site-header,
.site-header.wgr-scrolled,
body.scrolled .site-header,
body.is-scrolled .site-header{
  position:fixed!important;
  top:0!important;
  left:0!important;
  right:0!important;
  width:100%!important;
  min-height:82px!important;
  height:82px!important;
  max-height:82px!important;
  overflow:hidden!important;
  z-index:2147483000!important;
  background:#015da8!important;
  background-color:#015da8!important;
  background-image:none!important;
  transform:none!important;
  transition:none!important;
}
.site-header .header-inner,
.site-header.wgr-scrolled .header-inner,
body.scrolled .site-header .header-inner,
body.is-scrolled .site-header .header-inner{
  height:82px!important;
  min-height:82px!important;
  max-height:82px!important;
  padding:8px 28px!important;
  gap:18px!important;
  align-items:center!important;
  overflow:hidden!important;
  transform:none!important;
  transition:none!important;
}
.site-header .brand,
.site-header.wgr-scrolled .brand,
body.scrolled .site-header .brand,
body.is-scrolled .site-header .brand{
  flex:0 0 350px!important;
  width:350px!important;
  min-width:300px!important;
  max-width:350px!important;
  height:auto!important;
  background:transparent!important;
  transform:none!important;
  transition:none!important;
}
.site-header .brand img,
.site-header.wgr-scrolled .brand img,
body.scrolled .site-header .brand img,
body.is-scrolled .site-header .brand img{
  width:350px!important;
  max-width:350px!important;
  height:auto!important;
  max-height:74px!important;
  object-fit:contain!important;
  object-position:left center!important;
  background:transparent!important;
  transform:none!important;
  transition:none!important;
}
.site-header .main-nav,
.site-header.wgr-scrolled .main-nav,
body.scrolled .site-header .main-nav,
body.is-scrolled .site-header .main-nav{
  display:flex!important;
  flex:1 1 auto!important;
  min-width:0!important;
  gap:5px!important;
  align-items:center!important;
  justify-content:flex-end!important;
  overflow:visible!important;
  transform:none!important;
  transition:none!important;
}
.site-header .main-nav a,
.site-header.wgr-scrolled .main-nav a,
body.scrolled .site-header .main-nav a,
body.is-scrolled .site-header .main-nav a{
  font-size:12px!important;
  line-height:1!important;
  font-weight:800!important;
  padding:10px 7px!important;
  margin:0!important;
  border-radius:7px!important;
  white-space:nowrap!important;
  min-height:0!important;
  height:auto!important;
  max-height:38px!important;
  transform:none!important;
  transition:none!important;
}
.site-header .header-contact,
.site-header.wgr-scrolled .header-contact,
body.scrolled .site-header .header-contact,
body.is-scrolled .site-header .header-contact{
  font-size:12px!important;
  line-height:1!important;
  gap:10px!important;
  flex:0 0 auto!important;
  transform:none!important;
  transition:none!important;
}
.site-header .header-contact a,
.site-header .header-contact span,
.site-header.wgr-scrolled .header-contact a,
.site-header.wgr-scrolled .header-contact span,
body.scrolled .site-header .header-contact a,
body.scrolled .site-header .header-contact span,
body.is-scrolled .site-header .header-contact a,
body.is-scrolled .site-header .header-contact span{
  font-size:12px!important;
  line-height:1!important;
  white-space:nowrap!important;
}
.site-header .main-nav a.active:not([aria-current="page"]),
.site-header.wgr-scrolled .main-nav a.active:not([aria-current="page"]){background:transparent!important;}
.site-header .main-nav a[aria-current="page"],
.site-header.wgr-scrolled .main-nav a[aria-current="page"]{background:rgba(255,255,255,.11)!important;}
@media(max-width:1280px){
  body:not(.admin-body):not(.login-body){padding-top:78px!important;}
  .site-header,.site-header.wgr-scrolled{height:78px!important;min-height:78px!important;max-height:78px!important;}
  .site-header .header-inner,.site-header.wgr-scrolled .header-inner{height:78px!important;min-height:78px!important;max-height:78px!important;}
  .site-header .brand,.site-header.wgr-scrolled .brand{flex-basis:300px!important;width:300px!important;min-width:260px!important;}
  .site-header .brand img,.site-header.wgr-scrolled .brand img{width:300px!important;max-height:68px!important;}
  .site-header .main-nav a,.site-header.wgr-scrolled .main-nav a{font-size:11.5px!important;padding-left:5px!important;padding-right:5px!important;}
  .site-header .header-contact a:last-child{display:none!important;}
}
@media(max-width:980px){
  body:not(.admin-body):not(.login-body){padding-top:142px!important;}
  .site-header,.site-header.wgr-scrolled{height:auto!important;max-height:none!important;overflow:visible!important;}
  .site-header .header-inner,.site-header.wgr-scrolled .header-inner{height:auto!important;max-height:none!important;min-height:82px!important;flex-wrap:wrap!important;}
  .site-header .brand,.site-header.wgr-scrolled .brand{flex:0 0 100%!important;width:100%!important;max-width:340px!important;}
  .site-header .brand img,.site-header.wgr-scrolled .brand img{width:320px!important;}
  .site-header .main-nav,.site-header.wgr-scrolled .main-nav{width:100%!important;justify-content:center!important;flex-wrap:wrap!important;}
}
