﻿.language-switcher {
    display: flex;
    background: rgba(136, 120, 204, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(136, 120, 204, 0.2);
    border-radius: 25px;
    padding: 4px;
    gap: 3px;
    transition: all 0.3s ease;
    margin-left: 16px;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: none;
    color: rgba(226, 232, 240, 0.7);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.lang-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.lang-btn:hover::before {
    left: 100%;
}

.lang-btn.active {
    background: linear-gradient(135deg, rgba(136, 120, 204, 0.3), rgba(168, 85, 247, 0.3));
    color: white;
    box-shadow: 0 2px 8px rgba(136, 120, 204, 0.2);
}

.lang-btn:hover {
    color: white;
    background: rgba(136, 120, 204, 0.2);
    transform: scale(1.05);
}

.flag-icon {
    font-size: 0.9rem;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

.lang-text {
    font-weight: 600;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .dynamic-navbar .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(15, 15, 35, 0.95);
        backdrop-filter: blur(20px);
        border-radius: 20px;
        margin-top: 8px;
        padding: 16px;
        flex-direction: column;
        gap: 8px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
        border: 1px solid rgba(136, 120, 204, 0.2);
    }
    
    .dynamic-navbar .nav-links.show {
        display: flex;
    }
    
    .mobile-toggle {
        display: block;
        margin-left: auto;
    }
    
    .dynamic-navbar {
        width: calc(100% - 40px);
        max-width: none;
    }
    
    .language-switcher {
        order: -1;
        margin-left: 12px;
        margin-right: 12px;
    }
    
    .lang-btn {
        padding: 4px 8px;
        font-size: 0.75rem;
    }
    
    .lang-text {
        display: none;
    }
    
    .flag-icon {
        font-size: 1rem;
    }
}

.glass-timeline-card {
    background: rgba(136, 120, 204, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(136, 120, 204, 0.15);
    box-shadow: 
        0 8px 32px rgba(136, 120, 204, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.glass-timeline-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(136, 120, 204, 0.3), transparent);
}

.glass-timeline-card:hover {
    background: rgba(136, 120, 204, 0.12);
    border-color: rgba(136, 120, 204, 0.25);
    box-shadow: 
        0 16px 48px rgba(136, 120, 204, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transform: translateY(-8px);
}

.timeline-year-badge {
    background: linear-gradient(135deg, rgba(136, 120, 204, 0.3), rgba(168, 85, 247, 0.3));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(136, 120, 204, 0.3);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-bottom: 1rem;
}

.timeline-year-badge.current {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.4), rgba(99, 102, 241, 0.4));
    border-color: rgba(168, 85, 247, 0.4);
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.3);
}

.timeline-text {
    color: #cbd5e1;
    line-height: 1.6;
    font-size: 1rem;
}

.timeline-icon {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #8878cc, #a855f7);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.glass-timeline-card:hover .timeline-icon {
    opacity: 1;
    transform: scale(1.1);
}


.glass-roadmap-card {
    background: rgba(136, 120, 204, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(136, 120, 204, 0.15);
    box-shadow: 
        0 8px 32px rgba(136, 120, 204, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.glass-roadmap-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(136, 120, 204, 0.3), transparent);
}

.glass-roadmap-card:hover {
    background: rgba(136, 120, 204, 0.12);
    border-color: rgba(136, 120, 204, 0.25);
    box-shadow: 
        0 16px 48px rgba(136, 120, 204, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transform: translateY(-8px);
}

.glass-badge {
    background: rgba(136, 120, 204, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(136, 120, 204, 0.3);
    color: #e2e8f0;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.roadmap-text {
    color: #cbd5e1;
    line-height: 1.6;
}

.glass-progress {
    height: 10px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(136, 120, 204, 0.1);
    position: relative;
}

.glass-progress::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        rgba(255, 255, 255, 0.05) 50%, 
        rgba(255, 255, 255, 0.1) 100%);
    pointer-events: none;
}

.glass-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #8878cc, #a855f7, #6366f1);
    border-radius: 20px;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.glass-progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.glass-status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    position: relative;
}

.glass-status-dot.active {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.4);
}

.glass-status-dot.progress {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    box-shadow: 0 0 12px rgba(245, 158, 11, 0.4);
}

.glass-status-dot.planned {
    background: linear-gradient(135deg, #6b7280, #4b5563);
    box-shadow: 0 0 12px rgba(107, 114, 128, 0.4);
}

.glass-status-dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
}




.timeline-bg {
    background: linear-gradient(135deg, #1a1a2e 0%, #0f0f23 50%, #2d1b69 100%);
    position: relative;
    overflow: hidden;
    background-image: url('assets/images/timeline-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.timeline-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.8) 0%, rgba(15, 15, 35, 0.9) 50%, rgba(45, 27, 105, 0.8) 100%);
    z-index: 1;
}

.timeline-content {
    position: relative;
    z-index: 2;
}

.timeline-bg.no-image {
    background-image: none;
    background: linear-gradient(135deg, #1a1a2e 0%, #0f0f23 50%, #2d1b69 100%);
}

.timeline-bg.no-image::before {
    background: rgba(26, 26, 46, 0.3);
}

.gradient-text {
    background: linear-gradient(135deg, #8878cc, #a855f7, #6366f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card-hover {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(136, 120, 204, 0.1);
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(136, 120, 204, 0.15);
    border-color: rgba(136, 120, 204, 0.3);
}

.icon-container {
    background: linear-gradient(135deg, #8878cc, #a855f7);
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.icon-container:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(136, 120, 204, 0.3);
}

@media (max-width: 768px) {
    .glass-roadmap-card {
        margin-bottom: 1rem;
    }

    .glass-badge {
        font-size: 0.7rem;
        padding: 3px 10px;
    }

    .timeline-bg {
        background-attachment: scroll;
    }
    
    .timeline-icon {
        position: static;
        margin-bottom: 1rem;
        margin-left: auto;
        margin-right: 0;
    }
    
    .glass-timeline-card {
        padding: 1rem;
    }
}
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.dropdown-toggle:hover {
    color: #a855f7;
    text-decoration: none;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(136, 120, 204, 0.2);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(136, 120, 204, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 9999;
    padding: 8px 0;
    margin-top: 8px;
}

.nav-dropdown.show .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    color: #e2e8f0;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    border-radius: 0;
}

.dropdown-item:hover {
    background: rgba(136, 120, 204, 0.1);
    color: #a855f7;
    text-decoration: none;
}

.dropdown-divider {
    height: 1px;
    background: rgba(136, 120, 204, 0.2);
    margin: 8px 16px;
}

.dropdown-toggle i {
    transition: transform 0.3s ease;
}

.nav-dropdown.show .dropdown-toggle i {
    transform: rotate(180deg);
}

@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: rgba(26, 26, 46, 0.7);
        margin-top: 0;
        padding: 0;
        border-radius: 8px;
        margin-left: 1rem;
    }
    
    .nav-dropdown.show .dropdown-menu {
        display: block;
    }
    
    .nav-dropdown:not(.show) .dropdown-menu {
        display: none;
    }
    
    .dropdown-item {
        padding: 10px 12px;
        border-bottom: 1px solid rgba(136, 120, 204, 0.1);
    }
    
    .dropdown-item:last-child {
        border-bottom: none;
    }
}

#language-switcher {
    font-family: 'Inter', sans-serif;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(136, 120, 204, 0.2);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(136, 120, 204, 0.15);
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #8878cc, #a855f7);
    color: white;
    user-select: none;
    z-index: 999 !important;
}

#language-switcher:hover {
    box-shadow: 0 6px 24px rgba(136, 120, 204, 0.25);
    transform: translateY(-2px);
}

#language-switcher .lang-btn {
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 8px;
    color: #e2e8f0;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

#language-switcher .lang-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #a855f7;
}

#language-switcher .lang-btn.active {
    background: rgba(168, 85, 247, 0.2);
    color: #a855f7;
    font-weight: 600;
}

#language-switcher .flag-icon {
    font-size: 16px;
}

#language-switcher .lang-text {
    font-weight: inherit;
}

@media (max-width: 768px) {
    #language-switcher {
        top: 10px !important;
        right: 10px !important;
        min-width: 100px;
    }
    
    #language-switcher .d-flex {
        padding: 6px 12px !important;
    }
    
    #language-switcher .lang-btn {
        padding: 4px 8px;
        font-size: 13px;
        gap: 4px;
    }
    
    #language-switcher .lang-text {
        display: none; 
    }
}

@media (min-width: 769px) {
    #navLinks {
        display: flex !important;
        flex-direction: row;
        gap: 1rem;
    }
    
    .nav-toggle {
        display: none;
    }
}

@media (max-width: 768px) {
    #navLinks {
        display: none;
        flex-direction: column;
        gap: 1rem;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(15, 15, 35, 0.95);
        border-radius: 12px;
        padding: 1rem;
        margin-top: 0.5rem;
    }
    
    #navLinks.show {
        display: flex;
    }
    
    .nav-toggle {
        display: block;
        background: none;
        border: none;
        color: white;
        cursor: pointer;
        padding: 0.5rem;
    }
}


.nav-dropdown .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
}

.nav-dropdown.open .dropdown-menu {
    display: block;
}

.nav-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.dropdown-toggle:hover {
    color: #a855f7;
    text-decoration: none;
}

.nav-dropdown .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(136, 120, 204, 0.2);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(136, 120, 204, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 8px 0;
    margin-top: 8px;
    display: block; 
}

.nav-dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    color: #e2e8f0;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    border-radius: 0;
}

.dropdown-item:hover {
    background: rgba(136, 120, 204, 0.1);
    color: #a855f7;
    text-decoration: none;
}

.dropdown-divider {
    height: 1px;
    background: rgba(136, 120, 204, 0.2);
    margin: 8px 16px;
}

.dropdown-toggle i {
    transition: transform 0.3s ease;
}

.nav-dropdown.open .dropdown-toggle i {
    transform: rotate(180deg);
}

@media (min-width: 769px) {
    #navLinks {
        display: flex !important;
        flex-direction: row;
        gap: 1rem;
        align-items: center;
    }
    
    .nav-toggle {
        display: none;
    }
    
    .nav-dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    #navLinks {
        display: none;
        flex-direction: column;
        gap: 1rem;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(15, 15, 35, 0.95);
        backdrop-filter: blur(20px);
        border-radius: 12px;
        padding: 1rem;
        margin-top: 0.5rem;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
        border: 1px solid rgba(136, 120, 204, 0.2);
    }
    
    #navLinks.show {
        display: flex;
    }
    
    .nav-toggle {
        display: block;
        background: none;
        border: none;
        color: white;
        cursor: pointer;
        padding: 0.5rem;
        margin-left: auto;
    }
    
    .nav-dropdown .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: rgba(136, 120, 204, 0.1);
        margin: 0.5rem 0 0 1rem;
        border-radius: 8px;
    }
    
    .nav-dropdown:not(.open) .dropdown-menu {
        display: none;
    }
    
    .nav-dropdown.open .dropdown-menu {
        display: block;
    }
    
    .dropdown-item {
        padding: 8px 12px;
        font-size: 13px;
    }

	
@media (max-width: 768px) {
    #navLinks {
        display: none;
        flex-direction: column;
        gap: 1rem;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(15, 15, 35, 0.95);
        backdrop-filter: blur(20px);
        border-radius: 12px;
        padding: 1rem;
        margin-top: 0.5rem;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
        border: 1px solid rgba(136, 120, 204, 0.2);
    }
    
    #navLinks.show {
        display: flex;
    }
    
    .nav-dropdown .dropdown-menu {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none;
        border: none;
        background: rgba(136, 120, 204, 0.05);
        margin: 0.5rem 0 0 0;
        border-radius: 8px;
        padding: 0.5rem 0;
        width: 100%;
        display: none;
    }
    
    .nav-dropdown.open .dropdown-menu {
        display: block !important;
    }
    
    .dropdown-item {
        padding: 10px 16px;
        font-size: 14px;
        border-bottom: 1px solid rgba(136, 120, 204, 0.1);
        width: 100%;
    }
    
    .dropdown-item:last-child {
        border-bottom: none;
    }
    
    .dropdown-toggle {
        width: 100%;
        text-align: left;
        justify-content: space-between;
    }
}
}

/* ============================================================
   NEW DESIGN SYSTEM (Referenzprojekt) — Variablen, Buttons,
   Animationen & Sektions-Komponenten für Hero/About/Projects/
   Community. Bewusst OHNE globalen *-Reset und ohne .container-
   Neudefinition, da beides mit Bootstrap kollidieren würde.
   ============================================================ */

:root {
    --primary:        #8878cc;
    --primary-light:  #a39be7;
    --primary-dark:   #6658aa;

    --bg-primary:     #0a0a0f;
    --bg-secondary:   #0f0f1a;
    --bg-tertiary:    #13131f;
    --bg-glass:       rgba(255, 255, 255, 0.04);

    --text-primary:   #f0eeff;
    --text-secondary: #b8b4d4;
    --text-muted:     #7a7695;
    --text-disabled:  #4a4660;

    --border-primary:   rgba(136, 120, 204, 0.25);
    --border-secondary: rgba(136, 120, 204, 0.12);

    --success:  #00d4aa;
    --warning:  #f59e0b;
    --error:    #ef4444;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.5);

    --transition: 0.25s cubic-bezier(0.16, 1, 0.3, 1);

    --font-body:    'Inter', sans-serif;
    --font-heading: 'Space Grotesk', sans-serif;

    --container-padding: 2rem;
    --container-max:     1400px;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
ul { list-style: none; }
a { color: inherit; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.2;
}

/* ── Gradient Text ── */
.title-gradient {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================================
   CUSTOM SCROLLBAR
   ============================================================ */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary, #0a0a0f);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #8878cc, #a39be7);
    border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #a39be7, #c4bdf0);
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #8878cc #0a0a0f;
}

/* ============================================================
   READING PROGRESS BAR
   ============================================================ */
#reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, #8878cc, #a39be7, #c4bdf0);
    z-index: 9999;
    transition: width 0.1s linear;
    border-radius: 0 2px 2px 0;
    pointer-events: none;
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: var(--transition);
    white-space: nowrap;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    box-shadow: 0 4px 16px rgba(136, 120, 204, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(136, 120, 204, 0.5);
}

.btn-secondary {
    background: rgba(136, 120, 204, 0.1);
    border: 1px solid rgba(136, 120, 204, 0.25);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: rgba(136, 120, 204, 0.18);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* ── Animations ── */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.4; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-10px); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ── Section Shared ── */
section {
    padding: 6rem 0;
}

.section-header {
    margin-bottom: 4rem;
}

.section-header.centered {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    max-width: 560px;
    line-height: 1.7;
}

/* ── Hero ── */
.hero-section {
    position: relative;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    padding-top: calc(1.25rem + 52px + 2rem);
    padding-bottom: 0;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.25;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    top: -200px;
    right: -100px;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
    bottom: 0;
    left: -100px;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #5c4db1 0%, transparent 70%);
    top: 40%;
    left: 40%;
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(136,120,204,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(136,120,204,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-container {
    position: relative;
    z-index: 1;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-light);
    background: rgba(136, 120, 204, 0.1);
    border: 1px solid rgba(136, 120, 204, 0.25);
    border-radius: 999px;
    padding: 0.4rem 1rem;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
}

.hero-description {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    max-width: 520px;
    line-height: 1.75;
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-value span {
    font-size: 1.25rem;
    color: var(--primary);
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* ── Hero Visual / Floating Cards ── */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-container {
    position: relative;
    width: 380px;
    height: 380px;
}

.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1.25rem;
    background: rgba(136, 120, 204, 0.1);
    border: 1px solid rgba(136, 120, 204, 0.2);
    border-radius: 14px;
    backdrop-filter: blur(16px);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: var(--shadow-md);
    animation: float 4s ease-in-out infinite;
}

.floating-card svg { color: var(--primary); flex-shrink: 0; }

.card-1 { top: 0;   left: 10%;  animation-delay: 0s; }
.card-2 { top: 30%; right: 0;   animation-delay: 0.5s; }
.card-3 { bottom: 25%; left: 0; animation-delay: 1s; }
.card-4 { bottom: 0; right: 10%; animation-delay: 1.5s; }

/* ── Scroll Indicator ── */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}

.mouse {
    width: 22px;
    height: 34px;
    border: 1.5px solid rgba(136, 120, 204, 0.4);
    border-radius: 999px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.wheel {
    width: 3px;
    height: 6px;
    background: var(--primary);
    border-radius: 999px;
    animation: float 1.5s ease-in-out infinite;
}

/* ── About ── */
.about-section { background: var(--bg-secondary); }

/* Dritter Sektions-Ton für klare Abgrenzung zwischen zwei aufeinanderfolgenden
   Sektionen, die sonst dieselbe Hintergrundfarbe hätten (z.B. About -> Apply). */
.tertiary-section { background: var(--bg-tertiary); }

/* Dünne Trennlinie oben an jeder Content-Sektion, damit Übergänge zwischen
   Sektionen (auch bei ähnlichem Hintergrundton) klar erkennbar bleiben. */
.about-section,
.tertiary-section,
.contact-section,
.projects-section {
    position: relative;
}

.about-section::before,
.tertiary-section::before,
.contact-section::before,
.projects-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--primary) 30%, var(--primary-light) 60%, transparent 100%);
    opacity: 0.18;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.about-card {
    background: rgba(136, 120, 204, 0.06);
    border: 1px solid rgba(136, 120, 204, 0.15);
    border-radius: 20px;
    padding: 2rem;
    transition: var(--transition);
}

.about-card:hover {
    background: rgba(136, 120, 204, 0.1);
    border-color: rgba(136, 120, 204, 0.28);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.card-icon {
    width: 52px;
    height: 52px;
    background: rgba(136, 120, 204, 0.12);
    border: 1px solid rgba(136, 120, 204, 0.2);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    color: var(--primary-light);
    flex-shrink: 0;
    transition: var(--transition);
}

.about-card:hover .card-icon {
    background: rgba(136, 120, 204, 0.2);
    border-color: var(--primary);
}

.card-content h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: var(--text-primary);
}

.card-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ── Projects ── */
.projects-section { background: var(--bg-primary); }

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.project-item {
    background: rgba(136, 120, 204, 0.05);
    border: 1px solid rgba(136, 120, 204, 0.12);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
}

.project-item:hover {
    border-color: rgba(136, 120, 204, 0.28);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.project-image {
    position: relative;
    height: 180px;
    background: linear-gradient(135deg, rgba(136,120,204,0.15), rgba(88,78,177,0.1));
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-overlay {
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    background: rgba(136, 120, 204, 0.2);
    border: 1px solid rgba(136, 120, 204, 0.3);
    border-radius: 50%;
    color: var(--primary-light);
}

.project-status {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 999px;
    padding: 0.3rem 0.85rem;
}

.status-live {
    color: var(--success);
    background: rgba(0, 212, 170, 0.07);
    border: 1px solid rgba(0, 212, 170, 0.2);
}

.status-soon {
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.status-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    animation: pulse 2s infinite;
    flex-shrink: 0;
}

.project-info {
    padding: 1.5rem;
}

.project-category {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.category-badge {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--primary-light);
    background: rgba(136, 120, 204, 0.1);
    border: 1px solid rgba(136, 120, 204, 0.2);
    border-radius: 999px;
    padding: 0.2rem 0.65rem;
    letter-spacing: 0.03em;
}

.project-info h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: var(--text-primary);
}

.project-info p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.project-actions { display: flex; gap: 0.75rem; }

/* ── Contact ── */
.contact-section { background: var(--bg-secondary); }

.contact-methods {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.contact-method {
    background: rgba(136, 120, 204, 0.06);
    border: 1px solid rgba(136, 120, 204, 0.15);
    border-radius: 20px;
    padding: 2rem;
    transition: var(--transition);
}

.contact-method:hover {
    background: rgba(136, 120, 204, 0.1);
    border-color: rgba(136, 120, 204, 0.28);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.method-icon {
    width: 52px;
    height: 52px;
    background: rgba(136, 120, 204, 0.1);
    border: 1px solid rgba(136, 120, 204, 0.2);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
    margin-bottom: 1.25rem;
    transition: var(--transition);
}

.contact-method:hover .method-icon {
    background: rgba(136, 120, 204, 0.2);
    border-color: var(--primary);
}

.method-content h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.contact-description {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-light);
    text-decoration: none;
    transition: var(--transition);
}

/* ── Community Layout ── */
.community-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.community-info {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.community-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.community-feature .feature-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: rgba(136, 120, 204, 0.1);
    border: 1px solid rgba(136, 120, 204, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a39be7;
}

.community-feature h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.3rem;
}

.community-feature p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.6;
    margin: 0;
    max-width: none;
}

.btn-discord {
    align-self: flex-start;
    margin-top: 0.5rem;
}

/* ── Discord iframe ── */
.discord-widget-wrap {
    width: 100%;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
}

.discord-widget-wrap iframe {
    width: 100%;
    height: 460px;
    display: block;
}

@media (max-width: 860px) {
    .community-layout {
        grid-template-columns: 1fr;
    }

    .discord-widget-wrap iframe {
        height: 380px;
    }

    .btn-discord {
        align-self: stretch;
        justify-content: center;
    }
}

.contact-link:hover { color: var(--primary); }

/* ── Back to Top ── */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(136, 120, 204, 0.12);
    border: 1px solid rgba(136, 120, 204, 0.25);
    border-radius: 999px;
    color: var(--primary-light);
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    cursor: pointer;
    z-index: 100;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: rgba(136, 120, 204, 0.22);
    border-color: var(--primary);
    transform: translateY(-2px);
}

/* ── Section Tag ── */
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    background: rgba(136, 120, 204, 0.08);
    border: 1px solid rgba(136, 120, 204, 0.18);
    border-radius: 999px;
    padding: 0.3rem 0.85rem;
    margin-bottom: 0.75rem;
}

.tag-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

/* ── Brand Logo ── */
.brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
    width: fit-content;
}

.logo-svg { display: block; flex-shrink: 0; }

/* ── Button Disabled ── */
.btn-disabled {
    opacity: 0.4;
    pointer-events: none;
    cursor: default;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .hero-container { grid-template-columns: 1fr; }
    .hero-visual { display: none; }
    .about-grid { grid-template-columns: 1fr; }
    .projects-grid { grid-template-columns: 1fr; }
    .contact-methods { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    section { padding: 4rem 0; }
    .hero-actions { flex-direction: column; }
    .hero-stats { gap: 1.5rem; }
    .hero-section { padding-top: calc(0.75rem + 52px + 1.5rem); }
}

@media (max-width: 640px) {
    .about-grid,
    .projects-grid,
    .contact-methods { grid-template-columns: 1fr; }
}

/* ── Project Thumbnail (wenn Foto gesetzt) ── */
.project-thumb {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

/* ── Coming Soon Card – leicht gedimmt ── */
.project-coming-soon {
    opacity: 0.7;
    filter: saturate(0.6);
    transition: var(--transition);
}

.project-coming-soon:hover {
    opacity: 0.9;
    filter: saturate(0.8);
}

/* ── Logo img in Navbar ── */
.logo-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    border-radius: 6px;
    display: block;
}

/* ============================================================
   PAGE HERO (zentrierte Unterseiten-Banner)
   Nutzt dieselben Tokens wie .hero-section (Badge/Title/
   Description/Actions/Orbs), nur einspaltig & zentriert.
   ============================================================ */
.page-hero {
    position: relative;
    overflow: hidden;
    padding: calc(1.25rem + 52px + 3rem) 0 4rem;
    text-align: center;
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero-icon {
    width: 88px;
    height: 88px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(136, 120, 204, 0.1);
    border: 1px solid rgba(136, 120, 204, 0.25);
    border-radius: 28px;
    color: var(--primary-light);
}

.page-hero .hero-badge,
.page-hero .hero-title,
.page-hero .hero-description {
    margin-left: auto;
    margin-right: auto;
}

.page-hero .hero-actions {
    justify-content: center;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .page-hero {
        padding: calc(0.75rem + 52px + 2rem) 0 3rem;
    }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--bg-primary);
    position: relative;
}

/* Gradient top divider */
.footer-divider {
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        var(--primary) 30%,
        var(--primary-light) 60%,
        transparent 100%
    );
    opacity: 0.4;
}

.footer-inner {
    padding: 4rem 0 2rem;
}

/* ── Main Grid ── */
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 2fr;
    gap: 4rem;
    margin-bottom: 3.5rem;
}

/* ── Brand Col ── */
.footer-brand-col {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
    width: fit-content;
}

.footer-tagline {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.75;
}

/* ── Social Buttons ── */
.footer-socials {
    display: flex;
    gap: 0.5rem;
}

.footer-social-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(136, 120, 204, 0.08);
    border: 1px solid rgba(136, 120, 204, 0.18);
    border-radius: 10px;
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer-social-btn:hover {
    background: rgba(136, 120, 204, 0.18);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

/* ── Nav Cols ── */
.footer-nav-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-nav-heading {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 1.1rem;
}

.footer-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.footer-nav-list a {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.footer-nav-list a:hover {
    color: var(--primary);
    transform: translateX(4px);
}

/* ── Bottom Bar ── */
.footer-bottom-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    flex-wrap: wrap;
    gap: 0.75rem;
}

.footer-copy,
.footer-made-with {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
    line-height: 1.5;
}

.footer-made-with {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.footer-heart {
    color: #e05555;
    flex-shrink: 0;
    animation: heartbeat 2.4s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1);    }
    14%       { transform: scale(1.3); }
    28%       { transform: scale(1);   }
    42%       { transform: scale(1.15);}
    56%       { transform: scale(1);   }
}

/* Status Pill (z.B. für Footer-Status-Hinweise) */
.footer-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    color: var(--text-muted);
    background: rgba(0, 212, 170, 0.07);
    border: 1px solid rgba(0, 212, 170, 0.2);
    border-radius: 999px;
    padding: 0.3rem 0.85rem;
}

.footer-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--success);
    animation: pulse 2s infinite;
    flex-shrink: 0;
}

/* ── Responsive ── */
@media (max-width: 968px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 640px) {
    .footer-nav-cols {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer-bottom-bar {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* ============================================================
   SHARED CONTENT COMPONENTS (Sitewide-Vereinheitlichung)
   Erweitert das bestehende Design-System um wiederverwendbare
   Grid-Varianten & Stat-Boxen für alle Unterseiten.
   ============================================================ */

/* Grid-Spaltenzahl-Modifier (about-grid/projects-grid sind
   Standard auf 3 bzw. 2 Spalten ausgelegt) */
.about-grid.cols-2,
.projects-grid.cols-3,
.contact-methods.cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.projects-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.about-grid.cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* ── Stat-Boxen (Team/Rules/GitLab Kennzahlen) ── */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.stat-box {
    background: rgba(136, 120, 204, 0.06);
    border: 1px solid rgba(136, 120, 204, 0.15);
    border-radius: 20px;
    padding: 1.75rem 1.5rem;
    text-align: center;
    transition: var(--transition);
}

.stat-box:hover {
    background: rgba(136, 120, 204, 0.1);
    border-color: rgba(136, 120, 204, 0.28);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.stat-box .card-icon {
    margin: 0 auto 1rem;
}

.stat-box .stat-value {
    font-size: 1.75rem;
    margin-bottom: 0.25rem;
}

.stat-box .stat-label {
    font-size: 0.8125rem;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid.cols-2,
    .about-grid.cols-4,
    .projects-grid.cols-3,
    .contact-methods.cols-2 {
        grid-template-columns: 1fr;
    }
}