/* ============================================================
   FREIWILLIGE FEUERWEHR GEHRDE — REVOLUTIONARY UI 2026
   Glassmorphism · Particle Effects · 3D · Cinematic Animations
   ============================================================ */

/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
    /* Colors */
    --c-bg: #0a0a0f;
    --c-bg-2: #12121a;
    --c-bg-3: #1a1a28;
    --c-surface: rgba(255,255,255,0.04);
    --c-surface-hover: rgba(255,255,255,0.08);
    --c-border: rgba(255,255,255,0.08);
    --c-border-hover: rgba(255,255,255,0.15);
    --c-text: #e8e8ef;
    --c-text-muted: rgba(255,255,255,0.5);
    --c-text-dim: rgba(255,255,255,0.3);

    /* Accent Colors */
    --c-fire: #ff5032;
    --c-fire-light: #ff7a5c;
    --c-fire-dark: #cc2810;
    --c-orange: #ff9500;
    --c-gold: #ffb800;
    --c-blue: #3b82f6;
    --c-cyan: #06b6d4;
    --c-purple: #8b5cf6;
    --c-green: #10b981;

    /* Gradients */
    --g-fire: linear-gradient(135deg, #ff5032, #ff9500);
    --g-fire-glow: linear-gradient(135deg, rgba(255,80,50,0.2), rgba(255,149,0,0.1));
    --g-blue: linear-gradient(135deg, #3b82f6, #06b6d4);
    --g-purple: linear-gradient(135deg, #8b5cf6, #d946ef);

    /* Typography */
    --f-heading: 'Space Grotesk', 'Inter', system-ui, sans-serif;
    --f-body: 'Inter', system-ui, -apple-system, sans-serif;

    /* Spacing */
    --section-pad: clamp(4rem, 10vh, 8rem);
    --container-max: 1200px;
    --container-pad: clamp(1rem, 4vw, 2rem);

    /* Effects */
    --glass-bg: rgba(255,255,255,0.03);
    --glass-border: rgba(255,255,255,0.08);
    --glass-blur: 20px;
    --radius: 16px;
    --radius-sm: 10px;
    --radius-xs: 6px;
    --shadow: 0 8px 32px rgba(0,0,0,0.3);
    --shadow-glow: 0 0 40px rgba(255,80,50,0.15);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    scrollbar-width: thin;
    scrollbar-color: var(--c-fire) var(--c-bg-2);
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--c-bg-2); }
::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, var(--c-fire), var(--c-orange));
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: var(--c-fire-light); }

body {
    font-family: var(--f-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--c-text);
    background: var(--c-bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }

a {
    color: var(--c-fire-light);
    text-decoration: none;
    transition: color var(--transition);
}
a:hover { color: var(--c-fire); }

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-pad);
}

/* ===== LOADER ===== */
.loader {
    position: fixed;
    inset: 0;
    z-index: 100000;
    background: var(--c-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-inner {
    text-align: center;
    position: relative;
}

.loader-fire {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    pointer-events: none;
}

.flame {
    position: absolute;
    bottom: 0;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    animation: flicker 1.5s ease-in-out infinite alternate;
}

.flame-1 {
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 40px;
    background: radial-gradient(ellipse at bottom, #ff5032, #ff9500, transparent 80%);
    animation-delay: 0s;
    opacity: 0.8;
}

.flame-2 {
    left: 30%;
    transform: translateX(-50%);
    width: 16px;
    height: 28px;
    background: radial-gradient(ellipse at bottom, #ff9500, #ffb800, transparent 80%);
    animation-delay: 0.3s;
    opacity: 0.6;
}

.flame-3 {
    left: 70%;
    transform: translateX(-50%);
    width: 14px;
    height: 24px;
    background: radial-gradient(ellipse at bottom, #ff7a5c, #ffb800, transparent 80%);
    animation-delay: 0.6s;
    opacity: 0.5;
}

@keyframes flicker {
    0% { transform: translateX(-50%) scaleY(1) scaleX(1); }
    50% { transform: translateX(-50%) scaleY(1.2) scaleX(0.9); }
    100% { transform: translateX(-50%) scaleY(0.8) scaleX(1.1); }
}

.loader-logo {
    margin-bottom: 1.5rem;
}

.loader-circle {
    animation: loaderDraw 2s ease-in-out forwards;
}

@keyframes loaderDraw {
    to { stroke-dashoffset: 0; }
}

.loader-text {
    color: var(--c-text);
    font-family: var(--f-heading);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInLoader 1s ease 0.5s forwards;
}

@keyframes fadeInLoader {
    to { opacity: 1; }
}

.loader-bar {
    width: 200px;
    height: 2px;
    background: var(--c-border);
    border-radius: 2px;
    margin: 0 auto;
    overflow: hidden;
}

.loader-bar-fill {
    height: 100%;
    width: 0;
    background: var(--g-fire);
    border-radius: 2px;
    animation: loaderBar 2.2s ease-in-out forwards;
}

@keyframes loaderBar {
    0% { width: 0; }
    50% { width: 70%; }
    100% { width: 100%; }
}

/* ===== CUSTOM CURSOR (Desktop) ===== */
.cursor-dot, .cursor-ring {
    display: none;
}

@media (hover: hover) and (pointer: fine) {
    .cursor-dot {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 6px;
        height: 6px;
        background: var(--c-fire);
        border-radius: 50%;
        pointer-events: none;
        z-index: 99999;
        transition: transform 0.1s ease;
        mix-blend-mode: difference;
    }

    .cursor-ring {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 36px;
        height: 36px;
        border: 1.5px solid rgba(255,80,50,0.4);
        border-radius: 50%;
        pointer-events: none;
        z-index: 99998;
        transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease;
    }

    .cursor-ring.hover {
        width: 56px;
        height: 56px;
        border-color: var(--c-fire);
    }
}

/* ===== EMBER CANVAS ===== */
.ember-canvas {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.5;
}

/* ===== NAVIGATION ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9000;
    padding: 1rem 0;
    transition: all var(--transition);
}

.nav.scrolled {
    background: rgba(10,10,15,0.85);
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
    border-bottom: 1px solid var(--c-border);
    padding: 0.6rem 0;
}

.nav-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-pad);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: white;
    flex-shrink: 0;
}

.nav-logo-img {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    object-fit: contain;
}

.nav-logo-fallback {
    display: flex;
}

.nav-logo-icon {
    width: 44px;
    height: 44px;
    background: var(--g-fire);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--f-heading);
    font-weight: 900;
    font-size: 1.1rem;
    color: white;
}

.nav-logo-text {
    font-family: var(--f-heading);
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-link {
    position: relative;
    color: var(--c-text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-xs);
    transition: all var(--transition);
    text-decoration: none;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 20px;
    height: 2px;
    background: var(--g-fire);
    border-radius: 1px;
    transition: transform var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: white;
}

.nav-link.active::before,
.nav-link:hover::before {
    transform: translateX(-50%) scaleX(1);
}

.nav-social {
    display: flex;
    gap: 0.5rem;
}

.social-btn {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-xs);
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-text-muted);
    transition: all var(--transition);
}

.social-btn:hover {
    color: white;
    background: var(--c-surface-hover);
    border-color: var(--c-border-hover);
    transform: translateY(-2px);
}

/* Nav Toggle (Mobile) */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-xs);
    cursor: pointer;
    padding: 12px;
    transition: all var(--transition);
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.68, -0.6, 0.32, 1.6);
    transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 8999;
    pointer-events: none;
    visibility: hidden;
}

.mobile-menu.active {
    pointer-events: all;
    visibility: visible;
}

.mobile-menu-bg {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.mobile-menu.active .mobile-menu-bg {
    opacity: 1;
}

.mobile-menu-content {
    position: absolute;
    top: 0;
    right: 0;
    width: min(360px, 85vw);
    height: 100%;
    background: var(--c-bg-2);
    border-left: 1px solid var(--c-border);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.active .mobile-menu-content {
    transform: translateX(0);
}

.mobile-link {
    display: block;
    color: var(--c-text);
    font-family: var(--f-heading);
    font-size: 1.8rem;
    font-weight: 700;
    padding: 0.8rem 0;
    text-decoration: none;
    opacity: 0;
    transform: translateX(30px);
    transition: all var(--transition);
}

.mobile-menu.active .mobile-link {
    opacity: 1;
    transform: translateX(0);
}

.mobile-menu.active .mobile-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active .mobile-link:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu.active .mobile-link:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.active .mobile-link:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu.active .mobile-link:nth-child(5) { transition-delay: 0.3s; }
.mobile-menu.active .mobile-link:nth-child(6) { transition-delay: 0.35s; }
.mobile-menu.active .mobile-link:nth-child(7) { transition-delay: 0.4s; }

.mobile-link:hover {
    color: var(--c-fire);
    padding-left: 1rem;
}

.mobile-menu-footer {
    margin-top: auto;
    padding-top: 2rem;
    border-top: 1px solid var(--c-border);
}

.mobile-social {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.mobile-social a {
    color: var(--c-text-muted);
    font-size: 0.9rem;
}

.mobile-emergency {
    color: var(--c-text-muted);
    font-size: 0.9rem;
}

.mobile-emergency strong {
    color: var(--c-fire);
    font-size: 1.5rem;
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 2;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

/* Hero Slideshow */
.hero-slideshow {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-slideshow-slide {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    display: block;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slideshow-slide img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hero-slideshow-slide.active {
    opacity: 1;
}

.hero-slideshow-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(10, 10, 15, 0.55);
    pointer-events: none;
}

/* Mobile & Tablet Anpassungen */
@media (max-width: 768px) {
    .hero-slideshow-slide img {
        object-fit: contain;
        object-position: center center;
    }
    .hero-slideshow-overlay {
        background: rgba(10, 10, 15, 0.5);
    }
}

@media (max-width: 480px) {
    .hero-slideshow-slide img {
        object-fit: contain;
        object-position: center center;
    }
    .hero-slideshow-overlay {
        background: rgba(10, 10, 15, 0.5);
    }
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 40%, rgba(255,80,50,0.12) 0%, transparent 70%),
        radial-gradient(ellipse 60% 50% at 80% 20%, rgba(255,149,0,0.08) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 20% 70%, rgba(139,92,246,0.06) 0%, transparent 60%);
}

.hero-grid-overlay {
    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 70% 60% at 50% 50%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 20%, transparent 70%);
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: orbFloat 20s ease-in-out infinite;
}

.hero-orb-1 {
    width: 400px;
    height: 400px;
    background: var(--c-fire);
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.hero-orb-2 {
    width: 300px;
    height: 300px;
    background: var(--c-orange);
    bottom: 20%;
    left: 5%;
    animation-delay: -7s;
}

.hero-orb-3 {
    width: 200px;
    height: 200px;
    background: var(--c-purple);
    top: 50%;
    left: 40%;
    animation-delay: -14s;
    opacity: 0.2;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -40px) scale(1.1); }
    50% { transform: translate(-20px, 20px) scale(0.9); }
    75% { transform: translate(15px, 35px) scale(1.05); }
}

.hero-content {
    text-align: center;
    padding: 0 var(--container-pad);
    max-width: 900px;
    position: relative;
    z-index: 10;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,80,50,0.1);
    border: 1px solid rgba(255,80,50,0.2);
    color: var(--c-fire-light);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background: var(--c-fire);
    border-radius: 50%;
    animation: pulse 2s ease infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(255,80,50,0.4); }
    50% { opacity: 0.8; box-shadow: 0 0 0 8px rgba(255,80,50,0); }
}

.hero-title {
    font-family: var(--f-heading);
    font-size: clamp(2.5rem, 8vw, 5.5rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -2px;
    margin-bottom: 1.5rem;
}

.hero-title-line {
    display: block;
}

.hero-title-accent {
    background: var(--g-fire);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    font-weight: 500;
    color: var(--c-text-muted);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hero-desc {
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    color: var(--c-text-muted);
    max-width: 550px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
}

/* Buttons */
.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.8rem;
    border-radius: 50px;
    font-family: var(--f-body);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--g-fire);
    color: white;
    box-shadow: 0 4px 20px rgba(255,80,50,0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255,80,50,0.4);
    color: white;
}

.btn-outline {
    background: transparent;
    color: var(--c-text);
    border: 1.5px solid var(--c-border);
}

.btn-outline:hover {
    border-color: var(--c-fire);
    color: var(--c-fire-light);
    transform: translateY(-3px);
    background: rgba(255,80,50,0.05);
}

.btn-sm {
    padding: 0.6rem 1.4rem;
    font-size: 0.85rem;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    display: block;
    font-family: var(--f-heading);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 900;
    color: white;
    line-height: 1;
}

.hero-stat-plus {
    font-family: var(--f-heading);
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--c-fire);
}

.hero-stat-label {
    display: block;
    font-size: 0.75rem;
    color: var(--c-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.3rem;
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: var(--c-border);
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--c-text-dim);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: scrollBounce 2s ease infinite;
    z-index: 5;
}

.scroll-mouse {
    width: 24px;
    height: 38px;
    border: 2px solid var(--c-text-dim);
    border-radius: 12px;
    position: relative;
}

.scroll-wheel {
    width: 3px;
    height: 8px;
    background: var(--c-fire);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s ease infinite;
}

@keyframes scrollWheel {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(12px); }
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ===== SECTIONS BASE ===== */
.section {
    position: relative;
    padding: var(--section-pad) 0;
    z-index: 2;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--c-fire);
    margin-bottom: 1rem;
    padding: 0.3rem 1rem;
    background: rgba(255,80,50,0.08);
    border: 1px solid rgba(255,80,50,0.15);
    border-radius: 50px;
}

.section-title {
    font-family: var(--f-heading);
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 1rem;
}

.text-gradient {
    background: var(--g-fire);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--c-text-muted);
    max-width: 550px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ===== GLASS CARD ===== */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    transition: all var(--transition);
}

.glass-card:hover {
    background: var(--c-surface-hover);
    border-color: var(--c-border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

/* ===== ABOUT SECTION ===== */
.section-about {
    background:
        radial-gradient(ellipse 50% 40% at 20% 80%, rgba(255,80,50,0.04) 0%, transparent 60%),
        var(--c-bg);
}

.about-text {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
    color: var(--c-text-muted);
    font-size: 1.05rem;
    line-height: 1.9;
}

.about-text p { margin-bottom: 1rem; }

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    padding: 2rem;
    text-align: center;
}

.feature-icon {
    margin-bottom: 1.2rem;
    display: flex;
    justify-content: center;
}

.feature-title {
    font-family: var(--f-heading);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.7rem;
    color: white;
}

.feature-desc {
    font-size: 0.92rem;
    color: var(--c-text-muted);
    line-height: 1.7;
}

/* ===== EINSÄTZE SECTION ===== */
.section-einsaetze {
    background:
        radial-gradient(ellipse 60% 40% at 80% 30%, rgba(59,130,246,0.04) 0%, transparent 60%),
        var(--c-bg-2);
}

/* Einsatz Tabs */
.einsatz-tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 3rem;
}

.einsatz-tab {
    padding: 0.65rem 2rem;
    border-radius: 50px;
    font-family: var(--f-heading);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    border: 1.5px solid var(--c-border);
    background: transparent;
    color: var(--c-text-muted);
    transition: all var(--transition);
}

.einsatz-tab:hover {
    border-color: var(--c-fire);
    color: var(--c-fire-light);
}

.einsatz-tab.active {
    background: var(--g-fire);
    border-color: transparent;
    color: white;
    box-shadow: 0 4px 20px rgba(255,80,50,0.3);
}

.einsatz-content { display: none; }
.einsatz-content.active { display: block; animation: fadeSlideIn 0.5s ease; }

@keyframes fadeSlideIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== TIMELINE ===== */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 1rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--c-fire), var(--c-border), transparent);
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 1.5rem;
}

.timeline-marker {
    position: absolute;
    left: 13px;
    top: 1.5rem;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--c-bg-2);
    border: 3px solid var(--c-fire);
    z-index: 2;
}

.marker-alert {
    background: var(--c-fire);
    box-shadow: 0 0 12px rgba(255,80,50,0.5);
    animation: markerPulse 2s ease infinite;
}

@keyframes markerPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255,80,50,0.4); }
    50% { box-shadow: 0 0 0 8px rgba(255,80,50,0); }
}

.timeline-card {
    padding: 1.5rem;
}

.timeline-card h4 {
    font-family: var(--f-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.timeline-date {
    font-size: 0.8rem;
    color: var(--c-text-muted);
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.timeline-badge {
    display: inline-block;
    padding: 0.2rem 0.7rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.6rem;
}

.badge-th {
    background: rgba(59,130,246,0.15);
    color: #60a5fa;
    border: 1px solid rgba(59,130,246,0.25);
}

.badge-fire {
    background: rgba(255,80,50,0.15);
    color: var(--c-fire-light);
    border: 1px solid rgba(255,80,50,0.25);
}

.badge-fire-major {
    background: rgba(255,80,50,0.25);
    color: #ff9500;
    border: 1px solid rgba(255,149,0,0.35);
    animation: badgeGlow 2s ease infinite alternate;
}

@keyframes badgeGlow {
    from { box-shadow: 0 0 5px rgba(255,149,0,0.2); }
    to { box-shadow: 0 0 15px rgba(255,149,0,0.3); }
}

.timeline-location {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.85rem;
    color: var(--c-text-muted);
    margin-bottom: 0.3rem;
}

.timeline-forces {
    font-size: 0.85rem;
    color: var(--c-text-dim);
    margin-bottom: 0.6rem;
}

.timeline-gallery-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--c-fire-light);
    padding: 0.35rem 0.8rem;
    background: rgba(255,80,50,0.08);
    border: 1px solid rgba(255,80,50,0.15);
    border-radius: 50px;
    transition: all var(--transition);
}

.timeline-gallery-link:hover {
    background: rgba(255,80,50,0.15);
    border-color: rgba(255,80,50,0.3);
    color: var(--c-fire);
    transform: translateX(3px);
}

.card-highlight {
    border-color: rgba(255,80,50,0.2) !important;
    background: rgba(255,80,50,0.04) !important;
}

.einsatz-summary {
    text-align: center;
    color: var(--c-text-muted);
    font-size: 0.9rem;
    margin-top: 2rem;
    font-style: italic;
}

/* ===== EINSATZSTATISTIK DIAGRAMME ===== */
.einsatz-statistik {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.statistik-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.statistik-header .section-tag {
    margin-bottom: 0.8rem;
}

.statistik-title {
    font-family: var(--f-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--c-text);
    margin-bottom: 0.6rem;
}

.statistik-subtitle {
    color: var(--c-text-muted);
    font-size: 0.95rem;
}

/* Stat Summary Cards */
.stat-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.stat-card {
    position: relative;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--r-lg);
    padding: 1.5rem 1rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255,255,255,0.12);
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-card:nth-child(1)::before { background: radial-gradient(circle at center, rgba(255,120,50,0.08), transparent 70%); }
.stat-card:nth-child(2)::before { background: radial-gradient(circle at center, rgba(255,60,40,0.08), transparent 70%); }
.stat-card:nth-child(3)::before { background: radial-gradient(circle at center, rgba(255,180,50,0.08), transparent 70%); }
.stat-card:nth-child(4)::before { background: radial-gradient(circle at center, rgba(80,200,120,0.08), transparent 70%); }

.stat-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.8rem;
}

.stat-icon-total { background: linear-gradient(135deg, rgba(255,120,50,0.2), rgba(255,80,30,0.1)); color: #ff7832; }
.stat-icon-fire  { background: linear-gradient(135deg, rgba(255,60,40,0.2), rgba(255,40,30,0.1)); color: #ff4030; }
.stat-icon-th    { background: linear-gradient(135deg, rgba(255,180,50,0.2), rgba(255,160,30,0.1)); color: #ffb432; }
.stat-icon-tree  { background: linear-gradient(135deg, rgba(80,200,120,0.2), rgba(60,180,100,0.1)); color: #50c878; }

.stat-card-value {
    font-family: var(--f-heading);
    font-size: 2.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--c-text), rgba(255,255,255,0.7));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    margin-bottom: 0.3rem;
}

.stat-card-label {
    font-size: 0.8rem;
    color: var(--c-text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Chart Grid */
.statistik-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.chart-container {
    position: relative;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--r-lg);
    padding: 2rem;
    overflow: hidden;
    transition: border-color 0.4s ease;
}

.chart-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--c-accent), transparent);
    opacity: 0.5;
}

.chart-container:hover {
    border-color: rgba(255,255,255,0.1);
}

.chart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.chart-title {
    font-family: var(--f-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--c-text);
}

.chart-badge {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--c-accent);
    background: rgba(255,80,50,0.1);
    border: 1px solid rgba(255,80,50,0.2);
    padding: 0.25rem 0.7rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.chart-wrapper {
    position: relative;
    width: 100%;
    margin: 0 auto;
}

.chart-wrapper-donut {
    max-width: 320px;
    aspect-ratio: 1 / 1;
}

.chart-wrapper-bar {
    aspect-ratio: 4 / 3;
    max-width: 100%;
}

@media (max-width: 768px) {
    .stat-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    .statistik-grid {
        grid-template-columns: 1fr;
    }
    .chart-container {
        padding: 1.5rem;
    }
    .chart-wrapper-donut {
        max-width: 260px;
    }
    .statistik-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .stat-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.7rem;
    }
    .stat-card {
        padding: 1rem 0.7rem;
    }
    .stat-card-value {
        font-size: 1.6rem;
    }
    .stat-card-icon {
        width: 40px;
        height: 40px;
    }
    .statistik-title {
        font-size: 1.2rem;
    }
    .chart-wrapper-donut {
        max-width: 220px;
    }
    .chart-header {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
}

/* ===== NEWS SECTION ===== */
.section-news {
    background:
        radial-gradient(ellipse 50% 40% at 70% 80%, rgba(139,92,246,0.04) 0%, transparent 60%),
        var(--c-bg);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.5rem;
}

.news-card {
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
}

.news-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.news-date-badge {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--c-text-muted);
}

.news-category {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.2rem 0.6rem;
    border-radius: 50px;
}

.cat-einsatz {
    background: rgba(255,80,50,0.12);
    color: var(--c-fire-light);
    border: 1px solid rgba(255,80,50,0.2);
}

.cat-event {
    background: rgba(16,185,129,0.12);
    color: #34d399;
    border: 1px solid rgba(16,185,129,0.2);
}

.cat-info {
    background: rgba(59,130,246,0.12);
    color: #60a5fa;
    border: 1px solid rgba(59,130,246,0.2);
}

.news-card-title {
    font-family: var(--f-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.7rem;
    line-height: 1.3;
}

.news-card-text {
    font-size: 0.9rem;
    color: var(--c-text-muted);
    line-height: 1.7;
    flex: 1;
    margin-bottom: 1rem;
}

.news-card-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--c-fire-light);
    transition: all var(--transition);
}

.news-card-link:hover {
    color: var(--c-fire);
    transform: translateX(5px);
    display: inline-block;
}

/* ===== FAHRZEUGE SECTION ===== */
.section-fahrzeuge {
    background:
        radial-gradient(ellipse 50% 40% at 30% 30%, rgba(255,80,50,0.03) 0%, transparent 60%),
        var(--c-bg-2);
}

.vehicle-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.vehicle-card {
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.vehicle-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
    border-color: var(--c-border-hover);
}

.vehicle-image {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.vehicle-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,10,15,0.9), transparent 50%);
}

.vehicle-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(10px);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--c-text-muted);
    border: 1px solid var(--c-border);
}

.vehicle-info {
    padding: 1.5rem;
}

.vehicle-info h3 {
    font-family: var(--f-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.5rem;
}

.vehicle-info p {
    font-size: 0.9rem;
    color: var(--c-text-muted);
    line-height: 1.6;
}

/* ===== MITGLIED SECTION ===== */
.section-mitglied {
    background: var(--c-bg);
}

.join-hero {
    position: relative;
    background: var(--c-bg-3);
    border-radius: var(--radius);
    padding: 4rem 2rem;
    text-align: center;
    overflow: hidden;
    margin-bottom: 2.5rem;
    border: 1px solid var(--c-border);
}

.join-hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.join-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
}

.join-orb-1 {
    width: 300px;
    height: 300px;
    background: var(--c-fire);
    top: -100px;
    right: -50px;
}

.join-orb-2 {
    width: 200px;
    height: 200px;
    background: var(--c-orange);
    bottom: -80px;
    left: -30px;
}

.join-hero-content {
    position: relative;
    z-index: 2;
}

.join-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.join-card {
    padding: 2rem;
}

.join-card-icon {
    margin-bottom: 1.2rem;
}

.join-card h3 {
    font-family: var(--f-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.8rem;
}

.join-card p {
    font-size: 0.92rem;
    color: var(--c-text-muted);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.join-detail {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--c-fire-light);
    padding: 0.6rem 1rem;
    background: rgba(255,80,50,0.06);
    border-radius: var(--radius-xs);
    border: 1px solid rgba(255,80,50,0.1);
}

/* ===== KONTAKT SECTION ===== */
.section-kontakt {
    background:
        radial-gradient(ellipse 50% 40% at 50% 80%, rgba(255,80,50,0.04) 0%, transparent 60%),
        var(--c-bg-2);
}

.contact-grid {
    max-width: 800px;
    margin: 0 auto;
}

.contact-info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.contact-card {
    padding: 2rem;
    text-align: center;
}

.contact-card-icon {
    width: 48px;
    height: 48px;
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--c-fire-light);
}

.contact-card h4 {
    font-family: var(--f-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.7rem;
}

.contact-card p {
    font-size: 0.9rem;
    color: var(--c-text-muted);
    line-height: 1.7;
}

.emergency-card {
    border-color: rgba(255,80,50,0.2) !important;
    background: rgba(255,80,50,0.04) !important;
}

.emergency-icon {
    background: rgba(255,80,50,0.12) !important;
    border-color: rgba(255,80,50,0.2) !important;
    color: var(--c-fire) !important;
}

.emergency-number-display {
    font-family: var(--f-heading);
    font-size: 3rem !important;
    font-weight: 900 !important;
    color: var(--c-fire) !important;
    line-height: 1 !important;
    margin: 0.5rem 0 !important;
}

.emergency-sub {
    font-size: 0.8rem;
    color: var(--c-text-muted);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--c-bg);
    border-top: 1px solid var(--c-border);
    padding: 3rem 0 1.5rem;
    position: relative;
    z-index: 2;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo-icon {
    width: 40px;
    height: 40px;
    background: var(--g-fire);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--f-heading);
    font-weight: 900;
    font-size: 0.95rem;
    color: white;
    flex-shrink: 0;
}

.footer-logo strong {
    font-family: var(--f-heading);
    font-size: 1rem;
    color: white;
}

.footer-logo p {
    font-size: 0.8rem;
    color: var(--c-text-muted);
}

.footer-desc {
    font-size: 0.9rem;
    color: var(--c-text-muted);
    line-height: 1.7;
    margin-bottom: 1.2rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-xs);
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-text-muted);
    transition: all var(--transition);
}

.footer-social a:hover {
    color: white;
    border-color: var(--c-border-hover);
    transform: translateY(-2px);
}

.footer-links-group h4 {
    font-family: var(--f-heading);
    font-size: 0.9rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links-group a,
.footer-links-group p {
    display: block;
    font-size: 0.88rem;
    color: var(--c-text-muted);
    margin-bottom: 0.5rem;
    transition: color var(--transition);
}

.footer-links-group a:hover {
    color: var(--c-fire-light);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--c-border);
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    font-size: 0.82rem;
    color: var(--c-text-dim);
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    font-size: 0.82rem;
    color: var(--c-text-dim);
    transition: color var(--transition);
}

.footer-legal a:hover {
    color: var(--c-text);
}

/* ===== LEGAL OVERLAY ===== */
.legal-overlay {
    position: fixed;
    inset: 0;
    z-index: 50000;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(10px);
    display: none !important;
    visibility: hidden;
    opacity: 0;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    overflow-y: auto;
}

.legal-overlay.active {
    display: flex !important;
    visibility: visible;
    opacity: 1;
}

.legal-content {
    max-width: 800px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    padding: 3rem;
    position: relative;
    background: var(--c-bg-2) !important;
}

.legal-content h2 {
    font-family: var(--f-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    margin-bottom: 2rem;
    background: var(--g-fire);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.legal-content h3 {
    font-family: var(--f-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: white;
    margin: 1.5rem 0 0.7rem;
}

.legal-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--c-text);
    margin: 1.2rem 0 0.5rem;
}

.legal-content p {
    font-size: 0.92rem;
    color: var(--c-text-muted);
    line-height: 1.8;
    margin-bottom: 0.7rem;
}

.legal-content a {
    color: var(--c-fire-light);
}

.legal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    color: white;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition);
    line-height: 1;
}

.legal-close:hover {
    background: var(--c-fire);
    border-color: var(--c-fire);
}

/* ===== SCROLL TO TOP ===== */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--g-fire);
    border: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition);
    box-shadow: 0 4px 20px rgba(255,80,50,0.3);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255,80,50,0.4);
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: var(--c-bg-2);
    border-top: 1px solid var(--c-border);
    backdrop-filter: blur(20px);
    padding: 1rem 2rem;
}

.cookie-content {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-content p {
    font-size: 0.88rem;
    color: var(--c-text-muted);
}

/* ===== REVEAL ANIMATIONS ===== */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: var(--delay, 0s);
}

.reveal-up { transform: translateY(40px); }
.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }

.reveal-up.revealed,
.reveal-left.revealed,
.reveal-right.revealed {
    opacity: 1;
    transform: translate(0, 0);
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablets & small desktops */
@media (max-width: 1024px) {
    .nav-links { display: none; }
    .nav-social { display: none; }
    .nav-toggle { display: flex; }
    .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .hero-stats { gap: 1rem; }
    .hero-stat-divider { height: 30px; }
    .footer-top { grid-template-columns: 1fr; gap: 2rem; }
    .news-grid { grid-template-columns: 1fr; }
    .vehicle-showcase { grid-template-columns: 1fr; }
    .contact-info-cards { grid-template-columns: 1fr; }
    .join-options { grid-template-columns: 1fr; }
    .join-hero { padding: 3rem 1.5rem; }
    .footer-bottom { flex-direction: column; text-align: center; }

    .timeline::before { left: 16px; }
    .timeline-item { padding-left: 48px; }
    .timeline-marker { left: 9px; }
}

@media (max-width: 480px) {
    .hero-title { letter-spacing: -1px; }
    .hero-badge { font-size: 0.75rem; padding: 0.3rem 1rem; }
    .hero-desc br { display: none; }
    .hero-stats { flex-direction: column; gap: 0.75rem; }
    .hero-stat-divider { width: 40px; height: 1px; }
    .features-grid { grid-template-columns: 1fr; }
    .einsatz-tabs { gap: 0.3rem; }
    .einsatz-tab { padding: 0.5rem 1.2rem; font-size: 0.9rem; }
    .section-tag { font-size: 0.7rem; letter-spacing: 2px; }
    .legal-content { padding: 2rem 1.5rem; }

    .hero-scroll-indicator { display: none; }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .glass-card:hover { transform: none; }
    .vehicle-card:hover { transform: none; }
    .btn-primary:hover { transform: none; }
    .btn-outline:hover { transform: none; }
    .cursor-dot, .cursor-ring { display: none !important; }
}

/* Print */
@media print {
    .nav, .hero-bg, .hero-scroll-indicator, .ember-canvas,
    .scroll-top, .cookie-banner, .loader, .cursor-dot, .cursor-ring {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }

    .section { padding: 1rem 0; }
    .glass-card { border: 1px solid #ccc; background: white; }
    .hero { min-height: auto; padding: 2rem 0; }
    .hero-title-accent { -webkit-text-fill-color: #d32f2f; }
    .text-gradient { -webkit-text-fill-color: #d32f2f; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    .reveal-up, .reveal-left, .reveal-right {
        opacity: 1;
        transform: none;
    }

    html { scroll-behavior: auto; }
}

/* ========================================
   LIGHTBOX / SLIDESHOW
   ======================================== */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: none !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overscroll-behavior: contain;
}

.lightbox.active {
    display: flex !important;
}

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    animation: lbFadeIn 0.3s ease;
}

@keyframes lbFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    z-index: 10;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    color: white;
    font-size: 2rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    line-height: 1;
}

.lightbox-close:hover {
    background: var(--c-accent);
    transform: rotate(90deg) scale(1.1);
    border-color: var(--c-accent);
}

.lightbox-counter {
    position: absolute;
    top: 1.2rem;
    left: 1.5rem;
    z-index: 10;
    color: rgba(255,255,255,0.7);
    font-family: var(--f-heading);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    background: rgba(255,255,255,0.08);
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(6px);
}

.lightbox-stage {
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
    flex: 1;
    padding: 1rem;
    min-height: 0;
}

.lightbox-img-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    max-height: 70vh;
    min-height: 200px;
    overflow: hidden;
    border-radius: 12px;
}

.lightbox-img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    animation: lbImgIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    transition: transform 0.3s ease;
    user-select: none;
    -webkit-user-drag: none;
}

.lightbox-img.zoomed {
    transform: scale(1.5);
    cursor: zoom-out;
}

@keyframes lbImgIn {
    from { opacity: 0; transform: scale(0.92) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.lightbox-spinner {
    position: absolute;
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255,255,255,0.15);
    border-top-color: var(--c-accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: none;
}

.lightbox-spinner.visible {
    display: block;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.lightbox-arrow {
    z-index: 10;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
    color: white;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin: 0 1rem;
    transition: all 0.3s ease;
}

.lightbox-arrow:hover {
    background: var(--c-accent);
    border-color: var(--c-accent);
    transform: scale(1.15);
    box-shadow: 0 0 25px rgba(255,80,50,0.4);
}

.lightbox-arrow:active {
    transform: scale(0.95);
}

.lightbox-arrow.hide {
    opacity: 0.2;
    pointer-events: none;
}

.lightbox-info {
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 0.5rem 1.5rem;
    width: 100%;
}

.lightbox-title {
    color: rgba(255,255,255,0.8);
    font-family: var(--f-heading);
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
}

.lightbox-controls {
    display: flex;
    gap: 0.5rem;
}

.lightbox-play-btn {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.lightbox-play-btn:hover {
    background: var(--c-accent);
    border-color: var(--c-accent);
}

.lightbox-play-btn.playing {
    background: var(--c-accent);
    border-color: var(--c-accent);
    box-shadow: 0 0 20px rgba(255,80,50,0.3);
}

.lightbox-thumbs {
    position: relative;
    z-index: 5;
    display: flex;
    gap: 8px;
    padding: 0.75rem 1.5rem 1rem;
    overflow-x: auto;
    max-width: 100%;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.2) transparent;
    justify-content: center;
    flex-wrap: nowrap;
}

.lightbox-thumbs::-webkit-scrollbar {
    height: 4px;
}

.lightbox-thumbs::-webkit-scrollbar-track {
    background: transparent;
}

.lightbox-thumbs::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.15);
    border-radius: 4px;
}

.lightbox-thumb {
    width: 64px;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.5;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.lightbox-thumb:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}

.lightbox-thumb.active {
    opacity: 1;
    border-color: var(--c-accent);
    box-shadow: 0 0 15px rgba(255,80,50,0.4);
    transform: translateY(-3px);
}

.lightbox-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255,255,255,0.08);
    z-index: 10;
    overflow: hidden;
}

.lightbox-progress-bar {
    height: 100%;
    width: 0%;
    background: var(--g-fire);
    transition: width 0.1s linear;
    border-radius: 0 3px 3px 0;
}

/* Lightbox responsive */
@media (max-width: 768px) {
    .lightbox-arrow {
        width: 40px;
        height: 40px;
        margin: 0 0.4rem;
    }

    .lightbox-arrow svg {
        width: 22px;
        height: 22px;
    }

    .lightbox-img {
        max-height: 55vh;
    }

    .lightbox-img-wrap {
        max-height: 55vh;
    }

    .lightbox-thumb {
        width: 48px;
        height: 36px;
    }

    .lightbox-counter {
        top: 0.8rem;
        left: 1rem;
        font-size: 0.8rem;
    }

    .lightbox-close {
        top: 0.8rem;
        right: 1rem;
        width: 40px;
        height: 40px;
        font-size: 1.6rem;
    }

    .lightbox-title {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .lightbox-arrow {
        width: 36px;
        height: 36px;
        margin: 0 0.2rem;
    }

    .lightbox-thumbs {
        padding: 0.5rem 0.75rem;
        gap: 6px;
    }

    .lightbox-thumb {
        width: 40px;
        height: 30px;
        border-radius: 5px;
    }
}
