/*   HEADER ANFANG   -------------------------------------------------------------------------------------------------------------------------  */

.adresse-top > *:nth-child(1) {
    -ms-grid-column: 2;
    -ms-grid-column-span: 1;
    grid-column: 2 / 3;
    -ms-grid-column-align: start;
    justify-self: start;
}

.adresse-top > *:nth-child(2) {
    -ms-grid-column: 3;
    -ms-grid-column-span: 1;
    grid-column: 3 / 4;
    -ms-grid-column-align: end;
    justify-self: end;
}

#logo img {
    padding: 1.8rem 0;
    height: 100%;
}

.header-mobile-buttons {
    margin-top: 0rem;
    background: #fff;
    padding: 0rem 15px 1rem;
}

.header-mobile-buttons p:first-of-type, .header-mobile-buttons p:first-of-type a  {
    font-family: 'Audiowide', display;
}

.header-mobile-buttons p:first-of-type {
    color: #b2b8cd;
    line-height: 1.4;
    font-size: 2rem;
}

.header-mobile-buttons p:first-of-type a {
    color: #51afd2;
    font-size: 2.6rem;
}

.header-mobile-buttons .btn {
    width: 95%;
    margin: 1rem auto;
    display: block;
    color: white;
}

header p {
    margin: 0;
    padding: 0;
    font-weight: 400;
}

#menueleisten-id .telefonlink {
    align-self: center;  
}

.adresse-top * {
    font-size: 2rem;
    color: #a8a29f;
    font-family: 'Audiowide', display;
} 

.adresse-top p a {
    color: #51afd2;
    font-weight: 400;
    text-transform: uppercase;
}

.header8 .menueleiste nav > ul > li > a {
    text-transform: uppercase;
}

@media (min-width: 1400px) {

.adresse-top {  
    -ms-grid-columns: 1fr 1370px 1fr;
    grid-template-columns: 1fr 1370px 1fr; 
}

}

@media (min-width: 1200px) {

.header8 .menueleiste nav > ul > li > a {
    padding: 0rem 1.2rem 0;
}       

#menueleisten-id .telefonlink:hover {
    color: #b2b8cd;
}

}

@media (min-width: 1200px) and (max-width: 1399px) {
#logo img {
    padding: 2.5rem 0;
}                     
}  

@media (max-width: 1399px) {  
.adresse-top {  
    -ms-grid-columns: 1fr 1140px 1fr;
    grid-template-columns: 1fr 1140px 1fr;  
}

.header8 .menueleiste nav > ul > li > a {
    padding: 0rem 0.5rem;
} 
}

@media (max-width: 1199px) {

.header8 .menueleiste nav > ul > li > a, .menueleiste > .btn {
    font-size: 1.6rem;
} 

.menueleiste > .btn {
    margin-left: 2rem;
    margin-top: 1rem;
    font-weight: 700;
    background-color: white;
    color: #51afd2;;
}

}

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

.header8 .menueleiste nav > ul > li > a {
    padding: 0rem 0.5rem;
}  

.header8 .menueleiste nav > ul > li > a, .menueleiste > .btn {
    font-size: 1.2rem;
}

#logo img {
    padding: 3.2rem 0;
}



.menueleiste > .btn {
    margin-left: .8rem;
} 

#menueleisten-id .telefonlink {
    padding-left: .5rem !important;
}

}

@media (min-width: 992px) and (max-width: 1399px) {
    .menueleiste > .btn {
        margin-right: 0rem !important;
        margin-left: 0rem !important;
        padding: 0 .5rem;    
}
}

@media (min-width: 992px) {

.header8 {
    position: fixed;
    z-index: 1200;
    width: 100%;
    overflow: visible;
    background: #fff;
    border-bottom: 1px solid #dbd9d8;
}

.menueleiste {
    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-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    -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-row-align: end;
    -ms-grid-column-align: end;
    -ms-grid-row-align: end;
    align-self: end;
    -ms-grid-column-align: start;
    justify-self: start;
    height: 60px;
}

.menueleiste > nav > ul.topmenu > li:nth-of-type(1) > a {
    padding-left: 0rem;
}

#menueleisten-id .telefonlink {
    border-left: 1px solid #a8a29f;
    padding-left: 1.5rem;
}

.header8 .menueleiste nav > ul > li > a { 
    border-right: 1px solid #a8a29f;
}

.slider.header8fix {
    margin-top: 12rem;
}

.header8 .header {
    margin-top: 0;
    position: relative;
    overflow-y: visible;
    z-index: 1200;
    padding: 0 1.5rem;
}

.header8 .logo {
    position: inherit;
    opacity: 1;
}   
    
.current-menu-item a, .current-menu-parent a, .current-page-parent a {
    color: #51afd2;
}
    
.header8 .menueleiste nav ul > li:hover {
    cursor: pointer;
}

nav ul li a {
    display: block;
    width: auto;
    margin-top: 0px;
    color: #a8a29f;
}

nav ul li:hover a {
    color: #51afd2;
}     
    
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;
}

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

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

nav ul.sub-menu > li.menu-item-has-children > a:after {
    content: "\e080";
    font-weight: normal;
    font-size: 12px;
    float: right;
    text-decoration: none;
    font-family: 'Glyphicons Halflings';
}

nav ul.sub-menu > li:hover > a {   
    color: #51afd2;
    background: #fff;
}

nav > ul > li > ul > li > ul.sub-menu {
    display: none;
}

nav > ul > li > ul > li:hover > ul.sub-menu {
    display: block;
    position: absolute;
    left: 100%;
    top: 0;
    z-index: 20;
}

.sub-menu .current-menu-item a, nav ul.sub-menu li.current_page_parent a.current-menu-item {
    color: #51afd2;
    background: white;
} 

.sub-menu .current-menu-item > .sub-menu li a {
    background: #51afd2;
    color: #fff;     
}

.sub-menu .current-menu-item:hover > .sub-menu li:hover a {
    background: #fff;
    color: #51afd2;   
}

.header8 .menueleiste nav > ul {
    width: auto;
    max-width: 965px;
    margin: 0 auto;
    padding: 0 0 0 0;
    list-style: none;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: end;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
}

.menueleiste > .btn {
    margin: 0;
    display: inline-table;
    letter-spacing: 1px;
    -ms-flex-item-align: center;
    -ms-grid-row-align: center;
    align-self: center;
    white-space: nowrap;
    margin-left: 1.5rem;
    margin-right: 1.5rem;
    text-transform: uppercase;
    font-size: 1.4rem;
    font-weight: 700;
}


.header8 .menueleiste nav > ul > li {
    display: -ms-grid;
    display: grid;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    position: relative;
    -webkit-transition: all .1s ease-in;
    -o-transition: all .1s ease-in;
    transition: all .1s ease-in;
}

.header8 .menueleiste nav > ul > li > a {
    text-align: center;
    -moz-transition: all .1s ease-in;
    -o-transition: all .1s ease-in;
    -webkit-transition: all .1s ease-in;
    transition: all .1s ease-in;
}

.adresse-top {   
    background: #fff;
    padding: 1rem;
    display: -ms-grid;
    display: grid;     
    -ms-grid-rows: 1fr;
    grid-template-rows: 1fr;    
}
    
.header {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: auto 1fr;
    grid-template-columns: auto 1fr;
    -ms-grid-rows: 1fr;
    grid-template-rows: 1fr;
}
ÿ   
.header8 #logo {
    -ms-grid-column: 1;
    -ms-grid-column-span: 1;
    grid-column: 1 / 2;
    -ms-grid-row: 1;
    -ms-grid-row-span: 1;
    grid-row: 1 / 2;
    height: 100px;
}  

nav {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}  

}

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

.adresse-top {  
    -ms-grid-columns: 1fr 940px 1fr;
    grid-template-columns: 1fr 940px 1fr;  
}    

.adresse-top * {
    font-size: 1.4rem;
}

}

@media (max-width: 991px) {

.sub-menu li a {
    font-size: 1.5rem;
}

.adresse-top {
    display: none; 
}
    
.header #logo {
    display: none;
}

.slider {
    margin-top: 4.5rem;
}
    
}

/*  HEADER ENDE  ---------------------------------------------------------------------------------------------------------------------------   */

/*  MOBIL-HEADER ANFANG  ---------------------------------------------------------------------------------------------------------------------------   */

.derbutton:before {
    content: "\e080";
    font-weight: normal;
    font-size: 12px;
    float: right;
    text-decoration: none;
    font-family: 'Glyphicons Halflings';
}

/*  MOBIL-HEADER ENDE  ---------------------------------------------------------------------------------------------------------------------------   */