/* Generelle Seite */
html {
    height: 100%;
}
body {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100vw;
}

/* Globale Einstellungen und Hintergrundtextur */
body {
    background-image: url('textur.jpg');
    background-size: cover;
    background-position: center;
    
    display: flex;
    justify-content: center; 
    align-items: center;    
    overflow: hidden; 
    font-family: sans-serif;
}

/* --- Bild-Container --- */
#slideshow-container {
    max-width: 80vw; 
    max-height: 80vh; 
    width: 100%;
    height: 100%; 
    
    display: flex;
    justify-content: center; 
    align-items: center;    
}

/* --- Bild-Element --- */
#slideshow-image {
    display: block;
    max-width: 100%; 
    max-height: 100%; 
    width: auto; 
    height: auto; 
    object-fit: contain; 
    
    opacity: 0;
    transition: opacity 1.5s ease-in-out, transform 1.5s ease-in-out; 
    
    transform: scale(1); 
    transform-origin: center center; 
}

/* --- FADE EFFEKTE --- */
.fast-fade {
    transition: opacity 0.8s ease-out, transform 0.8s ease-out; 
    transform: scale(1); 
}

.zoom-fade {
    transition: opacity 2s ease-in-out, transform 2s ease-out; 
    transform: scale(1.1); 
}


/* --- FOOTER / IMPRESSUM (AUSRICHTUNGS-FIX) --- */
#footer-info {
    position: fixed;
    bottom: 10px;
    left: 10px;
    color: white;
    font-size: 10px; 
    line-height: 1.4;
    z-index: 10;
    user-select: none;
    
    /* FIX: Erzwingt linksbündige Ausrichtung des Footers und entfernt Browser-Ränder */
    text-align: left !important; 
    margin: 0 !important; 
    padding: 0 !important;
}

#impressum-toggle {
    cursor: pointer;
    font-weight: 200; 
    text-decoration: none;
    display: inline-block;
    padding: 0;
}

#impressum-content {
    /* FIX: Erzwingt Transparenz und Box-Modell */
    background-color: rgba(0, 0, 0, 0.7) !important; 
    padding: 10px !important;
    border-radius: 5px;
    margin-top: 5px;
    
    /* Wichtig: Bricht Einrückung durch externe Ränder */
    margin-left: 0 !important; 
    
    transition: opacity 0.5s ease;
    /* FIX: Erzwingt linksbündige Ausrichtung des Inhalts */
    text-align: left !important;
    
    /* Setzt die Schriftfarbe explizit */
    color: white !important;
}

/* Mailto Link Farbe */
#impressum-content a {
    color: #BBBBBB !important; 
    text-decoration: none; 
}

#impressum-content a:hover {
    color: #FFFFFF !important; 
    text-decoration: underline;
}

/* Versteckt das Impressum */
.hidden {
    opacity: 0 !important; 
    visibility: hidden; 
    height: 0;
    overflow: hidden;
    padding: 0;
    margin: 0;
}