/* Grundlegendes modernes Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #0d0d0d;
    color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    overflow-x: hidden;
}

/* Intro & Outro Sektionen */
.intro-section, .outro-section {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

.intro-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -1px;
}

.intro-content p {
    color: #888;
    font-size: 1.2rem;
}

.scroll-indicator {
    margin-top: 30px;
    font-size: 2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Galerie & Scroll-Effekt Setup */
.gallery-container {
    width: 100%;
}

/* Jede Sektion braucht Höhe, damit Platz zum Scrollen da ist */
.scroll-section {
    height: 150vh; 
    position: relative;
}

/* Der Wrapper bleibt beim Scrollen im Display kleben */
.image-wrapper {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Das eigentliche Bild */
.zoom-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Verhindert das Verzerren des Bildes */
    transform: scale(1);
    opacity: 1;
    will-change: transform, opacity; /* Optimiert die Performance im Browser */
}

/* Text über dem Bild */
.image-caption {
    position: absolute;
    font-size: 2rem;
    font-weight: 600;
    text-shadow: 0 4px 12px rgba(0,0,0,0.5);
    pointer-events: none;
}

.outro-section h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}