/* 1. GRUNDGERÜST & RESET */
* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; /* Verhindert Wackeln auf iOS */
    position: fixed; /* Fixiert den Viewport auf Mobile */
}

a {
    color: #000;
    font-weight: bold;
    text-decoration: underline;
}

/* 2. HINTERGRUND-EBENEN */
.background-rainbow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: linear-gradient(to bottom,
        hsl(0, 100%, 85%),
        hsl(40, 100%, 85%),
        hsl(60, 100%, 85%),
        hsl(140, 100%, 85%),
        hsl(200, 100%, 85%),
        hsl(280, 100%, 85%)
    );
}

.saturation-mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(to right,
        rgba(220, 220, 220, 1) 0%,
        rgba(220, 220, 220, 0) 100%);
}

/* 3. CONTENT BOX */
.content {
    text-align: center;
    z-index: 10;
    width: 90%;
    max-width: 420px; /* Begrenzt die Breite auf dem Desktop */
    padding: 20px;
    background: rgba(255, 255, 255, 0.4); /* Leichter Glas-Effekt */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
}

h1 {
    font-weight: 200;
    letter-spacing: 4px; /* Etwas reduziert für Mobile-Lesbarkeit */
    text-transform: uppercase;
    color: #333;
    margin-bottom: 30px;
    font-size: 1.4rem;
}

/* 4. FORMULAR (STACKING OPTIMIERUNG) */
.form-container {
    display: block; /* Erzwingt das Stapeln untereinander */
    width: 100%;
}

input[type="email"] {
    -webkit-appearance: none; /* Entfernt iOS Schatten */
    display: block;
    width: 100%;
    padding: 15px 20px;
    border: 1px solid rgba(0,0,0,0.1);
    background: #fff;
    border-radius: 12px;
    font-size: 16px; /* WICHTIG: Verhindert Zoom-Bug auf iPhone */
    outline: none;
    margin-bottom: 15px;
}

.disclaimer {
    display: block;
    width: 100%;
    margin-bottom: 20px;
    font-size: 0.75rem;
    color: #444;
    text-align: left;
    line-height: 1.4;
}

.disclaimer label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.disclaimer input[type="checkbox"] {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 2px;
}

button {
    -webkit-appearance: none;
    display: block;
    width: 100%;
    padding: 16px;
    background: #000;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.1s ease;
}

button:active {
    transform: scale(0.98); /* Feedback beim Tippen auf dem Handy */
}
