.reg-page {
    --reg-primary: #7a1fa2;
    --reg-accent: #e0218a;
    --reg-bg: #faf7fc;
    background: var(--reg-bg);
    min-height: 100vh;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.reg-hero {
    background: #fff;
    color: #2a2a2a;
    padding: 1.5rem 1.5rem 1.75rem;
    text-align: center;
    border-bottom: 4px solid;
    border-image: linear-gradient(90deg, #e40303, #ff8c00, #ffed00, #008026, #004dff, #750787) 1;
}
.reg-hero__logo {
    max-width: 34rem;
    width: 100%;
    height: auto;
    margin-bottom: 0.85rem;
}
.reg-hero__title {
    font-size: 1.4rem;
    font-weight: 800;
    margin: 0 0 0.6rem;
    color: var(--reg-primary);
}
.reg-hero__intro {
    max-width: 36rem;
    margin: 0 auto;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #555;
}
.reg-hero__intro a { color: var(--reg-primary); text-decoration: underline; }
.reg-hero__intro p { margin: 0 0 0.7rem; }
.reg-hero__intro p:last-child { margin-bottom: 0; }

.reg-content {
    max-width: 38rem;
    margin: 1.5rem auto 3rem;
    padding: 0 1rem;
    position: relative;
}

.reg-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 6px 24px rgba(80, 20, 100, 0.1);
    padding: 1.75rem;
    margin-bottom: 1.5rem;
}
.reg-card h2 {
    margin: 0 0 1.1rem;
    font-size: 1.25rem;
    color: var(--reg-primary);
    border-left: 4px solid var(--reg-accent);
    padding-left: 0.7rem;
}
.reg-card__intro {
    font-size: 0.9rem;
    color: #666;
    margin: -0.5rem 0 1.1rem;
}

.reg-question { margin-bottom: 1.4rem; }
.reg-question:last-child { margin-bottom: 0; }
.reg-question__label {
    font-weight: 700;
    font-size: 1rem;
    display: block;
    margin-bottom: 0.35rem;
    color: #222;
}
.reg-required { color: var(--reg-accent); }
.reg-help {
    font-size: 0.85rem;
    color: #777;
    margin: 0.15rem 0 0.6rem;
    line-height: 1.4;
}
.reg-help--callout {
    background: #fdf0f8;
    border-left: 3px solid var(--reg-accent);
    color: #7a1f4f;
    padding: 0.6rem 0.75rem;
    border-radius: 6px;
    font-size: 0.85rem;
}
.reg-help--callout strong { color: var(--reg-accent); }
.reg-help--spaced { margin-top: 1.25rem; }

.reg-question input[type="text"],
.reg-question input[type="tel"],
.reg-question input[type="email"],
.reg-question input[type="date"],
.reg-question input[type="number"],
.reg-question textarea {
    width: 100%;
    border: 1.5px solid #ddd;
    border-radius: 10px;
    padding: 0.65rem 0.85rem;
    font-size: 1rem;
    font-family: inherit;
    background: #fff;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.reg-question input:focus,
.reg-question textarea:focus {
    outline: none;
    border-color: var(--reg-primary);
    box-shadow: 0 0 0 3px rgba(122, 31, 162, 0.15);
}

/* Datepicker-Icon dezent an die Farbwelt anpassen (Kalender-Popup selbst ist
   Browser-UI und lässt sich nicht per CSS gestalten). */
.reg-question input[type="date"]::-webkit-calendar-picker-indicator {
    opacity: 0.65;
    cursor: pointer;
    border-radius: 4px;
    padding: 0.15rem;
}
.reg-question input[type="date"]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
    background: #f3e8f7;
}

.reg-choice-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.reg-choice-list label {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.7rem 0.9rem;
    border: 1.5px solid #eee;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.15s, border-color 0.15s, opacity 0.15s;
}
.reg-choice-list label:hover { background: #faf5fc; border-color: #e5c9ee; }
.reg-choice-list label:has(input:checked) {
    background: #f6ecfa;
    border-color: var(--reg-primary);
}
.reg-choice-list label:has(input:disabled) {
    opacity: 0.45;
    cursor: not-allowed;
    background: #f5f5f5;
}
.reg-choice-list input {
    margin-top: 0.2rem;
    width: 1.2rem;
    height: 1.2rem;
    flex-shrink: 0;
    accent-color: var(--reg-primary);
}
.reg-choice__content {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}
.reg-choice__name { font-weight: 500; }
.reg-choice__note {
    font-weight: 400;
    font-size: 0.82rem;
    color: #888;
    line-height: 1.4;
}

.reg-radio-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}
.reg-radio-row label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    border: 2px solid #ddd;
    border-radius: 10px;
    padding: 0.6rem 1.1rem;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.reg-radio-row label:has(input:checked) {
    background: var(--reg-primary);
    border-color: var(--reg-primary);
    color: #fff;
}
.reg-radio-row input {
    accent-color: #fff;
    width: 1.1rem;
    height: 1.1rem;
}

.reg-checkbox-single label {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-weight: 500;
    cursor: pointer;
}
.reg-checkbox-single input {
    margin-top: 0.2rem;
    width: 1.2rem;
    height: 1.2rem;
    accent-color: var(--reg-primary);
    flex-shrink: 0;
}

.reg-errors {
    color: var(--reg-accent);
    font-size: 0.85rem;
    margin: 0.3rem 0 0;
    list-style: none;
    padding: 0;
}

.reg-legal {
    font-size: 0.8rem;
    color: #777;
    line-height: 1.5;
}

.reg-submit {
    display: block;
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, var(--reg-primary), var(--reg-accent));
    border: none;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(122, 31, 162, 0.3);
    transition: transform 0.1s, box-shadow 0.15s;
}
.reg-submit:hover { box-shadow: 0 6px 20px rgba(122, 31, 162, 0.4); }
.reg-submit:active { transform: translateY(1px); }

/* Bestätigungsseite */
.reg-thanks {
    max-width: 32rem;
    margin: 3rem auto;
    padding: 0 1rem;
    text-align: center;
}
.reg-thanks__icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 0.5rem;
}
.reg-thanks .reg-card { text-align: left; }
.reg-thanks h1 {
    color: var(--reg-primary);
    font-size: 1.6rem;
    text-align: center;
}
.reg-thanks p { line-height: 1.6; }
.reg-thanks a.reg-submit { text-decoration: none; text-align: center; }

@media (max-width: 480px) {
    .reg-hero { padding: 1.5rem 1rem 2rem; }
    .reg-hero__title { font-size: 1.25rem; }
    .reg-card { padding: 1.25rem; border-radius: 12px; }
}
