* {
    box-sizing: border-box;
}

html {
    overflow: auto;
}

/*|########| MEDIA CONTROL |########|*/
@media (max-width: 1400px) {
    .careerImgCollage > div {
        height: 450px !important;
    }

    .careerFooter div:not(.flyoutLogo) {
        padding: 50px;
    }
}

@media (max-width: 1380px) {
    .auerCareerContainer {
        display: grid;
        grid-template-columns: 1fr !important;
        grid-template-rows: 1fr !important;
        gap: 20px !important;
        margin-bottom: 40px;
    }

    .auerCareerLogoContainer {
        display: flex;
        gap: 50px;
    }

    .auerCareerLogoContainer img {
        height: 40px;
    }
}

@media (max-width: 1200px) {
    .careerImgCollage > div {
        height: 350px !important;
    }

    .careerOffers {
        width: 80%;
        margin: 0 !important;
    }
}

@media (max-width: 1025px) {
    .careerImgCollage > div {
        height: 300px !important;
    }
}

@media (max-width: 960px) {
    .w-60\@l {
        width: 100% !important;
    }

    .careerImgCollage {
        display: none !important;
    }

    .careerOffers {
        display: none !important;
    }

    .showRoomImg {
        object-fit: cover !important;
        height: 50vh !important;
        object-position: 28% !important;
    }

    .meetAuerCareerContainer {
        min-height: 350px !important;
    }

    .meetAuerCareerContainer > div {
        display: none;
    }

    .jobOfferGrid:is(.header) {
        display: none;
    }

    .jobOfferGrid:not(.header) > div:not(:first-child):not(.jobOfferCompactText) {
        display: none !important;
        max-width: 100%;

        grid-column-start: 1;
        grid-column-end: 5;
        font-weight: 700;
    }

    .jobOfferCompactText {
        display: block !important;
    }

    .jobOfferGrid:not(.header) > :first-child {
        display: block !important;
        max-width: 100%;

        grid-column-start: 1;
        grid-column-end: 5;
        font-weight: 700;
    }

    .careerListingsContainer a {
        width: 100%;
        box-sizing: border-box;
    }

    .careerFactsContainer {
        flex-direction: column;
        align-items: start !important;
    }

    .careerFooter div:not(.flyoutLogo) {
        bottom: 0;
        display: none;
    }

    .flyoutLogo > img {
        width: 50% !important;
        height: auto !important;
    }

    .careerShowSmall {
        display: block !important;
    }

    .careerHideSmall {
        display: none !important;
    }

    .w100\@sm {
        width: 100% !important;
    }
}



/*|########| HELPER CLASSES |########|*/
.fs-28 {
    font-size: 40px;
    line-height: 50px;
}

.mb-1 {
    margin-bottom: 20px !important;
}

.mb-2 {
    margin-bottom: 40px !important;
}

.mb-3 {
    margin-bottom: 60px !important;
}

.mb-4 {
    margin-bottom: 80px !important;
}

.mb-5 {
    margin-bottom: 100px !important;
}

.mt-4 {
    margin-top: 80px !important;
}

.border-box {
    box-sizing: border-box;
}

.w-60\@l {
    width: 60%;
}

.careerShowSmall {
    display: none;
}

.fullW {
    width: 100% !important;
}

.careerHideSmall {
    display: block;
}

.grid {
    display: grid;
}

.flex {
    display: flex;
}


/*|########| CONTAINER CLASSES |########|*/
.auerCareerContainer {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 100px;
}

.auerCareerLogoContainer {
    display: flex;
    gap: 50px;
}

.auerCareerLogoContainer img {
    height: 40px;
}

.jobOfferCompactText {
    display: none;
    grid-column-start: 1;
    grid-column-end: 4;
}

.smallPageContainer > .careerOffer {
    width: 100% !important;
    text-wrap: wrap !important;
    margin: 40px 0 40px 0 !important;
    padding: 40px;
    flex-direction: column !important;
}

.smallPageContainer > img {
    width: 100% !important;
}

.smallPageContainer > .careerOffer hr {
    border-color: black;
    margin: 10px 0 20px 0;
    border-width: 2px;
    width: 200px;
}

.smallPageContainer > .careerOffer div {
    font-size: 26px;
    overflow-wrap: break-word;
    word-break: break-word;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}

.smallPageContainer > .careerOffer span {
    font-size: 18px;
}

.meetAuerCareerContainer {
    background: url('/img/luftbildaufnahmen.jpg');
    background-position: top;
    background-repeat: no-repeat;
    background-color: var(--dark-bg-color);
    background-size: cover;
    min-height: 770px;
    display: flex;
    justify-content: start;
    align-items: center;
    color: white;
}

.meetAuerCareerContainer > div {
    margin-left: 200px;
}

.jobOfferGrid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    align-items: end;
}

.jobOfferGrid.header {
    margin-bottom: 10px;
}

div:has(.jobOfferGrid) hr {
    margin: 10px 0 10px 0;
}

.careerFactsContainer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    flex-grow: 1;
}

.careerFact {
    display: flex;
    justify-content: center;
    align-items: start;
    flex-flow: column;
}

.careerFact > div {
    display: flex;
    gap: 15px;
}

.careerFact > div > hr {
    border-color: black;
    margin: 10px 0 30px 0;
    border-width: 2px;
    width: 100px;
}

.careerFact > div > div {
    padding-bottom: 10px;
    font-weight: 700;
}

.careerImgCollage {
    display: flex;
    width: 100%;
    flex-direction: column;
    row-gap: 30px;
    justify-content: center;
}

.careerImgCollage > div {
    width: 100%;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.careerImgCollage img {
    height: 100%;
}

.careerOffers {
    display: grid;
    margin: auto;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.careerOffer {
    display: flex;
    gap: 15px;
}

.careerOffer > hr {
    border-color: black;
    margin: 10px 0 30px 0;
    border-width: 2px;
    width: 100px;
}

.careerOfferTextContainer {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.careerOfferTextContainer > div {
    font-weight: 700;
}

.careerOfferTextContainer > span {
    padding-bottom: 10px;
}

.careerFooter {
    background: url('/img/nachhaltig.jpg');
    min-height: 770px;
    background-position: top;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: var(--dark-bg-color);
    color: white !important;
    display: grid;
    grid-template-columns: 1fr 2fr;
    width: 100%;
    gap: 40px;
    justify-content: start;
    align-items: start;
    padding-top: 20rem;
}

.careerFooter > .centerContent > span {
    margin-top: 80%;
    font-size: 16px;
    line-height: 2;
}

.careerFooter h2 {
    color: white;
    margin: 0;
    font-weight: 700;
    font-size: 38px;
}

.careerFooter > .leftContent {
    width: fit-content;
    margin-left: auto;
}

.careerFooter > .leftContent span {
    width: fit-content;
    margin-left: auto;
    font-size: 38px;
}

.careerFooter > .centerContent {
    width: 60%;
}

.careerFooter > .flyoutLogo {
    position: relative;
    bottom: 0;
    height: 100%;
    overflow: hidden;
    grid-column-start: span 2;
}

.careerFooter > .flyoutLogo > img {
    position: absolute;
    right: 0;
    bottom: 0;
    height: 95%;
}

.smallFooter {
    padding: 20px 20px 50px 20px;
    font-weight: 700;
    margin-top: 50px;
}

.smallFooter p {
    font-weight: normal;
}

.overflowXHide {
    overflow-x: hidden !important;
}

.textAlignRight {
    text-align: right;
}

.initiativeApplicationContainer {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 60px;
}

.initiativeApplicationContainer > * {
    margin: 0 !important;
}

.initiativeApplicationContainer > h2 {
    font-weight: 500;
    font-size: 1.85rem;
}
.initiativeApplicationContainer > h3 {
    font-weight: bold;
}