/* Allgemeine Stile für den Body */
body {
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, hsl(307, 100%, 53%) 0%, hsl(228, 56%, 4%) 100%);
    color: #e0e0e0;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
    position: relative; /* Ermöglicht das Positionieren des Loaders */
}

/* Loader-Styling */
.loader {
    height: 40px;
    aspect-ratio: 1.5;
    --c: no-repeat linear-gradient(#fff 0 0);
    background: var(--c), var(--c), var(--c), var(--c);
    background-size: 33.4% 50%;
    animation: l3 2s infinite linear;
    position: absolute; /* Positioniert den Loader in der Mitte */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@keyframes l3 {
    0%    {background-position:0 0,50% 0,0 100%,50% 100%}
    12.5% {background-position:0 0,100% 0,0 100%,50% 100%}
    25%   {background-position:50% 0,100% 0,0 100%,50% 100%}
    37.5% {background-position:50% 0,100% 0,0 100%,100% 100%}
    50%   {background-position:50% 0,100% 0,50% 100%,100% 100%}
    62.5% {background-position:0 0,100% 0,50% 100%,100% 100%}
    75%   {background-position:0 0,50% 0,50% 100%,100% 100%}
    87.5% {background-position:0 0,50% 0,0 100%,100% 100%}
    100%  {background-position:0 0,50% 0,0 100%,50% 100%}
}

/* Hauptinhalt */
.container {
    background-color: #1e1e1e;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    max-width: 600px;
    text-align: center;
    display: none; /* Versteckt den Inhalt bis der Loader verschwunden ist */
    opacity: 0; /* Initial verstecken für Animation */
    transform: translateY(20px); /* Initial außerhalb des Bildschirms */
    transition: opacity 1s ease-out, transform 1s ease-out; /* Animations-Effekte */
}

/* Hauptinhalt sichtbar machen */
.container.show {
    opacity: 1; /* Sichtbar machen */
    transform: translateY(0); /* Endposition */
}

/* Pläne (Drei nebeneinanderstehende Boxen) */
.plan-container {
    display: flex;
    justify-content: space-around;
    margin-top: 30px;
}

.plan-box {
    background-color: #2a2a2a;
    padding: 20px;
    width: 30%;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    text-align: center;
    transition: transform 0.3s ease;
}

.plan-box:hover {
    transform: translateY(-10px); /* Hebt die Box leicht an */
    background-color: #383838;
}

.plan-title {
    font-size: 24px;
    margin-bottom: 10px;
    color: #fff;
}

.plan-price {
    font-size: 20px;
    margin-bottom: 15px;
    color: #a0e0a0;
}

.plan-features {
    list-style: none;
    padding: 0;
    color: #ccc;
}

.plan-features li {
    margin-bottom: 10px;
}

.plan-button {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    font-size: 16px;
    color: white;
    background-color: #7289da;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.plan-button:hover {
    background-color: #5a6cb2;
}

/* Mobile Anpassungen */
@media (max-width: 800px) {
    .plan-container {
        flex-direction: column;
        align-items: center;
    }

    .plan-box {
        width: 80%;
        margin-bottom: 20px;
    }
}
