/* Modern Clean Website Styles - 2024 Best Practices */
:root {
    /* Colors - Modern Palette */
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #8b5cf6;
    --accent: #06b6d4;
    
    /* Semantic Colors */
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    --info: #3b82f6;
    
    /* Neutrals */
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    
    /* Semantic Colors */
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    --info: #3b82f6;
    
    /* Spacing - Consistent Scale */
    --spacing-xs: 0.25rem;   /* 4px */
    --spacing-sm: 0.5rem;    /* 8px */
    --spacing-md: 1rem;      /* 16px */
    --spacing-lg: 1.5rem;    /* 24px */
    --spacing-xl: 2rem;      /* 32px */
    --spacing-2xl: 3rem;     /* 48px */
    --spacing-3xl: 4rem;     /* 64px */
    
    /* Typography Scale */
    --text-xs: 0.75rem;      /* 12px */
    --text-sm: 0.875rem;     /* 14px */
    --text-base: 1rem;       /* 16px */
    --text-lg: 1.125rem;     /* 18px */
    --text-xl: 1.25rem;      /* 20px */
    --text-2xl: 1.5rem;      /* 24px */
    --text-3xl: 1.875rem;    /* 30px */
    --text-4xl: 2.25rem;     /* 36px */
    --text-5xl: 3rem;        /* 48px */
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    
    /* Transitions */
    --transition-fast: 150ms ease-in-out;
    --transition-normal: 300ms ease-in-out;
    --transition-slow: 500ms ease-in-out;
    --spacing-3xl: 6rem;
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    --font-size-6xl: 3.75rem;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;
    
    /* Layout */
    --container-max-width: 1400px;
    --header-height: 80px;
}

/* Reset & Base */
/* Base Styles - Modern Reset */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Focus Management */
*:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Skip Link for Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary);
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 1000;
}

.skip-link:focus {
    top: 6px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--gray-100);
    background:
        radial-gradient(circle at 15% 20%, rgba(39, 68, 133, 0.7), transparent 45%),
        radial-gradient(circle at 80% 10%, rgba(33, 54, 104, 0.55), transparent 40%),
        radial-gradient(circle at 65% 80%, rgba(22, 40, 86, 0.6), transparent 45%),
        linear-gradient(180deg, #030711 0%, #010308 100%);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    overflow-x: hidden;
}

body::before,
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 50;
}

body::before {
    background-image:
        radial-gradient(circle at 12% 18%, rgba(255,255,255,0.55) 0%, transparent 55%),
        radial-gradient(circle at 32% 12%, rgba(255,255,255,0.35) 0%, transparent 40%),
        radial-gradient(circle at 68% 22%, rgba(255,255,255,0.45) 0%, transparent 50%),
        radial-gradient(circle at 78% 35%, rgba(255,255,255,0.3) 0%, transparent 45%),
        radial-gradient(circle at 22% 70%, rgba(255,255,255,0.35) 0%, transparent 40%),
        radial-gradient(circle at 58% 78%, rgba(255,255,255,0.3) 0%, transparent 45%),
        radial-gradient(circle at 88% 75%, rgba(255,255,255,0.25) 0%, transparent 40%),
        radial-gradient(circle at 45% 50%, rgba(255,255,255,0.35) 0%, transparent 50%);
    opacity: 0.65;
    animation: winterTwinkle 12s ease-in-out infinite alternate;
}

body::after {
    background-image:
        radial-gradient(circle, rgba(255,255,255,0.25) 20%, transparent 60%),
        radial-gradient(circle, rgba(255,255,255,0.18) 18%, transparent 65%),
        radial-gradient(circle, rgba(255,255,255,0.12) 15%, transparent 70%);
    background-repeat: no-repeat;
    background-size: 200% 200%;
    background-position: 0% 0%, 30% 20%, 60% 60%;
    opacity: 0.35;
    animation: winterSkyDrift 30s linear infinite;
    mix-blend-mode: screen;
}

@keyframes winterTwinkle {
    0% { opacity: 0.35; transform: scale(1); }
    50% { opacity: 0.65; transform: scale(1.02); }
    100% { opacity: 0.45; transform: scale(0.98); }
}

@keyframes winterSkyDrift {
    0% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(-2%, -4%, 0); }
    100% { transform: translate3d(-4%, -8%, 0); }
}

@media (prefers-reduced-motion: reduce) {
    body::before,
    body::after {
        animation: none;
    }
    
    .services::after {
        animation: none;
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    color: var(--gray-900);
}

h1 { font-size: var(--font-size-5xl); }
h2 { font-size: var(--font-size-4xl); }
h3 { font-size: var(--font-size-3xl); }
h4 { font-size: var(--font-size-2xl); }
h5 { font-size: var(--font-size-xl); }
h6 { font-size: var(--font-size-lg); }

p {
    margin-bottom: var(--spacing-md);
    color: var(--gray-600);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-dark);
}

/* Container */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
    z-index: 1000;
    transition: all var(--transition-base);
}

.nav-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-xl);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-right: var(--spacing-2xl);
    flex-shrink: 0;
}

.nav-logo {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-lg);
    object-fit: cover;
    object-position: center;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.1);
}

.nav-profile-mini {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    aspect-ratio: 1/1;
    margin-left: var(--spacing-sm);
    border: 2px solid var(--primary-500);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.nav-name {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--gray-900);
    letter-spacing: 0.01em;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--spacing-2xl);
    flex-wrap: nowrap;
    width: 100%;
}

.nav-menu > .auth-section {
    margin-left: auto;
}

.nav-user {
    display: flex;
    align-items: center;
}

@media (max-width: 1200px) {
    .nav-menu {
        flex-wrap: wrap;
    }
    
    .nav-menu > .auth-section {
        width: 100%;
        justify-content: flex-start;
        margin-left: 0;
    }
}

.auth-section {
    display: flex;
    align-items: center;
}

.nav-login-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.5rem;
    border-radius: 999px;
    border: 1px solid rgba(118, 75, 162, 0.45);
    background: linear-gradient(135deg, rgba(118, 75, 162, 0.25), rgba(99, 102, 241, 0.25));
    color: #4f46e5;
    font-weight: 600;
    box-shadow:
        0 15px 35px rgba(79, 70, 229, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: all var(--transition-fast);
}

.nav-login-btn i {
    font-size: 0.95rem;
}

.nav-login-btn:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.6);
    color: #ffffff;
    box-shadow:
        0 20px 45px rgba(79, 70, 229, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.nav-login-btn:active {
    transform: translateY(0);
}

@media (max-width: 1024px) {
    .nav-container {
        flex-wrap: wrap;
        row-gap: var(--spacing-md);
    }

    .nav-brand {
        margin-right: 0;
        width: 100%;
        justify-content: flex-start;
    }

    .nav-menu {
        width: 100%;
        justify-content: space-between;
        gap: var(--spacing-lg);
    }
}

@media (max-width: 640px) {
    .nav-menu {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-sm);
    }

    .nav-brand {
        justify-content: space-between;
    }
}

.nav-link {
    font-weight: 500;
    color: var(--gray-600);
    transition: color var(--transition-fast);
    position: relative;
    padding: 0 var(--spacing-sm);
    letter-spacing: 0.01em;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
    border-radius: var(--radius-full);
}

.admin-link {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) var(--spacing-md);
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast);
}

.admin-link:hover {
    background: var(--primary);
    color: var(--white);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: var(--spacing-sm);
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--gray-600);
    transition: all var(--transition-fast);
}

/* Hero Section */
.hero {
    padding: calc(var(--header-height) + var(--spacing-3xl)) 0 var(--spacing-3xl);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
    overflow-x: hidden;
    overflow-y: visible;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.2) 0%, transparent 50%);
    animation: heroBackground 20s ease-in-out infinite;
    z-index: 1;
}

@keyframes heroBackground {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

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

.hero-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-xl);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
    overflow: visible;
    box-sizing: border-box;
    width: 100%;
}

.hero-title {
    font-size: var(--font-size-6xl);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: var(--spacing-lg);
    color: white;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
    animation: heroTitleFade 1s ease-out;
}

@keyframes heroTitleFade {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

.gradient-text {
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Herz-Animation */
.heart-animation {
    display: inline-block;
    animation: heartbeat 1.2s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }
    10%, 30% {
        transform: scale(1.2);
    }
    20%, 40% {
        transform: scale(1.1);
    }
    50% {
        transform: scale(1.15);
    }
}

.hero-subtitle {
    font-size: var(--font-size-xl);
    color: white;
    margin-bottom: var(--spacing-xl);
}

.hero-actions {
    display: flex;
    gap: var(--spacing-md);
    animation: heroActionsFade 1s ease-out 0.3s both;
}

@keyframes heroActionsFade {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

.hero-actions .btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    white-space: normal;
    min-width: fit-content;
    padding: var(--spacing-md) var(--spacing-xl);
}

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

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

.hero-actions .btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.hero-visual {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: var(--spacing-xl);
    animation: heroVisualFade 1s ease-out 0.6s both;
    width: 100%;
    max-width: 100%;
    overflow: visible;
    box-sizing: border-box;
    min-width: 0;
}

.hero-about-visual {
    align-items: center;
    gap: var(--spacing-xl);
}

.hero-about-image {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 1.75rem;
    padding: var(--spacing-md);
    box-shadow: 0 30px 55px rgba(15, 23, 42, 0.25);
    backdrop-filter: blur(12px);
    position: relative;
    z-index: 1;
}

.hero-about-image .profile-image {
    width: 320px;
    height: 320px;
    border-radius: 1.5rem;
    box-shadow: none;
    border: none;
    backdrop-filter: none;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative;
    z-index: 2;
}

.hero-about-stats {
    width: 100%;
    max-width: 520px;
}

.hero-about-stats .stat-card {
    background: rgba(255, 255, 255, 0.12) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 25px 55px rgba(15, 23, 42, 0.25);
}

.hero-about-stats .stat-card .stat-number {
    color: white !important;
    text-shadow: 0 5px 12px rgba(0, 0, 0, 0.3);
}

.hero-about-stats .stat-card .stat-label {
    color: white !important;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

@keyframes heroVisualFade {
    0% { opacity: 0; transform: translateX(30px); }
    100% { opacity: 1; transform: translateX(0); }
}

.hero-image {
    position: relative;
}

.profile-image {
    width: 300px;
    height: 300px;
    border-radius: var(--radius-2xl);
    box-shadow: 
        0 20px 40px rgba(0,0,0,0.3),
        0 0 0 1px rgba(255,255,255,0.1);
    object-fit: cover !important;
    object-position: center top !important;
    aspect-ratio: 1/1;
    max-width: 300px;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    max-height: 300px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.profile-image:hover {
    transform: scale(1.05);
    box-shadow: 
        0 25px 50px rgba(0,0,0,0.4),
        0 0 0 1px rgba(255,255,255,0.3);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    width: 100%;
    max-width: 900px;
    min-width: 0;
    padding: 1.5rem;
    box-sizing: border-box;
    margin: var(--spacing-lg) auto 0;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(8px);
}

.stat-item {
    text-align: center;
    padding: 1.5rem 1rem;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    background: rgba(0, 0, 0, 0.25);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
    min-height: 160px;
}

.stat-item:not(:last-child)::after {
    display: none;
}

.stat-number {
    display: block;
    font-size: calc(var(--font-size-3xl) * 0.9);
    font-weight: 700;
    color: #667eea;
    margin-bottom: 0.75rem;
    line-height: 1.1;
    text-shadow: 0 5px 12px rgba(102, 126, 234, 0.3);
}

.stat-label {
    font-size: 0.95rem;
    color: #667eea;
    line-height: 1.6;
    font-weight: 500;
    letter-spacing: 0.02em;
    margin: 0;
    word-wrap: break-word;
    word-break: normal;
    hyphens: auto;
    padding: 0 0.5rem;
    text-transform: uppercase;
    width: 100%;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    max-width: 100%;
}

/* Bessere Lesbarkeit: keine Silbentrennung im Hero-Subtext */
.hero-subtitle {
    hyphens: none;
    word-break: normal;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: var(--font-size-base);
    font-weight: 500;
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border: 2px solid var(--primary);
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: var(--white);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    font-weight: 600;
    white-space: normal;
    min-width: fit-content;
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: translateY(-2px);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Spezifische Anpassung für Hero-Actions Buttons - bereits oben in .hero-actions .btn integriert */

/* Service Card Button Optimizations */
.service-card .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 48px;
    font-size: var(--font-size-sm);
    font-weight: 600;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.service-card .btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border: 2px solid var(--primary);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.2);
}

.service-card .btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #3730a3 100%);
    color: var(--white);
    border-color: var(--primary-dark);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
    transform: translateY(-2px);
}

.service-card .btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.2);
}

/* Additional Button Variants with Better Contrast */
.btn-secondary {
    background: var(--gray-600);
    color: var(--white);
    border: 2px solid var(--gray-600);
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    background: var(--gray-700);
    color: var(--white);
    border-color: var(--gray-700);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-success {
    background: var(--success);
    color: var(--white);
    border: 2px solid var(--success);
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.btn-success:hover {
    background: #059669;
    color: var(--white);
    border-color: #059669;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-warning {
    background: var(--warning);
    color: var(--white);
    border: 2px solid var(--warning);
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.btn-warning:hover {
    background: #d97706;
    color: var(--white);
    border-color: #d97706;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-danger {
    background: var(--error);
    color: var(--white);
    border: 2px solid var(--error);
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.btn-danger:hover {
    background: #dc2626;
    color: var(--white);
    border-color: #dc2626;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Responsive Button Text */
@media (max-width: 480px) {
    .service-card .btn {
        font-size: var(--font-size-xs);
        padding: var(--spacing-xs) var(--spacing-sm);
        min-height: 44px;
    }
}

/* LANGUAGE SWITCH STYLES */
.language-switch {
    display: flex;
    align-items: center;
    margin-left: var(--spacing-md);
    padding-left: var(--spacing-md);
    border-left: 1px solid var(--gray-200);
}

.btn-lang {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: var(--white);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: var(--text-sm);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
    border: none;
    cursor: pointer;
}

.btn-lang:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #764ba2, #667eea);
}

.btn-lang i {
    font-size: var(--text-sm);
}

/* PROFILE DOWNLOAD SECTION STYLES */
.profile-download-section {
    display: flex;
    align-items: center;
    margin-left: var(--spacing-md);
    padding-left: var(--spacing-md);
    border-left: 1px solid var(--gray-200);
}

.btn-profile {
    background: linear-gradient(135deg, #10b981, #059669);
    color: var(--white);
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: var(--text-sm);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.btn-profile:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.4);
    background: linear-gradient(135deg, #059669, #047857);
}

.btn-profile i {
    font-size: var(--text-sm);
}

/* Dashboard Button Styles */
.profile-dashboard-section {
    display: flex;
    align-items: center;
    margin-left: var(--spacing-md);
    padding-left: var(--spacing-md);
    border-left: 1px solid var(--gray-200);
}

.btn-dashboard {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: var(--white);
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: var(--text-sm);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}

.btn-dashboard:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.4);
    background: linear-gradient(135deg, #4f46e5, #3730a3);
}

.btn-dashboard i {
    font-size: var(--text-sm);
}

/* Auth Button Styles */
.auth-section {
    display: flex;
    align-items: center;
    margin-left: var(--spacing-md);
    padding-left: var(--spacing-md);
    border-left: 1px solid var(--gray-200);
}

.btn-auth {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: var(--text-sm);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
    border: none;
    cursor: pointer;
}

.btn-auth:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.4);
    background: linear-gradient(135deg, #059669, #047857);
}

.btn-auth i {
    font-size: var(--text-sm);
}

/* User Menu Styles - Gleiche wie Bewerbungsmanagement */
.user-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    min-width: 220px;
    z-index: 1000;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.user-menu .user-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border-bottom: 1px solid var(--border-light);
}

.user-menu .user-avatar-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
}

.user-menu .user-info span {
    font-weight: 600;
    color: var(--text-primary);
    font-size: var(--text-sm);
}

.user-menu-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    text-decoration: none;
    transition: all var(--transition-fast);
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    font-size: var(--text-sm);
}

.user-menu-link:hover {
    background: var(--bg-secondary);
    color: var(--primary);
}

.user-menu-link i {
    width: 20px;
    text-align: center;
    color: var(--text-secondary);
}

.user-menu-link:hover i {
    color: var(--primary);
}


@media (max-width: 360px) {
    .service-card .btn {
        font-size: 0.7rem;
        padding: 0.4rem 0.6rem;
        min-height: 40px;
    }
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
}

.section-title {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.section-subtitle {
    font-size: var(--font-size-xl);
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

/* Services Section Text Colors */
.services .section-title {
    color: white;
    position: relative;
    z-index: 1;
}

.services .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 1;
}

/* Services Section */
.services {
    padding: var(--spacing-3xl) 0;
    background: linear-gradient(135deg, #1e3a8a 0%, #3730a3 50%, #7c3aed 100%);
    position: relative;
    overflow: hidden;
    color: white;
}

/* Winterlicher Schnee für Services Section */
.services::after {
    content: '';
    position: absolute;
    top: -10%;
    left: 0;
    right: 0;
    bottom: -10%;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='320' viewBox='0 0 220 320'%3E%3Cg fill='none' stroke='rgba(255,255,255,0.45)' stroke-width='1.6'%3E%3Cpath d='M110 20 l0 30 M110 270 l0 30 M110 50 l18 18 M110 50 l-18 18 M110 270 l18 -18 M110 270 l-18 -18 M30 160 l30 0 M160 160 l30 0 M60 160 l12 12 M60 160 l12 -12 M160 160 l-12 12 M160 160 l-12 -12'/%3E%3C/g%3E%3Ccircle cx='40' cy='60' r='2.5' fill='rgba(255,255,255,0.55)'/%3E%3Ccircle cx='180' cy='110' r='1.6' fill='rgba(255,255,255,0.35)'/%3E%3Ccircle cx='70' cy='230' r='1.2' fill='rgba(255,255,255,0.4)'/%3E%3Ccircle cx='200' cy='250' r='2.1' fill='rgba(255,255,255,0.35)'/%3E%3Ccircle cx='120' cy='90' r='1.1' fill='rgba(255,255,255,0.3)'/%3E%3C/svg%3E"),
        radial-gradient(rgba(255,255,255,0.55) 1px, transparent 45%),
        radial-gradient(rgba(255,255,255,0.35) 1.6px, transparent 40%),
        radial-gradient(rgba(255,255,255,0.2) 2.2px, transparent 30%);
    background-size: 220px 320px, 260px 360px, 360px 420px, 520px 620px;
    opacity: 0.55;
    animation: servicesSnowFall 28s linear infinite, snowflakeGlow 10s ease-in-out infinite;
    z-index: 0;
    pointer-events: none;
}

@keyframes servicesSnowFall {
    0% {
        transform: translate3d(0, -10%, 0);
    }
    50% {
        transform: translate3d(-2%, 5%, 0);
    }
    100% {
        transform: translate3d(2%, 15%, 0);
    }
}

/* Services Categories */
.services-category {
    margin-bottom: 5rem;
}

.services-category:last-child {
    margin-bottom: 0;
}

.services-category-title {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: white;
    margin-bottom: var(--spacing-xl);
    padding-bottom: var(--spacing-md);
    border-bottom: 3px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    position: relative;
    z-index: 1;
}

.services-category-title i {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.service-card {
    padding: var(--spacing-xl);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    transition: all var(--transition-base);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    z-index: 1;
    min-height: 400px;
    cursor: pointer;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
    background: var(--white);
}

.service-card:hover .service-icon {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.service-card:hover h3 {
    color: var(--primary);
}

.service-card:hover .btn-primary {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #3730a3 100%);
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.4);
}

.service-cta {
    margin-top: auto;
    padding-top: var(--spacing-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--primary);
    font-weight: 600;
    transition: all var(--transition-base);
}

.service-card:hover .service-cta {
    color: var(--primary-dark);
    transform: translateX(4px);
}

.service-cta i {
    transition: transform var(--transition-base);
}

.service-card:hover .service-cta i {
    transform: translateX(4px);
}

/* Persönlichkeitsentwicklung Kachel: Beschreibung in weiss */
.service-card.modern-highlight p {
    color: #ffffff !important;
}

/* AI-Digitalisierung - Workflow CTA Text in weiß für bessere Lesbarkeit auf Gradient */
.workflow-cta p,
.workflow-cta h2 {
    color: #ffffff !important;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-lg);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-md);
    color: white;
    font-weight: 700;
    transition: color 0.3s ease;
    position: relative;
    z-index: 1;
}

.service-card p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
    transition: color 0.3s ease;
    position: relative;
    z-index: 1;
}

.service-features {
    list-style: none;
}

.service-features li {
    padding: var(--spacing-xs) 0;
    color: var(--gray-700);
    position: relative;
    padding-left: var(--spacing-lg);
    transition: color 0.3s ease;
    font-weight: 500;
}

/* Services Section Features */
.services .service-features li {
    color: rgba(255, 255, 255, 0.85);
    position: relative;
    z-index: 1;
}

/* Custom Inputs */
.custom-inputs {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.custom-input-item {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.custom-input-item input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    color: var(--gray-800);
    transition: all 0.3s ease;
}

.custom-input-item input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.custom-input-item .btn-small {
    padding: 0.5rem;
    min-width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #dc2626;
    transition: all 0.3s ease;
}

.custom-input-item .btn-small:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.3);
    transform: scale(1.05);
}

/* Rating System */
.rating-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.rating-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.rating-item label {
    font-weight: 600;
    color: var(--gray-700);
    font-size: 0.9rem;
}

.star-rating {
    display: flex;
    gap: 0.25rem;
    cursor: pointer;
}

.star {
    font-size: 1.5rem;
    color: #d1d5db;
    transition: all 0.2s ease;
    cursor: pointer;
    user-select: none;
}

.star:hover,
.star.active {
    color: #fbbf24;
    transform: scale(1.1);
    text-shadow: 0 0 8px rgba(251, 191, 36, 0.3);
}

.star-rating:hover .star {
    color: #fbbf24;
}

.star-rating .star:hover ~ .star {
    color: #d1d5db;
}

/* Service Card Content Layout */
.service-card .service-icon {
    flex-shrink: 0;
    margin-bottom: var(--spacing-md);
}

.service-card h3 {
    flex-shrink: 0;
    margin-bottom: var(--spacing-md);
}

.service-card p {
    flex: 1;
    margin-bottom: var(--spacing-lg);
}

.service-features {
    flex-shrink: 0;
    margin-bottom: var(--spacing-lg);
}

.service-card .btn {
    margin-top: auto;
    flex-shrink: 0;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 600;
    font-size: 1.1em;
    text-shadow: 0 1px 2px rgba(16, 185, 129, 0.2);
}

/* About Section */
.about {
    padding: var(--spacing-3xl) 0;
    background: var(--gray-50);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

.about-description {
    font-size: var(--font-size-lg);
    color: var(--gray-600);
    margin-bottom: var(--spacing-xl);
}

.expertise-areas h3 {
    margin-bottom: var(--spacing-lg);
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
}

.expertise-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.expertise-item i {
    color: var(--primary);
    font-size: var(--font-size-lg);
}

.experience-timeline {
    position: relative;
    padding-left: var(--spacing-xl);
}

.experience-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary);
}

.timeline-item {
    position: relative;
    margin-bottom: var(--spacing-xl);
}

.timeline-marker {
    position: absolute;
    left: -var(--spacing-xl);
    top: 0;
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
    border: 3px solid var(--white);
    box-shadow: var(--shadow-sm);
}

.timeline-content h4 {
    color: var(--primary);
    margin-bottom: var(--spacing-xs);
}

/* Activities Section */
.activities {
    padding: var(--spacing-3xl) 0;
    background: var(--white);
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-xl);
}

.activity-card {
    display: block;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all var(--transition-base);
    text-decoration: none;
    color: inherit;
}

.activity-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.activity-image {
    height: 200px;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.activity-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.activity-content {
    padding: var(--spacing-xl);
}

.activity-content h3 {
    margin-bottom: var(--spacing-sm);
    color: var(--gray-900);
}

.activity-content p {
    color: var(--gray-600);
    margin-bottom: var(--spacing-md);
}

.activity-link {
    color: var(--primary);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.activity-link i {
    transition: transform var(--transition-fast);
}

.activity-card:hover .activity-link i {
    transform: translateX(4px);
}

/* About Section */
.about {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 5rem 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text .section-title {
    color: #333;
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
    font-weight: 700;
}

.about-description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 3rem;
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.highlight-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.highlight-content h3 {
    color: #333;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.highlight-content p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.about-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.about-image {
    position: relative;
}

.about-image .profile-image {
    width: 300px;
    height: 300px;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.about-image .profile-image:hover {
    transform: scale(1.02);
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    width: 100%;
    max-width: 600px;
}

.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    min-width: 180px;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.stat-card .stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: #667eea;
    margin-bottom: 0.5rem;
    display: block;
}

.stat-card .stat-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 0.5rem;
    white-space: normal;
    word-wrap: break-word;
    line-height: 1.5;
}

/* Responsive About Section */
@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-text .section-title {
        font-size: 2rem;
    }
    
    .about-description {
        font-size: 1.1rem;
    }
    
    .about-image .profile-image {
        width: 250px;
        height: 250px;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .highlight-item {
        flex-direction: column;
        text-align: center;
    }
    
    .highlight-icon {
        align-self: center;
    }
}

/* Contact Section */
.contact {
    padding: var(--spacing-3xl) 0;
    background: var(--gray-50);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
}

.contact-description {
    font-size: var(--font-size-lg);
    color: var(--gray-600);
    margin-bottom: var(--spacing-xl);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.contact-item i {
    width: 60px;
    height: 60px;
    background: var(--gray-200);
    color: var(--gray-900);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    border: 1px solid var(--gray-300);
}

.contact-item h4 {
    margin-bottom: var(--spacing-xs);
    color: var(--gray-900);
    font-weight: 600;
}

.contact-item a {
    color: var(--gray-900);
    font-weight: 500;
    text-decoration: none;
}

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

.contact-item p {
    color: var(--gray-900);
    margin: 0;
    line-height: 1.6;
}

/* Contact Form */
.contact-form {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-group label {
    display: block;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: var(--spacing-sm);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: var(--spacing-md);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-lg);
    font-size: var(--font-size-base);
    transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* Footer */
.footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: var(--spacing-3xl) 0 var(--spacing-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--spacing-3xl);
    margin-bottom: var(--spacing-xl);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.footer-logo {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-lg);
}

.footer-brand h3 {
    color: var(--white);
    margin-bottom: var(--spacing-xs);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: var(--spacing-md);
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: var(--spacing-sm);
}

.footer-section a {
    color: var(--gray-400);
    transition: color var(--transition-fast);
}

.footer-section a:hover {
    color: var(--white);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--gray-700);
}

.footer-social {
    display: flex;
    gap: var(--spacing-md);
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--gray-800);
    color: var(--gray-400);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: var(--primary);
    color: var(--white);
}

/* Responsive Design */
@media (max-width: 1400px) {
    .hero-container {
        max-width: 100%;
        padding: 0 var(--spacing-lg);
    }
}

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-about-image {
        padding: var(--spacing-sm);
    }
    
    .hero-about-image .profile-image {
        width: 260px;
        height: 260px;
    }
    
    .hero-about-stats {
        max-width: 100%;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
}

@media (max-width: 768px) {
    .nav-profile-mini {
        width: 28px;
        height: 28px;
        margin-left: var(--spacing-xs);
    }
    
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: var(--spacing-xl);
        border-bottom: 1px solid var(--gray-200);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-base);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: var(--font-size-4xl);
    }
    
    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        max-width: 100%;
        margin: var(--spacing-lg) 0 0;
        gap: 1rem;
        padding: 1rem;
    }
    
    .stat-item {
        min-width: 180px;
        min-height: 150px;
        padding: 1.25rem 0.75rem;
    }
    
    .stat-label {
        font-size: 0.875rem;
        line-height: 1.5;
    }
    
    @media (max-width: 768px) {
        .hero-stats {
            grid-template-columns: 1fr;
            gap: 1rem;
        }
        
        .stat-item {
            min-width: 100%;
            min-height: 120px;
        }
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .activities-grid {
        grid-template-columns: 1fr;
    }
    
    .expertise-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--spacing-md);
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-md);
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn {
        justify-content: center;
    }
    
    /* Service Cards Mobile Optimization */
    .services-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .service-card {
        min-height: auto;
        padding: var(--spacing-lg);
    }
    
    .service-card .btn {
        min-height: 44px;
        font-size: var(--font-size-sm);
    }
    
    .profile-image {
        width: 250px;
        height: 250px;
        object-fit: cover !important;
        object-position: center top !important;
        aspect-ratio: 1/1;
        max-width: 250px;
        max-height: 250px;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mb-3 { margin-bottom: var(--spacing-lg); }
.mb-4 { margin-bottom: var(--spacing-xl); }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }
.mt-3 { margin-top: var(--spacing-lg); }
.mt-4 { margin-top: var(--spacing-xl); }

/* Projects Section Styles */
.projects-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #e5e7eb;
}

.projects-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 2rem;
    text-align: center;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.project-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.project-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.project-logo {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-right: 1rem;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.project-info h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.project-type {
    color: #6b7280;
    font-size: 0.875rem;
    font-weight: 500;
}

.project-content p {
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.project-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-tag {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.375rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

/* Text Effects */
.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-glow {
    text-shadow: 0 0 20px rgba(99, 102, 241, 0.5), 0 0 40px rgba(99, 102, 241, 0.3);
    color: var(--primary);
}

.text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3), 4px 4px 8px rgba(0, 0, 0, 0.2);
}

.text-animated {
    animation: textPulse 2s ease-in-out infinite alternate;
}

@keyframes textPulse {
    0% { 
        transform: scale(1);
        opacity: 1;
    }
    100% { 
        transform: scale(1.02);
        opacity: 0.9;
    }
}

.hidden { display: none; }
.block { display: block; }
.flex { display: flex; }
.grid { display: grid; }

/* Language Switcher */
.language-switcher {
    display: flex;
    gap: 0.5rem;
    margin-left: 1rem;
    padding-left: 1rem;
    border-left: 1px solid #e5e7eb;
}

.lang-link {
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    color: #6b7280;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.lang-link:hover {
    color: #6366f1;
    background: #f3f4f6;
}

.lang-link.active {
    color: #6366f1;
    background: #eef2ff;
    border-color: #6366f1;
}

@media (max-width: 768px) {
    .language-switcher {
        margin-left: 0;
        padding-left: 0;
        border-left: none;
        border-top: 1px solid #e5e7eb;
        padding-top: 1rem;
        margin-top: 1rem;
        justify-content: center;
    }
}

/* 🚀 Modern Application Management Service Card Enhancements */
.service-card.modern-highlight {
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
    overflow: hidden;
}

.service-card.modern-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="white" opacity="0.1"/><circle cx="80" cy="40" r="1.5" fill="white" opacity="0.1"/><circle cx="40" cy="70" r="1" fill="white" opacity="0.1"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.service-card.modern-highlight:hover {
    transform: scale(1.05) translateY(-8px);
    box-shadow: 0 30px 60px rgba(102, 126, 234, 0.4);
}

.service-card.modern-highlight:hover h3 {
    color: white;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.8), 
                 0 0 30px rgba(255, 255, 255, 0.6), 
                 0 0 40px rgba(255, 255, 255, 0.4);
    animation: titleGlowPulse 1.5s ease-in-out infinite alternate;
}

@keyframes titleGlowPulse {
    0% { 
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.8), 
                     0 0 30px rgba(255, 255, 255, 0.6), 
                     0 0 40px rgba(255, 255, 255, 0.4);
        transform: scale(1);
    }
    100% { 
        text-shadow: 0 0 25px rgba(255, 255, 255, 1), 
                     0 0 35px rgba(255, 255, 255, 0.8), 
                     0 0 45px rgba(255, 255, 255, 0.6);
        transform: scale(1.02);
    }
}

.service-card.modern-highlight .service-icon {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: iconFloat 3s ease-in-out infinite;
}

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

.service-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.4);
    animation: pulseGlow 2s infinite;
    z-index: 2;
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(251, 191, 36, 0.4);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 4px 25px rgba(251, 191, 36, 0.6);
        transform: scale(1.05);
    }
}

.modern-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    backdrop-filter: blur(10px);
    gap: 0.5rem;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.modern-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.service-card.modern-highlight h3 {
    position: relative;
    z-index: 2;
    margin-bottom: 1rem;
}

.service-card.modern-highlight p {
    position: relative;
    z-index: 2;
    opacity: 0.95;
}

.service-card.modern-highlight .service-features {
    position: relative;
    z-index: 2;
}

.service-card.modern-highlight .service-features li {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}
