/* Index Page Specific Styles */

.hero {
    background: linear-gradient(135deg, #0f766e 0%, #14b8a6 100%);
    color: white;
    padding: 140px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 28px;
}

.hero-description {
    font-size: 1.35rem;
    line-height: 1.7;
    color: #99f6e4;
    margin-bottom: 36px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    height: 450px;
    overflow: hidden;
}

.hero-image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* About Section */
.about-section {
    padding: 80px 0;
    background: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-top: 60px;
}

.stat-card {
    text-align: center;
    padding: 40px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.stat-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #0f766e, #14b8a6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon i {
    font-size: 32px;
    color: white;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #0f766e;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 1rem;
    color: #6b7280;
    font-weight: 500;
}

/* Testimonials Section (Styles bleiben erhalten, falls die Sektion wieder aktiviert wird) */
.testimonials-section {
    padding: 80px 0;
    background: #f9fafb;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    margin-top: 60px;
}

.testimonial-card {
    background: white;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
}

.testimonial-stars i {
    color: #fbbf24;
    font-size: 18px;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #374151;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 4px;
}

.author-info span {
    font-size: 0.9rem;
    color: #6b7280;
}

/* Logo Wall Section */
.logo-wall {
    padding: 80px 0;
    background: #f9fafb;
}

.logo-wall-viewport {
    margin-top: 48px;
    padding: 24px 0;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.logo-wall-viewport::before,
.logo-wall-viewport::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    pointer-events: none;
    z-index: 2;
}

.logo-wall-viewport::before {
    left: 0;
    background: linear-gradient(to right, #f9fafb, rgba(249, 250, 251, 0));
}

.logo-wall-viewport::after {
    right: 0;
    background: linear-gradient(to left, #f9fafb, rgba(249, 250, 251, 0));
}

.logo-row {
    display: flex;
    align-items: center;
    gap: 40px;
    width: max-content;
    animation: logo-scroll 40s linear infinite;
}

.logo-row--reverse {
    animation-direction: reverse;
    animation-duration: 38s;
}

.logo-tile {
    flex: 0 0 auto;
    width: 320px;
    height: 160px;
    border-radius: 24px;
    background: #ecfeff; /* sehr helles Türkis passend zum TL-Service-Brand */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(15, 118, 110, 0.18);
}

.logo-tile img {
    max-width: 70%;
    max-height: 80%;
    object-fit: contain;
    filter: none;
}

@keyframes logo-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #0f766e, #14b8a6);
    color: white;
    overflow: hidden;
}

.cta-section .container {
    position: relative;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 480px;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-description {
    font-size: 1.25rem;
    color: #99f6e4;
    margin-bottom: 32px;
}

.cta-container {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 55%;
    max-width: 600px;
    translate: 0 -120%;
    rotate: 0deg;
    transform-origin: top center;
    will-change: translate, rotate;
    z-index: 1;
    pointer-events: none;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.2));
}

.cta-container.cta-container--visible {
    animation:
        crane-lower 3s cubic-bezier(0.22, 1, 0.36, 1) forwards,
        crane-swing 3s ease-in-out forwards;
}

@keyframes crane-lower {
    from { translate: 0 -120%; }
    to   { translate: 0 0; }
}

@keyframes crane-swing {
    0%   { rotate: 0deg; }
    14%  { rotate: 4deg; }
    28%  { rotate: -3.2deg; }
    42%  { rotate: 2.4deg; }
    56%  { rotate: -1.6deg; }
    70%  { rotate: 0.9deg; }
    84%  { rotate: -0.4deg; }
    100% { rotate: 0deg; }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .cta-content {
        max-width: 400px;
    }

    .cta-container {
        width: 48%;
    }
}

@media (max-width: 900px) {
    .cta-section {
        text-align: center;
    }

    .cta-section .container {
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
    }

    .cta-content {
        max-width: none;
    }

    .cta-description {
        margin-left: auto;
        margin-right: auto;
    }

    .cta-container {
        position: relative;
        width: 100%;
        max-width: none;
        margin-top: -80px;
        margin-bottom: 24px;
    }

    .cta-title {
        font-size: 2.1rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 100px 0 0;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
    
    .hero-text {
        padding: 0 10px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-description {
        font-size: 1.1rem;
        margin-bottom: 24px;
    }
    
    .hero-buttons {
        margin-bottom: 8px;
    }

    .hero-image {
        width: 85%;
        margin: 0 auto;
        aspect-ratio: 4 / 3;
        height: auto;
    }
    
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .logo-wall-viewport {
        margin-top: 36px;
    }

    .logo-tile {
        width: 260px;
        height: 140px;
    }
    
    .cta-title {
        font-size: 2rem;
    }
}
