* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

html {
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth; /* Sorgt für weiches Gleiten */
}

/* Navigation */
.top-nav {
    position: fixed;
    top: 6%;
    right: 2%;
    z-index: 1000;
}

.top-nav a {
    color: #9a0100;
    text-decoration: none;
    font-weight: bold;
    font-size: 2rem;
    padding: 10px 20px;
    border-radius: 5px;
    text-shadow: 0px 0px 4px black;
    filter: blur(1px);
}

/* DIE ERSTE SEITE (Der "Deckel") */
.first-view {
    scroll-snap-align: start;
    position: relative;
    z-index: 2; /* Liegt oben drauf */
    height: 100vh;
    width: 100%;

    background: url('https://cdn.der-schwede.at/release/cavedance/static/img/video-placeholder.jpg') center no-repeat;
    background-size: 100% 100%;

    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5); /* Schatten für Tiefe beim Wegschieben */
}

.contact-body {
    background: url('https://cdn.der-schwede.at/release/cavedance/static/img/video-placeholder.jpg') center no-repeat;
    background-size: 100% 100%;

    min-height: 100vh;
    width: 100%;
}

.contact-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-container h1  {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.6rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    width: 300px;
    max-width: 90%;
}

.form-group {
    margin-bottom: 1rem;
}

input, textarea, button {
    width: 100%;
    background-color: #000000cc;
    color: #ad0507;
    border: 2px solid black;
    border-radius: 0.25rem;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    filter: blur(0.2px);
    box-shadow: 0 0 0 1px black, 0 0 3px 1px black;
}

textarea {
    resize: none;
}

input:focus, textarea:focus, button:focus {
    outline: none;
    border-color: #9a0100;
}


button {
    cursor: pointer;
    border: 2px solid #9a0100;
    width: auto;
 }

 .text-center {
     text-align: center;
 }

button:active { background-color: #1a1a1a; }

.first-view-content {
    width: 100%;
    height: 100%;
    background: url('https://cdn.der-schwede.at/release/cavedance/static/img/logo-black.png') center/contain no-repeat;

    filter: blur(1px);
}

/* DIE ZWEITE SEITE (Das "Fundament") */
.second-view {
    position: fixed; /* Klebt fest am Bildschirm */
    top: 0;
    left: 0;
    z-index: 1; /* Liegt unter der ersten View */
    height: 100vh;
    width: 100%;
    background: url('https://cdn.der-schwede.at/release/cavedance/static/img/video-placeholder.jpg') center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
	flex-direction: column;
}

.second-view h2, .second-view .movie-title {
    filter: blur(1px);
	font-size: 2rem;
}

/* Platzhalter, damit man 100% der Höhe scrollen kann */
.scroll-spacer {
    scroll-snap-align: start;

    height: 100vh;
    position: relative;
    z-index: 0;
    pointer-events: none; /* Man scrollt quasi "durch" diesen Spacer */
}

/* Play Button */
.play-btn {

	font-size: 2.4rem;
    cursor: pointer;

	color: black;
    filter: blur(1px);
	font-weight: bold;

	border: none;
	background: none;
	box-shadow: none;

    z-index: 5;

	padding: 8%;
}

.play-btn .movie-title {
	margin-top: 10px;
	display: block;
}

/* Down Button */
.down-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    background: black;
    font-size: 30px;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(0,0,0,0.3);

    position: absolute;
    left: 50%;
    margin-left: -30px;
    bottom: 5%;

    z-index: 5;

    animation: AnimateButton 1s linear infinite;
}


@keyframes AnimateButton {
    0%, 100% {
        bottom: 5%;
    }
    50% {
        bottom: 6%;
    }
}

/* Video Overlay */
.video-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: black;
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.video-overlay video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.close-video {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 50px;
    cursor: pointer;
    z-index: 2100;
}


/* DIE DRITTE SEITE (Der "Deckel") */
.third-view {
    scroll-snap-align: start;
    position: relative;
    z-index: 2; /* Liegt oben drauf */
    height: 100vh;
    width: 100%;

    background: black;
    background-size: 100% 100%;

    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5); /* Schatten fÃ¼r Tiefe beim Wegschieben */

}

.third-view-content {
    width: 100%;
    height: 100%;

    overflow: scroll;
}

.third-view-content img {
    width: 100%;
    min-height: 100%;
    object-fit: contain;
}


