/* =========================
   RESET
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background: #000;
    color: #fff;
    overflow-x: hidden;
	max-width: 100%;
}

/* =========================
   NAVIGATION
========================= */

nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 25px 50px;

    display: flex;
    justify-content: space-between;

    z-index: 1000;

    background: rgba(0,0,0,.35);
    backdrop-filter: blur(8px);
}

.logo {
    color: white;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 3px;
    transition: opacity .3s ease;
}

.logo:hover {
    opacity: .7;
}

.nav-links a {
    color: white;
    text-decoration: none;
    margin-left: 30px;
    opacity: .8;
}

.nav-links a:hover {
    opacity: 1;
}

/* =========================
   HERO
========================= */

.hero {
    position: relative;
    height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;

    text-align: center;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    inset: 0;

    background-image: url("images/hero.jpg");
    background-size: cover;
    background-position: center;

    z-index: 1;
	
	
}

.hero-image::after {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(
        to bottom,
        transparent 50%,
        rgba(0,0,0,0.6) 80%,
        rgba(0,0,0,1) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-family: 'Bebas Neue', sans-serif;

    font-size: 8rem;
    letter-spacing: 2px;
    font-weight: 400;
	transform: scaleY(1.8);

    margin-bottom: 360px;
}

.hero p {
    font-size: 1.2rem;
    opacity: .7;
	
}

.hero-quote {
    margin: 30px auto 0;
    max-width: 600px;

    font-size: 1.1rem;
    font-style: italic;

    opacity: 0.75;
    line-height: 1.6;

    text-shadow: 0 0 15px rgba(0,0,0,0.8);
}

/* =========================
   CONTENT
========================= */

.content-section {
    max-width: 1000px;
    margin: auto;
    padding: 180px 40px;
}

.content-section h2 {
    font-size: 3rem;
    margin-bottom: 60px;
}

.content-section img,
.artist-gallery video {
    width: 80%;
    display: block;
    margin: 0 auto 40px auto; /* ZENTRIERT */
}
.artist-text {
    max-width: 600px;
    margin-left: 90px; /* schließt direkt an Bilder an */
    text-align: left;
    line-height: 1.6;
}
/* =========================
   MUSIC GRID (FIXED SPACING)
========================= */

.music-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px 55px;

    align-items: start;
    justify-items: stretch; /* WICHTIG: gleiche Breite pro Item */
}

/* =========================
   TRACK CARD
========================= */

.track {
    width: 100%;
    margin: 0;

    display: flex;
    flex-direction: column;
}
.track {
    cursor: pointer;
}

.track-cover {
    cursor: pointer;
}

/* =========================
   COVER
========================= */

.track-cover {
    width: 100%;
    height: auto;
    display: block;

    object-fit: cover;

    margin: 0;

    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

/* Hover effect */
.track:hover .track-cover {
    transform: scale(1.04);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

/* =========================
   TITLE (HIDDEN)
========================= */

.track h3 {
    margin: 8px 0 0 0;
    line-height: 1.2;

    opacity: 0;
    max-height: 0;
    overflow: hidden;

    transform: translateY(-5px);
    transition: all 0.3s ease;
}

/* =========================
   TITLE (VISIBLE ON OPEN)
========================= */

.track.active h3 {
    opacity: 1;
    max-height: 50px;
    transform: translateY(0);
}

/* =========================
   ACTIVE CARD
========================= */

.track.active {
    grid-column: span 2;
}
/* =========================
   PLAYER
========================= */

.player {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
}

.play-btn {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;

    width: 40px;
    height: 40px;

    cursor: pointer;
    transition: 0.3s;
}

.play-btn:hover {
    background: white;
    color: black;
}

.progress-container {
    flex: 1;
    height: 4px;

    background: rgba(255,255,255,0.2);
    position: relative;
    cursor: pointer;
    overflow: hidden;

    transition: height 0.2s ease;
}

.progress-container:hover {
    height: 10px;
}

.progress {
    width: 0%;
    height: 100%;
    background: white;
    transition: width 0.05s linear;
    pointer-events: none;
}

/* =========================
   MODAL
========================= */

.modal {
    position: fixed;
    inset: 0;

    display: flex; /* bleibt immer flex */

    justify-content: center;
    align-items: center;

    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(12px);

    z-index: 9999;

    opacity: 0;
    pointer-events: none;

    transition: opacity 0.25s ease;
}

.modal.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    width: 90%;
    max-width: 500px;

    background: rgba(0,0,0,0.7);
    padding: 20px;
    border-radius: 12px;

    text-align: center;
    position: relative;
}

.modal-cover {
    width: 100%;
    border-radius: 6px;
    margin-bottom: 15px;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;

    background: none;
    border: none;
    color: white;
    font-size: 24px;

    cursor: pointer;
}

/* =========================
   ARTIST OVERLAY
========================= */

#artist {
    position: relative;
	padding-top: 20px; 
    padding-bottom: 450px;
}

.artist-overlay {
    position: absolute;
    bottom: -350px;
    left: 50%;
    transform: translateX(-50%);

    width: 800px;
    z-index: 10;
}

/* =========================
   FOOTER / WIESE
========================= */

footer {
    position: relative;
    height: 100vh;

    background:
        linear-gradient(
            to bottom,
            rgba(0,0,0,1) 0%,
            rgba(0,0,0,.95) 20%,
            rgba(0,0,0,.8) 45%,
            rgba(0,0,0,.5) 70%,
            rgba(0,0,0,0) 100%
        ),
        url("images/meadow.jpg");

    background-size: cover;
    background-position: center bottom;
}

.footer-content {
    position: absolute;
    bottom: 120px;
    width: 100%;
    text-align: center;
}

.footer-content h2 {
    font-size: 2rem;
    letter-spacing: 4px;
    opacity: .8;
}

/* =========================
   EMAIL
========================= */

.email-link {
    display: inline-block;
    margin-top: 20px;

    color: rgba(255,255,255,0.7);
    text-decoration: none;
    letter-spacing: 1px;

    transition: 0.3s ease;
}

.email-link:hover {
    color: white;
}

/* =========================
   MOBILE FEINSCHLIFF
========================= */

@media (max-width:768px) {


html,
body {
    max-width:100%;
    overflow-x:hidden;
}


/* Hero */

.hero {
    padding-top:140px;
}


.hero h1 {
    margin-bottom:180px;
}


/* Scroll Abstand Navigation */

section {
    scroll-margin-top:120px;
}


/* Artist */

#artist {

    padding-left:20px;
    padding-right:20px;

    padding-bottom:320px;

}


#artist h2,
#artist p {

    margin-left:0;
    padding-left:0;
    text-align:left;

}


.artist-gallery {

    width:100%;

}


/* Bilder + Video gleiche Breite */

.artist-gallery img,
.artist-gallery video {

    width:100%;
    display:block;

}


/* Overlay */

.artist-overlay {

    width:100%;
    bottom:-200px;

}


}