/* Vorschaltseite Styles */

/* Poppins Font Integration */
@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #2d3561 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.container {
    text-align: center;
    padding: 2rem;
    animation: fadeIn 1.5s ease-in;
}

.logo-wrapper {
    margin-bottom: 3rem;
    animation: slideDown 1s ease-out;
}

.logo-wrapper img {
    max-width: 400px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
}

.message {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1.5s ease-out 0.5s both;
}

.submessage {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    font-weight: 300;
    animation: fadeInUp 1.5s ease-out 0.8s both;
}

/* Loading Animation */
.loading-dots {
    display: inline-block;
    margin-top: 2rem;
}

.loading-dots span {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: bounce 1.4s infinite ease-in-out both;
}

.loading-dots span:nth-child(1) {
    animation-delay: -0.32s;
}

.loading-dots span:nth-child(2) {
    animation-delay: -0.16s;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes bounce {
    0%, 80%, 100% {
        transform: scale(0);
    }
    40% {
        transform: scale(1);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo-wrapper img {
        max-width: 280px;
    }
    
    .message {
        font-size: 1.5rem;
    }
    
    .submessage {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 1.5rem;
    }
    
    .logo-wrapper img {
        max-width: 220px;
    }
    
    .message {
        font-size: 1.3rem;
    }
    
    .submessage {
        font-size: 0.9rem;
    }
}
