/* ========================================
   VOXX German Holdings GmbH - Stylesheet
   ======================================== */

/* Reset & Base Styles */
*, *:after, *:before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

:root {
    --primary-color: #2c3e50;         /* Dunkelgrau statt Blau */
    --secondary-color: #34495e;       /* Mittelgrau statt Hellblau */
    --accent-color: #e74c3c;          /* Rot als Akzent */
    --text-dark: #2c3e50;             /* Dunkelgrau - Haupttext */
    --text-light: #6c757d;            /* Grau - Sekundärtext */
    --bg-light: #f8f9fa;              /* Hellgrau - Hintergründe */
    --border-color: #dee2e6;          /* Grau - Rahmen */
    --white: #ffffff;                 /* Weiß */
    --hover-color: #1a252f;           /* Sehr dunkel für Hover */
    --transition: all 0.3s ease;
}

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    font-size: 16px;
    color: var(--text-dark);
    font-weight: 300;
    background: var(--white);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: var(--secondary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-color);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-top: 0;
    color: var(--text-dark);
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.25rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

ul, ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

strong {
    font-weight: 600;
    color: var(--text-dark);
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
    transition: var(--transition);
}

.logo:hover img {
    opacity: 0.8;
}

/* Navigation */
.navigation {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
}

.nav-menu li a {
    color: var(--text-dark);
    font-weight: 400;
    padding: 0.5rem 0;
    position: relative;
    transition: var(--transition);
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
}

.nav-menu li a:hover::after,
.nav-menu li a.active::after {
    width: 100%;
}

.nav-menu li a.active {
    color: var(--secondary-color);
}

/* Language Switcher */
.language-switcher {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.lang-btn {
    padding: 0.4rem 0.8rem;
    border: 2px solid transparent;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-light);
    transition: var(--transition);
    min-width: 40px;
    text-align: center;
}

.lang-btn:hover {
    color: var(--text-dark);
    background: var(--bg-light);
}

.lang-btn.active {
    color: var(--white);
    background: var(--secondary-color);
    border-color: var(--secondary-color);
}

.lang-btn img {
    width: 24px;
    height: 18px;
    display: block;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 5rem 0;
    text-align: center;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero-text {
    font-size: 1.2rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* Brands Section */
.brands-section {
    padding: 5rem 0;
    background: var(--white);
}

.section-title {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.brand-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.brand-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--secondary-color);
}

.brand-logo {
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.brand-logo img {
    max-width: 80%;
    max-height: 80px;
    object-fit: contain;
    filter: grayscale(20%);
    transition: var(--transition);
}

.brand-card:hover .brand-logo img {
    filter: grayscale(0%);
}

.brand-description h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.brand-description p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    min-height: 3rem;
}

.brand-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: auto;
}

.brand-link:hover {
    gap: 0.75rem;
    color: var(--hover-color);
}

.brand-link i {
    transition: var(--transition);
}

/* Content Section */
.content-section {
    padding: 4rem 0;
    background: var(--bg-light);
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.content-box {
    margin: 2rem 0;
}

.content-box h3 {
    color: var(--primary-color);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.5rem;
    margin-top: 2rem;
}

.content-box h4 {
    color: var(--secondary-color);
    margin-top: 1.5rem;
}

.content-box ul li {
    margin-bottom: 0.5rem;
}

.back-link {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--secondary-color);
    color: var(--white);
    border-radius: 6px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-back:hover {
    background: var(--hover-color);
    gap: 0.75rem;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 50%, #2c3e50 100%);
    color: var(--white);
    padding: 3rem 0 1rem;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

/* Alle Texte im Footer weiß machen */
.footer,
.footer *,
.footer p,
.footer strong,
.footer h3,
.footer span,
.footer li {
    color: #ffffff !important;
}

/* Links im Footer */
.footer a {
    color: #ffffff !important;
}

.footer a:hover {
    color: #ecf0f1 !important;  /* Sehr helles Grau statt Blau */
    text-decoration: underline;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    display: inline-block;
}

.footer-logo img {
    max-width: 200px;
    display: block;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    text-align: center;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 999;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--hover-color);
    transform: translateY(-5px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-text {
        font-size: 1rem;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .navigation {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem;
        gap: 1rem;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
        transition: var(--transition);
        z-index: 1001;
    }
    
    .navigation.active {
        left: 0;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }
    
    .nav-menu li {
        width: 100%;
    }
    
    .nav-menu li a {
        display: block;
        padding: 0.75rem;
    }
    
    .brands-grid {
        grid-template-columns: 1fr;
    }
    
    .content-wrapper {
        padding: 2rem 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-logo {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 3rem 0;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .content-wrapper {
        padding: 1.5rem 1rem;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .scroll-to-top,
    .language-switcher,
    .back-link {
        display: none;
    }
    
    body {
        font-size: 12pt;
    }
}
