/* ========================================= */
/* AEGIS SHIELD GLOBAL SYSTEM V9 (TRUE NEON) */
/* ========================================= */

body { 
    margin: 0; 
    padding: 0; 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
    color: #8da6b5; /* Entspanntes, abgetöntes Graublau für normalen Fließtext */
    line-height: 1.6; 
    background-color: #02060d; /* Noch tieferes Weltraum-Schwarz */
    /* Das prozedurale Raster (Electric Blue) */
    background-image: 
        linear-gradient(rgba(0, 102, 255, 0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 102, 255, 0.12) 1px, transparent 1px);
    background-size: 40px 40px; 
}

a { text-decoration: none; }
*, *::before, *::after { box-sizing: border-box; }

/* ========================================= */
/* HEADER & LOGO (Neon Override)             */
/* ========================================= */
.top-header { 
    height: 140px; 
    background: rgba(2, 6, 13, 0.85); 
    backdrop-filter: blur(10px); 
    display: flex; justify-content: center; align-items: center; gap: 25px; 
    border-bottom: 1px solid rgba(0, 102, 255, 0.4); 
    box-shadow: 0 0 20px rgba(0, 102, 255, 0.15); 
}

/* Logo Nativ laden, aber mit massiver Electric-Blue-Korona */
.header-logo { 
    width: 90px; height: 90px; 
    object-fit: contain; 
    /* Doppelter Glow: Ein harter innerer Schein und eine weiche äußere Korona */
    filter: drop-shadow(0 0 8px rgba(0, 102, 255, 0.8)) drop-shadow(0 0 25px rgba(0, 102, 255, 0.5));
}

.brand-text h1 { 
    margin: 0; 
    color: #e0f0ff; /* Weißer, heißer Kern */
    text-transform: uppercase; font-size: 2.2rem; line-height: 1; letter-spacing: 2px; 
    /* Der Tron-Glow: Mehrere Schichten Schatten für die blaue Korona */
    text-shadow: 0 0 5px #fff, 0 0 15px #0066ff, 0 0 30px #0066ff; 
}
.brand-text .subtitle { color: #5a8b9e; font-weight: 300; font-size: 1rem; margin-top: 5px; letter-spacing: 1px; }

/* ========================================= */
/* NAVI                                      */
/* ========================================= */
.main-nav { 
    background-color: rgba(2, 6, 13, 0.95); 
    display: flex; justify-content: center; 
    border-bottom: 2px solid rgba(0, 102, 255, 0.3); 
    box-shadow: 0 5px 20px rgba(0,0,0,0.8); 
    position: sticky; top: 0; z-index: 1000; 
}
.nav-item { 
    padding: 18px 30px; color: #5a8b9e; font-weight: bold; font-size: 0.95rem; 
    text-transform: uppercase; border-bottom: 3px solid transparent; transition: all 0.2s ease-in-out; 
}
.nav-item:hover, .nav-item.active { 
    color: #e0f0ff; 
    background-color: rgba(0, 102, 255, 0.05); 
    border-bottom: 3px solid #0066ff;
    text-shadow: 0 0 8px #0066ff, 0 0 15px #0066ff;
    box-shadow: inset 0 -10px 15px -10px rgba(0, 102, 255, 0.4);
}

/* ========================================= */
/* TRON-CONTAINER (Die glühenden Boxen)      */
/* ========================================= */
.glass-panel, .feature-box, .dashboard-panel, .job-card, .project-card, blockquote {
    background: rgba(4, 12, 25, 0.6);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 102, 255, 0.3);
    border-radius: 4px;
    box-shadow: inset 0 0 20px rgba(0, 102, 255, 0.05), 0 0 15px rgba(0, 102, 255, 0.1);
}

/* ========================================= */
/* TYPOGRAFIE INHALTE (Die leuchtenden Titel)*/
/* ========================================= */
h2, h3, .job-title, .p-title {
    color: #e0f0ff; /* Heißer Kern */
    text-transform: uppercase;
    text-shadow: 0 0 8px rgba(0, 102, 255, 0.8), 0 0 20px rgba(0, 102, 255, 0.5); /* Elektrische Korona */
}

/* ========================================= */
/* EDUCATION HERO                            */
/* ========================================= */
.hero { 
    background: radial-gradient(circle at center, rgba(0, 102, 255, 0.1) 0%, transparent 60%); 
    padding: 80px 20px 140px 20px; 
    border-bottom: 1px solid rgba(0, 102, 255, 0.2); 
}
.hero-content-wrapper { display: flex; align-items: center; justify-content: center; gap: 30px; }
.hero-logo-inline { 
    width: 120px; height: auto; 
    filter: drop-shadow(0 0 15px rgba(0, 102, 255, 0.8)) drop-shadow(0 0 30px rgba(0, 102, 255, 0.4)); 
    flex-shrink: 0; 
}
.hero-text-block { display: flex; flex-direction: column; text-align: left; }
.hero h2 { font-size: 2.5rem; margin: 0 0 5px 0; letter-spacing: 2px; line-height: 1; }
.hero-text-block p { margin: 0; color: #8da6b5; font-size: 1.1rem; line-height: 1.4; }

/* ========================================= */
/* AMBASSADOR & FEATURE GRIDS                */
/* ========================================= */
.ambassador-section { 
    background: rgba(4, 12, 25, 0.6); backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 102, 255, 0.3);
    max-width: 900px; margin: -60px auto 60px auto; 
    box-shadow: inset 0 0 20px rgba(0, 102, 255, 0.05), 0 15px 40px rgba(0,0,0,0.8); 
    border-radius: 4px; display: flex; overflow: hidden; position: relative; 
}
.ambassador-img { 
    width: 40%; min-height: 350px; 
    background-image: url('files/images/jessica-portrait.jpg'); background-size: cover; background-position: center top; 
    filter: sepia(100%) hue-rotate(190deg) saturate(150%) brightness(80%) contrast(120%);
    opacity: 0.8;
}
.ambassador-text { width: 60%; padding: 50px; display: flex; flex-direction: column; justify-content: center; }
.quote { 
    font-style: italic; font-size: 1.15rem; color: #e0f0ff; 
    margin-bottom: 25px; border-left: 4px solid #0066ff; padding-left: 20px; 
    box-shadow: -15px 0 15px -15px rgba(0, 102, 255, 0.8);
    text-shadow: 0 0 5px rgba(0, 102, 255, 0.4);
}

.grid-container { max-width: 900px; margin: 0 auto 80px auto; display: grid; grid-template-columns: 1fr 1fr; gap: 50px; padding: 0 20px; }
.feature-box { padding: 30px; transition: transform 0.2s, box-shadow 0.2s; }
.feature-box:hover {
    transform: translateY(-5px); border: 1px solid rgba(0, 102, 255, 0.6);
    box-shadow: inset 0 0 20px rgba(0, 102, 255, 0.2), 0 10px 20px rgba(0, 102, 255, 0.2);
}
.feature-box h3 { margin-top: 0; margin-bottom: 15px; font-size: 1.3rem; }

/* ========================================= */
/* BUTTONS & BADGES (Neon Style)             */
/* ========================================= */
.btn { 
    display: inline-block; 
    background-color: rgba(0, 102, 255, 0.1); 
    color: #e0f0ff !important; 
    padding: 15px 35px; border-radius: 4px; font-weight: bold; 
    border: 1px solid #0066ff;
    box-shadow: 0 0 10px rgba(0, 102, 255, 0.4), inset 0 0 10px rgba(0, 102, 255, 0.2);
    transition: all 0.2s; 
    text-shadow: 0 0 8px rgba(0, 102, 255, 0.8);
}
.btn:hover { 
    transform: translateY(-3px); 
    background-color: #0066ff; 
    color: #fff !important; 
    box-shadow: 0 0 25px rgba(0, 102, 255, 0.8), inset 0 0 10px rgba(255, 255, 255, 0.5);
    text-shadow: none;
}

/* Index: Blockquote & Badges (Terminal Update) */
.press-badge {
    background: linear-gradient(90deg, rgba(0, 102, 255, 0.2) 0%, rgba(0, 102, 255, 0.02) 100%); 
    border: 1px solid rgba(0, 102, 255, 0.3); 
    border-left: 4px solid #0066ff; /* Harte System-Markierung links */
    color: #e0f0ff;
    padding: 8px 15px; 
    display: inline-block; 
    font-family: 'Courier New', Courier, monospace; /* Zwingt es in den Maschinen-Code-Look */
    font-weight: bold; 
    font-size: 0.85rem; 
    letter-spacing: 1px;
    margin-bottom: 25px; 
    box-shadow: 0 0 15px rgba(0, 102, 255, 0.1);
    text-shadow: 0 0 8px rgba(0, 102, 255, 0.8);
}

/* Ein kleiner künstlicher Datastream-Akzent vor dem Text */
.press-badge::before {
    content: ">> ";
    color: #0066ff;
    text-shadow: 0 0 10px #0066ff;
    margin-right: 5px;
}

/* ========================================= */
/* GAMIFICATION DASHBOARD (Highscores)       */
/* ========================================= */
.dashboard-section { padding: 60px 20px; border-top: 1px solid rgba(0, 102, 255, 0.3); font-family: 'Courier New', Courier, monospace; }
.dashboard-header { text-align: center; margin-bottom: 40px; }
.dashboard-header h2 { font-size: 2.2rem; margin: 0; letter-spacing: 2px; }

.dashboard-grid { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.dashboard-panel { padding: 25px; }
.panel-full-width { grid-column: 1 / -1; margin-top: 20px; }
.dashboard-panel h3 { border-bottom: 1px dashed rgba(0, 102, 255, 0.5); padding-bottom: 10px; margin-top: 0; font-family: 'Segoe UI', sans-serif; }

/* Tabellen-Styling für Highscores */
.aegis-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; margin-bottom: 20px; }
.aegis-table th { text-align: left; color: #5a8b9e; padding-bottom: 8px; font-weight: normal; border-bottom: 1px solid rgba(0, 102, 255, 0.3); }
.aegis-table td { padding: 8px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.05); color: #8da6b5; }

.rank-1 { color: #ffd700 !important; font-weight: bold; text-shadow: 0 0 8px rgba(255, 215, 0, 0.6); } 
.rank-2 { color: #c0c0c0 !important; }
.rank-3 { color: #cd7f32 !important; }

/* Belohnungs-Liste */
.loot-list { list-style: none; padding: 0; margin: 0; font-family: 'Segoe UI', sans-serif; }
.loot-list li { margin-bottom: 20px; }
.loot-list strong { color: #e0f0ff; display: block; font-size: 1.1rem; text-shadow: 0 0 5px rgba(0, 102, 255, 0.5); }
.loot-list span { font-size: 0.9rem; color: #5a8b9e; }

@media (max-width: 768px) { .dashboard-grid { grid-template-columns: 1fr; } }

/* ========================================= */
/* PAGE SPECIFIC: INDEX, CAREER & PROJECTS   */
/* ========================================= */
.container { max-width: 900px; margin: 50px auto; padding: 0 20px; }
.container h2 { margin-top: 40px; letter-spacing: 2px; }
.container p, .container ul { color: #8da6b5; }

/* Career: Job Cards */
.job-card { padding: 30px; margin-bottom: 30px; transition: 0.3s; }
.job-card:hover { border-color: #0066ff; box-shadow: 0 0 20px rgba(0, 102, 255, 0.3), inset 0 0 20px rgba(0, 102, 255, 0.1); transform: translateY(-3px); }
.job-title { font-size: 1.4rem; display: block; margin-bottom: 5px; }
.job-meta { font-size: 0.85rem; color: #5a8b9e; text-transform: uppercase; margin-bottom: 20px; letter-spacing: 1px; }

/* Projects: Grid & Cards */
.project-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.project-card { overflow: hidden; transition: 0.3s; position: relative; }
.project-card:hover { transform: translateY(-5px); border-color: #0066ff; box-shadow: 0 5px 25px rgba(0, 102, 255, 0.3); }
.status-bar { padding: 5px 15px; font-size: 0.75rem; font-weight: bold; letter-spacing: 1px; text-transform: uppercase; color: #02060d; }
.status-active { background: #0066ff; box-shadow: 0 0 15px rgba(0, 102, 255, 0.6); color: #fff;}
.status-classified { background: #ff2a2a; color: white; box-shadow: 0 0 15px rgba(255, 42, 42, 0.6); }
.p-content { padding: 25px; }
.p-title { font-size: 1.2rem; margin: 0 0 10px 0; font-weight: bold; }
.p-desc { font-size: 0.9rem; color: #8da6b5; margin-bottom: 20px; }
.newsletter-link { color: #e0f0ff; font-weight: bold; font-size: 0.85rem; border-bottom: 1px dashed rgba(0, 102, 255, 0.8); transition: 0.2s; text-shadow: 0 0 5px rgba(0, 102, 255, 0.5); }
.newsletter-link:hover { text-shadow: 0 0 10px rgba(0, 102, 255, 0.8); }

/* Projects: Classified Overlay */
.classified-overlay { filter: blur(5px); opacity: 0.3; pointer-events: none; user-select: none; }
.lock-icon { position: absolute; top: 55%; left: 50%; transform: translate(-50%, -50%); font-size: 3rem; text-shadow: 0 0 20px rgba(255, 42, 42, 0.8); z-index: 10; }

/* ========================================= */
/* FOOTER CLEANUP                            */
/* ========================================= */
.footer-legal { 
    background: rgba(2, 6, 13, 0.9); 
    border-top: 1px solid rgba(0, 102, 255, 0.3); 
    padding: 40px 20px; text-align: center; color: #5a8b9e; font-size: 0.8rem; 
}
.footer-company-info { margin-bottom: 20px; color: #8da6b5; }
.footer-imprint { border-top: 1px dotted rgba(0, 102, 255, 0.3); margin-top: 20px; padding-top: 20px; opacity: 0.8; }
.footer-link-aegis { color: #e0f0ff; text-shadow: 0 0 5px rgba(0, 102, 255, 0.5); transition: text-shadow 0.2s; }
.footer-link-aegis:hover { text-shadow: 0 0 10px rgba(0, 102, 255, 0.8); }
.footer-link-back { color: #e0f0ff; text-decoration: none; font-weight: bold; display: inline-block; margin-top: 15px; border-bottom: 1px dashed #0066ff; text-shadow: 0 0 5px rgba(0, 102, 255, 0.5); }
.footer-link-back:hover { text-shadow: 0 0 10px rgba(0, 102, 255, 0.8); }

/* ========================================= */
/* TERMINAL DATA CONTAINER (OVERRIDE)        */
/* ========================================= */
.terminal-box {
    background: rgba(2, 6, 13, 0.95);
    border: 1px solid rgba(0, 102, 255, 0.4);
    border-left: 4px solid #0066ff;
    padding: 35px;
    margin-top: 25px;
    position: relative;
    box-shadow: inset 0 0 40px rgba(0, 102, 255, 0.1), 0 10px 20px rgba(0,0,0,0.5);
    /* Der CRT-Scanline Effekt (Nerd-Faktor 100) */
    background-image: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 102, 255, 0.04) 2px,
        rgba(0, 102, 255, 0.04) 4px
    );
}

/* Zwingt JEDEN Text in der Box brutal auf Monospace */
.terminal-box p, .terminal-box li, .terminal-box strong, .terminal-box a {
    font-family: 'Courier New', Courier, monospace !important;
}

/* Kopfzeile mit pulsierendem Cursor */
.terminal-header {
    display: block;
    font-size: 0.85rem;
    color: #0066ff;
    margin-bottom: 25px;
    border-bottom: 1px dashed rgba(0, 102, 255, 0.4);
    padding-bottom: 10px;
    letter-spacing: 2px;
    text-shadow: 0 0 8px rgba(0, 102, 255, 0.8);
    font-family: 'Courier New', Courier, monospace;
}
.terminal-header::after {
    content: "█";
    animation: cursorBlink 1.2s infinite;
    margin-left: 8px;
}
@keyframes cursorBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* Text-Design & Hierarchie */
.terminal-box p { color: #8da6b5; line-height: 1.8; font-size: 0.95rem; }
.terminal-box strong { color: #e0f0ff; text-shadow: 0 0 8px rgba(0, 102, 255, 0.6); font-weight: normal; }

/* Custom Listenpunkte [ + ] */
.terminal-box ul { list-style: none; padding-left: 0; margin-top: 20px;}
.terminal-box li { margin-bottom: 15px; color: #8da6b5; line-height: 1.6; }
.terminal-box li::before {
    content: "[+]";
    color: #0066ff;
    font-weight: bold;
    text-shadow: 0 0 8px #0066ff;
    margin-right: 10px;
}

/* Link Override (Vernichtet das Lila, ersetzt es mit Neon-Cyan) */
.terminal-box a, .terminal-box a:visited, .terminal-box a:active {
    color: #00e5ff !important; 
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 229, 255, 0.3);
    text-shadow: 0 0 8px rgba(0, 229, 255, 0.6);
    transition: all 0.2s;
    padding-bottom: 1px;
}
.terminal-box a:hover {
    color: #fff !important;
    background: rgba(0, 229, 255, 0.15);
    border-bottom: 1px solid #fff;
    text-shadow: 0 0 12px #00e5ff;
}

/* ========================================= */
/* MOBILE OVERRIDE (Frequenz-Anpassung)      */
/* ========================================= */
@media (max-width: 768px) {
    /* Header & Navi komprimieren */
    .top-header { height: auto; padding: 25px 15px; flex-direction: column; text-align: center; gap: 15px; }
    .brand-text h1 { font-size: 1.6rem; }
    .main-nav { flex-wrap: wrap; padding: 10px 0; }
    .nav-item { padding: 10px 15px; font-size: 0.85rem; width: 50%; text-align: center; border-bottom: none; }
    .nav-item.active { border-bottom: none; background-color: rgba(0, 102, 255, 0.15); }

    /* Hero Bereich umbauen */
    .hero { padding: 40px 15px 80px 15px; }
    .hero-content-wrapper { flex-direction: column; text-align: center; gap: 20px; }
    .hero-text-block { text-align: center; }
    .hero h2 { font-size: 1.8rem; }

    /* Ambassador Section stapeln */
    .ambassador-section { flex-direction: column; margin: -40px 15px 40px 15px; }
    .ambassador-img { width: 100%; min-height: 250px; }
    .ambassador-text { width: 100%; padding: 25px; }
    .quote { font-size: 1rem; }

    /* Grids auf eine Spalte zwingen */
    .grid-container { grid-template-columns: 1fr; gap: 30px; padding: 0 15px; }
    .dashboard-grid { grid-template-columns: 1fr; }
    .project-grid { grid-template-columns: 1fr; }
    
    /* Container & Terminal Box anpassen */
    .container { margin: 30px auto; padding: 0 15px; }
    .terminal-box { padding: 20px; border-left-width: 2px; }
    .terminal-header { font-size: 0.7rem; letter-spacing: 1px; display: flex; flex-direction: column; gap: 5px;}
    .terminal-box p { font-size: 0.85rem; }
    
    /* Footer */
    .footer-legal { padding: 30px 15px; }
}

/* ========================================= */
/* FOOTER CLEANUP (Ghost Mode)               */
/* ========================================= */
.footer-legal { 
    background: rgba(2, 6, 13, 0.95); 
    border-top: 1px solid rgba(0, 102, 255, 0.2); 
    padding: 30px 20px 15px 20px; 
    text-align: center; 
    color: #5a8b9e; 
    font-size: 0.8rem; 
}
.footer-company-info { margin-bottom: 20px; color: #8da6b5; letter-spacing: 1px; }

/* Der Ghost-Modus für das Impressum */
.footer-imprint { 
    border-top: 1px solid rgba(0, 102, 255, 0.1); 
    margin-top: 20px; 
    padding-top: 15px; 
    opacity: 0.25; /* Brutal abgedunkelt */
    font-size: 0.65rem; /* Sehr klein, wie AGBs */
    transition: opacity 0.4s ease-in-out; 
}
.footer-imprint:hover {
    opacity: 1; /* Leuchtet auf, wenn man es lesen will */
}

/* Link-Styling im Footer */
.footer-link-aegis { color: #5a8b9e; transition: all 0.2s; border-bottom: 1px solid transparent; }
.footer-link-aegis:hover { color: #e0f0ff; text-shadow: 0 0 8px rgba(0, 102, 255, 0.8); border-bottom: 1px solid #e0f0ff; }
.footer-link-back { 
    color: #5a8b9e; text-decoration: none; display: inline-block; 
    margin-top: 10px; transition: all 0.2s; 
}
.footer-link-back:hover { color: #00e5ff; text-shadow: 0 0 8px rgba(0, 229, 255, 0.6); }

/* ========================================= */
/* ORION DETECTED: TERMINAL FLICKER          */
/* ========================================= */

/* Die Animation: Simuliert eine instabile Neon-Röhre */
@keyframes neonFlicker {
    0%, 18%, 22%, 25%, 53%, 57%, 100% {
        /* Heißer Kern + blaue Korona */
        text-shadow: 0 0 8px rgba(0, 102, 255, 1), 0 0 15px rgba(0, 102, 255, 0.7);
        color: #e0f0ff; /* Heißer, weißer Kern bleibt aktiv */
        opacity: 1;
    }
    20%, 24%, 55% {
        /* Abfall der Frequenz: Nur noch schwaches Glimmen */
        text-shadow: 0 0 3px rgba(0, 102, 255, 0.4);
        color: #0066ff; /* Fällt auf das sattere, dunklere Blau zurück */
        opacity: 0.7; /* Leicht durchsichtig */
    }
}

/* Die Klasse, die wir auf den Text anwenden */
.flickering-directive {
    /* WICHTIG: Überschreibt die Farbe aus dem umschließenden Div */
    color: #e0f0ff !important; 
    /* Weisen wir die Animation zu */
    animation: neonFlicker 3s linear infinite;
    font-weight: bold; /* Macht es wichtiger */
}