/* Shared Atlasfinanz header. Load last on every page. */
#hdr {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 250, 247, .94);
  border-bottom: 1px solid rgba(222, 216, 204, .72);
  backdrop-filter: saturate(120%) blur(10px);
  -webkit-backdrop-filter: saturate(120%) blur(10px);
  transition: border-color .2s cubic-bezier(.2, .7, .2, 1), background .2s cubic-bezier(.2, .7, .2, 1);
}

#hdr.scrolled {
  border-bottom-color: #ded8cc;
}

#hdr .head-inner {
  max-width: 1180px;
  height: 68px;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

#hdr .wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

#hdr .wordmark img {
  display: block;
  width: auto;
  height: 38px;
  transition: filter .35s cubic-bezier(.2, .7, .2, 1), transform .35s cubic-bezier(.2, .7, .2, 1);
}

#hdr .wordmark:hover img {
  filter: drop-shadow(0 0 14px rgba(0, 156, 218, .55)) drop-shadow(0 0 2px rgba(0, 156, 218, .6));
  transform: scale(1.02);
}

#hdr nav.primary {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
  font-size: 13.5px;
  font-weight: 500;
  color: #646b73;
}

#hdr nav.primary a {
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
}

#hdr nav.primary a:hover {
  color: #161b22;
}

#hdr nav.primary a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: #0079aa;
  border-radius: 2px;
}

#hdr .head-inner > div[style*="display:flex"] {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  flex: 0 0 auto;
}

#hdr .head-finlink {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-right: 0 !important;
  padding: 6px 14px;
  border: 1px solid #ded8cc;
  border-radius: 999px;
  color: #30363d;
  font-size: 13.5px;
  font-weight: 500;
  white-space: nowrap;
  transition: color .2s cubic-bezier(.2, .7, .2, 1), border-color .2s cubic-bezier(.2, .7, .2, 1);
}

#hdr .head-finlink:hover {
  color: #0079aa;
  border-color: #0079aa;
}

#hdr .head-finlink.is-disabled {
  cursor: default;
  opacity: .72;
}

#hdr .head-finlink.is-disabled:hover {
  color: #30363d;
  border-color: #ded8cc;
}

#hdr .head-finlink svg {
  flex: 0 0 12px;
  width: 12px;
  height: 12px;
}

#hdr .head-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #0079aa;
  color: #fff;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  box-shadow: none;
  transition: background .2s cubic-bezier(.2, .7, .2, 1), transform .2s cubic-bezier(.2, .7, .2, 1);
}

#hdr .head-cta:hover {
  background: #005f86;
  transform: translateY(-1px);
  box-shadow: none;
}

#hdr .head-cta svg {
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
}

@media (max-width: 1024px) {
  #hdr nav.primary,
  #hdr .head-finlink {
    display: none !important;
  }
}

@media (max-width: 720px) {
  #hdr .head-inner {
    padding: 0 22px;
  }

  #hdr .wordmark img {
    height: 32px;
  }
}
