:root {
    --bg: #fffeFA;
    --brand: #4780a9;
    --brand-2: #335B75;
    --ink: #000000;
    --line: #E2E8F0;
    --info-bg: #c5def4;
    --ok: #2BB5B4;
    --err: #C62828;
}

label span {
    color: #000000;
}


.antragpilot-app {
    /*font-family: 'Plus Jakarta Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;*/
    font-family: "Inter", system-ui, sans-serif;
    /*background: var(--bg);*/
}

.antragpilot-app.modal-open {
    overflow: hidden;
}

/* Layout */
.interview-flex {
    display: flex;
    gap: clamp(1.5rem, 5vw, 2.25rem);
    max-width: 900px;
    margin: 0.5rem auto;
    background: #fff;
    border-radius: 1.875rem;
    box-shadow: 0 0.125rem 1rem rgba(51, 91, 117, .09);
    padding: 5rem 2rem;
    align-items: flex-start;
    position: relative;
}

.interview-main {
    flex: 2 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#interview {
    width: 100%;
    max-width: 35rem;
    min-width: 20rem;
    margin: 0 auto;
}

/* Progress */
.progress {
    color: var(--ink);
    font-size: 1rem;
    margin-bottom: 0.375rem;
    width: 100%;
    max-width: 35rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    min-height: 1.5rem;
}

.progressbar {
    height: 0.625rem;
    background: #eef2f7;
    border-radius: 999px;
    overflow: hidden;
    margin: 0 0 0.85rem;
    width: 100%;
    max-width: 35rem;
}

.progressbar > div {
    height: 100%;
    width: 0%;
    /*background: linear-gradient(90deg, var(--brand), var(--brand-2));*/
    background: var(--brand);
    transition: width .25s ease;
}

.progressbar > div.is-final {
    transition: none;
}

/* Headline & Inputs */
.frage {
    font-size: 1.8rem;
    line-height: 1.25;
    font-weight: 700;
    margin: 0;
    /*color: var(--brand);*/
    color: #000000;
}

.summary-mode .frage {
    margin: 0 0 1.5rem;
}

.frage-wrap {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-bottom: 0.9375rem;
}


.input-wrap {
    /*margin: 1.5625rem 0 2.5rem;*/
    margin: 1.5625rem 0;
    font-size: 1.1rem;
    color: var(--ink);
}

select,
input[type="text"],
input[type="email"],
textarea {
    padding: 0.75rem;
    /*border: 1px solid #BFD5DF;*/
    border: 1px solid #bfbfbf;
    /*border-radius: 1rem;*/
    border-radius: 20px;
    width: 100%;
    box-sizing: border-box;
    font-size: 1.1rem;
    background: var(--bg);
    color: var(--ink);
}

textarea {
    margin-bottom: 0;
}

/* Buttons */
.button-row {
    display: flex;
    gap: 1.125rem;
    margin-top: 1.25rem;
}

.button-row button {
    width: 100%;
}

button {
    font-family: inherit;
    background: var(--brand);
    color: #fff;
    border: none;
    /*border-radius: 0.875rem;*/
    border-radius: 200px;
    padding: 0.875rem 1.75rem;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background .15s, color .15s;
    position: relative;
    outline: none;
}

body .interview-main button {
    /*border-radius: 0.875rem !important;*/
}

/* Inline-Spinner im Button */
@keyframes ap-spin { to { transform: rotate(360deg); } }
button .ap-btn-label { display: inline-block; }

button .ap-spinner {
    visibility: hidden;
    margin-left: .5rem;
    position: absolute;
    top: calc(50% - 0.4em)
 }

.ap-btn-loading .ap-spinner {
    visibility: visible;
}

.ap-spinner {
    width: 0.8em;
    height: 0.8em;
    border: 2px solid currentColor;
    border-top-color: transparent;
    border-radius: 50%;
    animation: ap-spin .7s linear infinite;

}


/* Ausgegrauter Zustand über aria-disabled */
button[aria-disabled="true"],
.btn-primary[aria-disabled="true"],
.btn-ghost[aria-disabled="true"] {
    background: #cfe1eb !important;
    color: #ffffff !important;
    cursor: not-allowed;
    opacity: 0.75;
}

.zurueck-pfeil[aria-disabled="true"],
.zurueck-pfeil.disabled {
    background: none !important;
    color: #cbd5e1 !important;
    opacity: 0.1 !important;
}

.button-row button:hover {
    /*background: #4780A9;*/
    /*background: var(--brand-2);*/
}

.btn-ghost {
    background: #fff;
    /*color: var(--brand);*/
    color: var(--ink);
    border: 1px solid #cfe6f6;
    border-radius: 0.75rem;
    /*padding: 0.625rem 1rem;*/
    cursor: pointer;
}

.btn-ghost:hover {
    background: #F1F5F9;
}

.btn-ghost.small {
    /*padding: 0.375rem 0.625rem;*/
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    border-radius: 999px;
}

/* Messages */
.msg {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    font-size: 0.85rem;
    margin-top: 0.375rem;
    margin-bottom: 0.5rem;
    color: var(--ink);
}

.msg--hint {
    color: inherit;
}

.msg--hint #bankName,
.msg--hint #bankBic {
    font-weight: 700;
}

.msg--error {
    color: #B91C1C;
}

.msg--success {
    color: inherit;
}

.error {
    background: #fffefa;
    color: var(--err);
    padding: 0.5rem 0.625rem;
    border-radius: 0.5rem;
    margin: -1.25rem 0 0.5rem 0;
    font-size: 1rem;
    display: none;
}

.hidden {
    display: none !important;
}

/* Back button */

.zurueck-pfeil {
    background: none;
    border: none;
    color: var(--brand);
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    /*margin-bottom: 0.75rem;*/
    display: flex;
    align-items: center;
    justify-content: left;
    min-width: 2.75rem;
    min-height: 2.75rem;
    outline: none;
}

/* Choice groups */
.choice-group {
    display: grid;
    gap: 0.75rem;
}

.choice-group.choice--two {
    grid-template-columns: repeat(2, 1fr);
}

.choice-group.choice--stack {
    grid-template-columns: 1fr;
}

.choice-group input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
}

.choice-group label.seg {
    display: block;
    text-align: center;
    padding: 0.75rem 0.875rem;
    border: 1px solid #BFD5DF;
    /*border-radius: 0.875rem;*/
    /*border-radius: 1.875rem;*/
    border-radius: 200px;
    background: #fff;
    /*color: var(--brand);*/
    color: var(--ink);
    font-weight: 700;
    cursor: pointer;
    transition: background .15s, color .15s, border-color .15s, box-shadow .15s;
}

.choice-group label.seg:hover {
    background: #f6fbff;
}

.choice-group input[type="radio"]:focus + label.seg {
    outline: 0;
    border-color: var(--brand-2);
    box-shadow: 0 0 0 4px rgba(71, 128, 169, .15);
}

.choice-group input[type="radio"]:checked + label.seg {
    background: var(--brand);
    color: #fff;
    border-color: var(--brand);
}

/* Info callout */
.callout {
    display: flex;
    gap: 0.625rem;
    align-items: center;
    padding: 1.5rem 1.9375rem;
    border-radius: 0.875rem;
}

.callout--info {
    background: var(--info-bg);
    color: #64748B;
}

/* Kebab (Progress Aktionen) */
.progress-actions {
    display: inline-flex;
    align-items: baseline;
    width: 1.25rem;
    height: 1.125rem;
    margin-left: 0.5rem;
    position: relative;
}

.kebab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.125rem;
    height: 1.125rem;
    color: currentColor;
    opacity: .65;
    cursor: pointer;
    transform: translateY(0.125rem);
}

.kebab.disabled,
.kebab.is-disabled {
    opacity: 0.1;
    cursor: not-allowed;
}

.popover {
    position: absolute;
    top: -40%;
    right: -40px;
    background: #fff;
    border: 1px solid #E2E8F0;
    /*border-radius: 0.625rem;*/
    border-radius: 200px;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, .12);
    min-width: 13.125rem;
    /*padding: 0.375rem;*/
    padding: 0;
    z-index: 1000;
    display: none;
}

.popover.open {
    display: block;
}

.popover button {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    /*padding: 0.625rem 0.75rem;*/
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    cursor: pointer;
    font-size: 0.875rem;
    /*color: #334155;*/
    color: var(--ink);
}

.popover button:hover {
    background: #F1F5F9;
}

/* Modal */
.modal-backdrop {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 1200;
    background: rgba(15, 23, 42, 0.55);
}

.modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 1201;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal.open {
    display: flex;
}

.modal-backdrop.open {
    display: block;
}

.modal-card {
    background: #fff;
    width: min(32.5rem, 92%);
    border-radius: 1rem;
    box-shadow: 0 1rem 3rem rgba(0,0,0,.2);
    padding: 1.375rem;
}

.modal-title {
    font-size: 1.2rem;
    font-weight: 700;
    /*color: #335B75;*/
    color: var(--brand-2);
    margin-bottom: 0.625rem;
}

.modal-text {
    /*color: #475569;*/
    color: var(--ink);
    margin-bottom: 1.125rem;
}

.modal-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
}

.btn-primary {
    /*background: #335B75;*/
    background: var(--brand);
    color: #fff;
    border: none;
    /*border-radius: 0.75rem;*/
    /*padding: 0.625rem 1rem;*/
    font-weight: 700;
    cursor: pointer;
}

.btn-primary:hover {
    background: #4780A9;
}

@media (max-width: 768px) {
    .interview-flex {
        /*flex-direction: column;*/
        /*align-items: stretch;*/
        padding: clamp(2.5rem, 8vw, 4rem) clamp(1rem, 6vw, 2rem);
        /*padding-left: 0;*/
        /*padding-right: 0;*/
    }

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

    .modal-actions .btn-primary,
    .modal-actions .btn-ghost {
        width: 100%;
    }

    .progress,
    .progressbar,
    .header-row {
        max-width: 100%;
    }

    .button-row {
        gap: 0.75rem;
    }
}

@media (max-width: 560px) {
    #interview {
        min-width: 0;
    }

    .interview-flex {
        /*margin: clamp(1.5rem, 8vw, 2rem) auto;*/
        /*padding-left: 0;*/
        /*padding-right: 0;*/
    }

    .frage {
        font-size: clamp(1.5rem, 5.5vw, 1.8rem);
        /*line-height: 1.875rem;*/

    }

    .msg__text {
        line-height: 1.25
    }

    .progressbar {
        margin-bottom: 2rem;
    }

    .button-row {
        flex-direction: column;
    }
}

@media (max-width: 400px) {
    .antragpilot-app {
        font-size: 0.9375rem;
    }

    .callout {
        padding: 1.25rem;
    }

    button {
        padding: 0.75rem 1.5rem;
    }
}

/* Select2 */
.select2-container--default .select2-selection--single {
    border: 1px solid #bfbfbf;
    border-radius: 1rem;
    background: var(--bg);
    min-height: 3rem;
    display: block;
    padding-left: 0.75rem;
    font-size: 1.1rem;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: var(--ink);
    padding-left: 0;
    line-height: 3rem;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    right: 0.75rem;
    top: 25%;
}

.select2-container--default.select2-container--open .select2-selection--single {
    border-color: var(--brand-2);
}

.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
    transform: rotate(180deg);
}

.select2-search--dropdown .select2-search__field {
    padding: 0.75rem;
}

/* Name (2 Spalten) */
#interview .input-wrap:has(> input[id$="vorname"]):has(> input[id$="nachname"]) {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 0.5rem 0.75rem;
}

#interview .input-wrap > label:has(+ input[id$="vorname"]) {
    grid-column: 1;
    grid-row: 1;
}

#interview .input-wrap > input[id$="vorname"] {
    grid-column: 1;
    grid-row: 2;
}

#interview .input-wrap > label:has(+ input[id$="nachname"]) {
    grid-column: 2;
    grid-row: 1;
}

#interview .input-wrap > input[id$="nachname"] {
    grid-column: 2;
    grid-row: 2;
}

@media (max-width: 560px) {
    #interview .input-wrap:has(> input[id$="vorname"]):has(> input[id$="nachname"]) {
        display: block;
    }
}

/* Adresse */
#interview .input-wrap:has(> input[id$="adresszusatz"]):has(> input[id$="strasse"]):has(> input[id$="hausnummer"]):has(> input[id$="plz"]):has(> input[id$="ort"]) {
    display: grid;
    grid-template-columns: repeat(10, minmax(0, 1fr));
    grid-auto-rows: auto;
    gap: 0.5rem 0.75rem;
}

#interview .consent-card {
    background: #f8fafc;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#interview .checkout-section--consents .consent-card {
    background: none;
    border: none;
    padding: 0;
}

#interview .consent-card__checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-weight: 500;
    color: var(--ink);
}

#interview .consent-card__checkbox input[type="checkbox"] {
    margin-top: 0.15rem;
    width: 0.95rem;
    height: 0.95rem;
    flex-shrink: 0;
    accent-color: #64748b;
    outline: none;
}

#interview .consent-card__checkbox input[type="checkbox"][disabled] {
    accent-color: #cbd5e1;
}

#interview .consent-card__checkbox input[type="checkbox"]:focus,
#interview .consent-card__checkbox input[type="checkbox"]:focus-visible {
    outline: none;
    box-shadow: none;
}

#interview .consent-card__checkbox label {
    flex: 1;
    font-size: 0.9rem;
    line-height: 1.45;
    cursor: pointer;
}

#interview .input-wrap > label:has(+ input[id$="strasse"]) {
    grid-column: 1 / span 7;
    grid-row: 1;
}

#interview .input-wrap > input[id$="strasse"] {
    grid-column: 1 / span 7;
    grid-row: 2;
}

#interview .input-wrap > label:has(+ input[id$="hausnummer"]) {
    grid-column: 8 / span 3;
    grid-row: 1;
}

#interview .input-wrap > input[id$="hausnummer"] {
    grid-column: 8 / span 3;
    grid-row: 2;
}

#interview .input-wrap > label:has(+ input[id$="plz"]) {
    grid-column: 1 / span 3;
    grid-row: 3;
}

#interview .input-wrap > input[id$="plz"] {
    grid-column: 1 / span 3;
    grid-row: 4;
}

#interview .input-wrap > label:has(+ input[id$="ort"]) {
    grid-column: 4 / span 7;
    grid-row: 3;
}

#interview .input-wrap > input[id$="ort"] {
    grid-column: 4 / span 7;
    grid-row: 4;
}

#interview .input-wrap > label:has(+ input[id$="adresszusatz"]) {
    grid-column: 1 / -1;
    grid-row: 5;
}

#interview .input-wrap > input[id$="adresszusatz"] {
    grid-column: 1 / -1;
    grid-row: 6;
}



@media (max-width: 560px) {
    #interview .input-wrap:has(> input[id$="adresszusatz"]):has(> input[id$="strasse"]):has(> input[id$="hausnummer"]):has(> input[id$="plz"]):has(> input[id$="ort"]) {
        display: block !important;
    }

    .choice-group.choice--two {
        grid-template-columns: 1fr;
    }
}

/* Übersicht */
.sum-row {
    /*display: flex;*/
    /*align-items: center;*/
    /*gap: 0.5rem;*/
    /*row-gap: 0;*/
    /*flex-wrap: wrap;*/
    /*margin: 0.375rem 0;*/
    margin: 0;
}

.sum-row b {
    margin-right: 0.375rem;
}

.sum-row .sum-value {
    /*display: inline-flex;*/
    /*align-items: center;*/
    /*gap: 0.5rem;*/
    /*flex-wrap: nowrap;*/
    /*min-width: 0;*/
}

.sum-row .ans {
    color: var(--ink);
}

.edit-btn {
    background: none;
    border: 0;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 0.5rem;
    color: var(--brand-2);
    margin-left: 5px;
    vertical-align: middle;
}

.edit-btn:hover {
    background: #F1F5F9;
}

.edit-btn svg {
    width: 1rem;
    height: 1rem;
    display: block;
}

/* Kopfzeile */
.header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 35rem;
    margin-bottom: 0.75rem;
}

/* Übersicht Sections */
.sum-section {
    /*margin-top: 1.125rem;*/
    /*padding-top: 0.75rem;*/
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--line);
}

.sum-section:first-child {
    border: none;
    /*margin-top: 0;*/
    padding-top: 0;
}

.summary-mode .input-wrap {
    margin: 0 0 2.5rem 0;
}

.sum-section h2 {
    /*margin: 0 0 0.75rem;*/
    /*margin: 0;*/
    font-size: 1.25rem;
    font-weight: 600;
    /*color: var(--brand);*/
    color: var(--ink);
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

/* Checkout */
.checkout-wrap {
    max-width: 35rem;
    margin: 0 auto;
    width: 100%;
}

.checkout-wrap .frage {
    margin-bottom: clamp(-11px, -3vw, -12px);
    position: relative;
    z-index: 1;
    /*line-height: 68px !important;dd*/
}

.checkout-intro {
    font-weight: 500;
    font-size: 1.3rem;
    background: #ffb347;
    margin: 1rem 0 calc(1rem + 17px);
    padding: 2rem;;
    /*box-shadow: 40px 60px 60px -20px rgba(0, 0, 0, 0.175);*/
    box-shadow: 0 8px 18px rgba(60, 109, 147, 0.2);
    border-radius: 20px;
    line-height: 1.25;
}

.animated .nectar-scribble path {
    stroke-linecap: round;
    stroke-dasharray: 1;
    animation: nectarStrokeAnimation 1.3s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

.nectar-scribble.scribble-played path,
.animated .nectar-scribble.scribble-played path {
    animation: none !important;
    stroke-dashoffset: 0;
    opacity: 1;
}

@keyframes nectarStrokeAnimation {
    0% {
        stroke-dashoffset: 1;
        opacity: 0;
    }
    1% {
        opacity: 1;
    }
    100% {
        stroke-dashoffset: 0;
    }
}

.checkout-wrap--contact .checkout-section--consents {
    margin-bottom: 2.5rem;
}

.checkout-section--summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    /*margin: 1.5rem 0;*/
    margin: 0 0 1rem;
    flex-wrap: wrap;

    display: none;

}

.checkout-summary-contact {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: var(--ink);
    margin: 0.5rem 0;


}

.checkout-summary-label {
    font-weight: 700;
    color: var(--ink);
}

/*.checkout-summary-label strong {*/
body .checkout-summary-contact strong {
    font-weight: 500 !important;
}

.checkout-section--summary .btn-ghost.small,
.checkout-section--summary .checkout-summary-edit {
    flex-shrink: 0;
}

.checkout-section h2 {
    /*margin: 0 0 0.75rem;*/
    margin: 0 0 12px;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.25rem;
}

.checkout-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    grid-auto-rows: 1fr;
    gap: 1rem;
    align-items: stretch; 
}

.checkout-option {
    position: relative;
    min-width: 0;
    border: 2px solid #d6dee6;
    border-radius: 14px;
    padding: 1rem 1.15rem;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease, background 0.2s ease;
    text-align: left;
    display: grid;               
    grid-template-columns: 1fr auto;
    grid-auto-rows: auto;
    column-gap: 0.75rem;
    height: 100%;
}

.checkout-option:hover {
    border-color: #99b3c3;
    box-shadow: 0 4px 12px rgba(51, 91, 117, 0.12);
    transform: translateY(-1px);
}

.checkout-option.is-active {
    border-color: var(--brand);
    box-shadow: 0 8px 18px rgba(60, 109, 147, 0.2);
    background: linear-gradient(180deg, #f5f9fc 0%, #ffffff 65%);
}

.checkout-option.is-active::after {
    /*content: '✓ Ausgewählt';*/
    content: 'Ausgewählt';
    position: absolute;
    top: -0.65rem;
    /*left: 0.9rem;*/
    left: 50%;
    transform: translateX(-50%);
    background: #335b75;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    box-shadow: 0 6px 12px rgba(60, 109, 147, 0.25);
    white-space: nowrap;
}

.checkout-option:focus-visible {
    outline: 3px solid rgba(51, 91, 117, 0.25);
    outline-offset: 2px;
}

.checkout-option__label {
    font-weight: 700;
    display: block;
    color: var(--ink);
    grid-column: 1;
    align-self: start;
}

.checkout-option.is-active .checkout-option__label {
    color: #1d2f3d;
}

.checkout-option__price {
    position: static;
    grid-column: 2;
    align-self: start;
    font-weight: 700;
    color: var(--ink);
}

.checkout-option.is-active .checkout-option__price {
    color: #1d2f3d;
}

.checkout-option__hint {
    margin-top: 0.35rem;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--ink);
    display: block;
    grid-column: 1 / -1; 
}

@media (max-width: 640px) {
    .checkout-options {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
}

.checkout-section--payment {
    /*margin-top: 2.25rem;*/
    margin-top: 1.5rem;
}

.checkout-label {
    display: block;
    font-weight: 600;
    color: #172b3f;
    margin-bottom: 0.35rem;
}

.checkout-input {
    width: 100%;
    border: 1px solid #d6dee6;
    border-radius: 10px;
    padding: 0.75rem 0.85rem;
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.checkout-input:focus {
    border-color: #335B75;
    box-shadow: 0 0 0 3px rgba(51, 91, 117, 0.16);
    outline: none;
}

.checkout-note {
    margin: 0.45rem 0 0.25rem;
    font-size: 0.92rem;
    color: var(--ink);
}

.checkout-actions {
    justify-content: flex-end;
}

.paypal-button-wrap {
    margin-top: 1.5rem;
}

.paypal-loading {
    font-size: 0.95rem;
    color: #335b75;
    padding: 0.5rem 0;
}

.stripe-payment-wrap {
    margin-top: 1.5rem;
    padding: 0.75rem 1rem 1rem;
    border: 1px solid #dbe4ed;
    border-radius: 12px;
    background: #f9fcff;
}

.stripe-payment-wrap .msg {
    margin-top: 0.75rem;
}

.payment-accordion {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.payment-accordion__item {
    border: 1px solid #d6dee6;
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
}

.payment-accordion__item.is-open {
    border-color: #335b75;
    box-shadow: 0 6px 18px rgba(51, 91, 117, 0.18);
}

.payment-accordion__header {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 1rem 1.15rem;
    background: transparent;
    border: none;
    text-align: left;
    cursor: pointer;
    position: relative;
    gap: 0.35rem;
}

.payment-accordion__title {
    font-weight: 700;
    color: var(--ink);
}

.payment-accordion__row {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.payment-accordion__meta {
    font-size: 0.95rem;
    color: #4b5563;
}

.payment-accordion__caret {
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    width: 12px;
    height: 12px;
    border-right: 2px solid #335b75;
    border-bottom: 2px solid #335b75;
    transition: transform 0.2s ease;
}

.payment-accordion__brands {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: .5rem;          
}

.payment-accordion__brand {
    display: inline-block;
    width: 48px;                 
    height: 18px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center left;
    opacity: 0.95;
    pointer-events: none;
}

.payment-accordion__brand.brand--klarna {
    transform: scale(1.7);
    transform-origin: left center;
}
.payment-accordion__brand.brand--sepa {
    transform: scale(1.2);
    transform-origin: left center;
}
.payment-accordion__brand.brand--visa { width: 29px; }
.payment-accordion__brand.brand--ma   { width: 20px; }

.payment-accordion__item.is-open .payment-accordion__caret {
    transform: translateY(-50%) rotate(45deg);
}

.payment-accordion__content {
    max-height: 0;
    overflow: hidden;
    padding: 0 1.15rem;
    opacity: 0;
    visibility: hidden;
    transition: max-height 0.25s ease, opacity 0.2s ease;
}

.payment-accordion__item.is-open .payment-accordion__content {
    max-height: 1200px;
    padding-bottom: 1.15rem;
    opacity: 1;
    visibility: visible;
}

.payment-accordion__body {
    display: flex;
    flex-direction: column;
}

.payment-accordion__info {
    margin: 0;
    color: var(--ink);
    font-size: 0.95rem;
    line-height: 1.25rem;
    padding: 0;
}

.payment-accordion__slot {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Danke-Seite */
.thankyou-wrap {
    /*max-width: 32rem;*/
    margin: 1rem auto 0;
    /*padding: 2.5rem 2rem;*/
    /*background: #ffffff;*/
    /*border-radius: 18px;*/
    /*box-shadow: 0 22px 48px rgba(15, 118, 110, 0.14);*/
    text-align: center;
}

.thankyou-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.25rem;
}

.thankyou-lead {
    /*margin: 3.5rem 0 0.75rem;*/
    margin: 1rem 0 0.75rem;
    font-size: 1.05rem;
    color: #1f2933;
}

.thankyou-lead--post {
    font-size: 1.2rem;
    font-weight: 600;
}

.thankyou-lead strong {
    color: #0f766e;
}

.thankyou-info {
    /*margin: 0 0 2.75rem;*/
    margin: 0 0 1rem;
    font-size: 0.95rem;
    color: #4b5563;
}

.thankyou-wrap .btn-primary,
.thankyou-wrap .btn-ghost {
    width: 100%;
}

.thankyou-wrap .btn-ghost {
    margin-top: 0.5rem;
}

.thankyou-note {
    /*margin: 0.5rem 0 1.25rem;*/
    margin: 0.5rem 0 0.75rem;
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 700; 
}

.thankyou-brand {
    margin-top: 0.75rem;
    font-size: 0.8125rem; 
    color: #6b7280; 
}
