/* css/style.css - Zentrales Design für PalasWooD */

/* --- GRUNDEINSTELLUNGEN --- */
:root {
    --color-bg-beige: #F5F1E6;
    --color-text-brown: #4A3525;
    --color-accent-gold: #C5A065;
    --color-white: #FFFFFF;
    --color-light-grey: #e0e0e0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    background-color: var(--color-bg-beige);
    color: var(--color-text-brown);
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Sorgt dafür, dass Footer immer unten ist */
}

/* --- HEADER STYLE --- */
header {
    background-color: var(--color-bg-beige);
    padding: 15px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(74, 53, 37, 0.1);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: var(--color-text-brown);
}

.logo-img {
    height: 45px;
    width: auto;
}

.brand-name {
    font-family: Arial, sans-serif;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: var(--color-text-brown);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--color-accent-gold);
}

nav a.active, 
.footer-link.active {
    color: var(--color-accent-gold);
}

/* 2. SPEZIALFALL: Der Mitmachen-Button */
/* Wenn der Button aktiv ist, ändern wir den HINTERGRUND, nicht den Text */
nav a.btn-join.active {
    background-color: var(--color-accent-gold) !important;
    color: var(--color-white) !important; /* Text bleibt weiß */
    border-color: var(--color-accent-gold);
}

.btn-join {
    padding: 8px 20px;
    background-color: var(--color-text-brown);
    color: var(--color-white) !important;
    border-radius: 2px;
    transition: background-color 0.3s ease;
}

.btn-join:hover {
    background-color: var(--color-accent-gold);
}
/* --- MOBILE MENU STYLES (HAMBURGER) --- */

/* Standard (Desktop): Button verstecken */
.hamburger-btn {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--color-text-brown);
    cursor: pointer;
}

/* Sprachwahl-Container Styles (für Desktop schön nebeneinander) */
.lang-switch {
    margin-left: 20px; 
    display: flex; 
    gap: 10px;
}
.lang-switch a {
    font-size: 12px; 
    font-weight: bold;
}

/* --- FOOTER STYLE --- */
footer {
    background-color: var(--color-text-brown);
    color: var(--color-bg-beige);
    padding: 40px 60px 15px 60px;
    margin-top: auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(197, 160, 101, 0.3);
    align-items: flex-start;
}

.footer-brand-col, .footer-address-col, .footer-links-col {
    flex: 1;
    min-width: 220px;
}

.footer-logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
    color: var(--color-bg-beige);
    text-decoration: none;
}

.footer-logo-img {
    height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer-brand-name {
    font-family: Arial, sans-serif;
    font-size: 28px;
    font-weight: 700;
}

.footer-address-col h4, .footer-links-col h4 {
    color: var(--color-accent-gold);
    font-family: 'Playfair Display', serif;
    margin-bottom: 15px;
    font-size: 18px;
    margin-top: 0;
    height: 50px;
    display: flex;
    align-items: center;
}

.address-block {
    font-size: 14px;
    line-height: 1.5;
    opacity: 0.9;
    margin-bottom: 15px;
}

.footer-link {
    display: block; /* Wichtig für Zeilenumbruch */
    color: var(--color-bg-beige);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 8px;
}

.footer-link:hover {
    color: var(--color-accent-gold);
    padding-left: 3px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    max-width: 1400px;
    margin: 0 auto;
    font-size: 13px;
    opacity: 0.7;
    flex-wrap: wrap;
    gap: 20px;
}

.legal-links {
    display: flex;
    gap: 20px;
}

.legal-links a {
    color: var(--color-bg-beige);
    text-decoration: none;
    transition: color 0.3s;
}

.legal-links a:hover {
    color: var(--color-accent-gold);
}

/* RESPONSIVE (Allgemein) */
@media (max-width: 900px) {
    header {
        padding: 15px 20px;
        flex-direction: row;
        justify-content: space-between; /* Schiebt Logo nach links, Hamburger nach rechts */
        align-items: center;
        gap: 0px;
        position: relative;
    }
    
    .logo-img { height: 50px; }
    /*nav ul { gap: 15px; justify-content: center; flex-wrap: wrap; }*/
    
    /* 1. Hamburger Button anzeigen */
    .hamburger-btn {
        display: block;
        margin-right: 5px;
    }

    /* 2. Navigation standardmäßig verstecken & stylen */
    nav {
        position: absolute;
        top: 100%; /* Direkt unter dem Header */
        left: 0;
        width: 100%;
        background-color: var(--color-bg-beige);
        border-bottom: 2px solid var(--color-accent-gold);
        padding: 0;
        max-height: 0; /* Zu Beginn geschlossen */
        overflow: hidden;
        transition: max-height 0.4s ease-out; /* Sanfte Animation */
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    }

    /* 3. Klasse zum Anzeigen (wird per JS hinzugefügt) */
    nav.nav-active {
        max-height: 400px; /* Genug Platz für alle Links */
    }

    /* 4. Listen-Layout auf Mobile ändern */
    nav a{ font-size: 14px;  }
    nav ul {
        flex-direction: column;
        align-items: center;
        padding: 10px 0;
        gap: 20px;
    }

    .lang-switch {
        margin-left: 0;
        margin-top: 10px;
        padding-top: 10px;
        border-top: 1px solid rgba(74, 53, 37, 0.1);
        width: 100%;
        justify-content: center;
    }

    footer { padding: 30px 20px 15px 20px; }
    .footer-content { flex-direction: column; gap: 30px; }
    .footer-address-col h4, .footer-links-col h4 { height: auto; margin-bottom: 10px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    
    .legal-links {
                flex-direction: row;
                gap: auto;
            }
}
