
/* SAM-PRO Business v51 */
/* Header/Logo/Menu Feinschliff:
   - Logo aus Medienbereich fest eingebunden
   - kompakteres, hochwertigeres Menü
   - aktive Unterstreichung direkt unter dem Menütext
*/

.sampro-v7-topbar{
  height:36px !important;
  min-height:36px !important;
  background:#002856 !important;
  color:#fff !important;
  font-size:13.5px !important;
}

.sampro-v7-topbar .topbar__inner{
  height:36px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
}

.sampro-v7-header{
  background:#fff !important;
  border-bottom:1px solid #e7edf5 !important;
  box-shadow:0 1px 0 rgba(12,35,79,.04) !important;
  position:relative !important;
  z-index:50 !important;
}

.sampro-v7-topbar .container,
.sampro-v7-header .container{
  max-width:1500px !important;
  width:min(1500px, calc(100% - 92px)) !important;
}

.sampro-v7-navrow{
  min-height:92px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:56px !important;
  padding:0 !important;
}

.sampro-v7-logo{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  width:255px !important;
  min-width:255px !important;
  flex:0 0 255px !important;
  height:92px !important;
  opacity:1 !important;
  visibility:visible !important;
}

.sampro-v7-logo img{
  display:block !important;
  width:auto !important;
  height:auto !important;
  max-width:252px !important;
  max-height:72px !important;
  object-fit:contain !important;
  object-position:left center !important;
  opacity:1 !important;
  visibility:visible !important;
}

.sampro-v7-nav{
  margin-left:auto !important;
  display:flex !important;
  align-items:center !important;
}

.sampro-v7-menu{
  list-style:none !important;
  display:flex !important;
  align-items:center !important;
  justify-content:flex-end !important;
  gap:34px !important;
  margin:0 !important;
  padding:0 !important;
}

.sampro-v7-menu > li{
  position:relative !important;
  margin:0 !important;
  padding:0 !important;
}

.sampro-v7-menu > li > a{
  position:relative !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-height:auto !important;
  height:auto !important;
  padding:8px 0 10px !important;
  color:#0b2149 !important;
  font-size:17px !important;
  font-weight:700 !important;
  letter-spacing:.01em !important;
  text-decoration:none !important;
  background:transparent !important;
  border-radius:0 !important;
  box-shadow:none !important;
  line-height:1.25 !important;
}

.sampro-v7-menu > li > a:after{
  content:"" !important;
  position:absolute !important;
  left:0 !important;
  right:0 !important;
  bottom:2px !important;
  height:2px !important;
  border-radius:999px !important;
  background:#c9a23a !important;
  transform:scaleX(0) !important;
  transform-origin:center !important;
  transition:transform .18s ease, background-color .18s ease !important;
}

.sampro-v7-menu > li > a:hover,
.sampro-v7-menu > li:hover > a{
  color:#0b4fa3 !important;
  background:transparent !important;
}

.sampro-v7-menu > li > a:hover:after,
.sampro-v7-menu > li.current-menu-item > a:after,
.sampro-v7-menu > li.current_page_item > a:after,
.sampro-v7-menu > li.current-menu-ancestor > a:after{
  transform:scaleX(1) !important;
}

.sampro-v7-menu > li.current-menu-item > a,
.sampro-v7-menu > li.current_page_item > a,
.sampro-v7-menu > li.current-menu-ancestor > a{
  color:#0b4fa3 !important;
  background:transparent !important;
  box-shadow:none !important;
}

.sampro-v7-menu .sub-menu{
  margin-top:12px !important;
  border:1px solid #e5ebf3 !important;
  border-radius:10px !important;
  box-shadow:0 16px 36px rgba(8,32,70,.12) !important;
  overflow:hidden !important;
}

.sampro-v7-menu .sub-menu a{
  font-size:14px !important;
  padding:11px 16px !important;
}

/* v50 Hero beibehalten */
.v7-hero{
  margin-top:0 !important;
}

@media (max-width:1100px){
  .sampro-v7-topbar .container,
  .sampro-v7-header .container{
    width:min(100% - 40px, 1500px) !important;
  }
  .sampro-v7-navrow{
    min-height:auto !important;
    flex-wrap:wrap !important;
    gap:18px !important;
    padding:14px 0 !important;
  }
  .sampro-v7-logo{
    height:auto !important;
    width:220px !important;
    min-width:220px !important;
    flex-basis:220px !important;
  }
  .sampro-v7-logo img{
    max-width:220px !important;
    max-height:62px !important;
  }
  .sampro-v7-nav{
    width:100% !important;
    justify-content:center !important;
  }
  .sampro-v7-menu{
    justify-content:center !important;
    flex-wrap:wrap !important;
    gap:18px !important;
  }
  .sampro-v7-menu > li > a{
    font-size:15px !important;
    padding:7px 0 9px !important;
  }
}

@media (max-width:700px){
  .sampro-v7-topbar{
    height:auto !important;
  }
  .sampro-v7-topbar .topbar__inner{
    height:auto !important;
    display:block !important;
    text-align:center !important;
    padding:7px 0 !important;
  }
  .sampro-v7-topbar .topbar__links{
    justify-content:center !important;
    gap:14px !important;
    flex-wrap:wrap !important;
    margin-top:5px !important;
  }
  .sampro-v7-logo{
    width:205px !important;
    min-width:205px !important;
    flex-basis:205px !important;
  }
  .sampro-v7-logo img{
    max-width:205px !important;
  }
}
