:root {
    --brand: #0d2a4a;
    --brand-light: #f0f4f8;
    --accent: #1d9e75;
    --text: #1a1a1a;
    --text-muted: #6b7280;
    --border: #e2e5ea;
    --danger: #a32d2d;
    --danger-bg: #fcebeb;
    --success-bg: #eaf3de;
    --success: #27500a;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text);
    background: #fff;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}

a { color: var(--brand); }
.container { max-width: 720px; margin: 0 auto; padding: 0 20px; }

/* ---------- Hero ---------- */
.hero {
    background: var(--brand);
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 72px 20px 80px;
    text-align: center;
    position: relative;
}
.hero::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.2), rgba(0,0,0,0.55));
    pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; max-width: 620px; margin: 0 auto; }
.hero h1 { font-size: 34px; font-weight: 800; line-height: 1.25; margin: 0 0 16px; letter-spacing: -0.02em; }
.hero p { font-size: 16px; color: rgba(255,255,255,0.9); line-height: 1.65; margin: 0 0 30px; }
.hero .btn-cta {
    display: inline-block; background: var(--accent); color: #fff; font-weight: 700;
    padding: 16px 36px; border-radius: 12px; text-decoration: none; font-size: 16px;
    border: none; cursor: pointer; transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 20px rgba(29,158,117,0.4);
    animation: pulse-cta 2.5s infinite;
}
.hero .btn-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(29,158,117,0.5); }
@keyframes pulse-cta {
    0%, 100% { box-shadow: 0 4px 20px rgba(29,158,117,0.4); }
    50% { box-shadow: 0 4px 30px rgba(29,158,117,0.7); }
}
.hero-rating {
    margin-top: 18px; font-size: 13px; color: rgba(255,255,255,0.85);
    letter-spacing: 0.02em;
}
.hero-rating::before { content: ''; }

/* ---------- Wave Separator ---------- */
.wave-sep { display: block; width: 100%; height: auto; margin: -2px 0; }

/* ---------- Team Banner ---------- */
.team-banner {
    width: 100%; height: auto; display: block; border-radius: 0;
}

/* ---------- Sections ---------- */
section.block { padding: 56px 20px; }
section.block.alt { background: var(--brand-light); }
.section-title {
    font-size: 24px; font-weight: 800; text-align: center; margin: 0 0 12px; color: var(--text);
    letter-spacing: -0.01em;
}
.section-subtitle {
    font-size: 14.5px; color: var(--text-muted); text-align: center; margin: 0 0 36px; line-height: 1.6;
}

/* ---------- How It Works ---------- */
.steps { display: grid; grid-template-columns: 1fr; gap: 24px; margin-bottom: 16px; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step {
    text-align: center; padding: 24px 16px;
    background: #fff; border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: transform 0.2s, box-shadow 0.2s;
}
.step:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
.step-icon { font-size: 40px; margin-bottom: 12px; display: block; }
.step-num {
    display: inline-flex; align-items: center; justify-content: center;
    width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: #fff;
    font-size: 13px; font-weight: 700; margin-bottom: 8px;
}
.step h3 { font-size: 15px; font-weight: 700; margin: 0 0 6px; }
.step p { font-size: 13px; color: var(--text-muted); margin: 0; line-height: 1.5; }

/* ---------- Eyecatcher Image ---------- */
.eyecatcher {
    width: 100%; display: block; border-radius: 16px;
    margin: 0 auto; max-width: 720px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.eyecatcher-wrap { text-align: center; padding: 0 20px; margin: -20px auto 0; position: relative; z-index: 2; }

/* ---------- Prämienstufen ---------- */
.tier { margin-bottom: 40px; }
.tier:last-child { margin-bottom: 0; }
.tier-title {
    font-size: 18px; font-weight: 700; color: var(--brand); margin-bottom: 16px; text-align: center;
}
.tier-title .tier-emoji { margin-right: 6px; }
.tier-options { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 640px) { .tier-options { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); } }
.option-card {
    background: #fff; border: 1px solid var(--border); border-radius: 16px;
    padding: 22px 18px; text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}
.option-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
.option-card img {
    width: 80px; height: 80px; margin: 0 auto 14px; display: block; background: var(--brand-light);
}
.option-card .opt-label { font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.option-card .opt-desc { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

/* ---------- Trust Section ---------- */
.trust-items { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 640px) { .trust-items { grid-template-columns: repeat(3, 1fr); } }
.trust-item {
    text-align: center; padding: 20px 14px;
}
.trust-icon { font-size: 32px; margin-bottom: 8px; display: block; }
.trust-item h4 { font-size: 14px; font-weight: 700; margin: 0 0 4px; }
.trust-item p { font-size: 12.5px; color: var(--text-muted); margin: 0; line-height: 1.5; }

/* ---------- Formular ---------- */
.form-card {
    background: #fff; border: 2px solid transparent; border-radius: 20px;
    padding: 28px 22px; max-width: 480px; margin: 0 auto;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    background-image: linear-gradient(#fff, #fff), linear-gradient(135deg, var(--brand), var(--accent));
    background-origin: border-box; background-clip: padding-box, border-box;
}
.form-card h2 { font-size: 20px; margin: 0 0 4px; text-align: center; font-weight: 800; }
.form-card .sub { text-align: center; color: var(--text-muted); font-size: 13px; margin-bottom: 24px; }
.field-group { margin-bottom: 14px; }
.field-group label { display: block; font-size: 12.5px; color: var(--text-muted); margin-bottom: 5px; font-weight: 500; }
.field-group .required-mark { color: var(--danger); }
.field-group input[type=text], .field-group input[type=email], .field-group input[type=tel],
.field-group input[type=date], .field-group select {
    width: 100%; height: 46px; padding: 0 14px; border: 1.5px solid var(--border);
    border-radius: 10px; font-size: 14.5px; background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.field-group input:focus, .field-group select:focus {
    outline: none; border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(29,158,117,0.15);
}
.field-group.checkbox { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--text); }
.field-group.checkbox input { margin-top: 3px; width: auto; height: auto; }
.section-divider {
    font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted);
    margin: 24px 0 12px; font-weight: 700;
    display: flex; align-items: center; gap: 10px;
}
.section-divider::after {
    content: ""; flex: 1; height: 1px; background: var(--border);
}
.section-divider:first-of-type { margin-top: 0; }

button.submit-btn {
    width: 100%; height: 50px; background: var(--accent); color: #fff; border: none;
    border-radius: 12px; font-size: 16px; font-weight: 700; cursor: pointer; margin-top: 10px;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 16px rgba(29,158,117,0.3);
}
button.submit-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(29,158,117,0.4); }

.alert { padding: 12px 14px; border-radius: 10px; font-size: 13.5px; margin-bottom: 16px; }
.alert.error { background: var(--danger-bg); color: var(--danger); }
.alert.success { background: var(--success-bg); color: var(--success); }
.alert ul { margin: 6px 0 0; padding-left: 18px; }

/* ---------- Privacy Link ---------- */
.privacy-link { color: var(--brand); text-decoration: underline; cursor: pointer; }
.privacy-link:hover { color: var(--accent); }

/* ---------- Privacy Modal ---------- */
.privacy-modal-overlay {
    display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 200;
    align-items: center; justify-content: center; padding: 20px;
}
.privacy-modal {
    background: #fff; border-radius: 16px; width: 100%; max-width: 640px; max-height: 80vh;
    overflow-y: auto; padding: 28px 24px; position: relative;
}
.privacy-modal h2 { font-size: 18px; margin: 0 0 16px; }
.privacy-modal h3 { font-size: 14px; margin: 18px 0 8px; }
.privacy-modal p { font-size: 13px; line-height: 1.7; margin: 8px 0; }
.privacy-modal ul { padding-left: 20px; margin: 8px 0; font-size: 13px; line-height: 1.7; }
.privacy-close {
    position: sticky; top: 0; float: right; border: none; background: var(--brand-light);
    width: 32px; height: 32px; border-radius: 50%; font-size: 18px; cursor: pointer;
    display: flex; align-items: center; justify-content: center; color: var(--text-muted);
}

/* ---------- Erfolg ---------- */
.success-box { text-align: center; padding: 60px 20px; }
.success-box .check-circle {
    width: 80px; height: 80px; border-radius: 50%; background: var(--success-bg);
    display: flex; align-items: center; justify-content: center; margin: 0 auto 20px;
    font-size: 36px; color: var(--success);
}
.success-box h2 { font-size: 22px; margin: 0 0 10px; font-weight: 800; }
.success-box p { color: var(--text-muted); font-size: 15px; }

footer.public-footer {
    text-align: center; padding: 24px; font-size: 11.5px; color: var(--text-muted);
    border-top: 1px solid var(--border);
}

/* ---------- Scroll-Effekte ---------- */
.scroll-fade-in { opacity: 0; transform: translateY(40px); transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1); }
.scroll-fade-in.is-visible { opacity: 1; transform: translateY(0); }
.scroll-fade-in:nth-child(2) { transition-delay: 0.1s; }
.scroll-fade-in:nth-child(3) { transition-delay: 0.2s; }

/* Stagger fuer Step-Karten und Trust-Items */
.step, .trust-item, .option-card { opacity: 0; transform: translateY(30px); transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.is-visible .step:nth-child(1), .is-visible .trust-item:nth-child(1), .is-visible .option-card:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 0s; }
.is-visible .step:nth-child(2), .is-visible .trust-item:nth-child(2), .is-visible .option-card:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 0.15s; }
.is-visible .step:nth-child(3), .is-visible .trust-item:nth-child(3), .is-visible .option-card:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: 0.3s; }
.is-visible .step:nth-child(4), .is-visible .option-card:nth-child(4) { opacity: 1; transform: translateY(0); transition-delay: 0.45s; }
.is-visible .step:nth-child(5), .is-visible .option-card:nth-child(5) { opacity: 1; transform: translateY(0); transition-delay: 0.6s; }

/* Hero-Einblendung */
.hero-inner { animation: hero-entrance 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
@keyframes hero-entrance {
    0% { opacity: 0; transform: translateY(30px) scale(0.97); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* Eyecatcher Zoom-In beim Einblenden */
.eyecatcher-wrap.scroll-fade-in { transform: translateY(40px) scale(0.95); }
.eyecatcher-wrap.scroll-fade-in.is-visible { transform: translateY(0) scale(1); }

/* Form-Card Einblendung */
.form-card { animation: none; }
.scroll-fade-in .form-card { opacity: 0; transform: translateY(20px); transition: opacity 0.8s 0.15s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s 0.15s cubic-bezier(0.22, 1, 0.36, 1); }
.scroll-fade-in.is-visible .form-card { opacity: 1; transform: translateY(0); }

.scroll-cross-fade { position: sticky; top: 0; }
.scroll-parallax-bg { will-change: background-position; }
