/* Grundlegende Stile */
body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    line-height: 1.6;
}

h1, h2, h3 {
    color: #1a2a6c;
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 20px; /* Reduziertes Padding (von 40px auf 20px) */
    background: linear-gradient(90deg, #1a2a6c, #7cbfd3);
    color: white;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    box-sizing: border-box; /* Sicherstellen, dass Padding in die Breite einfließt */
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: white;
    text-decoration: none;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 15px; /* Reduzierter Abstand (von 20px auf 15px) */
    margin: 0;
    padding: 0; /* Sicherstellen, dass kein zusätzliches Padding die Breite beeinflusst */
    flex-wrap: wrap; /* Links umbrechen, falls der Platz nicht reicht */
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

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

/* Sektionen */
.section {
    padding: 80px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero {
    position: relative;
    background: linear-gradient(90deg, #1a2a6c, #4c91a9);
    color: white;
    text-align: center;
    padding: 150px 40px 100px;
    overflow: hidden;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 10px;
    color: white;
}

.hero h2 {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 20px;
    color: white;
}

/* Grid für Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.service-item {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
}

/* CTA-Button */
.cta-button {
    display: inline-block;
    padding: 12px 24px;
    background: #1a2a6c;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 20px;
}

.cta-button:hover {
    background: #b2fefa;
    color: #1a2a6c;
}

/* Kontaktformular */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 500px;
    margin: 20px auto;
}

.contact-form input, .contact-form textarea {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.contact-info {
    margin-top: 20px;
    text-align: center;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background: #1a2a6c;
    color: white;
}

.footer-link {
    color: #b2fefa;
    text-decoration: none;
}

.footer-link:hover {
    color: #ffffff;
}

/* Canvas für neuronales Netz */
#neural-network {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.3;
    filter: blur(0.5px);
}

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

/* Responsives Design für kleinere Bildschirme */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px 20px;
    }

    .nav-links {
        flex-direction: column;
        gap: 10px;
        margin-top: 10px;
    }

    .nav-links li {
        text-align: left;
    }
}
