/* ===================================
   PRODUKTE PAGE STYLES
   =================================== */

/* ===================================
   BASE OVERRIDES
   =================================== */
.page-produkte {
    background: #fff;
    color: #1a1a1a;
}

.page-produkte .accent,
.page-produkte .text-accent {
    color: var(--color-accent, #c0003a);
}

.page-produkte .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===================================
   HERO - Split Layout with Animation
   =================================== */
.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 500px;
    padding-top: 80px;
    background: linear-gradient(to right, 
        #0a0a0a 50%, 
        #fff 50% 80%, 
        #0a0a0a 80%
    );
}

.hero-dark {
    background: transparent;
    display: flex;
    align-items: flex-end;
    padding: 4rem 2rem 4rem 4rem;
}

.hero-text {
    max-width: 500px;
    padding-left: max(2.5rem, calc((95vw - 1200px) / 2));
}

.hero-text .overline {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    color: rgba(255,255,255,0.4);
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

.hero-text h1 {
    font-family: var(--font-headline);
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 400;
    line-height: 0.95;
    text-transform: uppercase;
    color: #fff;
    margin: 0;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease 0.4s forwards;
}

.hero-light {
    background: #fff;
    position: relative;
    max-width: 60%;
}

.hero-image {
    position: absolute;
    bottom: -80px;
    left: -100px;
    z-index: 10;
}

.hero-image img {
    width: 550px;
    max-width: none;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.15));
    opacity: 0;
    transform: translateX(60px) translateY(20px);
    animation: heroImageIn 1s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroImageIn {
    to {
        opacity: 1;
        transform: translateX(0) translateY(0);
    }
}

/* ===================================
   INTRO SECTION
   =================================== */
.section-intro {
    background: #fff;
    padding: 6rem 2rem 4rem;
}

.section-intro .container {
    max-width: 900px;
}

.intro-headline {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.intro-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #333;
}

/* ===================================
   8000 STATIONS SECTION with Animation
   =================================== */
.section-stations {
    background: #fff;
    padding: 4rem 0;
    border-top: 1px solid #eee;
    overflow: visible;
}

.stations-wrapper {
    display: grid;
    grid-template-columns: 450px 1fr;
    gap: 3rem;
    align-items: start;
}

.stations-content {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.stations-content.visible {
    opacity: 1;
    transform: translateY(0);
}

.stations-content h2 {
    color: #1a1a1a;
    margin: 0 0 2rem 0;
}

.stations-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1.25rem;
}

.btn-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--color-accent);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

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

.stations-image {
    position: relative;
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.8s ease 0.2s, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}

.stations-image.visible {
    opacity: 1;
    transform: translateX(0);
}

.stations-image img {
    width: 100%;
    max-width: 600px;
    transform: translateY(120px);
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.1));
}

/* ===================================
   DEVELOPED SECTION
   =================================== */
.section-developed {
    background: #0a0a0a;
    padding: 8rem 0 4rem;
}

.developed-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.developed-content {
    padding-right: 3rem;
}

.developed-content h2 {
    color: #fff;
    margin: 0 0 1.5rem 0;
}

.developed-content p {
    font-size: 0.95rem;
    line-height: 1.9;
    color: rgba(255,255,255,0.7);
}

.certifications-box {
    background: var(--color-accent);
    padding: 2.5rem;
}

.certifications-box h3 {
    font-family: var(--font-headline);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
    margin: 0 0 1.5rem 0;
}

.certifications-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.certifications-box li {
    color: #fff;
    font-size: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.certifications-box li:last-child {
    border-bottom: none;
}

/* ===================================
   MONTAGE SECTION
   =================================== */
.section-montage {
    background: #fff;
    padding: 4rem 2rem;
}

.montage-text {
    max-width: 950px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.9;
    color: #333;
    text-align: center;
}

/* ===================================
   CIRCUITS SECTION
   =================================== */
.section-circuits {
    background: #f5f5f7;
    padding: 4rem 2rem;
}

.circuits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.circuits-left .overline {
    display: block;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    color: #888;
    margin-bottom: 0.5rem;
}

.circuits-left h2 {
    color: #1a1a1a;
    margin: 0 0 0.75rem 0;
}

.circuits-left h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 1.25rem 0;
    color: var(--color-accent);
}

.circuits-left p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #555;
}

.circuits-right h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 1.25rem 0;
}

.circuits-right ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.circuits-right li {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #555;
    padding: 0.5rem 0 0.5rem 1.5rem;
    position: relative;
}

.circuits-right li::before {
    content: '›';
    position: absolute;
    left: 0;
    top: 0.4rem;
    font-size: 1.4rem;
    color: var(--color-accent);
    font-weight: 300;
}

.circuits-right .note {
    font-size: 0.85rem;
    line-height: 1.75;
    color: #888;
    font-style: italic;
}

/* ===================================
   COMPONENTS - Sticky Scroll
   =================================== */
.section-components {
    background: #fff;
    padding: 4rem 0 0;
}

.components-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 1rem;
    padding: 0 2rem;
}

.components-intro h2 {
    color: #a00030;
    margin: 0 0 0.75rem 0;
}

.components-intro p {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
}

.components-scroll {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1200px;
    margin: 0 auto;
}

/* Sticky Image Container – füllt die volle Höhe der Items-Spalte */
.components-sticky {
    position: relative;
    align-self: stretch;
}

/* Das Bild klebt mittig im Viewport, solange die Spalte sichtbar ist */
.sticky-image-wrapper {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 2rem;
    box-sizing: border-box;
}

.components-sticky img {
    max-width: 380px;
    max-height: 380px;
    width: 100%;
    object-fit: contain;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.components-sticky img.visible {
    opacity: 1;
    transform: scale(1);
}

/* Items Container */
.components-items {
    padding: 0 3rem 0 2rem;
}

.component-item {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem 0;
    opacity: 0.25;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.component-item.active {
    opacity: 1;
    transform: translateY(0);
}

.component-item h3 {
    font-family: var(--font-headline);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 400;
    line-height: 1.1;
    text-transform: uppercase;
    color: #1a1a1a;
    margin: 0 0 1.5rem 0;
}

.component-specs {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.spec-row {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.spec-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-accent);
}

.spec-value {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
}

/* ===================================
   RESPONSIVE
   =================================== */
@media (max-width: 1024px) {
    .hero-split {
        grid-template-columns: 1fr;
        background: #0a0a0a;
    }
    
    .hero-dark {
        padding: 6rem 2rem 4rem;
    }
    
    .hero-light {
        background: #fff;
        min-height: 300px;
        max-width: 100%;
    }
    
    .hero-image {
        position: relative;
        bottom: auto;
        left: auto;
        display: flex;
        justify-content: center;
        padding: 2rem;
    }
    
    .hero-image img {
        width: 100%;
        max-width: 450px;
        transform: none;
        animation: fadeInUp 0.8s ease 0.6s forwards;
    }
    
    .stations-wrapper {
        grid-template-columns: 1fr;
    }
    
    .stations-image {
        order: -1;
        display: flex;
        justify-content: center;
        transform: translateY(40px);
    }
    
    .stations-image.visible {
        transform: translateY(0);
    }
    
    .stations-image img {
        transform: none;
        max-width: 500px;
    }
    
    .section-developed {
        padding-top: 4rem;
    }
    
    .developed-grid {
        grid-template-columns: 1fr;
    }
    
    .developed-content {
        padding-right: 0;
        padding-bottom: 2rem;
    }
    
    .circuits-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Mobile: Stack layout */
    .components-scroll {
        grid-template-columns: 1fr;
    }
    
    .components-sticky {
        position: relative;
        top: auto;
        height: auto;
        padding: 2rem;
        min-height: 280px;
    }
    
    .sticky-image-wrapper {
        position: relative;
        top: auto;
        height: auto;
        padding: 0;
    }
    
    .components-sticky img {
        max-width: 280px;
        max-height: 280px;
        opacity: 1;
        transform: scale(1);
    }
    
    .components-items {
        padding: 0 2rem;
    }
    
    .component-item {
        min-height: auto;
        padding: 2rem 0;
        opacity: 1;
        transform: translateY(0);
        border-bottom: 1px solid #eee;
    }
    
    .component-item:last-child {
        border-bottom: none;
    }
}

@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .section-intro {
        padding-top: 4rem;
    }
}
