header .container:before, header .container:after {
    display: none;
}

.logomobil {
    display: none;
}

img {
    border: 0;
    max-width: 100%;
    height: auto;
    width: auto;
}

.maplink:before {
    content: "\e062";
    font-weight: normal;
    font-size: 13px;
    margin-right: 3px;
    text-decoration: none;
    font-family: 'Glyphicons Halflings';
    color: var(--primary-color);
}

header .telefonlink:before {
    font-size: 13px;
    color: var(--primary-color);
}

header p {
    padding: 0;
}

header a {
    font-weight: 400;
    color: var(--text-color);
}
header a.telefon {
    font-weight:400;
    font-size:2rem;
}

.logo2 {
    height: 35px;  
}

header > .container > *:nth-child(1) img {
    width: 25px;
    margin-right: 1rem;
}

#logo img {
    height: 100px;
}   

nav * {
    font-weight: normal;
}

nav ul {
    padding-left: 0;
}

@media (min-width: 992px) {

    nav a:hover {
        text-decoration: none;
        color: var(--primary-color);
    }

    .socialicon {
        display: none;
    }

    header a[href^="tel:+"] svg {
        width: 25px;
        height: 25px;
        margin-right: 1rem;
        margin-bottom: -4px;
    }

.sliderheaderfix {
    margin-top: 20rem;
}

header {
    position: fixed;
    z-index: 1200;
    width: 100%;
    overflow: visible !important;
    background: var(--background);
    box-shadow: 0px 0px 2px 2px var(--secondary-color);
}

header #logo {
    top: 0px;
    margin: 0 0 1rem 0;
    padding: 0 0 0 0;
    float: left;
}

header .logo {
    position: inherit;
    opacity: 1;
}

.current-menu-item a, .current-menu-ancestor > a, .current-menu-parent > a, .current-menu-parent .current_page_item a, .current-page-parent a {
    color: var(--text-color);
    text-decoration: none;
}

header .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;
    line-height: inherit;
}

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;
    background: transparent;
    overflow-y: auto;
    max-height: 70vh;
}

nav ul li a {
    display: block;
    color: var(--text-color);
    padding: 0rem 1.4rem 0;
    width: auto;
    font-weight:300;
    margin-top: 0px;
    font-size: 1.6rem;
    -moz-transition: all .1s ease-in;
    -o-transition: all .1s ease-in;
    -webkit-transition: all .1s ease-in;
    transition: all .1s ease-in;
}

header nav ul>li>ul>li {
    float: none;
    display: block;
    border-right: none;
}

nav ul.sub-menu>li:hover>a {
    color: #f8ae00;
    background: var(--background);
}

nav ul.sub-menu > li > a {
    display: block;
    padding: 0.8rem;
    width: auto;
    line-height: 2rem;
    color: #181716;
    background: white;
    -moz-transition: none;
    -o-transition: none;
    -webkit-transition: none;
    transition: none;
}

header > .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;
}

nav > ul > li > a:before {
    content: "";
    position: absolute;
    z-index: -1;
    left: 51%;
    right: 51%;
    bottom: 0;
    background: var(--primary-color);
    height: 3px;
    -webkit-transition-property: left,right;
    transition-property: left,right;
    -webkit-transition-duration: 0.15s;
    transition-duration: 0.15s;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
}

header .current-menu-item > a:before, header .current-menu-parent > a:before,  header .current-menu-ancestor > a:before, header .current-page-parent > a:before, nav ul li a:hover:before {
    left: 0;
    right: 0;
}

header > .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;
}

header > .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;
}

header > .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;   
}

header > .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;
}

header > .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;
}                                                

header > .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;
    margin: 0;
}
	
li#menu-item-110.current-menu-item > a {
    color:var(--primary-color);
}

#logo {
    margin: 0 auto;
    position: relative;
    top: 0;
    left: 0;
    width: auto;
    max-width: 100%;
    height: auto;
    display: inline-block;
}

}

@media (min-width: 992px) and (max-width: 1199px) {

    nav ul.topmenu li a {
        padding: 0rem 10px 0;
        font-size: 1.6rem;
    }

}

@media (max-width: 991px) {

    header > .container > *:not(:nth-child(5)) {
        display: none;
    }

    .socialicon img {
        max-width: 50px;
        padding: 1rem;
    }

    header > .container > *:nth-child(5) {
        position: fixed;
    }  

    header > .container > *:nth-child(1) {
        display: none;
    } 

    header {
        height:0;
    }
    header > .container > *:nth-child(3) {
        display: none;
    } 

    header > .container {
        padding-top: 0;
    }

    .logomobil {
        display: block;
        width: 100%;
        margin: 5rem auto 0 auto;
        padding: 2rem;

    }

    .header-mobile-buttons .textwidget {
        text-align: center;
    }
    .header-mobile-buttons p:last-of-type {
        margin-bottom:0;
    }

    .menueleiste {
        position: fixed;
        top: 5rem;
        right: -100%;
        height: 100vh;
        z-index: 300;
        background: var(--farbverlauf);
        width: 100%;
    }

    .header-mobile-buttons {
        padding-bottom: 2rem;  
        padding-top: 6rem;  
        text-align: center;   
        background: var(--background);
    }

    .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;
    }

    .header-mobile-buttons > 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;
    }
    
}