/* Globaler Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    background: url('../IMG/wald2.jpg') no-repeat center center fixed;
    background-size: cover;
    color: white;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

header {
    background: rgba(59, 42, 41, 0.9); /* Kastanienbraun mit Transparenz */
    padding: 0.5em 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    height: 3em;
}

header h1 {
    margin-left: 1em;
    font-size: 1.5em;
    text-align: left;
    line-height: 1;
}

.header-logo {
    max-height: 100%;
    height: 100%;
    align-self: center;
    margin-right: 1em;
}

nav, .sticky-nav {
    background: rgba(59, 42, 41, 0.9); /* Kastanienbraun mit Transparenz */
    color: white;
    width: 100%;
    padding: 0.5em 0;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
}

nav ul li {
    margin: 0 1em;
}

nav ul li a {
    color: white;
    text-decoration: none;
}

a, a:link, a:visited, a:hover, a:active {
    color: white;
    text-decoration: none;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.content {
    background: rgba(0, 0, 0, 0.5);
    padding: 2em;
    border-radius: 10px;
    width: 90%;
    max-width: 1200px;
    margin: 2em 0;
    text-align: left;
    color: white;
}

h2 {
    text-align: center;
}

.services-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

/* Service-Blöcke mit Bild links/rechts */
.service {
    display: flex;
    flex-direction: row;
    align-items: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 2em;
    margin-bottom: 2em;
    width: 90%;
    max-width: 1000px;
    color: white;
    text-align: left;
    gap: 2em;
    backdrop-filter: blur(3px);
}

.service.reverse {
    flex-direction: row-reverse;
}

.service-image {
    flex: 1;
}

.service-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.service-text {
    flex: 2;
}

/* Kontaktformular */
.contact-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.contact-form label {
    margin: 0.5em 0 0.2em;
    width: 100%;
    max-width: 600px;
    text-align: left;
    color: white;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    max-width: 600px;
    padding: 0.5em;
    margin-bottom: 1em;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.contact-form button {
    padding: 0.5em 2em;
    border: none;
    border-radius: 5px;
    background: #6E8B3D;
    color: white;
    cursor: pointer;
    transition: background 0.3s;
}

.contact-form button:hover {
    background: #5a7330;
}

footer {
    background: #333;
    color: white;
    padding: 1em 2.5%;
    width: 100%;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.footer-content p, .footer-content ul {
    margin: 0;
}

.footer-content ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-content ul li {
    margin: 0 0.5em;
}

.footer-content ul li.separator {
    margin: 0 1em;
}

.footer-content ul li a {
    color: white;
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 1000px) {
    .service {
        flex-direction: column;
        text-align: center;
    }

    .service.reverse {
        flex-direction: column;
    }

    .service-text {
        text-align: left;
    }

    .footer-content {
        flex-direction: column;
    }

    footer p, footer ul {
        flex: 1 1 auto;
        text-align: center;
        width: 100%;
    }

    nav ul {
        flex-direction: column;
        align-items: flex-start;
    }

    nav ul li {
        margin: 0.5em 0;
    }
}

.leistungen {
    list-style: none;
    padding-left: 0;
    margin: 1em 0;
}

.leistungen li {
    position: relative;
    padding-left: 1.5em;
    margin-bottom: 0.5em;
    text-indent: 0;
}

.leistungen li::before {
    content: "✦";
    color: #3b2a29; /* Neuer Farbton für die Sterne */
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1em;
}
.holzarten-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1em;
    margin-bottom: 2em;
}

.holzart {
    flex: 1 1 calc(25% - 1em);
    text-align: center;
}

.holzart img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.holzart p {
    margin-top: 0.5em;
    font-size: 0.95em;
    color: white;
}
@media (max-width: 768px) {
    .holzarten-gallery {
        flex-direction: column;
        align-items: center;
    }

    .holzart {
        flex: 1 1 100%;
        max-width: 90%;
    }

    .holzart img {
        width: 100%;
    }
}
