:root {
    --bg-void: #030303;
    --gold-1: #BF953F;
    --gold-gradient: linear-gradient(to right, #BF953F, #FCF6BA, #B38728);
    --tech-border: 1px solid rgba(191, 149, 63, 0.2);
    --text-main: #e0e0e0;
    --text-mute: #888;
    
    --wf-purple: #8b5cf6;
    --jj-red: #ff3b30;

    --font-imperial: 'Cinzel', serif;
    --font-tech: 'JetBrains Mono', monospace;
    --font-body: 'Inter', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    background-color: var(--bg-void);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;

    /* Hintergrundbild mit dunklem Overlay (85% schwarz) */
    background-image: linear-gradient(rgba(5, 5, 5, 0.85), rgba(5, 5, 5, 0.85)), url('assets/background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

/* --- NAVBAR --- */
.navbar { position: fixed; top: 0; width: 100%; z-index: 1000; padding: 12px 0; border-bottom: 1px solid rgba(191, 149, 63, 0.15); }
.nav-flex { display: flex; justify-content: space-between; align-items: center; }

/* Brand */
.brand { display: flex; align-items: center; gap: 15px; }
.nav-logo { height: 42px; width: auto; }
.brand-name { font-family: var(--font-imperial); font-weight: 700; font-size: 1.1rem; color: var(--text-main); line-height: 1.1; display: block; }
.brand-name .entity { font-size: 0.6em; color: var(--gold-1); }
.brand-sub { font-family: var(--font-tech); font-size: 0.55rem; color: var(--text-mute); letter-spacing: 2px; }

/* Nav Right */
.nav-right { display: flex; align-items: center; gap: 20px; }
.nav-menu { display: flex; list-style: none; gap: 25px; } 

.nav-item { 
    color: var(--text-mute); text-decoration: none; font-size: 0.75rem; 
    font-family: var(--font-tech); letter-spacing: 1px; transition: 0.3s; 
}
.nav-item:hover { color: var(--gold-1); text-shadow: 0 0 10px rgba(191, 149, 63, 0.3); }

.divider-vert { width: 1px; height: 15px; background: rgba(255,255,255,0.1); }

/* Lang Switch */
.lang-switch { display: flex; gap: 5px; font-size: 0.75rem; color: var(--text-mute); }
.lang-btn { cursor: pointer; transition: 0.3s; }
.lang-btn:hover { color: white; }
.lang-btn.active { color: var(--gold-1); font-weight: bold; text-decoration: underline; }

.btn-login { color: var(--gold-1); text-decoration: none; font-size: 0.7rem; border: 1px solid rgba(191, 149, 63, 0.3); padding: 4px 10px; transition: 0.3s; }
.btn-login:hover { background: rgba(191, 149, 63, 0.1); box-shadow: 0 0 15px rgba(191, 149, 63, 0.2); }

/* --- HERO & TELEMETRY --- */
.hero { height: 100vh; display: flex; align-items: center; padding-top: 60px; }
.hero-grid { display: grid; grid-template-columns: 1fr 0.8fr; gap: 50px; align-items: center; }

.status-line { font-size: 0.7rem; color: var(--gold-1); margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.status-dot { width: 6px; height: 6px; background: var(--gold-1); border-radius: 50%; box-shadow: 0 0 8px var(--gold-1); }
.blink { animation: blink 2s infinite; }

h1 { font-family: var(--font-imperial); font-size: 3.5rem; line-height: 1.1; margin-bottom: 25px; }
.text-gold { background: var(--gold-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

.hero-desc { color: var(--text-mute); font-size: 1rem; max-width: 500px; margin-bottom: 40px; line-height: 1.6; }

.btn-gold { background: var(--gold-gradient); color: black; font-weight: bold; padding: 12px 30px; text-decoration: none; font-family: var(--font-tech); margin-right: 15px; border: none; font-size: 0.8rem; }
.btn-outline { border: 1px solid #444; color: #ddd; padding: 12px 30px; text-decoration: none; font-family: var(--font-tech); font-size: 0.8rem; transition:0.3s; }
.btn-outline:hover { border-color: var(--gold-1); color: var(--gold-1); }

/* Module */
.telemetry-module { border-top: 3px solid var(--gold-1); background: rgba(10,10,10,0.85); border-left: var(--tech-border); border-right: var(--tech-border); border-bottom: var(--tech-border); }
.module-header { padding: 12px 20px; border-bottom: 1px solid rgba(255,255,255,0.05); display: flex; justify-content: space-between; font-family: var(--font-tech); font-size: 0.75rem; color: #aaa; }
.live-tag { color: var(--jj-red); font-weight: bold; animation: blink 1s infinite; letter-spacing: 1px; }

.stats-grid { padding: 20px; display: flex; flex-direction: column; gap: 15px; }
.stat-item.single-row { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 5px; margin-top: 5px; }

.stat-top { display: flex; justify-content: space-between; margin-bottom: 5px; }
.stat-label { font-family: var(--font-tech); font-size: 0.65rem; color: var(--gold-1); letter-spacing: 1px; }
.stat-val { font-size: 1rem; color: white; }
.progress-track { height: 3px; background: #222; width: 100%; }
.progress-fill { height: 100%; width: 0%; transition: width 0.8s ease; }

/* Bar Colors */
.gold-fill { background: var(--gold-1); box-shadow: 0 0 10px rgba(191,149,63,0.4); }
.purple-fill { background: var(--wf-purple); box-shadow: 0 0 10px rgba(139, 92, 246, 0.4); }

.stat-sub { font-size: 0.65rem; color: #555; margin-top: 2px; }
.terminal-log { background: #000; padding: 10px 20px; font-size: 0.65rem; color: #666; border-top: 1px solid rgba(255,255,255,0.05); min-height: 60px; }

/* --- SECTIONS --- */
.section-dark, .section-structure { padding: 100px 0; border-top: 1px solid #111; }
.section-structure { background: #050505; }
.section-head { margin-bottom: 50px; }
.section-title { font-size: 2.2rem; margin-bottom: 10px; }
.section-subtitle { font-family: var(--font-tech); color: var(--gold-1); font-size: 0.7rem; letter-spacing: 2px; display: block; margin-bottom: 10px; }
.gold-divider { height: 2px; width: 60px; background: var(--gold-gradient); margin: 20px 0; }
.gold-divider.center { margin: 20px auto; }
.text-center { text-align: center; }

.manifest-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.tech-card { padding: 25px; border: 1px solid #222; background: rgba(255,255,255,0.01); transition: 0.3s; }
.tech-card:hover { border-color: var(--gold-1); background: rgba(191,149,63,0.05); }
.icon-gold { font-size: 1.8rem; color: var(--gold-1); margin-bottom: 15px; }
.tech-card h3 { font-family: var(--font-tech); font-size: 0.9rem; margin-bottom: 10px; color: #ddd; }
.tech-card p { font-size: 0.85rem; color: #888; line-height: 1.6; }

.trinity-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 800px; margin: 0 auto; }
.partner-card { padding: 35px; text-align: center; position: relative; transition: transform 0.3s; border: 1px solid rgba(255,255,255,0.05); background: rgba(10,10,10,0.5); }
.partner-card:hover { transform: translateY(-5px); }
.card-border { position: absolute; top:0; left:0; width: 100%; height: 2px; }
.card-border.purple { background: var(--wf-purple); box-shadow: 0 0 10px var(--wf-purple); }
.card-border.red { background: var(--jj-red); box-shadow: 0 0 10px var(--jj-red); }
.partner-logo { height: 60px; margin-bottom: 20px; opacity: 0.9; }
.role-badge { display: inline-block; font-family: var(--font-tech); font-size: 0.6rem; padding: 4px 8px; border: 1px solid; margin-bottom: 15px; }
.purple-badge { border-color: var(--wf-purple); color: var(--wf-purple); }
.red-badge { border-color: var(--jj-red); color: var(--jj-red); }

/* --- FOOTER & UTILS --- */
footer { padding: 40px 0; border-top: 1px solid #111; font-size: 0.75rem; color: #555; }
.footer-content { display: flex; justify-content: space-between; }
.glass-tech { background: rgba(10, 10, 10, 0.85); backdrop-filter: blur(10px); border: var(--tech-border); }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.grid-overlay { position: fixed; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px); background-size: 40px 40px; }
.vignette { position: fixed; inset: 0; z-index: -1; background: radial-gradient(circle at center, transparent 0%, #030303 90%); }
.mono { font-family: var(--font-tech); }
@keyframes blink { 50% { opacity: 0.4; } }

@media (max-width: 900px) {
    .hero-grid, .manifest-grid, .trinity-grid, .footer-content { grid-template-columns: 1fr; text-align: center; display: block; }
    .nav-menu { display: none; }
    .telemetry-module { margin-top: 40px; }
}
