:root {
    --background: #100B1A;
    --foreground: #F4EAF7;
    --accent: #FF4FD8;
    --cyan: #62D9E8;
    --muted: #B7A5C0;
    --line: rgba(244, 234, 247, 0.28);

    /* Typografische Rollen */
    --font-reading: 18px;
    --font-ui: 16px;
    --font-system: 15px;
    --font-meta: 14px;
    --font-micro: 13px;
}


/* =========================================================
   BASIS
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    margin: 0;
    min-height: 100vh;

    background: var(--background);
    color: var(--foreground);

    font-family:
        "DejaVu Sans Mono",
        "Liberation Mono",
        "Courier New",
        monospace;

    font-size: var(--font-reading);
    line-height: 1.65;
}


/* =========================================================
   HAUPT-CONTAINER
   ========================================================= */

.terminal {
    width: min(900px, calc(100% - 50px));
    min-height: 100vh;

    margin: 0 auto;
    padding: 65px 0 45px;

    display: flex;
    flex-direction: column;
}


/* =========================================================
   KOPF
   ========================================================= */

.terminal-title {
    color: var(--foreground);

    font-size: 1.65rem;
    font-weight: bold;

    letter-spacing: 0.08em;
    text-decoration: none;

    text-shadow:
        1px 0 var(--accent),
        -1px 0 var(--cyan);
}

.terminal-line {
    color: var(--accent);

    margin-top: 5px;

    font-size: 1rem;
    letter-spacing: 0.03em;
}

.terminal-subtitle {
    color: var(--accent);

    margin-top: 16px;

    font-size: 1rem;
    letter-spacing: 0.12em;
}


/* =========================================================
   SYSTEMSTATUS STARTSEITE
   ========================================================= */

.system-info {
    margin-top: 32px;
    padding-left: 2px;

    color: var(--muted);

    font-size: var(--font-system);
    line-height: 1.9;
}

.status-online {
    color: var(--cyan);

    animation: onlinePulse 4s steps(1, end) infinite;
}

@keyframes onlinePulse {
    0%,
    76%,
    100% {
        opacity: 1;
    }

    77% {
        opacity: 0.35;
    }

    79% {
        opacity: 1;
    }

    81% {
        opacity: 0.55;
    }

    83% {
        opacity: 1;
    }
}

.status-ok {
    color: var(--cyan);

    animation: okFlash 5s steps(1, end) infinite;
}

@keyframes okFlash {
    0%,
    90%,
    100% {
        opacity: 1;
    }

    91% {
        opacity: 0.2;
    }

    92% {
        opacity: 1;
    }
}

.status-mostly {
    color: var(--cyan);

    animation: mostlyPulse 3.7s steps(1, end) infinite;
}

@keyframes mostlyPulse {
    0%,
    62%,
    100% {
        opacity: 1;
    }

    63% {
        opacity: 0.35;
    }

    65% {
        opacity: 0.8;
    }

    66% {
        opacity: 0.25;
    }

    68% {
        opacity: 1;
    }
}

.status-open {
    color: var(--accent);
}

.status-coffee {
    color: var(--accent);

    animation: coffeeAlert 2.4s steps(1, end) infinite;
}

@keyframes coffeeAlert {
    0%,
    48%,
    100% {
        opacity: 1;
    }

    49% {
        opacity: 0.35;
    }

    51% {
        opacity: 1;
    }

    53% {
        opacity: 0.45;
    }

    55% {
        opacity: 1;
    }
}



/* =========================================================
   STARTSEITE · SYSTEMSTATUS EINFLUG
   ursprüngliches Flackern bleibt unverändert
   ========================================================= */

.system-info > div {
    opacity: 0;
    animation: homeStatusAppear 0.8s ease-out forwards;
}

.system-info > div:nth-child(1) { animation-delay: 0.2s; }
.system-info > div:nth-child(2) { animation-delay: 0.8s; }
.system-info > div:nth-child(3) { animation-delay: 1.4s; }
.system-info > div:nth-child(4) { animation-delay: 2.0s; }
.system-info > div:nth-child(5) { animation-delay: 2.6s; }

@keyframes homeStatusAppear {
    from {
        opacity: 0;
        transform: translateX(-5px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* =========================================================
   NAVIGATION
   ========================================================= */

.navigation {
    margin-top: 50px;
    padding: 26px 0;

    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.command {
    display: block;

    padding: 18px 14px;
    margin: 4px 0;

    color: var(--foreground);
    text-decoration: none;

    transition:
        background 0.12s ease,
        color 0.12s ease;
}

.command:hover {
    background: rgba(255, 79, 216, 0.08);
    color: var(--accent);
}

.command-title {
    font-size: 1.25rem;
    font-weight: bold;

    letter-spacing: 0.04em;
}

.prompt {
    color: var(--accent);

    margin-right: 12px;
}

.description {
    margin-left: 30px;
    margin-top: 5px;

    color: var(--muted);

    font-size: var(--font-meta);
    letter-spacing: 0.02em;
}


/* =========================================================
   STARTSEITE · SIGNAL-VORSCHAU · ENTWURF
   ========================================================= */

.signal-command .signal-preview {
    display: block;
}

.signal-preview-text { min-width: 0; }

.signal-number {
    color: var(--cyan);
    font-size: var(--font-system);
    font-weight: bold;
    letter-spacing: 0.08em;
}

.signal-home-title {
    margin-left: 30px;
    margin-top: 7px;
    color: var(--foreground);
    font-size: 1.16rem;
    font-weight: bold;
    line-height: 1.35;
    letter-spacing: 0.02em;
}

.signal-home-tags { margin-top: 7px; }



.signal-command:hover .signal-home-title { color: var(--accent); }

/* =========================================================
   SYSTEMMELDUNG
   ========================================================= */

.message {
    margin-top: 45px;

    color: var(--muted);

    font-size: var(--font-system);
    line-height: 1.9;
}

.highlight {
    color: var(--foreground);

    margin-top: 2px;
}


/* =========================================================
   CURSOR
   ========================================================= */

.ready {
    margin-top: 24px;

    color: var(--cyan);

    font-size: var(--font-system);
}

.cursor {
    display: inline-block;

    width: 10px;
    height: 17px;

    margin-left: 5px;
    vertical-align: -2px;

    background: var(--accent);

    animation: cursorBlink 1s steps(1, end) infinite;
}

@keyframes cursorBlink {
    0%,
    45% {
        opacity: 1;
    }

    46%,
    100% {
        opacity: 0;
    }
}


/* =========================================================
   INHALTSSEITEN
   ========================================================= */

.page-content {
    margin-top: 45px;
    padding: 0 4px;
}

.back-link {
    display: inline-block;

    margin-bottom: 28px;

    color: var(--muted);
    text-decoration: none;

    font-size: var(--font-ui);
    letter-spacing: 0.05em;

    transition:
        color 0.12s ease,
        transform 0.12s ease;
}

.back-link:hover {
    color: var(--accent);
    transform: translateX(-3px);
}

.page-path {
    color: var(--cyan);

    font-size: 0.85rem;
    letter-spacing: 0.08em;

    margin-bottom: 12px;
}

.page-rule {
    color: var(--line);

    font-size: 0.9rem;

    overflow: hidden;
    white-space: nowrap;

    margin-bottom: 38px;
}


/* =========================================================
   ARTIKEL
   ========================================================= */

article {
    max-width: 760px;

    color: var(--foreground);

    font-size: 0.95rem;
    line-height: 1.8;
}

article h1 {
    margin: 0 0 35px;

    color: var(--foreground);

    font-size: 1.55rem;
    letter-spacing: 0.05em;
}

article h2 {
    margin-top: 42px;
    margin-bottom: 15px;

    color: var(--accent);

    font-size: 1.05rem;
    letter-spacing: 0.04em;
}

article h3 {
    margin-top: 32px;

    color: var(--cyan);

    font-size: 0.95rem;
}

article p {
    margin: 0 0 20px;
}

article a {
    color: var(--cyan);

    text-decoration: none;

    border-bottom: 1px dotted var(--cyan);
}

article a:hover {
    color: var(--accent);

    border-bottom-color: var(--accent);
}

article ul,
article ol {
    margin: 20px 0 25px;

    padding-left: 30px;
}

article li {
    margin-bottom: 8px;
}


/* =========================================================
   DATENSCHUTZ · SYSTEMSTATUS OBEN
   ========================================================= */

.system-status {
    margin: 30px 0 40px;

    padding: 20px 0;

    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);

    font-size: var(--font-system);
    line-height: 1.8;
}

.system-row {
    display: grid;

    grid-template-columns: 190px 1fr;

    align-items: baseline;

    min-height: 1.8em;
}

.system-row span {
    color: var(--muted);

    white-space: nowrap;
}

.system-row strong {
    color: var(--cyan);

    font-weight: normal;

    letter-spacing: 0.04em;
}

.system-row:first-child strong {
    color: var(--accent);

    font-weight: bold;
}



/* =========================================================
   SYSTEMSTATUS · EINFLUG WIE IM IMPRESSUM
   ========================================================= */

.system-status .system-row {
    opacity: 0;
    animation: systemStatusAppear 0.8s ease-out forwards;
}

.system-status .system-row:nth-child(1) { animation-delay: 0.2s; }
.system-status .system-row:nth-child(2) { animation-delay: 0.8s; }
.system-status .system-row:nth-child(3) { animation-delay: 1.4s; }
.system-status .system-row:nth-child(4) { animation-delay: 2.0s; }
.system-status .system-row:nth-child(5) { animation-delay: 2.6s; }
.system-status .system-row:nth-child(6) { animation-delay: 3.2s; }

@keyframes systemStatusAppear {
    from {
        opacity: 0;
        transform: translateX(-5px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* =========================================================
   SYSTEMSTATUS · INDIVIDUELLE ANIMATIONEN
   ========================================================= */

.system-row:nth-child(2) strong {
    animation: systemTracking 4.3s steps(1, end) 0.8s infinite;
}

.system-row:nth-child(3) strong {
    animation: systemAdvertising 5.1s steps(1, end) 1.4s infinite;
}

.system-row:nth-child(4) strong {
    animation: systemAnalytics 3.9s steps(1, end) 2.0s infinite;
}

.system-row:nth-child(5) strong {
    animation: systemFonts 5.7s steps(1, end) 2.6s infinite;
}

.system-row:nth-child(6) strong {
    animation: systemCookies 4.6s steps(1, end) 3.2s infinite;
}

@keyframes systemTracking {
    0%,
    86%,
    100% {
        opacity: 1;
    }

    87% {
        opacity: 0.3;
    }

    89% {
        opacity: 1;
    }
}

@keyframes systemAdvertising {
    0%,
    73%,
    100% {
        opacity: 1;
    }

    74% {
        opacity: 0.25;
    }

    76% {
        opacity: 1;
    }

    78% {
        opacity: 0.55;
    }

    80% {
        opacity: 1;
    }
}

@keyframes systemAnalytics {
    0%,
    91%,
    100% {
        opacity: 1;
    }

    92% {
        opacity: 0.35;
    }

    94% {
        opacity: 1;
    }
}

@keyframes systemFonts {
    0%,
    67%,
    100% {
        opacity: 1;
    }

    68% {
        opacity: 0.25;
    }

    70% {
        opacity: 1;
    }
}

@keyframes systemCookies {
    0%,
    79%,
    100% {
        opacity: 1;
    }

    80% {
        opacity: 0.3;
    }

    82% {
        opacity: 1;
    }

    84% {
        opacity: 0.5;
    }

    86% {
        opacity: 1;
    }
}


/* =========================================================
   DATENSCHUTZ · STATUS UNTEN
   ========================================================= */

.privacy-status {
    margin: 30px 0 40px;

    padding: 22px 0;

    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);

    font-size: var(--font-system);
    line-height: 1.8;
}

.privacy-row {
    display: grid;

    grid-template-columns: 190px 1fr;

    align-items: baseline;

    min-height: 1.8em;
}

.privacy-row span {
    color: var(--muted);

    white-space: nowrap;
}

.privacy-row strong {
    color: var(--cyan);

    font-weight: normal;

    letter-spacing: 0.04em;
}

.privacy-row:first-child strong {
    color: var(--accent);

    font-weight: bold;
}

.privacy-gap {
    margin-top: 14px;
}



/* =========================================================
   DATENSCHUTZ · STATUS UNTEN · EINFLUG
   bestehende Status-Animationen bleiben erhalten
   ========================================================= */

.privacy-status .privacy-row {
    opacity: 0;
    animation: privacyStatusAppear 0.8s ease-out forwards;
}

.privacy-status .privacy-row:nth-child(1) { animation-delay: 0.2s; }
.privacy-status .privacy-row:nth-child(2) { animation-delay: 0.8s; }
.privacy-status .privacy-row:nth-child(3) { animation-delay: 1.4s; }
.privacy-status .privacy-row:nth-child(4) { animation-delay: 2.0s; }
.privacy-status .privacy-row:nth-child(5) { animation-delay: 2.6s; }
.privacy-status .privacy-row:nth-child(6) { animation-delay: 3.2s; }
.privacy-status .privacy-row:nth-child(7) { animation-delay: 3.8s; }
.privacy-status .privacy-row:nth-child(8) { animation-delay: 4.6s; }
.privacy-status .privacy-row:nth-child(9) { animation-delay: 5.2s; }

@keyframes privacyStatusAppear {
    from {
        opacity: 0;
        transform: translateX(-5px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}


/* =========================================================
   DATENSCHUTZSTATUS · INDIVIDUELLE ANIMATIONEN
   ========================================================= */

.privacy-row:nth-child(2) strong {
    animation: privacyStatus 3.8s steps(1, end) infinite;
}

.privacy-row:nth-child(3) strong {
    animation: privacyTracking 4.7s steps(1, end) infinite;
}

.privacy-row:nth-child(4) strong {
    animation: privacyAnalytics 5.4s steps(1, end) infinite;
}

.privacy-row:nth-child(5) strong {
    animation: privacyAdvertising 4.2s steps(1, end) infinite;
}

.privacy-row:nth-child(6) strong {
    animation: privacyFonts 6.1s steps(1, end) infinite;
}

.privacy-row:nth-child(7) strong {
    animation: privacyCookies 4.9s steps(1, end) infinite;
}

.privacy-row:nth-child(8) strong {
    animation: privacyHost 5.8s steps(1, end) infinite;
}

.privacy-row:nth-child(9) strong {
    animation: privacyFinal 4.5s steps(1, end) infinite;
}

@keyframes privacyStatus {
    0%,
    74%,
    100% {
        opacity: 1;
    }

    75% {
        opacity: 0.25;
    }

    77% {
        opacity: 1;
    }

    79% {
        opacity: 0.45;
    }

    81% {
        opacity: 1;
    }
}

@keyframes privacyTracking {
    0%,
    88%,
    100% {
        opacity: 1;
    }

    89% {
        opacity: 0.3;
    }

    91% {
        opacity: 1;
    }
}

@keyframes privacyAnalytics {
    0%,
    81%,
    100% {
        opacity: 1;
    }

    82% {
        opacity: 0.25;
    }

    84% {
        opacity: 1;
    }
}

@keyframes privacyAdvertising {
    0%,
    68%,
    100% {
        opacity: 1;
    }

    69% {
        opacity: 0.4;
    }

    71% {
        opacity: 1;
    }
}

@keyframes privacyFonts {
    0%,
    92%,
    100% {
        opacity: 1;
    }

    93% {
        opacity: 0.25;
    }

    95% {
        opacity: 1;
    }
}

@keyframes privacyCookies {
    0%,
    76%,
    100% {
        opacity: 1;
    }

    77% {
        opacity: 0.35;
    }

    79% {
        opacity: 1;
    }
}

@keyframes privacyHost {
    0%,
    84%,
    100% {
        opacity: 1;
    }

    85% {
        opacity: 0.25;
    }

    87% {
        opacity: 1;
    }
}

@keyframes privacyFinal {
    0%,
    63%,
    100% {
        opacity: 1;
    }

    64% {
        opacity: 0.3;
    }

    66% {
        opacity: 1;
    }

    68% {
        opacity: 0.5;
    }

    70% {
        opacity: 1;
    }
}


/* =========================================================
   IMPRESSUM · INTERSTELLARE RECHTSABTEILUNG
   ========================================================= */

.legal-terminal {
    margin: 35px 0 50px;
    padding-left: 2px;

    color: var(--cyan);

    font-size: var(--font-system);
    line-height: 1.8;
    letter-spacing: 0.04em;
}

.legal-line {
    opacity: 0;
    animation: legalAppear 1s ease-out forwards;
}

.legal-line-1 {
    animation-delay: 0.4s;
}

.legal-line-2 {
    animation-delay: 1.4s;
}

.legal-line-3 {
    animation-delay: 2.6s;
}

.legal-line-4 {
    animation-delay: 3.8s;
}

.legal-line-5 {
    animation-delay: 5.2s;
}

.legal-line-6 {
    animation-delay: 6.6s;
}

@keyframes legalAppear {
    from {
        opacity: 0;
        transform: translateY(3px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/* =========================================================
   STARTSEITE · ABSCHLUSSMELDUNG EINFLUG
   Cursor-Animation bei BEREIT bleibt unverändert
   ========================================================= */

.message-flight {
    opacity: 0;
    animation: messageFlightAppear 0.8s ease-out forwards;
}

.message-flight-1 { animation-delay: 0.2s; }
.message-flight-2 { animation-delay: 0.8s; }
.message-flight-3 { animation-delay: 1.6s; }
.message-flight-4 { animation-delay: 2.2s; }
.message-flight-5 { animation-delay: 3.0s; }

@keyframes messageFlightAppear {
    from {
        opacity: 0;
        transform: translateX(-5px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}



/* =========================================================
   STARTSEITE · ABSCHLUSSSTATUS
   ========================================================= */

.message-status {
    color: var(--cyan);
}

.message-status-position {
    animation: messageStatusPosition 7.8s steps(1, end) infinite;
}

.message-status-time {
    color: var(--accent);
    animation: messageStatusTime 9.6s steps(1, end) infinite;
}

.message .highlight {
    color: var(--accent);
}

@keyframes messageStatusPosition {
    0%, 89%, 100% { opacity: 1; }
    90% { opacity: 0.32; }
    92% { opacity: 1; }
}

@keyframes messageStatusTime {
    0%, 93%, 100% { opacity: 1; }
    94% { opacity: 0.4; }
    96% { opacity: 1; }
}


/* =========================================================
   FOOTER
   ========================================================= */

footer {
    margin-top: auto;

    padding-top: 75px;
}

.footer-line {
    color: var(--line);

    overflow: hidden;
    white-space: nowrap;

    font-size: 0.9rem;
}

.footer-navigation {
    display: flex;

    flex-wrap: wrap;

    gap: 24px;

    padding: 14px 2px;
}

.footer-navigation a {
    color: var(--muted);

    text-decoration: none;

    font-size: var(--font-meta);

    letter-spacing: 0.08em;
}

.footer-navigation a:hover {
    color: var(--accent);
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    :root {
        --font-reading: 17px;
        --font-ui: 15px;
        --font-system: 14px;
        --font-meta: 13px;
        --font-micro: 12px;
    }

    .terminal {
        width: calc(100% - 30px);

        padding-top: 40px;
    }

    .terminal-title {
        font-size: 1.3rem;
        letter-spacing: 0.04em;
    }

    .terminal-line {
        font-size: 0.8rem;
        overflow: hidden;
    }

    .terminal-subtitle {
        font-size: 0.85rem;
    }

    .system-info {
        font-size: var(--font-system);
        line-height: 1.9;
    }

    .navigation {
        margin-top: 40px;
        padding: 18px 0;
    }

    .command {
        padding: 17px 8px;
    }

    .command-title {
        font-size: 1.08rem;
    }

    .description {
        margin-left: 25px;
        margin-top: 5px;
        font-size: var(--font-meta);
    }

    .message {
        margin-top: 36px;
        font-size: var(--font-system);
    }

    .ready {
        font-size: var(--font-system);
    }

    .page-content {
        margin-top: 38px;
        padding: 0;
    }

    .back-link {
        margin-bottom: 24px;
        font-size: var(--font-ui);
    }

    .page-path {
        font-size: var(--font-meta);
    }

    .page-rule {
        margin-bottom: 30px;
        font-size: var(--font-meta);
    }

    article {
        font-size: var(--font-reading);
        line-height: 1.75;
    }

    article h1 {
        font-size: 1.3rem;
        margin-bottom: 28px;
    }

    article h2 {
        font-size: 0.98rem;
        margin-top: 36px;
    }

    .system-status,
    .privacy-status {
        font-size: var(--font-system);
    }

    .system-row,
    .privacy-row {
        grid-template-columns: 145px 1fr;
    }

    .legal-terminal {
        margin-top: 28px;
        margin-bottom: 40px;

        font-size: var(--font-system);
        line-height: 1.8;
        letter-spacing: 0.02em;
    }

    footer {
        padding-top: 55px;
    }

    .footer-navigation {
        gap: 16px;
    }

    .footer-navigation a {
        font-size: var(--font-meta);
    }
}
/* =========================================================
   IMPRESSUM · TERMINAL-ANIMATION
   ========================================================= */

.legal-terminal {
    margin: 35px 0 50px;
    padding-left: 2px;

    color: var(--cyan);

    font-size: var(--font-system);
    line-height: 1.9;
}

.legal-line {
    opacity: 0;
    animation: legalAppear 0.8s ease-out forwards;
}

/* einzelne Zeilen erscheinen nacheinander */

.legal-line-1  { animation-delay: 0.2s; }
.legal-line-2  { animation-delay: 0.8s; }
.legal-line-3  { animation-delay: 1.4s; }
.legal-line-4  { animation-delay: 2.0s; }

.legal-line-5  { animation-delay: 2.8s; }
.legal-line-6  { animation-delay: 3.4s; }
.legal-line-7  { animation-delay: 4.0s; }
.legal-line-8  { animation-delay: 4.6s; }
.legal-line-9  { animation-delay: 5.2s; }

.legal-line-10 { animation-delay: 6.0s; }
.legal-line-11 { animation-delay: 6.6s; }

.legal-line-12 { animation-delay: 7.4s; }
.legal-line-13 { animation-delay: 8.0s; }
.legal-line-14 { animation-delay: 8.6s; }
.legal-line-15 { animation-delay: 9.2s; }
.legal-line-16 { animation-delay: 9.8s; }

@keyframes legalAppear {
    from {
        opacity: 0;
        transform: translateX(-5px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}
/* =========================================================
   IMPRESSUM · ABSCHLIESSENDE SYSTEMMELDUNG
   ========================================================= */

.legal-terminal-final {
    margin-top: 65px;
    padding-top: 25px;

    border-top: 1px solid var(--line);
}

.final-line {
    opacity: 0;
    animation: finalAppear 1s ease-out forwards;
}

.final-line-1 {
    color: var(--accent);
    animation-delay: 0.5s;
}

.final-line-2 {
    animation-delay: 1.5s;
}

.final-line-3 {
    animation-delay: 2.5s;
}

.final-line-4 {
    animation-delay: 3.5s;
}

.final-line-5 {
    animation-delay: 4.5s;
}

.final-line-6 {
    animation-delay: 5.5s;
}

.final-line-7 {
    color: var(--cyan);
    animation-delay: 7s;
}

.final-line-8 {
    color: var(--muted);
    animation-delay: 8.5s;
}

@keyframes finalAppear {
    from {
        opacity: 0;
        transform: translateY(4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* =========================================================
   STARTSEITE · NAVIGATIONSAKTIVITÄT
   ========================================================= */

.command {
    animation: commandPulse 9s ease-in-out infinite;
}

.signal-command-0 {
    animation-delay: 0s;
}

.signal-command-1 {
    animation-delay: 2.7s;
}

.signal-command-2 {
    animation-delay: 5.1s;
}

.archive-command {
    animation-delay: 1.3s;
}

@keyframes commandPulse {
    0%,
    100% {
        background: rgba(255, 79, 216, 0);
    }

    50% {
        background: rgba(255, 79, 216, 0.035);
    }
}


/* =========================================================
   ARCHIV · FESTPLATTEN-AKTIVITÄT
   ========================================================= */

.archive-command .command-title::after {
    content: "·";

    display: inline-block;

    margin-left: 10px;

    color: var(--cyan);

    animation: archiveActivity 4.8s steps(1, end) infinite;
}

@keyframes archiveActivity {
    0%,
    18%,
    100% {
        opacity: 0.15;
    }

    19% {
        opacity: 1;
    }

    21% {
        opacity: 0.15;
    }

    23% {
        opacity: 1;
    }

    25% {
        opacity: 0.15;
    }

    62% {
        opacity: 0.15;
    }

    63% {
        opacity: 1;
    }

    65% {
        opacity: 0.15;
    }
}
/* =========================================================
   SIGNALE · ILLUSTRATIONEN
   ========================================================= */

.signal-content img {
    display: block;
    width: 100%;
    max-width: 620px;
    height: auto;
    margin: 32px auto;
}


.signal-preview {
    display: block;
}

.signal-preview-text {
    flex: 1;
    min-width: 0;
}

.signal-preview .command-title {
    white-space: nowrap;
}

/* =========================================================
   ARCHIV · BORDSPEICHER
   ========================================================= */

.archive-status {
    color: var(--cyan);
    font-family: inherit;
    margin-top: 24px;
    font-size: var(--font-system);
}
.archive-list {
    margin-top: 36px;
}

.archive-entry {
    display: block;
    padding: 18px 14px;
    margin: 8px 0;
    border-top: 1px solid var(--line);
    color: var(--foreground);
    text-decoration: none;
    transition:
        background 0.12s ease,
        color 0.12s ease;
}

.archive-entry:hover {
    background: rgba(98, 217, 232, 0.05);
    color: var(--cyan);
}

.archive-entry-number {
    color: var(--accent);
    margin-bottom: 6px;
}

.archive-entry-title {
    font-size: 1.05em;
}

.archive-entry-date {
    margin-top: 8px;
    color: var(--muted);
    font-size: 0.85em;
}
.archive-system-message {
    margin-top: 38px;
    padding: 14px 0;
    color: var(--cyan);
    font-size: var(--font-system);
}

.archive-prompt {
    color: var(--accent);
    margin-right: 8px;
}

.archive-cursor {
    color: var(--foreground);
    animation: archiveCursor 0.8s steps(1, end) infinite;
}

@keyframes archiveCursor {
    0%, 49% {
        opacity: 1;
    }

    50%, 100% {
        opacity: 0;
    }
}
.archive-state {
    display: inline-grid;
    vertical-align: baseline;
}

.archive-loading,
.archive-ready {
    grid-area: 1 / 1;
}

.archive-loading {
    animation: archiveLoadingText 3.2s steps(1, end) forwards;
}

.archive-ready {
    opacity: 0;
    color: var(--accent);
    animation:
        archiveReadyText 3.2s steps(1, end) forwards,
        archiveReadyBlink 8.7s steps(1, end) 3.2s infinite;
}

@keyframes archiveLoadingText {
    0%, 84% { opacity: 1; }
    85%, 100% { opacity: 0; }
}

@keyframes archiveReadyText {
    0%, 84% { opacity: 0; }
    85%, 100% { opacity: 1; }
}

@keyframes archiveReadyBlink {
    0%, 91%, 100% { opacity: 1; }
    92% { opacity: 0.3; }
    94% { opacity: 1; }
}
/* =========================================================
   ARCHIV · SEITENKOPF
   ========================================================= */

.archive-site-header {
    margin-bottom: 42px;
}

.archive-site-title {
    display: inline-block;
    color: var(--foreground);
    font-size: 1.65em;
    font-weight: bold;
    text-decoration: none;
    letter-spacing: 0.04em;
}

.archive-site-title:hover {
    color: var(--accent);
}

.archive-site-line {
    color: var(--accent);
    line-height: 1;
}

.archive-site-subtitle {
    margin-top: 8px;
    color: var(--cyan);
    font-size: 0.85em;
    letter-spacing: 0.12em;
}
.archive-page-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 24px 60px;
}
.archive-entry-image {
    width: 120px;
    height: auto;
}
.archive-entry-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.archive-entry-text {
    flex: 1;
    min-width: 0;
}

.archive-entry-image {
    flex-shrink: 0;
}
.archive-entry-number {
    font-size: var(--font-meta);
    letter-spacing: 0.08em;
}

.archive-entry-title {
    font-size: 1.15em;
    font-weight: bold;
}

.archive-entry-description {
    margin-top: 6px;
    color: var(--muted);
    font-size: var(--font-system);
}

.archive-entry-date {
    margin-top: 10px;
    font-size: var(--font-meta);
    letter-spacing: 0.05em;
}
@media (max-width: 600px) {

    .archive-entry-main {
        align-items: flex-start;
        gap: 16px;
    }

    .archive-entry-image {
        width: 90px;
    }

    .archive-page-wrapper {
        padding: 28px 18px 48px;
    }
}
.archive-count {
    color: var(--cyan);
    margin-top: 6px;
    font-size: var(--font-system);
}


/* =========================================================
   BORDCOMPUTER · SUBTILE STATUSAKTIVITÄT
   Gemeinsame, seltene Kontrollleuchten für die Website.
   ========================================================= */

.status-blink {
    animation: statusBlink 7.3s steps(1, end) infinite;
}

.status-blink-alt {
    animation: statusBlinkAlt 9.1s steps(1, end) infinite;
}

.status-blink-slow {
    animation: statusBlinkSlow 11.7s steps(1, end) infinite;
}

@keyframes statusBlink {
    0%, 86%, 100% { opacity: 1; }
    87% { opacity: 0.28; }
    89% { opacity: 1; }
}

@keyframes statusBlinkAlt {
    0%, 91%, 100% { opacity: 1; }
    92% { opacity: 0.38; }
    94% { opacity: 1; }
    96% { opacity: 0.62; }
    97% { opacity: 1; }
}

@keyframes statusBlinkSlow {
    0%, 94%, 100% { opacity: 1; }
    95% { opacity: 0.3; }
    97% { opacity: 1; }
}



/* =========================================================
   ARCHIV · BORDCOMPUTER EINFLUG
   bestehende Lade-/Cursoranimationen bleiben erhalten
   ========================================================= */

.archive-flight,
.brain-flight {
    opacity: 0;
    animation: archiveBoardAppear 0.8s ease-out forwards;
}

.archive-flight-top,
.brain-flight-top {
    animation-delay: 0.2s;
}

.archive-flight-bottom,
.brain-flight-bottom {
    animation-delay: 0.8s;
}

@keyframes archiveBoardAppear {
    from {
        opacity: 0;
        transform: translateX(-5px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.archive-legal-footer {
    margin-top: 44px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    font-size: var(--font-micro);
    color: var(--muted);
}

.archive-legal-footer a {
    color: var(--muted);
    text-decoration: none;
}

.archive-legal-footer a:hover {
    color: var(--accent);
}

.archive-legal-footer span {
    margin: 0 8px;
}


/* MAIL bleibt als rein dekorativer Footer-Text sichtbar. */
.footer-mail-text {
    color: var(--muted);
    font-size: var(--font-meta);
    letter-spacing: 0.08em;
}

.archive-legal-footer .archive-footer-mail {
    margin: 0;
    color: var(--muted);
    font-size: inherit;
    letter-spacing: inherit;
}
