/* Lars Ritter Design System - Enhanced Styles */

/* Hide scrollbar globally */
::-webkit-scrollbar {
    display: none;
}

html {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Hide reCAPTCHA Badge */
.grecaptcha-badge {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Global Variables */
:root {
    --primary-color: #3b82f6;
    --primary-hover: #2563eb;
    --secondary-color: #64748b;
    --background-dark: #0f172a;
    --background-card: rgba(30, 41, 59, 0.3);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --border-color: rgba(148, 163, 184, 0.1);
    --shadow-light: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 8px 25px rgba(0, 0, 0, 0.3);
    --shadow-heavy: 0 12px 40px rgba(0, 0, 0, 0.4);
    --border-radius: 16px;
    --border-radius-sm: 8px;
    --transition: all 0.3s ease;
}

/* Base Styles */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: linear-gradient(135deg, var(--background-dark) 0%, #1e293b 100%);
    font-family: 'Poppins', sans-serif;
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

/* Prevent horizontal overflow globally */
html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

* {
    max-width: 100%;
}

/* Ensure all containers respect viewport width */
.container, main, section, div {
    max-width: 100%;
    box-sizing: border-box;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin: 0;
    line-height: 1.2;
    font-weight: 700;
}

h1 { font-size: clamp(2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); }

p {
    margin: 0;
    line-height: 1.6;
}

/* Layout - Consistent max-width for all sections */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 5vw, 4rem);
    box-sizing: border-box;
}

/* Responsive layout fixes */
.responsive-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding-left: clamp(1rem, 5vw, 4rem);
    padding-right: clamp(1rem, 5vw, 4rem);
    box-sizing: border-box;
}

/* Section container - consistent max-width for all sections */
.section-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 5vw, 4rem);
    box-sizing: border-box;
}

/* Mobile: Feste 5px für alle responsive-container */
@media (max-width: 767px) {
    .responsive-container {
        padding-left: 5px !important;
        padding-right: 5px !important;
    }
    
    main {
        margin-left: 0 !important;
        width: 100% !important;
        max-width: 100vw !important;
    }
}

main {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: hidden;
    margin-left: 0 !important;
    position: relative !important;
    z-index: 10 !important;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
}

/* Desktop Layout - Header-based */
@media (min-width: 1280px) {
    main {
        margin-left: 0 !important;
        width: 100% !important;
        max-width: 100vw !important;
    }
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.text-center {
    text-align: center;
}

/* Font Family */
.font-poppins {
    font-family: 'Poppins', sans-serif;
}

/* Glassmorphism Effects */
.glass-card {
    background: var(--background-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
}

/* .glass-card:hover - Hover-Effekte entfernt */

.stats-card {
    background: rgba(30, 41, 59, 0.4);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.stats-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.stats-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(148, 163, 184, 0.25);
}

.feature-card {
    background: rgba(30, 41, 59, 0.4);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(148, 163, 184, 0.25);
}

.portfolio-card {
    background: var(--background-card);
    backdrop-filter: blur(15px);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.portfolio-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-heavy);
}

.portfolio-image {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Navigation */
.nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 500;
    transition: var(--transition);
    margin-bottom: 2px;
    width: auto;
    background: transparent;
}

.nav-link i {
    font-size: 1.1em;
    min-width: 1.2em;
    text-align: center;
    opacity: 0.85;
}

.nav-link.active, .nav-link:hover {
    background: rgba(59, 130, 246, 0.18);
    color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.08);
}

/* Hervorhebung für "Kontaktiere mich" Menüpunkt in Türkis/Pastellgrün */
.nav-link[data-page="kontaktiere-mich"] {
    background: linear-gradient(135deg, rgba(56, 178, 172, 0.15), rgba(20, 184, 166, 0.08));
    border: 1px solid rgba(56, 178, 172, 0.3);
    color: #5eead4;
    font-weight: 600;
    box-shadow: 0 2px 12px rgba(56, 178, 172, 0.15);
    position: relative;
    overflow: hidden;
}

.nav-link[data-page="kontaktiere-mich"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(56, 178, 172, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-link[data-page="kontaktiere-mich"]:hover {
    background: linear-gradient(135deg, rgba(56, 178, 172, 0.25), rgba(20, 184, 166, 0.15));
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(56, 178, 172, 0.25);
    border-color: rgba(56, 178, 172, 0.5);
}

.nav-link[data-page="kontaktiere-mich"]:hover::before {
    opacity: 1;
}

.nav-link[data-page="kontaktiere-mich"].active {
    background: linear-gradient(135deg, rgba(56, 178, 172, 0.3), rgba(20, 184, 166, 0.2));
    color: #2dd4bf;
    border-color: rgba(56, 178, 172, 0.6);
    box-shadow: 0 4px 20px rgba(56, 178, 172, 0.3);
}

.nav-link[data-page="kontaktiere-mich"] i {
    color: #5eead4;
    text-shadow: 0 0 8px rgba(94, 234, 212, 0.3);
}

/* Footer Links Styling */
.footer-link {
    text-decoration: none;
    font-weight: 500;
}

.footer-link:hover {
    text-decoration: none;
    transform: translateY(-1px);
}

/* Section Separation & Visual Hierarchy */
section {
    position: relative;
    margin-bottom: 4rem;
}

section:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: -2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(148, 163, 184, 0.2), transparent);
}

/* Enhanced Section Headers */
section h2 {
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
    border-radius: 2px;
}

/* Linksbündiger Strich für linksbündige Überschriften */
section h2.text-left::after {
    left: 0;
    transform: none;
}

/* Content Container Improvements */
.content-section {
    background: rgba(30, 41, 59, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 3rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Grid Spacing Improvements */
.grid {
    gap: 2rem;
}

/* Enhanced Glass Cards */
.glass-card {
    background: rgba(30, 41, 59, 0.4);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

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

/* .glass-card:hover - Hover-Effekte entfernt */

/* Language Switcher - Entfernt da nicht verwendet */

/* TidyCal Widget Styling - Optimiert für mobile Ansicht */
.tidycal-container {
    background: rgba(30, 41, 59, 0.4);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.tidycal-container .tidycal-iframe,
.tidycal-container iframe {
    width: 100%;
    min-height: 750px;
    height: auto;
    border: none;
    border-radius: 20px;
    display: block;
}

/* TidyCal responsive Anpassungen */
@media (max-width: 768px) {
    .tidycal-container {
        margin: 0 -0.5rem;
        border-radius: 16px;
        border: 1px solid rgba(59, 130, 246, 0.15);
        overflow: hidden;
    }
    
    .tidycal-container .tidycal-iframe,
    .tidycal-container iframe {
        min-height: 850px;
        height: auto;
        border-radius: 16px;
    }
}

@media (max-width: 480px) {
    .tidycal-container {
        margin: 0 -1rem;
        border-radius: 12px;
        overflow: hidden;
    }
    
    .tidycal-container .tidycal-iframe,
    .tidycal-container iframe {
        min-height: 950px;
        height: auto;
        border-radius: 12px;
    }
}

/* Buttons - Improved Readability */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.025em;
    min-height: 48px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn i {
    margin-right: 0.75rem;
    font-size: 1.1em;
}

.btn-primary {
    background: rgba(59, 130, 246, 0.25);
    backdrop-filter: blur(12px);
    color: #ffffff;
    border: 2px solid rgba(59, 130, 246, 0.4);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: 700;
}

.btn-primary:hover {
    background: rgba(59, 130, 246, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
    border-color: rgba(59, 130, 246, 0.7);
    color: #ffffff;
}

.btn-secondary {
    background: rgba(148, 163, 184, 0.2);
    color: var(--text-secondary);
    border: 1px solid rgba(148, 163, 184, 0.3);
}

.btn-secondary:hover {
    background: rgba(148, 163, 184, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(148, 163, 184, 0.3);
}

/* Prominenter CTA Button */
.btn-cta-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    text-decoration: none;
    border: none;
    border-radius: 16px;
    padding: 1rem 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-cta-primary::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 ease;
}

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

.btn-cta-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.6);
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
}

.btn-cta-primary:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.5);
}



/* Form Elements */
.input-group {
    display: flex;
    align-items: center;
    background: var(--background-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 0.75rem 1rem;
    transition: var(--transition);
}

.input-group:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.input-group i {
    margin-right: 0.75rem;
    color: var(--text-secondary);
}

.input-field {
    background: transparent;
    border: none;
    color: var(--text-primary);
    flex: 1;
    outline: none;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
}

.input-field::placeholder {
    color: var(--secondary-color);
}

/* Clean Minimalist CTA Footer */
.cta-footer {
    position: relative;
    z-index: 10;
}

.cta-minimal {
    background: rgba(59, 130, 246, 0.08);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(59, 130, 246, 0.2);
    border-radius: 24px;
    padding: 3rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 8px 32px rgba(59, 130, 246, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    position: relative;
    overflow: hidden;
}

.cta-minimal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.4), transparent);
}

.cta-minimal:hover {
    transform: translateY(-4px);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 
        0 16px 48px rgba(59, 130, 246, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.cta-title {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.cta-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.25rem 3rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.9), rgba(37, 99, 235, 0.9));
    color: #ffffff;
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: 16px;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 8px 24px rgba(59, 130, 246, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.cta-button::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 ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-2px) scale(1.02);
    border-color: rgba(59, 130, 246, 0.6);
    box-shadow: 
        0 12px 32px rgba(59, 130, 246, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}

.cta-button i {
    font-size: 1.1em;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

/* Hero Image - Simple and Clean */
.hero-image-wrapper-simple {
    position: relative;
    display: inline-block;
    width: 100%;
}

.hero-image-simple {
    width: 420px;
    height: auto;
    max-width: 100%;
    display: block;
}

.hero-image-wrapper-simple::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 4px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(59, 130, 246, 0.3) 20%, 
        rgba(59, 130, 246, 0.8) 50%, 
        rgba(59, 130, 246, 0.3) 80%, 
        transparent 100%
    );
    border-radius: 8px;
    box-shadow: 
        0 0 25px rgba(59, 130, 246, 0.5),
        0 5px 14px rgba(0, 0, 0, 0.25);
    /* Optimierte Animation: Nur opacity und transform statt box-shadow */
    animation: pulse-glow 3s ease-in-out infinite;
    will-change: opacity, transform;
}

.hero-image-wrapper-simple::before {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 40%;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.6), 
        transparent
    );
    z-index: 1;
}

/* Optimierte Animation: Verwendet nur compositor-freundliche Properties (opacity, transform) */
@keyframes pulse-glow {
    0%, 100% {
        opacity: 0.7;
        transform: translateX(-50%) scale(1);
    }
    50% {
        opacity: 1;
        transform: translateX(-50%) scale(1.02);
    }
}

/* Responsive Hero Image */
@media (max-width: 1024px) {
    .hero-image-simple {
        width: 360px;
    }
}

@media (max-width: 768px) {
    .hero-image-simple {
        width: 300px;
    }
    
    .hero-image-wrapper-simple::after {
        bottom: 0;
        height: 3px;
        width: 50%;
    }
    
    .hero-image-wrapper-simple::before {
        bottom: 1px;
        width: 30%;
    }
}

@media (max-width: 640px) {
    .hero-image-simple {
        width: 260px;
    }
}

@media (max-width: 480px) {
    .hero-image-simple {
        width: 240px;
    }
    
    .hero-image-wrapper-simple::after {
        bottom: 0;
        height: 2px;
        width: 40%;
    }
    
    .hero-image-wrapper-simple::before {
        bottom: 1px;
        width: 25%;
    }
}

@media (max-width: 360px) {
    .hero-image-simple {
        width: 220px;
    }
}

/* Research Paper Cards */
.research-paper-card {
    background: rgba(30, 41, 59, 0.4);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    position: relative;
    width: 280px;
    max-width: 100%;
    text-decoration: none;
    color: inherit;
    display: block;
}

.research-paper-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    border-color: rgba(59, 130, 246, 0.2);
    text-decoration: none;
    color: inherit;
}

.paper-thumbnail {
    position: relative;
    aspect-ratio: 210/297; /* A4 Hochformat wie Diplome */
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(37, 99, 235, 0.02));
    overflow: hidden;
}

.paper-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: rgba(30, 41, 59, 0.6);
}

.paper-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.paper-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.research-paper-card:hover .paper-overlay {
    opacity: 1;
}

.research-paper-card:hover .paper-thumbnail img {
    transform: scale(1.05);
}

.paper-info {
    padding: 1rem;
    text-align: center;
}

.paper-title {
    font-size: 1rem;
    font-weight: 600;
    color: #60a5fa;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.paper-meta {
    font-size: 0.875rem;
    color: #d1d5db;
    font-weight: 400;
}

/* Responsive Paper Grid */
@media (max-width: 768px) {
    .research-paper-card {
        border-radius: 10px;
        width: 240px;
    }
    
    .paper-info {
        padding: 0.75rem;
    }
    
    .paper-title {
        font-size: 0.95rem;
    }
    
    .paper-meta {
        font-size: 0.8rem;
    }
}

@media (max-width: 640px) {
    .research-paper-card {
        width: 100%;
        max-width: 300px;
    }
    
    .paper-info {
        padding: 0.5rem;
    }
    
    .paper-title {
        font-size: 0.9rem;
        margin-bottom: 0.25rem;
    }
    
    .paper-meta {
        font-size: 0.75rem;
    }
    
}

@media (max-width: 480px) {
    .research-paper-card {
        width: 100%;
        max-width: 280px;
    }
    
    .paper-info {
        padding: 0.4rem;
    }
    
    .paper-title {
        font-size: 0.85rem;
    }
    
    .paper-meta {
        font-size: 0.7rem;
    }
}

/* Minimalist Testimonial Cards */
.testimonial-minimal {
    background: rgba(30, 41, 59, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(251, 191, 36, 0.3);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.testimonial-minimal:hover {
    transform: translateY(-2px);
    background: rgba(30, 41, 59, 0.3);
    border-color: rgba(251, 191, 36, 0.6);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.15),
        0 0 20px rgba(251, 191, 36, 0.1);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.testimonial-quote {
    color: #e2e8f0;
    font-size: 1rem;
    line-height: 1.7;
    font-style: italic;
    margin: 0;
    flex-grow: 1;
    position: relative;
    padding: 0;
    border: none;
    font-weight: 400;
}

.testimonial-quote::before {
    content: '"';
    position: absolute;
    top: -0.5rem;
    left: -0.75rem;
    font-size: 3rem;
    color: rgba(59, 130, 246, 0.15);
    font-family: serif;
    line-height: 1;
    font-style: normal;
}

.author-avatar-large {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.8), rgba(37, 99, 235, 0.6));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.25rem;
    flex-shrink: 0;
    border: 2px solid rgba(251, 191, 36, 0.4);
    transition: all 0.3s ease;
    overflow: hidden;
}

.author-avatar-large img {
    border: none;
    transition: all 0.3s ease;
}

.testimonial-minimal:hover .author-avatar-large {
    border-color: rgba(251, 191, 36, 0.7);
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.3);
}

.testimonial-minimal:hover .author-avatar-large img {
    transform: scale(1.05);
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.author-name {
    color: #f8fafc;
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1.2;
}

.author-title {
    color: #94a3b8;
    font-size: 0.8rem;
    font-weight: 400;
    line-height: 1.2;
}

/* Responsive Testimonial Grid */
@media (max-width: 1024px) {
    .testimonial-minimal {
        padding: 1.75rem;
        gap: 1.25rem;
    }
    
    .author-avatar-large {
        width: 3.5rem;
        height: 3.5rem;
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .testimonial-minimal {
        padding: 1.5rem;
        gap: 1rem;
        border-radius: 10px;
    }
    
    .testimonial-header {
        gap: 0.875rem;
        margin-bottom: 1.25rem;
    }
    
    .author-avatar-large {
        width: 3rem;
        height: 3rem;
        font-size: 1rem;
    }
    
    .testimonial-quote {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .testimonial-quote::before {
        font-size: 2.5rem;
        top: -0.25rem;
        left: -0.5rem;
    }
    
    .author-name {
        font-size: 0.85rem;
    }
    
    .author-title {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .testimonial-minimal {
        padding: 1.25rem;
        gap: 0.875rem;
    }
    
    .testimonial-header {
        gap: 0.75rem;
        margin-bottom: 1rem;
    }
    
    .author-avatar-large {
        width: 2.75rem;
        height: 2.75rem;
        font-size: 0.9rem;
    }
    
    .testimonial-quote {
        font-size: 0.9rem;
    }
    
    .testimonial-quote::before {
        font-size: 2rem;
        top: -0.125rem;
        left: -0.375rem;
    }
}

/* Logo Carousel */
.logo-carousel-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
    background: rgba(30, 41, 59, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(148, 163, 184, 0.08);
    border-radius: 16px;
    padding: 2rem 0;
    position: relative;
    box-sizing: border-box;
}

.logo-carousel-container::before,
.logo-carousel-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.logo-carousel-container::before {
    left: 0;
    background: linear-gradient(90deg, rgba(30, 41, 59, 0.8), transparent);
}

.logo-carousel-container::after {
    right: 0;
    background: linear-gradient(270deg, rgba(30, 41, 59, 0.8), transparent);
}

.logo-carousel {
    display: flex;
    align-items: center;
    animation: scroll-logos 30s linear infinite;
    width: max-content;
}

.logo-carousel:hover {
    animation-play-state: paused;
}

.logo-item {
    flex-shrink: 0;
    margin: 0 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    transition: all 0.3s ease;
    min-width: 0;
    text-decoration: none;
    cursor: pointer;
}

.logo-image {
    max-height: 90px;
    max-width: 280px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.7);
    transition: all 0.3s ease;
}

.logo-item:hover .logo-image {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.05);
}

.logo-item:focus {
    outline: 2px solid rgba(59, 130, 246, 0.5);
    outline-offset: 4px;
    border-radius: 8px;
}

.logo-item:focus .logo-image {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.05);
}

@keyframes scroll-logos {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Responsive Logo Carousel */
@media (max-width: 1024px) {
    .logo-carousel-container {
        padding: 2rem 0;
    }
    
    .logo-item {
        margin: 0 3rem;
        height: 100px;
    }
    
    .logo-image {
        max-height: 75px;
        max-width: 240px;
    }
    
    .logo-carousel {
        animation-duration: 25s;
    }
}

@media (max-width: 768px) {
    .logo-carousel-container {
        padding: 1.75rem 0;
        border-radius: 12px;
        margin: 0 auto;
    }
    
    .logo-carousel-container::before,
    .logo-carousel-container::after {
        width: 60px;
    }
    
    .logo-item {
        margin: 0 2rem;
        height: 80px;
    }
    
    .logo-image {
        max-height: 55px;
        max-width: 170px;
    }
    
    .logo-carousel {
        animation-duration: 20s;
    }
}

@media (max-width: 480px) {
    .logo-carousel-container {
        padding: 1.5rem 0;
        margin: 0 auto;
        border-radius: 8px;
        width: 100%;
    }
    
    .logo-carousel-container::before,
    .logo-carousel-container::after {
        width: 40px;
    }
    
    .logo-item {
        margin: 0 1.25rem;
        height: 60px;
    }
    
    .logo-image {
        max-height: 40px;
        max-width: 130px;
    }
    
    .logo-carousel {
        animation-duration: 16s;
    }
}

/* Bullet Cards */
.bullet-card {
    transition: var(--transition);
    cursor: pointer;
}

.bullet-card:hover,
.bullet-card:focus-within {
    transform: translateY(-4px);
    box-shadow: var(--shadow-heavy);
    border-color: rgba(59, 130, 246, 0.3);
}

/* TidyCal Widget - EINFACH MITTIG */
.tidycal-container {
    width: 100%;
}

.tidycal-embed {
    width: 100% !important;
}

.tidycal-embed iframe {
    width: 100% !important;
    min-height: 600px !important;
    border: none !important;
}

/* Mobile: Widget EXAKT mittig */
@media (max-width: 767px) {
    .tidycal-embed iframe {
        min-height: 500px !important;
    }
    
    /* WIDGET MITTIG MACHEN */
    .tidycal-container {
        margin: 0 auto !important;
        text-align: center !important;
    }
    
    .tidycal-embed {
        margin: 0 auto !important;
        display: block !important;
    }
}

/* Responsive Section Spacing */
.section-spacing {
    margin-bottom: 8rem; /* 128px - Desktop */
}

@media (max-width: 1279px) {
    .section-spacing {
        margin-bottom: 6rem; /* 96px - Large Tablet */
    }
}

@media (max-width: 1023px) {
    .section-spacing {
        margin-bottom: 5rem; /* 80px - Tablet */
    }
}

@media (max-width: 767px) {
    .section-spacing {
        margin-bottom: 6rem; /* 96px - Mobile - Deutlicher Abstand zwischen Sektionen */
    }
}

@media (max-width: 479px) {
    .section-spacing {
        margin-bottom: 5rem; /* 80px - Small Mobile - Deutlicher Abstand zwischen Sektionen */
    }
}

/* Mobile Responsivität Fix */
@media (max-width: 1023px) {
    main {
        margin-left: 0 !important;
        width: 100% !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    
    
    /* Alte Transform-Regel entfernt - verwenden jetzt left-Property */
    
    /* NOTFALL: Komplett ohne body-Manipulation für Safari */
    /* Alle body-Styles entfernt - Safari Browser-UI bleibt unverändert */
    
    
    /* Alle Sections auf volle Breite */
    section {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    /* Container Anpassungen */
    .w-full.max-w-5xl,
    .w-full.max-w-6xl,
    .w-full.max-w-4xl {
        max-width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

/* Hero Section Responsive */
@media (max-width: 1023px) {
    .hero-section {
        padding-top: 6rem !important;
        padding-bottom: 4rem !important;
    }
}

@media (max-width: 767px) {
    .hero-section {
        padding-top: 6rem !important;
        padding-bottom: 3rem !important;
    }
}

@media (max-width: 479px) {
    .hero-section {
        padding-top: 5rem !important;
        padding-bottom: 2rem !important;
    }
}


/* Spezielle Mobile Anpassungen */
@media (max-width: 768px) {
    main {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }
    
    /* Reduzierte Abstände für mobile Geräte - NICHT section-spacing überschreiben */
    section:not(.section-spacing) {
        margin-bottom: 2rem !important;
    }
    
    /* Deutliche Abstände zwischen Sektionen auf Mobile */
    .section-spacing {
        margin-bottom: 6rem !important;
    }
    
    .pt-20.md\\:pt-32 {
        padding-top: 4rem !important;
    }
    
    .pb-24.md\\:pb-32 {
        padding-bottom: 4rem !important;
    }
}

@media (max-width: 480px) {
    main {
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }
    
    /* Deutliche Abstände zwischen Sektionen auf kleinen Mobiles */
    .section-spacing {
        margin-bottom: 5rem !important;
    }
    
    .pt-20.md\\:pt-32 {
        padding-top: 3rem !important;
    }
    
    .pb-24.md\\:pb-32 {
        padding-bottom: 3rem !important;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 clamp(1rem, 4vw, 3rem);
    }
    
    .glass-card {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 clamp(0.75rem, 3vw, 2rem);
    }
    
    .glass-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .stats-card,
    .feature-card {
        padding: 1.5rem;
    }
    
    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
        min-height: 44px;
    }
    
    h1 { font-size: clamp(1.75rem, 6vw, 3rem); }
    h2 { font-size: clamp(1.5rem, 5vw, 2rem); }
    
    /* Mobile CTA Anpassungen */
    .cta-minimal {
        padding: 2rem;
    }
    
    .cta-title {
        font-size: 1.75rem;
    }
    
    .cta-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .cta-button {
        font-size: 1.1rem;
        padding: 1rem 2.5rem;
    }
    
    /* Mobile Section Spacing */
    section {
        margin-bottom: 3rem;
    }
    
    section:not(:last-child)::after {
        bottom: -1.5rem;
        width: 60%;
        max-width: 150px;
    }
    
    .content-section {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .grid {
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 clamp(0.5rem, 2vw, 1rem);
    }
    
    .glass-card {
        padding: 0.75rem;
        border-radius: 12px;
    }
    
    .btn {
        padding: 0.625rem 1rem;
        font-size: 0.875rem;
    }
    
    .nav-link {
        padding: 0.625rem 0.75rem;
        font-size: 0.9rem;
    }
    
    /* Small Screen CTA Anpassungen */
    .cta-minimal {
        padding: 1.5rem;
        border-radius: 16px;
    }
    
    .cta-title {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }
    
    .cta-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .cta-button {
        font-size: 1rem;
        padding: 0.875rem 2rem;
    }
}

/* Animation Classes */
.hover-lift {
    transition: var(--transition);
}

.hover-lift:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.focus-ring {
    transition: var(--transition);
}

.focus-ring:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5);
}

.color-transition {
    transition: color 0.2s ease, background-color 0.2s ease;
}

/* SCROLLBAR STYLES ENTFERNT - SIEHE ENDE DER DATEI */

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

.slide-in {
    animation: slideIn 0.6s ease-out;
}

/* Utility Classes */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.success {
    color: #10b981 !important;
    border-color: #10b981 !important;
}

.error {
    color: #ef4444 !important;
    border-color: #ef4444 !important;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.border-gradient {
    border: 2px solid transparent;
    background: linear-gradient(135deg, var(--primary-color), #8b5cf6) border-box;
}

/* Mobile-spezifische Anpassung für Sprachschalter - Entfernt */

/* Kontakt-Karten Gleichhöhe und einheitliche Abstände */
.contact-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 420px;
}

.contact-card-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.contact-card-header {
    flex-shrink: 0;
}

.contact-card-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 1.5rem 0;
}

.contact-card-footer {
    flex-shrink: 0;
    margin-top: auto;
}

.contact-card .contact-description {
    height: 3.5rem; /* Feste Höhe für Beschreibungstext */
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.contact-card .contact-timing {
    margin-bottom: 1.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Anpassungen für Kontakt-Karten */
@media (max-width: 768px) {
    .contact-card {
        min-height: 380px;
    }
    
    .contact-card .contact-description {
        height: auto;
        min-height: 3rem;
    }
}


/* Services Section - Header Styling */
.services-section-header h2 {
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.services-section-header p {
    color: #cbd5e1;
    font-weight: 400;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Services Section - Detailed Cards */
.service-card {
    background: rgba(30, 41, 59, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    background: rgba(30, 41, 59, 0.6);
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.service-card-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.service-icon-detailed {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(37, 99, 235, 0.1));
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
    transition: all 0.4s ease;
}

.service-icon-detailed i {
    font-size: 1.5rem;
    color: #60a5fa;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon-detailed {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(37, 99, 235, 0.2));
    border-color: rgba(59, 130, 246, 0.5);
    transform: scale(1.1);
    box-shadow: 0 0 25px rgba(59, 130, 246, 0.4);
}

.service-card:hover .service-icon-detailed i {
    color: #3b82f6;
    transform: scale(1.1);
}

.service-card-title {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0;
    transition: color 0.3s ease;
}

.service-card:hover .service-card-title {
    color: #60a5fa;
}

.service-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-card-description {
    color: #cbd5e1;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-align: center;
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
}

.service-features {
    list-style: none;
    padding: 0 1rem;
    margin: 0;
    flex: 1;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.service-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    color: #e2e8f0;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0.875rem;
    padding: 0.25rem 0;
    text-align: left;
}

.service-features li:last-child {
    margin-bottom: 0;
}

.service-features i {
    margin-top: 0.125rem;
    flex-shrink: 0;
    width: 1rem;
    text-align: center;
}

/* Secondary Button Style */
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(148, 163, 184, 0.1);
    border: 2px solid rgba(148, 163, 184, 0.3);
    color: #e2e8f0;
    padding: 0.875rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(148, 163, 184, 0.2);
    border-color: rgba(148, 163, 184, 0.5);
    color: #ffffff;
    transform: translateY(-2px);
}

/* Mobile Responsiveness for Service Cards */
@media (max-width: 1023px) {
    .service-card {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .service-icon-detailed {
        width: 3.5rem;
        height: 3.5rem;
    }
    
    .service-icon-detailed i {
        font-size: 1.25rem;
    }
    
    /* Services grid becomes single column on tablet */
    .grid.lg\\:grid-cols-2 {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
}

@media (max-width: 767px) {
    .service-card {
        padding: 1.5rem 1.25rem;
        margin-bottom: 1.5rem;
        border-radius: 12px;
    }
    
    .service-card-header {
        margin-bottom: 1.25rem;
    }
    
    .service-icon-detailed {
        width: 3rem;
        height: 3rem;
        margin-bottom: 0.875rem;
        border-radius: 12px;
    }
    
    .service-icon-detailed i {
        font-size: 1.125rem;
    }
    
    .service-card-title {
        font-size: 1.125rem;
        line-height: 1.3;
    }
    
    .service-card-description {
        font-size: 0.95rem;
        margin-bottom: 1.25rem;
        line-height: 1.5;
    }
    
    .service-features {
        padding: 0 0.75rem;
        max-width: 100%;
    }
    
    .service-features li {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
        gap: 0.75rem;
        align-items: flex-start;
        line-height: 1.5;
        padding: 0.125rem 0;
    }
    
    .service-features i {
        margin-top: 0.25rem;
        font-size: 0.875rem;
        width: 0.875rem;
    }
    
    /* Better spacing for mobile */
    .grid.lg\\:grid-cols-2 {
        gap: 1.25rem !important;
    }
}

@media (max-width: 479px) {
    .service-card {
        padding: 1.25rem 1rem;
        margin-bottom: 1.25rem;
    }
    
    .service-card-header {
        margin-bottom: 1rem;
    }
    
    .service-icon-detailed {
        width: 2.75rem;
        height: 2.75rem;
        margin-bottom: 0.75rem;
    }
    
    .service-icon-detailed i {
        font-size: 1rem;
    }
    
    .service-card-title {
        font-size: 1rem;
        line-height: 1.3;
    }
    
    .service-card-description {
        font-size: 0.875rem;
        margin-bottom: 1rem;
    }
    
    .service-features {
        padding: 0 0.5rem;
    }
    
    .service-features li {
        font-size: 0.85rem;
        margin-bottom: 0.625rem;
        gap: 0.625rem;
        padding: 0.125rem 0;
    }
    
    .service-features i {
        font-size: 0.8rem;
        width: 0.8rem;
    }
    
    /* Tighter spacing on small mobile */
    .grid.lg\\:grid-cols-2 {
        gap: 1rem !important;
    }
    
    /* Section padding adjustments */
    .section-spacing {
        margin-bottom: 6rem !important;
    }
}

/* Responsive Typography */
@media (max-width: 1023px) {
    h1 {
        font-size: 2.5rem !important;
        line-height: 1.2 !important;
    }
    
    h2 {
        font-size: 2rem !important;
        line-height: 1.3 !important;
    }
}

@media (max-width: 767px) {
    h1 {
        font-size: 2rem !important;
        line-height: 1.2 !important;
    }
    
    h2 {
        font-size: 1.75rem !important;
        line-height: 1.3 !important;
    }
    
    .text-lg {
        font-size: 1rem !important;
    }
    
    .text-xl {
        font-size: 1.125rem !important;
    }
}

@media (max-width: 479px) {
    h1 {
        font-size: 1.75rem !important;
    }
    
    h2 {
        font-size: 1.5rem !important;
    }
    
    .btn-cta-primary {
        font-size: 1rem !important;
        padding: 0.875rem 1.5rem !important;
    }
}

/* Responsive Padding and Margins */
@media (max-width: 1023px) {
    main {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }
}

@media (max-width: 767px) {
    main {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    
    .mb-16 {
        margin-bottom: 3rem !important;
    }
    
    .mb-20 {
        margin-bottom: 3.5rem !important;
    }
    
    .gap-12 {
        gap: 2rem !important;
    }
    
    .gap-16 {
        gap: 2.5rem !important;
    }
}

@media (max-width: 479px) {
    main {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }
    
    .mb-16 {
        margin-bottom: 2rem !important;
    }
    
    .mb-20 {
        margin-bottom: 2.5rem !important;
    }
    
    .gap-12 {
        gap: 1.5rem !important;
    }
    
    .gap-16 {
        gap: 2rem !important;
    }
}

/* Testimonial Cards Mobile Optimization */
@media (max-width: 767px) {
    .testimonial-minimal {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .testimonial-header {
        margin-bottom: 0.875rem;
        gap: 0.75rem;
    }
    
    .author-avatar-large {
        width: 3rem;
        height: 3rem;
        font-size: 1rem;
    }
    
    .author-name {
        font-size: 1rem;
        font-weight: 600;
    }
    
    .author-title {
        font-size: 0.875rem;
    }
    
    .testimonial-quote {
        font-size: 0.95rem;
        line-height: 1.6;
    }
}

@media (max-width: 479px) {
    .testimonial-minimal {
        padding: 1.25rem;
    }
    
    .author-avatar-large {
        width: 2.75rem;
        height: 2.75rem;
        font-size: 0.9rem;
    }
    
    .testimonial-quote {
        font-size: 0.9rem;
    }
}

/* Print Styles */
@media print {
    .cta-footer {
        display: none !important;
    }
    
    main {
        margin-left: 0 !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .glass-card {
        background: rgba(0, 0, 0, 0.8);
        border: 2px solid var(--primary-color);
    }
    
    .nav-link.active {
        background: var(--primary-color);
        color: white;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
} 

/* ==============================================
   SCROLLBAR FINAL OVERRIDE - MUSS GANZ AM ENDE STEHEN
   ============================================== */

/* Entferne alle bestehenden Scrollbar-Styles */
html, body, div, main, section, article, aside, nav, header, footer, 
form, input, textarea, select, button, a, span, p, h1, h2, h3, h4, h5, h6,
ul, ol, li, table, tr, td, th, iframe, embed, object, audio, video {
    scrollbar-width: thin !important;
    scrollbar-color: #000000 #000000 !important;
}

/* Webkit - Alle Elemente */
html::-webkit-scrollbar,
body::-webkit-scrollbar,
div::-webkit-scrollbar,
main::-webkit-scrollbar,
section::-webkit-scrollbar,
article::-webkit-scrollbar,
aside::-webkit-scrollbar,
nav::-webkit-scrollbar,
*::-webkit-scrollbar {
    width: 8px !important;
    height: 8px !important;
    background: #000000 !important;
    background-color: #000000 !important;
}

html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track,
div::-webkit-scrollbar-track,
main::-webkit-scrollbar-track,
section::-webkit-scrollbar-track,
article::-webkit-scrollbar-track,
aside::-webkit-scrollbar-track,
nav::-webkit-scrollbar-track,
*::-webkit-scrollbar-track {
    background: #000000 !important;
    background-color: #000000 !important;
}

html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb,
div::-webkit-scrollbar-thumb,
main::-webkit-scrollbar-thumb,
section::-webkit-scrollbar-thumb,
article::-webkit-scrollbar-thumb,
aside::-webkit-scrollbar-thumb,
nav::-webkit-scrollbar-thumb,
*::-webkit-scrollbar-thumb {
    background: #000000 !important;
    background-color: #000000 !important;
    border: none !important;
    border-radius: 0 !important;
}

html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover,
div::-webkit-scrollbar-thumb:hover,
main::-webkit-scrollbar-thumb:hover,
section::-webkit-scrollbar-thumb:hover,
article::-webkit-scrollbar-thumb:hover,
aside::-webkit-scrollbar-thumb:hover,
nav::-webkit-scrollbar-thumb:hover,
*::-webkit-scrollbar-thumb:hover {
    background: #111111 !important;
    background-color: #111111 !important;
}

html::-webkit-scrollbar-corner,
body::-webkit-scrollbar-corner,
div::-webkit-scrollbar-corner,
main::-webkit-scrollbar-corner,
section::-webkit-scrollbar-corner,
article::-webkit-scrollbar-corner,
aside::-webkit-scrollbar-corner,
nav::-webkit-scrollbar-corner,
*::-webkit-scrollbar-corner {
    background: #000000 !important;
    background-color: #000000 !important;
}

/* Zusätzliche Overrides für spezifische Browser */
::-webkit-scrollbar {
    width: 8px !important;
    background: #000000 !important;
}

::-webkit-scrollbar-track {
    background: #000000 !important;
}

::-webkit-scrollbar-thumb {
    background: #000000 !important;
    border: none !important;
}

::-webkit-scrollbar-thumb:hover {
    background: #111111 !important;
}

::-webkit-scrollbar-corner {
    background: #000000 !important;
}

/* Final Override für alle Browsser */
* {
    scrollbar-width: thin !important;
    scrollbar-color: #000000 #000000 !important;
}

html {
    scrollbar-width: thin !important;
    scrollbar-color: #000000 #000000 !important;
}

body {
    scrollbar-width: thin !important;
    scrollbar-color: #000000 #000000 !important;
}

/* ===== DIPLOMA SECTION STYLES - WITH IMAGES ===== */

/* Diploma Display Cards */
.diploma-display-card {
    background: rgba(30, 41, 59, 0.4);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    width: 280px;
    max-width: 100%;
}

.diploma-display-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    border-color: rgba(59, 130, 246, 0.2);
}

.diploma-display-image {
    position: relative;
    aspect-ratio: 210/297; /* A4 Verhältnis */
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(37, 99, 235, 0.02));
    overflow: hidden;
}

.diploma-display-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: none; /* Keine Zoom-Effekte */
}

.diploma-display-info {
    padding: 1rem;
    text-align: center;
}

.diploma-display-short-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #60a5fa;
    line-height: 1.2;
    margin-bottom: 0.25rem;
}

.diploma-display-full-title {
    font-size: 0.875rem;
    font-weight: 400;
    color: #d1d5db;
    font-style: italic;
    margin-bottom: 0.5rem;
}

.diploma-display-subject {
    font-size: 0.9rem;
    color: #d1d5db;
    font-weight: 400;
    margin-bottom: 0.25rem;
}

.diploma-display-grade {
    font-size: 0.9rem;
    font-weight: 600;
    color: #10b981;
}

/* Responsive Design */
@media (max-width: 768px) {
    .diploma-display-card {
        border-radius: 10px;
        width: 240px;
    }
    
    .diploma-display-info {
        padding: 0.75rem;
    }
    
    .diploma-display-short-title {
        font-size: 1rem;
    }
    
    .diploma-display-full-title {
        font-size: 0.7rem;
    }
    
    .diploma-display-subject,
    .diploma-display-grade {
        font-size: 0.75rem;
    }
}

@media (max-width: 640px) {
    .diploma-display-card {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .diploma-display-info {
        padding: 0.5rem;
    }
    
    .diploma-display-short-title {
        font-size: 0.95rem;
    }
    
    .diploma-display-full-title {
        font-size: 0.65rem;
        margin-bottom: 0.25rem;
    }
    
    .diploma-display-subject,
    .diploma-display-grade {
        font-size: 0.7rem;
    }
    
    /* Grid auf Mobile zentrieren */
    .grid.grid-cols-1.sm\\:grid-cols-2.lg\\:grid-cols-4 {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1rem;
    }
    
}

/* ===== CERTIFICATE SECTION STYLES ===== */

/* Certificate Cards */
.certificate-card {
    background: rgba(30, 41, 59, 0.4);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    width: 280px; /* Feste Breite für konsistente Darstellung */
    max-width: 100%; /* Responsive Begrenzung */
}

.certificate-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    border-color: rgba(147, 51, 234, 0.2);
}

.certificate-image {
    position: relative;
    aspect-ratio: 210/297; /* Standard Hochformat für Allensbach und True Agile */
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.05), rgba(126, 34, 206, 0.02));
    overflow: hidden;
}

/* Spezielle Behandlung für Scrum-Zertifikate (Querformat) */
.certificate-image.scrum-format {
    aspect-ratio: 4/3; /* Querformat für Scrum-Zertifikate */
}

.certificate-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: none; /* Keine Zoom-Effekte */
}

.certificate-info {
    padding: 1rem;
    text-align: center;
}

.certificate-title {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

/* Zertifikat-Titel Farben */
.certificate-title.allensbach {
    color: #60a5fa; /* Blau */
}

.certificate-title.true-agile {
    color: #a78bfa; /* Lila */
}

.certificate-title.scrum {
    color: #4ade80; /* Grün */
}

.certificate-title.hofa-college {
    color: #f87171; /* Rot */
}

.certificate-description {
    font-size: 0.875rem;
    color: #d1d5db;
    font-weight: 400;
    line-height: 1.3;
}

/* Certificate Content Responsive Design */
@media (max-width: 768px) {
    .certificate-card {
        border-radius: 10px;
    }
    
    .certificate-info {
        padding: 0.75rem;
    }
    
    .certificate-title {
        font-size: 0.95rem;
    }
    
    .certificate-description {
        font-size: 0.8rem;
    }
    
    .certificate-image {
        min-height: 160px;
    }
}

@media (max-width: 640px) {
    .certificate-info {
        padding: 0.5rem;
    }
    
    .certificate-title {
        font-size: 0.8rem;
        margin-bottom: 0.125rem;
    }
    
    .certificate-description {
        font-size: 0.65rem;
        line-height: 1.3;
    }
    
    .certificate-image {
        min-height: 140px;
    }
}

@media (max-width: 480px) {
    .certificate-info {
        padding: 0.4rem;
    }
    
    .certificate-title {
        font-size: 0.75rem;
        margin-bottom: 0.1rem;
    }
    
    .certificate-description {
        font-size: 0.6rem;
        line-height: 1.2;
    }
    
    .certificate-image {
        min-height: 120px;
    }
}

/* Certificate Category Headers */
.certificate-category-header {
    position: relative;
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    margin-bottom: 1.5rem;
}

/* Allensbach - Blau */
.certificate-category-header.allensbach {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(37, 99, 235, 0.05));
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.certificate-category-header.allensbach::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(37, 99, 235, 0.1));
    border-radius: 12px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.certificate-category-header.allensbach:hover::before {
    opacity: 1;
}

.certificate-category-header.allensbach .certificate-category-title {
    color: #60a5fa;
}

/* True Agile - Lila */
.certificate-category-header.true-agile {
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.1), rgba(126, 34, 206, 0.05));
    border: 1px solid rgba(147, 51, 234, 0.2);
}

.certificate-category-header.true-agile::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.3), rgba(126, 34, 206, 0.1));
    border-radius: 12px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.certificate-category-header.true-agile:hover::before {
    opacity: 1;
}

.certificate-category-header.true-agile .certificate-category-title {
    color: #a78bfa;
}

/* Scrum - Grün */
.certificate-category-header.scrum {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(21, 128, 61, 0.05));
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.certificate-category-header.scrum::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.3), rgba(21, 128, 61, 0.1));
    border-radius: 12px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.certificate-category-header.scrum:hover::before {
    opacity: 1;
}

.certificate-category-header.scrum .certificate-category-title {
    color: #4ade80;
}

/* Hofa-College - Rot */
.certificate-category-header.hofa-college {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(220, 38, 38, 0.05));
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.certificate-category-header.hofa-college::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.3), rgba(220, 38, 38, 0.1));
    border-radius: 12px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.certificate-category-header.hofa-college:hover::before {
    opacity: 1;
}

.certificate-category-header.hofa-college .certificate-category-title {
    color: #f87171;
}

.certificate-category-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
}

/* Mobile Responsive Styles */
@media (max-width: 1024px) {
    .certificate-card {
        width: 260px;
    }
}

@media (max-width: 768px) {
    .certificate-category-header {
        padding: 0.5rem 1.5rem;
        margin-bottom: 1rem;
    }
    
    .certificate-category-title {
        font-size: 1.1rem;
    }
    
    .certificate-card {
        width: 240px;
    }
    
    /* Flexbox für mobile Zentrierung */
    .flex.flex-wrap.justify-center {
        justify-content: center;
    }
    
}

@media (max-width: 640px) {
    .certificate-category-header {
        padding: 0.4rem 1rem;
        margin-bottom: 0.75rem;
    }
    
    .certificate-category-title {
        font-size: 1rem;
    }
    
    .certificate-card {
        width: 100%;
        max-width: 300px;
    }
    
    /* Beschreibungstexte auf Mobile */
    .text-base.mt-4 {
        font-size: 0.9rem;
        padding: 0 1rem;
    }
    
    
}

@media (max-width: 480px) {
    .certificate-category-header {
        padding: 0.3rem 0.75rem;
    }
    
    .certificate-category-title {
        font-size: 0.9rem;
    }
    
    .certificate-card {
        width: 100%;
        max-width: 280px;
    }
    
    /* Noch kleinere Beschreibungstexte */
    .text-base.mt-4 {
        font-size: 0.8rem;
        line-height: 1.4;
    }
}

/* Utility Classes */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===== HIGHLIGHT CARDS - Modern Design ===== */
.highlight-card {
    position: relative;
    display: block;
    padding: 1.25rem;
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.12);
    text-decoration: none;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.highlight-card:hover {
    transform: translateY(-2px);
    border-color: rgba(148, 163, 184, 0.25);
}

.highlight-card-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.highlight-card:hover .highlight-card-glow {
    opacity: 1;
}

.highlight-card-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Badge Styles */
.highlight-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.625rem;
    border-radius: 50px;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    width: fit-content;
}

/* Link Styles */
.highlight-link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 0.25rem;
}

/* Amber Theme (Promotion) */
.highlight-card-amber {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.08) 0%, rgba(15, 23, 42, 0.6) 100%);
}

.highlight-card-amber:hover {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.12) 0%, rgba(15, 23, 42, 0.7) 100%);
    border-color: rgba(251, 191, 36, 0.3);
    box-shadow: 0 8px 32px rgba(251, 191, 36, 0.1);
}

.highlight-card-amber .highlight-card-glow {
    background: linear-gradient(90deg, transparent, rgba(251, 191, 36, 0.5), transparent);
}

.highlight-badge-amber {
    background: rgba(251, 191, 36, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.25);
}

.highlight-link-amber {
    color: #fbbf24;
}

/* Emerald Theme (Gewinnspiel) */
.highlight-card-emerald {
    background: linear-gradient(135deg, rgba(52, 211, 153, 0.08) 0%, rgba(15, 23, 42, 0.6) 100%);
}

.highlight-card-emerald:hover {
    background: linear-gradient(135deg, rgba(52, 211, 153, 0.12) 0%, rgba(15, 23, 42, 0.7) 100%);
    border-color: rgba(52, 211, 153, 0.3);
    box-shadow: 0 8px 32px rgba(52, 211, 153, 0.1);
}

.highlight-card-emerald .highlight-card-glow {
    background: linear-gradient(90deg, transparent, rgba(52, 211, 153, 0.5), transparent);
}

.highlight-badge-emerald {
    background: rgba(52, 211, 153, 0.15);
    color: #34d399;
    border: 1px solid rgba(52, 211, 153, 0.25);
}

.highlight-link-emerald {
    color: #34d399;
}

/* Responsive Highlight Cards */
@media (max-width: 639px) {
    .highlight-card {
        padding: 1rem;
    }
    
    .highlight-card-content {
        gap: 0.375rem;
        align-items: center;
        text-align: center;
    }
    
    .highlight-badge {
        font-size: 0.6rem;
        padding: 0.2rem 0.5rem;
    }
    
    .highlight-link {
        justify-content: center;
    }
}

/* ===== STEP BADGES - Modern Pill Design ===== */
.step-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(59, 130, 246, 0.08));
    border: 1px solid rgba(59, 130, 246, 0.25);
    color: #60a5fa;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.step-badge:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.25), rgba(59, 130, 246, 0.15));
    border-color: rgba(59, 130, 246, 0.4);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

.step-badge i {
    font-size: 0.7rem;
}

/* Badge Variants */
.step-badge-green {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(34, 197, 94, 0.08));
    border-color: rgba(34, 197, 94, 0.25);
    color: #4ade80;
}

.step-badge-green:hover {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.25), rgba(34, 197, 94, 0.15));
    border-color: rgba(34, 197, 94, 0.4);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.2);
}

.step-badge-amber {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.15), rgba(251, 191, 36, 0.08));
    border-color: rgba(251, 191, 36, 0.25);
    color: #fbbf24;
}

.step-badge-amber:hover {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.25), rgba(251, 191, 36, 0.15));
    border-color: rgba(251, 191, 36, 0.4);
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.2);
}

.step-badge-purple {
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.15), rgba(147, 51, 234, 0.08));
    border-color: rgba(147, 51, 234, 0.25);
    color: #a78bfa;
}

.step-badge-purple:hover {
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.25), rgba(147, 51, 234, 0.15));
    border-color: rgba(147, 51, 234, 0.4);
    box-shadow: 0 4px 12px rgba(147, 51, 234, 0.2);
}

/* Responsive Step Badges */
@media (max-width: 768px) {
    .step-badge {
        padding: 0.4rem 0.875rem;
        font-size: 0.7rem;
    }
    
    .step-badge i {
        font-size: 0.65rem;
    }
}

@media (max-width: 480px) {
    .step-badge {
        padding: 0.35rem 0.75rem;
        font-size: 0.65rem;
    }
}

/* ===== REVIEW CARDS - Clean Minimal Design ===== */
.review-card {
    position: relative;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(148, 163, 184, 0.08);
    transition: all 0.3s ease;
}

.review-card:hover {
    border-color: rgba(148, 163, 184, 0.15);
    background: rgba(15, 23, 42, 0.5);
}

.review-card-inner {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 100%;
}

.review-stars {
    display: flex;
    gap: 3px;
}

.review-stars i {
    font-size: 0.7rem;
    color: #fbbf24;
}

.review-text {
    flex: 1;
    font-size: 0.9rem;
    line-height: 1.7;
    color: #94a3b8;
    font-style: normal;
    margin: 0;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: auto;
}

.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: none;
}

.review-author-info {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.review-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: #e2e8f0;
}

.review-title {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 400;
}

/* Review Cards Responsive */
@media (max-width: 768px) {
    .review-card-inner {
        padding: 1.25rem;
    }
    
    .review-text {
        font-size: 0.875rem;
    }
    
    .review-avatar {
        width: 36px;
        height: 36px;
    }
    
    .review-name {
        font-size: 0.8rem;
    }
    
    .review-title {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .review-card-inner {
        padding: 1rem;
        gap: 0.75rem;
    }
    
    .review-text {
        font-size: 0.85rem;
    }
    
    .review-avatar {
        width: 32px;
        height: 32px;
    }
} 