/* Stylesheet for XXX */
/* fonts */
@font-face {
    font-family: bold;
    src: url("../fonts/opensans-bold.woff");
}

@font-face {
    font-family: regular;
    src: url("../fonts/opensans-regular.woff");
}

/* colors.scss */

* {
    letter-spacing: -0.01em;
}

div.fader-wrap {
    position: relative;
    height: 975px;
}

div.fader-wrap div.fader {
    position: relative;
}

div.fader-wrap div.fader > div {
    position: absolute;
    top: 0;
    width: 100%;
}

div.fader-wrap div.fader > div img {
    width: 100%;
}

div.fader-wrap #fader-nav {
    width: 100%;
    margin: 0 auto;
    position: relative;
    top: 510px;
}

div.fader-wrap #fader-nav div {
    width: 100px;
    height: 90px;
    cursor: pointer;
    margin-bottom: 40px;
}

div.fader-wrap #fader-nav div.go-left {
    background: url(../img/prev.svg) no-repeat center center;
    float: left;
}

div.fader-wrap #fader-nav div.go-right {
    background: url(../img/next.svg) no-repeat center center;
    float: right;
}

div.fader-wrap div.text {
    position: absolute;
    bottom: 9px;
    background: rgba(70, 150, 43, 0.75);
    width: 486px;
    padding: 30px;
    left: 390px;
}

div.fader-wrap div.text h2 {
    color: white;
    margin: 0;
    text-transform: uppercase;
    font-size: 35px;
    letter-spacing: 0.1em;
    font-family: bold, sans-serif;
    text-shadow: 0 0 12px rgba(0, 0, 0, 0.9);
    margin-bottom: 12px;
}

div.fader-wrap div.text ul li {
    list-style-type: none;
    font-size: 20px;
    color: white;
    text-shadow: 0 0 12px rgba(0, 0, 0, 0.9);
    letter-spacing: 0.05em;
    background: url(../img/list-style-type.svg) no-repeat left 9px;
    background-size: 19px 13px;
    padding-left: 30px;
}

.fader-neu {
    overflow: hidden;
    position: relative;
}

.fader-neu .wide-box {
    position: relative;
    left: 0;
    -webkit-transition: left 0.3s ease-in-out;
    -moz-transition: left 0.3s ease-in-out;
    transition: left 0.3s ease-in-out;
}

.fader-neu .wide-box img {
    width: 100vw;
    float: left;
}

.fader-neu .wide-box.second-img {
    left: -100vw;
}

.fader-neu .wide-box.third-img {
    left: -200vw;
}

.fader-neu .wide-box.fourth-img {
    left: -300vw;
}

.fader-neu .wide-box.fifth-img {
    left: -400vw;
}

.fader-neu .wide-box.sixth-img {
    left: -500vw;
}

.fader-neu .wide-box.two-imgs {
    width: 200vw;
}

.fader-neu .wide-box.three-imgs {
    width: 300vw;
}

.fader-neu .wide-box.four-imgs {
    width: 400vw;
}

.fader-neu .wide-box.five-imgs {
    width: 500vw;
}

.fader-neu .wide-box.six-imgs {
    width: 600vw;
}

.fader-neu .fader-nav {
    width: 100%;
    margin: 0 auto;
    position: absolute;
    top: 50%;
}

.fader-neu .fader-nav div {
    width: 100px;
    height: 90px;
    cursor: pointer;
    margin-bottom: 40px;
}

.fader-neu .fader-nav div.go-left {
    background: url(../img/prev.svg) no-repeat center center;
    float: left;
}

.fader-neu .fader-nav div.go-right {
    background: url(../img/next.svg) no-repeat center center;
    float: right;
}

.fader-neu div.text {
    position: absolute;
    bottom: 0px;
    background: rgba(70, 150, 43, 0.7);
    width: 486px;
    padding: 30px;
    left: 390px;
}

.fader-neu div.text h2 {
    color: white;
    margin: 0;
    text-transform: uppercase;
    font-size: 35px;
    letter-spacing: 0.1em;
    font-family: bold, sans-serif;
    text-shadow: 0 0 12px rgba(0, 0, 0, 0.9);
    margin-bottom: 12px;
    line-height: 40px;
}

.fader-neu div.text ul li {
    list-style-type: none;
    font-size: 20px;
    color: white;
    text-shadow: 0 0 12px rgba(0, 0, 0, 0.9);
    letter-spacing: 0.05em;
    background: url(../img/list-style-type.svg) no-repeat left 9px;
    background-size: 19px 13px;
    padding-left: 30px;
}

div.text.mobile {
    bottom: 0px;
    background: rgba(70, 150, 43, 0.75);
    padding: 30px;
    left: 390px;
}

div.text.mobile h2 {
    color: white;
    margin: 0;
    text-transform: uppercase;
    font-size: 28px;
    letter-spacing: 0.1em;
    font-family: bold, sans-serif;
    text-shadow: 0 0 12px rgba(0, 0, 0, 0.9);
    margin-bottom: 12px;
}

div.text.mobile ul li {
    list-style-type: none;
    font-size: 18px;
    color: white;
    text-shadow: 0 0 12px rgba(0, 0, 0, 0.9);
    letter-spacing: 0.05em;
    background: url(../img/list-style-type.svg) no-repeat left 9px;
    background-size: 19px 13px;
    padding-left: 30px;
}

button#mobile {
    display: none;
}

@media screen and (max-width: 1270px) {
    header nav {
        width: 93% !important;
    }

    div.wrapper {
        max-width: 900px !important;
    }

    section#dienstleistungen article {
        max-width: 210px !important;
    }

    section#dienstleistungen article div.layer {
        height: 210px !important;
    }

    section#dienstleistungen article p {
        font-size: 16px !important;
    }

    .fader-neu div.text h2 {
        font-size: 28px !important;
    }

    .fader-neu div.text ul li {
        font-size: 18px !important;
    }

    .fader-neu div.text {
        left: 12% !important;
    }

    section#kontakt form {
        width: 500px !important;
    }

    section#kontakt form input, section#kontakt form textarea {
        max-width: 700px !important;
        width: 100% !important;
    }

    section#kontakt form input[type="submit"] {
        width: auto !important;
    }

    section#kontakt {
        background: url(../img/kontakt.jpg) no-repeat top center !important;
        background-size: cover;
    }

    section#impressum p {
        max-width: 435px !important;
    }
}

@media screen and (max-width: 960px) {
    section#home img {
        max-width: 500px !important;
    }

    section#home {
        background: url(../img/baumpflege-deppner-bg-header.jpg) no-repeat center !important;
        background-size: cover !important;
    }

    section#dienstleistungen article {
        max-width: 213px !important;
    }

    section#dienstleistungen article div.layer {
        height: 213px !important;
    }

    section#dienstleistungen article p {
        font-size: 17px !important;
    }

    article#entsorgung, article#pflege {
        margin-right: 0 !important;
    }

    article#schnitt {
        margin-right: 20px !important;
    }

    div.wrapper {
        max-width: 680px !important;
    }

    section#kontakt div.wrapper > p, section#kontakt form {
        float: none !important;
    }

    section#kontakt div.wrapper, section#impressum div.wrapper {
        max-width: 531px !important;
    }

    section#impressum p {
        max-width: 531px !important;
    }
}

@media screen and (max-width: 710px) {
    button#mobile {
        display: block !important;
        background: url(../img/menue.svg) no-repeat center center;
        background-size: 40px auto;
        cursor: pointer;
        border: none;
        width: 40px;
        height: 40px;
    }

    button#mobile.close {
        position: fixed;
        z-index: 2;
    }

    button#mobile:focus {
        outline: none;
    }

    nav ul {
        display: none;
        background: rgba(70, 149, 43, 0.65);
        position: fixed;
        top: 0;
        left: 0;
        padding-top: 60px;
        width: 100%;
        padding-left: 25px;
        height: 100%;
    }

    nav ul li {
        display: list-item !important;
        list-style-type: none;
    }

    nav ul li a {
        display: block;
        padding: 10px 0;
    }

    section#dienstleistungen article {
        max-width: 215px !important;
    }

    section#dienstleistungen article div.layer {
        height: 215px !important;
    }

    section#dienstleistungen article p {
        font-size: 17px !important;
    }

    article#entsorgung, article#pflege {
        margin-right: 20px !important;
    }

    article#schnitt {
        margin-right: 20px !important;
    }

    article#baumfaellung, article#schnitt, article#pflege {
        margin-right: 0 !important;
    }

    div.wrapper {
        max-width: 450px !important;
    }

    .fader-neu .fader-nav div {
        height: 60px !important;
    }

    .fader-neu .fader-nav {
        top: 40% !important;
    }
}

@media screen and (max-width: 560px) {
    section#home img {
        max-width: 300px !important;
    }

    div.text.mobile h2 {
        font-size: 23px !important;
    }

    div.text.mobile ul li {
        font-size: 16px !important;
    }

    section#kontakt div.wrapper, section#impressum div.wrapper {
        max-width: 300px !important;
    }

    section#kontakt div.wrapper > p {
        font-size: 16px !important;
        line-height: 21px !important;
    }

    section#kontakt form {
        width: 300px !important;
    }

    section#kontakt form input, section#kontakt form textarea {
        width: 90% !important;
    }

    section#impressum p {
        max-width: 300px !important;
    }

    section#impressum p {
        font-size: 16px !important;
        line-height: 20px !important;
    }
}

@media screen and (max-width: 500px) {
    section#dienstleistungen article {
        max-width: 290px !important;
        height: 135px !important;
        overflow: hidden !important;
        margin-right: 15px !important;
        margin-left: 15px !important;
        float: none !important;
    }

    div.wrapper {
        max-width: 320px !important;
    }

    h1 {
        font-size: 28px !important;
        text-align: center !important;
    }
}

@media screen and (max-width: 340px) {
    div.text.mobile h2 {
        font-size: 20px !important;
        line-height: 26px;
    }

    div.text.mobile ul li {
        background: url(../img/list-style-type.svg) no-repeat left 9px !important;
        background-size: 14px 7px !important;
        padding-left: 19px !important;
    }
}

body, ul, li, a {
    font-family: regular, sans-serif;
    font-size: 17px;
    padding: 0;
    margin: 0;
    text-decoration: none;
}

h1 {
    color: white;
    font-size: 35px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: normal;
    font-family: bold, sans-serif;
    margin-top: 70px;
}

header {
    position: absolute;
    width: 100%;
}

header nav {
    width: 1200px;
    margin: 20px auto;
}

header nav ul li {
    display: inline-block;
}

header nav ul li a {
    color: white;
    font-family: bold, sans-serif;
    font-size: 20px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding-right: 30px;
}

section#home {
    background: url(../img/baumpflege-deppner-bg-header.jpg) no-repeat bottom center;
    background-size: 100% auto;
    height: 100vh;
    text-align: center;
    display: -webkit-flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-align-items: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

section#home img {
    max-width: 700px;
    margin: 0 auto;
}

div.wrapper {
    max-width: 1120px;
    margin: 0 auto;
    overflow: hidden;
}

section#dienstleistungen div.wrapper {
    padding-bottom: 50px;
}

section#dienstleistungen article {
    position: relative;
    max-width: 265px;
    text-align: center;
    display: -webkit-flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-align-items: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    cursor: pointer;
    margin-right: 20px;
    float: left;
    margin-bottom: 20px;
}

section#dienstleistungen article img {
    width: 100%;
}

section#dienstleistungen article div.layer {
    background: #46952b;
    opacity: .75;
    width: 100%;
    height: 265px;
    position: absolute;
    -webkit-transition: opacity 0.2s ease-in-out;
    -moz-transition: opacity 0.2s ease-in-out;
    transition: opacity 0.2s ease-in-out;
}

section#dienstleistungen article p {
    font-size: 23px;
    text-transform: uppercase;
    color: white;
    letter-spacing: 0;
    position: absolute;
    margin: 0 auto;
    z-index: 10;
    width: 100%;
    font-family: bold, sans-serif;
    text-shadow: 0 0 12px rgba(0, 0, 0, 0.9);
    text-decoration: none;
    padding: 20px 0;
}

section#dienstleistungen article:hover div.layer {
    opacity: 0;
    -webkit-transition: opacity 0.2s ease-in-out;
    -moz-transition: opacity 0.2s ease-in-out;
    transition: opacity 0.2s ease-in-out;
}

section#dienstleistungen article:hover p {
    text-decoration: underline;
}

section#dienstleistungen article#schnitt, section#dienstleistungen article#holzbau {
    margin-right: 0;
}

section#kontakt {
    background: url(../img/kontakt.jpg) no-repeat top center;
    margin-top: -10px;
    overflow: hidden;
    padding-bottom: 70px;
    background-size: 100vw;
}

section#kontakt h1 {
    color: white;
}

section#kontakt form {
    width: 730px;
    float: left;
    margin-right: 20px;
}

section#kontakt form p {
    color: white;
    font-family: bold, sans-serif;
    font-size: 15px;
    letter-spacing: 0.05em;
    margin: 5px 0 0;
}

section#kontakt form input, section#kontakt form textarea {
    width: 700px;
    padding: 10px 15px;
    border: none;
}

section#kontakt form input[type="submit"] {
    width: auto;
    background: white;
    font-size: 16px;
    color: black;
    font-family: bold, sans-serif;
    padding: 7px 15px;
    margin-top: 15px;
}

section#kontakt form textarea {
    height: 150px;
}

section#kontakt div.wrapper > p {
    color: white;
    font-size: 20px;
    float: right;
    line-height: 23px;
}

section#kontakt div.wrapper > p span {
    display: block;
    margin-bottom: 12px;
}

section#kontakt div.wrapper > p:first-of-type {
    float: none;
}

section#impressum {
	background: url(../img/hg-impressum.jpg) no-repeat bottom center;
    padding-bottom: 100px;
	background-size: cover;
}

section#impressum p {
    font-size: 17px;
    text-align: justify;
    max-width: 540px;
    color: white;
}

section#impressum p:first-of-type {
    float: left;
}

section#impressum p:last-of-type {
    float: right;
}

strong {
    font-weight: normal;
    font-family: bold, sans-serif;
}

img#collage {
    width: 100%;
}

.back {
    display: inline-block;
    background: green;
    color: white;
    padding: 10px 20px;
}

section#dienstleistungen {
    background: url(../img/hg-dienstleistungen.jpg) no-repeat center center;
    background-size: cover;
}
