* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #000;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    scroll-behavior: smooth; 
}

.slice {
    display: block; 
    width: 100%; 
    height: 61.8vh;
    height: 61.8svh;
    object-fit: cover; 
    object-position: center; 
    position: sticky;
    top: 0;
    box-shadow: 0 -25px 50px rgba(0,0,0,1); 
}

.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

.text-panel {
    background-color: #000;
    color: #fff;
    position: sticky;
    top: 0;
    min-height: calc(100vh - 61.8vh);
    min-height: calc(100svh - 61.8svh);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 5vh 0;
    box-shadow: 0 -25px 50px rgba(0,0,0,1);
}

.text-panel h2 {
    font-size: 2rem;
    font-weight: 200;
    margin-bottom: 0px;
    letter-spacing: 1px;
}

.text-panel p {
    font-size: 1.5rem;
    font-weight: 150;
    max-width: 800px;
    line-height: 1.5;
    color: #ccc;
}

.text-panel a {
    color: #fff;
    text-decoration: none;
    transition: text-decoration 0.3s ease;
}

.text-panel a:hover {
    text-decoration: underline;
}

.text-panel a:visited {
    color: #fff;
}

.discography {
    position: sticky;
    top: 0;
    min-height: calc(100vh - 61.8vh);
    min-height: calc(100svh - 61.8svh);
    box-shadow: 0 -15px 30px rgba(0,0,0,0.8);
    background-color: #000;
    color: #fff; 
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 5vh 0;
}

.discography h2 {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 40px;
    letter-spacing: 1px;
    text-align: center;
}

.section-title {
    text-align: center;
    font-weight: 300;
    font-size: 2.5rem;
    letter-spacing: 1px;
    margin-bottom: 40px;
    color: #fff;
}

.scroll-container {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 0 5vw;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
}
.scroll-container::-webkit-scrollbar {
    display: none;
}

.album-item {
    position: relative;
    flex: 0 0 300px;
    height: 300px;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.3s ease;
    scroll-snap-align: center;
}

.album-item:hover {
    transform: scale(1.02);
}

.album-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.album-info {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.album-item:hover .album-info {
    opacity: 1;
    pointer-events: auto;
}

.album-info h3 { margin-bottom: 10px; font-size: 1.3rem; font-weight: 400; }
.album-info p { font-size: 0.9rem; margin-bottom: 5px; color: #ccc; }
.album-info a { margin-top: 15px; color: #fff; text-decoration: underline; font-size: 0.9rem; }
.album-info a:hover { color: #888; }

.click-hint {
    margin-top: 15px;
    font-size: 0.8rem;
    color: #1db954;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.spotify-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    z-index: 10;
    display: none;
}

.album-item.playing .spotify-container {
    display: block;
}
.album-item.playing .album-info {
    display: none;
}

.video-item {
    position: relative;
    flex: 0 0 480px;
    height: 270px;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.3s ease;
    background-color: #000;
    scroll-snap-align: center;
}

.video-item:hover {
    transform: scale(1.02);
}

.video-item img.video-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    transition: opacity 0.3s ease;
}

.youtube-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.youtube-container iframe {
    width: 100%;
    height: 100%;
}

.video-item.playing img.video-thumb {
    opacity: 0;
    pointer-events: none;
}

.video-item.playing .youtube-container {
    z-index: 3;
}

.video-panel {
    background-color: #000;
    color: #fff;
    position: sticky;
    top: 0; 
    min-height: calc(100vh - 61.8vh);
    min-height: calc(100svh - 61.8svh);
    box-shadow: 0 -15px 30px rgba(0,0,0,0.8);
    padding: 5vh 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.video-panel h2 {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 40px;
    letter-spacing: 1px;
    text-align: center;
}



#concertsound h2 {
    margin-bottom: 40px;
}

.gallery-item {
    position: relative;
    flex: 0 0 480px;      /* Gleiche Desktop-Breite wie deine Videos */
    height: 270px;        /* 16:9 Querformat */
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.3s ease;
    background-color: #000;
}

.gallery-item:hover {
    transform: scale(1.02);
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;    /* Schneidet die Bilder perfekt auf 16:9 zu */
    display: block;
}

/* Lightbox Fullscreen Styling */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    justify-content: center;
    align-items: center;
}

.lightbox-track {
    display: flex;
    width: 100%;
    height: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory; /* Zwingt den Browser, genau beim Bild einzurasten */
    scroll-behavior: smooth;
    -ms-overflow-style: none; /* Versteckt die Scrollbar im IE/Edge */
    scrollbar-width: none; /* Versteckt die Scrollbar in Firefox */
}

/* Versteckt die Scrollbar in Chrome/Safari */
.lightbox-track::-webkit-scrollbar {
    display: none; 
}

.lightbox-slide {
    flex: 0 0 100%; /* Jedes Bild nimmt exakt 100% der Bildschirmbreite ein */
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    scroll-snap-align: center; /* Das Bild zentriert sich beim Einrasten */
}

.lightbox-slide img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    user-select: none; /* Verhindert, dass man das Bild versehentlich blau markiert */
}

/* Styling für den App Store Button in der Lightbox */
.app-store-badge {
    position: absolute; /* Schwebt frei in der Lightbox */
    top: 30px;
    right: 40px;
    z-index: 9999; /* Liegt garantiert über allen Bildern und dem Hintergrund */
    cursor: pointer;
    transition: transform 0.2s ease;
    display: block; /* Wichtig für Links mit Bildern */
}

.app-store-badge:hover {
    transform: scale(1.05); /* Leichter Zoom, damit man merkt, dass er klickbar ist */
}

.app-store-badge img {
    height: 45px;
    width: auto;
    display: block;
}

@media (max-width: 768px) {
    .app-store-badge {
        top: 20px;
        right: 20px;
    }
    .app-store-badge img {
        height: 35px; /* Etwas kleiner auf Handys */
    }
}

.lightbox-nav {
    position: absolute;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}

.lightbox-nav button {
    background: none;
    border: none;
    color: white;
    font-size: 40px;
    cursor: pointer;
    padding: 20px;
}

footer {
    position: relative;
    width: 100%;
    background-color: #000; 
    overflow: hidden; 
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    padding: 60px 5vw 30px 5vw; 
}

footer .slice {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: scale-down; 
    object-position: left bottom;
    box-shadow: 0 -25px 50px rgba(0,0,0,1);
    z-index: 1; 
    opacity: 0.4;
}

.contact-info {
    position: relative;
    z-index: 2; 
    width: 100%;
    max-width: 400px;
    text-align: right;
}

.contact-info h2 {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 20px;
    color: #fff;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: right;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px 0;
    border: none;
    border-bottom: 1px solid #777; 
    background: transparent;
    font-family: inherit;
    font-size: 1rem;
    color: #fff;
    outline: none;
    transition: border-color 0.3s ease;
    text-align: right;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-bottom: 2px solid #fff;
}

.contact-form textarea {
    resize: none; 
}

.contact-form button {
    margin-top: 10px;
    padding: 15px 0;
    background-color: #fff;
    color: #000;
    border: none;
    font-size: 1rem;
    text-transform: lowercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.contact-form button:hover {
    background-color: #ccc;
    transform: translateY(-2px); 
}

@media (min-width: 768px), (orientation: landscape) {
    .contact-info {
        right: 5%;
        bottom: 5%;
    }
}

.AppLogo {
    width: 120px; 
    height: 120px; 
    object-fit: contain; 
    flex-shrink: 0; 
    margin: 20px 0; 
    border-radius: 22px; 
}

@media (max-width: 768px) {
    .video-item {
        flex: 0 0 90vw; 
        height: calc(90vw * (9 / 16)); 
    }
}

@media (max-height: 600px) and (orientation: landscape) {
    .discography, 
    .text-panel, 
    .video-panel {
        min-height: 70svh;
        padding: 2vh 0; 
    }

    .discography h2 {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }

    #concertsound h2 {
    margin-bottom: 15px;
    }

    .text-panel h2 {
        font-size: 1.5rem;
        margin-bottom: 0px;
    }

    .video-panel h2 {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }

    .album-item {
        height: 50svh; 
        flex: 0 0 50svh; 
    }

    .video-item {
        flex: 0 0 70vw; 
        height: calc(70vw * (9 / 16)); 
    }
}

@media (max-width: 768px) {
    .gallery-item {
        flex: 0 0 90vw; 
        height: calc(90vw * (9 / 16)); 
    }
}

@media (max-height: 600px) and (orientation: landscape) {
    .gallery-item {
        flex: 0 0 70vw; 
        height: calc(70vw * (9 / 16)); 
    }
}