/* Global Styles */
body, html {
    height: 100%;
    margin: 0;
    font-family: Arial, sans-serif;
    scroll-behavior: smooth;
}

/* Header */
.header {
    background-color: #2c0d0d; /* Dunkles Bordeauxrot */
    color: white;
    text-align: center;
    padding: 80px 20px;
}

.header h1 {
    font-size: 48px;
    margin: 0;
}

/* Parallax Effect */
.parallax {
    position: relative;
    height: 100vh;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Specific Background Images for Each Section */
#section1 {
    background-image: url('lesetruppe2.jpg');
}

#section2 {
    background-image: url('schmetterling.jpg');
}

#section3 {
    background-image: url('lesetruppe1.jpg');
}

#section4 {
    background-image: url('_A741766.jpg');
}

#section5 {
    background-image: url('_A741743.jpg');
}

/* Text Overlay */
.text-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    padding: 20px;
    border-radius: 5px;
    max-width: 600px;
    width: 80%;
    text-align: center;
    font-size: 24px;
    opacity: 0; /* Text ist zunächst unsichtbar */
    transition: opacity 0.5s ease-in-out, background-color 0.5s ease-in-out;
}

/* Text erscheint, wenn sichtbar */
.text-visible {
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.5); /* Grauer Hintergrund, wenn Text sichtbar */
}

/* Footer */
footer {
    background-color: #2c0d0d;
    color: white;
    text-align: center;
    padding: 20px 0;
}


/* Impressum-Button und Container */
.impressum-container {
    text-align: center;
    margin: 20px 0;
}

.impressum-button {
    background-color: #3b0e0e; /* Dunkles Bordeauxrot */
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.impressum-button:hover {
    background-color: #521515; /* Etwas hellerer Rotton beim Hover */
}

/* Impressum-Text versteckt */
.impressum-content {
    display: none;
    color: #3b0e0e;
    margin-top: 10px;
    background-color: #f2f2f2;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Wenn Impressum sichtbar ist */
.impressum-content.visible {
    display: block;
}