/* --- BASIS VARIABLEN (DARK, FLOWING & LUXURIÖS) --- */
:root {
    --bg-dark: #0A0A0A;
    --primary-color: #005AA9; /* Blauer Akzent */
    --secondary-accent: #C0C0C0; /* Helles Grau / Silber */
    --text-light: #F0F0F0;
    --text-subtle: #AAAAAA;
    
    --radius-soft: 12px;
    --transition-flow: 0.5s ease-in-out;
    
    /* Header Höhen definiert */
    --header-height: 80px; /* Geschrumpft / Mobil */
    --header-height-expanded: 120px; /* Normal */

    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Montserrat', sans-serif;
}

/* --- RESET & GLOBAL --- */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: var(--font-body);
    color: var(--text-light);
    line-height: 1.65;
    background-color: var(--bg-dark);
}
h1, h2, h3 { font-family: var(--font-heading); color: var(--text-light); margin-bottom: 1rem; }
a { text-decoration: none; color: inherit; transition: var(--transition-flow); }
ul { list-style: none; }
img { max-width: 100%; height: auto; border-radius: var(--radius-soft); }
.container { width: 90%; max-width: 1200px; margin: 0 auto; padding: 0 15px; }
.section { padding: 6rem 0; }
.split-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.check-list i { color: var(--primary-color); margin-right: 10px; }

/* --- BUTTONS --- */
.btn {
    display: inline-block; padding: 14px 30px; font-weight: 600; text-transform: uppercase;
    border-radius: var(--radius-soft); cursor: pointer; letter-spacing: 1px;
    transition: var(--transition-flow);
}
.btn-primary {
    background-color: var(--primary-color); color: var(--bg-dark); 
    box-shadow: 0 8px 30px rgba(0, 90, 169, 0.5);
}
.btn-primary:hover { 
    background-color: #0088FF;
    box-shadow: 0 10px 40px rgba(0, 136, 255, 0.7);
    transform: translateY(-3px); 
}
.btn-secondary {
    background-color: transparent; border: 2px solid var(--secondary-accent);
    color: var(--secondary-accent);
}
.btn-secondary:hover { background-color: var(--secondary-accent); color: var(--bg-dark); }
.btn-outline {
    border: 2px solid var(--primary-color); color: var(--primary-color); background: transparent;
}
.btn-outline:hover { background-color: var(--primary-color); color: var(--bg-dark); }

/* --- HEADER & NAVIGATION --- */
header {
    height: var(--header-height-expanded); /* Standardhöhe */
    background: rgba(10, 10, 10, 0.95); backdrop-filter: blur(8px);
    position: sticky; top: 0; z-index: 1000; display: flex; align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    transition: height 0.3s ease, padding 0.3s ease;
}

/* KORREKTUR: Sticky Klasse für JS hinzugefügt */
header.sticky {
    height: var(--header-height); /* Kleinere Höhe beim Scrollen */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

/* KORREKTUR: Position: relative für den Container ist ESSENZIELL für absolute Positionierung des Menüs */
.nav-container { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    width: 100%;
    position: relative; /* <-- HIER IST DIE WICHTIGSTE KORREKTUR */
}

.logo img { 
    /* WICHTIGE KORREKTUR: Logo-Höhe an Header-Höhe angepasst, um Überlauf zu vermeiden */
    height: 120px; 
    border-radius: 0; 
    transition: height 0.3s ease;
}

header.sticky .logo img {
    height: 70px; /* Logo-Höhe schrumpft beim Scrollen */
}

#navbar ul { display: flex; gap: 40px; }
#navbar a { font-weight: 500; text-transform: capitalize; color: var(--text-subtle); }
#navbar a:hover, #navbar a.active { color: var(--primary-color); transform: translateY(-1px); }

.mobile-menu-toggle { display: none; color: var(--text-light); font-size: 1.8rem; cursor: pointer; }


/* --- HERO SEKTION --- */
.hero {
    height: 85vh; 
    background-image: url('https://placehold.co/1920x1080/0A0A0A/005AA9?text=SMOOTH+DARK+LUXURY');
    background-size: cover; background-position: center; position: relative;
    display: flex; align-items: center; justify-content: center; text-align: center;
}
.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.7) 100%);
}
.hero-content { z-index: 10; }
.hero h1 { font-size: 3.5rem; }
.hero p { font-size: 1.2rem; margin-bottom: 3rem; color: var(--secondary-accent); }

/* --- SERVICES GRID --- */
.services-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem; margin-top: 4rem;
}
.service-card {
    background: #181818; padding: 2.5rem; border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-soft); box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: var(--transition-flow);
}
.service-card:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 10px 30px rgba(0, 90, 169, 0.3);
    border-color: var(--primary-color);
}
.service-card i { 
    font-size: 3rem; color: var(--primary-color); margin-bottom: 1.5rem; 
}
.highlight { border: 2px solid var(--primary-color); }
.text-link { color: var(--primary-color); font-weight: 600; margin-top: 1rem; display: block; }

/* --- INFO BAR --- */
.info-bar { background-color: #181818; color: var(--text-light); border-top: 1px solid rgba(255, 255, 255, 0.1); }
.info-bar h3 { color: var(--primary-color); }
.status-badge {
    background: var(--primary-color); color: var(--bg-dark); font-weight: 700;
    border-radius: 20px; padding: 5px 15px; display: inline-block;
}

/* --- FOOTER & COPYRIGHT --- */
footer { 
    background: #000; color: var(--text-subtle); padding: 2.5rem 0; text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-nav {
    display: flex;
    justify-content: center;
    padding: 10px 0;
    margin-bottom: 10px;
}
.footer-nav a { 
    display: block; 
    margin: 0 15px;
    padding: 5px 0;
    color: var(--text-subtle); 
    text-decoration: none;
    font-size: 0.85rem; 
}
.footer-nav a:hover { color: var(--primary-color); }


/* --- ANFAHRT SEITE --- */
.contact-grid { grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.info-block { display: flex; align-items: flex-start; margin-bottom: 1.5rem; font-size: 1.1rem; }
.info-block i { color: var(--primary-color); font-size: 1.2rem; margin-right: 15px; margin-top: 5px; width: 20px; }
.map-wrapper { box-shadow: 0 5px 15px rgba(0,0,0,0.4); border-radius: var(--radius-soft); overflow: hidden; height: 100%; min-height: 400px; }

/* --- RECHTSTEXTE --- */
.legal-content h1 { margin-bottom: 2rem; border-bottom: 2px solid var(--primary-color); display: inline-block; padding-bottom: 10px; }
.legal-content h2 { margin-top: 2rem; font-size: 1.5rem; color: var(--secondary-accent); }
.legal-content p { margin-bottom: 1rem; max-width: 900px; }


/* --- ÖFFNUNGSZEITEN SEITE --- */
.hours-list {
    margin-top: 3rem; padding: 0; list-style: none; border: 1px solid var(--primary-color);
    border-radius: var(--radius-soft); overflow: hidden;
}
.hours-list li {
    display: flex; justify-content: space-between; padding: 20px 30px; font-size: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.hours-list li:nth-child(even) { background-color: #1a1a1a; }
.hours-list li:last-child { border-bottom: none; }
.hours-list li strong { font-weight: 700; color: var(--primary-color); font-family: var(--font-heading); }


/* --- LIVE STATUS FARBEN --- */
.status-open { background-color: #00AA00 !important; color: var(--bg-dark) !important; }
.status-closed { background-color: #333 !important; color: var(--secondary-accent) !important; }


/* --- MOBILE RESPONSIVE --- */
@media (max-width: 992px) {
    /* Header Schrumpfen auf mobilen Geräten standardmäßig */
    header { height: var(--header-height); }
    .logo img { height: 70px; }
    
    .split-layout, .contact-grid, .grid-2 { grid-template-columns: 1fr; }
    .hero h1 { font-size: 3rem; }
    .hours-list li { padding: 15px 20px; font-size: 1.1rem; }
}

@media (max-width: 768px) {
    .mobile-menu-toggle { display: block; }
    #navbar {
        /* position: absolute; funktioniert nun dank position: relative auf .nav-container */
        position: absolute; 
        top: 100%; /* Das Menü beginnt am unteren Rand des Parent-Headers */
        left: 0; 
        width: 100%;
        background: rgba(10, 10, 10, 0.98); 
        flex-direction: column; 
        display: none; 
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    /* Mobile navbar verwendet die Klasse .open aus JS */
    #navbar.open { display: block; } 

    #navbar ul { flex-direction: column; gap: 0; }
    #navbar li { width: 100%; text-align: center; }
    #navbar a { display: block; padding: 15px; border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
    .nav-container { justify-content: space-between; }
    .hero h1 { font-size: 2.5rem; }
}