/* Südwald header — exact reference layout */
.sfs-site-header{
  position:absolute;
  inset:0 0 auto 0;
  z-index:1000;
  width:100%;
  padding:26px 0 0;
  background:transparent;
  transition:padding .28s ease,background .28s ease,box-shadow .28s ease,backdrop-filter .28s ease;
}
.sfs-header-nav{width:100%;background:transparent;}
.sfs-header-container{
  width:min(1240px,calc(100% - 72px));
  min-height:70px;
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:34px;
}
.sfs-header-logo{display:flex;align-items:center;flex:0 0 auto;line-height:0;}
.sfs-header-logo img{display:block!important;width:205px!important;height:auto!important;max-height:none!important;}
.sfs-header-menu{display:flex;align-items:center;justify-content:flex-end;gap:38px;flex:1;}
.sfs-header-links{display:flex;align-items:center;gap:34px;margin:0!important;padding:0!important;list-style:none;}
.sfs-header-links li{margin:0!important;padding:0!important;}
.sfs-header-links a{
  position:relative;
  display:flex;
  align-items:center;
  min-height:48px;
  padding:0 2px!important;
  color:#fff!important;
  font:600 14px/1 Poppins,Arial,sans-serif!important;
  letter-spacing:0!important;
  text-transform:none!important;
  text-decoration:none!important;
  transition:color .22s ease;
}
.sfs-header-links a:after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:2px;
  background:#08bd72;
  transform:scaleX(0);
  transform-origin:center;
  transition:transform .24s ease;
}
.sfs-header-links li.active a,.sfs-header-links a:hover{color:#08bd72!important;}
.sfs-header-links li.active a:after,.sfs-header-links a:hover:after{transform:scaleX(1);}
.sfs-header-actions{display:flex;align-items:center;gap:20px;flex:0 0 auto;}
.sfs-header-action{
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  gap:11px;
  height:52px;
  min-width:150px;
  padding:0 22px!important;
  border-radius:8px;
  font:600 14px/1 Poppins,Arial,sans-serif!important;
  text-decoration:none!important;
  text-transform:none!important;
  transition:transform .22s ease,background .22s ease,border-color .22s ease,box-shadow .22s ease;
}
.sfs-header-action svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto;}
.sfs-action-contact{color:#fff!important;background:rgba(5,17,24,.20)!important;border:1px solid rgba(255,255,255,.78)!important;backdrop-filter:blur(7px);}
.sfs-action-contact:hover{background:rgba(255,255,255,.10)!important;border-color:#fff!important;}
.sfs-action-portal{min-width:174px;color:#fff!important;background:#08bd72!important;border:1px solid #08bd72!important;box-shadow:0 12px 26px rgba(8,189,114,.18);}
.sfs-action-portal:hover{background:#06aa65!important;border-color:#06aa65!important;box-shadow:0 15px 30px rgba(8,189,114,.27);}
.sfs-header-action:hover{transform:translateY(-2px);}
.sfs-menu-toggle{display:none;width:44px;height:44px;padding:10px;border:1px solid rgba(255,255,255,.35);border-radius:8px;background:rgba(5,17,24,.22);}
.sfs-menu-toggle span{display:block;width:100%;height:2px;margin:4px 0;background:#fff;border-radius:2px;}

.sfs-site-header.scrolled{
  position:fixed;
  padding:5px 0;
  background:rgba(5,16,23,.90);
  box-shadow:0 8px 28px rgba(0,0,0,.18);
  backdrop-filter:blur(15px) saturate(125%);
}
.sfs-site-header.scrolled .sfs-header-container{min-height:62px;}
.sfs-site-header.scrolled .sfs-header-logo img{width:168px!important;}
.sfs-site-header.scrolled .sfs-header-action{height:44px;min-width:132px;padding:0 18px!important;font-size:13px!important;}
.sfs-site-header.scrolled .sfs-action-portal{min-width:156px;}

@media(max-width:1180px){
  .sfs-header-container{width:calc(100% - 44px);gap:24px;}
  .sfs-header-logo img{width:180px!important;}
  .sfs-header-menu{gap:24px;}
  .sfs-header-links{gap:23px;}
  .sfs-header-action{min-width:130px;padding:0 16px!important;}
  .sfs-action-portal{min-width:154px;}
}
@media(max-width:991px){
  .sfs-site-header{padding-top:14px;}
  .sfs-header-container{width:calc(100% - 30px);min-height:58px;}
  .sfs-header-logo img{width:166px!important;}
  .sfs-menu-toggle{display:block;}
  .sfs-header-menu{
    position:absolute;
    top:82px;
    left:15px;
    right:15px;
    display:none;
    flex-direction:column;
    align-items:stretch;
    gap:16px;
    padding:20px;
    border:1px solid rgba(255,255,255,.12);
    border-radius:14px;
    background:rgba(5,16,23,.97);
    box-shadow:0 20px 50px rgba(0,0,0,.28);
    backdrop-filter:blur(16px);
  }
  .sfs-site-header.menu-open .sfs-header-menu{display:flex;}
  .sfs-header-links{flex-direction:column;align-items:stretch;gap:0;}
  .sfs-header-links a{min-height:44px;justify-content:flex-start;}
  .sfs-header-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;}
  .sfs-header-action,.sfs-action-portal{min-width:0!important;width:100%;}
}
@media(max-width:560px){
  .sfs-header-logo img{width:145px!important;}
  .sfs-header-actions{grid-template-columns:1fr;}
}
