@font-face {
    font-family: 'Brule';
    src: url('../fonts/brule/Brule-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

body {
    margin: 0 auto;
    font-family: Montserrat, sans-serif;
    color: var(--textcolor);
    font-size: 18px;
    line-height: 28px;
}
h2 {
    font-family: 'Brule',sans-serif;
    font-weight: bold;
    font-size: 30px;
    color:var(--primary);
}
.pageInner {
    max-width: 845px;
    margin: 0 auto;
}
.leftGroup {
    display: flex;
    gap:45px;
    align-items: center;
}
/*
** Buttons
 */
.applyButton {
    background-color: var(--secondary);
    color: var(--textcolor);
    border: none;
    padding: 0px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 10px;
    transition: background-color 0.3s ease;
    text-decoration: none;
    font-weight: 700;
    height: 50px;
    display: flex;
    align-items: center;
}
/*
** Header
 */
header {
    background-color: var(--primary);
    position: fixed;
    top:0;
    width: 100%;
    z-index: 9999999;
}
.headerInner {
    max-width: 1018px;
    margin: 0 auto;
    height: 95px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
#headerTitle h2 {
    color:var(--textcolorcontrast);
}
#headerLogoPrint {
    display: none;
}

/*
** Mainpic
 */
#mainPic {
    margin-top:175px;
}
#mainPic .pageInner, #socialShare .pageInner, footer .pageInner {
    max-width: 1018px;
}
#mainPic img {
    border-radius: 20px;
    max-width: 100%;
}

/*
** Page Title Area
 */
#titleArea {
    display: flex;
    align-items: center;
    justify-content: center;
}
h1 {
    font-size: 42px;
    color:var(--primary);
    text-align: center;
    font-family: Brule,sans-serif;
    font-weight: bold;
    margin-top:58px;
}
#jobMeta {
    display:flex;
    flex-direction: column;
    gap:11px;
    align-items: center;
    justify-content: center;
}
#jobMeta .jobMetaElement {
    display: flex;
    gap:10px;
    align-items: center;
    font-size: 24px;
}
#jobIntroText p {
    text-align: center;
    margin-top: 20px;
    max-width: 670px;
}

/*
** Aboutus
 */
#aboutUs {
    margin-top:80px;
    background-color:var(--lightBG);
    padding:60px 0;
}
#aboutUs h2 {
    margin-top:0;
}
#aboutUs p {
    margin-bottom:0;
}
#aboutUs h2 {
    color:var(--primary);
}

/*
** Aufgaben Profil
 */
#aufgabenProfil {
    margin-top:70px;
    margin-bottom:100px;
}
#aufgabenProfil .pageInner {
    display: flex;
    gap:31px;
}
#aufgabenProfil .aufgabenProfilElement h2 {
    margin-top:5px;
    color:var(--textcolorcontrast);
}
#aufgabenProfil .aufgabenProfilElement {
    flex-basis: 50%;
    background-color: var(--primary);
    border-radius: 20px;
    padding:25px 20px;
    color:var(--textcolorcontrast);
}
#aufgabenProfil .aufgabenProfilElement ul {
    padding-left:20px;
    list-style: none;
}
#aufgabenProfil .aufgabenProfilElement ul li {
    position: relative;
    padding-left: 10px;
    padding-top:11px;
}
#aufgabenProfil .aufgabenProfilElement ul li:before {
    background-image: url("data:image/svg+xml,%3Csvg width='15' height='15' viewBox='0 0 15 15' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='7.5' cy='7.5' r='7.5' fill='%23F0ECDE'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M6.306 10.555c-.25.002-.49-.094-.673-.27L3.613 8.33a.927.927 0 010-1.303c.372-.36.975-.36 1.346 0l1.347 1.305 3.736-3.618a.984.984 0 011.346 0 .927.927 0 010 1.304l-4.41 4.267a.984.984 0 01-.672.27z' fill='%23294E32'/%3E%3C/svg%3E");
    content: "";
    left:0;
    top:17px;
    position: absolute;
    display: inline-block;
    width: 15px;
    height: 15px;
    margin-left: -15px;
}

/*
** Benefits
 */
#benefits {
    margin-bottom: 91px;
}
#benefits h2 {
    text-align: center;
    margin-bottom: 39px;
}
#benefitsList {
    display: grid;
    grid-template-columns: repeat(3, calc(33.3% - 25.3px));
    gap: 38px;
}

/* Äusserer Container - definiert die Perspektive */
.benefitsElement {
    perspective: 1000px;
    height: 182px;
    position: relative;
}

/* Die Karte, die sich dreht */
.benefitCard {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s ease;
    transform-style: preserve-3d;
}

.benefitsElement:hover .benefitCard {
    transform: rotateY(180deg);
}

/* Gemeinsame Styles für Vorder- und Rückseite */
.benefitFront,
.benefitBack {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    background-color: var(--lightBG);
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 25px 10px 35px 10px;
    overflow: hidden;
    box-sizing: border-box;
}

/* Rückseite */
.benefitBack {
    transform: rotateY(180deg);
}

.benefitTitle {
    font-size: 16px;
    hyphens: auto;
    text-align: center;
    color: var(--primary);
    line-height: 140%;
}

.benefitText {
    color: var(--primary);
    text-align: center;
    font-size: 14px;
    padding: 0 10px;
    line-height: 160%;
}

.benefitFront .infoIcon {
    position: absolute;
    right: 0;
    bottom: 1px;
    display: flex;
}
.benefitFront .infoIcon path {
    fill: var(--primary);
}

.benefitIcon {
    width: 100px;
    height: 100px;
    background-color: var(--primary);
}
/*
** Kontakt
 */
#kontakt {
    margin-bottom: 108px;
}
#kontakt .pageInner {
    display: flex;
    gap:28px;
    justify-content: flex-start;
    color: var(--textcolorcontrast);
    background-color:var(--primary);
    border-radius: 20px;
}
#kontakt .pageInner h2 {
    color: var(--textcolorcontrast);
}
#kontaktBild {
    width: 234px;
    height: 234px;
    background-size: cover;
    border-radius: 20px 0 0 20px;
}
#kontakt .kontaktText {
    display: flex;
    flex-direction: column;
}
#kontakt #kontaktTelForm {
    margin-top:28px;
    display: flex;
    gap:30px;
}
#kontakt a,#contactFormOpen {
    color: var(--textcolorcontrast);
    text-decoration: none;
    font-weight: 700;
    cursor: pointer;
}

/*
** Ablauf
 */

#ablauf {
    margin-bottom: 100px;
    background-color:var(--lightBG);
    padding:68px 0 95px 0;
    display: none;
}
#ablauf .pageInner {
    display: flex;
    gap:85px;
    justify-content: flex-start;
    align-items: flex-start;
    color:var(--primary);
}
#ablauf h2 {
    margin:0;
}
#ablaufList {
    display: flex;
    flex-direction: column;
    gap:0px;
    align-items: flex-start;
}
.ablaufIcon {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary);
    max-width: 23px;
    min-width: 23px;
    height: 23px;
    border-radius: 50%;
}
#ablaufList .ablaufElement .ablaufInner {
    display: flex;
    gap:12px;
}
#ablaufList .ablaufElement {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    min-height: 0;
    margin: 0;
    transition: grid-template-rows 0.4s ease, opacity 0.3s ease, margin 0.4s ease;
    padding:0;
}

#ablaufList .ablaufElement > div {
    overflow: hidden;
}
#ablaufList.open .ablaufElement {
    grid-template-rows: 1fr;
    opacity: 1;
}
#ablaufList .ablaufElement .ablaufInner {
    overflow: hidden;
    min-height: 0;
}

#ablaufList .ablaufElement:first-child,
#ablaufList .ablaufElement:last-child,
#ablaufList .ablaufElement:nth-child(2),
#ablaufList.open .ablaufElement {
    grid-template-rows: 1fr;
    opacity: 1;
    margin-bottom: 27px;
}

#ablaufOpen, #ablaufClose {
    background-color: var(--primary);
    height: 44px;
    justify-content: center;
    align-items: center;
    gap:5px;
    padding:0 17px;
    display: flex;
    border-radius: 12px;
    color: var(--textcolorcontrast);
    font-size: 17px;
    font-weight: 700;
    margin-left: 35px;
    cursor: pointer;
    margin-bottom: 27px;
}
#ablaufClose,#ablaufList.open #ablaufOpen {
    display: none;
}
#ablaufList.open #ablaufClose {
    display: flex;
}
#closeIcon {
    width: 17px;
    height: 17px;
    background-color:var(--lightBG);
    position: relative;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
#closeIcon #closeMinus {
    width: 9px;
    height: 3px;
    background-color: var(--primary);
}
    /*
    ** Video
     */
#video {
    margin:98px 0;
}
#video .hochformat {
    display: flex;
    gap:20px;
    justify-content: center;
}
.youtubeVideo iframe {
    aspect-ratio: 16 / 9;
    border-radius: 20px;
}
.hochformat .youtubeVideo iframe {
    aspect-ratio: 9 / 16;
}

/**
* * Auszeichnungen
 */
#auszeichnungen {
    background-color: var(--lightBG);
    padding:52px 0 59px 0;
    margin-bottom: 71px;
}
#auszeichnungen .pageInner {
    display: grid;
    gap:38px;
    grid-template-columns: repeat(4, calc(25% - 28.5px));
    align-items: center;
}
#auszeichnungen .pageInner img {
    max-width: 100%;
}

/*
** Standort
 */
#standort {
    margin-bottom: 76px;
}
#standortText {
    display: flex;
    align-items: center;
    gap:8px;
}
#arbeitsortMap {
    margin-top:18px;
}
#arbeitsortMap iframe {
    width: 100%;
    height: 263px;
    border:1px solid var(--primary);
    border-radius: 20px;
}

/*
** Apply CTA
 */
#applyCTA {
    margin-bottom: 118px;
}
#applyCTA .pageInner {
    background-color:var(--primary);
    color: var(--textcolorcontrast);
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    border-radius: 20px;
    position: relative;
}
#applyCTALeftSide {
    padding:42px 37px 57px 37px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}
#applyCTALeftSide h2 {
    color:var(--textcolorcontrast);
    margin-bottom: 16px;
    margin-top:0;
    font-size: 40px;
    line-height: 100%;
}
#applyCTALeftSide p {
    font-size: 22px;
    margin-top:0;
    margin-bottom: 25px;
    max-width: 436px;
}
#applyCTAPicture {
    max-width: 288px;
    display: flex;
    position: absolute;
    right:39px;
    bottom:0;
}
#applyCTAPicture img {
    max-width: 100%;
}
/*
*** Similarjobs
 */
#weitereStellen {
    margin-bottom: 131px;
}
#jobList {
    display:flex;
    gap:17px;
    flex-direction: column;
}
a.job {
    background-color:var(--lightBG);
    color:var(--primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 11px;
    padding:18px 23px;
    text-decoration: none;
}
.job h3 {
    font-size: 20px;
    font-weight: 700;
    margin:0 0 13px 0;
}
.jobInfos {
    color:var(--textcolor);
    font-size: 16px;
}
.jobInfoEle {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap:4px;
    font-size: 16px;
}
.jobInfoIcon {
    width: 15px;
    height: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.jobLinkIcon {
    display: flex;
}
.button, button {
    background-color: var(--primary);
    border:0;
    border-radius: 12px;
    display: inline-flex;
    height: 44px;
    padding:0px 18px;
    justify-content: center;
    align-items: center;
    color: var(--textcolorcontrast);
    font-weight: bold;
    text-decoration: none;
    font-size: 17px;
    margin-top:29px;
    cursor: pointer;
}
/*
** Social SHare
 */
#socialShare {
    margin-bottom: 0px;
}
#socialShare h2 {
    margin-top:0;
}
#socialShareButtons a {
    text-decoration: none;
}
#socialShareButtons {
    display: flex;
    gap:24px;
}
#socialShareButtons path {
    fill: var(--primary);
}
#socialShare .pageInner {
    display: flex;
    gap:79px;
}
#socialLogoIcon {
    display: flex;
}
/*
** Footer
 */
footer {
    background-color: var(--lightBG);
    color:var(--textcolor);
    text-align: center;
    margin-top:-15px;
    height: 71px;
    font-size: 15px;
}
footer .pageInner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 71px;
}
footer #footerNav ul {
    display: flex;
    gap:12px;
    list-style: none;
    padding:0;
    margin:0;
}
footer #footerNav a {
    color:var(--textcolor);
    text-decoration: none;
}

/*
** Modal Kontakformular
 */
dialog {
    border: none;
    border-radius: 8px;
    padding: 37px 52px;
    max-width: 90%;
    width: 877px;
}

dialog::backdrop {
    background: var(--primary)D9;
    backdrop-filter: blur(24px);
}

/* Animation beim Öffnen */
dialog[open] {
    animation: fadeIn 0.2s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

#modalCloseButton {
    align-self:flex-end;
    position: absolute;
    right: 10px;
    top:10px;
    cursor: pointer;
}
dialog h2 {
    font-size: 45px;
    margin-top:0;
}
.radiofield {
    margin-bottom:36px;
    display: flex;
    gap:29px;
}
.radioOption {
    display: flex;
    align-items: center;
    gap:7px;
}
.radioOption label,.checkboxinput label {
    cursor: pointer;
}
.checkboxinput {
    display: flex;
    align-items: center;
    gap:7px;
}
input[type=text], input[type=email], input[type=tel],textarea {
    padding: 17px 16px;
    border: 1px solid #F0ECDE;
    background-color:#F0ECDE;
    border-radius: 9px;
    font-size: 16px;
    height: 57px;
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    width: 100%;
    box-sizing: border-box;
    font-family: Montserrat, sans-serif;
}
input[type="radio"] {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #F0ECDE;
    border-radius: 50%;
    position: relative;
    background-color: #F0ECDE;
    margin:0;
    cursor: pointer;
}
input[type=radio]:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: transparent;
}
input[type="radio"]:checked::before {
    background: var(--primary);
}
input[type=checkbox] {
    cursor: pointer;
    width: 20px;
    height: 20px;
    appearance: none;
    position: relative;
    background-color: #F0ECDE;
    border: 2px solid #F0ECDE;
    border-radius: 3px;
}
input[type=checkbox]:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: transparent;
    border-radius: 2px;
}
input[type="checkbox"]:checked::before {
    background: var(--primary);
}
input[type=text]:focus , input[type=email]:focus , input[type=tel]:focus ,textarea:focus, input[type=checkbox]:focus ,input[type="radio"]:focus{
    outline: 2px solid var(--primary);
}
::placeholder {
    color:#3D3D3D;
}
textarea {
    height: 154px;
}
.textfield.two {
    display: flex;
    gap:35px;
}
.contactFormConfirmation {
    display: none;
}
#contactFormQuery {
    position: relative;
}
#contactFormQuery .formLoader {
    width: 100%;
    height: 100%;
    position: absolute;
    top:0;
    left:0;
    background-color:#fff;
    z-index: 99;
    opacity: 0.7;
    display: none;
}
.formLoader::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -50px 0 0 -20px;
    border: 4px solid #e0e0e0;
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
#contactFormQuery.sending .formLoader {
    display: block;
}

.grecaptcha-badge {
    display: none !important;
}


/*
** Expired Page
 */
.expired header {
    position: static;
}

#allJobs .pageInner {
    text-align: center;
}

#allJobs p {
    font-size: 22px;
}

.allJobs {
    background-color: var(--primary);
    color: var(--secondary);
    display: inline-block;
    line-height: 50px;
}

/*
** Responsive
 */
@media only screen and (max-width:1024px) {
    #mainPic .pageInner, #socialShare .pageInner, footer .pageInner, .headerInner {
        margin-left:18px !important;
        margin-right: 18px !important;
    }
    #benefitsList {
        grid-template-columns: repeat(2, calc(50% - 15px));
        gap:30px;
    }
}
@media only screen and (max-width:845px) {
    .pageInner {
        margin-left:15px !important;
        margin-right: 15px !important;
    }
}
@media only screen and (max-width:768px) {
    #headerTitle {
        display: none;
    }
    h1 {
        font-size: 25px;
    }
    body {
        font-size: 16px;
    }
    #mainPic {
        margin-top:128px;
    }
    #jobMeta .jobMetaElement {
        font-size: 18px;
    }
    h2 {
        font-size: 25px;
    }
    .applyButton {
        font-size: 14px;
    }
    #aufgabenProfil {
        margin-bottom:73px;
        margin-top:53px;
    }
    #aufgabenProfil .pageInner {
        flex-direction: column;
    }
    #benefitsList {
        grid-template-columns: 1fr;
    }
    #ablauftTitle {
        display: none;
    }
    #aboutUs {
        padding-top:46px;
        padding-bottom:65px;
        margin-top:39px;
    }
    #ablauf {
        padding:53px 0;
        margin-bottom:48px;
    }
    #video {
        margin-bottom:63px;
        margin-top:48px;
    }
    #video .hochformat {
        flex-direction: column;
    }
    #auszeichnungen .pageInner {
        grid-template-columns: repeat(2, calc(50% - 19px));
        justify-content: center;
        justify-items:center;
    }
    #auszeichnungen .pageInner img {
        max-height: 91px;
        max-width: 151px;
    }
    #applyCTA .pageInner {
        flex-direction: column;
    }
    #applyCTAPicture {
        position: relative;
        max-width: 100%;
        min-width: 100%;
        margin-top:-100px;
        align-self: center;
        display: flex;
        justify-content: flex-end;
    }
    #applyCTAPicture img {
        position: relative;
        max-width: 184px;
        align-self: center;
    }
    #applyCTALeftSide h2 {
        font-size: 25px;
    }
    a.job {
        align-items: flex-end;
    }
    .job h3 {
        font-size: 14px;
        margin-bottom: 9px;
    }
    .jobInfoEle {
        font-size: 11px;
    }
    .jobLinkIcon svg {
        max-width: 10px;
    }
    #benefits {
        margin-bottom: 49px;
    }
    #auszeichnungen {
        margin-bottom: 49px;
    }
    #kontakt {
        margin-bottom: 59px;
    }
    #kontakt .pageInner {
        gap:18px;
        align-items: center;
        height: auto;
        flex-direction: column;
    }
    #kontakt .kontaktText {
        line-height: 180%;
        padding-bottom: 30px;
    }
    #kontakt .pageInner h2 {
        margin-bottom: 7px;
    }
    #kontaktBild {
        max-width: 100%;
        width: 100%;
        height: 380px;
        border-radius: 20px;
        background-position: center;
        background-size:cover;
        background-repeat: no-repeat;
    }
    #kontakt #kontaktTelForm {
        margin-top:14px;
        flex-direction: column;
        margin-top:0;
        gap:0;
    }
    #standort {
        margin-bottom: 41px;
    }
    #standortText {
        font-size: 14px;
    }
    .button {
        font-size: 15px;
    }
    #applyCTA {
        margin-bottom: 76px;
    }
    #weitereStellen {
        margin-bottom: 70px;
    }
    #socialShare .pageInner {
        flex-direction:column-reverse;
        gap:60px;
    }
    #socialLogoIcon svg {
        max-width: 97px;
        max-height: 98px;
    }
    #socialShare h2 {
        text-align: center;
    }
    #socialShareButtons {
        justify-content: center;
    }
    footer,footer .pageInner {
        height: 104px;
    }
    footer .pageInner {
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        font-size: 13px;
    }
}
@media only screen and (max-width:440px) {
    #benefitsList {
        grid-template-columns: 1fr;
    }
}