/* Fonts */
@font-face {
    font-family: 'ERAS Bold';
    font-weight: normal;
    src: url('ERASB.woff2');
    src: url('ERASB.woff') format('woff'), url('ERASB.ttf') format('ttf')
}

@font-face {
    font-family: 'Futura Book';
    font-weight: normal;
    src: url('FuturaLTPro-Light.woff2');
    src: url('FuturaLTPro-Light.woff') format('woff'), url('FuturaLTPro-Light.ttf') format('ttf')
}

h1, h2, h3, h4, h5, .job-subtitle, #buttonApply, .btnJobmail {
    font-family: Arial, sans-serif;
    font-weight:bold;
}

h1 {
    font-size:40px;
    margin:0 0 5px;
}

h3 {
    font-size:22px;
}

p, span, li, a {
    line-height:1.44em;
    font-size:16px;
}

body {
    margin: 0 auto;
    font-family: Arial, sans-serif;
}

header {
    max-width: 1216px;
    margin: 0 auto;
}

#stickyHeaderWrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    position: fixed;
    z-index: 100;
    background: white;
    max-width: 1216px;
    width: 100%;
    top:-160px;
    transition: 0.8s ease;
    box-sizing:border-box;
}

#stickyHeaderWrapper.active {
    top:0;
}

#stickyHeaderWrapper h2 {
    color: #E2001A;
}

#stickyHeaderWrapper img {
    height: 50px;
    width: auto;
    max-width: 100px;
}

#stickyHeaderWrapper .logoWrapper {
    margin-right:20px;
}

.stickyHeaderJobTitleWrapper h2 {
    word-break:break-word;
    hyphens: auto;
}

main {
    margin: 0 auto;
    width: 100%;
    max-width: 1214px;
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
}

main > section {
    margin: .75em 0;
}

main > section:last-child {
    margin-bottom: 1.5em;
}

main > .section-container [data-role] {
    margin-top: .75em;
    margin-bottom: .75em;
}

section {
    padding:0 14%;
}

.mainpic {
    position: relative;
}

.mainpic > img {
    width: 100%;
    float:left;
}

#logoArea img {
    width: 160px;
}

[data-editable] p:last-child {
    margin-bottom: 0;
}

[data-editable=logo] {
    max-width: 80%;
    max-height: 96px;
}

[data-role=image] {
    margin: 0;
}

[data-editable=image] {
    min-width: 100%;
    max-width: 100%;
    width: 100%;
    height: auto;
}

.title-section {
    padding-top: 2em;
    padding-bottom: 1.5em;
    position:relative;
}

[data-role=title] .svg-icon {
    margin-right: .25em;
}

[data-role=title] h1:last-child,
[data-role=title] h2:last-child,
[data-role=title] h3:last-child {
    margin-bottom: 0;
}

[data-role=introduction] p {
    line-height: 1.5;
}

[data-editable=location],
[data-editable=workload] {
    margin-right: .75em;
}

main > .section-container [data-role=application] {
    padding-top: 1em;
    margin-bottom: .25em;
}

main > .section-container [data-role=contact] {
    margin-top: .25em;
    padding-bottom: 1em;
}

main > .section-container [data-role=company] {
    margin-top: .25em;
    padding-bottom: 1em;
}

.job-title {
    background-color: #E2001ADE;
    padding: 35px 20px;
    color:white;
    margin-left:12%;
    margin-top: -35px;
    z-index:20;
    font-size:24px;
    font-weight:bold;
}

.locationLink {
    font-size:24px;
    text-decoration:none;
    color:white;
}

.locationLink:hover {
    text-decoration:underline;
    color:white;
}

#AufgabenProfil {
    display: flex;
    justify-content: space-between;
    gap:20px;
}

.aufgaben, .profil {
   width:50%;
}

/* About */
.about {
    background-color:lightgrey;
    display:flex;
    gap:20px;
    padding-top:30px;
    padding-bottom:30px;
    align-items: center;
}

.about .section-title {
    color: #E2001A;
    margin-top:0;
}

.aboutText {
    align-self: flex-start;
}

.about .aboutImage,
.about .aboutText {
    width:50%;
}

.about img {
    width:100%;
}

.readmore {
    color: #E2001A;
    text-decoration: none;
    display: block;
    margin-top: 20px;
}

.readmore:hover {
    text-decoration: underline;
}

/* Slider neu */
.slider {
    width: 100%;
    margin: 0;
}
.slick-slide img {
    width: 100%;
    height: auto;
}
.slick-slider {
    position: relative;
    display: block;
    box-sizing: border-box;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -khtml-user-select: none;
    -ms-touch-action: pan-y;
    touch-action: pan-y;
    -webkit-tap-highlight-color: transparent;
    width: 716px; /*selbst ergänzt*/
    max-width: 100%; /*selbst ergänzt*/
}
.slick-list {
    position: relative;
    display: block;
    overflow: hidden;
    margin: 0;
    padding: 0;
}
.slick-list:focus {
    outline: none;
}
.slick-list.dragging {
    cursor: pointer;
    cursor: hand;
}
.slick-slider .slick-track, .slick-slider .slick-list {
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    -o-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}
.slick-track {
    position: relative;
    top: 0;
    left: 0;
    display: block;
}
.slick-track:before, .slick-track:after {
    display: table;
    content: '';
}
.slick-track:after {
    clear: both;
}
.slick-slide {
    display: none;
    float: left;
    height: 100%;
    min-height: 1px;
}
[dir='rtl'] .slick-slide {
    float: right;
}
.slick-slide img, .slick-initialized .slick-slide {
    display: block;
    margin: 0 1px;
}
.slick-slide.slick-loading img, .slick-arrow.slick-hidden {
    display: none;
}
.slick-slide.dragging img {
    pointer-events: none;
}
.slick-loading .slick-slide, .slick-loading .slick-track {
    visibility: hidden;
}
.slick-vertical .slick-slide {
    display: block;
    height: auto;
    border: 1px solid transparent;
}
.slick-loading .slick-list {
    background: #fff;
}
/* Dots */
.slick-dots {
    position: absolute;
    bottom: -25px;
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
    text-align: center;
}
.slick-dots li {
    position: relative;
    display: inline-block;
    width: 16px;
    height: 16px;
    margin: 0 2px;
    padding: 0;
    cursor: pointer;
}
.slick-dots li button {
    font-size: 0;
    line-height: 0;
    display: block;
    width: 16px;
    height: 16px;
    padding: 5px;
    cursor: pointer;
    color: transparent;
    border: 0;
    outline: none;
    background: transparent;
}
.slick-dots li button:hover:before, .slick-dots li button:focus:before, .slick-dots li.slick-active button:before {
    color: #E2001A;
}
.slick-dots li button:before {
    font-size: 40px;
    line-height: 8px;
    position: absolute;
    top: 2px;
    left: 0;
    width: 18px;
    height: 18px;
    content: '\2022';
    text-align: center;
    color: #bdb1a5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.placeholder-slideshow {
    min-height: 100px;
}

/* Contact */
.contactContainer {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, max(64px, 100%/3)), 1fr));
    gap:30px;
    grid-auto-flow:column;
}
@media only screen and (max-width:940px) {
    .contactContainer {
        grid-auto-flow: row;
        grid-template-columns: 1fr;
        gap: 20px;
    }
}


.contact1, .contact2 {
    display: flex;
    width: 100%;
    float: left;
    gap: 15px;
    align-items: flex-start;
    justify-content: flex-start;
}

.contactContainer p {
    margin: 0;
}

/*send 2me */
#send2me {display:none;}
#form-wrapper input {
    border: 1px solid #DADAE5;
    box-sizing: border-box;
    height: 34px;
    padding: 0 5px;
    margin-bottom: 20px;
    display: inline-block;
    position: relative;
    cursor: text;
    -webkit-appearance: none;
    font-family: Arial, sans-serif;
    min-width:65%;
    font-size:16px;
}

#form-wrapper input::placeholder {
    font-family: Arial, sans-serif;
    font-size: 16px;
}

#apply a, #form-wrapper .button.send2me {
    color: black;
    text-decoration: none;
    border: 3px solid #E2001A;
    padding: 8px 20px;
    display: inline-block;
    font-weight: 400;
    font-family: Arial, sans-serif;
    font-size: 16px;
    background-color: #FFFFFF;
    height:auto;
    width:auto !important;
    min-width:inherit;
}

#apply a:hover, .button.send2me:hover {
    background-color: #000;
    border: 1px solid #000;
}

.contact-confirmation {display:none;}
.close.button,
.send.button
{
    background: #be505a;
    color: #fff;
}

.close.button:hover,
.send.button:hover
{
    background: #555;
    color: #fff;
}

@media screen and (max-width: 980px) {
    #send2me {display:block;}
}

@media screen and (max-width: 660px) {
    #form-wrapper input {width:100%;}
}

/* JobMail */
.btnJobmail {
    color: black;
    text-decoration: none;
    border: 3px solid #E2001A;
    padding: 8px 20px;
    display: inline-block;
    font-weight: bold;
}

/* List style */
ul {
    list-style: none;
    margin: 0;
    position: relative;
    padding-left: 30px;
}

li {
    margin-bottom: 5px;
    position: relative;
}

#AufgabenProfil ul li::before,
.benefits ul li::before {
    position: absolute;
    left: -30px;
    top: 8px;
    content: "";
    background: #E2001A;
    display: inline-block;
    width: 7px;
    height: 7px;
}

/* Footer */
footer {
    padding-bottom: 79px;
    margin: 0 auto;
    max-width: 1214px;
}
footer svg {
    fill: #FFF;
    transition:0.1s ease;
}

footer svg:hover {
    transform: scale(1.1);
}

#shareUsItemWrapper svg {
    max-width: initial;
}
#footerWrapper {
    background-color: #E2001A;
    bottom: 0;
    color: #FFF;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    max-width: 1214px;
    padding: 16px 9%;
    position: fixed;
    width: 100%;
    z-index: 30;
    box-sizing: border-box;
}
.footerTile {
    align-items: center;
}
.footerTile:first-child {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

#emailPrintWrapper {
    display: flex;
    gap: 20px;
}
#shareUsButton {
    cursor: pointer;
    position: relative;
    width: auto;
}
.shareUsContainer.active {
    opacity: 1;
    top: -95px;
    visibility: visible;
}
.shareUsContainer {
    background-color: #262626;
    border-radius: 5px;
    cursor: initial;
    left: 0;
    opacity: 0;
    padding: 10px;
    position: absolute;
    top: -200px;
    visibility: hidden;
    z-index: 2;
}
.shareUsContainer h4 {
    margin: 0 0 10px;
}

#shareUsItemWrapper {
    display: flex;
    gap: 10px;
}

#buttonApply {
    color: white;
    text-decoration: none;
    border: 4px solid white;
    padding: 2px 22px;
    float: right;
    font-size: 24px;
    overflow: hidden;
    transition: .1s transform ease-in-out;
    will-change: transform;
    z-index: 0;
    position: relative;
}

#buttonApply::after {
    background-color: white;
    content: '';
    display: block;
    height: 100%;
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
    transform: translate(-100%, 0) rotate(10deg);
    transform-origin: top left;
    transition: .1s transform ease-out;
    will-change: transform;
    z-index: -1;
}

#buttonApply:hover::after {
    transform: translate(0, 0);
}

#buttonApply:hover {
    border: 4px solid white;
    color: #E2001A;
    transform: scale(1.05);
    will-change: transform;
    background: #FFFFFF;
}

/* Recaptcha */
.grecaptcha-badge {
    display: none;
}

/* Responsive */
@media screen and (max-width:700px) {
    
    #logoArea img {
        width: 80px;
        padding: 20px;
    }
    #stickyHeaderWrapper {
        display: none;
    }
    section {
        padding: 0 20px;
    }
    .job-title {
        margin-left: 0;
        margin-top: 0;
    }
    #AufgabenProfil {
        flex-wrap: wrap;
    }
    .aufgaben, .profil {
        width: 100%;
    } 

    .contact1, .contact2 {
        width: 100%;
        margin-bottom: 20px;
    }

}

@media screen and (max-width:960px) {

    .about {
        flex-wrap: wrap;
    }

    .about .aboutImage,
    .about .aboutText {
        width: 100%;
    }

    .about > div:nth-child(1) {
        order: 2;
    }
    .about > div:nth-child(2) {
        order: 1;
        margin-bottom:40px;
    }
}

@media screen and (min-width:701px) {
    .logoHolder {
        position: relative;
        margin: 0 14%;
    }

    #logoArea {
        display: flex;
        align-items: flex-end;
        position: absolute;
        width: 200px;
        height: 200px;
        top: 0;
        right: 0;
        background-color: white;
        padding: 50px 40px;
        box-sizing: border-box;
    }

}

@media screen and (max-width:520px) {
    h1 {
        font-size:26px;
        word-break:break-word;
        hyphens:auto;
    }

    #buttonApply {
        font-size:16px;
    }

    #footerWrapper {;
        padding: 8px 20px;
        gap:15px;
    }
    footer svg {
        width:28px;
    }

}