/* ============================================================
 * WKHL Spenden-Aufruf - Styling
 * Alles unter .wkhl-donation gekapselt.
 * ============================================================ */

.wkhl-donation {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    min-height: 520px;
    padding: 40px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    box-sizing: border-box;
    overflow: hidden;
}

.wkhl-donation *,
.wkhl-donation *::before,
.wkhl-donation *::after {
    box-sizing: border-box;
}

/* Volle Breite / randlos (bricht aus dem Container aus) */
.wkhl-donation--fullbleed {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

/* Diashow-Ebenen (nur Raender -> funktioniert in Chrome UND Safari) */
.wkhl-donation-slides {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.wkhl-donation-slide {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.wkhl-donation-slide.is-active {
    opacity: 1;
}

/* Ohne weiche Ueberblendung: harter Wechsel */
.wkhl-donation[data-slide-fade="0"] .wkhl-donation-slide {
    transition: none;
}

.wkhl-donation-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    pointer-events: none;
    z-index: 1;
}

.wkhl-donation-card {
    position: relative;
    z-index: 2;
    background: #ffffff;
    border-radius: 24px;
    padding: 40px;
    max-width: 460px;
    width: 100%;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
}

/* Schatten optional abschaltbar */
.wkhl-donation-card.don-no-shadow {
    box-shadow: none;
}

/* Inhalt ausrichten */
.wkhl-donation-card.don-align-center {
    text-align: center;
}
.wkhl-donation-card.don-align-center .don-amounts {
    justify-content: center;
}
.wkhl-donation-card.don-align-center .don-custom-input {
    margin-left: auto;
    margin-right: auto;
}

.wkhl-donation-card.don-align-right {
    text-align: right;
}
.wkhl-donation-card.don-align-right .don-amounts {
    justify-content: flex-end;
}
.wkhl-donation-card.don-align-right .don-custom-input {
    margin-left: auto;
}

.wkhl-donation .don-label {
    font-size: 15px;
    color: #6b6b6b;
    margin-bottom: 16px;
}

.wkhl-donation .don-heading {
    margin-bottom: 28px;
}

.wkhl-donation .don-heading-top,
.wkhl-donation .don-heading-bottom {
    display: block;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.12;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wkhl-donation .don-heading-top {
    color: #8a8a8a;
}

.wkhl-donation .don-heading-bottom {
    color: #E2001A;
}

.wkhl-donation .don-amounts {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}

.wkhl-donation .don-amount {
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    border: 2px solid #E2001A;
    color: #E2001A;
    border-radius: 8px;
    padding: 12px 22px;
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
    line-height: 1;
    font-family: inherit;
}

.wkhl-donation .don-amount:hover,
.wkhl-donation .don-amount.is-selected {
    background: #E2001A;
    color: #ffffff;
}

.wkhl-donation .don-custom-input {
    display: block;
    width: 160px;
    max-width: 100%;
    margin-bottom: 16px;
    padding: 12px 16px;
    border: 2px solid #E2001A;
    border-radius: 8px;
    font-size: 18px;
    color: #E2001A;
    font-family: inherit;
    outline: none;
}

.wkhl-donation .don-submit {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #E2001A;
    color: #ffffff;
    text-decoration: none;
    border-radius: 999px;
    padding: 16px 34px;
    font-size: 20px;
    font-weight: 600;
    line-height: 1;
    transition: filter 0.2s ease, transform 0.1s ease;
}

.wkhl-donation .don-submit:hover {
    filter: brightness(0.92);
}

.wkhl-donation .don-submit:active {
    transform: translateY(1px);
}

.wkhl-donation .don-heart {
    font-size: 18px;
    line-height: 1;
}

/* Mobil */
@media (max-width: 640px) {
    .wkhl-donation {
        min-height: 420px;
        padding: 20px;
        align-items: stretch;
    }

    .wkhl-donation-card {
        padding: 28px 24px;
        border-radius: 18px;
    }

    .wkhl-donation .don-heading-top,
    .wkhl-donation .don-heading-bottom {
        font-size: 26px;
    }

    .wkhl-donation .don-amount {
        padding: 10px 18px;
        font-size: 18px;
    }

    .wkhl-donation .don-submit {
        width: 100%;
        justify-content: center;
    }
}
