/* ===================================
   TECH STACK SECTION - Professional Design
   =================================== */

.techstack {
    background: var(--bg-darker);
}

.techstack--modern {
    isolation: isolate;
    position: relative;
    overflow: hidden;
}

.techstack--modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 215, 0, 0.24) 50%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

.techstack--modern::after {
    content: '';
    position: absolute;
    width: min(100%, 520px);
    height: 240px;
    bottom: 5%;
    right: -8%;
    background: radial-gradient(ellipse 65% 70% at 80% 50%, rgba(255, 215, 0, 0.07) 0%, transparent 72%);
    filter: blur(36px);
    pointer-events: none;
    z-index: 0;
}

.techstack__inner {
    position: relative;
    z-index: 1;
}

.techstack--modern .section-header {
    text-align: center;
}

.techstack-eyebrow {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin: 0 0 16px 0;
    max-width: 30rem;
    margin-left: auto;
    margin-right: auto;
}

.tech-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.tech-category {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(14px) saturate(150%);
    -webkit-backdrop-filter: blur(14px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-2xl, 28px);
    padding: 40px;
    transition: var(--transition);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.tech-category:hover {
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    border-color: rgba(255, 215, 0, 0.4);
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(255, 215, 0, 0.3),
                0 1px 0 rgba(255, 215, 0, 0.2);
}

.tech-category:nth-child(1):hover { box-shadow: var(--shadow-primary); }
.tech-category:nth-child(2):hover { box-shadow: var(--shadow-secondary); }
.tech-category:nth-child(3):hover { box-shadow: var(--shadow-accent); }

.tech-category-title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.tech-items {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tech-item {
    padding: 10px 18px;
    background: rgba(255, 215, 0, 0.08);
    border: 1px solid rgba(255, 215, 0, 0.15);
    border-radius: var(--radius-sm, 12px);
    color: var(--primary-light);
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
    cursor: default;
}

.tech-item:hover {
    background: rgba(255, 215, 0, 0.12);
    border-color: var(--secondary);
    color: var(--secondary-light);
    transform: translateY(-2px);
}

/* CTA unter den Tech-Kategorien */
.techstack-cta {
    text-align: center;
    margin-top: 48px;
    padding-top: 8px;
    position: relative;
    z-index: 1;
}

@media (max-width: 640px) {
    .techstack-cta {
        margin-top: 36px;
    }
}

/* Mobile Performance */
@media (max-width: 768px) {
    .techstack--modern::after {
        display: none;
    }

    .techstack-eyebrow {
        font-size: 11px;
        letter-spacing: 0.12em;
    }

    .tech-category {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background: rgba(255, 255, 255, 0.05) !important;
    }
    
    .tech-category:hover {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        transform: none !important;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .tech-categories {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .tech-category {
        padding: 32px 24px;
    }
}
