@charset "utf-8";

@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');
}

@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');
}

: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.5em;
    background: #fff url(../images/hintergrund.jpg) top center no-repeat;
    font-weight: 400;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

#wrapper {
    position: relative;
    margin: 1rem auto 0;
    overflow: hidden;
    background: transparent;
}

.container {
    max-width: 50rem;
    margin: 0 auto;
    display: block;
    overflow: hidden;
}

:is(a:link, a:visited, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

a.web {
    color: #16470f;
    transition: .3s;
}

a.web:hover {
    color: #ae2328;
}

:is(p, h1, h2, h3, h4) {
    text-align: center;
}

:is(h1, h3) {
    font-family: "Just Another Hand", "Arial", sans-serif;
    font-weight: 400;
    line-height: 1.1;
}

strong {
    font-weight: 700;
}

span {
    white-space: nowrap;
}

p {
    margin: 1rem 0;
}

h1 {
    font-size: 3rem;
    margin: 1.5rem 0 1.8rem;
    line-height: 120%;
    color: #9c242d;
}

h2 {
    font-size: 1.312rem;
    margin: 0 0 .937rem;
}

h3 {
    font-size: 2.6rem;
    margin-bottom: 2rem;
    color: #333;
    margin: 1.25rem 0 2rem;
}

h4 {
    width: 100%;
    display: block;
    font-size: 1.125rem;
    font-weight: 400;
    margin: .937rem 0;
    line-height: 1;
}

header {
    display: flex;
    justify-content: flex-start;
    column-gap: 2rem;
    padding: 1rem 0;
}

article {
    padding: 3.437rem 0;
}

.img_box {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 1rem 0 2.2rem;
}

.apply {
    margin: 2rem auto 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.apply.left {
    justify-content: flex-start;
    margin: 2rem auto 1rem;
}

.hr {
    position: relative;
    margin: 3rem auto 1rem;
    display: block;
}

.hr:after {
    display: block;
    height: .375rem;
    width: 100%;
    content: "";
    background: radial-gradient(ellipse at 50% -50%, rgba(0, 0, 0, .5) 0, rgba(255, 255, 255, 0) 65%);
}

.flex {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    align-items: flex-start;
    margin-top: 3rem;
}

.col {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 33%;
    padding: 0 .312rem 1.25rem;
}

.col p {
    color: #747474;
    margin: 0 0 1rem;
}

.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;
}

.col:hover .circle-yes {
    background-color: #b51f2a
}

.col:hover h4 {
    color: #b51f2a
}

:is(.content) :is(p, h3) {
    text-align: left;
}

.content h3 {
    margin: 2.562rem 0 0;
}

.content h3+p {
    margin: 0 0 1rem;
    color: #000;
}

.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 {
    line-height: 1.4;
    margin: .875rem 0;
    color: #000;
}

.flex_box {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    column-gap: .937rem;
}

.iframe-wrapper {
    width: 33%;
    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%;
}

footer {
    background: rgba(40, 42, 43, 0.61);
    padding: 0 0 1.625rem;
}

footer p {
    color: #fff;
    font-weight: .937rem;
}

a.color,
a.color:hover {
    color: #fff;
}

.social {
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: .625rem
}

.square {
    width: 2.125rem;
    height: 2.125rem;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: .25rem;
}

.square i {
    color: #fff;
    font-size: 1rem;
}

.instagram {
    background: #3f729b;
}

.youtube {
    background: #cd201f;
}

.facebook {
    background: #3b5998;
}

.xing {
    background: #026466;
}

.linkedin {
    background: #0077b5;
}

@media only screen and (max-width: 49.937rem) {
    #wrapper {
        border: none;
        margin: 0 auto;
    }

    body {
        background: #fff url(../images/hintergrund_responsive.jpg) top center no-repeat;
        background-size: cover;
    }

    header,
    footer {
        padding: 1rem;
    }

    article {
        padding: .625rem 1rem 1rem;
    }

    p {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
        margin: 0 0 1rem;
    }
}

@media only screen and (max-width: 51.875rem) {
    .pdf {
        margin: 0 auto;
        display: block;
    }
}

@media only screen and (max-width: 48rem) {
    .flex_box {
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .iframe-wrapper {
        width: 23.75rem;
        padding-bottom: 30%;
    }

    .pdf {
        margin: 1.25rem 0 0;
    }

    .flex {
        flex-wrap: wrap;
    }

    .col {
        width: 50%;
    }
}

@media only screen and (max-width: 34.375rem) {
    header {
        justify-content: center;
        align-items: center;
        gap: 1.25rem;
        flex-direction: column;
    }

    .flex {
        flex-direction: column;
        margin-top: 0;
    }

    .col {
        width: 100%;
        padding: 0;
    }
}

@media only screen and (max-width: 30rem) {
    h1 {
        font-size: 2.125rem;
        margin: 1.25rem 0 .625rem;
    }

    h2 {
        font-size: 1.125rem;
    }

    h3 {
        font-size: 1.75rem;
        margin: 1rem 0;
        padding: 0;
    }

    .hr {
        margin: 2rem auto 1.5rem;
    }

    .flex_box {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .apply.left {
        justify-content: center;
        margin: 2rem auto 1rem;
    }

    .content p,
    .content h3 {
        text-align: center;
    }
}

@media only screen and (max-width: 23.75rem) {

    .iframe-wrapper,
    .kontakt {
        width: 100%;
    }

    .kontakt p {
        text-align: left;
    }

    .pdf {
        margin: 1.25rem auto 0;
    }
}