:root {
    --primary: #004488; /* Kräftigeres Dunkelblau für bessere Sichtbarkeit */
    --accent: #d4a373;
    --light: #f4f4f4;
    --white: #ffffff;
}

body { font-family: 'Segoe UI', sans-serif; margin: 0; line-height: 1.6; color: var(--primary); background: var(--light); }
.container { width: 85%; max-width: 1100px; margin: auto; }

h1, h2, h3, h4, p, li, label { color: var(--primary); } /* Explizite Zuweisung für alle Text-Elemente */

header { background: var(--white); padding: 15px 0; box-shadow: 0 2px 5px rgba(0,0,0,0.1); position: sticky; top: 0; z-index: 100; }
header .container { display: flex; justify-content: space-between; align-items: center; }
.logo a { font-size: 1.8rem; font-weight: bold; text-decoration: none; color: var(--primary); }
.logo span { color: var(--accent); }

nav .nav-list { list-style: none; display: flex; gap: 15px; margin: 0; padding: 0; }
nav a { text-decoration: none; color: var(--primary); font-weight: 500; transition: 0.3s; }
nav a:hover { color: var(--accent); }
nav a.active { color: var(--accent); border-bottom: 2px solid var(--accent); }
.menu-toggle { display: none; cursor: pointer; font-size: 1.5rem; color: var(--primary); }

.hero { 
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('images/bild1.jpg') no-repeat center center/cover;
    height: 400px; display: flex; align-items: center; justify-content: center; color: white; text-align: center;
}

/* Spezifische Korrektur für die Lesbarkeit im Hero-Bereich */
.hero h1, .hero p { 
    color: #fdf5e6; /* Elegantes Cremeweiß */
    text-shadow: 2px 2px 4px rgba(0,0,0,0.6); /* Schatten für maximale Lesbarkeit */
}

section { padding: 40px 0; }
section h3 { color: var(--primary); margin-top: 30px; border-left: 4px solid var(--accent); padding-left: 15px; }
.text-accent { color: var(--accent); font-weight: 600; }
.text-muted { color: #5a7d9a; font-size: 0.95rem; }

.btn { background: var(--accent); color: white; padding: 10px 20px; text-decoration: none; border-radius: 5px; }

/* Kontaktformular Styling */
form { display: grid; gap: 10px; max-width: 500px; }
input, textarea { width: 100%; padding: 10px; border: 1px solid #ccc; border-radius: 4px; font-family: inherit; color: var(--primary); }

/* Layout für Bild links, Text rechts */
.info-row { display: flex; align-items: flex-start; gap: 30px; margin-bottom: 50px; }
.info-row img { width: 60%; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.1); }
.info-row .text-content { width: 40%; }

@media (max-width: 768px) {
    .info-row { flex-direction: column; gap: 15px; }
    .info-row img { width: 100%; }
    .info-row .text-content { width: 100%; }
}

/* Hintergrund-Sektion für die Startseite mit "Transparenz-Effekt" */
.home-intro {
    background-color: var(--light); /* Bild1.jpg ist jetzt im Hero-Bereich */
    padding: 80px 40px;
    border-radius: 15px;
    margin-top: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

footer { background: var(--primary); color: white; text-align: center; padding: 20px 0; margin-top: 40px; }
footer a { color: var(--accent); text-decoration: none; }

/* Ampel-System für Rezepte */
.recipe-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    margin-top: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
.ampel {
    background: #333;
    padding: 12px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.ampel-light { width: 25px; height: 25px; border-radius: 50%; background: #555; transition: 0.3s; }
.ampel-light.red.active { background: #ff4d4d; box-shadow: 0 0 10px #ff4d4d; }
.ampel-light.yellow.active { background: #ffcc00; box-shadow: 0 0 10px #ffcc00; }
.ampel-light.green.active { background: #2ecc71; box-shadow: 0 0 10px #2ecc71; }

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle { display: block; }
    .nav-list { 
        display: none; flex-direction: column; position: absolute; top: 100%; left: 0; 
        width: 100%; background: var(--white); border-top: 1px solid #eee; padding: 20px; 
    }
    .nav-list.active { display: flex; }
    .hero h1 { font-size: 1.5rem; }
    .container { width: 92%; }
}
