@charset "utf-8";

@font-face {
    font-display: swap;
    font-family: 'Just Another Hand';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/just-another-hand-v19-latin-regular.eot');
    src: url('../fonts/just-another-hand-v19-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/just-another-hand-v19-latin-regular.woff2') format('woff2'), url('../fonts/just-another-hand-v19-latin-regular.woff') format('woff'), url('../fonts/just-another-hand-v19-latin-regular.ttf') format('truetype'), url('../fonts/just-another-hand-v19-latin-regular.svg#JustAnotherHand') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'PT Sans';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/pt-sans-v17-latin-regular.eot');
    src: url('../fonts/pt-sans-v17-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/pt-sans-v17-latin-regular.woff2') format('woff2'), url('../fonts/pt-sans-v17-latin-regular.woff') format('woff'), url('../fonts/pt-sans-v17-latin-regular.ttf') format('truetype'), url('../fonts/pt-sans-v17-latin-regular.svg#PTSans') format('svg');
}

:root {
    font-size: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #3F3F45;
    font-family: 'PT Sans', Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.3;
    background: #fff url('../images/bg.jpg') top center no-repeat;
    font-weight: 400
}

img {
    max-width: 100%;
    height: auto;
}

#wrapper {
    position: relative;
    max-width: 50rem;
    margin: 1rem auto 0;
    overflow: hidden;
    background: transparent;
}

:is(a:link, a:visited, a:active) {
    color: #16470f;
    text-decoration: none;
    white-space: nowrap;
}

span {
    white-space: nowrap;
}

a:hover {
    color: #ae2328;
}

a.site {
    color: #fff;
}

a.phone {
    color: inherit;
}

a.phone:hover {
    color: #3F3F45;
}

header {
    margin: 1rem 0;
}

header img {
    margin-right: 2rem;
}

article {
    padding: 4.5rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

article p {
    margin: 10px 0;
    text-align: center;
}

article img.image {
    margin: 1rem 0;
}

h1,
h3,
h4 {
    font-family: 'Just Another Hand', Arial, cursive;
    font-weight: 400;
}

h5 {
    color: #000;
    font-size: .937rem;
}

h2 {
    font-size: 1.375rem;
}

h1,
h2,
h3 {
    text-align: center;
}

h1 {
    font-size: 2.75rem;
    line-height: 120%;
    color: #9C242D;
    margin: 1.5rem 0 1rem;
}

h3,
h4 {
    font-size: 2.625rem;
    margin-bottom: 1rem;
    color: #333;
}

h4 {
    margin: 1rem 0 0;
    line-height: 1.2;
}

article img.center {
    margin: 10px auto;
    display: block;
}

.margin {
    margin: 25px 0;
}

.button {
    margin: 2rem 0 1rem;
    display: block;
    width: fit-content;
}

.button_top {
    margin: 2rem auto 0;
    display: block;
    width: fit-content;
}

article .section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 1rem 0;
    color: #747474
}

.section .wir_bieten_box {
    width: 31%;
    margin: 0 0 1.5rem;
}

.section .wir_bieten_box>p:first-of-type {
    color: #747474;
}

.section i {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.address {
    font-style: normal;
}

.address p {
    text-align: left;
}

.kontakt {
    background: url('../images/fragen.jpg') center center no-repeat;
    background-size: 100%;
    width: 21.875rem;
    height: 10.5rem;
    padding: 4rem 0 0 6rem;
    margin-right: 1.25rem
}

.kontakt p {
    text-align: left;
    margin: 0;
}

.kontakt p strong {
    color: #000;
}

.flex {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

footer {
    border-top: .062rem solid #4b4c4d;
    background: #6E7070;
    padding: 1rem 1rem .5rem;
    color: #fff;
    text-align: center;
    margin-top: 2.5rem;
}

.fab {
    font-size: 2.187rem;
}

.fa-instagram-square {
    color: #3f729b;
    position: relative;
    z-index: 1;
}

footer p {
    margin: 0 0 .625rem;
}

footer>a {
    position: relative;
    margin: 0 .312rem;
}

footer>a:after {
    content: "";
    position: absolute;
    width: 1.5rem;
    height: 1.625rem;
    border-radius: .312rem;
    background: #fff;
    top: -.5rem;
    left: .062rem;
    z-index: 0;
}

.fab {
    font-size: 1.875rem;
}

.fa-youtube-square {
    color: #cd201f;
    position: relative;
    z-index: 1;
}

.fa-facebook-square {
    color: #3b5998;
    position: relative;
    z-index: 1;
}

.fa-xing-square {
    color: #026466;
    position: relative;
    z-index: 1;
}

.fa-linkedin {
    color: #0077b5;
    position: relative;
    z-index: 1;
}

footer p a:hover {
    color: #fff;
}

.iframe-wrapper {
    margin: 0 3rem 0 1.875rem;
}

.icons_hover i {
    border: 1px solid #333333;
    background: #333333;
    height: 2.75rem;
    width: 2.75rem;
    line-height: 1.9;
    text-align: center;
    border-radius: 50%;
    color: #ffffff;
    font-size: 1.375rem;
    transition: all .3s;
}

.icons_hover:hover i {
    background: #b21f2a;
    border: 1px solid #b21f2a;
}

.icons_hover:hover p {
    color: #b21f2a;
}

.icons_hover p {
    font-size: 1.125rem;
    color: #333
}

.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.937rem) {
    #wrapper {
        border: none;
        margin: 0 auto;
        padding: 0 1rem;
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }

    h1 {
        font-size: 40px
    }

    h3 {
        margin: 0;
    }

    article {
        padding: 4.062rem 0 0;
    }

    article .section {
        flex-wrap: wrap;
        justify-content: space-around;
        margin: 1rem 0 0;
    }

    article img.center {
        margin: 10px auto 1rem;
    }

    a.wrap {
        white-space: normal;
    }

    footer a {
        white-space: nowrap
    }

    .kontakt {
        display: block;
    }

    .margin {
        margin: 16px 0;
    }

    .kontakt p {
        text-align: left;
        margin-top: -1.25rem;
    }

    .iframe-wrapper iframe,
    .iframe-wrapper object,
    .iframe-wrapper embed {
        margin-top: 1.25rem
    }

    .iframe-wrapper {
        width: 100%;
        padding: 20%;
        margin: 0;
    }

    .flex {
        display: block;
    }

    .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: -.625rem;
    }
}

@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
    }

    h4 {
        font-size: 2.125rem
    }

    article .section .wir_bieten_box {
        width: 45%;
    }

    article .section .wir_bieten_box br {
        display: none
    }

    footer a {
        white-space: nowrap;
    }
}

@media only screen and (max-width: 36.25rem) {
    body {
        background: url(../images/bg.jpg) top center no-repeat #fff;
        background-size: cover;
    }

    header {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    header img {
        margin: 0 0 1rem;
    }

    .flex {
        display: block;
    }

    article {
        padding: 1rem 0;
    }
}

@media only screen and (max-width: 28.75rem) {
    article .section .wir_bieten_box {
        width: 100%;
    }
}

@media only screen and (max-width: 23.437rem) {
    .kontakt {
        width: 18.125rem;
        padding: 4.375rem 0 0 5.625rem;
        text-align: center;
        margin: 0 auto;
    }

    article iframe {
        width: 100%;
        margin: 1rem 0 0;
    }
}