/* Allgemeine Stile */
body {
    font-family: 'Lora', serif;
    color: #333;
}

/* Hero Section */
.hero {
    background: url('img/hero.jpg') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Dunkle Überlagerung */
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

/* Navigation */
.navbar {
    background-color: #2c2c2c;
}

.navbar-brand {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

/* Buttons */
.btn-primary {
    background-color: #8B4513; /* Brauner Ton für Regionalität */
    border-color: #8B4513;
}

.btn-primary:hover {
    background-color: #A0522D;
    border-color: #A0522D;
}

/* Footer */
footer {
    background-color: #2c2c2c;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    .hero p {
        font-size: 1.2rem;
    }
}

.form-container .mb-3 { margin-bottom: 15px; }
.form-control { width: 100%; padding: 8px; }

/* Grundlegende HTML- und Body-Styling für das Layout */
html {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Mindesthöhe des Body auf 100% der Viewport-Höhe */
    margin: 0;
}

/* Hauptinhalt nimmt den verfügbaren Platz ein */
main {
    flex: 1 0 auto; /* Hauptinhalt wächst, um den Platz zu füllen */
}

/* Footer bleibt am unteren Rand */
footer {
    flex-shrink: 0; /* Footer schrumpft nicht */
    background-color: #2c2c2c;
    width: 100%;
}

/* das Formular bekommt 2 Spalten */

.item {
    margin-bottom: 10px; /* Abstand zwischen den Checkboxen */
    display: flex;
    align-items: center; /* Vertikale Ausrichtung der Checkbox und des Labels */
}

.item input[type="checkbox"] {
    margin-right: 10px; /* Abstand zwischen Checkbox und Label */
}

.row {
    display: flex;
    flex-wrap: wrap;
}

.col-md-6 {
    flex: 0 0 auto;
    width: 50%;
}

.category-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.25rem;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    color: #333;
}