@charset "utf-8";

:root {
    font-size: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #000;
    font-family: "Arial", sans-serif;
    font-size: .937rem;
    line-height: 1.3;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

#wrapper {
    position: relative;
    max-width: 860px;
    margin: 1rem auto;
    overflow: hidden;
    background: #fff;
    border: solid 1px #000;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #0563C1;
    text-decoration: none;
    white-space: nowrap;
}

.anmeldeinformationen p a,
a.tel {
    color: inherit;
}

p {
    margin: 0 0 1rem;
}

span {
    white-space: nowrap;
}

.margin {
    margin: 0 0 0 16px;
}

h1 {
    font-size: 35px;
    text-align: right;
    margin: 50px 0;
}

h1 span {
    font-weight: 400;
}

h2 {
    color: #00A8B4;
    font-size: 1.5rem;
    margin: 0 0 10px;
}

.aufgaben h2 {
    margin: 30px 0 40px;
}

h4 {
    text-align: center;
    font-size: 1.375rem;
    padding: 1.25rem 1.875rem;
    margin: 0;
    line-height: 1.2;
}

h5 {
    position: absolute;
    clip-path: polygon(20% 0%, 100% 0%, 100% 100%, 0% 100%);
    background: #00A8B4;
    display: block;
    padding: 1.25rem 2.5rem 1.25rem 3.75rem;
    font-size: 4.125rem;
    color: #fff;
    line-height: 1.2;
    bottom: 30px;
    right: -1px;
    text-align: right;
}

ul {
    list-style: none;
    margin: 0 0 0.625rem;
    padding: 0;
}

ul li {
    padding: 0 0 10px 30px;
}

ul li:before {
    content: "\2022";
    float: left;
    margin-left: -1.875rem;
    font-size: 1.375em;
    line-height: 1;
}

ul li ul {
     margin: 0
}

ul li ul li:last-of-type {
     padding: 0 0 0 30px;
}

header {
    position: relative;
    margin: 0 0 2.187rem
}

.logo {
    margin: 2.187rem 1.562rem 0 auto;
}

.image {
    margin: -75px 0 0 -20px;
}

.title,
.job_des,
.aufgaben {
    padding: 0 30px;
    position: relative;
}

.title p {
    text-align: right;
    font-size: 23px;
    margin: 0 0 20px;
}

.job_des {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
}

.job_des p {
    text-align: center;
    font-weight: 700;
}

.job_des img {
    margin: 0 auto 1.25rem;
}

.uber_uns {
    position: relative;
    padding: 20px 30px 10px;
    margin: 0 0 20px;
}

.uber_uns p {
    text-align: center;
}

.uber_uns:before {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    width: 52%;
    border-top: 3px dotted #00A8B4;
}

.uber_uns:after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 40%;
    border-top: 3px dotted #00A8B4;
}

.profil {
    position: relative;
    padding: 40px 30px 0;
    margin: 40px 0 10px;
}

.profil:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 36%;
    border-top: 3px dotted #00A8B4;
}

.profil:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50%;
    border-top: 3px dotted #00A8B4;
}

.wir_bieten {
    padding: 0 30px 0 25px;
    position: relative;
}

.wir_bieten ul {
    width: 60%
}

.angebot p {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    column-gap: 1.25rem;
}

.anmeldeinformationen {
    position: absolute;
    right: 5px;
    top: -35px;
}

.anmeldeinformationen p {
    transform: rotate(-90deg);
    position: relative;
    right: -10.625rem;
    top: 55px;
    font-size: .625rem;
    margin: 0;
}

.wichtig {
    position: relative;
    padding: 15px 30px 1px;
    margin: 0 0 30px;
}

.wichtig:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 57%;
    border-top: 3px dotted #00A8B4;
}

.wichtig:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 57%;
    border-top: 3px dotted #00A8B4;
}

.neugierig {
    padding: 10px 80px 30px;
}

.mehr_erfahren {
    padding: 60px 30px 80px;
    position: relative;
}

.mehr_erfahren > h2 {
    text-align: right;
}

.mehr_erfahren > p {
    text-align: right;
    margin: 0;
}

.mehr_erfahren:before {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    width: 58%;
    border-top: 3px dotted #00A8B4;
}

.mehr_erfahren:after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 60%;
    border-top: 3px dotted #00A8B4;
}

.mehr_erfahren .links {
    text-align: left;
    margin: 30px 0 0
}

.konditionen {
    padding: 40px 1.875rem 60px;
    position: relative;
}

.konditionen:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 45%;
    border-top: 3px dotted #00A8B4;
}

.wrap {
    white-space: nowrap;
}

@media only screen and (max-width: 859px) {
    #wrapper {
        border: none;
        margin: 0 auto;
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }

    h5 {
        font-size: 2.5rem;
    }

    h1 {
        font-size: 1.812rem;
    }

    .wir_bieten ul {
        width: 55%
    }
}

@media only screen and (max-width: 768px) {
    h1 {
        text-align: center;
    }

    .title,
    .job_des,
    .aufgaben {
        padding: 0 1.25rem;
    }

    .title p {
        text-align: center;
    }

    .uber_uns,
    .aufgaben,
    .profil,
    .wir_bieten,
    .wichtig,
    .neugierig,
    .mehr_erfahren,
    .konditionen {
        padding: 1.25rem;
        margin: 0
    }

    ul li {
        padding-left: .937rem;
    }

    ul li:before {
        margin-left: -.937rem;
    }

    ul {
        margin: 0;
    }

    .angebot {
        width: 100%;
    }

    .anmeldeinformationen {
        display: none;
    }

    .wir_bieten ul {
        width: 100%
    }
}

@media only screen and (max-width: 660px) {
    h5 {
        position: static;
        width: 100%;
        text-align: center;
        padding: .937rem;
        clip-path: none;
    }

    h5 br {
        display: none;
    }
}

@media only screen and (max-width: 559px) {
    .image {
        margin: 0 0 .625rem;
    }

    .logo {
        margin: 1.25rem auto;
    }

    .uber_uns h2,
    .uber_uns p {
        text-align: left;
    }

    .uber_uns:before,
    .uber_uns:after,
    .profil:before,
    .profil:after,
    .wichtig:before,
    .wichtig:after,
    .mehr_erfahren:before,
    .mehr_erfahren:after,
    .konditionen:before {
        width: 100%;
    }

    h1 {
        font-size: 1.5rem;
    }

    .title p {
        font-size: 1.375rem;
    }

    h2 {
        font-size: 1.125rem;
    }

    h4 {
        font-size: 1.125rem;
    }

    a.link {
        white-space: normal;
    }

    .job_des {
        flex-wrap: wrap;
    }

    .job_des p {
        width: 50%;
    }

    .job_des p br {
        display: block
    }
    p br {
        display: none;
    }
}
