/* ═══════════════════════════════════════════════════════
   Jobboerse.css – VDC Design System
   Farben: #138c47 (Grün), #1f1f1f (Dunkel), #e6e7e9 (Seitenbg), #ffffff (Weiß)
   ═══════════════════════════════════════════════════════ */

/* ── HERO ──────────────────────────────────────────────── */
.jb-hero {
    background: #138c47;
    padding: 80px 40px 72px;
    position: relative;
    overflow: hidden;
}

.jb-hero::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 60px;
    background: #e6e7e9;
    clip-path: polygon(0 100%, 100% 100%, 100% 0);
}

.jb-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.jb-hero-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.jb-hero-label::before {
    content: '';
    display: block;
    width: 28px;
    height: 2px;
    background: rgba(255, 255, 255, 0.4);
    flex-shrink: 0;
}

.jb-hero h1 {
    font-size: clamp(34px, 4.5vw, 58px);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
    max-width: 800px;
    margin-bottom: 22px;
    letter-spacing: -0.025em;
}

.jb-hero-text {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    line-height: 1.75;
    margin: 0;
}


/* ── INTRO SECTION (zweispaltig) ───────────────────────── */
.jb-info {
    background: #e6e7e9;
    padding: 72px 40px;
}

.jb-info-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

@media (max-width: 860px) {
    .jb-info-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

.jb-col-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #138c47;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.jb-col-label::before {
    content: '';
    display: block;
    width: 28px;
    height: 2px;
    background: #138c47;
    flex-shrink: 0;
}

.jb-col-heading {
    font-size: clamp(22px, 2.5vw, 32px);
    font-weight: 800;
    color: #1f1f1f;
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.jb-col-text {
    font-size: 15px;
    color: #555555;
    line-height: 1.75;
    margin-bottom: 24px;
}


/* ── STEPS ─────────────────────────────────────────────── */
.jb-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 24px;
    margin-bottom: 28px;
}

.jb-step {
    display: flex;
    gap: 16px;
    padding-bottom: 24px;
    position: relative;
}

.jb-step:last-child {
    padding-bottom: 0;
}

.jb-step::before {
    content: '';
    position: absolute;
    left: 13px;
    top: 30px;
    bottom: 0;
    width: 2px;
    background: #d4f0e0;
}

.jb-step:last-child::before {
    display: none;
}

.jb-step-num {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #138c47;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.jb-step-body {
    padding-top: 3px;
}

.jb-step-body strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #1f1f1f;
    margin-bottom: 4px;
}

.jb-step-body p {
    font-size: 13px;
    color: #555555;
    line-height: 1.6;
    margin: 0;
}

.jb-step-body a {
    color: #138c47;
    text-decoration: none;
}

.jb-step-body a:hover {
    text-decoration: underline;
}


/* ── HINWEIS BOX (rechte Spalte) ───────────────────────── */
.jb-hinweis-box {
    background: #ffffff;
    border-radius: 12px;
    border-top: 4px solid #138c47;
    padding: 24px;
    margin-top: 20px;
}

.jb-hinweis-box h4 {
    font-size: 16px;
    font-weight: 700;
    color: #138c47;
    margin-bottom: 10px;
}

.jb-hinweis-box p {
    font-size: 14px;
    color: #555555;
    line-height: 1.65;
    margin-bottom: 16px;
}

.jb-hinweis-box a {
    color: #138c47;
    text-decoration: none;
}

.jb-hinweis-box a:hover {
    text-decoration: underline;
}


/* ── LINK GRÜN ─────────────────────────────────────────── */
.jb-link {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #138c47;
    text-decoration: none;
    margin-top: 20px;
}

.jb-link:hover {
    text-decoration: underline;
}


/* ── STELLENANGEBOTE SECTION ───────────────────────────── */
.jb-stellen,
.jb-gesuche {
    background: #ffffff;
    padding: 72px 40px;
}

.jb-gesuche {
    background: #e6e7e9;
}

.jb-stellen-inner,
.jb-gesuche-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.jb-section-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #138c47;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.jb-section-label::before {
    content: '';
    display: block;
    width: 28px;
    height: 2px;
    background: #138c47;
    flex-shrink: 0;
}

.jb-section-heading {
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 800;
    color: #1f1f1f;
    line-height: 1.15;
    margin-bottom: 36px;
    letter-spacing: -0.02em;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.jb-stellen-liste {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}


/* ── STELLENKARTE ──────────────────────────────────────── */
.jb-stelle-card {
    background: #ffffff;
    border-radius: 12px;
    border-top: 4px solid #138c47;
    padding: 24px 28px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Gesuche auf grauem Hintergrund – weiße Karte bleibt */
.jb-stelle-card--gesuch {
    border-top-color: #555555;
}

.jb-stelle-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.09);
}

.jb-stelle-info {
    flex: 1;
}

.jb-stelle-titel {
    font-size: 18px;
    font-weight: 700;
    color: #138c47;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

.jb-stelle-card--gesuch .jb-stelle-titel {
    color: #1f1f1f;
}

.jb-stelle-firma {
    font-size: 13px;
    color: #555555;
    margin-bottom: 12px;
}

.jb-stelle-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.jb-tag {
    font-size: 11px;
    padding: 4px 12px;
    border-radius: 20px;
    background: #e6e7e9;
    color: #555555;
    font-weight: 500;
    white-space: nowrap;
}

.jb-stelle-action {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}


/* ── BEWERBUNGS-BUTTON ─────────────────────────────────── */
.jb-btn {
    display: inline-block;
    background: #138c47;
    color: #ffffff;
    border-radius: 8px;
    padding: 11px 22px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
    transition: background 0.15s ease;
}

.jb-btn:hover {
    background: #0e6e38;
}


/* ── LEER-PLATZHALTER ──────────────────────────────────── */
.jb-stellen-leer {
    max-width: 1200px;
    margin: 0 auto;
    background: #f8f8f8;
    border: 1px dashed #ccc;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
}

.jb-stellen-leer p {
    font-size: 15px;
    color: #555555;
    line-height: 1.65;
    margin-bottom: 8px;
}

.jb-stellen-leer a {
    color: #138c47;
    text-decoration: none;
}

.jb-stellen-leer a:hover {
    text-decoration: underline;
}


/* ── CTA SECTION ───────────────────────────────────────── */
.jb-cta {
    background: #138c47;
    padding: 72px 40px;
}

.jb-cta-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.jb-cta-inner h2 {
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

.jb-cta-inner p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.btn-white {
    display: inline-block;
    background: #ffffff;
    color: #138c47;
    font-weight: 700;
    font-size: 13px;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
    flex-shrink: 0;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}


/* ── RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 768px) {
    .jb-hero {
        padding: 56px 24px 64px;
    }

    .jb-info,
    .jb-stellen,
    .jb-gesuche {
        padding: 48px 24px;
    }

    .jb-stelle-card {
        flex-direction: column;
        gap: 16px;
    }

    .jb-stelle-action {
        width: 100%;
    }

    .jb-btn {
        width: 100%;
        text-align: center;
    }

    .jb-cta {
        padding: 48px 24px;
    }

    .jb-cta-inner {
        flex-direction: column;
        text-align: center;
    }

    .btn-white {
        width: 100%;
        text-align: center;
    }
}