@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-x: hidden;
    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 {
    height: 20rem;
    margin-bottom: -8rem;
    cursor: pointer;
}

.logo svg {
    max-width: 100%;
    height: auto;
}

.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;
}

.active_nav_item svg {
    max-width: 100%;
    height: auto;
}

.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;
}

h1, 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.3rem;
}

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: 0.8rem;
}

.contact {
    margin-top: 1rem;
    padding: .4rem .7rem;
    background: rgba(67, 74, 22, 0.9);
    color: rgb(255, 254, 245);
    font-size: 1.1rem;
    border-radius: 10px;
    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)
}

ul {
    padding-left: 0;
    line-height: 1.5;
}

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

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

    .logo {
        height: auto;
        margin-bottom: 0.5rem;
    }

    .logo svg {
        width: 300px;
        max-width: 100%;
        height: auto;
    }

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

    .logo_underline svg {
        width: 300px;
    }

    .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 {
        width: 95%;
        margin: 2rem auto;
    }

    .logo {
        height: auto;
        margin-bottom: 0.5rem;
    }

    .logo svg {
        width: 480px;
        max-width: 100%;
        height: auto;
    }

    .sub_header {
        margin-left: 2rem;
    }

    .logo_underline svg {
        width: 400px;
    }

    .slogan_container {
        margin-left: 0;
    }

    .slogan {
        font-size: 1.1rem;
    }

    main {
        width: 95%;
        margin: auto;
        display: flex;
        justify-content: space-between;
    }

    main.legal {
        width: 95%;
        display: block;
    }

    .image_container {
        width: 40%;
        height: fit-content;
        padding: 0;
        filter: drop-shadow(rgba(186, 143, 42, 0.08) -5px 3px 8px);
    }

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

    .content_container {
        width: 56%;
        height: auto;
        padding: 0 1rem;
    }

    .content_container.legal {
        width: 100%;
        padding: 0;
    }

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

    nav a {
        padding: 10px 8px;
        font-size: 1.1rem;
    }

    .sub_nav {
        font-size: 1.1rem;
    }

    h1, h2 {
        font-size: 1.3rem;
        margin-top: 1rem;
    }

    p {
        font-size: 1.05rem;
    }

    .contact {
        font-size: 1.4rem;
        padding: .5rem 1rem;
    }
}

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

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

    .logo {
        height: auto;
        margin-bottom: 0.5rem;
    }

    .logo svg {
        width: 560px;
        max-width: 100%;
        height: auto;
    }

    .sub_header {
        margin-left: 4rem;
    }

    .logo_underline svg {
        width: 900px;
    }

    .slogan_container {
        margin-left: 0;
    }

    main {
        width: 100%;
    }

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

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

    .content_container {
        width: 55%;
    }

    nav a {
        padding: 12px 12px;
        font-size: 1.3rem;
    }
}
