/* Grundlegendes Layout und animierter Farb-Hintergrund */
body {
    margin: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: white;
    background: linear-gradient(-45deg, #111111, #222222, #3b0764, #1e1b4b);
    background-size: 400% 400%;
    animation: gradientBG 12s ease infinite;
    overflow: hidden;
}

/* Animation für den fließenden Hintergrund */
@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Zurück-Link oben links */
.back-link {
    position: absolute;
    top: 25px;
    left: 25px;
    color: #bbb;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease, transform 0.2s ease;
}

.back-link:hover {
    color: #ffffff;
    transform: translateX(-3px);
}

/* Inhalt in der Mitte */
.content {
    text-align: center;
    animation: fadeIn 1.5s ease-out;
}

.content h1 {
    font-size: 4rem;
    margin: 0 0 10px 0;
    letter-spacing: 2px;
    background: linear-gradient(90deg, #ffffff, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.content p {
    font-size: 1.2rem;
    color: #888;
    margin: 0;
}

/* Dezenter Einblend-Effekt beim Laden */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================
   Responsive Anpassungen für Handys & Tablets
   ================================---------- */
@media (max-width: 768px) {
    .content h1 {
        font-size: 2.5rem; /* Kleinere Überschrift auf Smartphones */
    }

    .content p {
        font-size: 1rem;
        padding: 0 20px;   /* Sichert etwas Abstand zum linken/rechten Rand */
    }

    .back-link {
        top: 15px;
        left: 15px;
        font-size: 14px;
    }
}