/* ===== Premium Neon Theme ===== */

:root {
    --bg-dark: #0b0f1a;
    --bg-card: #12182b;
    --neon-blue: #00e5ff;
    --neon-purple: #8b5cf6;
    --text-light: #e5e7eb;
    --text-muted: #9ca3af;
}

body {
    padding-top: 70px;
    background-color: var(--bg-dark);
    color: var(--text-light);
    scroll-behavior: smooth;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ===== Navbar ===== */
.navbar {
    background: #060913;
    backdrop-filter: blur(10px);
}

.navbar-brand {
    font-weight: 700;
    letter-spacing: 0.5px;
}

.nav-link {
    color: var(--text-muted) !important;
}

.nav-link.active,
.nav-link:hover {
    color: var(--neon-blue) !important;
}

/* Navbar Links */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
    transition: width 0.3s ease;
}

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

.navbar {
    transition:
        box-shadow 0.3s ease,
        background-color 0.3s ease,
        backdrop-filter 0.3s ease;
}

.navbar.scrolled {
    background: rgba(11, 15, 26, 0.95);
    backdrop-filter: blur(14px);
    box-shadow:
        0 6px 30px rgba(0, 229, 255, 0.25),
        0 0 40px rgba(139, 92, 246, 0.15);
}

/* ===== Navbar Shrink ===== */

.navbar {
    padding: 18px 0;
    transition:
        padding 0.3s ease,
        box-shadow 0.3s ease,
        background-color 0.3s ease,
        backdrop-filter 0.3s ease;
}

.navbar .navbar-brand {
    font-size: 1.15rem;
    transition: font-size 0.3s ease;
}

/* Zustand nach Scroll */
.navbar.scrolled {
    padding: 8px 0;
}

.navbar.scrolled .navbar-brand {
    font-size: 1rem;
}

/* ===== Scroll Progress Bar ===== */

#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    z-index: 2000;
    background: linear-gradient(90deg,
            var(--neon-blue),
            var(--neon-purple));
    box-shadow:
        0 0 10px rgba(0, 229, 255, 0.8),
        0 0 20px rgba(139, 92, 246, 0.6);
    transition: width 0.1s linear;
}

@media (max-width: 768px) {
    #scroll-progress {
        display: none;
    }
}

#scroll-progress {
    opacity: 0;
}

.navbar.scrolled+#scroll-progress {
    opacity: 1;
}

/* ===== Navbar Logo ===== */

.navbar-logo {
    height: 100px;
    width: auto;
    display: block;
}

/* etwas kleiner beim Scroll (passt zu Shrink-Effekt) */
.navbar.scrolled .navbar-logo {
    height: 30px;
}

@media (max-width: 768px) {
    .navbar-logo {
        height: 32px;
    }
}


/* ===== Hero mit Hintergrundbild ===== */

.hero {
    position: relative;
    padding: 160px 0;
    background:
        linear-gradient(rgba(11, 15, 26, 0.85),
            rgba(11, 15, 26, 0.9)),
        url("https://images.unsplash.com/photo-1519389950473-47ba0277781c");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Text-Glow */
.hero h1 {
    text-shadow:
        0 0 20px rgba(0, 229, 255, 0.35),
        0 0 40px rgba(139, 92, 246, 0.25);
}

.hero p {
    color: var(--text-light);
}

@media (max-width: 768px) {
    .hero {
        padding: 120px 0;
        background-position: center top;
    }
}



/* ===== Content ===== */
.content {
    margin-top: 50px;
    max-width: 900px;
}

/* ===== Footer ===== */
footer {
    background: #060913;
    color: var(--text-muted);
}

/* ===== Animation ===== */
.fade-in {
    animation: fadeIn 0.9s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Spacer ===== */
.spacer {
    height: 32px;
}

/* ===== Premium Hover Effekte ===== */

/* Buttons */
.btn {
    transition: all 0.25s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(0, 229, 255, 0.6);
}

/* Karten */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 0 35px rgba(139, 92, 246, 0.35),
        0 0 60px rgba(0, 229, 255, 0.25);
}



/* Feature Icons (Emoji oder Icons) */
.col-md-4 h5 {
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.col-md-4:hover h5 {
    color: var(--neon-blue);
    text-shadow: 0 0 15px rgba(0, 229, 255, 0.6);
}

/* Links */
a {
    transition: color 0.2s ease, text-shadow 0.2s ease;
}

a:hover {
    color: var(--neon-blue);
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.6);
}

/* ===== Navbar CTA Button ===== */

.btn-cta {
    padding: 8px 16px;
    font-weight: 600;
    color: #0b0f1a;
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
    border-radius: 999px;
    border: none;
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.6);
    transition: all 0.25s ease;
}

.btn-cta:hover {
    color: #0b0f1a;
    transform: translateY(-2px);
    box-shadow:
        0 0 30px rgba(139, 92, 246, 0.7),
        0 0 50px rgba(0, 229, 255, 0.6);
}

/* ===== CTA Pulse Animation ===== */

.btn-cta {
    position: relative;
}

/* sanfter Neon-Pulse */
.btn-cta::after {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
    opacity: 0.6;
    filter: blur(14px);
    z-index: -1;
    animation: ctaPulse 2.8s ease-out infinite;
}

@keyframes ctaPulse {
    0% {
        transform: scale(0.95);
        opacity: 0.6;
    }

    70% {
        transform: scale(1.15);
        opacity: 0;
    }

    100% {
        transform: scale(1.15);
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .btn-cta::after {
        animation: none;
    }
}

/* ===== Navbar Scroll Glow ===== */





/* ===== Sticky Zurück Button ===== */

.back-sticky {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 3000;

    padding: 10px 16px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;

    color: var(--neon-blue);
    background: rgba(11, 15, 26, 0.9);
    border: 1px solid rgba(0, 229, 255, 0.4);
    border-radius: 999px;

    backdrop-filter: blur(10px);
    box-shadow:
        0 0 15px rgba(0, 229, 255, 0.35),
        0 0 25px rgba(139, 92, 246, 0.25);

    transition: all 0.25s ease;
}

.back-sticky:hover {
    color: #0b0f1a;
    background: linear-gradient(90deg,
            var(--neon-blue),
            var(--neon-purple));
    box-shadow:
        0 0 30px rgba(0, 229, 255, 0.8),
        0 0 60px rgba(139, 92, 246, 0.6);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .back-sticky {
        left: 16px;
        bottom: 16px;
        padding: 12px 18px;
        font-size: 15px;
    }
}

/* ===== Neon Footer ===== */

.footer-neon {
    background: linear-gradient(180deg,
            rgba(11, 15, 26, 0.95),
            rgba(6, 9, 19, 1));
    border-top: 1px solid rgba(0, 229, 255, 0.25);
    box-shadow:
        0 -10px 30px rgba(0, 229, 255, 0.15),
        0 -20px 60px rgba(139, 92, 246, 0.12);
}

.footer-neon strong {
    color: var(--neon-blue);
    text-shadow: 0 0 12px rgba(0, 229, 255, 0.6);
}

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

.footer-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.25s ease, text-shadow 0.25s ease;
}

.footer-link:hover {
    color: var(--neon-blue);
    text-shadow: 0 0 12px rgba(0, 229, 255, 0.6);
}

img {
    box-shadow: 0 0 25px rgba(0, 229, 255, 0.25), 0 0 40px rgba(139, 92, 246, 0.15);
}


/* ===== Agency Slideshow ===== */

.carousel-item img {
    height: 420px;
    object-fit: cover;
    filter: brightness(0.85);
}

.carousel-caption {
    background: rgba(11, 15, 26, 0.6);
    border-radius: 10px;
    padding: 12px 16px;
    backdrop-filter: blur(6px);
}

.carousel-caption h5 {
    color: var(--neon-blue);
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.5);
}

.carousel-caption p {
    color: #ffffff;
    margin-bottom: 0;
}

/* Controls dezenter */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(1);
    opacity: 0.7;
}

.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
    opacity: 1;
}

/* ===== Pricing Layout ===== */

.pricing-image {
    max-width: 480px;
    border-radius: 16px;
    box-shadow:
        0 0 30px rgba(0, 229, 255, 0.25),
        0 0 50px rgba(139, 92, 246, 0.15);
}

@media (max-width: 992px) {
    .pricing-image {
        max-width: 100%;
    }
}

/* ===== Image Lightbox ===== */

.zoomable {
    cursor: zoom-in;
    transition: transform 0.25s ease;
}

.zoomable:hover {
    transform: scale(1.02);
}

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 16px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    cursor: zoom-out;
}

/* ===== Demo Slideshow Lightbox ===== */

.demo-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.demo-lightbox img {
    max-width: 90%;
    max-height: 85%;
    border-radius: 14px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
}

.demo-lightbox button {
    position: absolute;
    background: none;
    border: none;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    padding: 10px;
}

.demo-prev {
    left: 40px;
}

.demo-next {
    right: 40px;
}

.demo-close {
    top: 20px;
    right: 30px;
    font-size: 32px;
}

/* ===== Reveal ===== */
.reveal {
    opacity: 0;
    transform: translateY(14px);
    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

.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;
}

.hero-content.reveal {
    transition-duration: 1.2s;
}

/* ===== Scroll Progress Bar ===== */

#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    z-index: 2000;
    background: linear-gradient(90deg,
            var(--neon-blue),
            var(--neon-purple));
    box-shadow:
        0 0 10px rgba(0, 0, 0, 0.8),
        0 0 20px rgba(0, 0, 0, 0.6);
    transition: width 0.1s linear;
}

@media (max-width: 768px) {
    #scroll-progress {
        display: none;
    }
}

#scroll-progress {
    opacity: 0;
}

.navbar.scrolled+#scroll-progress {
    opacity: 1;
}

.section-eyebrow {
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.15em;
    color: var(--neon-blue);
}

.blue-divider {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--neon-blue), transparent);
}

.image-caption {
    font-size: 13px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.styled-list {
    list-style: none;
    padding-left: 0;
}

.styled-list li {
    padding-left: 22px;
    position: relative;
    margin-bottom: 10px;
}

.styled-list li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--neon-purple);
}

/* =========================
   DEMO PREVIEW FRAMES
========================= */

.demo-frame {
    background: #000;
    border-radius: 14px;
    overflow: hidden;
}

/* =========================
   DESKTOP PREVIEW
========================= */

.demo-frame.desktop {
    width: 100%;
    /* 🔥 DESKTOP BREITER */
    max-width: 900px;
    height: 640px;
    /* gleich hoch wie Handy */
}



.demo-frame.desktop iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* =========================
   MOBILE PREVIEW
========================= */

.demo-frame.mobile {
    width: 100%;
    /* 🔥 breiter */
    height: 640px;
    padding: 10px;
    background: #0b0b0b;
    border-radius: 28px;
    position: relative;
    overflow: visible;
    position: relative;
}

/* Phone Border */
.demo-frame.mobile::before {
    content: "";
    position: absolute;
    inset: 6px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    pointer-events: none;
}

/* Mobile iframe */
.demo-frame.mobile iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 20px;

    /* echtes Mobile-Scaling */
    transform: scale(0.85);
    transform-origin: top left;
    width: 118%;
    height: 118%;
}


.demo-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 991px) {
    .demo-frame.desktop {
        height: 520px;
    }

    .demo-frame.mobile {
        width: 280px;
        height: 560px;
    }
}

/* ===============================
   CHATBOT – MOBILE FIX
================================ */

/* Standard (Desktop) */
.chat-window {
    position: fixed;
    bottom: 24px;
    right: 24px;
    max-height: 70vh;
}

/* MOBILE / IFRAME */
@media (max-width: 480px) {
    .chat-window {
        position: absolute;     /* 🔥 NICHT fixed */
        bottom: 16px;
        right: 16px;
        left: 16px;             /* verhindert Abschneiden */
        max-height: 65vh;
        border-radius: 16px;
    }
}
