@import url('/css/fonts/stu-fonts.css');
/* ═══════════════════════════════════════════════════════
   STARLIGHT UNIT · EMBER COREUI — REFERENZ- & INFOSEITE
   core.starlight-unit.de
   Eigenstaendiges "Ayal-Tech"-Design: helles Glas/HUD statt
   des dunklen "Terra-Tech" der uebrigen STU-Seiten. Farbwerte
   1:1 aus dem CoreUI-Stylesheet uebernommen (--cx / --amb),
   damit der Uebergang von hier zur eigentlichen Anwendung
   keinen Bruch hat. Struktur (Nav/Ticker/Hero/Section/Footer)
   bewusst 1:1 wie research_site, damit sich die STU-Seiten
   wie eine Familie anfuehlen -- nur die Palette wechselt.
   Schriften: Rajdhani + Share Tech Mono, dieselben wie CoreUI
   selbst nutzt (aus dem gemeinsamen /css/fonts/stu-fonts.css,
   keine zusaetzlichen Font-Dateien noetig).
═══════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    /* Flaechen, hell nach dunkel gestaffelt (Gegenstueck zu --void/--surface/--elevated) */
    --void:       #e7ecf6;
    --surface:    #fbfdff;
    --elevated:   #ffffff;
    /* Primaerakzent: Ayal-Blau, identisch zu CoreUIs --cx */
    --ember:      #5b92ff;
    --ember-hi:   #8fb4ff;
    --ember-dim:  rgba(91,146,255,0.10);
    /* Sekundaerakzent: Ayal-Gold, identisch zu CoreUIs --amb -- nur fuer Status/Akzente */
    --cyan:       #e29b39;
    --cyan-dim:   rgba(226,155,57,0.12);
    --copper:     #c97a3f;
    --text:       #101626;
    --text-sub:   #45526b;
    --text-muted: #7c88a0;
    --border:     rgba(16,22,38,0.10);
    --border-mid: rgba(91,146,255,0.35);
    --max-w:      1100px;
}

html { scroll-behavior: smooth; }
body {
    background: var(--void);
    color: var(--text);
    font-family: 'Rajdhani', 'Segoe UI', sans-serif;
    font-weight: 400;
    line-height: 1.65;
    overflow-x: hidden;
}

/* ── AMBIENTES LICHT (helle Entsprechung zum dunklen Holo-Feld) ── */
.ambient { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.ambient::before {
    content: ''; position: absolute; top: -20%; left: -15%; width: 60%; height: 60%;
    background: radial-gradient(circle,rgba(91,146,255,0.10) 0%,transparent 70%);
}
.ambient::after {
    content: ''; position: absolute; bottom: -20%; right: -15%; width: 50%; height: 50%;
    background: radial-gradient(circle,rgba(226,155,57,0.07) 0%,transparent 70%);
}
.holo-frame { position: fixed; inset: 0; z-index: 2; pointer-events: none; }
.holo-frame::before {
    content: '';
    position: absolute; inset: 10px;
    border: 1px solid rgba(91,146,255,0.16);
    border-radius: 22px;
    box-shadow: inset 0 0 40px rgba(91,146,255,0.05), 0 0 70px rgba(91,146,255,0.04);
    animation: holoBreathe 5s ease-in-out infinite;
}
@keyframes holoBreathe { 0%,100% { opacity: 0.55; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .holo-frame::before { animation: none !important; } }

/* ── LAYOUT WRAPPER ───────────────────────── */
.site { position: relative; z-index: 10; display: flex; flex-direction: column; min-height: 100vh; }
main { flex: 1; padding-top: var(--top-bars-h, 96px); padding-bottom: 52px; }

/* ── TICKER ───────────────────────────────── */
.ticker-bar { position: fixed; top: 0; left: 0; right: 0; z-index: 300;
    border-bottom: 1px solid var(--border);
    overflow: hidden; background: rgba(255,255,255,0.85); backdrop-filter: blur(10px);
}
.ticker-inner { display: flex; align-items: stretch; }
.ticker-label {
    flex-shrink: 0; padding: 9px 20px; background: var(--ember); color: #fff;
    font-family: 'Share Tech Mono',monospace; font-size: 9px; font-weight: 600;
    letter-spacing: 0.15em; text-transform: uppercase; display: flex; align-items: center;
}
.ticker-scroll { overflow: hidden; flex: 1; }
.ticker-text {
    display: inline-block; white-space: nowrap; padding: 9px 0;
    font-family: 'Share Tech Mono',monospace; font-size: 9px; color: var(--text-sub);
    letter-spacing: 0.12em; animation: ticker 40s linear infinite;
}
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ── NAVIGATION ───────────────────────────── */
.site-nav {
    position: fixed; top: var(--ticker-h, 32px); left: 0; right: 0; z-index: 200;
    background: rgba(255,255,255,0.86); backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}
.nav-inner {
    max-width: var(--max-w); margin: 0 auto; padding: 0 40px;
    display: flex; justify-content: space-between; align-items: center;
    height: 64px; position: relative;
}
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo-mark {
    font-family: 'Rajdhani', sans-serif; font-size: 13px; font-weight: 700;
    color: var(--text); letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.2;
}
.nav-logo-mark span { color: var(--ember); }
.nav-links { display: flex; list-style: none; gap: 0; }
.nav-links a {
    display: block; padding: 0 18px; height: 64px; line-height: 64px;
    font-family: 'Share Tech Mono',monospace; font-size: 9.5px; font-weight: 600;
    color: var(--text-sub); text-decoration: none; letter-spacing: 0.16em;
    text-transform: uppercase; transition: color 0.2s, background 0.2s;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
}
.nav-links a:hover { color: var(--ember); background: var(--ember-dim); }
.nav-links a.active { color: var(--ember); border-bottom-color: var(--ember); }

.hamburger {
    display: none; flex-direction: column; justify-content: center; align-items: center;
    width: 40px; height: 40px; gap: 6px; background: none;
    border: 1px solid var(--border-mid); border-radius: 8px; cursor: pointer; padding: 8px;
}
.hamburger span { display: block; width: 20px; height: 1.5px; background: var(--ember); border-radius: 2px; transition: all 0.3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.mobile-menu {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(255,255,255,0.97); border-bottom: 1px solid var(--border);
    backdrop-filter: blur(20px); z-index: 300;
    max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(0.22,1,0.36,1);
}
.mobile-menu.open { max-height: 460px; }
.mobile-menu a {
    display: block; padding: 15px 28px;
    font-family: 'Share Tech Mono',monospace; font-size: 11px; font-weight: 600;
    color: var(--text-sub); text-decoration: none; letter-spacing: 0.18em;
    text-transform: uppercase; border-bottom: 1px solid var(--border);
    transition: color 0.2s, background 0.2s;
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover, .mobile-menu a.active { color: var(--ember); background: var(--ember-dim); }

/* ── PAGE HERO (CSS-Ring statt Fotohintergrund -- passt zu CoreUIs eigenem
   Glas/HUD-Look, der ebenfalls ohne Fotos auskommt) ── */
.page-hero {
    position: relative; overflow: hidden;
    border-bottom: 1px solid var(--border);
    background:
        radial-gradient(ellipse 900px 500px at 82% -10%, rgba(91,146,255,0.14), transparent 60%),
        radial-gradient(ellipse 700px 420px at -10% 110%, rgba(226,155,57,0.10), transparent 60%),
        var(--surface);
}
.page-hero::after {
    content: '';
    position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(100deg, transparent 40%, rgba(91,146,255,0.06) 50%, transparent 60%);
    background-size: 250% 250%;
    animation: heroSweep 9s ease-in-out infinite;
}
@keyframes heroSweep { 0% { background-position: 120% 0%; } 50% { background-position: -20% 0%; } 100% { background-position: 120% 0%; } }
.page-hero-content {
    position: relative; max-width: var(--max-w); margin: 0 auto;
    padding: 72px 40px 64px;
}
.page-eyebrow {
    font-family: 'Share Tech Mono',monospace; font-size: 9px; color: var(--ember);
    letter-spacing: 0.28em; text-transform: uppercase; margin-bottom: 16px;
    display: flex; align-items: center; gap: 12px;
}
.page-eyebrow::before { content: ''; width: 24px; height: 1px; background: var(--ember); }
.page-title {
    font-family: 'Rajdhani', sans-serif; font-weight: 700;
    font-size: clamp(26px,4vw,52px); color: var(--text);
    text-transform: uppercase; letter-spacing: 0.02em; line-height: 1.08;
    margin-bottom: 20px;
}
.page-title em { font-style: normal; color: var(--ember); }
.page-lead {
    font-size: 17px; font-style: italic; color: var(--text-sub);
    max-width: 620px; line-height: 1.8;
}

/* ── CONTENT CONTAINER / SECTION ──────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 40px; }
.section { padding: 72px 0; }
.section + .section { border-top: 1px solid var(--border); }
.section-label {
    font-family: 'Share Tech Mono',monospace; font-size: 8.5px; color: var(--text-muted);
    letter-spacing: 0.3em; text-transform: uppercase; margin-bottom: 36px;
    display: flex; align-items: center; gap: 12px;
}
.section-label::before { content: ''; width: 18px; height: 1px; background: var(--text-muted); }
.section-title {
    font-family: 'Rajdhani', sans-serif; font-size: clamp(20px,3vw,32px); font-weight: 700;
    color: var(--text); text-transform: uppercase; letter-spacing: 0.02em; margin-bottom: 24px;
}

/* ── PROSE ────────────────────────────────── */
.prose { font-size: 16px; color: var(--text-sub); line-height: 1.85; }
.prose p { margin-bottom: 1.4em; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--text); font-weight: 700; font-style: normal; }
.prose em { color: var(--ember); font-style: italic; }
.prose h3 {
    font-family: 'Rajdhani', sans-serif; font-size: 14px; font-weight: 700;
    color: var(--text); text-transform: uppercase; letter-spacing: 0.08em;
    margin: 2em 0 0.8em;
}
.prose ul { padding-left: 0; list-style: none; }
.prose ul li { padding-left: 18px; position: relative; margin-bottom: 0.5em; }
.prose ul li::before { content: '·'; position: absolute; left: 0; color: var(--ember); font-weight: 700; }

/* ── QUOTE / FACT BLOCK ───────────────────── */
.excerpt-block {
    border-left: 3px solid var(--ember); padding: 28px 36px;
    background: linear-gradient(135deg, var(--ember-dim) 0%, transparent 100%);
    border-radius: 0 12px 12px 0; margin: 40px 0;
}
.excerpt-block p { font-size: 17px; font-style: italic; color: var(--text); line-height: 1.9; margin-bottom: 1em; }
.excerpt-block p:last-child { margin-bottom: 0; }

/* ── BUTTONS ──────────────────────────────── */
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 36px; }
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 26px; border-radius: 8px; font-family: 'Share Tech Mono',monospace;
    font-size: 10px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase;
    text-decoration: none; transition: all 0.25s; white-space: nowrap;
}
.btn-amber { background: var(--ember); color: #fff; box-shadow: 0 6px 24px rgba(91,146,255,0.30); }
.btn-amber:hover { background: #4879e8; box-shadow: 0 8px 32px rgba(91,146,255,0.42); transform: translateY(-2px); }
.btn-outline { border: 1px solid var(--border-mid); color: var(--text-sub); }
.btn-outline:hover { border-color: var(--ember); color: var(--ember); transform: translateY(-2px); }
.btn-ghost-amber { border: 1px solid rgba(91,146,255,0.35); color: var(--ember); }
.btn-ghost-amber:hover { border-color: var(--ember); background: var(--ember-dim); transform: translateY(-2px); }
.btn-gold { background: var(--cyan); color: #fff; box-shadow: 0 6px 24px rgba(226,155,57,0.28); }
.btn-gold:hover { background: #c9852e; box-shadow: 0 8px 32px rgba(226,155,57,0.4); transform: translateY(-2px); }

/* ── IMAGE / FACT GRID ────────────────────── */
.img-grid { display: grid; gap: 16px; }
.img-grid-3 { grid-template-columns: 1fr 1fr 1fr; }
.img-card {
    border: 1px solid var(--border); border-radius: 14px; overflow: hidden;
    background: var(--surface); position: relative;
    transition: border-color 0.3s, transform 0.3s;
    box-shadow: var(--shadow-tight, 0 6px 20px rgba(16,22,38,0.06));
}
.img-card:hover { border-color: var(--ember); transform: translateY(-4px); }

/* ── INFO GRID ─────────────────────────────  */
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.info-grid-wide { display: grid; grid-template-columns: 2fr 1fr; gap: 60px; align-items: start; }

/* ── META CARD ────────────────────────────── */
.meta-card {
    border: 1px solid var(--border); border-radius: 16px; padding: 28px;
    background: linear-gradient(145deg, #ffffff 0%, var(--surface) 100%);
    box-shadow: 0 18px 50px rgba(34,58,104,0.07);
}
.meta-card-title {
    font-family: 'Share Tech Mono',monospace; font-size: 8.5px; color: var(--ember);
    letter-spacing: 0.22em; text-transform: uppercase; margin-bottom: 20px;
}
.meta-row { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--border); }
.meta-row:last-child { border-bottom: none; }
.meta-key { font-family: 'Share Tech Mono',monospace; font-size: 8.5px; color: var(--text-muted); letter-spacing: 0.14em; text-transform: uppercase; }
.meta-val { font-size: 13px; font-style: italic; color: var(--text-sub); text-align: right; max-width: 55%; }
.meta-val strong { color: var(--text); font-style: normal; font-weight: 700; }

/* ── ARCHITEKTUR / MEILENSTEIN-LISTE ──────── */
.arch-list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.arch-item {
    display: flex; align-items: flex-start; gap: 16px; padding: 18px 20px;
    border: 1px solid var(--border); border-radius: 12px; background: var(--surface);
    transition: border-color 0.25s;
}
.arch-item:hover { border-color: var(--border-mid); }
.arch-status {
    font-family: 'Share Tech Mono',monospace; font-size: 8px; padding: 4px 10px;
    border-radius: 100px; letter-spacing: 0.14em; text-transform: uppercase; flex-shrink: 0;
    white-space: nowrap; margin-top: 2px;
}
.status-live { background: rgba(91,146,255,0.12); color: var(--ember); border: 1px solid rgba(91,146,255,0.25); }
.status-active { background: rgba(226,155,57,0.14); color: #a4691c; border: 1px solid rgba(226,155,57,0.32); }
.status-planned { background: rgba(102,114,138,0.10); color: var(--text-sub); border: 1px solid rgba(102,114,138,0.22); }
.arch-body { flex: 1; }
.arch-name { font-size: 15px; color: var(--text); font-weight: 700; margin-bottom: 4px; }
.arch-desc { font-size: 13.5px; color: var(--text-sub); line-height: 1.7; }

/* ── EINSTIEGS-KARTEN ──────────────────────── */
.paper-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.paper-card {
    border: 1px solid var(--border); border-radius: 16px; padding: 28px 24px;
    background: linear-gradient(150deg, #ffffff 0%, var(--surface) 100%);
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
    position: relative; overflow: hidden;
    box-shadow: 0 10px 30px rgba(16,22,38,0.05);
}
.paper-card:hover { border-color: var(--ember); transform: translateY(-5px); box-shadow: 0 24px 50px rgba(16,22,38,0.10), 0 0 0 1px var(--ember); }
.paper-flag { font-family: 'Share Tech Mono',monospace; font-size: 8.5px; color: var(--ember); letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 14px; }
.paper-card h3 { font-family: 'Rajdhani', sans-serif; font-size: 16px; font-weight: 700; color: var(--text); text-transform: uppercase; letter-spacing: 0.02em; margin-bottom: 10px; line-height: 1.3; }
.paper-card p { font-size: 13.5px; color: var(--text-sub); line-height: 1.7; margin-bottom: 20px; }

/* ── ZUGANGS-HINWEIS (privater Alpha-Status) ── */
.access-note {
    display: flex; gap: 16px; align-items: flex-start;
    border: 1px solid rgba(226,155,57,0.35); border-radius: 14px;
    background: linear-gradient(135deg, rgba(226,155,57,0.10) 0%, transparent 100%);
    padding: 24px 28px; margin: 36px 0;
}
.access-note-icon { flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(226,155,57,0.18); color: #a4691c; }
.access-note p { font-size: 14.5px; color: var(--text-sub); line-height: 1.8; margin: 0; }
.access-note strong { color: var(--text); }

/* ── LEGAL TEXT ───────────────────────────── */
.legal-body { font-size: 14px; color: var(--text-sub); line-height: 1.9; }
.legal-body h2 {
    font-family: 'Rajdhani', sans-serif; font-size: 12px; font-weight: 700;
    color: var(--text); text-transform: uppercase; letter-spacing: 0.1em;
    margin: 2.5em 0 1em; padding-bottom: 8px; border-bottom: 1px solid var(--border);
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body p { margin-bottom: 1em; }
.legal-body ul { padding-left: 20px; margin-bottom: 1em; }
.legal-body a { color: var(--ember); text-decoration: none; }
.legal-body a:hover { text-decoration: underline; }
.legal-body strong { color: var(--text); }

/* ── FOOTER ───────────────────────────────── */
footer {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 150;
    background: rgba(255,255,255,0.92); backdrop-filter: blur(14px);
    border-top: 1px solid var(--border);
    padding: 0 40px; height: 52px; display: flex; align-items: center;
}
.footer-inner {
    max-width: var(--max-w); margin: 0 auto; width: 100%;
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: nowrap; gap: 12px;
}
.footer-copy { font-family: 'Share Tech Mono',monospace; font-size: 8.5px; color: var(--text-muted); letter-spacing: 0.16em; text-transform: uppercase; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-family: 'Share Tech Mono',monospace; font-size: 8.5px; color: var(--text-muted); letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--ember); }
.footer-status { display: flex; align-items: center; gap: 8px; font-family: 'Share Tech Mono',monospace; font-size: 8.5px; color: var(--text-muted); letter-spacing: 0.14em; text-transform: uppercase; }
.status-dot { width: 5px; height: 5px; border-radius: 50%; background: #2aaf75; box-shadow: 0 0 6px #2aaf75; animation: blink 3s ease-in-out infinite; }
.status-dot.status-dot--amber { background: #e29b39; box-shadow: 0 0 6px #e29b39; }
@keyframes blink { 0%,100% { opacity:1; } 50% { opacity:.35; } }

/* ── FADE IN ──────────────────────────────── */
.fade-in { opacity: 0; transform: translateY(18px); animation: fadeIn 0.8s cubic-bezier(0.22,1,0.36,1) forwards; }
.fade-in:nth-child(1) { animation-delay: 0.05s; }
.fade-in:nth-child(2) { animation-delay: 0.18s; }
.fade-in:nth-child(3) { animation-delay: 0.32s; }
@keyframes fadeIn { to { opacity: 1; transform: translateY(0); } }

/* ── RESPONSIVE ───────────────────────────── */
@media (max-width: 820px) {
    .nav-inner { padding: 0 24px; }
    .nav-links { display: none; }
    .hamburger { display: flex; }
    .mobile-menu { display: block; }
    .page-hero-content { padding: 52px 24px 44px; }
    .container { padding: 0 24px; }
    .section { padding: 52px 0; }
    .info-grid, .info-grid-wide { grid-template-columns: 1fr; gap: 32px; }
    .img-grid-3 { grid-template-columns: 1fr 1fr; }
    .paper-grid { grid-template-columns: 1fr; }
    footer { padding: 0 24px; height: auto; }
    .footer-inner { flex-wrap: wrap; gap: 8px; row-gap: 6px; padding: 10px 0; }
    .footer-copy { font-size: 8px; order: 1; width: 100%; }
    .footer-links { order: 2; }
    .footer-status { display: none; }
    main { padding-bottom: 72px; }
}
@media (max-width: 540px) {
    .img-grid-3 { grid-template-columns: 1fr; }
    .btn-row { flex-direction: column; }
    .btn { justify-content: center; }
    .access-note { flex-direction: column; }
}

/* ═══════════════════════════════════════════════════════
   REN-STERNENMATRIX — CoreUIs eigenes Kernsymbol
   1:1 uebernommen aus EMBER_COREUI_0_2_9_ALPHA/app.html
   (Markup) und css/console.css (Animation), nur auf
   Hero-Groesse skaliert. Nutzt exakt die core_site-Palette
   (--ember/--cyan == CoreUIs --cx/--amb), daher keine
   Farbanpassung noetig -- lediglich var(--ember)/var(--cyan)
   statt var(--cx)/var(--amb), um bei den hier bereits
   etablierten Variablennamen zu bleiben.
═══════════════════════════════════════════════════════ */
.ren-matrix {
  position: relative;
  width: 240px;
  height: 240px;
  flex: 0 0 auto;
  filter: drop-shadow(0 14px 28px rgba(62, 98, 160, 0.18));
}
.ren-matrix::before {
  position: absolute; inset: 14%; content: "";
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.96), rgba(91,146,255,0.1) 45%, transparent 70%);
  filter: blur(9px);
  animation: matrix-halo 4.2s ease-in-out infinite;
}
.ren-matrix-svg { position: relative; display: block; width: 100%; height: 100%; overflow: visible; }
.matrix-guide { fill: none; stroke: rgba(91,146,255,0.2); stroke-width: 0.75; stroke-dasharray: 2 5; }
.matrix-orbit { fill: none; stroke: rgba(91,146,255,0.66); stroke-width: 1.25; stroke-dasharray: 4 7; transform-box: fill-box; transform-origin: center; }
.matrix-orbit-a { animation: matrix-rotate 19s linear infinite; }
.matrix-orbit-b { stroke: rgba(226,155,57,0.66); stroke-dasharray: 2 8; animation: matrix-rotate-reverse 15s linear infinite; }
.orbit-node { stroke: #ffffff; stroke-width: 1.5; }
.orbit-node-cx { fill: var(--ember); }
.orbit-node-amb { fill: var(--cyan); }
.matrix-runes { fill: none; stroke: var(--cyan); stroke-width: 1.7; stroke-linecap: square; stroke-linejoin: miter; opacity: 0.9; animation: rune-pulse 3.6s ease-in-out infinite; }
.matrix-star .star-outer { fill: rgba(91,146,255,0.055); stroke: url("#renCoreGradient"); stroke-width: 1.45; }
.matrix-star .star-inner { fill: rgba(255,255,255,0.55); stroke: var(--ember); stroke-width: 1.15; }
.matrix-star .star-diamond { fill: rgba(138,111,242,0.055); stroke: rgba(138,111,242,0.85); stroke-width: 1.2; stroke-dasharray: 3 4; }
.matrix-star { transform-box: fill-box; transform-origin: center; animation: star-breathe 5.4s ease-in-out infinite; }
.matrix-core .core-halo { fill: url("#renHaloGradient"); opacity: 0.88; }
.matrix-core .core-ring { fill: rgba(255,255,255,0.86); stroke: var(--cyan); stroke-width: 1.8; stroke-dasharray: 3 3; }
.matrix-core .core-rune { fill: none; stroke: var(--cyan); stroke-width: 2.2; stroke-linejoin: miter; }
.matrix-core .core-point { fill: #fff7e9; stroke: var(--cyan); stroke-width: 2; }
.matrix-core { transform-box: fill-box; transform-origin: center; animation: core-pulse 2.8s ease-in-out infinite; }
.matrix-code { fill: rgba(16,22,38,0.62); font-family: "Share Tech Mono", monospace; font-size: 7px; letter-spacing: 1.1px; text-anchor: middle; }

@keyframes matrix-rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes matrix-rotate-reverse { from { transform: rotate(360deg); } to { transform: rotate(0deg); } }
@keyframes matrix-halo { 0%,100% { opacity: 0.56; transform: scale(0.96); } 50% { opacity: 1; transform: scale(1.04); } }
@keyframes rune-pulse { 0%,100% { opacity: 0.55; } 50% { opacity: 1; filter: drop-shadow(0 0 4px rgba(226,155,57,0.64)); } }
@keyframes star-breathe { 0%,100% { opacity: 0.84; transform: scale(0.98) rotate(0deg); } 50% { opacity: 1; transform: scale(1.025) rotate(1.5deg); } }
@keyframes core-pulse { 0%,100% { opacity: 0.78; transform: scale(0.92); } 50% { opacity: 1; transform: scale(1.08); } }

@media (prefers-reduced-motion: reduce) {
  .ren-matrix::before,
  .matrix-orbit-a, .matrix-orbit-b, .matrix-runes, .matrix-star, .matrix-core { animation: none !important; }
}

/* Hero-Layout mit dem Symbol */
.hero-with-mark { display: flex; align-items: center; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.hero-copy { flex: 1 1 420px; min-width: 0; }
.hero-mark-wrap { flex: 0 0 auto; display: flex; }
@media (max-width: 900px) {
  .hero-with-mark { justify-content: center; text-align: center; gap: 28px; }
  .hero-copy { flex-basis: 100%; }
  .page-eyebrow, .page-eyebrow::before { justify-content: center; }
  .page-lead { max-width: none; margin: 0 auto; }
  .ren-matrix { width: 160px; height: 160px; }
}

/* ═══════════════════════════════════════════════════════
   OEFFENTLICHER CHANGELOG (games_site-Format)
   Struktur 1:1 von games_site/changelog.html uebernommen
   (.public-log-entry mit Zeitmarke + Meta-Spalte + Copy-
   Spalte), Farben auf die Ayal-Tech-Palette umgestellt.
   Bewusst OHNE die Terminal-Fenster-Chrome (Kopfzeile,
   feste Scroll-Hoehe) -- core_site hat sonst nirgends ein
   Terminal-Widget, ein flach in die .section eingebetteter
   Verlauf passt konsistenter zum Rest der Seite.
═══════════════════════════════════════════════════════ */
.public-log-body { position: relative; }
.public-log-entry {
  position: relative;
  display: grid;
  grid-template-columns: minmax(96px, 128px) minmax(0, 1fr);
  gap: 18px;
  padding: 18px 4px 18px 24px;
  border-top: 1px solid var(--border);
}
.public-log-entry:first-child { border-top: 0; padding-top: 4px; }
.public-log-entry::before {
  content: '';
  position: absolute;
  left: 3px; top: 26px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ember);
  box-shadow: 0 0 10px rgba(91,146,255,0.55);
}
.public-log-meta {
  display: flex; flex-direction: column; gap: 6px;
  min-width: 0; padding-top: 2px;
  color: var(--ember);
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px; line-height: 1.35; letter-spacing: 0.12em;
  text-transform: uppercase;
}
.public-log-meta span {
  color: var(--cyan);
  font-size: 8px; letter-spacing: 0.2em;
}
.public-log-copy h3 {
  margin: 0;
  font-family: 'Rajdhani', sans-serif; font-weight: 700;
  color: var(--text);
  font-size: 15px; line-height: 1.45; letter-spacing: 0.01em;
  text-transform: none;
}
.public-log-copy p {
  margin: 5px 0 0;
  color: var(--text-sub);
  font-size: 13.5px; line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════
   LOG-FENSTER (games_site-Mechanik, core_site-Design)
   1:1 uebernommene STRUKTUR von games_site/changelog.html:
   begrenzte Fensterhoehe pro Entwicklungsphase mit internem
   Scroll statt einer endlos wachsenden Seite (games_site
   loeste genau dieses Problem in v1.1.1.58). Farben/Ton auf
   Ayal-Tech umgestellt -- der schrille Orange-Puls von
   games_site passt nicht zur ruhigeren Porzellan-Flaeche,
   die MECHANIK (Fresh-Badge, Fenster, Scroll) ist identisch.
═══════════════════════════════════════════════════════ */
.current-stand-row {
  display: flex; gap: 14px; flex-wrap: wrap; align-items: center;
  margin-bottom: 8px;
}
.status-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 100px;
  font-family: 'Share Tech Mono', monospace; font-size: 9px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
}
.status-badge.status-alpha { background: var(--ember-dim); color: var(--ember); border: 1px solid rgba(91,146,255,0.30); }
.status-badge.status-beta  { background: var(--cyan-dim); color: var(--cyan); border: 1px solid rgba(226,155,57,0.32); opacity: 0.75; }
#core-changelog-stand-ts {
  display: inline-flex; align-items: center; gap: 0.42em;
  font-family: 'Share Tech Mono', monospace; font-size: 10px; font-weight: 600;
  color: var(--text-sub); letter-spacing: 0.1em;
  padding: 6px 12px; border-radius: 100px;
  border: 1px solid var(--border); background: var(--surface);
  white-space: nowrap;
}
#core-changelog-stand-ts[data-fresh="1"] {
  background: var(--ember-dim); border-color: var(--ember); color: var(--ember);
  animation: coreFreshPulse 2.4s ease-in-out infinite;
}
@keyframes coreFreshPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(91,146,255,0.35); }
  50%      { box-shadow: 0 0 0 6px rgba(91,146,255,0); }
}
@media (prefers-reduced-motion: reduce) {
  #core-changelog-stand-ts[data-fresh="1"] { animation: none !important; }
}

.public-log-window {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, var(--surface) 100%);
  box-shadow: 0 18px 46px rgba(16,22,38,0.07);
  margin-bottom: 24px;
}
.public-log-window--alpha { border-color: rgba(91,146,255,0.30); }
.public-log-window--beta  { border-color: rgba(226,155,57,0.24); opacity: 0.7; }

/* v1.1.2.02: JEDES Fenster bekommt dieselbe begrenzte Hoehe (max. ~3 Eintraege
   sichtbar, Rest scrollbar), nicht nur Alpha -- "pro Log-Fenster", nicht nur
   fuer das aktuell groesste. ~300px entspricht bei den hier ueblichen
   Eintragslaengen etwa drei Zeilen; die genaue Zahl schwankt leicht mit
   Textlaenge und Viewport-Breite (gleiche Naeherung wie games_site's eigene
   "~4 Eintraege sichtbar"-Kalibrierung). */
.public-log-window .public-log-body {
  max-height: 300px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(91,146,255,0.35) rgba(16,22,38,0.04);
}
.public-log-window .public-log-body::-webkit-scrollbar { width: 8px; }
.public-log-window .public-log-body::-webkit-scrollbar-track { background: rgba(16,22,38,0.03); }
.public-log-window .public-log-body::-webkit-scrollbar-thumb { background: rgba(91,146,255,0.35); border-radius: 8px; }
.public-log-window .public-log-body::-webkit-scrollbar-thumb:hover { background: rgba(91,146,255,0.55); }
.public-log-window::after {
  content: '';
  position: absolute; left: 1px; right: 1px; bottom: 1px; height: 32px;
  background: linear-gradient(180deg, transparent, var(--surface) 88%);
  border-radius: 0 0 17px 17px;
  pointer-events: none;
}
/* Locked/leere Fenster (Beta, solange ohne Eintraege) brauchen weder Scroll
   noch Fade -- der Hinweistext ist kurz genug, um komplett zu passen. */
.public-log-window--beta .public-log-body,
.public-log-window[data-log-state="locked-future"] .public-log-body {
  max-height: none;
  overflow-y: visible;
}
.public-log-window--beta::after,
.public-log-window[data-log-state="locked-future"]::after {
  content: none;
}

.public-log-head {
  position: relative; display: flex; justify-content: space-between; gap: 16px;
  align-items: flex-start; padding: 18px 20px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(90deg, var(--ember-dim), var(--cyan-dim), transparent);
}
.public-log-kicker {
  margin-bottom: 7px; color: var(--ember);
  font-family: 'Share Tech Mono', monospace; font-size: 9px; letter-spacing: 0.24em; text-transform: uppercase;
}
.public-log-head h2 {
  margin: 0; font-family: 'Rajdhani', sans-serif; font-weight: 700;
  font-size: clamp(17px, 4vw, 24px); line-height: 1.2; letter-spacing: 0.04em;
  color: var(--text); text-transform: uppercase;
}
.public-log-head p { margin: 8px 0 0; max-width: 640px; color: var(--text-sub); font-size: 12.5px; line-height: 1.65; }
.public-log-chip {
  flex: 0 0 auto; border: 1px solid var(--border-mid); border-radius: 999px;
  padding: 7px 12px; color: var(--text-sub); background: var(--surface);
  font-family: 'Share Tech Mono', monospace; font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase;
  white-space: nowrap;
}

/* Zeitmarken-Punktfarbe je Fenster -- passt zur bereits vorhandenen
   .public-log-entry-Basis-CSS von vorhin, nur je Fenstertyp variiert. */
.public-log-window--beta .public-log-entry::before {
  background: var(--cyan); box-shadow: 0 0 10px rgba(226,155,57,0.6);
}
.public-log-window--beta .public-log-entry {
  filter: grayscale(0.3);
}
.public-log-locked-note {
  display: flex; align-items: center; gap: 10px;
  padding: 22px 20px; color: var(--text-muted);
  font-family: 'Share Tech Mono', monospace; font-size: 11px; letter-spacing: 0.08em;
}

@media (max-width: 640px) {
  .public-log-head { display: block; padding: 16px 16px; }
  .public-log-chip { display: inline-flex; margin-top: 12px; }
  .public-log-window .public-log-body { max-height: 260px; }
}

/* ═══════════════════════════════════════════════════════
   MEHR LEBEN + MEHR GOLD (v1.1.2.04)
   Vier gezielte Ergaenzungen statt eines Rundumschlags:
   1) Ambient-Hintergrund driftet leicht statt starr zu stehen
   2) Karten bekommen eine duenne, wandernde Kante (Blau->Gold->Blau)
   3) Status-Pillen atmen leicht statt flach dazustehen
   4) Die "Aktueller Stand"-Bubbles auf changelog.html bekommen einen
      rotierenden Zweifarb-Ring + atmenden Halo -- direkt von der
      Ren-Sternenmatrix abgeleitet (zwei Orbits, Blau + Gold, plus Halo-Puls),
      nur auf Pillen-Groesse herunterskaliert statt der vollen SVG.
   Alles per prefers-reduced-motion abschaltbar, wie der Rest der Seite.
═══════════════════════════════════════════════════════ */

/* 1) Ambient-Drift */
.ambient::before { animation: ambientDriftA 22s ease-in-out infinite; }
.ambient::after  { animation: ambientDriftB 26s ease-in-out infinite; }
@keyframes ambientDriftA {
  0%,100% { transform: translate(0,0) scale(1); }
  50%     { transform: translate(3%, 4%) scale(1.08); }
}
@keyframes ambientDriftB {
  0%,100% { transform: translate(0,0) scale(1); }
  50%     { transform: translate(-4%, -3%) scale(1.1); }
}

/* 2) Wandernde Kante auf Karten -- Blau -> Gold -> Blau, sehr dezent */
.paper-card, .meta-card, .img-card {
  position: relative;
  overflow: hidden;
}
.paper-card::before, .meta-card::before, .img-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--ember) 35%, var(--cyan) 50%, var(--ember) 65%, transparent);
  background-size: 220% 100%;
  animation: edgeDrift 7s linear infinite;
  opacity: 0.65;
}
@keyframes edgeDrift {
  0%   { background-position: 120% 0%; }
  100% { background-position: -20% 0%; }
}

/* 3) Status-Pillen atmen */
.status-live, .arch-status.status-live {
  animation: pillBreatheBlue 3.4s ease-in-out infinite;
}
.status-active, .arch-status.status-active {
  animation: pillBreatheGold 3.1s ease-in-out infinite;
}
@keyframes pillBreatheBlue {
  0%,100% { box-shadow: 0 0 0 0 rgba(91,146,255,0.28); }
  50%     { box-shadow: 0 0 8px 1px rgba(91,146,255,0.28); }
}
@keyframes pillBreatheGold {
  0%,100% { box-shadow: 0 0 0 0 rgba(226,155,57,0.30); }
  50%     { box-shadow: 0 0 8px 1px rgba(226,155,57,0.30); }
}

/* 4) Ren-Echo: rotierender Zweifarb-Ring + Halo fuer die Stand-Bubbles.
   ::before = duenner rotierender Ring (Maskentechnik, folgt der Pillenform
   ueber border-radius: inherit). ::after = weicher atmender Halo dahinter. */
.ren-echo { position: relative; }
.ren-echo::before {
  content: '';
  position: absolute; inset: -3px;
  border-radius: inherit;
  padding: 1.4px;
  background: conic-gradient(from 0deg, var(--ember), var(--cyan), var(--ember), var(--cyan), var(--ember));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0.8;
  animation: matrix-rotate 7s linear infinite;
  pointer-events: none;
}
.ren-echo::after {
  content: '';
  position: absolute; inset: -7px;
  border-radius: inherit;
  background: radial-gradient(circle, rgba(91,146,255,0.22), transparent 72%);
  filter: blur(5px);
  animation: matrix-halo 4.2s ease-in-out infinite;
  pointer-events: none;
  z-index: -1;
}

@media (prefers-reduced-motion: reduce) {
  .ambient::before, .ambient::after,
  .paper-card::before, .meta-card::before, .img-card::before,
  .status-live, .arch-status.status-live,
  .status-active, .arch-status.status-active,
  .ren-echo::before, .ren-echo::after {
    animation: none !important;
  }
}
