/* Tailwind CSS is loaded via CDN - minimal custom styles only */

/* Custom Properties */
:root {
    --primary-50: #eff6ff;
    --primary-100: #dbeafe;
    --primary-200: #bfdbfe;
    --primary-300: #93c5fd;
    --primary-400: #60a5fa;
    --primary-500: #3b82f6;
    --primary-600: #2563eb;
    --primary-700: #1d4ed8;
    --primary-800: #1e40af;
    --primary-900: #1e3a8a;
    --secondary-500: #22c55e;
    --secondary-600: #16a34a;
    --accent-500: #f59e0b;
    --accent-600: #d97706;
    --header-offset-mobile: 5rem;
    --header-offset-desktop: 7.5rem;
    /* Dark mode variables (applied via .dark class on html) */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --border-color: #e2e8f0;
    --card-bg: #ffffff;
    --card-shadow: rgba(0, 0, 0, 0.1);
}

/* Dark Mode Styles */
.dark {
    --bg-primary: #1b2331;
    --bg-secondary: #253146;
    --bg-tertiary: #2d3a52;
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-muted: #8899aa;
    --border-color: #3a4a5e;
    --card-bg: #253146;
    --card-shadow: rgba(0, 0, 0, 0.3);
}

.dark body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
}

.dark body::before {
    opacity: 0.15;
}

.dark h1, .dark h2, .dark h3, .dark h4, .dark h5, .dark h6 {
    color: var(--text-primary);
}

.dark p {
    color: var(--text-secondary);
}

.dark a {
    color: var(--primary-400);
}

.dark a:hover {
    color: var(--primary-300);
}

/* Dark mode for cards and containers */
.dark .bg-white {
    background-color: var(--card-bg) !important;
}

.dark .bg-gray-50 {
    background-color: var(--bg-secondary) !important;
}

.dark .bg-gray-100 {
    background-color: var(--bg-tertiary) !important;
}

.dark .text-gray-900 {
    color: var(--text-primary) !important;
}

.dark .text-gray-800 {
    color: var(--text-primary) !important;
}

.dark .text-gray-700 {
    color: var(--text-secondary) !important;
}

.dark .text-gray-600 {
    color: var(--text-secondary) !important;
}

.dark .text-gray-500 {
    color: var(--text-muted) !important;
}

.dark .border-gray-200 {
    border-color: var(--border-color) !important;
}

.dark .border-gray-300 {
    border-color: var(--border-color) !important;
}

/* Dark mode for header/navigation */
.dark .site-header,
.dark header {
    background-color: rgba(15, 23, 42, 0.95) !important;
    border-bottom-color: var(--border-color);
}

.dark nav a {
    color: var(--text-secondary);
}

.dark nav a:hover {
    color: var(--primary-400);
}

/* Dark mode for buttons */
.dark .btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    box-shadow: 0 4px 14px 0 rgba(59, 130, 246, 0.3);
}

.dark .btn-primary:hover {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
}

.dark .btn-secondary {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border-color: var(--border-color);
}

.dark .btn-secondary:hover {
    background: var(--bg-secondary);
    border-color: var(--primary-400);
    color: var(--primary-400);
}

/* Dark mode for feature icons */
.dark .feature-icon {
    background: linear-gradient(135deg, var(--primary-700), var(--primary-600));
    box-shadow: 0 10px 25px -5px rgba(59, 130, 246, 0.3);
}

/* Dark mode for cards */
.dark .card-hover {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
}

.dark .card-hover:hover {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
}

/* Dark mode for hero sections */
.dark .hero-modern .hero-headline {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.dark .hero-modern .hero-subheadline {
    color: rgba(255, 255, 255, 0.7);
}

/* Dark mode for gradients */
.dark .gradient-primary {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #2563eb 100%);
}

.dark .gradient-secondary {
    background: linear-gradient(135deg, #14532d 0%, #166534 50%, #22c55e 100%);
}

.dark .gradient-accent {
    background: linear-gradient(135deg, #78350f 0%, #b45309 50%, #f59e0b 100%);
}

/* Dark mode for rainbow overlay */
.dark .rainbow-overlay {
    background: linear-gradient(
        135deg,
        rgba(59, 130, 246, 0.15) 0%,
        rgba(147, 51, 234, 0.12) 25%,
        rgba(236, 72, 153, 0.10) 50%,
        rgba(34, 197, 94, 0.12) 75%,
        rgba(59, 130, 246, 0.15) 100%
    );
}

/* Dark mode for header navigation */
.dark .site-header nav,
.dark .site-header .bg-gradient-to-r {
    background: linear-gradient(135deg, #253146 0%, #2d3a52 100%) !important;
}

/* Dark mode for footer */
.dark footer {
    background-color: var(--bg-secondary) !important;
    color: var(--text-secondary);
}

.dark footer a {
    color: var(--text-muted);
}

.dark footer a:hover {
    color: var(--primary-400);
}

/* Dark mode for form elements */
.dark input,
.dark textarea,
.dark select {
    background-color: var(--bg-tertiary);
    border-color: var(--border-color);
    color: var(--text-primary);
}

.dark input:focus,
.dark textarea:focus,
.dark select:focus {
    border-color: var(--primary-400);
    outline-color: var(--primary-400);
}

.dark input::placeholder,
.dark textarea::placeholder {
    color: var(--text-muted);
}

/* Dark mode for mobile menu */
.dark .mobile-menu {
    background-color: var(--bg-primary);
}

.dark .mobile-menu a {
    color: var(--text-primary);
}

.dark .mobile-menu a:hover {
    color: var(--primary-400);
    background-color: var(--bg-secondary);
}

/* Dark mode for sections */
.dark section {
    background-color: transparent;
}

.dark .section-padding {
    background-color: transparent;
}

/* Dark mode for AOS animations */
.dark [data-aos] {
    transition-timing-function: ease-out;
}

/* Dark mode for scroll fade in */
.dark .scroll-fade-in {
    opacity: 0;
}

.dark .scroll-fade-in.visible {
    opacity: 1;
}

/* Dark mode specific overrides for common Tailwind classes */
.dark .bg-blue-50 { background-color: rgba(59, 130, 246, 0.1) !important; }
.dark .bg-blue-100 { background-color: rgba(59, 130, 246, 0.15) !important; }
.dark .bg-green-50 { background-color: rgba(34, 197, 94, 0.1) !important; }
.dark .bg-green-100 { background-color: rgba(34, 197, 94, 0.15) !important; }
.dark .bg-red-50 { background-color: rgba(239, 68, 68, 0.1) !important; }
.dark .bg-yellow-50 { background-color: rgba(234, 179, 8, 0.1) !important; }

.dark .text-blue-600 { color: var(--primary-400) !important; }
.dark .text-blue-700 { color: var(--primary-400) !important; }
.dark .text-blue-800 { color: var(--primary-300) !important; }

/* Dark mode for hero sections */
.dark .hero::before,
.dark .hero-modern::before {
    background: rgba(0, 0, 0, 0.7) !important;
}

.dark .hero-modern .hero-headline {
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.8);
}

.dark .hero-modern .hero-subheadline {
    color: rgba(255, 255, 255, 0.85);
}

/* Dark mode for gradient overlays in hero sections */
.dark [class*="bg-gradient-to-b"] {
    background: linear-gradient(to bottom, rgba(27, 35, 49, 0.9), rgba(37, 49, 70, 0.95)) !important;
}

.dark [class*="bg-gradient-to-r"] {
    background: linear-gradient(to right, rgba(27, 35, 49, 0.95), rgba(37, 49, 70, 0.9)) !important;
}

.dark [class*="bg-gradient-to-br"] {
    background: linear-gradient(135deg, rgba(27, 35, 49, 0.9), rgba(37, 49, 70, 0.85)) !important;
}

/* Dark mode for cards with white backgrounds */
.dark [class*="bg-white"],
.dark .bg-white\/90,
.dark .bg-white\/80 {
    background-color: var(--card-bg) !important;
    border-color: var(--border-color) !important;
}

.dark .backdrop-blur-sm {
    background-color: rgba(30, 41, 59, 0.9) !important;
}

/* Dark mode for team cards */
.dark .group[class*="bg-white"] {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
}

.dark .group[class*="bg-white"]:hover {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* Dark mode for pricing cards */
.dark [class*="from-primary-500"] {
    background: linear-gradient(135deg, #253146 0%, #2d3a52 100%) !important;
}

.dark [class*="from-green-500"] {
    background: linear-gradient(135deg, #1a3a2a 0%, #234d3a 100%) !important;
}

.dark [class*="from-amber-500"] {
    background: linear-gradient(135deg, #3a2a1a 0%, #4a3a2a 100%) !important;
}

.dark [class*="from-red-500"] {
    background: linear-gradient(135deg, #3a1a1a 0%, #4a2a2a 100%) !important;
}

.dark [class*="from-purple-500"] {
    background: linear-gradient(135deg, #2a1a3a 0%, #3a2a4a 100%) !important;
}

.dark [class*="from-teal-500"] {
    background: linear-gradient(135deg, #1a2a3a 0%, #2a3a4a 100%) !important;
}

.dark [class*="from-rose-500"] {
    background: linear-gradient(135deg, #3a1a2a 0%, #4a2a3a 100%) !important;
}

/* Dark mode for form elements */
.dark input,
.dark textarea,
.dark select {
    background-color: var(--bg-tertiary) !important;
    border-color: var(--border-color) !important;
    color: var(--text-primary) !important;
}

.dark input:focus,
.dark textarea:focus,
.dark select:focus {
    border-color: var(--primary-400) !important;
    outline-color: var(--primary-400) !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2) !important;
}

.dark input::placeholder,
.dark textarea::placeholder {
    color: var(--text-muted) !important;
}

.dark label {
    color: var(--text-secondary) !important;
}

/* Dark mode for info boxes */
.dark [class*="bg-primary-50"] {
    background-color: rgba(59, 130, 246, 0.15) !important;
    border-color: rgba(59, 130, 246, 0.3) !important;
}

.dark [class*="bg-amber-50"] {
    background-color: rgba(245, 158, 11, 0.15) !important;
    border-color: rgba(245, 158, 11, 0.3) !important;
}

.dark [class*="bg-green-50"] {
    background-color: rgba(34, 197, 94, 0.15) !important;
    border-color: rgba(34, 197, 94, 0.3) !important;
}

.dark [class*="bg-red-50"] {
    background-color: rgba(239, 68, 68, 0.15) !important;
    border-color: rgba(239, 68, 68, 0.3) !important;
}

/* Dark mode for badges and tags */
.dark [class*="text-primary-700"] {
    color: var(--primary-300) !important;
}

.dark [class*="text-primary-600"] {
    color: var(--primary-400) !important;
}

.dark [class*="text-green-700"] {
    color: #4ade80 !important;
}

.dark [class*="text-green-600"] {
    color: #22c55e !important;
}

.dark [class*="text-amber-700"] {
    color: #fbbf24 !important;
}

.dark [class*="text-amber-600"] {
    color: #f59e0b !important;
}

.dark [class*="text-red-700"] {
    color: #f87171 !important;
}

.dark [class*="text-red-600"] {
    color: #ef4444 !important;
}

/* Dark mode for footer */
.dark footer {
    background: linear-gradient(135deg, #1b2331 0%, #253146 100%) !important;
}

.dark footer a {
    color: var(--text-secondary);
}

.dark footer a:hover {
    color: var(--primary-400);
}

.dark footer p,
.dark footer span {
    color: var(--text-secondary);
}

.dark footer h4 {
    color: var(--text-primary);
}

/* Dark mode for prose content */
.dark .prose {
    color: var(--text-secondary);
}

.dark .prose h2,
.dark .prose h3 {
    color: var(--text-primary);
}

.dark .prose a {
    color: var(--primary-400);
}

.dark .prose a:hover {
    color: var(--primary-300);
}

/* Dark mode for tables */
.dark table {
    border-color: var(--border-color);
}

.dark td,
.dark th {
    border-color: var(--border-color);
}

.dark th {
    background-color: var(--bg-tertiary);
    color: var(--text-primary);
}

.dark td {
    color: var(--text-secondary);
}

/* Dark mode for address blocks */
.dark address {
    color: var(--text-secondary);
}

.dark address strong {
    color: var(--text-primary);
}

/* Dark mode for inline badges */
.dark [class*="rounded-full"][class*="bg-primary-100"] {
    background-color: rgba(59, 130, 246, 0.2) !important;
    color: var(--primary-300) !important;
}

.dark [class*="rounded-full"][class*="bg-green-100"] {
    background-color: rgba(34, 197, 94, 0.2) !important;
    color: #4ade80 !important;
}

.dark [class*="rounded-full"][class*="bg-amber-100"] {
    background-color: rgba(245, 158, 11, 0.2) !important;
    color: #fbbf24 !important;
}

.dark [class*="rounded-full"][class*="bg-red-100"] {
    background-color: rgba(239, 68, 68, 0.2) !important;
    color: #f87171 !important;
}

/* Dark mode for CTA sections */
.dark [class*="from-primary-500"][class*="to-primary-400"] {
    background: linear-gradient(135deg, #253146 0%, #2d3a52 100%) !important;
}

/* Dark mode for hero bottom fade gradient */
.dark [class*="bg-gradient-to-t"][class*="from-white"] {
    background: linear-gradient(to top, var(--bg-primary) 0%, rgba(27, 35, 49, 0.8) 30%, rgba(27, 35, 49, 0.4) 60%, transparent 100%) !important;
}

/* Dark mode for hero footer gradient (transparent to dark) */
.dark [class*="bg-gradient-to-b"][class*="from-transparent"] {
    background: linear-gradient(to bottom, transparent 0%, rgba(27, 35, 49, 0.4) 30%, rgba(37, 49, 70, 0.8) 60%, var(--bg-secondary) 100%) !important;
}

/* Dark mode for opening hours badges */
.dark .bg-green-100 {
    background-color: rgba(34, 197, 94, 0.2) !important;
}
.dark .bg-amber-100 {
    background-color: rgba(245, 158, 11, 0.2) !important;
}
.dark .bg-red-100 {
    background-color: rgba(239, 68, 68, 0.2) !important;
}
.dark .bg-purple-100 {
    background-color: rgba(168, 85, 247, 0.2) !important;
}

/* Dark mode for gallery items */
.dark .gallery-item {
    border-color: var(--border-color);
}

.dark .gallery-item:hover {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* Dark mode for lightbox */
.dark #lightbox {
    background: rgba(0, 0, 0, 0.98);
}

/* Dark mode for accordion */
.dark .accordion-header {
    color: var(--text-primary);
}

.dark .accordion-content {
    color: var(--text-secondary);
    background-color: var(--bg-tertiary);
}

/* Dark mode toggle button styling */
#darkModeToggle {
    transition: all 0.3s ease;
}

.dark #darkModeToggle {
    color: var(--primary-400);
}

/* Dark mode for header CTA button (Termin vereinbaren) */
.dark .site-header a[href*="termin"] {
    background-color: var(--bg-secondary) !important;
    color: var(--text-secondary) !important;
    border: 1px solid var(--border-color);
}

.dark .site-header a[href*="termin"]:hover {
    background-color: var(--bg-tertiary) !important;
    color: var(--text-primary) !important;
}

/* Dark mode for header top bar links */
.dark .site-header .bg-gradient-to-r a {
    color: rgba(255, 255, 255, 0.8) !important;
}

.dark .site-header .bg-gradient-to-r a:hover {
    color: rgba(255, 255, 255, 1) !important;
}

.dark .site-header .bg-gradient-to-r a i {
    color: rgba(255, 255, 255, 0.7) !important;
}

.dark .site-header .bg-gradient-to-r a:hover i {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Dark mode for header top bar text */
.dark .site-header .bg-gradient-to-r span {
    color: rgba(255, 255, 255, 0.8) !important;
}

.dark .site-header .bg-gradient-to-r span i {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Base Styles */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body.has-fixed-header {
    padding-top: var(--header-offset-mobile);
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

img,
video,
iframe,
svg,
canvas {
    display: block;
    max-width: 100%;
}

section,
nav,
footer {
    max-width: 100%;
    overflow-x: clip;
}

a,
p,
h1,
h2,
h3,
h4,
h5,
h6,
span {
    overflow-wrap: break-word;
    word-break: normal;
}

/* Background Image with Parallax Effect */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/images/benner_7.jpg');
    background-repeat: repeat-y;
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
    z-index: -2;
    animation: bgScroll 60s linear infinite;
}

/* No overlay - background image visible */

/* Background Scroll Animation */
@keyframes bgScroll {
    0% {
        background-position: center 0;
    }
    100% {
        background-position: center 100%;
    }
}

/* Alternative: Subtle parallax on scroll */
@media (prefers-reduced-motion: no-preference) {
    body::before {
        will-change: background-position;
    }
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', 'Inter', system-ui, sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

/* Hero Sections */
.hero {
    margin-top: -20px;
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero > .container {
    position: relative;
    z-index: 10;
}

/* Modern Hero Styles */
.hero-modern {
    margin-top: -20px;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-headline {
    font-family: 'Montserrat', 'Inter', system-ui, sans-serif;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 0.95;
}

.hero-headline span {
    display: block;
}

.hero-subheadline {
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 300;
    letter-spacing: 0.01em;
}

/* Vertical Text */
.writing-vertical {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
}

/* Hero Animation */
@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-modern .hero-headline {
    animation: heroFadeIn 1s ease-out forwards;
}

.hero-modern .hero-subheadline {
    animation: heroFadeIn 1s ease-out 0.2s forwards;
    opacity: 0;
    animation-fill-mode: forwards;
}

/* Light Hero Adjustments */
.hero-modern .hero-headline {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-modern .hero-subheadline {
    color: rgba(255, 255, 255, 0.8);
}

/* Static Rainbow Overlay */
.rainbow-overlay {
    background: linear-gradient(
        135deg,
        rgba(59, 130, 246, 0.08) 0%,
        rgba(147, 51, 234, 0.06) 25%,
        rgba(236, 72, 153, 0.05) 50%,
        rgba(34, 197, 94, 0.06) 75%,
        rgba(59, 130, 246, 0.08) 100%
    );
}

/* Section Padding */
.section-padding {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

/* Gradient Backgrounds */
.gradient-primary {
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 50%, #3b82f6 100%);
}

.gradient-secondary {
    background: linear-gradient(135deg, #166534 0%, #22c55e 50%, #4ade80 100%);
}

.gradient-accent {
    background: linear-gradient(135deg, #b45309 0%, #f59e0b 50%, #fbbf24 100%);
}

/* Feature Icons */
.feature-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2);
}

/* Card Hover Effects */
.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

/* Button Styles */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    font-weight: 600;
    border-radius: 9999px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px 0 rgba(37, 99, 235, 0.4);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(37, 99, 235, 0.5);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    background: white;
    color: #1e40af;
    font-weight: 600;
    border-radius: 9999px;
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #f8fafc;
    border-color: #1e40af;
    color: #1e40af;
}

/* Scroll Animations - Optimized for AOS */
/* Note: AOS library handles animations via data attributes */
/* Fallback for elements with .scroll-fade-in class (legacy support) */
.scroll-fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.scroll-fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* AOS Animation Enhancements */
[data-aos] {
    transition-duration: 0.5s;
    transition-timing-function: ease-out;
}

[data-aos="fade-up"] {
    transform: translateY(20px);
}

[data-aos="fade-down"] {
    transform: translateY(-20px);
}

[data-aos="fade-left"] {
    transform: translateX(20px);
}

[data-aos="fade-right"] {
    transform: translateX(-20px);
}

/* Staggered animation delays for grouped elements */
[data-aos-delay="50"] { transition-delay: 50ms; }
[data-aos-delay="100"] { transition-delay: 100ms; }
[data-aos-delay="150"] { transition-delay: 150ms; }
[data-aos-delay="200"] { transition-delay: 200ms; }
[data-aos-delay="250"] { transition-delay: 250ms; }
[data-aos-delay="300"] { transition-delay: 300ms; }
[data-aos-delay="350"] { transition-delay: 350ms; }
[data-aos-delay="400"] { transition-delay: 400ms; }
[data-aos-delay="450"] { transition-delay: 450ms; }
[data-aos-delay="500"] { transition-delay: 500ms; }

/* Reduced motion support for accessibility */
@media (prefers-reduced-motion: reduce) {
    .scroll-fade-in,
    [data-aos] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
        transition-delay: 0s !important;
    }
    
    .scroll-fade-in.visible {
        opacity: 1;
        transform: none;
    }
}

/* Navigation Active State */
.nav-link {
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #fff, rgba(255,255,255,0.7));
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
    border-radius: 3px 3px 0 0;
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 80%;
}

.nav-link::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.nav-link:hover::after {
    width: 200%;
    height: 200%;
}

/* Desktop Navigation Creative Styles */
.nav-item-creative {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    border-radius: 0.75rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-item-creative .nav-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    margin-right: 0.5rem;
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
}

.nav-item-creative:hover .nav-icon {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1) rotate(-5deg);
}

.nav-item-creative .nav-text {
    position: relative;
    z-index: 1;
}

.nav-item-creative .nav-arrow {
    margin-left: 0.5rem;
    font-size: 0.65rem;
    opacity: 0;
    transform: translateX(-5px);
    transition: all 0.3s ease;
}

.nav-item-creative:hover .nav-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Dropdown Menu Styles */
.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 220px;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100;
    overflow: hidden;
}

.nav-dropdown::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid white;
}

.nav-item-creative:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown-item {
    display: flex;
    align-items: center;
    padding: 0.875rem 1.25rem;
    color: #1e40af;
    font-weight: 500;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(30, 64, 175, 0.1);
}

.nav-dropdown-item:last-child {
    border-bottom: none;
}

.nav-dropdown-item:hover {
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.1), rgba(59, 130, 246, 0.05));
    padding-left: 1.5rem;
}

.nav-dropdown-item i {
    width: 1.5rem;
    margin-right: 0.75rem;
    color: #3b82f6;
}

/* Mobile Menu Right Sidebar */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    z-index: 998;
    pointer-events: none;
    transition: background 0.3s ease;
}

.mobile-menu-overlay.active {
    background: rgba(0, 0, 0, 0.5);
    pointer-events: auto;
    backdrop-filter: blur(4px);
}

.mobile-menu-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    height: 100dvh;
    background: #ffffff;
    z-index: 999;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    overflow-x: hidden;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
}

.mobile-menu-sidebar.open {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    background: #f8fafc;
}

.mobile-menu-header img {
    filter: none !important;
}

.mobile-menu-close {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.06);
    border: none;
    border-radius: 50%;
    color: #64748b;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-menu-close:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: rotate(90deg);
    color: #1e293b;
}

.mobile-menu-content {
    padding: 1rem 0;
}

.mobile-nav-item {
    display: flex;
    align-items: center;
    padding: 0.875rem 1.5rem;
    color: #334155;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border-left: 4px solid transparent;
}

.mobile-nav-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.08), transparent);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.mobile-nav-item:hover::before,
.mobile-nav-item.active::before {
    transform: translateX(0);
}

.mobile-nav-item:hover,
.mobile-nav-item.active {
    color: #1e40af;
    background: rgba(37, 99, 235, 0.04);
    border-left-color: #3b82f6;
}

.mobile-nav-item .mobile-nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    margin-right: 1rem;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 0.75rem;
    font-size: 1rem;
    color: #3b82f6;
    transition: all 0.3s ease;
}

.mobile-nav-item:hover .mobile-nav-icon {
    background: rgba(37, 99, 235, 0.18);
    transform: scale(1.1) rotate(-5deg);
    color: #1d4ed8;
}

.mobile-nav-item .mobile-nav-text {
    flex: 1;
    font-size: 1rem;
}

.mobile-nav-item .mobile-nav-arrow {
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    color: #94a3b8;
    font-size: 0.75rem;
}

.mobile-nav-item:hover .mobile-nav-arrow {
    opacity: 1;
    transform: translateX(0);
    color: #3b82f6;
}

.mobile-menu-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.1), transparent);
    margin: 0.75rem 1.5rem;
}

.mobile-menu-cta {
    padding: 1rem 1.5rem;
    margin: 0.5rem 1rem;
    background: #f1f5f9;
    border-radius: 1rem;
    text-align: center;
}

.mobile-menu-cta a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.875rem 1rem;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    font-weight: 600;
    border-radius: 9999px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.mobile-menu-cta a:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.mobile-menu-contact {
    padding: 1rem 1.5rem;
    background: #f8fafc;
    margin: 0.5rem 1rem 1rem;
    border-radius: 0.75rem;
}

.mobile-contact-item {
    display: flex;
    align-items: center;
    padding: 0.625rem 0;
    color: #475569;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.mobile-contact-item:hover {
    color: #1e40af;
}

.mobile-contact-item i {
    width: 1.5rem;
    margin-right: 0.75rem;
    color: #3b82f6;
    text-align: center;
}

/* Mobile Dark Mode Toggle */
.mobile-dark-toggle {
    padding: 0.5rem 1.5rem 1rem;
}

.mobile-dark-mode-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.875rem 1rem;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    border: none;
    border-radius: 0.75rem;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-dark-mode-btn:hover {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    transform: translateY(-1px);
}

.mobile-dark-mode-btn i {
    margin-right: 0.75rem;
    font-size: 1.1rem;
}

.mobile-dark-mode-btn .light-icon {
    color: #fbbf24;
}

/* Dark mode styles for mobile menu */
.dark .mobile-menu-sidebar {
    background-color: var(--bg-primary);
}

.dark .mobile-menu-header {
    background: linear-gradient(135deg, #253146 0%, #2d3a52 100%);
}

.dark .mobile-menu-close {
    color: white;
}

.dark .mobile-menu-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.dark .mobile-nav-item {
    color: var(--text-secondary);
}

.dark .mobile-nav-item:hover,
.dark .mobile-nav-item.active {
    color: var(--primary-400);
    background: rgba(59, 130, 246, 0.1);
}

.dark .mobile-nav-item .mobile-nav-icon {
    background: rgba(59, 130, 246, 0.15);
    color: var(--primary-400);
}

.dark .mobile-nav-item:hover .mobile-nav-icon {
    background: rgba(59, 130, 246, 0.25);
}

.dark .mobile-menu-divider {
    background: var(--border-color);
}

.dark .mobile-menu-cta {
    background: var(--bg-tertiary);
}

.dark .mobile-menu-cta a {
    background: linear-gradient(135deg, #253146 0%, #2d3a52 100%);
}

.dark .mobile-menu-contact {
    background: var(--bg-secondary);
}

.dark .mobile-contact-item {
    color: var(--text-secondary);
}

.dark .mobile-contact-item:hover {
    color: var(--primary-400);
}

.dark .mobile-contact-item i {
    color: var(--primary-400);
}

.dark .mobile-dark-mode-btn {
    background: linear-gradient(135deg, #253146 0%, #2d3a52 100%);
}

.dark .mobile-dark-mode-btn:hover {
    background: linear-gradient(135deg, #1b2331 0%, #253146 100%);
}

/* Mobile Menu Button Animation */
.mobile-menu-btn {
    position: relative;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
    background: rgba(255, 255, 255, 0.25);
}

.mobile-menu-btn .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 1.25rem;
    height: 1.25rem;
    position: relative;
}

.mobile-menu-btn .hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: absolute;
}

.mobile-menu-btn .hamburger span:nth-child(1) {
    top: 0;
}

.mobile-menu-btn .hamburger span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.mobile-menu-btn .hamburger span:nth-child(3) {
    bottom: 0;
}

.mobile-menu-btn.active .hamburger span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.mobile-menu-btn.active .hamburger span:nth-child(2) {
    opacity: 0;
    transform: translateX(10px);
}

.mobile-menu-btn.active .hamburger span:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #22c55e, #f59e0b);
    z-index: 1001;
    transition: width 0.1s ease;
}

/* Body scroll lock when mobile menu is open */
body.mobile-menu-open {
    overflow: hidden;
}

/* Hero Video Overlay */
.hero-with-video {
    position: relative;
}

.hero-video {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-video__media {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 10;
}

/* Video Container */
.video-container {
    position: relative;
    background: #000;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    left: 50%;
    bottom: 1rem;
    z-index: 100;
    width: min(960px, calc(100% - 2rem));
    transform: translateX(-50%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.cookie-banner--visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.cookie-banner--hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, 1rem);
}

.cookie-banner__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.25rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1.5rem;
    background: rgba(17, 24, 39, 0.96);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(16px);
}

.cookie-banner__text {
    flex: 1 1 auto;
}

.cookie-banner__title {
    margin: 0 0 0.35rem;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
}

.cookie-banner__desc {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.95rem;
    line-height: 1.6;
}

.cookie-banner__desc a {
    color: #93c5fd;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-banner__actions {
    display: flex;
    flex-shrink: 0;
    gap: 0.75rem;
}

.cookie-btn {
    appearance: none;
    border: 0;
    border-radius: 9999px;
    padding: 0.9rem 1.4rem;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.cookie-btn:hover {
    transform: translateY(-1px);
}

.cookie-btn--primary {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #fff;
}

.cookie-btn--secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.cookie-settings-link {
    appearance: none;
    background: transparent;
    border: 0;
    padding: 0;
    color: #6b7280;
    cursor: pointer;
    transition: color 0.2s ease;
}

.cookie-settings-link:hover {
    color: #fff;
}

.contact-map-card {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    border: 1px solid rgba(37, 99, 235, 0.12);
    background: linear-gradient(135deg, rgba(239, 246, 255, 0.9) 0%, rgba(255, 255, 255, 0.96) 100%);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.contact-map {
    width: 100%;
    height: 20rem;
    min-height: 20rem;
}

.contact-map .leaflet-control-attribution {
    font-size: 0.7rem;
}

.contact-map-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem 1.25rem;
}

.contact-map-card__hint {
    color: #4b5563;
    font-size: 0.95rem;
}

.play-btn {
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-btn:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.3);
}

/* Captcha Card Styles */
.captcha-card {
    transition: all 0.2s ease;
    cursor: pointer;
    background: #fff;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.captcha-card:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

.captcha-card.captcha-card--selected,
.captcha-card.border-primary-500 {
    border-color: #3b82f6 !important;
    background: rgba(59, 130, 246, 0.1);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.captcha-card svg {
    display: block;
    width: 32px;
    height: 32px;
}

/* Content Sections - Semi-transparent backgrounds for readability */
section:not(.hero) {
    position: relative;
    z-index: 1;
}

/* Responsive Adjustments */

/* Extra small devices (phones, < 640px) */
@media (max-width: 639px) {
    :root {
        --header-offset-mobile: 4.5rem;
    }

    .hero {
        min-height: 50vh;
    }

    .hero-modern {
        min-height: 85vh;
    }

    .hero-headline {
        font-size: 2.25rem !important;
        line-height: 1.05 !important;
    }

    .hero-subheadline {
        font-size: 1rem !important;
    }

    .section-padding {
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }
    
    .feature-icon {
        width: 3rem;
        height: 3rem;
        font-size: 1.125rem;
    }

    #backToTop {
        right: 1rem;
        bottom: 1rem;
        width: 2.75rem;
        height: 2.75rem;
    }

    .mobile-menu-sidebar {
        width: 100%;
        max-width: 100vw;
    }

    .mobile-nav-item {
        padding: 0.75rem 1.25rem;
    }

    .mobile-nav-item .mobile-nav-icon {
        width: 2.25rem;
        height: 2.25rem;
        font-size: 0.9rem;
        margin-right: 0.75rem;
    }

    .mobile-menu-header {
        padding: 1rem 1.25rem;
    }

    .mobile-menu-contact {
        padding: 0.75rem 1.25rem;
    }

    .mobile-contact-item {
        font-size: 0.85rem;
        padding: 0.5rem 0;
    }

    /* Footer mobile */
    footer .grid {
        gap: 1.5rem !important;
    }

    footer h4 {
        font-size: 1rem !important;
        margin-bottom: 1rem !important;
    }

    footer .container > div:first-child {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }

    .cookie-banner {
        width: calc(100% - 0.75rem);
        bottom: 0.5rem;
    }

    .cookie-banner__inner {
        flex-direction: column;
        align-items: stretch;
        padding: 0.875rem;
        border-radius: 1rem;
    }

    .cookie-banner__actions {
        width: 100%;
        flex-direction: column;
        gap: 0.5rem;
    }

    .cookie-btn {
        width: 100%;
        justify-content: center;
        padding: 0.75rem 1rem;
    }

    .contact-map {
        height: 16rem;
        min-height: 16rem;
    }

    .contact-map-card__actions {
        flex-direction: column;
        align-items: stretch;
    }
}

/* Small to medium devices (phones landscape & tablets, 640px - 1023px) */
@media (min-width: 640px) and (max-width: 1023px) {
    :root {
        --header-offset-mobile: 5rem;
    }

    .hero {
        min-height: 55vh;
    }

    .hero-modern {
        min-height: 70vh;
    }

    .hero-headline {
        font-size: 3rem !important;
    }

    .section-padding {
        padding-top: 3.5rem;
        padding-bottom: 3.5rem;
    }

    .mobile-menu-sidebar {
        width: 360px;
        max-width: 80vw;
    }

    /* Footer tablet */
    footer .grid {
        gap: 2rem !important;
    }

    .cookie-banner {
        width: calc(100% - 2rem);
    }

    .contact-map {
        height: 18rem;
        min-height: 18rem;
    }
}

/* Medium devices (tablets landscape, 768px+) */
@media (min-width: 768px) {
    body.has-fixed-header {
        padding-top: var(--header-offset-desktop);
    }
}

/* Large devices (desktops, 1024px - 1279px) - compact text-only nav */
@media (min-width: 1024px) and (max-width: 1279px) {
    .hero-headline {
        font-size: 2.5rem !important;
    }

    .hero-modern {
        min-height: 90vh;
    }

    /* Text-only nav items - no icons to save space */
    .nav-item-creative {
        padding: 0.3rem 0.45rem;
        margin: 0 0.05rem;
        font-size: 0.78rem;
        border-radius: 0.4rem;
    }

    .nav-item-creative .nav-icon {
        display: none !important;
    }

    .nav-item-creative .nav-arrow {
        display: none;
    }

    .nav-item-creative::before {
        height: 2px;
    }

    .nav-item-creative::after {
        display: none;
    }

    .cta-btn-full {
        display: none;
    }
    .cta-btn-short {
        display: inline;
    }

    /* Smaller logo on mid-sized screens */
    .site-header .h-12 {
        height: 2.25rem !important;
    }

    /* Smaller CTA button */
    .cta-btn-short {
        padding: 0.5rem 0.75rem !important;
        font-size: 0.78rem !important;
    }
}

/* Large devices (1280px+) - full nav with icons */
@media (min-width: 1280px) {
    .hero-headline {
        font-size: 3.25rem !important;
    }

    .hero-modern {
        min-height: 100vh;
    }

    .nav-item-creative {
        padding: 0.5rem 0.85rem;
        margin: 0 0.2rem;
        font-size: 0.9rem;
        border-radius: 0.75rem;
    }

    .nav-item-creative .nav-icon {
        width: 1.75rem;
        height: 1.75rem;
        margin-right: 0.4rem;
        font-size: 0.75rem;
        border-radius: 0.5rem;
    }

    .nav-item-creative .nav-arrow {
        display: none;
    }

    .cta-btn-full {
        display: inline;
    }
    .cta-btn-short {
        display: none;
    }
}

/* Extra large devices (large desktops, 1536px+) */
@media (min-width: 1536px) {
    .hero-headline {
        font-size: 3.75rem !important;
    }

    .nav-item-creative {
        padding: 0.5rem 1rem;
        margin: 0 0.25rem;
        font-size: 0.95rem;
    }

    .nav-item-creative .nav-icon {
        width: 2rem;
        height: 2rem;
        margin-right: 0.5rem;
        font-size: 0.85rem;
    }
}

/* Print Styles */
@media print {
    body::before,
    body::after {
        display: none !important;
    }
    
    .hero,
    .gradient-primary,
    .gradient-secondary,
    .gradient-accent {
        background: #fff !important;
        color: #000 !important;
    }
    
    .btn-primary,
    .btn-secondary {
        background: #fff !important;
        color: #000 !important;
        border: 1px solid #000 !important;
    }
}
