@import url(../css/fonts.css);
@import url(../css/animate.css);
@import url(../css/dialog.css);
@import url(../css/head.css);
@import url(../css/opener.css);
@import url(../css/intro.css);
@import url(../css/leistungen.css);
@import url(../css/about.css);
@import url(../css/footer.css);

:root {
     --primary-bg-color: #b60033;
}

body {
    color: #000 !important;
    padding: 0;
    margin: 0;
    font-family: 'Open Sans Cond Regular';
    font-size: 1.1em;
    background-color: #fff !important;
    overflow-x: hidden;
}
h1,
h2,
h3,
h4 {
    font-family: 'Roboto Regular';
    font-weight: 700;
    color: var(--primary-bg-color) !important;
}
h1 {
    font-size: 1.8em;
}
h2 {
    font-size: 1.6em;
}
p {
    font-size: 1.1em;
}
strong {
    font-family: 'Open Sans Bold';
}
a {
    color: var(--primary-bg-color);
    text-decoration: none !important;
   &:hover {
        color: var(--primary-bg-color);
    } 
}
.flex {
    display: flex;
}
.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    width: 100%;
}
.page-content {
    max-width: 1800px;
    margin: 0 auto;
    width: 100%;
    padding: 4em 0 0 0;
}
section {
    padding: 4em 1em;
    display: block;
    border-top: 1px solid #ebeaea;
    width: 90%;
    margin: 0 auto;
    h2 {
        margin-bottom: 0.75em;
    }
}
.backlink-wrapper {
    display: flex;
    width: 100%;
    justify-content: flex-start;
    .backlink {
    text-decoration: none;
    padding: 1em;
    background-color: var(--primary-bg-color);
    color: #fff;
    margin-top: 2em;
    display: block;
    max-width: 15em;
    text-align: center;
    transition: background-color 0.5s ease-out;
    &:hover {
        background-color: var(--primary-bg-color);
    }
    svg {
        margin-right: 1em;
    }
}
}
#spicyknife {
    fill: #444;
    width: 6em;
    margin: 1em 0;
}
.praxis {
    gap: 2em;
    align-items: center;
    img {
        width: 100%;
        max-width: 30em;
        border-radius: 0.5em;
        background-color: var(--primary-bg-color);
        &.verband-logo {
            width: 15em;
        }
    }
    .flex {
        align-items: flex-start;
        gap: 1.5em;
        flex: 1;
    }
    .praxis-img, .team-img-wrapper {
        flex: 1;
    }
    .praxis-img img, .team-img {
        width: 100%;
        max-width: unset;
        height: 30em;
        object-fit: cover;
    }
    .team-img {
        object-position: center 20%;
    }
    .img-caption {
        margin-top: 0.5em;
        font-size: 0.85em;
        color: var(--secondary-text-color, #666);
        text-align: center;
    }
}

@media (max-width: 700px) {
    .praxis {
        display: block;
        .flex {
            display: block;
        }
        .praxis-img, .team-img-wrapper {
            margin-bottom: 1.5em;
        }
        .praxis-img img, .team-img {
            height: 18em;
        }
    }
}
