/* Verhindert Scrollbalken während der Animation */
body.split-active {
    overflow: hidden !important;
}

/* Die Hintergrundseite ist standardmäßig komplett deaktiviert */
#my-hidden-background-page {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1; /* Liegt hinter den Animationselementen */
    background: #111111; /* Hintergrundfarbe deiner Zielseite */
    color: #ffffff;
    box-sizing: border-box;
}

/* Wird im Moment des Tippens aktiviert */
#my-hidden-background-page.show-background {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Die beiden Hälften für den Split-Effekt */
.custom-split-half {
    position: fixed;
    top: 0;
    height: 100vh;
    width: 50vw;
    overflow: hidden;
    z-index: 99999; /* Liegt über allem während des Splits */
    transition: transform 1.2s cubic-bezier(0.77, 0, 0.175, 1);
}

.custom-split-half.left {
    left: 0;
}

.custom-split-half.right {
    left: 50vw;
}

/* Schiebt die Hälften nach links und rechts aus dem Bild */
.custom-split-half.left.slide-out {
    transform: translateX(-100%);
}

.custom-split-half.right.slide-out {
    transform: translateX(100%);
}

info-page, info-wrapper, info-topbar, info-brand, info-menu, 
info-headline, info-gif, info-gif-text, info-accordions, 
info-acc, info-panel, info-panel-inner, info-text, info-arrow {
    display: block;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: none;
    font-family: system-ui, -apple-system, sans-serif;
}

info-page#my-hidden-background-page {
    display: none;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 1;
    background-color: #121212 !important; 
    color: #e0e0e0 !important;
    overflow-y: auto !important;
}

info-page#my-hidden-background-page.show-background {
    display: block !important; 
}

info-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 20px 60px 20px;
}

info-topbar {
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
    border-bottom: 2px solid #ffffff;
    margin-bottom: 40px;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 0.9rem;
    letter-spacing: 1px;
    color: #ffffff;
}

info-headline {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 30px;
    line-height: 1.2;
    color: #ffffff;
    font-weight: bold;
}

info-gif {
    width: 60%;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
}

info-acc {
    border: 2px solid #333;
    margin-bottom: 12px;
    background: #161616;
}

.acc-toggle {
    display: none !important;
}

.acc-label {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 18px 20px !important;
    font-size: 2rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    color: #ffffff !important;
    background: transparent !important;
    margin: 0 !important;
}

info-arrow {
    font-family: monospace;
    color: #888;
    transition: transform 0.3s ease;
}

info-panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease-out;
}

info-panel-inner {
    overflow: hidden;
}

info-text {
    padding: 0 20px 20px 20px;
    color: #aaaaaa;
    line-height: 1.6;
    font-size: 2rem;
}

.acc-toggle:checked ~ info-panel {
    grid-template-rows: 1fr;
}

.acc-toggle:checked ~ .acc-label info-arrow {
    transform: rotate(90deg);
    color: #ffffff;
}