/* ==========================================================================
   1. LOKALE SCHRIFTARTEN (ORBITRON) - KLEINGESCHRIEBENE TTF-PFADE
   ========================================================================== */
@font-face {
    font-family: 'Orbitron';
    font-style: normal;
    font-weight: 400; /* Normaler Fließtext */
    src: url('fonts/orbitron-400.ttf') format('truetype');
}
@font-face {
    font-family: 'Orbitron';
    font-style: normal;
    font-weight: 500; /* Menüs und Sublines */
    src: url('fonts/orbitron-500.ttf') format('truetype');
}
@font-face {
    font-family: 'Orbitron';
    font-style: normal;
    font-weight: 700; /* Wichtige Markierungen / Logbuch-Titel */
    src: url('fonts/orbitron-700.ttf') format('truetype');
}
@font-face {
    font-family: 'Orbitron';
    font-style: normal;
    font-weight: 900; /* Große Hauptüberschriften */
    src: url('fonts/orbitron-900.ttf') format('truetype');
}


/* ==========================================================================
   2. GLOBALE EINSTELLUNGEN & HINTERGRUND
   ========================================================================== */
html {
    scroll-behavior: smooth;
    font-family: 'Orbitron', sans-serif; /* Die gesamte Seite nutzt Orbitron */
    color: #ffffff;
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    padding: 0;
    background-color: #030508; /* Extrem dunkles Schwarzblau */
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Fixierter Raumhintergrund */
.space-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}

/* Generierung und langsame Rotation der rötlich-weißen Sterne */
.stars {
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background-image:
        radial-gradient(circle, #ffffff 1px, transparent 1px),
        radial-gradient(circle, #ffcccc 1.5px, transparent 1.5px);
    background-size: 280px 280px, 350px 350px;
    background-position: 0 0, 40px 60px;
    opacity: 0.5;
    animation: rotateStars 300s linear infinite; /* 5 Minuten pro Umdrehung */
}

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

/* ==========================================================================
   3. HERO INTRO (DER EINSTIEGS-BILDSCHIRM)
   ========================================================================== */
.hero-entrance {
    position: relative;
    width: 100%;
    height: 100vh; /* Füllt exakt den ersten Bildschirm */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background: transparent;
}

.hero-logo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
    padding: 0 20px;
}

.hero-logo {
    max-width: 60%;
    width: 2000px;
    height: auto;
    filter: drop-shadow(0 0 30px rgba(161, 29, 29, 0.3));
    animation: floatStation 6s ease-in-out infinite; /* Sanftes Driften im All */
}

.hero-subline {
    font-weight: 500;
    font-size: 0.8rem;
    color: #a11d1d;
    letter-spacing: 4px;
    text-shadow: 0 0 10px rgba(161, 29, 29, 0.6);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 3px;
    animation: pulseScroll 2s infinite;
}

@keyframes floatStation {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

@keyframes pulseScroll {
    0% { opacity: 0.2; transform: translateY(0); }
    50% { opacity: 0.7; transform: translateY(5px); }
    100% { opacity: 0.2; transform: translateY(0); }
}

/* ==========================================================================
   LANGUAGE SWITCH
   ========================================================================== */

.language-switch {
    position: absolute;
    top: 25px;
    right: 30px;

    display: flex;
    align-items: center;
    gap: 8px;

    font-size: 0.75rem;
    letter-spacing: 2px;

    z-index: 10;
}

.language-switch button {
    background: transparent;
    border: none;

    padding: 4px;

    font-family: 'Orbitron', sans-serif;
    font-size: inherit;
    letter-spacing: inherit;

    color: rgba(255, 255, 255, 0.35);

    cursor: pointer;

    transition:
        color 0.3s ease,
        text-shadow 0.3s ease;
}

.language-switch button:hover {
    color: #ffcccc;
    text-shadow: 0 0 8px rgba(161, 29, 29, 0.7);
}

.language-switch button.active {
    color: #ffcccc;
    text-shadow: 0 0 10px rgba(161, 29, 29, 0.8);
}

.language-separator {
    color: rgba(161, 29, 29, 0.5);
}


/* ==========================================================================
   4. INHALTS-BEREICHE & TYPOGRAFIE
   ========================================================================== */
.content {
    margin-top: 0; /* Nahtloser Übergang nach dem Intro */
}

.section {
    min-height: 100vh; /* Jeder Abschnitt füllt ein volles Fenster beim Scrollen */
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    max-width: 850px;
    margin: 0 auto;
    box-sizing: border-box;
}

.section:not(:last-child) {
    border-bottom: 1px solid rgba(161, 29, 29, 0.1); /* Rötliche Trennlinien */
}

h2 {
    font-weight: 900;
    font-size: 2.6rem;
    margin-bottom: 20px;
    color: #f5f5f5;
    letter-spacing: 3px;
    text-shadow: 0 0 15px rgba(161, 29, 29, 0.4);
}

p {
    font-weight: 400;
    font-size: 0.95rem;
    line-height: 1.8;
    color: #ccd6f6;
    letter-spacing: 1px;
}

p strong {
    font-weight: 700;
    color: #ffcccc;
}

/* ==========================================================================
   5. INTERAKTIVES LOGBUCH (STORYBOARD)
   ========================================================================== */
.logbook-container {
    width: 100%;
    max-width: 700px;
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: left;
}

.log-entry {
    background: rgba(5, 8, 14, 0.7);
    border: 1px solid rgba(161, 29, 29, 0.2);
    border-radius: 6px;
    overflow: hidden;
    transition: box-shadow 0.3s, border-color 0.3s;
}

.log-entry[open] {
    border-color: rgba(161, 29, 29, 0.8);
    box-shadow: 0 0 15px rgba(161, 29, 29, 0.3);
}

.log-header {
    padding: 15px 20px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    background: rgba(161, 29, 29, 0.03);
    transition: background 0.2s;
    list-style: none; /* Versteckt Standard-Pfeil */
}

.log-header::-webkit-details-marker {
    display: none; /* Versteckt Standard-Pfeil in Chrome/Safari */
}

.log-header:hover {
    background: rgba(161, 29, 29, 0.12);
}

.log-status {
    color: #a11d1d;
    font-weight: 900;
    font-size: 0.85rem;
    margin-right: 15px;
    letter-spacing: 2px;
}

.log-title {
    flex-grow: 1;
    color: #f5f5f5;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.log-arrow {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    transition: transform 0.3s;
}

.log-entry[open] .log-arrow {
    transform: rotate(180deg);
    color: #a11d1d;
}

.log-content {
    padding: 20px;
    background: rgba(0, 0, 0, 0.4);
    border-top: 1px solid rgba(161, 29, 29, 0.2);
}

/* Der interne Sprunglink am Ende einer Story */
.transmission-link-wrapper {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
    border-top: 1px dashed rgba(161, 29, 29, 0.2);
    padding-top: 15px;
}

.btn-transmission {
    font-weight: 700;
    font-size: 0.85rem;
    color: #ffcccc;
    text-decoration: none;
    letter-spacing: 2px;
    padding: 8px 16px;
    background: transparent;
    border: 1px solid rgba(161, 29, 29, 0.4);
    border-radius: 4px;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(161, 29, 29, 0.1);
}

.btn-transmission:hover {
    color: #ffffff;
    background: rgba(161, 29, 29, 0.2);
    border-color: rgba(161, 29, 29, 0.8);
    box-shadow: 0 0 15px rgba(161, 29, 29, 0.4);
    transform: scale(1.02);
}

/* ==========================================================================
   6. AUDIO-TRANSMISSIONS (LOKALE PLAYER & PLATTFORM-BUTTONS)
   ========================================================================== */
.player-container {
    width: 100%;
    max-width: 650px;
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.local-player-box {
    background: rgba(5, 8, 14, 0.8);
    border: 1px solid rgba(161, 29, 29, 0.2);
    border-radius: 10px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.local-player-box:hover {
    border-color: rgba(161, 29, 29, 0.5);
    box-shadow: 0 10px 35px rgba(161, 29, 29, 0.15);
}

.track-title {
    font-weight: 700;
    font-size: 1.1rem;
    color: #f5f5f5;
    letter-spacing: 1px;
}

.custom-audio {
    width: 100%;
    max-width: 500px;
    height: 40px;
    border-radius: 20px;
    background: #030508;
    outline: none;
}

.music-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}

/* Basis-Styling für die Plattform-Buttons */
.btn {
    font-weight: 700;
    letter-spacing: 1px;
    padding: 8px 16px;
    border-radius: 15px;
    text-decoration: none;
    color: #ffffff;
    font-size: 0.8rem;
    transition: transform 0.2s, background-color 0.2s;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.btn:hover {
    transform: translateY(-2px);
}

/* Plattform-Farben beim Drüberfahren */
.amazon { background-color: #232f3e; }
.amazon:hover { background-color: #ff9900; color: #000000; border-color: #ff9900; }

.spotify { background-color: #121212; }
.spotify:hover { background-color: #1db954; border-color: #1db954; }

.youtube { background-color: #212121; }
.youtube:hover { background-color: #ff0000; border-color: #ff0000; }

/* ==========================================================================
   7. UNBELIEBTE ECKEN (KONTAKT, IMPRESSUM & FOOTER-LOGO)
   ========================================================================== */
.legal-grid {
    display: flex;
    gap: 40px;
    margin-top: 30px;
    width: 100%;
    max-width: 900px;
    flex-wrap: wrap;
}

.legal-box {
    flex: 1;
    min-width: 280px;
    background: rgba(0, 0, 0, 0.3);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.legal-box h3 {
    font-weight: 700;
    letter-spacing: 1.5px;
    font-size: 1.3rem;
    margin-top: 0;
    color: #f5f5f5;


    border-bottom: 1px solid rgba(161, 29, 29, 0.3);padding-bottom: 10px;margin-bottom: 15px;}.legal-box p {font-size: 0.95rem;line-height: 1.6;margin-bottom: 15px;}.text-left {text-align: left;}/* Das kleine Logo am Ende der Übertragung */.footer-logo-wrapper {margin-top: 60px;display: flex;flex-direction: column;align-items: center;gap: 15px;opacity: 0.6;transition: opacity 0.3s;}.footer-logo-wrapper:hover {opacity: 1;}.footer-logo {height: 80px;width: auto;filter: drop-shadow(0 0 15px rgba(161, 29, 29, 0.2));}.footer-signoff {font-size: 0.7rem;color: rgba(255, 255, 255, 0.4);letter-spacing: 2px;}

    @media (max-width: 600px) {

    .language-switch {
        top: 15px;
        right: 15px;

        font-size: 0.65rem;
        letter-spacing: 1px;
    }

}
