/* Globaler Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    background-color: #3b2a29;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    text-align: center;
    overflow-x: hidden;
}

body {
    display: flex;
    flex-direction: column;
}

/* Navigationsleiste */
.sticky-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #3b2a29;
    color: white;
    z-index: 1000;
    padding: 0.5em 0;
}

.sticky-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 0;
    margin: 0;
}

.sticky-nav ul li {
    margin: 0 1em;
}

.sticky-nav ul li a {
    color: white;
    text-decoration: none;
}

/* Burger-Menü Button */
#burger {
    display: none;
    font-size: 2em;
    cursor: pointer;
    padding: 0 1em;
    color: white;
}

/* Bildbereich */
.image-container {
    position: relative;
    width: 100%;
    margin-top: 2.5em;
    overflow: hidden;
}

.background-image {
    width: 100%;
    height: auto;
    display: block;
}

.overlay-text {
    position: absolute;
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 3em;
    font-weight: bold;
    color: #000000;
    z-index: 2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
    white-space: nowrap;
}

.logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    height: auto;
    z-index: 2;
}

/* Willkommens- und Info-Boxen */
.welcome-text {
    background-color: #ffffff;
    padding: 2em;
    margin: 2em auto;
    width: calc(100% - 4em);
    max-width: 1200px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.welcome-text h2 {
    font-size: 2.4em;
    color: #000000;
    margin-bottom: 0.5em;
}

.welcome-text p {
    font-size: 1.2em;
    color: #333333;
    line-height: 1.6;
}

/* Highlight-Text für zweite Box */
.highlight-text {
    font-size: 1.6em;
    font-weight: bold;
    margin-bottom: 1em;
    color: #3b2a29;
}

/* Termin vereinbaren Button */
.button-link {
    display: inline-block;
    padding: 0.6em 1.5em;
    margin: 2em auto;
    color: white;
    font-weight: bold;
    font-size: 1.2em;
    text-decoration: none;
    border: 2px solid white;
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

.button-link:hover {
    background-color: white;
    color: #3b2a29;
}

/* Kontaktbereich */
#services h2,
#contact h2,
#contact p {
    color: white;
    text-align: center;
    margin-bottom: 1em;
}

/* Footer */
footer {
    background: #333;
    color: white;
    width: 100%;
    height: auto;
    padding: 1em 2.5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    flex-wrap: nowrap;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    width: 100%;
}

footer p {
    margin: 0;
    text-align: left;
    white-space: nowrap;
}

footer ul {
    list-style: none;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0;
    margin: 0;
    white-space: nowrap;
}

footer ul li {
    margin: 0 0.5em;
}

footer ul li.separator {
    margin: 0 1em;
}

footer ul li a {
    color: white;
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    #burger {
        display: block;
        position: absolute;
        top: 0.5em;
        right: 1em;
        z-index: 1100;
    }

    .sticky-nav ul {
        display: none;
        flex-direction: column;
        align-items: center;
        background-color: #3b2a29;
        width: 100%;
        padding: 1em 0;
        position: absolute;
        top: 3.5em;
        left: 0;
        z-index: 1000;
    }

    .sticky-nav ul.visible {
        display: flex;
    }

    .services-container {
        flex-direction: column;
        align-items: center;
    }

    .service {
        width: 90%;
    }

    .logo {
        max-width: 40%;
    }

    .overlay-text {
        font-size: 2em;
    }

    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    footer p, footer ul {
        width: auto;
    }

    footer ul {
        flex-direction: row;
        justify-content: flex-end;
    }
}
