/* ============================================
   FUGBETRIEB BERKS - MODERN STYLES
   Glassmorphism Design with Adaptive Gallery
   ============================================ */

/* ============================================
   LOCAL FONTS (DSGVO-compliant)
   ============================================ */
@font-face {
    font-family: 'Inter';
    src: url('fonts/inter-300.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('fonts/inter-400.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('fonts/inter-500.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('fonts/inter-600.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('fonts/inter-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('fonts/inter-800.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('fonts/inter-900.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* CSS Variables */
:root {
    --primary: #1e293b;
    --primary-light: #334155;
    --accent: #f97316;
    --accent-hover: #ea580c;
    --accent-light: #fdba74;
    --bg-light: #f8fafc;
    --bg-warm: #fefcf3;
    --bg-card: rgba(255, 255, 255, 0.7);
    --bg-card-hover: rgba(255, 255, 255, 0.9);
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --border-glass: rgba(0, 0, 0, 0.08);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 40px -10px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 40px rgba(249, 115, 22, 0.25);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --glass-blur: blur(20px);
}

/* Dark Mode Variables */
body.dark-mode {
    --bg-light: #0a0f1c;
    --bg-warm: #0f141f;
    --bg-card: rgba(30, 41, 59, 0.7);
    --bg-card-hover: rgba(30, 41, 59, 0.9);
    --text-dark: #f1f5f9;
    --text-muted: #94a3b8;
    --text-light: #64748b;
    --border-glass: rgba(255, 255, 255, 0.08);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 40px -10px rgba(0, 0, 0, 0.4);
}

body.dark-mode {
    background-image: url('images/mauer-bg.jpg');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: var(--text-dark);
}

body.dark-mode .wall-overlay {
    background: linear-gradient(
        180deg,
        rgba(5, 10, 20, 0.6) 0%,
        rgba(10, 15, 25, 0.65) 50%,
        rgba(5, 10, 20, 0.7) 100%
    );
}

body.dark-mode .glass-nav.scrolled {
    background: rgba(15, 20, 31, 0.85);
}

body.dark-mode .logo-text {
    color: var(--text-dark);
}

body.dark-mode .nav-link {
    color: var(--text-muted);
}

body.dark-mode .nav-link:hover,
body.dark-mode .nav-link.active {
    color: var(--text-dark);
}

body.dark-mode .mobile-toggle span {
    background: var(--text-dark);
}

body.dark-mode .section-title,
body.dark-mode h1, body.dark-mode h2, body.dark-mode h3,
body.dark-mode h4, body.dark-mode h5, body.dark-mode h6 {
    color: var(--text-dark);
}

body.dark-mode .section-subtitle,
body.dark-mode p,
body.dark-mode .stat-label {
    color: var(--text-muted);
}

body.dark-mode .footer {
    background: rgba(15, 20, 31, 0.95);
    border-top-color: rgba(255, 255, 255, 0.08);
}

body.dark-mode .hero-badge {
    background: rgba(249, 115, 22, 0.15);
    color: var(--accent-light);
}

body.dark-mode .glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
}

body.dark-mode .legal-info-item {
    border-color: rgba(255, 255, 255, 0.08);
}

body.dark-mode .legal-link {
    color: var(--accent);
}

body.dark-mode .legal-link:hover {
    color: var(--accent-light);
}

body.dark-mode .cookie-consent {
    background: rgba(15, 20, 31, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

body.dark-mode .cookie-consent-text strong {
    color: var(--accent-light);
}

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

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-light);
    background-image: url('images/mauer-bg.jpg');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5em;
}

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

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

ul {
    list-style: none;
}

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
    overflow-x: hidden;
    max-width: 100vw;
}

/* Wall Background Overlay */
.wall-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        180deg,
        rgba(254, 252, 243, 0.75) 0%,
        rgba(248, 250, 252, 0.85) 50%,
        rgba(241, 245, 249, 0.9) 100%
    );
    z-index: -1;
    pointer-events: none;
    width: 100%;
    max-width: 100vw;
}

/* Background Floating Orbs */
.bg-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    z-index: -1;
    animation: float 20s ease-in-out infinite;
}

.bg-orb-1 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, var(--accent), #8b5cf6);
    top: -200px;
    right: -100px;
    animation-delay: 0s;
}

.bg-orb-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    bottom: -150px;
    left: -100px;
    animation-delay: -7s;
}

.bg-orb-3 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #10b981, #14b8a6);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -14s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(50px, -50px) scale(1.1); }
    50% { transform: translate(0, 50px) scale(0.95); }
    75% { transform: translate(-50px, -25px) scale(1.05); }
}

/* Glass Navigation */
.glass-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    background: transparent;
}

.glass-nav.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 15px 0;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.5rem;
    font-weight: 800;
}

.logo-text {
    color: var(--text-dark);
}

.logo-accent {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-link {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 8px 0;
}

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

.nav-link:hover, .nav-link.active {
    color: var(--text-dark);
}

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

.nav-cta {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: var(--accent);
    color: #fff;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
}

.nav-cta:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-toggle span {
    width: 28px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

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

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

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

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 999;
    padding: 100px 40px 40px;
    transition: var(--transition);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.mobile-link {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    padding: 10px 0;
    border-bottom: 1px solid var(--border-glass);
}

.mobile-link:hover {
    color: var(--accent);
}

.mobile-contact {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-glass);
}

.mobile-phone {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--accent);
    font-weight: 600;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 60px;
    position: relative;
    background: linear-gradient(180deg, rgba(10, 15, 28, 0.3) 0%, transparent 50%);
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 24px;
    background: rgba(249, 115, 22, 0.15);
    border: 1px solid rgba(249, 115, 22, 0.3);
    border-radius: 50px;
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
}

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

.btn-glass {
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-dark);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(10px);
}

.btn-glass:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    color: #fff;
}

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

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    animation: fadeInUp 0.8s ease 0.8s both;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: rgba(249, 115, 22, 0.15);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--accent);
}

.stat-info {
    text-align: left;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-dark);
}

.stat-text {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Hero Scroll Indicator */
.hero-scroll {
    position: absolute;
    bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.85rem;
    animation: fadeIn 1s ease 1.5s both;
}

.scroll-indicator {
    width: 26px;
    height: 42px;
    border: 2px solid var(--border-glass);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-mouse {
    width: 4px;
    height: 8px;
    background: var(--accent);
    border-radius: 2px;
    animation: scrollMouse 2s ease-in-out infinite;
}

@keyframes scrollMouse {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(8px); opacity: 0.5; }
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 100%;
}

.section-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(249, 115, 22, 0.15);
    border: 1px solid rgba(249, 115, 22, 0.3);
    border-radius: 50px;
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.section-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(249, 115, 22, 0.15);
    border: 1px solid rgba(249, 115, 22, 0.3);
    border-radius: 50px;
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-top: 16px;
}

/* Glass Card Effect */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    transition: var(--transition);
}

.glass-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(249, 115, 22, 0.3);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* About Section */
.about {
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: center;
}

.about-card {
    padding: 30px;
    position: relative;
}

.about-image-wrapper {
    aspect-ratio: auto;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
}

.about-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
    display: block;
}

.about-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-placeholder i {
    font-size: 6rem;
    color: rgba(255, 255, 255, 0.1);
}

.about-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--accent);
    padding: 20px 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.about-badge-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-light);
}

.about-badge-text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
}

.about-content {
    padding: 20px 0;
}

.about-lead {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.about-content > p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 40px 0;
}

.feature-item {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid var(--border-glass);
    transition: var(--transition);
}

.feature-item:hover {
    background: var(--bg-card-hover);
    border-color: rgba(249, 115, 22, 0.3);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(249, 115, 22, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--accent);
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

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

.about-signature {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-top: 30px;
    border-top: 1px solid var(--border-glass);
    margin-top: 40px;
}

.signature-info {
    display: flex;
    flex-direction: column;
}

.signature-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
}

.signature-role {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.signature-image {
    width: 120px;
    margin-left: auto;
    color: var(--accent);
}

.signature-svg {
    width: 100%;
}

.signature-path {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: sign 2s ease forwards 1s;
}

@keyframes sign {
    to { stroke-dashoffset: 0; }
}

/* Services Section */
.services {
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    padding: 40px 30px;
}

.service-icon {
    position: relative;
    width: 70px;
    height: 70px;
    margin-bottom: 24px;
}

.service-icon i {
    position: relative;
    z-index: 2;
    font-size: 1.8rem;
    color: var(--accent);
}

.icon-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    border-radius: 16px;
    opacity: 0.2;
    transform: rotate(-10deg);
    transition: var(--transition);
}

.service-card:hover .icon-bg {
    transform: rotate(0deg) scale(1.1);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    transition: var(--transition);
}

.service-card:hover h3 {
    color: var(--accent);
}

.service-card > p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
}

.service-link i {
    transition: var(--transition);
}

.service-link:hover i {
    transform: translateX(5px);
}

/* Gallery Section - ADAPTIVE IMAGE GALLERY */
.gallery {
    position: relative;
}

.gallery-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
    padding: 16px 24px;
    background: rgba(249, 115, 22, 0.1);
    border: 1px solid rgba(249, 115, 22, 0.2);
    border-radius: 12px;
    color: var(--accent);
    font-size: 0.9rem;
}

.gallery-note code {
    background: rgba(249, 115, 22, 0.2);
    padding: 4px 8px;
    border-radius: 4px;
    font-family: 'Fira Code', monospace;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 24px;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

/* ADAPTIVE IMAGE CONTAINER - KEY FOR ANY IMAGE SIZE */
.gallery-image-wrapper {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 16px;
}

/* ADAPTIVE IMAGE STYLING - SCALES ANY IMAGE CORRECTLY */
.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover .gallery-image {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.9) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-info {
    transform: translateY(20px);
    transition: var(--transition);
}

.gallery-item:hover .gallery-info {
    transform: translateY(0);
}

.gallery-category {
    display: inline-block;
    padding: 6px 14px;
    background: var(--accent);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.gallery-info h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
}

.gallery-zoom {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--text-light);
    transform: scale(0);
    transition: var(--transition-slow);
}

.gallery-item:hover .gallery-zoom {
    transform: scale(1);
}

.gallery-zoom:hover {
    background: var(--accent);
    color: #fff;
}

/* ============================================
   REVIEWS SECTION
   ============================================ */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.review-card {
    padding: 35px 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.review-stars {
    display: flex;
    gap: 5px;
    color: #fbbf24;
    font-size: 0.95rem;
}

.review-date {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.review-text {
    color: var(--text-dark);
    line-height: 1.7;
    font-style: italic;
    flex-grow: 1;
}

.review-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid var(--border-glass);
}

.review-author strong {
    color: var(--text-dark);
    font-size: 1rem;
}

.review-verified {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 500;
}

.google-reviews-link {
    margin-top: 40px;
}

.google-reviews-link a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* Responsive for Reviews */
@media (max-width: 768px) {
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .review-card {
        padding: 25px 20px;
    }

    .review-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .review-stars {
        font-size: 0.85rem;
    }

    .review-date {
        font-size: 0.75rem;
    }

    .review-text {
        font-size: 0.9rem;
    }

    .review-author {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .review-author strong {
        font-size: 0.9rem;
    }

    .review-verified {
        font-size: 0.7rem;
    }
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    z-index: 2;
}

.lightbox-img {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.lightbox-caption {
    text-align: center;
    padding: 16px;
    color: var(--text-dark);
    font-size: 1.1rem;
}

.lightbox-close,
.lightbox-nav {
    position: absolute;
    z-index: 3;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition);
}

.lightbox-close:hover,
.lightbox-nav:hover {
    background: var(--accent);
    transform: scale(1.1);
}

.lightbox-close {
    top: 20px;
    right: 20px;
}

.lightbox-prev {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

/* Contact Section */
.contact {
    position: relative;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info .section-badge {
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
    color: #60a5fa;
}

.contact-intro {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    transition: var(--transition);
}

.contact-method:hover {
    background: var(--bg-card-hover);
    border-color: rgba(249, 115, 22, 0.3);
}

.method-icon {
    width: 60px;
    height: 60px;
    background: rgba(249, 115, 22, 0.15);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--accent);
    flex-shrink: 0;
}

.method-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.method-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
}

.method-value:hover {
    color: var(--accent);
}

/* Contact Form */
.contact-form-wrapper {
    padding: 40px;
}

.contact-form-wrapper h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: var(--text-light);
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-light);
    transition: var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(249, 115, 22, 0.05);
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.1);
}

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

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2394a3b8' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
}

.form-group select option {
    background: var(--primary);
    color: var(--text-light);
}

/* CTA Section */
.cta-section {
    padding: 60px 0;
}

.cta-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    padding: 50px 60px;
}

.cta-content h3 {
    font-size: 1.6rem;
    margin-bottom: 8px;
}

.cta-content p {
    color: var(--text-dark);
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.03);
    padding: 80px 0 40px;
    border-top: 1px solid var(--border-glass);
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand > p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 45px;
    height: 45px;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--text-muted);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--accent);
    color: var(--text-light);
    border-color: var(--accent);
    transform: translateY(-3px);
}

.footer-links-group h4 {
    font-size: 1.1rem;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.footer-links-group ul {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-links-group a {
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-links-group a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-glass);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    gap: 30px;
}

.footer-legal a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-legal a:hover {
    color: var(--accent);
}

/* Scroll to Top */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-glow);
}

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

.scroll-top:hover {
    background: var(--accent-hover);
    transform: translateY(-5px);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-main {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .about-visual {
        order: -1;
    }
}

@media (max-width: 768px) {
    .nav-links, .nav-cta {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 30px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .cta-card {
        flex-direction: column;
        text-align: center;
        padding: 40px 30px;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
    }
    
    .section {
        padding: 80px 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .stat-item {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .contact-form-wrapper {
        padding: 30px 24px;
    }
    
    .lightbox-close,
    .lightbox-nav {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

/* Placeholder styles for when images are missing */
.gallery-item .gallery-image-wrapper {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-item .gallery-image-wrapper::before {
    content: '';
    position: absolute;
    font-family: 'Font Awesome 6';
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.2);
}

/* Loading state for images */
.gallery-image {
    loading: lazy;
}

.gallery-image[loading] {
    opacity: 0.7;
}

.gallery-image.loaded {
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* ============================================
   FULL WIDTH CONTACT LAYOUT (No Form)
   ============================================ */
.contact-wrapper-full {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-info-full .section-badge {
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
    color: #60a5fa;
}

.contact-methods-full {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 40px;
}

/* ============================================
   WHATSAPP FLOATING BUTTON
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 998;
    transition: var(--transition);
    text-decoration: none;
}

.whatsapp-float:hover {
    background: #20BA5A;
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float:active {
    transform: scale(0.95);
}

/* ============================================
   COOKIE CONSENT BANNER
   ============================================ */
.cookie-consent {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow-lg);
    z-index: 9999;
    transform: translateY(200%);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-consent-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cookie-consent-text p {
    color: var(--text-dark);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.cookie-consent-buttons {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
}

.cookie-link {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-decoration: underline;
    transition: var(--transition);
}

.cookie-link:hover {
    color: var(--accent);
}

.cookie-decline {
    padding: 12px 28px;
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--border-glass);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
}

.cookie-decline:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-dark);
}

.cookie-accept {
    padding: 12px 28px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-glow);
}

.cookie-accept:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 0 50px rgba(249, 115, 22, 0.4);
}

/* Responsive adjustments for cookie banner */
@media (max-width: 768px) {
    .cookie-consent {
        bottom: 10px;
        left: 10px;
        right: 10px;
        padding: 24px;
    }

    .cookie-consent-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-accept {
        width: 100%;
        text-align: center;
    }

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

    .contact-methods-full {
        grid-template-columns: 1fr;
    }

    .whatsapp-float {
        bottom: 80px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 1.8rem;
    }
}

/* ============================================
   LEGAL PAGES (Impressum, Datenschutz)
   ============================================ */
.legal-hero {
    padding: 180px 24px 80px;
    text-align: center;
}

.legal-hero-content {
    max-width: 700px;
    margin: 0 auto;
}

.legal-icon {
    width: 100px;
    height: 100px;
    background: rgba(249, 115, 22, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 3rem;
    color: var(--accent);
}

.legal-hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 10px;
}

.legal-hero p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.legal-content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.legal-section {
    padding: 40px;
}

.legal-section-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-glass);
}

.legal-section-header i {
    font-size: 1.5rem;
    color: var(--accent);
}

.legal-section-header h2 {
    font-size: 1.5rem;
    margin: 0;
}

.legal-section h3 {
    font-size: 1.2rem;
    color: var(--accent);
    margin: 20px 0 10px;
}

.legal-section p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 15px;
}

.legal-section p:last-child {
    margin-bottom: 0;
}

.legal-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.legal-info-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.legal-info-item .label {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

.legal-info-item span,
.legal-info-item a {
    color: var(--text-dark);
    font-weight: 600;
}

.legal-info-item a:hover {
    color: var(--accent);
}

.legal-responsible {
    background: rgba(249, 115, 22, 0.1);
    border: 1px solid rgba(249, 115, 22, 0.2);
    border-radius: 12px;
    padding: 25px;
    margin-top: 20px;
}

.legal-responsible strong {
    color: var(--text-dark);
    font-size: 1.1rem;
}

.legal-responsible a {
    color: var(--accent);
    font-weight: 600;
}

.legal-list {
    list-style: none;
    margin: 20px 0;
}

.legal-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-glass);
}

.legal-list li:last-child {
    border-bottom: none;
}

.legal-list li i {
    color: var(--accent);
    margin-top: 4px;
    flex-shrink: 0;
}

.legal-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    margin-right: 15px;
}

.legal-link:hover {
    color: var(--accent-hover);
    transform: translateX(5px);
}

.legal-links-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.legal-source {
    padding: 20px;
    text-align: center;
}

.legal-source p {
    color: var(--text-muted);
    margin: 0;
}

.legal-source a {
    color: var(--accent);
}

.back-home-section {
    padding: 40px 0 80px;
    text-align: center;
}

/* Responsive for Legal Pages */
@media (max-width: 768px) {
    .legal-hero {
        padding: 150px 24px 60px;
    }

    .legal-hero h1 {
        font-size: 2rem;
    }

    .legal-section {
        padding: 25px 20px;
    }

    .legal-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .legal-section-header h2 {
        font-size: 1.2rem;
    }

    .legal-section h3 {
        font-size: 1rem;
        margin: 15px 0 8px;
    }

    .legal-section p {
        font-size: 0.9rem;
    }

    .legal-info-grid {
        grid-template-columns: 1fr;
    }

    .legal-list li {
        flex-direction: column;
        gap: 5px;
        font-size: 0.9rem;
    }

    .legal-list li i {
        margin-top: 0;
    }

    .legal-links-inline {
        flex-direction: column;
    }
}

/* ============================================
   DARK MODE TOGGLE
   ============================================ */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    margin-left: 16px;
    position: relative;
    overflow: hidden;
}

.theme-toggle:hover {
    background: var(--bg-card-hover);
    transform: scale(1.05);
    box-shadow: var(--shadow-sm);
}

.theme-toggle i {
    font-size: 1.1rem;
    color: var(--text-dark);
    transition: var(--transition);
    position: absolute;
    opacity: 0;
    transform: rotate(-180deg) scale(0);
}

.theme-toggle i.active {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.theme-toggle .sun-icon {
    color: #f59e0b;
}

.theme-toggle .moon-icon {
    color: #6366f1;
}

/* Theme toggle in dark mode */
body.dark-mode .theme-toggle {
    background: rgba(30, 41, 59, 0.7);
    border-color: rgba(255, 255, 255, 0.1);
}

/* ============================================
   PRELOADER
   ============================================ */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

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

.preloader-logo {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 30px;
    animation: fadeInUp 0.6s ease forwards;
}

.preloader-logo .logo-text {
    color: var(--text-dark);
}

.preloader-logo .logo-accent {
    color: var(--accent);
}

.preloader-spinner {
    position: relative;
    width: 60px;
    height: 60px;
    margin: 0 auto;
}

.preloader-spinner::before,
.preloader-spinner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid transparent;
}

.preloader-spinner::before {
    border-top-color: var(--accent);
    border-right-color: var(--accent);
    animation: spin 1s linear infinite;
}

.preloader-spinner::after {
    border-bottom-color: var(--accent);
    border-left-color: var(--accent);
    animation: spin 1.5s linear reverse infinite;
}

.preloader-text {
    margin-top: 20px;
    font-size: 0.9rem;
    color: var(--text-muted);
    animation: fadeInUp 0.6s ease 0.3s forwards;
    opacity: 0;
}

.preloader-dots span {
    display: inline-block;
    animation: dotPulse 1.4s infinite ease-in-out both;
}

.preloader-dots span:nth-child(1) { animation-delay: -0.32s; }
.preloader-dots span:nth-child(2) { animation-delay: -0.16s; }
.preloader-dots span:nth-child(3) { animation-delay: 0; }

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

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

@keyframes dotPulse {
    0%, 80%, 100% {
        transform: scale(0);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Preloader Dark Mode */
body.dark-mode .preloader {
    background: var(--bg-light);
}

/* Mobile responsive for theme toggle */
@media (max-width: 768px) {
    .theme-toggle {
        width: 40px;
        height: 40px;
    }

    .theme-toggle i {
        font-size: 1rem;
    }

    .preloader-logo {
        font-size: 1.5rem;
    }
}
