/* =========================================
   1. SCHRIFTARTEN (LOKAL)
   ========================================= */
/* Montserrat (300, 400, 600) */
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 300; src: url('../fonts/montserrat-v31-latin-300.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 400; src: url('../fonts/montserrat-v31-latin-regular.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 600; src: url('../fonts/montserrat-v31-latin-600.woff2') format('woff2'); }

/* Oswald (400, 700) */
@font-face { font-family: 'Oswald'; font-style: normal; font-weight: 400; src: url('../fonts/oswald-v57-latin-regular.woff2') format('woff2'); }
@font-face { font-family: 'Oswald'; font-style: normal; font-weight: 700; src: url('../fonts/oswald-v57-latin-700.woff2') format('woff2'); }


/* =========================================
   2. THEMEN & FARBEN
   ========================================= */

/* STANDARD-THEME: RESONANZRAUM (Dunkel / Kupfer / Türkis) */
:root {
    --bg-color: #0a0a0a;          /* Tiefschwarz */
    --text-color: #e0e0e0;        /* Helles Grau */
    --headline-color: #E6B87D;    /* Kupfer/Gold */
    --accent-color: #40E0D0;      /* Türkis */
    --border-color: rgba(255,255,255, 0.15);
    
    --font-head: 'Oswald', sans-serif;
    --font-body: 'Montserrat', sans-serif;
}

/* THEME: VERWANDLUNG (Hell / Papier / Blau) */
body.theme-verwandlung {
    --bg-color: #f4f1ea;          
    --text-color: #2b2b2b;        
    --headline-color: #2b2b2b;    
    --accent-color: #5b7f95;      
    --border-color: rgba(0,0,0, 0.1);
}

/* =========================================
   3. BASIS LAYOUT & VIGNETTE
   ========================================= */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    transition: background-color 0.6s ease, color 0.6s ease;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

h1, h2, h3, .track-num, .icon {
    color: var(--headline-color);
    transition: color 0.6s ease;
}

/* =========================================
   4. NAVIGATION (SWITCH)
   ========================================= */
.album-nav {
    display: flex;
    justify-content: center;
    padding: 20px 0;
    position: sticky;
    top: 0;
    background-color: var(--bg-color); /* Dynamischer Hintergrund */
    z-index: 100;
    transition: background-color 0.6s ease;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 40px;
}

.nav-item {
    text-decoration: none;
    background: none;
    border: none;
    font-family: var(--font-head);
    font-size: 1.1rem;
    text-transform: uppercase;
    margin: 0 15px;
    cursor: pointer;
    color: var(--text-color);
    opacity: 0.5;
    transition: all 0.3s;
    letter-spacing: 1px;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
}

.nav-item:hover {
    opacity: 0.8;
}


/* Current (nicht klickbar) */
.nav-item.current {
    cursor: default;
    text-decoration: none;
}
.nav-item.active {
    opacity: 1;
    border-bottom: 2px solid var(--accent-color);
    color: var(--headline-color);
    font-weight: bold;
}


/* Badge (z.B. NEU) in der Album-Navigation */
.nav-item .badge {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 8px;
    font-size: 0.65em;
    line-height: 1;
    border-radius: 999px;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    letter-spacing: 0.8px;
    vertical-align: middle;
    opacity: 0.95;
}
.nav-item.active .badge {
    opacity: 1;
}


/* Hero-Badge für das neueste Album */
.release-badge {
    display: inline-block;
    margin-top: 10px;
    padding: 4px 10px;
    font-family: var(--font-head);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    opacity: 0.95;
}


/* Container Logik (Umschalten) */
.album-content {
    display: none;
    animation: fadeIn 0.8s ease;
}

.album-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* =========================================
   5. HEADER & COVER
   ========================================= */
.hero {
    text-align: center;
    margin-bottom: 3rem;
    padding-top: 2rem;
}

.cover-wrapper {
    margin-bottom: 2rem;
}

.album-cover {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 2px;
    transition: box-shadow 0.6s ease;
}

/* Standard Schatten (Verwandlung) */
.album-cover {
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

.artist-name {
    font-family: var(--font-head);
    text-transform: uppercase;
    font-size: 1.5rem;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.album-title {
    font-family: var(--font-head);
    font-size: 4rem;
    line-height: 1;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.label-name {
    font-size: 1.2rem;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =========================================
   6. ALBUM-SPEZIFISCHE SPEZIAL-EFFEKTE
   (pro Seite via assets/themes/*.css)
   ========================================= */

/* =========================================
   7. TEXT & BUTTONS (ALLGEMEIN)
   ========================================= */
/* Links im Fließtext */
p a {
    color: var(--accent-color);       /* Nimmt automatisch Türkis oder Blau */
    text-decoration: none;            /* Entfernt den Standard-Unterstrich */
    border-bottom: 1px solid transparent; /* Platzhalter für Linie */
    font-weight: 600;                 /* Fett, damit er auffällt */
    transition: all 0.3s ease;
}

p a:hover {
    color: var(--headline-color);     /* Hover: Wird Kupfer (Dunkel) bzw. Dunkelgrau (Hell) */
    border-bottom: 1px solid var(--headline-color); /* Eine feine Linie erscheint */
}   

.intro {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.intro p { margin-bottom: 1rem; }
.intro .highlight { font-weight: 600; margin-top: 1.5rem; color: var(--headline-color); }

.streaming-links { text-align: center; margin-bottom: 5rem; }
.streaming-links h3, .tracklist h3 {
    font-family: var(--font-head);
    font-size: 2rem;
    text-transform: uppercase;
    margin-bottom: 2rem;
    text-align: center;
}

.button-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; }

.btn {
    display: inline-block;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 2px;
    font-family: var(--font-head);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    font-size: 1rem;
}

/* Standard Primary (wird im Resonanzraum überschrieben s.o.) */
.btn.primary {
    background-color: var(--accent-color);
    color: #fff;
    border: 1px solid var(--accent-color);
}
.btn.primary:hover {
    background-color: transparent;
    color: var(--accent-color);
}

.btn.secondary {
    background-color: transparent;
    color: var(--text-color);
    border: 1px solid var(--border-color);
    font-size: 0.9rem;
}
.btn.secondary:hover { border-color: var(--accent-color); color: var(--accent-color); }

.btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
    box-shadow: none; /* Standard für Verwandlung */
}
.btn.disabled::after {
    content: ' (BALD)';
    font-size: 0.7em;
    opacity: 0.7;
    margin-left: 5px;
    vertical-align: middle;
}

/* =========================================
   8. TRACKLIST (GRID SYSTEM)
   ========================================= */
.tracklist { margin-bottom: 5rem; }
.instruction { text-align: center; font-size: 0.9rem; opacity: 0.6; margin-bottom: 2rem; }
.track-item { border-bottom: 1px solid var(--border-color); }

.track-header {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 15px 0;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-color);
    transition: opacity 0.2s;
    
    /* Grid für Mobile */
    display: grid;
    grid-template-columns: auto 1fr auto;
    column-gap: 15px;
    align-items: center;
}
.track-header:hover { opacity: 0.7; }

.track-num {
    font-family: var(--font-head);
    font-size: 1.2rem;
    opacity: 0.5;
    width: 30px;
    grid-column: 1; grid-row: 1 / span 2; 
    align-self: start; margin-top: 2px;
}
.track-title { font-weight: 600; text-transform: uppercase; grid-column: 2; grid-row: 1; }
.track-author { font-size: 0.8rem; opacity: 0.6; grid-column: 2; grid-row: 2; margin-top: 2px; display: block; }
.icon { font-family: var(--font-head); font-size: 1.5rem; line-height: 1; grid-column: 3; grid-row: 1 / span 2; }

.track-content { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; }
.poem-text { padding: 10px 20px 40px 50px; font-style: italic; opacity: 0.9; text-align: left; }
.poem-text p { margin-bottom: 1.5rem; }

/* Desktop Anpassung */
@media(min-width: 600px) {
    .poem-text { padding-right: 0; padding-left: 50px; }
    .track-header { display: flex; align-items: center; padding: 20px 0; }
    .track-num { width: auto; margin-right: 20px; margin-top: 0; align-self: center; }
    .track-title { flex-grow: 1; }
    .track-author { margin-top: 0; margin-right: 20px; }
    .album-title { font-size: 4rem; }
}
@media(max-width: 599px) {
    .album-title { font-size: 2.5rem; }
    .poem-text { padding-left: 0; text-align: left; font-size: 0.95rem; }
    .poem-text p { margin-bottom: 1.2rem; }
}

/* =========================================
   9. FOOTER & MODAL
   ========================================= */
footer { text-align: center; font-size: 0.8rem; opacity: 0.5; margin-bottom: 2rem; color: var(--text-color); }
footer a { color: inherit; text-decoration: underline; cursor: pointer; }

.modal { display: none; position: fixed; z-index: 200; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: rgba(0,0,0,0.8); backdrop-filter: blur(5px); }
.modal-content { background-color: var(--bg-color); color: var(--text-color); margin: 10% auto; padding: 40px; border: 1px solid var(--border-color); width: 90%; max-width: 600px; position: relative; box-shadow: 0 20px 50px rgba(0,0,0,0.5); }
.modal-content h2, .modal-content h3 { color: var(--headline-color); margin-top: 1.5rem; margin-bottom: 1rem; }
.close { color: var(--text-color); float: right; font-size: 28px; font-weight: bold; cursor: pointer; opacity: 0.5; }
.close:hover { opacity: 1; }