/* ===================================================================
   SKYLENS v4 — Dark Void + Cyan Ember Design System
   Dark Void #020203 · Cyan Ember #00FFCC · Space Grotesk + Inter
   Logo: Sky = WEISS, Lens = #00FFCC (NIEMALS vertauschen!)
   =================================================================== */

/* --- DESIGN TOKENS --- */
:root {
    --void: #020203;
    --bg-base: #050507;
    --surface: #0a0a0f;
    --surface-2: #111118;
    --surface-3: #16161e;
    --text: #f0f0fa;
    --text-dim: #8a8f98;
    --text-ghost: #555566;
    --accent: #00FFCC;
    --accent-glow: rgba(0,255,204,0.15);
    --accent-dim: rgba(0,255,204,0.5);
    --gradient: linear-gradient(135deg, #00FFCC, #00ccff);
    --overlay: rgba(5,5,7,0.7);
    --overlay-heavy: rgba(5,5,7,0.85);
    --border: rgba(255,255,255,0.06);
    --border-light: rgba(255,255,255,0.1);
    --radius: 8px;
    --radius-lg: 16px;
    --transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    --font: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
}

/* --- RESET & BASE --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font);
    background: var(--void);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; transition: all var(--transition); }
a:hover { opacity: 0.85; }
img, video { max-width: 100%; display: block; }

/* --- TYPOGRAPHY --- */
.overline {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
}
.section-label {
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
    display: block;
}
.display {
    font-family: var(--font-display);
    font-size: clamp(28px, 6vw, 48px);
    font-weight: 700;
    letter-spacing: -0.8px;
    line-height: 1.1;
    margin-bottom: 24px;
}
.heading {
    font-family: var(--font-display);
    font-size: clamp(22px, 4vw, 32px);
    font-weight: 600;
    letter-spacing: -0.5px;
    line-height: 1.2;
    margin-bottom: 16px;
}
.body-large {
    font-size: clamp(16px, 2.2vw, 20px);
    font-weight: 300;
    line-height: 1.7;
    color: var(--text-dim);
    max-width: 600px;
}
.body-dim {
    font-size: 15px;
    color: var(--text-ghost);
    line-height: 1.7;
    margin-top: 16px;
}
.accent { color: var(--accent) !important; }
.accent-line {
    width: 48px;
    height: 2px;
    background: var(--gradient);
    border-radius: 1px;
    margin: 20px 0;
}
.accent-line.center { margin: 20px auto; }

/* --- SECTIONS --- */
.section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 24px 80px;
    position: relative;
}
.section.full-vh { min-height: 100dvh; }
.section-content {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
}
.section-content.center { text-align: center; }

/* --- SECTION DIVIDER --- */
.section-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-light), transparent);
    margin: 0;
}

/* --- NAV --- */
.nav, .nav-bar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    transition: background 0.4s, box-shadow 0.4s, backdrop-filter 0.4s;
}
.nav.scrolled, .nav-bar.scrolled {
    background: rgba(2,2,3,0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 var(--border);
}
.nav-logo {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text);
    text-decoration: none;
}
.logo-sky { color: var(--text); }
.logo-lens { color: var(--accent); }
.nav-links {
    display: none;
    gap: 28px;
    list-style: none;
}
.nav-links a {
    font-size: 13px;
    font-weight: 500;
    color: rgba(240,240,250,0.7);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    transition: color var(--transition);
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 1.5px;
    background: var(--accent);
    transition: width var(--transition);
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a:hover, .nav-links a.active { color: var(--accent); opacity: 1; }

/* Hamburger */
.hamburger, .nav-hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1002;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}
.hamburger span, .nav-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 1px;
    transition: all 0.3s ease;
}
.hamburger.open span:nth-child(1),
.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.hamburger.open span:nth-child(2),
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3),
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }

/* Mobile Backdrop + Menü */
.mobile-backdrop {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.mobile-backdrop.visible { opacity: 1; pointer-events: all; }

.mobile-menu {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(300px, 85vw); z-index: 1001;
    background: var(--surface);
    border-left: 1px solid var(--border);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
    display: flex; flex-direction: column;
    padding: 80px 32px 32px;
    overflow-x: hidden;
    overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a {
    display: block;
    padding: 16px 0;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dim);
    border-bottom: 1px solid var(--border);
    transition: color var(--transition), padding-left var(--transition);
}
.mobile-menu a:hover { color: var(--accent); padding-left: 8px; }

@media (min-width: 769px) {
    .hamburger, .nav-hamburger { display: none; }
    .nav-links { display: flex; }
    .mobile-menu, .mobile-backdrop { display: none !important; }
}
@media (max-width: 768px) {
    .nav-links { display: none !important; }
}

/* --- HERO MIT VIDEO --- */
.hero {
    position: relative;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 0;
}
.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.hero-overlay, .hero-video-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 40%, rgba(0,255,204,0.08) 0%, transparent 70%),
        linear-gradient(180deg, rgba(2,2,3,0.5) 0%, rgba(2,2,3,0.3) 40%, rgba(2,2,3,0.6) 100%);
    z-index: 1;
}
.hero-grain {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 2;
}
.hero-content {
    position: relative;
    z-index: 3;
    padding: 0 24px;
}

/* Logo-Titel */
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(56px, 14vw, 110px);
    font-weight: 700;
    letter-spacing: clamp(-3px, -1vw, -8px);
    line-height: 0.9;
    margin-bottom: 16px;
    animation: heroEntrance 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-title .logo-sky { color: var(--text); }
.hero-title .logo-lens {
    color: var(--accent);
    text-shadow: 0 0 40px rgba(0,255,204,0.3), 0 0 80px rgba(0,255,204,0.1);
}
@keyframes heroEntrance {
    from { opacity: 0; transform: translateY(30px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Wechselnde Taglines */
.hero-tagline-wrapper {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
    overflow: hidden;
}
.hero-tagline {
    font-size: clamp(16px, 3vw, 22px);
    font-weight: 300;
    color: var(--text-dim);
    max-width: 520px;
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.hero-tagline.fade-out {
    opacity: 0;
    transform: translateY(-12px);
}
.hero-tagline.fade-in {
    opacity: 0;
    transform: translateY(12px);
}
/* Legacy Tagline-Animationen (für app.js Kompatibilität) */
.hero-tagline.tagline-out { animation: tagOut 0.6s cubic-bezier(0.4, 0, 1, 1) forwards; }
.hero-tagline.tagline-in  { animation: tagIn  0.8s cubic-bezier(0, 0, 0.2, 1) forwards; }
@keyframes tagOut {
    0%   { opacity: 1; transform: translate(0, 0) scale(1); filter: blur(0); }
    100% { opacity: 0; transform: translate(var(--out-x, 0), var(--out-y, -16px)) scale(var(--out-s, 1)); filter: blur(var(--out-blur, 4px)); }
}
@keyframes tagIn {
    0%   { opacity: 0; transform: translateY(10px); filter: blur(3px); }
    100% { opacity: 1; transform: translateY(0);    filter: blur(0); }
}

/* Stats-Leiste */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 40px;
    animation: heroEntrance 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
    opacity: 0;
}
.hero-stat {
    background: rgba(0,255,204,0.06);
    border: 1px solid rgba(0,255,204,0.15);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: var(--text-dim);
}
.hero-stat .accent-val { color: var(--accent); }

.scroll-indicator {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* --- WARUM SKYLENS: BENTO-GRID --- */
.bento-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 40px;
}
.bento-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}
.bento-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: var(--gradient);
    opacity: 0;
    transition: opacity var(--transition);
}
.bento-card:hover {
    border-color: var(--border-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.bento-card:hover::before { opacity: 1; }
.bento-icon {
    font-size: 28px;
    margin-bottom: 12px;
    display: block;
}
.bento-title {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 8px;
}
.bento-title.accent { color: var(--accent); }
.bento-text {
    font-size: 14px;
    color: var(--text-dim);
    line-height: 1.6;
}

@media (min-width: 769px) {
    .bento-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-areas:
            "a a b"
            "c d e"
            "f f f";
    }
    .bento-grid .bento-card:nth-child(1) { grid-area: a; }
    .bento-grid .bento-card:nth-child(2) { grid-area: b; }
    .bento-grid .bento-card:nth-child(3) { grid-area: c; }
    .bento-grid .bento-card:nth-child(4) { grid-area: d; }
    .bento-grid .bento-card:nth-child(5) { grid-area: e; }
    .bento-grid .bento-card:nth-child(6) { grid-area: f; }
}

/* Legacy WHY-Klassen (Kompatibilität für Unterseiten) */
.why-arguments { margin-top: 48px; }
.why-arg {
    padding: 40px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.why-arg h3 { font-size: clamp(24px, 3vw, 32px); font-weight: 500; letter-spacing: -0.3px; }
.why-arg p { color: var(--text-dim); font-size: 18px; }
.why-emoji { font-size: 24px; margin-bottom: 4px; }
.why-divider { border: none; border-top: 1px solid var(--border); }
.why-list { margin-top: 32px; }
.why-block {
    padding: 24px 0;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.why-number {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 300;
    color: var(--accent);
    min-width: 48px;
}
.why-block-content { flex: 1; }
.why-block-title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
}
.why-block-text {
    font-size: 15px;
    color: var(--text-dim);
    line-height: 1.6;
}

/* --- HARDWARE: GERÄTE-KARTEN --- */
.hardware { padding: 0; flex-direction: column; }
.hardware-device {
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--void);
    position: relative;
    overflow: hidden;
}
.hardware-device::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, var(--accent-glow) 0%, transparent 70%);
    opacity: 0.3;
}
@media (max-width: 768px) {
    .hardware-device { min-height: auto; padding: 64px 24px; }
}

/* Neue Geräte-Karten (v4) */
.device-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    margin-bottom: 16px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}
.device-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: var(--gradient);
    opacity: 0;
    transition: opacity var(--transition);
}
.device-card:hover {
    border-color: var(--border-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.device-card:hover::before { opacity: 1; }

.device-cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 32px;
}
@media (min-width: 769px) {
    .device-cards-grid { grid-template-columns: 1fr 1fr 1fr; }
    .device-card { margin-bottom: 0; }
}

/* Spec-Chips */
.spec-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}
.spec-chip {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-dim);
    background: var(--surface-2);
    border: 1px solid var(--border);
    padding: 4px 12px;
    border-radius: 100px;
    letter-spacing: 0.3px;
}
/* Legacy spec-chips (Rund statt Pill) */
.hardware-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 16px 0;
}
@media (max-width: 768px) {
    .hardware-specs { flex-direction: column; }
}

/* --- EINSATZGEBIET --- */
.radius-visual {
    position: relative;
    width: 240px;
    height: 240px;
    margin: 32px auto;
}
.radius-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid var(--border);
}
.radius-ring.outer {
    inset: 0;
    border-color: rgba(0,255,204,0.15);
}
.radius-ring.inner {
    inset: 30%;
    border-color: var(--accent);
    background: var(--accent-glow);
}
.radius-ring.pulse {
    inset: 28%;
    border-color: var(--accent);
    border-width: 2px;
    animation: radiusPulse 3s ease-in-out infinite;
}
@keyframes radiusPulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.1); opacity: 0.2; }
}
.radius-center-dot {
    position: absolute;
    top: 50%; left: 50%;
    width: 8px; height: 8px;
    background: var(--accent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 16px var(--accent), 0 0 4px var(--accent);
}
.radius-label {
    position: absolute;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1px;
}
.radius-label.inner { top: 38%; left: 50%; transform: translateX(-50%); color: var(--accent); }
.radius-label.outer { bottom: -8px; left: 50%; transform: translateX(-50%); color: var(--text-ghost); }
.radius-city {
    position: absolute;
    top: 55%; left: 50%;
    transform: translateX(-50%);
    font-size: 11px;
    color: var(--text-dim);
    white-space: nowrap;
}
.radius-stats {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 24px;
}
.radius-stat { text-align: center; }
.radius-stat-number {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 300;
    color: var(--accent);
    display: block;
}
.radius-stat-label {
    font-size: 12px;
    color: var(--text-ghost);
    margin-top: 4px;
}

/* Legacy SVG-Ring-Klassen (für Unterseiten) */
.radius-svg {
    width: 100%;
    max-width: 400px;
    margin: 48px auto 0;
}
.radius-circles { width: 100%; height: auto; }
.radius-outer { fill: none; stroke: var(--text-ghost); stroke-width: 1; stroke-dasharray: 8 4; }
.radius-inner-svg { fill: none; stroke: var(--accent); stroke-width: 2; filter: drop-shadow(0 0 12px var(--accent-glow)); }
.radius-center { fill: var(--accent); }
.radius-label-inner { fill: var(--accent); font-size: 16px; font-weight: 600; font-family: var(--font); }
.radius-label-free { fill: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: 2px; font-family: var(--font); }
.radius-label-outer { fill: var(--text-ghost); font-size: 13px; font-weight: 400; font-family: var(--font); }
.radius-city-svg { fill: var(--text); font-size: 13px; font-weight: 500; font-family: var(--font); }
.radius-numbers {
    display: flex;
    gap: 48px;
    justify-content: center;
    margin-top: 40px;
    flex-wrap: wrap;
}

/* --- INFO-BOX --- */
.info-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
    text-align: left;
}
.info-row {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-dim);
    margin-bottom: 8px;
}
.info-row:last-child { margin-bottom: 0; }
.info-row strong { color: var(--text); }

/* --- GALERIE --- */
.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 24px;
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.gallery-grid .gallery-item {
    aspect-ratio: 4/3;
    background: var(--surface-2);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    break-inside: auto;
    margin-bottom: 0;
}
.gallery-grid .gallery-item:first-child {
    grid-column: 1 / -1;
    aspect-ratio: 16/9;
}
.gallery-grid .gallery-item:hover { transform: scale(1.02); }
.gallery-grid .gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}
@media (min-width: 769px) {
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .gallery-grid .gallery-item:first-child { grid-column: 1 / 3; }
}

/* Legacy Masonry-Galerie */
.gallery-masonry {
    columns: 3;
    column-gap: 12px;
    margin-top: 48px;
}
.gallery-masonry .gallery-item {
    break-inside: avoid;
    margin-bottom: 12px;
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: auto;
}
.gallery-masonry .gallery-item:hover { transform: scale(1.02); }
.gallery-masonry .gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    box-shadow: inset 0 0 0 1px var(--border);
    pointer-events: none;
    transition: box-shadow var(--transition);
}
.gallery-masonry .gallery-item:hover::after { box-shadow: inset 0 0 0 1px var(--accent), 0 0 20px var(--accent-glow); }
.gallery-masonry .gallery-item canvas {
    width: 100%; height: auto;
    display: block;
    border-radius: var(--radius-lg);
}
.gallery-item .dl-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: transparent;
    cursor: pointer;
}
.gallery-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-ghost);
    font-size: 28px;
    background: linear-gradient(135deg, var(--surface) 0%, var(--surface-2) 100%);
}
@media (max-width: 768px) {
    .gallery-masonry { columns: 2; }
}
@media (max-width: 480px) {
    .gallery-masonry { columns: 1; }
}

/* --- LIGHTBOX --- */
.lightbox {
    position: fixed;
    inset: 0;
    background: var(--void);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.lightbox canvas {
    max-width: 90vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: var(--radius-lg);
}
.lightbox-close, .lightbox-prev, .lightbox-next {
    position: absolute;
    background: none;
    border: 1px solid var(--border-light);
    color: var(--text);
    font-size: 24px;
    cursor: pointer;
    padding: 12px 18px;
    border-radius: var(--radius);
    transition: all var(--transition);
    z-index: 2001;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover {
    border-color: var(--accent);
    color: var(--accent);
}
.lightbox-close { top: 24px; right: 24px; }
.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-desc { margin-top: 16px; color: var(--text-dim); font-size: 14px; }

/* --- KALENDER --- */
.calendar-wrapper {
    max-width: 340px;
    margin: 24px auto 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 16px;
}
.calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}
.calendar-header span { font-size: 15px; font-weight: 600; }
.cal-nav-btn {
    background: none;
    border: 1px solid var(--border);
    color: var(--text-dim);
    width: 32px; height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all var(--transition);
}
.cal-nav-btn:hover { border-color: var(--accent); color: var(--accent); }
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}
.cal-day-header {
    font-size: 10px;
    font-weight: 600;
    color: var(--text-ghost);
    text-align: center;
    padding: 4px 0;
    letter-spacing: 1px;
}
.cal-day {
    font-size: 12px;
    text-align: center;
    padding: 6px 2px;
    border-radius: 6px;
    color: var(--text-dim);
    transition: all var(--transition);
    cursor: default;
}
.cal-day.free { background: rgba(0,255,204,0.1); color: var(--accent); }
.cal-day.limited, .cal-day.partial { background: rgba(255,200,50,0.15); color: #e8c44a; }
.cal-day.busy { background: rgba(255,70,70,0.1); color: #ff6b6b; }
.cal-day.empty { color: transparent; pointer-events: none; }
.cal-day.other-month { color: var(--text-ghost); opacity: 0.3; }
.calendar-legend {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 12px;
    font-size: 11px;
}
.legend-free { color: var(--accent); }
.legend-limited, .legend-partial { color: #e8c44a; }
.legend-busy { color: #ff6b6b; }
.legend-free::before,
.legend-limited::before,
.legend-busy::before {
    content: '';
    display: inline-block;
    width: 10px; height: 10px;
    border-radius: 50%;
    margin-right: 6px;
}
.legend-free::before { background: var(--accent); }
.legend-limited::before, .legend-partial::before { background: #e8c44a; }
.legend-busy::before { background: #ff6b6b; }

/* --- RECHNER --- */
.rechner-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 480px;
    margin: 32px auto;
}
.input-field {
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 14px 18px;
    color: var(--text);
    font-size: 16px;
    font-family: var(--font);
    outline: none;
    transition: border-color var(--transition);
}
.input-field:focus { border-color: var(--accent); }
.input-field::placeholder { color: var(--text-ghost); }
.textarea { resize: vertical; }

/* --- BUTTONS --- */
.btn-primary {
    display: inline-block;
    padding: 14px 32px;
    font-family: var(--font);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--void);
    background: var(--accent);
    border: none;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 24px rgba(0,255,204,0.3);
}
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none; }

.btn-outline {
    display: inline-block;
    padding: 14px 32px;
    font-family: var(--font);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: var(--accent);
    background: transparent;
    border: 1px solid var(--accent);
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
}
.btn-outline:hover {
    background: var(--accent-glow);
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 14px 32px;
    font-size: 16px;
    font-family: var(--font);
    cursor: pointer;
    transition: var(--transition);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* Pulsierender Button */
.btn-pulse {
    animation: pulse-cyan 2.5s ease-in-out infinite;
    display: inline-block;
}
@keyframes pulse-cyan {
    0%, 100% { box-shadow: 0 0 8px rgba(0,255,204,0.3); }
    50% { box-shadow: 0 0 28px rgba(0,255,204,0.6); }
}
.btn-pulse:hover { animation: none; box-shadow: 0 0 32px rgba(0,255,204,0.7); }

/* --- KONTAKT (BLEIBT UNVERÄNDERT!) --- */
.kontakt-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 480px;
    margin-top: 32px;
}
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-dim);
    cursor: pointer;
}
.checkbox-label input[type="checkbox"] {
    accent-color: var(--accent);
    width: 18px;
    height: 18px;
}
.form-status { font-size: 14px; margin-top: 8px; }
.fire-dept-badge {
    display: inline-block;
    background: var(--accent-glow);
    color: var(--accent);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    margin-top: 8px;
}

/* --- ÜBER MICH --- */
.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 24px 0;
}
.trust-badge {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 140px;
    flex: 1;
    text-align: center;
}
.trust-badge-icon { font-size: 28px; line-height: 1; }
.trust-badge-text { font-size: 13px; color: var(--text-dim); line-height: 1.4; }

/* --- FAQ ACCORDION --- */
.faq-section { margin-top: 48px; }
.faq-heading {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
    width: 100%;
    background: none;
    border: none;
    color: var(--text);
    font-family: var(--font);
    font-size: 15px;
    font-weight: 500;
    padding: 16px 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    transition: color var(--transition);
}
.faq-question:hover { color: var(--accent); }
.faq-icon {
    font-size: 20px;
    font-weight: 300;
    color: var(--accent);
    transition: transform 0.3s ease;
}
.faq-question.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq-answer p {
    font-size: 14px;
    color: var(--text-dim);
    line-height: 1.7;
    padding-bottom: 16px;
}
/* Legacy FAQ-Style */
.faq-item.open .faq-answer {
    max-height: 300px;
    padding: 0 0 24px 0;
}

/* --- GALLERY PREVIEW & KONTAKT CTA --- */
.gallery-preview, .kontakt-cta { text-align: center; }
.kontakt-cta { padding-bottom: 96px !important; }
.gallery-preview .btn-primary, .kontakt-cta .btn-primary { margin-top: 24px; }

/* --- ABOUT ME PREVIEW --- */
.about-me-preview {
    text-align: center;
    padding-top: 80px !important;
    padding-bottom: 48px !important;
    min-height: 50dvh;
    border-top: 1px solid var(--border);
}
.about-me-preview .btn-primary { margin-top: 50px; display: inline-block; }
.about-me-preview .body-dim { margin-bottom: 40px; }
.about-me-preview .body-large { margin-bottom: 8px; }
@media (max-width: 768px) {
    .kontakt-cta { padding-bottom: 80px !important; }
    .about-me-preview {
        padding-top: 64px !important;
        padding-bottom: 80px !important;
        min-height: 60dvh;
    }
    .about-me-preview .body-dim { margin-bottom: 56px; }
}

/* --- AMBIENT GLOW --- */
.ambient-glow {
    position: absolute;
    width: 300px; height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,255,204,0.06) 0%, transparent 70%);
    pointer-events: none;
    animation: ambientFloat 15s ease-in-out infinite;
}
@media (max-width: 768px) {
    .ambient-glow { display: none; }
}
@keyframes ambientFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.1); }
    66% { transform: translate(-20px, 15px) scale(0.95); }
}

/* --- RECHNER ERGEBNIS --- */
.rechner-result {
    margin-top: 16px;
    font-size: 18px;
    line-height: 1.6;
}

/* --- FOOTER --- */
.footer {
    padding: 40px 24px;
    text-align: center;
    border-top: 1px solid var(--border);
}
.footer-logo {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 12px;
}
.footer-copy {
    font-size: 13px;
    color: var(--text-ghost);
    margin-bottom: 8px;
}
.footer-links { font-size: 12px; color: var(--text-ghost); }
.footer-links a { color: var(--text-dim); }
.footer-links a:hover { color: var(--accent); }
.footer-sep { margin: 0 8px; opacity: 0.3; }
.footer-text { font-size: 13px; color: var(--text-ghost); margin-bottom: 8px; }

/* --- SCROLL REVEAL (v4: IntersectionObserver) --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Legacy GSAP-Klasse (Kompatibilität) */
.gsap-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.gsap-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- REDUCED MOTION --- */
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .reveal-delay-1, .reveal-delay-2, .reveal-delay-3, .reveal-delay-4 { transition-delay: 0; }
    .ambient-glow { animation: none; }
    .radius-ring.pulse { animation: none; }
    .scroll-indicator { animation: none; }
    .hero-title { animation: none; }
    .hero-tagline { transition: none; }
    .hero-stats { animation: none; opacity: 1; }
    .gsap-reveal { opacity: 1; transform: none; }
    .hero-video { display: none; }
    .btn-pulse { animation: none; }
}

/* --- PRINT --- */
@media print {
    .gallery, .gallery-masonry, .gallery-item, .lightbox { display: none !important; }
}

/* --- SCROLLBAR --- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--void); }
::-webkit-scrollbar-thumb { background: var(--surface-2); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-ghost); }