/* =========================================================
   Stellenangebot Gebäudetechnik Lehnart
   Bootstrap 5.3 kompatibel
   Ohne CSS-Variablen
========================================================= */


/* =========================================================
   Grundaufbau
========================================================= */

.job-page *,
.job-page *::before,
.job-page *::after {
    box-sizing: border-box;
}


/* =========================================================
   Hero-Bereich
========================================================= */

.job-hero__content {
    z-index: 2;
    flex-direction: column;
    justify-content: center;
    padding: clamp(1.75rem, 3vw, 2.5rem);
    margin-bottom: 1.75rem;
    border: 1px solid rgba(21, 149, 207, 0.22);
    border-radius: 1.15rem;
    background-color: var(--bg-job-hero-content);
    box-shadow: 0 18px 45px rgba(7, 70, 111, 0.09);
}

.job-hero__content {
    transition:
        transform 220ms ease,
        box-shadow 220ms ease,
        border-color 220ms ease;
}

.job-hero__content:hover {
    border-color: rgba(21, 149, 207, 0.38);
    box-shadow: 0 24px 55px rgba(7, 70, 111, 0.15);
    transform: translateY(-0.25rem);
}

.job-eyebrow {
    position: relative;
    display: inline-block;
    width: fit-content;
    margin-bottom: 1.25rem;
    padding-bottom: 0.65rem;
    color: #075c93;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.job-eyebrow::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 2.25rem;
    height: 0.15rem;
    border-radius: 99rem;
    background-color: #f59a23;
    content: "";
}

.job-hero__title {
    margin: 0;
    color: var(--color-job-hero-title);
    font-size: clamp(2.5rem, 5vw, 2.6rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.035em;
}

.job-hero__title span {
    color:var(--color-job-hero-title-span);
    font-weight: 400;
    white-space: nowrap;
}

.job-hero__text {
    max-width: 35rem;
    margin: 1.5rem 0 0;
    color: var(--color-job-hero-title-span);
    font-size: clamp(1.05rem, 1.4vw, 1.25rem);
    line-height: 1.7;
}


/* =========================================================
   Stelleninformationen
========================================================= */

.job-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem 2rem;
    margin-top: 2.5rem;
}

.job-fact {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.job-fact__icon {
    display: inline-flex;
    width: 3rem;
    height: 3rem;
    flex: 0 0 3rem;
    align-items: center;
    justify-content: center;
    border: 2px solid #075c93;
    border-radius: 50%;
    color: #075c93;
    font-size: 1.2rem;
}

.job-fact__content {
    display: flex;
    flex-direction: column;
}

.job-fact__content strong {
    color: var(--color-job-fact-content-strong);
    font-weight: 800;
    line-height: 1.3;
}

.job-fact__content span {
    margin-top: 0.15rem;
    color: var(--color-job-fact-content-span);
    line-height: 1.35;
}


/* =========================================================
   Hero-Bild
========================================================= */

.job-hero__image-wrapper {
    position: relative;
    min-height: 100%;
    overflow: hidden;
}

.job-hero__image-wrapper::before {
    position: absolute;
    z-index: 1;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            #ffffff 0%,
            rgba(255, 255, 255, 0.76) 12%,
            rgba(255, 255, 255, 0) 38%
        );
    content: "";
    pointer-events: none;
}

.job-hero__image-wrapper::after {
    position: absolute;
    right: -5rem;
    bottom: -9rem;
    width: 20rem;
    height: 20rem;
    border: 2.5rem solid rgba(245, 154, 35, 0.12);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.job-hero__image {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 31rem;
    object-fit: cover;
    object-position: center;
}


/* =========================================================
   Allgemeine Inhaltskarten
========================================================= */

.job-section {
    position: relative;
    overflow: hidden;
    padding: clamp(1.75rem, 3vw, 2.5rem);
    border: 1px solid rgba(21, 149, 207, 0.22);
    border-radius: 1.15rem;
    background-color: var(--bg-job-hero-content);
    box-shadow: 0 18px 45px rgba(7, 70, 111, 0.09);
    transition:
        transform 220ms ease,
        box-shadow 220ms ease,
        border-color 220ms ease;
}

.job-section:hover {
    border-color: rgba(21, 149, 207, 0.38);
    box-shadow: 0 24px 55px rgba(7, 70, 111, 0.15);
    transform: translateY(-0.25rem);
}

.job-section--wide {
    margin-bottom: 1.75rem;
}

.job-card-row {
    margin-bottom: 1.75rem;
}


/* =========================================================
   Kartenüberschriften
========================================================= */

.job-section__header {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    margin-bottom: 1.75rem;
}

.job-section__icon {
    display: inline-flex;
    width: 3.5rem;
    height: 3.5rem;
    flex: 0 0 3.5rem;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(21, 149, 207, 0.22);
    border-radius: 50%;
    background-color: #edf7fd;
    color: #1595cf !important;
    font-size: 1.35rem;
}

.job-section__icon svg {
     color: #1595cf !important;
}

.job-section__title {
    margin: 0;
    color: var(--color-job-hero-title);
    font-size: clamp(1.45rem, 2vw, 2rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.job-section__line {
    display: block;
    width: 2.5rem;
    height: 0.15rem;
    margin-top: 0.85rem;
    border-radius: 99rem;
    background-color: #f59a23;
}

.job-section__body {
    position: relative;
}


/* =========================================================
   Listen mit eigenem Check-Icon
   Komplett ohne Font Awesome
========================================================= */

.job-list {
    display: grid;
    gap: 0.85rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.job-list li {
    position: relative;
    margin: 0;
    padding-left: 2rem;
    color: var(--color-job-hero-title-span);
    line-height: 1.65;
}

/* Blauer Kreis */
.job-list li::before {
    position: absolute;
    top: 0.32rem;
    left: 0;
    display: flex;
    width: 1.25rem;
    height: 1.25rem;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #1595cf;
    content: "";
}

/* Weißes Häkchen */
.job-list li::after {
    position: absolute;
    top: 0.75rem;
    left: 0.37rem;
    width: 0.48rem;
    height: 0.25rem;
    border-bottom: 0.13rem solid #ffffff;
    border-left: 0.13rem solid #ffffff;
    content: "";
    transform: rotate(-45deg);
}


/* =========================================================
   Textkarte
========================================================= */

.job-section__text {
    margin: 0;
    color: var(--color-job-hero-title-span);
    line-height: 1.75;
}

.job-section__highlight {
    margin: 1.5rem 0 0;
    color: var(--color-job-hero-title-span);
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.65;
}


/* =========================================================
   Bewerbungs-CTA
========================================================= */

.job-cta {
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem;
    background:
        radial-gradient(
            circle at 15% 10%,
            rgba(255, 255, 255, 0.12),
            transparent 15rem
        ),
        linear-gradient(
            135deg,
            #075c93 0%,
            #03456f 100%
        );
    box-shadow: 0 22px 50px rgba(3, 69, 111, 0.22);
}

.job-cta::after {
    position: absolute;
    right: -8rem;
    bottom: -11rem;
    width: 25rem;
    height: 25rem;
    border: 4rem solid rgba(255, 255, 255, 0.04);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.job-cta__main,
.job-contact {
   
    z-index: 1;
  
    padding: clamp(2rem, 4vw, 2rem);
}

.job-cta__title {
    margin: 0;
    color: #ffffff;
    font-size: clamp(1.6rem, 2.5vw, 2.25rem);
    font-weight: 800;
}

.job-cta__text {
    max-width: 32rem;
    margin: 0.85rem 0 1.5rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
}


/* =========================================================
   Bewerbungsbutton
========================================================= */

.job-cta__button {
    display: inline-flex;
    min-height: 3.5rem;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem 1.35rem;
    border: 0;
    border-radius: 0.6rem;
    background:
        linear-gradient(
            135deg,
            #ffad4c 0%,
            #e88912 100%
        );
    box-shadow: 0 0.65rem 1.5rem rgba(245, 154, 35, 0.28);
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 800;
    text-decoration: none;
    transition:
        transform 200ms ease,
        box-shadow 200ms ease,
        background-color 200ms ease;
}

.job-cta__button .fa-arrow-right {
    margin-left: 0.5rem;
    transition: transform 200ms ease;
}

.job-cta__button:hover,
.job-cta__button:focus {
    background:
        linear-gradient(
            135deg,
            #ffb75f 0%,
            #f59a23 100%
        );
    box-shadow: 0 0.85rem 1.8rem rgba(245, 154, 35, 0.38);
    color: #ffffff;
    transform: translateY(-0.15rem);
}

.job-cta__button:hover .fa-arrow-right,
.job-cta__button:focus .fa-arrow-right {
    transform: translateX(0.3rem);
}

.job-cta__button:focus-visible {
    outline: 0.2rem solid #ffffff;
    outline-offset: 0.2rem;
}


/* =========================================================
   Kontaktdaten im CTA
========================================================= */

.job-contact {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    border-left: 1px solid rgba(255, 255, 255, 0.24);
}

.job-contact__icon {
    display: inline-flex;
    width: 3.25rem;
    height: 3.25rem;
    flex: 0 0 3.25rem;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    color: #ffffff;
    font-size: 1.25rem;
}

.job-contact__content {
    min-width: 0;
}

.job-contact__title {
    margin: 0;
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1.4;
}

.job-contact__text {
    margin: 0.6rem 0 0.85rem;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.6;
}

.job-contact__content a {
    color: #ffffff;
    font-weight: 800;
    overflow-wrap: anywhere;
    text-decoration: none;
    transition:
        color 180ms ease,
        opacity 180ms ease;
}

.job-contact__link:hover,
.job-contact__link:focus {
    color: #ffd49b;
}


/* =========================================================
   Tablet
========================================================= */

@media (max-width: 1199.98px) {

    .job-hero__content {
        padding: 3rem;
    }

    .job-facts {
        gap: 1.25rem;
    }

    .job-fact {
        width: calc(50% - 0.75rem);
    }

    .job-contact {
        padding: 2rem;
    }
}


/* =========================================================
   Bis einschließlich Bootstrap lg
========================================================= */

@media (max-width: 991.98px) {

    .job-hero__content {
        min-height: auto;
        padding: 3rem;
    }

    .job-hero__image-wrapper {
        min-height: 22rem;
    }

    .job-hero__image-wrapper::before {
        background:
            linear-gradient(
                180deg,
                #ffffff 0%,
                rgba(255, 255, 255, 0.2) 20%,
                rgba(255, 255, 255, 0) 50%
            );
    }

    .job-hero__image {
        min-height: 22rem;
    }

    .job-contact {
        border-top: 1px solid rgba(255, 255, 255, 0.24);
        border-left: 0;
    }

    .job-contact--last {
        border-left: 1px solid rgba(255, 255, 255, 0.24);
    }
}


/* =========================================================
   Smartphone und kleinere Tablets
========================================================= */

@media (max-width: 767.98px) {

    .job-page {
        padding: 2.5rem 0;
    }

    .job-hero,
    .job-section,
    .job-cta {
        border-radius: 1rem;
    }

    .job-hero__content {
        padding: 2rem;
    }

    .job-hero__title span {
        display: block;
        margin-top: 0.45rem;
    }

    .job-facts {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 2rem;
    }

    .job-fact {
        width: 100%;
    }

    .job-hero__image-wrapper,
    .job-hero__image {
        min-height: 17rem;
    }

    .job-section {
        padding: 1.6rem;
    }

    .job-section__header {
        gap: 1rem;
    }

    .job-contact--last {
        border-left: 0;
    }
}


/* =========================================================
   Kleine Smartphones
========================================================= */

@media (max-width: 575.98px) {

    .job-page .container {
        padding-right: 1rem;
        padding-left: 1rem;
    }

    .job-hero__content {
        padding: 1.6rem;
    }

    .job-hero__title {
        font-size: 2.3rem;
    }

    .job-hero__text {
        font-size: 1rem;
    }

    .job-hero__image-wrapper,
    .job-hero__image {
        min-height: 14rem;
    }

    .job-section {
        padding: 1.35rem;
    }

    .job-section__header {
        align-items: center;
    }

    .job-section__icon {
        width: 3rem;
        height: 3rem;
        flex-basis: 3rem;
        font-size: 1.15rem;
    }

    .job-section__title {
        font-size: 1.35rem;
    }

    .job-list li {
        padding-left: 1.75rem;
        font-size: 0.94rem;
    }

    .job-cta__main,
    .job-contact {
        padding: 1.6rem;
    }

    .job-contact {
        flex-direction: column;
    }

    .job-cta__button {
        width: 100%;
        justify-content: center;
    }
}


/* =========================================================
   Reduzierte Bewegungen
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .job-section,
    .job-cta__button,
    .job-cta__button .fa-arrow-right {
        transition: none;
    }

    .job-section:hover,
    .job-cta__button:hover {
        transform: none;
    }
}