/* ============================================
   JOBS-LP — Recruiting-Landingpage /de/landingpages/jobs/
   Jobs-Teaser/Live-Jobs-Styles (extrahiert aus aushilfen.css,
   damit die LP nur karriere.css + diese Datei lädt und keine
   Klassen-Konflikte zwischen aushilfen.css und karriere.css entstehen)
============================================ */

.jobs-teaser-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    position: relative;
    overflow: hidden;
}

.jobs-teaser-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.jobs-teaser-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.jobs-teaser-content {
    max-width: 600px;
}

.jobs-teaser-content .section-label {
    background: rgba(245, 158, 11, 0.2);
    color: #b45309;
    border: 1px solid rgba(245, 158, 11, 0.4);
}

.jobs-teaser-content h2 {
    font-size: clamp(24px, 3.5vw, 32px);
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 12px;
    margin-top: 16px;
}

.jobs-teaser-content > p {
    font-size: 16px;
    color: var(--gray-700);
    line-height: 1.6;
    margin-bottom: 20px;
}

.jobs-benefits {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
}

.jobs-benefits li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-800);
}

.jobs-benefits li i {
    color: #16a34a;
    flex-shrink: 0;
}

.jobs-teaser-cta {
    text-align: center;
    background: white;
    padding: 32px 40px;
    border-radius: var(--radius-xl);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    min-width: 260px;
}

.jobs-counter {
    margin-bottom: 20px;
}

.jobs-counter .count {
    display: block;
    font-size: 48px;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}

.jobs-counter .label {
    display: block;
    font-size: 14px;
    color: var(--gray-600);
    margin-top: 4px;
}

.jobs-teaser-cta .btn-primary {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
    width: 100%;
    justify-content: center;
}

.jobs-teaser-cta .btn-primary:hover {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.45);
}

.jobs-teaser-cta .jobs-signup-link {
    display: block;
    margin-top: 12px;
    font-size: 13px;
    color: var(--gray-500);
}

.jobs-teaser-cta .jobs-signup-link a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.jobs-teaser-cta .jobs-signup-link a:hover {
    text-decoration: underline;
}

/* Jobs Teaser Responsive */
@media (max-width: 900px) {
    .jobs-teaser-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
    
    .jobs-teaser-content {
        max-width: 100%;
    }
    
    .jobs-benefits {
        justify-content: center;
    }
    
    .jobs-teaser-cta {
        max-width: 320px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .jobs-teaser-section {
        padding: 48px 0;
    }
    
    .jobs-teaser-cta {
        padding: 24px 20px;
        min-width: unset;
    }
    
    .jobs-counter .count {
        font-size: 40px;
    }
}

/* ============================================
   LIVE JOBS CARDS
   Dynamische Job-Karten via API
============================================ */
.live-jobs-container {
    margin: 16px 0;
}

.live-jobs-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px;
    color: var(--gray-500);
    font-size: 13px;
}

.live-jobs-loading .spinner {
    width: 18px;
    height: 18px;
    border: 2px solid var(--gray-200);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.count-loading {
    display: inline-block;
    width: 32px;
    height: 32px;
    background: linear-gradient(90deg, var(--gray-100) 25%, var(--gray-200) 50%, var(--gray-100) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 6px;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.live-jobs-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.live-job-card {
    display: block;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 12px 14px;
    text-decoration: none;
    text-align: left;
    transition: all 0.2s ease;
}

.live-job-card:hover {
    background: white;
    border-color: var(--accent);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.15);
    transform: translateY(-1px);
}

.job-card-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 6px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.job-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    font-size: 11px;
    color: var(--gray-500);
}

.job-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.job-meta-item svg {
    flex-shrink: 0;
    opacity: 0.7;
}

.job-meta-item.job-rate {
    color: #16a34a;
    font-weight: 600;
}

.job-card-extras {
    margin-top: 6px;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.job-card-tags {
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.job-tag {
    display: inline-block;
    font-size: 9px;
    font-weight: 500;
    color: #b45309;
    background: rgba(245, 158, 11, 0.15);
    padding: 2px 6px;
    border-radius: 4px;
}

.extra-tag {
    display: inline-block;
    font-size: 9px;
    font-weight: 600;
    color: var(--primary);
    background: rgba(37, 99, 235, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.live-jobs-empty {
    padding: 16px;
    font-size: 12px;
    color: var(--gray-500);
    font-style: italic;
    text-align: center;
}

/* Live Jobs Responsive */
@media (max-width: 480px) {
    .live-job-card {
        padding: 10px 12px;
    }
    
    .job-card-title {
        font-size: 12px;
    }
    
    .job-card-meta {
        font-size: 10px;
        gap: 6px 10px;
    }
}
