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

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
    /* background-image: url('../images/holzleben-weiss_background.jpg');*/
    background-size: cover;        /* Bild füllt den gesamten Bereich contain zugeschnitten*/
    background-repeat: no-repeat;  /* Bild wird nicht wiederholt */
    background-position: center;   /* Zentriert das Bild */
    background-attachment: fixed;  /* Optional: Bild bleibt beim Scrollen stehen */
    height: 100vh;                 /* Sicherstellt, dass der Body voller Höhe ist */
}

header {
    background-color: #35424a;
    color: white;
    padding: 1rem;
    text-align: center;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

nav a:hover {
    text-decoration: underline;
}

main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

section {
    margin-bottom: 2rem;
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1rem auto;
}

footer {
    text-align: center;
    padding: 1rem;
    background-color: #35424a;
    color: white;
    margin-top: 2rem;
}

/* Responsive Design mit Media Queries */
@media (max-width: 768px) {
    header h1 {
        font-size: 1.5rem;
    }

    nav ul {
        flex-direction: column;
        gap: 0.5rem;
    }

    main {
        margin: 1rem auto;
        padding: 0;
    }

    section {
        padding: 1rem;
    }

    img {
        width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    header {
        padding: 0.5rem;
    }

    header h1 {
        font-size: 1.2rem;
    }

    nav ul {
        font-size: 0.9rem;
    }

    section h2 {
        font-size: 1.2rem;
    }
}   
