/* ==========================================================================
   DEVSHELL CYBERAUDIT DESIGN SYSTEM 3.0
   Responsive Cyber Cockpit, Gated Teaser Results & Full SEO/AEO System
   Author: Devshell Entwicklung & Websupport (Davide Parrella)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@500;600;700&family=JetBrains+Mono:wght@400;500;700&family=Orbitron:wght@600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Rajdhani:wght@500;600;700&display=swap');

:root {
    /* Deep Space Palette */
    --bg-void: #03060f;
    --bg-deck: #070d1c;
    --bg-cockpit: rgba(10, 18, 36, 0.9);
    --bg-glass-card: rgba(13, 23, 46, 0.75);
    --bg-code-terminal: #040813;
    
    /* Neon Energy Core */
    --cyan-core: #00f2fe;
    --cyan-glow: rgba(0, 242, 254, 0.4);
    --blue-core: #3b82f6;
    --blue-deep: #2563eb;
    --blue-glow: rgba(59, 130, 246, 0.4);
    --green-matrix: #10b981;
    --green-glow: rgba(16, 185, 129, 0.4);
    --amber-energy: #f59e0b;
    --amber-glow: rgba(245, 158, 11, 0.4);
    --red-alert: #ef4444;
    --red-glow: rgba(239, 68, 68, 0.45);
    
    /* Active Tool Accent (Dynamic) */
    --active-accent: var(--cyan-core);
    --active-glow: var(--cyan-glow);
    
    /* Text & Lines */
    --text-pure: #ffffff;
    --text-bright: #f1f5f9;
    --text-muted: #94a3b8;
    --text-dim: #64748b;
    --border-rail: rgba(0, 242, 254, 0.22);
    --border-subtle: rgba(148, 163, 184, 0.12);
    --grid-line: rgba(59, 130, 246, 0.06);
    
    /* Typography */
    --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --font-orbit: 'Orbitron', monospace;
    --font-chakra: 'Chakra Petch', sans-serif;
    --font-tech: 'Rajdhani', sans-serif;
    --font-code: 'JetBrains Mono', monospace;
    
    --transition-snappy: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Background */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    color-scheme: dark;
    font-size: 16px;
}

body {
    background-color: var(--bg-void);
    background-image: 
        radial-gradient(circle at 50% -15%, rgba(37, 99, 235, 0.2) 0%, transparent 60%),
        radial-gradient(circle at 10% 30%, rgba(0, 242, 254, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 90% 70%, rgba(16, 185, 129, 0.06) 0%, transparent 45%),
        linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
        linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 100% 100%, 36px 36px, 36px 36px;
    color: var(--text-bright);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* ==========================================================================
   TOP TELEMETRY BAR
   ========================================================================== */
.top-telemetry-bar {
    background: rgba(3, 6, 15, 0.96);
    border-bottom: 1px solid var(--border-subtle);
    padding: 0.4rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-code);
    font-size: 0.74rem;
    color: var(--text-dim);
    flex-wrap: wrap;
    gap: 0.5rem;
}

.telemetry-left, .telemetry-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.telemetry-tag {
    color: var(--cyan-core);
    font-weight: 600;
}

/* ==========================================================================
   CYBER NAVBAR
   ========================================================================== */
.cyber-navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(7, 13, 28, 0.92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border-rail);
    padding: 0.85rem 0;
}

.cyber-navbar .nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: transform var(--transition-snappy);
}

.brand-logo:hover {
    transform: translateY(-1px);
}

.nav-brand-logo {
    height: 38px;
    width: auto;
    max-width: 265px;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 0 14px rgba(59, 130, 246, 0.35));
    transition: transform var(--transition-snappy);
}

.nav-brand-logo:hover {
    transform: scale(1.02);
}

.footer-brand-logo {
    height: 34px;
    width: auto;
    max-width: 235px;
    display: block;
    object-fit: contain;
    margin-bottom: 0.75rem;
    filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.25));
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.node-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.8rem;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 9999px;
    font-family: var(--font-code);
    font-size: 0.72rem;
    color: var(--green-matrix);
    font-weight: 600;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--green-matrix);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--green-matrix);
    animation: pulseRadar 1.8s infinite;
}

@keyframes pulseRadar {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(0.85); }
}

.hotline-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.1rem;
    background: rgba(37, 99, 235, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.4);
    border-radius: 8px;
    color: #ffffff;
    font-family: var(--font-chakra);
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    transition: all var(--transition-snappy);
    white-space: nowrap;
}

.hotline-btn:hover {
    background: var(--blue-deep);
    border-color: var(--cyan-core);
    box-shadow: 0 0 16px var(--blue-glow);
    color: #ffffff;
}

/* ==========================================================================
   DYNAMIC HERO & HEADLINE
   ========================================================================== */
.hero-cockpit {
    padding: 3rem 0 2rem 0;
    text-align: center;
}

.hero-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 1rem;
    background: rgba(7, 13, 28, 0.95);
    border: 1px solid var(--active-accent);
    border-radius: 9999px;
    font-family: var(--font-chakra);
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    color: var(--active-accent);
    text-transform: uppercase;
    margin-bottom: 1.25rem;
    box-shadow: 0 0 18px var(--active-glow);
}

/* Fixed Headline - Standard block text wrapping, never flex-break! */
.hero-main-title {
    display: block;
    text-align: center;
    font-family: var(--font-orbit);
    font-size: clamp(1.65rem, 3.8vw, 2.75rem);
    font-weight: 900;
    line-height: 1.25;
    letter-spacing: -0.5px;
    margin: 0 auto 1.25rem auto;
    max-width: 960px;
    color: #ffffff;
    word-break: normal;
    overflow-wrap: break-word;
}

.glow-cyan {
    color: var(--cyan-core);
    text-shadow: 0 0 20px rgba(0, 242, 254, 0.6);
    display: inline;
}

.glow-green {
    color: var(--green-matrix);
    text-shadow: 0 0 20px rgba(16, 185, 129, 0.6);
    display: inline;
}

.glow-amber {
    color: var(--amber-energy);
    text-shadow: 0 0 20px rgba(245, 158, 11, 0.6);
    display: inline;
}

.hero-sub-text {
    max-width: 780px;
    margin: 0 auto 2.25rem auto;
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ==========================================================================
   3-DECK MODULE SELECTOR
   ========================================================================== */
.cockpit-deck-selector {
    max-width: 1040px;
    margin: 0 auto 2.25rem auto;
}

.deck-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.deck-module-card {
    background: var(--bg-cockpit);
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    padding: 1.25rem;
    cursor: pointer;
    text-align: left;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-snappy);
    backdrop-filter: blur(14px);
    display: flex;
    flex-direction: column;
}

.deck-module-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 3px;
    background: transparent;
    transition: background 0.3s ease;
}

.deck-module-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.2);
}

.deck-module-card[data-tool="tool1"].active {
    border-color: var(--cyan-core);
    background: linear-gradient(160deg, rgba(0, 242, 254, 0.12), rgba(10, 18, 36, 0.95));
    box-shadow: 0 0 25px rgba(0, 242, 254, 0.2);
}
.deck-module-card[data-tool="tool1"].active::before { background: var(--cyan-core); }

.deck-module-card[data-tool="tool2"].active {
    border-color: var(--green-matrix);
    background: linear-gradient(160deg, rgba(16, 185, 129, 0.12), rgba(10, 18, 36, 0.95));
    box-shadow: 0 0 25px rgba(16, 185, 129, 0.2);
}
.deck-module-card[data-tool="tool2"].active::before { background: var(--green-matrix); }

.deck-module-card[data-tool="tool3"].active {
    border-color: var(--amber-energy);
    background: linear-gradient(160deg, rgba(245, 158, 11, 0.12), rgba(10, 18, 36, 0.95));
    box-shadow: 0 0 25px rgba(245, 158, 11, 0.2);
}
.deck-module-card[data-tool="tool3"].active::before { background: var(--amber-energy); }

.deck-module-card .module-id {
    font-family: var(--font-code);
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-dim);
    margin-bottom: 0.3rem;
}

.deck-module-card .module-title {
    font-family: var(--font-orbit);
    font-size: 1.05rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.3rem;
}

.deck-module-card .module-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.45;
}

/* ==========================================================================
   TERMINAL COMMAND CONSOLE
   ========================================================================== */
.terminal-scanner-wrapper {
    max-width: 960px;
    margin: 0 auto 3rem auto;
}

.terminal-frame {
    background: var(--bg-code-terminal);
    border: 1px solid var(--border-rail);
    border-radius: 16px;
    padding: 1.75rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(0, 242, 254, 0.1);
}

.terminal-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-subtle);
    flex-wrap: wrap;
    gap: 0.5rem;
}

.terminal-controls {
    display: flex;
    gap: 0.4rem;
}

.t-dot {
    width: 10px; height: 10px; border-radius: 50%;
}
.t-dot.red { background: #ef4444; }
.t-dot.yellow { background: #f59e0b; }
.t-dot.green { background: #10b981; }

.terminal-mode-label {
    font-family: var(--font-code);
    font-size: 0.78rem;
    color: var(--active-accent);
    font-weight: 600;
}

.cyber-scan-form {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.1rem;
}

.input-cyber-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.prompt-prefix {
    position: absolute;
    left: 1.1rem;
    font-family: var(--font-code);
    color: var(--active-accent);
    font-size: 0.9rem;
    font-weight: 700;
    pointer-events: none;
}

.cyber-domain-input {
    width: 100%;
    padding: 1.05rem 1.05rem 1.05rem 5.8rem;
    background: rgba(3, 6, 15, 0.92);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    color: #ffffff;
    font-family: var(--font-code);
    font-size: 1rem;
    outline: none;
    transition: all var(--transition-snappy);
}

.cyber-domain-input:focus {
    border-color: var(--active-accent);
    box-shadow: 0 0 20px var(--active-glow);
}

.cyber-execute-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 1.05rem 1.85rem;
    background: linear-gradient(135deg, #1d4ed8, #00f2fe);
    border: none;
    border-radius: 10px;
    color: #03060f;
    font-family: var(--font-orbit);
    font-size: 0.95rem;
    font-weight: 900;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.35);
    transition: all var(--transition-snappy);
    white-space: nowrap;
}

.cyber-execute-btn:hover {
    filter: brightness(1.15);
    transform: translateY(-2px);
}

/* Presets */
.demo-preset-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-dim);
}

.preset-chip {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    padding: 0.25rem 0.65rem;
    border-radius: 6px;
    color: var(--text-muted);
    font-family: var(--font-code);
    font-size: 0.75rem;
    cursor: pointer;
    transition: all var(--transition-snappy);
}

.preset-chip:hover, .preset-chip.active-filter {
    background: var(--cyan-core);
    border-color: var(--cyan-core);
    color: #03060f;
    font-weight: 700;
    box-shadow: 0 0 12px var(--cyan-glow);
}

/* ==========================================================================
   INTERACTIVE CYBER TELEMETRY DECK & SCANNER
   ========================================================================== */
.hud-telemetry-box {
    display: none;
    background: linear-gradient(165deg, rgba(8, 16, 36, 0.96) 0%, rgba(3, 7, 18, 0.98) 100%);
    border: 1px solid rgba(0, 242, 254, 0.25);
    border-radius: 18px;
    padding: 1.75rem;
    margin-top: 1.5rem;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(0, 242, 254, 0.12);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(16px);
}

.hud-telemetry-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--active-accent), transparent);
    animation: scannerBeam 2.5s ease-in-out infinite;
}

@keyframes scannerBeam {
    0%, 100% { opacity: 0.3; transform: scaleX(0.4); }
    50% { opacity: 1; transform: scaleX(1); }
}

.hud-telemetry-box.active {
    display: block;
    animation: fadeIn 0.35s ease;
}

.hud-scanner-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-wrap: wrap;
    gap: 0.75rem;
}

.scanner-status-indicator {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.live-pulse-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--green-matrix);
    box-shadow: 0 0 10px var(--green-matrix);
    animation: pulseGlow 1.2s infinite ease-in-out;
}

@keyframes pulseGlow {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.35); opacity: 1; box-shadow: 0 0 16px var(--green-matrix); }
}

.scanner-status-text {
    font-family: var(--font-orbit);
    font-size: 0.88rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.8px;
}

.scanner-phase-badge {
    font-family: var(--font-code);
    font-size: 0.72rem;
    padding: 0.22rem 0.65rem;
    border-radius: 999px;
    background: rgba(0, 242, 254, 0.12);
    border: 1px solid var(--active-accent);
    color: var(--active-accent);
    font-weight: 700;
    letter-spacing: 0.5px;
}

.scanner-audio-btn {
    background: rgba(0, 242, 254, 0.06);
    border: 1px solid rgba(0, 242, 254, 0.25);
    border-radius: 999px;
    padding: 0.35rem 0.85rem;
    color: var(--cyan-core);
    font-family: var(--font-code);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    transition: all var(--transition-snappy);
}

.scanner-audio-btn:hover {
    background: rgba(0, 242, 254, 0.15);
    border-color: var(--cyan-core);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.3);
    color: #ffffff;
}

/* Progress Bar */
.scanner-progress-wrapper {
    margin-bottom: 1.5rem;
}

.scanner-progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.6rem;
    font-family: var(--font-code);
    font-size: 0.82rem;
}

.progress-action-text {
    color: #94a3b8;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.progress-percent-num {
    color: var(--active-accent);
    font-weight: 900;
    font-size: 1.15rem;
    font-family: var(--font-orbit);
    text-shadow: 0 0 14px var(--active-glow);
    flex-shrink: 0;
}

.scanner-progress-track {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 999px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.6);
}

.scanner-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #00f2fe, #3b82f6, #10b981);
    border-radius: 999px;
    box-shadow: 0 0 16px rgba(0, 242, 254, 0.8);
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 4 Interactive Probe Cards (2x2 Grid: No Overflow, Generous Space) */
.scanner-probes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.95rem;
    margin-bottom: 1.5rem;
    min-width: 0;
}

.scanner-probe-card {
    background: linear-gradient(145deg, rgba(8, 16, 36, 0.9), rgba(3, 7, 18, 0.95));
    border: 1px solid rgba(0, 242, 254, 0.12);
    border-radius: 12px;
    padding: 1rem 1.15rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.75rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    min-width: 0;
}

.scanner-probe-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 3px; height: 100%;
    background: rgba(255, 255, 255, 0.08);
    transition: background 0.3s ease;
}

.scanner-probe-card.active-scanning {
    border-color: var(--cyan-core);
    background: linear-gradient(145deg, rgba(0, 242, 254, 0.08), rgba(6, 15, 32, 0.95));
    box-shadow: 0 0 22px rgba(0, 242, 254, 0.2);
    transform: translateY(-2px);
}

.scanner-probe-card.active-scanning::after {
    background: var(--cyan-core);
    box-shadow: 0 0 10px var(--cyan-core);
}

.scanner-probe-card.passed {
    border-color: rgba(16, 185, 129, 0.4);
    background: linear-gradient(145deg, rgba(16, 185, 129, 0.06), rgba(3, 10, 20, 0.95));
}

.scanner-probe-card.passed::after {
    background: var(--green-matrix);
    box-shadow: 0 0 10px var(--green-matrix);
}

.probe-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    min-width: 0;
}

.probe-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.probe-title {
    font-family: var(--font-chakra);
    font-size: 0.88rem;
    font-weight: 700;
    color: #f1f5f9;
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.probe-status-badge {
    font-family: var(--font-code);
    font-size: 0.68rem;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    flex-shrink: 0;
}

.probe-status-badge.pending {
    background: rgba(255, 255, 255, 0.05);
    color: #64748b;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.probe-status-badge.scanning {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
    border: 1px solid #f59e0b;
    box-shadow: 0 0 12px rgba(245, 158, 11, 0.35);
    animation: blink 0.8s infinite alternate;
}

.probe-status-badge.ok {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid #10b981;
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.35);
}

@keyframes blink { from { opacity: 0.5; } to { opacity: 1; } }

.probe-metric-val {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-family: var(--font-code);
    gap: 0.5rem;
    min-width: 0;
}

.probe-metric-val span:first-child {
    font-size: 1.05rem;
    font-weight: 800;
    color: #ffffff;
    flex-shrink: 0;
}

.probe-metric-lbl {
    font-size: 0.74rem;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.probe-bots-pills {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    min-width: 0;
}

.bot-chip {
    font-family: var(--font-code);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.22rem 0.6rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.04);
    color: #94a3b8;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.25s ease;
    white-space: nowrap;
}

.bot-chip.scanned {
    background: rgba(0, 242, 254, 0.12);
    color: #a5f3fc;
    border-color: rgba(0, 242, 254, 0.5);
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.25);
}

/* Sonar & Terminal Console (Refined & Custom Styled) */
.telemetry-stream-console {
    display: flex;
    gap: 1.25rem;
    align-items: center;
    background: rgba(2, 5, 14, 0.95);
    border: 1px solid rgba(0, 242, 254, 0.2);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.7);
    min-width: 0;
}

.sonar-radar-box {
    position: relative;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    border: 1.5px solid rgba(0, 242, 254, 0.5);
    background: radial-gradient(circle, rgba(0, 242, 254, 0.12) 0%, rgba(2, 6, 15, 0.95) 75%);
    box-shadow: 0 0 18px rgba(0, 242, 254, 0.2), inset 0 0 12px rgba(0, 242, 254, 0.15);
    flex-shrink: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sonar-circle {
    position: absolute;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px dashed rgba(0, 242, 254, 0.35);
}

.sonar-sweep {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: conic-gradient(from 0deg, transparent 0deg, rgba(0, 242, 254, 0.45) 60deg, transparent 70deg);
    animation: rotateSonar 2s linear infinite;
}

@keyframes rotateSonar {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.sonar-target-blip {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green-matrix);
    box-shadow: 0 0 10px var(--green-matrix);
    position: absolute;
    top: 28%;
    left: 62%;
    animation: blipPulse 1.4s infinite ease-in-out;
}

@keyframes blipPulse {
    0%, 100% { opacity: 0.2; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.4); }
}

.telemetry-stream-feed {
    flex: 1;
    font-family: var(--font-code);
    font-size: 0.8rem;
    line-height: 1.6;
    color: #cbd5e1;
    max-height: 96px;
    overflow-y: auto;
    overflow-x: hidden;
    min-width: 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 242, 254, 0.4) rgba(3, 7, 18, 0.8);
}

.telemetry-stream-feed::-webkit-scrollbar {
    width: 6px;
}

.telemetry-stream-feed::-webkit-scrollbar-track {
    background: rgba(3, 7, 18, 0.8);
    border-radius: 4px;
}

.telemetry-stream-feed::-webkit-scrollbar-thumb {
    background: rgba(0, 242, 254, 0.35);
    border-radius: 4px;
    border: 1px solid rgba(0, 242, 254, 0.2);
}

.telemetry-stream-feed::-webkit-scrollbar-thumb:hover {
    background: var(--cyan-core);
    box-shadow: 0 0 10px var(--cyan-core);
}

.stream-line {
    margin-bottom: 3px;
    display: flex;
    gap: 0.6rem;
    min-width: 0;
    word-break: break-word;
}

.stream-line .ts {
    color: #64748b;
    flex-shrink: 0;
}

.stream-line.highlight {
    color: var(--cyan-core);
    font-weight: 700;
    text-shadow: 0 0 8px rgba(0, 242, 254, 0.3);
}

/* ==========================================================================
   RESULTS COCKPIT VIEW & MASTER SCORE CARD
   ========================================================================== */
.results-cockpit-view {
    display: none;
    max-width: 1140px;
    margin: 0 auto 4rem auto;
}

.results-cockpit-view.visible {
    display: block;
    animation: fadeIn 0.4s ease;
}

.master-score-card {
    background: var(--bg-cockpit);
    border: 1px solid var(--border-rail);
    border-radius: 18px;
    padding: 2.25rem;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2.5rem;
    align-items: center;
    margin-bottom: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.score-meta-col {
    min-width: 0;
    flex: 1;
}

.target-headline-box {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.target-badge-pill {
    font-family: var(--font-code);
    font-size: 0.72rem;
    padding: 0.25rem 0.65rem;
    border-radius: 4px;
    background: rgba(0, 242, 254, 0.15);
    border: 1px solid var(--active-accent);
    color: var(--active-accent);
    font-weight: 700;
    text-transform: uppercase;
}

.active-domain-heading {
    font-family: var(--font-orbit);
    font-size: clamp(1.5rem, 3vw, 2.3rem);
    font-weight: 900;
    color: #ffffff;
    word-break: break-all;
    line-height: 1.2;
    margin: 0.35rem 0 0.85rem 0;
}

.urgency-statement-panel {
    margin-top: 0.5rem;
    padding: 1.1rem 1.35rem;
    background: rgba(239, 68, 68, 0.1);
    border-left: 4px solid var(--red-alert);
    border-radius: 8px;
    color: #fecaca;
    font-size: 0.95rem;
    line-height: 1.55;
    word-break: normal;
}

.urgency-statement-panel.status-good {
    background: rgba(16, 185, 129, 0.1);
    border-left-color: var(--green-matrix);
    color: #a7f3d0;
}

.urgency-statement-panel.status-warn {
    background: rgba(245, 158, 11, 0.1);
    border-left-color: var(--amber-energy);
    color: #fde68a;
}

/* Redesigned Tachometer Gauge Unit: Complete separation of number and text */
.gauge-card-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.gauge-wrapper {
    position: relative;
    width: 170px;
    height: 170px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gauge-svg-ring {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.gauge-svg-ring .track {
    fill: none;
    stroke: rgba(255, 255, 255, 0.08);
    stroke-width: 12;
}

.gauge-svg-ring .fill {
    fill: none;
    stroke: var(--cyan-core);
    stroke-width: 12;
    stroke-linecap: round;
    stroke-dasharray: 477;
    stroke-dashoffset: 477;
    transition: stroke-dashoffset 1.3s cubic-bezier(0.16, 1, 0.3, 1), stroke 0.3s ease;
    filter: drop-shadow(0 0 10px currentColor);
}

.gauge-center-val {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.gauge-big-num {
    font-family: var(--font-orbit);
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 0.95;
    color: #ffffff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.gauge-unit {
    font-family: var(--font-code);
    font-size: 0.78rem;
    color: var(--text-dim);
    margin-top: 4px;
    letter-spacing: 1px;
}

/* Separate Pill Badge for the Grade: Zero text collisions! */
.gauge-status-pill {
    margin-top: 0.85rem;
    padding: 0.4rem 1.15rem;
    border-radius: 999px;
    font-family: var(--font-chakra);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.75px;
    text-transform: uppercase;
    text-align: center;
    white-space: nowrap;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.gauge-status-pill.status-crit {
    border-color: var(--red-alert);
    background: rgba(239, 68, 68, 0.15);
    color: #fca5a5;
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.3);
}

.gauge-status-pill.status-warn {
    border-color: var(--amber-energy);
    background: rgba(245, 158, 11, 0.15);
    color: #fde68a;
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.3);
}

.gauge-status-pill.status-good {
    border-color: var(--green-matrix);
    background: rgba(16, 185, 129, 0.15);
    color: #a7f3d0;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.3);
}

/* Teaser Summary Cards */
.aeo-kpi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.aeo-kpi-card {
    background: var(--bg-cockpit);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 1.5rem 1.25rem;
    text-align: center;
}

.aeo-kpi-card .kpi-num {
    font-family: var(--font-orbit);
    font-size: 2.4rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 0.4rem;
}

.aeo-kpi-card .kpi-label {
    font-family: var(--font-chakra);
    font-size: 0.88rem;
    color: var(--text-muted);
}

/* ==========================================================================
   GATED CONTENT & BLUR OVERLAY (LEAD MAGNET WALL)
   ========================================================================== */
.gated-results-section {
    position: relative;
    margin: 2.5rem 0;
}

.blurred-gated-wrapper {
    position: relative;
    filter: blur(10px);
    opacity: 0.45;
    pointer-events: none;
    user-select: none;
    transition: all 0.5s ease;
    max-height: 620px;
    overflow: hidden;
}

.blurred-gated-wrapper.unlocked {
    filter: none;
    opacity: 1;
    pointer-events: auto;
    user-select: auto;
    max-height: none;
    overflow: visible;
}

.gate-lock-overlay {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 94%;
    max-width: 720px;
    z-index: 10;
}

.cyber-gate-card {
    background: linear-gradient(150deg, rgba(14, 25, 52, 0.98), rgba(7, 13, 28, 0.99));
    border: 1.5px solid var(--cyan-core);
    border-radius: 18px;
    padding: 2.5rem 2rem;
    box-shadow: 0 0 50px rgba(0, 242, 254, 0.25), 0 25px 50px rgba(0, 0, 0, 0.8);
    text-align: center;
}

.gate-badge-icon {
    width: 58px; height: 58px;
    background: rgba(0, 242, 254, 0.12);
    border: 1px solid var(--cyan-core);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.1rem auto;
    color: var(--cyan-core);
    font-size: 1.7rem;
    box-shadow: 0 0 20px var(--cyan-glow);
}

.gate-title {
    font-family: var(--font-orbit);
    font-size: clamp(1.25rem, 2.4vw, 1.65rem);
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 0.6rem;
}

.gate-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin-bottom: 1.75rem;
}

.gate-lead-form {
    text-align: left;
}

.form-split-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 0.85rem;
}

.gate-input-group {
    margin-bottom: 0.85rem;
}

.gate-label {
    display: block;
    font-family: var(--font-code);
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 0.35rem;
    font-weight: 600;
}

.gate-control {
    width: 100%;
    padding: 0.85rem 1rem;
    background: rgba(3, 6, 15, 0.9);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    color: #ffffff;
    font-size: 0.92rem;
    outline: none;
    transition: all var(--transition-snappy);
}

.gate-control:focus {
    border-color: var(--cyan-core);
    box-shadow: 0 0 15px var(--cyan-glow);
}

.gate-checkbox-block {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin: 1.25rem 0 1.5rem 0;
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.45;
}

.gate-checkbox-block input[type="checkbox"] {
    width: 17px; height: 17px;
    margin-top: 0.15rem;
    accent-color: var(--cyan-core);
    cursor: pointer;
    flex-shrink: 0;
}

.gate-submit-btn {
    width: 100%;
    padding: 1.15rem;
    background: linear-gradient(135deg, #1d4ed8, #00f2fe);
    border: none;
    border-radius: 10px;
    color: #03060f;
    font-family: var(--font-orbit);
    font-size: 1.05rem;
    font-weight: 900;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 0 25px rgba(0, 242, 254, 0.4);
    transition: all var(--transition-snappy);
    display: flex; align-items: center; justify-content: center; gap: 0.6rem;
}

.gate-submit-btn:hover {
    filter: brightness(1.15);
    transform: translateY(-2px);
}

/* Unlocked Banner */
.unlocked-lead-state {
    display: none;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid var(--green-matrix);
    border-radius: 14px;
    padding: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.unlocked-lead-state.active {
    display: block;
}

.unlocked-lead-state h3 {
    font-family: var(--font-orbit);
    color: var(--green-matrix);
    font-size: 1.45rem;
    margin-bottom: 0.5rem;
}

.consultation-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.4rem;
    flex-wrap: wrap;
}

.action-btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.85rem 1.6rem;
    background: #25d366;
    color: #03060f;
    font-weight: 800;
    border-radius: 8px;
    font-family: var(--font-chakra);
    font-size: 1rem;
    text-decoration: none;
    text-transform: uppercase;
    box-shadow: 0 0 16px rgba(37, 211, 102, 0.4);
}

.action-btn-call {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.85rem 1.6rem;
    background: rgba(37, 99, 235, 0.25);
    border: 1px solid var(--blue-core);
    color: #ffffff;
    font-weight: 700;
    border-radius: 8px;
    font-family: var(--font-chakra);
    font-size: 1rem;
    text-decoration: none;
    text-transform: uppercase;
}

/* ==========================================================================
   TABLES & CODE BLOCKS
   ========================================================================== */
.handlungsplan-table-wrap {
    background: var(--bg-cockpit);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.cyber-table {
    width: 100%;
    min-width: 600px;
    border-collapse: collapse;
    font-size: 0.88rem;
}

.cyber-table th {
    background: rgba(3, 6, 15, 0.95);
    padding: 0.85rem 1rem;
    font-family: var(--font-chakra);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-dim);
    text-transform: uppercase;
    border-bottom: 1px solid var(--border-subtle);
}

.cyber-table td {
    padding: 0.95rem 1rem;
    border-bottom: 1px solid var(--border-subtle);
    color: var(--text-bright);
}

.prio-badge {
    display: inline-block;
    padding: 0.2rem 0.55rem;
    border-radius: 4px;
    font-family: var(--font-code);
    font-size: 0.72rem;
    font-weight: 700;
}
.prio-kritisch { background: rgba(239, 68, 68, 0.2); color: var(--red-alert); border: 1px solid var(--red-alert); }
.prio-sehr-hoch { background: rgba(245, 158, 11, 0.2); color: var(--amber-energy); border: 1px solid var(--amber-energy); }
.prio-hoch { background: rgba(0, 242, 254, 0.2); color: var(--cyan-core); border: 1px solid var(--cyan-core); }
.prio-mittel { background: rgba(148, 163, 184, 0.2); color: var(--text-muted); }

.code-generator-box {
    background: var(--bg-code-terminal);
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.code-gen-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.85rem;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 0.65rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.code-gen-title {
    font-family: var(--font-chakra);
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    display: flex; align-items: center; gap: 0.5rem;
}

.copy-code-btn {
    background: rgba(0, 242, 254, 0.15);
    border: 1px solid var(--cyan-core);
    padding: 0.35rem 0.8rem;
    border-radius: 6px;
    color: #ffffff;
    font-family: var(--font-code);
    font-size: 0.76rem;
    font-weight: 600;
    cursor: pointer;
}

.code-block-view {
    background: #02040a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 1.1rem;
    color: #a5f3fc;
    font-family: var(--font-code);
    font-size: 0.84rem;
    line-height: 1.55;
    overflow-x: auto;
    white-space: pre;
}

/* Criteria Cards */
.detailed-checks-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.85rem;
    margin-bottom: 2.5rem;
}

.criterion-card {
    background: var(--bg-cockpit);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 1.15rem 1.35rem;
    display: flex;
    align-items: flex-start;
    gap: 1.1rem;
}

.status-symbol {
    width: 36px; height: 36px; border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; font-size: 1.1rem; font-weight: 800;
}

.criterion-card.pass .status-symbol {
    background: rgba(16, 185, 129, 0.15); color: var(--green-matrix); border: 1px solid rgba(16, 185, 129, 0.4);
}
.criterion-card.warn .status-symbol {
    background: rgba(245, 158, 11, 0.15); color: var(--amber-energy); border: 1px solid rgba(245, 158, 11, 0.4);
}
.criterion-card.fail .status-symbol {
    background: rgba(239, 68, 68, 0.15); color: var(--red-alert); border: 1px solid rgba(239, 68, 68, 0.4);
}

.criterion-body { flex: 1; }
.criterion-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.25rem; }
.criterion-cat { font-family: var(--font-code); font-size: 0.72rem; color: var(--cyan-core); text-transform: uppercase; font-weight: 600; }
.criterion-pts { font-family: var(--font-code); font-size: 0.8rem; font-weight: 700; }
.criterion-card.pass .criterion-pts { color: var(--green-matrix); }
.criterion-card.warn .criterion-pts { color: var(--amber-energy); }
.criterion-card.fail .criterion-pts { color: var(--red-alert); }
.criterion-title { font-size: 1rem; font-weight: 700; color: #ffffff; margin-bottom: 0.2rem; }
.criterion-desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; }

/* ==========================================================================
   AGENTUR PROFIL & FOOTER
   ========================================================================== */
.agentur-profile-section {
    padding: 3.5rem 0;
    border-top: 1px solid var(--border-subtle);
}

.profile-card {
    background: var(--bg-cockpit);
    border: 1px solid var(--border-subtle);
    border-radius: 18px;
    padding: 2.25rem;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 2rem;
    align-items: center;
}

.profile-text h2 {
    font-family: var(--font-orbit);
    font-size: clamp(1.3rem, 2.2vw, 1.75rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.85rem;
    line-height: 1.3;
}

.profile-text p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
}

.profile-features {
    list-style: none;
    display: flex; flex-direction: column; gap: 0.7rem;
}

.profile-features li {
    display: flex; align-items: center; gap: 0.65rem;
    font-size: 0.9rem; color: #e2e8f0;
}
.profile-features li::before { content: '⚡'; color: var(--cyan-core); }

.profile-hud-box {
    background: rgba(3, 6, 15, 0.85);
    border: 1px solid var(--border-rail);
    border-radius: 14px;
    padding: 1.5rem;
}

.profile-hud-box h3 {
    font-family: var(--font-chakra);
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.85rem;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 0.4rem;
}

.hud-meta-item {
    display: flex; justify-content: space-between;
    font-size: 0.85rem; padding: 0.35rem 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.06);
}
.hud-meta-item .lbl { color: var(--text-dim); }
.hud-meta-item .val { color: #ffffff; font-weight: 600; font-family: var(--font-code); }

/* Site Footer */
.site-footer {
    background: #02040a;
    border-top: 1px solid var(--border-rail);
    padding: 3rem 0 2rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.footer-brand p {
    color: var(--text-dim);
    font-size: 0.85rem;
    margin-top: 0.85rem;
    max-width: 320px;
}

.footer-col h4 {
    font-family: var(--font-chakra);
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    display: flex; flex-direction: column; gap: 0.55rem;
}

.footer-links li a {
    color: var(--text-muted);
    font-size: 0.85rem;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-snappy);
}

.footer-links li a:hover { color: var(--cyan-core); padding-left: 4px; }

.footer-contact-info {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.footer-bottom {
    padding-top: 1.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-dim);
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-legal-bar {
    display: flex;
    gap: 1.25rem;
}

.footer-legal-bar a {
    color: var(--text-dim);
    text-decoration: none;
    cursor: pointer;
}

.footer-legal-bar a:hover { color: var(--cyan-core); }

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(2, 4, 10, 0.9);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-overlay.open { display: flex; }

.modal-content-box {
    background: var(--bg-cockpit);
    border: 1px solid var(--border-rail);
    border-radius: 16px;
    max-width: 800px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    padding: 2rem;
    position: relative;
}

.modal-close-btn {
    position: absolute;
    top: 1rem; right: 1rem;
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-subtle);
    color: #ffffff; font-size: 1.25rem;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
}

.modal-close-btn:hover { background: var(--red-alert); }

.modal-header h2 { font-family: var(--font-orbit); font-size: 1.45rem; color: #ffffff; }
.modal-body { color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; margin-top: 1rem; }
.modal-body h3 { font-family: var(--font-chakra); font-size: 1.15rem; color: #ffffff; margin: 1.25rem 0 0.4rem 0; }
.impressum-card-preview { margin: 1rem 0; border-radius: 10px; overflow: hidden; border: 1px solid var(--border-subtle); }
.impressum-card-preview img { width: 100%; height: auto; display: block; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ==========================================================================
   RESPONSIVENESS (MOBILE / TABLET / SMARTPHONE OPTIMIZATIONS)
   ========================================================================== */
@media (max-width: 992px) {
    .deck-grid {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }
    .scanner-probes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .master-score-card {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    .score-meta-col {
        text-align: center;
    }
    .target-headline-box {
        justify-content: center;
    }
    .urgency-statement-panel {
        text-align: left;
    }
    .gauge-card-unit {
        margin: 0 auto;
    }
    .aeo-kpi-grid {
        grid-template-columns: 1fr;
    }
    .profile-card {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.75rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .top-telemetry-bar {
        display: none !important;
    }
    .hero-cockpit {
        padding: 2rem 0 1.5rem 0;
    }
    .hero-main-title {
        font-size: clamp(1.5rem, 5vw, 2.2rem);
    }
    .scanner-probes-grid {
        grid-template-columns: 1fr;
    }
    .telemetry-stream-console {
        flex-direction: column;
        text-align: center;
    }
    .sonar-radar-box {
        margin: 0 auto 0.75rem auto;
    }
    .telemetry-stream-feed {
        width: 100%;
        text-align: left;
    }
    .hud-scanner-header {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }
    .hud-header-left, .hud-header-right {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }
    .gauge-wrapper {
        width: 150px;
        height: 150px;
    }
    .gauge-big-num {
        font-size: 2.8rem;
    }
    .cyber-scan-form {
        flex-direction: column;
    }
    .cyber-execute-btn {
        width: 100%;
        min-height: 48px;
        font-size: 0.95rem;
    }
    .form-split-2 {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    .footer-legal-bar {
        justify-content: center;
    }
    .modal-content-box {
        width: 95%;
        padding: 1.5rem 1.25rem;
        max-height: 90vh;
        margin: 1.5rem auto;
    }
}

@media (max-width: 640px) {
    .cyber-navbar {
        padding: 0.55rem 0;
    }
    .cyber-navbar .nav-wrapper {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.5rem;
    }
    .node-status-badge {
        display: none !important;
    }
    .nav-brand-logo {
        height: 24px !important;
        max-width: 165px !important;
    }
    .nav-actions {
        display: flex;
        align-items: center;
        flex-shrink: 0;
    }
    .phone-text, .hotline-btn span:last-child {
        display: none !important;
    }
    .hotline-btn {
        padding: 0.4rem 0.65rem !important;
        font-size: 0.95rem !important;
        line-height: 1;
        flex-shrink: 0;
    }
    .prompt-prefix {
        display: none !important;
    }
    .cyber-domain-input {
        padding-left: 1rem !important;
        min-height: 48px;
        font-size: 0.95rem;
    }
    /* Scanner Deck Responsive */
    .hud-telemetry-box {
        padding: 1rem 0.8rem;
        border-radius: 14px;
    }
    .hud-scanner-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.6rem;
    }
    .scanner-status-indicator {
        flex-wrap: wrap;
        gap: 0.45rem;
    }
    .scanner-status-text {
        font-size: 0.82rem;
    }
    .scanner-phase-badge {
        font-size: 0.68rem;
        padding: 0.18rem 0.5rem;
    }
    .scanner-probes-grid {
        grid-template-columns: 1fr;
        gap: 0.65rem;
    }
    .scanner-probe-card {
        padding: 0.85rem 0.95rem;
    }
    .probe-top {
        flex-wrap: wrap;
        gap: 0.35rem;
    }
    .probe-title {
        font-size: 0.82rem;
    }
    .probe-status-badge {
        font-size: 0.65rem;
        padding: 0.15rem 0.45rem;
    }
    .probe-bots-pills {
        gap: 0.3rem;
        flex-wrap: wrap;
    }
    .bot-chip {
        font-size: 0.68rem;
        padding: 0.18rem 0.45rem;
    }
    .telemetry-stream-console {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.85rem;
        padding: 0.85rem;
    }
    .sonar-radar-box {
        width: 48px;
        height: 48px;
    }
    .sonar-circle {
        width: 24px;
        height: 24px;
    }
    .telemetry-stream-feed {
        width: 100%;
        max-height: 85px;
        font-size: 0.75rem;
        line-height: 1.5;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.85rem;
    }
    .nav-brand-logo {
        height: 26px !important;
        max-width: 180px !important;
    }
    .hero-pill-badge {
        font-size: 0.76rem;
        padding: 0.3rem 0.8rem;
    }
    .hero-main-title {
        font-size: 1.45rem;
        line-height: 1.25;
        letter-spacing: 0;
    }
    .hero-subtitle {
        font-size: 0.88rem;
        line-height: 1.55;
    }
    .deck-module-card {
        padding: 0.95rem 0.85rem;
    }
    .deck-module-card .module-title {
        font-size: 0.95rem;
    }
    .terminal-frame {
        padding: 0.85rem 0.6rem;
        border-radius: 12px;
    }
    .hud-telemetry-box {
        padding: 0.85rem 0.65rem;
        margin-top: 0.85rem;
        border-radius: 12px;
    }
    .scanner-probe-card {
        padding: 0.75rem 0.65rem;
    }
    .probe-metric-lbl {
        display: none;
    }
    .terminal-top-bar {
        font-size: 0.74rem;
    }
    .active-domain-heading {
        font-size: 1.35rem;
        word-break: break-all;
    }
    .master-score-card {
        padding: 1.25rem 0.85rem;
        border-radius: 14px;
    }
    .gauge-card-unit {
        width: 100%;
        max-width: 220px;
    }
    .gauge-status-pill {
        font-size: 0.72rem;
        padding: 0.35rem 0.65rem;
        letter-spacing: 0.5px;
        white-space: normal;
        text-align: center;
        max-width: 100%;
    }
    .urgency-statement-panel {
        padding: 0.85rem;
        font-size: 0.84rem;
    }
    .cyber-gate-card {
        padding: 1.5rem 0.9rem;
        border-radius: 14px;
    }
    .gate-title {
        font-size: 1.2rem;
        line-height: 1.35;
    }
    .gate-subtitle {
        font-size: 0.84rem;
        line-height: 1.55;
    }
    .gate-control {
        min-height: 44px;
        padding: 0.65rem 0.85rem;
        font-size: 0.88rem;
    }
    .gate-checkbox-block {
        font-size: 0.76rem;
        line-height: 1.4;
    }
    .gate-submit-btn {
        padding: 0.95rem 0.75rem;
        font-size: 0.82rem;
        line-height: 1.35;
        white-space: normal;
        text-align: center;
    }
    .profile-card {
        padding: 1.25rem 0.85rem;
    }
    .profile-text h2 {
        font-size: 1.25rem;
    }
}

@media (max-width: 360px) {
    .container {
        padding: 0 0.65rem;
    }
    .nav-brand-logo {
        height: 24px !important;
        max-width: 170px !important;
    }
    .gate-title {
        font-size: 1.1rem;
    }
    .gate-submit-btn {
        font-size: 0.78rem;
    }
}
