/* =========================================================
   GRUNDLAGEN / DESIGN TOKENS
   ========================================================= */
:root {
    --bg: #edf3ee;
    --surface: rgba(255, 255, 255, 0.86);
    --surface-strong: rgba(255, 255, 255, 0.94);
    --surface-2: rgba(240, 246, 241, 0.9);
    --text: #172119;
    --muted: #526356;
    --brand: #17713a;
    --brand-dark: #114f2a;
    --brand-deep: #193624;
    --accent: #8fa68b;
    --border: rgba(32, 72, 40, 0.10);
    --danger: #a72828;
    --danger-bg: #fdecec;
    --success: #1f7a3d;
    --success-bg: #ebf7ee;
    --shadow: 0 20px 60px rgba(17, 34, 22, 0.08);
    --shadow-soft: 0 10px 30px rgba(17, 34, 22, 0.05);
    --radius: 26px;
    --max: 1160px;
}

/* =========================================================
   GLOBAL / RESET
   ========================================================= */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Arial, sans-serif;
    color: var(--text);
    background:

        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.38) 0%,
            rgba(228, 235, 229, 0.24) 18%,
            rgba(17, 89, 53, 0.14) 50%,
            rgba(228, 235, 229, 0.24) 82%,
            rgba(255, 255, 255, 0.38) 100%
        ),
        linear-gradient(180deg, #f7faf7 0%, var(--bg) 100%);
    line-height: 1.6;
}

a {
    color: var(--brand-dark);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* =========================================================
   LAYOUT / CONTAINER / CARDS
   ========================================================= */
.container {
    width: min(calc(100% - 32px), var(--max));
    margin: 0 auto;
}

.section {
    padding: 38px 0;
}

.section-final {
    padding-top: 0;
}

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.muted {
    color: var(--muted);
}

/* =========================================================
   HEADER / NAVIGATION
   ========================================================= */
.topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background: rgba(247, 250, 247, 0.74);
    border-bottom: 1px solid rgba(17, 79, 42, 0.08);
    box-shadow: 0 8px 30px rgba(17, 34, 22, 0.04);
}

.topbar-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.brand-link {
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: -0.01em;
}

.nav {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.nav a {
    font-weight: 600;
    color: #274531;
}

.nav a:hover {
    text-decoration: none;
    color: var(--brand-dark);
}

/* =========================================================
   GRID / SEKTIONSLAYOUTS
   ========================================================= */
.hero-grid,
.intro-grid,
.donate-grid,
.admin-two-col,
.admin-dashboard-grid,
.project-grid {
    display: grid;
    gap: 24px;
}

.hero-grid {
    grid-template-columns: 0.85fr 1.15fr;
    align-items: stretch;
}

.intro-grid,
.donate-grid,
.admin-two-col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 24px;
}

.stats-grid,
.benefits {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.hilfe-grid > .card {
    height: 100%;
}

/* =========================================================
   HERO / EINLEITUNG
   ========================================================= */
.hero-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
    background:
        linear-gradient(155deg, rgba(23, 113, 58, 0.10), rgba(255, 255, 255, 0.72) 45%, rgba(24, 64, 36, 0.05) 100%),
        var(--surface-strong);
    position: relative;
    overflow: hidden;
}

.hero-card::before,
.progress-big::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 35%);
}

.hero-logo {
    width: 160px;
    margin-bottom: 10px;
    filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.10));
}

.hero-label,
.project-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 13px;
    border-radius: 999px;
    background: rgba(23, 113, 58, 0.10);
    color: var(--brand-dark);
    font-weight: 700;
    font-size: 0.84rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.large-copy {
    font-size: 1rem;
    max-width: 46ch;
    line-height: 1.65;
}

.section-copy {
    max-width: 70ch;
}

/* =========================================================
   TYPOGRAFIE
   ========================================================= */
h1,
h2,
h3 {
    margin-top: 0;
    line-height: 1.2;
}

h1 {
    font-size: clamp(1.75rem, 3vw, 2.55rem);
    margin-bottom: 12px;
    letter-spacing: -0.04em;
}

h2 {
    font-size: clamp(1.35rem, 2.2vw, 1.95rem);
    margin-bottom: 12px;
    letter-spacing: -0.03em;
}

h3 {
    font-size: 1.08rem;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

/* =========================================================
   BUTTONS / AKTIONEN
   ========================================================= */
.hero-actions,
.form-actions,
.admin-topbar-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-actions-vertical {
    flex-direction: column;
    align-items: stretch;
    margin-top: auto;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    box-shadow: var(--shadow-soft);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.button:hover {
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 14px 32px rgba(17, 34, 22, 0.10);
}

.button-primary {
    background: linear-gradient(180deg, #238145 0%, #166634 100%);
    color: #fff;
}

.button-primary:hover {
    background: var(--brand-dark);
}

.button-secondary {
    background: rgba(255, 255, 255, 0.6);
    color: var(--brand-dark);
    border-color: rgba(17, 79, 42, 0.12);
}

.button-full {
    width: 100%;
}

.hero-card .button {
    width: 100%;
}

/* =========================================================
   SPENDENFORTSCHRITT / STANDARD-KENNZAHLEN
   ========================================================= */
.progress-card {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.progress-topline,
.progress-values,
.progress-meta,
.table-header-row,
.spender-header,
.admin-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.progress-values {
    align-items: flex-end;
}

.stat-label {
    display: block;
    color: var(--muted);
    font-size: 0.93rem;
    margin-bottom: 4px;
}

.stat-value {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1;
}

.current-donation-value {
    font-size: clamp(18px, 2vw, 28px);
    font-weight: 700;
    line-height: 1.05;
    word-break: break-word;
}

.stat-side {
    font-size: 1.1rem;
    font-weight: 700;
}

.progress-track {
    width: 100%;
    height: 18px;
    background: #e6efe4;
    border-radius: 999px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--brand), var(--accent));
}

.stat-box,
.benefit {
    padding: 14px 16px;
    border-radius: 18px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

/* =========================================================
   SPENDENBLOCK GROSS / AKTUELLER SPENDENSTAND
   ========================================================= */
.progress-big {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(160deg, rgba(255, 255, 255, 0.78), rgba(236, 243, 237, 0.92) 52%, rgba(225, 234, 227, 0.98) 100%);
}

.progress-big-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
}

.progress-big-label {
    margin: 0 0 8px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #59715d;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.progress-big-current {
    margin: 0;
    font-size: clamp(2rem, 3.3vw, 3.3rem);
    line-height: 1.02;
    font-weight: 800;
    color: #162619;
    letter-spacing: -0.05em;
    word-break: break-word;
}


.progress-big-target {
    text-align: right;
    flex: 0 0 auto;
    max-width: 260px;
}

.progress-big-target-value {
    margin: 0;
    font-size: clamp(1.2rem, 2vw, 1.9rem);
    line-height: 1.1;
    font-weight: 800;
    color: #1d2c20;
    letter-spacing: -0.03em;
    word-break: break-word;
}


.progress-track.progress-track-big {
    height: 20px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(84, 115, 89, 0.16);
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.08);
}

.progress-track.progress-track-big .progress-bar {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #1d6f39 0%, #2f8a4b 55%, #76a56d 100%);
}

.progress-big-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.progress-mini {
    padding: 22px 20px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.46);
    border: 1px solid rgba(32, 72, 40, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.progress-mini-label {
    margin: 0 0 10px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #5a6e5d;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.progress-mini-value {
    margin: 0;
    font-size: clamp(1rem, 1.5vw, 1.45rem);
    line-height: 1.3;
    font-weight: 700;
    color: #132313;
    word-break: break-word;
}


/* =========================================================
   INHALTSBLÖCKE
   ========================================================= */
.clean {
    margin: 0;
    padding-left: 18px;
}

.small-sep {
    height: 1px;
    background: var(--border);
    margin: 20px 0;
}

.bank {
    padding: 16px 18px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

/* =========================================================
   SPENDERLISTE / SPENDERTABELLE
   ========================================================= */
.donor-list {
    display: grid;
    gap: 12px;
}

.donor-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid var(--border);
    background: #fcfdfb;
}

.donor-main {
    display: flex;
    flex-direction: column;
}

.donor-amount {
    white-space: nowrap;
}

.empty-state {
    padding: 18px;
    border: 1px dashed var(--border);
    border-radius: 18px;
    color: var(--muted);
}

.spender-tabelle {
    width: 100%;
    border-top: 1px solid rgba(32, 72, 40, 0.08);
}

.spender-zeile {
    display: grid;
    grid-template-columns: minmax(220px, 2fr) minmax(140px, 1fr) minmax(140px, 1fr);
    gap: 20px;
    align-items: center;
    padding: 16px 4px;
    border-bottom: 1px solid rgba(76, 98, 71, 0.12);
}

.spender-zeile--kopf {
    padding-top: 0;
    font-size: 0.85rem;
    font-weight: 700;
    color: #5c715f;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.spender-zeile--kopf > div:last-child,
.spender-zeile > div:last-child {
    text-align: right;
}

.spender-name {
    font-weight: 700;
    color: #1d2c20;
    min-width: 0;
}

.spender-datum {
    color: #5a6c59;
}

.spender-betrag {
    font-weight: 700;
    color: #1d2c20;
    white-space: nowrap;
}

/* =========================================================
   BILDER / BILDKARTE / LIGHTBOX
   ========================================================= */
.bildkarte {
    overflow: hidden;
    padding: 0;
    cursor: zoom-in;
}

.bildkarte button {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
}

.bildkarte img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
}

.bild-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 0, 0, 0.82);
}

.bild-lightbox.aktiv {
    display: flex;
}

.bild-lightbox-content {
    position: relative;
    width: min(1400px, 96vw);
}

.bild-lightbox img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
    background: #111;
}

.bild-lightbox-close {
    position: absolute;
    top: -14px;
    right: -14px;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    font-size: 28px;
    line-height: 1;
    background: #fff;
    color: #111;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

/* =========================================================
   FOOTER
   ========================================================= */
.footnote {
    margin: 0 0 10px;
    color: var(--muted);
    font-size: 0.93rem;
}

.footer {
    padding: 20px 0 40px;
}

.footer-inner {
    color: var(--muted);
    text-align: center;
}

/* =========================================================
   ADMIN
   ========================================================= */
.admin-body {
    min-height: 100vh;
}

.admin-shell {
    padding: 28px 0 50px;
}

.admin-shell-narrow {
    max-width: 860px;
}

.admin-nav {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.admin-nav a {
    font-weight: 700;
}

.admin-dashboard-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 24px;
}

.admin-overview-card {
    margin-bottom: 24px;
}

.admin-big-number {
    margin: 0 0 8px;
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 700;
}

.admin-login-wrap {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 20px;
}

.admin-login-card {
    width: min(100%, 460px);
}

.admin-back-link {
    margin-top: 12px;
    display: inline-block;
}

/* =========================================================
   FORMULARE
   ========================================================= */
label {
    display: block;
    font-weight: 700;
    margin: 16px 0 6px;
}

input,
select,
button,
textarea {
    font: inherit;
}

input,
select {
    width: 100%;
    min-height: 46px;
    padding: 0 14px;
    border-radius: 14px;
    border: 1px solid #c8d8c5;
    background: #fff;
}

/* =========================================================
   MESSAGES
   ========================================================= */
.message {
    padding: 14px 16px;
    border-radius: 16px;
    margin-bottom: 18px;
    border: 1px solid transparent;
}

.message-success {
    color: var(--success);
    background: var(--success-bg);
    border-color: #b9dfc2;
}

.message-error {
    color: var(--danger);
    background: var(--danger-bg);
    border-color: #efc0c0;
}

/* =========================================================
   TABELLEN
   ========================================================= */
.table-wrap {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    text-align: left;
    padding: 12px 14px;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
}

th {
    color: var(--muted);
    font-size: 0.92rem;
}

.action-cell {
    white-space: nowrap;
}

.action-cell a {
    margin-right: 12px;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
    .progress-big-meta {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 980px) {
    .hero-grid,
    .intro-grid,
    .donate-grid,
    .admin-two-col,
    .project-grid,
    .admin-dashboard-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .bildkarte img {
        min-height: 300px;
    }

    .progress-big-head {
        flex-direction: column;
    }

    .progress-big-target {
        text-align: left;
        max-width: none;
    }

    .spender-zeile {
        grid-template-columns: minmax(0, 1.6fr) minmax(110px, 1fr) minmax(110px, 1fr);
        gap: 12px;
    }
}

@media (max-width: 640px) {
    .spender-zeile {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .spender-zeile--kopf {
        display: none;
    }

    .spender-zeile > div:last-child {
        text-align: left;
    }
}

@media (max-width: 720px) {
    .topbar-inner,
    .progress-topline,
    .progress-values,
    .progress-meta,
    .table-header-row,
    .spender-header,
    .admin-topbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav,
    .admin-nav {
        gap: 10px 14px;
    }

    .stats-grid,
    .benefits {
        grid-template-columns: 1fr;
    }

    .card {
        padding: 22px;
    }

    .donor-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .button,
    .hero-actions .button,
    .form-actions .button,
    .admin-topbar-actions .button {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .bildkarte img {
        min-height: 220px;
    }

    .hero-logo {
        width: 132px;
    }

    h1 {
        font-size: 1.75rem;
    }
}

/* =========================================================
   PROFESSIONELLES EDLERES DESIGN / KORREKTUREN
   ========================================================= */
:root {
    --bg: #eff4ef;
    --surface: #ffffff;
    --surface-strong: #ffffff;
    --surface-2: #f3f7f2;
    --text: #19231b;
    --muted: #5e6d61;
    --brand: #1f7a3e;
    --brand-dark: #176233;
    --brand-deep: #1d3524;
    --accent: #8fb08f;
    --border: rgba(31, 70, 38, 0.10);
    --shadow: 0 18px 48px rgba(18, 35, 22, 0.06);
    --shadow-soft: 0 10px 24px rgba(18, 35, 22, 0.05);
    --radius: 24px;
    --max: 1180px;
}



.section {
    padding: 28px 0;
}

.card {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(31, 70, 38, 0.09);
    border-radius: 24px;
    padding: 26px;
    box-shadow: 0 14px 34px rgba(21, 36, 24, 0.06);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hero-grid,
.project-grid,
.donate-grid {
    gap: 22px;
}

.hero-grid {
    grid-template-columns: 0.96fr 1.04fr;
}

.hero-card {
    gap: 14px;
    justify-content: flex-start;
    background:
        linear-gradient(155deg, rgba(31, 122, 62, 0.06), rgba(255, 255, 255, 0.92) 48%, rgba(31, 122, 62, 0.03) 100%),
        #ffffff;
}

.hero-logo {
    width: 132px;
    margin-bottom: 2px;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.08));
}

.hero-label,
.project-label {
    padding: 6px 12px;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: rgba(31, 122, 62, 0.08);
}

h1 {
    font-size: clamp(1.85rem, 2.5vw, 2.7rem);
    line-height: 1.12;
    letter-spacing: -0.04em;
    margin-bottom: 10px;
}

h2 {
    font-size: clamp(1.45rem, 2vw, 2.1rem);
    line-height: 1.14;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
}

.large-copy {
    max-width: 34ch;
    font-size: 0.98rem;
    line-height: 1.72;
}

.hero-actions-vertical {
    flex-direction: row;
    align-items: center;
    margin-top: 8px;
}

.hero-card .button {
    width: auto;
}

.button {
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    font-size: 0.98rem;
}

.progress-big {
    gap: 20px;
    padding: 26px;
    background:
        linear-gradient(160deg, rgba(255, 255, 255, 0.94), rgba(241, 246, 241, 0.96) 100%);
}

.progress-big-head {
    gap: 18px;
    align-items: flex-start;
}

.progress-big-label {
    margin-bottom: 6px;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
}

.progress-big-current {
    font-size: clamp(2rem, 3.1vw, 3rem);
    line-height: 1;
    letter-spacing: -0.05em;
}

.progress-big-target {
    max-width: 220px;
}

.progress-big-target-value {
    font-size: clamp(1.15rem, 1.8vw, 1.7rem);
    line-height: 1.12;
}

.progress-track.progress-track-big {
    height: 18px;
    background: rgba(98, 128, 99, 0.16);
}

.progress-big-meta {
    gap: 14px;
}

.progress-mini {
    padding: 18px;
    border-radius: 20px;
    background: rgba(243, 247, 242, 0.92);
}

.progress-mini-label {
    margin-bottom: 8px;
    font-size: 0.76rem;
}

.progress-mini-value {
    font-size: clamp(1rem, 1.3vw, 1.3rem);
    line-height: 1.38;
}

.donation-box-wide {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.donation-box-copy {
    max-width: 74ch;
}

.donation-methods-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.donation-method-card {
    padding: 22px;
    border-radius: 22px;
    border: 1px solid rgba(31, 122, 62, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.donation-method-bank {
    background: linear-gradient(180deg, rgba(237, 244, 237, 0.98) 0%, rgba(231, 240, 231, 0.92) 100%);
}

.donation-method-paypal {
    background: linear-gradient(180deg, rgba(229, 241, 231, 0.98) 0%, rgba(221, 236, 224, 0.94) 100%);
}

.donation-method-label {
    margin-bottom: 14px;
    font-size: 1.1rem;
    font-weight: 800;
    color: #1f2e22;
}

.bank-panel {
    margin-bottom: 18px;
    background: rgba(255, 255, 255, 0.42);
}

.paypal-address {
    margin: 0 0 12px;
    font-size: 1.08rem;
    font-weight: 700;
    color: #1d2c20;
    word-break: break-word;
}

.paypal-button {
    width: 100%;
    justify-content: center;
}

.spender-card-professional {
    padding-top: 24px;
}

.spender-tabelle-professional {
    width: 100%;
    border-top: 0;
    display: grid;
    gap: 8px;
}

.spender-zeile {
    grid-template-columns: minmax(220px, 2fr) minmax(150px, 1fr) minmax(140px, 1fr);
    gap: 16px;
}

.spender-zeile--kopf-professional {
    padding: 0 6px 8px;
    border-bottom: 0;
    font-size: 0.82rem;
}

.spender-zeile-striped {
    padding: 15px 14px;
    border: 1px solid rgba(31, 70, 38, 0.07);
    border-radius: 16px;
    box-shadow: none;
}

.spender-zeile-hell {
    background: rgba(255, 255, 255, 0.92);
}

.spender-zeile-gruen {
    background: rgba(241, 247, 241, 0.96);
}

.spender-sort-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 700;
    color: #5a6d5f;
    text-decoration: none;
}

.spender-sort-link:hover,
.spender-sort-link.aktiv {
    color: var(--brand-dark);
    text-decoration: none;
}

.spender-datum {
    color: #5d6d61;
}

.spender-betrag {
    text-align: right;
}

@media (max-width: 980px) {
    .hero-grid,
    .project-grid,
    .donation-methods-grid,
    .hilfe-grid {
        grid-template-columns: 1fr;
    }

    .hero-actions-vertical {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-card .button,
    .paypal-button {
        width: 100%;
    }
}

@media (max-width: 720px) {
    .progress-big-current {
        font-size: 2.2rem;
    }

    .spender-zeile {
        grid-template-columns: 1.3fr 0.95fr 0.95fr;
        gap: 10px;
    }

    .donation-method-card {
        padding: 18px;
    }
}

@media (max-width: 640px) {
    .spender-zeile {
        grid-template-columns: 1fr;
    }

    .spender-zeile-striped {
        padding: 14px 12px;
    }

    .spender-zeile > div:last-child {
        text-align: left;
    }
}

/* PayPal-Spendenformular */
.donation-method-paypal form label {
    display: block;
    margin: 12px 0 6px;
    font-weight: 700;
}

.donation-method-paypal form input {
    width: 100%;
    min-height: 44px;
    border: 1px solid #c8d8c5;
    border-radius: 12px;
    padding: 0 12px;
    box-sizing: border-box;
}
