@font-face {
    font-family:'FontAwesome';
    font-style: normal;
    font-weight: 400;
    src: url("../fonts/fontawesome-webfont.eot") format('eot'),
        url("../fonts/fontawesome-webfont.eot?#iefix") format('embedded-opentype'),
        url("../fonts/fontawesome-webfont.ttf") format('truetype'),
        url("../fonts/fontawesome-webfont.svg#fontawesome") format('svg'),
        url("../fonts/fontawesome-webfont.woff") format('woff'),
        url("../fonts/fontawesome-webfont.woff2") format('woff2');
}

html {
    font-family: ff-dax-pro, sans-serif; 
    color:rgb(0, 235, 116);;
    margin:0;
    padding:0;
    -moz-hyphens: auto;
   -o-hyphens: auto;
   -webkit-hyphens: auto;
   -ms-hyphens: auto;
   hyphens: auto; 
}

body {
    width:100%;
    max-width: 1920px;
    margin:0 auto;
    font-size: 1rem;
    color:rgb(0, 235, 116);
    
}

a, a:hover {
    color:rgb(0, 235, 116);;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

ul {
    list-style-type: none;
    margin:0;
    padding:0;   
}

h1 {
    font-weight: 700;
    font-size: 3.8rem; /*66px*/
    line-height: 4.5rem;    
}

h2 {
    font-size: 1.8rem; /*34px*/
    color:#333333;
    font-weight: 500;
    display: inline-block;
}

main h2::after {
    content: "";
    border-bottom: 5px solid rgb(0, 235, 116);;
    padding-bottom:1em;
    display: block;
    width:6rem;
}


h1 + h2 {
    margin-top:0;
}

h4 {
    font-weight: 400;
    font-size: 1.125rem; /*18px*/
    margin:1rem 0 0 0;    
}

h3 {
    font-size: 1.3rem;  /*24px*/
    font-weight: bold;
}

h4 {
    color:rgb(0, 235, 116);; 
    margin-bottom: 0;
    font-weight: 700;
}

p {
    line-height: 1.8rem;
}

a + p {
    margin-top: 0;
}

h4 + p, h3 + p {
    margin-top:0;
}
div.flex {
    display: flex;
    display: -webkit-flex;
    align-items: center;
    margin: auto;
}

/*Layout Styles - Navigation */

nav.navbar {
    padding: .5rem 3rem 0.5rem 1rem;
}


.navbar, .navbar-collapse {
    display: flex;
    -ms-flex-align: flex-start;
    align-items: flex-start;
}

#navbarNav a {
    color:#fff;
    font-weight: 500;
    font-size: 1.2rem;  /*24px*/
}

#navbarNav a.scroll {
    color: rgb(0, 235, 116);
}

#navbarNav li {
    padding:0 1rem;
}


.navbar-expand-lg .navbar-collapse  {
    justify-content: flex-end;
    padding: 2rem 0 0 0;
}

.navbar-brand img:nth-child(1) {
    display: inline-block;
}
.navbar-brand img:nth-child(2) {
    display: none;
}

nav a.navbar-brand {
    background: url(../Images/logo_lr_weiss.png) no-repeat;
    background-size: contain;
    height: 200px;
    width: 250px;
    transition: 150ms ease;    
}


nav.bg-light {
    transition: 450ms ease;
    background-color: transparent !important;
}

nav.bg-light.scroll {
    background-color: #fff !important;
    -webkit-box-shadow: 2px 2px 15px 0px rgba(10, 10, 10, 0.75);
    -moz-box-shadow: 2px 2px 15px 0px rgba(10, 10, 10, 0.75);
    box-shadow: 2px 2px 15px 0px rgba(10, 10, 10, 0.75);
}



nav a.navbar-brand.small {
    background: url(../Images/logo_lr_schwarz.png) no-repeat;
    background-size: contain;
    height: 100px;
    width: 150px;  
}

/*Layout Styles - Header */

header {
    position: relative;
    width:100%;
    max-width: 100%;  
    color:#fff;
    box-sizing: border-box;
    text-align: center;
    color:#fff;

}

header div {
    height: 100vh;
    overflow: hidden;
}

header div img {
    position: relative;
    top: -25%;
}

header div#text {
    position: absolute;
    width: 100%;
    margin: 35vh auto;
    z-index: 999;
}

header div#text h1{
    margin-bottom: 0;
}

header div#text h2 {
    font-size:1.8rem;
    font-weight: 400;
    color:#fff;
}

header.fixed div:last-child{
    background: url(../Bilder/Header/lawinenwarnung_tafel.gif) no-repeat;
    background-attachment: fixed;
    height: 100vh;
    margin: auto;
    background-size: cover;
    width: 100%;
    background-position-y:bottom;
    background-position-x:center;

}


/*Layout Styles - Impressum */
section#impressum{
    padding-top:10%;
    max-width: 1364px;
    margin: auto;
}

section#impressum > div {
    padding:3rem 0;
}

section#impressum h3 {
    padding-top:2rem;
}

/*Layout Styles - Fixed Icons and Info */


div.jetztanrufen, div.mailsenden {
    position: fixed;
    bottom:10px;
    border-radius: 50%;
    border:4px solid rgb(0, 235, 116);;
    background-color: #fff;
    -webkit-box-shadow: 2px 2px 15px 0px rgba(10, 10, 10, 0.75);
    -moz-box-shadow: 2px 2px 15px 0px rgba(10, 10, 10, 0.75);
    box-shadow: 2px 2px 15px 0px rgba(10, 10, 10, 0.75);
    max-width: 100%;
    width:60px;
    height: 60px; 
    z-index:999;
}


div.jetztanrufen { 
    right:10px;
}

div.mailsenden {
    right:90px;
}

div.jetztanrufen a::before, div.mailsenden a::before  {
    font-family:'FontAwesome';
    display: block;  
    text-align: center;
}
div.jetztanrufen a::before{
    font-size:2.5rem;
    content: "\f095";
}


div.mailsenden a::before {
    font-size:1.8rem;
    content: "\f0e0";
    padding-top:0.3rem;

}

/*Layout Styles - Sections */
section {
    padding:4rem 0;
    color:#333333;
    margin:auto;
}


section#anwendungsbereiche > div.flex > figure  {
    display: flex;
    display: -webkit-flex; 
    align-items: center;
    flex:50%;  

}

section#anwendungsbereiche > div.flex > figure > figcaption {
    flex:50%;
    font-size:1rem;
}

section#anwendungsbereiche > div.flex  >  figure > div {
    position: relative;
    flex:18%;
}


section#anwendungsbereiche {
    max-width: 1364px;
}


section#anwendungsbereiche > div.flex  > figure > div > button.button-ein { 
    background-color: rgba(0, 235, 116, 0.5);
    width: 64%;
    height: 6%;
    position: absolute;
    top: 30.2%;
    border: 0;
    left: 17%;
    }

section#anwendungsbereiche > div.flex  > figure > div > button.button-aus { 
        background-color: rgba(235, 133, 0, 0.5);
        width: 64%;
        height: 6%;
        position: absolute;
        top: 30.2%;
        border: 0;
        left: 17%;
}    

section#anwendungsbereiche  > div.flex > div.aus {
    background: url(../Bilder/Anwendungsbeispiele/warntafel_aus.png) no-repeat;
    background-size: contain;
    height: 600px;
    width: 600px;
}

section#anwendungsbereiche > div.flex > div.an {
    background: url(../Bilder/Anwendungsbeispiele/warntafel_ein.png) no-repeat;
    background-size: contain;
    height: 600px;
    width: 600px;
}


section#anwendungsbereiche > div.uebersicht {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    -webkit-justify-content: space-between;
    padding:6rem 0 2rem 0;
}

section#anwendungsbereiche > div.uebersicht > div {
    flex:0 1 32%;
    margin: 0 0 2rem 0;
}

section#anwendungsbereiche  > div.uebersicht > div > div{
    max-height: 344px;
    overflow:hidden;
}

section#anwendungsbereiche > div.flex > div.uebersicht > div > p {
    padding-right: 2rem;
}

/*Layout Styles - Projektablauf */

section#projektablauf {
    max-width: 1364px;
}

section#projektablauf > div.flex {
    max-width: 1024px;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    -webkit-justify-content: space-between;
    text-align: center;
    padding: 8rem 0;
}

section#projektablauf > div.flex > div {
    flex:0 1 25%;
}

section#projektablauf > div.flex > div.flex10 {
    flex:0 1 8%;
}

section#projektablauf > div.flex > div.flex10 img {
    padding: 2rem 0 0 0;
}

section#projektablauf > div.flex > div  h3{
    text-transform: uppercase;
    margin: 3rem 0;
    letter-spacing: 0.2rem;
    font-weight: 700;
}

section#projektablauf > div.fixed {
    background: url(../Bilder/Team/walfried_planung.jpg) no-repeat;
    background-attachment: fixed;
    height: 100vh;
    margin: auto;
    background-size: cover;
    width: 100%;
    background-position-x: center;
}



/*Layout Styles - Teaser */

section#teaser {
    max-width: 824px;
    background-color: rgb(0, 235, 116);
    padding:1.5rem;
    margin: auto;
    text-align: center;
    margin: 2rem auto 6rem;
}

section#teaser > div {
    border: 2px dotted #333333;
    padding:3rem 1rem;
}

section#teaser > div h3 {
    font-size: 1.8rem; 
    margin-top:0;
}

section#teaser > div p {
    font-size: 1rem;
    padding: 0 0 1rem 0;
}

section#teaser > div a {
    font-size: 1.3rem;
    color: #333333;
    font-weight: 700;
    padding:1rem 3rem;
}

section#teaser > div a.telefon {
    border-right: #333333 2px solid;  
}

section#teaser > div a.telefon::before {
    font-family:'FontAwesome';
    content: "\f095";
    padding-right:1rem;
} 

section#teaser > div a::before {
    font-family:'FontAwesome';
    content: "\f0e0";
    padding-right:1rem;
}

/*Layout Styles - Kompetenzen */
section#kompetenzen > div {
    max-width: 1364px;
    margin: auto;   
}

section#kompetenzen > div.flex {
    max-width: 1224px;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    -webkit-justify-content: space-between;
    text-align: center;
    padding: 4rem 0;
}   

section#kompetenzen > div.flex > div {
    flex:0 1 32%;   
    background-color:#707070;
    color:#fff;
    margin:1rem 0;
    min-height: 8rem;
}

section#kompetenzen > div.flex > div h3 {
    color:#fff;
    margin: 0;
    font-size: 1.5rem; 
    max-width: 80%;    
    margin: auto;
    padding:2rem 0;   
    text-align: center;
   
}

section#kompetenzen > div.flex > div h2::before, 
section#kompetenzen > div.flex > div h2::after {
    border:none;
}

/*Layout Styles - Team */

section#team {
    max-width:1364px;  
    margin-bottom: 12rem;  
}
section#team q {
    font-size: 1.8rem;  /*34px*/
    font-weight: 700;
    line-height: 2.5rem;
}

section#team q strong, section#team > div.flex > div h3 strong {
    color:rgb(0, 235, 116);;  
}

section#team > div.flex > div:first-child p {
    margin-top: 1rem;
}

section#team > div.flex {
    justify-content: space-between;
    -webkit-justify-content: space-between;
    padding:4rem 0;
}

section#team > div.flex > div:first-child{
    flex:0 1 40%;
    padding-right:8rem;
}
section#team > div.flex > div{
    flex:0 1 25%;
}

section#team > div.flex > div h3 {
    margin-bottom:0;
    margin-top:2rem;
}


/*Layout Styles - Footer */
footer {
    background-color:rgb(0, 235, 116);;   
    padding:3rem 0;
    text-align: center;
    color:#333333;
}

footer > div {
    max-width: 1364px;
    margin: auto;
}

footer > div.flex {
    align-items: baseline;
}


footer a, footer a:hover {
    color:#333333;
}

footer > div  > div {
    flex:33.3333%;
}

footer > div > div:nth-child(1) {
    text-align: left;
}

footer > div > div:nth-child(3) {
    text-align: right;
   
}
footer > div > div:nth-child(3) a{
    display: block;
   
}

footer > div > div.socialmedia a{
    font-family:'FontAwesome';
    font-size:1.8rem;
    padding:0 0.2rem;
}

footer > div > div.socialmedia a.instagram::before {  
    content: "\f16d";
}

footer > div > div.socialmedia a.facebook::before {  
    content: "\f082";
}

footer > div > div.socialmedia a.xing::before {  
    content: "\f169";
}

footer > div > div.socialmedia a.linkedin::before {     
    content: "\f08c";
}

/*Media Querie for small Device */  
@media screen and (max-width: 990px) {
    /*Layout Styles - Navigation */

    .navbar-light .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 235, 116, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }

    .navbar-light  button.navbar-toggler {
        border: 0;
    }

    .navbar-expand-lg .navbar-collapse {
        justify-content: center;
        padding: 0;
        background-color: #fff;
        text-align: center;
        height: 100vh;
    }

    #navbarNav.navbar-collapse a {
        color: rgb(0, 235, 116);
    }

    #navbarNav ul {
        padding: 2rem 0 0 0;
    }
    #navbarNav li {
        padding: 1rem 0;
        border-bottom: 1px rgb(0, 235, 116) solid;
    }

    #navbarNav li:last-child{
        border-bottom: 0;
    }
    .navbar a {
        flex:0 1 15%;
        margin-left: 1rem;
    }

    nav.navbar {
        background-color: #fff;
        align-items: center;
        padding: .5rem 0rem;
    }

    nav a.navbar-brand.small, nav a.navbar-brand {
        background: url(../Images/logo_lr_mobile.png) no-repeat;
        background-size: contain;
        height: 50px;
        width: 250px;    
    }


}
@media screen and (max-width: 764px) {   
    section {
        margin:0 1rem;
        padding-top:9rem;
    }
    
    header {
        top:15vh;
        display: flex;
        flex-direction: column;
    }

    header div#text {
        display: flex;
        flex-direction: column-reverse;
        color: rgb(0, 235, 116);
        margin:2rem auto;
        position: unset;
    }

    header div#text h2 {
        color:  #333333;
        font-size: 1.5rem;
        margin-bottom:2rem;
    }


    header.fixed div:last-child{
        background: url(../Bilder/Header/lawinenwarnung_tafel.gif) no-repeat;
        background-attachment: fixed;
        height: 100vh;
        margin: auto;
        background-size: cover;
        width: 100%;
        background-position-y:bottom;
        background-position-x:center;

    }
    
    header div {
        height: auto;
        overflow: hidden;
    }


    div.flex {
        flex-direction: column;
    }    
    
    footer > div  > div {
        flex:90%;
        margin: auto;
    }

    footer > div > div:nth-child(1), footer > div > div:nth-child(2), footer > div > div:nth-child(3) {
        text-align: center;
        padding: 2rem 0 0 0;

    }

    /*Layout Styles - Anwendungsbeispiel */
    
    section#anwendungsbereiche > div.flex > div {
        margin-bottom:2rem;
    }

    section#anwendungsbereiche > div.flex > div {
        width:80%;
        margin: auto;
    }

    section#anwendungsbereiche > div.uebersicht {
       flex-direction: column;
    }
    
    section#anwendungsbereiche > div.uebersicht > div {
        flex:0 1 100%;
    }

    section#anwendungsbereiche  > div.flex > div.aus {
        height: 50vh;
        width: 90vw;
    }
    
    section#anwendungsbereiche > div.flex > div.an {
        height: 50vh;
        width: 90vw;
    }

    section#anwendungsbereiche > div.flex  >  figure > div {
        flex:22%;
    }
    

    /*Layout Styles - Projektablauf */
    section#projektablauf > div.flex > div.flex10 {
        display: none;
    } 

    section#projektablauf > div.flex > div {
        flex: 0 1 100%;
        padding:3rem 2rem;
    }

    section#projektablauf > div.flex > div:last-child {
        flex: 0 1 100%;
        padding:3rem 2rem 0rem 2rem;
    }

    section#projektablauf > div.flex {
        padding:3rem 0;
    }

    /*Layout Styles - Teaser */

    section#teaser {
        width: 90%;
        margin: 0 auto;
    }

    section#teaser > div a {
        font-size: 1.5rem;
        color: #333333;
        font-weight: 700;
        padding:1rem 1rem;
        display: block;
    }
    
    section#teaser > div a.telefon {
        border-right: 0px;
       
    }
    section#teaser > div {
        padding: 3rem 1rem;
    }

    /*Layout Styles - Kompetenzen */
    section#kompetenzen > div.flex > div {
        margin: 1rem auto;
        width: 100%;
        min-height: unset;
    }
    /*Layout Styles - team */
    section#team {
        margin-bottom: 3rem;
    }

    section#team >div.flex {
        text-align: center;
    }

    section#team > div.flex > div {
        margin:2rem 0;
    }

    section#team > div.flex > div:first-child {
        padding-right: 0rem;
    }

    
}   
