/* Allgemeines Styling für die Webseite */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #687d7f; /* Haupttextfarbe */
    background-image: url('../Bilder/wand.webp'); /* Hintergrundbild einfügen */
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Hintergrund bleibt beim Scrollen fest */
    background-repeat: no-repeat; /* Verhindert Wiederholung des Bildes */
}

/* Header Styling */
header {
    display: flex;
    align-items: center;
    position: relative;
    height: 300px;
    background-color: #687d7f; /* Optionaler Hintergrund */
}

.logo-banner-container {
    display: flex;
    width: 100%;
}

.logo {
    width: 300px;
    height: 300px;
    object-fit: contain;
}

.banner {
    width: calc(100% - 300px);
    height: 300px;
    object-fit: cover;
}

/* Navigation Styling */
nav ul {
    display: flex;
    justify-content: center;
    list-style-type: none;
    padding: 10px 0;
    margin: 0;
    background-color: #687d7f; /* Grau für die Navigation */
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: #ffffff; /* Weiße Schriftfarbe für Links */
    text-decoration: none;
    font-weight: bold;
    padding: 10px 15px;
}

nav ul li a:hover {
    background-color: #6524cb; /* Lila für Hover-Effekt */
    border-radius: 5px;
}

/* Textbox Styling */
.textbox {
    background-color: rgba(255, 255, 255, 0.9); /* Leicht transparente weiße Hintergrundfarbe */
    padding: 20px;
    max-width: 900px;
    margin: 10px auto 10px; /* Reduzierter Abstand zur Navigationsleiste */
    text-align: justify;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Leichter Schatten */
    border-radius: 10px; /* Abgerundete Ecken */
}

.textbox h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 10px; /* Abstand nach unten verringern */
    margin-top: 0; /* Abstand nach oben entfernen */
    padding-top: 5px; /* Optional: Inneren Abstand oben anpassen */
    text-align: center;
}

.textbox p, .textbox ul {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 5px;
}

.textbox ul {
    padding-left: 20px;
}

.textbox ul li {
    margin-bottom: 20px;
}

/* Termin vereinbaren Button */
.description-button {
    display: flex;
    justify-content: center;
    margin-top: 30px auto;
}

.description-button button {
    padding: 10px 20px;
    background-color: #6524cb; /* Lila Hintergrundfarbe */
    color: #ffffff; /* Weiße Schrift */
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    text-transform: uppercase;
}

.description-button button:hover {
    background-color: #4a1b9f; /* Dunkleres Lila bei Hover */
}

/* Kontaktformular Styling */
form {
    display: flex;
    flex-direction: column;
}

form label {
    margin-bottom: 5px;
    font-weight: bold;
}

form input, form textarea {
    margin-bottom: 15px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

form button {
    padding: 10px 20px;
    background-color: #6524cb;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
}

form button:hover {
    background-color: #4a1b9f;
}

/* Footer Styling */
footer {
    text-align: center;
    padding: 10px;
    background-color: #114057;
    color: #ffffff;
    font-size: 0.9em;
    margin-top: 20px; /* Abstand oberhalb des Footers */
}

/* Responsive Anpassungen für Mobilgeräte */
@media (max-width: 768px) {
    .logo {
        width: 600px; /* Kleinere Logo-Breite für Mobilgeräte */
      
        top: 0px;
        left: 0px;
    }
    .banner {
        display: none;
    }
    

    nav ul {
        flex-direction: column; /* Navigation untereinander */
        justify-content: center; /* Zentriert die Navigation horizontal */
        align-items: center; /* Zentriert die Navigation vertikal */
        list-style-type: none; /* Entfernt Aufzählungspunkte */
        padding: 10px 0; /* Abstand oben und unten */
        margin: 0;
        background-color: #687d7f; /* Hintergrundfarbe der Navigation */
    }

    nav ul li {
        margin: 10px 0;
    }

    .textbox {
        padding: 15px;
        max-width: 90%; /* Volle Breite für Textbox auf Mobilgeräten */
        margin: 10px auto;
    }

    .textbox h1 {
        font-size: 1.6rem; /* Kleinere Schriftgröße für H1 auf Mobilgeräten */
    }

    .description-button button {
        width: 100%; /* Knopf passt sich der vollen Breite an */
        padding: 12px 0;
    }
}
