/* One German DWFE header on the homepage and the linked information pages. */
html { scrollbar-gutter: stable; scroll-padding-top: 96px; }
body.dwfe-header-offset { padding-top: 79px; }
#siteHeader, #siteHeader * { box-sizing: border-box; }
#siteHeader {
  position: fixed; z-index: 100; inset: 0 0 auto; padding: 10px 0;
  background: rgba(255,255,255,.97); color: #13252d;
  border: 0; border-bottom: 1px solid #dce9ee;
  box-shadow: 0 8px 30px rgba(6,47,66,.06);
  font: 16px/1.6 Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
}
#siteHeader .wrap.nav {
  width: min(calc(100% - 40px),1180px); margin: 0 auto; padding: 0;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
#siteHeader .brand {
  display: flex; align-items: center; gap: 10px; min-width: max-content;
  flex: 0 0 auto; color: #073d55; text-decoration: none;
}
#siteHeader .dwfe-brand-logo {
  display: block; width: 174px; max-width: none; height: auto; flex: 0 0 auto;
  box-sizing: border-box; padding: 6px 8px; border-radius: 8px; background: #fff;
}
#siteHeader .brandline { display: block; width: 1px; height: 32px; background: currentColor; opacity: .35; }
#siteHeader .brandtext {
  display: block; font-size: .68rem; font-weight: 800; line-height: 1.35;
  letter-spacing: .13em; text-transform: uppercase; max-width: 150px;
}
#siteHeader .navlinks {
  display: grid; grid-template-columns: 70px 100px 76px 112px 82px 160px; width: 660px;
  align-items: center; gap: 12px; margin: 0; padding: 0;
  color: #13252d; font-size: .92rem; font-weight: 750; line-height: 1.6;
}
#siteHeader .navlinks a {
  display: block; flex: 0 0 auto; white-space: nowrap; padding: 0;
  color: inherit; font: inherit; text-decoration: none; opacity: .9;
}
#siteHeader .navlinks a:hover, #siteHeader .navlinks a[aria-current="page"] { color: #0877a5; opacity: 1; }
#siteHeader .navlinks a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
#siteHeader .navlinks a.nav-donate {
  padding: 10px 16px; border-radius: 999px; background: #0877a5 !important;
  color: #fff !important; box-shadow: 0 8px 20px rgba(0,0,0,.08); opacity: 1;
}
#siteHeader .lang { position: relative; flex: 0 0 auto; margin: 0; }
#siteHeader button { font-family: inherit; cursor: pointer; }
#siteHeader .lang-btn {
  position: relative; overflow: visible; display: block; border: 1px solid #c6dce5;
  background: #fff; color: #073d55; border-radius: 999px; padding: 8px 12px;
  width: 124px; font-size: 16px; font-weight: 800; line-height: 1.6; white-space: nowrap;
}
#siteHeader .lang-top-flags { position: absolute; left: 50%; top: -9px; transform: translateX(-50%); display: flex; gap: 2px; line-height: 0; pointer-events: none; }
#siteHeader .lang-top-flag { display: block; width: 10px; height: 7px; flex: 0 0 auto; border-radius: 1px; overflow: hidden; box-shadow: 0 0 0 1px rgba(6,47,66,.18),0 1px 2px rgba(0,0,0,.12); }
#siteHeader .lang-top-flag svg, #siteHeader .lang-flag svg { display: block; width: 100%; height: 100%; }
#siteHeader .lang-flag { display: inline-block; width: 1.35em; height: .88em; margin-right: .48em; vertical-align: -.06em; border-radius: 2px; overflow: hidden; box-shadow: 0 0 0 1px rgba(6,47,66,.12); }
#siteHeader .lang-menu {
  display: none; position: absolute; z-index: 102; right: 0; top: calc(100% + 10px);
  min-width: 205px; max-height: calc(100dvh - 105px); overflow-y: auto; padding: 8px;
  background: #fff; color: #13252d; border: 1px solid #dce9ee; border-radius: 16px;
  box-shadow: 0 20px 60px rgba(7,61,85,.12);
}
#siteHeader .lang.open .lang-menu { display: block; }
#siteHeader .lang-menu a { display: block; width: 100%; border: 0; background: transparent; text-align: left; padding: 10px 12px; border-radius: 10px; color: #13252d; font-size: 16px; font-weight: 400; line-height: 1.6; text-decoration: none; }
#siteHeader .lang-menu a:hover { background: #eaf7fb; }
#siteHeader .lang-menu a.active { font-weight: 900; color: #0877a5; }
#siteHeader .lang-menu small { float: right; color: #84979e; }
#siteHeader .hamb { display: none; border: 0; background: #eaf7fb; color: #073d55; border-radius: 12px; padding: 9px 11px; font-size: 16px; font-weight: 900; line-height: 1.6; }
#siteHeader a:focus-visible, #siteHeader button:focus-visible { outline: 3px solid #0877a5; outline-offset: 4px; }
@media (max-width: 1240px) {
  #siteHeader .navlinks {
    display: none; position: absolute; left: 20px; right: 20px; top: calc(100% - 2px);
    padding: 20px; background: #fff; color: #13252d !important;
    border-radius: 20px; box-shadow: 0 20px 60px rgba(7,61,85,.12);
    width: auto; flex-direction: column; align-items: stretch; gap: 6px;
    max-height: calc(100dvh - 100px); overflow-y: auto;
  }
  #siteHeader .navlinks.open { display: flex; }
  #siteHeader .navlinks a { padding: 10px 12px; border-radius: 10px; }
  #siteHeader .navlinks a.nav-donate { text-align: center; }
  #siteHeader .hamb { display: block; flex: 0 0 auto; }
  #siteHeader .nav .lang { margin-left: auto; }
}
@media (max-width: 720px) {
  body.dwfe-header-offset { padding-top: 70px; }
  #siteHeader .wrap.nav { width: calc(100% - 28px); gap: 8px; }
  #siteHeader .brand .dwfe-brand-logo { width: calc(clamp(100px,31vw,132px) + 16px); }
  #siteHeader .brandline, #siteHeader .brandtext { display: none; }
}
@media (max-width: 360px) {
  #siteHeader .wrap.nav { gap: 6px; }
  #siteHeader .brand .dwfe-brand-logo { width: 98px; padding: 4px; }
}
