html {
    scroll-behavior: smooth;
    height: auto;
}

* {
    overflow: initial;
}

/* FONTS */
h1, h2, h3, h4, h5, h6, strong, b {
    font-family: "Fira Sans", Arial sans-serif;
    font-weight: bold;
}

h1, h1:last-child, .stickyJobtitle > span:first-child {
    font-size: 36px;
    line-height: 44px;
    letter-spacing: 0.07px;
    color: #000000;
    hyphens: auto;
    font-weight: bold;
}

h2, h2:last-child {
    font-size: 24px;
    line-height: 30px;
    letter-spacing: 0.05px;
    margin-bottom: 20px;
}

h3, h3:last-child {
    font-size: 16px;
    line-height: 20px;
}

a {
    color: var(--companycolor);
}

a:hover {
    color: var(--companycolor);
    text-decoration: none;
}

/* GENERAL */
body {
    margin: 0 auto;
    font-family: "Fira Sans", Arial sans-serif;
    font-size: 16px;
    line-height: 22px;
    font-weight: 300;
    color: #000000;
    height: auto;
}


/* BUTTONS */
.button {
    display: inline-block;
    background-color: #FFFFFF;
    padding: 15px 25px;
    font-size: 16px;
    font-weight: 700;
    color: var(--companycolor);
    width: auto;
    border: 1px solid #B2B2BC;
    border-radius: 3px;
}

.button:hover {
    border-color: var(--companycolor);
}

svg.arrowRight {
    transform: rotate(270deg);
}

svg.arrowLeft {
    transform: rotate(90deg);
}

/* Header */
header {
    width: 100%;
    margin: 0 auto;
    background-color: #FFFFFF;
    border-bottom: 1px solid #F6F6F6;
    top:-120px;
}

header .stickyJobtitle {
    display: none;
}

header.sticky {
    position: sticky;
    width: 100%;
    top: 0;
    z-index: 80;
    transition: 0.5s ease-in-out;
}

header.sticky .stickyJobtitle {
    display: block;
}

.flexContainer {
    position: relative;
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 120px;
    max-width: 1680px;
    margin: 0 auto;
    gap: 40px;
}

.flexLeft {
    display: flex;
    gap: 40px;
    flex-direction: row;
    width: calc(100% - 65px);
}

.companyLogo {
    min-width: 180px;
    line-height: 0;
}

.companyLogo svg {
    width: 170px;
    height: 51px;
}

.companyLogo a {
    display: inline-block;
}

.stickyJobtitle > span:first-child {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

main {
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
}

main section {
    margin: 0 auto;
    width: 100%;
    max-width: 1240px;
    height: 100%;
    padding: 80px 40px;
    scroll-margin-top: 120px;
}

#tasks {
    padding-bottom: 42px;
}

/* Navigation */
.navigation {
    background-color: #F6F6F6;
    display: none;
    margin: 0 auto;
}

.navOpen {
    display: block !important;
}

#navigation {
    display: flex;
    justify-content: space-between;
    align-items: end;
    width: 100%;
    margin: 0 auto;
    padding: 0 40px;
    max-width: 1600px;
}

#navigation ul {
    margin: 0;
    padding: 0;
    list-style: none;
    width: 100%;
    display: flex;
    gap: 3%;
    justify-content: flex-end;
}

#navigation ul li {
    list-style: none;
}

#navigation ul li a {
    color: #000000;
    font-size: 20px;
    padding: 40px 0;
    display: inline-block;
}

#navigation ul li a:hover {
    color: var(--companycolor);
}

.menu-button-container {
    display: flex;
    width: 25px;
    height: 25px;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#menu-toggle {
    display: none;
}

.menu-button,
.menu-button::before,
.menu-button::after {
    display: block;
    background-color: var(--companycolor);
    position: absolute;
    height: 2px;
    width: 25px;
    transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1);
    border-radius: 5px;
}

.menu-button::before {
    content: '';
    margin-top: -8px;
}

.menu-button::after {
    content: '';
    margin-top: 8px;
}

#menu-toggle:checked + .menu-button-container .menu-button::before {
    margin-top: 0;
    transform: rotate(405deg);
}

#menu-toggle:checked + .menu-button-container .menu-button {
    background: rgba(255, 255, 255, 0);
}

#menu-toggle:checked + .menu-button-container .menu-button::after {
    margin-top: 0;
    transform: rotate(-405deg);
}


/* HERO */
#hero {
    display: flex;
    width: 100%;
    margin: 0 auto;
    padding: 0;
    max-width: 1600px;
}

#hero img {
    width: 100%;
    display: flex;
}

#hero .keyVisual {
    width: 100%;
    clip-path: polygon(0 0, 100% 0%, 100% calc(100% - 25px), 0% 100%);
}

/* JOB TITLE */
.jobMeta {
    font-size: 20px;
    line-height: 24px;
    font-weight: 300;
}

/* SLICK SLIDER BENEFITS */
#benefits {
    max-width: 1600px;
    padding-top: 0;
}

#benefits h2 {
    margin: 0 auto 20px;
    max-width: 1160px;
}

#slickBenefits {
    display: flex;
    align-items: center;
}

.slick-prev, .slick-next {
    position: relative;
}

#benefits .slick-dots li:only-child {
    display: none;
}

.benefitContainer {
    position: relative;
    cursor: pointer;
}

#benefits .benefitContainer.clicked .benefitFront {
    justify-content: center;
    min-height: 84px;
}

#benefits .benefitContainer.clicked .benefitFront h3 {
    font-size: 18px !important;
    line-height: 24px !important;
    transition: 0.1s all;
    margin-top: 0;
}

.benefitContainer.clicked .imgContainer {
    display: none !important;
    height: 0 !important;
}

.benefitContainer .imgContainer svg {
    max-width: 140px;
    width: 100%;
}

.benefittext {
    font-size: 14px;
    line-height: 22px;
    font-weight: 400;
    letter-spacing: 0.03px;
    text-align: left;
    opacity: 0;
}

.benefitContainer.clicked .benefittext {
    opacity: 1;
}

.benefitArrow {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 15px 25px;
    display: flex;
    justify-content: end;
}

.benefitArrow svg {
    transition: transform 0.2s;
}

.benefitContainer.clicked .benefitArrow svg {
    transform: rotate(180deg);
}

.benefitContainer.clicked .benefitArrow svg path {
    fill: #000000;
}

#benefits .benefitTitle h3 {
    text-align: center;
    font-size: 22px;
    line-height: 30px;
    letter-spacing: 0.04px;
    color: #FFFFFF;
    margin-top: 47px;
}

#benefits .imgContainer {
    display: flex;
    align-content: center;
    justify-content: center;
    margin-top: 36px;
    height: 140px;
}

.benefitFront {
    background-color: var(--companycolor);
    min-height:90%;
    display: flex;
    flex-direction: column;
    padding: 15px 20px;
    clip-path: polygon(0 0, 100% 0%, 100% calc(100% - 7px), 0% 100%);
    transition: min-height 0.05s;
}

.benefitBack {
    padding: 25px 20px;
}

.benefitAdditionalLink {
    margin-top: 20px;
}

.benefitAdditionalLink a {
    display: inline-flex;
    gap: 10px;
}

.benefitAdditionalLink .additionalGeschenk {
    width: 50px;
}

#benefits #slickBenefits .slick-track {
    display: flex;
    justify-content: space-between;
    min-height: 450px;
}

#benefits .slick-slide {
    border: 1px solid #DDDDDD;
    height: inherit;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    margin:0 15px;
    max-height: 450px;
}

#benefits .slick-prev, #benefits .slick-next {
    width: 30px;
    height: 56px;
}

#benefits .slick-prev {
    left: -40px;
}

#benefits .slick-next {
    right: -40px;
}

#benefits .slick-prev::before, #benefits .slick-next::before {
    width: 30px;
    height: 56px;
    display: flex;
    opacity: 0.6;
}

#benefits .slick-prev:hover::before, #benefits .slick-next:hover::before {
    opacity: 1;
}

#benefits .slick-prev::before {
    content: "";
    background-image: url('../images/chevron-left.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

#benefits .slick-next::before {
    content: "";
    background-image: url('../images/chevron-right.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

/* SLICK SLIDER SLIDESHOW */
.slick-slide img {
    width: 100%;
    height: auto;
}

.slick-slider {
    position: relative;
    display: block;
    box-sizing: border-box;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -ms-touch-action: pan-y;
    touch-action: pan-y;
}

.slick-list {
    position: relative;
    display: block;
    overflow: hidden;
    margin: 0 auto 40px;
    padding: 0;
    max-width: 1200px;
}

.slick-list:focus {
    outline: none;
}

.slick-list.dragging {
    cursor: pointer;
}

.slick-slider .slick-track, .slick-slider .slick-list {
    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-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;
}

.slick-dots li button:before {
    font-size: 20px;
    border: 1px solid #B2B2BC;
    opacity: 1;
    border-radius: 25px;
    background-color: #FFFFFF;
    content: "";
}

.slick-dots li.slick-active button:before {
    opacity: 1;
    background-color: #CC0000;
    border: 1px solid #CC0000;
}

.slick-dots li button:focus,
.slick-dots li button:before {
    color: #FFFFFF;
}

/* TASKS & PROFILE */
.tasksAndProfile {
    background-color: #F9F9F9;
    clip-path: polygon(0 0, 100% 0%, 100% calc(100% - 25px), 0% 100%);
}

section#tasksAndProfile ul {
    padding-left: 18px;
}

section#tasksAndProfile ul li {
    margin-bottom: 15px;
}

section#tasksAndProfile ul li:last-child {
    margin-bottom: 0;
}

#profile, #tasks {
    max-width: 1160px;
}

/* ABOUT & INTERESTED */
#about {
    padding-bottom: 80px;
}

#interested > div {
    margin-top: 35px;
}

/* CONTACT & WORKPLACE */
.fullWidth {
    hyphens: auto;
    max-width: 1600px;
    width: 100%;
    margin: 0 auto;
}

.contacts {
    background-color: #F9F9F9;
    clip-path: polygon(0 0, 100% 0%, 100% calc(100% - 25px), 0% 100%);
}

.contactHolder {
    display: flex;
    flex-direction: row;
    color: #000000;
    gap: 35px;
}

.contactLinie, .contactArbeitsort {
    max-width: 50%;
    width: 100%;
}

#contactHeadings {
    display: block;
    margin-bottom: 18px;
}

.contactSubtitle {
    font-size: 20px;
    line-height: 30px;
    letter-spacing: 0.04px;
    display: inline-block;
}

.contactHolder > div > div {
    display: flex;
    flex-direction: row;
    gap: 18px;
}

#contacts .contactImage {
    width: 150px;
    border-radius: 50%;
}

#contacts .imageContainer div {
    display: flex;
    height: auto;
    border-radius: 50%;
    overflow: hidden;
}

#contacts a:hover svg {
    fill: var(--companycolor);
}

.contactArbeitsort .detailsContainer > div {
    gap: 10px;
    margin-top: 57px;
}

.detailsContainer > div {
    display: flex;
}

.detailsContainer a {
    margin-top: 10px;
    display: flex;
    gap: 10px;
    align-content: center;
    word-break: break-all;
    color: var(--companycolor);
}

.detailsContainer > span {
    display: block;
    margin-bottom: 10px;
}

.detailsContainer svg {
    height: auto;
    min-width: 18px;
}

/* FOLLOW US & VIDEO */
.videoContainer {
    margin-bottom: 40px;
}

#followUs .socialIconsHolder {
    display: flex;
    flex-direction: row;
    align-content: center;
    gap: 10px;
}

#followUs a {
    display: inline-flex;
}

#followUs svg:hover g {
    fill: var(--companycolor);
    transition: 0.2s ease-in-out;
}

/* SIMILAR JOBS */
#similarJobs h2 {
    text-align: center;
    margin-bottom: 40px;
}

.similiarJobsContainer {
    background-color: #F9F9F9;
    clip-path: polygon(0 0, 100% 0%, 100% calc(100% - 25px), 0% 100%);
}

#similarJobsWrapper {
    display: flex;
    gap: 16px;
}

#similarJobsWrapper {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 76px;
}

#similarJobsWrapper .similarJob {
    position: relative;
    padding: 15px 12px;
    border: 1px solid #b2b2bc;
    border-radius: 3px;
    min-height: 236px;
    background-color: #FFFFFF;
}

#similarJobsWrapper .similarJobContainer > svg {
    position: absolute;
    right: 22px;
    bottom: 18px;
    transition: right .1s linear;
}

#similarJobsWrapper a:hover .similarJobContainer > svg {
    right: 17px;
}

#similarJobsWrapper .job-meta {
    font-size: 14px;
    line-height: 17px;
    font-weight: 300;
    margin-top: 30px;
    color: #000000;
    max-width: 90%;
}

#similarJobsWrapper .similarJob:hover .job-meta {
    color: #DB0613;
}

#similarJobsWrapper .similarJob .job-meta svg {
    min-width: 20px;
    max-width: 20px;
}

#similarJobsWrapper .similarJob:hover .job-meta svg path {
    fill: #DB0613;
}

#similarJobsWrapper .job-meta .pensum, #similarJobsWrapper .job-meta > div > div {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 14px;
}

#similarJobsWrapper .job-meta .pensum {
    margin-bottom: 14px;
}

#similarJobsWrapper .similarJob:hover {
    border: 1px solid #DB0613;
}

#similarJobsWrapper .similarJob .jobTitle {
    font-family: 'Fira Sans', sans-serif !important;
    font-weight: 700 !important;
    font-size: 14px;
    line-height: 17px;
    letter-spacing: 0.04px;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
    color: #000;
    margin: 0;
    max-width: 90%;
}

#similarJobsWrapper a:hover .jobTitle {
    text-decoration: underline;
    color: #DB0613;
}

.moreVacancies {
    display: flex;
    justify-content: end;
    margin-top: 40px;
}

.moreVacancies a {
    font-size: 18px;
    line-height: 22px;
    font-weight: 700;
}

.moreVacancies a:hover {
    text-decoration: underline;
}

.moreVacancies svg {
    margin-left: 10px;
}

/* JOBABO */
#jobAbo {
    margin-bottom: 80px;
}

#jobAbo .ctaWrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

#jobAbo .ctaWrapper div {
    min-width: calc(50% - 10px);
    display: inline-block;
}

#jobAbo .button {
    position: relative;
    display: inline-block;
    border: 1px solid #B2B2BC;
    border-radius: 3px;
    min-width: 300px;
    padding: 20px 15px;
    letter-spacing: 0.04px;
    color: #DB0613;
    font-weight: 700;
}

#jobAbo .button:hover {
    border-color: #DB0613;
}

#jobAbo .button svg {
    position: absolute;
    right: 20px;
    top: 27px;
    transition: right .1s linear;
}

#jobAbo .button:hover svg {
    right: 15px;
}

/* FOOTER */
footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #FFFFFF;
    border-top: 1px solid #E5E5E5;
    z-index:10;
}

footer svg {
    fill: var(--companycolor);
}

.shareUsItem {
    display: flex;
    align-content: center;
}

.shareUsItem a {
    display: inherit;

}

#shareUsItemWrapper svg {
    max-width: 30px;
    height: auto;
}

#footerWrapper {
    display: flex;
    justify-content: space-between;
    padding: 18px 40px 17px;
    width: 100%;
    max-width: 1680px;
    z-index: 1;
    margin: 0 auto;
}

.footerTile {
    align-items: center;
}

.footerTile:first-child, #emailPrintWrapper {
    display: flex;
    gap: 40px;
    line-height: 0;
}

#shareUsButton {
    cursor: pointer;
    position: relative;
    width: auto;
    line-height: 0;
}

#shareUsButton svg {
    overflow: visible;
}

.shareUsContainer {
    background-color: #B2B2BC;
    border: 1px solid #B2B2BC;
    cursor: initial;
    left: 0;
    padding: 6px 10px;
    position: absolute;
    top: -50px;
    visibility: hidden;
    z-index: -1;
    width: 144px;
    line-height: 18px;
}

.shareUsContainer.active {
    top: -50px;
    left: 0;
    visibility: visible;
    width: 144px;
    animation: fadeIn .3s ease-in-out both;
    z-index: 999;
}

.shareUsContainer.active:after {
    content: "";
    width: 10px;
    height: 10px;
    transform: rotate(45deg);
    background-color: #B2B2BC;
    display: inline-block;
    position: absolute;
    bottom: -5px;
}

.shareUsContainer.active svg:hover path {
    fill: var(--companycolor);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translate3d(0, 20%, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

#shareUsItemWrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 10px;
}

.buttonWrapperPrimary {
    display: inline-block;
}

.applyButton {
    font-size: 22px;
    line-height: 27px;
    padding: 8px 38px;
}

.applyButton svg {
    margin-left: 20px;
}

/* RESPONSIVE */
@media screen and (min-width: 980px) {
    .stickyJobtitle {
        display: inline-flex;
        flex-direction: column;
        width: calc(100% - 220px);
    }
    .flexLeft {
        align-items: center;
    }
}

@media screen and (max-width:970px) {
    header.sticky .companyLogo {
        display: none;
    }

    .flexLeft {
        flex-direction: column;
    }

    #similarJobsWrapper {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 26px;
    }
    #similarJobsWrapper .similarJob {
        min-height: 150px;
    }
    #navigation ul {
        flex-direction: column;
        margin: 10px 0;
    }
    #navigation ul li a {
        padding: 8px 0;
        margin: 5px 0;
        display: block;
    }
    .stickyJobtitle > span:first-child {
        font-size: 24px;
        line-height: 30px;
    }
    .stickyJobtitle .jobMeta {
        font-size: 16px;
        line-height: 20px;
    }
}

@media screen and (max-width: 767px) {
    main section {
        scroll-margin-top: 80px;
    }
    .flexContainer,
    main section,
    #footerWrapper,
    #stickyTitle span,
    #navigation {
        padding-left: 20px;
        padding-right: 20px;
    }
    .flexContainer {
        min-height: 80px;
    }
    #followUs {
        margin-top: 10px;
    }
    #tasks {
        margin-top: 5px;
    }
    .footerTile:first-child, #emailPrintWrapper {
        gap: 20px;
    }
    #jobTitle {
        padding-top: 40px;
    }
    #contacts .contactImage {
        width: 117px;
    }
    #similarJobsWrapper {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 26px;
    }
}

@media screen and (max-width: 680px) {
    .contactHolder {
        flex-direction: column;
    }
    .contactLinie, .contactArbeitsort {
        max-width: 100%;
        min-width: 100%;
    }
    .detailsContainer > span {
        min-height: 34px;
    }
    #similarJobsWrapper {
        flex-direction: column;
    }
    .similarJob {
        max-width: 100%;
    }
    #similarJobs {
        margin-top: 20px;
    }
    #footerWrapper {
        padding: 10px 20px;
    }
}

@media screen and (max-width: 480px) {
    .stickyJobtitle > span:first-child {
        font-size: 16px;
        line-height: 22px;
    }
    .stickyJobtitle .jobMeta, .stickyJobtitle {
        font-size: 12px;
        line-height: 14px;
    }
}

/* Mobile LANDSCAPE Hide sticky footer on landscape and resize sticky header */
@media (max-height: 650px) {
    #jobAbo {
        margin-bottom: 0;
    }
    footer {
        position: relative;
    }
}

@media only screen {
    .printOnly {
        display: none !important;
    }
}