/* ==========================================================================
   DOGAN TERRASSENÜBERDACHUNGEN - Premium Stylesheet v1.5.0
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Variables
   -------------------------------------------------------------------------- */
:root {
    --color-primary: #0a0a0f;
    --color-secondary: #12121a;
    --color-surface: #1a1a24;
    --color-accent: #6366f1;
    --color-accent-light: #818cf8;
    --color-accent-glow: rgba(99, 102, 241, 0.5);
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
    --gradient-glow: linear-gradient(135deg, rgba(99, 102, 241, 0.4) 0%, rgba(168, 85, 247, 0.4) 100%);
    --color-white: #ffffff;
    --color-gray-300: #cbd5e1;
    --color-gray-400: #94a3b8;
    --color-gray-500: #64748b;
    --color-gray-600: #475569;
    --color-success: #10b981;
    --color-error: #ef4444;
    --font-primary: 'Outfit', sans-serif;
    --font-secondary: 'Inter', sans-serif;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    --shadow-glow: 0 0 30px var(--color-accent-glow);
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --container-max: 1280px;
    --container-padding: 1.5rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    --spacing-4xl: 6rem;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html { overflow-x: hidden; }
body { font-family: var(--font-secondary); color: var(--color-gray-300); background: var(--color-primary); overflow-x: hidden; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition-fast); }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-primary); font-weight: 700; line-height: 1.2; color: var(--color-white); }

.container { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--container-padding); }
.section { padding: var(--spacing-4xl) 0; position: relative; }

/* Cursor Glow */
.cursor-glow { position: fixed; width: 400px; height: 400px; background: radial-gradient(circle, var(--color-accent-glow) 0%, transparent 70%); border-radius: 50%; pointer-events: none; z-index: 9998; opacity: 0.3; transform: translate(-50%, -50%); display: none; }
@media (min-width: 1024px) { .cursor-glow { display: block; } }

/* Section Headers */
.section-header { text-align: center; max-width: 700px; margin: 0 auto var(--spacing-3xl); }
.section-tag { display: inline-block; padding: 0.5rem 1rem; background: var(--gradient-glow); border: 1px solid rgba(99, 102, 241, 0.3); border-radius: var(--radius-full); font-size: 0.85rem; font-weight: 500; color: var(--color-accent-light); margin-bottom: var(--spacing-md); text-transform: uppercase; letter-spacing: 0.05em; }
.section-title { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: var(--spacing-md); background: linear-gradient(135deg, var(--color-white) 0%, var(--color-gray-300) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.section-subtitle { font-size: 1.1rem; color: var(--color-gray-400); }
.section-header.light .section-title { -webkit-text-fill-color: var(--color-white); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.75rem; padding: 1rem 2rem; font-family: var(--font-primary); font-size: 1rem; font-weight: 600; border: none; border-radius: var(--radius-lg); cursor: pointer; transition: all var(--transition-normal); position: relative; overflow: hidden; }
.btn-primary { background: var(--gradient-primary); color: var(--color-white); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-glow); }
.btn-glow::before { content: ''; position: absolute; inset: -2px; background: var(--gradient-primary); border-radius: inherit; z-index: -1; opacity: 0; filter: blur(15px); transition: opacity var(--transition-normal); }
.btn-glow:hover::before { opacity: 0.7; }
.btn-glass { background: rgba(255, 255, 255, 0.05); color: var(--color-white); border: 1px solid rgba(255, 255, 255, 0.1); backdrop-filter: blur(10px); }
.btn-glass:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.2); }
.btn-full { width: 100%; }

/* Header */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 1rem 0; transition: all var(--transition-normal); }
.header.scrolled { background: rgba(10, 10, 15, 0.95); backdrop-filter: blur(20px); border-bottom: 1px solid rgba(255, 255, 255, 0.05); padding: 0.75rem 0; }
.header-inner { display: flex; align-items: center; justify-content: space-between; }
.header-centered { justify-content: center; }
.header-centered .nav-menu { flex: none; }
.logo img { height: 45px; width: auto; }
.logo-text { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.5px; color: var(--color-accent, #f97316); }
.nav-menu { display: flex; align-items: center; gap: 0.5rem; }
.nav-link { padding: 0.75rem 1.25rem; font-family: var(--font-primary); font-weight: 500; font-size: 0.95rem; color: var(--color-gray-300); border-radius: var(--radius-md); transition: all var(--transition-fast); }
.nav-link:hover { color: var(--color-white); background: rgba(255, 255, 255, 0.05); }
.nav-link.active { color: var(--color-accent-light); background: rgba(99, 102, 241, 0.1); }
.mobile-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 0.5rem; z-index: 1200; position: relative; }
.mobile-toggle span { display: block; width: 24px; height: 2px; background: var(--color-white); border-radius: 2px; transition: all var(--transition-normal); }

/* Header Logo - nur Mobile */
.header-logo-mobile {
    display: none;
}

@media (max-width: 768px) {
    .header-logo-mobile {
        display: flex;
        align-items: center;
        position: relative;
        z-index: 1200;
        flex: 1;
        min-width: 0;
        margin-right: 0.75rem;
    }
    .header-logo-mobile img {
        width: 100%;
        height: auto;
        max-height: 50px;
        display: block;
        filter: invert(1) brightness(1.8);
        object-fit: contain;
        object-position: left center;
    }
    /* Header Layout: Logo links, Hamburger rechts */
    .header-centered {
        justify-content: space-between;
    }
    /* Hero-Logo auf Mobile ausblenden */
    .hero-logo-bg {
        display: none;
    }
}

/* Hero */
.hero { min-height: 100vh; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; padding: 120px 0 80px; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-gradient { position: absolute; inset: 0; background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(99, 102, 241, 0.2) 0%, transparent 50%), radial-gradient(ellipse 60% 40% at 80% 60%, rgba(168, 85, 247, 0.15) 0%, transparent 50%); }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px); background-size: 60px 60px; mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%); }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(100px); opacity: 0.5; animation: float 10s ease-in-out infinite; }
.hero-glow-1 { width: 600px; height: 600px; background: rgba(99, 102, 241, 0.3); top: -200px; right: -100px; }
.hero-glow-2 { width: 400px; height: 400px; background: rgba(168, 85, 247, 0.25); bottom: -100px; left: -100px; animation-delay: -3s; }
.hero-glow-3 { width: 300px; height: 300px; background: rgba(99, 102, 241, 0.2); top: 50%; left: 50%; transform: translate(-50%, -50%); animation-delay: -5s; }
@keyframes float { 0%, 100% { transform: translate(0, 0) scale(1); } 33% { transform: translate(30px, -30px) scale(1.1); } 66% { transform: translate(-20px, 20px) scale(0.9); } }
.hero-logo-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 110%;
    height: 110%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.045;
    animation: hero-logo-pulse 12s ease-in-out infinite;
}
.hero-logo-bg img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: grayscale(100%) brightness(3);
}
@keyframes hero-logo-pulse {
    0%, 100% { opacity: 0.045; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.075; transform: translate(-50%, -50%) scale(1.03); }
}
@media (max-width: 1024px) {
    .hero-logo-bg { width: 140%; height: 140%; }
}
.hero-content { position: relative; z-index: 1; text-align: center; max-width: 900px; margin: 0 auto; padding: 0 var(--container-padding); }
.hero-badge { display: inline-flex; align-items: center; gap: 0.75rem; padding: 0.5rem 1.25rem; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: var(--radius-full); font-size: 0.9rem; color: var(--color-gray-300); margin-bottom: var(--spacing-xl); }
.badge-dot { width: 8px; height: 8px; background: var(--color-success); border-radius: 50%; animation: pulse-dot 2s ease-in-out infinite; }
@keyframes pulse-dot { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.2); } }
.hero-title { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 800; line-height: 1.1; margin-bottom: var(--spacing-xl); }
.title-line { display: block; }
.title-gradient { background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-subtitle { font-size: clamp(1rem, 2vw, 1.25rem); color: var(--color-gray-400); max-width: 650px; margin: 0 auto var(--spacing-2xl); line-height: 1.7; }
.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: var(--spacing-3xl); }
.hero-stats { display: flex; align-items: center; justify-content: center; gap: var(--spacing-xl); flex-wrap: wrap; }
.stat-item { text-align: center; }
.stat-number { font-family: var(--font-primary); font-size: 2.5rem; font-weight: 700; color: var(--color-white); line-height: 1; }
.stat-number-wrapper { display: flex; align-items: baseline; justify-content: center; gap: 0.1em; }
.stat-suffix { font-family: var(--font-primary); font-size: 1.5rem; font-weight: 700; color: var(--color-accent-light); }
.stat-label { display: block; font-size: 0.9rem; color: var(--color-gray-500); margin-top: 0.5rem; }
.stat-divider { width: 1px; height: 50px; background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.2), transparent); }

/* Scroll Indicator */
.hero-scroll { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 1; }
.scroll-indicator { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; color: var(--color-gray-500); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; }
.scroll-line { width: 1px; height: 60px; background: rgba(255, 255, 255, 0.1); position: relative; overflow: hidden; }
.scroll-dot { width: 3px; height: 10px; background: var(--color-accent); border-radius: 2px; position: absolute; left: -1px; animation: scroll-down 2s ease-in-out infinite; }
@keyframes scroll-down { 0% { top: 0; opacity: 0; } 20% { opacity: 1; } 80% { opacity: 1; } 100% { top: 100%; opacity: 0; } }

/* Services */
.services { background: var(--color-secondary); position: relative; overflow: hidden; }
.services::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 200px; background: linear-gradient(180deg, var(--color-primary) 0%, transparent 100%); pointer-events: none; }
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}
.service-card {
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 2rem 2rem 2.5rem;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.06) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
}
.service-card:hover {
    border-color: rgba(249, 115, 22, 0.25);
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25), 0 0 40px rgba(249, 115, 22, 0.05);
}
.service-card:hover::before { opacity: 1; }
.card-accent {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent, #f97316), #ea580c);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.service-card:hover .card-accent { transform: scaleX(1); }
.card-number {
    position: absolute;
    top: 1.5rem; right: 1.75rem;
    font-size: 3rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.03);
    line-height: 1;
    z-index: 0;
    transition: color 0.4s ease;
    user-select: none;
}
.service-card:hover .card-number { color: rgba(249, 115, 22, 0.08); }
.card-glow {
    position: absolute;
    width: 250px; height: 250px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    top: -120px; right: -120px;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}
.service-card:hover .card-glow { opacity: 0.5; }
.card-icon {
    width: 56px; height: 56px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--color-accent, #f97316), #ea580c);
    border-radius: 14px;
    margin-bottom: 1.25rem;
    position: relative; z-index: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover .card-icon {
    transform: scale(1.08);
    box-shadow: 0 8px 24px rgba(249, 115, 22, 0.3);
}
.card-icon svg { width: 26px; height: 26px; color: #fff; }
.card-body { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; }
.card-title { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.6rem; position: relative; z-index: 1; }
.card-text { color: var(--color-gray-400); font-size: 0.92rem; line-height: 1.65; margin-bottom: 1.25rem; position: relative; z-index: 1; flex: 1; }
.card-features { display: flex; flex-wrap: wrap; gap: 0.4rem; position: relative; z-index: 1; }
.feature-tag {
    padding: 0.3rem 0.7rem;
    background: rgba(249, 115, 22, 0.06);
    border: 1px solid rgba(249, 115, 22, 0.12);
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--color-accent, #f97316);
    transition: all 0.2s ease;
}
.service-card:hover .feature-tag {
    background: rgba(249, 115, 22, 0.1);
    border-color: rgba(249, 115, 22, 0.2);
}
.service-featured { padding: 2.5rem; }
.service-featured .card-icon { width: 64px; height: 64px; border-radius: 16px; }
.service-featured .card-icon svg { width: 30px; height: 30px; }
.service-featured .card-title { font-size: 1.4rem; }
.service-featured .card-text { font-size: 1rem; }
.service-featured .card-number { font-size: 4.5rem; }
@media (min-width: 1100px) {
    .services-grid { grid-template-columns: repeat(4, 1fr); }
    .service-featured { grid-column: span 2; }
}
@media (max-width: 768px) {
    .services-grid { grid-template-columns: 1fr; gap: 1rem; }
    .service-card { padding: 1.5rem 1.5rem 2rem; }
    .service-featured { padding: 1.75rem 1.5rem 2rem; }
    .card-number { font-size: 2.5rem; top: 1.25rem; right: 1.25rem; }
    .service-featured .card-number { font-size: 3rem; }
}

/* Wide Service Card (legacy compat) */
.service-card-wide { grid-column: span 2; }
@media (max-width: 768px) { .service-card-wide { grid-column: span 1; } }

/* RAL Colors Section */
.colors-info {
    margin-top: var(--spacing-3xl);
    padding: var(--spacing-2xl);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-xl);
}
.colors-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}
.colors-header h3 {
    font-size: 1.5rem;
    margin-top: var(--spacing-sm);
}
.colors-grid {
    display: flex;
    justify-content: center;
    gap: var(--spacing-2xl);
    flex-wrap: wrap;
}
.color-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}
.color-swatch {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-lg);
    border: 3px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.color-swatch:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}
.color-name {
    font-weight: 600;
    color: var(--color-white);
    font-size: 0.95rem;
}
.color-label {
    font-size: 0.8rem;
    color: var(--color-gray-500);
}
.colors-note {
    margin-top: 1.25rem;
    font-size: 0.9rem;
    color: var(--color-gray-400);
    text-align: center;
    font-style: italic;
}

/* Wunschlackierung Palette */
.custom-color-section {
    margin-top: 2rem;
    padding: 2rem;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    text-align: center;
}
.custom-color-header {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-accent, #f97316);
    margin-bottom: 0.75rem;
}
.custom-color-text {
    font-size: 0.9rem;
    color: var(--color-gray-400);
    margin-bottom: 1.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}
.color-palette {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 1.5rem;
}
.palette-strip {
    display: flex;
    height: 40px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}
.palette-strip span {
    flex: 1;
    transition: flex 0.3s ease, transform 0.3s ease;
    position: relative;
    cursor: pointer;
}
.palette-strip span:first-child {
    border-radius: 10px 0 0 10px;
}
.palette-strip span:last-child {
    border-radius: 0 10px 10px 0;
}
.palette-strip span:hover {
    flex: 2.5;
    z-index: 1;
    box-shadow: 0 0 16px rgba(255,255,255,0.15);
}
.palette-strip-neutral {
    height: 28px;
    opacity: 0.85;
}
.custom-color-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-accent, #f97316);
    text-decoration: none;
    padding: 10px 24px;
    border: 1px solid rgba(249,115,22,0.3);
    border-radius: 100px;
    transition: all 0.2s ease;
}
.custom-color-cta:hover {
    background: rgba(249,115,22,0.1);
    border-color: var(--color-accent, #f97316);
    transform: translateY(-1px);
}
@media (max-width: 768px) {
    .palette-strip { height: 32px; border-radius: 8px; }
    .palette-strip-neutral { height: 22px; }
    .palette-strip span:first-child { border-radius: 8px 0 0 8px; }
    .palette-strip span:last-child { border-radius: 0 8px 8px 0; }
    .custom-color-section { padding: 1.5rem 1rem; }
}

/* Timeline */
.timeline-section { background: var(--color-primary); position: relative; overflow: hidden; }
.timeline-bg { position: absolute; inset: 0; pointer-events: none; }
.timeline-glow { position: absolute; width: 100%; height: 100%; background: radial-gradient(ellipse 50% 30% at 0% 50%, rgba(99, 102, 241, 0.15) 0%, transparent 50%), radial-gradient(ellipse 50% 30% at 100% 50%, rgba(168, 85, 247, 0.1) 0%, transparent 50%); }
.timeline { position: relative; max-width: 800px; margin: 0 auto; }
.timeline-line { position: absolute; left: 24px; top: 0; bottom: 0; width: 2px; background: rgba(255, 255, 255, 0.1); }
.timeline-progress { width: 100%; height: 0%; background: var(--gradient-primary); transition: height 0.5s ease; }
.timeline-item { position: relative; padding-left: 80px; padding-bottom: var(--spacing-3xl); opacity: 0.4; transform: translateX(-20px); transition: all 0.5s ease; }
.timeline-item.active { opacity: 1; transform: translateX(0); }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-marker { position: absolute; left: 0; top: 0; }
.marker-outer { width: 50px; height: 50px; border-radius: 50%; background: var(--color-surface); border: 2px solid rgba(255, 255, 255, 0.1); display: flex; align-items: center; justify-content: center; transition: all var(--transition-normal); }
.timeline-item.active .marker-outer { border-color: var(--color-accent); background: var(--gradient-primary); }
.marker-inner { font-family: var(--font-primary); font-weight: 700; font-size: 1.1rem; color: var(--color-gray-500); transition: color var(--transition-normal); }
.timeline-item.active .marker-inner { color: var(--color-white); }
.marker-glow { position: absolute; inset: -10px; background: radial-gradient(circle, var(--color-accent-glow) 0%, transparent 70%); border-radius: 50%; opacity: 0; transition: opacity var(--transition-normal); }
.timeline-item.active .marker-glow { opacity: 0.5; }
.timeline-content { background: rgba(255, 255, 255, 0.02); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: var(--radius-xl); padding: var(--spacing-xl); transition: all var(--transition-normal); }
.timeline-item.active .timeline-content { background: rgba(255, 255, 255, 0.04); border-color: rgba(99, 102, 241, 0.2); }
.timeline-icon { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: rgba(99, 102, 241, 0.1); border-radius: var(--radius-md); margin-bottom: var(--spacing-md); }
.timeline-icon svg { width: 24px; height: 24px; color: var(--color-accent-light); }
.timeline-icon.success { background: rgba(16, 185, 129, 0.1); }
.timeline-icon.success svg { color: var(--color-success); }
.timeline-content h3 { font-size: 1.25rem; margin-bottom: var(--spacing-sm); }
.timeline-content p { color: var(--color-gray-400); margin-bottom: var(--spacing-md); }
.timeline-duration { display: inline-block; padding: 0.35rem 0.75rem; background: rgba(99, 102, 241, 0.1); border-radius: var(--radius-full); font-size: 0.8rem; font-weight: 500; color: var(--color-accent-light); }

/* About */
.about { background: var(--color-secondary); overflow: hidden; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--spacing-4xl); align-items: center; }
.about-image { position: relative; }
.image-frame { position: relative; border-radius: var(--radius-xl); overflow: hidden; }
.image-frame img { width: 100%; height: 500px; object-fit: cover; }
.image-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, transparent 50%); }
.floating-card { position: absolute; bottom: -30px; right: -30px; background: var(--color-surface); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: var(--radius-lg); padding: var(--spacing-lg); display: flex; align-items: center; gap: var(--spacing-md); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3); }
.floating-icon { width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; background: var(--gradient-primary); border-radius: var(--radius-md); }
.floating-icon svg { width: 24px; height: 24px; color: var(--color-white); }
.floating-number { display: block; font-family: var(--font-primary); font-size: 2rem; font-weight: 700; color: var(--color-white); line-height: 1; }
.floating-label { display: block; font-size: 0.85rem; color: var(--color-gray-400); }
.about-content { padding-left: var(--spacing-xl); }
.about-title { font-size: clamp(1.75rem, 3vw, 2.5rem); margin-bottom: var(--spacing-lg); }
.about-text { color: var(--color-gray-400); margin-bottom: var(--spacing-lg); line-height: 1.8; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: var(--spacing-md); margin: var(--spacing-2xl) 0; }
.feature-item { display: flex; align-items: center; gap: var(--spacing-sm); }
.feature-icon { width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; background: rgba(16, 185, 129, 0.1); border-radius: 50%; flex-shrink: 0; }
.feature-icon svg { width: 14px; height: 14px; color: var(--color-success); }
.feature-item span { font-size: 0.95rem; color: var(--color-gray-300); }

/* Contact */
.contact-section { background: var(--color-primary); position: relative; overflow: hidden; }
.contact-bg { position: absolute; inset: 0; pointer-events: none; }
.contact-glow { position: absolute; border-radius: 50%; filter: blur(120px); }
.contact-glow-1 { width: 600px; height: 600px; background: rgba(99, 102, 241, 0.15); top: -200px; left: -200px; }
.contact-glow-2 { width: 400px; height: 400px; background: rgba(168, 85, 247, 0.1); bottom: -100px; right: -100px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: var(--spacing-3xl); position: relative; z-index: 1; }
.contact-info h3 { font-size: 1.5rem; margin-bottom: var(--spacing-xl); }
.info-cards { display: flex; flex-direction: column; gap: var(--spacing-md); }
.info-card { display: flex; align-items: flex-start; gap: var(--spacing-md); padding: var(--spacing-lg); background: rgba(255, 255, 255, 0.02); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: var(--radius-lg); transition: all var(--transition-normal); }
.info-card:hover { background: rgba(255, 255, 255, 0.04); border-color: rgba(99, 102, 241, 0.2); }
.info-icon { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: rgba(99, 102, 241, 0.1); border-radius: var(--radius-md); flex-shrink: 0; }
.info-icon svg { width: 22px; height: 22px; color: var(--color-accent-light); }
.info-label { display: block; font-size: 0.8rem; color: var(--color-gray-500); margin-bottom: 0.25rem; text-transform: uppercase; letter-spacing: 0.05em; }
.info-value { font-size: 1rem; color: var(--color-white); }
a.info-value:hover { color: var(--color-accent-light); }

/* Contact Map */
.contact-map {
    margin-top: var(--spacing-xl);
    height: 220px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.map-consent-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(20, 20, 30, 0.95), rgba(30, 30, 45, 0.95));
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.map-consent-overlay:hover {
    background: linear-gradient(135deg, rgba(25, 25, 40, 0.95), rgba(40, 40, 60, 0.95));
}

.map-consent-content {
    text-align: center;
    padding: 1.5rem;
}

.map-consent-content svg {
    color: var(--color-accent-light);
    margin-bottom: 0.75rem;
    opacity: 0.8;
}

.map-consent-content p {
    color: var(--color-white);
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.map-consent-hint {
    display: block;
    font-size: 0.75rem;
    color: var(--color-gray-500);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(30%) contrast(1.1);
}

/* Contact Form */
.contact-form-wrapper { background: rgba(255, 255, 255, 0.02); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: var(--radius-xl); padding: var(--spacing-2xl); position: relative; }

/* Form Header */
.form-header {
    text-align: center;
    margin-bottom: 1.75rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.form-header-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-accent, #f97316), #ea580c);
    border-radius: 14px;
}
.form-header-icon svg {
    width: 26px;
    height: 26px;
    color: #fff;
}
.form-header-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 0.4rem;
}
.form-header-text {
    font-size: 0.9rem;
    color: var(--color-gray-400);
    line-height: 1.5;
}

/* Contact Consent Overlay */
.contact-consent-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: var(--radius-xl);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.consent-message {
    text-align: center;
    max-width: 320px;
}

.consent-message svg {
    color: var(--color-accent);
    margin-bottom: 1rem;
}

.consent-message h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 0.75rem;
}

.consent-message p {
    font-size: 0.9rem;
    color: var(--color-gray-400);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.contact-form.disabled {
    pointer-events: none;
    opacity: 0.3;
}
.contact-form { display: flex; flex-direction: column; gap: var(--spacing-lg); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--spacing-lg); }
.form-group { position: relative; }
.form-group label { display: block; font-size: 0.9rem; font-weight: 500; color: var(--color-gray-300); margin-bottom: 0.5rem; }
.required { color: var(--color-error); }
.optional { color: var(--color-gray-500); font-weight: 400; }
.form-input { width: 100%; padding: 1rem 1.25rem; font-family: inherit; font-size: 1rem; background: rgba(0, 0, 0, 0.3); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: var(--radius-md); color: var(--color-white); transition: all var(--transition-fast); }
.form-input:focus { outline: none; border-color: var(--color-accent); background: rgba(0, 0, 0, 0.4); box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15); }
.form-input::placeholder { color: var(--color-gray-600); }
textarea.form-input { resize: vertical; min-height: 120px; }
select.form-input { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 3rem; }

/* Upload Zone */
.upload-zone { border: 2px dashed rgba(255, 255, 255, 0.1); border-radius: var(--radius-lg); padding: var(--spacing-2xl); text-align: center; transition: all var(--transition-normal); cursor: pointer; }
.upload-zone:hover, .upload-zone.dragover { border-color: var(--color-accent); background: rgba(99, 102, 241, 0.05); }
.upload-icon { width: 60px; height: 60px; margin: 0 auto var(--spacing-md); display: flex; align-items: center; justify-content: center; background: rgba(99, 102, 241, 0.1); border-radius: 50%; }
.upload-icon svg { width: 28px; height: 28px; color: var(--color-accent-light); }
.upload-text { color: var(--color-gray-300); margin-bottom: 0.5rem; }
.upload-link { color: var(--color-accent-light); cursor: pointer; }
.upload-hint { font-size: 0.8rem; color: var(--color-gray-500); }
.upload-preview { display: flex; flex-wrap: wrap; gap: var(--spacing-md); margin-top: var(--spacing-md); }
.preview-item { position: relative; width: 80px; height: 80px; border-radius: var(--radius-md); overflow: visible; border: 1px solid rgba(255, 255, 255, 0.1); }
.preview-item img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-md); }
.preview-remove { position: absolute; top: -6px; right: -6px; width: 22px; height: 22px; background: #ef4444; border: 2px solid var(--color-primary, #0a0c10); border-radius: 50%; color: white; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; line-height: 1; z-index: 2; transition: transform 0.15s ease; }
.preview-remove:hover { transform: scale(1.15); background: #dc2626; }
.form-input.input-error { border-color: #ef4444 !important; box-shadow: 0 0 0 2px rgba(239,68,68,0.25); }
.checkbox-error { background: rgba(239,68,68,0.08); border-radius: 8px; padding: 8px 12px; margin: -8px -12px; animation: shake 0.4s ease; }
.checkbox-error .checkbox-text { color: #ef4444 !important; }
@keyframes shake { 0%,100% { transform: translateX(0); } 20%,60% { transform: translateX(-6px); } 40%,80% { transform: translateX(6px); } }

/* Checkbox */
.checkbox-group { margin-top: var(--spacing-md); }
.checkbox-label { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; }
.checkbox-label input { position: absolute; opacity: 0; width: 0; height: 0; }
.checkbox-custom { display: block; width: 24px; height: 24px; min-width: 24px; min-height: 24px; border: 2px solid rgba(255, 255, 255, 0.5); border-radius: 6px; flex-shrink: 0; position: relative; transition: all var(--transition-fast); cursor: pointer; background: rgba(255, 255, 255, 0.1); box-sizing: border-box; }
.checkbox-label:hover .checkbox-custom { border-color: var(--color-accent); background: rgba(255, 255, 255, 0.15); }
.checkbox-label input:checked + .checkbox-custom { background: var(--gradient-primary); border-color: var(--color-accent); }
.checkbox-custom::after { content: ''; position: absolute; left: 7px; top: 3px; width: 6px; height: 12px; border: solid white; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); opacity: 0; transition: opacity var(--transition-fast); }
.checkbox-label input:checked + .checkbox-custom::after { opacity: 1; }
.checkbox-text { font-size: 0.9rem; color: var(--color-gray-400); line-height: 1.5; padding-top: 2px; }
.checkbox-text a { color: var(--color-accent-light); }

/* Submit Button */
.btn-loading { display: none; align-items: center; gap: 0.5rem; }
.btn.loading .btn-text, .btn.loading .btn-arrow { display: none; }
.btn.loading .btn-loading { display: flex; }
.spinner { width: 20px; height: 20px; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Form Message */
.form-message { padding: var(--spacing-md); border-radius: var(--radius-md); text-align: center; display: none; }
.form-message.success { display: block; background: rgba(16, 185, 129, 0.1); border: 1px solid rgba(16, 185, 129, 0.3); color: var(--color-success); }
.form-message.error { display: block; background: rgba(239, 68, 68, 0.1); border: 1px solid rgba(239, 68, 68, 0.3); color: var(--color-error); }

/* Footer */
.footer { background: var(--color-secondary); border-top: 1px solid rgba(255, 255, 255, 0.05); }
.footer-top { padding: var(--spacing-4xl) 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: var(--spacing-3xl); }
.footer-brand { max-width: 300px; }
.footer-logo { height: 50px; margin-bottom: var(--spacing-md); filter: invert(1) brightness(1.8); }
.footer-brand p { color: var(--color-gray-500); font-size: 0.95rem; }
.footer-links h4, .footer-contact h4 { font-size: 1rem; margin-bottom: var(--spacing-lg); color: var(--color-white); }
.footer-links a { display: block; padding: 0.5rem 0; color: var(--color-gray-500); transition: color var(--transition-fast); }
.footer-links a:hover { color: var(--color-accent-light); }
.footer-contact p { color: var(--color-gray-500); margin-bottom: var(--spacing-sm); }
.footer-contact a { color: var(--color-gray-400); }
.footer-contact a:hover { color: var(--color-accent-light); }
.footer-bottom { padding: var(--spacing-lg) 0; border-top: 1px solid rgba(255, 255, 255, 0.05); }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p { font-size: 0.9rem; color: var(--color-gray-600); }
.version-info { font-size: 0.8rem; color: var(--color-gray-700); }

/* Responsive */
@media (max-width: 1024px) {
    .about-grid, .contact-grid { grid-template-columns: 1fr; gap: var(--spacing-2xl); }
    .about-content { padding-left: 0; }
    .floating-card { right: 20px; bottom: -20px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--spacing-2xl); }
}
@media (max-width: 768px) {
    /* ---- Mobile Navigation ---- */
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        height: 100dvh;
        background: rgba(10, 10, 15, 0.97);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0.25rem;
        padding: 2rem;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        z-index: 1100;
    }
    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .nav-menu .nav-link {
        font-size: 1.35rem;
        font-weight: 600;
        padding: 0.9rem 2rem;
        border-radius: 12px;
        text-align: center;
        width: 100%;
        max-width: 280px;
        color: var(--color-gray-300);
        transition: all 0.2s ease;
    }
    .nav-menu .nav-link:hover,
    .nav-menu .nav-link.active {
        color: #fff;
        background: rgba(249, 115, 22, 0.1);
    }
    .nav-menu .nav-link.active {
        color: var(--color-accent, #f97316);
    }
    .header-centered { justify-content: space-between; }
    .mobile-toggle { display: flex; z-index: 1200; }
    .mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .mobile-toggle.active span:nth-child(2) { opacity: 0; }
    .mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

    /* Scroll-Indikator auf Mobile ausblenden */
    .hero-scroll { display: none; }

    /* ---- Hero Mobile ---- */
    .hero-buttons { flex-direction: column; align-items: stretch; }
    .hero-stats { flex-direction: column; gap: var(--spacing-lg); }
    .stat-divider { width: 50px; height: 1px; }

    /* ---- Form Mobile ---- */
    .form-row { grid-template-columns: 1fr; }
    .about-features { grid-template-columns: 1fr; }

    /* Kontaktformular: deutlich sichtbar für alle Altersgruppen */
    .contact-form-wrapper {
        padding: 1.5rem;
        background: rgba(255, 255, 255, 0.04);
        border: 2px solid rgba(249, 115, 22, 0.2);
        border-radius: 20px;
    }
    .form-header {
        margin-bottom: 1.5rem;
        padding-bottom: 1.25rem;
    }
    .form-header-icon {
        width: 48px;
        height: 48px;
    }
    .form-header-title {
        font-size: 1.25rem;
    }
    .form-group label {
        font-size: 1rem;
        font-weight: 600;
        color: var(--color-white);
        margin-bottom: 0.6rem;
    }
    .required {
        font-size: 1.1rem;
    }
    .form-input {
        padding: 1.1rem 1.15rem;
        font-size: 1.05rem;
        border: 2px solid rgba(255, 255, 255, 0.12);
        border-radius: 12px;
        background: rgba(0, 0, 0, 0.35);
    }
    .form-input:focus {
        border-color: var(--color-accent, #f97316);
        box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15);
    }
    .form-input::placeholder {
        font-size: 0.95rem;
    }
    textarea.form-input {
        min-height: 130px;
    }
    .contact-form {
        gap: 1.25rem;
    }
    .checkbox-group {
        padding: 1rem;
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.06);
        border-radius: 12px;
    }
    .checkbox-label {
        gap: 0.75rem;
    }
    .checkbox-text,
    .checkbox-text a {
        font-size: 0.95rem;
    }
    /* Submit-Button: groß + auffällig */
    .btn-full {
        padding: 1.15rem 1.5rem;
        font-size: 1.1rem;
        font-weight: 700;
        border-radius: 14px;
        margin-top: 0.5rem;
    }
    /* Upload-Zone kompakter */
    .upload-zone {
        padding: 1.25rem;
    }
    .upload-text {
        font-size: 0.9rem;
    }
    .upload-hint {
        font-size: 0.75rem;
    }
    /* Formular-Nachricht deutlich */
    .form-message {
        font-size: 1rem;
        padding: 1rem;
        border-radius: 12px;
    }

    /* ---- Timeline Mobile ---- */
    .timeline-item { padding-left: 60px; }
    .timeline-line { left: 15px; }
    .marker-outer { width: 35px; height: 35px; }

    /* ---- Floating Card (About) ---- */
    .floating-card { right: 10px; bottom: -20px; }

    /* ---- Colors Mobile ---- */
    .colors-info { padding: 1.5rem 1rem; }
    .colors-grid { gap: 1rem; }
    .color-swatch { width: 60px; height: 60px; }
    .color-name { font-size: 0.8rem; }
    .color-label { font-size: 0.7rem; }

    /* ---- Footer Mobile ---- */
    .footer-top { padding: 2.5rem 0; }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 0;
        text-align: center;
    }
    .footer-brand {
        max-width: none;
        padding-bottom: 1.5rem;
        margin-bottom: 1.5rem;
        border-bottom: 1px solid rgba(255,255,255,0.06);
    }
    .footer-brand .footer-logo { margin-left: auto; margin-right: auto; }
    .footer-links,
    .footer-contact {
        padding: 1rem 0;
        border-bottom: 1px solid rgba(255,255,255,0.04);
    }
    .footer-links:last-of-type,
    .footer-contact:last-child { border-bottom: none; }
    .footer-links h4,
    .footer-contact h4 {
        font-size: 0.8rem;
        text-transform: uppercase;
        letter-spacing: 1.5px;
        color: var(--color-gray-500);
        margin-bottom: 0.75rem;
    }
    .footer-links a {
        padding: 0.4rem 0;
        font-size: 0.9rem;
    }
    .footer-contact p,
    .footer-contact a { font-size: 0.9rem; }
    .footer-bottom { padding: 1.25rem 0; }
    .footer-bottom .container {
        flex-direction: column;
        gap: 0.25rem;
    }
    .footer-bottom p { font-size: 0.8rem; text-align: center; }
}
@media (max-width: 480px) {
    :root { --container-padding: 1rem; }
    .section { padding: var(--spacing-3xl) 0; }
    .hero { padding: 100px 0 60px; }
    .hero-title { font-size: 2rem; }
    .contact-form-wrapper { padding: 1.25rem 1rem; }
    .form-header-title { font-size: 1.15rem; }
    .form-input { padding: 1rem; font-size: 1rem; }
    .floating-card { position: relative; right: auto; bottom: auto; margin-top: -20px; justify-content: center; }
    .info-card { padding: 0.75rem; }
    .info-card .info-value { font-size: 0.85rem; word-break: break-all; }
    .contact-map { min-height: 200px; }
    .section-title { font-size: 1.6rem; }
    .section-subtitle { font-size: 0.9rem; }
}

/* ==========================================================================
   Gallery Section
   ========================================================================== */

.gallery-section {
    background: var(--color-secondary);
}

.gallery-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: var(--spacing-2xl);
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--color-gray-600);
    border-radius: var(--radius-full);
    background: transparent;
    color: var(--color-gray-400);
    font-family: var(--font-secondary);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.filter-btn:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.filter-btn.active {
    background: var(--gradient-primary);
    border-color: transparent;
    color: white;
}

.gallery-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-card {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    background: var(--color-surface);
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.gallery-card:hover img {
    transform: scale(1.08);
}

.gallery-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.3) 40%, transparent 100%);
    opacity: 0;
    transition: opacity var(--transition-normal);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
}

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

.gallery-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.25rem;
}

.gallery-card-category {
    font-size: 0.85rem;
    color: var(--color-accent-light);
}

.gallery-card-zoom {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-normal);
    box-shadow: var(--shadow-glow);
}

.gallery-card-zoom svg {
    width: 24px;
    height: 24px;
    color: white;
}

.gallery-card:hover .gallery-card-zoom {
    transform: translate(-50%, -50%) scale(1);
}

.gallery-loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    color: var(--color-gray-500);
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--color-gray-600);
    border-top-color: var(--color-accent);
    border-radius: 50%;
    margin: 0 auto 1rem;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.gallery-empty {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--color-gray-500);
}

.gallery-empty svg {
    opacity: 0.3;
    margin-bottom: 1rem;
}

/* Gallery Lightbox */
.gallery-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.95);
    align-items: center;
    justify-content: center;
}

.gallery-lightbox.active {
    display: flex;
}

.gallery-lightbox .lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition-fast);
    z-index: 10;
}

.gallery-lightbox .lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.gallery-lightbox .lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition-fast);
    z-index: 10;
}

.gallery-lightbox .lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.2);
}

.gallery-lightbox .lightbox-prev {
    left: 1.5rem;
}

.gallery-lightbox .lightbox-next {
    right: 1.5rem;
}

.gallery-lightbox .lightbox-image {
    max-width: 90%;
    max-height: 80vh;
}

.gallery-lightbox .lightbox-image img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: var(--radius-md);
}

.gallery-lightbox .lightbox-caption {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    max-width: 600px;
}

.gallery-lightbox .lightbox-caption h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.gallery-lightbox .lightbox-caption p {
    font-size: 0.9rem;
    color: var(--color-gray-400);
}

/* Gallery Responsive */
@media (max-width: 768px) {
    .gallery-showcase {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1rem;
    }
    
    .gallery-card-overlay {
        opacity: 1;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 50%);
    }
    
    .gallery-card-zoom {
        display: none;
    }
    
    .gallery-lightbox .lightbox-nav {
        width: 40px;
        height: 40px;
    }
    
    .gallery-lightbox .lightbox-prev {
        left: 0.5rem;
    }
    
    .gallery-lightbox .lightbox-next {
        right: 0.5rem;
    }
}

@media (max-width: 480px) {
    .gallery-filter {
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .gallery-showcase {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }
    
    .gallery-card {
        aspect-ratio: 1;
    }
    
    .gallery-card-title {
        font-size: 0.9rem;
    }
    
    .gallery-card-category {
        font-size: 0.75rem;
    }
}

/* ==========================================================================
   Cookie Banner - Modal Design
   ========================================================================== */

.cookie-banner {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.cookie-banner.visible {
    opacity: 1;
    visibility: visible;
}

.cookie-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.cookie-modal {
    position: relative;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    max-width: 480px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2rem;
    transform: scale(0.95);
    transition: transform 0.3s;
}

.cookie-banner.visible .cookie-modal {
    transform: scale(1);
}

.cookie-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    border: none;
    background: #f1f5f9;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    transition: all 0.2s;
}

.cookie-close:hover {
    background: #e2e8f0;
    color: #1e293b;
}

.cookie-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.75rem;
    padding-right: 2.5rem;
}

.cookie-description {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Categories */
.cookie-categories-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.cookie-cat {
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.cookie-cat:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.cookie-cat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.cookie-cat-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.cookie-cat-title span:first-child {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
}

.cookie-badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    background: #f0fdf4;
    color: #16a34a;
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.cookie-cat-desc {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

/* Toggle Switch */
.cookie-switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
    flex-shrink: 0;
}

.cookie-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-switch-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: #cbd5e1;
    border-radius: 26px;
    transition: all 0.3s;
}

.cookie-switch-slider::before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background: white;
    border-radius: 50%;
    transition: all 0.3s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.cookie-switch input:checked + .cookie-switch-slider {
    background: #22c55e;
}

.cookie-switch input:checked + .cookie-switch-slider::before {
    transform: translateX(22px);
}

/* Buttons */
.cookie-buttons {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.cookie-btn-primary {
    flex: 1;
    padding: 0.875rem 1.5rem;
    background: #22c55e;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.cookie-btn-primary:hover {
    background: #16a34a;
}

.cookie-btn-secondary {
    flex: 1;
    padding: 0.875rem 1.5rem;
    background: white;
    color: #475569;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.cookie-btn-secondary:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
}

/* Footer Link */
.cookie-footer-link {
    font-size: 0.85rem;
    color: #64748b;
    text-align: center;
    margin: 0;
}

.cookie-footer-link a {
    color: #22c55e;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-footer-link a:hover {
    color: #16a34a;
}

/* Mobile */
@media (max-width: 575px) {
    .cookie-banner {
        padding: 0;
        align-items: flex-end;
    }
    
    .cookie-modal {
        max-width: none;
        border-radius: 20px 20px 0 0;
        max-height: 85vh;
        padding: 1.5rem;
    }
    
    .cookie-title {
        font-size: 1.25rem;
    }
    
    .cookie-description {
        font-size: 0.9rem;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .cookie-cat-header {
        flex-wrap: wrap;
    }
}
