/* ============================================================
   Bon.line · Wizard-Stylesheet (register.php)
   Ausgelagert aus dem <style>-Block, damit Markup schlank bleibt
   und Browser-Caching greift.
   ============================================================ */

body.register-page {
    background: #faf9fc;
    min-height: 100vh;
}

.reg-hero-bg {
    position: absolute;
    inset: 0 0 auto 0;
    height: 360px;
    background: linear-gradient(180deg,
        rgba(124, 95, 220, 0.10) 0%,
        rgba(255, 77, 141, 0.04) 60%,
        rgba(250, 249, 252, 0) 100%);
    pointer-events: none;
    z-index: 0;
}

.reg-wrap {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.5rem 1.5rem 5rem 1.5rem;
}

/* ============== PROGRESS-BAR ============== */
.reg-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    margin: 0.5rem 0 2rem 0;
    font-family: 'Geist', sans-serif;
}
.reg-progress-step {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: rgba(20, 12, 38, 0.4);
    font-size: 0.9rem;
    font-weight: 500;
}
.reg-progress-step .num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(20, 12, 38, 0.08);
    color: rgba(20, 12, 38, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    font-weight: 700;
    transition: all 0.25s;
}
.reg-progress-step.is-active { color: #1a1a2e; }
.reg-progress-step.is-active .num {
    background: linear-gradient(125deg, #6d00ff, #f60054);
    color: #fff;
    box-shadow: 0 4px 14px rgba(124, 95, 220, 0.35);
}
.reg-progress-step.is-done .num {
    background: #7c5fdc;
    color: #fff;
}
.reg-progress-step.is-done .num::after { content: "✓"; font-size: 0.95rem; }
.reg-progress-step.is-done .num .digit { display: none; }
.reg-progress-line {
    width: 40px;
    height: 2px;
    background: rgba(20, 12, 38, 0.10);
    border-radius: 2px;
    transition: background 0.3s;
}
.reg-progress-line.is-passed { background: #7c5fdc; }
@media (max-width: 600px) {
    .reg-progress-step span:not(.num) { display: none; }
    .reg-progress-line { width: 28px; }
}

/* ============== STEP-TITEL ============== */
.reg-headline {
    text-align: center;
    margin: 0 0 0.5rem 0;
    font-family: 'Geist', sans-serif;
    font-size: clamp(1.7rem, 4vw, 2.4rem);
    font-weight: 700;
    color: #1a1a2e;
    letter-spacing: -0.02em;
}
.reg-headline .accent {
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    font-weight: 400;
    background: linear-gradient(125deg, #6d00ff, #f60054);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.reg-sub {
    text-align: center;
    margin: 0 0 1.75rem 0;
    font-family: 'Geist', sans-serif;
    color: rgba(20, 12, 38, 0.55);
    font-size: 1.05rem;
}

/* Slide-Animation bei Step-Wechsel */
.reg-step {
    animation: reg-step-in 0.32s cubic-bezier(.2,.9,.3,1.1);
}
@keyframes reg-step-in {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ============== STEP 1: PLAN-KARTEN ============== */
.reg-plan-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin: 0 0 2rem 0;
}
.reg-plan-grid.reg-plan-grid-4 {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}
@media (max-width: 1100px) {
    .reg-plan-grid.reg-plan-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
    .reg-plan-grid,
    .reg-plan-grid.reg-plan-grid-4 { grid-template-columns: 1fr; gap: 1rem; }
}

.reg-plan-card {
    position: relative;
    background: #fff;
    border: 2px solid rgba(20, 12, 38, 0.08);
    border-radius: 18px;
    padding: 1.75rem 1.5rem 1.75rem 1.5rem;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
    font-family: 'Geist', sans-serif;
    display: flex;
    flex-direction: column;
}
.reg-plan-card:hover {
    border-color: rgba(124, 95, 220, 0.45);
    box-shadow: 0 10px 30px rgba(124, 95, 220, 0.12);
    transform: translateY(-2px);
}
.reg-plan-card.is-selected {
    border-color: #7c5fdc;
    box-shadow: 0 14px 40px rgba(124, 95, 220, 0.22);
}
.reg-plan-card.is-featured {
    border-color: rgba(124, 95, 220, 0.40);
    box-shadow: 0 10px 30px rgba(124, 95, 220, 0.14);
}
.reg-plan-card.is-featured.is-selected {
    border-color: #7c5fdc;
    box-shadow: 0 14px 40px rgba(124, 95, 220, 0.25);
}

.reg-plan-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(125deg, #6d00ff, #f60054);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    white-space: nowrap;
}

.reg-plan-label {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 0.25rem 0;
}
.reg-plan-tagline {
    font-size: 0.85rem;
    color: rgba(20, 12, 38, 0.55);
    margin: 0 0 1.25rem 0;
}
.reg-plan-price {
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
    margin: 0 0 1.25rem 0;
}
.reg-plan-price-num {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1a1a2e;
    letter-spacing: -0.02em;
}
.reg-plan-price-per {
    font-size: 0.85rem;
    color: rgba(20, 12, 38, 0.55);
}
.reg-plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    flex-grow: 1;
}
.reg-plan-features li {
    position: relative;
    padding: 0.3rem 0 0.3rem 1.5rem;
    font-size: 0.88rem;
    color: rgba(20, 12, 38, 0.75);
}
.reg-plan-features li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 16px;
    height: 16px;
    background: rgba(124, 95, 220, 0.12);
    border-radius: 50%;
}
.reg-plan-features li::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 0.78rem;
    width: 5px;
    height: 8px;
    border-right: 2px solid #7c5fdc;
    border-bottom: 2px solid #7c5fdc;
    transform: rotate(45deg);
}
.reg-plan-card.is-selected .reg-plan-features li::before { background: rgba(255, 77, 141, 0.15); }
.reg-plan-card.is-selected .reg-plan-features li::after { border-color: #ff4d8d; }

/* Featured-Card: behält die gleichen lila Häkchen wie der Default-Stil
   (keine grüne Sonderfarbe mehr). Die Hervorhebung passiert über das
   Badge "Beliebteste Wahl" + den lila Rahmen — Häkchen bleiben lila. */

.reg-plan-radio {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid rgba(20, 12, 38, 0.18);
    background: #fff;
    transition: all 0.2s;
}
.reg-plan-card.is-selected .reg-plan-radio {
    border-color: #7c5fdc;
    background: #7c5fdc;
    box-shadow: 0 0 0 4px rgba(124, 95, 220, 0.18);
}
.reg-plan-card.is-selected .reg-plan-radio::after {
    content: "";
    position: absolute;
    inset: 4px;
    background: #fff;
    border-radius: 50%;
}

/* Trial-Link unter den Karten */
.reg-trial-link {
    text-align: center;
    margin: 0 0 2rem 0;
    font-family: 'Geist', sans-serif;
    font-size: 0.95rem;
    color: rgba(20, 12, 38, 0.65);
}
.reg-trial-link button {
    background: none;
    border: none;
    color: #7c5fdc;
    font-family: inherit;
    font-size: inherit;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    padding: 0;
    transition: color 0.15s;
}
.reg-trial-link button:hover { color: #ff4d8d; }
.reg-trial-link button.is-active {
    color: #ff4d8d;
    font-weight: 700;
}

/* Toggle deaktiviert (Trial gewaehlt) — visuell dezent ausgegraut, weiterhin klickbar
   um zurueck zu einem Bezahl-Plan wechseln zu koennen. */
.reg-billing-toggle.is-disabled {
    opacity: 0.5;
    filter: grayscale(0.5);
}

/* Hinweis unter dem Plan-Grid */
.reg-pricing-note {
    text-align: center;
    color: #6b6d78;
    font-size: 0.88rem;
    margin: 0 0 1.5rem;
}

/* ============== BUTTONS ============== */
.reg-continue-row {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}
.reg-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 2.25rem;
    background: linear-gradient(125deg, #6d00ff, #f60054);
    color: #fff;
    font-family: 'Geist', sans-serif;
    font-size: 1.02rem;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.15s, filter 0.15s, box-shadow 0.15s;
    box-shadow: 0 8px 24px rgba(124, 95, 220, 0.3);
}
.reg-btn-primary:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
    box-shadow: 0 12px 32px rgba(124, 95, 220, 0.42);
}
.reg-btn-primary:active { transform: translateY(0); }
.reg-btn-primary:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}
.reg-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.5rem;
    background: transparent;
    color: rgba(20, 12, 38, 0.65);
    font-family: 'Geist', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: color 0.15s;
}
.reg-btn-secondary:hover { color: #7c5fdc; }

/* ============== STEP 2: DATEN ============== */
.reg-step2-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 2rem;
    align-items: start;
}
@media (max-width: 900px) {
    .reg-step2-grid { grid-template-columns: 1fr; gap: 1.25rem; }
}

/* Plan-Reminder (Sidebar) */
.reg-reminder {
    background: #fff;
    border: 1px solid rgba(20, 12, 38, 0.08);
    border-radius: 18px;
    padding: 1.5rem;
    font-family: 'Geist', sans-serif;
    position: sticky;
    top: 90px;
}
@media (max-width: 900px) {
    .reg-reminder { position: static; }
}
.reg-reminder-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(20, 12, 38, 0.45);
    margin: 0 0 0.5rem 0;
    font-weight: 600;
}
.reg-reminder-plan {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 0.25rem 0;
}
.reg-reminder-tagline {
    font-size: 0.88rem;
    color: rgba(20, 12, 38, 0.55);
    margin: 0 0 1rem 0;
}
.reg-reminder-price {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    margin: 0 0 1.25rem 0;
    padding: 0 0 1.25rem 0;
    border-bottom: 1px solid rgba(20, 12, 38, 0.08);
}
.reg-reminder-price-num {
    font-size: 1.85rem;
    font-weight: 700;
    color: #1a1a2e;
    letter-spacing: -0.02em;
}
.reg-reminder-price-per {
    font-size: 0.85rem;
    color: rgba(20, 12, 38, 0.55);
}
.reg-reminder-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
    font-size: 0.85rem;
}
.reg-reminder-features li {
    padding: 0.25rem 0 0.25rem 1.4rem;
    color: rgba(20, 12, 38, 0.7);
    position: relative;
}
.reg-reminder-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #7c5fdc;
    font-weight: 700;
}
.reg-reminder-change {
    font-size: 0.85rem;
}
.reg-reminder-change a {
    color: #7c5fdc;
    text-decoration: none;
    font-weight: 600;
}
.reg-reminder-change a:hover { text-decoration: underline; }

/* Form-Card */
.reg-form-card {
    background: #fff;
    border: 1px solid rgba(20, 12, 38, 0.08);
    border-radius: 18px;
    padding: 2rem;
    font-family: 'Geist', sans-serif;
}
.reg-form-card h2 {
    margin: 0 0 0.4rem 0;
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a1a2e;
}
.reg-form-card .reg-form-sub {
    margin: 0 0 1.5rem 0;
    color: rgba(20, 12, 38, 0.55);
    font-size: 0.95rem;
}

.reg-form-error {
    margin: 0 0 1.25rem 0;
    padding: 0.85rem 1rem;
    background: rgba(255, 77, 141, 0.10);
    border: 1px solid rgba(255, 77, 141, 0.30);
    border-radius: 10px;
    color: #c4356d;
    font-size: 0.9rem;
}

.reg-form-row {
    display: grid;
    gap: 1rem;
    margin-bottom: 1rem;
}
.reg-form-row-2 { grid-template-columns: 1fr 1fr; }
.reg-form-row-3 { grid-template-columns: 140px 1fr; }
@media (max-width: 540px) {
    .reg-form-row-2,
    .reg-form-row-3 { grid-template-columns: 1fr; }
}

.reg-form-optional {
    color: rgba(20, 12, 38, 0.4);
    font-weight: 400;
    font-size: 0.78rem;
    margin-left: 0.35rem;
}

/* Wenn ein Label seinen Text-Wrapper + Input enthaelt, sind das nur 2 Items
 * im Column-Flex (statt 3 wie bisher). Das (optional) bleibt damit visuell
 * neben dem Label-Text. */
.reg-form-label-head {
    display: inline-flex;
    align-items: baseline;
    gap: 0.15rem;
    flex-wrap: wrap;
}

.reg-paypal-hint {
    margin: 1.25rem 0 0.5rem 0;
    padding: 0.85rem 1rem;
    background: rgba(124, 95, 220, 0.06);
    border: 1px solid rgba(124, 95, 220, 0.18);
    border-radius: 10px;
    font-size: 0.88rem;
    color: rgba(20, 12, 38, 0.7);
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
}
.reg-paypal-hint i {
    color: #0070ba;
    font-size: 1.2rem;
    margin-top: 0.05rem;
}

/* Select wie Input stylen */
.reg-form-input[type="select"],
select.reg-form-input {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'><path d='M3 5l4 4 4-4' stroke='%23666' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
    background-repeat: no-repeat;
    background-position: right 0.95rem center;
    padding-right: 2.5rem;
}

.reg-form-label {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.85rem;
    color: rgba(20, 12, 38, 0.75);
    font-weight: 500;
}
.reg-form-label.is-emphasized {
    color: #1a1a2e;
    font-weight: 700;
}
.reg-form-input {
    width: 100%;
    padding: 0.85rem 0.95rem;
    background: #f6f5fb;
    border: 1px solid rgba(20, 12, 38, 0.10);
    border-radius: 10px;
    color: #1a1a2e;
    font-family: inherit;
    font-size: 0.95rem;
    box-sizing: border-box;
    transition: background 0.15s, border-color 0.15s, box-shadow 0.15s;
}
.reg-form-input:focus {
    outline: none;
    background: #ffffff;
    border-color: #7c5fdc;
    box-shadow: 0 0 0 3px rgba(124, 95, 220, 0.15);
}
.reg-form-input::placeholder { color: rgba(20, 12, 38, 0.30); }

/* Password-Input mit Eye-Icon: Wrapper für absolute positioning */
.reg-pw-wrap {
    position: relative;
}
.reg-pw-wrap .reg-form-input {
    padding-right: 2.75rem;
}
.reg-pw-toggle {
    position: absolute;
    top: 50%;
    right: 0.5rem;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    cursor: pointer;
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    color: rgba(20, 12, 38, 0.45);
    border-radius: 6px;
    transition: color 0.15s, background 0.15s;
    padding: 0;
    z-index: 2;
}
.reg-pw-toggle:hover {
    color: #7c5fdc;
    background: rgba(124, 95, 220, 0.06);
}
.reg-pw-toggle:focus-visible {
    outline: 2px solid #7c5fdc;
    outline-offset: 1px;
    color: #7c5fdc;
}
.reg-pw-toggle i { font-size: 0.95rem; pointer-events: none; }

/* Passwort-Stärke */
.reg-pw-meter {
    margin-top: 0.5rem;
    height: 4px;
    background: rgba(20, 12, 38, 0.06);
    border-radius: 2px;
    overflow: hidden;
}
.reg-pw-meter-bar {
    height: 100%;
    width: 0%;
    background: #ff4d8d;
    border-radius: 2px;
    transition: width 0.25s, background 0.25s;
}
.reg-pw-hint {
    margin: 0.4rem 0 0 0;
    font-size: 0.78rem;
    color: rgba(20, 12, 38, 0.5);
}

/* Checkboxen */
.reg-checks {
    margin: 1.5rem 0 1.75rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}
.reg-check {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    font-size: 0.88rem;
    color: rgba(20, 12, 38, 0.75);
    line-height: 1.5;
    cursor: pointer;
}
.reg-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 0.15rem;
    accent-color: #7c5fdc;
    flex-shrink: 0;
}
.reg-check a {
    color: #7c5fdc;
    text-decoration: none;
    font-weight: 500;
}
.reg-check a:hover { text-decoration: underline; }

.reg-form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
}
@media (max-width: 540px) {
    .reg-form-actions { flex-direction: column-reverse; align-items: stretch; }
    .reg-form-actions .reg-btn-primary { width: 100%; justify-content: center; }
}

/* Honeypot — fürs Auge versteckt, für Bots da */
.reg-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* ============== GOOGLE-BUTTON in Step 2 ============== */
.reg-google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    width: 100%;
    padding: 0.85rem 1.25rem;
    background: #fff;
    color: #1f1f1f;
    border: 1px solid #dadce0;
    border-radius: 10px;
    font-family: 'Geist', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s, box-shadow 0.15s, transform 0.15s;
    box-sizing: border-box;
    margin: 0 0 1rem 0;
}
.reg-google-btn:hover {
    background: #f7f9fa;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}
.reg-google-btn:active { transform: scale(0.99); }
.reg-google-btn svg { flex-shrink: 0; }

.reg-divider {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin: 1rem 0 1.25rem 0;
    color: rgba(20, 12, 38, 0.45);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.reg-divider::before,
.reg-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(20, 12, 38, 0.10);
}

/* ============== STEP 2g: GOOGLE-MINI-CARD ============== */
.reg-pill-row {
    display: flex;
    justify-content: center;
    margin: 0 0 1.5rem 0;
}
.reg-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 1rem;
    background: rgba(124, 95, 220, 0.08);
    border: 1px solid rgba(124, 95, 220, 0.20);
    border-radius: 999px;
    font-family: 'Geist', sans-serif;
    font-size: 0.85rem;
    color: rgba(20, 12, 38, 0.75);
}
.reg-pill strong { color: #1a1a2e; font-weight: 600; }
.reg-pill-trial {
    color: #ff4d8d;
    font-weight: 600;
}

.reg-google-card {
    max-width: 480px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid rgba(20, 12, 38, 0.08);
    border-radius: 18px;
    padding: 2rem;
    font-family: 'Geist', sans-serif;
    box-shadow: 0 4px 16px rgba(20, 12, 38, 0.04);
}

.reg-google-id {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.25rem;
}
.reg-google-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    background: linear-gradient(125deg, #6d00ff, #f60054);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 4px 14px rgba(124, 95, 220, 0.25);
}
.reg-google-id-text { flex: 1; min-width: 0; }
.reg-google-id-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a1a2e;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.reg-google-id-name i {
    color: #4285F4;
    font-size: 0.85rem;
    flex-shrink: 0;
}
.reg-google-id-mail {
    font-size: 0.85rem;
    color: rgba(20, 12, 38, 0.55);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.reg-google-sep {
    border: 0;
    border-top: 1px solid rgba(20, 12, 38, 0.08);
    margin: 1.5rem 0;
}

.reg-google-actions {
    margin-top: 1.25rem;
}
.reg-btn-primary-full {
    width: 100%;
    justify-content: center;
}

.reg-google-foot {
    margin: 1.25rem 0 0 0;
    text-align: center;
    font-size: 0.85rem;
}
.reg-google-foot a {
    color: rgba(20, 12, 38, 0.55);
    text-decoration: none;
}
.reg-google-foot a:hover {
    color: #7c5fdc;
    text-decoration: underline;
}

/* ============== CUSTOM VALIDATION ============== */
.reg-form-input-invalid,
.reg-form-input-invalid:focus {
    border-color: #ff4d8d !important;
    background: rgba(255, 77, 141, 0.04) !important;
    box-shadow: 0 0 0 3px rgba(255, 77, 141, 0.12) !important;
}
.reg-form-error-msg {
    display: block;
    margin-top: 0.4rem;
    padding-left: 0.1rem;
    font-size: 0.8rem;
    color: #c4356d;
    font-weight: 500;
    font-family: 'Geist', sans-serif;
    animation: reg-shake 0.22s cubic-bezier(.36,.07,.19,.97);
}
.reg-form-error-msg::before {
    content: "↑ ";
    margin-right: 0.15rem;
}
@keyframes reg-shake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-3px); }
    40% { transform: translateX(3px); }
    60% { transform: translateX(-2px); }
    80% { transform: translateX(2px); }
}

.reg-check-invalid > span {
    color: #c4356d;
}
.reg-check-invalid input[type="checkbox"] {
    outline: 2px solid #ff4d8d;
    outline-offset: 3px;
    border-radius: 3px;
}
.reg-check-invalid .reg-form-error-msg {
    margin-top: 0.3rem;
    margin-left: 1.55rem;
}

/* ============== STEP 3 EXPRESS-MODUS ============== */
.reg-business-details {
    margin: 1rem 0 0.5rem 0;
    border: 1px dashed rgba(20, 12, 38, 0.12);
    border-radius: 10px;
    padding: 0;
    background: rgba(124, 95, 220, 0.02);
}
.reg-business-details summary {
    cursor: pointer;
    list-style: none;
    padding: 0.85rem 1.1rem;
    font-family: 'Geist', sans-serif;
    font-size: 0.9rem;
    color: rgba(20, 12, 38, 0.65);
    user-select: none;
    transition: color 0.15s;
}
.reg-business-details summary:hover { color: #7c5fdc; }
.reg-business-details summary::-webkit-details-marker { display: none; }
.reg-business-details summary::before {
    content: "+ ";
    font-weight: 700;
    color: #7c5fdc;
    margin-right: 0.2rem;
}
.reg-business-details[open] summary::before { content: "− "; }
.reg-business-details > *:not(summary) {
    padding: 0 1.1rem 1.1rem 1.1rem;
}

.reg-paypal-container {
    margin: 0;
    min-height: 48px;
    transition: opacity 0.2s;
}
.reg-paypal-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    height: 48px;
    background: rgba(20, 12, 38, 0.03);
    border: 1px dashed rgba(20, 12, 38, 0.12);
    border-radius: 8px;
    color: rgba(20, 12, 38, 0.45);
    font-family: 'Geist', sans-serif;
    font-size: 0.88rem;
}

.reg-express-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    margin: 1rem 0 0.5rem 0;
    padding: 0.85rem 1rem;
    background: rgba(124, 95, 220, 0.06);
    border: 1px solid rgba(124, 95, 220, 0.18);
    border-radius: 10px;
    color: #7c5fdc;
    font-family: 'Geist', sans-serif;
    font-size: 0.92rem;
    font-weight: 600;
}

.reg-express-other {
    margin: 1.5rem 0 0 0;
    text-align: center;
    font-size: 0.88rem;
    font-family: 'Geist', sans-serif;
}
.reg-express-other a {
    color: rgba(20, 12, 38, 0.55);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    transition: all 0.15s;
}
.reg-express-other a:hover {
    color: #7c5fdc;
    background: rgba(124, 95, 220, 0.06);
}
.reg-express-other i { font-size: 0.8rem; }

/* ============== STEP 4 SPINNER-CARD ============== */
.reg-checkout-card {
    max-width: 580px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid rgba(20, 12, 38, 0.08);
    border-radius: 18px;
    padding: 2.5rem;
    text-align: center;
    font-family: 'Geist', sans-serif;
}
.reg-checkout-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem auto;
    background: linear-gradient(125deg, #6d00ff, #f60054);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.7rem;
    box-shadow: 0 10px 30px rgba(124, 95, 220, 0.35);
}
.reg-checkout-card h2 {
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a2e;
}
.reg-checkout-card p { color: rgba(20, 12, 38, 0.6); margin: 0 0 1.5rem 0; }

/* ============================================================
   COOKIE-CONSENT-MODAL (nur Step 3 mit PayPal)
   ============================================================ */

.bl-cookie-banner {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(20, 12, 38, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    transition: opacity 0.2s ease-out;
    font-family: -apple-system, BlinkMacSystemFont, "Geist", "Segoe UI", Roboto, sans-serif;
}
.bl-cookie-banner.visible {
    display: flex;
}
.bl-cookie-banner.animate-in {
    opacity: 1;
}

.bl-cookie-banner-inner {
    position: relative;
    width: 100%;
    max-width: 460px;
    padding: 2rem;
    background:
        linear-gradient(180deg,
            rgba(124, 95, 220, 0.06) 0%,
            rgba(255, 77, 141, 0.02) 60%,
            rgba(255, 255, 255, 0) 100%),
        #ffffff;
    border: 1px solid rgba(20, 12, 38, 0.06);
    border-radius: 18px;
    box-shadow: 0 30px 80px rgba(20, 12, 38, 0.25);
    color: #1a1a2e;
    transform: scale(0.96) translateY(8px);
    transition: transform 0.22s cubic-bezier(.2,.9,.3,1.2);
}
.bl-cookie-banner.animate-in .bl-cookie-banner-inner {
    transform: scale(1) translateY(0);
}

.bl-cookie-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem auto;
    border-radius: 50%;
    background: linear-gradient(125deg, #6d00ff 0%, #f60054 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    box-shadow: 0 10px 30px rgba(124, 95, 220, 0.30);
}

.bl-cookie-banner-text {
    text-align: center;
    color: #1a1a2e;
    line-height: 1.55;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}
.bl-cookie-banner-text strong {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #1a1a2e;
    letter-spacing: -0.01em;
}
.bl-cookie-banner-text p {
    margin: 0;
    color: rgba(20, 12, 38, 0.65);
    font-size: 0.92rem;
}
.bl-cookie-banner-text a {
    color: #7c5fdc;
    text-decoration: underline;
}

.bl-cookie-banner-actions {
    display: flex;
    gap: 0.6rem;
    flex-direction: column;
}
.bl-cookie-btn {
    padding: 0.85rem 1.4rem;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid rgba(20, 12, 38, 0.10);
    background: #fff;
    color: #1a1a2e;
    font-family: inherit;
    transition: all 0.15s;
    white-space: nowrap;
}
.bl-cookie-btn:hover {
    border-color: #7c5fdc;
    color: #7c5fdc;
}
.bl-cookie-btn-primary {
    background: linear-gradient(125deg, #6d00ff 0%, #f60054 100%);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 6px 20px rgba(124, 95, 220, 0.25);
}
.bl-cookie-btn-primary:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
    color: #fff;
    box-shadow: 0 10px 26px rgba(124, 95, 220, 0.35);
}
.bl-cookie-btn-link {
    background: transparent;
    border: none;
    color: rgba(20, 12, 38, 0.55);
    font-size: 0.82rem;
    padding: 0.55rem 1rem;
    text-decoration: underline;
}
.bl-cookie-btn-link:hover {
    color: #7c5fdc;
    background: transparent;
}

.bl-cookie-details {
    display: none;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(20, 12, 38, 0.08);
    text-align: left;
}
.bl-cookie-details.open {
    display: block;
}
.bl-cookie-category {
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(20, 12, 38, 0.06);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}
.bl-cookie-category:last-child {
    border-bottom: none;
}
.bl-cookie-cat-info {
    flex: 1;
    font-size: 0.85rem;
}
.bl-cookie-cat-info strong {
    display: block;
    margin-bottom: 0.2rem;
    color: #1a1a2e;
}
.bl-cookie-cat-info p {
    color: rgba(20, 12, 38, 0.55);
    margin: 0;
    line-height: 1.45;
}
.bl-cookie-toggle {
    position: relative;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}
.bl-cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}
.bl-cookie-toggle-slider {
    position: absolute;
    inset: 0;
    background-color: rgba(20, 12, 38, 0.15);
    transition: 0.2s;
    border-radius: 24px;
    cursor: pointer;
}
.bl-cookie-toggle-slider:before {
    content: '';
    position: absolute;
    height: 18px; width: 18px;
    left: 3px; bottom: 3px;
    background-color: #fff;
    transition: 0.2s;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.bl-cookie-toggle input:checked + .bl-cookie-toggle-slider {
    background: linear-gradient(125deg, #6d00ff 0%, #f60054 100%);
}
.bl-cookie-toggle input:checked + .bl-cookie-toggle-slider:before {
    transform: translateX(20px);
}
.bl-cookie-toggle input:disabled + .bl-cookie-toggle-slider {
    opacity: 0.55;
    cursor: not-allowed;
}

/* Express-Card kompakt — hat ja nur den paypal-button-container drin,
 * keine eigene Headline/Subline. */
.reg-form-card.reg-form-card-compact {
    padding: 1.2rem 1.4rem;
}

/* Wrapper fuer Step-3-Content: Express + Trenner + Manual.
 * Sitzt als einzelnes Grid-Item in der rechten Spalte des .reg-step2-grid. */
.reg-step3-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Trenner zwischen Express- und Manual-Card auf Step 3
 * Horizontale Linie mit zentriertem "oder manuell"-Label. */
.reg-step3-divider {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin: 0.6rem 0;
    color: #999;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.reg-step3-divider::before,
.reg-step3-divider::after {
    content: "";
    flex: 1 1 auto;
    height: 1px;
    background: #e0e0e8;
}
.reg-step3-divider span {
    flex: 0 0 auto;
    padding: 0 0.2rem;
}

/* Body-Scroll-Lock wenn Modal offen */
body.bl-cookie-modal-open { overflow: hidden; }

/* ============================================================
 * reg-mini-card als Kassenbon (Step 2/3 Sidebar)
 *
 * Visueller Anker: die "Deine Auswahl"-Card soll wie ein echter
 * Kassenbon wirken — Zickzack-Kante oben/unten, gestrichelte
 * Trennlinie, leichter Papierschimmer, dezenter Schatten.
 *
 * Die alten Regeln aus style.min.css werden hier ueberschrieben
 * (Specifity reicht, weil wir mit der gleichen Klasse arbeiten
 * und wizard.css NACH style.min.css geladen wird).
 * ============================================================ */
.reg-mini-card {
    position: relative;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: calc(1.75rem + 10px) 1.5rem calc(1.5rem + 10px);
    font-family: 'Geist', sans-serif;
    color: #1a1a2e;
    align-self: start;
    /* Inline-SVG zeichnet die komplette Bon-Form mit weisser Fuellung
       und dünnem schwarzem Stroke. preserveAspectRatio='none' streckt
       das SVG auf 100%x100% der Card.

       40 Zackenspitzen oben + 40 unten = praegnantere, kuerzere Zacken.
       Zacken-Breite 12 Units, Hoehe 8 Units. viewBox 480x1440 haelt das
       Verhaeltnis zur realen Card-Hoehe so, dass Zacken im Render ~5-6px
       hoch sind. stroke-width="1" + non-scaling-stroke = duenne 1px Linie. */
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 480 1440' preserveAspectRatio='none'><path d='M 0 8 L 6 0 L 12 8 L 18 0 L 24 8 L 30 0 L 36 8 L 42 0 L 48 8 L 54 0 L 60 8 L 66 0 L 72 8 L 78 0 L 84 8 L 90 0 L 96 8 L 102 0 L 108 8 L 114 0 L 120 8 L 126 0 L 132 8 L 138 0 L 144 8 L 150 0 L 156 8 L 162 0 L 168 8 L 174 0 L 180 8 L 186 0 L 192 8 L 198 0 L 204 8 L 210 0 L 216 8 L 222 0 L 228 8 L 234 0 L 240 8 L 246 0 L 252 8 L 258 0 L 264 8 L 270 0 L 276 8 L 282 0 L 288 8 L 294 0 L 300 8 L 306 0 L 312 8 L 318 0 L 324 8 L 330 0 L 336 8 L 342 0 L 348 8 L 354 0 L 360 8 L 366 0 L 372 8 L 378 0 L 384 8 L 390 0 L 396 8 L 402 0 L 408 8 L 414 0 L 420 8 L 426 0 L 432 8 L 438 0 L 444 8 L 450 0 L 456 8 L 462 0 L 468 8 L 474 0 L 480 8 L 480 1432 L 474 1440 L 468 1432 L 462 1440 L 456 1432 L 450 1440 L 444 1432 L 438 1440 L 432 1432 L 426 1440 L 420 1432 L 414 1440 L 408 1432 L 402 1440 L 396 1432 L 390 1440 L 384 1432 L 378 1440 L 372 1432 L 366 1440 L 360 1432 L 354 1440 L 348 1432 L 342 1440 L 336 1432 L 330 1440 L 324 1432 L 318 1440 L 312 1432 L 306 1440 L 300 1432 L 294 1440 L 288 1432 L 282 1440 L 276 1432 L 270 1440 L 264 1432 L 258 1440 L 252 1432 L 246 1440 L 240 1432 L 234 1440 L 228 1432 L 222 1440 L 216 1432 L 210 1440 L 204 1432 L 198 1440 L 192 1432 L 186 1440 L 180 1432 L 174 1440 L 168 1432 L 162 1440 L 156 1432 L 150 1440 L 144 1432 L 138 1440 L 132 1432 L 126 1440 L 120 1432 L 114 1440 L 108 1432 L 102 1440 L 96 1432 L 90 1440 L 84 1432 L 78 1440 L 72 1432 L 66 1440 L 60 1432 L 54 1440 L 48 1432 L 42 1440 L 36 1432 L 30 1440 L 24 1432 L 18 1440 L 12 1432 L 6 1440 L 0 1432 Z' fill='white' stroke='black' stroke-width='1' vector-effect='non-scaling-stroke'/></svg>");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    filter:
        drop-shadow(0 14px 30px rgba(124, 95, 220, 0.12))
        drop-shadow(0 2px 6px rgba(0, 0, 0, 0.06));
}

.reg-mini-eyebrow {
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--brand-violet, #7c5fdc);
    margin: 0 0 0.65rem;
    text-align: center;
    position: relative;
    padding-bottom: 0.75rem;
}
.reg-mini-eyebrow::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background-image: linear-gradient(to right, #1a1a2e 50%, transparent 50%);
    background-size: 8px 1px;
    background-repeat: repeat-x;
    opacity: 0.25;
}

.reg-mini-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 0 0.25rem;
    color: #1a1a2e;
    letter-spacing: -0.01em;
}

.reg-mini-tagline {
    font-size: 0.85rem;
    color: #6b6d78;
    margin: 0 0 1.1rem;
}

.reg-mini-price {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 6px;
    margin: 0 0 1rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px dashed rgba(26, 26, 46, 0.18);
}
.reg-mini-price-num {
    font-size: 1.85rem;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
.reg-mini-price-per {
    font-size: 0.85rem;
    color: #6b6d78;
    display: inline-flex;
    flex-direction: column;
    align-items: flex-end;
    line-height: 1.25;
    text-align: right;
}
.reg-mini-price-vat {
    font-size: 0.7rem;
    color: #8a8c95;
    font-style: italic;
}

.reg-mini-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 0 0 0.85rem;
    padding: 0;
    background: transparent;
    border-radius: 0;
    font-size: 0.85rem;
    line-height: 1.4;
}
.reg-mini-stat-label {
    display: block;
    color: #6b6d78;
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 3px;
    font-weight: 500;
}
.reg-mini-stat-value {
    display: block;
    color: #1a1a2e;
    font-weight: 600;
    font-size: 0.95rem;
    font-variant-numeric: tabular-nums;
}

.reg-mini-billing-hint {
    font-size: 0.8rem;
    color: #6b6d78;
    margin: 0.85rem 0 0;
    padding-top: 0.85rem;
    border-top: 1px dashed rgba(26, 26, 46, 0.18);
}
.reg-mini-billing-hint strong {
    color: #1a1a2e;
    font-weight: 700;
}
.reg-mini-cancel-hint {
    font-style: italic;
    font-size: 0.72rem;
    color: #8a8c95;
    margin: 2px 0 1rem;
}

.reg-mini-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
    font-size: 0.88rem;
    line-height: 1.6;
    padding-top: 0.85rem;
    border-top: 1px dashed rgba(26, 26, 46, 0.18);
}
.reg-mini-features li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.35rem;
    color: #1a1a2e;
}
.reg-mini-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--brand-violet, #7c5fdc);
    font-weight: 700;
}
.reg-mini-features li.is-extra {
    color: #6b6d78;
    font-size: 0.85em;
}

.reg-mini-trial-note {
    font-size: 0.78rem;
    color: #6b6d78;
    margin: 0 0 0.85rem;
    padding-top: 0.85rem;
    border-top: 1px dashed rgba(26, 26, 46, 0.18);
    text-align: center;
}

.reg-mini-change {
    margin: 0;
    font-size: 0.85rem;
    text-align: center;
    padding-top: 0.5rem;
}
.reg-mini-change a {
    color: var(--brand-violet, #7c5fdc);
    text-decoration: none;
    font-weight: 500;
}
.reg-mini-change a:hover {
    text-decoration: underline;
}
