:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary-color: #f8fafc;
    --accent-color: #f59e0b;
    --accent-dark: #d97706;
    --text-color: #1e293b;
    --light-text: #f8fafc;
    --gray-light: #e2e8f0;
    --gray-medium: #94a3b8;
    --gray-dark: #64748b;
    --success-color: #10b981;
    --error-color: #ef4444;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}

/* Header Styles */
header {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--light-text);
}

.logo img {
    height: 50px;
    margin-right: 15px;
}

.logo-text h1 {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.logo-text p {
    font-size: 0.8rem;
    opacity: 0.9;
    margin-top: 0.2rem;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--light-text);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Main Navigation */
.main-nav ul {
    display: flex;
    list-style: none;
    align-items: center;
}

.main-nav ul li {
    margin-left: 1.5rem;
    position: relative;
}

.main-nav ul li a {
    color: var(--light-text);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s;
    display: flex;
    align-items: center;
}

.main-nav ul li a:hover {
    color: var(--accent-color);
}

.main-nav ul li a i {
    margin-left: 0.3rem;
    font-size: 0.8rem;
}

/* CTA Button */
.cta-button {
    background-color: var(--accent-color);
    color: var(--light-text);
    padding: 0.6rem 1.2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.cta-button:hover {
    background-color: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.secondary-button {
    background-color: transparent;
    color: var(--dark-text);
    border: 2px solid var(--dark-text);
    padding: 0.6rem 1.2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.secondary-button:hover {
    background-color: var(--dark-text);
    color: var(--primary-color);
}

/* Footer */
footer {
    background-color: #1e293b;
    color: var(--light-text);
    padding: 4rem 2rem 2rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 1rem;
}

.footer-about p {
    margin-bottom: 1.5rem;
    opacity: 0.8;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-contact p {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.footer-contact p i {
    margin-right: 0.8rem;
    color: var(--accent-color);
    width: 1rem;
    text-align: center;
}

.footer-links h3 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-links h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a {
    color: var(--light-text);
    opacity: 0.8;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s;
    display: inline-block;
}

.footer-links ul li a:hover {
    opacity: 1;
    color: var(--accent-color);
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--light-text);
    transition: all 0.3s;
}

.social-links a:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

.newsletter-form {
    display: flex;
    margin-top: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.6rem 1rem;
    border: none;
    border-radius: 0.5rem 0 0 0.5rem;
    font-size: 0.9rem;
}

.newsletter-form button {
    background-color: var(--accent-color);
    color: white;
    border: none;
    padding: 0 1.2rem;
    border-radius: 0 0.5rem 0.5rem 0;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s;
}

.newsletter-form button:hover {
    background-color: var(--accent-dark);
}

.footer-bottom {
    max-width: 1200px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.8rem;
    opacity: 0.7;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: none;
    overflow-y: auto;
    padding: 2rem;
}

.mobile-menu-overlay.active {
    display: block;
}

.close-mobile-menu {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--light-text);
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-nav {
    margin-top: 3rem;
}

.mobile-nav ul {
    list-style: none;
}

.mobile-nav ul li {
    margin-bottom: 1.5rem;
}

.mobile-nav ul li a {
    color: var(--light-text);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-dropdown-menu {
    display: none;
    list-style: none;
    margin-top: 1rem;
    padding-left: 1rem;
    border-left: 2px solid var(--accent-color);
}

.mobile-dropdown-menu li {
    margin-bottom: 1rem;
}

.mobile-dropdown-menu li a {
    font-size: 1rem;
    opacity: 0.9;
}

.mobile-cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--light-text);
    padding: 0.8rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    margin-top: 2rem;
    text-align: center;
    width: 100%;
}

/* Responsive */
@media (max-width: 992px) {
    .main-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .header-container {
        padding: 0.5rem 1rem;
    }
    
    .logo-text h1 {
        font-size: 1.3rem;
    }
    
    .logo-text p {
        font-size: 0.7rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .footer-container {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        margin-top: 1.5rem;
    }
    
    .logo img {
        height: 40px;
        margin-right: 10px;
    }
}

/* Dropdown Menu - Überarbeitete Version */
.dropdown .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    width: 200px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 100;
    padding: 0.5rem 0;
    display: block; /* Sicherstellen, dass es als Block angezeigt wird */
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.dropdown-menu .dropdown-point {
    margin: 0;
    padding: 0;
    display: block; /* Jeder Li wird als Block angezeigt */
    width: 100%; /* Volle Breite nutzen */
}

.dropdown-menu .dropdown-point a {
    color: var(--text-color);
    padding: 0.5rem 1rem;
    display: block; /* Als Block anzeigen für volle Breite */
    font-size: 0.9rem;
    width: 100%; /* Volle Breite nutzen */
    box-sizing: border-box; /* Padding in der Breite berücksichtigen */
}

.dropdown-menu .dropdown-point  a:hover {
    color: var(--primary-color);
    background-color: var(--secondary-color);
}

/* Mobile Dropdown Menu - Überarbeitet */
.mobile-dropdown-menu {
    display: none;
    list-style: none;
    margin-top: 1rem;
    padding-left: 1rem;
    border-left: 2px solid var(--accent-color);
    width: 100%; /* Volle Breite nutzen */
}

.mobile-dropdown-menu li {
    margin-bottom: 1rem;
    display: block; /* Als Block anzeigen */
    width: 100%; /* Volle Breite nutzen */
}

.mobile-dropdown-menu li a {
    font-size: 1rem;
    opacity: 0.9;
    display: block; /* Als Block anzeigen */
    width: 100%; /* Volle Breite nutzen */
    padding: 0.5rem 0; /* Vertikales Padding hinzufügen */
}