/* === FEATURES GRID ICONS - EXAKT AUS ARTEFAKT === */

.feature-icon-new {
    width: 48px;
    height: 48px;
    background: var(--color-accent);
    border-radius: 50%;
    margin: 0 auto 1.5rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon-new::before {
    content: '';
    width: 20px;
    height: 20px;
    display: block;
    background: white;
    border-radius: 2px;
}

/* Spezifische Icons für Features - EXAKT AUS ARTEFAKT */
.feature-card-new:nth-child(1) .feature-icon-new::before {
    /* Punktschallquelle - Sound Wave */
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm0 2a8 8 0 1 1 0 16 8 8 0 0 1 0-16zm0 2a6 6 0 1 0 0 12 6 6 0 0 0 0-12zm0 2a4 4 0 1 1 0 8 4 4 0 0 1 0-8zm0 2a2 2 0 1 0 0 4 2 2 0 0 0 0-4z"/></svg>') center/contain no-repeat;
}

.feature-card-new:nth-child(2) .feature-icon-new::before {
    /* Intelligente Verarbeitung - Prozessor/Brain */
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M9 7h6v2H9V7zm0 4h6v2H9v-2z"/><path d="M20 3H4c-1.11 0-2 .89-2 2v14c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V5c0-1.11-.89-2-2-2zM8 6c0-.55.45-1 1-1h6c.55 0 1 .45 1 1v5c0 .55-.45 1-1 1H9c-.55 0-1-.45-1-1V6zm11 10H5v-3h14v3z"/></svg>') center/contain no-repeat;
}

.feature-card-new:nth-child(3) .feature-icon-new::before {
    /* Referenz-Qualität - Bluetooth */
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M17.71 7.71L12 2h-1v7.59L6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 11 14.41V22h1l5.71-5.71L13.41 12l4.3-4.29zM13 5.83l1.88 1.88L13 9.59V5.83zm1.88 10.46L13 18.17v-3.76l1.88 1.88z"/></svg>') center/contain no-repeat;
}

/* === UNIFIED LINK SYSTEM 2025 - CLEAN === */
/* EINE einheitliche Link-Klasse für alle Sektionen */
.link {
    color: var(--color-accent);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all var(--duration-medium) var(--ease-out);
    display: inline-block; /* Nötig für transform */
    max-width: fit-content; /* Verhindert volle Zeilenbreite */
}

.link:hover {
    border-bottom-color: var(--color-accent);
    transform: translateX(4px);
}

/* Footer-Links: weiße Basis-Farbe, aber identische Hover-Animation */
.footer-link {
    color: var(--color-text-secondary);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all var(--duration-medium) var(--ease-out);
    display: inline-block; /* FIXED: Jetzt funktioniert auch footer-link */
}

.footer-link:hover {
    color: var(--color-accent);
    border-bottom-color: var(--color-accent);
    transform: translateX(4px); /* Jetzt funktioniert es */
}

/* === DESIGN TOKENS === */

/* === TOUCH OPTIMIERUNGEN === */
@media (hover: none) and (pointer: coarse) {
    /* Touch-optimierte Buttons */
    .btn,
    .btn-ghost-new,
    .btn-primary-large {
        min-height: 44px; /* Mindest-Touch-Target */
        padding: var(--space-md) var(--space-lg);
    }
    
    /* Touch-optimierte Kacheln */
    .product-card-new {
        cursor: pointer;
        transition: transform 0.2s ease;
    }
    
    .product-card-new:active {
        transform: scale(0.98);
    }
    
    /* Touch-optimierte Links */
    .nav-link,
    .link,
    .tech-data-link {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        padding: var(--space-xs) var(--space-sm);
    }
    
    /* Entferne Hover-Effekte auf Touch */
    .product-card-new:hover {
        transform: none;
        border-color: var(--color-border);
        box-shadow: none;
    }
    
    .product-photo {
        transition: none;
    }
    
    .product-card-new:hover .product-photo {
        transform: none;
    }
}
:root {
    /* Colors */
    --color-bg-primary: #1a1a1a;
    --color-bg-surface: #2a2a2a;
    --color-accent: #cc3333;
    --color-text-primary: #ffffff;
    --color-text-secondary: #cccccc;
    --color-border: #404040;
    
    /* Typography - Briefing Fonts */
    --font-headline: "Recursive", -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    --font-ui: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* === UNIFIED TYPOGRAPHY SCALE 2025 === */
    /* Responsive Typography Scale */
    --text-micro: 0.75rem;                           /* 12px - disclaimers, legal */
    --text-small-unified: 0.8125rem;                 /* 13px - footer, specs, legal */
    --text-small: 0.875rem;                          /* 14px - captions, footnotes */
    --text-base: 1rem;                               /* 16px - standard paragraphs */
    --text-lead: clamp(1.125rem, 2vw, 1.25rem);      /* 18-20px - lead paragraphs */
    --text-h4: clamp(1.25rem, 2.5vw, 1.5rem);        /* 20-24px - card headlines */
    --text-h3: clamp(1.5rem, 3vw, 2rem);             /* 24-32px - card titles unified */
    --text-h2: clamp(2rem, 4vw, 3rem);               /* 32-48px - section headlines */
    --text-h1: clamp(2.5rem, 5vw, 4rem);             /* 40-64px - hero headlines */
    
    /* Subheadline Styles */
    --text-subheadline-main: clamp(1.25rem, 2.5vw, 1.5rem);  /* Kursive Subheadlines */
    --text-subheadline-accent: 1.2rem;                       /* Red accent subheadlines */
    
    /* Line Heights */
    --leading-tight: 1.2;      /* headlines */
    --leading-normal: 1.5;     /* body text */
    --leading-relaxed: 1.6;    /* lead copy */
    
    /* Spacing Scale */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    
    /* Layout */
    --container-max-width: 1200px;
    --container-padding: clamp(1rem, 4vw, 2rem);
    
    /* === STATE-OF-THE-ART ANIMATIONS 2025 === */
    /* Modern Easing Functions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.45, 0, 0.55, 1);
    --ease-spring: linear(0, 0.006, 0.025 2.8%, 0.101 6.1%, 0.539 18.9%, 0.721 25.7%, 0.849 31.5%, 0.937 38.1%, 0.968 41.8%, 0.991 45.7%, 1.006 50.1%, 1.015 55%, 1.017 63.9%, 1.001);
    --ease-bounce: linear(0, 0.004, 0.016, 0.035, 0.063, 0.098, 0.141, 0.191, 0.25, 0.316, 0.391, 0.473, 0.563, 0.661, 0.766, 0.88, 1.001, 1.13, 1.266, 1.41, 1.563, 1.723, 1.891, 2.066, 2.25, 2.441, 2.64, 2.847, 3.062, 3.284, 3.515, 3.753, 4);
    
    /* Animation Durations */
    --duration-fast: 0.2s;
    --duration-medium: 0.3s;
    --duration-slow: 0.6s;
    --duration-spring: 0.5s;
    
    /* === VIEW TRANSITIONS 2025 === */
    /* View Transition Names für verschiedene Elemente */
    --vt-product-card: product-card;
    --vt-modal-expand: modal-expand;
    --vt-hero-image: hero-image;
}

/* === UNIFIED TYPOGRAPHY CLASSES 2025 === */

/* Headlines (Semantic) */
h1, .h1 {
    font-family: var(--font-headline);
    font-size: var(--text-h1);
    font-weight: 700;
    line-height: var(--leading-tight);
    letter-spacing: -0.02em;
    color: var(--color-text-primary);
    margin: 0;
}

h2, .h2 {
    font-family: var(--font-headline);
    font-size: var(--text-h2);
    font-weight: 600;
    line-height: var(--leading-tight);
    letter-spacing: -0.01em;
    color: var(--color-text-primary);
    margin: 0;
}

h3, .h3 {
    font-family: var(--font-headline);
    font-size: var(--text-h3);
    font-weight: 600;
    line-height: var(--leading-tight);
    color: var(--color-text-primary);
    margin: 0;
}

h4, .h4 {
    font-family: var(--font-headline);
    font-size: var(--text-h4);
    font-weight: 500;
    line-height: var(--leading-tight);
    color: var(--color-text-primary);
    margin: 0;
}

/* Body Text (Unified - Simplified) */
p, .body-text {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: var(--leading-normal);
    font-weight: 400;
    color: var(--color-text-primary);
    margin: 0 0 1.5rem 0;
}

/* Lead Text - WICHTIG für größere Paragraphs */
.text-lead {
    font-family: var(--font-body);
    font-size: var(--text-lead);
    line-height: var(--leading-relaxed);
    font-weight: 400;
    color: var(--color-text-primary);
    margin: 0 0 1.5rem 0;
}

/* === SUBHEADLINE STYLES 2025 === */
.subheadline-main {
    font-family: var(--font-body);
    font-size: var(--text-subheadline-main);
    color: var(--color-text-secondary);
    font-style: italic;
    text-align: center;
    margin: var(--space-md) auto var(--space-2xl) auto;
    max-width: 600px;
    line-height: 1.4;
}

.subheadline-accent {
    font-family: var(--font-body);
    font-size: var(--text-subheadline-accent);
    color: var(--color-accent);
    font-weight: 600;
    text-align: center;
    margin: 0 auto var(--space-2xl) auto;
    letter-spacing: 0.3px;
}

.text-small-unified {
    font-family: var(--font-body);
    font-size: var(--text-small-unified);
    line-height: 1.4;
    color: var(--color-text-secondary);
    margin: 0;
}

/* Specialized Formats */
.image-caption {
    font-family: var(--font-body);
    font-size: var(--text-small);
    line-height: var(--leading-normal);
    font-style: italic;
    color: var(--color-text-secondary);
    margin: 0.5rem 0;
    text-align: left;
}

.footnote {
    font-family: var(--font-body);
    font-size: var(--text-small);
    line-height: var(--leading-normal);
    color: var(--color-text-secondary);
    margin: 0;
}

.legal-text {
    font-family: var(--font-body);
    font-size: var(--text-micro);
    line-height: var(--leading-normal);
    color: var(--color-text-secondary);
    margin: 0;
}

.quote-text {
    font-family: var(--font-body);
    font-size: var(--text-lead);
    line-height: var(--leading-relaxed);
    font-style: italic;
    color: var(--color-text-secondary);
    margin: 0;
}

/* === RESET & BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    scroll-padding-top: 100px; /* Offset für Fixed Navigation */
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg-primary);
    color: var(--color-text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* === ANDROID TEXT UMBRUCH FIXES === */
/* Critical fixes for Android text rendering and line breaks */

/* Android-specific font rendering fixes */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-variant-ligatures: none; /* Prevents Android ligature issues */
}

/* Force proper text wrapping on Android */
* {
    /* Enhanced word wrapping for Android */
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    
    /* Prevent text overflow on Android */
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

/* Android viewport and container fixes */
.container {
    /* Android-safe container with explicit overflow handling */
    overflow-x: hidden;
    overflow-wrap: break-word;
    word-wrap: break-word;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
}

/* Headlines: Force proper wrapping on Android */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    /* Android headline wrapping fixes */
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    
    /* Prevent Android from cutting off headlines */
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

/* Paragraphs: Enhanced Android text handling */
p, .text-lead, .body-text {
    /* Enhanced paragraph wrapping for Android */
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    
    /* Android container safety */
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    
    /* Android-specific spacing fixes */
    margin-left: 0;
    margin-right: 0;
}

/* Grid layouts: Android-safe responsive behavior */
.grid, .hero-container, .imagine-grid, 
.modal-grid, .heritage-layout-optimized, .award-layout,
.automotive-layout, .press-grid-typo, .news-grid {
    /* Android grid container fixes */
    overflow: hidden;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    
    /* Force proper grid item wrapping */
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* RMD-SPEZIFISCHE ANDROID-FIXES - KEIN OVERFLOW */
.rmd-content {
    /* Android-safe ohne overflow */
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    overflow: visible !important; /* Explizit visible */
    
    /* Force proper grid item wrapping */
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Android WebView specific fixes */
@media screen and (-webkit-min-device-pixel-ratio: 1) {
    /* Android Chrome/WebView specific tweaks */
    body {
        -webkit-text-size-adjust: 100%;
        -ms-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }
    
    /* Fix Android layout shifts */
    .container {
        contain: layout style;
    }
    
    /* Android-specific clamp() fallbacks */
    h1, .h1 {
        font-size: clamp(2.5rem, 5vw, 4rem);
        line-height: 1.1;
    }
    
    h2, .h2 {
        font-size: clamp(2rem, 4vw, 3rem);
        line-height: 1.2;
    }
    
    .text-lead {
        font-size: clamp(1.125rem, 2vw, 1.25rem);
        line-height: 1.6;
    }
    
    /* Android-specific hero fixes */
    .hero-modern h1 {
        font-size: clamp(2.2rem, 5vw, 3.5rem);
        line-height: 1.1;
        /* Force proper text wrapping */
        word-break: break-word;
        overflow-wrap: break-word;
    }
    
    .hero-modern .btn {
        /* Ensure buttons don't overflow on Android */
        max-width: calc(100vw - 4rem);
        text-align: center;
        word-break: break-word;
    }
}

/* Android-specific modal fixes */
@media (max-width: 768px) {
    /* Android modal text wrapping */
    .modal-content {
        word-wrap: break-word;
        overflow-wrap: break-word;
        overflow: hidden auto; /* Android-safe scrolling */
        
        /* Android viewport safety */
        max-width: calc(100vw - 1rem);
        box-sizing: border-box;
    }
    
    .modal-details {
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-width: 100%;
    }
    
    /* Android text input safety */
    .modal-details h2,
    .modal-details h3,
    .modal-details p {
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-width: 100%;
        min-width: 0;
    }
}

/* Android-specific typography fixes */
@media (max-width: 480px) {
    /* Extra small Android devices */
    .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
        min-width: 0;
        overflow-x: hidden;
    }
    
    /* Force smaller headlines on tiny Android screens */
    h1, .h1 {
        font-size: clamp(2rem, 8vw, 2.5rem);
        word-break: break-word;
    }
    
    h2, .h2 {
        font-size: clamp(1.5rem, 6vw, 2rem);
        word-break: break-word;
    }
    
    /* Ensure text always fits */
    p, .text-lead {
        font-size: clamp(0.9rem, 3vw, 1rem);
        word-break: break-word;
    }
}

/* Mobile-safe Modal Scroll Blocking - FIXED */
body.modal-open {
    overflow: hidden;
}

/* Desktop: Normales Overflow Hidden reicht */
@media (min-width: 769px) {
    body.modal-open {
        overflow: hidden;
    }
}

/* === SECTION STYLING 2025 === */
/* Sections use h2 with centered styling + red underline */
.section h2 {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.section h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--color-accent);
    margin: 1rem auto 0;
    border-radius: 2px;
}

/* === MODERNE HERO SEKTION 2025 === */
.hero-modern {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 80px; /* Standard - wird durch Responsive überschrieben */
    padding-bottom: 2rem;
    
    /* === SCROLL-DRIVEN ANIMATIONS 2025 === */
    /* Native CSS Scroll Animations */
    animation: reveal both;
    animation-timeline: view();
    animation-range: entry 0% cover 40%;
    
    /* Static Background - KEIN PARALLAX */
    background: 
        linear-gradient(
            135deg, 
            rgba(26, 26, 26, 0.8) 0%, 
            rgba(204, 51, 51, 0.1) 40%,
            rgba(26, 26, 26, 0.9) 100%
        ),
        radial-gradient(circle at 70% 30%, rgba(204, 51, 51, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 30% 70%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    /* background-attachment: fixed; ENTFERNT */
    background-size: 100% 100%; /* Normal sizing */
    background-repeat: no-repeat;
}

/* Animated Background Elements */
.hero-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(204, 51, 51, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    animation: backgroundPulse 8s ease-in-out infinite;
    z-index: 1;
}

/* === SCROLL-DRIVEN KEYFRAMES 2025 === */
@keyframes reveal {
    from {
        opacity: 0;
        transform: translateY(100px) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Scroll-driven Section Reveals */
.section {
    animation: sectionReveal both;
    animation-timeline: view();
    animation-range: entry 20% cover 60%;
}

@keyframes sectionReveal {
    from {
        opacity: 0;
        transform: translateY(60px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes backgroundPulse {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

/* Floating Elements */
.floating-element {
    position: absolute;
    opacity: 0.1;
    animation: floatAround 10s linear infinite;
    z-index: 1;
}

.floating-element:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    top: 60%;
    right: 10%;
    animation-delay: -3s;
}

.floating-element:nth-child(3) {
    bottom: 20%;
    left: 20%;
    animation-delay: -6s;
}

@keyframes floatAround {
    0% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(90deg); }
    50% { transform: translateY(0px) rotate(180deg); }
    75% { transform: translateY(20px) rotate(270deg); }
    100% { transform: translateY(0px) rotate(360deg); }
}

/* Hero Container */
.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 3;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(204, 51, 51, 0.1);
    border: 1px solid rgba(204, 51, 51, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #cc3333;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.8s ease-out;
}

.hero-badge::before {
    content: '●';
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-modern h1 {
    font-family: 'Inter', sans-serif;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    line-height: 0.9;
    margin-bottom: 1.5rem;
    background: linear-gradient(
        135deg, 
        #ffffff 0%, 
        #cc3333 50%, 
        #ffffff 100%
    );
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease-in-out infinite, fadeInUp 1s ease-out 0.2s both;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Modern CTA Buttons */
.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.6s both;
    justify-content: flex-start; /* Desktop: linksbündig */
}

@media (max-width: 1023px) {
    .hero-cta {
        justify-content: center; /* Tablet: zentriert */
    }
}

.hero-modern .btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    border: 1px solid transparent;
    overflow: hidden;
}

.hero-modern .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.6s;
}

.hero-modern .btn:hover::before {
    left: 100%;
}

.hero-modern .btn-primary {
    background: linear-gradient(135deg, #cc3333 0%, #aa2828 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(204, 51, 51, 0.3);
}

.hero-modern .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(204, 51, 51, 0.4);
}

.hero-modern .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-modern .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.1);
}

/* Hero Visual mit echtem Bild */
.hero-visual {
    position: relative;
    height: 100vh; /* Volle Viewport-Höhe */
    min-height: 600px; /* Erhöhte Mindesthöhe */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible; /* Ändert von hidden - für unbegrenzten Schatten */
    border-radius: 20px;
    animation: float 6s ease-in-out infinite, fadeInRight 1s ease-out 0.8s both;
    max-width: none; /* Wichtig: keine Breitenbegrenzung */
    width: 100%;
}

.hero-product-image {
    max-width: 130vw; /* Noch größer für Desktop */
    width: auto;
    object-fit: contain;
    object-position: center;
    filter: drop-shadow(0 30px 80px rgba(0, 0, 0, 0.6)); /* Größerer, stärkerer Schatten */
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}


/* === SCROLL INDICATOR - VOLLSTÄNDIG REPARIERT === */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 1s both;
    z-index: 3;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Großer weicher Blur-Schatten 100-150px */
.scroll-indicator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px; /* Vergrößert von 150px auf 120px für mobile */
    height: 120px;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.2) 50%, transparent 80%);
    border-radius: 50%;
    z-index: -1;
    filter: blur(40px);
}

/* Mobile: Breiterer Schatten */
@media (max-width: 768px) {
    .scroll-indicator::before {
        width: 120px; /* Breiterer Schatten für mobile */
        height: 120px;
    }
}

.scroll-indicator span {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
    font-weight: 500;
}

.scroll-arrow {
    width: 2px;
    height: 30px;
    background: linear-gradient(to bottom, #cc3333, transparent);
    animation: scrollBounce 2s ease-in-out infinite;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.6));
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(10px); opacity: 0.5; }
}

.scroll-indicator:hover {
    opacity: 1;
    transform: translateX(-50%) scale(1.05);
}

/* === HERO RESPONSIVE OPTIMIERUNGEN === */

/* Tablet Hochkant: Reduzierte Höhe */
@media (max-width: 1024px) and (orientation: portrait) {
    .hero-visual {
        height: 70vh; /* Reduziert für Tablet Hochkant */
        min-height: 400px;
    }
}

/* Mobile: Weitere Reduktion */
@media (max-width: 768px) {
    .hero-container {
        padding-top: 40px; /* Padding am Container statt hero-modern */
    }
    
    .hero-visual {
        height: 60vh; /* Reduziert für Mobile */
        min-height: 350px;
    }
}

/* Desktop: Normaler Abstand + reduzierte Höhe */
@media (min-width: 1025px) {
    .hero-modern {
        padding-top: 80px; /* Normal Abstand auf Desktop */
        min-height: 90vh; /* Reduziert von 100vh für Scroll-Hinweis */
    }
    
    .hero-visual {
        height: 70vh; /* Reduziert für Desktop damit Scroll-Hinweis sichtbar */
        min-height: 500px;
    }
}

/* Responsive */
@media (max-width: 768px) {
    /* background-attachment: scroll; ENTFERNT - nicht mehr nötig */
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        padding: 0 var(--space-lg);
    }

    .hero-content {
        text-align: center;
    }
    
    .hero-visual {
        order: -1;
        height: 60vh; /* Feste Höhe statt auto - verhindert Zoom */
        min-height: 300px; 
        max-height: 500px; 
        aspect-ratio: 5/4; 
        overflow: visible; /* Konsistent mit Desktop */
        display: flex;
        justify-content: center; 
        align-items: center;
        border-radius: 20px;
        margin: 0 auto;
        max-width: 90vw;
    }
    
    .hero-product-image {
        width: auto; /* Behält auto */
        max-width: 100%; /* Begrenzt Breite */
        object-fit: contain;
        filter: drop-shadow(0 15px 40px rgba(0, 0, 0, 0.4));
    }

    .hero-cta {
        justify-content: center;
    }
}

/* === NAVIGATION === */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(20px);
    transition: all var(--duration-medium) var(--ease-out);
    transform: translateY(0);
    opacity: 1;
}

/* Navigation verstecken beim runter-scrollen */
.nav.nav-hidden {
    transform: translateY(-100%);
    opacity: 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md) var(--container-padding);
    max-width: var(--container-max-width);
    margin: 0 auto;
}

.logo-link {
    transition: transform var(--duration-medium) var(--ease-out);
    text-decoration: none;
    display: inline-block;
}

.logo-link:hover {
    transform: scale(1.05);
}

.logo {
    height: 40px;
    transition: transform var(--duration-medium) var(--ease-out);
}

.nav-links {
    display: flex;
    gap: var(--space-xl);
    list-style: none;
}

.nav-link {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all var(--duration-medium) var(--ease-out);
    position: relative;
}

.nav-link:hover {
    color: var(--color-text-primary);
    transform: translateY(-2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width var(--duration-medium) var(--ease-out);
}

.nav-link:hover::after {
    width: 100%;
}

/* === LANGUAGE SWITCHER === */
.language-switcher {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-ui);
    font-size: var(--text-small);
    font-weight: 500;
}

.lang-link {
    color: var(--color-text-secondary);
    text-decoration: none;
    padding: var(--space-xs) var(--space-sm);
    border-radius: 4px;
    transition: all var(--duration-fast) var(--ease-out);
}

.lang-link:hover {
    color: var(--color-text-primary);
    background: rgba(255, 255, 255, 0.1);
}

.lang-link.active {
    color: var(--color-accent);
    background: rgba(204, 51, 51, 0.1);
}

/* === RESPONSIVE NAVIGATION === */
@media (max-width: 768px) {
    .nav-container {
        padding: var(--space-sm) var(--container-padding);
    }
    
    .nav-links {
        gap: var(--space-lg);
        font-size: var(--text-small);
    }
    
    .language-switcher {
        font-size: var(--text-small); /* Größer: 14px statt 12px */
    }
    
    .lang-link {
        padding: var(--space-sm) var(--space-md); /* Größere Touch-Targets */
        min-height: 36px;
        display: flex;
        align-items: center;
    }
    
    /* Logo kleiner auf Mobile */
    .logo {
        height: 32px;
    }
}

@media (max-width: 480px) {
    .nav-links {
        gap: var(--space-md);
        font-size: 0.75rem;
    }
    
    .nav-link {
        padding: var(--space-xs);
    }
    
    .language-switcher {
        gap: var(--space-sm); /* Mehr Abstand zwischen DE | EN */
        font-size: var(--text-small); /* Beibehalten auf small screens */
    }
    
    .lang-link {
        padding: var(--space-sm) var(--space-md);
        min-height: 40px; /* Noch größere Touch-Targets auf sehr kleinen Screens */
    }
}

.nav-link:hover::after {
    width: 100%;
}

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    font-family: var(--font-ui);
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--duration-medium) var(--ease-out);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--color-accent);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 10px 30px rgba(204, 51, 51, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--color-text-primary);
    border: 2px solid var(--color-border);
}

.btn-secondary:hover {
    border-color: var(--color-accent);
    background: rgba(204, 51, 51, 0.1);
    transform: translateY(-2px);
}

.btn-white {
    background: white;
    color: var(--color-accent);
    font-weight: 600;
}

.btn-white:hover {
    background: #f5f5f5;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

.btn-outline-white {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline-white:hover {
    background: white;
    color: var(--color-accent);
    transform: translateY(-2px);
}

/* === LAYOUT SYSTEM === */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section {
    padding: var(--space-4xl) 0;
}

.grid {
    display: grid;
    gap: var(--space-xl);
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* === RMD SECTION - SCROLL FIX === */
.rmd-section {
    background: var(--color-bg-surface);
    position: relative;
    /* SCROLLBAR FIX - explizit kein overflow */
    overflow: visible !important;
    /* Zusätzliche Sicherheitsmaßnahmen */
    contain: none !important; /* Entfernt containment */
    isolation: initial !important; /* Entfernt isolation context */
}

.rmd-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--space-4xl);
    align-items: center;
    /* KEIN overflow - verhindert nested scrollbar */
    overflow: visible;
}

.rmd-text {
    padding-right: var(--space-2xl);
    /* SCROLLBAR FIX - explizit keine overflow-Eigenschaften */
    overflow: visible !important;
    /* Verhindere horizontal scrolling durch lange Wörter */
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    /* Sicherheitsmaßnahmen für Container */
    min-width: 0;
    max-width: 100%;
}

.rmd-text-content {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    line-height: 1.7;
    color: #ffffff;
    /* SCROLLBAR FIX - explizit keine overflow-Eigenschaften */
    overflow: visible !important;
    /* Verhindere horizontal scrolling durch lange Wörter */
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
}

.rmd-text-content p {
    margin-bottom: 1.5rem;
    /* KEIN overflow - verhindert nested scrollbar */
    overflow: visible;
}

.rmd-text-content p:last-child {
    margin-bottom: 0;
}

.rmd-image {
    position: relative;
    border-radius: 24px;
    overflow: hidden; /* NUR hier für Bild-Abrundung erlaubt */
    min-height: 400px;
    aspect-ratio: 4/5;
}

.rmd-product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    filter: drop-shadow(0 15px 40px rgba(0, 0, 0, 0.3));
    transition: transform var(--duration-slow) var(--ease-out);
}

.rmd-image:hover .rmd-product-image {
    transform: scale(1.05);
}

/* Features Grid NEU - SCROLL FIX */
.features-grid-new {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 2rem;
    position: relative;
    /* KEIN overflow - verhindert nested scrollbar */
    overflow: visible;
}

/* Großer weicher Blur-Schatten HINTER der Gruppe - 100-150px */
.features-grid-new::before {
    content: '';
    position: absolute;
    top: -80px;
    left: -80px;
    right: -80px;
    bottom: -80px;
    background: radial-gradient(
        ellipse 80% 60% at center,
        rgba(204, 51, 51, 0.15) 0%,
        rgba(204, 51, 51, 0.08) 40%,
        rgba(204, 51, 51, 0.02) 70%,
        transparent 100%
    );
    filter: blur(120px);
    opacity: 0.6;
    z-index: -1;
    border-radius: 50%;
    /* KEIN overflow - verhindert nested scrollbar */
    overflow: visible;
}

.feature-card-new {
    background: none;
    padding: 1.5rem;
    border: none;
    text-align: center;
    transition: transform 0.3s ease;
    /* KEIN overflow - verhindert nested scrollbar */
    overflow: visible;
}

.feature-card-new:hover {
    transform: translateY(-8px);
}

.feature-icon-new {
    width: 48px;
    height: 48px;
    background: var(--color-accent);
    border-radius: 50%;
    margin: 0 auto 1.5rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    /* KEIN overflow - Icons sollen sichtbar bleiben */
    overflow: visible;
}

.feature-card-new .feature-content h3 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
    /* KEIN overflow - verhindert nested scrollbar */
    overflow: visible;
}

.feature-card-new .feature-content p {
    color: #ffffff;
    font-size: 1rem;
    line-height: 1.6;
    /* KEIN overflow - verhindert nested scrollbar */
    overflow: visible;
}

/* === IMAGINE SERIE - NEUE CARD DESIGN === */
.imagine-section {
    text-align: left;
    background: var(--color-bg-primary);
}

.imagine-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-2xl);
}

/* Neue Product Cards */
/* === VIEW TRANSITIONS 2025 === */
/* Product Cards mit View Transition Namen */
.product-card-new {
    background: var(--color-bg-surface);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s var(--ease-spring);
    cursor: pointer;
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    position: relative;
    
    /* View Transition Name ENTFERNT - war der Bug! */
    /* view-transition-name: var(--vt-product-card); */
    
    /* Content Visibility für Performance */
    content-visibility: auto;
    contain-intrinsic-size: 800px;
}

.product-card-new:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--color-accent);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

/* Product Image */
.product-image-new {
    height: 550px; /* Erhöht von 500px auf 550px (+50px) */
    max-height: 550px;
    position: relative;
    overflow: hidden;
    aspect-ratio: 1/2; /* Sehr schlankes Hochformat für speaker.png */
    background: #333333; /* Helleres Grau als Standard-Cards (#2a2a2a) - konsistent mit Modal */
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%; /* Volle Container-Breite nutzen */
}

.product-photo {
    width: auto; /* Geändert von 100% auf auto - passt sich Höhe an */
    height: 100%;
    object-fit: contain; /* Geändert von cover auf contain - zeigt ganzes Bild */
    object-position: center;
    transition: transform 0.4s ease;
    max-width: 100%; /* Verhindert Überlauf bei breiten Bildern */
    max-height: 100%;
}

.product-card-new:hover .product-photo {
    transform: scale(1.05);
}

/* Flagship Badge */
.flagship-badge {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    background: var(--color-accent);
    color: white;
    padding: var(--space-xs) var(--space-md);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    z-index: 2;
}

/* Product Content */
.product-content-new {
    padding: var(--space-xl);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-content-new h3 {
    margin-bottom: 0.5em; /* Abstand nach Headline */
}

/* Key Facts */
.product-specs-short {
    margin-bottom: var(--space-lg);
}

.spec-short {
    font-size: var(--text-small-unified);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-xs);
    padding: var(--space-xs) 0;
    border-bottom: 1px solid rgba(64, 64, 64, 0.3);
}

.spec-short:last-child {
    border-bottom: none;
}

/* Quote */
.product-quote-new {
    background: rgba(204, 51, 51, 0.1);
    border-left: 3px solid var(--color-accent);
    padding: var(--space-md);
    margin-bottom: var(--space-lg);
    border-radius: 4px;
}

.product-quote-new p {
    font-size: 0.9rem;
    font-style: italic;
    color: var(--color-text-primary);
    margin-bottom: var(--space-xs);
    line-height: 1.4;
}

.product-quote-new cite {
    font-size: 0.8rem;
    color: var(--color-accent);
    font-weight: 500;
    font-style: normal;
}

/* Price */
.product-price-new {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: var(--space-md);
    margin-top: auto;
}

/* Ghost Button */
.btn-ghost-new {
    background: transparent;
    border: 2px solid var(--color-border);
    color: var(--color-text-secondary);
    padding: var(--space-md) var(--space-lg);
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--duration-medium) var(--ease-out);
    font-size: 0.9rem;
}

.btn-ghost-new:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    background: rgba(204, 51, 51, 0.05);
    transform: translateY(-1px);
}

/* === MODAL STYLES === */
.product-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
    
    /* === FIREFOX BULLETPROOF FIX === */
    /* Entfernt alle problematischen Properties */
    overflow: visible; /* Nicht auto/scroll */
    
    /* === PERFORMANCE OPTIMIERUNGEN 2025 === */
    /* Content Visibility für Lazy DOM */
    content-visibility: hidden;
    contain-intrinsic-size: 100vh;
}

.product-modal.active {
    opacity: 1;
    pointer-events: all;
    
    /* Performance: Modal ist aktiv */
    content-visibility: visible;
}

.modal-backdrop {
    display: none;
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: min(95vw, 1400px);
    max-width: 1400px;
    max-height: 90vh; /* Begrenzt Höhe für Firefox */
    background: var(--color-bg-surface);
    border-radius: 32px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    
    /* === FIREFOX BULLETPROOF POSITIONING === */
    /* Absolute mit transform ist zuverlässiger */
    margin: 0;
    
    /* View Transition für Modal */
    view-transition-name: var(--vt-modal-expand);
    
    /* Performance: GPU Beschleunigung */
    will-change: transform, opacity;
    contain: layout style paint;
}

.product-modal.active .modal-content {
    transform: translate(-50%, -50%) scale(1);
}

.modal-close {
    position: absolute;
    top: var(--space-xl);
    right: var(--space-xl);
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: var(--color-text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.modal-close:hover {
    background: var(--color-accent);
    transform: rotate(90deg) scale(1.1);
}

.modal-inner {
    min-height: auto; /* Entfernt feste Höhe */
    max-height: 90vh;
    overflow-y: auto;
}

.modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: auto; /* Dynamische Höhe statt feste 700px */
    align-items: start; /* Start statt stretch - verhindert Layout-Shift */
}

.modal-image {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 400px;
    max-height: 80vh; /* Erhöht auf 80vh */
    background: #333333; /* Grauer Hintergrund für nicht ausgefüllte Bereiche */
}

.modal-details {
    padding: var(--space-2xl);
    overflow-y: visible;
    max-height: none;
    display: flex;
    flex-direction: column;
    gap: calc(var(--space-lg) / 4);
    min-height: auto; /* Entfernt feste Höhe */ /* Gleiche Mindesthöhe wie Bildbereich */
    /* align-self entfernt - natürliche Höhe */
}

.modal-title-new {
    font-family: var(--font-headline);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: var(--color-text-primary);
    line-height: 1.2;
    margin-bottom: var(--space-lg);
}

.modal-description-new {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: calc(var(--space-lg) / 4);
}

.modal-quote-modern {
    margin: calc(var(--space-lg) / 4) 0;
    padding-left: var(--space-lg);
    border-left: 3px solid var(--color-accent);
    position: relative;
}

.quote-mark {
    position: absolute;
    left: -15px;
    top: -10px;
    font-size: 3rem;
    color: var(--color-accent);
    font-family: serif;
    line-height: 1;
}

.modal-quote-modern blockquote {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    font-style: italic;
    color: var(--color-text-primary);
    line-height: 1.4;
    margin: 0 0 var(--space-sm) 0;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.modal-quote-modern cite {
    font-size: 1rem;
    color: var(--color-accent);
    font-weight: 500;
    font-style: normal;
}

.modal-price-new {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 300;
    color: var(--color-text-primary);
    margin: calc(var(--space-lg) / 4) 0;
    letter-spacing: -0.02em;
}

.specs-section-new {
    margin: calc(var(--space-lg) / 4) 0;
}

.specs-headline {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: calc(var(--space-lg) / 4);
    position: relative;
}

.specs-headline::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: var(--color-accent);
    margin-top: var(--space-sm);
    border-radius: 1px;
}

.specs-grid-new {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.spec-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: var(--space-md) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    align-items: baseline;
}

.spec-row:last-child {
    border-bottom: none;
}

.spec-label-new {
    font-weight: 400;
    color: var(--color-text-secondary);
    font-size: 1rem;
}

.spec-value-new {
    font-weight: 500;
    color: var(--color-text-primary);
    font-size: 1rem;
    text-align: right;
}

.modal-cta-new {
    display: flex;
    flex-direction: column;
    gap: calc(var(--space-lg) / 4);
    align-items: flex-start;
    margin-top: var(--space-lg); /* Mehr Abstand zum Preis */
}

.btn-primary-large {
    background: var(--color-accent);
    color: white;
    padding: var(--space-lg) var(--space-2xl);
    border-radius: 8px;
    font-weight: 500;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all var(--duration-medium) var(--ease-out);
    display: inline-block;
}

.btn-primary-large:hover {
    background: #dd4444;
    transform: translateY(-2px);
}

/* === PRESSESTIMMEN MIT LOGOS - WELTKLASSE DESIGN === */
.press-section-typo {
    background: var(--color-bg-surface);
    padding: var(--space-4xl) 0;
}

.press-container-typo {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.press-grid-typo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
}

.press-quote-typo {
    text-align: center;
    position: relative;
}

.press-quote-typo blockquote {
    font-family: var(--font-headline);
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    font-weight: 300;
    line-height: 1.3;
    color: var(--color-text-primary);
    margin: 0 auto var(--space-xl) auto;
    max-width: 800px;
    position: relative;
}

.press-quote-typo cite {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-accent);
    font-style: normal;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    margin-top: var(--space-md);
}

/* DREISPALTIG RESPONSIVE PRESSESTIMMEN */
.press-grid-typo-three {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(3, 1fr);
}

/* Tablet: 2 Spalten oben + 3. drunter links */
@media (max-width: 1024px) and (min-width: 768px) {
    .press-grid-typo-three {
        grid-template-columns: 1fr 1fr;
    }
    
    .press-grid-typo-three .press-quote-typo:nth-child(3) {
        grid-column: 1 / 2;
        grid-row: 2;
    }
}

/* Mobile: alle untereinander */
@media (max-width: 767px) {
    .press-grid-typo-three {
        grid-template-columns: 1fr;
    }
}

/* PRESS LOGOS - ZENTRIERT UND VERLINKT */
.press-logos-container {
    display: flex;
    justify-content: center;
    gap: var(--space-2xl);
    margin-top: var(--space-xl);
}

.press-logo-link {
    display: block;
    transition: all var(--duration-medium) var(--ease-out);
}

.press-logo {
    height: 40px; /* Etwas größer für bessere Sichtbarkeit */
    width: auto;
    max-width: 150px;
    object-fit: contain;
    filter: brightness(0.9) contrast(1.1);
    transition: all var(--duration-medium) var(--ease-out);
}

.press-logo-link:hover .press-logo {
    filter: brightness(1) contrast(1.2);
    transform: scale(1.05);
}

/* === NEWS SECTION MIT LOGOS - WELTKLASSE DESIGN === */
.news-section {
    background: #1a1a1a;
    padding: var(--space-2xl) 0;
}

.news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
}

.news-card {
    background: #2a2a2a;
    border-radius: 16px;
    overflow: hidden;
    transition: all var(--duration-medium) var(--ease-out);
    border: 1px solid rgba(255, 255, 255, 0.05);
    min-height: 400px; /* Erhöht für Logo-Platz */
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.1);
}

/* NEWS LOGO CONTAINER - ROTER BEREICH OBEN */
.news-logo-container {
    background: var(--color-accent);
    padding: var(--space-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    position: relative;
}

/* NEWS LOGOS - GRÖßER IM ROTEN BEREICH */
.news-logo {
    height: 80px; /* Vergrößert von 50px auf 80px */
    width: auto;
    max-width: 250px;
    object-fit: contain;
    filter: brightness(1) contrast(1.2);
    transition: all var(--duration-medium) var(--ease-out);
}

.news-logo:hover {
    filter: brightness(1.1) contrast(1.3);
    transform: scale(1.02);
}

.news-header {
    padding: var(--space-lg);
    color: white;
    flex-shrink: 0;
    background: #2a2a2a; /* Grauer Bereich unter dem Logo */
}

.news-date {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--space-sm);
    color: var(--color-accent); /* Rot im grauen Bereich */
}

.news-title {
    font-size: var(--text-h4);
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
    color: var(--color-text-primary);
}

.news-content {
    padding: var(--space-lg);
    background: var(--color-bg-surface);
    color: var(--color-text-primary);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-text {
    font-size: var(--text-base);
    line-height: 1.6;
    margin-bottom: var(--space-lg);
    color: var(--color-text-primary);
    flex: 1;
}

.news-link {
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all var(--duration-medium) var(--ease-out);
    border-bottom: 1px solid transparent;
    margin-top: auto;
}

.news-link:hover {
    border-bottom-color: var(--color-accent);
}

.news-link-inline {
    display: inline-block;
    width: auto;
    max-width: fit-content;
}

/* === HERITAGE SECTION === */
.heritage-section {
    background: linear-gradient(135deg, var(--color-bg-primary) 0%, var(--color-bg-surface) 100%);
}

.heritage-header {
    text-align: center;
    margin-bottom: var(--space-4xl);
}

.heritage-header h2 {
    position: relative;
    margin-bottom: var(--space-lg);
}

.heritage-header h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--color-accent);
    border-radius: 2px;
}

.heritage-layout-optimized {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-4xl);
    align-items: start;
    margin-top: var(--space-3xl);
}

.heritage-image-landscape {
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 16/10;
    min-height: 300px;
    position: relative;
}

.heritage-photo-landscape {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    filter: drop-shadow(0 15px 40px rgba(0, 0, 0, 0.3));
}

.heritage-image-stoerer {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(204, 51, 51, 0.95);
    backdrop-filter: blur(10px);
    padding: var(--space-md) var(--space-lg);
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    transition: all var(--duration-medium) var(--ease-out);
    z-index: 2;
    color: white;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: left;
    letter-spacing: 0.2px;
    line-height: 1.4;
    max-width: 280px;
}

.heritage-image-stoerer:hover {
    background: rgba(204, 51, 51, 1);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.heritage-image-stoerer span {
    font-size: 0.85rem;
    font-weight: 400;
    opacity: 0.95;
}

/* === RED DOT AWARD SECTION === */
.red-dot-section {
    background: var(--color-bg-surface);
    text-align: center;
}

.award-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 2rem;
}

.award-video {
    position: relative;
    width: 100%;
}

.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.award-content-modern {
    padding-left: 3rem;
    text-align: left;
}

.reddot-modern {
    text-align: left;
    margin-bottom: 0; /* Entfernt margin-bottom da Logo jetzt unter Text */
}

.reddot-logo {
    width: 140px;
    height: auto;
    background: white;
    padding: 16px;
    border-radius: 12px;
}

.award-link-modern {
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all var(--duration-medium) var(--ease-out);
    border-bottom: 1px solid transparent;
    display: inline-block;
    margin-top: var(--space-md);
}

.award-link-modern:hover {
    border-bottom-color: var(--color-accent);
}

/* === MISSION SECTION === */
.mission-section {
    background: var(--color-bg-surface);
    padding-top: 0;
}

.automotive-block {
    padding-top: var(--space-2xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.automotive-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--space-2xl);
    align-items: start;
}

.automotive-text {
    padding-right: var(--space-lg);
    text-align: left;
}

.automotive-image {
    position: relative;
}

.volvo-photo {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    transition: transform var(--duration-medium) var(--ease-out);
    position: relative;
    z-index: 1;
}

.volvo-photo:hover {
    transform: scale(1.02);
}

/* === CTA SECTION === */
.cta-section {
    background: var(--color-accent);
    color: white;
    text-align: center;
}

.cta-section-spacious {
    padding: var(--space-2xl) 0 var(--space-2xl) 0;
}

.cta-section-spacious .cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-section-spacious h2 {
    margin-bottom: var(--space-lg);
}

.cta-section-spacious .cta-buttons {
    margin-bottom: var(--space-xl);
    gap: var(--space-lg);
    display: flex;
    justify-content: center;
    align-items: center;
}

.cta-section-spacious .contact-info {
    margin-top: var(--space-2xl);
}

/* === FOOTER === */
.footer {
    background: var(--color-bg-primary);
    border-top: 1px solid var(--color-border);
    padding: var(--space-2xl) 0 var(--space-xl); /* Reduziert von 4xl auf 2xl */
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-3xl);
    margin-bottom: var(--space-2xl); /* Reduziert von 3xl auf 2xl */
}

.footer-section h4 {
    color: var(--color-accent);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5em; /* Reduziert von lg auf 0.5em */
    letter-spacing: 0.05em;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--space-sm);
}

/* .footer-link bereits im UNIFIED LINK SYSTEM oben definiert */

.footer-contact p {
    margin-bottom: var(--space-sm);
    font-size: var(--text-base);
    color: var(--color-text-secondary);
    line-height: 1.4;
}

.footer-contact strong {
    color: var(--color-text-primary);
}

.footer-bottom {
    border-top: 1px solid var(--color-border);
    padding-top: var(--space-xl);
    text-align: center;
    color: var(--color-text-secondary);
}

.footer-bottom p {
    margin-bottom: var(--space-sm);
    font-size: var(--text-small-unified);
}

.footer-bottom strong {
    color: var(--color-accent);
}

/* External Link Styling - Erbt von .footer-link */
.footer-link-external {
    display: inline-flex; /* Behält inline-flex für Icon-Alignment */
    align-items: center;
    gap: 0.25rem;
}

.footer-link-external svg {
    opacity: 0.7;
    transition: opacity 0.3s var(--ease-out);
    flex-shrink: 0;
}

.footer-link-external:hover svg {
    opacity: 1;
}

/* === RESPONSIVE OPTIMIERUNGEN === */
/* Breakpoint Logik für bessere Progression */
@media (max-width: 420px) {
    .product-image-new {
        height: 420px !important; /* Sehr kleine Mobile: niedriger */
        min-height: 420px !important;
        max-height: 420px !important;
        background: #333333 !important; /* Konsistent mit anderen Breakpoints */
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
}

@media (max-width: 768px) {
    /* Navigation Mobile */
    .nav-links {
        display: none;
    }
    
    .nav-container {
        padding: var(--space-sm) var(--container-padding);
    }
    
    /* Logo mobil kleiner */
    .nav-container img {
        height: 36px; /* Reduziert von 45px auf 36px (80%) */
    }
    
    /* Button "Persönliche Beratung" mobil kleiner */
    .nav .btn-primary {
        padding: var(--space-sm) var(--space-md); /* Reduziert von md/xl auf sm/md */
        font-size: 0.875rem; /* Kleinere Schrift */
        font-weight: 500; /* Etwas weniger bold */
    }

    /* RMD Section Mobile */
    .rmd-content {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
        text-align: left; /* Ändert von center auf left */
    }
    
    .rmd-text {
        padding-right: 0;
        order: 2;
        text-align: left; /* Explizit linksbündig */
    }
    
    .rmd-image {
        order: 1;
        min-height: 300px;
    }

    .features-grid-new {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
        margin-top: var(--space-2xl);
    }
    
    .feature-card-new {
        text-align: center;
        padding: var(--space-lg);
    }

    /* Imagine Grid Mobile */
    .imagine-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .product-card-new {
        min-height: auto;
    }
    
    .product-image-new {
        height: 550px; /* Erhöht - Desktop höher */
        min-height: 550px;
        max-height: 550px;
        width: 100%; /* Volle Breite bis Container-Limit */
        max-width: 460px; /* Breite wächst bis 460px */
        overflow: hidden;
        margin: 0 auto; /* Zentriert wenn schmaler als Container */
        background: #333333; /* Heller als Standard-Cards - konsistent mit Desktop */
        display: flex;
        align-items: center;
        justify-content: center;
        /* aspect-ratio entfernt - freie Proportionen für Breitenwachstum */
    }
    
    /* Produktbilder: Volle Breite nutzen, Höhe begrenzen = horizontaler Beschnitt */
    
    .product-photo {
        width: auto; /* Passt sich Höhe an statt volle Breite */
        height: 100%;
        object-fit: contain; /* Zeigt ganzes Bild ohne Beschnitt */
        object-position: center;
        max-width: 100%;
        max-height: 100%;
    }

    /* Modal Mobile - OPTIMIERT: Volle Breite bis 500px, dann zentriert */
    .modal-content {
        width: 100vw; /* Volle Viewport-Breite auf Mobile */
        margin: 0; /* Keine Margin auf sehr kleinen Screens */
        border-radius: 0; /* Keine Abrundungen bei voller Breite */
        /* max-height entfernt - unbegrenzte Länge */
        overflow-y: auto;
        max-width: 100vw; /* Verhindert Überlauf */
    }
    
    /* Bei größeren mobilen Screens (ab 500px) wieder Margin + border-radius */
    @media (min-width: 500px) {
        .modal-content {
            width: min(95vw, 500px); /* Begrenzt auf 500px max mit kleiner Margin */
            margin: 1rem auto;
            border-radius: 16px;
        }
    }

    .modal-grid {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    /* AB 320px: Einheitliches Verhalten (Höhe einpassen + Hintergrund) */
    @media (min-width: 320px) {
        .modal-image {
            height: auto;
            min-height: max(320px, 40vh);
            max-height: min(70vh, 700px);
            aspect-ratio: 1/2;
            order: -1;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            border-radius: 8px 8px 0 0;
            width: 100%;
            background: #333333; /* Helleres Grau als Standard-Kacheln (#2a2a2a) */
        }
        
        .modal-image .image-gallery,
        .modal-image .gallery-container,
        .modal-image .gallery-track,
        .modal-image .gallery-slide {
            background: #333333; /* Helleres Grau konsistent */
            width: 100%;
            height: 100%;
        }
        
        .modal-image img,
        .modal-image .gallery-slide img {
            height: 100%;
            width: auto; /* Einpassen an Höhe ab 320px */
            object-fit: contain;
            object-position: center;
        }
    }
    
    /* Bei größeren mobilen Screens border-radius für Bild */
    @media (min-width: 400px) {
        .modal-image {
            border-radius: 16px 16px 0 0; /* Volle Abrundungen bei größeren Screens */
        }
    }
    
    .modal-image img {
        height: auto; /* Ändert von 100% auf auto - passt sich Container an */
        width: auto; /* Ändert von 100% auf auto - passt sich Höhe an */
        max-width: 100%; /* Verhindert horizontalen Überlauf */
        max-height: 100%; /* Passt sich der verfügbaren Höhe an */
        object-fit: contain; /* Zeigt ganzes Bild ohne Beschnitt */
        object-position: center;
    }

    .modal-details {
        padding: 1rem;
        gap: 1rem;
    }

    .modal-close {
        top: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        position: absolute; /* Zurück zu absolute statt fixed */
        z-index: 10; /* Normal z-index */
    }

    /* Press Grid Mobile */
    .press-grid-typo {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .press-quote-typo cite {
        flex-direction: column;
        gap: var(--space-sm);
    }
    
    .press-logo {
        height: 25px;
    }

    /* News Grid Mobile */
    .news-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .news-logo {
        height: 60px; /* Mobile: 60px statt 40px */
    }

    /* Heritage Section Mobile */
    .heritage-layout-optimized {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
        text-align: center;
        padding: 0; /* Explizit kein zusätzliches Padding */
    }

    .heritage-image-landscape {
        order: -1;
        aspect-ratio: 16/9;
        min-height: 250px;
        margin: 0; /* Explizit keine Margin */
        border-radius: 8px; /* Konsistent mit anderen mobilen border-radius */
        overflow: hidden; /* Verhindert Überlauf */
    }
    
    .heritage-photo-landscape {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        border-radius: 8px; /* Konsistent */
    }

    .heritage-image-stoerer {
        bottom: 12px;
        left: 12px;
        padding: var(--space-sm) var(--space-md);
        font-size: 0.85rem;
        max-width: min(280px, 85vw);
        line-height: 1.3;
    }

    .heritage-image-stoerer span {
        font-size: 0.75rem;
    }

    .heritage-header {
        margin-bottom: var(--space-2xl);
        padding: 0; /* Konsistent mit halbierten Container-Abständen */
    }
    
    /* Heritage Text Mobile - konsistente Abstände */
    .heritage-text {
        padding: 0; /* Entfernt alle Paddings für konsistente Container-Abstände */
        order: 2;
        text-align: left; /* Linksbündig statt center */
    }
    
    /* Red Dot Mobile */
    .award-layout {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
        text-align: center;
    }
    
    .award-content-modern {
        padding-left: 0;
    }
    
    .reddot-modern {
        text-align: left; /* Mobile: linksbündig statt center */
    }
    
    /* Mission Section Mobile */
    .automotive-layout {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
        text-align: center;
    }
    
    .automotive-text {
        padding-right: 0;
        order: 2;
    }
    
    .automotive-image {
        order: 1;
    }

    /* CTA Section Mobile */
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: var(--space-lg);
    }
    
    .btn-white,
    .btn-outline-white {
        padding: var(--space-lg) var(--space-2xl);
        font-size: 1.1rem;
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    /* Footer Mobile */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
        text-align: center;
    }
    
    .footer-section h4 {
        margin-bottom: var(--space-md);
    }
    
    .footer-bottom {
        text-align: center;
    }
    
    .footer-bottom p {
        font-size: 0.9rem;
    }
    
    /* Container WIRKLICH begrenzen - HALBIERTE ABSTÄNDE */
    .container {
        padding: 0 calc(var(--space-md) / 2); /* Halbiert: 0.5rem statt 1rem */
        max-width: calc(100vw - 1rem); /* Angepasst an halbierte Abstände */
        overflow-x: hidden;
        box-sizing: border-box;
    }
    
    /* Alle Texte umbrechen */
    * {
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-width: 100%;
        box-sizing: border-box;
    }
}

/* === TABLET OPTIMIERUNGEN === */
@media (max-width: 1024px) and (min-width: 769px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
        text-align: center;
        max-width: 800px;
        margin: 0 auto;
        padding: 0 var(--space-lg);
    }
    
    .hero-content {
        text-align: center; /* Explizit zentriert */
    }
    
    .hero-cta {
        justify-content: center; /* Buttons zentriert */
    }
    
    .hero-visual {
        order: -1;
        height: 350px;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .hero-product-image {
        object-fit: contain;
    }

    /* Video über volle Breite */
    .award-layout {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .award-video {
        order: 1;
    }
    
    .award-content-modern {
        order: 2;
    }
    
    /* News: 2 oben, 1 unten links */
    .news-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        gap: var(--space-lg);
    }
    
    .news-card:nth-child(1) {
        grid-column: 1;
        grid-row: 1;
    }
    
    .news-card:nth-child(2) {
        grid-column: 2;
        grid-row: 1;
    }
    
    /* Imagine-Grid: 2 oben, 1 unten links */
    .imagine-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        gap: var(--space-lg);
    }
    
    .imagine-grid .product-card-new:nth-child(1) {
        grid-column: 1;
        grid-row: 1;
    }
    
    .imagine-grid .product-card-new:nth-child(2) {
        grid-column: 2;
        grid-row: 1;
    }
    
    .imagine-grid .product-card-new:nth-child(3) {
        grid-column: 1;
        grid-row: 2;
    }
}

/* Hero bis 1023px gestapelt */
@media (max-width: 1023px) {
    .hero-modern {
        min-height: auto; /* Entfernt feste Höhe 70vh */
        height: auto; /* Dynamische Höhe */
        padding: var(--space-xl) 0;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
        text-align: center;
        max-width: 100%;
        overflow: hidden;
        padding: 0 calc(var(--space-md) / 2); /* Halbierte Abstände konsistent */
    }
    
    .hero-content {
        order: 2;
        padding: 0; /* Entfernt, da hero-container bereits padding hat */
        text-align: center; /* Explizit zentriert */
    }
    
    .hero-cta {
        justify-content: center; /* Buttons zentriert */
    }
    
    .hero-visual {
        order: 1;
        margin-bottom: var(--space-lg);
        overflow: hidden;
    }
    
    .hero-product-image {
        max-width: 90vw;
        height: auto;
        object-fit: contain;
    }
    
    .hero-content h1 {
        font-size: clamp(2.2rem, 5vw, 3.5rem);
        line-height: 1.1;
    }
}

/* === PERFORMANCE & ACCESSIBILITY OPTIMIERUNGEN === */

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    /* Entfernt Hover-Bewegungen für Links */
    .link:hover,
    .quote-link:hover,
    .legal-link:hover,
    .award-link-modern:hover,
    .news-link:hover,
    .news-link-inline:hover,
    .footer-link:hover {
        transform: none !important;
    }
    
    .floating-element {
        transform: none !important;
    }
    
    .heritage-image-stoerer:hover,
    .product-card-new:hover,
    .volvo-photo:hover {
        transform: none !important;
    }
}

/* Focus States für Accessibility */
.btn:focus,
.nav-link:focus,
.product-card-new:focus,
.link:focus {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
    border-radius: 4px;
}

/* High Contrast Support */
@media (prefers-contrast: high) {
    .heritage-image-stoerer {
        background: rgba(204, 51, 51, 1);
        border: 2px solid white;
    }
    
    .btn {
        border: 2px solid currentColor;
    }
}

/* Performance-Optimierungen */
.hero-product-image,
.rmd-product-image,
.product-photo,
.volvo-photo,
.heritage-photo-landscape {
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
}

/* Optimierte Hover-Effekte für Performance */
.product-card-new,
.news-card,
.heritage-image-stoerer {
    transform: translateZ(0);
    transition-property: transform, box-shadow, background-color;
    transition-timing-function: var(--ease-out);
}

/* Bessere Touch-Targets */
@media (pointer: coarse) {
    .btn,
    .nav-link,
    .product-card-new {
        min-height: 44px;
        min-width: 44px;
    }
}

/* === BILDERGALERIE MODAL === */
.image-gallery {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden; /* Zurück auf hidden */
    border-radius: var(--border-radius);
    background: #333333; /* Grauer Hintergrund für eingepasste Bilder */
}

.gallery-container {
    position: relative;
    width: 100%;
    height: 100%;
    max-height: 100%; /* Begrenzt die Höhenvererbung */
    overflow: hidden; /* Verhindert Überlauf */
}

.gallery-track {
    display: flex;
    width: 100%;
    height: 100%;
    max-height: 100%; /* Begrenzt die Höhenvererbung */
    transition: transform 0.4s var(--ease-out);
    will-change: transform;
}

.gallery-slide {
    flex: 0 0 100%;
    width: 100%;
    /* height: 100%; ENTFERNT - das war das Problem */
    min-height: 100%; /* Stattdessen min-height für Layout */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s var(--ease-out);
    background: #333333; /* Grauer Hintergrund für jede Slide */
}

.gallery-slide.active {
    opacity: 1;
}

.gallery-slide img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 80vh; /* Direkt auf Modal-Höhe begrenzen */
    object-fit: contain;
    display: block;
}

/* Navigation Arrows */
.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s var(--ease-out);
    opacity: 0;
    pointer-events: none;
}

.gallery-nav:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(-50%) scale(1.1);
}

.gallery-nav.gallery-prev {
    left: 16px;
}

.gallery-nav.gallery-next {
    right: 16px;
}

/* Dots Indicator - Wieder innen im Bildbereich */
.gallery-dots {
    position: absolute;
    bottom: 16px; /* Zurück nach unten innen */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.gallery-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
    
    /* Webkit iPhone Fix */
    -webkit-appearance: none;
    appearance: none;
}

.gallery-dot.active {
    background: var(--color-accent);
    transform: scale(1.2);
}

.gallery-dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

/* Desktop Navigation sichtbar machen */
@media (min-width: 768px) {
    .image-gallery:hover .gallery-nav {
        opacity: 1;
        pointer-events: auto;
    }
}

/* Mobile Touch Navigation */
@media (max-width: 767px) {
    .gallery-nav {
        display: none; /* Arrows auf Mobile verstecken, nur Swipe + Dots */
    }
    
    .gallery-dots {
        bottom: 12px;
    }
    
    .gallery-dot {
        width: 10px;
        height: 10px;
    }
}

/* Touch-optimierte Galerie für Mobile */
@media (pointer: coarse) {
    .gallery-track {
        touch-action: pan-x;
    }
    
    .gallery-slide {
        user-select: none;
    }
}

/* === ZUSATZ-INFORMATIONEN MODAL === */
.additional-info-section {
    margin-top: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--color-border);
}

.additional-info-section-no-border {
    margin-top: var(--space-lg);
    padding-top: 0;
}

.additional-info-section h4,
.additional-info-section-no-border h4 {
    font-family: var(--font-headline);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: var(--space-sm);
    margin-top: var(--space-md);
}

.additional-info-section h4:first-child,
.additional-info-section-no-border h4:first-child {
    margin-top: 0;
}

.additional-info-section p,
.additional-info-section-no-border p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-sm);
}

/* Technische Daten mit Linie */
.specs-section-with-border {
    margin-top: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--color-border);
}

/* === GRUPPIERTE TECHNISCHE DATEN === */
.specs-grid-grouped {
    display: grid;
    gap: var(--space-lg);
    margin-top: var(--space-md);
}

.spec-group {
    margin-bottom: var(--space-md);
}

.spec-group-title {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--space-sm);
    margin-top: 0;
}

.spec-group .spec-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: var(--space-xs) 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.spec-group .spec-label-new {
    font-weight: 500;
    color: var(--color-text-secondary);
    min-width: 120px;
    margin-right: var(--space-sm);
    font-size: 0.9rem;
}

.spec-group .spec-value-new {
    color: var(--color-text-primary);
    text-align: right;
    flex: 1;
    font-size: 0.9rem;
}

/* Modal Headlines - mehr Abstand nach Headlines */
.modal-details h2 {
    margin-bottom: 0.5em; /* Abstand nach Headline */
}

/* === TAB SYSTEM STYLES === */
.modal-tabs {
    display: flex;
    border-bottom: 1px solid var(--color-border);
    margin-top: 1em; /* Abstand von Headlines zu Tabs */
    margin-bottom: var(--space-lg); /* Reduziert von --space-2xl auf --space-lg */
    gap: 0;
}

.modal-tab {
    background: none;
    border: none;
    color: var(--color-text-secondary);
    padding: var(--space-md) var(--space-xl);
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    position: relative;
    transition: all var(--duration-medium) var(--ease-out);
    border-bottom: 2px solid transparent;
    font-family: var(--font-body);
}

.modal-tab:hover {
    color: var(--color-text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.modal-tab.active {
    color: var(--color-accent);
    border-bottom-color: var(--color-accent);
    background: rgba(204, 51, 51, 0.1);
}

/* Tab Content */
.modal-tab-content {
    display: none;
    animation: fadeInTab 0.3s ease-in-out;
}

.modal-tab-content.active {
    display: block;
}

@keyframes fadeInTab {
    from { 
        opacity: 0; 
        transform: translateY(10px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

/* Modal Quote - mehr Abstand */
.modal-quote-modern {
    margin: var(--space-2xl) 0; /* Erhöht von calc(var(--space-lg) / 4) */
    padding-left: var(--space-lg);
    border-left: 3px solid var(--color-accent);
    position: relative;
}

/* Modal Headline nach Tabs - mehr Abstand */
.modal-tab-content h3.specs-headline {
    margin-top: var(--space-lg); /* Zusätzlicher Abstand nach Tabs */
    margin-bottom: var(--space-xl);
}

/* Modal Preis - kleiner */
.modal-price-new {
    font-size: clamp(1.5rem, 3vw, 2rem); /* Reduziert von 1.75rem/2.8rem auf 1.5rem/2rem */
    font-weight: 300; /* Bleibt gleich */
    color: var(--color-text-primary);
    margin: calc(var(--space-lg) / 4) 0;
    letter-spacing: -0.02em;
}

/* Modal Button - kleiner */
.btn-primary-large {
    background: var(--color-accent);
    color: white;
    padding: var(--space-md) var(--space-lg); /* Reduziert von lg/2xl auf md/lg */
    border-radius: 8px;
    font-weight: 500;
    font-size: 1rem; /* Reduziert von 1.1rem auf 1rem */
    text-decoration: none;
    transition: all var(--duration-medium) var(--ease-out);
    display: inline-block;
}

.btn-primary-large:hover {
    background: #dd4444;
    transform: translateY(-2px);
}

/* Mobile Tab Optimierung */
@media (max-width: 768px) {
    .modal-tabs {
        margin-top: 0.75em; /* Mobile: etwas weniger */
        margin-bottom: var(--space-md); /* Mobile: weniger Abstand */
    }
    
    .modal-tab {
        padding: var(--space-sm) var(--space-lg);
        font-size: 0.9rem;
        flex: 1;
        text-align: center;
    }
    
    .modal-quote-modern {
        margin: var(--space-xl) 0; /* Mobile: etwas weniger */
    }
    
    .modal-price-new {
        font-size: clamp(1.25rem, 4vw, 1.5rem); /* Mobile: noch kleiner */
    }
    
    .btn-primary-large {
        padding: var(--space-sm) var(--space-md); /* Mobile: noch kompakter */
        font-size: 0.9rem;
    }
}

/* === CONTAINER QUERIES 2025 === */
/* Modern Layout Adaptations based on container size, not viewport */
.product-card-new {
    container-type: inline-size;
}

@container (max-width: 600px) {
    .product-card-new {
        border-radius: 16px;
    }
    
    .product-content-new {
        padding: var(--space-lg);
    }
}

@container (max-width: 400px) {
    .product-image-new {
        height: 450px; /* Erhöht von 300px auf 450px */
    }
}

/* === BROWSER SUPPORT & FALLBACKS 2025 === */
/* Progressive Enhancement für moderne Features */
@supports not (animation-timeline: view()) {
    .hero-modern {
        animation: fadeInUpFallback 0.6s ease-out;
    }
    
    .section {
        animation: fadeInUpFallback 0.6s ease-out;
    }
}

@keyframes fadeInUpFallback {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === UTILITY CLASSES === */
.text-center { text-align: center; }
.text-accent { color: var(--color-accent); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }

/* === LANGUAGE SWITCHER === */
.footer-language {
    border-top: 1px solid var(--color-border);
    padding: var(--space-lg) 0;
    margin-top: var(--space-lg);
}

.language-switcher-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: 0.9rem;
}

.language-switcher-footer span {
    color: var(--color-text-secondary);
    font-weight: 400;
}

.lang-separator {
    color: var(--color-border);
    font-weight: 300;
    opacity: 0.7;
}

.lang-link-footer {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all var(--duration-medium) var(--ease-out);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    border-bottom: 1px solid transparent;
}

.lang-link-footer:hover {
    color: var(--color-accent);
    background: rgba(204, 51, 51, 0.1);
    border-bottom-color: var(--color-accent);
    transform: translateY(-1px);
}

.current-lang-footer {
    color: var(--color-text-primary);
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Mobile Language Switcher */
@media (max-width: 768px) {
    .footer-language {
        padding: var(--space-md) 0;
        margin-top: var(--space-md);
    }
    
    .language-switcher-footer {
        font-size: 0.85rem;
        gap: 0.75rem;
    }
    
    .lang-link-footer,
    .current-lang-footer {
        padding: 0.2rem 0.4rem;
        font-size: 0.85rem;
    }
}