/* HWS Global Navbar 1.0.0 */

body.hws-global-navbar-active #header-outer,
body.hws-global-navbar-active #header-secondary-outer,
body.hws-global-navbar-active #header-space,
body.hws-global-navbar-active #page-header-wrap,
body.hws-global-navbar-active .nectar-mobile-only.mobile-header,
body.hws-global-navbar-active .mobile-only.mobile-header{
  display:none!important;
  visibility:hidden!important;
  opacity:0!important;
  height:0!important;
  min-height:0!important;
  max-height:0!important;
  margin:0!important;
  padding:0!important;
  pointer-events:none!important;
}

body.hws-global-navbar-active #ajax-content-wrap,
body.hws-global-navbar-active .container-wrap{
  margin-top:0!important;
  padding-top:0!important;
}

.hws-global-nav,
.hws-global-nav *,
.hws-global-mobile-menu,
.hws-global-mobile-menu *{
  box-sizing:border-box;
}

.hws-global-nav{
  position:absolute;
  z-index:99990;
  top:18px;
  left:50%;
  transform:translateX(-50%);
  width:min(1240px,calc(100% - 38px));
  height:62px;
  display:grid;
  grid-template-columns:205px 1fr 138px;
  align-items:center;
  gap:18px;
  padding:0 12px 0 17px;
  border:1px solid rgba(255,255,255,.11);
  border-radius:15px;
  background:rgba(5,5,6,.40);
  backdrop-filter:blur(16px) saturate(125%);
  -webkit-backdrop-filter:blur(16px) saturate(125%);
  box-shadow:0 13px 32px rgba(0,0,0,.18);
}

body.admin-bar .hws-global-nav{top:50px}

.hws-global-brand{
  display:flex;
  align-items:center;
  height:100%;
  overflow:hidden;
}

.hws-global-brand img{
  display:block;
  width:172px;
  max-width:172px;
  height:auto;
  object-fit:contain;
}

.hws-global-links{
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:25px;
}

.hws-global-mainlink{
  position:relative;
  display:flex;
  align-items:center;
  gap:5px;
  height:100%;
  white-space:nowrap;
  color:#fff!important;
  font-family:"Montserrat","Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-size:12px;
  line-height:1;
  font-weight:800;
  letter-spacing:.015em;
  text-transform:none;
  text-decoration:none!important;
  opacity:.95;
}

.hws-global-mainlink:after{
  content:"";
  position:absolute;
  left:0;
  right:100%;
  bottom:9px;
  height:2px;
  border-radius:999px;
  background:#ff2633;
  transition:.18s ease;
}

.hws-global-mainlink:hover:after{right:0}

.hws-global-chevron{
  position:relative;
  top:-1px;
  font-size:13px;
  opacity:.72;
}

.hws-global-item{
  position:relative;
  height:100%;
  display:flex;
  align-items:center;
}

.hws-global-dropdown{
  position:absolute;
  top:calc(100% + 8px);
  left:50%;
  transform:translate(-50%,8px);
  min-width:265px;
  padding:11px;
  border:1px solid rgba(255,255,255,.11);
  border-radius:15px;
  background:rgba(10,10,11,.91);
  backdrop-filter:blur(20px) saturate(130%);
  -webkit-backdrop-filter:blur(20px) saturate(130%);
  box-shadow:0 20px 45px rgba(0,0,0,.30);
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .16s ease,transform .16s ease,visibility .16s ease;
  z-index:1200;
}

.hws-global-dropdown-miles{min-width:305px}

.hws-global-has-dropdown:hover>.hws-global-dropdown,
.hws-global-has-dropdown:focus-within>.hws-global-dropdown{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  transform:translate(-50%,0);
}

.hws-global-dropdown:before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:-10px;
  height:10px;
}

.hws-global-dropdown-kicker{
  display:block;
  padding:7px 10px 9px;
  color:#ff3541;
  font-size:8px;
  font-weight:900;
  letter-spacing:.12em;
}

.hws-global-dropdown>a{
  min-height:43px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:0 11px;
  border-radius:10px;
  color:#fff!important;
  font-family:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-size:11px;
  font-weight:700;
  text-decoration:none!important;
  opacity:.88;
}

.hws-global-dropdown>a:hover{
  background:rgba(255,255,255,.07);
  opacity:1;
}

.hws-global-dropdown>a b{
  color:#ff3541;
  font-size:13px;
}

.hws-global-book{
  min-height:39px;
  height:39px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0 15px;
  border-radius:999px;
  background:linear-gradient(135deg,#ff2633,#df111d);
  border:1px solid rgba(255,255,255,.10);
  color:#fff!important;
  font-family:"Montserrat","Inter",sans-serif;
  font-size:9px;
  font-weight:900;
  text-transform:uppercase;
  text-decoration:none!important;
  box-shadow:0 10px 25px rgba(255,38,51,.22);
}

.hws-global-menu-btn{display:none}

.hws-global-nav-spacer{height:96px}
body.admin-bar .hws-global-nav-spacer{height:128px}

.hws-global-mobile-menu{display:none}

@media(max-width:1180px){
  .hws-global-nav{
    grid-template-columns:185px 1fr 125px;
  }
  .hws-global-brand img{
    width:155px;
    max-width:155px;
  }
  .hws-global-links{gap:17px}
  .hws-global-mainlink{font-size:10.5px}
}

@media(max-width:900px){
  .hws-global-nav{
    top:12px;
    width:calc(100% - 22px);
    height:58px;
    grid-template-columns:1fr auto;
    gap:8px;
    padding:0 10px 0 14px;
    border-radius:14px;
    background:rgba(5,5,6,.46);
  }

  body.admin-bar .hws-global-nav{top:58px}

  .hws-global-brand img{
    width:145px;
    max-width:145px;
  }

  .hws-global-links,
  .hws-global-book{
    display:none;
  }

  .hws-global-menu-btn{
    display:flex;
    width:42px;
    height:42px;
    align-items:center;
    justify-content:center;
    flex-direction:column;
    gap:5px;
    border:1px solid rgba(255,255,255,.12);
    border-radius:12px;
    background:rgba(255,255,255,.06);
    padding:0;
  }

  .hws-global-menu-btn span{
    display:block;
    width:18px;
    height:2px;
    border-radius:99px;
    background:#fff;
  }

  .hws-global-nav-spacer{height:82px}
  body.admin-bar .hws-global-nav-spacer{height:128px}

  .hws-global-mobile-menu{
    position:fixed;
    z-index:99999;
    inset:0;
    overflow:auto;
    flex-direction:column;
    padding:92px 24px 32px;
    background:rgba(8,8,9,.97);
    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);
    color:#fff;
  }

  .hws-global-mobile-menu.is-open{display:flex}

  .hws-global-mobile-close{
    position:absolute;
    right:22px;
    top:23px;
    width:44px;
    height:44px;
    border:1px solid rgba(255,255,255,.12);
    border-radius:13px;
    background:rgba(255,255,255,.06);
    color:#fff;
    font-size:30px;
    line-height:1;
    cursor:pointer;
  }

  body.admin-bar .hws-global-mobile-close{top:66px}

  .hws-global-mobile-menu>a,
  .hws-global-mobile-group>summary{
    min-height:57px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    border-bottom:1px solid rgba(255,255,255,.08);
    color:#fff!important;
    font-family:"Montserrat","Inter",sans-serif;
    font-size:18px;
    font-weight:800;
    text-decoration:none!important;
  }

  .hws-global-mobile-group{
    width:100%;
    border:0;
  }

  .hws-global-mobile-group summary{
    list-style:none;
    cursor:pointer;
  }

  .hws-global-mobile-group summary::-webkit-details-marker{display:none}

  .hws-global-mobile-group summary span{
    font-size:22px;
    font-weight:400;
    transition:transform .2s ease;
  }

  .hws-global-mobile-group[open] summary span{
    transform:rotate(45deg);
  }

  .hws-global-mobile-group>div{
    display:grid;
    gap:4px;
    padding:4px 0 14px 12px;
  }

  .hws-global-mobile-group>div>a{
    min-height:42px;
    display:flex;
    align-items:center;
    color:#b7bac0!important;
    font-size:14px;
    font-weight:650;
    text-decoration:none!important;
  }

  .hws-global-mobile-book{
    margin-top:22px;
    min-height:50px;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    border-radius:999px;
    background:#ff2633;
    color:#fff!important;
    font-family:"Montserrat","Inter",sans-serif;
    font-size:12px!important;
    font-weight:900!important;
    text-decoration:none!important;
  }

  body.hws-global-menu-open{
    overflow:hidden!important;
  }
}


/* =========================================================
   HWS Global Navbar 1.0.2 — echtes Mobile-Menü
   Desktop-Navigation wird auf Tablet/Mobile vollständig ersetzt.
   ========================================================= */

@media(max-width:1024px){
  .hws-global-nav{
    top:12px!important;
    left:50%!important;
    transform:translateX(-50%)!important;
    width:calc(100% - 22px)!important;
    height:60px!important;
    min-height:60px!important;
    grid-template-columns:1fr 44px!important;
    gap:10px!important;
    padding:0 9px 0 14px!important;
    border-radius:14px!important;
    background:rgba(5,5,6,.56)!important;
    backdrop-filter:blur(18px) saturate(130%)!important;
    -webkit-backdrop-filter:blur(18px) saturate(130%)!important;
  }

  body.admin-bar .hws-global-nav{
    top:58px!important;
  }

  .hws-global-brand{
    min-width:0!important;
    overflow:visible!important;
  }

  .hws-global-brand img{
    width:148px!important;
    max-width:148px!important;
    height:auto!important;
  }

  /* Desktop-Menü auf Mobile garantiert aus */
  .hws-global-links,
  .hws-global-book{
    display:none!important;
    visibility:hidden!important;
    opacity:0!important;
    pointer-events:none!important;
  }

  /* Burger sichtbar */
  .hws-global-menu-btn{
    display:flex!important;
    width:42px!important;
    height:42px!important;
    min-width:42px!important;
    min-height:42px!important;
    align-items:center!important;
    justify-content:center!important;
    flex-direction:column!important;
    gap:5px!important;
    padding:0!important;
    margin:0!important;
    border:1px solid rgba(255,255,255,.14)!important;
    border-radius:12px!important;
    background:rgba(255,255,255,.07)!important;
    box-shadow:none!important;
    cursor:pointer!important;
  }

  .hws-global-menu-btn span{
    display:block!important;
    width:19px!important;
    height:2px!important;
    margin:0!important;
    border-radius:99px!important;
    background:#fff!important;
  }

  .hws-global-nav-spacer{
    height:84px!important;
  }

  body.admin-bar .hws-global-nav-spacer{
    height:130px!important;
  }

  /* Fullscreen Offcanvas */
  .hws-global-mobile-menu{
    display:none!important;
    position:fixed!important;
    z-index:100000!important;
    inset:0!important;
    width:100vw!important;
    height:100dvh!important;
    max-height:100dvh!important;
    overflow-y:auto!important;
    flex-direction:column!important;
    padding:86px 22px 30px!important;
    background:rgba(7,7,8,.985)!important;
    backdrop-filter:blur(22px)!important;
    -webkit-backdrop-filter:blur(22px)!important;
    color:#fff!important;
  }

  .hws-global-mobile-menu.is-open{
    display:flex!important;
  }

  .hws-global-mobile-close{
    display:grid!important;
    place-items:center!important;
    position:absolute!important;
    right:18px!important;
    top:18px!important;
    width:44px!important;
    height:44px!important;
    padding:0!important;
    border:1px solid rgba(255,255,255,.14)!important;
    border-radius:13px!important;
    background:rgba(255,255,255,.07)!important;
    color:#fff!important;
    font-size:30px!important;
    line-height:1!important;
    cursor:pointer!important;
  }

  body.admin-bar .hws-global-mobile-close{
    top:62px!important;
  }

  .hws-global-mobile-menu>a,
  .hws-global-mobile-group>summary{
    width:100%!important;
    min-height:58px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    padding:0!important;
    border-bottom:1px solid rgba(255,255,255,.09)!important;
    color:#fff!important;
    font-family:"Montserrat","Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
    font-size:18px!important;
    line-height:1.15!important;
    font-weight:800!important;
    text-decoration:none!important;
  }

  .hws-global-mobile-group{
    width:100%!important;
    border:0!important;
    margin:0!important;
    padding:0!important;
  }

  .hws-global-mobile-group>summary{
    list-style:none!important;
    cursor:pointer!important;
  }

  .hws-global-mobile-group>summary::-webkit-details-marker{
    display:none!important;
  }

  .hws-global-mobile-group>summary span{
    font-size:23px!important;
    font-weight:400!important;
    transition:transform .2s ease!important;
  }

  .hws-global-mobile-group[open]>summary span{
    transform:rotate(45deg)!important;
  }

  .hws-global-mobile-group>div{
    display:grid!important;
    gap:2px!important;
    padding:7px 0 13px 12px!important;
  }

  .hws-global-mobile-group>div>a{
    min-height:44px!important;
    display:flex!important;
    align-items:center!important;
    padding:0 3px!important;
    color:#b8bbc1!important;
    font-family:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
    font-size:14px!important;
    font-weight:650!important;
    text-decoration:none!important;
  }

  .hws-global-mobile-book{
    margin-top:24px!important;
    min-height:52px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    border:0!important;
    border-radius:999px!important;
    background:linear-gradient(135deg,#ff2633,#df111d)!important;
    color:#fff!important;
    font-size:12px!important;
    font-weight:900!important;
    text-transform:uppercase!important;
    box-shadow:0 12px 28px rgba(255,38,51,.20)!important;
  }

  body.hws-global-menu-open{
    overflow:hidden!important;
    touch-action:none!important;
  }
}

/* Sehr kleine Geräte */
@media(max-width:420px){
  .hws-global-nav{
    width:calc(100% - 16px)!important;
    padding-left:12px!important;
  }

  .hws-global-brand img{
    width:136px!important;
    max-width:136px!important;
  }

  .hws-global-mobile-menu{
    padding-left:18px!important;
    padding-right:18px!important;
  }

  .hws-global-mobile-menu>a,
  .hws-global-mobile-group>summary{
    font-size:17px!important;
  }
}
