/* ============================================
   EXPERTISE PAGE - CSS STYLES
   ============================================ */

/* AJAX Loading Styles */
.loading-spinner {
    text-align: center;
    padding: 50px 0;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.initial-message, .error-message {
    text-align: center;
    padding: 60px 20px;
    background: #f8f9fa;
    border-radius: 10px;
    margin: 20px 0;
}

.error-message {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
}

.dynamic-content-container {
    min-height: 400px;
    padding: 40px 0;
}

/* Expertise Grid Styles */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.expertise-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid #e9ecef;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: relative;
}

.in-work-badge {
    position: absolute;
    top: -3px;
    right: -3px;
    width: 80px;
    height: 80px;
    background: #e5e5e5;
    border-radius: 5px 15px 5px 5px;
    border: 1px solid #ccc;
}

.in-work-badge img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.expertise-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: #3498db;
}

.expertise-card.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #667eea;
    transform: translateY(-5px);
}

.expertise-card.active h3,
.expertise-card.active p {
    color: white;
}

.tech-logo {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
}

.ajax-logo, .json-logo, .xaml-logo {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
}

.expertise-card h3 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.expertise-card p {
    color: #7f8c8d;
    font-size: 0.95rem;
    margin: 0;
}

/* Welcome Section Styles */
.expertise-welcome {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.welcome-header {
    text-align: center;
    margin-bottom: 40px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 30px;
}

.welcome-header h2 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 2.2rem;
}

.welcome-subtitle {
    color: #7f8c8d;
    font-size: 1.2rem;
    margin: 0;
}

.welcome-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.welcome-section {
    text-align: center;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.section-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.welcome-section h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.welcome-section p {
    color: #495057;
    line-height: 1.6;
    margin: 0;
}

.getting-started {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
}

.getting-started h3 {
    color: white;
    margin-bottom: 15px;
}

.getting-started p {
    margin-bottom: 20px;
    opacity: 0.95;
}

.highlight-box {
    background: rgba(255,255,255,0.1);
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid rgba(255,255,255,0.3);
}

.highlight-box p {
    margin: 0;
    font-size: 0.95rem;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .expertise-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 15px;
    }
    
    .expertise-card {
        padding: 20px;
    }
    
    .tech-logo {
        width: 50px;
        height: 50px;
    }
    
    .ajax-logo, .json-logo, .xaml-logo {
        font-size: 2.5rem;
    }
    
    .expertise-welcome {
        padding: 25px;
    }
    
    .welcome-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .getting-started {
        padding: 20px;
    }
}
