body {
    font-family: 'Share Tech Mono', monospace;
    text-align: center;
    background-color: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #333;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

/* Large screens - scale everything appropriately */
@media (min-width: 1400px) {
    .box-container {
        max-width: 1400px;
        gap: 40px;
    }

    .video-wrapper {
        max-width: 500px;
    }

    .white-box {
        max-width: 550px;
    }
}

/* Tablet and mobile */
@media (max-width: 768px) {
    body {
        padding-top: 20px;
        padding-left: 0;
        padding-right: 0;
        align-items: flex-start;
    }
}

h1 {
    font-size: 1.5em;
    margin-top: 0;
    margin-bottom: 15px;
}

#countdown-wrapper {
    width: fit-content;
    /* passt sich der Textlänge an */
    max-width: 300px;
    /* oder fixe Breite, z. B. 300px */
    margin: 0 auto;
    /* zentriert horizontal */
    padding: 10px 20px;
    text-align: center;
    font-family: monospace;
}


#demo {
    font-size: 1rem;
    font-weight: bold;
    letter-spacing: 1px;
    color: #222;
    background-color: #00ff90;
    display: inline-block;
    padding: 6px 12px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Stil, wenn Countdown abgelaufen ist */
#demo.expired {
    color: #ff5555;
}

.launch-description {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #333;
    margin: 15px auto;
    padding: 0 15px;
    max-width: 500px;
    text-align: center;
}

.mauticform-field-hidden {
    display: none
}

                /* Container */
                .box-container {
                    display: flex;
                    align-items: flex-start;
                    justify-content: center;
                    gap: 30px;
                    max-width: 1200px;
                    margin: 0 auto;
                    padding: 20px;
                }

                /* Mobile layout */
                @media (max-width: 768px) {
                    .box-container {
                        flex-direction: column;
                        align-items: center;
                        justify-content: flex-start;
                        gap: 20px;
                        padding: 0;
                        width: 100%;
                        margin: 0;
                    }

                    .video-wrapper {
                        width: 100%;
                        max-width: 100vw;
                        display: flex;
                        justify-content: center;
                        align-items: center;
                        margin: 0 auto;
                    }

                    .video-container {
                        width: 100%;
                        max-width: 100%;
                        margin: 0 auto;
                        display: flex;
                        justify-content: center;
                    }

                    .video-container video {
                        width: 100%;
                        height: auto;
                        max-width: 100%;
                        margin: 0 auto;
                        display: block;
                    }

                    .white-box {
                        width: 100%;
                        max-width: 100vw;
                        margin: 0;
                    }
                }

                .white-box {
                    background-color: #ffffff;
                    min-height: auto;
                    transition: none;
                    border-radius: 12px;
                    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
                    padding: 30px 25px;
                    width: 100%;
                    max-width: 480px;
                    text-align: center;
                    display: flex;
                    flex-direction: column;
                    justify-content: flex-start;
                }

                .white-box:hover {
                    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
                    transform: translateY(-3px);
                }


                .video-wrapper {
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    position: relative;
                    overflow: hidden;
                    border-radius: 8px;
                    max-width: 420px;
                }

                /* Container, der Video + Buttons bündelt */
                .video-container {
                    position: relative;
                    display: block;
                }

                /* Custom play button overlay - always centered */
                .custom-play-button {
                    position: absolute;
                    top: 50%;
                    left: 50%;
                    transform: translate(-50%, -50%);
                    width: 120px;
                    height: 120px;
                    border-radius: 50%;
                    background-color: rgba(0, 0, 0, 0.7);
                    cursor: pointer;
                    z-index: 10;
                    pointer-events: all;
                    transition: all 0.3s ease;
                }

                .custom-play-button::after {
                    content: '';
                    position: absolute;
                    top: 50%;
                    left: 50%;
                    transform: translate(-40%, -50%);
                    width: 0;
                    height: 0;
                    border-left: 40px solid white;
                    border-top: 25px solid transparent;
                    border-bottom: 25px solid transparent;
                }

                .custom-play-button:hover {
                    background-color: rgba(0, 0, 0, 0.85);
                    transform: translate(-50%, -50%) scale(1.1);
                }

                .custom-play-button.hidden {
                    opacity: 0;
                    pointer-events: none;
                }

                /* Das eigentliche Video */
                .video-container video {
                    display: block;
                    width: 100%;
                    height: auto;
                    border-radius: 8px;
                    z-index: 1;
                }

                /* Speed up controls fade on iOS/WebKit */
                .video-container video::-webkit-media-controls-panel {
                    transition: opacity 0.3s ease-out !important;
                }

                .video-container video::-webkit-media-controls-enclosure {
                    transition: opacity 0.3s ease-out !important;
                }

                /* Fullscreen video styling */
                #myVideo:fullscreen,
                video:fullscreen {
                    width: 100% !important;
                    height: 100% !important;
                    object-fit: contain !important;
                    background: #000;
                }

                #myVideo:-webkit-full-screen,
                video:-webkit-full-screen {
                    width: 100% !important;
                    height: 100% !important;
                    object-fit: contain !important;
                    background: #000;
                }

                #myVideo:-moz-full-screen,
                video:-moz-full-screen {
                    width: 100% !important;
                    height: 100% !important;
                    object-fit: contain !important;
                    background: #000;
                }

                #myVideo:-ms-fullscreen,
                video:-ms-fullscreen {
                    width: 100% !important;
                    height: 100% !important;
                    object-fit: contain !important;
                    background: #000;
                }

                .video-container .play-button,
                .video-container .mute-button {
                    position: absolute;
                    z-index: 5;
                    /* über dem Video */
                }

                /* ▶️ Play-Button */
                .play-button {
                    position: absolute;
                    top: 50%;
                    left: 50%;
                    transform: translate(-50%, -50%);
                    width: 100px;
                    height: 100px;
                    border-radius: 50%;
                    border: none;
                    background: rgba(0, 0, 0, 0.6);
                    cursor: pointer;
                    transition: opacity 0.5s ease, transform 0.3s ease;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                }

                .play-button:hover {
                    background: rgba(0, 0, 0, 0.8);
                    transform: translate(-50%, -50%) scale(1.1);
                }

                .play-button::before {
                    content: "";
                    border-left: 30px solid white;
                    border-top: 18px solid transparent;
                    border-bottom: 18px solid transparent;
                }

                .play-button.playing::before {
                    content: "";
                    border: none;
                    width: 20px;
                    height: 30px;
                    background: white;
                    box-shadow: 10px 0 0 0 white;
                }

                /* 🔊 Mute-Button — oben rechts im Video */
                .mute-button {
                    position: absolute;
                    top: 15px;
                    right: 15px;
                    width: 50px;
                    height: 50px;
                    border-radius: 50%;
                    background: rgba(0, 0, 0, 0.5);
                    border: none;
                    cursor: pointer;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    transition: background 0.3s ease;
                }

                .mute-button:hover {
                    background: rgba(0, 0, 0, 0.8);
                }

                .mute-button::before {
                    content: "🔇";
                    font-size: 24px;
                    color: white;
                }

                .mute-button.unmuted::before {
                    content: "🔊";
                }