/**
 * IT Expert Hub - Cards Frontend Styles
 * Version: 3.0.0 - FESTE FARBEN - Modern, Clean, UX-Friendly
 * Alle Farben sind fest definiert - KEINE Admin-Einstellungen mehr!
 * 
 * @package IT_Expert_Profiles
 */

/* ========================================
   FESTE FARBDEFINITIONEN - Nicht über Admin änderbar
   ======================================== */

:root {
    /* Expert Colors - FEST */
    --expert-primary: #667eea !important;
    --expert-primary-hover: #5568d3 !important;
    --expert-secondary: #764ba2 !important;
    --expert-accent: #10b981 !important;
    --expert-warning: #f59e0b !important;
    --expert-danger: #ef4444 !important;
    
    /* Company Colors - FEST */
    --company-primary: #3b82f6 !important;
    --company-secondary: #2563eb !important;
    
    /* Event Colors - FEST */
    --event-primary: #8b5cf6 !important;
    --event-secondary: #7c3aed !important;
    
    /* Text Colors - FEST */
    --expert-text: #1f2937 !important;
    --expert-text-light: #6b7280 !important;
    --expert-text-lighter: #9ca3af !important;
    
    /* Background Colors - FEST */
    --expert-bg: #ffffff !important;
    --expert-bg-light: #f9fafb !important;
    --expert-bg-lighter: #f3f4f6 !important;
    
    /* Border & Shadow - FEST */
    --expert-border: #e5e7eb !important;
    --expert-border-light: #f3f4f6 !important;
    --expert-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
    --expert-shadow: 0 4px 16px rgba(0, 0, 0, 0.06) !important;
    --expert-shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.12) !important;
    
    /* Transitions - FEST */
    --expert-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    --expert-transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1) !important;
    
    /* Spacing - FEST */
    --expert-radius: 16px !important;
    --expert-radius-sm: 12px !important;
    --expert-radius-lg: 20px !important;
}

/* Überschreibe alle möglichen Container-spezifischen Variablen */
.it-expert-container,
.expert-card,
.company-card,
.event-card,
.post-type-archive-it_expert,
.post-type-archive-company,
.post-type-archive-expert_event,
.tax-expert_specialization,
.tax-expert_skill {
    --expert-primary: #667eea !important;
    --expert-secondary: #764ba2 !important;
    --company-primary: #3b82f6 !important;
    --company-secondary: #2563eb !important;
    --event-primary: #8b5cf6 !important;
    --event-secondary: #7c3aed !important;
}

/* ========================================
   CARD COMPONENTS - Modern & Clean
   ======================================== */

/* Base Card Styles - PROFESSIONELL & CLEAN */
.expert-card,
.company-card,
.event-card {
    background: white !important;
    border-radius: var(--expert-radius);
    border: 1px solid var(--expert-border);
    box-shadow: var(--expert-shadow);
    transition: var(--expert-transition);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Expert Cards - 400px Höhe */
.expert-card {
    height: 400px;
}

/* Company Cards - 350px Höhe */
.company-card {
    height: 350px;
}

/* Event Cards - 380px Höhe */
.event-card {
    height: 380px;
}

.expert-card:hover,
.company-card:hover,
.event-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--expert-shadow-lg);
    border-color: var(--expert-primary);
}

/* Card Header - PROFESSIONELL */
.expert-card-header,
.company-card-header,
.event-card-header {
    position: relative;
    padding: 24px 20px 16px;
    text-align: center;
}

.company-card-header {
    padding: 20px 20px 12px;
}

/* Avatar Styles - 120x120px für bessere Proportionen */
.expert-avatar {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--expert-border);
    box-shadow: var(--expert-shadow-sm);
}

.expert-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.expert-avatar-placeholder {
    background: linear-gradient(135deg, var(--expert-primary) 0%, var(--expert-secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: white !important;
    font-weight: 600;
}

/* Company Logo - 100x100px */
.company-logo {
    width: 100px;
    height: 100px;
    border-radius: var(--expert-radius-sm);
    overflow: hidden;
    border: 2px solid var(--expert-border);
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    box-shadow: var(--expert-shadow-sm);
    transition: var(--expert-transition);
    margin: 0 auto;
}

/* Event Date Display */
.event-date-display {
    width: 100px;
    height: 100px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--event-primary), var(--event-secondary));
    border-radius: var(--expert-radius-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--expert-shadow);
    color: white;
}

.event-day {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    color: white !important;
}

.event-month {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
    color: white !important;
}

.event-icon-placeholder {
    width: 100px;
    height: 100px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--event-primary), var(--event-secondary));
    border-radius: var(--expert-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--expert-shadow);
}

.event-icon-placeholder .dashicons {
    font-size: 48px;
    width: 48px;
    height: 48px;
    color: white !important;
}

.company-logo:hover {
    border-color: var(--company-primary);
    transform: scale(1.05);
}

.company-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.company-logo-placeholder {
    background: linear-gradient(135deg, var(--company-primary) 0%, var(--company-secondary) 100%);
    font-size: 50px;
}

.company-logo-placeholder .dashicons {
    color: white !important;
    font-size: 50px;
    width: 50px;
    height: 50px;
}

/* Card Body - PROFESSIONELL */
.expert-card-body,
.company-card-body,
.event-card-body {
    padding: 0 20px 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow: hidden;
}

.company-card-body {
    padding: 0 20px 12px;
    gap: 8px;
}

/* Schwarze Schrift auf weißem Hintergrund */
.expert-card *,
.company-card *,
.event-card * {
    color: var(--expert-text) !important;
}

.expert-card a,
.company-card a,
.event-card a {
    color: var(--expert-text) !important;
    text-decoration: none;
}

.expert-card a:hover,
.company-card a:hover,
.event-card a:hover {
    color: var(--expert-primary) !important;
}

.expert-card .dashicons,
.company-card .dashicons,
.event-card .dashicons {
    color: var(--expert-primary) !important;
}

/* Card Footer - PROFESSIONELL */
.expert-card-footer,
.company-card-footer,
.event-card-footer {
    padding: 16px 20px;
    border-top: 1px solid var(--expert-border-light);
    background: var(--expert-bg-light);
    margin-top: auto;
}

.company-card-footer {
    padding: 12px 20px;
}

/* Typography - PROFESSIONELL */
.expert-name,
.company-name,
.event-title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.01em;
    margin: 0 0 6px 0;
    color: var(--expert-text) !important;
}

.company-name {
    font-size: 1.15rem;
    margin: 0 0 4px 0;
}

.expert-name a,
.company-name a,
.event-title a {
    color: inherit;
    text-decoration: none;
    transition: var(--expert-transition-fast);
}

.expert-name a:hover,
.company-name a:hover,
.event-title a:hover {
    color: var(--expert-primary);
}

.expert-job-title,
.company-industry,
.event-date {
    font-size: 0.95rem;
    color: var(--expert-text-light);
    font-weight: 500;
    margin: 0 0 10px 0;
}

.company-industry {
    font-size: 0.9rem;
    margin: 0 0 8px 0;
}

.expert-excerpt,
.company-excerpt,
.event-excerpt {
    font-size: 0.95rem;
    color: var(--expert-text-light);
    line-height: 1.6;
    margin: 0;
}

/* Skills - Simple Display (ohne Kasten) in Übersicht */
.expert-skills-simple {
    font-size: 0.875rem;
    color: var(--expert-text-light);
    margin-top: 10px;
    line-height: 1.6;
    padding: 8px 12px;
    background: var(--expert-bg-light);
    border-radius: 8px;
}

/* Skills - Simple Display in Detail-Seiten */
.expert-skills-simple-detail {
    margin-top: 20px;
}

.skills-header-simple {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--expert-text);
    margin-bottom: 12px;
}

.skill-tags-simple {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-tag-simple {
    font-size: 0.85rem;
    color: var(--expert-text-light);
    padding: 0;
    background: none;
    border: none;
    display: inline;
}

.skill-tag-simple:not(:last-child)::after {
    content: " •";
    margin-left: 8px;
    color: var(--expert-border);
}

/* Badges & Tags - NEU POSITIONIERT */
.expert-specialization-badge,
.company-industry-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    box-shadow: var(--expert-shadow-sm);
    z-index: 10;
}

.expert-specialization-badge {
    background: linear-gradient(135deg, var(--expert-primary), var(--expert-secondary));
    color: white !important;
}

.expert-specialization-badge *,
.company-industry-badge * {
    color: white !important;
}

.company-industry-badge {
    background: linear-gradient(135deg, var(--company-primary), var(--company-secondary));
}

/* Premium/Zertifizierungs-Badges OBEN LINKS */
.badge-verified,
.badge-certified {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    box-shadow: var(--expert-shadow-sm);
    z-index: 10;
}

.badge-verified {
    background: var(--expert-accent);
    color: white !important;
}

.badge-verified * {
    color: white !important;
}

.badge-certified {
    background: var(--expert-warning);
    color: white !important;
    top: 44px;
}

.badge-certified * {
    color: white !important;
}

.specialization-tag,
.skill-tag,
.meta-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--expert-transition-fast);
}

.specialization-tag {
    background: linear-gradient(135deg, #e8f4f8 0%, #d4e9f5 100%);
    color: var(--expert-primary);
}

.specialization-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(102, 126, 234, 0.15);
}

.expert-specializations,
.company-meta-badges,
.event-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

/* Availability Badge */
.availability-badge {
    position: absolute;
    bottom: 8px;
    right: 8px;
    padding: 5px 12px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.availability-badge.status-available {
    background: var(--expert-accent);
    color: white;
}

.availability-badge.status-limited {
    background: var(--expert-warning);
    color: white;
}

.availability-badge.status-booked {
    background: var(--expert-danger);
    color: white;
}

/* Social Links */
.expert-social-links,
.company-contact-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.social-link,
.contact-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--expert-bg-light);
    color: var(--expert-text-light) !important;
    border-radius: 50%;
    text-decoration: none;
    transition: var(--expert-transition-fast);
    border: 1px solid var(--expert-border);
}

.social-link:hover,
.contact-link:hover {
    background: var(--expert-primary);
    color: white !important;
    transform: scale(1.1);
    border-color: var(--expert-primary);
}

/* Buttons */
.expert-card-actions,
.company-card-actions,
.event-card-actions {
    display: flex;
    gap: 12px;
}

.btn-view-profile,
.btn-book-expert,
.btn-view-company,
.btn-contact-company,
.btn-view-event,
.btn-register-event {
    flex: 1;
    padding: 12px 24px;
    text-align: center;
    text-decoration: none;
    border-radius: var(--expert-radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--expert-transition);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-view-profile,
.btn-view-company,
.btn-view-event {
    background: white;
    color: var(--expert-text) !important;
    border: 1px solid var(--expert-border);
    font-size: 0.9rem;
    padding: 10px 20px;
}

.btn-view-profile:hover,
.btn-view-company:hover,
.btn-view-event:hover {
    background: var(--expert-bg-light);
    border-color: var(--expert-primary);
    color: var(--expert-primary) !important;
    transform: translateY(-2px);
}

.btn-book-expert,
.btn-contact-company,
.btn-register-event {
    background: linear-gradient(135deg, var(--expert-primary), var(--expert-secondary));
    color: white !important;
    border: none;
    font-size: 0.9rem;
    padding: 10px 20px;
}

.btn-book-expert:hover,
.btn-contact-company:hover,
.btn-register-event:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.btn-contact-company {
    background: linear-gradient(135deg, var(--company-primary), var(--company-secondary));
}

.btn-register-event {
    background: linear-gradient(135deg, var(--event-primary), var(--event-secondary));
}

/* Grid Layouts - Responsive für 3-4 Cards */
.expert-cards-grid,
.company-cards-grid,
.event-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    animation: fadeIn 0.5s ease;
}

/* ========================================
   COMPANY LIST VIEW - MODERN & SCHLICHT
   ======================================== */

.company-list-view {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.company-list-item {
    background: white;
    border: 1px solid var(--expert-border-light);
    border-radius: var(--expert-radius);
    padding: 24px;
    transition: var(--expert-transition);
    box-shadow: var(--expert-shadow-sm);
}

.company-list-item:hover {
    border-color: var(--company-primary);
    box-shadow: var(--expert-shadow);
    transform: translateY(-2px);
}

.company-list-wrapper {
    display: grid;
    grid-template-columns: 100px 1fr auto;
    gap: 24px;
    align-items: start;
}

/* Logo Section */
.company-logo-section {
    flex-shrink: 0;
}

.company-logo-img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    border-radius: var(--expert-radius-sm);
    border: 1px solid var(--expert-border-light);
    padding: 8px;
    background: white;
}

.company-logo-placeholder {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--company-primary), var(--company-secondary));
    border-radius: var(--expert-radius-sm);
    box-shadow: var(--expert-shadow-sm);
}

.company-logo-placeholder .dashicons {
    font-size: 48px;
    width: 48px;
    height: 48px;
    color: white !important;
}

/* Content Section */
.company-content-section {
    flex: 1;
    min-width: 0;
}

.company-header-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.company-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
}

.company-title a {
    color: var(--expert-text);
    text-decoration: none;
    transition: var(--expert-transition-fast);
}

.company-title a:hover {
    color: var(--company-primary);
}

.company-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.badge-premium {
    background: var(--expert-accent);
    color: white !important;
}

.badge-premium .dashicons {
    color: white !important;
    font-size: 14px;
    width: 14px;
    height: 14px;
}

.badge-partner {
    background: var(--expert-warning);
    color: white !important;
}

.badge-partner .dashicons {
    color: white !important;
    font-size: 14px;
    width: 14px;
    height: 14px;
}

.company-industry-text {
    font-size: 0.95rem;
    color: var(--expert-text-light);
    margin-bottom: 12px;
    font-weight: 500;
}

.company-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
}

.meta-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
    color: var(--expert-text-light);
    padding: 4px 10px;
    background: var(--expert-bg-light);
    border-radius: 6px;
}

.meta-tag .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
    color: var(--company-primary) !important;
}

.company-excerpt-text {
    font-size: 0.95rem;
    color: var(--expert-text-light);
    line-height: 1.6;
    margin-bottom: 12px;
}

.company-services-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.service-tag {
    display: inline-block;
    padding: 4px 12px;
    background: white;
    border: 1px solid var(--expert-border);
    border-radius: 16px;
    font-size: 0.8rem;
    color: var(--expert-text);
    font-weight: 500;
    transition: var(--expert-transition-fast);
}

.service-tag:hover {
    background: var(--company-primary);
    color: white;
    border-color: var(--company-primary);
}

/* Actions Section */
.company-actions-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 140px;
}

.btn-company {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--expert-transition);
    white-space: nowrap;
}

.btn-company .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.btn-primary {
    background: var(--company-primary);
    color: white !important;
    border: none;
}

.btn-primary:hover {
    background: var(--company-secondary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-primary .dashicons {
    color: white !important;
}

.btn-secondary {
    background: white;
    color: var(--expert-text) !important;
    border: 1px solid var(--expert-border);
}

.btn-secondary:hover {
    background: var(--expert-bg-light);
    border-color: var(--company-primary);
    color: var(--company-primary) !important;
}

.btn-secondary .dashicons {
    color: var(--expert-text) !important;
}

.btn-secondary:hover .dashicons {
    color: var(--company-primary) !important;
}

/* Responsive */
@media (max-width: 768px) {
    .company-list-wrapper {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .company-logo-section {
        text-align: center;
    }
    
    .company-logo-img,
    .company-logo-placeholder {
        margin: 0 auto;
    }
    
    .company-actions-section {
        width: 100%;
    }
    
    .btn-company {
        width: 100%;
    }
}

/* Bei größeren Bildschirmen maximal 4 Spalten */
@media (min-width: 1400px) {
    .expert-cards-grid,
    .company-cards-grid,
    .event-cards-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Bei mittleren Bildschirmen 3 Spalten */
@media (min-width: 1024px) and (max-width: 1399px) {
    .expert-cards-grid,
    .company-cards-grid,
    .event-cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Bei kleineren Bildschirmen 2 Spalten */
@media (min-width: 768px) and (max-width: 1023px) {
    .expert-cards-grid,
    .company-cards-grid,
    .event-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Bei mobilen Geräten 1 Spalte */
@media (max-width: 767px) {
    .expert-cards-grid,
    .company-cards-grid,
    .event-cards-grid {
        grid-template-columns: 1fr;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   DETAIL PAGES - Single Views
   ======================================== */

.expert-profile-container,
.company-profile-container,
.event-profile-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    font-size: 0.9rem;
    color: var(--expert-text-light);
}

.breadcrumb a {
    color: var(--expert-text-light);
    text-decoration: none;
    transition: var(--expert-transition-fast);
}

.breadcrumb a:hover {
    color: var(--expert-primary);
}

.breadcrumb-separator {
    color: var(--expert-text-lighter);
}

/* Header Card */
.expert-header-card,
.company-header-card,
.event-header-card {
    background: var(--expert-bg);
    border-radius: var(--expert-radius-lg);
    border: 1px solid var(--expert-border);
    box-shadow: var(--expert-shadow);
    padding: 40px;
    margin-bottom: 32px;
    position: relative;
}

.expert-header-content,
.company-header-content,
.event-header-content {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 32px;
    align-items: start;
}

.expert-avatar-wrapper {
    position: relative;
}

.expert-avatar-large,
.company-logo-large {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid var(--expert-bg);
    box-shadow: var(--expert-shadow-lg);
}

.company-logo-large {
    border-radius: var(--expert-radius);
}

.expert-avatar-large img,
.company-logo-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.expert-info,
.company-info,
.event-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.expert-info h1,
.company-info h1,
.event-info h1 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.03em;
    margin: 0;
    color: var(--expert-text);
}

.expert-meta,
.company-meta,
.event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--expert-text-light);
    font-size: 0.95rem;
}

.meta-item svg,
.meta-item .dashicons {
    color: var(--expert-primary);
    flex-shrink: 0;
}

/* Content Sections */
.expert-content-grid,
.company-content-grid,
.event-content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 32px;
}

.content-main,
.content-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.content-section {
    background: var(--expert-bg);
    border-radius: var(--expert-radius);
    border: 1px solid var(--expert-border);
    padding: 32px;
    box-shadow: var(--expert-shadow-sm);
}

.content-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 20px 0;
    color: var(--expert-text);
    padding-bottom: 16px;
    border-bottom: 2px solid var(--expert-border-light);
}

.content-section h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 12px 0;
    color: var(--expert-text);
}

/* Info List */
.info-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.info-item {
    display: flex;
    align-items: start;
    gap: 12px;
    padding: 12px;
    background: var(--expert-bg-light);
    border-radius: var(--expert-radius-sm);
    transition: var(--expert-transition-fast);
}

.info-item:hover {
    background: var(--expert-bg-lighter);
}

.info-label {
    font-weight: 600;
    color: var(--expert-text);
    min-width: 120px;
}

.info-value {
    color: var(--expert-text-light);
    flex: 1;
}

/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
}

.skill-item {
    padding: 12px 16px;
    background: var(--expert-bg-light);
    border-radius: var(--expert-radius-sm);
    text-align: center;
    font-weight: 500;
    color: var(--expert-text);
    transition: var(--expert-transition-fast);
    border: 1px solid var(--expert-border);
}

.skill-item:hover {
    background: var(--expert-primary);
    color: white;
    border-color: var(--expert-primary);
    transform: translateY(-2px);
}

/* Event-Specific Styles */
.event-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: var(--expert-radius-sm);
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-image-placeholder {
    background: linear-gradient(135deg, var(--event-primary) 0%, var(--event-secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.event-image-placeholder .dashicons {
    font-size: 64px;
    width: 64px;
    height: 64px;
    color: white;
}

.price-free {
    color: var(--expert-accent);
    font-weight: 600;
}

.event-availability {
    margin-top: 12px;
}

.availability-bar {
    width: 100%;
    height: 6px;
    background: var(--expert-bg-lighter);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 6px;
}

.availability-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--expert-accent) 0%, var(--expert-warning) 100%);
    transition: var(--expert-transition);
}

.availability-text {
    font-size: 0.85rem;
    color: var(--expert-text-light);
    font-weight: 500;
}

/* Meta Items (für Company & Expert Cards) */
.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--expert-text-light);
    line-height: 1.5;
}

.expert-card .meta-item {
    margin-bottom: 4px;
}

.company-card .meta-item {
    margin-bottom: 3px;
}

.meta-item .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
    color: var(--expert-primary);
    flex-shrink: 0;
}

.company-card .meta-item .dashicons {
    color: var(--company-primary);
}

/* Meta Tags (kleine Badges) */
.company-meta-tags,
.expert-meta-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
}

.meta-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.2);
    color: white !important;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.meta-tag.tag-legal {
    background: rgba(139, 92, 246, 0.1);
    color: #7c3aed;
    border-color: rgba(139, 92, 246, 0.2);
}

.meta-tag.tag-experts {
    background: rgba(59, 130, 246, 0.1);
    color: #2563eb;
    border-color: rgba(59, 130, 246, 0.2);
}

.meta-tag.tag-availability.status-available {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
    border-color: rgba(16, 185, 129, 0.2);
}

.meta-tag.tag-availability.status-limited {
    background: rgba(245, 158, 11, 0.1);
    color: #d97706;
    border-color: rgba(245, 158, 11, 0.2);
}

.meta-tag.tag-availability.status-booked {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    border-color: rgba(239, 68, 68, 0.2);
}

/* Company Industry Badge */
.company-industry-badge {
    background: linear-gradient(135deg, var(--company-primary), var(--company-secondary));
}

/* Badge Styles */
.badge-industry {
    background: rgba(59, 130, 246, 0.12);
    color: #2563eb;
    border: 1px solid rgba(59, 130, 246, 0.25);
}

.badge-legal {
    background: rgba(139, 92, 246, 0.12);
    color: #7c3aed;
    border: 1px solid rgba(139, 92, 246, 0.25);
}

.badge-employees {
    background: rgba(16, 185, 129, 0.12);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.25);
}

.badge-founded {
    background: rgba(245, 158, 11, 0.12);
    color: #d97706;
    border: 1px solid rgba(245, 158, 11, 0.25);
}

.badge-experts {
    background: rgba(99, 102, 241, 0.12);
    color: #6366f1;
    border: 1px solid rgba(99, 102, 241, 0.25);
}

.badge-availability .availability-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
}

/* Loading State */
.expert-cards-loading,
.company-cards-loading,
.event-cards-loading {
    text-align: center;
    padding: 60px 20px;
    color: var(--expert-text-light);
}

.expert-cards-loading::after,
.company-cards-loading::after,
.event-cards-loading::after {
    content: '';
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid var(--expert-border);
    border-top-color: var(--expert-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-top: 20px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Filter Animation */
.filter-tag {
    position: relative;
    overflow: hidden;
}

.filter-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.filter-tag:hover::before {
    left: 100%;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Accessibility */
.expert-card:focus-within {
    outline: 2px solid var(--expert-primary);
    outline-offset: 4px;
}

.btn-view-profile:focus,
.btn-book-expert:focus,
.social-link:focus {
    outline: 2px solid var(--expert-primary);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .expert-filters-section,
    .expert-social-links,
    .btn-book-expert {
        display: none !important;
    }
    
    .expert-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #000;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
    
    .expert-card:hover {
        transform: none !important;
    }
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 1024px) {
    .expert-content-grid,
    .company-content-grid,
    .event-content-grid {
        grid-template-columns: 1fr;
    }
    
    .expert-cards-grid,
    .company-cards-grid,
    .event-cards-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .expert-header-content,
    .company-header-content,
    .event-header-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .expert-avatar-large,
    .company-logo-large {
        margin: 0 auto;
    }
    
    .expert-info h1,
    .company-info h1,
    .event-info h1 {
        font-size: 2rem;
    }
    
    .expert-meta,
    .company-meta,
    .event-meta {
        justify-content: center;
    }
    
    .expert-card-actions,
    .company-card-actions,
    .event-card-actions {
        flex-direction: column;
    }
    
    .btn-view-profile,
    .btn-book-expert,
    .btn-view-company,
    .btn-contact-company,
    .btn-view-event,
    .btn-register-event {
        width: 100%;
    }
    
    .content-section {
        padding: 24px;
    }
    
    .expert-header-card,
    .company-header-card,
    .event-header-card {
        padding: 24px;
    }
    
    /* Keine Grid Animationen */
    .expert-cards-grid,
    .company-cards-grid,
    .event-cards-grid {
        animation: none !important;
    }
    
    /* Keine Hover Effekte auf Cards */
    .expert-card:hover,
    .company-card:hover,
    .event-card:hover {
        transform: none !important;
    }
    
    /* Alle Transitions reduzieren */
    * {
        transition-duration: 0.15s !important;
    }
}

@media (max-width: 480px) {
    .expert-cards-grid,
    .company-cards-grid,
    .event-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    :root {
        --expert-bg: #1a1a1a;
        --expert-bg-light: #2a2a2a;
        --expert-text: #e0e0e0;
        --expert-text-light: #b0b0b0;
        --expert-border: #404040;
    }
    
    .expert-card {
        background: var(--expert-bg-light);
        color: var(--expert-text);
    }
}
