@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 700;
    font-stretch: 100%;
    src: url(/assets/fonts/opensans.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

body {
    background-color: rgba(186, 143, 42, 0.07);
    width: 100%;
    height: 100%;
    margin: 0;
    overflow-y: scroll;
    position: relative;
    font-family: 'Open Sans', sans-serif;
    font-weight: normal;
    font-variation-settings: 'wght' 450;
}

.content {
    width: 80%;
    margin: auto;
}

header {
    width: 70%;
    margin-top: 5rem;
    margin-bottom: 2rem;
}

.logo {
    margin-bottom: -8rem;
    cursor: pointer;
}

.sub_header {
    margin-left: 15rem;
}

.slogan_container p {
    margin: 0;
}

.slogan {
    margin-bottom: .3rem!important;
    font-weight: bold;
    font-variation-settings: 'wght' 716;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 1.2rem;
}

.sub_slogan {
    letter-spacing: 2px;
    font-size: 1rem;
    font-weight: normal;
    font-variation-settings: 'wght' 362;
}

main {
    display: flex;
    justify-content: space-evenly;
    width: 80%;
    margin: auto;
}

main.legal {
    width: 90%;
}

.image_container {
    display: flex;
    justify-content: right;
    width: 45%;
    height: fit-content;
    filter: drop-shadow(rgba(186, 143, 42, 0.08) -5px 3px 8px);
    padding-left: 2rem;
    padding-right: 1rem
}

.image_container img {
    border-radius: 1rem;
    height: 50%;
    width: 100%;
}

.content_container {
    width: 55%;
    height: 100%;
    padding: 1rem;
    margin-right: auto;
    margin-left: auto;
    word-break: normal;
}

.content_container.legal {
    width: 70%;
}

nav {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

nav a {
    float: left;
    display: block;
    color: rgba(67, 74, 22, 0.89);
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 1.5rem;
}

nav a:hover {
    color: rgba(67, 74, 22, 1);
}

nav .icon {
    display: none;
}

.active_nav_item {
    width: min-content;
    text-align: center;
}

.sub_nav {
    color: rgba(67, 74, 22, 0.9);
    letter-spacing: 1px;
    font-weight: 700;
    font-variation-settings: 'wght' 700;
    font-size: 1.4rem;
    display: flex;
    justify-content: space-evenly;
}

.sub_nav a {
    cursor: pointer;
}

h2 {
    margin-top: 1.5rem;
    color: rgba(67, 74, 22, 0.9);
    letter-spacing: 1px;
    font-weight: 700;
    font-variation-settings: 'wght' 700;
    font-size: 1.4rem;
}

p {
    letter-spacing: 1px;
    font-weight: 350;
    font-variation-settings: 'wght' 322;
    font-size: 1.2rem;
}

.person {
    font-weight: 370;
    font-variation-settings: 'wght' 352;
    margin-bottom: 0;
}

.person_title {
    margin-top: 0;
    font-size: 1.1rem;
}

.contact {
    margin-top: 1rem;
    padding: .5rem 1rem;
    background: rgba(67, 74, 22, 0.9);
    color: rgb(255, 254, 245);
    font-size: 2rem;
    border-radius: 22px;
    border: none;
    font-weight: 600;
    font-variation-settings: 'wght' 652;
    cursor: pointer;
}

footer {
    margin-top: 2rem;
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-evenly;
    width: 100%;
    cursor: pointer;
}

footer a {
    color: rgba(67, 74, 22, 0.9);
    text-decoration: none;
}

li {
    font-weight: 300;
    font-variation-settings: 'wght' 300;
    font-style: normal;
    font-size: 1.2rem;
    list-style: none;
}

li:before {
    content: "•\00a0";
}

.invisible {
    opacity: 0;
}

p a {
    color: rgba(186,143,42, 0.94)
}

/* phone */
@media only screen and (max-width: 768px) {
    .content {
        width: 95%;
    }

    header {
        margin-top: 2rem;
        margin-right: auto;
        margin-left: auto;
        width: 90%;
        height: 20%;
    }

    .logo {
        width: 100%;
        height: 100%;
    }

    .sub_header {
        width: 100%;
        margin: 0;
    }

    .logo_underline {
        margin-left: 15vw;
        padding-top: 5em;
    }

    .logo_underline svg {
        width: 70vw;
    }

    .slogan_container {
        text-align: center;
    }

    .slogan_container p {
        font-size: 2.4vw;
    }

    main {
        width: 95%;
        margin: auto;
        display: block;
    }

    .image_container {
        width: 80%;
        height: auto;
    }

    .image_container img {
        width: 100%;
    }

    .content_container {
        width: 90%;
    }

    .content_container.legal {
        width: 100%;
    }

    nav.mobile {
        display: block!important;
    }

    nav a:not(:first-child) {
        display: none
    }

    nav a.icon {
        float: right;
        display: block;
    }

    nav.mobile {
        position: relative
    }

    nav.mobile .icon {
        position: absolute;
        right: 0;
        top: 0;
    }

    nav.mobile a {
        float: none;
        display: block;
        text-align: left;
    }

    .contact {
        vertical-align: middle;
    }

    .sub_nav {
        margin-top: 1.5rem;
        font-size: .8rem;
    }

    #angebot-text {
        margin-top: 0;
    }

    .legal_text {
        font-size: 1rem;
        word-break: break-all;
    }
}

/* tablet */
@media only screen and (min-width: 769px) and (max-width: 1024px) {
    .content {
        width: 95%;
        margin: auto;
    }

    header {
        margin-top: 2rem;
    }

    .logo {
        margin-bottom: -6rem;
    }

    .sub_header {
        margin-left: 8rem;
    }

    .logo_underline svg {
        width: 50vw;
    }

    main {
        width: 95%;
    }
}

/* bigger tablets, smaller laptops and desktops todo: fix */
@media only screen and (min-width: 1025px) and (max-width: 1600px) {
    .content {
        width: 90%;
        margin: auto;
    }

    header {
        width: 90%;
        margin: 3rem auto 3rem auto;
    }

    .sub_header {
        margin-left: 10rem;
    }

    .logo_underline {
        margin-left: 3rem;
        padding-top: 3vh;
    }

    .logo_underline svg {
        width: 90%;
    }

    .slogan_container {
        margin-left: 3rem;
    }

    main {
        width: 100%;
    }

    .image_container {
        padding: 0;
        width: 40%;
    }

    .image_container img {
        width: 30vw;
    }
}

/*nav {*/
/*    width: 80%;*/
/*    display: flex;*/
/*    justify-content: space-between;*/
/*}*/

/*nav a {*/
/*    float: left;*/
/*    display: block;*/
/*    color: rgba(67, 74, 22, 0.89);*/
/*    text-align: center;*/
/*    padding: 14px 16px;*/
/*    text-decoration: none;*/
/*    font-size: 1.5rem;*/
/*}*/

/*nav a:hover {*/
/*    color: black;*/
/*}*/

/*nav a.active {*/
/*    color: white;*/
/*}*/

/*nav .icon {*/
/*    display: none;*/
/*}*/

/*@media screen and (max-width: 768px) {*/
/*    nav.mobile {*/
/*        display: block!important;*/
/*    }*/

/*    nav a:not(:first-child) {*/
/*        display: none*/
/*    }*/

/*    nav a.icon {*/
/*        float: right;*/
/*        display: block;*/
/*    }*/

/*    nav.mobile {*/
/*        position: relative*/
/*    }*/

/*    nav.mobile .icon {*/
/*        position: absolute;*/
/*        right: 0;*/
/*        top: 0;*/
/*    }*/

/*    nav.mobile a {*/
/*        float: none;*/
/*        display: block;*/
/*        text-align: left;*/
/*    }*/
/*}*/