body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f0f0;
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

/* Header */
header {
    display: flex;
    justify-content: flex-end; /* Navigation nach rechts schieben */
    align-items: center;
    background-color: #6B4226;
    padding: 20px 10px; /* Padding anpassen */
    color: white;
    font-weight: 600;
    width: 100%;
}

/* Navigation */
nav ul {
    list-style: none;
    display: flex;
    gap: 5px; /* Abstand zwischen den Navigationspunkten */
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

nav ul li a {
    color: white;
    text-decoration: none;
    padding: 8px 10px;
    transition: 0.3s;
    font-weight: 400;
    white-space: nowrap;
}

nav ul li a:hover {
    background-color: #A3D977;
    color: black;
    border-radius: 5px;
}

/* Willkommensbereich mit Logo */
.welcome {
    background-color: #5D9C59;
    color: white;
    text-align: center;
    padding: 100px 20px;
    font-size: 28px;
    font-weight: 600;
    width: 100%;
    position: relative; /* Wichtig für die absolute Positionierung des Logos */
}

.welcome .logo {
    position: absolute; /* Logo aus dem Dokumentenfluss nehmen */
    top: 50%; /* Vertikal mittig ausrichten */
    left: 20px; /* Abstand von links */
    transform: translateY(-50%); /* Logo vertikal mittig positionieren */
}

.welcome .logo img {
    height: 200px; /* Gewünschte Logo-Größe für große Bildschirme */
    max-width: 100%; /* Sicherstellen, dass das Logo nicht zu groß wird */
}

.welcome h1 {
    font-size: 36px;
    margin-bottom: 20px;
}

.welcome .subtext {
    font-size: 18px;
    font-weight: 300;
    max-width: 800px;
    margin: 0 auto;
}

/* Container für die restlichen Abschnitte */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Leistungen */
#leistungen {
    margin-top: 60px;
    margin-bottom: 60px;
    padding: 40px 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
}

.leistungen-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    padding: 40px 0;
}

.leistung-box {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    width: 280px;
    text-align: center;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.leistung-box:hover {
    transform: translateY(-5px);
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.3);
}

.leistung-box h3 {
    font-weight: 600;
    color: #4CAF50;
}

.leistung-box p {
    font-weight: 300;
    color: #333;
}

/* Kontakt */
#kontakt {
    margin-top: 60px;
    margin-bottom: 60px;
    padding: 40px 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
}

#kontakt form {
    display: flex;
    flex-direction: column;
    max-width: 600px;
    margin: 0 auto;
}

#kontakt label {
    font-weight: 600;
    margin-bottom: 5px;
}

#kontakt input, #kontakt textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

#kontakt button {
    background-color: #4CAF50;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

#kontakt button:hover {
    background-color: #66bb6a;
}

/* Footer */
footer {
    text-align: center;
    background-color: #6B4226;
    color: white;
    padding: 20px;
    font-weight: 400;
    margin-top: 60px;
}

footer a {
    color: white;
    text-decoration: none;
}

/* Responsive Anpassungen */
@media (max-width: 1200px) {
    .welcome .logo img {
        height: 100px; /* Kleinere Logo-Größe für mittelgroße Bildschirme */
    }
}

@media (max-width: 868px) {
    .welcome .lologogo img {
        height: 50px; /* Kleinere Logo-Größe für Tablets */
    }

    .welcome h1 {
        font-size: 28px; /* Kleinere Schriftgröße für mobile Geräte */
    }

    .welcome .subtext {
        font-size: 16px; /* Kleinere Schriftgröße für mobile Geräte */
    }
}

@media (max-width: 780px) {
    .welcome .logo img {
        height: 80px; /* Kleinere Logo-Größe für Smartphones */
    }

    .welcome .logo {
        left: 10px; /* Weniger Abstand von links auf kleinen Bildschirmen */
    }

    .welcome h1 {
        font-size: 24px; /* Noch kleinere Schriftgröße für sehr kleine Bildschirme */
    }

    .welcome .subtext {
        font-size: 14px; /* Noch kleinere Schriftgröße für sehr kleine Bildschirme */
    }
}