/* Feinschliff für Kopf- und Fußbereich auf allen Seiten.
   Farben, Schriften und Buttons bleiben wie im Webflow-Design, hier wird nur Ausrichtung und Abstand korrigiert. */

/* ---------- Kopfbereich ---------- */

/* Letzter Menüpunkt ohne Abstand nach rechts, sonst sitzt das Menü schief */
.brix---header-nav-list-item-left:last-child {
  padding-right: 0;
}

@media screen and (min-width: 992px) {
  /* Logo links, Menü genau mittig, Kontakt-Button rechts */
  .brix---header-content-wrapper {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    column-gap: 32px;
  }

  .brix---header-left-col {
    justify-self: start;
  }

  .brix---header-logo-link-left {
    padding-right: 0;
  }

  /* Webflow rechnet die Logogröße in Prozent der Spalte, daher hier fest wie bisher */
  .brix---header-logo,
  .brix---header-logo.brix---logo-v14 {
    width: 56px;
    max-width: none;
  }

  .brix---header-menu-wrapper-v2 {
    justify-self: center;
  }

  .brix---header-right-col {
    justify-self: end;
  }
}

/* ---------- Fußbereich ---------- */

.brix---footer-wrapper-3 {
  margin-top: 96px;
}

.brix---footer-logo-wrapper-3 {
  display: block;
}

.brix---mg-bottom-16px-5 {
  flex: 0 0 auto;
  width: 80px;
  max-width: none;
}

.div-block-3 {
  align-items: center;
}

.arsharh {
  width: auto;
  max-width: 15em;
  padding-left: 20px;
  line-height: 28px;
}

.brix---footer-col-title-2 {
  margin-bottom: 20px;
}

/* Unterste Zeile: Copyright links, Rechtliches und Instagram rechts */
.brix---grid-footer-bottom-v2-2 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 32px;
  row-gap: 14px;
}

.brix---grid-footer-bottom-v2-2 > :first-child {
  margin-right: auto;
}

.instagram-link {
  display: block;
  line-height: 0;
  transition: transform .3s;
}

.instagram-link:hover {
  transform: scale(1.08);
}

.brix---grid-footer-bottom-v2-2 .image-11 {
  width: 40px;
  max-width: 40px;
}

@media screen and (min-width: 992px) {
  /* Alles in einer Reihe: Wappen und Slogan | zwei Linkspalten | Mitglied-werden-Button */
  .brix---footer-wrapper-3 > .brix---container-default-17 {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) auto;
    column-gap: 48px;
    align-items: start;
    padding-top: 72px;
  }

  .brix---footer-wrapper-3 > .brix---container-default-17::before,
  .brix---footer-wrapper-3 > .brix---container-default-17::after {
    display: none;
  }

  .brix---footer-wrapper-3 .brix---footer-small---border-bottom,
  .brix---footer-wrapper-3 .brix---grid-footer-logo-and-form,
  .brix---footer-wrapper-3 .brix---footer-middle,
  .brix---footer-wrapper-3 .brix---grid-footer-v8 {
    display: contents;
  }

  .brix---footer-wrapper-3 .div-block-3 {
    grid-column: 1;
    grid-row: 1;
  }

  .brix---footer-wrapper-3 .brix---grid-footer-v8 > :nth-child(1) {
    grid-column: 2;
    grid-row: 1;
  }

  .brix---footer-wrapper-3 .brix---grid-footer-v8 > :nth-child(2) {
    grid-column: 3;
    grid-row: 1;
  }

  .brix---footer-wrapper-3 .brix---buttons-row-right---t-left-3 {
    grid-column: 4;
    grid-row: 1;
    align-self: start;
  }

  .brix---footer-wrapper-3 .brix---footer-bottom-v2 {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-top: 72px;
  }
}

@media screen and (max-width: 991px) {
  .brix---footer-small---border-bottom {
    padding-top: 56px;
    padding-bottom: 48px;
  }

  .brix---grid-footer-logo-and-form {
    grid-row-gap: 28px;
  }

  .brix---footer-middle {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .brix---grid-footer-v8 {
    grid-template-columns: 1fr 1fr;
  }
}

@media screen and (max-width: 479px) {
  .brix---footer-wrapper-3 {
    margin-top: 72px;
  }

  .brix---footer-small---border-bottom {
    padding-top: 48px;
    padding-bottom: 40px;
  }

  .brix---mg-bottom-16px-5 {
    width: 64px;
    margin-bottom: 0;
  }

  .brix---footer-logo-3 {
    width: 100%;
  }

  .brix---grid-footer-v8 {
    grid-row-gap: 32px;
    grid-template-columns: 1fr 1fr;
  }

  .brix---grid-footer-bottom-v2-2 {
    justify-content: center;
  }

  .brix---grid-footer-bottom-v2-2 > :first-child {
    flex-basis: 100%;
    margin-right: 0;
    text-align: center;
  }
}
