header .container:before, header .container:after {
    display: none;
}

.logomobil {
    display: none;
}

img {
    border: 0;
    max-width: 100%;
    height: auto;
    width: auto;
}

.logo2 {
    height: 60px;  
}

.header8 > .container > *:nth-child(1) img {
    width: 25px;
    margin-right: 1rem;
}

#logo img {
    height: 150px;
}   

nav ul {
    padding-left: 0;
}

nav a:hover {
    text-decoration: none;
}

@media (min-width: 992px) {

.slider.header8fix {
    margin-top: 20rem;
}

.header8 {
    position: fixed;
    z-index: 1200;
    width: 100%;
    overflow: visible !important;
    background: #fff;
    box-shadow: 0px 0px 2px 2px #ccc;
}

.header8 .header {
    margin-top: 0;
    position: relative;
    overflow-y: visible;
    z-index: 1200;
    padding: 0 1.5rem;
}

.header8 #logo {
    top: 0px;
    margin: 0 0 0 0;
    padding: 0 0 0 0;
    float: left;
}

.header8 .logo {
    position: inherit;
    opacity: 1;
}

.header8 .menueleiste nav {
    width: auto;
    height: 70px;
    line-height: 70px;
    z-index: 1;
}

.topmenu {
    margin-bottom: 0;
}

nav ul li {
    display: block;
    width: auto;
    position: relative;
    padding: 0 0 0 0;
    float: left;
}

nav ul li:hover ul {
    display: block;
}

nav ul li ul {
    display: none;
    top: 100%;
    width: 30rem;
    height: auto;
    position: absolute;
    margin: 0 0 0 0;
    padding: 0 0 0 0;
}

nav ul li a {
    display: block;
    color: #828282;
    padding: 0rem 1.4rem 0;
    width: auto;
    margin-top: 0px;
    font-size: 2rem;
    -moz-transition: all .1s ease-in;
    -o-transition: all .1s ease-in;
    -webkit-transition: all .1s ease-in;
    transition: all .1s ease-in;
}

nav ul.sub-menu > li > a {
    display: block;
    padding: 0.8rem;
    width: auto;
    line-height: 2rem;
    color: #fff;
    background: #828282;
    font-size: 1.8rem;
    -moz-transition: none;
    -o-transition: none;
    -webkit-transition: none;
    transition: none;
}

nav > ul > li:hover > a {
    background-image: linear-gradient(0deg, #67a83c 4px, transparent 4px);
    color: #828282;
}

.header8 > .container {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr auto 1fr;
    grid-template-columns: 1fr auto 1fr;
    -ms-grid-rows: auto auto;
    grid-template-rows: auto;
    justify-items: center;
    padding-top: 1rem;
}

.header8 > .container > *:nth-child(1) {
    -ms-grid-column: 1;
    -ms-grid-column-span: 2;
    grid-column: 1/3;
    -ms-grid-row: 1;
    -ms-grid-row-span: 1;
    grid-row: 1/2;
    -ms-grid-column-align: start;
    justify-self: start;
    -ms-grid-row-align: start;
    align-self: start;
    display: block;
}

.header8 > .container > *:nth-child(2) {
    -ms-grid-column: 2;
    -ms-grid-column-span: 1;
    grid-column: 2/3;
    -ms-grid-row: 1;
    -ms-grid-row-span: 1;
    grid-row: 1/2;
    -ms-grid-column-align: center;
    justify-self: center;
    display: block;
}

.header8 > .container > *:nth-child(3) {
    -ms-grid-column: 3;
    -ms-grid-column-span: 1;
    grid-column: 3/4;
    -ms-grid-row: 1;
    -ms-grid-row-span: 1;
    grid-row: 1/2;
    -ms-grid-column-align: end;
    justify-self: end;
    -ms-grid-row-align: start;
    align-self: start;
    display: block;   
}

.header8 > .container > *:nth-child(4) {
    -ms-grid-column: 1;
    -ms-grid-column-span: 1;
    grid-column: 1/2;
    -ms-grid-row: 2;
    -ms-grid-row-span: 1;
    grid-row: 2/3;
    -ms-grid-column-align: start;
    justify-self: start;
    -ms-grid-row-align: center;
    align-self: center;
    display: none;
}

.header8 > .container > *:nth-child(5) {
    -ms-grid-column: 2;
    -ms-grid-column-span: 1;
    grid-column: 2/3;
    -ms-grid-row: 2;
    -ms-grid-row-span: 1;
    grid-row: 2/3;
    position: relative;
    -ms-grid-row-align: center;
    align-self: center;
}                                                

.header8 > .container > *:nth-child(6) {
    -ms-grid-column: 3;
    -ms-grid-column-span: 1;
    grid-column: 3/4;
    -ms-grid-row: 2;
    -ms-grid-row-span: 1;
    grid-row: 2/3;
    -ms-grid-column-align: end;
    justify-self: end;
    -ms-grid-row-align: center;
    align-self: center;
    display: none;
}

li.current-menu-item > a, li.current-menu-item:hover > a {
    color: #323232;
}

.tel-quicklink {
    display: none;
}

#logo {
    margin: 0 auto;
    position: relative;
    top: 0;
    left: 0;
    width: auto;
    max-width: 100%;
    height: auto;
    display: inline-block;
}

}

@media (max-width: 991px) {

header > .container > *:not(:nth-child(5)) {
    display: none;
}

.header8 > .container > *:nth-child(5) {
    position: fixed;
}  

.header8 > .container > *:nth-child(1) {
    display: none;
} 

.header8 > .container > *:nth-child(3) {
    display: none;
} 

.header8 > .container {
    padding-top: 0;
}

.tel-quicklink a {
    color: #fff;
}

.logomobil {
    display: block;
    width: 60%;
    margin: 5rem auto 0 auto;
    padding: 2rem;
    background: #fff;
}

.header-mobile-buttons .textwidget {
    text-align: center;
}

.menueleiste {
    position: fixed;
    top: 0;
    left: -310px;
    height: 100vh;
    overflow-y: scroll;
    z-index: 300;
    background: #828282;
    width: 310px;
}

.header-mobile-buttons {
    margin-bottom: 2rem;  
    margin-top: 6rem;  
    text-align: center;    
}

.header-mobile-buttons > div > div {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}

.tel-quicklink {
    display: block;
    position: absolute;
    top: 1.3rem;
    left: 1.5rem;
    color: #fff;
}

.header-mobile-buttons .btn-primary {
    font-size: 1.8rem;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    color: #fff;
    margin: 0 auto;
    width: 80%;
    margin-bottom: 1rem;
}
    
}