:root {
    --main-light-color: 255, 255, 255;
    --main-dark-color: 49, 49, 48;
    --main-highlight-color: 202, 179, 155;

    --main-font-stack: 'Encode Sans', Arial, Helvetica ;
    --sub-font-stack: 'Figtree', Arial, Helvetica ;

    --header-height: 120px;
}

/* ab 1040px */

@media screen and (min-width: 60em) {

    --header-height: 150px;

}


html {
    font-size: 62.5%;
    line-height: 1.4;
    scroll-behavior: smooth;
    position: relative;
}

body {
    background: rgb(var(--main-light-color));
    color: rgb(var(--main-dark-color));
    /* System fonts stack */
    font-family: var(--main-font-stack);
    font-size: 1.6rem;
    font-weight: 400;
    overflow-x: hidden;
    scroll-behavior: smooth;
    min-height: 100vh;
    margin: 0;
}

body.impressum {
    background: rgb(var(--main-dark-color));
    color: rgb(var(--main-light-color));
}

body.impressum .content-wrapper {
    margin: 60px 0 20px;
}

body.impressum .content {
    width: 89%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

body.impressum h1 {
    color: rgb(var(--main-light-color));
    margin: 0 0 60px;
}

body.impressum h3 {
    color: rgb(var(--main-light-color));
}

body.impressum .copyright-wrapper {
    width: 89%;
    margin: 0 auto;
    text-align: center;
    padding: 0 0 20px;
}

body.impressum .copyright-wrapper a {
    color: rgb(var(--main-light-color));
}

.header-wrapper {
    width: 100%;
}

header {
    position: relative;
    width: 89%;
    max-width: 1680px;
    margin: 0 auto;
    height: var(--header-height);
}

.header-bg {
    display: flex;
    justify-content: center;
    align-items: center;
}

.content-wrapper {
    height: 100%;
    width: 100%;
    overflow: hidden;
    margin-top: 70px;
}

.content {
    width: 89%;
    max-width: 1680px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

table {
    font-family: var(--main-font-stack);
    font-size: 1.6rem;
    font-weight: 400;
    border-spacing: 0 5px;
}

table td:first-child {

}

h1 {
    font-family: var(--sub-font-stack);
    font-size: 3.6rem;
    font-weight: 800;
    color: rgb(var(--main-dark-color));
    text-transform: uppercase;
    margin: 0 0 20px;
    line-height: 1;
}

h2 {
    font-family: var(--sub-font-stack);
    font-size: 2.4rem;
    font-weight: 700;
    color: rgb(var(--main-dark-color));
    margin: 0 0 20px;
    line-height: 1;
}

h3 {
    font-family: var(--main-font-stack);
    font-size: 1.7rem;
    font-weight: 700;
    color: rgb(var(--main-dark-color));
    margin: 0 0 20px;
}

h1 span {
    color: rgb(var(--main-highlight-color));
}

img {
    display: block;
    height: auto;
    width: 100%;
}

.logo {
    position: absolute;
    left: 0;
    top: 25px;
    width: 180px;
    height: 120px;
    z-index: 2;
    margin: 0 auto;
}

.button-back {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 62px;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgb(var(--main-light-color));
    border-radius: 50%;
}

.button-back img {
    width: 23px;
    height: 23px;
}

.button-cta {
    background: rgb(var(--main-highlight-color));
    color: rgb(var(--main-light-color));
    border: 2px solid rgb(var(--main-highlight-color));
    border-radius: 35px;
    cursor: pointer;
    display: inline-block;
    font-size: 2rem;
    line-height: 1.2;
    padding: 20px 35px;
    margin-top: 25px;
    position: relative;
    text-decoration: none;
    text-transform: none;
    transition: all .1s linear;
    text-align: center;
    font-family: var(--main-font-stack);
    font-weight: 600;
}

.info-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    padding: 0 0 80px;
}

.info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 60px;
}

.picture {
    position: relative;
}

.picture:after {
    content: '';
    background: url('/images/signet.svg') no-repeat center center;
    background-size: cover;
    position: absolute;
    bottom: -40px;
    left: -90px;
    width: 270px;
    height: 200px;
}

.picture img {
    max-width: 450px;
}

.button {
    font-family: var(--main-font-stack);
    background: rgba(var(--main-dark-color));
    border: 1px solid rgba(var(--main-dark-color));
    color: rgba(var(--main-dark-color));
    max-width: 200px;
    display: inline-block;
    border-radius: 20px;
    font-size: 1.8rem;
    padding: 20px 66px;
    text-decoration: none;
    text-transform: none;
    cursor: pointer;
}

.footer-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    width: 89%;
    max-width: 1680px;
    margin: 0 auto;
    padding: 0 0 20px;
}

.footer {
    font-weight: 400;
    font-size: 1.6rem;
    color: rgba(var(--main-dark-color));
    font-family: var(--main-font-stack);
    line-height: 1.4;
}

.footer-box {
    margin: 0 0 35px;
}

.footer-box-contact {
    display: flex;
    flex-direction: column;
}

.footer-box-contact a {
    font-weight: 700;
    text-decoration: none;
    color: rgba(var(--main-dark-color));
}


.footer-box-phone {
    color: rgba(var(--main-dark-color));
    text-decoration: none;
}

.copyright-wrapper a {
    color: rgba(var(--main-dark-color));
    font-weight: 400;
    font-size: 1.4rem;
    font-family: var(--main-font-stack);
    text-decoration: none;
}

.copyright-wrapper a:hover {
    text-decoration: underline;
}


/* -- Impressum -- */


/* ab 1040px */

@media screen and (min-width: 65em) {

    body {
        font-size: 1.8rem;
    }

    body.impressum .content-wrapper {
        margin: 0 0 20px;
    }

    body.impressum .content {
        width: 48%;
    }

    body.impressum h1 {
        margin: 0 0 100px;
    }

    body.impressum .copyright-wrapper {
        text-align: right;
    }

    .content-wrapper {
        margin-top: 0;
    }

    .content {
        flex-direction: initial;
        justify-content: space-between;
    }

    table {
        font-size: 1.8rem;
    }

    h1 {
        font-size: 6rem;
        margin: 0 0 15px;
    }

    h2 {
        font-size: 4.2rem;
    }

    h3 {
        font-size: 2.2rem;
    }

    .logo {
        top: initial;
        bottom: -100px;
        left: -55px;
        width: 220px;
        height: 150px;
    }

    .button-back {
        bottom: -50px;
    }

    .info-wrapper {
        flex-direction: initial;
        justify-content: space-between;
        padding: 0 0 75px;
    }

    .info {
        width: 42%;
        margin: 160px 0 0;
    }

    .picture {
        display: flex;
        justify-content: flex-end;
        width: 58%;
        height: 660px;
    }

    .picture img {
        max-width: 720px;
    }

    .picture:after {
        width: 600px;
        height: 450px;
        left: -60px;
    }

    .footer-wrapper {
        flex-direction: initial;
        align-items: flex-end;
        padding: 0 0 60px;
    }

    .footer-box {
        margin: 0 0 10px;
    }

    .footer-box:last-child {
        margin: 0;
    }

    .footer-box-contact {
        flex-direction: initial;
        gap: 30px;
    }

}


/* ab 1664px */

@media screen and (min-width: 104em) {

    .button-cta {
        margin-top: 0;
    }

    .info-content {
        display: flex;
        align-items: flex-start;
        gap: 40px;
    }

}
