:root {
  color-scheme: light;
  --ink: #18201d;
  --muted: #5b6762;
  --paper: #fbfaf6;
  --panel: #ffffff;
  --green: #1f7a4d;
  --green-dark: #145238;
  --blue: #286f9f;
  --gold: #d99a23;
  --line: #dfe6df;
  --shadow: 0 18px 45px rgba(23, 43, 35, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

body {
  margin: 0;
  line-height: 1.55;
}

a {
  color: var(--green-dark);
  text-underline-offset: 0.18em;
}

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

.skip {
  position: absolute;
  left: -999px;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 10;
  background: #fff;
  padding: 0.5rem 0.75rem;
  border: 2px solid var(--green);
}

.site-header {
  background: rgba(251, 250, 246, 0.94);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 5;
  backdrop-filter: blur(12px);
}

.nav {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 78px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
}

.brand img {
  width: 78px;
  height: auto;
}

.nav-links {
  display: flex;
  gap: 0.35rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  color: var(--ink);
  text-decoration: none;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  font-weight: 650;
  font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: #e9f3ec;
  color: var(--green-dark);
}

.hero {
  background:
    linear-gradient(90deg, rgba(18, 42, 32, 0.92), rgba(18, 42, 32, 0.72)),
    url("/assets/img/spendenlauf-2025.jpeg") center/cover;
  color: #fff;
  min-height: 72vh;
  display: grid;
  align-items: end;
}

.hero-inner,
.section,
.footer-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero-inner {
  padding: 6rem 0 4rem;
}

.eyebrow {
  margin: 0 0 0.7rem;
  color: #cce8d6;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  font-weight: 800;
}

h1,
h2,
h3 {
  line-height: 1.12;
  margin: 0;
}

h1 {
  max-width: 850px;
  font-size: clamp(2.4rem, 6vw, 5.25rem);
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

h3 {
  font-size: 1.15rem;
}

.lead {
  max-width: 760px;
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  color: rgba(255, 255, 255, 0.88);
}

.hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.72rem 1rem;
  border-radius: 8px;
  border: 1px solid transparent;
  background: var(--green);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
}

.button.secondary {
  background: #fff;
  color: var(--green-dark);
  border-color: rgba(20, 82, 56, 0.15);
}

.button.ghost {
  background: transparent;
  color: inherit;
  border-color: currentColor;
}

.section {
  padding: 4.5rem 0;
}

.section.compact {
  padding-top: 2.5rem;
}

.grid {
  display: grid;
  gap: 1rem;
}

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

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.stat {
  font-size: 2rem;
  font-weight: 900;
  color: var(--green-dark);
  display: block;
}

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

.band {
  background: #edf5ef;
  border-block: 1px solid var(--line);
}

.doc-list,
.plain-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.65rem;
}

.doc-list a {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  text-decoration: none;
  font-weight: 750;
}

.doc-list span {
  color: var(--muted);
  font-weight: 650;
}

.media-card {
  overflow: hidden;
  padding: 0;
}

.media-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.media-card .caption {
  padding: 1rem 1.25rem 1.25rem;
}

.site-footer {
  background: #15251d;
  color: #dce8df;
  padding: 2rem 0;
}

.site-footer a {
  color: #fff;
}

@media (max-width: 760px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 0.8rem 0;
  }

  .brand img {
    width: 62px;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .nav-links a {
    padding: 0.45rem 0.55rem;
  }

  .grid.two,
  .grid.three {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 68vh;
  }

  .section {
    padding: 3rem 0;
  }
}
