/* ============================================================
   Services Overview Page
   ============================================================ */

/* ===== HERO ===== */
.services-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--purple-deeper) 0%, var(--purple) 40%, var(--purple-light) 100%);
    position: relative;
    overflow: hidden;
    padding: 140px 0 80px;
    color: var(--white);
}

.services-hero .hero-particles {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.services-hero-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
}

.services-eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding-left: 32px;
    position: relative;
}
.services-eyebrow::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 24px;
    height: 1px;
    background: var(--gold);
}

.services-hero h1 {
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    color: var(--white);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.services-hero p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.7;
    max-width: 660px;
    margin: 0 auto;
}

/* ===== GRID ===== */
.services-overview-section {
    background: var(--gray-50);
}

.services-overview-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
}

.services-overview-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: var(--transition);
    position: relative;
    grid-column: span 2;
}

.services-overview-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

/* Featured Card , doppelte Breite */
.services-card-featured {
    grid-column: span 6;
    background: linear-gradient(135deg, var(--white) 0%, #FEFBF1 100%);
    border-color: rgba(255, 195, 0, 0.4);
    padding: 48px 44px;
    flex-direction: row;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 24px;
}
.services-card-featured:hover {
    border-color: var(--gold);
    box-shadow: 0 20px 60px rgba(255, 195, 0, 0.15);
}
.services-card-featured h2 {
    flex: 1 1 100%;
    font-size: 1.8rem;
}
.services-card-featured p {
    flex: 1 1 100%;
    font-size: 1.05rem;
}
.services-card-featured .services-card-icon {
    flex: 0 0 auto;
    width: 72px;
    height: 72px;
}
.services-card-featured .services-card-icon img {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
}
.services-card-featured .services-card-badge {
    flex: 1 1 auto;
    align-self: center;
}

/* Photo icon variant (e.g. Maria portrait) */
.services-card-icon-photo {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(55, 12, 123, 0.18);
    border: 3px solid var(--white);
    background: var(--gray-100);
}
.services-card-icon-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 30% 30%;
}

/* Featured Card variant 2 — Purple (AI Design Sprint) */
.services-card-featured-purple {
    background: linear-gradient(135deg, var(--white) 0%, #F4F0FB 100%);
    border-color: rgba(55, 12, 123, 0.35);
}
.services-card-featured-purple:hover {
    border-color: var(--purple);
    box-shadow: 0 20px 60px rgba(55, 12, 123, 0.18);
}
.services-card-featured-purple .services-card-badge {
    color: var(--purple);
    background: rgba(55, 12, 123, 0.1);
}
.services-card-featured-purple .services-card-icon-svg {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--purple) 0%, var(--purple-light) 100%);
    color: var(--white);
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(55, 12, 123, 0.25);
}
.services-card-featured-purple .services-card-icon-svg svg {
    width: 34px;
    height: 34px;
}
.services-card-featured-purple .services-card-link {
    color: var(--purple);
}

/* Coming Soon Cards , halbe Breite */
.services-card-soon {
    grid-column: span 3;
    cursor: default;
    opacity: 0.92;
}
.services-card-soon:hover {
    transform: none;
    box-shadow: none;
    border-color: var(--gray-200);
}

/* Card-Internal */
.services-card-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--purple);
    background: rgba(55, 12, 123, 0.08);
    padding: 5px 12px;
    border-radius: 999px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    align-self: flex-start;
}
.services-card-featured .services-card-badge {
    color: var(--gold-dark);
    background: rgba(255, 195, 0, 0.18);
}
.services-card-soon .services-card-badge {
    color: var(--gray-500);
    background: var(--gray-100);
}

.services-card-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.services-card-icon-svg {
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(55, 12, 123, 0.08), rgba(55, 12, 123, 0.02));
    color: var(--purple);
}
.services-card-icon-svg svg {
    width: 28px;
    height: 28px;
}

.services-overview-card h2 {
    font-size: 1.3rem;
    color: var(--purple-dark);
    line-height: 1.3;
}

.services-overview-card p {
    font-size: 0.95rem;
    color: var(--gray-500);
    line-height: 1.65;
    margin: 0;
}

.services-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin-top: auto;
}
.services-card-tags li {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--purple);
    background: rgba(55, 12, 123, 0.06);
    padding: 5px 12px;
    border-radius: 999px;
}

.services-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--purple);
    margin-top: 8px;
}
.services-card-featured .services-card-link {
    color: var(--gold-dark);
    flex: 1 1 100%;
}
.services-overview-card:hover .services-card-link svg {
    transform: translateX(4px);
}
.services-card-link svg {
    transition: transform 0.3s ease;
}

/* ============================================================
   Featured Service Blocks (Sprint + Ask-Maria)
   ============================================================ */
.services-feature-section {
    background: var(--gray-50);
    padding-top: 48px;
    padding-bottom: 48px;
}
.services-feature-section:first-of-type {
    padding-top: 80px;
}
.services-feature-section + .services-feature-section {
    padding-top: 0;
}

.services-feature-block {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 56px;
    align-items: center;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 48px 52px;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
    box-shadow: 0 8px 30px rgba(55, 12, 123, 0.06);
    border: 1px solid var(--gray-200);
}
.services-feature-block:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 60px rgba(55, 12, 123, 0.14);
}

/* Visual columns */
.services-feature-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    min-height: 280px;
    position: relative;
    z-index: 1;
}
.services-feature-photo {
    position: relative;
    z-index: 1;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 18px 50px rgba(55, 12, 123, 0.18);
    aspect-ratio: 4 / 5;
}
.services-feature-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 35% 30%;
    display: block;
}

/* Content column */
.services-feature-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.services-feature-badge {
    display: inline-flex;
    align-self: flex-start;
    align-items: center;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--purple);
    background: rgba(55, 12, 123, 0.1);
    padding: 7px 14px;
    border-radius: 999px;
}
.services-feature-badge-gold {
    color: var(--gold-dark);
    background: rgba(255, 195, 0, 0.18);
}
.services-feature-content h2 {
    font-size: clamp(1.7rem, 3vw, 2.2rem);
    color: var(--purple-dark);
    line-height: 1.2;
    margin: 0;
}
.services-feature-lead {
    color: var(--gray-600);
    font-size: 1.02rem;
    line-height: 1.7;
    margin: 0;
}
.services-feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.services-feature-tags li {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--purple);
    background: rgba(55, 12, 123, 0.07);
    padding: 6px 14px;
    border-radius: 999px;
}
.services-feature-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--purple);
    margin-top: 8px;
}
.services-feature-cta svg {
    transition: transform 0.3s ease;
}
.services-feature-block:hover .services-feature-cta svg {
    transform: translateX(6px);
}

/* AI Design Sprint variant — purple gradient with rotating AI ring */
.services-feature-block-sprint {
    background: linear-gradient(135deg, var(--purple-deeper) 0%, var(--purple) 55%, var(--purple-light) 100%);
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 24px 70px rgba(55, 12, 123, 0.22);
}
.services-feature-block-sprint::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(255, 195, 0, 0.15), transparent 65%);
    pointer-events: none;
}
.services-feature-block-sprint::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -15%;
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(90, 45, 160, 0.5), transparent 65%);
    pointer-events: none;
}
.services-feature-block-sprint .services-feature-badge {
    color: var(--gold);
    background: rgba(255, 195, 0, 0.16);
}
.services-feature-block-sprint h2 {
    color: var(--white);
}
.services-feature-block-sprint .services-feature-lead {
    color: rgba(255, 255, 255, 0.88);
}
.services-feature-block-sprint .services-feature-tags li {
    color: var(--gold);
    background: rgba(255, 195, 0, 0.14);
}
.services-feature-block-sprint .services-feature-cta {
    color: var(--gold);
}

/* The rotating AI ring (re-uses sprint-flow-ai-ring/-core animations) */
.services-feature-block-sprint .sprint-flow-ai-ring {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, var(--gold), rgba(255, 195, 0, 0.2), var(--gold));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: sprint-ring-spin 8s linear infinite;
}
.services-feature-block-sprint .sprint-flow-ai-ring::before {
    content: '';
    position: absolute;
    inset: 6px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--purple-deeper) 0%, var(--purple) 100%);
}
.services-feature-block-sprint .sprint-flow-ai-core {
    position: relative;
    z-index: 1;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: rgba(255, 195, 0, 0.1);
    border: 1px solid rgba(255, 195, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    animation: sprint-ai-pulse 2.6s ease-in-out infinite;
}
.services-feature-block-sprint .sprint-flow-ai-core svg {
    width: 64px;
    height: 64px;
}
@keyframes sprint-ring-spin {
    to { transform: rotate(360deg); }
}
@keyframes sprint-ai-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 195, 0, 0.4); }
    50% { box-shadow: 0 0 0 18px rgba(255, 195, 0, 0); }
}
.services-feature-caption {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    position: relative;
    z-index: 1;
    text-align: center;
}

/* Maria variant — photo left, white card */
.services-feature-block-maria {
    background: linear-gradient(135deg, var(--white) 0%, #FEFBF1 100%);
    border-color: rgba(255, 195, 0, 0.35);
}
.services-feature-block-maria:hover {
    border-color: var(--gold);
    box-shadow: 0 28px 60px rgba(255, 195, 0, 0.18);
}
.services-feature-block-maria .services-feature-cta {
    color: var(--gold-dark);
}

/* Responsive */
@media (max-width: 1024px) {
    .services-feature-block {
        grid-template-columns: 1fr;
        gap: 36px;
        padding: 40px 32px;
    }
    .services-feature-photo {
        max-width: 320px;
        margin: 0 auto;
        aspect-ratio: 5 / 4;
    }
    .services-feature-block-sprint .sprint-flow-ai-ring {
        width: 170px;
        height: 170px;
    }
    .services-feature-block-sprint .sprint-flow-ai-core {
        width: 118px;
        height: 118px;
    }
}
@media (max-width: 600px) {
    .services-feature-block {
        padding: 32px 22px;
    }
    .services-feature-content h2 {
        font-size: 1.5rem;
    }
}

/* ===== Brand attribution ===== */
.services-attribution {
    text-align: center;
    font-size: 0.85rem;
    color: var(--gray-500);
    line-height: 1.6;
    margin: 48px auto 0;
    padding: 0 24px;
    max-width: 720px;
}
.services-attribution a {
    color: var(--purple);
    text-decoration: underline;
    text-underline-offset: 2px;
    font-weight: 500;
}
.services-attribution a:hover {
    color: var(--gold-dark);
}

/* ===== CTA ===== */
.services-cta-section {
    background: var(--white);
}
.services-cta-card {
    background: linear-gradient(135deg, var(--purple-deeper) 0%, var(--purple) 100%);
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: 64px 48px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}
.services-cta-card::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -10%;
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(255, 195, 0, 0.18), transparent 70%);
    pointer-events: none;
}
.services-cta-card h2 {
    color: var(--white);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}
.services-cta-card p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    margin-bottom: 36px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}
.services-cta-card .hero-cta-group {
    justify-content: center;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

/* ===== NAV ACTIVE ===== */
.nav-active {
    color: var(--gold) !important;
}
.navbar.scrolled .nav-active {
    color: var(--purple) !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .services-overview-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .services-overview-card {
        grid-column: span 1;
    }
    .services-card-featured {
        grid-column: span 2;
        flex-direction: column;
    }
    .services-card-featured .services-card-badge {
        align-self: flex-start;
    }
    .services-card-soon {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .services-overview-grid {
        grid-template-columns: 1fr;
    }
    .services-overview-card,
    .services-card-featured,
    .services-card-soon {
        grid-column: span 1;
    }
    .services-cta-card {
        padding: 48px 28px;
    }
}
