/* Retain the Weberhaus colors, logo, proportions, and responsive navigation
   on Joomla 6's maintained Cassiopeia template. Rocket [Codex] */
:root {
  --body-bg: #151515;
  --body-color: #ecf0f1;
  --link-color: #4b89ac;
  --link-hover-color: #6ca0bf;
}

html, body.site { background: #151515; color: #ecf0f1; }
body.site { font-family: Arial, Helvetica, sans-serif; }
.container-header {
  width: 100%;
  max-width: 1200px;
  height: 100px;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  align-items: stretch;
  overflow: visible;
  background: #111;
  box-shadow: none;
}
.container-header > .grid-child:first-of-type {
  flex: 0 0 270px;
  min-width: 0;
  align-items: flex-start;
}
.container-header .navbar-brand { margin: 0; padding: 0; }
.container-header .brand-logo {
  display: block;
  width: 263px;
  height: 125px;
  background: url('/images/headers/WeberhausGSD_transparent.png') no-repeat left top / 263px 125px;
}
.container-header .brand-logo img { display: none !important; }
.container-header .container-nav {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  min-width: 0;
  padding: 0;
}
.container-header .mod-menu { display: flex; flex-wrap: nowrap; gap: 16px; }
.container-header .mod-menu > li > a,
.container-header .mod-menu > li > button { color: #fff; font-size: 16px; font-weight: 400; text-decoration: none; }
.container-header .mod-menu > li > a:hover,
.container-header .mod-menu > li > a:focus { color: #fff; text-decoration: underline; }
.container-header .mod-menu__sub { background: #111; }
.container-header .mod-menu__sub a { color: #fff; }
.weberhaus-menu-toggle { display: none; }
.site-grid { max-width: 1200px; margin: 0 auto; padding: 44px 30px 30px; }
.container-component { color: #ecf0f1; }
.container-component h1,
.container-component h2,
.container-component h3,
.container-component h4 { color: #ecf0f1; }
.container-component a { color: #4b89ac; text-decoration: none; }
.container-component a:hover,
.container-component a:focus { color: #6ca0bf; text-decoration: underline; }

@media (max-width: 767px) {
  .container-header { height: 100px; padding: 0 15px; position: relative; }
  .container-header > .grid-child:first-of-type { flex-basis: 175px; }
  .container-header .navbar-brand { position: absolute; left: 15px; top: 0; }
  .container-header .brand-logo {
    width: 175px;
    height: 100px;
    background-position: left 15px;
    background-size: 175px 85px;
  }
  .weberhaus-menu-toggle {
    display: block;
    position: absolute;
    right: 22px;
    top: 30px;
    z-index: 3;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
  }
  .weberhaus-menu-toggle:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
  .container-header .container-nav {
    display: none;
    position: absolute;
    top: 100px;
    left: 0;
    right: 0;
    z-index: 2;
    max-height: 70vh;
    overflow: auto;
    padding: 8px 20px 16px;
    background: #111;
  }
  .container-header .container-nav.is-open { display: block; }
  .container-header .mod-menu { display: block; }
  .container-header .mod-menu > li > a { display: inline-block; padding: 10px 0; }
  .site-grid { padding: 42px 30px 30px; }
}
