:root {
    --prussian-blue: #191D32;  /* Dein Haupt-Hintergrund */
    --space-indigo: #282F44;   /* Für Karten oder Absetzungen */
    --deep-crimson: #931621;   /* Für Akzente oder Hover-Effekte */
    --honey-bronze: #ECA72C;   /* Für Buttons und wichtige Titel */
    --soft-fawn: #D8BD8A;      /* Für normalen Text und Untertitel */
    --white: #FFFFFF;

    --font-header: 'Syncopate', sans-serif;
    --font-white: 'Montserrat', sans-serif;

    --logo-width: 250px;
}

body {
    background-color: var(--prussian-blue);
    color: var(--soft-fawn);
    font-family: var(--font-white);
    margin: 0;
    padding: 0;
}

a {
    color: var(--soft-fawn);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

section {
    margin-top: 3rem;
    margin-bottom: 3rem;
    filter: drop-shadow(3px 2px 2px var(--soft-fawn));
    margin-inline: auto;
    border: 2px solid var(--soft-fawn);
    border-radius: 15px;
    background-color: var(--prussian-blue);
    padding-inline: 5rem;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}

hr {
    color: var(--soft-fawn);
    margin-top: 20px;
    margin-bottom: 20px;
    width: 100%;
}

/* Header */

.page-title-area {
    width: 100%;
    max-width: 1360px;
    margin: 0 auto;
    padding: 16px 32px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 22px;
    min-height: 144px;
    box-sizing: border-box;
}

/* Logo */

.logo-link {
    width: var(--logo-width);
    min-width: var(--logo-width);
    height: 118px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.logo-link:hover {
    text-decoration: none;
}

.cinema-marquee {
    --marquee-frame: #a96418;
    --marquee-frame-light: #d69a3b;
    --marquee-bulb: #ffd27a;
    position: relative;
    width: 100%;
    height: 96px;
    display: grid;
    place-items: center;
    padding: 13px 15px;
    border: 2px solid #e0ad58;
    border-radius: 12px;
    box-sizing: border-box;
    background: linear-gradient(145deg, var(--marquee-frame-light), var(--marquee-frame) 56%, #77400f);
    box-shadow:
        inset 0 1px 0 rgba(255, 235, 190, 0.5),
        0 7px 18px rgba(8, 10, 20, 0.28);
    transform: rotate(-1deg);
    transition: transform 280ms cubic-bezier(0.16, 1, 0.3, 1);
}

.logo-link:hover .cinema-marquee {
    transform: rotate(0deg) translateY(-1px);
}

.marquee-letterboard {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    overflow: hidden;
    border: 1px solid rgba(42, 31, 20, 0.6);
    border-radius: 6px;
    color: #25211b;
    background:
        repeating-linear-gradient(
            to bottom,
            rgba(55, 48, 38, 0.1) 0,
            rgba(55, 48, 38, 0.1) 1px,
            transparent 1px,
            transparent 14px
        ),
        #eee2c5;
    box-shadow: inset 0 2px 5px rgba(55, 42, 22, 0.22);
}

.marquee-title {
    font-family: var(--font-header);
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.075em;
    text-transform: uppercase;
}

.marquee-subtitle {
    font-size: 0.57rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #6e512b;
}

.marquee-bulbs {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
}

.marquee-bulbs-top,
.marquee-bulbs-bottom {
    left: 15px;
    right: 15px;
}

.marquee-bulbs-top {
    top: 4px;
}

.marquee-bulbs-bottom {
    bottom: 4px;
}

.marquee-bulbs-left,
.marquee-bulbs-right {
    top: 15px;
    bottom: 15px;
    flex-direction: column;
}

.marquee-bulbs-left {
    left: 4px;
}

.marquee-bulbs-right {
    right: 4px;
}

.marquee-bulbs span {
    width: 5px;
    height: 5px;
    flex: 0 0 5px;
    border-radius: 50%;
    background: var(--marquee-bulb);
    box-shadow: 0 0 4px rgba(255, 203, 104, 0.72);
    animation: marquee-bulb-flicker 9.5s steps(1, end) infinite;
}

.marquee-bulbs span:nth-child(3n) {
    animation-delay: -2.7s;
    animation-duration: 11.3s;
}

.marquee-bulbs span:nth-child(4n + 1) {
    animation-delay: -6.1s;
    animation-duration: 13.1s;
}

.marquee-bulbs span:nth-child(5n + 2) {
    animation-delay: -8.4s;
    animation-duration: 15.7s;
}

@keyframes marquee-bulb-flicker {
    0%, 72%, 75%, 77%, 100% {
        opacity: 1;
        filter: brightness(1);
    }
    73% {
        opacity: 0.46;
        filter: brightness(0.72);
    }
    76% {
        opacity: 0.72;
        filter: brightness(0.86);
    }
}

/* Navigation */

.main-nav {
    background-color: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(216, 189, 138, 0.12);
    flex: 1;
    min-width: 0;
    max-width: none;
    min-height: 72px;
    display: flex;
    align-items: center;
}

.main-nav ul {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(22px, 3vw, 46px);
    list-style: none;
    padding: 22px 28px;
    margin: 0;
    flex-wrap: nowrap;
}

.main-nav a {
    color: var(--white);
    text-decoration: none;
    font-weight: bold;
    letter-spacing: 1px;
    transition: color 0.2s ease;
    white-space: nowrap;
    font-size: 0.98rem;
}

.main-nav a:hover {
    color: var(--honey-bronze);
    text-decoration: none;
}

@media (max-width: 980px) {
    .page-title-area {
        gap: 16px;
        padding-inline: 20px;
    }

    .main-nav ul {
        gap: 18px;
        padding-inline: 18px;
    }

    .main-nav a {
        font-size: 0.85rem;
    }
}

@media (max-width: 760px) {
    .page-title-area {
        flex-direction: column;
        gap: 12px;
        min-height: auto;
    }

    .logo-link {
        width: 220px;
        min-width: 220px;
        height: 102px;
    }

    .main-nav {
        width: 100%;
    }

    .main-nav ul {
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px 22px;
        padding: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cinema-marquee,
    .marquee-bulbs span {
        animation: none;
        transition: none;
    }
}

/* Buttons */

.btn {
    all: unset;
    display: block;
    font-size: 16px;
    width: 100%;
    text-align: center;
    padding-top: 15px;
    padding-bottom: 10px;
    border-radius: 5px;
    text-transform: uppercase;
    transition: all .3s ease-in-out;
    font-family: var(--font-white);
    font-weight: bold;
    cursor: pointer;
    border: 2px solid transparent;
    padding-inline: 1rem;
}

.btn a {
    text-decoration: none;
}

.btn:hover,
.btn:focus {
    background-color: var(--deep-crimson);
    color: white;
    border-color: var(--deep-crimson);
}

.btn-primary {
    background-color: var(--honey-bronze);
    color: var(--prussian-blue);
    border-color: var(--honey-bronze);
}

.btn-secondary {
    border-color: var(--honey-bronze);
    background-color: transparent;
}

.booking-progress {
    max-width: 950px;
    margin: 2rem auto 3rem;
    padding: 1.25rem 1.5rem;

    display: flex;
    justify-content: space-between;
    align-items: center;

    border-radius: 22px;
    background: linear-gradient(180deg, rgba(40,47,68,.92), rgba(25,29,50,.98));
    border: 1px solid rgba(216,189,138,.22);
    box-shadow: 0 18px 40px rgba(0,0,0,.25);
}

.progress-step {
    flex: 1;
    position: relative;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .55rem;

    color: var(--soft-fawn);
    text-decoration: none;
    font-weight: 700;
}

.progress-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 23px;
    left: calc(50% + 32px);
    width: calc(100% - 64px);
    height: 2px;
    background: rgba(216,189,138,.25);
}

.progress-step.completed:not(:last-child)::after {
    background: var(--honey-bronze);
}

.progress-step span {
    z-index: 1;

    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    background: rgba(255,255,255,.06);
    border: 2px solid rgba(216,189,138,.35);

    color: var(--soft-fawn);
    font-weight: 800;
}

.progress-step.completed span,
.progress-step.current span {
    background: var(--honey-bronze);
    border-color: var(--honey-bronze);
    color: var(--prussian-blue);
}

.progress-step.current span {
    box-shadow: 0 0 20px rgba(236,167,44,.55);
}

.progress-step p {
    margin: 0;
    font-size: .82rem;
    text-align: center;
    white-space: nowrap;
}

.progress-step:hover {
    color: var(--honey-bronze);
    text-decoration: none;
}

#afk-warning {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 9999;

    display: none;

    width: 320px;
    padding: 1rem 1.2rem;

    border-radius: 14px;
    background: linear-gradient(180deg, rgba(40, 47, 68, 0.98), rgba(25, 29, 50, 0.98));
    border: 1px solid rgba(236, 167, 44, 0.55);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);

    color: var(--soft-fawn);
}

#afk-warning.is-visible {
    display: block;
}

#afk-warning strong {
    display: block;
    margin-bottom: .4rem;
    color: var(--honey-bronze);
}

#afk-warning p {
    margin: 0;
    line-height: 1.4;
}

#afk-countdown {
    color: var(--white);
    font-weight: 800;
}
