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

body {
    font-family: 'Inter', sans-serif;
    height: 100vh;
    width: 100vw;
    overflow: hidden; /* Kein Scrollen auf der Hauptseite */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #ffffff;
    background-color: #0f0f0f; /* Fallback Farbe */
}

/* Hintergrundbild */
.background-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    
    /* WICHTIG FÜR HANDYS: */
    height: 100vh;          /* Fallback für ältere Browser */
    height: 100dvh;         /* Ignoriert die mobile Adressleiste (Dynamic Height) */
    
    background-image: url('background.jpg');
    
    /* Damit das Bild immer den ganzen Screen füllt, ohne weiße Ränder: */
    background-size: cover; 
    
    /* Fixiert den Fokus exakt in der Bildmitte (horizontal & vertikal): */
    background-position: center center; 
    
    background-repeat: no-repeat;
    z-index: -1;
    filter: brightness(0.8); 
}

/* Footer & Button */
.footer {
    padding: 2rem;
    text-align: center;
    width: 100%;
    position: absolute;
    bottom: 0;
}

.subtle-btn {
    background: transparent;
    /*border: 1px solid rgba(255, 255, 255, 0.3);*/
    border: none;
    color: rgba(255, 255, 255, 0.4);
    padding: 10px 20px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 300;
    cursor: pointer;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.subtle-btn:hover {
    /*border-color: rgba(255, 255, 255, 0.8);*/
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

/* Overlay / Impressum */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dunkler Hintergrund */
    backdrop-filter: blur(8px); /* Blur-Effekt */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    z-index: 100;
}

.overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.overlay-content {
    background: rgba(20, 20, 20, 0.9);
    padding: 2rem 3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    text-align: left;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* Typografie im Impressum */
.overlay-content h2 {
    margin-bottom: 1.5rem;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.legal-text p {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #ccc;
}

/* Schließen Button */
.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.3s;
}

.close-btn:hover {
    opacity: 1;
}

/* Responsive Anpassungen */
@media (max-width: 600px) {
    .overlay-content {
        padding: 1.5rem;
        width: 95%;
    }
}

.brand-name {
    position: absolute;
    top: 2.5rem;   /* Abstand von oben */
    left: 2.5rem;  /* Abstand von links */
    
    font-size: 1rem;      /* Eher klein halten für Eleganz */
    font-weight: 300;        /* Dünne Schriftart */
    letter-spacing: 2px;     /* Zeichenabstand für "Luftigkeit" */
    color: rgba(255, 255, 255, 0.4); /* Weiß, aber leicht transparent (dezent) */
    
    z-index: 10; /* Damit es über dem Hintergrund, aber unter dem Overlay liegt */
    pointer-events: none; /* Man kann nicht versehentlich draufklicken/markieren */
}

/* Anpassung für Handys, damit es nicht zu sehr am Rand klebt */
@media (max-width: 600px) {
    .brand-name {
        top: 1.5rem;
        left: 1.5rem;
        font-size: 0.75rem;
    }
}

/* 1. Alles zurücksetzen */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* 2. Scrollen global verbieten */
html, body {
    width: 100%;
    height: 100%;
    height: 100dvh; /* Exakte Höhe für Handys */
    
    /* HIER IST DER SCHLÜSSEL: */
    overflow: hidden; /* Versteckt Scrollbalken komplett */
    overscroll-behavior: none; /* Verhindert den "Bounce"-Effekt auf Mac/iOS */
    position: fixed; /* Zwingt die Seite starr an ihren Platz */
    
    font-family: 'Inter', sans-serif;
    color: #ffffff;
    background-color: #0f0f0f;
}

/* ... (Hier folgt .brand-name und .background-image wie gehabt) ... */

/* ... */

/* 3. Anpassung beim Overlay-Content (damit Impressum auf kleinen Handys lesbar bleibt) */
.overlay-content {
    background: rgba(20, 20, 20, 0.95); /* Etwas dunkler für bessere Lesbarkeit */
    padding: 2rem 3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    text-align: left;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);

    /* NEU: Nur innerhalb der Box scrollen, falls Text zu lang */
    max-height: 85vh; 
    overflow-y: auto; 
    /* Versteckt die Scrollbar im Overlay, lässt aber Scrollen zu (optional) */
    scrollbar-width: none; 
}

.overlay-content::-webkit-scrollbar {
    display: none; /* Für Chrome/Safari */
}

/* ... Rest bleibt gleich ... */