/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    max-width: 100%;        
}
body {
    font-family: 'Roboto', Arial, sans-serif;
    color: #2c2c2c;
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===== TYPOGRAPHY ===== */
h1 {
    font-family: 'Yuji Boku', serif;
    font-size: 55px;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 30px;
    color: #514137;
    line-height: 1;
}

.h1-hell{
    font-family: 'Yuji Boku', serif;
    font-size: 55px;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 30px;
    color: #e7dcd5;
    
}

h2 {
    font-family: 'Yuji Boku', serif;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #e7dcd5;
    line-height: 1;

}

h3 {
    font-family: 'Libre Baskerville', serif;
    font-size: 30px;
    font-weight: 400;
    color: #e7dcd5;

}

h4 {
    font-family: 'Yuji Boku', serif;
    font-size: 30px;
    font-weight: 700;
    color: #e7dcd5;

}

h5 {
    font-family: 'Lora', serif;
    font-size: 20px;
    font-weight: 200;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #e7dcd5;
    text-align: justify;
}

/* ===== BUTTONS ===== */
/* ===== BUTTONS ===== */
.btn-primary,
.btn-secondary,
.btn-language {
    display: inline-block;
    position: relative;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
}

.btn-primary:hover,
.btn-secondary:hover,
.btn-language:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
}

.btn-bg {
    display: block;
    width: auto;
    height: auto;
    max-width: 400px;
    pointer-events: none;
}

.btn-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -70%);
    margin: 0;
    color: #514137;
    white-space: nowrap;
    pointer-events: none;
    line-height: 1;
}

.btn-text-hell {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -70%);
    margin: 0;
    color: #e7dcd5;
    white-space: nowrap;
    pointer-events: none;
    line-height: 1;

}

/* ===== CONTAINER BASICS ===== */
.container {
    position: relative;
    width: 100%;
    min-height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 40px;
}

.container-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: bottom;
}

.container-content {
    max-width: 1200px;
    width: 100%;
    text-align: center;
    z-index: 1;
}

/* ===== LANDING PAGE ===== */
.landing-page {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    overflow: hidden;
}

.landing-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.landing-content {
    text-align: center;
    margin-top: 2%;
}

.landing-content h4 {
    margin-bottom: 15px;
}

.landing-logo {
    max-width: 500px;
    width: 80vw;
    margin: 0 auto 10px;
    cursor: pointer;
    animation: pulse 2s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 1));
}

.landing-logo:hover {
    animation-play-state: paused;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}



/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    width: 100%;
    min-height: 97vh;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.menu-corner {
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    z-index: 2;
}

.hero-content {
    text-align: center;
    z-index: 1;
    padding: 40px;
}

.turm-logo {
    max-width: 800px;
    margin: 0 auto 10px;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 1));
}

.hero h1 {
    margin-bottom: 10%;
    text-shadow: 0 0 10px rgba(255, 255, 255, 1);
}

.hero .btn-primary {
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.9));
}

/* CONTAINER 1 - 360° ANIMATION */
.container-1 {
    position: relative;
    z-index: 1;
    padding: 30vh 0 35vh 0;
    margin-bottom: -15%;
    margin-top: -20vh;
}

.scroll-animation-wrapper {
    height: 200vh;
    position: relative;
}

.scroll-animation-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.turm-360 {
    position: relative;
    width: 80vw;
    height: 100vh;
}

.turm-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: none;
}

.turm-frame.active {
    display: block;
}



/* ===== TRENNER ===== */

.trenner {
    width: 100%;
    overflow: hidden;
    margin: -5% 0 0 0;
    position: relative;
    z-index: 2;
}

.trenner-image {
    width: 120%;
    display: block;
}


/* ===== CONTAINER 2 WRAPPER ===== */
.container-2-wrapper {
    position: relative;
    width: 100%;
    margin-top: -10%;
    z-index: 1;
}

.container-2-wrapper .container-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* ===== CONTAINER 2 - GAME DESCRIPTION ===== */
.container-2 {
    padding: 150px 40px 40px 40px;
    position: relative;
}

.container-2 .container-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.teaser-video {
    width: 60%;
    max-width: 400px;
    border-radius: 10px;
    display: block;
    margin: 30px auto 70px auto;
}

.game-images {
    display: flex;
    justify-content: center;
    gap: 0px;
    flex-wrap: wrap;
}

.player-image {
    max-width: 27vw;
    width: 100%;
}

.game-description {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-left: 15%; 
    padding-right: 15%;
}

.container-2 .btn-primary {
    margin: 30px 0;
}

.description-text {
    flex: 1;
    text-align: left;
}

.turm-logo-small {
    max-width: 450px;
    text-align: center;
    margin-bottom: 5%;
}



/* ===== VIDEO SECTION ===== */
.container-video {
    padding: 30px 40px;
}

.video-wrapper {
    margin: 60px auto;
    max-width: 800px;
}

.video-link {
    color: #e7dcd5;
    text-decoration: underline;
}

.video-link:hover {
    opacity: 0.8;
}

.video-thumbnail {
    width: 100%;
    cursor: pointer;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.video-thumbnail:hover {
    transform: scale(1.02);
}

/* ===== ANLEITUNG PDF SECTION ===== */
.container-anleitung {
    padding: 0 10vw 20vh;
}



.container-anleitung .btn-primary {
    margin: 30px 30px;
}

/* ===== CONTAINER 3 - SPIELFELD SECTION ===== */
.container-spielfeld {
    position: relative;
    width: 100%;
    min-height: 100vh;
    padding: 25vh 0;
    overflow: hidden;
    margin-top: -15vh;
    z-index: 0;
}

.container-spielfeld .container-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.container-spielfeld .container-content {
    position: relative;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    z-index: 1;
}

/* Spielfeld PNG - ganz links am Rand */
.spielfeld-image {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 35vw;
    max-width: 500px;
    height: auto;
    z-index: 1;
}

/* TURM Illustration - ganz rechts unten */
.turm-illu {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 30vw;
    max-width: 400px;
    height: auto;
    z-index: 1;
}


/* Text-Bereich */
.spielfeld-text-area {
    max-width: 600px;
    margin-left: auto;
    margin-right: 10%;
    z-index: 2;
    text-align: left;
}



.spielfeld-text-area .btn-primary {
    display: block;
    width: fit-content;
}

.making-of-list {
    list-style: disc;
    padding-left: 20px;
    text-align: left;
}

.making-of-list li {
    margin-bottom: 15px;
}

/* ===== CONTAINER 4 - MAKING OF ===== */
.container-making-of {
    align-items: flex-start;
    padding: 20vh 6vw;
    min-height: 0;
    height: auto;
    aspect-ratio: 1920 / 2880;
    margin-top: -5%;
    z-index: 2;

}

.container-making-of .background-image {
    object-fit: cover;
    object-position: center;
}

.making-of-text {
    max-width: 50%;
    text-align: left;
}

/* ===== FOOTER ===== */
.footer {
    position: relative;
    width: 100%;
    padding: 60px 40px 10px 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 4;
    margin-top: -80px;  
}

.footer .container-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.footer .background-image {
    object-position: top;
}

.footer-logo {
    max-width: 300px;
    margin: 0 auto;
}

.footer h5 {
    text-align: center;
}

.footer h5 a {
    color: #e7dcd5;
    text-decoration: none;
}

.footer h5 a:hover {
    text-decoration: underline;
}

.footer-bottom {
    margin-top: auto;

}

.footer-credit {
    font-size: 12px !important;
    margin-top: 10px;
}



/* ===== RESPONSIVE - MOBILE ===== */
@media screen and (max-width: 768px) {
    
    /* Typography adjustments */
    h1 {
        font-size: 35px;
    }
    
    h2 {
        font-size: 30px;
        text-align: left;
        margin-bottom: 0px;
    }
    
    h3 {
        font-size: 20px;
        text-align: left;
    }
    
    h4 {
        font-size: 22px;
    }
    
    h5 {
        font-size: 16px;
        margin-bottom: 5px;
        margin-top: 0px;
    }
    
    /* Button adjustments */
    .btn-primary {
        font-size: 24px;
        padding: 10px 35px;
    }
    
    .btn-secondary {
        font-size: 24px;
        padding: 10px 35px;
    }
    
    .btn-language {
        font-size: 20px;
        padding: 8px 25px;
    }
    
    .btn-bg {
        max-width: 250px;
    }

    .container-2 .btn-primary {
        margin: 0px auto;
    }

    .container-anleitung .btn-primary {
        margin: 10px auto;
        display: block;
    }

    /* Container adjustments */
    .container {
        padding: 60px 20px;
    }

    /* Hero Section */
    .hero {
        min-height: 100vh;
    }
    
    .menu-corner {
        width: 100px;
        height: 100px;
    }
    
    .landing-content {
        margin-top: 25%;
    }

    .landing-logo {
        max-width: 90vw;
    }

    .turm-logo {
        max-width: 300px;
    }
    
    .hero-content {
        padding: 20px;
    }
    
    /* Container 1 */
    
    .turm-360 {
        width: 100vw;
        height: 100vh;
    }
    .turm-frame {
        object-fit: cover;
        object-position: center center;
    }

    .container-1 {
        padding-top: 160px;
    }

    /* Container 2 */

    .container-2 .container-content {
        align-items: flex-start;
    }

    .container-2 .container-content h3 {
        text-align: left;
    }

    .teaser-video {
        width: 80%;
        max-width: 400px;
        border-radius: 10px;
        display: block;
        margin: 30px auto 40px auto;
    }    
    .game-images {
        flex-direction: column;
        align-items: center;
        align-self: center;
        gap: 30px;
    }
    
    .player-image {
        max-width: 250px;
        ;
    }
    
    .game-description {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
        margin: 20px 0;
        padding: 0 5px;
    }
    
    .description-text {
        text-align: center;
    }
    
    .turm-logo-small {
        max-width: 150px;
    }
    
    .player-image-single {
        max-width: 300px;
        margin: 40px auto 0;
    }
    
    /* Video Section */
    .video-wrapper {
        margin: 30px auto;
    }
   
    .video-thumbnail {
        width: 100%;
        cursor: pointer;
        border-radius: 10px;
        transition: transform 0.3s ease;
    }

    .container-anleitung {
        padding: 0 20px 90px;
    }
    
    .btn-secondary {
        width: 100%;
        max-width: 300px;
        margin: 5px 0;
        
    }
    
    .container-spielfeld {
        display: flex;
        flex-direction: column;
        padding: 100px 0px 100px 0px;
    }
    
    .container-spielfeld .container-content {
        padding: 0 20px;
        align-items: center;
    }

    .container-spielfeld .btn-primary {
        margin-bottom: 30px;
    }

    .spielfeld-text-area h2 {
        margin-bottom: 20px;
    }
    
    .spielfeld-image {
        order: 2;
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        width: 80vw;
        align-self: flex-start;
    }
    /* TURM Illustration - mobile: ganz rechts unten, 30vw */
    .turm-illu {
        position: absolute;
        right: 0;
        bottom: 0;
        width: 40vw;
        max-width: none;
    }
    
    /* Text-Bereich - mobile: oben zentriert */
    .spielfeld-text-area {
        order: 1;
        max-width: 100%;
        margin: 0;
    }
  
    
    
    /* Container 4 - mobile: Text zentriert, max-width 100% */
    
    .container-making-of {
        aspect-ratio: 432 / 3000;
    }

    .making-of-text {
        max-width: 100%;
        text-align: center;
    }
    
    .footer {
        padding: 40px 20px;
    
    }

    .footer-logo {
        max-width: 200px;
    }
}

/* ===== RESPONSIVE - TABLET ===== */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    
    h1 {
        font-size: 56px;
    }
    
    h2 {
        font-size: 42px;
    }
    
    .turm-logo {
        max-width: 400px;
    }
    
    .container {
        padding: 70px 30px;
    }
}
