/*
Theme Name: Reku Therm Enthuellung High-Res
Author: arvatis media GmbH
Description: Hochauflösendes, responsives Enthüllungs-Theme.
Version: 1.3
*/

:root {
    --primary-blue: #0b4a8d;
    --text-glow: 0 2px 15px rgba(0, 0, 0, 0.9);
}

body, html {
    margin: 0; padding: 0; width: 100%; height: 100%;
    background-color: #0a0c10;
    font-family: 'Segoe UI', Tahoma, sans-serif;
    color: #ffffff;
    overflow-x: hidden;
    overflow-y: auto;
}

.background-scene {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover; background-position: center;
    z-index: 1;
}

.overlay {
    position: relative;
    z-index: 10;
    width: 100%;
    min-height: 100dvh;
    display: flex;
    flex-direction: column; 
    justify-content: space-between;
    box-sizing: border-box; 
    /*padding: 2vh 5vw 5vh calc(2vh + env(safe-area-insert-bottom)) 5vw;*/
}

header { 
    text-align: center; 
    margin-top: 20px; /* Ein kleiner Abstand zum Rand */
}

.main-headline h1 {
    font-weight: 300;
    font-size: clamp(1.4rem, 5vw, 2.5rem); 
    letter-spacing: clamp(2px, 1vw, 6px);
    text-transform: uppercase;
    margin: 0 0 5px 0;
    text-shadow: var(--text-glow);
    line-height: 1.1;
}

.main-headline span {
    display: block;
    font-size: clamp(0.8rem, 2vw, 1.1rem);
    color: #d1d5d9;
    text-shadow: var(--text-glow);
    max-width: 600px;
    margin: 0 auto;
}

/* Mitte: Leer lassen, damit das Bild frei bleibt */
.main-content {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Unten: Info & Footer */
.bottom-section {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    flex-shrink: 0;
    padding-bottom: env(safe-area-inset-bottom);
}

.info-bar {
    text-align: center; margin-bottom: 20px; color: #cccccc;
    font-size: clamp(0.75rem, 1.8vw, 0.95rem);
    letter-spacing: 1px; text-shadow: var(--text-glow);
}

footer {
    text-align: center;
    font-size: clamp(0.7rem, 1.8vw, 0.8rem);
    line-height: 1.5;
    color: #bbbbbb;
    background: rgba(0, 0, 0, 0.7);
    
    height: auto;
    min-height: fit-content;
        
    /*padding: 20px;*/
    padding: 15px 10px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);

    box-sizing: border-box;
    overflow: visible;
}

footer strong {
    display: inline-block;
    margin-bottom: 5px;
    color: #fff;
}

footer a { color: #ffffff; text-decoration: none; border-bottom: 1px solid var(--primary-blue); }

@media (max-width: 600px) {
    .overlay { padding: 15px; padding-bottom: calc(20px + env(safe-area-insert-bottom))}
    .main-headline h1 { font-size: 1.3rem; }
}

@media screen and (max-height: 700px) {
    .main-headline h1 {
        margin-top: 10px;
        font-size: 1.2rem;
    }
    footer {
        padding: 10px;
        font-size: 0.7rem;
    }
    .info-bar {
        margin-bottom: 10px;
    }
}