.page-transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.98);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

[data-theme="dark"] .page-transition-overlay {
    background: rgba(26, 26, 46, 0.98);
}

.page-transition-overlay.active {
    opacity: 1;
    visibility: visible;
}

.page-transition-logo {
    width: 400px;
    height: auto;
    animation: pulse 1.2s ease-in-out infinite;
    /* Logo wird jetzt per HTML src-Attribut gesetzt (BrandConfig) */
}

[data-theme="dark"] .page-transition-logo {
    /* Dark-Mode Filter für SVG-Logos */
    filter: brightness(0) invert(1);
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.4;
        transform: scale(0.95);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}
