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

html, body {
    height: 100%;
    width: 100%;
    font-family: Arial, Helvetica, sans-serif;
    background: #000;
    -webkit-overflow-scrolling: touch;
    overflow-y: auto;
    position: relative;
}

body {
    background-color: black;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Szene */
.scene {
    background: #9fd0f8;
    position: fixed;
    width: 100%;
    height: 100vh;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
    border: 2px solid black;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.img-left {
    position: absolute;
    top: 63px;
    transform: scale(0.5);
}

.text {
    padding: 30px;
    text-align: center;
    background-color: #843777;
    margin: -5px 0 0 0;
   /* height: 100%; */
    z-index: 7;
}

.end-space {
    margin-bottom: 4rem;
}

.wrapper {
    min-height: 100%;
    display: flex;
    flex-direction: column;
   /* background-color: #9fd0f8; */
    position: relative;
}

/* Wasserturm zentral */
.tower {
    /*position: absolute;*/
    /*bottom: 70px; */
    left: 50%;
/*    transform: translateX(-50%); */
    max-height: 60%;
    max-width: 100%;
    width: 100%;
    z-index: 10;

   /* filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3));*/
}

/* Party-Schriftzug */
.party-text {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    font-weight: bold;
    color: #ff0080; /* knallig pink */
    text-shadow:
            -2px -2px 0 black,
            2px -2px 0 black,
            -2px  2px 0 black,
            2px  2px 0 black; /* schwarze Umrandung */
    z-index: 20;
    text-align: center;
    animation: pulse 2s infinite alternate;
}

#scene-container {
    width: 100%;
    height: 100%;
}

@keyframes pulse {
    from { transform: translateX(-50%) scale(1); }
    to   { transform: translateX(-50%) scale(1.1); }
}

/* Canvas für Lichter und Glühen */
#lights, #glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}



/* Glow hinter dem Turm */
#glow {
    z-index: 5;
    pointer-events: none;
}



#disco-bg {
    position:absolute;
    top:0; left:0;
    width:100%;
    height:100%;
    z-index:0;
    background: radial-gradient(circle at center, #1a0026 40%, #000 100%);
}

.party-info {
    position:relative;
    text-align:center;
    z-index:2;
    color:#fff;
    margin-bottom: 1rem;
}

.intro {
    font-size:1.25rem;
    margin-bottom: 20px;
}

.party-info h1 {
    font-size:2.2rem;
    margin-bottom:1rem;
    color:#ffffff;
    text-shadow:
            0 0 10px #ff4dff,
            0 0 20px #ff4dff,
            0 0 40px #ff4dff;
    animation: glow 2s infinite alternate;
}


.party-text h1 {
    font-size:2.2rem;
    margin-bottom:1rem;
    color:#ffffff;
    text-shadow:
            0 0 10px #ff4dff,
            0 0 20px #ff4dff,
            0 0 40px #ff4dff;
    animation: glow 2s infinite alternate;
}

@keyframes glow {
    from { text-shadow:0 0 10px #ff4dff,0 0 20px #ff4dff,0 0 40px #ff4dff; }
    to   { text-shadow:0 0 20px #00ffff,0 0 40px #00ffff,0 0 80px #00ffff; }
}

.party-info .date-time {
    font-size:1.4rem;
    margin-bottom:0.7rem;
    text-shadow:0 0 5px rgba(255,255,255,0.7);
}

.party-info .location {
    font-size:1.2rem;
    line-height:1.4;
    text-shadow:0 0 5px rgba(255,255,255,0.7);
}

.party-info .location a{
    text-decoration: none;
}

.location a {
    color: inherit;
    text-decoration: none;
    -webkit-touch-callout: default; /* iOS Safari */
    padding: 8px 0; /* größere Touch-Fläche */
    display: inline-block;
}

.location a:active {
    opacity: 0.7;
}

strong {
    color:#ffd700; /* goldener Akzent */
}

/* Scroll-Pfeil */
.scroll-arrow {
    position: fixed;
    right: 10px;
    bottom: 20px;
    font-size: 3rem;
    color: #ffd700;
    text-shadow:
        0 0 10px #ffd700,
        0 0 20px #ffd700;
    animation: bounce 1s infinite;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 1000;
    pointer-events: none;
    font-family: 'Segoe UI', Tahoma, sans-serif;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Verstecke den Content initial */
.scene {
    opacity: 0;
    transition: opacity 0.5s ease-in;
}

.scene.loaded {
    opacity: 1;
}
