/* 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.4;
    font-size: 14px;
}

/* 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;
    text-decoration: none;
    color: #fff;
}

.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: 30px;
    background: #0a0a0a;
    padding: 15px;
    border: 1px solid #222;
}

.event-card h3 {
    font-size: 24px;
    margin-bottom: 5px;
}

.header-content {
    flex-grow: 1;
}

.event-dates-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 5px;
}

.event-dates {
    color: #888;
    font-size: 14px;
    margin-bottom: 0;
    flex-shrink: 0;
}

.event-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.action-btn {
    background: transparent;
    border: none;
    color: #555;
    font-size: 11px;
    font-family: inherit;
    font-weight: bold;
    letter-spacing: 0.5px;
    cursor: pointer;
    padding: 0;
    text-decoration: none;
    transition: color 0.2s;
    white-space: nowrap;
}
.action-btn:hover { color: #fff; }
.action-btn.ticket-btn { color: #fff; text-decoration: underline; }
.action-btn.ticket-btn:hover { color: #ffb74d; }
.action-btn.copied { color: #39FF14 !important; }

.floor-title {
    margin-top: 15px;
    margin-bottom: 10px;
    font-size: 16px;
    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;
    flex-wrap: wrap;
    align-items: baseline;
    padding: 4px 0;
    border-bottom: 1px solid #1a1a1a;
    position: relative;
}
.hosting-tag {
    margin-left: auto;
    padding-left: 8px;
    font-size: 10px;
    font-style: italic;
    color: #555;
    white-space: nowrap;
    align-self: center;
}

.artist-row .time {
    width: 160px; 
    color: #888;
    font-family: monospace;
    font-size: 13px;
    white-space: nowrap; /* WICHTIG: Verhindert, dass die Uhrzeit jemals umbricht */
}

.artist-row .name {
    flex-grow: 1;
    font-weight: 500;
}

/* =========================================
   NEON-GREEN NOW PLAYING (Floor-Edition)
   ========================================= */

/* Die Floor-Überschrift als Container für Name & NOW */
.floor-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.5s ease;
    padding-right: 5px;
}

/* Der NOW-Indikator im Floor */
.floor-now {
    display: none; /* Standardmäßig unsichtbar */
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 2px;
    color: #39FF14;
    text-shadow: 0 0 8px rgba(57, 255, 20, 0.6);
    text-transform: uppercase;
}

/* Wenn auf dem Floor jemand spielt: Überschrift & NOW leuchten */
.floor-title.is-live {
    color: #39FF14;
    text-shadow: 0 0 10px rgba(57, 255, 20, 0.5);
}

.floor-title.is-live .floor-now {
    display: block;
}

/* Die Artist-Zeile pulsiert weiterhin neon-grün */
.artist-row.is-live {
    position: relative;
    border: 1px solid #39FF14;
    background: rgba(57, 255, 20, 0.05);
    border-radius: 4px;
    margin: 4px 0;
    animation: neon-pulse 2s infinite ease-in-out;
}

@keyframes neon-pulse {
    0% { border-color: rgba(57, 255, 20, 0.4); box-shadow: 0 0 5px rgba(57, 255, 20, 0.1); }
    50% { border-color: rgba(57, 255, 20, 1); box-shadow: 0 0 15px rgba(57, 255, 20, 0.3); background: rgba(57, 255, 20, 0.1); }
    100% { border-color: rgba(57, 255, 20, 0.4); box-shadow: 0 0 5px rgba(57, 255, 20, 0.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;
}

/* Styling für die klickbaren Artists im Timetable */
.artist-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.artist-link:hover {
    color: #39FF14; /* Jetzt geht's hier Matrix-mäßig ab! */
    text-decoration: underline;
}

.b2b-separator {
    font-size: 0.85em;
    opacity: 0.6;
    font-style: italic;
    margin: 0 4px;
}

/* Styling für die klickbaren Artists im Timetable */
.artist-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.artist-link:hover {
    color: #39FF14; 
    text-decoration: underline;
}

.b2b-separator {
    font-size: 0.85em;
    opacity: 0.6;
    font-style: italic;
    margin: 0 4px;
}

/* 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: 140px; 
        font-size: 12px; 
        margin-bottom: 0;
        flex-shrink: 0; 
        white-space: nowrap; 
    }
    .artist-row .name {
        font-size: 14px;
        line-height: 1.3;
        word-break: break-word; 
    }
}

/* =========================================
   STARTING SOON BANNER
   ========================================= */
.starting-soon-banner {
    color: #0f0;
    text-align: center;
    padding: 10px;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    /* Neue Anpassungen für die Mitte: */
    border-top: 1px solid rgba(248, 247, 246, 0.3);
    border-bottom: 1px solid rgba(248, 247, 246, 0.3);
    margin-bottom: 10px; 
    animation: pulse-banner 2s infinite ease-in-out;
}

@keyframes pulse-banner {
    0% { opacity: 0.6; text-shadow: 0 0 0 rgba(255,183,77,0); }
    50% { opacity: 1; text-shadow: 0 0 10px rgba(255, 255, 255, 0.6); }
    100% { opacity: 0.6; text-shadow: 0 0 0 rgba(255,183,77,0); }
}

/* ============================================================
   VIEW TOGGLE (LIST / TIMELINE)
   ============================================================ */
.view-toggle {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
}
.vt-btn {
    background: transparent;
    border: 1px solid #333;
    color: #555;
    padding: 4px 14px;
    font-size: 10px;
    font-weight: bold;
    letter-spacing: 1.5px;
    cursor: pointer;
    font-family: inherit;
    transition: color 0.15s, border-color 0.15s;
}
.vt-btn.is-active {
    border-color: #fff;
    color: #fff;
}
.vt-btn:hover:not(.is-active) {
    border-color: #666;
    color: #aaa;
}

/* ============================================================
   TIMELINE VIEW
   ============================================================ */
.tl-wrapper {
    padding-bottom: 8px;
}
.tl-grid {
    display: flex;
    position: relative;
}
.tl-now-line {
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: #39FF14;
    z-index: 10;
    pointer-events: none;
}
.tl-now-label {
    position: absolute;
    left: 4px;
    top: -14px;
    font-size: 9px;
    color: #39FF14;
    font-weight: bold;
    letter-spacing: 1px;
}
.tl-time-col {
    width: 50px;
    flex-shrink: 0;
}
.tl-col-header {
    height: 32px;
    display: flex;
    align-items: center;
    font-size: 10px;
    font-weight: bold;
    letter-spacing: 1px;
    border-bottom: 1px solid #2a2a2a;
    flex-shrink: 0;
}
.tl-time-col .tl-col-header {
    color: transparent; /* spacer */
}
.tl-time-labels {
    position: relative;
}
.tl-hour {
    position: absolute;
    font-size: 10px;
    color: #444;
    right: 6px;
    transform: translateY(-50%);
    white-space: nowrap;
}
.tl-floor-col {
    flex: 1;
    min-width: 0;
    border-left: 1px solid #1e1e1e;
    display: flex;
    flex-direction: column;
}
.tl-floor-col .tl-col-header {
    color: #aaa;
    font-size: 10px;
    justify-content: center;
    padding: 0 6px;
    transition: color 0.3s;
}
.tl-floor-col .tl-col-header.is-live {
    color: #39FF14;
    text-shadow: 0 0 8px rgba(57, 255, 20, 0.6);
}
.tl-col-body {
    position: relative;
    flex: 1;
}
.tl-hour-line {
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: #1a1a1a;
    pointer-events: none;
}
.tl-slot {
    position: absolute;
    left: 3px;
    right: 3px;
    background: #111;
    border: 1px solid #2a2a2a;
    border-left: 3px solid #333;
    padding: 4px 6px;
    overflow: hidden;
    box-sizing: border-box;
    cursor: default;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.tl-slot.is-live {
    border-left-color: #39FF14;
    background: rgba(57, 255, 20, 0.05);
    animation: neon-pulse 2s infinite ease-in-out;
}
.tl-slot-name {
    display: block;
    font-size: 11px;
    font-weight: bold;
    line-height: 1.3;
    word-break: break-word;
    overflow-wrap: break-word;
    position: relative;
    z-index: 11;
}
.tl-slot-name .artist-link {
    color: #fff;
    text-decoration: none;
}
.tl-slot-name .artist-link:hover { color: #39FF14; }
.tl-slot.is-live .tl-slot-name .artist-link { color: #fff; }
.tl-slot-time {
    display: block;
    font-size: 9px;
    color: #888;
    margin-top: 2px;
    position: relative;
    z-index: 11;
}
.tl-slot.is-live .tl-slot-time { color: #aaa; }
.tl-slot-hosting {
    display: block;
    font-size: 9px;
    font-style: italic;
    color: #666;
    margin-top: 3px;
    position: relative;
    z-index: 11;
}

}