.rw-donate-btn {
    align-self: end;
    margin-top: -32px;
}

.rw-donate-btn a{
    position: relative;
    background: #fc0001;
    color: white;
    padding: 10px 25px;
    transition: all 0.3s ease 0s;
    font-family: 'Oswald', sans-serif;
}

.rw-donate-btn a:hover{
    background: #404040;
    color: white;
    transition: all 0.3s ease 0s;

}


/* --------------------------- */
/*  Snippflow Donation Widget  */
/* --------------------------- */

.sf-donate {
    --sf-donate-bar-bg: rgba(0, 0, 0, .05);
    --sf-donate-bar-progress-bg: rgba(252, 0, 1, 1);
    --sf-donate-bar-point-bg: transparent;
    --sf-donate-bar-point-border: transparent;

}

.sf-donate {
    max-width: 700px;
    text-align: center;
    margin: 50px auto;
    margin-top: -50px;

    display: flex;
    flex-direction: column;
    align-items: center;
}

.sf-donate > * {
    margin-bottom: 10px;
}

.sf-donate h2 {
    font-size: clamp(1.2rem, 4vw, 50px);
    line-height: 1.2;
    font-weight: 600;
}

.sf-donate .number {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: clamp(2.5rem, 10vw, 130px);
    letter-spacing: -2%;
    line-height: 1;
    font-weight: 600;
    color: #46A787;
    background: rgb(99, 217, 179);
    background: linear-gradient(260deg, rgba(99, 217, 179, 1) 0%, rgba(70, 167, 135, 1) 51%, rgba(83, 198, 160, 1) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sf-donate .number .currency {
    font-size: 30%;
    font-weight: 100;
}

.sf-donate .progress-bar {
    display: flex;
    position: relative;
    height: 12px;
    border-radius: 0px;
    width: 100%;
    background-color: var(--sf-donate-bar-bg);
    box-shadow: none;
}

.sf-donate .important {
    color: #fc0001;;
    text-decoration: none;
    transition: all 0.3s ease 0s;
    font-weight: bold;
}

.sf-donate .progress-bar > span {
    display: block;
    position: relative;
    width: 0;
    height: 100%;
    border-radius: 0;
    background-color: #fc0001;
    animation: bar-animation 2s ease-in-out forwards;
}

.sf-donate .progress-bar > span:after {
    content: "";
    width: 20px;
    height: 20px;
    border-radius: 100%;
    background-color: var(--sf-donate-bar-point-bg);
    border: 5px solid var(--sf-donate-bar-point-border);
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translate(-15px, -15px);
}

.sf-donate .stats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 30px;
    list-style: none;
    align-self: start;
}

.sf-donate .desc {
    opacity: .5;
    filter: saturate(0%);
}

.sf-donate a.button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-left: 3px;
    margin-right: 3px;
    padding: 15px 30px;
    background: #46a787;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all .3s ease-in-out;
}

.sf-donate a.button:hover {
    background-color: #4eba96;
}

.sf-donate a.button.secondary {
    background: #393939;
}

.sf-donate a.button.secondary:hover {
    background: #505050;
}

@keyframes bar-animation {
    from {
        width: 0;
    }
    to {
        width: var(--bar-width);
    }
}

@media only screen and (max-width: 767px) {
    .sf-donate a.button:not(.secondary) {
        margin-bottom: 10px;
    }
}

/* --------------------------- */
/*  Zusätzliche Styles Helge   */
/* --------------------------- */
/* Feste, kleine Abstände – kein Padding/Margin-Hopping mehr */
.sf-donate{
  box-sizing: border-box;
  margin-inline: auto;
  max-width: 884px;                 /* deine Contentbreite */
  padding-inline: clamp(16px, 4vw, 26px);
  margin-top: 18px !important;                 /* kompakt; bei Bedarf 16–24 px feinjustieren */
}

section.content-wrapper:has(.sf-donate) {
  padding: 10px 0 !important;
} /* Abstand oben überschreiben */

/* Überschrift im Block: kein zusätzlicher Top-Margin */
.sf-donate h1,
.sf-donate h2,
.sf-donate h3{
  margin-top: 0;
  position: relative;
  z-index: 1;
  scroll-margin-top: 140px;         /* Headerhöhe: verdeckt nie beim Anspringen */
}

/* Anker global korrekt versetzen, ohne Layout zu verschieben */
html { scroll-padding-top: 140px; }

/* Full-/Wide-Elemente im Block am Handy in den Gutter zwingen */
@media (max-width: 900px){
  .sf-donate .alignfull,
  .sf-donate .alignwide{
    width: auto !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}