:root{
  --blue:#2f9e44;
  --blue-dark:#237a35;
  --blue-soft:#eaf7ef;
  --green:#1d6b3a;
  --text:#24313a;
  --muted:#687782;
  --line:#dbe4ea;
  --bg:#f3f8f4;
  --card:#ffffff;
  --danger:#b42318;
  --shadow:0 10px 28px rgba(0,0,0,.08);
  --radius:18px;
  --radius-sm:12px;
  --max:1180px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--text);
  background:var(--bg);
  line-height:1.55;
}

a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }
button, input, textarea{ font:inherit; }

.topbar{
  position:sticky;
  top:0;
  z-index:1000;
  background:linear-gradient(180deg,var(--blue) 0%, var(--blue-dark) 100%);
  box-shadow:0 6px 18px rgba(0,0,0,.14);
}
.topbar-inner{
  width:min(var(--max), calc(100% - 24px));
  margin:0 auto;
  min-height:72px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}
.brand{
  color:#fff;
  font-weight:900;
  letter-spacing:.2px;
  font-size:1.1rem;
  white-space:nowrap;
}
.nav{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.nav a{
  color:#fff;
  font-weight:700;
  padding:10px 14px;
  border-radius:999px;
  transition:background .15s ease, transform .15s ease;
}
.nav a:hover{
  background:rgba(255,255,255,.14);
  transform:translateY(-1px);
}

.page{
  width:min(var(--max), calc(100% - 24px));
  margin:26px auto 48px;
}

.donate-wrap{
  max-width:760px;
  margin:0 auto;
}

.card{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  overflow:hidden;
}
.card-body{
  padding:24px;
}

.hero-mini{
  display:grid;
  grid-template-columns:190px 1fr;
  gap:20px;
  align-items:center;
  margin-bottom:20px;
}
@media (max-width: 700px){
  .hero-mini{
    grid-template-columns:1fr;
  }
}

.hero-image{
  background:linear-gradient(180deg,#f3faf5 0%, #e8f5ec 100%);
  border:1px solid #d6eadc;
  border-radius:20px;
  padding:14px;
  min-height:180px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.hero-image img{
  width:min(100%, 180px);
  height:auto;
  object-fit:contain;
}

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  background:var(--blue-soft);
  color:#1f5c3a;
  border:1px solid #cfe8d6;
  border-radius:999px;
  padding:8px 14px;
  font-size:.92rem;
  font-weight:800;
  margin-bottom:12px;
}

h1{
  margin:0 0 10px 0;
  font-size:clamp(1.5rem, 3vw, 2rem);
  line-height:1.15;
}

p{
  margin:0 0 12px 0;
  color:#49565f;
}

.amount-grid{
  display:grid;
  grid-template-columns:repeat(5, minmax(0,1fr));
  gap:10px;
  margin:18px 0 14px;
}
@media (max-width: 620px){
  .amount-grid{
    grid-template-columns:repeat(2, minmax(0,1fr));
  }
}

.amount-option{
  position:relative;
}
.amount-option input{
  position:absolute;
  opacity:0;
  pointer-events:none;
}
.amount-option span{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:52px;
  border:1px solid var(--line);
  border-radius:14px;
  background:#fff;
  font-weight:850;
  cursor:pointer;
  transition:all .15s ease;
  box-shadow:0 4px 12px rgba(0,0,0,.04);
}
.amount-option input:checked + span{
  background:linear-gradient(180deg,var(--blue) 0%, var(--blue-dark) 100%);
  color:#fff;
  border-color:transparent;
  box-shadow:0 10px 22px rgba(47,158,68,.22);
}

.field{
  margin-top:14px;
}
.field label{
  display:block;
  margin:0 0 6px 0;
  font-weight:800;
  color:#1f3540;
}
.input-wrap{
  position:relative;
}
input[type="text"],
input[type="email"],
textarea{
  width:100%;
  border:1px solid var(--line);
  border-radius:14px;
  background:#fff;
  padding:13px 14px;
  outline:none;
  color:var(--text);
}
input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus{
  border-color:#9fd6ad;
  box-shadow:0 0 0 4px rgba(47,158,68,.10);
}

.amount-input{
  padding-right:68px !important;
}
.suffix{
  position:absolute;
  right:14px;
  top:50%;
  transform:translateY(-50%);
  color:#58707d;
  font-weight:800;
  pointer-events:none;
}

.toggle-row{
  margin-top:14px;
  display:flex;
  align-items:flex-start;
  gap:12px;
  background:#f4faf6;
  border:1px solid var(--line);
  border-radius:14px;
  padding:14px;
}
.toggle-row input{
  margin-top:3px;
  transform:scale(1.1);
}

.methods-title{
  margin:20px 0 6px;
  text-align:center;
  font-weight:900;
  font-size:1.08rem;
  color:#213741;
}
.methods-sub{
  text-align:center;
  color:var(--muted);
  margin-bottom:14px;
  font-size:.95rem;
}

.payment-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:12px;
}
@media (max-width: 620px){
  .payment-grid{
    grid-template-columns:1fr;
  }
}

.pay-option{
  position:relative;
}
.pay-option input{
  position:absolute;
  opacity:0;
  pointer-events:none;
}
.pay-card{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  min-height:68px;
  padding:14px 16px;
  border:1px solid var(--line);
  border-radius:16px;
  background:#fff;
  cursor:pointer;
  transition:all .15s ease;
  box-shadow:0 4px 12px rgba(0,0,0,.04);
}
.pay-card:hover{
  transform:translateY(-1px);
  border-color:#c8e3d0;
}
.pay-option input:checked + .pay-card{
  border-color:transparent;
  background:linear-gradient(180deg,#f4faf6 0%, #e8f5ec 100%);
  box-shadow:0 8px 20px rgba(47,158,68,.16);
  outline:2px solid #8fcf9d;
}

.pay-left{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}
.pay-icon{
  width:38px;
  height:38px;
  border-radius:10px;
  background:linear-gradient(180deg,var(--blue) 0%, var(--blue-dark) 100%);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:1rem;
  font-weight:900;
  flex:0 0 38px;
}
.pay-text{
  min-width:0;
}
.pay-name{
  font-weight:850;
  color:#1e2f38;
}
.pay-note{
  font-size:.88rem;
  color:var(--muted);
}
.chev{
  color:#78909c;
  font-size:1.1rem;
  font-weight:900;
}

.info-box{
  margin-top:18px;
  background:#f4faf6;
  border:1px solid #d7eadf;
  border-left:6px solid var(--blue);
  border-radius:14px;
  padding:16px;
}

.errors{
  margin-top:14px;
  display:none;
  background:#fff4f2;
  color:var(--danger);
  border:1px solid #f3c5bf;
  border-radius:14px;
  padding:12px 14px;
  font-weight:700;
}

.submit-row{
  margin-top:18px;
}
.submit-btn{
  width:100%;
  min-height:56px;
  border:0;
  border-radius:16px;
  background:linear-gradient(180deg,var(--blue) 0%, var(--blue-dark) 100%);
  color:#fff;
  font-weight:900;
  font-size:1.05rem;
  cursor:pointer;
  box-shadow:
    0 10px 22px rgba(47,158,68,.18),
    0 2px 6px rgba(0,0,0,.06);
  transition:transform .15s ease, filter .15s ease;
}
.submit-btn:hover{
  transform:translateY(-1px);
  filter:brightness(1.03);
}

.legal{
  margin-top:14px;
  text-align:center;
  color:var(--muted);
  font-size:.9rem;
}

.footer{
  margin-top:42px;
  background:#fff;
  border-top:1px solid var(--line);
  color:#6b7882;
}
.footer-inner{
  width:min(var(--max), calc(100% - 24px));
  margin:0 auto;
  padding:26px 0 18px;
  text-align:center;
}
.footer-title{
  font-weight:900;
  color:#1f3640;
  margin-bottom:6px;
}
.footer-copy{
  margin-top:12px;
  font-size:.92rem;
}

.progress-wrap{
  margin-top:12px;
}

.progress-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  font-weight:700;
  margin-bottom:8px;
  color:#24313a;
}

.progress-bar{
  width:100%;
  height:16px;
  background:#e7efe9;
  border-radius:999px;
  overflow:hidden;
  border:1px solid #d6e3d9;
}

/* Kontostand in % */
.progress-fill{
  height:100%;
  width:0;
  background:linear-gradient(90deg, #2f9e44 0%, #1d6b3a 100%);
  border-radius:999px;
  transition:width .25s ease;
}

.goal-admin{
  margin-top:14px;
  padding-top:14px;
  border-top:1px solid #dbe4ea;
}

.goal-admin label{
  display:block;
  font-weight:700;
  margin-bottom:8px;
}

.goal-admin-row{
  display:flex;
  gap:10px;
  align-items:center;
}

.goal-admin-row input{
  flex:0 0 120px;
  padding:10px 12px;
  border:1px solid #cfdbe3;
  border-radius:12px;
  background:#fff;
}

.goal-admin-row button{
  padding:10px 14px;
  border:0;
  border-radius:12px;
  background:#2f9e44;
  color:#fff;
  font-weight:700;
  cursor:pointer;
}

.goal-admin-row button:hover{
  background:#237a35;
}


.section-headline{
  margin: 26px 0 14px;
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--green, #1d6b3a);
  letter-spacing: .01em;
}

.info-section{
  margin-top: 18px;
  margin-bottom: 18px;
}

.info-section h3{
  margin: 18px 0 10px;
}

.check-list p{
  margin: 10px 0;
}

.hero-text p{
  margin-bottom: 0;
}

.success-box{
  margin-top: 16px;
  padding: 14px 16px;
  border-left: 4px solid #2f9e44;
  background: #eef9f1;
  border-radius: 12px;
  color: #1f4d2d;
  box-shadow: 0 8px 22px rgba(47,158,68,.08);
}

.info-box-head{
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--green, #1d6b3a);
}

.qr-wrap{
  margin-top: 14px;
  display: flex;
  justify-content: center;
}

.qr-wrap canvas{
  background: #fff;
  padding: 10px;
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(0,0,0,.08);
}

.privacy-wrap{
  margin-top: 24px;
  padding-top: 10px;
  border-top: 1px solid rgba(0,0,0,.08);
}

.privacy-toggle{
  appearance: none;
  border: 0;
  background: #edf6ef;
  color: var(--green, #1d6b3a);
  font-weight: 700;
  padding: 10px 14px;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(47,158,68,.08);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.privacy-toggle:hover{
  transform: translateY(-1px);
  background: #e6f3e9;
  box-shadow: 0 10px 20px rgba(47,158,68,.12);
}

.privacy-box{
  margin-top: 14px;
  padding: 16px 18px;
  background: #f7faf7;
  border-left: 4px solid var(--green, #1d6b3a);
  border-radius: 14px;
  line-height: 1.6;
  color: #25322b;
}

.privacy-box h3{
  margin-top: 0;
  margin-bottom: 10px;
}

.errors{
  margin-top: 14px;
  padding: 12px 14px;
  background: #fff4f2;
  color: #9f1f12;
  border-left: 4px solid #c2410c;
  border-radius: 12px;
}

@media (max-width: 720px){
  .qr-wrap{
    justify-content: flex-start;
  }
}


.optional-submit-note{
  margin: 18px 0 10px;
  padding: 12px 14px;
  background: #f7faf7;
  border-left: 4px solid #2f9e44;
  border-radius: 12px;
  line-height: 1.5;
  color: #25322b;
}