/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Gloria+Hallelujah&family=Poppins:wght@700&family=Roboto:wght@400&display=swap');

:root {
    --bg-dark: #0f172a;        /* Tiefes Blau-Schwarz */
    --accent-pink: #ff2e63;    /* Knalliges Pink */
    --accent-blue: #08d9d6;    /* Frisches Türkis/Blau */
    --card-bg: #1e293b;        /* Slate-Grey Card */
    --text-main: #f8fafc;
    --text-roboto: 'Roboto', sans-serif;
    --font-handwriting: 'Gloria Hallelujah', cursive;
    --font-poppins: 'Poppins', sans-serif;
}

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

/* --- BASIS LAYOUT (MOBILE FIRST) --- */
body {
    background-color: var(--bg-dark);
    font-family: var(--text-roboto);
    color: var(--text-main);
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    padding: 20px 15px; /* Puffer für Mobile */
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

/* Hintergrund-Effekt optimiert */
body::before {
    content: "";
    position: fixed; /* Fixed damit es beim Scrollen bleibt */
    width: 300px;
    height: 300px;
    background: var(--accent-pink);
    filter: blur(120px);
    opacity: 0.15;
    top: -50px;
    left: -50px;
    z-index: -1;
}

/* --- DIE CARD (MOBILE FIRST) --- */
.landing-card {
    background: var(--card-bg);
    padding: 2rem 1.5rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
    text-align: center;
    width: 100%;
    max-width: 360px; /* Perfekte Breite für S23 & Co */
    margin: auto 0;   /* Zentriert vertikal wenn Platz da ist */
    z-index: 1;
}

/* --- KOMPONENTEN --- */
.app-icon {
    width: 70px; /* Etwas kleiner für Mobile */
    height: 70px;
    display: block;
    margin: 0 auto 15px;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    object-fit: cover;
}

.badge {
    font-family: var(--font-handwriting);
    color: var(--accent-blue);
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.5rem;
    transform: rotate(-3deg);
}

h1 {
    font-family: var(--font-poppins);
    font-weight: 700;
    font-size: 1.8rem; /* Kompakter für Mobile */
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #ffffff;
}

p {
    color: #94a3b8;
    margin-bottom: 2rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* --- FORMULAR --- */
form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: left;
}

label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.85rem;
    color: #94a3b8;
}

input[type="email"],
textarea {
    background: #0f172a;
    border: 2px solid #334155;
    border-radius: 12px;
    padding: 14px;
    color: white;
    font-size: 16px; /* Wichtig: Verhindert Auto-Zoom auf Mobile */
    outline: none;
    width: 100%;
    transition: border-color 0.3s;
}

input[type="email"]:focus,
textarea:focus {
    border-color: var(--accent-blue);
}

textarea {
    min-height: 100px;
    resize: none; /* Verhindert Layout-Bugs auf Mobile */
}

button[type="submit"] {
    margin-top: 10px;
    background: var(--accent-pink);
    color: white;
    font-family: var(--font-poppins);
    font-weight: 700;
    border: none;
    padding: 16px;
    border-radius: 12px;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 46, 99, 0.3);
    -webkit-tap-highlight-color: transparent; /* Verhindert blauen Kasten beim Tippen */
}

/* --- FOOTER --- */
footer {
    width: 100%;
    text-align: center;
    padding: 30px 0 10px;
    margin-top: auto; /* Schiebt ihn ans Ende des Inhalts */
}

.footer-text {
    font-family: var(--text-roboto);
    font-size: 0.75rem;
    color: rgba(148, 163, 184, 0.4);
    letter-spacing: 0.02em;
}

/* --- DESKTOP ANPASSUNGEN (SEKUNDÄR) --- */
@media (min-width: 768px) {
    .landing-card {
        max-width: 400px;
        padding: 3rem 2.5rem;
    }

    h1 {
        font-size: 2.2rem;
    }

    .app-icon {
        width: 90px;
        height: 90px;
    }
}

.hidden { display: none; }