
.joblist {
    list-style: none;
    padding-left: 0;
    margin: 0 1rem;
    font-size: 1rem;
    line-height: 1.25rem;
    width: 100%;
}

.joblistitem {
    text-align: left;
    color: #111;
    font-family: acumin-pro, sans-serif;
    position: relative;
    padding-left: 25px;
    margin-bottom: 8px;
}

.joblistitem::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
    font-size: 16px;
}

.job-card {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    min-height: 350px;
    border-top: 1px solid var(--fuchsDarkRed);
    box-shadow: 0 -8px 8px rgba(0, 0, 0, 0.1);
}

.job-card p {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.75;
    text-align: left;
    color: #111;
}

.job-card h3 {
    font-size: 1.35rem;
    letter-spacing: 0;
    line-height: 1.35;
    font-weight: 600;
    overflow: hidden;
    text-align: left;
}

.job-card h3.destination {
    display: block;
    color: var(--fuchsPink);
    font-family: acumin-pro-condensed, sans-serif;
    font-weight: 500;
    font-size: 1.15rem;
    text-align: center;
    margin-bottom: 1rem;
}

.job-card h3 span {
    font-weight: 600;
}

.job-card a {
    color: var(--fuchsPink);
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

.job-card a:hover {
    opacity: 0.5;
}

.job-details {
    overflow: hidden;
    max-height: 0;
    transition: max-height 1s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s ease;
    opacity: 0;
}

.job-details.show {
    max-height: 1400px;
    opacity: 1;
}

.job-details-content {
    padding-top: 1rem;
    margin-top: 1rem;
    border-top: 1px solid #eee;
}

.read-more-btn {
    background: var(--fuchsPink);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    background: var(--fuchsOrange);
    transform: translateY(-1px);
}

/* Mobile Anpassungen */
@media (max-width: 768px) {
    .job-card {
        padding: 0.8rem;
        margin-bottom: 0.8rem;
    }

    .job-card p {
        font-size: 0.9rem;
        line-height: 1.4;
    }

    .job-preview h2 {
        font-size: 1.2rem;
        line-height: 1.3;
    }

    .job-preview h2 span {
        font-size: 1rem;
    }

    .job-preview h3 {
        font-size: 0.9rem;
    }

    .job-preview h4 {
        font-size: 0.8rem;
    }

    .job-preview p {
        font-size: 0.9rem;
        line-height: 1.4;
    }

    .job-details-content {
        padding-top: 0.8rem;
        margin-top: 0.8rem;
    }

    .joblist {
        padding-left: 1rem;
    }

    .joblistitem {
        font-size: 0.85rem;
        margin-bottom: 0.3rem;
    }

    .read-more-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .job-card {
        padding: 0.6rem;
    }

    .job-preview h2 {
        font-size: 1.1rem;
    }

    job-preview h2 span {
        font-size: 0.9rem;
    }

    .job-preview h3,
    .job-preview h4 {
        font-size: 0.8rem;
    }
}


/* ===== JOB FILTER STYLES ===== */
.subhead.jobs {
    margin-top: 0;
}
.job-filter-section {
    background: #f8f9fa;
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.filter-group {
    margin-bottom: 1.5rem;
}

.filter-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    font-family: 'Neue Haas Unica W1G', sans-serif;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.filter-btn,
.category-btn,
.ausbildung-filter-btn {
    padding: 0.5rem 1rem;
    border: 2px solid #ddd;
    background: white;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Neue Haas Unica W1G', sans-serif;
}

.filter-btn.active,
.category-btn.active,
.ausbildung-filter-btn.active {
    background: var(--fuchsPink);
    border-color: var(--fuchsPink);
    color: white;
}

.filter-btn:hover,
.category-btn:hover,
.ausbildung-filter-btn:hover {
    border-color: var(--fuchsPink);
}

/* Ausbildungs-Filter */
.ausbildung-filter {
    background: #f0f8ff;
}

/* Job Cards Animation */
.job-card {
    transition: all 0.3s ease;
}

.job-card.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.job-card:not(.fade-in) {
    opacity: 0.7;
}

.search-container {
    text-align: center;
    padding: 2rem 0;
}

.search-input {
    width: 100%;
    max-width: 400px;
    padding: 0.75rem 1rem;
    border: 2px solid #ddd;
    border-radius: 25px;
    font-size: 1rem;
}

.search-input:focus {
    outline: none;
    border-color: var(--fuchsPink);
}

/* ===== RESPONSIVE DESIGN ===== */

/* Mobile */
@media screen and (max-width: 768px) {
    .filter-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .filter-btn,
    .category-btn,
    .ausbildung-filter-btn {
        width: 100%;
        max-width: 280px;
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
        text-align: center;
    }

    .filter-group {
        margin-bottom: 2rem;
    }

    .filter-group label {
        text-align: center;
        margin-bottom: 1rem;
        font-size: 1.1rem;
    }

    .job-filter-section {
        padding: 1.5rem 0;
    }

    .ausbildung-filter {
        padding: 1.5rem 0;
        margin-top: 1rem;
    }

    /* Touch-optimierte Buttons */
    .filter-btn:active,
    .category-btn:active,
    .ausbildung-filter-btn:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
}

/* Tablet */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .filter-buttons {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .filter-btn,
    .category-btn,
    .ausbildung-filter-btn {
        min-width: 120px;
        font-size: 0.9rem;
    }
}