.registration-page {
    width: min(1120px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 2rem 0 4rem;
}

.registration-sitecontent-public {
    padding-top: 1rem !important;
}

.registration-sitecontent-public .registration-page {
    padding-top: 1rem;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 1.25rem;
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 700;
}

.back-link i {
    font-size: 1.25rem;
}

.registration-hero {
    display: grid;
    grid-template-columns: 1fr minmax(220px, 300px);
    gap: 1.5rem;
    align-items: stretch;
    margin-bottom: 1.5rem;
}

.registration-hero h1 {
    margin: 0;
    color: #111827;
    font-size: 2.2rem;
    line-height: 1.1;
}

.registration-hero .subheadlinepage {
    max-width: 720px;
    margin: 0.8rem 0 0;
    color: #6b7280;
    font-size: 1rem;
    line-height: 1.6;
}

.eyebrow {
    margin: 0 0 0.6rem;
    color: var(--color-accent);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.price-summary,
.form-card,
.submit-bar,
.form-alert {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 28px rgba(17, 24, 39, 0.08);
}

.price-summary {
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 1rem;
    padding: 1.25rem;
}

.price-summary span,
.submit-bar span {
    color: #6b7280;
    font-size: 0.85rem;
    font-weight: 700;
}

.price-summary strong,
.submit-bar strong {
    display: block;
    margin-top: 0.35rem;
    color: #111827;
    font-size: 1.7rem;
    line-height: 1.1;
}

.price-summary small {
    margin-top: 0.6rem;
    color: #9ca3af;
    line-height: 1.4;
}

.registration-form {
    display: grid;
    gap: 1.25rem;
}

.form-card {
    border-radius: 1rem;
    padding: 1.5rem;
}

.form-card-header {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    margin-bottom: 1.25rem;
}

.form-card-header > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 0.7rem;
    background: rgba(241, 110, 56, 0.12);
    color: var(--color-accent);
    font-weight: 900;
    flex: 0 0 auto;
}

.form-card-header > .choice-badge {
    width: auto;
    min-width: 0;
    height: 2rem;
    padding: 0 0.75rem;
    border-radius: 999px;
    font-size: 0.8rem;
}

.form-card-header h2 {
    margin: 0;
    color: #111827;
    font-size: 1.25rem;
}

.form-card-header p {
    margin: 0.25rem 0 0;
    color: #6b7280;
    line-height: 1.5;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.form-field {
    display: grid;
    gap: 0.45rem;
}

.form-field.wide {
    grid-column: 1 / -1;
}

.form-field span {
    color: #374151;
    font-size: 0.9rem;
    font-weight: 700;
}

.form-field input,
.form-field select {
    width: 100%;
    min-height: 44px;
    border: 1px solid #d1d5db;
    border-radius: 0.65rem;
    padding: 0.7rem 0.85rem;
    color: #111827;
    background: #ffffff;
    font: inherit;
    box-sizing: border-box;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.form-field input:focus,
.form-field select:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(241, 110, 56, 0.22);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.product-option {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    min-height: 160px;
    padding: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.9rem;
    background: #ffffff;
    cursor: pointer;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.product-option:hover {
    border-color: rgba(241, 110, 56, 0.55);
    box-shadow: 0 8px 20px rgba(17, 24, 39, 0.07);
    transform: translateY(-1px);
}

.product-option input {
    width: 1.05rem;
    height: 1.05rem;
    margin-top: 0.15rem;
    accent-color: var(--color-accent);
    flex: 0 0 auto;
}

.product-option span {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    color: #6b7280;
    line-height: 1.45;
}

.product-option strong {
    color: #111827;
    font-size: 1rem;
}

.product-option em {
    margin-top: auto;
    color: var(--color-accent);
    font-style: normal;
    font-weight: 800;
}

.pricing-note {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin-top: 1rem;
    padding: 0.9rem;
    border: 1px solid #bfdbfe;
    border-radius: 0.8rem;
    background: #eff6ff;
    color: #1e3a8a;
    line-height: 1.5;
}

.pricing-note i {
    margin-top: 0.1rem;
    font-size: 1.25rem;
}

.payment-method-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.payment-method-box {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    width: 100%;
    box-sizing: border-box;
    padding: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.9rem;
    background: #ffffff;
    color: #111827;
    cursor: pointer;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.payment-method-box:hover,
.payment-method-box:has(input:checked) {
    border-color: rgba(241, 110, 56, 0.55);
    background: rgba(241, 110, 56, 0.07);
    box-shadow: 0 8px 20px rgba(17, 24, 39, 0.07);
}

.payment-method-box input {
    width: 1.05rem;
    height: 1.05rem;
    accent-color: var(--color-accent);
    flex: 0 0 auto;
}

.payment-method-box i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    background: #ffffff;
    color: var(--color-accent);
    font-size: 1.45rem;
    flex: 0 0 auto;
}

.payment-method-box span {
    display: grid;
    gap: 0.2rem;
}

.payment-method-box strong {
    font-size: 1rem;
}

.payment-method-box em {
    color: #6b7280;
    font-size: 0.95rem;
    font-style: normal;
}

.sepa-details {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
}

.sepa-details[hidden] {
    display: none;
}

.order-overview .form-card-header {
    margin-bottom: 1rem;
}

.order-lines {
    display: grid;
    gap: 0.65rem;
}

.order-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid #e5e7eb;
    color: #111827;
}

.order-line:first-child {
    border-top: 1px solid #e5e7eb;
}

.order-line[hidden] {
    display: none;
}

.order-line.muted {
    color: #6b7280;
}

.order-line strong {
    text-align: right;
    white-space: nowrap;
}

.signature-box {
    display: grid;
    gap: 0.85rem;
    margin-top: 1.25rem;
    padding: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.9rem;
    background: #f9fafb;
}

.signature-box p {
    margin: 0;
    color: #374151;
    line-height: 1.55;
}

.check-row {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    color: #374151;
    line-height: 1.5;
}

.check-row input {
    width: 1rem;
    height: 1rem;
    margin-top: 0.2rem;
    accent-color: var(--color-accent);
    flex: 0 0 auto;
}

.check-row a {
    color: var(--color-accent);
    font-weight: 700;
}

.submit-bar {
    position: sticky;
    bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    border-radius: 1rem;
    padding: 1rem 1.25rem;
    z-index: 20;
}

.submit-bar .btn-submit {
    width: auto;
    min-width: 260px;
    margin-top: 0;
}

.form-alert {
    border-radius: 1rem;
    padding: 1rem 1.25rem;
}

.error-alert {
    border-color: #fecaca;
    background: #fef2f2;
    color: #991b1b;
}

.success-alert {
    border-color: #bbf7d0;
    background: #f0fdf4;
    color: #166534;
}

.form-alert strong {
    display: block;
    margin-bottom: 0.5rem;
}

.form-alert ul {
    margin: 0;
    padding-left: 1.2rem;
}

.account-access-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
}

.account-choice-intro {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 0.85rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.9rem;
    background: #ffffff;
    color: #374151;
    box-shadow: 0 8px 20px rgba(17, 24, 39, 0.06);
}

.account-choice-intro strong {
    color: #111827;
    font-size: 1rem;
}

.account-choice-intro span {
    color: #6b7280;
    line-height: 1.45;
}

.or-divider {
    display: flex;
    align-items: center;
    align-self: stretch;
    justify-content: center;
    min-width: 3.5rem;
    color: #6b7280;
    font-weight: 900;
    text-transform: uppercase;
}

.or-divider::before,
.or-divider::after {
    content: "";
    display: block;
    width: 1px;
    height: 42%;
    background: #d1d5db;
}

.or-divider {
    flex-direction: column;
    gap: 0.7rem;
}

.or-divider span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.1rem;
    height: 3.1rem;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    box-shadow: 0 8px 18px rgba(17, 24, 39, 0.08);
    font-size: 0.72rem;
    letter-spacing: 0;
}

.account-gate {
    min-width: 0;
}

.account-form {
    display: grid;
    gap: 1rem;
}

.account-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    align-items: center;
}

.account-actions .btn-submit {
    width: auto;
    min-width: 220px;
    margin-top: 0;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.7rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.65rem;
    color: #374151;
    background: #ffffff;
    font-weight: 800;
    text-decoration: none;
    box-sizing: border-box;
}

.btn-secondary:hover {
    border-color: rgba(241, 110, 56, 0.55);
    color: var(--color-accent);
}

.remember-row {
    margin-top: 0.15rem;
}

@media (max-width: 900px) {
    .registration-hero,
    .form-grid,
    .product-grid,
    .payment-method-grid,
    .account-access-grid {
        grid-template-columns: 1fr;
    }

    .account-choice-intro {
        align-items: flex-start;
        flex-direction: column;
    }

    .or-divider {
        flex-direction: row;
        min-width: 0;
        width: 100%;
        gap: 0.8rem;
    }

    .or-divider::before,
    .or-divider::after {
        width: 100%;
        height: 1px;
    }

    .product-option {
        min-height: auto;
    }

    .submit-bar {
        position: static;
        align-items: stretch;
        flex-direction: column;
    }

    .submit-bar .btn-submit {
        width: 100%;
        min-width: 0;
    }

    .account-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .account-actions .btn-submit,
    .account-actions .btn-secondary {
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 640px) {
    .registration-page {
        width: min(100% - 1rem, 1120px);
        padding-top: 1rem;
    }

    .registration-hero h1 {
        font-size: 1.75rem;
    }

    .form-card,
    .price-summary,
    .submit-bar {
        border-radius: 0.8rem;
        padding: 1rem;
    }

    .price-summary strong,
    .submit-bar strong {
        font-size: 1.4rem;
    }
}
