/* style.css */

/* Grundlegendes Styling für bessere Lesbarkeit */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: black;
}
body h2{
    color:#dc6f15;
}
/* Header Platzhalter */
header {
    background-color: #f4f4f4;
    padding: 20px;
    text-align: center;
    border-bottom: 3px solid #dc6f15;
}

header h1 {
    margin: 0;
    color: #d66a12;
}

/* --- Neue Styles für den Home-Button --- */

/* Container für den Header, damit wir Flexbox nutzen können */
header {
    background-color: #f4f4f4;
    padding: 20px;
    text-align: center;
    border-bottom: 3px solid hwb(94 30% 25%);
    display: flex;             /* Aktiviert Flexbox */
    justify-content: space-between; /* Verteilt Elemente: Button links, Text rechts/zentriert */
    align-items: center;       /* Vertikal zentrieren */
    position: relative;        /* Wichtig für die Positionierung */
}

/* Der Home-Button */
.btn-home {
    background-color: hwb(94 30% 25%); /* Grün */
    color: #ffffff;            /* Weiß */
    padding: 10px 20px;
    text-decoration: none;     /* Keine Unterstreichung */
    font-weight: bold;
    border-radius: 4px;
    font-size: 16px;
    transition: background-color 0.3s ease;
    margin-right: 20px;        /* Abstand zum Titel */
    display: inline-block;
}

/* Hover-Effekt für den Button (optional, aber empfohlen) */
.btn-home:hover {
    background-color: #d66a12; /* Leichtes Grau beim Drüberfahren */
    color: #ffffff;
}

/* Anpassung des Titels im Header, damit er nicht zu weit nach links rutscht */
header h1 {
    margin: 0;
    color: #d66a12;
    flex-grow: 1;              /* Nimmt den verfügbaren Platz ein, schiebt Text nach rechts */
    text-align: center;        /* Zentriert den Text, wenn der Button klein ist */
}

header h2 {
    color: #d66a12;
}

homepage-banner{
    justify-content: center;
    align-items: center;
}
/* Falls der Header zu schmal ist, sorgt dies für Responsive Verhalten */
@media (max-width: 600px) {
    header {
        flex-direction: column; /* Untereinander auf kleinen Bildschirmen */
        text-align: center;
    }
    .btn-home {
        margin-bottom: 15px;
        margin-right: 0;
    }
    header h1 {
        text-align: center;
    }
}

/* Container für den Inhalt */
.container {
   display: grid;
    
    padding: 0 0px;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

/* Kontaktformular Styling */
form {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box; /* Wichtig damit Padding nicht die Breite sprengt */
}

textarea {
    height: 150px;
    resize: vertical;
}

button {
    background-color: hwb(94 30% 25%);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

button:hover {
    background-color: #d66a12;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background-color: hwb(94 30% 25%);
    color: white;
    margin-top: 40px;
}