/* Grundlegende Stile & Farbpalette */
:root {
    --color-white: #fdfdfd;
    --color-light-gray: #f4f4f4;
    --color-dark: #2c3e50; /* Anthrazit/Marineblau */
    --color-accent: #3498db; /* Moderneres Blau für Akzente */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Lato', sans-serif;
}

body {
    font-family: var(--font-body);
    margin: 0;
    background-color: var(--color-white);
    color: #333;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

/* Header & Navigation */
.main-header {
    background: var(--color-white);
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.2rem; /* Etwas kleiner für bessere mobile Darstellung */
    color: var(--color-dark);
    text-decoration: none;
    z-index: 10;
}

.main-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.main-nav a {
    text-decoration: none;
    color: var(--color-dark);
    font-weight: 600;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: var(--color-accent);
}

.nav-button {
    background-color: var(--color-dark);
    color: var(--color-white) !important;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.nav-button:hover {
    background-color: var(--color-accent);
}

/* Hamburger-Button (standardmäßig versteckt) */
.hamburger {
    display: none;
    border: none;
    background: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
}
.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--color-dark);
    margin: 5px 0;
    transition: all 0.3s ease-in-out;
}


/* Hero-Bereich */
.hero {
    height: 60vh;
    background: url('hero-toilette.png') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
}
.hero::after { 
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 1rem;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin: 0 0 0.5rem 0;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-button {
    background: var(--color-accent);
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}
.cta-button:hover {
    background: #2980b9;
}

/* Allgemeine Sektionen */
.section {
    padding: 3rem 0;
    text-align: center;
}
.section-intro { background-color: var(--color-light-gray); }
.section-features {
    display: flex;
    justify-content: space-around;
    gap: 2rem;
    margin-top: 2rem;
}
.feature-box {
    flex: 1;
    padding: 1.5rem;
    background: var(--color-white);
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border-radius: 8px;
}
.feature-box h3 { font-family: var(--font-heading); color: var(--color-dark); }
.feature-box .icon { font-size: 3rem; color: var(--color-accent); margin-bottom: 1rem; }
.section-split { display: flex; gap: 2rem; text-align: left; }
.split-box { background-color: var(--color-light-gray); padding: 2rem; border-radius: 8px; flex: 1; }
.split-box h2 { text-align: center; margin-top: 0; }
.split-box a {
    display: block;
    background: var(--color-dark);
    color: white;
    text-align: center;
    padding: 0.8rem;
    margin-top: 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}
.split-box a:hover { background-color: var(--color-accent); }

/* Footer */
.main-footer {
    background-color: var(--color-dark);
    color: var(--color-light-gray);
    padding: 2rem 0;
    text-align: center;
}
.main-footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-nav a { color: var(--color-light-gray); text-decoration: none; margin: 0 0.5rem; }
.footer-nav a:hover { text-decoration: underline; }

/* ======================================================= */
/* === Responsive Design: Media Queries für Mobilgeräte === */
/* ======================================================= */

@media (max-width: 768px) {
    
    /* === Navigation & Header === */
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%; /* Startet außerhalb des Bildschirms */
        width: 80%;
        height: 100vh;
        background-color: var(--color-dark);
        padding-top: 5rem;
        transition: right 0.4s ease-in-out;
        z-index: 5;
    }
    .main-nav.active {
        right: 0; /* Fährt ins Bild, wenn aktiv */
    }
    .main-nav ul {
        flex-direction: column; /* Links untereinander anordnen */
        align-items: center;
        gap: 2rem;
    }
    .main-nav a {
        color: var(--color-white);
        font-size: 1.2rem;
    }
    .nav-button {
        background-color: var(--color-accent);
    }

    /* Hamburger-Button anzeigen und stylen */
    .hamburger {
        display: block;
    }
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    /* === Allgemeine Layouts === */
    .section {
        padding: 2rem 0;
    }
    h1 { font-size: 2.2rem !important; }
    h2 { font-size: 1.8rem !important; }

    /* Spalten untereinander anordnen */
    .section-features,
    .section-split,
    .footer .container {
        flex-direction: column;
    }

    /* === Seiten-spezifische Anpassungen === */

    /* Startseite */
    .hero { height: 50vh; }
    .hero h1 { font-size: 2.5rem; }

    /* Technologie & Modelle Seite (Grid Layout) */
    .feature-grid, .model-showcase, .product-grid {
        grid-template-columns: 1fr; /* Nur eine Spalte */
    }
    
    .category-details {
        grid-template-columns: 1fr;
    }

    /* Ratgeber Seite */
    .faq-question { font-size: 1.2rem; }
    
    /* Footer */
    .main-footer .container {
        gap: 1rem;
        flex-direction: column;
    }
}