/* Grundlegende Stile */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    background: url('assets/enteignung.jpg') no-repeat fixed;
    background-size: cover; /* Skaliert das Bild, um den Viewport abzudecken */
    background-position: left center; /* Standard für Desktop */
    background-color: #000; /* Fallback-Farbe */
    color: white;
    font-family: 'Montserrat', sans-serif;
}

.content {
    width: 50%;
    padding: 30px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    margin: 20px auto; /* Zentriert und mit Abstand zum Rand */
    max-width: 1200px;
    box-sizing: border-box;
    position: absolute; top: 0; left: 2.5%; /* Besser für Responsivität als absolut */
}

h1, h2 {
    color: #ffcc00;
    font-weight: 700;
}

p {
    font-size: 1.2em;
    line-height: 1.6;
}

.warning {
    font-size: 1.3em;
    color: #ffeb3b;
    margin-bottom: 20px;
}

.image-text-container {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 20px 0;
}

.image-text-container img {
    width: auto;
    height: 500px;
    border-radius: 5px;
}

.text-block p {
    font-size: 1.1em;
}

.zusatztext {
    font-weight: 700;
    color: #ffcc00;
    margin-top: 10px;
}

.urgency, .offers, .trust {
    margin: 20px 0;
}

.angebot {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.preis { color: #28a745; font-weight: 700; font-size: 1.3em; }
.raten { color: #007bff; font-weight: 700; font-size: 1.2em; }
.digistore { color: #cccccc; font-size: 1em; }

.cta-button {
    display: block;
    padding: 15px 30px;
    font-size: 1.2em;
    color: white;
    background: #28a745;
    text-decoration: none;
    border-radius: 5px;
    text-align: center;
    font-weight: 700;
    transition: opacity 0.3s;
}

.cta-button.secondary { background: #007bff; }
.cta-button:hover { opacity: 0.8; }

/* Media Queries für Responsivität */
@media (max-width: 768px) {
    body {
        background-position: center center; /* Zentriert das Bild auf Mobilgeräten */
        background-color: black;
    }

    .content {
        width: 95%; /* Breiter für kleinere Bildschirme */
        padding: 20px;
        margin: 10px auto; /* Weniger Abstand oben/unten */
    }

    h1 {
        font-size: 1.5em;
    }

    p, .warning {
        font-size: 1em;
    }

    .image-text-container {
        flex-direction: column; /* Stapelt Inhalte vertikal */
        text-align: center;
    }

    .image-text-container img {
        width: 100%;
        max-width: 400px; /* Begrenzt die Bildgröße */
    }

    .cta-button {
        font-size: 1em;
        padding: 12px 20px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .content {
        width: 70%; /* Zwischengröße für Tablets */
    }
}

/* Neue Stile für den Footer */
.footer {
    position: fixed;
    bottom: 0;
    right: 0;
    width: 42%; /* Maximal 45% der Breite von rechts betrachtet */
    min-width: fit-content;
    background: rgba(0, 0, 0, 0.7); /* 20% Transparenz */
    color: #cccccc;
    font-family: 'Montserrat', sans-serif;
    display: flex;
    justify-content: flex-end; /* Texte rechts ausrichten */
    align-items: center;
    padding: 5px 15px; /* Schmaler Padding für geringere Höhe */
    opacity: 0; /* Standardmäßig unsichtbar */
    transition: opacity 0.3s ease; /* Sanfter Übergang beim Ein-/Ausblenden */
    z-index: 1000; /* Über anderen Inhalten */
    flex-wrap: nowrap;
}

.footer.show {
    opacity: 1; /* Wird sichtbar, wenn Klasse 'show' hinzugefügt wird */
}

.footer p {
    margin: 0;
    font-size: 0.9em;
}

.footer-link {
    color: #ffeb3b;
    text-decoration: none;
    font-weight: 500;
    margin-left: 15px; /* Abstand zwischen den Links */
}

.footer-link:hover {
    text-decoration: underline;
}

/* Responsives Design für den Footer */
@media (max-width: 768px) {
    .footer {
        width: 70%; /* Mehr Platz auf Mobilgeräten */
        padding: 5px 10px; /* Noch schmaler auf Mobilgeräten */
        font-size: 0.8em;
        flex-wrap: wrap; /* Erlaubt Umbruch auf Mobilgeräten */
        justify-content: flex-end; /* Rechtsbündig */
        gap: 5px; /* Kleiner Abstand zwischen Elementen bei Umbruch */
    }

    .footer-link {
        margin-left: 10px; /* Kleinerer Abstand auf Mobilgeräten */
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .footer {
        width: 50%; /* Zwischengröße für Tablets */
    }
}