/* Originalgestaltung, auf die eigenständige Aufzeichnung begrenzt. */
/* =============================================================================
   NOETISCHE WESEN – NERA / AUFZEICHNUNG 001
   Datei: assets/css/nw-nera.css
   Geltungsbereich: WordPress-Seite 5366

   1. Filmischer Einstieg und Hintergrundbild
   2. SVG-Lichtlinien und Animationen
   3. Einleitung, Titel und Startschaltfläche
   4. Erzählbereich: schwarzer Hintergrund, begrenzte Textzeilen
   5. Textdramaturgie: Startfreigabe und abschnittsweises Einblenden
   6. Responsive Gestaltung und reduzierte Bewegung

   Hinweis: Die Animation wird weiterhin durch das bestehende JavaScript
   gesteuert. Klassen wie .nera-started und .is-visible nicht umbenennen.
   Der Landschaftshintergrund außerhalb der Story wird hier NICHT geändert.
   ============================================================================= */

/* 1. FILMISCHER EINSTIEG ---------------------------------------------------- */
body.nera-recording .nera-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 75vh;
    min-height: 420px;
    max-height: 850px;
    overflow: hidden;
    background-color: #050b16;
    background-image:
        linear-gradient(rgba(0, 0, 0, .22), rgba(0, 0, 0, .42)),
        url("../../../../media/nera/images/Leuchtender-Energiefluss-im-Sternennebel.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    text-align: center;
}

/* 2. SVG-LICHTLINIEN -------------------------------------------------------- */
body.nera-recording .nera-hero svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

body.nera-recording .nera-hero .nera-lights {
    display: block;
    z-index: 1;
    overflow: visible;
}

body.nera-recording .nera-hero .light-base {
    fill: none;
    stroke: #42baff;
    stroke-width: 1.5;
    opacity: .32;
}

body.nera-recording .nera-hero .light-glow {
    fill: none;
    stroke: #ffd27a;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 24 180;
    filter: drop-shadow(0 0 4px #ffbd45) drop-shadow(0 0 9px #d99024);
    animation:
        nera-flow 28s linear infinite,
        nera-glow 8s ease-in-out infinite alternate,
        nera-drift 9s ease-in-out infinite;
    transform-box: fill-box;
    transform-origin: center;
}

body.nera-recording .nera-hero .light-glow.second {
    animation-duration: 36s, 11s, 12s;
    animation-delay: -9s, -3s, -4s;
}

body.nera-recording .nera-hero .light-glow.third {
    animation-duration: 42s, 9s, 15s;
    animation-delay: -18s, -5s, -7s;
}

@keyframes nera-flow {
    to { stroke-dashoffset: -183; }
}

@keyframes nera-glow {
    from { opacity: .35; }
    to { opacity: 1; }
}

@keyframes nera-drift {
    0%, 100% { transform: translateY(-4px); }
    50% { transform: translateY(4px); }
}

/* 3. HERO-TEXT UND STARTSCHALTFLÄCHE ---------------------------------------- */
body.nera-recording .nera-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 24px;
    box-sizing: border-box;
    text-align: center;
}

/* Tatsächliche Titelklasse statt eines unzuverlässigen h1-Selektors. */
body.nera-recording .nera-hero-title {
    min-height: 2.8em;
    margin: 0 0 28px;
    color: #fff;
    font-size: clamp(30px, 3.2vw, 52px);
    font-weight: normal;
    line-height: 1.25;
    letter-spacing: 1px;
    text-shadow: 0 0 18px rgba(0, 0, 0, .8);
    opacity: 1;
}

body.nera-recording .nera-start-button {
    display: inline-block;
    min-width: 210px;
    min-height: 58px;
    padding: 17px 34px;
    border: 1px solid rgba(255, 210, 122, .8);
    border-radius: 2px;
    background: rgba(0, 0, 0, .38);
    color: #ffd27a;
    font-size: clamp(17px, 1.25vw, 21px);
    line-height: 1.4;
    letter-spacing: 1px;
    cursor: pointer;
}

body.nera-recording .nera-start-button:hover {
    background: rgba(255, 210, 122, .12);
}

body.nera-recording .nera-start-button:disabled {
    opacity: .7;
    cursor: default;
}

/* Buchstabenweise Titelanimation; Startzeitpunkte steuert das JavaScript. */
body.nera-recording .nera-hero-title .nera-char {
    display: inline-block;
    opacity: 0;
    animation: nera-char-appear 180ms ease-out forwards;
}

@keyframes nera-char-appear {
    from {
        opacity: 0;
        filter: blur(5px);
        transform: translateY(3px);
        text-shadow: 0 0 16px #42baff;
    }
    to {
        opacity: 1;
        filter: blur(0);
        transform: translateY(0);
        text-shadow: 0 0 18px rgba(0, 0, 0, .8);
    }
}

/* 4. ERZÄHLBEREICH --------------------------------------------------------- */
/* Schwarz über volle Breite, Text maximal 1100px breit.
   Die seitliche Landschaft ist ein separates, später zu prüfendes Thema. */
body.nera-recording .nera-story {
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 30px max(48px, calc((100% - 1100px) / 2));
    background: #000;
    color: #d0d0d0;
    overflow-wrap: break-word;
}

body.nera-recording .nera-story p {
    font-size: clamp(17px, 1.25vw, 20px);
    line-height: 1.85;
}

body.nera-recording .nera-story .nera-eyebrow {
    margin: 0 0 24px;
    color: #f0a04b;
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

body.nera-recording .nera-story h1 {
    margin: 0 0 28px;
    color: #fff;
    font-size: 34px;
    font-weight: normal;
    line-height: 1.3;
}

body.nera-recording .nera-story .nera-accent {
    color: #f0a04b;
}

body.nera-recording .nera-story hr {
    border: 0;
    margin: 28px 0;
}

/* 5. TEXTDRAMATURGIE ------------------------------------------------------- */
/* Die Geschichte bleibt bis zum Klick verborgen. */
body.nera-recording .nera-story:not(.nera-started) {
    visibility: hidden;
}

body.nera-recording .nera-story.nera-started {
    visibility: visible;
}

/* Einzelne Textabschnitte werden durch JS mit .is-visible freigegeben. */
body.nera-recording .nera-story .nera-reveal {
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 1.1s ease, transform 1.1s ease;
}

body.nera-recording .nera-story.nera-started .nera-reveal.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

body.nera-recording .nera-story.nera-started .nera-reveal.is-visible.nera-accent {
    text-shadow: 0 0 12px rgba(240, 160, 75, .12);
}

/* Zusätzliche Absicherung für Text ohne .nera-reveal vor dem Start. */
body.nera-recording .nera-story:not(.nera-started) h1,
body.nera-recording .nera-story:not(.nera-started) p,
body.nera-recording .nera-story:not(.nera-started) hr,
body.nera-recording .nera-story:not(.nera-started) blockquote,
body.nera-recording .nera-story:not(.nera-started) ul,
body.nera-recording .nera-story:not(.nera-started) ol {
    opacity: 0;
    visibility: hidden;
}

/* 6. RESPONSIVE ------------------------------------------------------------ */
@media screen and (max-width: 800px) {
    body.nera-recording .nera-story {
        padding-left: 24px;
        padding-right: 24px;
    }
}

@media screen and (max-width: 600px) {
    body.nera-recording .nera-hero {
        min-height: 400px;
    }

    body.nera-recording .nera-story h1 {
        font-size: 29px;
    }
}

@media screen and (max-width: 520px) {
    body.nera-recording .nera-story {
        padding-left: 18px;
        padding-right: 18px;
    }

    body.nera-recording .nera-start-button {
        min-width: 190px;
        padding: 15px 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.nera-recording .nera-hero .light-glow {
        animation: none;
    }

    body.nera-recording .nera-hero-title .nera-char {
        animation: none;
        opacity: 1;
        filter: none;
        transform: none;
    }

    body.nera-recording .nera-story .nera-reveal {
        transition: none;
        transform: none;
    }
}




body.nera-recording{margin:0;background:#030710;color:#f4f4f5;font-family:Arial,sans-serif} .recording-nav{position:relative;z-index:3;padding:15px 22px;background:#030710}.recording-nav a{color:#f0c58b;text-decoration:none}
