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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #1d1d1f;
    background: #fff;
    overflow-x: hidden;
}

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

/* Skip Link Style (wird im Header Snippet direkt eingefügt) */
.skip-link {
    position: absolute;
    top: -200px; /* Startet außerhalb des sichtbaren Bereichs */
    left: 10px;
    background: #0D2D5C;
    color: white;
    padding: 15px 20px;
    text-decoration: none;
    z-index: 10001;
    border-radius: 0 0 5px 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: top 0.3s ease;
}
.skip-link:focus { /* Wird sichtbar bei Fokus */
    top: 0;
}


/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #0D2D5C;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #1d1d1f;
    font-weight: 400;
    transition: color 0.3s ease;
    font-size: 17px;
}

.nav-links a:hover {
    color: #0D2D5C;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0D2D5C 0%, #1a4480 100%);
    color: white;
    padding: 200px 0 110px; /* Increased padding */
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -2px;
    line-height: 1.1;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    margin: 10px;
}

.cta-button:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta-button.primary {
    background: white;
    color: #0D2D5C;
}

.cta-button.primary:hover {
    background: #f5f5f7;
    color: #0D2D5C;
}

/* Sections */
.section {
    padding: 100px 0;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: #1d1d1f;
    letter-spacing: -1px;
}

.section-subtitle {
    font-size: 1.25rem;
    text-align: center;
    margin-bottom: 80px;
    color: #86868b;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Jobs Section */
.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.job-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    padding: 45px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.job-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0D2D5C, #1a4480, #0D2D5C);
    border-radius: 20px 20px 0 0;
}

.job-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.8s ease;
}

.job-card:hover::after {
    left: 100%;
}

.job-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px rgba(13, 45, 92, 0.15);
    border-color: rgba(13, 45, 92, 0.1);
}

.job-title {
    font-size: 1.9rem;
    font-weight: 700;
    color: #0D2D5C;
    margin-bottom: 18px;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.job-type {
    display: inline-block;
    background: linear-gradient(135deg, rgba(13, 45, 92, 0.1), rgba(13, 45, 92, 0.05));
    color: #0D2D5C;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(13, 45, 92, 0.1);
}

.job-description {
    color: #1d1d1f;
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 35px;
    font-weight: 400;
}
.job-requirements {
    margin-bottom: 20px; /* Platz vor dem Button */
}
.job-requirements h4 {
    margin-bottom: 10px;
    font-size: 1.1em;
    color: #333;
}
.job-requirements ul {
    list-style: disc;
    margin-left: 20px;
    font-size: 16px;
    color: #555;
}
.job-requirements ul li {
    margin-bottom: 5px;
}


.apply-button {
    background: linear-gradient(135deg, #0D2D5C 0%, #1a4480 100%);
    color: white;
    padding: 16px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: none;
    cursor: pointer;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(13, 45, 92, 0.2);
    position: relative;
    overflow: hidden;
    margin-top: 25px;
}

.apply-button::after {
    content: '→';
    transition: transform 0.3s ease;
}

.apply-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(13, 45, 92, 0.3);
}

.apply-button:hover::after {
    transform: translateX(5px);
}

/* Benefits Section */
.benefits {
    background: #f5f5f7;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.benefit-item {
    text-align: center;
    padding: 40px 20px;
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0D2D5C, #1a4480);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 2rem;
}

.benefit-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 15px;
}

.benefit-description {
    color: #86868b;
    font-size: 17px;
    line-height: 1.6;
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, #0D2D5C 0%, #1a4480 100%);
    color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: flex-start; /* Geändert für bessere Ausrichtung bei unterschiedlichen Höhen */
}

.contact-info h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
    letter-spacing: -1px;
}
.contact-info p.contact-intro-text { /* Eigene Klasse für den Intro-Text */
    font-size: 18px; 
    margin-bottom: 40px; 
    opacity: 0.9;
}

.contact-item {
    margin-bottom: 25px;
    font-size: 18px;
    display: flex;
    align-items: flex-start; /* Für mehrzeilige Adressen etc. */
    gap: 15px;
}
.contact-item span.icon { /* Für Icons wie 📍 📞 ✉️ */
    font-size: 1.5rem; /* Größe der Icons anpassen */
    line-height: 1.6; /* Vertikale Ausrichtung */
    flex-shrink: 0; /* Verhindert, dass das Icon schrumpft */
    margin-top: 2px; /* Kleine Anpassung für bessere Ausrichtung */
}
.contact-item div {
    line-height: 1.6;
}
.contact-item strong {
    display: block;
    margin-bottom: 4px;
}
.contact-item a.map-link {
    color: white;
    text-decoration: underline;
    transition: opacity 0.3s ease;
}
.contact-item a.map-link:hover {
    opacity: 0.8;
}


.contact-form {
    background: #ffffff;
    padding: 45px;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.contact-form > h3 {
    color: #1d1d1f;
    margin-bottom: 30px;
    font-size: 1.8rem;
    font-weight: 700;
}

.form-row { 
    display: flex;
    gap: 20px; 
    margin-bottom: 25px; 
}

.form-row .form-group {
    flex: 1; 
    margin-bottom: 0; 
}

.form-group {
    margin-bottom: 25px; 
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333333;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 16px;
    border: 1px solid #ddd;
    border-radius: 12px;
    background: #f0f0f5;
    font-size: 16px;
    font-family: inherit;
    color: #1d1d1f;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    background: white;
    border-color: #0D2D5C;
    box-shadow: 0 0 0 3px rgba(13, 45, 92, 0.15);
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.submit-button {
    background: linear-gradient(135deg, #0D2D5C 0%, #1a4480 100%);
    color: white;
    padding: 16px 32px;
    border: none;
    border-radius: 25px;
    font-weight: 700;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-button:hover {
    background: linear-gradient(135deg, #1a4480 0%, #0D2D5C 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(13, 45, 92, 0.3);
}


/* Footer */
footer {
    background: linear-gradient(135deg, #0D2D5C 0%, #1a4480 50%, #0D2D5C 100%);
    color: white;
    padding: 80px 0 40px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="footerGrid" width="8" height="8" patternUnits="userSpaceOnUse"><path d="M 8 0 L 0 0 0 8" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23footerGrid)"/></svg>');
    opacity: 0.4;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.footer-section {
    opacity: 0.95;
}

.footer-section h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: white;
    letter-spacing: -0.5px;
}

.footer-section.company h4 {
    font-size: 2rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    line-height: 1.8;
    font-size: 16px;
    transition: all 0.3s ease;
    display: block;
    margin-bottom: 12px;
}

.footer-section a:hover {
    color: white;
    transform: translateX(5px);
    padding-left: 5px; /* Sorgt dafür, dass der Text sich nicht nur verschiebt, sondern auch der Klickbereich */
}


.footer-section.company p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 25px;
}

.social-link {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    font-size: 20px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.3) 50%, transparent 100%);
    margin: 40px 0;
    position: relative;
    z-index: 2;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    position: relative;
    z-index: 2;
    flex-wrap: wrap; /* Für kleinere Bildschirme */
    gap: 15px; /* Abstand bei Umbruch */
}

.footer-bottom-left {
    display: flex;
    gap: 15px; /* Reduziert für besseren Umbruch */
    align-items: center;
    flex-wrap: wrap;
}
.footer-bottom-left span {
    margin-right: 15px;
}
.footer-bottom-left span:last-child {
    margin-right: 0;
}


.footer-bottom-links {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

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

.footer-bottom-links a:hover {
    color: white;
}

.contact-info-footer {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.contact-item-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
}

.contact-icon { /* Generelle Klasse für Icons im Footer und Kontaktbereich */
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}


/* Responsive Design */
@media (max-width: 992px) { /* Anpassung für Tablet-Größen */
    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Flexibler für Footer-Spalten */
        gap: 40px;
    }
    .contact-grid {
        grid-template-columns: 1fr; /* Kontaktinfo und Formular untereinander */
        gap: 50px;
    }
}


@media (max-width: 768px) {
    .nav-links {
        display: none; 
    }
    /* Mobile Menu Button (wird per JS hinzugefügt) braucht eigene Stile oder Stile für .mobile-menu-toggle */

    .hero h1 {
        font-size: 2.8rem; 
    }

    .hero p {
        font-size: 1.2rem; 
    }

    .section-title {
        font-size: 2rem;
    }

    .jobs-grid {
        grid-template-columns: 1fr;
    }
    .job-card {
        padding: 35px 25px;
    }

    .contact-form { 
        padding: 30px;
    }
    
    .form-row { 
        flex-direction: column;
        gap: 0; 
        margin-bottom: 0; 
    }
    .form-row .form-group {
        margin-bottom: 25px; 
    }
    .form-row .form-group:last-child {
         margin-bottom: 25px; 
    }

    .container {
        padding: 0 15px;
    }
     .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .footer-bottom-left {
        justify-content: center;
        margin-bottom: 10px;
    }
}
 @media (max-width: 480px) { 
    .hero h1 {
        font-size: 2.2rem;
    }
    .hero p {
        font-size: 1.1rem;
    }
    .contact-form {
        padding: 20px;
    }
    .form-group input, .form-group textarea, .form-group select {
        padding: 14px;
    }
    .submit-button, .apply-button, .cta-button {
        font-size: 16px;
        padding: 14px 28px;
    }
    .footer-content {
        grid-template-columns: 1fr; /* Alle Footer-Spalten untereinander */
        text-align: center;
    }
    .footer-section.company .social-links {
        justify-content: center;
    }
    .contact-info-footer .contact-item-footer {
        justify-content: center;
    }
}


/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    /* Die Logik für opacity und transform wird jetzt durch JS via IntersectionObserver gesteuert,
       aber die transition bleibt hier wichtig. */
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}


/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading States */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Success Message */
.success-message {
    background: #4CAF50;
    color: white;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    display: none; 
    text-align: center;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.keyboard-navigation *:focus {
    outline: 2px solid #0D2D5C !important;
    outline-offset: 2px !important;
}