/* =========================================
   LUCKY TEAM GROUP - COMPLETE PRO STYLES
   ========================================= */

/* 1. HERO SECTION */
.group-hero {
    padding: 160px 20px 100px;
    background: radial-gradient(circle at top right, rgba(88, 166, 255, 0.1), transparent);
}

.hero-title {
    font-size: clamp(3rem, 7vw, 5rem);
    font-weight: 800;
}

/* 2. STATISTIK SEKTION (Oben) */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.stat-box.glass-card {
    padding: 2.5rem;
    text-align: center;
    background: rgba(30, 41, 59, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
}

.stat-number {
    display: block;
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--color-energy-orange);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.85rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* 3. DAS NETZWERK - 5ER REIHE */
.container-wide {
    max-width: 1850px;
    width: 95%;
    margin: 0 auto;
    padding: 0 10px;
    position: relative;
    z-index: 10;
}

.group-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    perspective: 1500px;
    width: 100%;
}

.group-card {
    height: 400px;
    cursor: pointer;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    transform-style: preserve-3d;
}

.group-card:hover .card-inner {
    transform: rotateY(180deg);
}

.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    padding: 2rem 0.8rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 20px;
}

.card-front h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: #fff;
    white-space: nowrap;
}

.card-front.glass-card {
    background: rgba(30, 41, 59, 0.35);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.logo-circle {
    width: 85px;
    height: 85px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    border: 2px solid var(--color-tech-blue);
}

.logo-circle img {
    max-width: 65%;
    object-fit: contain;
}

.card-back.glass-card {
    transform: rotateY(180deg);
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.95), rgba(15, 23, 42, 1));
    backdrop-filter: blur(10px);
    border: 1px solid var(--color-energy-orange);
}

.manager-role {
    color: var(--color-energy-orange);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.contact-details p {
    font-size: 0.8rem;
    margin-bottom: 0.4rem;
    color: #cbd5e1;
}

.contact-details a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: var(--color-energy-orange);
}

/* 4. GROUP-WERTE SEKTION (Unten) */
.services-detail-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.detail-item.glass-card {
    padding: 3rem;
    background: rgba(30, 41, 59, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.detail-item.glass-card:hover {
    transform: translateY(-10px);
    background: rgba(30, 41, 59, 0.6);
    border-color: var(--color-tech-blue);
}

.detail-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

/* 5. CTA BLOCK (Ganz unten) */
.cta-card.glass-card {
    padding: 80px 40px;
    background: rgba(30, 41, 59, 0.3);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 4px solid var(--color-energy-orange) !important;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* RESPONSIVITÄT */
@media (max-width: 1500px) {
    .group-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 1400px) {
    .group-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .container-wide {
        padding: 0 20px;
    }
}

@media (max-width: 992px) {
    .services-detail-grid {
        grid-template-columns: 1fr;
    }

    .group-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .group-grid {
        grid-template-columns: 1fr;
    }
}