:root {
  --site-ink: #183450;
  --site-ink-soft: #2a4a65;
  --site-teal: #4f8581;
  --site-paper: #f4f3ef;
  --site-white: #fff;
  --site-line: rgba(24, 52, 80, .12);
  --site-shadow: 0 24px 70px rgba(22, 45, 66, .1);
}

body.site-shell {
  color: var(--site-ink);
  background: var(--site-paper);
  /* clip (not hidden) guards against horizontal overflow without turning the
     body into a scroll container, which would break the hero's fixed background */
  overflow-x: clip;
}

body.site-shell > .navbar {
  position: sticky;
  z-index: 1000;
  top: 0;
  flex: none;
  justify-content: center;
  min-width: 100%;
  min-height: 68px;
  max-height: none;
  padding: 0 clamp(24px, 5vw, 72px);
  border-bottom: 1px solid rgba(24, 52, 80, .09);
  background: #fbfbf9;
  box-shadow: none;
  overflow: visible;
}

body.site-shell > .navbar .header-div {
  position: relative;
  flex: 0 1 1440px;
  justify-content: space-between;
  align-items: center;
  gap: clamp(24px, 4vw, 58px);
  width: 100%;
  max-width: 1440px;
  min-height: 68px;
  margin-inline: auto;
  padding: 0;
  background: transparent;
  overflow: visible;
}

body.site-shell > .navbar .brand {
  gap: 11px;
  min-width: 0;
  padding: 0;
  text-decoration: none;
}

body.site-shell > .navbar .brand-logo-icon {
  width: 34px;
  height: 42px;
}

body.site-shell > .navbar .brand-logo-name {
  font-size: 28px;
  letter-spacing: .035em;
}

body.site-shell > .navbar .brand-logo-subtitle {
  font-size: 8px;
}

body.site-shell > .navbar .nav-menu {
  display: flex;
  align-items: center;
  gap: 2px;
}

body.site-shell > .navbar .nav-link-2 {
  min-height: 40px;
  padding: 10px 14px;
  border-radius: 9px;
  color: #465965;
  font-family: "IBM Plex Sans", Lato, sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: .01em;
  white-space: nowrap;
  text-decoration: none;
  transition: color .2s ease, background-color .2s ease;
}

body.site-shell > .navbar .nav-link-2:hover,
body.site-shell > .navbar .nav-link-2.w--current {
  color: var(--site-ink);
  background: rgba(79, 133, 129, .09);
}

body.site-shell > .navbar .nav-link-2.mitmachen-small {
  margin-left: 9px;
  padding: 10px 19px;
  border: 1px solid var(--site-ink);
  border-radius: 999px;
  color: var(--site-white);
  background: var(--site-ink);
  box-shadow: none;
}

body.site-shell > .navbar .nav-link-2.mitmachen-small:hover,
body.site-shell > .navbar .nav-link-2.mitmachen-small.w--current {
  color: var(--site-white);
  background: var(--site-ink-soft);
}

body.site-shell > .navbar .site-nav-toggle {
  display: none;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border: 1px solid var(--site-line);
  border-radius: 10px;
  color: var(--site-ink);
  background: transparent;
  appearance: none;
  cursor: pointer;
}

body.site-shell > .navbar .site-nav-toggle[aria-expanded="true"] {
  color: var(--site-white);
  background: var(--site-ink);
}

body.site-shell > .navbar .brand:focus-visible,
body.site-shell > .navbar .nav-link-2:focus-visible,
body.site-shell > .navbar .site-nav-toggle:focus-visible {
  outline: 2px solid var(--site-teal);
  outline-offset: 3px;
}

@media (max-width: 991px) {
  body.site-shell > .navbar {
    min-height: 64px;
    padding-inline: 16px;
  }

  body.site-shell > .navbar .header-div {
    gap: 18px;
    min-height: 64px;
  }

  body.site-shell > .navbar .nav-menu {
    display: none !important;
  }

  body.site-shell > .navbar .site-nav-toggle {
    display: inline-flex;
  }

  body.site-shell > .navbar .nav-menu.site-menu-open:not([hidden]) {
    position: absolute;
    z-index: 10;
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    top: calc(100% + 8px);
    right: 0;
    left: auto;
    width: min(360px, calc(100vw - 32px));
    padding: 10px;
    border: 1px solid var(--site-line);
    border-radius: 12px;
    background: var(--site-white);
    box-shadow: var(--site-shadow);
  }

  body.site-shell > .navbar .nav-menu.site-menu-open .nav-link-2 {
    width: 100%;
    margin: 0;
    padding: 12px 14px;
    text-align: left;
  }

  body.site-shell > .navbar .nav-menu.site-menu-open .nav-link-2.mitmachen-small {
    margin-top: 6px;
    text-align: center;
  }
}

@media (max-width: 767px) {
  body.site-shell > .navbar {
    min-height: 62px;
    padding-inline: 12px;
  }

  body.site-shell > .navbar .header-div {
    gap: 14px;
    min-height: 62px;
  }

  body.site-shell > .navbar .brand {
    gap: 9px;
  }

  body.site-shell > .navbar .brand-logo-icon {
    width: 31px;
    height: 38px;
  }

  body.site-shell > .navbar .brand-logo-name {
    font-size: 25px;
  }

  body.site-shell > .navbar .brand-logo-subtitle {
    font-size: 7.2px;
  }
}

@media (max-width: 479px) {
  body.site-shell > .navbar .brand-logo-name {
    font-size: 23px;
  }

  body.site-shell > .navbar .brand-logo-subtitle {
    font-size: 6.8px;
  }
}
