/* ============================================================
   IGNILABS · MODERN DESIGN SYSTEM
   Loaded last – refines and unifies the existing styles into
   a coherent dark "tech-luxe" theme.
   ============================================================ */

:root {
    /* Brand */
    --ink: #04111e;
    --navy: #06192b;
    --navy-2: #081f35;
    --navy-3: #0d2942;
    --cyan: #00e0ff;
    --blue: #00a8ff;
    --violet: #a78bfa;
    --emerald: #34d399;

    /* Surfaces */
    --glass: linear-gradient(160deg, rgba(17, 43, 70, 0.65) 0%, rgba(6, 25, 43, 0.65) 100%);
    --glass-border: rgba(0, 224, 255, 0.16);
    --glass-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);

    /* Text */
    --text-strong: #ffffff;
    --text: rgba(232, 241, 248, 0.88);
    --text-soft: rgba(232, 241, 248, 0.65);

    /* Type */
    --font-display: 'Bricolage Grotesque', 'Segoe UI', sans-serif;
    --font-body: 'Instrument Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Misc */
    --radius: 18px;
    --radius-lg: 24px;
}

/* ── Base ──────────────────────────────────────────────────── */

html {
    scroll-behavior: smooth;
    scroll-padding-top: 72px;
}

body,
#page {
    font-family: var(--font-body);
    background-color: var(--navy);
}

p {
    font-family: var(--font-body);
    font-size: 1rem;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    letter-spacing: -0.015em;
}

#general-background-color {
    background-color: var(--navy);
}

::selection {
    background: rgba(0, 224, 255, 0.35);
    color: #ffffff;
}

/* Slim themed scrollbar (desktop) */
@media (min-width: 769px) {
    ::-webkit-scrollbar { width: 10px; }
    ::-webkit-scrollbar-track { background: var(--ink); }
    ::-webkit-scrollbar-thumb {
        background: linear-gradient(180deg, #1a4a66, #0d2942);
        border-radius: 8px;
        border: 2px solid var(--ink);
    }
    ::-webkit-scrollbar-thumb:hover { background: #1f6080; }
}

:focus-visible {
    outline: 2px solid var(--cyan);
    outline-offset: 3px;
    border-radius: 4px;
}

/* Subtle film grain for depth (desktop only, very cheap: one SVG) */
@media (min-width: 769px) {
    body::before {
        content: '';
        position: fixed;
        inset: 0;
        z-index: 0;
        pointer-events: none;
        opacity: 0.05;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
    }
}

/* ── Section headings ─────────────────────────────────────── */

.section-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2rem, 4vw, 2.75rem);
    color: var(--text-strong) !important;
    letter-spacing: -0.02em;
}

.section-subtitle {
    color: var(--text-soft) !important;
    font-weight: 400;
}

/* ── Header: dark glass ───────────────────────────────────── */

.header {
    background: rgba(5, 16, 28, 0.72);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    backdrop-filter: blur(16px) saturate(140%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    border-bottom: 1px solid rgba(0, 224, 255, 0.12);
}

.header nav a.active {
    color: var(--cyan) !important;
}

.header nav a {
    position: relative;
}

.header nav a::after {
    content: '';
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 4px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--cyan), var(--blue));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.header nav a:hover::after,
.header nav a.active::after {
    transform: scaleX(1);
}

.header nav a:hover {
    color: var(--cyan) !important;
}

/* Mobile header */
.burger-icon,
.burger-icon:hover {
    color: #ffffff;
    background: none;
}

.menu-links {
    background: rgba(6, 20, 35, 0.92);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    border-left: 1px solid rgba(0, 224, 255, 0.14);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
}

.menu-links a {
    color: var(--text);
    font-family: var(--font-display);
    font-weight: 600;
}

.menu-links a:hover,
.menu-links a.active {
    color: var(--cyan);
}

.mobile-lang-current {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 224, 255, 0.25);
    color: var(--text);
}

.mobile-lang-sub-panel {
    background: #0a2034;
    border-color: rgba(0, 224, 255, 0.2);
}

.mobile-lang-option {
    background: transparent;
    border-bottom-color: rgba(255, 255, 255, 0.06);
    color: var(--text);
}

.mobile-lang-option:hover {
    background: rgba(0, 224, 255, 0.08);
}

.mobile-lang-option.active {
    background: rgba(0, 224, 255, 0.12);
    color: var(--cyan);
}

.language-menu-links-mobile {
    background: #0a2034;
    border-color: rgba(0, 224, 255, 0.2);
}

/* ── Hero ─────────────────────────────────────────────────── */

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    margin-bottom: 28px;
    border-radius: 999px;
    background: rgba(52, 211, 153, 0.08);
    border: 1px solid rgba(52, 211, 153, 0.35);
    color: #6ef0bb;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--emerald);
    box-shadow: 0 0 10px var(--emerald), 0 0 22px rgba(52, 211, 153, 0.5);
    animation: heroPulse 2s ease-in-out infinite;
}

@media (max-width: 480px) {
    .hero-badge {
        font-size: 0.72rem;
        padding: 7px 14px;
        margin-bottom: 22px;
    }
}

@keyframes heroPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50%      { transform: scale(1.4); opacity: 0.55; }
}

.hero-welcome {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3.5vw, 2.5rem);
    font-weight: 500;
    color: var(--text-strong);
    letter-spacing: 0.01em;
}

.hero-brand {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    background: linear-gradient(110deg, #ffffff 0%, var(--cyan) 35%, var(--blue) 55%, var(--violet) 80%, #ffffff 100%);
    background-size: 250% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: heroShimmer 7s ease-in-out infinite;
}

@keyframes heroShimmer {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}

.hero-tagline {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(0.95rem, 2vw, 1.3rem);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--cyan);
    margin-top: 0.4rem;
}

.hero-subtitle {
    font-family: var(--font-body);
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

.hero-cta .btn-primary {
    background: linear-gradient(120deg, var(--cyan) 0%, var(--blue) 100%);
    color: var(--navy);
    border: none;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.02rem;
    padding: 14px 34px;
    box-shadow: 0 8px 30px rgba(0, 224, 255, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.hero-cta .btn-primary:hover {
    background: linear-gradient(120deg, var(--cyan) 0%, var(--blue) 100%);
    color: var(--navy);
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 14px 44px rgba(0, 224, 255, 0.5);
    filter: brightness(1.08);
}

.hero-cta .btn-ghost {
    display: inline-block;
    padding: 14px 34px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.04);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    color: var(--text-strong);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.02rem;
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.hero-cta .btn-ghost:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 224, 255, 0.6);
    background: rgba(0, 224, 255, 0.08);
    color: #ffffff;
}

/* Scroll indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-soft);
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.25s ease, color 0.25s ease;
}

.hero-scroll-indicator:hover {
    opacity: 1;
    color: var(--cyan);
}

.hero-scroll-mouse {
    width: 24px;
    height: 38px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-radius: 14px;
    position: relative;
}

.hero-scroll-mouse::after {
    content: '';
    position: absolute;
    top: 7px;
    left: 50%;
    width: 4px;
    height: 8px;
    margin-left: -2px;
    border-radius: 4px;
    background: var(--cyan);
    animation: scrollWheel 1.8s ease-in-out infinite;
}

@keyframes scrollWheel {
    0%   { transform: translateY(0); opacity: 1; }
    70%  { transform: translateY(12px); opacity: 0; }
    100% { transform: translateY(0); opacity: 0; }
}

@media (max-height: 640px) {
    .hero-scroll-indicator { display: none; }
}

/* ── Tech marquee ─────────────────────────────────────────── */

.tech-marquee-section {
    background: var(--navy);
    padding: 44px 0 52px;
    overflow: hidden;
    border-top: 1px solid rgba(0, 224, 255, 0.08);
    border-bottom: 1px solid rgba(0, 224, 255, 0.08);
    position: relative;
}

.tech-marquee-label {
    text-align: center;
    color: var(--text-soft);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin: 0 20px 26px;
}

.tech-marquee {
    display: flex;
    width: max-content;
    animation: marquee 36s linear infinite;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.tech-marquee:hover {
    animation-play-state: paused;
}

.tech-marquee-track {
    display: flex;
    align-items: center;
    gap: 18px;
    padding-right: 18px;
}

.tech-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.09);
    color: var(--text);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.98rem;
    white-space: nowrap;
    transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.tech-chip i {
    font-size: 1.25rem;
    color: var(--cyan);
}

.tech-chip:hover {
    border-color: rgba(0, 224, 255, 0.5);
    background: rgba(0, 224, 255, 0.07);
    transform: translateY(-2px);
}

@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ── Services: aurora atmosphere + glow cards ─────────────── */

#services {
    background:
        radial-gradient(55% 45% at 85% 8%, rgba(0, 224, 255, 0.08) 0%, transparent 60%),
        radial-gradient(45% 50% at 8% 60%, rgba(167, 139, 250, 0.09) 0%, transparent 60%),
        radial-gradient(40% 40% at 70% 95%, rgba(52, 211, 153, 0.06) 0%, transparent 60%),
        linear-gradient(180deg, var(--navy) 0%, #0a2438 55%, var(--navy-2) 100%);
}

.service-card {
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

/* Cursor-following glow (driven by --mx / --my set in JS) */
.glow-card {
    position: relative;
}

.glow-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.35s ease;
    background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%),
        rgba(0, 224, 255, 0.14), transparent 65%);
}

.glow-card:hover::after {
    opacity: 1;
}

/* ── About: dark glass remap ──────────────────────────────── */

.about-section {
    background:
        radial-gradient(50% 55% at 12% 10%, rgba(0, 168, 255, 0.08) 0%, transparent 60%),
        radial-gradient(45% 45% at 90% 85%, rgba(0, 224, 255, 0.06) 0%, transparent 60%),
        var(--navy-2);
}

.about-title { color: var(--text-strong); }

.about-subtitle {
    color: var(--cyan);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.92rem;
    font-weight: 600;
}

.about-signature {
    color: var(--text-soft);
}

.about-trust-bar {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.about-trust-value {
    color: var(--text-strong);
    font-family: var(--font-display);
    background: linear-gradient(90deg, var(--cyan), var(--blue));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-trust-label { color: var(--text-soft); }

@media (min-width: 769px) {
    .about-trust-item + .about-trust-item {
        border-left: 1px solid rgba(0, 224, 255, 0.14);
    }
}

.about-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--glass-shadow);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.about-intro { color: var(--text); }

.about-feature {
    background: rgba(255, 255, 255, 0.03);
    border-left: 3px solid var(--cyan);
    transition: background 0.25s ease, transform 0.25s ease;
}

.about-feature:hover {
    background: rgba(0, 224, 255, 0.06);
    transform: translateX(4px);
}

.about-feature-title { color: var(--cyan); }
.about-feature-text { color: var(--text-soft); }

.about-quote {
    background: rgba(0, 224, 255, 0.05);
    border: 1px solid rgba(0, 224, 255, 0.18);
}

.about-quote-text { color: var(--text); }
.about-quote-mark { color: var(--cyan); }
.about-quote-author { color: var(--text-strong); }
.about-quote-role { color: var(--text-soft); }

.about-quote-link {
    color: var(--cyan);
}
.about-quote-link:hover,
.about-quote-link:focus {
    border-bottom-color: var(--cyan);
}

.about-risk-reversal {
    background: rgba(52, 211, 153, 0.08);
    border: 1px solid rgba(52, 211, 153, 0.25);
    color: #6ef0bb;
    border-radius: 10px;
}

.about-cta-micro { color: var(--text-soft); }

.about-cta-button {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(0, 224, 255, 0.35);
    color: var(--text);
}

.about-cta-button:hover,
.about-cta-button:focus {
    background: rgba(0, 224, 255, 0.12);
    border-color: var(--cyan);
    color: #ffffff;
}

.about-cta-primary {
    background: linear-gradient(120deg, var(--cyan), var(--blue));
    border-color: transparent;
    color: var(--navy);
    font-weight: 700;
    box-shadow: 0 6px 22px rgba(0, 224, 255, 0.3);
}

.about-cta-primary:hover,
.about-cta-primary:focus {
    background: linear-gradient(120deg, var(--cyan), var(--blue));
    border-color: transparent;
    color: var(--navy);
    filter: brightness(1.1);
}

/* ── Process ──────────────────────────────────────────────── */

#process {
    background:
        radial-gradient(50% 50% at 85% 20%, rgba(167, 139, 250, 0.07) 0%, transparent 60%),
        var(--navy);
}

.process-steps::before {
    box-shadow: 0 0 18px rgba(0, 224, 255, 0.35);
}

.process-step {
    border-radius: var(--radius);
    transition: background 0.25s ease, transform 0.25s ease;
}

.process-step:hover {
    background: rgba(0, 224, 255, 0.04);
    transform: translateY(-4px);
}

.process-step-number {
    font-family: var(--font-display);
}

/* ── Stats ────────────────────────────────────────────────── */

#stats {
    background:
        radial-gradient(60% 60% at 50% 0%, rgba(0, 224, 255, 0.06) 0%, transparent 65%),
        var(--navy-2);
    padding: 80px 0;
}

.stat-item {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.stat-item:hover {
    box-shadow: 0 12px 36px rgba(0, 224, 255, 0.12);
}

.stat-value {
    font-family: var(--font-display);
    font-variant-numeric: tabular-nums;
}

/* ── Testimonials: dark glass ─────────────────────────────── */

#testimonials {
    background:
        radial-gradient(45% 55% at 10% 15%, rgba(0, 168, 255, 0.07) 0%, transparent 60%),
        var(--navy);
    padding: 80px 0;
}

.testimonial-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.testimonial-card:hover {
    box-shadow: 0 16px 44px rgba(0, 224, 255, 0.12);
    border-color: rgba(0, 224, 255, 0.35);
}

.testimonial-quote { color: var(--text); }
.quote-mark { color: var(--cyan); }
.testimonial-author-name { color: var(--text-strong); }
.testimonial-author-role { color: var(--text-soft); }

.testimonial-avatar {
    background: linear-gradient(135deg, rgba(0, 224, 255, 0.25), rgba(0, 168, 255, 0.1));
    border: 1px solid rgba(0, 224, 255, 0.4);
}

/* ── FAQ: dark ────────────────────────────────────────────── */

#faq {
    background: var(--navy-2);
    padding: 80px 0;
}

.faq-item,
.faq-item:first-child {
    border-color: rgba(255, 255, 255, 0.1);
}

.faq-question {
    color: var(--text-strong);
    font-family: var(--font-display);
}

.faq-question:hover,
.faq-open .faq-question {
    color: var(--cyan);
}

.faq-icon {
    color: var(--cyan);
    transition: transform 0.3s ease;
}

.faq-open .faq-icon {
    transform: rotate(45deg);
}

/* Sanftes Auf-/Zuklappen über grid-template-rows */
.faq-answer-wrap {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.35s ease;
}

.faq-open .faq-answer-wrap {
    grid-template-rows: 1fr;
}

.faq-answer-wrap > .faq-answer {
    overflow: hidden;
    min-height: 0;
    padding: 0;
}

.faq-answer p {
    color: var(--text-soft);
    padding-bottom: 24px;
}

@media (prefers-reduced-motion: reduce) {
    .faq-answer-wrap { transition: none; }
    .faq-icon { transition: none; }
}

/* ── Blog teaser: dark glass ──────────────────────────────── */

#blog {
    background:
        radial-gradient(50% 50% at 90% 10%, rgba(52, 211, 153, 0.05) 0%, transparent 60%),
        var(--navy);
    padding: 80px 0;
}

.blog-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.blog-card:hover {
    border-color: rgba(0, 224, 255, 0.35);
    box-shadow: 0 16px 44px rgba(0, 224, 255, 0.12);
}

.blog-card-category {
    background: rgba(0, 224, 255, 0.1);
    border: 1px solid rgba(0, 224, 255, 0.3);
    align-self: flex-start;
}

.blog-card-title { color: var(--text-strong); }
.blog-card-excerpt { color: var(--text-soft); }
.blog-card-date { color: rgba(232, 241, 248, 0.45); }
.blog-card-footer { color: var(--text-soft); }

/* ── Footer: dark ─────────────────────────────────────────── */

footer {
    background:
        linear-gradient(180deg, var(--ink) 0%, #02090f 100%);
    color: var(--text);
    border-radius: 0;
    border-top: 1px solid rgba(0, 224, 255, 0.12);
    box-shadow: none;
    padding-bottom: 24px;
}

footer h5 {
    color: var(--text-strong);
    font-size: 0.95rem;
    letter-spacing: 0.1em;
}

.footer-link {
    color: var(--text-soft);
    transition: color 0.2s ease;
    font-size: 0.9rem;
}

.footer-link:hover {
    color: var(--cyan);
}

.footer-muted {
    color: rgba(232, 241, 248, 0.45) !important;
}

/* ── Projekt-Wizard ───────────────────────────────────────── */

.wizard-section {
    background:
        radial-gradient(50% 60% at 50% 100%, rgba(0, 224, 255, 0.06) 0%, transparent 60%),
        var(--navy-2);
    padding: 80px 0;
}

.wizard-card {
    max-width: 760px;
    margin: 0 auto;
    padding: 44px 40px;
    border-radius: var(--radius-lg);
    background: var(--glass);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    text-align: center;
}

.wizard-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(0, 224, 255, 0.08);
    border: 1px solid rgba(0, 224, 255, 0.25);
    color: #6ee9ff;
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 18px;
}

.wizard-eyebrow-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 10px var(--cyan);
    animation: heroPulse 2s ease-in-out infinite;
}

.wizard-title {
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    font-weight: 800;
    color: var(--text-strong);
    margin: 0 0 10px;
}

.wizard-subtitle {
    color: var(--text-soft);
    font-size: 1rem;
    margin: 0 0 26px;
}

.wizard-progress {
    display: flex;
    gap: 6px;
    max-width: 280px;
    margin: 0 auto 30px;
}

.wizard-progress-seg {
    flex: 1;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.1);
    transition: background 0.3s ease;
}

.wizard-progress-seg.done { background: var(--cyan); }
.wizard-progress-seg.active { background: rgba(0, 224, 255, 0.45); }

.wizard-step {
    animation: wizardStepIn 0.3s ease;
}

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

.wizard-question {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-strong);
    margin: 0 0 20px;
}

.wizard-step-num {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--cyan);
}

.wizard-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.wizard-option {
    padding: 13px 24px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(0, 224, 255, 0.3);
    color: var(--text);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.98rem;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.wizard-option:hover,
.wizard-option:focus-visible {
    background: rgba(0, 224, 255, 0.12);
    border-color: var(--cyan);
    color: #ffffff;
    transform: translateY(-2px);
}

.wizard-option:active { transform: scale(0.97); }

.wizard-summary {
    animation: wizardStepIn 0.3s ease;
}

.wizard-summary-label {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-soft);
    margin: 0 0 14px;
}

.wizard-summary-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 26px;
}

.wizard-summary-chip {
    padding: 9px 18px;
    border-radius: 999px;
    background: rgba(0, 224, 255, 0.1);
    border: 1px solid rgba(0, 224, 255, 0.35);
    color: #aef3ff;
    font-weight: 600;
    font-size: 0.92rem;
}

.wizard-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.wizard-cta {
    padding: 14px 34px;
    border-radius: 999px;
    border: none;
    background: linear-gradient(120deg, var(--cyan), var(--blue));
    color: var(--navy);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.02rem;
    cursor: pointer;
    box-shadow: 0 8px 30px rgba(0, 224, 255, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.wizard-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 40px rgba(0, 224, 255, 0.5);
    filter: brightness(1.08);
}

.wizard-restart {
    background: none;
    border: none;
    color: var(--text-soft);
    font-size: 0.88rem;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
    padding: 4px 8px;
}

.wizard-restart:hover { color: var(--cyan); }

.wizard-restart-inline { margin-top: 22px; }

@media (max-width: 600px) {
    .wizard-card { padding: 32px 20px; }
    .wizard-options { flex-direction: column; }
    .wizard-option { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .wizard-step, .wizard-summary { animation: none; }
    .wizard-eyebrow-dot { animation: none; }
}

/* ── Kontakt: Erfolgs-Panel ───────────────────────────────── */

.contact-success-panel {
    text-align: center;
    padding: 28px 8px;
    animation: wizardStepIn 0.35s ease;
}

.contact-success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(52, 211, 153, 0.12);
    border: 1px solid rgba(52, 211, 153, 0.45);
    color: var(--emerald);
    margin-bottom: 18px;
    box-shadow: 0 0 30px rgba(52, 211, 153, 0.2);
}

.contact-success-icon svg {
    width: 30px;
    height: 30px;
}

.contact-success-title {
    color: var(--text-strong);
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 0 10px;
}

.contact-success-text {
    color: var(--text);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 auto 26px;
    max-width: 440px;
}

.contact-success-steps-title {
    color: var(--cyan);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin: 0 0 14px;
}

.contact-success-steps {
    list-style: none;
    counter-reset: success-step;
    margin: 0 auto 28px;
    padding: 0;
    max-width: 420px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-success-steps li {
    counter-increment: success-step;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text);
    font-size: 0.95rem;
    line-height: 1.5;
}

.contact-success-steps li::before {
    content: counter(success-step);
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(0, 224, 255, 0.12);
    border: 1px solid rgba(0, 224, 255, 0.4);
    color: var(--cyan);
    font-size: 0.8rem;
    font-weight: 700;
}

.contact-success-again {
    padding: 11px 26px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(0, 224, 255, 0.35);
    color: var(--text);
    font-weight: 600;
    font-size: 0.92rem;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.contact-success-again:hover {
    background: rgba(0, 224, 255, 0.1);
    border-color: var(--cyan);
    color: #ffffff;
}

/* ── Mobile Action Bar ────────────────────────────────────── */

.mobile-action-bar {
    display: none;
}

@media (max-width: 768px) {
    .mobile-action-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1100;
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 1px;
        background: rgba(5, 16, 28, 0.92);
        -webkit-backdrop-filter: blur(16px);
        backdrop-filter: blur(16px);
        border-top: 1px solid rgba(0, 224, 255, 0.18);
        padding-bottom: env(safe-area-inset-bottom);
    }

    .mobile-action-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        padding: 9px 4px 7px;
        color: var(--text);
        font-size: 0.72rem;
        font-weight: 600;
        letter-spacing: 0.02em;
        text-decoration: none;
        -webkit-tap-highlight-color: transparent;
    }

    .mobile-action-item:active {
        background: rgba(0, 224, 255, 0.08);
        color: #ffffff;
    }

    .mobile-action-item svg { color: var(--cyan); }
    .mobile-action-wa svg { color: #25d366; }
    .mobile-action-request svg { color: var(--violet); }

    /* Inhalt nicht von der Bar verdecken */
    footer {
        padding-bottom: calc(64px + env(safe-area-inset-bottom)) !important;
    }

    /* Alte schwebende WhatsApp-Buttons über der Bar positionieren */
    .whatsapp-float {
        bottom: calc(64px + env(safe-area-inset-bottom)) !important;
    }
}

body.modal-open .mobile-action-bar,
body.cookie-lock .mobile-action-bar {
    display: none;
}

/* ── Landscape auf Touch-Geräten (kompakte Abstände) ──────── */

@media (orientation: landscape) and (max-height: 500px) {
    .hero-section { min-height: 100svh; }
    .hero-welcome { font-size: 1.3rem; }
    .hero-brand { font-size: 2.6rem; }
    .hero-badge { margin-bottom: 14px; font-size: 0.7rem; padding: 6px 12px; }
    .hero-subtitle { font-size: 1rem !important; margin-bottom: 1.2rem; }
    .hero-cta { margin-top: 0.8rem; }
    .hero-cta .btn-primary,
    .hero-cta .btn-ghost { padding: 10px 24px; font-size: 0.92rem; }

    .home-section { padding: 48px 0; }
    .tech-marquee-section { padding: 28px 0 34px; }
}

@media (pointer: coarse) and (orientation: landscape) and (max-height: 500px) {
    /* Burger-Header auch bei Breite > 769px zeigen (Platform = MOBILE) */
    .burger-menu { display: flex !important; }

    /* Action-Bar auch im Landscape anzeigen */
    .mobile-action-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1100;
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 1px;
        background: rgba(5, 16, 28, 0.92);
        -webkit-backdrop-filter: blur(16px);
        backdrop-filter: blur(16px);
        border-top: 1px solid rgba(0, 224, 255, 0.18);
        padding-bottom: env(safe-area-inset-bottom);
    }
    .mobile-action-item {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 8px 4px;
        color: var(--text);
        font-size: 0.78rem;
        font-weight: 600;
        text-decoration: none;
    }
    .mobile-action-item svg { color: var(--cyan); width: 17px; height: 17px; }
    .mobile-action-wa svg { color: #25d366; }
    .mobile-action-request svg { color: var(--violet); }

    footer {
        padding-bottom: calc(52px + env(safe-area-inset-bottom)) !important;
    }
}

/* ── Blog page ────────────────────────────────────────────── */

.blog-page {
    background:
        radial-gradient(50% 40% at 80% 0%, rgba(0, 224, 255, 0.06) 0%, transparent 60%),
        var(--navy);
}

/* ── Impressum (dark page surface) ────────────────────────── */

.fancy-title {
    color: var(--text-strong);
}

.fancy-card-2 {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    color: var(--text);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.fancy-card-2 p {
    color: var(--text);
}

.fancy-card-2 b {
    color: var(--text-strong);
}

/* ── Reduced motion ───────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .hero-brand,
    .hero-badge-dot,
    .hero-scroll-mouse::after,
    .tech-marquee {
        animation: none !important;
    }
    .glow-card::after { display: none; }
}

/* ── SEO-Landingpages & Blog-Artikelseiten ────────────────── */

.landing-breadcrumb {
    font-size: 0.85rem;
    color: var(--text-muted, #94a3b8);
    margin-bottom: 28px;
}

.landing-breadcrumb a {
    color: var(--cyan);
    text-decoration: none;
}

.landing-breadcrumb a:hover { text-decoration: underline; }

.landing-eyebrow {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 12px;
}

.landing-title {
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 4.5vw, 2.8rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--text-strong);
    margin-bottom: 24px;
}

.landing-intro {
    font-size: 1.12rem;
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 18px;
}

.article-intro { font-style: italic; }

.article-meta {
    font-size: 0.88rem;
    color: var(--text-muted, #94a3b8);
    margin-bottom: 28px;
}

.landing-section { margin-top: 44px; }

.landing-heading {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-strong);
    margin-bottom: 14px;
}

.landing-body {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text);
    margin: 0;
}

.landing-cta {
    margin-top: 56px;
    padding: 36px 32px;
    border-radius: var(--radius-lg);
    background: var(--glass);
    border: 1px solid var(--glass-border);
    text-align: center;
}

.landing-cta .landing-body { margin-bottom: 22px; }

.landing-related { margin-top: 48px; }

.landing-related-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.landing-related-list a {
    color: var(--cyan);
    text-decoration: none;
    font-size: 0.95rem;
}

.landing-related-list a:hover { text-decoration: underline; }

.article-sources {
    margin-top: 48px;
    padding-top: 28px;
    border-top: 1px solid var(--glass-border);
}

.article-sources a { word-break: break-all; }

.blog-card-link {
    color: inherit;
    text-decoration: none;
    display: block;
}

.blog-card-link:hover { color: inherit; }

/* Landingpage: Trust-Leiste, Sektion-Karten, Testimonial, CTA */

.landing-trust {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 32px 0 12px;
}

@media (max-width: 640px) {
    .landing-trust { grid-template-columns: repeat(2, 1fr); }
}

.landing-trust-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 13px 10px;
    border-radius: var(--radius);
    background: rgba(0, 224, 255, 0.05);
    border: 1px solid rgba(0, 224, 255, 0.14);
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--text);
    text-align: center;
}

.landing-trust-item i { color: var(--cyan); }

.landing-card {
    position: relative;
    padding: 30px 32px;
    border-radius: var(--radius-lg);
    background: var(--glass);
    border: 1px solid var(--glass-border);
    overflow: hidden;
}

.landing-card .landing-heading { margin-top: 0; }

.landing-card-num {
    position: absolute;
    top: 14px;
    right: 22px;
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 800;
    color: rgba(0, 224, 255, 0.12);
    line-height: 1;
    pointer-events: none;
}

.landing-testimonial {
    margin-top: 44px;
    padding: 30px 32px;
    border-radius: var(--radius-lg);
    background: rgba(0, 224, 255, 0.04);
    border: 1px solid var(--glass-border);
    border-left: 3px solid var(--cyan);
}

.landing-testimonial-quote {
    font-size: 1.05rem;
    font-style: italic;
    line-height: 1.7;
    color: var(--text);
    margin: 0 0 18px;
    border: none;
    padding: 0;
}

.landing-testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.9rem;
    color: var(--text-soft);
}

.landing-testimonial-author strong { color: var(--text-strong); }

.landing-testimonial-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    flex-shrink: 0;
    background: linear-gradient(120deg, var(--cyan), var(--blue));
    color: var(--navy);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.9rem;
}

.landing-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 22px;
}

.landing-cta-buttons .btn i { margin-right: 8px; }

.landing-cta-note {
    margin: 18px 0 0;
    font-size: 0.82rem;
    color: var(--text-soft);
    letter-spacing: 0.03em;
}

.landing-related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

@media (max-width: 640px) {
    .landing-related-grid { grid-template-columns: 1fr; }
}

.landing-related-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 20px;
    border-radius: var(--radius);
    background: var(--glass);
    border: 1px solid var(--glass-border);
    color: var(--text-strong);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: border-color 0.25s ease, transform 0.25s ease;
}

.landing-related-card:hover {
    color: var(--cyan);
    border-color: rgba(0, 224, 255, 0.4);
    transform: translateY(-2px);
}

.landing-related-card i { color: var(--cyan); }

/* Landing-H1: Keyword als dezente Kicker-Zeile, Nutzen-Botschaft groß */

.landing-title {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.landing-title-kicker {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--cyan);
}

.landing-title-main {
    font-size: clamp(1.9rem, 4.5vw, 2.8rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
}
