body {
    margin: 0;
    font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: #ffffff;
    overflow-x: hidden;
    min-height: 100vh; /* Ermöglicht das Scrollen */
}

/* Der Container, der alles zentriert */
#countdown-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    user-select: none;
    text-align: center;
    
    /* Hintergrundbild-Logik */
    background-image: url('pictures/Hintergrund.png');
    background-size: cover;        /* Bild füllt den ganzen Bereich aus */
    background-position: center;   /* Bild bleibt zentriert */
    background-repeat: no-repeat;  
    
    /* Optional: Ein leichter Overlay, damit die Zahlen besser lesbar sind */
    position: relative;

    mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
}

#countdown-wrapper::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(255, 255, 255, 0.2);
    z-index: 0;
}

/* Sicherstellen, dass Text über dem Hintergrund/Overlay liegt */
.countdown-label, #countdown {
    position: relative;
    z-index: 1;
}

/* Die neue Beschriftung (Noch / bis zum Start!) */
.countdown-label {
    font-size: 7vw;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.1);
    text-transform: uppercase;
    letter-spacing: 0.5rem;
}

/* Die eigentlichen Zahlen (leicht dunkler) */
#countdown {
    font-size: 12vw;
    font-weight: 800;
    color: rgba(0, 0, 0, 0.3);
    line-height: 1;
    margin: 10px 0;
}

.scroll-gap {
    height: 10vh;
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 50px;
    flex-grow: 1;
}

/* Container für alles, was gleichzeitig erscheinen soll */
.content-group {
    width: 90%;
    max-width: 1100px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* 1. Bildreihe */
.image-row {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 20px;
}

.image-row .img-placeholder {
    flex: 1;
    display: flex;
    justify-content: center;
    min-width: 250px;
    max-width: 100%;
}

.row-image,
.animation-side img {
    width: 100%;
    max-width: 350px;
    height: auto;
    object-fit: contain;
    display: block;
    -webkit-user-drag: none;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}



/* 2. Taskbar - Jetzt füllend und zentriert */
.taskbar {
    background: transparent;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 5px;
    border-radius: 4rem;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    width: 100%;
    user-select: none;
    -webkit-user-select: none;
}

.taskbar ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    width: 100%;
}

.taskbar li {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 0;
    border-radius: 3.5rem;
    font-weight: 600;
    cursor: pointer;
    color: #333;
    background-color: transparent;
    transition: all 400ms cubic-bezier(0.23, 1, 0.32, 1);
}

/* Hover-Zustand */
.taskbar li:hover {
    background-color: #c5051f;
    color: white;
    transform: scale(1.02);
}

/* Icon-Styling innerhalb der Taskbar */
.taskbar li i, 
.taskbar li svg {
    width: 0;
    height: 1.2rem;
    opacity: 0;
    transform: scale(0);
    transition: all 400ms cubic-bezier(0.23, 1, 0.32, 1);
}

.taskbar li:hover i,
.taskbar li:hover svg {
    width: 1.2rem;
    margin-right: 12px;
    opacity: 1;
    transform: scale(1);
}

/* 3. Split View (Text & Animation) */
.split-view {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.text-side {
    flex: 1;
}

/* DER VERZÖGERTE REVEAL-EFFEKT */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 2.0s ease-out, transform 2.0s cubic-bezier(0.15, 0.45, 0.25, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Den Container für die Profile stabilisieren */
.slider-container {
    position: relative;
    width: 100%;
    min-height: 550px;
    overflow: hidden;
}

/* Die Profil-Boxen (jetzt ohne sichtbaren Hintergrund und Schatten) */
.split-view {
    display: flex;
    gap: 40px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    box-sizing: border-box; 
    padding: 1rem 0;
    
    background: transparent; 
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    
    box-shadow: none;

    opacity: 0;
    pointer-events: none;
    
    transition: 
        transform 2.0s cubic-bezier(0.15, 1, 0.3, 1), 
        opacity 1.5s ease-in-out;
}

/* Das gerade aktive Profil */
.split-view.active {
    position: relative;
    opacity: 1;
    transform: translateX(0);
    pointer-events: all;
    z-index: 5;
}

/* Suche diesen Block in deiner style.css und ändere ihn so ab: */
.animation-side {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
    align-items: center;
    background: transparent; 
    border: none;
    backdrop-filter: none;
}

/* Die Start-/Endpositionen */
.exit-left { 
    transform: translateX(-150%);
    opacity: 0; 
}
.exit-right { 
    transform: translateX(150%); 
    opacity: 0; 
}
.enter-left { 
    transform: translateX(-150%); 
    opacity: 0; 
}
.enter-right { 
    transform: translateX(150%); 
    opacity: 0; 
}

/* Container für die Zentrierung */
.registration-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 100px;
    margin-bottom: 150px;
}

/* Der Anmeldebutton im Taskbar-Stil */
.btn-registration {
    background-color: #c5051f;
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 1rem 3rem;
    border-radius: 4rem;
    box-shadow: 0 15px 35px rgba(197, 5, 31, 0.2);
    transition: all 400ms cubic-bezier(0.23, 1, 0.32, 1);
    user-select: none;
    -webkit-user-select: none;
    display: inline-block;
}

/* Interaktion beim Drüberfahren */
.btn-registration:hover {
    transform: scale(1.05);
    background-color: #a3041a;
    box-shadow: 0 20px 40px rgba(197, 5, 31, 0.3);
}

/* Klick-Effekt */
.btn-registration:active {
    transform: scale(0.98);
}

/* 1. Den Footer-Bereich eingrenzen und zentrieren */
.footer-section {
    width: 90%;
    max-width: 1100px;
    margin: 60px auto 20px auto;
    padding-bottom: 20px;
}

/* 2. Die Trennlinie: Dunkler und eingerückt */
.footer-line {
    height: 1px;
    background-color: rgba(0, 0, 0, 0.3);
    width: 95%;
    margin: 0 auto 30px auto;
}

/* 3. Text-Layout: Schwarz, kompakt und bündig */
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0 2.5%;
    text-align: left;
}

.footer-left, .footer-right {
    color: #000000;
    line-height: 1.3;
}

.footer-left p, .footer-right p {
    margin: 4px 0;
    font-size: 0.9rem;
}

.footer-left a {
    color: #000000;
    text-decoration: none;
    font-weight: 500;
}

.footer-right a {
    color: #000000;
    text-decoration: none;
}

/* Hover-Effekt für die Links */
.footer-content a:hover {
    color: #c5051f;
    text-decoration: underline;
}

.footer-right {
    text-align: right;
}



@media (max-width: 768px) {

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: left;
    }

    .footer-right {
        text-align: left;
    }

    .image-row {
        gap: 15px;
    }
    
    .image-row .img-placeholder {
        min-width: 120px;
    }

    .row-image {
        max-height: 120px;
    }
    
    /* 1. Countdown Textgröße optimieren */
    .countdown-label {
        font-size: 10vw;
    }
    #countdown {
        font-size: 18vw;
    }

    /* 2. Taskbar: Tabs nebeneinander lassen, aber Text kleiner oder stapeln */
    .taskbar {
        border-radius: 1.5rem;
    }
    
    .taskbar ul {
        flex-wrap: wrap;
    }

    .taskbar li {
        font-size: 0.9rem;
        padding: 12px 5px;
        min-width: 45%;
        margin: 2px;
    }

    /* 3. Split-View: Text oben, Karte unten */
    .split-view {
        flex-direction: column !important;
        align-items: center;
        gap: 20px;
        position: relative;
        opacity: 0;
        display: none;
    }

    .split-view.active {
        display: flex;
        opacity: 1;
    }

    .slider-container {
        min-height: 950px !important;
    }

    .animation-side {
    width: 100%;
    min-height: 250px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
    align-items: center;
    background: transparent; 
    border: none;
    backdrop-filter: none;
    }
    
    .text-side {
        width: 100%;
    }

    .text-side, .animation-side {
        width: 100% !important;
        flex: none;
        text-align: center;
    }

    .animation-side img {
        max-width: 100%;
        height: auto;
    }
}

.legal-content {
    animation: fadeIn 1s ease-in forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Für sehr kleine Geräte (Smartphones im Hochformat) */
@media (max-width: 480px) {
    .taskbar li {
        min-width: 100%;
    }
    
    .row-image {
        max-height: 100px;
    }
}