/* ── Über mich / About ──────────────────────────────────────────────────────── */
.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content p {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    padding: 1.5rem;
    background: var(--code-bg);
    border: 1px solid rgba(0, 240, 255, 0.15);
    border-left: 3px solid var(--primary);
    border-radius: 0 8px 8px 0;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.05);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.about-content p:hover {
    border-left-color: var(--accent);
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.12), inset 0 0 20px rgba(0, 240, 255, 0.03);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat-item {
    background: var(--code-bg);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid rgba(0, 240, 255, 0.15);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 240, 255, 0.2), 0 0 0 1px rgba(0, 240, 255, 0.1);
}

.stat-item:hover::before {
    opacity: 1;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 0.5rem;
    font-family: 'JetBrains Mono', monospace;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray);
    font-weight: 500;
}

.about-image {
    position: relative;
}

.about-placeholder {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 8px;
    background: var(--code-bg);
    border: 2px solid rgba(0, 240, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    color: var(--primary);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 240, 255, 0.15);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.about-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent, rgba(0, 240, 255, 0.05), transparent 30%);
    animation: rotateBg 8s linear infinite;
}

@keyframes rotateBg {
    to { transform: rotate(360deg); }
}

.about-placeholder:hover {
    transform: scale(1.03);
    border-color: var(--primary);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 60px rgba(0, 240, 255, 0.3);
}


/* ── Skills Section ──────────────────────────────────────────────────────────── */
.skills-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.skills-category {
    background: var(--code-bg);
    border: 1px solid rgba(0, 240, 255, 0.15);
    border-radius: 8px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.skills-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent), var(--secondary));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.skills-category:hover {
    border-color: rgba(0, 240, 255, 0.35);
    box-shadow: 0 10px 40px rgba(0, 240, 255, 0.1), 0 0 0 1px rgba(0, 240, 255, 0.05);
    transform: translateY(-4px);
}

.skills-category:hover::before {
    opacity: 1;
}

.skills-category-title {
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 1.8rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'JetBrains Mono', monospace;
    border-bottom: 1px solid rgba(0, 240, 255, 0.15);
    padding-bottom: 1rem;
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.4);
}

.skills-category-title i {
    color: var(--accent);
    font-size: 1rem;
}

.skills-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.skill-item-bar {
    margin-bottom: 0;
}

.skill-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.skill-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--light);
}

.skill-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
    overflow: hidden;
    border: 1px solid rgba(0, 240, 255, 0.1);
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 3px;
    width: 0%;
    transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
    position: relative;
}

.skill-progress::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 8px var(--primary);
}

/* Soft Skills */
.soft-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 3rem;
}

.skill-tag {
    padding: 0.6rem 1.4rem;
    background: var(--code-bg);
    border: 1px solid rgba(0, 240, 255, 0.25);
    border-radius: 4px;
    color: var(--primary);
    font-weight: 500;
    font-size: 0.9rem;
    font-family: 'JetBrains Mono', monospace;
    transition: all 0.3s ease;
    cursor: default;
}

.skill-tag:hover {
    background: rgba(0, 240, 255, 0.1);
    border-color: var(--primary);
    color: var(--light);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 240, 255, 0.2);
}


/* ── Responsive ──────────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .about-placeholder {
        max-width: 400px;
        margin: 0 auto;
    }
    .skills-categories {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    section {
        padding: 4rem 5%;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .about-content p {
        font-size: 1rem;
    }
    .about-placeholder {
        font-size: 6rem;
    }
    .skills-categories {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .skills-category {
        padding: 1.5rem;
    }
    .soft-skills {
        justify-content: center;
    }
    .about-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .stat-item {
        padding: 1.2rem;
    }
    .stat-number {
        font-size: 1.7rem;
    }
}

@media (max-width: 480px) {
    section {
        padding: 3rem 5%;
    }
    .section-title {
        font-size: 1.5rem;
    }
    .section-label {
        font-size: 0.8rem;
    }
    .about-content p {
        font-size: 0.95rem;
    }
    .stat-number {
        font-size: 1.5rem;
    }
    .about-placeholder {
        font-size: 5rem;
    }
}