/* Grundlegende Resets */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background-color: #000;
    color: #fff;
    line-height: 1.6;
}

/* Header & Logo */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    position: sticky;
    top: 0;
    background-color: #000;
    z-index: 100;
    border-bottom: 1px solid #333;
}

/* Header & Logo */
.logo {
    display: flex;
    flex-direction: column;
}

.logo a {
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 2px;
}

.logo-subtitle {
    font-size: 10px;
    font-weight: normal;
    color: #888;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 2px;
}

/* Burgermenü Button */
.burger-menu {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 101;
}

.burger-menu span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: #fff;
    transition: 0.3s;
}

.burger-menu.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.burger-menu.open span:nth-child(2) {
    opacity: 0;
}

.burger-menu.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 300px;
    background-color: #111;
    padding-top: 80px;
    border-left: 1px solid #333;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    z-index: 99;
}

nav:not(.hidden) {
    transform: translateX(0);
}

nav ul {
    list-style: none;
}

nav ul li a {
    display: block;
    padding: 15px 20px;
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    border-bottom: 1px solid #222;
}

nav ul li a:hover {
    background-color: #222;
}

/* Main Content */
main {
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
}

h2 {
    margin-bottom: 30px;
    text-transform: uppercase;
    font-size: 20px;
    border-bottom: 2px solid #fff;
    padding-bottom: 5px;
}

/* Event Styling */
.event-card {
    margin-bottom: 60px;
    background: #0a0a0a;
    padding: 20px;
    border: 1px solid #222;
}

.event-card h3 {
    font-size: 28px;
    margin-bottom: 5px;
}

.event-dates {
    color: #888;
    margin-bottom: 0;
    font-size: 14px;
}

.header-content {
    flex-grow: 1;
}

.event-dates-row {
    display: flex;
    align-items: center;
    gap: 15px; /* Abstand zwischen Datum und Link */
    margin-top: 5px;
}

.event-dates {
    color: #888;
    font-size: 14px;
    margin-bottom: 0;
}

.ticket-wrapper {
    color: #888;
    font-size: 14px;
}

.ticket-link {
    color: #fff;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.ticket-link:hover {
    color: #ffb74d; /* Das einheitliche Gelb/Gold vom Timetable als Hover-Effekt */
}

.floor-title {
    margin-top: 25px;
    margin-bottom: 15px;
    font-size: 18px;
    color: #aaa;
    letter-spacing: 1px;
}

/* Lücke bei Neuöffnung eines Floors */
.reopening-gap {
    height: 24px;
    width: 100%;
}

/* Artist & Lineup Layout */
.artist-row {
    display: flex;
    padding: 8px 0;
    border-bottom: 1px solid #1a1a1a;
    position: relative;
}

.artist-row .time {
    width: 175px; 
    color: #888;
    font-family: monospace;
    font-size: 14px;
    white-space: nowrap; /* WICHTIG: Verhindert, dass die Uhrzeit jemals umbricht */
}

/* Wochentag-Farbe (Einheitliches Gelb/Gold) */
.artist-row .time span[class^="day-"] { 
    color: #ffb74d; 
}

.artist-row .name {
    flex-grow: 1;
    font-weight: 500;
}

.playing-indicator {
    display: none;
    color: #0f0;
    font-weight: bold;
    font-size: 12px;
    animation: blink 2s infinite;
}

/* Now Playing Highlight Logic */
.artist-row.is-playing {
    background-color: rgba(0, 255, 0, 0.1);
}

.artist-row.is-playing .name {
    color: #0f0;
}

.artist-row.is-playing .time {
    color: #0f0;
}

/* Wichtig: Das grüne Leuchten überschreibt die Wochentag-Farbe für den aktiven Act */
.artist-row.is-playing .time span[class^="day-"] {
    color: #0f0;
}

.artist-row.is-playing .playing-indicator {
    display: block;
}

@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 1; }
}

/* Accordion & Toggle Styles */
.event-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
    padding-bottom: 10px;
}

.toggle-icon {
    font-size: 32px;
    font-weight: 300;
    color: #888;
    transition: transform 0.3s;
}

.lineup-container {
    display: none;
    margin-top: 20px;
    border-top: 1px solid #222;
    padding-top: 10px;
}

.event-card.expanded .lineup-container {
    display: block;
}

.event-card.expanded .toggle-icon {
    transform: rotate(45deg);
    color: #fff;
}

/* Artist Search Input */
#search-input {
    width: 100%;
    padding: 15px 20px;
    font-size: 18px;
    background-color: #111;
    color: #fff;
    border: 1px solid #333;
    border-radius: 0;
    margin-bottom: 30px;
    outline: none;
    font-family: inherit;
    transition: border-color 0.3s;
}

#search-input:focus {
    border-color: #fff;
}

#search-input::placeholder {
    color: #666;
}

/* Mobile Adjustments - Kompakte Listenansicht */
@media (max-width: 600px) {
    .artist-row {
        flex-direction: row; 
        align-items: baseline; 
    }
    .artist-row .time {
        width: 155px; /* Etwas breiter für den Tag */
        font-size: 13px; 
        margin-bottom: 0;
        flex-shrink: 0; /* Sichert die Breite zusätzlich ab */
        white-space: nowrap; /* Sichert den Zeilenumbruch für Mobile ab */
    }
    .artist-row .name {
        font-size: 15px;
        line-height: 1.3;
        word-break: break-word; 
    }
}