/* Endpoint Protection Produktseite Styles */

/* Product Hero */
.product-hero {
    margin-top: 80px;
    padding: 3rem 5%;
    background: linear-gradient(rgba(44, 44, 44, 0.85), rgba(60, 60, 60, 0.85)),
                url('../images/flyd-9PivUW7l1m4-unsplash.jpg') center/cover;
    color: white;
    text-align: center;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-hero h1 {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 0.8rem;
}

.product-hero .subtitle {
    font-size: 1.3rem;
    font-weight: 300;
    margin-bottom: 1rem;
    opacity: 0.95;
}

/* ESET Logo Container - wie im Brandbook */
.eset-logo-container {
    display: inline-block;
    background: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    margin-top: 0.8rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Hero Logo mit dunklem Hintergrund für weißes Logo */
.eset-logo-hero {
    background: linear-gradient(135deg, #2c2c2c 0%, #444 100%);
    padding: 1rem 2rem;
}

.eset-logo {
    height: 40px;
    width: auto;
    display: block;
}

/* Intro Section */
.intro-section {
    padding: 5rem 5%;
    background: white;
    max-width: 1200px;
    margin: 0 auto;
}

.intro-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.intro-content h2 {
    font-size: 2rem;
    font-weight: 400;
    color: #2c2c2c;
    margin-bottom: 1.5rem;
}

.intro-content p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #555;
    margin-bottom: 1.5rem;
}

/* Protection Stats */
.protection-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    padding: 2rem 0;
}

.stat-box {
    text-align: center;
    padding: 1.5rem;
    background: #f8f8f8;
    border-radius: 8px;
}

.stat-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 1rem;
}

.stat-label {
    font-size: 1rem;
    color: #666;
    font-weight: 500;
}

/* Solutions Section */
.solutions-section {
    padding: 5rem 5%;
    background: #fafafa;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: -1px;
    margin-bottom: 1rem;
    color: #2c2c2c;
}

.section-intro {
    max-width: 900px;
    margin: 0 auto 3rem;
    text-align: center;
}

.section-intro p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.carousel-hint {
    font-size: 0.9rem;
    color: #999;
    font-style: italic;
}

/* Carousel Container */
.solutions-carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.solutions-carousel {
    overflow: hidden;
    margin: 0 60px;
    /* Zusätzlicher Padding oben und unten für Hover-Effekt */
    padding: 10px 0;
}

.solution-track {
    display: flex;
    transition: transform 0.5s ease;
}

/* Updated solution card for carousel */
.solution-card {
    flex: 0 0 33.333%;
    background: white;
    padding: 2rem;
    border: 2px solid #d0d0d0;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    margin: 0 1rem;
    min-height: 280px;
    position: relative;
}

.solution-card:hover {
    border-color: #2c2c2c;
    /* Schatten statt translateY für Hover-Effekt */
    box-shadow: 0 -5px 0 0 white, 0 5px 20px rgba(0, 0, 0, 0.15);
    z-index: 1;
}

.solution-card.active {
    border-color: #2c2c2c;
    background: #f8f8f8;
}

/* Logo Container für ESET Produktlogos */
.solution-logo-container {
    width: 100%;
    height: 80px;
    background: linear-gradient(135deg, #2c2c2c 0%, #444 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    padding: 1rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.solution-logo {
    max-width: 100%;
    max-height: 50px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Deprecated - wird durch Logo-Container ersetzt */
.solution-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
}

.solution-card h3 {
    font-size: 1.3rem;
    font-weight: 500;
    color: #2c2c2c;
    margin-bottom: 1rem;
}

.solution-card p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Carousel Navigation Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: 2px solid #2c2c2c;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
}

.carousel-btn:hover:not(:disabled) {
    background: #2c2c2c;
    color: white;
}

.carousel-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.carousel-prev {
    left: 0;
}

.carousel-next {
    right: 0;
}

/* Carousel Indicators */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    transition: background 0.3s;
    cursor: pointer;
}

.indicator.active {
    background: #2c2c2c;
}

/* Solution Details */
.solution-details {
    max-width: 1200px;
    margin: 3rem auto 0;
    padding: 2.5rem;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    display: none;
}

.solution-details.active {
    display: block;
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: translateY(-10px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

.solution-details h3 {
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: #2c2c2c;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.feature-item {
    padding: 1.5rem;
    background: #f8f8f8;
    border-left: 4px solid #2c2c2c;
}

.feature-item h4 {
    font-size: 1.1rem;
    font-weight: 500;
    color: #2c2c2c;
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Console Section */
.console-section {
    padding: 5rem 5%;
    background: white;
    max-width: 1400px;
    margin: 0 auto;
}

/* Inline Logo für ESET PROTECT im Titel */
.section-title .inline-logo {
    height: 1.5em;
    width: auto;
    vertical-align: middle;
    display: inline-block;
    margin-left: 0.3em;
    background: linear-gradient(135deg, #2c2c2c 0%, #444 100%);
    padding: 0.2em 0.5em;
    border-radius: 4px;
}

.console-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.console-text h2 {
    font-size: 2rem;
    color: #2c2c2c;
    margin-bottom: 1rem;
    font-weight: 400;
}

.console-text p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.console-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

.feature-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #555;
}

.console-visual {
    background: #f8f8f8;
    padding: 2rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

/* Services Section */
.services-section {
    padding: 5rem 5%;
    background: #fafafa;
    max-width: 1400px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: white;
    padding: 2rem;
    text-align: center;
    border: 1px solid #e0e0e0;
    transition: all 0.3s;
}

.service-card:hover {
    border-color: #2c2c2c;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
}

.service-card h4 {
    color: #2c2c2c;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.service-card p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #2c2c2c 0%, #444 100%);
    color: white;
    text-align: center;
    padding: 4rem 5%;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: white;
    color: #2c2c2c;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s;
}

.cta-button-primary:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .product-hero h1 {
        font-size: 2rem;
    }

    .product-hero .subtitle {
        font-size: 1.1rem;
    }

    .eset-logo-container {
        padding: 0.8rem 1.5rem;
    }

    .eset-logo {
        height: 30px;
    }

    /* Carousel shows 1 card on mobile */
    .solution-card {
        flex: 0 0 calc(100% - 2rem) !important;
        margin: 0 1rem;
        padding: 1.5rem;
        min-height: auto;
    }

    .solution-card h3 {
        font-size: 1.1rem;
    }

    .solution-card p {
        font-size: 0.85rem;
    }

    .solution-logo-container {
        height: 60px;
        padding: 0.5rem;
    }

    .solution-logo {
        max-height: 40px;
    }

    .solutions-carousel {
        margin: 0 50px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
    }

    .carousel-hint {
        display: none;
    }

    .console-content {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .solution-details {
        padding: 1.5rem;
    }

    .solution-details h3 {
        font-size: 1.5rem;
    }

    /* Console Section - Mobile optimiert */
    .console-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Bild kommt vor dem Text */
    .console-visual {
        order: -1;
        min-height: 300px;
    }

    .console-text {
        order: 1;
    }

    /* Logo in neue Zeile auf Mobile */
    .section-title .inline-logo {
        display: block;
        margin: 0.5rem auto 0;
        width: auto;
    }

    .console-section .section-title {
        line-height: 1.4;
    }
}

@media (max-width: 1024px) {
    /* Carousel shows 2 cards on tablet */
    .solution-card {
        flex: 0 0 50%;
    }
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .console-features {
        grid-template-columns: 1fr;
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 0.8rem;
    }
    
    .section-intro {
        padding: 0 1rem;
    }
}