@import url("reset.css");

:root {
    --text: #000;
    --beige-bg: #eee8e8;
    --gruen: #70b436;
    --braun: #422917;
}

/* lato-300 - latin */
@font-face {
    font-display: swap;
    font-family: 'Lato';
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/lato-v23-latin-300.eot');
    /* IE9 Compat Modes */
    src: local(''),
        url('../fonts/lato-v23-latin-300.eot?#iefix') format('embedded-opentype'),
        /* IE6-IE8 */
        url('../fonts/lato-v23-latin-300.woff2') format('woff2'),
        /* Super Modern Browsers */
        url('../fonts/lato-v23-latin-300.woff') format('woff'),
        /* Modern Browsers */
        url('../fonts/lato-v23-latin-300.ttf') format('truetype'),
        /* Safari, Android, iOS */
        url('../fonts/lato-v23-latin-300.svg#Lato') format('svg');
    /* Legacy iOS */
}

/* lato-regular - latin */
@font-face {
    font-display: swap;
    font-family: 'Lato';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/lato-v23-latin-regular.eot');
    /* IE9 Compat Modes */
    src: local(''),
        url('../fonts/lato-v23-latin-regular.eot?#iefix') format('embedded-opentype'),
        /* IE6-IE8 */
        url('../fonts/lato-v23-latin-regular.woff2') format('woff2'),
        /* Super Modern Browsers */
        url('../fonts/lato-v23-latin-regular.woff') format('woff'),
        /* Modern Browsers */
        url('../fonts/lato-v23-latin-regular.ttf') format('truetype'),
        /* Safari, Android, iOS */
        url('../fonts/lato-v23-latin-regular.svg#Lato') format('svg');
    /* Legacy iOS */
}

/* lato-700 - latin */
@font-face {
    font-display: swap;
    font-family: 'Lato';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/lato-v23-latin-700.eot');
    /* IE9 Compat Modes */
    src: local(''),
        url('../fonts/lato-v23-latin-700.eot?#iefix') format('embedded-opentype'),
        /* IE6-IE8 */
        url('../fonts/lato-v23-latin-700.woff2') format('woff2'),
        /* Super Modern Browsers */
        url('../fonts/lato-v23-latin-700.woff') format('woff'),
        /* Modern Browsers */
        url('../fonts/lato-v23-latin-700.ttf') format('truetype'),
        /* Safari, Android, iOS */
        url('../fonts/lato-v23-latin-700.svg#Lato') format('svg');
    /* Legacy iOS */
}


* {
    box-sizing: border-box;
}

body {
    width: 100%;
    overflow-x: hidden;
    font: 300 16px/160% 'Lato', sans-serif;
    color: var(--text);
}

header {
    display: flex;
    padding: 0 5% 7% 10%;
    justify-content: space-between;
    align-items: flex-end;
    height: 100vh;
    min-height: 300px;
    width: calc(100% - 320px);
    background-image: url('../images/treppenbau-juergen-stelter.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center left;
    background-attachment: fixed;
}

b, strong{
    font-weight: 700;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 110%;
    text-transform: uppercase;
}

.subheadline {
    font-weight: 300;
    font-size: 90%;
    text-transform: none;
}

h1 {
    font-size: 330%;
    margin-bottom: 25px;
    color: #fff;
}

/* .slogan {
    
} */

.siegel {
    position: relative;
    bottom: -7%;
}

h2 {
    font-size: 250%;
    margin-bottom: 20px;
}

h3 {
    font-size: 150%;
    margin-bottom: 15px;
}

h4 {
    font-size: 180%;
    margin-bottom: 12px;
}

h5 {
    font-size: 150%;
    margin-bottom: 10px;
}

h6 {
    font-size: 120%;
    margin-bottom: 5px;
}

p {
    margin-bottom: 16px;
}

a {
    text-decoration: none;
    transition: 0.3s;
}

a:hover {
    opacity: 0.5;
}

.dsa-secure-plugin a:hover {
    opacity: 1;
}

nav {
    z-index: 999;
    position: fixed;
    top: 0;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
}

p a {
    color: var(--gruen)
}

nav span {
    font-size: 50px;
    position: fixed;
    top: 15px;
    right: 15px;
    padding: 12px;
}

.logo {
    position: relative;
    top: 10%;
}

.overlay {
    height: 100%;
    width: 320px;
    position: fixed;
    z-index: 9999;
    right: 0;
    top: 0;
    background-color: #fff;
    overflow-x: hidden;
    transition: 0.5s;
}

.overlay-contect {
    text-align: left;
    padding: 0 10%;
    position: absolute;
    bottom: 20px;
}

.overlay-contect p {
    padding: 12px 12px 0 12px;
    color: var(--braun);
    font-weight: 700;
}

.overlay-contect p a {
    padding: 0;
    color: var(--braun);
    font-weight: 700;
    font-size: 100%;
    text-transform: none;
}

.overlay-content {
    position: relative;
    padding: 0 10%;
    top: 30%;
    transform: translate(0, -50%);
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    text-align: left;
}

.overlay a {
    text-transform: uppercase;
    padding: 12px;
    text-decoration: none;
    font-size: 140%;
    font-weight: 700;
    color: var(--braun);
    display: block;
}

.overlay .closebtn {
    position: absolute;
    display: none;
    top: 15px;
    right: 15px;
    font-size: 60px;
}

#impressum .closebtn {
    display: block;
}

#impressum ul {
    margin-bottom: 20px;
    margin-left: 15px;
    list-style: square;   
}

#impressum ul li::marker{
    color: var(--gruen)
}

#impressum ul li a {
    color: var(--gruen);
}

.overlay .closebtn.displayNone {
    display: none;
}

.overlay .closebtn.displayClose {
    display: inline;
}

.small-dialog {
    background: white;
    padding: 20px 30px;
    text-align: left;
    max-width: 400px;
    margin: 40px auto;
    position: relative;
}

.my-mfp-zoom-in .zoom-anim-dialog {
    opacity: 0;

    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;



    -webkit-transform: scale(0.8);
    -moz-transform: scale(0.8);
    -ms-transform: scale(0.8);
    -o-transform: scale(0.8);
    transform: scale(0.8);
}

.my-mfp-zoom-in.mfp-ready .zoom-anim-dialog {
    opacity: 1;

    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
}

.my-mfp-zoom-in.mfp-removing .zoom-anim-dialog {
    -webkit-transform: scale(0.8);
    -moz-transform: scale(0.8);
    -ms-transform: scale(0.8);
    -o-transform: scale(0.8);
    transform: scale(0.8);

    opacity: 0;
}

.my-mfp-zoom-in.mfp-bg {
    opacity: 0;
    -webkit-transition: opacity 0.3s ease-out;
    -moz-transition: opacity 0.3s ease-out;
    -o-transition: opacity 0.3s ease-out;
    transition: opacity 0.3s ease-out;
}

.my-mfp-zoom-in.mfp-ready.mfp-bg {
    opacity: 0.8;
}

.my-mfp-zoom-in.mfp-removing.mfp-bg {
    opacity: 0;
}

article {
    width: 100%;
    padding: 150px 5%;
}

/* .content {
    
} */

.ueber-uns,
.design-guide,
.inspiration {
    background-color: var(--beige-bg);
}

.ueber-uns .content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.ueber-uns .content {
    align-items: flex-start;
}

.col {
    width: 48%;
}

.ueber-uns .col img {
    width: 100%;
}

.colmod-l {
    padding-left: 5%;
}

.button,
.dse {
    display: inline-block;
    text-transform: uppercase;
    text-decoration: none;
    color: #fff;
    background-color: var(--gruen);
    padding: 7px 20px;
    font-weight: 700;
    border-radius: 2px;
    margin-top: 20px;
}

.dse {
    position: fixed;
    width: 280px;
    text-align: center;
    bottom: 0;
    left: 5%;
    font-size: 12px;
    background-color: var(--braun);
}

.dse a {
    color: #fff;

}

article.treppenbau {
    padding: 0;
}

.treppenbau {
    background-image: url('../images/holztreppe.jpg');
    background-size: cover;
    background-position: center right;
    color: #fff;
}

.treppenbau h2 {
    color: #fff;
}

.treppenbau .content {
    width: 90%;
    background-color: #000;
    padding: 150px 9%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.treppenbau .content .col:first-of-type {
    border-right: 1px solid #fff;
    padding-right: 5%;
}

/*--------Accordion -------*/

.accordion .panel {
    margin: 0 auto;
    height: 0;
    overflow: hidden;
    line-height: 1.4;
    padding: 0 20px;
    box-sizing: border-box;
    transition: all 0.5s;
}

.accordion input:checked~.panel {
    height: auto;
    color: #fff;
    padding: 10px 0 0 60px;
    transition: all 0.5s;
}

.accordion label {
    hyphens: auto;
    font-size: 24px;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
    color: #fff;
    font-weight: 400;
    box-sizing: border-box;
    z-index: 100;
}

.leistungspunkt {
    margin-bottom: 30px;
}

.leistungspunkt:last-of-type {
    margin-bottom: 0;
}

.accordion label .subheadline {
    display: inline-block;
    margin-left: 60px;
}

.accordion label::before {
    font-size: 20px;
    content: '+';
    background-color: var(--gruen);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    margin-right: 20px;
}

.accordion input:checked~label::before {
    content: '-';
    background-color: var(--braun);
}

.accordion input {
    display: none;
}

.accordion label span {
    display: inline-block;
    margin-bottom: 0;
    width: 80%;
}

.accordion .panel p {
    margin-bottom: 0;
}

.accordion input:checked+label:before {
    transition: 0.5s;
}

.intro {
    border-bottom: 1px solid #000;
    padding-bottom: 50px;
    margin-bottom: 50px;
}

.topics {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.topic {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 30px;
}

.topic:last-of-type {
    margin-bottom: 0;
}

.text,
.topic img {
    width: 48%;
}

.parallax {
    width: 100%;
    background-image: url('../images/vater-und-kind-treppe.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 80vh;
    min-height: 500px;
}

.inspiration .content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
}

.text-col {
    width: 25%;
}

.slider-col {
    width: 71%;
}

.responsive img {
    width: 100%;
    padding-right: 10px;
}

.slick-prev,
.slick-next {
    top: auto;
    bottom: -50px;
}

.slick-prev {
    left: 0;
}

.slick-next {
    left: 50px;
}

.slick-prev::before {
    display: block;
    content: '';
    background-image: url('../images/arrow-prev.png');
    background-size: contain;
    height: 40px;
    width: 40px;
}

.slick-next::before {
    display: block;
    content: '';
    background-image: url('../images/arrow-next.png');
    background-size: contain;
    height: 40px;
    width: 40px;
}

footer {
    background-color: #000;
    color: #fff;
}

footer .content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

footer .col {
    width: 48%;
    margin-top: 150px;
    margin-bottom: 150px;
}

footer .col:first-of-type {
    border-right: 1px solid #fff;
    padding-left: 5%;
    padding-right: 4%;
}

footer .col:nth-of-type(2) {
    padding-right: 5%;
}

footer iframe.maps {
    width: 100%;
    height: 780px;
    background-color: #000;
}

footer ul {
    max-width: 480px;
    margin-bottom: 50px;
    margin-top: 50px;
}

footer ul li {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 24px;
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}

footer ul li a {
    display: inline-block;
    margin-left: 40px;
    color: #fff;
}

.responsive-show {
    display: none;
}

.seo .treppenbau ul li::marker{
    color: var(--gruen);
}

.seo .treppenbau ul{
    list-style: square;
    margin-left: 15px;
}

.seo .treppenbau ul li {
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.seo p i, .seo ul li i {
    font-weight: 700;
    font-style: normal;
}

.seo .treppenbau p i, .seo .treppenbau ul li i {
    color: var(--gruen);
    font-weight: 700;
    font-style: normal;
}

.lp-headline {
    margin-top: 40px;
}

.holztreppe-innen header{
    background-image: linear-gradient(45deg, rgba(66, 41, 23,5),rgba(66, 41, 23,0)), url('../images/holztreppe-innen-header.jpg');
}

@media screen and (hover:none) {

    .parallax,
    header {
        background-attachment: scroll;
    }
}

@media screen and (max-width: 1250px) {

    .text,
    .topic img {
        width: 100%;
    }

    .topic img {
        margin-bottom: 20px;
    }

    .topic {
        align-items: flex-start;
    }

    .text-col {
        width: 35%;
    }

    .slider-col {
        width: 61%;
    }
}

@media screen and (max-width: 1024px) {
    nav span {
        display: block;
    }

    .desktop-nav {
        display: none;
    }

    .overlay {
        width: 0;
    }

    .overlay .closebtn {
        display: inline;
    }

    header,
    .col,
    .text-col,
    .slider-col {
        width: 100%;
    }

    .colmod-l {
        padding-left: 0;
    }

    .col:first-of-type {
        margin-bottom: 30px;
    }

    article {
        padding: 100px 10%;
    }

    .treppenbau .content .col:first-of-type {
        border-right: none;
        border-bottom: 1px solid #fff;
        padding-right: 0;
        padding-bottom: 20px;
    }

    .treppenbau .content {
        padding: 100px 10%;
    }

    footer .col {
        width: 100%;
        margin-bottom: 0;
    }

    footer .col:first-of-type {
        border-right: none;
        padding-left: 10%;
        padding-right: 10%;
    }

    footer .col:nth-of-type(2) {
        margin-top: 0;
        padding-left: 10%;
        padding-right: 10%;
        padding-bottom: 50px;
    }

    footer iframe.maps {
        height: 800px;
    }

    .responsive-show {
        margin-top: 50px;
        display: block;
    }

    footer .col {
        margin-top: 100px;
    }
}

@media screen and (max-width: 768px) {
    * {
        hyphens: auto;
    }

    h1 {
        font-size: 200%;
    }

    h2 {
        font-size: 150%;
    }

    .siegel {
        max-width: 120px;
        bottom: -3%;
    }

    .accordion label,
    footer ul li {
        font-size: 18px;
    }

    footer ul li a {
        margin-left: 13px;
    }

    .accordion label .subheadline {
        margin-left: 50px;
    }

    header {
        background-position: center left -350px;
    }

    .holztreppe-innen header {
        background-position: center;
    }

    .accordion label::before {
        font-size: 16px;
        width: 30px;
        height: 30px;
    }

    footer ul li img {
        width: 30px;
        height: 30px;
    }

    .accordion input:checked~.panel {
        padding: 10px 0 20px 4px;
    }

    .slick-prev::before,
    .slick-next::before {
        height: 30px;
        width: 30px;
    }

    .slick-next {
        left: 40px;
    }

    footer iframe.maps {
        height: 750px;
        background-color: #000;
    }
}

@media screen and (max-width: 768px) and (orientation: landscape) {
    header {
        background-position: center left;
    }

    .holztreppe-innen header {
        background-position: center;
    }
}

@media screen and (max-width: 500px) {
    header {
        flex-direction: column;
        justify-content: flex-end;
    }

    .slogan {
        position: relative;
        bottom: -5%;
    }

    .treppenbau .content {
        width: 100%;
    }

    article.treppenbau {
        padding-bottom: 200px;
        background-size: 500px;
        background-repeat: no-repeat;
        background-position: center bottom;
    }
}

/* When the height of the screen is less than 450 pixels, change the font-size of the links and position the close button again, so they don't overlap */
@media screen and (max-height: 450px) {
    .overlay a {
        font-size: 20px
    }

    .overlay .closebtn {
        font-size: 40px;
        top: 15px;
        right: 35px;
    }
}









