/* Originalgetreuer Desktop- und Mobilheader. */
.wp-site-blocks > header.wp-block-template-part {
  position: sticky !important;
  top: 0 !important;
  z-index: 2147483000 !important;
  margin-block-start: 0 !important;
}
.wp-site-blocks > header.wp-block-template-part > .totg-site-header {
  position: static !important;
  top: auto !important;
  z-index: auto !important;
}
body.admin-bar .wp-site-blocks > header.wp-block-template-part {
  top: 32px !important;
}
.totg-site-header,
.totg-site-header *,
.totg-mobile-menu,
.totg-mobile-menu * {
  box-sizing: border-box !important;
  font-family: "Inter", Arial, sans-serif !important;
}
.totg-site-header {
  width: 100% !important;
  background: #ffffff !important;
  border-bottom: 1px solid #dde3ea !important;
  box-shadow: none !important;
}
.totg-header-shell {
  width: auto !important;
  min-height: 72px !important;
  margin: 0 100px !important;
  padding: 0 15px !important;
  display: grid !important;
  grid-template-columns: 3fr 7fr 2fr !important;
  align-items: center !important;
  gap: 0 !important;
}
.totg-header-brand,
.totg-header-brand:link,
.totg-header-brand:visited {
  grid-column: 1 !important;
  justify-self: center !important;
  display: block !important;
  width: 100% !important;
  max-width: 231px !important;
  color: #102033 !important;
  text-decoration: none !important;
}
.totg-header-brand img,
.totg-mobile-brand img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
}
.totg-desktop-nav {
  grid-column: 2 !important;
  justify-self: start !important;
  width: calc(100% - 11px) !important;
  max-width: 465.641px !important;
  min-height: 44px !important;
  margin: 0 53.0078px 0 11px !important;
  padding: 7px 15px 6.8px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.totg-desktop-nav a,
.totg-desktop-nav a:link,
.totg-desktop-nav a:visited {
  min-height: 30px !important;
  padding: 5px 20px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #1a2a3a !important;
  font-size: 1rem !important;
  font-weight: 400 !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}
.totg-desktop-nav a:hover,
.totg-desktop-nav a:focus-visible {
  color: #1a2a3a !important;
  font-weight: 700 !important;
}
.totg-header-cta,
.totg-header-cta:link,
.totg-header-cta:visited {
  grid-column: 3 !important;
  justify-self: stretch !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 50px !important;
  padding: 0 20px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid #102033 !important;
  border-radius: 28px !important;
  background: #102033 !important;
  color: #ffffff !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}
.totg-header-cta:hover,
.totg-header-cta:focus-visible {
  background: #c99713 !important;
  border-color: #c99713 !important;
  color: #ffffff !important;
}
.totg-mobile-toggle,
.totg-mobile-menu {
  display: none !important;
}
body.totg-menu-open {
  overflow: hidden !important;
}
@media (max-width: 1100px) and (min-width: 768px) {
  .totg-header-shell {
    margin: 0 28px !important;
  }
  .totg-desktop-nav {
    width: 100% !important;
    margin: 0 !important;
    padding-inline: 0 !important;
  }
  .totg-desktop-nav a,
  .totg-desktop-nav a:link,
  .totg-desktop-nav a:visited {
    padding-inline: 12px !important;
  }
}
@media (max-width: 782px) {
  body.admin-bar .wp-site-blocks > header.wp-block-template-part {
    top: 46px !important;
  }
  body.admin-bar .totg-mobile-menu {
    top: 46px !important;
    height: calc(100dvh - 46px) !important;
  }
}
@media (max-width: 767px) {
  .totg-site-header {
    border-bottom: 0 !important;
    box-shadow: 0 7px 16px rgba(16, 32, 51, 0.18) !important;
  }
  .totg-header-shell {
    width: 100% !important;
    min-height: 70px !important;
    margin: 0 !important;
    padding: 0 20px !important;
    display: grid !important;
    grid-template-columns: 48px 1fr 48px !important;
    gap: 0 !important;
  }
  .totg-header-brand,
  .totg-header-brand:link,
  .totg-header-brand:visited {
    grid-column: 2 !important;
    justify-self: center !important;
    width: min(213px, calc(100vw - 128px)) !important;
    max-width: none !important;
  }
  .totg-desktop-nav,
  .totg-header-cta {
    display: none !important;
  }
  .totg-mobile-toggle {
    grid-column: 1 !important;
    justify-self: start !important;
    width: 44px !important;
    height: 44px !important;
    padding: 9px 5px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: center !important;
    gap: 5px !important;
    border: 0 !important;
    background: transparent !important;
    color: #666666 !important;
    cursor: pointer !important;
  }
  .totg-mobile-toggle span {
    display: block !important;
    width: 28px !important;
    height: 2px !important;
    background: currentColor !important;
  }
  .totg-mobile-menu[hidden] {
    display: none !important;
  }
  .totg-mobile-menu:not([hidden]) {
    position: fixed !important;
    inset: 0 !important;
    z-index: 2147483640 !important;
    width: 100% !important;
    height: 100dvh !important;
    display: flex !important;
    flex-direction: column !important;
    background: #ffffff !important;
    color: #102033 !important;
    overflow-y: auto !important;
  }
  .totg-mobile-menu-head {
    min-height: 82px !important;
    padding: 0 20px !important;
    display: grid !important;
    grid-template-columns: 48px 1fr 48px !important;
    align-items: center !important;
  }
  .totg-mobile-close {
    grid-column: 1 !important;
    position: relative !important;
    width: 44px !important;
    height: 44px !important;
    border: 0 !important;
    background: transparent !important;
    color: #666666 !important;
    cursor: pointer !important;
  }
  .totg-mobile-close span {
    position: absolute !important;
    left: 9px !important;
    top: 21px !important;
    width: 26px !important;
    height: 2px !important;
    background: currentColor !important;
  }
  .totg-mobile-close span:first-child {
    transform: rotate(45deg) !important;
  }
  .totg-mobile-close span:last-child {
    transform: rotate(-45deg) !important;
  }
  .totg-mobile-brand,
  .totg-mobile-brand:link,
  .totg-mobile-brand:visited {
    grid-column: 2 !important;
    justify-self: center !important;
    display: block !important;
    width: min(250px, calc(100vw - 116px)) !important;
    color: #102033 !important;
    text-decoration: none !important;
  }
  .totg-mobile-nav {
    padding: 56px 24px 48px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 30px !important;
  }
  .totg-mobile-nav a,
  .totg-mobile-nav a:link,
  .totg-mobile-nav a:visited {
    color: #292929 !important;
    font-size: 1.24rem !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-decoration: none !important;
  }
}
