/* Grundlegende Stile */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: #004aad;
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
} 

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative; /* Für absolute Positionierung des Hamburger */
}


/* Navigation */
nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a:hover,
nav a.active {
    color: #f39c12;
}

/* Hamburger Menü Button */
.menu-toggle {
    display: none; /* Standard verstecken */
    background: none;
    border: none;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    margin-left:auto;
    z-index: 1001;
}

/* Sektionen */
.section {
    padding: 4rem 0;
}

.section h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: #004aad;
}

.section h3 {
    font-size: 1.6rem;
    margin: 2rem 0 1rem;
    text-align: center;
    color: #004aad;
}

.section p {
    margin-bottom: 1rem;
}

/* Hero-Bereich */
.hero {
    background: linear-gradient(to right, #004aad, #007bff);
    color: white;
    text-align: center;
    padding: 5rem 0;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
}

/* CTA-Button */
.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: #f39c12;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.cta-button:hover {
    background: #e67e22;
}

/* Über uns */
.about {
    background: #f4f4f4;
}

/* Dienstleistungen */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 2rem;
}

.service-card {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
}

.service-icon {
    font-size: 2.5rem;
    color: #004aad;
    margin-bottom: 1rem;
}

.service-card h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #004aad;
}

.service-cta {
    color: #f39c12;
    text-decoration: none;
    transition: color 0.3s ease;
}

.service-cta:hover {
    color: #e67e22;
}

/* Kontaktformular */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form label {
    font-weight: 500;
    color: #004aad;
}

.contact-form input,
.contact-form textarea {
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.contact-form textarea {
    min-height: 120px;
}

.contact-form button {
    padding: 1rem;
    background: #f39c12;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.contact-form button:hover {
    background: #e67e22;
}

#form-status {
    text-align: center;
    margin-top: 1rem;
    color: #004aad;
}

/* Footer */
footer {
    background: #004aad;
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 2rem;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #f39c12;
}

/* Responsive Design */
@media (max-width: 900px) {
    /* Header & Navigation */
    header .container {
        flex-direction: column;
        gap: 1rem;
        position: relative;
    }

    /* Hamburger Button anzeigen */
    .menu-toggle {
        display: block;
    }

    /* Navigation - Links ausblenden */
    nav ul {
        flex-direction: column;
        position: fixed;
        top: 70px; /* Höhe des Headers */
        right: 0;
        left: 0;
        background: #004aad;
        width: 100%;
        padding: 2rem 1rem;
        box-shadow: 0 2px 8px rgba(0,0,0,0.3);
        display: none;
        border-radius: 0;
        z-index: 1000;
    }

    /* Navigation sichtbar, wenn open */
    nav ul.open {
        display: flex;
    } 
    

    nav ul li a {
        color: #f39c12;
        padding: 1rem 0;
        font-weight: 600;
        text-align: center;
        border-bottom: 1px solid rgba(243, 156, 18, 0.3);
        transition: color 0.3s ease;
    }

    nav ul li a:hover {
        color: white;
        background-color: rgba(243, 156, 18, 0.2);
        border-radius: 0;
    }

    /* Hero */
    .hero h1 {
        font-size: 2rem;
    }

    /* Sektionen weniger Padding */
    .section {
        padding: 2rem 0;
    }

    /* Dienstleistungen: nur eine Spalte */
    .service-grid {
        grid-template-columns: 1fr;
    }
}
