/* Zentrales Stylesheet für Henkel's Weinstube 
   Modern, Responsive und Einheitlich
*/

:root {
    --weinrot: #800000;
    --anthrazit: #333333;
    --bg-hell: #f9f9f9;
    --weiss: #ffffff;
    --border: #dddddd;
    --text-grau: #555555;
}

/* Grundlegende Einstellungen */
body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--anthrazit);
    margin: 0;
    padding: 0;
    background-color: var(--bg-hell);
}

/* Header & Logo */
header {
    background: var(--weiss);
    border-bottom: 4px solid var(--weinrot);
    padding: 20px;
    text-align: center;
}

header img {
    max-width: 100%;
    height: auto;
}

/* Bereich für die Sprachwahl ganz oben */
.language-switch {
    background: #f0f0f0; /* Ganz helles Grau */
    padding: 5px 20px;
    text-align: right;
    font-size: 12px;
}

.language-switch a {
    color: var(--anthrazit);
    text-decoration: none;
    margin-left: 15px;
    font-weight: bold;
    transition: color 0.3s;
}

.language-switch a:hover {
    color: var(--weinrot);
}

.language-switch a.active {
    color: var(--weinrot);
    border-bottom: 1px solid var(--weinrot);
}

/* Navigation */
nav {
    background: var(--anthrazit);
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

nav a {
    color: var(--weiss);
    padding: 15px 25px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
    transition: background 0.3s, color 0.3s;
}

nav a:hover {
    background: var(--weinrot);
}

/* Haupt-Container */
.container {
    max-width: 1100px;
    margin: 30px auto;
    padding: 40px;
    background: var(--weiss);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-radius: 8px;
}

/* Typografie */
h1, h2, h3 {
    color: var(--weinrot);
    margin-top: 0;
}

h2 {
    border-bottom: 2px solid var(--weinrot);
    padding-bottom: 10px;
    margin-bottom: 25px;
}

/* Flex-Grid für allgemeine Inhalte (z.B. Startseite) */
.grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
}

.grid > div {
    flex: 1;
    min-width: 300px;
}

img.responsive {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* --- Spezielles Layout für die Gaststube (Gleich große Boxen) --- */
.grid-gaststube {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.gast-box {
    flex: 1;
    min-width: 300px;
    max-width: 350px;
    background: var(--weiss);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 20px;
    display: flex;
    flex-direction: column; /* Stapelt Inhalt vertikal */
    transition: transform 0.2s;
}

.gast-box:hover {
    transform: translateY(-5px);
    border-color: var(--weinrot);
}

.gast-box h3 {
    min-height: 2.5em; /* Sorgt für einheitliche Höhe der Titel */
    margin-bottom: 10px;
}

.gast-box p {
    flex-grow: 1; /* Schiebt das Bild nach unten, falls Text kürzer ist */
    margin-bottom: 20px;
    color: var(--text-grau);
}

.gast-box img {
    width: 100%;
    height: 220px; /* Einheitliche Bildhöhe */
    object-fit: cover; /* Bild wird perfekt eingepasst ohne Verzerrung */
    border-radius: 4px;
}

/* Kontaktformular & Buttons */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Verhindert, dass Checkboxen 100% breit werden */
.contact-form input:not([type="checkbox"]), 
.contact-form select, 
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 16px;
    font-family: inherit;
    box-sizing: border-box;
}

/* --- Burger Menü Styling --- */
.burger-menu {
    display: none;
    cursor: pointer;
    padding: 15px;
    flex-direction: column;
    gap: 5px;
}

.burger-menu span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--weiss);
    border-radius: 2px;
}

@media (max-width: 768px) {
    .burger-menu {
        display: flex;
    }

    nav {
        justify-content: space-between;
        align-items: center;
    }

    nav a {
        display: none;
        width: 100%;
        text-align: center;
        border-top: 1px solid rgba(255,255,255,0.1);
    }

    nav.responsive {
        flex-direction: column;
    }

    nav.responsive a {
        display: block;
    }
    
    /* Grid-Anpassung für Mobile */
    .grid {
        grid-template-columns: 1fr !important;
    }
}