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

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

.content {
    width: 45%; /* Konsistent mit der vorherigen Seite */
    padding: 30px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    position: absolute;
    left: 5%; /* Links vom Bildrand */
    top: 0; /* Bündig mit dem oberen Bildrand */
    box-sizing: border-box;
}

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: 40%;
    height: auto;
    border-radius: 5px;
}

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

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

.urgency, .offers, .trust, .intro-section, .current-offer {
    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;
}

/* Neue Stile für die Landingpage */
.contact-link {
    color: #ffeb3b;
    text-decoration: none;
    font-weight: 700;
}

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

ul {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

ul li {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

ul li:before {
    content: "✔";
    color: #28a745;
    position: absolute;
    left: 0;
    font-size: 1.2em;
}

/* Responsives Design mit Media Queries */
@media (max-width: 768px) {
    body {
        background-position: center center; /* Zentriert das Bild auf Mobilgeräten */
    }

    .content {
        width: 90%; /* Breiter für kleinere Bildschirme */
        padding: 20px;
        margin: 10px auto; /* Zentriert, kein absolutes Positioning */
        position: relative; /* Für Mobilgeräte besser */
        top: auto; /* Entfernt die absolute Positionierung */
        left: auto;
    }

    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 */
        left: 5%;
        top: 0;
        position: absolute;
    }
}

/* Neue Stile für den Footer */
.footer {
    position: fixed;
    bottom: 0;
    right: 0;
    width: 35%; /* Maximal 35% der Breite von rechts betrachtet */
    min-width: fit-content; /* Footer ist mindestens so breit wie der Text */
    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; /* Standardmäßig keine Umbrüche */
}

.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 */
    }
}