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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: #f5f5f5;
    color: #333;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.app {
    width: 100%;
    max-width: 720px;
    padding: 2rem;
}

/* Steps: nur der aktive ist sichtbar */
.step {
    display: none;
    text-align: center;
}

.step.active {
    display: block;
}

h1 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1.5rem;
    color: #555;
}

/* Video */
.video-wrapper {
    margin-bottom: 1.5rem;
}

.video-wrapper video {
    width: 100%;
    max-height: 400px;
    border-radius: 8px;
    background: #000;
}

/* Button */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-primary {
    background: #0057ff;
    color: #fff;
}

.btn-primary:hover {
    background: #003fcc;
}

.btn-primary:disabled {
    background: #999;
    cursor: not-allowed;
}

/* iFrame */
.iframe-wrapper {
    width: 100%;
    aspect-ratio: 16 / 9;
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    background: #000;
}

.iframe-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Timer */
.timer {
    font-size: 1.5rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: #0057ff;
    transition: all 0.3s;
}

.timer-urgent {
    font-size: 3rem;
    color: #d32f2f;
}

/* Form */
form {
    text-align: left;
    max-width: 420px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.25rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.form-group input {
    width: 100%;
    padding: 0.6rem 0.75rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    transition: border-color 0.2s;
}

.form-group input:focus {
    outline: none;
    border-color: #0057ff;
}

.form-error {
    color: #d32f2f;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    min-height: 1.2em;
}

form .btn {
    width: 100%;
}
