/* ========================================
   WattVergleich24 - Visual Redesign CSS
   Premium Design inspired by 1komma5°, Enpal, Zolar
======================================== */

/* ========================================
   Hero Section with Background Image
======================================== */

.hero-visual {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../images/hero-main-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 120px 20px 80px;
    margin-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.25);
    z-index: 1;
}

.hero-content-visual {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title-visual {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--white);
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle-visual {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 2.5rem;
    font-weight: 400;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.btn-hero-cta {
    padding: 1.25rem 3rem;
    background: var(--neon-yellow);
    color: var(--black);
    border: none;
    border-radius: var(--radius-md);
    font-size: 1.25rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    margin-bottom: 3rem;
}

.btn-hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

/* Media Logos */
.media-logos {
    margin-top: 3rem;
}

.media-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.media-items {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.media-logo {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    backdrop-filter: blur(10px);
}

/* ========================================
   Product Selection Section
======================================== */

.product-selection {
    padding: 80px 0;
    background: var(--white);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--black);
}

.product-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    position: relative;
    height: 400px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
}

.product-card:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-xl);
}

.product-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.product-card[data-product="solar"] .product-image {
    background-image: url('../images/solar-product.jpg');
}

.product-card[data-product="heatpump"] .product-image {
    background-image: url('../images/heatpump-product.jpg');
}

.product-card[data-product="combo"] .product-image {
    background-image: url('../images/combo-bg.jpg');
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(232, 255, 79, 0.2), rgba(232, 255, 79, 0.3));
    z-index: 1;
    transition: all var(--transition-base);
}

.product-card:hover .product-overlay {
    background: linear-gradient(to bottom, rgba(232, 255, 79, 0.4), rgba(232, 255, 79, 0.5));
}

.product-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    color: var(--white);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.product-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.product-content p {
    font-size: 1.125rem;
    line-height: 1.6;
}

/* ========================================
   Trust Section Visual
======================================== */

.trust-section-visual {
    padding: 80px 0;
    background: #f7f7f7;
}

.section-title-visual {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--black);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto 4rem;
}

.trust-item {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.trust-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.trust-icon-visual {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.trust-item h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--black);
}

.trust-item p {
    font-size: 1rem;
    color: var(--gray-600);
    line-height: 1.6;
}

/* Testimonials Carousel */
.testimonials-carousel {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 2rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.testimonial-track {
    position: relative;
}

.testimonial-item {
    display: none;
    text-align: center;
    animation: fadeInUp 0.6s ease;
}

.testimonial-item.active {
    display: block;
}

.testimonial-quote {
    font-size: 1.5rem;
    font-style: italic;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.testimonial-author {
    font-size: 1rem;
    color: var(--gray-600);
    font-weight: 600;
}

/* ========================================
   Partners Section
======================================== */

.partners-section {
    padding: 60px 0;
    background: var(--white);
}

.partners-title {
    text-align: center;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.partners-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.partner-logo {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-400);
    transition: all var(--transition-base);
    cursor: pointer;
}

.partner-logo:hover {
    color: var(--gray-700);
    transform: scale(1.05);
}

/* ========================================
   CTA Section (Neon Yellow)
======================================== */

.cta-section {
    padding: 80px 0;
    background: var(--neon-yellow);
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--black);
}

.cta-subtitle {
    font-size: 1.125rem;
    color: var(--gray-700);
    margin-bottom: 2rem;
}

.btn-cta {
    padding: 1.25rem 3rem;
    background: var(--black);
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    font-size: 1.25rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

/* ========================================
   Footer
======================================== */

.footer {
    padding: 3rem 0;
    background: var(--white);
    border-top: 1px solid var(--gray-200);
}

.footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--gray-900);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color var(--transition-base);
}

.footer-links a:hover {
    color: var(--neon-yellow);
}

.footer-text {
    font-size: 14px;
    color: var(--gray-600);
    text-align: center;
}

/* ========================================
   Mobile Responsive
======================================== */

@media (max-width: 768px) {
    .hero-visual {
        min-height: 500px;
        padding: 100px 20px 60px;
    }
    
    .hero-title-visual {
        font-size: 2rem;
    }
    
    .hero-subtitle-visual {
        font-size: 1.125rem;
    }
    
    .btn-hero-cta {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .media-items {
        gap: 1rem;
    }
    
    .media-logo {
        font-size: 0.875rem;
    }
    
    .product-cards {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .product-card {
        height: 350px;
    }
    
    .section-title,
    .section-title-visual {
        font-size: 2rem;
    }
    
    .trust-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .testimonial-quote {
        font-size: 1.25rem;
    }
    
    .partners-logos {
        overflow-x: auto;
        justify-content: flex-start;
        padding: 0 1rem;
        scrollbar-width: none;
    }
    
    .partners-logos::-webkit-scrollbar {
        display: none;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
}

/* ========================================
   Animations
======================================== */

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

@keyframes pulse-shadow {
    0%, 100% {
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    }
    50% {
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    }
}

