/* Globale Stile und Hintergrund */
body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #444; /* Dunkelgrauer Text */
    text-align: center;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* KOMPLETT WEISSER HINTERGRUND */
.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff; 
    z-index: -2; 
}

/* Header (für den START-Button) */
.header {
    position: absolute;
    top: 20px;
    right: 30px;
    z-index: 10;
}

.start-button {
    color: #6c757d; 
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    padding: 5px 10px;
    transition: color 0.3s;
}

.start-button:hover {
    color: #000; 
}

/* Hauptinhalt der Landingpage */
.content {
    padding: 20px;
    z-index: 5;
    max-width: 600px; 
    width: 90%;
    background-color: transparent; 
    padding-top: 50px;
    padding-bottom: 50px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); 
}

/* LOGO-STILE */
.logo-container {
    margin-bottom: 10px; 
}

.logo {
    max-width: 450px; 
    height: auto;
    filter: grayscale(100%); 
}

/* H1 TEXT - SEHR KLEIN */
h1 {
    font-size: 1.1rem; 
    font-weight: 700;
    margin-top: 0; 
    margin-bottom: 25px; 
    line-height: 1.3; 
    letter-spacing: 1px;
    color: #212529; 
    padding: 0 10px; 
}

/* Fortschrittsbalken */
.progress-container {
    width: 100%;
    max-width: 350px;
    margin: 0 auto 40px auto; 
}

.progress-bar {
    height: 20px; 
    background-color: #dee2e6; 
    border-radius: 3px;
    overflow: hidden;
    position: relative; 
}

.progress-fill {
    height: 100%;
    background-color: #6c757d; 
    background-image: linear-gradient(
        -45deg,
        rgba(255, 255, 255, .2) 25%, 
        transparent 25%, 
        transparent 50%, 
        rgba(255, 255, 255, .2) 50%, 
        rgba(255, 255, 255, .2) 75%, 
        transparent 75%, 
        transparent
    );
    background-size: 40px 40px; 
    width: 0%; 
    transition: width 0.1s linear; 
    position: relative; 
}

/* Stile für die Prozentzahl innerhalb des Balkens */
#progressText {
    position: absolute;
    right: 5px; 
    color: white; 
    font-size: 0.9rem;
    line-height: 20px; 
    font-weight: 600;
}

/* Visuelle Animation der Streifen */
.progress-fill.animate-stripes {
    animation: moveStripes 2s linear infinite;
}

/* Die Labels (0% und 100%) werden nicht mehr verwendet */
.progress-labels {
    display: none; 
}


/* Kontakt-Button */
.notification-button {
    display: inline-block;
    padding: 12px 25px;
    margin-top: 30px;
    border: 1px solid #adb5bd; 
    background-color: #adb5bd; 
    color: white; 
    text-decoration: none;
    font-size: 1rem;
    border-radius: 4px;
    transition: background-color 0.3s, border-color 0.3s;
    font-weight: 600;
}

.notification-button:hover {
    background-color: #6c757d;
    border-color: #6c757d;
}

/* Footer (für Landingpage) */
.footer {
    position: absolute;
    bottom: 20px; 
    width: 100%;
    text-align: center;
    z-index: 5;
}

/* NEUE STILE für Impressum-Link (im Footer) */
.legal-links {
    margin-bottom: 10px; 
    line-height: 1; 
}

.impressum-link {
    color: #6c757d; 
    text-decoration: none; 
    font-size: 0.9rem;
    padding: 5px 10px;
    border-radius: 4px;
    transition: color 0.3s, background-color 0.3s;
}

.impressum-link:hover {
    color: #444; 
    background-color: #f8f9fa; 
}


/* Social Icons - NICHT KLICKBAR */
.social-icons {
    margin-top: 5px; 
}

.social-icons i {
    color: #6c757d; 
    font-size: 1.5rem;
    margin: 0 15px;
    border: 1px solid #adb5bd; 
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 50%;
    display: inline-block;
    cursor: default;
    transition: background-color 0.3s, border-color 0.3s, color 0.3s;
}

.social-icons i:hover {
    background-color: #e9ecef; 
    border-color: #6c757d;
    color: #444; 
}

/* ========================================= */
/* CSS Keyframes für die visuelle Animation */
/* ========================================= */

@keyframes moveStripes {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 40px 0;
    }
}


/* ========================================= */
/* STILE FÜR DIE IMPRESSUM-SEITE (impressum.html) */
/* ========================================= */

.impressum-body {
    display: block; 
    padding: 50px 0;
    min-height: auto;
}

.content-impressum {
    max-width: 700px;
    margin: 0 auto; 
    padding: 40px;
    text-align: left;
    background-color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.content-impressum h2 {
    font-size: 2rem;
    color: #212529;
    margin-bottom: 30px;
    text-align: center;
}

.impressum-details p,
.kontakt-details p {
    margin: 5px 0;
    line-height: 1.6;
}

.kontakt-details {
    margin-top: 30px;
}

.content-impressum a {
    color: #6c757d;
    text-decoration: underline;
}

.content-impressum a:hover {
    color: #444;
}

.back-link-container {
    text-align: center;
    margin-top: 40px;
}

.back-link {
    text-decoration: none !important;
    font-weight: 600;
    padding: 10px 15px;
    border: 1px solid #adb5bd;
    border-radius: 4px;
    display: inline-block;
}

.back-link:hover {
    background-color: #f8f9fa;
}


/* Responsivität für kleinere Bildschirme (Mobile) */
@media (max-width: 600px) {
    .content {
        padding: 30px 20px;
    }
    
    .logo-container {
        margin-bottom: 5px; 
    }
    
    .logo {
        max-width: 300px; 
    }
    
    h1 {
        font-size: 0.9rem; 
        letter-spacing: 0.5px;
        margin-bottom: 20px;
    }
    
    .legal-links {
        margin-bottom: 15px;
    }
    
    .impressum-link {
        font-size: 0.8rem;
    }
    
    .social-icons i {
        font-size: 1.2rem;
        width: 40px;
        height: 40px;
        line-height: 40px;
        margin: 0 10px;
    }
    
    .footer {
        bottom: 40px; /* Eindeutiger Abstand, um die Buttons über die Browser-Leisten zu heben */
    }
    
    .content-impressum {
        padding: 20px;
    }
}