
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(./Montserrat-VariableFont_wght.ttf) format('truetype');
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url(./Montserrat-VariableFont_wght.ttf) format('truetype');
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url(./Montserrat-VariableFont_wght.ttf) format('truetype');
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(./Montserrat-VariableFont_wght.ttf) format('truetype');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    height: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: black;
    position: relative;
}

header {
    display: flex;
    flex-direction: column;
    background-color: white;
    top: 0px;
    position: sticky;
    position: -webkit-sticky; /* Safari */
    transition: 1.5s;
    z-index: 100;
}

main {
    top: 0px;
}


.banner {
    height: 12vw;
    background-image: url('../images/background.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    top: 0;
    color: white;
    font-size: 2vw;
    transition: 0.2s;
}

.banner-content {
    width: 100%;
    height: 100%;
    display: flex;
    font-size: 2.2vw;
    object-fit: contain;
}


figure {
    display: inline-block;
    background: white;
    overflow: hidden;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    transition: all .3s ease;
}
figure img {
    display: block;
    margin: 0;
    padding: 0;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    transition: all .3s ease;
}


figure:hover img {
    -webkit-transform: scale(1.2);
    -moz-transform: scale(1.2);
    transform: scale(1.2);
    opacity: .8;
    filter: alpha(opacity=80);
}


.impressum-div {
    max-width: 1080px;
    padding: 15px;
    margin: 0 auto;
}

.impressum-div h2 {
    margin: 20px 0;
    font-size: 17px;
}

.impressum-div h1 {
    margin: 20px 0;
    font-size: 22px;
}

.impressum-div ul {
    float: none;
    margin-bottom: 20px;
}

.impressum-div ul li {
    float: none;
}

ul {
    list-style-type: none;
    margin: auto auto;
}

li {
    float: left;
    color: black;    
    font-weight: 700;
}

li a {
    text-decoration: none;
    padding: 5px;
    display: block;
    font-weight: 700;
    text-align: center;
    color: black;
    transition: 0.5s;
    margin-right:1.5vw
}

.services {
    width: 100% !important;
}

a:hover {
    color: #00A99D;
}

.home-content {
    margin: 0 auto;
    max-width: 100vw;
}

.home-content p {
    padding: 0 5vw;
    font-size: 3vw;

}

.home-content h2 {
    font-size: 3.5vw;

}

.text {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    float: left;
    background-color: white;
    text-align: left;
    padding: 10vw 0;
}

.image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.row {
    display: flex;
    flex-direction: column-reverse;
}

.row-mobile {
    display: flex;
    flex-direction: column;
}

.home-content h2 {
    padding: 1vw;
}

.container {
    display: grid;
    grid-template-columns: repeat(2, 40%);
    width: 100%;
    justify-content: space-evenly;
}

.container div {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0.8vw;
}

.container div p {
    padding: 0;
    font-size: 3vw;
    text-align: center;
}

.container div img {
    width: 10vw;
}

footer {
    display: inline-block;
    position: sticky;
    width: 100%;
    text-align: center;
    font-size: 3vw;
    background-color: whitesmoke;
    padding: 2vw 0;
}

footer a {
    font-weight: bold;
    color: black;
    text-decoration: none;
}

.footer-content {
    display: grid;
    margin: 0 auto;
    padding: 1vw;
    gap: 2vw;
}

.row-spacer {
    height: 2vw;
}

.row-contact {
    height: 70vw !important;
}

.mobile{
    display: none;
}

.link:before {
    content: "";
    display: block;
    height: 120px;
    margin: 60px 0 0;
}


@media screen and (min-width:800px) {

    .mobile{
        display: flex;
    }

    .image {
        width: 50%; 
        float: left;
        margin: 0 auto;
    }

    .banner-content {
        width: 100%;
        height: 100%;
        display: flex;
        font-size: 1.2vw;
    }

    .text {
        width: 50%;
        float: left;
        padding: 0 0;
    }

    .row {
        display: flex;
        flex-direction: row;
        min-height: 30vw;
    }
    
    .row-mobile {
        display: flex;
        flex-direction: row;
    }

    .home-content {
        max-width: 75vw;
        margin: 0 auto;
    }

    .home-content p {
        font-size: 1vw;
    }

    .home-content h2 {
        font-size: 1.5vw;
    }

    .container div p {
        padding: 0;
        font-size: 1vw;
    }

    .container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .container div {
        flex: 0 0 calc(33% - 7vw);
    }


    .container div img {
        width: 4vw;
    }

    .footer-content {
        display: grid;
        max-width: 40vw;
        text-align: center;
        grid-template-columns: 45% 55%;
        margin: 0 auto;
        padding: 20px;
    }

    footer {
        padding: 0.5vw 0;
        font-size: 0.9vw
    }

    .impressum-div h2 {
        margin: 20px 0;
        font-size: 22px;
    }

    .impressum-div h1 {
        margin: 20px 0;
        font-size: 30px;
    }

}