/* ========================================
   SPENDENSEITE
   ======================================== */

.donation-page {
    min-height: 100vh;
    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(155, 107, 196, 0.10),
            transparent 420px
        ),
        #ffffff;

    color: #353132;
}


/* ========================================
   INTRO
   ======================================== */

.donation-page-intro {
    width: min(760px, calc(100% - 40px));
    margin: 0 auto;
    padding: 90px 0 55px;
    text-align: center;
}

.donation-kicker {
    display: inline-block;

    margin-bottom: 12px;

    color: #9b6bc4;

    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.donation-page-intro h1 {
    margin: 0;

    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(42px, 6vw, 66px);
    font-weight: 600;
    line-height: 0.98;

    color: #353132;
}

.donation-page-intro > p {
    max-width: 570px;

    margin: 22px auto 0;

    color: #6d6770;

    font-size: 16px;
    line-height: 1.7;
}


/* ========================================
   AUSGEWÄHLTER BETRAG
   ======================================== */

.selected-donation {
    max-width: 390px;

    margin: 38px auto 0;
    padding: 23px 28px;

    display: flex;
    flex-direction: column;
    align-items: center;

    border: 1px solid #e8e1eb;
    border-radius: 20px;

    background: rgba(255, 255, 255, 0.92);

    box-shadow:
        0 12px 35px rgba(53, 49, 50, 0.06),
        0 3px 12px rgba(155, 107, 196, 0.06);
}

.selected-donation > span {
    color: #6d6770;

    font-size: 12px;
    font-weight: 600;
}

.selected-donation strong {
    margin-top: 3px;

    color: #8053aa;

    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 44px;
    font-weight: 600;
    line-height: 1.1;
}

.selected-donation a {
    margin-top: 8px;

    color: #9b6bc4;

    font-size: 12px;
    font-weight: 600;

    text-decoration: none;
}

.selected-donation a:hover {
    text-decoration: underline;
}


/* ========================================
   ZAHLUNGSBEREICH
   ======================================== */

.payment-section {
    width: min(1080px, calc(100% - 40px));
    margin: 0 auto;
    padding: 35px 0 100px;
}

.payment-heading {
    margin-bottom: 28px;
    text-align: center;
}

.payment-heading > span {
    color: #9b6bc4;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.payment-heading h2 {
    margin: 7px 0 0;

    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(31px, 4vw, 43px);
    font-weight: 600;

    color: #353132;
}


/* ========================================
   ZAHLUNGSKARTEN
   ======================================== */

.payment-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
    gap: 24px;

    align-items: start;
}

.payment-card {
    position: relative;

    padding: 31px;

    border: 1px solid #e8e1eb;
    border-radius: 24px;

    background: rgba(255, 255, 255, 0.96);

    box-shadow:
        0 16px 45px rgba(53, 49, 50, 0.07),
        0 4px 14px rgba(155, 107, 196, 0.05);
}

.payment-card-icon {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 18px;

    border-radius: 14px;

    background: #f3e9f7;
    color: #9b6bc4;

    font-size: 19px;
}

.payment-card-heading h3 {
    margin: 0;

    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 30px;
    font-weight: 600;

    color: #353132;
}

.payment-card-heading p {
    margin: 7px 0 0;

    color: #6d6770;

    font-size: 14px;
    line-height: 1.6;
}


/* ========================================
   BANKDATEN
   ======================================== */

.bank-details {
    margin-top: 26px;

    overflow: hidden;

    border: 1px solid #eee8f0;
    border-radius: 17px;

    background: #ffffff;
}

.bank-detail {
    min-height: 69px;

    display: flex;
    align-items: center;

    gap: 15px;

    padding: 13px 14px 13px 18px;

    border-bottom: 1px solid #eee8f0;
}

.bank-detail:last-child {
    border-bottom: 0;
}

.bank-detail-content {
    min-width: 0;
    flex: 1;

    display: flex;
    flex-direction: column;

    gap: 4px;
}

.bank-label {
    color: #8b858d;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.bank-value {
    overflow-wrap: anywhere;

    color: #353132;

    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

.bank-iban {
    letter-spacing: 0.03em;
}

.bank-detail-amount {
    background: #fbf7fc;
}

.bank-detail-amount .bank-value {
    color: #8053aa;

    font-size: 17px;
}


/* ========================================
   EINZELNER KOPIERBUTTON
   ======================================== */

.copy-button {
    width: 39px;
    height: 39px;

    flex: 0 0 39px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #e6dbea;
    border-radius: 10px;

    background: #faf6fc;
    color: #9b6bc4;

    font-size: 14px;

    cursor: pointer;

    transition:
        transform 0.18s ease,
        background 0.18s ease,
        color 0.18s ease,
        border-color 0.18s ease;
}

.copy-button:hover {
    transform: translateY(-1px);

    background: #9b6bc4;
    border-color: #9b6bc4;
    color: #ffffff;
}

.copy-button.copied {
    background: #9b6bc4;
    border-color: #9b6bc4;
    color: #ffffff;
}


/* ========================================
   ALLE BANKDATEN KOPIEREN
   ======================================== */

.copy-all-button {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    margin-top: 15px;
    padding: 13px 18px;

    border: 1.5px solid #9b6bc4;
    border-radius: 12px;

    background: #ffffff;
    color: #8053aa;

    font: inherit;
    font-size: 13px;
    font-weight: 700;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        color 0.2s ease,
        box-shadow 0.2s ease;
}

.copy-all-button:hover {
    transform: translateY(-1px);

    background: #9b6bc4;
    color: #ffffff;

    box-shadow:
        0 7px 18px rgba(128, 83, 170, 0.18);
}

.copy-all-button.copied {
    background: #9b6bc4;
    color: #ffffff;
}


/* ========================================
   BANK HINWEIS
   ======================================== */

.bank-hint {
    display: flex;

    gap: 8px;

    margin: 16px 2px 0;

    color: #8b858d;

    font-size: 11px;
    line-height: 1.5;
}

.bank-hint i {
    margin-top: 2px;

    color: #b08acb;
}


/* ========================================
   PAYPAL
   ======================================== */

.paypal-card {
    overflow: hidden;
}

.paypal-content {
    margin-top: 26px;
    padding: 30px 23px;

    text-align: center;

    border: 1px solid #eee8f0;
    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #fbf7fc
        );
}

.paypal-heart {
    width: 64px;
    height: 64px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 18px;

    border-radius: 50%;

    background: #f3e9f7;
    color: #9b6bc4;

    font-size: 22px;
}

.paypal-content > p {
    margin: 0 auto 22px;

    max-width: 270px;

    color: #6d6770;

    font-size: 13px;
    line-height: 1.6;
}

.paypal-button {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    padding: 14px 18px;

    border-radius: 12px;

    background:
        linear-gradient(
            135deg,
            #a875cf,
            #8053aa
        );

    color: #ffffff;

    font-size: 14px;
    font-weight: 700;

    text-decoration: none;

    box-shadow:
        0 7px 18px rgba(128, 83, 170, 0.20);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.paypal-button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 10px 24px rgba(128, 83, 170, 0.27);
}

.paypal-note {
    display: block;

    margin-top: 13px;

    color: #99929c;

    font-size: 10px;
}


/* ========================================
   DANKE
   ======================================== */

.donation-thanks {
    width: min(650px, calc(100% - 40px));

    margin: 0 auto;
    padding: 0 0 110px;

    text-align: center;
}

.donation-thanks > i {
    color: #9b6bc4;
    font-size: 18px;
}

.donation-thanks h2 {
    margin: 10px 0 8px;

    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 32px;
    font-weight: 600;

    color: #353132;
}

.donation-thanks p {
    max-width: 500px;

    margin: 0 auto;

    color: #6d6770;

    font-size: 14px;
    line-height: 1.7;
}

.donation-thanks a {
    display: inline-block;

    margin-top: 18px;

    color: #9b6bc4;

    font-size: 13px;
    font-weight: 600;

    text-decoration: none;
}

.donation-thanks a:hover {
    text-decoration: underline;
}


/* ========================================
   TABLET
   ======================================== */

@media (max-width: 850px) {

    .payment-grid {
        grid-template-columns: 1fr;
    }

}


/* ========================================
   MOBILE
   ======================================== */

@media (max-width: 600px) {

    .donation-page-intro {
        width: calc(100% - 30px);

        padding-top: 58px;
        padding-bottom: 35px;
    }

    .donation-page-intro h1 {
        font-size: 42px;
    }

    .donation-page-intro > p {
        font-size: 14px;
    }


    .selected-donation {
        margin-top: 28px;
        padding: 20px;
    }

    .selected-donation strong {
        font-size: 39px;
    }


    .payment-section {
        width: calc(100% - 24px);

        padding-top: 25px;
        padding-bottom: 75px;
    }

    .payment-heading {
        margin-bottom: 21px;
    }

    .payment-heading h2 {
        font-size: 32px;
    }


    .payment-card {
        padding: 21px;

        border-radius: 20px;
    }

    .payment-card-heading h3 {
        font-size: 27px;
    }


    .bank-detail {
        min-height: 67px;

        padding-left: 14px;
        padding-right: 11px;
    }

    .bank-value {
        font-size: 12px;
    }

    .bank-iban {
        font-size: 11px;
        letter-spacing: 0;
    }


    .copy-button {
        width: 38px;
        height: 38px;

        flex-basis: 38px;
    }


    .paypal-content {
        padding: 26px 18px;
    }


    .donation-thanks {
        width: calc(100% - 30px);

        padding-bottom: 80px;
    }

}


/* ========================================
   PAYPAL VORERST AUSBLENDEN
   ======================================== */

.paypal-card {
    display: none;
}

.payment-grid {
    grid-template-columns: minmax(0, 720px);
    justify-content: center;
}


/* ========================================
   BETRAGS-ANIMATION + MINI-KONFETTI
   ======================================== */

.donation-celebration {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-top: 3px;
}

.donation-celebration > strong {
    position: relative;
    z-index: 2;

    color: #8053aa;

    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 44px;
    font-weight: 600;
    line-height: 1.1;
}


/* Konfetti-Bereich */

.mini-confetti {
    position: absolute;

    width: 190px;
    height: 100px;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    pointer-events: none;

    z-index: 1;
}


/* Einzelnes Teilchen */

.confetti-piece {
    position: absolute;

    left: 50%;
    top: 50%;

    width: 5px;
    height: 5px;

    border-radius: 50%;

    background: #9b6bc4;

    opacity: 0;

    animation:
        donation-confetti 700ms
        cubic-bezier(.17, .67, .35, 1)
        forwards;
}


/* Kleine unterschiedliche Formen */

.confetti-piece:nth-child(3n) {
    width: 3px;
    height: 8px;

    border-radius: 2px;

    background: #c6a6da;
}

.confetti-piece:nth-child(4n) {
    width: 4px;
    height: 4px;

    background: #8053aa;
}


/* Bewegung */

@keyframes donation-confetti {

    0% {
        opacity: 0;
        transform:
            translate(0, 0)
            scale(0.5)
            rotate(0deg);
    }

    15% {
        opacity: 0.9;
    }

    100% {
        opacity: 0;
        transform:
            translate(
                var(--confetti-x),
                var(--confetti-y)
            )
            scale(1)
            rotate(var(--confetti-rotation));
    }

}


/* Barrierefreiheit */

@media (prefers-reduced-motion: reduce) {

    .confetti-piece {
        display: none;
    }

}

/* ========================================
   GOFUNDME
   ======================================== */

.gofundme-card {
    overflow: hidden;
}

.gofundme-content {
    margin-top: 26px;
    padding: 30px 23px;

    text-align: center;

    border: 1px solid #eee8f0;
    border-radius: 18px;

    background: linear-gradient(
        145deg,
        #ffffff,
        #fbf7fc
    );
}

.gofundme-heart {
    width: 64px;
    height: 64px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 18px;

    border-radius: 50%;

    background: #f3e9f7;
    color: #9b6bc4;

    font-size: 22px;
}

.gofundme-content > p {
    max-width: 300px;
    margin: 0 auto 22px;

    color: #6d6770;

    font-size: 13px;
    line-height: 1.6;
}

.gofundme-button {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    padding: 14px 18px;

    border-radius: 12px;

    background: linear-gradient(
        135deg,
        #a875cf,
        #8053aa
    );

    color: #ffffff;

    font-size: 14px;
    font-weight: 700;

    text-decoration: none;

    box-shadow:
        0 7px 18px rgba(128, 83, 170, 0.20);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.gofundme-button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 10px 24px rgba(128, 83, 170, 0.27);
}

.gofundme-note {
    display: block;

    margin-top: 13px;

    color: #99929c;

    font-size: 10px;
}