html, body {
    margin: 0;
    padding: 0;
    font-family: 'Work Sans', sans-serif;
    background-color: #fff;
    color: #000;
    position: relative;
    z-index: 0;
    scroll-behavior: smooth;

}


/* FULLSCREEN HINTERGRUND */
/* VOLLFORMAT-HINTERGRUNDBILD */
.bg-fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-image: url('img/bg.jpg'); /* <–– DEIN HINTERGRUNDBILD */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}

.mobile-banner {
    display: none;
}

.mobile-banner img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0;
    padding: 0;
}


/* HEADERBILD */
.hero {
    display: flex;
    justify-content: center;
    margin: 40px 0;
    position: relative;
    z-index: 1;
}

.header-image {
    width: 100%;
    max-width: 1200px;
    border-radius: 20px;
    object-fit: cover;
}

/* HEADLINE */
.page-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
    color: #000;
    position: relative;
    z-index: 1;
    padding: 0 1.5rem;
}

/* CTA MOBIL OBEN */
.cta-mobile {
    display: none;
}

.cta-mobile .button {
    width: 300px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    background-color: #fa5241;
    color: #fff;
}

/* INHALT */
.content {
    display: flex;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 3rem auto;
    padding: 1rem;
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.text-block {
    flex: 2;
    font-size: 1.1rem;
    line-height: 1.6;
}

.text-block p:first-of-type {
    margin-top: 0;
}

.ticket-box {
    flex: 1;
    background-color: #f3f3f3;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: left;
    border: 2px dashed #fa5241;
    font-family: 'Work Sans', sans-serif;
    position: sticky;
    top: 100px;
    align-self: flex-start;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1.4s ease-out 0.3s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ticket-box h2 {
    font-size: 1.2rem;
    margin: 0 0 1rem 0;
    font-weight: 700;
    padding-bottom: 0.5rem;
}

.ticket-box p {
    margin: 0 0 0.8rem 0;
    line-height: 1.4;
    font-size: 1rem;
}

/* BUTTON STYLE */
.button {
    background-color: #fa5241;
    color: #fff;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    margin-top: 1.5rem;
    transition: transform 0.2s ease, background-color 0.3s ease, color 0.3s ease;
    font-family: 'Work Sans', sans-serif;
    text-decoration: none;
    text-align: center;
    display: block;
}

.button:hover {
    background-color: #c52211;
    transform: scale(1.04);
}

/* CTA-DESKTOP UNTEN */
.cta-desktop {
    text-align: center;
    margin: 4rem 0 2rem;
}

.cta-desktop .button {
    width: 250px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
}

/* BILD */
.image-wrapper {
    text-align: center;
    margin: 2rem 0;
}

.inline-image {
    max-width: 80%;
    border-radius: 8px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1.8s ease-out, transform 1.8s ease-out;
    margin: 25px 0;
}

.inline-image.visible {
    opacity: 1;
    transform: translateY(0) rotate(-3deg);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* EMOJIS */
.emoji {
    font-size: 1.3rem;
    vertical-align: middle;
}

/* FOOTER */
.footer-links {
    text-align: center;
    font-size: 0.75rem;
    color: #444;
    margin: 4rem 0 2rem;
}

.footer-links a {
    color: #444;
    text-decoration: underline;
    margin: 0 0.5rem;
}

.footer-links a:hover {
    color: #fa5241;
}

.deifi-mobil {
    display: none;
}


#ticket-status {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    font-family: 'Work Sans', sans-serif;
    font-size: 1.2rem;
    color: #000;
    position: relative;
}

/* Spinner Style */

#ticket-status {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    font-family: 'Work Sans', sans-serif;
    text-align: center;
    padding: 0 1.5rem;
}

.spinner-container {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.spinner-container.visible {
    opacity: 1;
}

.spinner-wrapper {
    position: relative;
    width: 100px;
    height: 100px;
}

.spinner {
    width: 100%;
    height: 100%;
    border: 6px solid #eee;
    border-top: 6px solid #fa5241;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.spinner-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 72px;
    height: 72px;
    margin: 5px;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.spinner-inner img {
    width: 100%;
    height: auto;
    border-radius: 50%;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease-in-out forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}


/* Text Fade-In */
.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease-in-out forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}



/* RESPONSIVE */
@media (max-width: 768px) {
    body {
        padding: 0;
    }

    .hero {
        height: 100vh;
        align-items: center;
        margin: 0;
        background: #f9483a;
    }

    .header-image {
        width: 85%;
        min-height: 100%;
        display: block;
        border: none;
        margin: 0 auto;
        padding: 0;
        height: 100%;
        object-fit: fill;
    }

    .content {
        flex-direction: column;
        padding: 0rem 1.5rem 2rem 1.5rem;
    }

    .ticket-box {
        order: 3;
    }

    .text-block {
        order: 1;
    }

    .cta-mobile {
        display: block;
        order: 2;
        text-align: center;
        margin-bottom: 2rem;
    }

    /*
    .cta-mobile .button {
        background-color: #000;
        color: #fff;
    }
    */
    .cta-desktop {
        display: none;
    }

    .page-title {
        font-size: 1.8rem;
        margin-top: 1.5rem;
        margin-bottom: 2rem;
    }

    .mobile-banner {
        display: block;
        margin-top: -3px;
    }


    .deifi-mobil {
        display: block;
        width: 120px;
        margin: 0 auto;
        margin-top: 30px;
    }

    #ticket-status {
        padding: 0 1.5rem;
        font-size: 1rem;
        text-align: center;
    }
}
