/* HADS V1.2.7 — ONE STANDARD HEADER FOR ALL PUBLIC PAGES
   Loaded last. Isolates the header from page-specific legacy CSS. */
:root{--hads-header-h:70px;--hads-header-bg:rgba(255,255,255,.985);--hads-purple:#7b49a6;--hads-purple-soft:#f3ebf8;--hads-ink:#211d25;--hads-line:#e7e1e9}
.hads-standard-header{position:sticky!important;top:0!important;z-index:5000!important;width:100%!important;height:var(--hads-header-h)!important;min-height:var(--hads-header-h)!important;background:var(--hads-header-bg)!important;border:0!important;border-bottom:1px solid rgba(33,29,37,.055)!important;box-shadow:0 7px 24px rgba(40,28,48,.055)!important;backdrop-filter:blur(16px) saturate(1.05)!important;-webkit-backdrop-filter:blur(16px) saturate(1.05)!important;overflow:visible!important}
.hads-standard-header *{box-sizing:border-box!important}
.hads-standard-header .hads-header-inner{width:min(1680px,calc(100% - 44px))!important;height:var(--hads-header-h)!important;min-height:var(--hads-header-h)!important;margin:0 auto!important;padding:0!important;display:flex!important;align-items:center!important;gap:20px!important}
.hads-standard-header .hads-brand{flex:0 0 174px!important;width:174px!important;min-width:174px!important;height:100%!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;text-decoration:none!important;line-height:1!important;margin:0!important;padding:0!important;overflow:visible!important}
.hads-standard-header .hads-brand img{display:block!important;width:116px!important;max-width:116px!important;height:auto!important;max-height:45px!important;object-fit:contain!important;object-position:left center!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;filter:none!important;margin:0!important;padding:0!important;transform:none!important}
.hads-standard-header .hads-brand small{display:block!important;margin:3px 0 0 1px!important;padding:0!important;font:600 7.5px/1.05 Manrope,Arial,sans-serif!important;letter-spacing:.005em!important;color:#76508f!important;white-space:nowrap!important;text-transform:none!important;transform:none!important}
.hads-standard-header .hads-nav-shell{flex:1 1 auto!important;min-width:0!important;height:100%!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:15px!important;margin:0!important;padding:0!important}
.hads-standard-header .hads-main-menu{position:static!important;inset:auto!important;flex:1 1 auto!important;min-width:0!important;height:100%!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:0!important;list-style:none!important;margin:0!important;padding:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important;transform:none!important}
.hads-standard-header .hads-menu-item{position:relative!important;height:100%!important;display:flex!important;align-items:center!important;margin:0!important;padding:0!important;border:0!important;min-width:0!important}
.hads-standard-header .hads-menu-item:not(:last-child)::after{content:""!important;width:1px!important;height:22px!important;background:#e2dde5!important;margin:0 15px!important;flex:0 0 1px!important}
.hads-standard-header .hads-menu-link{display:flex!important;align-items:center!important;height:100%!important;padding:0!important;margin:0!important;border:0!important;background:transparent!important;color:#242128!important;text-decoration:none!important;white-space:nowrap!important;font:750 12.2px/1 Manrope,Arial,sans-serif!important;letter-spacing:-.012em!important;text-transform:uppercase!important;box-shadow:none!important;border-radius:0!important;transition:color .18s ease!important}
.hads-standard-header .hads-menu-link:hover,.hads-standard-header .hads-menu-link.active{color:var(--hads-purple)!important}
.hads-standard-header .hads-menu-link.active{font-weight:800!important}
.hads-standard-header .hads-caret{font-size:9px!important;margin-left:5px!important;line-height:1!important;color:currentColor!important}
.hads-standard-header .hads-dropdown{position:absolute!important;display:block!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important;left:-18px!important;top:calc(100% - 2px)!important;width:max-content!important;min-width:218px!important;max-width:290px!important;padding:10px!important;margin:0!important;background:rgba(255,255,255,.995)!important;border:1px solid #e8e1eb!important;border-top:2px solid var(--hads-purple)!important;border-radius:0 0 16px 16px!important;box-shadow:0 18px 38px rgba(48,33,59,.13)!important;transform:translateY(7px)!important;transition:opacity .16s ease,transform .16s ease,visibility .16s!important;overflow:hidden!important;z-index:5100!important}
.hads-standard-header .hads-menu-item:hover>.hads-dropdown,.hads-standard-header .hads-menu-item:focus-within>.hads-dropdown{visibility:visible!important;opacity:1!important;pointer-events:auto!important;transform:translateY(0)!important}
.hads-standard-header .hads-dropdown a{display:block!important;width:100%!important;padding:10px 12px!important;margin:0!important;border:0!important;border-radius:9px!important;background:transparent!important;color:#37303d!important;text-decoration:none!important;white-space:normal!important;word-break:normal!important;overflow-wrap:normal!important;font:650 12.5px/1.25 Manrope,Arial,sans-serif!important;letter-spacing:0!important;text-transform:none!important;box-shadow:none!important}
.hads-standard-header .hads-dropdown a:hover,.hads-standard-header .hads-dropdown a.active{background:#f5eef9!important;color:var(--hads-purple)!important}
.hads-standard-header .hads-lang-switch{flex:0 0 auto!important;height:42px!important;display:flex!important;align-items:center!important;gap:4px!important;margin:0!important;padding:3px!important;border:0!important;border-left:1px solid #e2dde5!important;padding-left:12px!important;background:transparent!important}
.hads-standard-header .hads-lang-btn{appearance:none!important;-webkit-appearance:none!important;width:35px!important;height:35px!important;min-width:35px!important;display:grid!important;place-items:center!important;margin:0!important;padding:0!important;border:0!important;border-radius:50%!important;background:transparent!important;color:#6a656e!important;font:800 11.5px/1 Manrope,Arial,sans-serif!important;cursor:pointer!important;box-shadow:none!important;transform:none!important;transition:background .18s ease,color .18s ease!important}
.hads-standard-header .hads-lang-btn:hover{background:#f7f1fa!important;color:var(--hads-purple)!important}
.hads-standard-header .hads-lang-btn.active{background:var(--hads-purple-soft)!important;color:var(--hads-purple)!important}
.hads-standard-header .hads-mobile-toggle{display:none!important;width:42px!important;height:42px!important;min-width:42px!important;place-items:center!important;border:1px solid #e7e0ea!important;border-radius:12px!important;background:#fff!important;color:#3a3140!important;font-size:20px!important;line-height:1!important;cursor:pointer!important;box-shadow:none!important;margin:0!important;padding:0!important}
html[lang="de"] .hads-standard-header .hads-menu-link{font-size:11.5px!important;letter-spacing:-.025em!important}
html[lang="de"] .hads-standard-header .hads-menu-item:not(:last-child)::after{margin-left:12px!important;margin-right:12px!important}
@media(max-width:1430px) and (min-width:1161px){
 .hads-standard-header .hads-header-inner{width:calc(100% - 28px)!important;gap:12px!important}
 .hads-standard-header .hads-brand{flex-basis:148px!important;width:148px!important;min-width:148px!important}
 .hads-standard-header .hads-brand img{width:105px!important;max-width:105px!important}
 .hads-standard-header .hads-menu-link{font-size:11px!important}
 .hads-standard-header .hads-menu-item:not(:last-child)::after{margin-left:9px!important;margin-right:9px!important;height:20px!important}
 html[lang="de"] .hads-standard-header .hads-menu-link{font-size:10.4px!important}
 html[lang="de"] .hads-standard-header .hads-menu-item:not(:last-child)::after{margin-left:7px!important;margin-right:7px!important}
 .hads-standard-header .hads-lang-switch{padding-left:8px!important}
 .hads-standard-header .hads-lang-btn{width:32px!important;height:32px!important;min-width:32px!important;font-size:10.5px!important}
}
@media(max-width:1160px){
 :root{--hads-header-h:66px}
 .hads-standard-header .hads-header-inner{width:calc(100% - 28px)!important;gap:10px!important}
 .hads-standard-header .hads-brand{flex:1 1 auto!important;width:auto!important;min-width:0!important}
 .hads-standard-header .hads-brand img{width:108px!important;max-width:108px!important;max-height:42px!important}
 .hads-standard-header .hads-nav-shell{flex:0 0 auto!important;gap:8px!important}
 .hads-standard-header .hads-main-menu{display:none!important;position:absolute!important;top:100%!important;left:0!important;right:0!important;height:auto!important;max-height:calc(100vh - var(--hads-header-h))!important;overflow:auto!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;padding:10px 14px 18px!important;background:rgba(255,255,255,.995)!important;border-top:1px solid #eee8f1!important;box-shadow:0 18px 32px rgba(44,30,52,.13)!important}
 .hads-standard-header .hads-main-menu.active{display:flex!important}
 .hads-standard-header .hads-menu-item{height:auto!important;display:block!important;width:100%!important}
 .hads-standard-header .hads-menu-item::after{display:none!important}
 .hads-standard-header .hads-menu-link{height:44px!important;width:100%!important;padding:0 9px!important;font-size:12px!important;border-bottom:1px solid #f0ebf2!important}
 .hads-standard-header .hads-dropdown{position:static!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;transform:none!important;width:100%!important;max-width:none!important;display:none!important;padding:3px 0 8px 14px!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:#fbf9fc!important}
 .hads-standard-header .hads-menu-item.open>.hads-dropdown{display:block!important}
 .hads-standard-header .hads-dropdown a{padding:9px 12px!important;font-size:12px!important}
 .hads-standard-header .hads-lang-switch{height:40px!important;border-left:0!important;padding-left:0!important;gap:2px!important}
 .hads-standard-header .hads-lang-btn{width:33px!important;height:33px!important;min-width:33px!important;font-size:10.5px!important}
 .hads-standard-header .hads-mobile-toggle{display:grid!important}
}
@media(max-width:520px){
 :root{--hads-header-h:62px}
 .hads-standard-header .hads-header-inner{width:calc(100% - 18px)!important;gap:6px!important}
 .hads-standard-header .hads-brand img{width:92px!important;max-width:92px!important;max-height:37px!important}
 .hads-standard-header .hads-brand small{font-size:6.2px!important;margin-top:2px!important}
 .hads-standard-header .hads-lang-btn{width:30px!important;height:30px!important;min-width:30px!important;font-size:9.8px!important}
 .hads-standard-header .hads-mobile-toggle{width:36px!important;height:36px!important;min-width:36px!important;border-radius:10px!important;font-size:18px!important}
}

/* HADS V1.2.7 — ISOLATED HEADER GEOMETRY LOCK
   Prevents any legacy page-level header/nav rule from changing the public header height. */
.hads-standard-header{
  box-sizing:border-box!important;
  display:block!important;
  margin:0!important;
  padding:0!important;
  height:var(--hads-header-h)!important;
  min-height:var(--hads-header-h)!important;
  max-height:var(--hads-header-h)!important;
  line-height:normal!important;
}
.hads-standard-header>.hads-header-inner{
  box-sizing:border-box!important;
  margin:0 auto!important;
  padding:0!important;
  height:var(--hads-header-h)!important;
  min-height:var(--hads-header-h)!important;
  max-height:var(--hads-header-h)!important;
}
.hads-standard-header .hads-brand,
.hads-standard-header .hads-nav-shell,
.hads-standard-header .hads-main-menu,
.hads-standard-header .hads-menu-item{
  margin-top:0!important;
  margin-bottom:0!important;
  padding-top:0!important;
  padding-bottom:0!important;
}
.hads-standard-header .hads-brand img{
  flex:none!important;
}
@media(max-width:1160px){
  .hads-standard-header,
  .hads-standard-header>.hads-header-inner{
    height:var(--hads-header-h)!important;
    min-height:var(--hads-header-h)!important;
    max-height:var(--hads-header-h)!important;
  }
}

/* V1.2.7 root isolation: no legacy .main-header selector can match this component. */
header.hads-standard-header{
  display:block!important;
  position:sticky!important;
  top:0!important;
  isolation:isolate!important;
  contain:layout style!important;
  font-size:16px!important;
  line-height:1!important;
  margin:0!important;
  padding:0!important;
  height:var(--hads-header-h)!important;
  min-height:var(--hads-header-h)!important;
  max-height:var(--hads-header-h)!important;
}
header.hads-standard-header>.hads-header-inner{
  height:100%!important;
  min-height:0!important;
  max-height:100%!important;
}
