.grid-child {
    max-width: 1200px !important;
}

@supports (display: grid) {
  .site-grid {
    grid-gap: 0 1em;
    grid-template-columns: [full-start] minmax(0, 1fr)[main-start] repeat(4, minmax(0, 19.875rem))[main-end] minmax(0, 1fr)[full-end];
    grid-template-areas:
                         ". brand menu ."
                         ". topbar topbar topbar topbar ."
                         ". menubar menubar ."
                         ". banner banner banner banner ."
                         ". top-a top-a top-a top-a ."
                         ". top-b top-b top-b top-b ."
                         ". top-c top-c top-c top-c ."
                         ". top-d top-d top-d top-d ."
                         ". top-e top-e top-e top-e ."
                         ". comp comp comp comp ."
                         ". side-r side-r side-r side-r ."
                         ". side-l side-l side-l side-l ."
                         ". bot-a bot-a bot-a bot-a ."
                         ". bot-b bot-b bot-b bot-b ."
                         ". bot-c bot-c bot-c bot-c ."
                         ;
    display: grid;
  }
}

.container-topbar {
    grid-area: topbar;
    position: relative;
    font-size: 13px;
}

.container-topbar .grid-child.topbar {
    display: grid;
    grid-template-columns: 
    minmax(auto, max-content) 
    minmax(auto, max-content) 
    minmax(auto, max-content);
    justify-content: space-between;
    gap: 1rem;
}

.container-menubar {
    grid-area: menubar;
    position: relative;
}

.container-top-a {
    margin-bottom: 30px;
}

.container-top-b {
    background-color: #f2f2f2;
    padding-top: 30px;
    padding-bottom: 30px;
}

.container-top-b>* {
    flex: 1;
    margin: auto;
}

.container-top-c {
    g rid-area: top-c;
    p osition: relative;
    background-color: #cccccc;
    padding-top: 30px;
    padding-bottom: 30px;
}

.container-top-c>* {
    flex: 1;
    margin: auto;
}

.container-top-d {
    grid-area: top-d;
    position: relative;
}

.container-top-d>* {
    flex: 1;
    margin: .5em 0;
}

.container-top-e {
    grid-area: top-e;
    position: relative;
}

.container-top-e>* {
    flex: 1;
    margin: auto;
}

.container-bottom-a {
    background-color: #cccccc;
    padding-top: 30px;
    padding-bottom: 30px;
}

.container-bottom-a>* {
    margin: auto;
}

.container-bottom-b {
    padding-top: 30px;
    padding-bottom: 30px;
}

.container-bottom-b>* {
    margin: auto;
}

.container-bottom-b .grid-child .bottom-b {
    width: 100%;
}

.container-bottom-b .grid-child .bottom-b.ansprechpartner {
    margin-bottom: 300px;
}

.container-bottom-c {
    grid-area: bot-c;
    position: relative;
    padding-top: 30px;
    padding-bottom: 30px;
}
.container-bottom-c:has(.bottom-c.background-grey) {
    background-color: #cccccc;
}

.container-bottom-c>* {
    margin: auto;
}

.container-header {
  background-color: black;
  background-image: none;
}

.container-header .grid-child {
    padding: 0 .5em;
}

.container-topbar .grid-child {
    padding: .5em;
}

.container-header .container-topbar .mod-menu>li,
.container-footer .mod-menu>li {
    padding: 0.25em 0.5em;
}

.container-topbar,
.container-footer {
  background-color: #1e5a97;
  background-image: none;
}

.container-header nav {
    margin-top: 0;
    padding: 0;
}

.container-header .menubar {
    height: 70px;
    text-transform: uppercase;
}

.menubar ul.nav li {
    display: block;
    line-height: 70px;
    font-size: 16px;
}

.menubar ul.nav li:hover,
.menubar ul.nav li.current {
    color: #1e5a97;
    background-color: #f2f1f1;
}

.menubar ul.nav li a {
    padding: 0 29px;
    display: block;
}

.top-a .nav {
    margin-left: 0;
    list-style: none;
    text-align: center;
    position: relative;
}
.top-a .mod-list,
.footer .mod-list {
    flex-direction: row;
}

.top-a .mod-list {
    flex-direction: row;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
}

.top-a li {
    display: inline-block;
    padding: 20px;
    margin-top: 20px;
    line-height: 2.1em;
    width: 33% !important;
    box-sizing: border-box;
    vertical-align: top;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

.top-a li:hover {
    box-shadow: 0px 0px 20px #aeaeae;
    -webkit-box-shadow: 0px 0px 20px #aeaeae;
    -moz-box-shadow: 0px 0px 20px #aeaeae;
    -o-box-shadow: 0px 0px 20px #aeaeae;
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}

.top-a a {
    font-size: 24px;
    font-weight: bold;
    color: #000000;
    width: 100%;
    /* text-align: center; */
    display: block;
    height: 166px;
}

.top-a img {
    display: block;
    margin: 5px auto 20px auto;
    padding: 0;
    width: 35%;
}

h4, .h4 {
    font-size: 1.1rem;
    color: #1e5a97;
}

.footer {
    margin-top: 0;
}

.accordion .accordion-item .accordion-header button {
    color: #1e5a97;
    font-size: 16px;
    font-weight: 700;
    line-height: 20px;
    text-transform: uppercase;
}

.accordion .accordion-item:nth-child(odd) .accordion-header button {
    background-color: #f2f2f2;
}

.spaltig {
    -moz-column-count: 2;
    -webkit-column-count: 2;
    column-count: 2;
    column-gap: 40px;
    -webkit-column-gap: 40px;
    -moz-column-width: 49%;
    -webkit-column-width: 49%;
    column-width: 49%;
}

.openstreetmap {
    padding-bottom: 30px;
    font-size: 12px;
    text-align: center;
}

.marquee-container {
  width: 100%;
  position: relative;
}

.marquee-content {
  display: inline-flex;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
}

.marquee-content img {
    min-width: 192px;
}

.h2container {
    display: flex;
}

.h2container section:nth-child(1) {
    flex: 50% 1 1;
    margin-right: 20px;
}

.h2container section:nth-child(2) {
    flex: 50% 1 1;
}


.col {
    width: 46%;
}

.right.item-image {
  float: right;
  margin-left: 1em;
  max-width: 50%;
}

@keyframes marquee {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}





@media (width >= 992px) {
    .container-header .mod-menu>li:after {
        content: "";
        opacity: .2;
        background: 0 0;
        height: 2px;
        margin: auto;
        transition: all .2s, background-color .2s;
        display: none;
        position: absolute;
        bottom: 0;
        left: 50%;
        right: 50%;
    }

    .container-header .mod-menu.facebk,
    .container-header .mod-menu {
        flex: auto;
        justify-content: flex-end;
    }
    .container-header .mod-menu.menuinfo {
        justify-content: flex-start;
    }

    .container-header .mod-menu>li+li {
        margin-left: 1px;
    }
}

@media (min-width: 992px) {
  . navbar-expand-lg .navbar-toggler {
    display: none !important;
  }
  . navbar-expand-lg .navbar-collapse {
    display: flex !important;
  }
}

@media (width >= 576px) {
    .oeffnungszeiten {
        display: block !important;
    }
    .oeffnungszeitenmobil {
        display: none !important;
    }
}

@media (max-width: 1399.98px) {
}

@media (max-width: 1199.98px) {
    .container-topbar .grid-child.topbar {
        gap: 0;
    }

    ul#henkemenu li {
        width: 25% !important;
        padding: 10px;
    }
    
    ul#henkemenu li a {
        height: 200px;
    }
    ul#henkemenu li a img {
        width: 50%;
    }
    .mod-list li {
    padding: .25em 1.25em;
    }
}

@media (max-width: 991.98px) {
    .container-topbar {
        grid-template-columns: 1fr;
    }
    .container-topbar ul.menuinfo li.divider {
        display: none;
    }
    .container-header .navbar-collapse.show {
        background-color: #fff;
    }
    .navbar-expand-md .navbar-toggler {
        display: block !important;
    }
    .container-header .container-nav .container-search, 
    .container-header .container-nav nav {
        margin-top: 1em;
        justify-content: flex-end;
    }
    .menubar ul.nav li {
        padding: .25em 1em;
    }
    .menubar ul.nav li a {
        padding: 0 0px;
    }
    .navbar-expand-md .navbar-collapse {
        display: none !important;
    }
  .container-header .navbar-collapse.show {
    flex-wrap: wrap;
    justify-content: space-between;
    display: flex !important;
    }
    .menubar ul.nav li {
        color: #1e5a97;
        background-color: #f2f1f1;
        line-height: 50px;
    }
    .menubar ul.nav li:hover,
    .menubar ul.nav li.current {
        color: #fff;
        background-color: #555;
    }


}

@media (width <= 767.98px) {
    ul#henkemenu li {
        width: 33% !important;
        padding: 10px;
    }
    
    ul#henkemenu li a {
        font-size: 24px;
        line-height: 1.4em;
    }
    ul#henkemenu li a img {
        width: 50%;
    }
    #ansprechmod_222 .bild {
        display: block;
        width: 100%;
        height: 400px;
        background-position-x: 0%;
        background-position-y: 30%;
        background-repeat: no-repeat;
        filter: none;
       width: 100%;
    }
    .openstreetmap {
        padding-bottom: 30px;
        font-size: 12px;
        text-align: center;
    }
    .openstreetmap img {
        width: 100%;
        height: 200px;
        overflow: hidden;
        object-fit: cover;
    }

    .right.item-image {
    float: none;
    margin-left: 0em;
    max-width: 100%;
    }

}

@media (width <= 575.98px) {
    div.oeffnungszeiten {
        display: none !important;
    }
    div.oeffnungszeitenmobil {
        display: block !important;
    }
      .site-grid {
        grid-template-areas:
                         ". brand menu ."
                         ". menubar menubar ."
                         ". topbar topbar topbar topbar ."
                         ". banner banner banner banner ."
                         ". top-a top-a top-a top-a ."
                         ". top-b top-b top-b top-b ."
                         ". top-c top-c top-c top-c ."
                         ". top-d top-d top-d top-d ."
                         ". top-e top-e top-e top-e ."
                         ". comp comp comp comp ."
                         ". side-r side-r side-r side-r ."
                         ". side-l side-l side-l side-l ."
                         ". bot-a bot-a bot-a bot-a ."
                         ". bot-b bot-b bot-b bot-b ."
                         ". bot-c bot-c bot-c bot-c ."
                         ;
      }
    .container-topbar .grid-child.topbar {
        grid-template-columns: 
            minmax(auto, max-content);
        gap: 0;
        text-align: center;
        display: block;
    }

    .container-topbar .grid-child.topbar ul {
        display: inline-block;
    }
    .container-topbar .grid-child.topbar ul li {
        display: inline-block;
    }
    ul#henkemenu li {
        width: 33% !important;
        padding: 10px;
    }
    
    ul#henkemenu li a {
        font-size: 16px;
        line-height: 1.4em;
        height: 150px;
    }
    ul#henkemenu li a img {
        width: 65%;
    }
    .container-bottom-b .grid-child {
        display: grid;
        grid-template-columns: 1fr;
    }
    .openstreetmap {
        padding-bottom: 30px;
        font-size: 12px;
        text-align: center;
    }
    .openstreetmap img {
        width: 100%;
        height: 200px;
        overflow: hidden;
        object-fit: cover;
    }
    .spaltig {
        -moz-column-count: 1;
        -webkit-column-count: 1;
        column-count: 1;
        column-gap: 0px;
        -webkit-column-gap: 0px;
        -moz-column-width: 100%;
        -webkit-column-width: 100%;
        column-width: 100%;
    }


}

@media (width <= 348.98px) {
    .container-topbar .grid-child.topbar ul.menuinfo li.divider {
        display: none;
    }
}