:root {
  --forest: #12372a;
  --leaf: #2f7d4b;
  --moss: #6f8f49;
  --reed: #d7b56d;
  --clay: #b7673c;
  --ink: #1b241f;
  --muted: #5f6f66;
  --mist: #eef4ef;
  --paper: #fbfaf5;
  --white: #ffffff;
  --line: rgba(18, 55, 42, 0.16);
  --shadow: 0 18px 50px rgba(18, 55, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

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

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(251, 250, 245, 0.92);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
  color: var(--forest);
  white-space: nowrap;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--reed), var(--leaf) 42%, var(--forest));
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.55);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--forest);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.9rem;
  font-weight: 700;
}

.nav-links a {
  text-decoration: none;
  color: var(--forest);
  white-space: nowrap;
}

.lang {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.lang a {
  padding: 5px 8px;
  border-radius: 6px;
  color: var(--muted);
}

.lang .active {
  background: var(--forest);
  color: var(--white);
}

.hero {
  min-height: calc(100svh - 72px);
  display: grid;
  align-items: end;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(8, 28, 20, 0.76), rgba(8, 28, 20, 0.28) 54%, rgba(8, 28, 20, 0.56)),
    url("../images/hero-wetland.jpg");
  background-size: cover;
  background-position: center;
}

.hero-inner {
  padding: 14vh 0 9vh;
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 18px;
  color: var(--reed);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(2.5rem, 7vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero p {
  max-width: 650px;
  margin: 24px 0 34px;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: rgba(255, 255, 255, 0.9);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--forest);
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.68);
  background: rgba(255, 255, 255, 0.12);
}

.button.light {
  background: var(--white);
  color: var(--forest);
}

.button.ghost {
  border-color: var(--line);
  background: transparent;
  color: var(--forest);
}

.band {
  padding: 82px 0;
}

.band.mist {
  background: var(--mist);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 1fr);
  gap: 42px;
  align-items: end;
  margin-bottom: 32px;
}

.section-head h2,
.page-hero h1 {
  margin: 0;
  color: var(--forest);
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1.03;
}

.section-head p,
.lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

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

.card {
  min-height: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(18, 55, 42, 0.04);
}

a.card {
  display: block;
  text-decoration: none;
}

a.card:hover {
  border-color: rgba(47, 125, 75, 0.42);
  box-shadow: var(--shadow);
}

.card strong {
  color: var(--forest);
}

.card h3 {
  margin: 0 0 10px;
  color: var(--forest);
  font-size: 1.15rem;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.story-hero {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(280px, 0.78fr);
  gap: 32px;
  align-items: center;
}

.visual-panel {
  min-height: 360px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(18, 55, 42, 0.72), rgba(47, 125, 75, 0.28)),
    url("../images/hero-wetland.jpg");
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
}

.photo-placeholder {
  display: grid;
  min-height: 260px;
  place-items: center;
  padding: 22px;
  border: 1px dashed rgba(18, 55, 42, 0.35);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-weight: 800;
  text-align: center;
}

.photo-fill {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.species-item .photo-fill {
  min-height: 100%;
}

.project-feature {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(320px, 1.05fr);
  gap: 28px;
  align-items: center;
  margin-top: 22px;
}

.timeline {
  display: grid;
  gap: 18px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 18px;
  align-items: start;
}

.timeline-dot {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border-radius: 50%;
  background: var(--forest);
  color: var(--white);
  font-weight: 900;
}

.process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.process-step {
  position: relative;
  min-height: 190px;
  padding: 26px 18px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(18, 55, 42, 0.04);
  text-align: center;
}

.process-step b {
  display: block;
  margin-bottom: 8px;
  color: var(--leaf);
  font-size: 1.8rem;
}

.process-step h3 {
  margin: 0 0 8px;
  color: var(--forest);
}

.process-step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
}

.partner-card {
  display: grid;
  gap: 14px;
}

.partner-logo {
  display: grid;
  min-height: 92px;
  place-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--forest);
  font-weight: 900;
  text-align: center;
}

.partner-logo img {
  max-width: 180px;
  max-height: 70px;
  object-fit: contain;
}

.badge {
  display: inline-flex;
  width: fit-content;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(215, 181, 109, 0.25);
  color: var(--forest);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.team-photo {
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--mist), rgba(215, 181, 109, 0.3));
  color: var(--forest);
  font-size: 2rem;
  font-weight: 900;
  overflow: hidden;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.species-list {
  display: grid;
  gap: 18px;
}

.species-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 18px;
  align-items: start;
}

.newsletter {
  display: grid;
  gap: 12px;
}

.newsletter .form-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.metric {
  padding: 24px;
  background: var(--white);
}

.metric b {
  display: block;
  color: var(--forest);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}

.metric span {
  color: var(--muted);
  font-weight: 700;
}

.split {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(300px, 1.1fr);
  gap: 34px;
  align-items: center;
}

.quote {
  padding: 34px;
  border-left: 6px solid var(--reed);
  background: var(--forest);
  color: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.quote p {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 2.2rem);
  line-height: 1.18;
}

.page-hero {
  padding: 80px 0 42px;
}

.page-hero .lead {
  max-width: 760px;
  margin-top: 18px;
}

.list {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.list li {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.contact-form {
  display: grid;
  gap: 12px;
}

input,
textarea,
select {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  background: var(--white);
}

input[type="checkbox"] {
  width: auto;
}

.donation-output {
  margin-top: 18px;
  padding: 18px;
  border-radius: 8px;
  background: var(--forest);
  color: var(--white);
  font-weight: 800;
}

.account-box {
  display: grid;
  gap: 10px;
  padding: 22px;
  border-radius: 8px;
  background: var(--forest);
  color: var(--white);
}

.account-box p,
.account-box strong {
  color: var(--white);
}

.account-line {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.account-line span {
  color: var(--muted);
}

.account-line b {
  text-align: right;
  color: var(--forest);
}

.account-box .account-line {
  border-bottom-color: rgba(255, 255, 255, 0.18);
}

.account-box .account-line span {
  color: rgba(255, 255, 255, 0.7);
}

.account-box .account-line b {
  color: var(--white);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.trust-strip div {
  padding: 18px;
  background: var(--white);
}

.form-card {
  display: grid;
  gap: 12px;
}

.form-card .two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.step-list {
  counter-reset: steps;
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step-list li {
  counter-increment: steps;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: start;
}

.step-list li::before {
  content: counter(steps);
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: var(--forest);
  color: var(--white);
  font-weight: 900;
}

.site-footer {
  padding: 36px 0;
  background: var(--forest);
  color: rgba(255, 255, 255, 0.82);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  padding-bottom: 28px;
}

.footer-grid h2 {
  margin: 0 0 10px;
  color: var(--white);
  font-size: 0.95rem;
}

.footer-grid a {
  display: block;
  margin: 7px 0;
  color: rgba(255, 255, 255, 0.76);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.site-footer a {
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
}

@media (max-width: 1020px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    inset: 72px 16px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    display: block;
    padding: 12px;
  }

  .section-head,
  .split,
  .grid,
  .story-hero,
  .project-feature,
  .metric-row,
  .footer-grid,
  .process,
  .team-grid,
  .species-item,
  .newsletter .form-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .trust-strip,
  .form-card .two-col {
    grid-template-columns: minmax(0, 1fr);
  }

  .process-step {
    border-radius: 8px;
    min-height: auto;
    text-align: left;
  }

  .hero {
    min-height: 720px;
  }
}

@media (max-width: 560px) {
  .band {
    padding: 58px 0;
  }

  .hero-inner {
    padding-bottom: 58px;
  }

  .actions .button {
    width: 100%;
  }
}

/* Long compound words (e.g. "Biodiversitätsarbeit") must not overflow narrow screens. */
@media (max-width: 1020px) {
  h1,
  h2,
  h3 {
    overflow-wrap: break-word;
    hyphens: auto;
  }
}
