/* ==========================================================================
   1. CORE RESETS & BRAND VARIABLES
   ========================================================================== */
:root {
    --primary-color: #1a252f;     
    --accent-green: #2ecc71;      
    --accent-blue: #3498db;       
    --bg-light: #f8f9fa;          
    --text-dark: #2c3e50;
    --text-muted: #7f8c8d;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', 'Segoe UI', Helvetica, Arial, sans-serif;
}

body {
    background-color: #ffffff;
    color: var(--text-dark);
    line-height: 1.6;
}

.cta-btn {
    background: linear-gradient(135deg, var(--accent-green), #27ae60);
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
    transition: var(--transition);
    display: inline-block;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 204, 113, 0.4);
}

/* ==========================================================================
   2. PREMIUM NAVIGATION WITH DROPDOWN
   ========================================================================== */
header {
    background-color: rgba(26, 37, 47, 0.98);
    backdrop-filter: blur(10px);
    color: white;
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: white;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent-green), var(--accent-blue));
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 20px;
    color: white;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 1px;
    line-height: 1.2;
}

.logo-subtitle {
    font-size: 11px;
    color: var(--accent-green);
    letter-spacing: 2px;
    text-transform: uppercase;
}

nav {
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-links > li {
    position: relative; /* Wichtig für die Positionierung des Dropdowns */
}

.nav-links a {
    color: #ecf0f1;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
    padding: 10px 0;
    display: inline-block;
}

.arrow {
    font-size: 11px;
    margin-left: 4px;
    transition: var(--transition);
}

.nav-links > li > a:hover, 
.nav-links > li > a.active {
    color: var(--accent-green);
}

/* --- DROPDOWN HOVER LOGIK (DESKTOP) --- */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    background-color: #2c3e50;
    list-style: none;
    min-width: 200px;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    padding: 10px 0;
}

.dropdown-menu li a {
    color: #ecf0f1;
    padding: 10px 20px;
    display: block;
    font-size: 14px;
    transition: var(--transition);
}

.dropdown-menu li a:hover {
    background-color: var(--primary-color);
    color: var(--accent-green);
    padding-left: 25px;
}

/* Zeige Dropdown beim Drüberfahren (Nur auf Desktop) */
@media (min-width: 769px) {
    .dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }
}

/* Hamburger Menü */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: white;
    border-radius: 3px;
    transition: var(--transition);
}

/* ==========================================================================
   3. MEGA-FOOTER
   ========================================================================== */
footer {
    background-color: var(--primary-color);
    color: #ecf0f1;
    padding: 70px 5% 30px 5%;
}

.footer-container {
    max-width: 1350px; 
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 3fr; 
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-section h3 {
    font-size: 18px;
    color: white;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background-color: var(--accent-green);
}

.footer-about p {
    color: #bdc3c7;
    font-size: 14px;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--accent-green);
    padding-left: 5px;
}

.footer-contact {
    padding-right: 0; 
}

.footer-contact p {
    font-size: 14px;
    color: #bdc3c7;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap; 
}

.footer-contact p a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.footer-contact p a:hover {
    color: var(--accent-green);
}

.footer-bottom {
    max-width: 1350px;
    margin: 0 auto;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #95a5a6;
}

.footer-legal-links a {
    color: #95a5a6;
    text-decoration: none;
    margin-left: 20px;
    transition: var(--transition);
}

.footer-legal-links a:hover {
    color: white;
}

/* ==========================================================================
   4. RESPONSIVE DROPDOWN & MOBILE LOGIC
   ========================================================================== */
@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    header {
        padding: 15px 20px;
    }

    .menu-toggle {
        display: flex;
        order: 3;
    }

    .header-right {
        order: 2;
        margin-right: 15px;
    }

    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--primary-color);
        box-shadow: 0 10px 20px rgba(0,0,0,0.15);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-in-out;
    }

    nav.open {
        max-height: 450px; 
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
        padding: 20px;
        gap: 10px;
        text-align: center;
    }

    .nav-links li {
        width: 100%;
    }

    .dropdown-menu {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        background-color: rgba(0,0,0,0.2);
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        display: none; 
        width: 100%;
        padding: 0;
        border-radius: 0;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown.active .arrow {
        transform: rotate(180deg);
    }

    .footer-container {
        grid-template-columns: 1fr;
    }
    
    .footer-contact p {
        white-space: normal; 
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}