/* Stellenangebote Seite - Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: white;
    border-bottom: 1px solid #e0e0e0;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.header-nav {
    display: flex;
    gap: 20px;
}

.nav-link {
    color: #1e3a5f;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #2563eb;
}

/* Hero Section */
.hero {
    background: #1e3a5f;
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.hero h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
}

.hero-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
}

/* Schnellnavigation */
.quick-nav {
    background: white;
    padding: 60px 20px;
    border-bottom: 1px solid #e0e0e0;
}

.quick-nav-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    color: #1e3a5f;
}

.quick-nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.quick-nav-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px;
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    position: relative;
}

.quick-nav-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-color: #2563eb;
}

.quick-nav-item.active {
    border-color: #2563eb;
    background: #f0f7ff;
}

.nav-number {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 32px;
    height: 32px;
    background: #1e3a5f;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.nav-title {
    font-size: 18px;
    font-weight: 600;
    color: #1e3a5f;
    padding-right: 40px;
}

.nav-type {
    font-size: 14px;
    color: #666;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nav-type::before {
    content: '📋';
    font-size: 14px;
}

/* Jobs Section */
.jobs-section {
    padding: 80px 20px;
}

.job-detail {
    background: white;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    scroll-margin-top: 120px; /* Für smooth scroll mit offset */
}

.job-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
    gap: 30px;
    flex-wrap: wrap;
}

.job-detail-title {
    font-size: 32px;
    font-weight: 700;
    color: #1e3a5f;
    margin-bottom: 16px;
}

.job-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    color: #666;
}

.meta-item svg {
    flex-shrink: 0;
    color: #2563eb;
}

.job-detail-summary {
    font-size: 18px;
    line-height: 1.7;
    color: #555;
    padding: 25px;
    background: #f8f9fa;
    border-left: 4px solid #2563eb;
    border-radius: 8px;
    margin-bottom: 30px;
}

.job-detail-content {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}

.job-detail-content h3 {
    font-size: 22px;
    font-weight: 700;
    color: #1e3a5f;
    margin-top: 30px;
    margin-bottom: 16px;
}

.job-detail-content h3:first-child {
    margin-top: 0;
}

.job-detail-content ul {
    list-style: disc;
    padding-left: 25px;
    margin-bottom: 25px;
}

.job-detail-content ul li {
    padding-left: 5px;
    position: relative;
    margin-bottom: 12px;
}

.job-detail-content ul li::marker {
    color: #2563eb;
    font-size: 1.2em;
}

.job-detail-content p {
    margin-bottom: 16px;
}

.job-detail-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
    gap: 20px;
    flex-wrap: wrap;
}

/* Buttons */
.apply-button-small {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #2563eb;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.apply-button-small:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.apply-button-large {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    background: #2563eb;
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s ease;
}

.apply-button-large:hover {
    background: #1d4ed8;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.45);
}

.back-to-top-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.back-to-top-link:hover {
    color: #2563eb;
}

/* Job Divider */
.job-divider {
    border: none;
    border-top: 2px solid #e0e0e0;
    margin: 60px 0;
}

/* CTA Section */
.cta-section {
    background: #1e3a5f;
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.cta-section h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    padding: 18px 40px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s ease;
}

.cta-button.primary {
    background: #2563eb;
    color: white;
}

.cta-button.primary:hover {
    background: #1d4ed8;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.45);
}

.cta-button.secondary {
    background: white;
    color: #1e3a5f;
}

.cta-button.secondary:hover {
    background: #f0f7ff;
    transform: translateY(-3px);
}

/* Footer */
footer {
    background: #1e3a5f;
    color: rgba(255, 255, 255, 0.7);
    padding: 40px 20px 20px;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-text {
    font-size: 14px;
    margin-bottom: 20px;
}

/* Social Media Links */
.footer-social {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    color: white;
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: white;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: #1d4ed8;
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(37, 99, 235, 0.5);
}

/* Responsive */
@media (max-width: 968px) {
    .hero h1 {
        font-size: 32px;
    }

    .job-detail-title {
        font-size: 26px;
    }

    .job-detail {
        padding: 30px 20px;
    }

    .job-detail-header {
        flex-direction: column;
    }

    .quick-nav-grid {
        grid-template-columns: 1fr;
    }

    .cta-section h2 {
        font-size: 28px;
    }
}

@media (max-width: 640px) {
    .header-nav {
        flex-direction: column;
        gap: 10px;
        align-items: flex-end;
    }

    .nav-link {
        font-size: 13px;
    }

    .hero {
        padding: 40px 20px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .quick-nav {
        padding: 40px 20px;
    }

    .quick-nav-title {
        font-size: 24px;
    }

    .job-detail-title {
        font-size: 24px;
    }

    .job-detail-meta {
        flex-direction: column;
        gap: 12px;
    }

    .job-detail-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .apply-button-large {
        width: 100%;
        justify-content: center;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-button {
        width: 100%;
        justify-content: center;
    }
}