/* ============ Grunddesign / Modernes Coming-Soon-Design ============ */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    overflow: hidden;
}

body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(1200px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), #1e293b 0%, #0f172a 70%);
    position: relative;
    color: #e2e8f0;
}

/* ============ Animierter Hintergrund ============ */

.bg-animated {
    position: fixed;
    inset: 0;
    background: linear-gradient(-45deg, #1e3a8a, #0f172a, #312e81, #0f172a);
    background-size: 400% 400%;
    animation: bgGradient 18s ease infinite;
    z-index: 0;
    overflow: hidden;
}

.bg-animated::before,
.bg-animated::after {
    content: '';
    position: absolute;
    inset: 0;
    background: inherit;
    opacity: 0.7;
    z-index: -1;
}

.bg-animated::before {
    filter: blur(80px) saturate(150%);
    animation: pulse 8s ease-in-out infinite alternate;
}

.bg-animated::after {
    filter: blur(120px) saturate(200%);
    animation: pulse 12s ease-in-out infinite alternate-reverse;
}

@keyframes bgGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes pulse {
    from { opacity: 0.3; transform: scale(1.02); }
    to   { opacity: 0.6; transform: scale(1.08); }
}

/* ============ Partikel ============ */

.bg-particles {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.particle {
    position: absolute;
    background: rgba(147, 51, 234, 0.4);
    border-radius: 50%;
    animation: float 12s linear infinite;
    pointer-events: none;
}

@keyframes float {
    to {
        transform: translateY(-120vh) rotate(360deg);
    }
}

/* ============ Hauptkarte (Glass-Morphismus) ============ */

.card {
    position: relative;
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 3rem;
    max-width: 520px;
    width: 90%;
    text-align: center;
    backdrop-filter: blur(20px) saturate(1.5);
    -webkit-backdrop-filter: blur(20px) saturate(1.5);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    transform: translateY(0);
    transition: transform 0.3s ease;
    z-index: 10;
}

.card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #667eea, #764ba2, #ec4899, #f59e0b);
    border-radius: 26px;
    z-index: -1;
    filter: blur(0.5px);
    opacity: 0.5;
    animation: shimmer 6s linear infinite;
}

@keyframes shimmer {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.card:hover {
    transform: translateY(-4px);
}

/* ============ Logo ============ */

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    margin-bottom: 2rem;
}

.logo-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: linear-gradient(135deg, #a855f7, #ec4899);
    box-shadow: 0 0 12px rgba(168, 85, 247, 0.6);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 0.6; box-shadow: 0 0 8px rgba(168, 85, 247, 0.4); }
    50%      { opacity: 1; box-shadow: 0 0 20px rgba(168, 85, 247, 0.8); }
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

/* ============ Titel & Untertitel ============ */

.title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.8px;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #f8fafc, #cbd5e1, #94a3b8);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
}

.subtitle {
    font-size: 1.1rem;
    font-weight: 300;
    color: #94a3b8;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

/* ============ Countdown ============ */

.countdown {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 72px;
}

.countdown-value {
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
}

.countdown-label {
    font-size: 0.7rem;
    font-weight: 500;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.2rem;
}

.countdown-divider {
    width: 2px;
    height: 40px;
    background: linear-gradient(180deg, transparent, rgba(148, 163, 184, 0.4), transparent);
    margin: 0 0.3rem;
}

/* ============ E-Mail-Formular ============ */

.subscribe-form {
    margin-bottom: 2rem;
}

.input-wrapper {
    display: flex;
    gap: 0.5rem;
    max-width: 440px;
    margin: 0 auto;
}

.input-wrapper input {
    flex: 1;
    padding: 0.9rem 1.2rem;
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    color: #e2e8f0;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.input-wrapper input::placeholder {
    color: #94a3b8;
}

.input-wrapper input:focus {
    border-color: rgba(168, 85, 247, 0.5);
    box-shadow: 0 0 0 2px rgba(168, 85, 247, 0.15);
}

.input-wrapper input:focus ~ button {
    box-shadow: 0 0 0 2px rgba(168, 85, 247, 0.3);
}

.input-wrapper button {
    padding: 0 1.4rem;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.input-wrapper button:hover {
    background: linear-gradient(135deg, #764ba2, #667eea);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.input-wrapper button:active {
    transform: translateY(0);
}

.btn-icon {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.input-wrapper button:hover .btn-icon {
    transform: translateX(3px);
}

.form-note {
    font-size: 0.75rem;
    color: #64748b;
    margin-top: 0.6rem;
    font-weight: 300;
}

/* ============ Social Links ============ */

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-link {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(148, 163, 184, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #e2e8f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    border-color: rgba(168, 85, 247, 0.4);
}

/* ============ Footer ============ */

.footer-text {
    font-size: 0.8rem;
    color: #475569;
    margin-top: 2rem;
    font-weight: 300;
}

/* ============ Responsives Design ============ */

@media (max-width: 640px) {
    .card {
        padding: 2rem;
        width: 95%;
        border-radius: 20px;
    }

    .input-wrapper {
        flex-direction: column;
    }

    .countdown-divider {
        display: none;
    }

    .countdown {
        gap: 1.5rem;
    }

    .countdown-item {
        min-width: 60px;
    }

    .social-links {
        gap: 0.6rem;
    }

    .social-link {
        width: 40px;
        height: 40px;
    }
}

/* ============ Scroll-Balken ============ */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(30, 41, 59, 0.3);
}

::-webkit-scrollbar-thumb {
    background: rgba(102, 126, 234, 0.4);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(102, 126, 234, 0.6);
}
