/* =================================
   1. CSS RESET & GLOBAL STYLES
   ================================= */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
    line-height: 1.6;
    color: #E6E0F8;
    background-color: #0A0A1A;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex-grow: 1;
}

a {
    color: #8A2BE2;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #9370DB;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: #F8F4FF;
    margin-bottom: 0.8em;
    letter-spacing: -0.02em;
}

h1 { font-size: 3em; }
h2 { font-size: 2.5em; text-align: center; }
p { margin-bottom: 1em; }

.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

/* =================================
   2. BUTTON STYLES
   ================================= */
.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background-image: linear-gradient(45deg, #8A2BE2 0%, #4B0082 100%);
    color: #ffffff;
    padding: 14px 30px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 1em;
    border: none;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 10px 20px rgba(138, 43, 226, 0.3);
}

.btn-small {
    padding: 10px 22px;
    font-size: 0.9em;
}

.btn .button-text {
    position: relative;
    z-index: 2;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.btn:hover .button-text {
    opacity: 0;
    transform: translateX(-150%);
}

.btn .button-icon {
    position: absolute;
    z-index: 2;
    opacity: 0;
    transform: translateX(150%);
    transition: opacity 0.3s ease, transform 0.3s ease;
    font-size: 1.2em;
}

.btn:hover .button-icon {
    opacity: 1;
    transform: translateX(0);
}


/* =================================
   3. HEADER & NAVIGATION
   ================================= */
.main-header {
    background-color: rgba(10, 10, 26, 0.75);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-header .logo img {
    height: 40px;
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}
.main-header .logo:hover img {
    transform: scale(1.05);
}

.main-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
}

.main-nav ul li {
    margin-left: 35px;
}

.main-nav ul li a {
    font-weight: 500;
    color: #B0B0C0;
    font-size: 1.05em;
    position: relative;
    padding: 5px 0;
}

.main-nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #8A2BE2;
    transition: width 0.3s ease-in-out;
}

.main-nav ul li a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1001;
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
}

.hamburger {
    display: block;
    position: relative;
    width: 25px;
    height: 3px;
    background: white;
    transition: all 0.3s ease-in-out;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background: white;
    transition: all 0.3s ease-in-out;
}

.hamburger::before { top: -8px; }
.hamburger::after { bottom: -8px; }


/* =================================
   4. SECTION STYLES
   ================================= */
section {
    padding: 100px 0;
}

.hero-section {
    position: relative;
    height: 80vh;
    min-height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #ffffff;
    overflow: hidden;
}

.video-background {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: -1;
    filter: brightness(0.6);
}

/* NEU: Unsichtbares Overlay, um Opera-Button zu blockieren */
.video-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
}


.hero-content {
    text-shadow: 0 2px 15px rgba(0,0,0,0.5);
}

.hero-section h1 {
    font-size: 5em;
    font-weight: 800;
}

.hero-section p {
    font-size: 1.6em;
    max-width: 650px;
    margin: 0 auto 40px auto;
    color: rgba(255, 255, 255, 0.9);
}

.release-grid, .artist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.release-item, .artist-item {
    background: linear-gradient(145deg, rgba(40, 40, 69, 0.7), rgba(26, 26, 48, 0.5));
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
}

.release-item:hover, .artist-item:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 15px 35px rgba(138, 43, 226, 0.2);
    border-color: rgba(138, 43, 226, 0.7);
}

.release-item img, .artist-item img {
    max-width: 100%;
    border-radius: 12px;
    margin-bottom: 20px;
    transition: transform 0.4s ease;
}

.release-item:hover img,
.artist-item:hover img {
    transform: scale(1.07);
}

.artist-item img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px auto;
    border: 3px solid rgba(255, 255, 255, 0.1);
}

.release-item h3, .artist-item h3, .contact-box p {
    flex-grow: 1;
}

.release-item .btn-small, .artist-item .btn-small, .contact-box .btn-small, .contact-box .icon-text-link {
    margin-top: auto;
}

.release-item .btn-small {
    width: 100%;
    text-align: center;
    padding: 12px 15px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 8px;
}

.playlists-section {
    padding: 100px 20px;
    background-color: #0A0A1A;
}

.playlists-section > .container {
    max-width: none;
    padding: 0;
}

.playlist-embed-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1400px;
    margin: 50px auto 0 auto;
    padding: 0 40px;
}

.playlist-embed-grid iframe {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}

.contact-section .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    align-items: stretch;
}

.contact-box {
    background: linear-gradient(145deg, rgba(40, 40, 69, 0.7), rgba(26, 26, 48, 0.5));
    padding: 40px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.contact-box h3 { flex-grow: 1; }
.content-section { text-align: left; }
.content-section h2 { text-align: center; }
.content-section ul { list-style-position: inside; }

.form-container { max-width: 800px; margin: 0 auto; padding: 0 20px; }
.google-form-embed { width: 100%; height: 950px; border: 1px solid #333; border-radius: 8px; }


/* =================================
   5. FOOTER
   ================================= */
.main-footer {
    background-color: #050510;
    color: #9088B0;
    padding: 50px 0;
    font-size: 0.9em;
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.main-footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.main-footer p { margin-bottom: 0; }
.footer-links { display: flex; gap: 40px; }
.footer-links a {
    color: #B0B0C0;
    font-size: 0.9em;
    text-decoration: underline;
    text-decoration-color: rgba(176, 176, 192, 0.5);
    transition: all 0.3s ease;
}
.footer-links a:hover { color: #ffffff; text-decoration-color: #ffffff; }
.social-links { display: flex; gap: 25px; font-size: 1.6em; }
.social-links a { color: #B0B0C0; transition: all 0.3s ease; }
.social-links a:hover { color: #ffffff; transform: translateY(-3px); }


/* =================================
   6. ANIMATIONS & ENHANCEMENTS
   ================================= */
.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.2);
    border-top-color: #8A2BE2;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 40px auto;
}

@keyframes spin { to { transform: rotate(360deg); } }

.fade-in-section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}


/* =================================
   7. RESPONSIVE & MOBILE STYLES
   ================================= */
@media (max-width: 992px) {
    /* Tablet-Anpassung für Playlists */
    .playlist-embed-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }
}

@media (max-width: 767px) {
    h1 { font-size: 2.5em; }
    h2 { font-size: 1.8em; }
    .hero-section h1 { font-size: 3em; }
    .hero-section p { font-size: 1.2em; }
    section { padding: 60px 0; }

    /* --- Mobile Header & Navigation --- */
    .main-nav ul {
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(10, 10, 26, 0.98);
        padding-top: 100px;
        align-items: center;
        gap: 25px;
        z-index: 1000;
        display: flex;
        visibility: hidden;
        opacity: 0;
        transform: translateY(-100%);
        /* BEHOBEN: Sorgt dafür, dass die Transition in beide Richtungen funktioniert */
        transition: transform 0.5s cubic-bezier(0.7, 0, 0.2, 1), opacity 0.5s cubic-bezier(0.7, 0, 0.2, 1), visibility 0.5s;
    }

    .main-nav.is-active ul {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
    }

    .main-nav ul li { margin-left: 0; }
    .main-nav ul li a { font-size: 1.8rem; }
    .nav-toggle { display: flex; }
    .nav-toggle.is-active .hamburger { background: transparent; }
    .nav-toggle.is-active .hamburger::before { transform: rotate(45deg) translate(5px, 6px); }
    .nav-toggle.is-active .hamburger::after { transform: rotate(-45deg) translate(5px, -6px); }

    .release-grid, .artist-grid, .contact-section .container {
        grid-template-columns: 1fr;
    }
    
    .playlists-section { display: none; }
}