/* Variables */

:root {
    --black: #181009;
    --white: #FFFF;
    --margin-xxxs: 0.4rem;
    --margin-xxs: 0.8rem;
    --margin-xs: 1rem;
    --margin-s: 1.75rem;
    --margin-m: 1.8rem;
    --bold: 600;
}
@media screen and (min-width: 1024px) {
    :root {
        --margin-s: 2rem;
        --margin-m: 2.8rem;
    }
}

/* Fonts */

@font-face {
    font-family: 'Montserrat';
    src:url("../assets/fonts/Montserrat-Regular.woff2") format("woff2"),
        url("../assets/fonts/Montserrat-Regular.woff") format("woff"),
        url("../assets/fonts/Montserrat-Regular.eot") format("eot"),
        url("../assets/fonts/Montserrat-Regular.svg") format("svg");
    font-display: auto;
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: 'Montserrat';
    src:url("../assets/fonts/Montserrat-Bold.woff2") format("woff2"),
        url("../assets/fonts/Montserrat-Bold.woff") format("woff"),
        url("../assets/fonts/Montserrat-Bold.eot") format("eot"),
        url("../assets/fonts/Montserrat-Bold.svg") format("svg");
    font-display: auto;
    font-style: bold;
    font-weight: 600;
    font-display: swap;
}

* {
    font-family: 'Montserrat';
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #0B0904;
    color: var(--black);
    box-sizing: border-box;
} 

.h1 {
    font-weight: 600;
    letter-spacing: 0.02rem;
    font-size: 2.1rem;
    line-height: 2.7rem;
    position: relative;
    margin: 0 0 2rem;
    padding-top: 1.6rem;
}
.h2 {
    font-weight: 600;
    letter-spacing: 0.01rem;
    font-size: 1.6rem;
    line-height: 2.4rem;
    position: relative;
    margin: 0 0 1.6rem;
    padding-top: 1.6rem;
}
.h3 {
    position: relative;
    padding-top: 1.6rem;
}
.p, .h3 {
    font-size: 1.1rem;
    line-height: 1.8rem;
    font-weight: normal;
    letter-spacing: 0.02rem;
    margin: 0;
}
.h1::before,
.h3::before {
    content: "";
    width: 1.8rem;
    height: 6px;
    position: absolute;
    top: 0;
    left: 0;
    background-color: var(--black);
}
.h1.white::before,
.h3.white::before {
    background-color: var(--white);
}


@media screen and (min-width: 1024px) {
    .h1 {
        font-size: 2.6rem;
        line-height: 3.2rem;
    }
    .h2 {
        font-size: 1.75rem;
        line-height: 2.6rem;
        position: relative;
    } 
    .p, .h3 {
        font-size: 1.188rem;
        line-height: 1.88rem;
    }
}
@media screen and (min-width: 1200px) {
    .h1 {
        font-size: 3rem;
        line-height: 3.6rem;
    }
}
@media screen and (min-width: 1600px) {
    .p, .h3 {
        font-size: 1.25rem;
        line-height: 1.9em;
    }
    
}

.white {
    color: var(--white);
}

.bold {
    font-weight: 600;
}
.block {
    display: block;
}
.center {
    text-align: center;
}
.uppercase {
    text-transform: uppercase;
}

.textlink {
    border-bottom: 2px solid var(--black);
    text-decoration: none;
    opacity: 1;
    transition: all ease-in-out 0.2s;
}
.textlink-white {
    border-bottom: 2px solid var(--white);
}
.textlink:hover,
.textlink:focus {
    opacity: 0.8;
}

img {
    width: 100%;
    height: auto;
}

html, body {
    margin: 0;
    padding: 0;
}
body {
    background-color: transparent;
    background-size: 50% 100%;
    background-repeat: repeat-x;
    background-image: linear-gradient(to right, rgba(0,0,0,0.1) 1px, transparent 1px);
    background-position: 50.5%;
}

main {
    padding: 0 1rem;
    margin: 0 auto;
}
main .inner2,
main .inner {
    margin-left: 0;
}

main .outer {
    margin-left: -1rem;
    margin-right: -1rem;
    padding-right: 1rem;
    padding-left: 1rem;
}

.scroll-indicator {
    font-weight: 600;
    letter-spacing: 0.04rem;
    font-size: 0.95rem;
    text-transform: uppercase;
    padding-left: 4.5rem;
    position: relative;
    position: fixed;
    bottom: 5.2rem;
    transform: rotate(-90deg) translateY(-0.4rem);
    display: none;
}
.scroll-indicator::before {
    content: "";
    display: block;
    width: 4rem;
    height: 2px;
    background: var(--black);
    position: absolute;
    top: 9px;
    left: 0;
}

.large-margin-top {
    margin-top: 6rem;
}
.large-padding-top {
    padding-top: 6rem;
}
.large-padding-bottom {
    padding-bottom: 6rem;
}

.medium-margin-top {
    margin-top: 3rem;
}

.small-margin-top {
    margin-top: 1rem;
}


.header {
    margin-top: 6rem;
}
.header .headline {
    max-width: 600px;
}

.col-leistungen {
    padding-top: 4rem;
}
.col-leistungen img {
    width: 100%;
    height: auto;
}
.col-leistungen--content {
    margin-top: 2rem;
    display: block;
}
.col-leistungen--content .p {
    margin-top: 1.4rem;
}

.col-leistungen--content .h2::before {
    content: "";
    width: 1.8rem;
    height: 6px;
    position: absolute;
    top: 6px;
    left: 0;
    background-color: var(--black);
}

.contact .col-contact {
   margin-top: 4rem;
   display: block;
   position: relative;
   padding-top: calc(90% / 4 * 3);
}

.contact .col-contact .col-contact-content {
    display: block;
    background-color: var(--black);
    padding: 1rem 1rem 2rem;
}

.contact-img {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.contact .col-contact a, .contact .col-contact p:not(.opening){
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}
.contact .col-contact a span, .contact .col-contact p span{
    display: inline-block;
}
.contact .col-contact a img , .contact .col-contact p img {
    width: 2rem;
    height: auto;
    margin-right: 1rem;
}

.contact .col-contact h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
 }

 .opening span:first-child {
     margin-right: 1rem;
 }

 .map-contact {
     display: block;
    margin-top: 4rem;
    width: 100%;
    height: 400px;
    margin-top: 2rem;
    background-image: url("../assets/images/map.svg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
 }


 .skip-nav {
    position: absolute;
    top: 1.6rem;
    left: -300%;
    background: var(--white);
    z-index: 4;
    display: block;
    opacity: 0;
    height: 1px; 
    width: 1px;
    overflow: hidden;
 }
 .skip-nav:focus {
    visibility: visible;
    left: 40%;
    opacity: 1;
    height: auto; 
    width: auto;
    overflow: visible;
 }

@media screen and (min-width: 768px) {
    body {
        background-color: transparent;
        background-size: 30% 100%;
        background-repeat: repeat-x;
        background-image: linear-gradient(to right, rgba(0,0,0,0.1) 1px, transparent 1px);
        background-position: center;
    }
    .large-margin-top {
        margin-top: 8rem;
    }
    .medium-margin-top {
        margin-top: 4rem;
    }
    .large-padding-top {
        padding-top: 8rem;
    }
    .large-padding-bottom {
        padding-bottom: 8rem;
    }
    .header {
        margin-top: 8rem;
    }
    .col-leistungen {
        display: flex;
        align-items: center;
    }
    .header .headline {
        margin-bottom: 8rem;
    }
    .col-leistungen--content {
        margin-top: 0;
    }
    .col-leistungen img {
        width: 40%;
        margin-right: 2rem;
    }

    .contact .col-contact {
        margin-top: 0;
        display: block;
        position: relative;
        padding-top:240px;
     }
     
     .contact .col-contact .col-contact-content {
         display: block;
         background-color: var(--black);
         padding: 1rem 1rem 2rem;
     }  
    
    .contact-img {
        width: 380px;
        height: auto;
    }
    .contact {
        display: flex;
        flex-direction: row-reverse;
        align-items: stretch;
    }
    .map-contact {
        width: 50%;
        height: auto;
    }
    .col-contact {
        width: 40%;
        margin-left: 5%;
    }
    .contact .col-contact {
        padding-top:150px;
     }
    
    .contact-img {
        width: 290px;
    }
    
}


@media screen and (min-width: 1024px) {
    body {
        background-color: transparent;
        background-size: 25% 100%;
        background-repeat: repeat-x;
        background-image: linear-gradient(to right, rgba(0,0,0,0.1) 1px, transparent 1px);
        background-position: center;
    }
    .large-margin-top {
        margin-top: 10rem;
    }
    .medium-margin-top {
        margin-top: 5rem;
    }
    
    main {
        padding: 0 2rem;
        margin: 0 auto;
    }
    main .inner {
        margin-left: 10rem;
    }
    main .outer {
        margin-left: -2rem;
        margin-right: -2rem;
        padding-right: 2rem;
        padding-left: 2rem;
    }
    .scroll-indicator {
        display: inline-block;
        opacity: 1;
        transition: all ease-in-out 0.2s;
    }
    .scroll-indicator.invisible {
        opacity: 0;
        visibility: hidden;
    }
    .header {
        margin-top: 11rem;
    }
    .header .headline {
        margin-bottom: 10rem;
    }
    .col-leistungen {
        align-items: flex-start;
    }
    .col-leistungen--content {
        margin-top: 3rem;
    }
    .col-leistungen--content {
        width: 55%;
    }
    .col-leistungen img {
        width: 30%;
        margin-right: 3rem;
        margin-left: auto;
    }

    .col-leistungen:nth-child(odd) {
        flex-direction: row-reverse;
    }
    .col-leistungen:nth-child(odd) img{
        margin-left: 3rem;
        margin-right: auto;
    }
    .col-leistungen {
       margin-bottom: 8rem;
    }
    .contact {
        display: flex;
        flex-direction: row-reverse;
        align-items: stretch;
    }
    .map-contact {
        width: 50%;
        height: auto;
    }
    .col-contact {
        width: 40%;
        margin-left: 5%;
    }
    .contact .col-contact {
        padding-top:150px;
     }
    
    .contact-img {
        width: 290px;
    }
}
@media screen and (min-width: 1440px) {
    main .inner2 {
        margin-left: 10rem;
    }
    .header {
        margin-top: 12rem;
    }
    .header .headline {
        margin-bottom: 8rem;
    }
    .col-leistungen {
        margin-bottom: 10rem;
     }
    .col-leistungen--content {
        width: 45%;
        margin-top: 5rem;
    }
    .col-leistungen img {
        width: 26%;
        margin-right: 5rem;
    }
    .col-leistungen:nth-child(odd) img{
        margin-left: 5rem;
        margin-right: auto;
    }
    .map-contact {
        width: calc(60% - 6rem);
    }
    .col-contact {
        width: 40%;
        margin-left: 6rem;
    }
    .contact .col-contact {
        padding-top:220px;
     }
     .contact .col-contact .col-contact-content {
        padding: 2rem 2rem 3rem;
     }
    
    .contact-img {
        width: 380px;
    }
}
@media screen and (min-width: 1600px) {
    body {
        background-color: transparent;
        background-size: 16% 100%;
        background-repeat: repeat-x;
        background-image: linear-gradient(to right, rgba(0,0,0,0.1) 1px, transparent 1px);
        background-position: center;
    }
    main .inner-small {
        margin-left: auto;
        margin-right: auto;
        max-width: 1200px;
    }
    .header {
        margin-top: 14rem;
    }
    .header .headline {
        margin-bottom: 10rem;
    }

     .col-leistungen--content {
        margin-top: 7rem;
    }
}
@media screen and (min-width: 1800px) {
    .col-leistungen--content {
        width: 38%;
        margin-top: 6rem;
    }
    .col-leistungen {
        margin-bottom: 13rem;
     }
    .col-leistungen img {
        width: 26%;
        margin-right: 6rem;
    }
    .col-leistungen:nth-child(odd) img{
        margin-left: 6rem;
        margin-right: auto;
    }
     .col-leistungen--content {
        margin-top: 7rem;
    }
}


