@import url("reset.css");

img,
figure {
    pointer-events: none;
}

/* Elemente mit der Klasse .notsafe erhalten ihre Pointer-Events zurück*/
.notsafe {
    pointer-events: auto !important;
}

/* hind-300 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Hind';
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/hind-v16-latin-300.woff2') format('woff2'),
        /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
        url('../fonts/hind-v16-latin-300.ttf') format('truetype');
    /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

/* hind-regular - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Hind';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/hind-v16-latin-regular.woff2') format('woff2'),
        /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
        url('../fonts/hind-v16-latin-regular.ttf') format('truetype');
    /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

/* hind-500 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Hind';
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/hind-v16-latin-500.woff2') format('woff2'),
        /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
        url('../fonts/hind-v16-latin-500.ttf') format('truetype');
    /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}


* {
    box-sizing: border-box;
    -o-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
}

.clear {
    clear: both;
}

body {
    font: 300 17px/25px 'Hind';
    color: #3d3d3d
}
a {transition: ease .8s;-o-transition: ease .8s;-webkit-transition: ease .8s;-moz-transition: ease .8s;-ms-transition: ease .8s; }
header {position: relative; background: url(../images/solaranlage-familie.jpg) no-repeat center top / cover; height: 90vh}
nav {position: fixed; left: 0; top: 0; background: #fff; width: 100%; padding: 55px 10% 35px; z-index: 100}
nav ul {display: flex; flex-wrap: nowrap; justify-content: flex-end}
nav ul li {margin: 0 20px; position: relative}
nav ul li:last-child{margin-right: 0;}
nav ul li:after {content: ''; background: #f6950e; width: 5px; height: 5px; position: absolute; right: -22px; top: 8px}
nav ul li:nth-of-type(4):after, nav ul li:last-child:after  {content: none;}
nav ul li:nth-of-type(4) {margin-right: 0;}
nav ul li a {text-decoration: none; color: #3d3d3d; }
nav ul li a:hover {color: #f6950e}
.termin {background:#f6950e; padding: 5px 14px 3px; color: #fff }
.termin:hover {background:#3d3d3d; }

.logo {display: block; position: fixed; left: 10%; top: 5px; z-index: 101}
.logo img {display: block; width: 120px}

.info {position: fixed; top: 0; right: 10%; background: #3d3d3d; color: #fff; padding: 5px 7px 5px 25px; font-size: 14px; z-index: 102}
.info a{position: relative; margin: 0 25px; color: #fff; text-decoration: none;}
.info a:hover {color: #f6950e}
.info a:first-child:before {content: ''; background: url(../images/phone.svg) no-repeat center / cover; width: 12px; height: 12px; position: absolute; left: -25px; top: 5px}
.info a:last-child:before {content: ''; background: url(../images/mail.svg) no-repeat center / cover; width: 15px; height: 10px; position: absolute; left: -30px; top: 5px}

.contact {position: fixed; right: 10px; bottom: 6%; z-index: 102}
.contact a {background: #f6950e; width: 40px; height: 40px; padding: 8px; display: block; margin: 10px 0}
.contact a:hover {background: #3d3d3d;}
.header-flex {position: absolute; left: 10%; bottom: -100px ; width: 80%; display: flex; flex-wrap: nowrap; justify-content: space-between}
.slogan {background: #f6950e; width: 40%; padding: 50px; font-size: 60px; line-height: 65px; color: #fff; font-weight: 500}
.slogan span {color:#3d3d3d }
.text {background:#3d3d3d url(../images/logo-bm-transparent.svg) no-repeat bottom -10px right 0 / 450px; width: 58%; padding: 75px 50px; color: #fff; }
.text .big {font-size: 35px; font-weight: 500;margin-bottom: 15px}
.btn {display: inline-block; padding: 7px 20px 3px; margin-top: 15px; background:#f6950e; color: #fff;text-decoration: none; }
.btn:hover {background: #262626; color:#f6950e }

#ueberuns {padding: 200px 10% 100px}
.grey {background: #f6f6f6; }
.flex {display: flex; flex-wrap: nowrap; justify-content: space-between}
.center {align-items: center;}
.flex-item {width: 50%;}
#ueberuns .grey .flex-item:first-child {padding: 50px 35px}
.flex-item img {object-fit: cover; width: 100%; height: 100%; display: block;}


h1, h2{font-size: 35px; line-height: 40px;margin-bottom: 15px;font-weight: 500;}
h1 span, h2 span {color: #f6950e; font-size: 25px; line-height: 30px;font-weight: 300}

.list li {margin-left: 20px;position: relative}
.list li:before {content: ''; background: url(../images/list.svg) no-repeat center / cover; width: 15px; height: 15px; position: absolute; left: -20px; top: 2px}
#leistungen {background: linear-gradient(120deg, hsl(0, 0%, 17%), hsla(0, 0%, 17%, 0)), url(../images/bg.jpg) no-repeat center right / cover; padding: 100px 10%}
.leistung {width: 19%; background: #555555; color: #fff; padding: 120px 35px 35px }
.leistung .btn {width: 100%; text-align: center;}
.leistung img {width: 80px}

.eyecatcher {background: url(../images/dach-solar.jpg) no-repeat center / cover; background-attachment: fixed; height: 450px}

#team {padding: 100px 10%}
#team .grey .flex-item:last-child {padding: 50px 35px}
.slider img {height: 400px;}

#kontakt {background:#f6950e; color: #fff}
#kontakt h2 span{color: #fff}
#kontakt a {color: #fff; text-decoration: none;}
#kontakt a:hover {color: #3d3d3d}
#kontakt .one {padding: 100px 5% 100px 10%; width: 40%}
#kontakt .two, #kontakt .three { width: 30%;height: 500px }
#kontakt .two img { width: 100%; height: 100%; object-fit: cover; display: block;}

.color {color:#f6950e; text-decoration: none; }
.data {position: fixed; left: 0; bottom: 0; padding: 5px 10px; background: #3d3d3d; font-size: 13px;color: #f6950e }
.data a{color: #fff; text-decoration: none;}

strong {font-weight: 600;}
/*POPUP*/
.style-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: auto;
    width: 60%;
    background: #f6f6f6;
    text-align: left;
    padding: 75px;
    display: none;
    z-index: 1000;
    color: #3d3d3d;
}

.style-popup .thematik-img {
    width: 65%;
    padding-top: 15px;
}


#overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 999;
}

.close-popup {
    border: none;
    background-color: transparent;
    position: absolute;
    right: -20px;
    top: -16px;
}

.close-popup img {
    width: 40px !important;
    height: 40px !important
}


/*POPUP ENDE*/










/*---RESP NAVI-----*/


.burger-nav {
    position: fixed;
    right: 5.5%;
    top: 50px;
    color: #f6950e;
    z-index: 9999;
    -webkit-transform: rotate(-90deg);
    transform: rotate(-90deg);
    font-size: 40px;
    cursor: pointer;
    transition: all .4s ease-in-out;
    display: none;
}

.burger-nav b {
    transition: all .4s ease-in-out;
    float: left;
    margin-left: 0;
    font-style: normal;
    font-weight: 400;
}

.burger-nav-anim {
    top: 40px;
    right: 5.5%;
    color: #fff;
}

.burger-nav-anim b:first-of-type {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

.burger-nav-anim b:nth-of-type(2) {
    opacity: 0;
}

.burger-nav-anim b:last-of-type {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    margin-left: -68%;
}

.full-screen-nav {
    position: fixed;
    z-index: 110;
    width: 100%;
    height: 100vh;
    background: rgba(61, 61, 61, 0.95);
    display: table;
    visibility: hidden;
    transition: all .4s ease-in-out;
    opacity: 0;
    left: 0;
    top: 0;
}

.full-screen-nav ul {
    text-align: center;
    display: table-cell;
    vertical-align: middle;
    width: 100%;
}


.full-screen-nav ul .nav-li,
.full-screen-nav ul li a {
    padding: 10px 20px;
    display: block;
    font-size: 20px;
    color: #fff;
    transition: all .4s ease-in-out;
    text-decoration: none;
}

.full-screen-nav ul .nav-li {
    text-decoration: underline;
    font-style: italic;
}


.fadeIn {
    opacity: 1 !important;
    visibility: visible !important;
}

.fadeUp {
    opacity: 1 !important;
    margin-top: 0 !important;
}

 .full-screen-nav ul li a:hover {color: #f08a00}

/*----RESP NAVI ENDE-----*/

/*COOKIE*/
.clear {
    clear: both;
}

.cookie-page1 {
    transition: visibility 0s, opacity 0.5s linear;
}

.cookie-page2 {
    visibility: hidden;
    float: none;
    width: 100%;
    opacity: 0;
    transition: visibility 0s, opacity 0.5s linear;
}

.cookie-page2.show-page {
    visibility: visible;
    opacity: 1;
    transition: visibility 0s, opacity 0.5s linear;
}

.cookie-page2 strong {
    font-size: 18px;
    margin-bottom: 10px;
}

.cookie-page2 a {
    color: black;
    font-size: 16px;
    line-height: 24px;
    display: inline-block;
    text-decoration: none;
    padding: 10px 10px 10px 30px;
    border-radius: 5px;
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAABmJLR0QA/wD/AP+gvaeTAAAAmUlEQVRIie2VQQ6DIBQFJ72DpEfS3sQe1y66V+5RN5CaqJ8nUDd2EsKG9wYNAfhzkAfggY8xIsqaFVMiWCxILtigAYZfCRzwCpk4VxMsd/4G7jUFW+VSXhHslVcRWOUSlqC43BKo5Vm/6MjOswRPvufcWeFcAUAvlBcJVFb5W0GZxOkCH+bUlW1d06Ml7NDehL0xAm3Gh16ZGZhnhhStKN5+AAAAAElFTkSuQmCC');
    background-size: 12px 12px;
    background-repeat: no-repeat;
    background-position: 10px 16px;
    background-color: #d8d8d8;
}

.cookie-page2 a.back-to-cookie {
    display: block;
    width: 80%;
    max-width: 100px;
    margin: 30px 0;
    background-repeat: no-repeat;
    background-size: 12px 12px;
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAABmJLR0QA/wD/AP+gvaeTAAAAY0lEQVRIie2UMQqAMBAEJ2Lhs3yR+hTt/I4f89JEBBHiQa4QdiCkCMzkigSEeCGVFSbfgD0icskNOIExUj5J3kzeVc7tEWxOAlbuKWZFahH3Q+sdAQOWsg/A4bvfd0I/O/FDMq2DH/bYYYYxAAAAAElFTkSuQmCC');
    background-position: 10px 16px;
    background-color: #d8d8d8
}

.cookie-overlay-dsa.show-cookie {
    display: block;
}

.cookie-overlay-dsa {
    display: none;
    background-color: rgba(0, 0, 0, 0.60);
    position: fixed;
    z-index: 99999999;
    top: 0;
    height: 100vh;
    width: 100vw;
    line-height: 20px;
}

.dsa-cookie-notice-form {
    min-height: 300px;
    width: 500px;
    z-index: 9999999999;
    position: absolute;
    top: 40%;
    left: calc(48% - 250px);
    background-color: white;
    padding: 2%;
}

.dsa-cookie-notice-form fieldset p {
    margin-bottom: 15px;
    text-align: center;
}

.dsa-cookie-notice-form .cookie-item {
    width: 33.33%;
    float: left;
    text-align: center
}

.cookie-overlay-headline {
    text-align: center;
    display: block;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #3d3d3d;
}

.dsa-cookie-notice-form fieldset label {
    cursor: pointer;
    text-align: center;
    color: #555555;
}

#dsa-check-all.dsa-cookie-button {
    background-color: #f6950e;
    margin-top: 15px;
    color: #fff;
}

.dsa-cookie-button {
    display: block;
    margin: 0 50px;
    background-color: #3d3d3d;
    margin-bottom: 5px;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    color: #fff;
}

.dsa-cookie-notice-form input[type="checkbox"] {
    display: none;
}

.dsa-cookie-notice-form input[type="checkbox"] + label::before {
    width: 15px;
    height: 15px;
    border: 2px solid #f6950e;
    background-color: #fff;
    display: block;
    content: "";
    margin: 10px auto;
}

.dsa-cookie-notice-form input[type="checkbox"]:checked + label::before {
    box-shadow: inset 0px 0px 0px 3px #fff;
    background-color: #f6950e;
}

.dsa-cookie-notice-form input[type="checkbox"]:disabled + label::before {
    box-shadow: inset 0px 0px 0px 3px #fff;
    background-color: #f6950e;
}

.cookie-notice-verwendung,
.cookie-notice-link {
    display: inline-block;
    text-align: center;
    margin: 10px auto 0 auto;
    text-decoration: none;
    color: grey;
}

.cookie-end-links {
    width: 80%;
    margin: auto;
    text-align: center
}

@media screen and (max-width: 550px) {
    .dsa-cookie-notice-form {
        width: 86%;
        left: 2.0%;
        padding: 5%;
    }

    .cookie-notice-link {
        margin-top: 25px;
    }
}

@media screen and (max-height: 570px) {
    .dsa-cookie-notice-form {
        top: 20%;
    }
}



/*---------------------------------------
MEDIA Queries | Tablet | Phone
---------------------------------------*/

@media screen and (max-width: 1500px) {
    /*CSS*/
    #leistungen .flex {flex-wrap: wrap;}
    .leistung {width: 32%; margin: 10px 0}
    .leistung:nth-of-type(4),
    .leistung:nth-of-type(5) {width: 49%;}
}

@media screen and (max-width: 1300px) {
    /*CSS*/
    .slider img {height: 100%; object-fit: cover;}
    
}
@media screen and (max-width: 1150px) {
    /*CSS*/
    .header-flex {left: 5%; width: 90%; }
    .slogan, .text {width: 48%;}
    .logo {left: 5%;}
    nav {padding: 55px 5% 35px}
    .info {right: 5%;}
    .leistung {width: 48%; margin: 10px 0}
    .leistung:nth-of-type(5) {width: 100%;}
}

@media screen and (max-width: 930px) {
    /*CSS*/
   
    .header-flex {flex-wrap: wrap;}
    .slogan, .text {width: 100%;}
    .slogan {font-size: 40px; line-height: 45px; padding: 25px; }
    .text {padding: 25px}
    #ueberuns {padding: 200px 5% 100px}
    #leistungen, #team {padding: 100px 5%;}
    .eyecatcher {background-attachment: inherit;}
    #kontakt .one {padding: 80px 5% 80px 5%}
}


@media screen and (max-width: 790px) {
    /*CSS*/
    .flex {flex-wrap: wrap;}
    .flex-item {width: 100%;}
    #ueberuns .flex-item img {height: 250px; object-position: top}
    #kontakt .one{width: 50%;}
    #kontakt .two {width: 50%;}
    #kontakt .three {width: 100%; height: 250px}
    nav {height: 120px}
    nav ul {display: none}    
    .burger-nav {display: block;}
    .termin {display: inline-block!important;}
    .logo {top: 15px}
    header {background-position: right -150px top}
    
}

@media screen and (max-width: 630px) {
    /*CSS*/
    .info {display: none}
    .leistung {padding: 100px 20px 20px}
    #kontakt .one {width: 100%;}
    #kontakt .two {width: 100%;}
}
@media screen and (max-width: 480px) {
    /*CSS*/
    .eyecatcher {height: 300px}
    .header-flex {bottom: -150px}
    .leistung, .leistung:nth-of-type(4) {width: 100%;}
    #ueberuns .grey .flex-item:first-child, #team .grey .flex-item:last-child {padding: 20px}
}

@media screen and (max-width: 400px) {
    /*CSS*/
    .text, #kontakt .two  {display: none;}
    .header-flex {bottom: -50px}  
    #ueberuns {    padding: 100px 5% 100px;  }
    #kontakt .one {width: 100%;}
    header {background-position: right -190px top}
}