@charset "utf-8";

@font-face {
    font-display: swap;
    font-family: 'Nunito Sans';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/nunito-sans-v15-latin-regular.eot');
    src: url('../fonts/nunito-sans-v15-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/nunito-sans-v15-latin-regular.woff2') format('woff2'), url('../fonts/nunito-sans-v15-latin-regular.woff') format('woff'), url('../fonts/nunito-sans-v15-latin-regular.ttf') format('truetype'), url('../fonts/nunito-sans-v15-latin-regular.svg#NunitoSans') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Nunito Sans';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/nunito-sans-v15-latin-700.eot');
    src: url('../fonts/nunito-sans-v15-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/nunito-sans-v15-latin-700.woff2') format('woff2'), url('../fonts/nunito-sans-v15-latin-700.woff') format('woff'), url('../fonts/nunito-sans-v15-latin-700.ttf') format('truetype'), url('../fonts/nunito-sans-v15-latin-700.svg#NunitoSans') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Caveat Brush';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/caveat-brush-v11-latin-regular.eot');
    src: url('../fonts/caveat-brush-v11-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/caveat-brush-v11-latin-regular.woff2') format('woff2'), url('../fonts/caveat-brush-v11-latin-regular.woff') format('woff'), url('../fonts/caveat-brush-v11-latin-regular.ttf') format('truetype'), url('../fonts/caveat-brush-v11-latin-regular.svg#CaveatBrush') format('svg');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    font-size: 16px;
}

body {
    color: #13294B;
    font-family: 'Nunito Sans', Arial, sans-serif;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.5;
}

#wrapper {
    position: relative;
    max-width: 62.5rem;
    margin: 1rem auto;
    overflow: hidden;
    background: #fff;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

a.web {
    color: #a7d500
}

a.web:hover {
    color: #ea7600
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.margin_top {
    margin: 80px 0 30px;
}

.nomargin {
    margin: 0
}

h1 {
    font-size: 39px;
    line-height: 1.3;
    margin-bottom: 80px;
}

h2 {
    font-size: 39px;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.2rem;
    margin: 0 0 20px;
    color: #a7d500;
}

h4 {
    font-size: 1rem;
    color: #fff;
}

h5 {
    text-align: center;
    color: #fff;
    font-family: 'Caveat Brush', Arial, sans-serif;
    font-size: 50px;
    line-height: 1.1;
    padding: 30px 0;
    font-weight: normal;
}

h6 {
    text-align: center;
    font-family: 'Caveat Brush', Arial, sans-serif;
    font-size: 40px;
    line-height: 1;
    margin: 0 0 30px;
}

p {
    margin-bottom: 20px;
}

ul {
    margin: 8px 0 20px 0;
    list-style-type: none;
}

ul li {
    background: url(../images/pfeil.jpg) no-repeat left top 2px;
    padding: 0 0 0 2rem;
    margin-bottom: 12px;
}

header {
    display: flex;
    justify-content: center;
}

.width {
    width: 35rem;
}

.info {
    display: flex;
    gap: 1rem;
    padding: 20px 0 0;
}

.info p {
    background: #fef5d9;
    color: #EA7600;
    font-weight: 700;
    padding: 0.5rem 0.75rem;
    border-radius: 2rem;
    margin: 0 0 30px;
}

.flex {
    display: flex;
    justify-content: space-between;
    gap: 2rem
}

.flex section {
    width: 50%;
}

.benefits {
    display: flex;
    justify-items: center;
    gap: 1rem;
    margin: 35px 0 50px;
}

.benefits div {
    width: 14rem;
    height: 14rem;
}

.benefits div:hover>img {
    display: none;
}

.benefits div:nth-of-type(1) {
    background: url(../images/zukunft.jpg) no-repeat center;
    background-size: 100%;
    z-index: 100;
}

.benefits div:nth-of-type(2) {
    background: url(../images/waertscaetzen.jpg) no-repeat center;
    background-size: 100%;
    z-index: 100;
}

.benefits div:nth-of-type(3) {
    background: url(../images/zusammen.jpg) no-repeat center;
    background-size: 100%;
    z-index: 100;
}

.benefits div:nth-of-type(4) {
    background: url(../images/pause.jpg) no-repeat center;
    background-size: 100%;
    z-index: 100;
}

.button {
    display: flex;
}

a.apply {
    color: #fff;
    font-weight: 700;
    background-color: #EA7600;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 20px;
}

a.apply:hover {
    background-color: #f6be00;
}

.bottom {
    margin: 3rem 0 0;
    display: flex;
    align-items: center;
    gap: 3rem;
}

footer {
    background: #f6be0026;
    position: relative;
}

footer div {
    background-color: #f6be00;
    padding: 0 1rem;
}

footer p {
    display: flex;
}

footer p:nth-last-of-type(2),
footer p:last-of-type {
    align-items: center;
}

footer span:first-of-type {
    display: inline-block;
    color: #fff;
    background-color: #EA7600;
    width: 45px;
    height: 40px;
    border-radius: 50%;
    margin-right: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

footer span:last-of-type {
    width: 90%
}

footer .fa-solid {
    font-size: 20px;
}

.kreis {
    background: url(../images/kreis.png) no-repeat right center;
    background-size: 96%;
    padding: 100px 40px 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 50%;
    margin: 0 -50px 0 auto
}

.text {
    background: none;
}

.block-group {
    display: flex;
    justify-content: space-between;
    justify-items: center;
    gap: 1rem;
    margin: 2.187rem 0 3.125rem;
}

.group {
    position: relative;
    width: 24%;
}

.group1 ul {
    font-size: .85em;
}

.figure {
    position: relative;
}

.figure:before {
    content: "";
    display: block;
    width: 30px;
    height: 30px;
    position: absolute;
    bottom: 10px;
    right: 1em;
    background-image: url(../images/plus.svg);
    background-size: 60%;
    background-repeat: no-repeat;
    background-color: #ea7600;
    border-radius: 50%;
    background-position: 50%;
    z-index: 100;
}

.inner {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;

}


.link-text {
    font-size: 19px;
    line-height: 1.2;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: .5em;
    position: absolute;
    z-index: 1;
    width: 100%;
    padding: 10px;
    margin: 0;
    bottom: 0;

}


.link-text:before {
    content: "";
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 100%;
    height: 300%;
    background: linear-gradient(0deg, hsla(0, 100%, 100%, .9) 0, hsla(0, 100%, 100%, 0));
    z-index: -1;

}

.detail {
    display: none;
}

.group:hover .detail {
    display: block;


}

.group:hover .inner {
    background-color: rgba(246, 190, 0, .85);
    padding: 10px;
    font-size: 15px;
}

.group:hover .link-text {
    display: none;
}

.inner ul li {
    margin: 0;
    padding: 0 0 0 20px;
    background: none;
    line-height: 1.3
}

.inner ul li:before {
    content: "";
    float: left;
    position: relative;
    width: 10px;
    height: 3px;
    border-radius: 8px;
    background: #fff;
    margin-left: -20px;
    top: 8px;
}

.group:hover .figure:before {
    display: none;
}

.inner .detail {
    margin: 0 0 5px;

}

.inner .detailt {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 10px;
    color: #fff;
}

@media only screen and (max-width: 999px) {
    #wrapper {
        border: none;
        margin: 0 auto;
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }

    ul li {
        margin-bottom: 3px;
    }

    article {
        padding: 0 1rem;
    }

    .width {
        width: 100%;
    }

    h1 {
        margin: 2rem 0;
    }

    h2 {
        font-size: 30px;
    }

    h2 br {
        display: none
    }

    .benefits {
        flex-wrap: wrap;
        justify-content: space-around;
    }

    .benefits div {
        gap: 1rem
    }

    .center {
        justify-content: center;
    }

    .bottom {
        margin: 3rem 0 0 -50px;
    }

    .kreis {
        background-size: 100%;
        margin: 0 auto;
        padding: 100px 40px 80px;
    }

    .block-group {
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
    }

    .group {
        width: 40%
    }
}

@media only screen and (max-width: 870px) {
    .kreis {
        width: 58%;
    }
}

@media only screen and (max-width: 799px) {
    h1 {
        text-align: center;
        font-size: 30px;
    }

    .margin_top {
        margin: 1.5rem 0;
    }

    .flex {
        flex-direction: column;
        gap: 0;
    }

    .flex section {
        width: 100%;
    }

    ul {
        margin: 0.5rem 0 2rem 0;
        list-style-type: none;
    }

    .bottom img {
        display: none;
    }

    .bottom {
        margin: 50px 0 40px 0;
    }

    .kreis {
        width: 63%;
    }
}

@media only screen and (max-width: 699px) {
    .kreis {
        width: 72%;
    }
}

@media only screen and (max-width:640px) {
    .detailt br {
        display: none;
    }

    .group {
        width: 48%
    }
}

@media only screen and (max-width: 599px) {
    .kreis {
        width: 85%;
    }

    .info {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        margin: 0 0 40px;
    }

    .info p {
        margin: 0;
        text-align: center;
    }
}

@media only screen and (max-width:540px) {
    .group {
        width: 100%
    }

    .group1 ul {
        font-size: inherit;
    }
}

@media only screen and (max-width: 499px) {
    h5 {
        font-size: 30px;
        padding: 16px 0;
        margin: 0 0 20px;
    }

    h6 {
        margin: 20px 0 40px
    }

    h6 br {
        display: none;
    }

    .button {
        justify-content: center;
    }

    .kreis {
        background: #f6be00;
        padding: 16px;
        width: 100%;
    }
}