.spendenbarometer-container {
    text-align: center;
    max-width: 400px;
    margin: 20px auto;
    position: relative;
}

.sb-progress-text {
    font-family: sans-serif;
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 32px;
}

.sb-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1; /* damit beide exakt gleiche Fläche haben */
    overflow: hidden;
}

/* --- Farbiges Bild unten --- */
.sb-color-layer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0%; /* dynamisch via JS */
    overflow: hidden;
    transition: height 1.5s ease-in-out;
    z-index: 4;

    /* WICHTIG: Flexbox, um Bild unten zu fixieren */
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.sb-image-color {
    width: 100%;
    height: auto;
    display: block;
}

/* --- Graues Bild oben --- */
.sb-image-gray {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    filter: grayscale(100%) brightness(0.7);
    z-index: 2;
    display: block;
}