html {
    scroll-behavior: smooth;
}

/* ==========================================================
   Karriere / Offene Stellen
   ========================================================== */

.fk-vacancies {
    padding-bottom: 100px;
}

/* ==========================================================
   Container
   ========================================================== */

.fk-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 25px;
}

/* ==========================================================
   Hero
   ========================================================== */

.vacancies-hero {
    padding: 160px 0 150px;
    text-align: center;
    /*background: linear-gradient(
        180deg,
        #f8fafc 0%,
        #ffffff 100%
    );*/
    background: url(../../../../wp-content/uploads/2026/04/fk-home-banner.webp) 0 0 / cover no-repeat #f8f9fb;
}

.vacancies-eyebrow,
.eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #0f5ea8;
    margin-bottom: 15px;
}

.vacancies-hero h1 {
    font-size: clamp(42px, 5vw, 72px);
    line-height: 1.1;
    font-weight: 700;
    color: #17212b;
    margin-bottom: 24px;
}

.vacancies-hero p {
    max-width: 760px;
    margin: 0 auto;
    font-size: 20px;
    line-height: 1.7;
    color: #667085;
}

.vacancies-buttons {
    margin-top: 40px;
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==========================================================
   Sections
   ========================================================== */

.vacancies-section,
.vacancies-benefits,
.application-process,
.vacancies-contact {
    padding: 100px 0;
}

.section-head {
    text-align: center;
    margin-bottom: 60px;
}

.section-head h2 {
    font-size: clamp(34px, 4vw, 54px);
    line-height: 1.15;
    color: #17212b;
    margin: 0;
}

/* ==========================================================
   Vacancy Grid
   ========================================================== */

.vacancy-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.vacancy-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 35px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.05);

    transition: all 0.25s ease;
}

.vacancy-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.12);
}

.vacancy-location {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 50px;
    background: rgba(15, 94, 168, 0.08);
    color: #0f5ea8;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
}

.vacancy-card h3 {
    font-size: 28px;
    line-height: 1.3;
    color: #17212b;
    margin-bottom: 15px;
}

.vacancy-card p {
    color: #667085;
    line-height: 1.7;
    margin-bottom: 25px;
}

.vacancy-card a {
    color: #0f5ea8;
    font-weight: 600;
    text-decoration: none;
}

.vacancy-card a:hover {
    text-decoration: underline;
}

/* ==========================================================
   Benefits
   ========================================================== */

.vacancies-benefits {
    background: #f8fafc;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 60px;
}

.stat-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 40px 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.stat-card strong {
    display: block;
    font-size: 48px;
    line-height: 1;
    color: #0f5ea8;
    margin-bottom: 10px;
}

.stat-card span {
    color: #667085;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.benefits-grid div {
    background: #ffffff;
    border-radius: 14px;
    padding: 20px;
    font-weight: 600;
    color: #17212b;
    border: 1px solid #e5e7eb;
}

.benefits-grid div svg {
    float: left;
    width: 24px;
    height: 24px;
    margin: 1px 15px 0 0;
}

/* ==========================================================
   Prozess
   ========================================================== */

.application-process {
    background: #f8fafc;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.process-item {
    position: relative;
    text-align: center;
    padding: 40px 25px;
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid #e5e7eb;
}

.process-item span {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 60px;
    height: 60px;

    border-radius: 50%;
    background: #0f5ea8;

    color: #ffffff;
    font-size: 20px;
    font-weight: 700;

    margin-bottom: 20px;
}

.process-item h3 {
    font-size: 22px;
    line-height: 1.4;
    margin: 0;
}

/* ==========================================================
   Kontakt
   ========================================================== */

.vacancies-contact {
    background: linear-gradient(
        180deg,
        #f8fafc 0%,
        #ffffff 100%
    );
}

.contact-card {
    background: linear-gradient(
        135deg,
        #0f5ea8,
        #1f6fc4
    );

    border-radius: 24px;
    padding: 60px;

    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;

    color: #ffffff;
}

.contact-card .eyebrow {
    color: rgba(255,255,255,.7);
}

.contact-left h2,
.contact-right h3 {
    color: #ffffff;
}

.contact-left p,
.contact-right p {
    color: rgba(255,255,255,.85);
}

.contact-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.contact-right h3 {
    margin-bottom: 0px;
}
.contact-right p {
    margin-bottom: 60px;
}

/* ==========================================================
   Buttons
   ========================================================== */

.vacancies-buttons .btn,
.contact-card .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 14px 26px;

    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;

    transition: all .25s ease;
}

.btn-primary {
    background: #0f5ea8;
    color: #ffffff;
}

.btn-primary:hover {
    transform: translateY(-2px);
}

.btn-secondary {
    background: #ffffff;
    color: #17212b;
    border: 1px solid #d0d5dd;
}

.btn-secondary:hover {
    transform: translateY(-2px);
}

/* ==========================================
   Single Vacancy
   ========================================== */

.vacancy-single-hero {
    padding: 100px 0 100px;
    background: #f8fafc;
    text-align: center;
}

.vacancy-single-hero h1 {
    margin: 20px auto;
    font-size: clamp(42px, 5vw, 72px);
    line-height: 1.1;
}

.vacancy-meta {
    color: #667085;
    font-size: 18px;
}

.vacancy-single-content {
    padding: 80px 0;
}

.vacancy-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 50px;
}

.vacancy-image img {
    width: 100%;
    height: auto;
    border-radius: 18px;
    margin-bottom: 40px;
}

.vacancy-content {
    font-size: 18px;
    line-height: 1.8;
}

.vacancy-content h2,
.vacancy-content h3 {
    margin-top: 50px;
}

.vacancy-sidebar {
    position: sticky;
    top: 120px;
    height: fit-content;
}

.vacancy-box {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 15px 35px rgba(15,23,42,.05);
}

.vacancy-box h3 {
    margin: 5px 0 20px 0;
}

.vacancy-info-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.vacancy-info-row strong {
    color: #17212b;
}

.vacancy-info-row span {
    color: #667085;
}

.vacancy-box .btn {
    width: 100%;
}

@media (max-width: 1000px) {

    .vacancy-layout {
        grid-template-columns: 1fr;
    }

    .vacancy-sidebar {
        position: relative;
        top: auto;
    }
}

/* ==========================================================
   Responsive
   ========================================================== */

@media (max-width: 1100px) {

    .stats-grid,
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {

    .vacancy-grid,
    .stats-grid,
    .benefits-grid,
    .process-grid {
        grid-template-columns: 1fr;
    }

    .vacancies-hero {
        padding: 80px 0 60px;
    }

    .vacancies-section,
    .vacancies-benefits,
    .application-process,
    .vacancies-contact {
        padding: 70px 0;
    }

    .contact-card {
        padding: 35px;
    }

    .vacancy-card {
        padding: 25px;
    }

    .vacancy-card h3 {
        font-size: 24px;
    }
}