@charset "utf-8";

:root {
    font-size: 1rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #333;
    font-family: "Arial", sans-serif;
    font-size: 1rem;
    line-height: 1.8;
    background: #fff;
    font-weight: 400
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

#wrapper {
    position: relative;
    margin: 1rem auto 0;
    overflow: hidden;
    background: transparent;
}

:is(a:link, a:visited, a:active) {
    color: #333;
    text-decoration: none;
    white-space: nowrap;
}

a:hover {
    color: #04470ceb;
}

a.phone {
    color: inherit;
}

a.phone:hover {
    color: #3F3F45;
}

h1,
h2,
h3 {
    text-align: center;
}

h1 {
    font-size: 2.75rem;
    line-height: 120%;
    color: #9C242D;
    margin: 1.5rem 0 1rem;
    font-weight: 400;
}

h2 {
    font-size: 1.375rem;
    line-height: 1.6;
    margin-bottom: 0.625rem;
}

h3 {
    font-size: 2.625rem;
    margin-bottom: 2rem;
    color: #333;
    font-weight: 400;
}

h4 {
    width: 100%;
    display: block;
    font-size: 1.125rem;
    font-weight: 400;
    margin: 0.937rem 0;
    line-height: 1;
    text-align: center;
}

h5 {
    font-weight: 400;
    line-height: 1.1;
    font-size: 2.75rem;
    margin: 1.562rem 0 0;
}

header {
    margin: 1rem 0;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 1.25rem;
}

header img {
    margin-right: 2rem;
}

.image_top {
    border-top: 0.0625rem solid #d2d3d4;
    border-bottom: 0.0625rem solid #d2d3d4;
}

.container {
    max-width: 50rem;
    margin: 0 auto;
    display: block;
    overflow: hidden;
}

article {
    padding: 2rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

article p {
    margin: 0.625rem 0;
    text-align: center;
}

article img.image {
    margin: 1rem 0;
}

article img.center {
    margin: 1.25rem auto 0;
    display: block;
}

.margin {
    margin: 1.562rem 0;
}

.button {
    margin: 2rem 0 1rem;
    display: block;
    width: fit-content;
}

.button_top {
    margin: 2rem auto 0;
    display: block;
    width: fit-content;
}

.flex {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    align-items: flex-start;
    margin-top: 2rem;
}

.col {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 33%;
    padding: 0 0.312rem 1.25rem;
}

.col:hover .circle-yes {
    background-color: #b51f2a;
}

.col:hover h4 {
    color: #b51f2a;
}

.circle-yes {
    margin: 0 auto;
    background-color: #333333;
    height: 2.625rem;
    width: 2.625rem;
    border-radius: 50%;
    color: #ffffff;
    font-size: 1.312rem;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all .3s;
}

.fa-solid,
.fas {
    font-weight: 900;
}

.col p {
    margin: 0 0 1rem;
}

.address {
    font-style: normal;
}

.address p {
    text-align: left;
}

.flex_box {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    column-gap: 1.562rem;
}

.kontakt {
    background: url(../images/fragen.jpg) center center no-repeat;
    background-size: 100%;
    width: 23.75rem;
    height: 11.75rem;
    padding: 3.75rem 0 0 6rem;
    margin: 0 0 1.25rem;
}

.kontakt p {
    text-align: left;
    margin: 0;
}

.kontakt p strong {
    color: #000;
}

footer {
    text-align: center;
    margin-top: 2.5rem;
    padding: 0 0 1.625rem;
}

footer .container {
    padding: 1rem 0 0;
}

footer p {
    margin: 0 0 1rem;
    text-align: left;
}

.social {
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 0.625rem;
}

.instagram {
    background: #3f729b;
}

.youtube {
    background: #cd201f;
}

.facebook {
    background: #3b5998;
}

.xing {
    background: #026466;
}

.linkedin {
    background: #0077b5;
}

.square {
    width: 2.125rem;
    height: 2.125rem;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 0.25rem;
}

.iframe-wrapper {
    width: 30%;
    position: relative;
    padding-bottom: 15%;
    padding-top: 1.875rem;
    height: 0;
    overflow: hidden;
}

.iframe-wrapper iframe,
.iframe-wrapper object,
.iframe-wrapper embed {
    border: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@media only screen and (max-width: 49.9375rem) {
    #wrapper {
        border: none;
        margin: 0 auto;
        padding: 0 1rem;
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }

    body {
        background: url(../images/bg.jpg) top center no-repeat #fff;
        background-size: cover
    }

    a.pre_wrap {
        white-space: pre-wrap
    }

    span {
        white-space: nowrap;
    }

    h1 {
        font-size: 2.5rem;
    }

    h3 {
        margin: 0;
        font-size: 2rem;
    }

    h5 {
        font-size: 2.1rem;
    }

    article {
        padding: 2.187rem 0 0;
    }

    article img.center {
        margin: 0.625rem auto 1rem;
    }

    .flex {
        flex-wrap: wrap;
    }

    .col {
        width: 100%;
        padding: 0;
    }

    .kontakt {
        display: block;
    }

    .margin {
        margin: 1rem 0;
    }

    .iframe-wrapper iframe,
    .iframe-wrapper object,
    .iframe-wrapper embed {
        margin-top: 1.25rem
    }

    .iframe-wrapper {
        width: 100%;
        padding: 20%;
        margin: 0;
    }

    .pdf {
        display: inline-block;
        margin: 1.25rem auto 0;
    }

    footer {
        padding: 1rem;
        margin: 1rem 0;
    }

    footer p {
        margin: 0 0 1rem;
    }

    footer > a:after {
        top: -0.625rem;
    }

    footer a {
        white-space: nowrap
    }
}

@media only screen and (max-width: 46.25rem) {
    iframe {
        margin: 0.625rem 0;
    }
}

@media only screen and (max-width: 43.75rem) {
    h1 {
        font-size: 2.1875rem
    }

    header {
        flex-direction: column;
    }

    footer a {
        white-space: nowrap;
    }
}

@media only screen and (max-width: 36.25rem) {
    body {
        background: url(../images/bg.jpg) top 2.5rem center no-repeat #fff;
        background-size: cover
    }

    header {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    header img {
        margin: 0 0 1rem;
    }

    article {
        padding: 1.25rem 0 0;
    }

    .flex {
        display: block;
    }
}

@media only screen and (max-width: 23.5rem) {

    h1,
    .button_top {
        margin: 1.25rem 0 0;
    }

    h2 {
        font-size: 1.125rem;
    }

    h2 a {
        white-space: normal !important;
    }

    h1 {
        font-size: 1.625rem;
    }

    header {
        margin: 1rem 0 0;
    }

    .kontakt {
        width: 100%;
        padding: 3.75rem 0 0 22vw;
    }

    .kontakt p {
        line-height: 1.4;
    }

    article iframe {
        width: 100%;
        margin: 1rem 0 0;
    }

    .pdf {
        margin: 1.25rem auto 0;
        display: block;
        text-align: center
    }
}

@media only screen and (max-width: 21.875rem) {
    .kontakt {
        padding: 26vw 0 0 22vw;
    }

    .kontakt p {
        font-size: 0.875rem;
    }
}