/**
 * Stellenanzeigen Plus - Frontend Styles
 * Modernes, professionelles Design für deutsche Unternehmen
 */

:root {
    --stellenanzeigen-primary: #1a365d;
    --stellenanzeigen-primary-light: #2c5282;
    --stellenanzeigen-primary-dark: #0f2240;
    --stellenanzeigen-accent: #3182ce;
    --stellenanzeigen-accent-light: #4299e1;
    --stellenanzeigen-accent-gradient: linear-gradient(135deg, #3182ce 0%, #2c5282 100%);
    --stellenanzeigen-success: #38a169;
    --stellenanzeigen-success-light: #48bb78;
    --stellenanzeigen-warning: #dd6b20;
    --stellenanzeigen-error: #e53e3e;
    --stellenanzeigen-text: #2d3748;
    --stellenanzeigen-text-light: #4a5568;
    --stellenanzeigen-text-muted: #718096;
    --stellenanzeigen-border: #e2e8f0;
    --stellenanzeigen-border-light: #edf2f7;
    --stellenanzeigen-bg: #f7fafc;
    --stellenanzeigen-bg-white: #ffffff;
    --stellenanzeigen-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --stellenanzeigen-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --stellenanzeigen-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --stellenanzeigen-radius: 8px;
    --stellenanzeigen-radius-lg: 12px;
    --stellenanzeigen-radius-xl: 16px;
    --stellenanzeigen-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --stellenanzeigen-transition-fast: all 0.15s ease-in-out;
}

/* ============================================
   Stellenanzeigen Grid & Liste
   ============================================ */

.stellenanzeigen-wrapper {
    max-width: 1280px;
    margin: 0 auto;
    padding: 30px 20px;
}

/* Hero Header */
.stellenanzeigen-hero-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 48px;
    background: linear-gradient(135deg, var(--stellenanzeigen-primary) 0%, var(--stellenanzeigen-primary-light) 50%, var(--stellenanzeigen-accent) 100%);
    border-radius: var(--stellenanzeigen-radius-xl);
    margin-bottom: 28px;
    position: relative;
    overflow: hidden;
    color: #fff;
}

.stellenanzeigen-hero-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.stellenanzeigen-hero-header::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    pointer-events: none;
}

.stellenanzeigen-hero-text {
    position: relative;
    z-index: 2;
}

.stellenanzeigen-hero-title {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 8px 0;
    letter-spacing: -0.5px;
}

.stellenanzeigen-hero-subtitle {
    font-size: 17px;
    color: rgba(255,255,255,0.8);
    margin: 0;
    font-weight: 400;
}

.stellenanzeigen-hero-stats {
    display: flex;
    gap: 24px;
    position: relative;
    z-index: 2;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 24px;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--stellenanzeigen-radius-lg);
    border: 1px solid rgba(255,255,255,0.15);
    min-width: 100px;
    text-align: center;
}

.hero-stat-number {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-bottom: 4px;
}

.hero-stat-label {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,0.75);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Results Bar */
.stellenanzeigen-results-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    margin-top: 8px;
}

.stellenanzeigen-results-bar .results-count {
    font-size: 15px;
    color: var(--stellenanzeigen-text-muted);
}

.stellenanzeigen-results-bar .results-count strong {
    color: var(--stellenanzeigen-primary);
    font-weight: 700;
}

@media (max-width: 768px) {
    .stellenanzeigen-hero-header {
        flex-direction: column;
        gap: 28px;
        padding: 32px 28px;
        text-align: center;
    }
    
    .stellenanzeigen-hero-title {
        font-size: 26px;
    }
    
    .stellenanzeigen-hero-stats {
        width: 100%;
        justify-content: center;
    }
    
    .hero-stat {
        flex: 1;
        min-width: 80px;
        padding: 14px 12px;
    }
    
    .hero-stat-number {
        font-size: 26px;
    }
}

.stellenanzeigen-header {
    text-align: center;
    margin-bottom: 40px;
}

.stellenanzeigen-header h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--stellenanzeigen-primary);
    margin: 0 0 12px 0;
}

.stellenanzeigen-header p {
    font-size: 18px;
    color: var(--stellenanzeigen-text-light);
    margin: 0;
}

.stellenanzeigen-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
}

.stellenanzeigen-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--stellenanzeigen-text-muted);
}

.stellenanzeigen-stat strong {
    font-size: 24px;
    font-weight: 700;
    color: var(--stellenanzeigen-accent);
}

.stellenanzeigen-grid {
    display: grid;
    gap: 28px;
    margin-top: 30px;
}

.stellenanzeigen-grid.columns-1 {
    grid-template-columns: 1fr;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.stellenanzeigen-grid.columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.stellenanzeigen-grid.columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.stellenanzeigen-grid.columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
    .stellenanzeigen-grid.columns-4,
    .stellenanzeigen-grid.columns-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .stellenanzeigen-grid {
        grid-template-columns: 1fr !important;
    }
    
    .stellenanzeigen-stats {
        flex-direction: column;
        gap: 12px;
    }
}

/* ============================================
   Enhanced Filter
   ============================================ */

.stellenanzeigen-filter {
    background: var(--stellenanzeigen-bg-white);
    border: 1px solid var(--stellenanzeigen-border);
    border-radius: var(--stellenanzeigen-radius-xl);
    padding: 28px 32px;
    margin-bottom: 10px;
    box-shadow: var(--stellenanzeigen-shadow);
    position: relative;
    overflow: hidden;
}

.stellenanzeigen-filter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--stellenanzeigen-accent-gradient);
}

.stellenanzeigen-filter-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 700;
    color: var(--stellenanzeigen-primary);
    margin-bottom: 20px;
}

.stellenanzeigen-filter-title svg {
    width: 20px;
    height: 20px;
    color: var(--stellenanzeigen-accent);
}

.stellenanzeigen-filter-form .filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-end;
}

.stellenanzeigen-filter .filter-group {
    flex: 1;
    min-width: 200px;
}

.stellenanzeigen-filter .filter-group label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--stellenanzeigen-text-light);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stellenanzeigen-filter .filter-group label svg {
    width: 14px;
    height: 14px;
    color: var(--stellenanzeigen-accent);
}

.stellenanzeigen-filter .filter-select,
.stellenanzeigen-filter input[type="text"] {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    border: 2px solid var(--stellenanzeigen-border);
    border-radius: var(--stellenanzeigen-radius);
    background: var(--stellenanzeigen-bg-white);
    color: var(--stellenanzeigen-text);
    transition: var(--stellenanzeigen-transition);
    appearance: none;
}

.stellenanzeigen-filter .filter-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23718096' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 44px;
}

.stellenanzeigen-filter .filter-select:focus,
.stellenanzeigen-filter input[type="text"]:focus {
    outline: none;
    border-color: var(--stellenanzeigen-accent);
    box-shadow: 0 0 0 4px rgba(49, 130, 206, 0.12);
}

.stellenanzeigen-filter .filter-buttons {
    display: flex;
    gap: 12px;
    flex: 0 0 auto;
}

.stellenanzeigen-filter .filter-search {
    flex: 1.5;
    min-width: 250px;
}

.stellenanzeigen-filter .filter-search input {
    padding-left: 44px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23718096' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 14px center;
}

.stellenanzeigen-active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--stellenanzeigen-border-light);
}

.stellenanzeigen-active-filters:empty {
    display: none;
}

.filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--stellenanzeigen-bg);
    border-radius: 50px;
    font-size: 13px;
    color: var(--stellenanzeigen-text);
}

.filter-pill-remove {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    background: var(--stellenanzeigen-text-muted);
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: var(--stellenanzeigen-transition-fast);
}

.filter-pill-remove:hover {
    background: var(--stellenanzeigen-error);
}

@media (max-width: 768px) {
    .stellenanzeigen-filter {
        padding: 24px 20px;
    }
    
    .stellenanzeigen-filter .filter-group {
        min-width: 100%;
    }
    
    .stellenanzeigen-filter .filter-search {
        min-width: 100%;
    }
    
    .stellenanzeigen-filter .filter-buttons {
        width: 100%;
        justify-content: stretch;
    }
    
    .stellenanzeigen-filter .filter-buttons .btn {
        flex: 1;
    }
}

/* ============================================
   Enhanced Stellenkarte (Job Card)
   ============================================ */

.stellenanzeige-card {
    background: var(--stellenanzeigen-bg-white);
    border-radius: var(--stellenanzeigen-radius-xl);
    overflow: hidden;
    transition: var(--stellenanzeigen-transition);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    border: 1px solid var(--stellenanzeigen-border);
}

.stellenanzeige-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--stellenanzeigen-accent-gradient);
    opacity: 0;
    transition: var(--stellenanzeigen-transition);
}

.stellenanzeige-card:hover {
    border-color: transparent;
    box-shadow: var(--stellenanzeigen-shadow-xl);
    transform: translateY(-4px);
}

.stellenanzeige-card:hover::before {
    opacity: 1;
}

/* Card Image / Thumbnail */
.stellenanzeige-card .card-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.stellenanzeige-card .card-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.stellenanzeige-card .card-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.stellenanzeige-card:hover .card-thumbnail {
    transform: scale(1.06);
}

.stellenanzeige-card .card-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.35) 0%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

.stellenanzeige-card .card-image .card-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
}

.stellenanzeige-card.has-thumbnail .card-header {
    padding-top: 20px;
}

.stellenanzeige-card.has-thumbnail::before {
    display: none;
}

.stellenanzeige-card .card-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
}

.stellenanzeige-card .badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stellenanzeige-card .badge-new {
    background: linear-gradient(135deg, #38a169 0%, #2f855a 100%);
    color: white;
}

.stellenanzeige-card .badge-hot {
    background: linear-gradient(135deg, #dd6b20 0%, #c05621 100%);
    color: white;
}

.stellenanzeige-card .badge-remote {
    background: linear-gradient(135deg, #805ad5 0%, #6b46c1 100%);
    color: white;
}

.stellenanzeige-card .card-header {
    padding: 28px 28px 20px;
    border-bottom: 1px solid var(--stellenanzeigen-border-light);
}

.stellenanzeige-card .job-category-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--stellenanzeigen-accent);
    background: rgba(49, 130, 206, 0.1);
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 12px;
}

.stellenanzeige-card .job-category-tag svg {
    width: 12px;
    height: 12px;
}

.stellenanzeige-card .job-abteilung {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--stellenanzeigen-accent);
    margin-bottom: 8px;
}

.stellenanzeige-card .job-titel {
    margin: 0;
    font-size: 22px;
    line-height: 1.35;
    font-weight: 700;
    color: var(--stellenanzeigen-text);
}

.stellenanzeige-card .job-titel a {
    color: inherit;
    text-decoration: none;
    transition: var(--stellenanzeigen-transition);
    background-image: linear-gradient(var(--stellenanzeigen-primary), var(--stellenanzeigen-primary));
    background-size: 0% 2px;
    background-position: 0% 100%;
    background-repeat: no-repeat;
}

.stellenanzeige-card .job-titel a:hover {
    color: var(--stellenanzeigen-primary);
    background-size: 100% 2px;
}

.stellenanzeige-card .card-body {
    padding: 20px 28px;
    flex: 1;
}

.stellenanzeige-card .job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 16px;
}

.stellenanzeige-card .meta-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--stellenanzeigen-text-muted);
    padding: 6px 12px;
    background: var(--stellenanzeigen-bg);
    border-radius: var(--stellenanzeigen-radius);
    transition: var(--stellenanzeigen-transition-fast);
}

.stellenanzeige-card .meta-item:hover {
    background: var(--stellenanzeigen-border-light);
}

.stellenanzeige-card .meta-item svg {
    flex-shrink: 0;
    color: var(--stellenanzeigen-accent);
    opacity: 0.8;
}

.stellenanzeige-card .job-salary {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 700;
    color: var(--stellenanzeigen-success);
    padding: 10px 14px;
    background: rgba(56, 161, 105, 0.06);
    border: 1px solid rgba(56, 161, 105, 0.15);
    border-radius: var(--stellenanzeigen-radius);
    margin-bottom: 16px;
}

.stellenanzeige-card .job-salary svg {
    flex-shrink: 0;
    opacity: 0.7;
}

.stellenanzeige-card .job-salary .salary-period {
    font-size: 13px;
    font-weight: 500;
    color: var(--stellenanzeigen-text-muted);
}

.stellenanzeige-card .job-excerpt {
    font-size: 15px;
    line-height: 1.7;
    color: var(--stellenanzeigen-text-light);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.stellenanzeige-card .card-footer {
    padding: 20px 28px 28px;
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.stellenanzeige-card .job-date {
    font-size: 13px;
    color: var(--stellenanzeigen-text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.stellenanzeige-card .job-date svg {
    width: 14px;
    height: 14px;
}

.stellenanzeige-card .card-footer .btn {
    flex-shrink: 0;
}

/* ============================================
   Keine Stellen Meldung - Enhanced
   ============================================ */

.stellenanzeigen-keine-stellen {
    text-align: center;
    padding: 80px 40px;
    background: linear-gradient(180deg, var(--stellenanzeigen-bg) 0%, var(--stellenanzeigen-bg-white) 100%);
    border-radius: var(--stellenanzeigen-radius-xl);
    margin-top: 30px;
    border: 2px dashed var(--stellenanzeigen-border);
}

.stellenanzeigen-keine-stellen-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: var(--stellenanzeigen-bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--stellenanzeigen-shadow);
}

.stellenanzeigen-keine-stellen-icon svg {
    width: 40px;
    height: 40px;
    color: var(--stellenanzeigen-accent);
}

.stellenanzeigen-keine-stellen h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--stellenanzeigen-primary);
    margin: 0 0 12px 0;
}

.stellenanzeigen-keine-stellen p {
    font-size: 16px;
    color: var(--stellenanzeigen-text-light);
    margin: 0 auto 24px;
    max-width: 450px;
    line-height: 1.6;
}

.stellenanzeigen-keine-stellen .btn {
    display: inline-flex;
}

/* ============================================
   Buttons - Enhanced
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--stellenanzeigen-radius);
    border: none;
    cursor: pointer;
    transition: var(--stellenanzeigen-transition);
    line-height: 1.4;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--stellenanzeigen-accent-gradient);
    color: #ffffff;
    box-shadow: 0 4px 14px 0 rgba(49, 130, 206, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(49, 130, 206, 0.5);
    color: #ffffff;
}

.btn-secondary {
    background: var(--stellenanzeigen-bg);
    color: var(--stellenanzeigen-text);
    border: 2px solid var(--stellenanzeigen-border);
}

.btn-secondary:hover {
    background: var(--stellenanzeigen-bg-white);
    border-color: var(--stellenanzeigen-accent);
    color: var(--stellenanzeigen-accent);
}

.btn-outline {
    background: transparent;
    color: var(--stellenanzeigen-accent);
    border: 2px solid var(--stellenanzeigen-accent);
}

.btn-outline:hover {
    background: var(--stellenanzeigen-accent);
    color: #ffffff;
}

.btn-lg {
    padding: 18px 36px;
    font-size: 17px;
}

.btn-sm {
    padding: 10px 18px;
    font-size: 13px;
}

.btn:disabled,
.btn.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.btn svg {
    transition: transform 0.2s ease;
}

.btn:hover svg {
    transform: translateX(3px);
}

/* ============================================
   Multi-Step Bewerbungsformular
   ============================================ */

.bewerbung-formular-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.bewerbung-formular {
    background: var(--stellenanzeigen-bg-white);
    border: 1px solid var(--stellenanzeigen-border);
    border-radius: var(--stellenanzeigen-radius-xl);
    box-shadow: var(--stellenanzeigen-shadow-lg);
    overflow: hidden;
}

/* Progress Steps */
.form-progress {
    background: var(--stellenanzeigen-bg);
    padding: 32px 40px;
    border-bottom: 1px solid var(--stellenanzeigen-border);
}

.form-progress-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.form-progress-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 40px;
    right: 40px;
    height: 3px;
    background: var(--stellenanzeigen-border);
    z-index: 1;
}

.form-progress-bar {
    position: absolute;
    top: 20px;
    left: 40px;
    height: 3px;
    background: var(--stellenanzeigen-accent-gradient);
    z-index: 2;
    transition: width 0.4s ease;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 3;
    cursor: default;
}

.progress-step.clickable {
    cursor: pointer;
}

.progress-step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--stellenanzeigen-bg-white);
    border: 3px solid var(--stellenanzeigen-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: var(--stellenanzeigen-text-muted);
    transition: var(--stellenanzeigen-transition);
}

.progress-step-number svg {
    width: 18px;
    height: 18px;
    display: none;
}

.progress-step.active .progress-step-number {
    border-color: var(--stellenanzeigen-accent);
    color: var(--stellenanzeigen-accent);
    box-shadow: 0 0 0 4px rgba(49, 130, 206, 0.15);
}

.progress-step.completed .progress-step-number {
    background: var(--stellenanzeigen-accent-gradient);
    border-color: transparent;
    color: white;
}

.progress-step.completed .progress-step-number span {
    display: none;
}

.progress-step.completed .progress-step-number svg {
    display: block;
}

.progress-step-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--stellenanzeigen-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    transition: var(--stellenanzeigen-transition);
    white-space: nowrap;
}

.progress-step.active .progress-step-label,
.progress-step.completed .progress-step-label {
    color: var(--stellenanzeigen-primary);
}

@media (max-width: 640px) {
    .form-progress {
        padding: 24px 20px;
    }
    
    .progress-step-label {
        display: none;
    }
    
    .form-progress-steps::before {
        left: 20px;
        right: 20px;
    }
    
    .form-progress-bar {
        left: 20px;
    }
}

/* Form Content */
.form-content {
    padding: 40px;
    min-height: 400px;
}

@media (max-width: 640px) {
    .form-content {
        padding: 28px 20px;
    }
}

/* Form Steps */
.form-step {
    display: none;
    animation: fadeInStep 0.4s ease;
}

.form-step.active {
    display: block;
}

@keyframes fadeInStep {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.form-step-header {
    text-align: center;
    margin-bottom: 36px;
}

.form-step-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(49, 130, 206, 0.1) 0%, rgba(44, 82, 130, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.form-step-icon svg {
    width: 28px;
    height: 28px;
    color: var(--stellenanzeigen-accent);
}

.form-step-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--stellenanzeigen-primary);
    margin: 0 0 8px 0;
}

.form-step-description {
    font-size: 15px;
    color: var(--stellenanzeigen-text-muted);
    margin: 0;
}

/* Form Sections */
.bewerbung-formular .form-section {
    margin-bottom: 28px;
}

.bewerbung-formular .form-section:last-of-type {
    margin-bottom: 0;
}

.bewerbung-formular .section-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--stellenanzeigen-primary);
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--stellenanzeigen-border-light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.bewerbung-formular .section-title svg {
    width: 18px;
    height: 18px;
    color: var(--stellenanzeigen-accent);
}

.bewerbung-formular .form-row {
    display: flex;
    gap: 24px;
}

@media (max-width: 640px) {
    .bewerbung-formular .form-row {
        flex-direction: column;
        gap: 0;
    }
}

.bewerbung-formular .form-group {
    margin-bottom: 24px;
}

.bewerbung-formular .form-group-half {
    flex: 1;
}

.bewerbung-formular label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--stellenanzeigen-text);
    margin-bottom: 10px;
}

.bewerbung-formular .required {
    color: var(--stellenanzeigen-error);
}

.bewerbung-formular .label-hint {
    font-size: 12px;
    font-weight: 400;
    color: var(--stellenanzeigen-text-muted);
    margin-left: 4px;
}

.bewerbung-formular input[type="text"],
.bewerbung-formular input[type="email"],
.bewerbung-formular input[type="tel"],
.bewerbung-formular input[type="number"],
.bewerbung-formular input[type="date"],
.bewerbung-formular select,
.bewerbung-formular textarea {
    width: 100%;
    padding: 14px 18px;
    font-size: 16px;
    font-family: inherit;
    border: 2px solid var(--stellenanzeigen-border);
    border-radius: var(--stellenanzeigen-radius);
    background: var(--stellenanzeigen-bg-white);
    color: var(--stellenanzeigen-text);
    transition: var(--stellenanzeigen-transition);
    box-sizing: border-box;
}

.bewerbung-formular select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23718096' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 48px;
}

.bewerbung-formular input:focus,
.bewerbung-formular select:focus,
.bewerbung-formular textarea:focus {
    outline: none;
    border-color: var(--stellenanzeigen-accent);
    box-shadow: 0 0 0 4px rgba(49, 130, 206, 0.12);
}

.bewerbung-formular input.error,
.bewerbung-formular select.error,
.bewerbung-formular textarea.error {
    border-color: var(--stellenanzeigen-error);
}

.bewerbung-formular input.error:focus,
.bewerbung-formular select.error:focus,
.bewerbung-formular textarea.error:focus {
    box-shadow: 0 0 0 4px rgba(229, 62, 62, 0.12);
}

.bewerbung-formular input::placeholder,
.bewerbung-formular textarea::placeholder {
    color: var(--stellenanzeigen-text-muted);
}

.bewerbung-formular textarea {
    resize: vertical;
    min-height: 140px;
}

.bewerbung-formular .input-with-suffix {
    display: flex;
    align-items: center;
    position: relative;
}

.bewerbung-formular .input-with-suffix input {
    padding-right: 70px;
}

.bewerbung-formular .input-suffix {
    position: absolute;
    right: 18px;
    color: var(--stellenanzeigen-text-muted);
    font-size: 14px;
    font-weight: 500;
}

.bewerbung-formular .conditional-field.hidden {
    display: none;
}

.bewerbung-formular .conditional-field {
    margin-top: 16px;
    padding: 16px;
    background: var(--stellenanzeigen-bg);
    border-radius: var(--stellenanzeigen-radius);
}

.bewerbung-formular .selected-position {
    background: linear-gradient(135deg, rgba(49, 130, 206, 0.08) 0%, rgba(44, 82, 130, 0.08) 100%);
    padding: 20px;
    border-radius: var(--stellenanzeigen-radius);
    margin: 0;
    border: 1px solid rgba(49, 130, 206, 0.2);
}

.bewerbung-formular .selected-position strong {
    color: var(--stellenanzeigen-accent);
}

/* Enhanced Radio Buttons */
.bewerbung-formular .radio-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.bewerbung-formular .radio-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-weight: 500;
    margin-bottom: 0;
    padding: 14px 20px;
    background: var(--stellenanzeigen-bg);
    border: 2px solid var(--stellenanzeigen-border);
    border-radius: var(--stellenanzeigen-radius);
    transition: var(--stellenanzeigen-transition);
    flex: 1;
    min-width: 120px;
}

.bewerbung-formular .radio-label:hover {
    border-color: var(--stellenanzeigen-accent);
    background: var(--stellenanzeigen-bg-white);
}

.bewerbung-formular .radio-label.selected {
    border-color: var(--stellenanzeigen-accent);
    background: linear-gradient(135deg, rgba(49, 130, 206, 0.08) 0%, rgba(44, 82, 130, 0.08) 100%);
}

.bewerbung-formular .radio-label input[type="radio"] {
    width: 20px;
    height: 20px;
    margin: 0;
    cursor: pointer;
    accent-color: var(--stellenanzeigen-accent);
}

.bewerbung-formular .radio-group.error .radio-label {
    border-color: var(--stellenanzeigen-error);
}

/* Enhanced Checkbox */
.bewerbung-formular .checkbox-group {
    margin-bottom: 0;
}

.bewerbung-formular .checkbox-group.error {
    padding: 16px;
    background: rgba(229, 62, 62, 0.05);
    border-radius: var(--stellenanzeigen-radius);
    border: 1px solid var(--stellenanzeigen-error);
}

.bewerbung-formular .checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    cursor: pointer;
    font-weight: 400;
    margin-bottom: 0;
    padding: 16px;
    background: var(--stellenanzeigen-bg);
    border: 2px solid var(--stellenanzeigen-border);
    border-radius: var(--stellenanzeigen-radius);
    transition: var(--stellenanzeigen-transition);
}

.bewerbung-formular .checkbox-label:hover {
    border-color: var(--stellenanzeigen-accent);
}

.bewerbung-formular .checkbox-label input[type="checkbox"] {
    width: 22px;
    height: 22px;
    margin-top: 2px;
    flex-shrink: 0;
    cursor: pointer;
    accent-color: var(--stellenanzeigen-accent);
}

.bewerbung-formular .checkbox-text {
    font-size: 14px;
    color: var(--stellenanzeigen-text-light);
    line-height: 1.6;
}

.bewerbung-formular .checkbox-text a {
    color: var(--stellenanzeigen-accent);
    font-weight: 600;
}

.bewerbung-formular .checkbox-text a:hover {
    text-decoration: underline;
}

/* Enhanced File Upload */
.bewerbung-formular .file-upload-wrapper {
    position: relative;
}

.bewerbung-formular .file-upload-wrapper input[type="file"] {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.bewerbung-formular .file-upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    border: 2px dashed var(--stellenanzeigen-border);
    border-radius: var(--stellenanzeigen-radius-lg);
    background: linear-gradient(180deg, var(--stellenanzeigen-bg) 0%, var(--stellenanzeigen-bg-white) 100%);
    text-align: center;
    transition: var(--stellenanzeigen-transition);
}

.bewerbung-formular .file-upload-wrapper:hover .file-upload-label,
.bewerbung-formular .file-upload-wrapper.dragover .file-upload-label {
    border-color: var(--stellenanzeigen-accent);
    background: linear-gradient(180deg, rgba(49, 130, 206, 0.08) 0%, var(--stellenanzeigen-bg-white) 100%);
}

.bewerbung-formular .file-upload-wrapper.error .file-upload-label {
    border-color: var(--stellenanzeigen-error);
}

.bewerbung-formular .file-upload-icon {
    width: 56px;
    height: 56px;
    background: var(--stellenanzeigen-bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    box-shadow: var(--stellenanzeigen-shadow);
}

.bewerbung-formular .file-upload-icon svg {
    width: 24px;
    height: 24px;
    color: var(--stellenanzeigen-accent);
}

.bewerbung-formular .file-upload-text {
    font-size: 15px;
    color: var(--stellenanzeigen-text);
    margin-bottom: 8px;
}

.bewerbung-formular .file-upload-text strong {
    color: var(--stellenanzeigen-accent);
}

.bewerbung-formular .file-upload-hint {
    font-size: 13px;
    color: var(--stellenanzeigen-text-muted);
}

.bewerbung-formular .file-upload-selected {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--stellenanzeigen-success);
    margin-top: 12px;
    padding: 10px 16px;
    background: rgba(56, 161, 105, 0.1);
    border-radius: var(--stellenanzeigen-radius);
}

.bewerbung-formular .file-upload-selected:empty {
    display: none;
}

.bewerbung-formular .file-upload-selected svg {
    width: 16px;
    height: 16px;
}

/* Review Step */
.review-section {
    background: var(--stellenanzeigen-bg);
    border-radius: var(--stellenanzeigen-radius-lg);
    padding: 24px;
    margin-bottom: 24px;
}

.review-section:last-of-type {
    margin-bottom: 0;
}

.review-section-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--stellenanzeigen-primary);
    margin: 0 0 16px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.review-section-title svg {
    width: 16px;
    height: 16px;
    color: var(--stellenanzeigen-accent);
}

.review-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--stellenanzeigen-border-light);
}

.review-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.review-item:first-of-type {
    padding-top: 0;
}

.review-label {
    font-size: 14px;
    color: var(--stellenanzeigen-text-muted);
}

.review-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--stellenanzeigen-text);
    text-align: right;
    max-width: 60%;
}

.review-edit-link {
    font-size: 13px;
    color: var(--stellenanzeigen-accent);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 12px;
}

.review-edit-link:hover {
    text-decoration: underline;
}

.review-edit-link svg {
    width: 14px;
    height: 14px;
}

/* Form Navigation */
.form-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 40px 32px;
    background: var(--stellenanzeigen-bg);
    border-top: 1px solid var(--stellenanzeigen-border);
}

.form-navigation .btn-prev {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--stellenanzeigen-text-muted);
    background: transparent;
    border: none;
    padding: 12px 20px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: var(--stellenanzeigen-transition);
}

.form-navigation .btn-prev:hover {
    color: var(--stellenanzeigen-text);
}

.form-navigation .btn-prev svg {
    transition: transform 0.2s ease;
}

.form-navigation .btn-prev:hover svg {
    transform: translateX(-3px);
}

.form-navigation .btn-prev.hidden {
    visibility: hidden;
}

.form-navigation .btn-next.hidden,
.form-navigation .btn-submit.hidden {
    display: none !important;
}

@media (max-width: 640px) {
    .form-navigation {
        padding: 20px;
        flex-direction: column-reverse;
        gap: 16px;
    }
    
    .form-navigation .btn-prev {
        width: 100%;
        justify-content: center;
    }
    
    .form-navigation .btn-next,
    .form-navigation .btn-submit {
        width: 100%;
    }
}

/* Form Actions & Messages */
.bewerbung-formular .form-actions {
    text-align: center;
}

.bewerbung-formular .form-actions .btn {
    min-width: 250px;
}

.bewerbung-formular .btn-loading {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.bewerbung-formular .btn-loading .spinner {
    width: 22px;
    height: 22px;
}

.bewerbung-formular .btn-text.hidden,
.bewerbung-formular .btn-loading.hidden {
    display: none;
}

.bewerbung-formular .form-messages {
    margin-top: 0;
    padding: 0 40px 32px;
}

@media (max-width: 640px) {
    .bewerbung-formular .form-messages {
        padding: 0 20px 24px;
    }
}

.bewerbung-formular .form-messages.hidden {
    display: none;
}

.bewerbung-formular .message {
    padding: 20px 24px;
    border-radius: var(--stellenanzeigen-radius-lg);
    font-size: 15px;
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.bewerbung-formular .message svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

.bewerbung-formular .message.hidden {
    display: none;
}

.bewerbung-formular .message-success {
    background: linear-gradient(135deg, rgba(56, 161, 105, 0.1) 0%, rgba(47, 133, 90, 0.1) 100%);
    border: 1px solid var(--stellenanzeigen-success);
    color: var(--stellenanzeigen-success);
}

.bewerbung-formular .message-error {
    background: linear-gradient(135deg, rgba(229, 62, 62, 0.1) 0%, rgba(197, 48, 48, 0.1) 100%);
    border: 1px solid var(--stellenanzeigen-error);
    color: var(--stellenanzeigen-error);
}

.bewerbung-formular .field-error {
    font-size: 13px;
    color: var(--stellenanzeigen-error);
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.bewerbung-formular .field-error svg {
    width: 14px;
    height: 14px;
}

/* ============================================
   Single Job Page Template - Enhanced
   ============================================ */

.stellenanzeigen-content-area {
    width: 100%;
    max-width: 100%;
}

.stellenanzeigen-main {
    width: 100%;
}

.stellenanzeige-single {
    max-width: 960px;
    margin: 0 auto;
    padding: 40px 24px 60px;
}

/* Breadcrumb */
.stellenanzeige-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--stellenanzeigen-text-muted);
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.stellenanzeige-breadcrumb a {
    color: var(--stellenanzeigen-text-muted);
    text-decoration: none;
    transition: var(--stellenanzeigen-transition-fast);
}

.stellenanzeige-breadcrumb a:hover {
    color: var(--stellenanzeigen-accent);
}

.stellenanzeige-breadcrumb svg {
    color: var(--stellenanzeigen-border);
    flex-shrink: 0;
}

.stellenanzeige-breadcrumb span {
    color: var(--stellenanzeigen-text);
    font-weight: 500;
}

/* ============================================
   Hero Section — Full-width image with overlay
   ============================================ */

.stellenanzeige-single .job-hero-section {
    position: relative;
    width: 100%;
    margin-bottom: 40px;
    border-radius: var(--stellenanzeigen-radius-xl);
    overflow: hidden;
    box-shadow: 0 20px 60px -12px rgba(0, 0, 0, 0.25);
}

.stellenanzeige-single .job-hero-image-wrap {
    position: relative;
    width: 100%;
    min-height: 420px;
    max-height: 520px;
    overflow: hidden;
}

.stellenanzeige-single .job-hero-img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    max-height: 520px;
    object-fit: cover;
    display: block;
}

.stellenanzeige-single .job-hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(180deg, transparent 0%, transparent 30%, rgba(0,0,0,0.15) 50%, rgba(0,0,0,0.65) 80%, rgba(0,0,0,0.85) 100%);
    z-index: 1;
}

.stellenanzeige-single .job-hero-body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 48px 48px 44px;
    z-index: 2;
}

.stellenanzeige-single .job-hero-badges {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.stellenanzeige-single .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #fff;
}

.stellenanzeige-single .hero-badge-new {
    background: rgba(56, 161, 105, 0.9);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.stellenanzeige-single .hero-badge-remote {
    background: rgba(128, 90, 213, 0.9);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.stellenanzeige-single .job-hero-title {
    font-size: 42px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 20px 0;
    line-height: 1.15;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.3);
    max-width: 800px;
}

.stellenanzeige-single .job-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.stellenanzeige-single .hero-meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    transition: background 0.2s;
}

.stellenanzeige-single .hero-meta-pill:hover {
    background: rgba(255, 255, 255, 0.25);
}

.stellenanzeige-single .hero-meta-pill svg {
    color: rgba(255, 255, 255, 0.8);
    flex-shrink: 0;
}

.stellenanzeige-single .hero-apply-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: #ffffff;
    color: var(--stellenanzeigen-primary);
    font-size: 15px;
    font-weight: 700;
    border-radius: var(--stellenanzeigen-radius);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.stellenanzeige-single .hero-apply-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    background: var(--stellenanzeigen-bg);
    color: var(--stellenanzeigen-primary);
    text-decoration: none;
}

.stellenanzeige-single .job-header.has-hero {
    margin-bottom: 32px;
    padding-bottom: 24px;
    padding-top: 0;
}

.stellenanzeige-single .job-header.has-hero .job-title {
    display: none;
}

.stellenanzeige-single .job-header.has-hero .job-header-top {
    display: none;
}

@media (max-width: 768px) {
    .stellenanzeige-single .job-hero-section {
        margin-bottom: 28px;
        border-radius: var(--stellenanzeigen-radius-lg);
    }
    
    .stellenanzeige-single .job-hero-image-wrap {
        min-height: 260px;
        max-height: 340px;
    }
    
    .stellenanzeige-single .job-hero-img {
        min-height: 260px;
        max-height: 340px;
    }
    
    .stellenanzeige-single .job-hero-body {
        padding: 24px 20px;
    }
    
    .stellenanzeige-single .job-hero-title {
        font-size: 26px;
        margin-bottom: 14px;
    }
    
    .stellenanzeige-single .job-hero-meta {
        gap: 8px;
        margin-bottom: 18px;
    }
    
    .stellenanzeige-single .hero-meta-pill {
        font-size: 12px;
        padding: 6px 12px;
    }
    
    .stellenanzeige-single .hero-apply-btn {
        width: 100%;
        justify-content: center;
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .stellenanzeige-single .hero-badge {
        font-size: 10px;
        padding: 5px 10px;
    }
}

@media (max-width: 480px) {
    .stellenanzeige-single .job-hero-section {
        margin-bottom: 20px;
        border-radius: var(--stellenanzeigen-radius);
        box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.2);
    }
    
    .stellenanzeige-single .job-hero-image-wrap {
        min-height: 200px;
        max-height: 260px;
    }
    
    .stellenanzeige-single .job-hero-img {
        min-height: 200px;
        max-height: 260px;
    }
    
    .stellenanzeige-single .job-hero-body {
        padding: 18px 16px;
    }
    
    .stellenanzeige-single .job-hero-badges {
        margin-bottom: 10px;
    }
    
    .stellenanzeige-single .job-hero-title {
        font-size: 20px;
        margin-bottom: 10px;
        letter-spacing: -0.3px;
    }
    
    .stellenanzeige-single .job-hero-meta {
        gap: 6px;
        margin-bottom: 14px;
    }
    
    .stellenanzeige-single .hero-meta-pill {
        font-size: 11px;
        padding: 4px 10px;
    }
    
    .stellenanzeige-single .hero-meta-pill svg {
        width: 12px;
        height: 12px;
    }
    
    .stellenanzeige-single .hero-apply-btn {
        padding: 11px 20px;
        font-size: 13px;
    }
}

/* Job Header */
.stellenanzeige-single .job-header {
    margin-bottom: 48px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--stellenanzeigen-border);
}

.stellenanzeige-single .job-header-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.stellenanzeige-single .job-meta-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.stellenanzeige-single .job-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--stellenanzeigen-text-light);
    padding: 6px 14px;
    background: var(--stellenanzeigen-bg);
    border-radius: 50px;
}

.stellenanzeige-single .job-meta-item svg {
    color: var(--stellenanzeigen-accent);
    flex-shrink: 0;
}

.stellenanzeige-single .job-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.stellenanzeige-single .job-badge-new {
    background: linear-gradient(135deg, #38a169 0%, #2f855a 100%);
    color: white;
}

.stellenanzeige-single .job-title {
    font-size: 40px;
    font-weight: 800;
    color: var(--stellenanzeigen-primary);
    margin: 0 0 20px 0;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

@media (max-width: 768px) {
    .stellenanzeige-single .job-title {
        font-size: 32px;
    }
    
    .stellenanzeige-single .job-header-top {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .stellenanzeige-single .job-title {
        font-size: 26px;
    }
}

.stellenanzeige-single .job-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.stellenanzeige-single .job-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: var(--stellenanzeigen-bg);
    border-radius: var(--stellenanzeigen-radius);
    font-size: 14px;
    font-weight: 500;
    color: var(--stellenanzeigen-text);
    border: 1px solid var(--stellenanzeigen-border);
    transition: var(--stellenanzeigen-transition-fast);
}

.stellenanzeige-single .job-tag:hover {
    border-color: var(--stellenanzeigen-accent);
    background: var(--stellenanzeigen-bg-white);
}

.stellenanzeige-single .job-tag svg {
    color: var(--stellenanzeigen-accent);
}

.stellenanzeige-single .job-header-actions {
    display: none;
}

@media (max-width: 768px) {
    .stellenanzeige-single .job-header-actions {
        display: block;
    }
    
    .stellenanzeige-single .job-header-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Job Content */
.stellenanzeige-single .job-content {
    margin-bottom: 48px;
}

/* Details Box */
.stellenanzeige-single .job-details-box {
    background: linear-gradient(135deg, var(--stellenanzeigen-bg) 0%, var(--stellenanzeigen-bg-white) 100%);
    border: 1px solid var(--stellenanzeigen-border);
    border-radius: var(--stellenanzeigen-radius-xl);
    padding: 32px;
    margin-bottom: 40px;
}

.stellenanzeige-single .job-details-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 700;
    color: var(--stellenanzeigen-primary);
    margin: 0 0 24px 0;
}

.stellenanzeige-single .job-details-title svg {
    color: var(--stellenanzeigen-accent);
}

.stellenanzeige-single .job-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}

.stellenanzeige-single .detail-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.stellenanzeige-single .detail-icon {
    width: 44px;
    height: 44px;
    background: var(--stellenanzeigen-bg-white);
    border-radius: var(--stellenanzeigen-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: var(--stellenanzeigen-shadow);
}

.stellenanzeige-single .detail-icon svg {
    color: var(--stellenanzeigen-accent);
}

.stellenanzeige-single .detail-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stellenanzeige-single .detail-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--stellenanzeigen-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stellenanzeige-single .detail-value {
    font-size: 15px;
    font-weight: 600;
    color: var(--stellenanzeigen-text);
}

/* Job Sections */
.stellenanzeige-single .job-section {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--stellenanzeigen-border-light);
}

.stellenanzeige-single .job-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.stellenanzeige-single .job-section h2 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    color: var(--stellenanzeigen-primary);
    margin: 0 0 24px 0;
    padding-bottom: 0;
    border-bottom: none;
}

.stellenanzeige-single .job-section h2 svg {
    color: var(--stellenanzeigen-accent);
    flex-shrink: 0;
}

.stellenanzeige-single .job-description {
    font-size: 16px;
    line-height: 1.8;
    color: var(--stellenanzeigen-text-light);
}

.stellenanzeige-single .job-description p {
    margin-bottom: 16px;
}

.stellenanzeige-single .job-description p:last-child {
    margin-bottom: 0;
}

/* Job Lists */
.stellenanzeige-single .job-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.stellenanzeige-single .job-list li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 16px;
    font-size: 16px;
    line-height: 1.7;
    color: var(--stellenanzeigen-text-light);
}

.stellenanzeige-single .job-list li:last-child {
    margin-bottom: 0;
}

.stellenanzeige-single .job-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background: var(--stellenanzeigen-accent);
    border-radius: 50%;
}

.stellenanzeige-single .job-list-benefits li::before {
    background: var(--stellenanzeigen-success);
}

/* Job CTA */
.stellenanzeige-single .job-cta {
    background: var(--stellenanzeigen-accent-gradient);
    border-radius: var(--stellenanzeigen-radius-xl);
    padding: 48px;
    margin-top: 48px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

@media (max-width: 768px) {
    .stellenanzeige-single .job-cta {
        flex-direction: column;
        text-align: center;
        padding: 40px 24px;
    }
}

.stellenanzeige-single .job-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
    animation: ctaPulse 4s ease-in-out infinite;
}

@keyframes ctaPulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.3; }
}

.stellenanzeige-single .job-cta-content {
    position: relative;
}

.stellenanzeige-single .job-cta h3 {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 8px 0;
}

.stellenanzeige-single .job-cta p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.stellenanzeige-single .job-cta .btn {
    background: #ffffff;
    color: var(--stellenanzeigen-primary);
    position: relative;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
    flex-shrink: 0;
}

.stellenanzeige-single .job-cta .btn:hover {
    background: var(--stellenanzeigen-bg);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    color: var(--stellenanzeigen-primary);
}

/* Bewerbung Section */
.stellenanzeige-single .job-bewerbung-section {
    margin-top: 64px;
    padding-top: 48px;
    border-top: 1px solid var(--stellenanzeigen-border);
}

.stellenanzeige-single .job-bewerbung-header {
    text-align: center;
    margin-bottom: 40px;
}

.stellenanzeige-single .job-bewerbung-header h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--stellenanzeigen-primary);
    margin: 0 0 12px 0;
}

.stellenanzeige-single .job-bewerbung-header p {
    font-size: 16px;
    color: var(--stellenanzeigen-text-muted);
    margin: 0;
}

/* ============================================
   Error Messages
   ============================================ */

.stellenanzeigen-error {
    background: rgba(229, 62, 62, 0.1);
    border: 1px solid var(--stellenanzeigen-error);
    color: var(--stellenanzeigen-error);
    padding: 16px 20px;
    border-radius: var(--stellenanzeigen-radius);
    text-align: center;
}

/* ============================================
   Animations
   ============================================ */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stellenanzeige-card {
    animation: fadeIn 0.4s ease-out;
    animation-fill-mode: both;
}

.stellenanzeige-card:nth-child(1) { animation-delay: 0.05s; }
.stellenanzeige-card:nth-child(2) { animation-delay: 0.1s; }
.stellenanzeige-card:nth-child(3) { animation-delay: 0.15s; }
.stellenanzeige-card:nth-child(4) { animation-delay: 0.2s; }
.stellenanzeige-card:nth-child(5) { animation-delay: 0.25s; }
.stellenanzeige-card:nth-child(6) { animation-delay: 0.3s; }

/* ============================================
   Mobile Responsive Enhancements
   ============================================ */

@media (max-width: 768px) {
    .stellenanzeigen-wrapper {
        padding: 20px 16px;
    }
    
    .stellenanzeige-card .card-header {
        padding: 20px 20px 16px;
    }
    
    .stellenanzeige-card .card-body {
        padding: 16px 20px;
    }
    
    .stellenanzeige-card .card-footer {
        padding: 16px 20px 20px;
    }
    
    .stellenanzeige-card .job-titel {
        font-size: 18px;
    }
    
    .stellenanzeige-card .job-meta {
        gap: 6px;
    }
    
    .stellenanzeige-card .meta-item {
        font-size: 12px;
        padding: 4px 10px;
    }
    
    .stellenanzeige-card .card-image {
        height: 180px;
    }
    
    .stellenanzeige-card .job-excerpt {
        font-size: 14px;
        -webkit-line-clamp: 2;
    }
    
    .stellenanzeige-card .card-footer .btn {
        padding: 8px 14px;
        font-size: 12px;
    }
    
    .stellenanzeige-card .job-salary {
        font-size: 14px;
        padding: 8px 12px;
    }
    
    .stellenanzeigen-results-bar {
        padding: 10px 0;
        font-size: 14px;
    }
    
    .btn {
        padding: 12px 22px;
        font-size: 14px;
    }
    
    .btn-lg {
        padding: 14px 28px;
        font-size: 15px;
    }
    
    .btn-sm {
        padding: 8px 14px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .stellenanzeigen-hero-header {
        padding: 24px 20px;
        gap: 20px;
    }
    
    .stellenanzeigen-hero-title {
        font-size: 22px;
    }
    
    .stellenanzeigen-hero-subtitle {
        font-size: 14px;
    }
    
    .stellenanzeigen-hero-stats {
        gap: 10px;
    }
    
    .hero-stat {
        padding: 10px 8px;
        min-width: 70px;
    }
    
    .hero-stat-number {
        font-size: 22px;
    }
    
    .hero-stat-label {
        font-size: 10px;
    }
    
    .stellenanzeige-card .card-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    
    .stellenanzeige-card .card-footer .btn {
        width: 100%;
        justify-content: center;
    }
    
    .stellenanzeige-card .card-header {
        padding: 16px 16px 14px;
    }
    
    .stellenanzeige-card .card-body {
        padding: 14px 16px;
    }
    
    .stellenanzeige-card .card-footer {
        padding: 14px 16px 16px;
    }
    
    .stellenanzeige-card .job-titel {
        font-size: 16px;
    }
    
    .stellenanzeigen-filter-title {
        font-size: 14px;
    }
    
    .stellenanzeigen-filter .filter-select,
    .stellenanzeigen-filter input[type="text"] {
        padding: 10px 14px;
        font-size: 14px;
    }
    
    .stellenanzeigen-filter .filter-buttons {
        flex-direction: column;
    }
    
    .stellenanzeigen-filter .filter-buttons .btn {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .bewerbung-formular-wrapper {
        padding: 10px;
    }
    
    .bewerbung-formular {
        border-radius: var(--stellenanzeigen-radius-lg);
    }
    
    .form-step-icon {
        width: 56px;
        height: 56px;
    }
    
    .form-step-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .form-step-title {
        font-size: 20px;
    }
    
    .form-step-description {
        font-size: 14px;
    }
    
    .form-step-header {
        margin-bottom: 28px;
    }
    
    .bewerbung-formular input[type="text"],
    .bewerbung-formular input[type="email"],
    .bewerbung-formular input[type="tel"],
    .bewerbung-formular input[type="number"],
    .bewerbung-formular input[type="date"],
    .bewerbung-formular select,
    .bewerbung-formular textarea {
        padding: 12px 14px;
        font-size: 15px;
    }
    
    .bewerbung-formular .file-upload-label {
        padding: 28px 16px;
    }
    
    .bewerbung-formular .file-upload-icon {
        width: 48px;
        height: 48px;
    }
    
    .bewerbung-formular .file-upload-text {
        font-size: 14px;
    }
    
    .review-section {
        padding: 18px 16px;
    }
    
    .review-item {
        flex-direction: column;
        gap: 4px;
    }
    
    .review-value {
        text-align: left;
        max-width: 100%;
    }
    
    .form-navigation {
        padding: 20px 16px 24px;
        gap: 12px;
    }
    
    .form-navigation .btn-prev {
        order: 2;
        width: 100%;
        justify-content: center;
    }
    
    .form-navigation .form-nav-spacer {
        display: none;
    }
    
    .form-navigation .btn-next,
    .form-navigation .btn-submit {
        order: 1;
        width: 100%;
    }
    
    .bewerbung-formular .radio-group {
        flex-direction: column;
        gap: 10px;
    }
    
    .bewerbung-formular .radio-label {
        min-width: unset;
    }
    
    .bewerbung-formular .message {
        padding: 32px 20px;
    }
    
    .bewerbung-formular .success-title,
    .bewerbung-formular .error-title {
        font-size: 18px;
    }
    
    .progress-step-number {
        width: 36px;
        height: 36px;
        font-size: 13px;
    }
    
    .progress-step-number svg {
        width: 14px;
        height: 14px;
    }
}

/* ============================================
   Print Styles
   ============================================ */

@media print {
    .stellenanzeigen-filter,
    .bewerbung-formular,
    .job-cta,
    .form-progress,
    .form-navigation {
        display: none !important;
    }
    
    .stellenanzeige-single {
        max-width: 100%;
    }
}
