* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body.intro {
    height: 100vh;
    overflow: hidden;
    font-family: 'Montserrat', sans-serif;
}

/* === SPLIT LAYOUT === */
.split {
    position: absolute;
    top: 0;
    width: 55%;
    height: 100%;
}

/* === OLD SIDE === */

.split.old {
    left: 0;
    background-image: url('streifen.jpg'); /* Dein Streifenbild */
    background-position: right top;        /* rechts oben anfangen */
    background-size: auto;                 /* Originalbreite beibehalten */
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%);
    color: #ff6a00;
    display: flex;
    justify-content: center;
    align-items: center;
}

.old-inner {
    position: absolute;
    left: 10%;
}
.content {
    display: flex;
    flex-direction: column; /* Stapelt die Elemente vertikal */
    align-items: center;    /* Zentriert alles horizontal */
    gap: 20px;              /* Abstand zwischen Banner und den unteren GIFs */
    padding: 20px;
    position: relative;
    z-index: 1;
}

/* Das Maifestbanner oben */
.content img[src="Maifestbanner.png"] {
    width: 100%;            /* Nimmt die volle Breite der Box ein */
    max-width: 600px;       /* Verhindert, dass es zu riesig wird */
    height: auto;
    display: block;
}

/* Container für die beiden unteren GIFs */
.content-bottom-row {
    display: flex;
    justify-content: center; /* Zentriert die GIFs nebeneinander */
    gap: 15px;               /* Abstand zwischen den beiden GIFs */
    flex-wrap: wrap;         /* Falls der Platz nicht reicht, rutschen sie untereinander */
    width: 100%;
}

/* Die beiden GIFs unten */
.content-bottom-row img {
    height: auto;
    max-width: 45%;          /* Damit zwei nebeneinander passen */
}

/* === OLD INNER (Die graue Box) === */
.old-inner {
    position: absolute;
    left: 10%;
    width: 90%;
    max-width: 1000px;
    background-color: #333333;
    min-height: 500px;
    
    /* Wichtig: Padding oben auf 0, damit das Bild am Rand klebt */
    padding: 0 40px 40px 40px; 
    
    display: flex;
    flex-direction: column;
    overflow: hidden; /* Sorgt dafür, dass das Bild oben nicht übersteht */

    clip-path: polygon(
        0 50px, 40px 0, 100% 0, 
        100% 100%, 40px 100%, 0 calc(100% - 50px)
    );
    
    border-left: 4px solid #ff7e3b;
    box-shadow: 10px 10px 20px rgba(0,0,0,0.5);
    background: 
        linear-gradient(to top, rgba(255,255,255,0.15) 0%, transparent 30%), 
        #333333;
    
    border-bottom: 3px solid #ff4800; /* Die orangefarbene Unterkante */
}

/* === DAS BILD === */
.box-banner {
    width: calc(100% + 80px); /* Kompensiert das seitliche Padding der Box */
    margin-left: -40px;       /* Schiebt das Bild ganz nach links zum Rand */
    height: auto;
    display: block;
    margin-bottom: 20px;      /* Abstand zum Text darunter */
    
    /* Optional: Ein leichter Verlauf nach unten, damit es besser mit dem Grau verschmilzt */
    mask-image: linear-gradient(to bottom, black 90%, transparent 100%);
}

/* Innerer Schatten Effekt */
.old-inner::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    box-shadow: inset 0 0 50px rgba(0,0,0,0.8);
    pointer-events: none;
    z-index: 2; /* Über das Bild legen für mehr Tiefe */
}

.content {
    position: relative;
    color: white;
    z-index: 1;
}
/* === SUNSET SIDE === */
.split.sunset {
    right: 0;
    background-color: #1a0500;
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%);
    color: #fff;
    overflow: hidden !important;
}
.bg-sunset-glow {
    position: absolute;
    bottom: -10%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,72,0,0.6), transparent 70%);
    filter: blur(60px);
}

.sunset-inner {
    position: absolute;
    bottom: 15%;
    right: 10%;
    text-align: right;
}

.sunset-inner h2 {
    font-family: 'Anton';
    font-size: 3rem;
}

/* === CENTER === */
.center-intro {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 5;
    pointer-events: none;
}

.center-intro h1 {
    font-family: 'Anton';
    font-size: 4rem;
    color: #fff;
    text-shadow:
    0 0 10px #ff4800,
    0 0 20px #ff4800,
    0 0 30px #ff4800,
    0 0 40px #ff4800,
    0 0 50px #ff4800;
}

.center-intro h1 span {
    color: #ffae00;
}

.time-btn {
    margin-top: 30px;
    padding: 15px 40px;
    font-family: 'Anton';
    font-size: 1.5rem;
    color: #000;
    background: #ff4800;
    text-decoration: none;
    border: 4px solid #fff;
    box-shadow: 8px 8px 0 #000;
    transform: skewX(-10deg);
    transition: 0.3s;
    pointer-events: auto;
}

.time-btn:hover {
    background: #ffae00;
    box-shadow: 0 0 30px #ff4800;
    transform: skewX(-10deg) translateY(-5px);
}
/* === MODERN INNER (Die High-End Box) === */
.modern-inner {
    position: absolute;
    right: 10%;
    left:0;
    top: 50%;
    transform: translateY(-50%);
    width: 90%;
    min-height: 500px;
    height: 50%;
    text-align: right;
    
    /* Glassmorphism Effekt */
    background: rgba(255, 255, 255, 0.03);
    /*backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);*/
    
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px 24px 24px 0; /* Moderne, weiche Ecken */
    padding: 40px;
    overflow: hidden !important;
    

}

/* Der leuchtende Strich oben (Modern Accent) */
.modern-inner::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ffae00, transparent);
}

.modern-content {
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* Logo und Badge untereinander rechtsbündig */
    gap: 15px; /* Abstand zwischen Logo und Online-Badge */
}

#logonew {
    width: 60%; /* Logo etwas größer */
    height: auto;
    margin-bottom: 5px;
}

.badge {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: #ff4800; /* Massives Orange für die Box */
    color: #fff;
    padding: 6px 15px;
    border-radius: 4px; /* Eckiger Look für die Box */
    font-weight: bold;
    display: inline-block;
}

.modern-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 3.5rem;
    margin: 15px 0;
    background: linear-gradient(to bottom, #fff, #888);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.divider {
    width: 50px;
    height: 4px;
    background: #ff4800;
    margin-bottom: 20px;
    border-radius: 2px;
}

.modern-content p {
    font-weight: 300;
    line-height: 1.6;
    color: rgba(255,255,255,0.7);
}


/* Kleines modernes UI-Element (Grid) */
.modern-grid {
    display: flex;
    gap: 10px;
    margin-top: 30px;
}

.grid-item {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
}

.modern-coords {
    position: absolute;
    bottom: 15px;
    left: 60px; /* Gegenüber von den Social Icons */
    font-family: 'monospace'; /* Wirkt technischer */
    font-size: 10px;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    pointer-events: none; /* Stört das Klicken nicht */
}

/* Ein kleiner pulsierender Punkt davor */
.modern-coords::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 4px;
    background: #ff4800;
    border-radius: 50%;
    margin-right: 8px;
    vertical-align: middle;
    box-shadow: 0 0 5px #ff4800;
    animation: blink 2s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* Der Flash-Inhalt selbst */
#flash-content {
    width: 550px;  /* Hier die Breite deiner SWF eintragen */
    height: 400px; /* Hier die Höhe deiner SWF eintragen */
    max-width: 100%;
}

.modern-socials {
    display: flex;
    gap: 20px;
    /* margin-top: auto;  <-- Diese Zeile entfernen oder auskommentieren */
    margin-top: -10%;
    padding-top: 10px;
    justify-content: flex-end;
}

.social-link {
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: rgba(255, 255, 255, 0.02);
}

.social-link:hover {
    background: rgba(255, 72, 0, 0.1);
    border-color: #ff4800;
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 72, 0, 0.2);
}

.social-link svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Container für die Timelines - jetzt nebeneinander */
.modern-timelines {
    margin: 0 0;
    display: flex;
    flex-direction: row; /* Nebeneinander */
    justify-content: center; /* Mittig in der Box */
    gap: 40px; /* Abstand zwischen den beiden Timelines */
    width: 100%;
}

.timeline-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 160px; /* Kompakte Breite */
}

/* Poster-Größe angepasst für Nebeneinander-Look */
.poster-preview {
    width: 130px; 
    height: 180px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    transition: all 0.4s ease;
    filter: brightness(0.8);
}

.timeline-item:hover .poster-preview {
    transform: translateY(-8px);
    border-color: #ff4800;
    filter: brightness(1);
    box-shadow: 0 15px 30px rgba(255, 72, 0, 0.2);
}

.timeline-info {
    text-align: center;
    width: 100%;
    margin-top: 12px;
}

.timeline-info span {
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: #fff;
    margin-bottom: 6px;
}

.progress-track {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 6px;
}

.progress-fill {
    height: 100%;
    background: #ff4800;
    box-shadow: 0 0 10px rgba(255, 72, 0, 0.5);
}

.timeline-info small {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.4);
    display: block;
}

.era-label {
    position: absolute;
    font-family: 'Anton', sans-serif;
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.3); /* Dezent im Hintergrund */
    z-index: 10;
    pointer-events: none;
    letter-spacing: 10px;
}

/* === DESKTOP POSITIONEN === */
.label-old {
    top: 20px;
    left: 20px;
}

.label-modern {
    bottom: 20px;
    right: 20px;
}

/* === MOBILE === */
@media (max-width: 768px), (hover: none) and (pointer: coarse) {
    html, body {
        height: 100%;
        margin: 0;
        padding: 0;
        overflow: hidden; /* Verhindert das weiße Ende beim Scrollen */
    }

    body.intro {
        display: flex;
        flex-direction: column;
        height: 100vh;
    }

    /* === BEIDE HÄLFTEN === */
    .split {
        position: relative !important;
        width: 100% !important;
        height: 50vh !important;
        left: 0 !important;
        right: 0 !important;
        display: flex;            /* Aktiviert Flexbox */
        justify-content: center;   /* Zentriert horizontal */
        align-items: center;       /* Zentriert vertikal */
    }

    /* === OBEN: OLD SIDE === */
    .split.old {
        clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
        z-index: 1;
        background-size: cover;
    }

    /* === UNTEN: MODERN SIDE === */
    .split.sunset {
        clip-path: polygon(0 8%, 100% 0, 100% 100%, 0 100%);
        margin-top: -4vh; /* Schließt den Spalt */
        height: 54vh !important; 
        z-index: 2;
        background-color: #1a0500;
    }

    /* === BOXEN PLACEMENT === */
    .old-inner, .modern-inner {
        position: relative !important; /* Wichtig: absolute Position aufheben */
        top: auto !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
        width: 90% !important;
        max-width: 1000px;
        margin: 0 !important; /* Zentrierung übernimmt der Parent (split) */
        padding: 15px !important;
        min-height: auto !important;
    }

    /* Kleiner Puffer für die untere Box, damit sie nicht am Schnitt klebt */
    .modern-inner {
        margin-top: 4vh !important; 
    }

    /* === TEXT & BUTTON IN DER MITTE === */
    .center-intro {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 100;
        width: 100%;
        pointer-events: none;
    }

    .center-intro h1 {
        font-size: 4rem;
        margin-bottom: 10px;
    }

    .time-btn {
        pointer-events: auto;
        font-size: 2rem;
        padding: 10px 25px;
    }

    /* Timelines für Handy optimieren */
    .modern-timelines {
        flex-direction: row;
        gap: 10px;
        justify-content: center;
        width: 100%;
    }

    .modern-inner{border-radius: 24px 24px 24px 24px;}

    .poster-preview {
        width: 80px;
        height: 110px;
    }
    


    .modern-timelines {
    margin: 0 0;
    display: flex;
    flex-direction: row; /* Nebeneinander */
    justify-content: center; /* Mittig in der Box */
    gap: 80px; /* Abstand zwischen den beiden Timelines */
    width: 100%;
}

.timeline-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 160px; /* Kompakte Breite */
}

/* Poster-Größe angepasst für Nebeneinander-Look */
.poster-preview {
    width: 190px; 
    height: 260px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    transition: all 0.4s ease;
    filter: brightness(0.8);
}

.timeline-info {
    text-align: center;
    width: 100%;
    margin-top: 12px;
}

.timeline-info span {
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: #fff;
    margin-bottom: 6px;
}

.modern-inner {
        height: 60vw;
    }


}