/* ==============================================
   Uranus Consulting S.á r.l. - Modern Light Design 2025
   Professional Modern Theme with Animations
============================================== */

/* CSS Variables - Modern Light Theme */
:root {
    /* Colors - Modern Light Theme */
    --primary-color: #3B82F6;
    --primary-dark: #2563EB;
    --primary-light: #60A5FA;
    --secondary-color: #06B6D4;
    --accent-color: #14B8A6;
    --success-color: #10B981;
    --bg-white: #FFFFFF;
    --bg-light: #F9FAFB;
    --bg-gray: #F3F4F6;
    --bg-card: #FFFFFF;
    --text-dark: #111827;
    --text-gray: #6B7280;
    --text-light: #9CA3AF;
    --border-color: #E5E7EB;
    --border-light: #F3F4F6;
    --gradient-1: linear-gradient(135deg, #3B82F6 0%, #06B6D4 100%);
    --gradient-2: linear-gradient(135deg, #06B6D4 0%, #14B8A6 100%);
    --gradient-3: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 100%);
    --gradient-hero: linear-gradient(135deg, #EFF6FF 0%, #F0F9FF 50%, #ECFEFF 100%);

    /* Shadows - Modern Light Theme */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-colored: 0 20px 40px -12px rgba(59, 130, 246, 0.3);

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Montserrat', 'Inter', sans-serif;

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-3xl: 2rem;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

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

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    line-height: 1.6;
    background: var(--bg-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

ul {
    list-style: none;
}

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

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

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: 1280px;
    margin: 5px auto;
    padding: 5px var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: left;
    gap: 3rem;
    transition: var(--transition-base);
}

.nav-brand:hover {
    transform: scale(1.05);
}

.logo {
    height: 60px;
    width: auto;
    transition: var(--transition-base);
    display: block;
    margin: 2px;
    /* No filter needed for light theme - logo stays as-is */
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
    transition: var(--transition-base);
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: var(--transition-base);
    border-radius: 2px;
}

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

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.btn-nav {
    padding: 0.5rem 1.5rem !important;
    font-size: 0.9rem;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    transition: var(--transition-base);
}

.hamburger:hover {
    transform: scale(1.1);
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition-base);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 140px 0 80px;
    background: var(--gradient-hero);
}

/* Page Hero (for subpages like impressum, datenschutz, agb) */
.hero.page-hero {
    min-height: auto;
    padding: 12rem 0 0;
    background: var(--bg-light);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    opacity: 0.3;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.9) 0%,
        rgba(239, 246, 255, 0.8) 100%);
    z-index: -1;
    overflow: hidden;
}

/* Abstrakte geometrische Elemente im Hero-Hintergrund */
.hero .hero-overlay::before {
    content: '';
    position: absolute;
    top: -10%;
    right: 10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

.hero .hero-overlay::after {
    content: '';
    position: absolute;
    bottom: -15%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 25s ease-in-out infinite reverse;
}

/* Zusätzliche abstrakte Formen */
.hero::before {
    content: '';
    position: absolute;
    top: 30%;
    right: 5%;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.04) 0%, rgba(14, 165, 233, 0.06) 100%);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morph 15s ease-in-out infinite;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    top: 60%;
    right: 25%;
    width: 200px;
    height: 200px;
    background: linear-gradient(45deg, rgba(6, 182, 212, 0.05) 0%, rgba(59, 130, 246, 0.03) 100%);
    border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%;
    animation: morph 20s ease-in-out infinite reverse;
    z-index: 0;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) translateX(0px);
    }
    33% {
        transform: translateY(-30px) translateX(20px);
    }
    66% {
        transform: translateY(-15px) translateX(-20px);
    }
}

@keyframes morph {
    0%, 100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
    50% {
        border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
    }
}

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

.hero:not(.page-hero) .container {
    margin-left: 0;
    margin-right: auto;
    padding-left: max(var(--spacing-md), 10%);
}

.hero-content {
    max-width: 750px;
    padding: 2rem 10% 4rem 0;
}

.hero.page-hero .hero-content {
    padding: 2rem 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    margin-bottom: 2rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    animation: fadeInUp 0.6s ease, pulse 3s infinite;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 5.5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 2rem;
    color: var(--text-dark);
    animation: fadeInUp 0.6s ease 0.2s backwards;
}

.gradient-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.7;
    margin-bottom: 3rem;
    color: var(--text-gray);
    animation: fadeInUp 0.6s ease 0.4s backwards;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    animation: fadeInUp 0.6s ease 0.6s backwards;
}

.stat-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 2rem 1.5rem;
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.stat-box:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: var(--shadow-colored);
    border-color: var(--primary-color);
}

.stat-icon {
    font-size: 2rem;
    color: var(--primary-color);
    transition: var(--transition-base);
}

.stat-box:hover .stat-icon {
    transform: rotateY(360deg);
    color: var(--secondary-color);
}

.stat-info h3 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.stat-info p {
    font-size: 1rem;
    color: var(--text-gray);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 1rem;
    animation: fadeInUp 0.6s ease 0.8s backwards;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--text-gray);
    animation: bounce 2s infinite;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    margin: 0 auto 10px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 10px;
    background: var(--primary-color);
    border-radius: 2px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}

/* Stats Section */
.stats-section {
    background: var(--bg-light);
    padding: 3rem 0 4rem;
}

/* Referenzen Section */
.referenzen-section {
    padding: 5rem 0;
    background: var(--bg-white);
}

.referenzen-section .container {
    max-width: 1400px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-base);
    border: none;
    font-family: var(--font-primary);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--gradient-1);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-colored);
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Sections */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-label {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 50px;
    animation: pulse 2s infinite;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.7;
}

/* About Section */
.about {
    background: var(--bg-light);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: var(--radius-3xl);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-xl);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.about-image:hover img {
    transform: scale(1.1) rotate(2deg);
}

.about-badge {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow-lg);
    animation: float 3s ease-in-out infinite;
}

.badge-icon {
    font-size: 2rem;
    color: var(--primary-color);
    animation: pulse 2s infinite;
}

.badge-text h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.badge-text p {
    font-size: 0.9rem;
    color: var(--text-gray);
}

.about-content {
    padding: 2rem 0;
}

.features-list {
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    transition: var(--transition-base);
    padding: 1rem;
    border-radius: var(--radius-lg);
}

.feature-item:hover {
    background: var(--bg-light);
    transform: translateX(10px);
}

.feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--gradient-1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

.feature-item:hover .feature-icon {
    transform: rotateY(360deg) scale(1.1);
}

.feature-text h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.feature-text p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* Services Section */
.services {
    background: var(--bg-white);
}

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

/* Referenzen Grid - 3 Spalten Layout */
.referenzen-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Tablet: 2 Spalten */
/* Tablet-Layout: 2 Spalten */
@media (max-width: 1200px) {
    .referenzen-section .container {
        max-width: 1200px;
    }

    .hero-content {
        max-width: 650px;
    }
}

@media (max-width: 1024px) {
    .referenzen-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.75rem;
    }

    .hero-content {
        max-width: 600px;
    }

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

/* Mobile: 1 Spalte */
@media (max-width: 768px) {
    .logo {
        height: 130px;
    }

    .footer-logo {
        height: 120px;
        margin: 0 auto;
    }

    .footer-brand {
        display: flex;
        justify-content: center;
    }

    .referenzen-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Referenz Card */
.referenz-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    transition: var(--transition-base);
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
}

.referenz-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-colored);
    border-color: var(--primary-color);
}

.referenz-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.referenz-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.referenz-card:hover .referenz-image img {
    transform: scale(1.1);
}

.referenz-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
}

.referenz-category {
    background: var(--gradient-1);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.referenz-content {
    padding: 1.75rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.referenz-content h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.875rem;
    color: var(--text-dark);
    line-height: 1.3;
}

.referenz-content p {
    color: var(--text-gray);
    line-height: 1.65;
    margin-bottom: 1.25rem;
    flex: 1;
    font-size: 0.95rem;
}

.referenz-results {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-color);
}

.result-item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    color: var(--text-dark);
    font-size: 0.9rem;
    font-weight: 500;
}

.result-item i {
    color: var(--success-color);
    font-size: 1rem;
    flex-shrink: 0;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-2xl);
    padding: 2.5rem;
    transition: var(--transition-base);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transition: var(--transition-base);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-15px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-colored);
}

.service-icon-wrapper {
    margin-bottom: 1.5rem;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-1);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

.service-card:hover .service-icon {
    transform: rotateY(360deg) scale(1.1);
    box-shadow: var(--shadow-xl);
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-card > p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-dark);
    font-size: 0.95rem;
    transition: var(--transition-base);
}

.service-features li:hover {
    transform: translateX(5px);
    color: var(--primary-color);
}

.service-features i {
    color: var(--success-color);
    font-size: 1rem;
}

/* Expertise Section */
.expertise {
    background: var(--bg-light);
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.expertise-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-2xl);
    padding: 2rem;
    transition: var(--transition-base);
    text-align: center;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.expertise-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: var(--gradient-1);
    opacity: 0.05;
    transition: var(--transition-base);
}

.expertise-card:hover::after {
    height: 100%;
}

.expertise-card:hover {
    transform: translateY(-15px) rotate(2deg);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-colored);
}

.expertise-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition-slow);
    position: relative;
    z-index: 1;
}

.expertise-card:hover .expertise-icon {
    transform: rotateY(360deg) scale(1.2);
}

.expertise-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    position: relative;
    z-index: 1;
}

.expertise-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.expertise-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.tag {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: var(--primary-color);
    padding: 0.35rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: var(--transition-base);
}

.tag:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

/* CTA Section */
.cta {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
    background: var(--gradient-hero);
}

.cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    opacity: 0.2;
}

.cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.95) 0%,
        rgba(239, 246, 255, 0.9) 100%);
    z-index: -1;
}

.cta-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: var(--text-gray);
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

/* Contact Section */
.contact {
    background: var(--bg-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    transition: var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.contact-card:hover {
    border-color: var(--primary-color);
    transform: translateX(10px) scale(1.02);
    box-shadow: var(--shadow-md);
}

.contact-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: var(--gradient-1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

.contact-card:hover .contact-icon {
    transform: rotateY(360deg) scale(1.1);
}

.contact-details h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.contact-details p {
    color: var(--text-gray);
    line-height: 1.6;
}

.contact-details a {
    color: var(--primary-color);
    font-weight: 500;
}

.contact-details a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
}

/* Form Messages */
.form-message {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    font-weight: 500;
    transition: var(--transition-base);
    animation: slideInDown 0.3s ease;
}

.form-message i {
    font-size: 1.5rem;
}

.form-message-success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #059669;
}

.form-message-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #DC2626;
}

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

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition-base);
    background: var(--bg-white);
    color: var(--text-dark);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group select {
    cursor: pointer;
}

/* Footer */
.footer {
    background: var(--bg-light);
    color: var(--text-dark);
    padding: 2rem 0 1rem;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 1rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.25rem;
    transition: var(--transition-base);
}

.footer-brand:hover {
    transform: scale(1.05);
}

.footer-logo {
    height: 60px;
    width: auto;
    display: block;
    margin: 0;
    /* No filter needed for light theme - logo stays as-is */
}

.footer-section h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.footer-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.footer-section:first-child h4 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.footer-section p {
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-section:first-child p {
    margin-bottom: 1rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.social-link:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: var(--shadow-md);
}

.footer-links,
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a,
.footer-contact li {
    color: var(--text-gray);
    transition: var(--transition-base);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 0.5rem;
}

.footer-contact i {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: var(--text-gray);
}

.footer-links-bottom {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.footer-links-bottom a {
    color: var(--text-gray);
    transition: var(--transition-base);
}

.footer-links-bottom a:hover {
    color: var(--primary-color);
}

.footer-links-bottom span {
    color: var(--border-color);
}

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
    box-shadow: var(--shadow-xl);
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: var(--shadow-colored);
}

/* Partner Logo Carousel */
.partner-carousel {
    background: var(--bg-light);
    padding: 3rem 0;
    overflow: hidden;
    position: relative;
}

.partner-carousel::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 100px;
    background: linear-gradient(to right, var(--bg-light) 0%, transparent 100%);
    z-index: 2;
}

.partner-carousel::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100px;
    background: linear-gradient(to left, var(--bg-light) 0%, transparent 100%);
    z-index: 2;
}

.partner-carousel-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.partner-carousel-track {
    display: inline-flex;
    align-items: center;
    gap: 4rem;
    animation: scroll-left 40s linear infinite;
    padding: 1rem 0;
}

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

.partner-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    flex-shrink: 0;
    filter: grayscale(100%) opacity(0.6);
    transition: all 0.4s ease;
}

.partner-logo img {
    height: 100%;
    width: auto;
    max-width: 180px;
    object-fit: contain;
}

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

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

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

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

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
}

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

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

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

[data-aos] {
    pointer-events: auto;
}

/* Responsive Design */
@media (max-width: 968px) {
    .container {
        padding: 0 1rem;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem 1.5rem;
        gap: 1.5rem;
        transition: var(--transition-base);
        border-right: 1px solid var(--border-color);
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .nav-link {
        font-size: 1.1rem;
        padding: 0.75rem 0;
        width: 100%;
    }

    .btn-nav {
        width: 100%;
        justify-content: center;
        margin-top: 1rem;
    }

    section {
        padding: 3rem 0;
    }

    .services,
    .about,
    .expertise {
        padding: 3rem 0;
    }

    .stats-section {
        padding: 2.5rem 0 3rem;
    }

    .referenzen-section {
        padding: 3rem 0;
    }

    .hero {
        padding: 120px 0 4rem;
        min-height: auto;
    }

    .hero.page-hero {
        padding: 10rem 0 0;
    }

    .hero:not(.page-hero) .container {
        padding-left: var(--spacing-md);
    }

    .hero-content {
        max-width: 100%;
        padding: 2rem 0;
    }

    .hero-title {
        font-size: 2.25rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1.05rem;
    }

    .hero-badge {
        padding: 0.625rem 1.25rem;
        font-size: 0.9rem;
    }

    .hero-stats {
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .stat-box {
        padding: 1.5rem 1.25rem;
    }

    .stat-info h3 {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .scroll-indicator {
        display: none;
    }

    .about-grid,
    .services-grid,
    .expertise-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-image {
        height: 300px;
        margin-bottom: 1rem;
    }

    .about-badge {
        bottom: 1rem;
        left: 1rem;
    }

    .feature-item {
        padding: 1rem;
    }

    .service-icon-wrapper {
        margin-bottom: 1.5rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-card {
        padding: 1.5rem;
    }

    .contact-form {
        padding: 1.5rem 0.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-section {
        text-align: left;
    }

    .footer-section:first-child {
        text-align: center;
    }

    .footer-section:first-child p {
        text-align: center;
    }

    .footer-section h4 {
        text-align: left;
    }

    .footer-section:first-child h4 {
        text-align: center;
    }

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

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

    .footer-links,
    .footer-contact {
        text-align: left;
    }

    .footer-links li,
    .footer-contact li {
        text-align: left;
        justify-content: flex-start;
    }

    .footer-contact li {
        align-items: flex-start;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

@media (max-width: 640px) {
    .logo {
        height: 60px;
    }

    .footer-logo {
        height: 60px;
        margin: 0 auto;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 0.875rem;
    }

    .stat-box {
        justify-content: flex-start;
        padding: 1.25rem 1rem;
    }

    .stat-icon {
        font-size: 1.75rem;
    }

    .stat-info h3 {
        font-size: 1.75rem;
    }

    .stat-info p {
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-description {
        font-size: 1rem;
    }

    .service-card,
    .expertise-card {
        padding: 2rem 1.5rem;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn-large {
        padding: 1rem 1.75rem;
        font-size: 1rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .scroll-top {
        bottom: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
    }

    .referenz-image {
        height: 220px;
    }

    .referenz-content {
        padding: 1.5rem;
    }

    .referenz-content h3 {
        font-size: 1.25rem;
    }

    .referenz-content p {
        font-size: 0.9rem;
    }

    .result-item {
        font-size: 0.85rem;
    }

    .result-item i {
        font-size: 0.9rem;
    }

    .about-content {
        padding: 0 0.5rem;
    }

    .feature-icon {
        width: 45px;
        height: 45px;
        font-size: 1.25rem;
    }

    .feature-text h4 {
        font-size: 1.1rem;
    }

    .feature-text p {
        font-size: 0.9rem;
    }

    .service-icon {
        font-size: 2.5rem;
    }

    .service-card h3 {
        font-size: 1.35rem;
    }

    .service-card p {
        font-size: 0.95rem;
    }

    .expertise-icon {
        font-size: 2.25rem;
    }

    .expertise-card h3 {
        font-size: 1.35rem;
    }

    .cta h2 {
        font-size: 2rem;
    }

    .cta p {
        font-size: 1rem;
    }

    .contact-form label {
        font-size: 0.95rem;
    }

    .contact-form input,
    .contact-form select,
    .contact-form textarea {
        font-size: 1rem;
        padding: 0.875rem 1rem;
    }
}

@media print {
    .navbar,
    .scroll-top,
    .hamburger {
        display: none;
    }
    section {
        page-break-inside: avoid;
    }
}
