/* 1. SCHRIFTEN */
@font-face {
    font-family: 'DIN-UltraLight';
    src: url('./fonts/DINNextLTPro-UltraLight.ttf') format('truetype');
    font-weight: 200;
}
@font-face {
    font-family: 'DIN-Bold';
    src: url('./fonts/DINNextLTPro-Bold.ttf') format('truetype');
    font-weight: 700;
}

/* 2. BASIS & LAYOUT */
body, html { 
    margin: 0; padding: 0; 
    background-color: #000; color: #ffffff; 
    font-family: 'DIN-UltraLight', sans-serif; 
    overflow-x: hidden;
}

.showreel-page { 
    position: relative; min-height: 100vh; 
    display: flex; flex-direction: column; 
    background-size: cover; background-position: center; 
}

.bg-overlay { 
    position: absolute; top: 0; left: 0; 
    width: 100%; height: 100%; 
    z-index: 1; pointer-events: none; 
}

.content-wrapper { 
    position: relative; z-index: 2; 
    max-width: 1600px; margin: 0 auto; 
    flex-grow: 1; width: 100%; 
    padding: 0 20px; box-sizing: border-box;
}

/* 3. HEADER & FOOTER */
.site-header, .site-footer {
    position: relative; z-index: 10;
    width: 100%; display: flex;
    justify-content: center; align-items: center;
    box-sizing: border-box;
}

.site-header { padding: 60px 0 30px 0; }
.site-footer { padding: 100px 0 60px 0; }

.social-links-container { 
    display: flex; gap: 30px; 
    align-items: center; justify-content: center;
}

.social-icon-link { 
    display: flex !important; align-items: center; justify-content: center;   
    width: 40px !important; height: 40px !important; 
    transition: all 0.3s ease; 
}

.social-icon-link img { 
    width: 36px !important; height: 36px !important;
    object-fit: contain !important;
    filter: brightness(0) invert(1); 
}

.spotify-link img { transform: scale(1.15) !important; }

@media (hover: hover) {
    .social-icon-link:hover img { filter: brightness(0) invert(0.5) !important; }
    .social-icon-link:hover { transform: scale(1.1); }
    .showreel-item:hover .play-icon { opacity: 1; }
}

/* 4. MAIN HEADLINE (Zentriert) */
.main-showreel-headline { 
    font-size: 20px; margin-bottom: 80px; 
    text-transform: uppercase; letter-spacing: 1px; 
    line-height: 0.8 !important; font-weight: 200; 
    text-align: center; width: 100%;
}

.main-showreel-headline .bold-text { 
    font-family: 'DIN-Bold', sans-serif !important; 
    display: block; margin-bottom: -11px; 
}

/* 5. GRID SYSTEM */
.showreel-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); 
    gap: 60px 30px; width: 100%;
}

.showreel-container { display: flex; flex-direction: column; gap: 12px; }
.showreel-item { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: #111; }
.showreel-item img { width: 100%; height: 100%; object-fit: cover; }

.showreel-info { font-size: 20px; line-height: 0.8 !important; font-weight: 200; }
.showreel-info .bold-text { font-family: 'DIN-Bold', sans-serif !important; display: block; margin-bottom: -11px; }

/* 6. LIGHTBOX FIX (Shorts & Close-Button Fix) */
.video-lightbox { 
    display: none; position: fixed; 
    top: 0; left: 0; width: 100%; height: 100%; 
    background: rgba(0,0,0,0.96); z-index: 9999; 
    justify-content: center; align-items: center; 
    padding: env(safe-area-inset-top) 20px 20px 20px;
    box-sizing: border-box;
}

.lightbox-content { 
    position: relative; width: 100%; max-width: 1100px; 
    display: flex; flex-direction: column; gap: 20px; 
}

#video-container { 
    position: relative; width: 100%; 
    aspect-ratio: 16 / 9; background: #000;
}

.is-short-video #video-container { 
    aspect-ratio: 9 / 16 !important; 
    width: auto; height: 75vh;
    max-width: 100%; margin: 0 auto;
}

/* DAS X - FIXED POSITION FÜR TABLET/MOBILE */
.lightbox-close { 
    position: fixed; top: 20px; right: 20px; 
    color: #fff; font-size: 50px; line-height: 1;
    cursor: pointer; z-index: 10005;
    width: 50px; height: 50px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(0,0,0,0.3); border-radius: 50%;
}

.play-icon { 
    position: absolute; top: 50%; left: 50%; 
    transform: translate(-50%, -50%); font-size: 40px; 
    color: #fff; opacity: 0; transition: opacity 0.3s; 
    pointer-events: none;
}

/* 7. RESPONSIVE ANPASSUNGEN */
@media (max-width: 1024px) {
    .showreel-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 20px; }
    .lightbox-close { top: 15px; right: 15px; font-size: 40px; }
}

@media (max-width: 600px) {
    .site-header { padding: 40px 0 10px 0; }
    .social-links-container { gap: 15px; }
    .main-showreel-headline { font-size: 18px; margin-bottom: 40px; }
    .showreel-grid { grid-template-columns: 1fr; }
    .showreel-info { font-size: 16px; }
    .is-short-video #video-container { height: 65vh; }
    .lightbox-close { top: 10px; right: 10px; font-size: 35px; background: rgba(0,0,0,0.5); }
}