@charset "utf-8";

:root {
    font-size: 16px;
}

@font-face {
    font-display: swap;
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/raleway-v34-latin-regular.eot');
    src: url('../fonts/raleway-v34-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/raleway-v34-latin-regular.woff2') format('woff2'), url('../fonts/raleway-v34-latin-regular.woff') format('woff'), url('../fonts/raleway-v34-latin-regular.ttf') format('truetype'), url('../fonts/raleway-v34-latin-regular.svg#Raleway') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/raleway-v34-latin-500.eot');
    src: url('../fonts/raleway-v34-latin-500.eot?#iefix') format('embedded-opentype'), url('../fonts/raleway-v34-latin-500.woff2') format('woff2'), url('../fonts/raleway-v34-latin-500.woff') format('woff'), url('../fonts/raleway-v34-latin-500.ttf') format('truetype'), url('../fonts/raleway-v34-latin-500.svg#Raleway') format('svg');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: rgb(0, 92, 83);
    font-family: "Raleway", Arial, sans-serif;
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.5;
}

img {
    max-width: 100%;
    height: auto;
}

#wrapper {
    position: relative;
    margin: 1rem auto;
    background: #fff;
}

.contain {
    max-width: 56.25rem;
    margin: 0 auto;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
    transition: 0.2s ease-in-out;
}

a.phone:hover {
    color: #993366;
    text-decoration: underline;
}

p {
    margin: 0 0 .625rem;
}

h1 {
    color: #993366;
    margin: .625rem .625rem 2rem 0;
    font-size: 2.125rem;
    line-height: 1.1
}

h1 span {
    white-space: nowrap
}

h2 {
    font-size: 1.25rem;
    color: rgb(153, 51, 102);
    margin: 0 0 1.875rem;
}

h2 span {
    font-size: 1rem;
    color: rgb(0, 92, 83);
    font-weight: normal;
    white-space: nowrap
}

h3 {
    margin: 3.125rem 0 1.187rem;
    color: #993366;
    font-size: 1.25rem;
}

.column_left h3:last-of-type {
    font-size: 1.25rem;
    color: rgb(153, 51, 102);
    margin: 0 0 2.312rem;
    font-weight: 400;
}

h4 {
    color: rgb(0, 92, 83);
    font-size: 1.562rem;
    margin: 0 0 0.625rem;
    line-height: 1.2
}

h5 {
    font-size: 1.312rem;
    margin: 0 0 1.125rem;
}

h6 {
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: #fff;
    text-align: center;
}

header {
    border-bottom: .062rem solid #ddd;
    padding: .937rem 0;
}

.column_left > ul {
    list-style: none;
    margin: 0 0 1.062rem;
    padding: 0;
}

.column_left > ul li {
    padding-left: 1.125rem;
    margin-bottom: 1.25rem;
}

.column_left > ul li:before {
    content: "\25A0";
    float: left;
    margin-left: -1.125rem;
    font-size: 0.6875rem;
    line-height: 2.1;
}

.column_left .margin {
    margin: 0 0 4rem
}

.box > ul {
    list-style: none;
    margin: 0;
}

.box > ul li {
    margin-bottom: .625rem;
    display: block;
    background: url(../images/list.svg)no-repeat left top;
    background-size: 1.875rem;
    padding: .312rem 0 0 2.75rem;
}

main {
    background: rgb(242, 242, 230);
}

main .contain {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.links img {
    width: auto;
    height: 21.875rem;
    object-fit: cover;
    display: block;
}

.links {
    width: 53%;
}

.rechts {
    width: 44%;
    display: flex;
    align-self: center;
    justify-content: center;
    flex-direction: column;
    margin-right: .625rem
}

.standort {
    position: relative;
    margin: 0 0 1.5rem;
}

.standort:before {
    content: "";
    float: left;
    position: relative;
    width: 1.562rem;
    height: 1.562rem;
    background: url(../images/standort.svg) no-repeat;
    background-size: contain;
    margin-right: .625rem;
}

.details {
    display: flex;
    align-items: flex-start;
    column-gap: .187rem;
    flex-wrap: wrap
}

.detail {
    border-radius: .187rem;
    font-size: 0.9375rem;
    font-weight: 700;
    background: #fff;
    border: .062rem solid rgb(200, 200, 200);
    padding: .187rem .625rem;
    margin: 0 0 .312rem;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    width: fit-content;
}

.details_responsive {
    display: none
}

article {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 2.5rem 0;
    column-gap: 7%;
    position: relative;
}

.column_left {
    width: 60%;
}

.column_left p {
    margin: 0 0 1.25rem;
}

.box {
    background-color: rgb(242, 242, 230);
    border: .062rem solid rgb(153, 51, 102);
    border-radius: 1.25rem;
    padding: 1.25rem;
    display: block;
}

.flex_right {
    width: 35%;
}

.element {
    background-color: rgb(247, 247, 247);
    border: .062rem solid rgb(209, 209, 209);
    margin-bottom: 0;
}

.aside {
    padding: 1.875rem 1.875rem .625rem;
}

.job_type {
    display: flex;
    column-gap: .312rem;
    align-items: flex-start;
    margin: 0 0 1.25rem
}

.section {
    padding: 1.875rem 2.5rem;
    background: rgb(153, 51, 102);
    color: #fff;
}

.section a {
    display: inline-block;
}

p span {
    display: inline-block;
    border-radius: .187rem;
    font-size: 0.9375rem;
    font-weight: 700;
    background: #fff;
    border: .062rem solid rgb(200, 200, 200);
    padding: .187rem .625rem;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.flex {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.1rem;
}

.fa-fonts {
    font-size: 1.875rem;
}

.fa-envelope {
    margin: 0
}

.image {
    margin: 1.25rem auto 0.625rem;
    display: block;
}

a.apply {
    margin: 0 0 3.125rem;
    background: rgb(153, 51, 102);
    font-weight: bold;
    font-size: .9rem;
    text-align: center;
    padding: .75rem 1.75rem;
    display: block;
    width: fit-content;
    color: #fff;
    border-radius: .312rem;
    border: .062rem solid rgb(153, 51, 102)
}

a.apply:hover {
    color: rgb(153, 51, 102);
    text-decoration: none;
    background: #fff;
}

footer {
    background-color: rgb(153, 51, 102);
    padding: 5rem 0
}

footer .contain {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
}

.center {
    width: 30%;
    color: #fff;
    font-size: 2.5rem;
    display: flex;
    justify-content: space-between;
    order: 1
}

.left {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 50%;
    order: 2
}

.right {
    width: 20%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    order: 3
}

.right img {
    width: 5rem;
}

.section a:hover,
.center a:hover {
    text-decoration: none;
    color: #fff;
}

@media only screen and (max-width: 56.187rem) {
    #wrapper {
        border: none;
        margin: 0 auto;
        padding: 1rem;
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
        margin: 0 0 1rem
    }

    .box > ul {
        padding: 0;
    }

    h1 {
        font-size: 1.375rem;
    }

    h3,
    h4 {
        font-size: 1.187rem;
    }

    h5 {
        font-size: 1.125rem;
    }

    h6 {
        margin: 0 0 1.35rem;
    }

    .column_left p,
    h2,
    h3,
    .column_left h3:last-of-type,
    a.apply {
        margin: 0 0 1rem;
    }

    .column_left > ul li,
    .box > ul li {
        margin-bottom: .312rem;
    }

    article {
        flex-direction: column;
        padding: .625rem 0
    }

    .column_left,
    .flex_right {
        width: 100%;
    }

    .box {
        padding: .625rem;
        margin: 0 0 1.062rem;
    }

    .details {
        display: none
    }

    .details_responsive {
        display: flex;
        flex-wrap: wrap;
        column-gap: .375rem
    }

    .aside {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        column-gap: 1.062rem;
        padding: 1rem;
        flex-wrap: wrap;
    }

    .column_left .margin {
        margin: 0 0 1.5rem
    }

    footer {
        padding: 1rem;
    }

    footer .contain {
        align-items: center;
        column-gap: 1.062rem;
    }

    header br,
    main br {
        display: none
    }
}

@media only screen and (max-width: 50rem) {
    main .contain {
        flex-direction: column;
    }

    .links,
    .rechts {
        width: auto;
    }

    .links img {
        height: auto;
    }

    .rechts {
        padding: 1rem;
    }

    .aside {
        justify-content: space-around;
    }

    .aside a.apply {
        width: 100%;
        order: 3
    }

    .left-resp {
        order: 1;
    }

    .right-resp {
        order: 2
    }

    .section {
        padding: 1rem;
    }
}

@media only screen and (max-width: 31.5rem) {

    header,
    .rechts {
        margin: 0 auto;
        flex-direction: column;
        align-items: center;
        justify-content: center
    }

    header img {
        margin: 0 auto;
        display: block
    }

    h1 {
        text-align: center;
        margin: 0.625rem 0 1.25rem
    }

    .detail {
        padding: .5rem
    }

    .details_responsive {
        justify-content: center;
    }

    .rechts,
    a.apply {
        width: 100%;
    }

    .standort {
        margin-top: 1.562rem
    }

    .standort::before {
        margin-right: 0;
        position: absolute;
        top: -1.875rem;
        left: 50%;
        transform: translateX(-50%);
    }

    .rechts p,
    .aside p,
    h4,
    .left-resp h5 {
        text-align: center;
    }

    .job_type {
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    footer .contain {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1rem;
    }

    .left {
        width: 100%;
        order: 1
    }

    .center {
        width: 100%;
        gap: 1rem;
        justify-content: center;
        order: 2;
    }
}
