/* Self-hosted Latin fonts; licenses are included in assets/fonts. */
@font-face {
  font-family: "Lora";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/lora-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Lora";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/lora-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/source-sans-3-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/source-sans-3-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Source Sans 3";
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/source-sans-3-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Source Sans 3";
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/source-sans-3-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --petrol: #174c4c;
  --petrol-dark: #103737;
  --sand: #d9c7a3;
  --terracotta: #c8795a;
  --terracotta-dark: #965338;
  --accent-ink: #162323;
  --water: #5c9c9a;
  --orange: var(--sand);
  --orange-dark: var(--terracotta-dark);
  --brown: var(--petrol);
  --brown-dark: var(--petrol-dark);
  --cream: #f7f4ed;
  --cream-light: #ffffff;
  --green: var(--petrol);
  --yellow: var(--sand);
  --red: var(--petrol);
  --red-dark: var(--petrol-dark);
  --ink: #263333;
  --white: #ffffff;
  --border: #dce2dd;
  --shadow: 0 12px 30px rgba(38, 51, 51, 0.08);
  --heading: "Lora", Georgia, serif;
  --body: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding-top: 110px;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.7;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--red-dark);
}

:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(23, 76, 76, 0.32);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 12px;
  z-index: 10;
  transform: translateY(-150%);
  background: var(--white);
  color: var(--ink);
  padding: 10px 14px;
  border-radius: 6px;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 110px;
  padding: 16px 40px;
  background: var(--brown);
  color: var(--white);
  box-shadow: none;
  transition: min-height 180ms ease, padding 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  min-height: 78px;
  padding-top: 7px;
  padding-bottom: 7px;
  box-shadow: 0 10px 26px rgba(25, 25, 25, 0.14);
}

.brand img {
  width: 118px;
  height: auto;
  transition: width 180ms ease;
}

.site-header.is-scrolled .brand img {
  width: 96px;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.site-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 6px;
  font-size: 16px;
}

.site-nav a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  box-shadow: inset 0 -3px 0 var(--yellow);
}

.site-nav a[aria-current="page"],
.site-nav a[aria-current="location"] {
  color: var(--white);
  box-shadow: inset 0 -3px 0 var(--yellow);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  overflow: hidden;
}

.language-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  font-size: 13px;
  color: inherit;
}

.language-switch a:hover,
.language-switch a:focus-visible {
  background: var(--cream);
  color: var(--petrol-dark);
}

.language-switch a[aria-current="page"] {
  background: var(--yellow);
  color: var(--ink);
}

.language-switch a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: -4px;
  box-shadow: none;
}

.preview-lock-card .language-switch {
  display: flex;
  width: max-content;
  margin-top: 20px;
  border-color: var(--border);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 24px;
  border-radius: 6px;
  border: 0;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  cursor: pointer;
}

.button svg {
  width: 18px;
  height: 18px;
}

.button-primary {
  background: var(--terracotta);
  color: var(--white);
}

.button-primary:hover {
  background: #d69175;
  color: var(--white);
}

.button-dark {
  background: var(--brown-dark);
  color: var(--white);
}

.button-dark:hover,
.button-secondary:hover {
  background: var(--red-dark);
  color: var(--white);
}

.button-secondary {
  background: var(--brown);
  color: var(--white);
}

.button-ghost-light {
  border: 2px solid rgba(23, 76, 76, 0.72);
  color: var(--ink);
}

.button-ghost-light:hover {
  background: rgba(23, 76, 76, 0.1);
  color: var(--ink);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

html.preview-locked,
html.preview-locked body {
  overflow: hidden;
}

html.preview-locked .site-header,
html.preview-locked main,
html.preview-locked .site-footer {
  filter: blur(7px);
  pointer-events: none;
  user-select: none;
}

.preview-lock-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  align-items: safe center;
  overflow-y: auto;
  padding: 24px;
  background: rgba(247, 244, 237, 0.78);
  backdrop-filter: blur(12px);
}

.preview-lock-card {
  width: min(100%, 430px);
  margin: 0;
  padding: 34px;
  border: 1px solid rgba(23, 76, 76, 0.2);
  border-top: 8px solid var(--red);
  border-radius: 8px;
  background: var(--cream-light);
  box-shadow: var(--shadow);
}

.preview-lock-card img {
  width: 104px;
  height: auto;
  margin-bottom: 26px;
}

.preview-lock-card h2 {
  margin: 0;
  font-family: var(--heading);
  font-size: 42px;
  font-weight: 600;
  line-height: 1.12;
}

.preview-lock-card p:not(.eyebrow) {
  margin: 16px 0 0;
  font-size: 17px;
}

.preview-lock-card label {
  display: block;
  margin-top: 24px;
  font-size: 14px;
  font-weight: 700;
}

.preview-lock-input {
  width: 100%;
  min-height: 50px;
  margin-top: 8px;
  padding: 10px 12px;
  border: 1px solid rgba(23, 76, 76, 0.28);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

.preview-lock-error {
  min-height: 24px;
  margin: 8px 0 12px;
  color: var(--red-dark);
  font-size: 14px;
  font-weight: 700;
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 620px;
  background: var(--cream);
  overflow: hidden;
}

.hero > *,
.split > *,
.impact-grid > *,
.foundation-grid > *,
.donation-grid > *,
.video-grid > *,
.project-grid > *,
.report-grid > *,
.footer-inner > * {
  min-width: 0;
}

.hero-image {
  min-height: 620px;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 35%;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 56px;
  color: var(--ink);
}

.hero-copy h1,
.section h2,
.site-footer h2 {
  margin: 0;
  font-family: var(--heading);
  font-weight: 600;
}

.hero-copy h1 {
  max-width: 620px;
  color: var(--ink);
  font-weight: 700;
  font-size: 52px;
  line-height: 1.16;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--heading);
  font-weight: 600;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: manual;
  text-wrap: balance;
  letter-spacing: 0;
}

p,
a,
strong {
  overflow-wrap: break-word;
  hyphens: auto;
}

.hero-copy p:not(.eyebrow) {
  max-width: 640px;
  margin: 24px 0 0;
  font-size: 20px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red-dark);
  font-family: var(--heading);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--ink);
  font-size: 16px;
}

.legal-width {
  max-width: 900px;
}

.legal-header {
  padding: clamp(48px, 7vw, 88px) 0 36px;
  background: var(--cream);
}

.legal-header h1 {
  margin: 0;
  font-size: clamp(28px, 5vw, 52px);
  line-height: 1.2;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.legal-navigation {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-top: 28px;
}

.legal-navigation a,
.legal-content a {
  color: var(--petrol);
  text-decoration: underline;
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}

.legal-navigation [aria-current="page"] {
  font-weight: 700;
}

.legal-content {
  padding-top: 48px;
  padding-bottom: 80px;
  font-size: 18px;
  line-height: 1.7;
}

.legal-content h2 {
  margin: 48px 0 20px;
  font-size: clamp(25px, 3vw, 32px);
  line-height: 1.3;
}

.legal-content h3 {
  margin: 32px 0 12px;
  font-size: 22px;
  line-height: 1.4;
}

.legal-content > :first-child {
  margin-top: 0;
}

.legal-content p {
  margin: 0 0 18px;
}

.legal-content ul {
  padding-left: 24px;
}

.principle-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  background: var(--cream-light);
}

.principle {
  padding: 36px 40px;
  border-right: 1px solid rgba(0, 0, 0, 0.08);
}

.principle:last-child {
  border-right: 0;
}

.principle span {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--green);
  font-size: 14px;
  font-weight: 700;
}

.principle strong {
  display: block;
  font-family: var(--heading);
  font-size: 23px;
  font-weight: 600;
  line-height: 1.2;
}

.principle p {
  margin: 12px 0 0;
  font-size: 16px;
  line-height: 1.6;
}

.origin-note {
  background: var(--cream-light);
}

.zimbabwe-story {
  background: var(--cream);
}

.zimbabwe-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 42px;
  align-items: stretch;
}

.zimbabwe-image {
  overflow: hidden;
  min-height: 560px;
  border-radius: 8px;
}

.zimbabwe-image img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
}

.zimbabwe-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px;
  border-radius: 0;
  background: var(--red);
  color: var(--white);
}

.zimbabwe-panel .eyebrow {
  color: var(--white);
}

.zimbabwe-panel h2 {
  margin: 0;
  font-family: var(--heading);
  font-size: 36px;
  font-weight: 600;
  line-height: 1.12;
}

.zimbabwe-panel p {
  margin: 22px 0 0;
}

.zimbabwe-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 34px;
}

.zimbabwe-points article {
  min-height: 0;
  padding: 18px 0 0;
  border-top: 2px solid var(--water);
}

.zimbabwe-points article:nth-child(2) {
  border-color: var(--sand);
}

.zimbabwe-points article:nth-child(3) {
  border-color: var(--terracotta);
}

.zimbabwe-points h3 {
  margin: 0;
  font-family: var(--heading);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
}

.zimbabwe-points p {
  margin: 12px 0 0;
  font-size: 15px;
}

.text-panel.flag-panel {
  position: relative;
  overflow: hidden;
  border-left: 0;
}

.flag-panel::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 10px;
  background: linear-gradient(to bottom, var(--petrol) 0 33%, var(--sand) 33% 66%, var(--terracotta) 66% 100%);
}

.flag-panel > * {
  margin-left: 12px;
}

.mini-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.mini-facts span {
  display: block;
  padding: 16px;
  border-radius: 8px;
  background: var(--green);
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
}

.mini-facts span:nth-child(2) {
  background: var(--yellow);
  color: var(--ink);
}

.mini-facts span:nth-child(3) {
  background: var(--terracotta);
  color: var(--accent-ink);
}

.section {
  padding: 96px 0;
  scroll-margin-top: 88px;
}

#top,
#sprache,
#simbabwe,
#kontakt {
  scroll-margin-top: 88px;
}

#wasser,
#ernaehrung,
#gesundheit,
#partner,
#projektuebersicht,
#transparenz,
#unterstuetzen,
#schulkarte {
  scroll-margin-top: 148px;
}

.section-inner {
  width: min(100%, 1360px);
  margin: 0 auto;
  padding: 0 40px;
}

.section-intro h2,
.section-heading-centered h2,
.content-block h2,
.foundation-copy h2,
.video-copy h2,
.reports-intro h2,
.art-copy h2,
.language-note h2 {
  font-size: 40px;
  line-height: 1.2;
}

.section-intro p,
.section-heading-centered p,
.content-block p,
.foundation-copy p,
.video-copy p,
.reports-intro p,
.art-copy p,
.language-note p {
  max-width: 720px;
  margin: 24px 0 0;
}

.impact {
  background: var(--cream);
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: stretch;
}

.impact-grid .section-intro {
  grid-column: 1 / -1;
  max-width: 740px;
  margin-bottom: 20px;
}

.stat-card {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border: 1px solid rgba(23, 76, 76, 0.18);
  border-radius: 8px;
  background: var(--cream-light);
}

.stat-card span {
  display: block;
  font-family: var(--heading);
  font-size: 40px;
  line-height: 1.1;
}

.stat-card .stat-amount {
  white-space: nowrap;
}

.stat-card p {
  margin: 18px 0 0;
  font-size: 16px;
}

.stat-card-large {
  background: var(--yellow);
}

.image-stat {
  gap: 20px;
  background: var(--white);
}

.image-stat > div { order: -1; }

.image-stat img {
  width: 100%;
  height: 140px;
  min-height: 0;
  object-fit: cover;
  border-radius: 6px;
}

.stat-card-green {
  background: var(--green);
  color: var(--white);
}

.stat-card-yellow {
  background: var(--yellow);
}

.stat-card-red {
  background: var(--red);
  color: var(--white);
}

.water-story {
  background: #eaf0eb;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: center;
}

.image-stack {
  position: relative;
  min-height: 560px;
}

.image-main {
  width: 78%;
  height: 500px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.image-overlap {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 58%;
  height: 330px;
  object-fit: cover;
  border: 10px solid var(--yellow);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.content-block {
  color: var(--ink);
}

.content-block .eyebrow {
  color: var(--red-dark);
}

.water-story .content-block .eyebrow,
.project-deep-dive .content-block .eyebrow,
.project-cta .content-block .eyebrow {
  color: var(--ink);
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 17px;
}

.check-list svg {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  margin-top: 3px;
}

.foundation {
  background: var(--cream-light);
}

.foundation-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: stretch;
}

.foundation-copy {
  grid-row: span 2;
  align-self: center;
  padding-right: 56px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  color: var(--red-dark);
  font-size: 16px;
  font-weight: 700;
}

.text-link svg {
  width: 18px;
  height: 18px;
}

.foundation-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  align-items: center;
  padding: 24px;
  border-radius: 8px;
  background: var(--brown);
  color: var(--white);
}

.foundation-card-alt {
  background: var(--cream);
  color: var(--ink);
}

.foundation-card img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 6px;
}

.foundation-card strong {
  display: block;
  font-family: var(--heading);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.2;
}

.foundation-card p {
  margin: 12px 0 0;
  font-size: 16px;
}

.section-heading-centered {
  max-width: 780px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-heading-centered p {
  margin-left: auto;
  margin-right: auto;
}

.section-action {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.donate {
  background: var(--cream);
}

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

.donation-card {
  display: flex;
  min-height: 350px;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  border: 1px solid rgba(23, 76, 76, 0.22);
  border-radius: 8px;
  background: var(--cream-light);
}

.donation-card-head span {
  display: block;
  color: var(--red-dark);
  font-size: 14px;
  font-weight: 700;
}

.donation-card-head strong {
  display: block;
  margin-top: 8px;
  font-family: var(--heading);
  font-size: 42px;
  font-weight: 600;
  line-height: 1.1;
}

.donation-card-head small {
  font-family: var(--body);
  font-size: 16px;
}

.donation-card p {
  flex: 1;
  margin: 24px 0;
  font-size: 16px;
}

.donation-calculator {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 420px);
  gap: 32px;
  align-items: center;
  margin-top: 42px;
  padding: 32px;
  border-radius: 8px;
  background: var(--orange);
  color: var(--ink);
}

.donation-calculator .eyebrow {
  color: var(--ink);
}

.donation-copy {
  min-height: 202px;
}

.donation-calculator h3 {
  margin: 0;
  font-family: var(--heading);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.2;
}

.donation-calculator p {
  margin: 10px 0 0;
  font-size: 16px;
}

.donation-calculator [data-donation-value] {
  white-space: nowrap;
}

.contact-page .donation-calculator {
  background: var(--cream-light);
}

.donation-note {
  margin: 20px 0 0;
  font-size: 14px;
  font-style: italic;
  line-height: 1.6;
}

.donation-calculator label {
  display: block;
  margin-bottom: 10px;
  font-size: 15px;
  font-weight: 700;
}

.range-field {
  width: 100%;
}

.donation-calculator input {
  display: block;
  width: 100%;
  min-width: 0;
  accent-color: var(--brown-dark);
}

.donation-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.donation-controls label {
  margin: 0;
}

.donation-amount-field {
  display: flex;
  flex: 0 0 144px;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(23, 76, 76, 0.4);
  border-radius: 6px;
  background: var(--white);
}

.donation-amount-field input {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 18px;
}

.donation-amount-field:focus-within {
  outline: 2px solid var(--petrol);
  outline-offset: 2px;
}

.donation-amount-field input:focus-visible {
  box-shadow: none;
}

.donation-calculator input[type="range"] {
  min-height: 44px;
  margin: 12px 0 0;
  cursor: pointer;
}

.donation-scale {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 14px;
}

.work-principles {
  background: var(--petrol);
  color: var(--white);
}

.light .eyebrow {
  color: var(--white);
}

.principle-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.principle-cards article {
  min-height: 0;
  padding: 28px 0 0;
}

.principle-cards article:nth-child(1) {
  border-top: 3px solid var(--water);
}

.principle-cards article:nth-child(2) {
  border-top: 3px solid var(--sand);
}

.principle-cards article:nth-child(3) {
  border-top: 3px solid var(--terracotta);
}

.principle-cards svg {
  width: 30px;
  height: 30px;
  color: var(--white);
}

.principle-cards h3,
.project-card h3,
.video-card h3,
.report-card h3 {
  margin: 22px 0 0;
  font-family: var(--heading);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.2;
}

.principle-cards p,
.project-card p,
.report-card p {
  margin: 14px 0 0;
  font-size: 16px;
}

.projects,
.reports {
  background: var(--cream-light);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.project-card {
  overflow: hidden;
  display: block;
  border-radius: 8px;
  background: var(--cream);
  border: 1px solid rgba(23, 76, 76, 0.18);
}

.project-card:hover {
  color: var(--ink);
  border-color: rgba(23, 76, 76, 0.45);
}

.project-card-featured {
  grid-row: span 2;
}

.project-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.project-card img.image-focus-top {
  object-position: 50% top;
  object-fit: contain;
  background: var(--white);
}

.project-card-featured img {
  height: 470px;
}

.project-card div {
  padding: 28px;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 12px;
  border-radius: 4px;
  background: var(--petrol);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
}

.badge-green {
  background: var(--petrol);
  color: var(--white);
}

.badge-red {
  background: var(--terracotta-dark);
  color: var(--white);
}

.videos {
  background: var(--cream);
}

.video-grid {
  display: grid;
  grid-template-columns: 0.9fr 0.7fr 0.7fr;
  gap: 28px;
  align-items: stretch;
}

.video-copy {
  align-self: center;
  padding-right: 28px;
}

.video-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border-radius: 8px;
  background: var(--brown);
  color: var(--white);
}

.video-card video {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: #000000;
}

.video-card h3 {
  margin: 0;
  padding: 22px;
}

.reports-intro {
  max-width: 820px;
  margin-bottom: 44px;
}

.report-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.report-card {
  overflow: hidden;
  border-radius: 8px;
  background: var(--cream);
  border: 1px solid rgba(23, 76, 76, 0.16);
}

.report-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.report-card span,
.report-card h3,
.report-card p {
  display: block;
  margin-left: 24px;
  margin-right: 24px;
}

.report-card span {
  margin-top: 24px;
  color: var(--orange-dark);
  font-size: 14px;
  font-weight: 700;
}

.report-card p {
  margin-bottom: 28px;
}

.art {
  padding-top: 96px;
  background: var(--cream);
}

.art-media {
  display: grid;
  /* Match the source aspect ratios to keep a shared height without cropping. */
  grid-template-columns: 1.3719fr 0.8333fr 1.5556fr;
  gap: 24px;
  width: min(100%, 1280px);
  align-items: start;
  margin: 0 auto 80px;
  padding: 0 40px;
}

.art-media img {
  min-width: 0;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
}

.art-copy {
  max-width: 780px;
  text-align: center;
}

.art-copy p {
  margin-left: auto;
  margin-right: auto;
}

.art-copy .button {
  margin-top: 32px;
}

.language-note {
  background: var(--green);
  color: var(--white);
}

.language-note .eyebrow {
  color: var(--white);
}

.split-compact {
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
}

.site-footer {
  background: var(--brown);
  color: var(--white);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 48px;
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: 72px 40px;
}

.footer-brand img {
  width: 110px;
  margin-bottom: 24px;
}

.footer-brand p,
.site-footer address {
  margin: 0;
  font-size: 16px;
  font-style: normal;
}

.site-footer h2 {
  margin-bottom: 22px;
  font-size: 26px;
  line-height: 1.2;
}

.site-footer a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 14px;
}

.footer-bottom div {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.subpage-hero {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  min-height: 620px;
  background: var(--cream);
  overflow: hidden;
}

.subpage-hero > * {
  min-width: 0;
}

.subpage-hero-media img {
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
}

.subpage-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 56px;
  color: var(--ink);
}

.subpage-hero-copy h1 {
  max-width: 760px;
  margin: 0;
  font-family: var(--heading);
  font-size: 48px;
  font-weight: 700;
  line-height: 1.1;
}

.subpage-hero-copy p:not(.eyebrow) {
  max-width: 680px;
  margin: 24px 0 0;
}

.subpage-hero-copy .eyebrow {
  color: var(--ink);
}

.page-subnav {
  position: sticky;
  top: 78px;
  z-index: 12;
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--cream-light);
  border-bottom: 1px solid rgba(23, 76, 76, 0.18);
}

.page-subnav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 6px;
  color: var(--red-dark);
  font-size: 15px;
  font-weight: 700;
}

.page-subnav a:hover {
  background: rgba(217, 199, 163, 0.38);
  color: var(--red-dark);
}

.project-foundation {
  background: var(--cream-light);
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.focus-card {
  min-height: 0;
  padding: 30px;
  border-radius: 8px;
  background: var(--cream);
  border: 1px solid rgba(23, 76, 76, 0.18);
}

.focus-card span {
  color: var(--red-dark);
  font-size: 14px;
  font-weight: 700;
}

.focus-card h3,
.honesty-panel h2,
.cta-band h2,
.transparency-grid h3,
.detail-card h3 {
  margin: 18px 0 0;
  font-family: var(--heading);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.2;
}

.focus-card p {
  margin: 18px 0 0;
  font-size: 16px;
}

.focus-card-green {
  background: var(--green);
  color: var(--white);
}

.focus-card-green span {
  color: var(--white);
}

.focus-card-yellow {
  background: var(--yellow);
}

.project-deep-dive {
  background: #eaf0eb;
}

.content-block-dark {
  color: var(--ink);
}

.text-panel {
  padding: 34px;
  border-left: 3px solid var(--sand);
}

.text-panel p {
  margin: 0;
}

.text-panel .check-list svg {
  color: var(--red-dark);
}

.text-panel h3 {
  margin: 0 0 16px;
  font-family: var(--heading);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.2;
}

.text-panel strong {
  color: var(--red-dark);
}

.project-media-panel {
  overflow: hidden;
  border-radius: 8px;
  background: var(--cream-light);
  box-shadow: var(--shadow);
}

.project-media-panel img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.project-media-panel div {
  padding: 30px;
}

.project-media-panel strong {
  display: block;
  font-family: var(--heading);
  font-size: 30px;
  font-weight: 600;
  line-height: 1.2;
}

.project-media-panel p {
  margin: 14px 0 0;
  font-size: 16px;
}

.project-before-after {
  background: var(--cream);
}

.school-map-section {
  background: var(--cream);
}

.school-map-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 42px;
  align-items: center;
}

.school-map {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  aspect-ratio: 4 / 3;
  min-height: 560px;
  border-radius: 8px;
  background: #eadbbf;
  border: 1px solid rgba(23, 76, 76, 0.16);
  box-shadow: var(--shadow);
}

.school-map img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  opacity: 1;
}

.school-map::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(23, 76, 76, 0.08));
  pointer-events: none;
}

.map-pin {
  position: absolute;
  z-index: 1;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--red);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  pointer-events: none;
  box-shadow: 0 10px 24px rgba(25, 25, 25, 0.25);
}

.map-pin::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--yellow);
}

.map-note {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 1;
  margin: 0;
  padding: 12px 14px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  font-size: 13px;
  line-height: 1.4;
  box-shadow: 0 8px 20px rgba(25, 25, 25, 0.1);
}

.school-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.school-list article {
  padding: 18px 0;
  border-top: 1px solid var(--border);
}

.school-list h3 {
  margin: 0;
  font-family: var(--heading);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.2;
}

.school-list p {
  margin: 10px 0 0;
  font-size: 16px;
}

.project-track {
  background: var(--cream-light);
}

.project-track-alt {
  background: var(--cream);
}

.split-reverse {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
}

.track-image img {
  width: 100%;
  height: 580px;
  object-fit: cover;
  border-radius: 8px;
}

.project-duo {
  display: grid;
  grid-template-columns: 1fr 0.78fr;
  gap: 18px;
  align-items: stretch;
}

.project-duo img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  border-radius: 8px;
}

.honest-development {
  background: var(--brown-dark);
  color: var(--white);
}

.honesty-panel {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
  align-items: start;
}

.honesty-panel .eyebrow {
  color: var(--white);
}

.honesty-panel h2,
.cta-band h2 {
  font-size: 52px;
}

.honesty-panel p {
  margin: 0 0 18px;
}

.all-projects {
  background: var(--cream-light);
}

.project-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.detail-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid rgba(23, 76, 76, 0.18);
}

.detail-card-featured {
  grid-column: auto;
}

.detail-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.detail-card img.image-hospital {
  object-position: right center;
}

.detail-card-featured img {
  height: 250px;
}

.detail-card > div {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 28px;
}

.detail-card .badge {
  align-self: flex-start;
}

.detail-card p {
  margin: 14px 0 22px;
  font-size: 16px;
}

.detail-card dl {
  display: grid;
  gap: 10px;
  margin: auto 0 0;
}

.detail-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 10px;
  border-top: 1px solid rgba(23, 76, 76, 0.18);
  font-size: 14px;
}

.detail-card dt {
  color: var(--red-dark);
  font-weight: 700;
}

.detail-card dd {
  margin: 0;
  text-align: right;
}

.transparency {
  background: var(--cream);
}

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

.transparency-grid article {
  min-height: 0;
  padding: 26px 0 0;
  border-top: 2px solid var(--water);
}

.transparency-grid svg {
  width: 30px;
  height: 30px;
  color: var(--petrol);
}

.transparency-grid p {
  margin: 14px 0 0;
  font-size: 16px;
}

.project-cta {
  background: var(--orange);
}

.cta-band {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 42px;
  align-items: center;
  color: var(--ink);
}

.cta-band .eyebrow {
  color: var(--ink);
}

.cta-band p {
  max-width: 740px;
  margin: 20px 0 0;
}

.content-hero {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  min-height: 560px;
  background: var(--cream);
  overflow: hidden;
}

.content-hero-media img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
}

.content-hero-contact {
  display: block;
  min-height: 0;
  padding: 64px 0 0;
}

.content-hero-contact .content-hero-media {
  position: relative;
  min-width: 0;
  min-height: 480px;
  overflow: hidden;
  border-radius: 8px;
}

.content-hero-contact .content-hero-media img {
  position: absolute;
  inset: 0;
  min-height: 0;
  object-position: 50% 20%;
}

.content-hero-contact .content-hero-copy {
  order: -1;
  padding: 32px;
}

.content-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 56px;
  color: var(--ink);
}

.content-hero-copy .eyebrow {
  color: var(--ink);
}

.content-hero-copy h1 {
  max-width: 760px;
  margin: 0;
  font-family: var(--heading);
  font-size: 48px;
  font-weight: 700;
  line-height: 1.1;
}

.content-hero-copy p:not(.eyebrow) {
  max-width: 720px;
  margin: 24px 0 0;
}

.page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.section-group-heading {
  grid-column: 1 / -1;
  margin-bottom: 16px;
}

.section-group-heading h2 {
  font-size: 36px;
  line-height: 1.2;
}

.page-card {
  overflow: hidden;
  border-radius: 8px;
  background: var(--cream-light);
  border: 1px solid rgba(23, 76, 76, 0.16);
}

.page-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.page-card div {
  padding: 28px;
}

.page-card h3 {
  margin: 16px 0 0;
  font-family: var(--heading);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
}

.page-card p {
  margin: 14px 0 0;
  font-size: 16px;
}

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

.timeline-item {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 32px;
  min-width: 0;
  padding: 28px;
  border-radius: 8px;
  background: var(--cream-light);
  border: 1px solid rgba(23, 76, 76, 0.16);
}

.timeline-item > div {
  min-width: 0;
}

.timeline-item time,
.timeline-item span {
  color: var(--red-dark);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.timeline-item h3 {
  margin: 0;
  font-family: var(--heading);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.2;
}

.timeline-item p {
  margin: 12px 0 0;
  font-size: 17px;
}

.quote-band {
  background: var(--red);
  color: var(--white);
}

.quote-band .section-inner {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
  align-items: center;
}

.quote-band blockquote {
  margin: 0;
  font-family: var(--heading);
  font-size: 36px;
  line-height: 1.2;
}

.quote-band p {
  margin: 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.gallery-grid img {
  width: 100%;
  height: 300px;
  object-fit: contain;
  background: var(--white);
  border-radius: 8px;
}

.art-feature {
  background: var(--cream-light);
}

.gallery-grid-wide {
  display: block;
  columns: 3;
  column-gap: 24px;
}

.gallery-grid-wide img {
  width: 100%;
  height: auto;
  margin-bottom: 24px;
  break-inside: avoid;
}

.gallery-grid-wide img:first-child,
.gallery-grid-wide img:nth-child(6) {
  grid-column: span 2;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.profile-card {
  overflow: hidden;
  border-radius: 8px;
  background: var(--cream-light);
  border: 1px solid rgba(23, 76, 76, 0.16);
}

.profile-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.profile-card div {
  padding: 28px;
}

.profile-card h3 {
  margin: 0;
  font-family: var(--heading);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.2;
}

.profile-card .eyebrow {
  margin-bottom: 10px;
}

.profile-card p {
  margin: 14px 0 0;
  font-size: 16px;
}

.contact-page .section {
  padding-block: 64px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  align-items: stretch;
}

.contact-grid > * {
  min-width: 0;
}

.contact-page #spenden .content-block {
  padding: 32px;
}

.contact-page #spenden .contact-grid .eyebrow {
  margin: 0 0 12px;
}

.contact-panel,
.contact-form {
  border-radius: 8px;
  background: var(--cream-light);
  border: 1px solid rgba(23, 76, 76, 0.16);
}

.contact-panel {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.contact-panel img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.contact-panel img.image-contact-family {
  height: auto;
  min-height: 0;
  aspect-ratio: 8 / 5;
  flex-shrink: 0;
  object-position: 50% 15%;
}

.contact-options .page-card img {
  height: auto;
  min-height: 0;
  aspect-ratio: 4 / 3;
}

.contact-options .page-card img.image-contact-partners {
  object-position: 50% 45%;
}

.contact-panel div {
  padding: 32px;
}

.contact-panel h2,
.contact-form h2,
.bank-card h3 {
  margin: 0;
  font-family: var(--heading);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.2;
}

.contact-panel address,
.bank-card address {
  margin-top: 18px;
  font-style: normal;
  font-size: 17px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  padding: 32px;
}

.contact-form .form-grid {
  flex: 1;
  grid-template-rows: auto auto minmax(182px, 1fr);
}

.contact-form [data-form-status] {
  margin: 16px 0 0;
  padding: 14px 18px;
  border-left: 3px solid var(--petrol);
  background: var(--cream);
}

.contact-form [data-form-status][data-state="error"] {
  border-color: var(--terracotta-dark);
}

.contact-form .button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.form-field-message {
  grid-template-rows: auto minmax(150px, 1fr);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 24px;
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field-full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 15px;
  font-weight: 700;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid rgba(23, 76, 76, 0.28);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
}

.form-field textarea {
  min-height: 150px;
  resize: vertical;
}

.bank-card {
  padding: 32px;
  border-radius: 8px;
  background: var(--brown-dark);
  color: var(--white);
}

.bank-card .eyebrow {
  color: var(--white);
}

.source-note {
  color: rgba(25, 25, 25, 0.72);
  font-size: 14px;
}

.source-note a,
.geographic-map figcaption a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.focus-grid > .section-intro,
.transparency-grid > .section-intro {
  grid-column: 1 / -1;
  max-width: 740px;
  margin-bottom: 20px;
}

.focus-grid > .section-intro h2,
.transparency-grid > .section-intro h2 {
  font-size: 40px;
}

.project-deep-dive .timeline-item {
  grid-template-columns: 1fr;
  gap: 12px;
}

.school-names {
  display: grid;
  gap: 6px;
  padding: 0 0 0 20px;
  margin: 0 0 24px;
  font-size: 16px;
}

.school-names li::marker {
  color: var(--water);
}

.school-map.geographic-map {
  margin: 0;
  aspect-ratio: auto;
  min-height: 0;
  background: var(--cream);
  border: 1px solid var(--border);
  box-shadow: none;
}

.geographic-map::after {
  content: none;
}

.school-map.geographic-map img {
  width: 100%;
  height: auto;
  min-height: 0;
  object-fit: contain;
}

.geographic-map figcaption {
  margin: 0;
  padding: 18px 24px;
  border-top: 1px solid var(--border);
  background: var(--white);
  font-size: 14px;
  line-height: 1.5;
}

img.image-contain,
.gallery-grid img,
.profile-card img {
  object-fit: contain;
  background: var(--white);
}

.track-image img,
.project-card img,
.report-card img,
.page-card img,
.detail-card img,
.foundation-card img {
  object-position: 50% 35%;
}

.profile-card img {
  padding: 16px;
}

.page-card img.image-founders,
.foundation-card img.image-founders {
  object-position: 50% 18%;
}

.profile-card img.image-arnd {
  padding: 0;
  object-fit: cover;
  object-position: 75% 35%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .site-header, .brand img { transition: none; }
}

@media (max-width: 1120px) {
  body {
    font-size: 18px;
  }

  .site-header {
    padding: 14px 24px;
  }

  .site-header.is-scrolled {
    padding-top: 7px;
    padding-bottom: 7px;
  }

  .site-nav {
    gap: 0;
  }

  .site-nav a {
    padding: 0 8px;
    font-size: 14px;
  }

  .header-actions {
    gap: 8px;
  }

  .hero-copy {
    padding: 36px;
  }

  .subpage-hero-copy {
    padding: 36px;
  }

  .content-hero-copy {
    padding: 36px;
  }

  .hero-copy h1 {
    font-size: 44px;
  }

  .subpage-hero-copy h1 {
    font-size: 42px;
  }

  .content-hero-copy h1 {
    font-size: 42px;
  }

  .section-group-heading h2,
  .section-intro h2,
  .section-heading-centered h2,
  .content-block h2,
  .foundation-copy h2,
  .video-copy h2,
  .reports-intro h2,
  .art-copy h2,
  .language-note h2,
  .zimbabwe-panel h2 {
    font-size: 36px;
  }

  .impact-grid,
  .donation-grid,
  .focus-grid,
  .project-detail-grid,
  .transparency-grid,
  .page-grid,
  .profile-grid,
  .zimbabwe-points {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .gallery-grid-wide { columns: 2; }

  .mini-facts {
    grid-template-columns: 1fr;
  }

  .impact-grid .section-intro,
  .focus-grid .section-intro,
  .transparency-grid .section-intro {
    grid-column: span 2;
  }

  .video-grid {
    grid-template-columns: 1fr 1fr;
  }

  .video-copy {
    grid-column: span 2;
    padding-right: 0;
  }

  .zimbabwe-points article:first-child {
    grid-column: span 2;
  }
}

@media (max-width: 900px) {
  body {
    padding-top: 96px;
  }

  .site-header {
    min-height: 96px;
    grid-template-columns: minmax(0, 1fr) auto 44px;
    column-gap: 10px;
  }

  .site-header .brand {
    grid-column: 1;
    grid-row: 1;
  }

  .nav-toggle {
    display: inline-flex;
    grid-column: 3;
    grid-row: 1;
  }

  /* Keep the language switch in the header row and donations below the menu. */
  .header-actions {
    display: contents;
  }

  .header-actions .language-switch {
    grid-column: 2;
    grid-row: 1;
  }

  .site-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    display: none;
    width: 100%;
  }

  .header-actions > .button {
    grid-column: 1 / -1;
    grid-row: 3;
    display: none;
    justify-self: center;
    margin-bottom: 20px;
  }

  .site-header.nav-open .site-nav {
    display: flex;
  }

  .site-header.nav-open .site-nav {
    flex-direction: column;
    align-items: stretch;
    padding: 18px 0 10px;
  }

  .site-header.nav-open .site-nav a {
    justify-content: center;
  }

  .site-header.nav-open .header-actions > .button {
    display: inline-flex;
  }

  .hero,
  .split,
  .subpage-hero,
  .content-hero,
  .foundation-grid,
  .donation-calculator,
  .footer-inner,
  .split-compact,
  .honesty-panel,
  .cta-band,
  .quote-band .section-inner,
  .contact-grid,
  .zimbabwe-grid,
  .school-map-grid {
    grid-template-columns: 1fr;
  }

  .hero-image,
  .hero,
  .subpage-hero,
  .content-hero {
    min-height: 0;
  }

  .hero-image,
  .subpage-hero-media img,
  .content-hero-media img {
    height: 420px;
    min-height: 0;
  }

  .content-hero-contact .content-hero-media {
    height: 420px;
    min-height: 0;
  }

  .content-hero-contact .content-hero-copy {
    order: 0;
  }

  .hero-copy,
  .subpage-hero-copy,
  .content-hero-copy {
    padding: 48px 32px 56px;
  }

  .principle-strip,
  .principle-cards,
  .project-grid,
  .report-grid,
  .focus-grid,
  .project-detail-grid,
  .transparency-grid,
  .page-grid,
  .profile-grid {
    grid-template-columns: 1fr;
  }

  .focus-grid .section-intro,
  .transparency-grid .section-intro,
  .detail-card-featured {
    grid-column: auto;
  }

  .page-subnav {
    top: 96px;
    justify-content: flex-start;
    overflow-x: auto;
    padding-inline: 16px;
  }

  .principle {
    border-right: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }

  .principle:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 72px 0;
  }

  .section-inner {
    padding: 0 24px;
  }

  .foundation-copy {
    grid-row: auto;
    padding-right: 0;
  }

  .project-card-featured {
    grid-row: auto;
  }

  .project-card-featured img,
  .project-card img {
    height: 310px;
  }

  .art-media {
    margin-bottom: 56px;
    padding: 0 24px;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .track-image img,
  .project-duo img,
  .project-media-panel img,
  .page-card img,
  .profile-card img,
  .contact-panel img,
  .zimbabwe-image,
  .zimbabwe-image img,
  .school-map,
  .school-map img {
    height: auto;
    min-height: 420px;
  }

  .school-map img {
    height: 100%;
  }

  .project-duo {
    grid-template-columns: 1fr;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 24px;
  }

  .quote-band blockquote {
    font-size: 34px;
  }
}

@media (max-width: 620px) {
  .content-hero-contact {
    padding-top: 32px;
  }

  .contact-page .section {
    padding-block: 40px;
  }

  .contact-grid {
    gap: 24px;
  }

  .content-hero-contact .content-hero-copy,
  .contact-page #spenden .content-block {
    padding: 0;
  }

  .contact-panel div {
    padding: 24px;
  }

  .contact-form .form-grid {
    grid-template-rows: auto auto auto minmax(182px, 1fr);
  }

  body {
    padding-top: 86px;
    font-size: 16px;
  }

  .site-header {
    min-height: 86px;
    padding: 12px 16px;
  }

  .site-header.is-scrolled {
    min-height: 74px;
    padding-top: 7px;
    padding-bottom: 7px;
  }

  .page-subnav {
    top: 74px;
  }

  .brand img {
    width: 96px;
  }

  .site-header.is-scrolled .brand img {
    width: 86px;
  }

  .hero-image {
    height: 360px;
  }

  .hero-copy,
  .subpage-hero-copy,
  .content-hero-copy {
    padding: 40px 20px 48px;
  }

  .hero-copy h1 {
    font-size: 36px;
  }

  .hero-copy p:not(.eyebrow) {
    font-size: 18px;
  }

  .subpage-hero-copy h1 {
    font-size: 36px;
  }

  .content-hero-copy h1 {
    font-size: 36px;
  }

  .button-row,
  .button {
    width: 100%;
  }

  .button-row {
    flex-direction: column;
  }

  .principle {
    padding: 28px 20px;
  }

  .section {
    padding: 56px 0;
  }

  .section-inner {
    padding: 0 16px;
  }

  .section-group-heading h2,
  .section-intro h2,
  .section-heading-centered h2,
  .content-block h2,
  .foundation-copy h2,
  .video-copy h2,
  .reports-intro h2,
  .art-copy h2,
  .language-note h2,
  .zimbabwe-panel h2,
  .focus-grid > .section-intro h2,
  .transparency-grid > .section-intro h2 {
    font-size: 30px;
  }

  .impact-grid,
  .donation-grid,
  .video-grid,
  .focus-grid,
  .project-detail-grid,
  .transparency-grid,
  .page-grid,
  .profile-grid,
  .gallery-grid,
  .form-grid,
  .zimbabwe-points {
    grid-template-columns: 1fr;
  }

  .zimbabwe-points article:first-child {
    grid-column: auto;
  }

  .gallery-grid-wide img:first-child,
  .gallery-grid-wide img:nth-child(6) {
    grid-column: auto;
  }

  .gallery-grid-wide { columns: 1; }

  .gallery-grid.gallery-grid-wide img { height: auto; }

  .mini-facts {
    grid-template-columns: 1fr;
  }

  .impact-grid .section-intro,
  .image-stat,
  .video-copy {
    grid-column: auto;
  }

  .image-stat {
    grid-template-columns: 1fr;
  }

  .stat-card span {
    font-size: 40px;
  }

  .honesty-panel h2,
  .cta-band h2 {
    font-size: 30px;
  }

  .focus-card,
  .transparency-grid article {
    min-height: 0;
    padding: 24px;
  }

  .image-stack {
    min-height: 430px;
  }

  .image-main {
    width: 100%;
    height: 330px;
  }

  .image-overlap {
    width: 68%;
    height: 210px;
    border-width: 6px;
  }

  .foundation-card {
    grid-template-columns: 1fr;
  }

  .foundation-card img {
    width: 100%;
    height: 260px;
    object-fit: contain;
  }

  .donation-card {
    min-height: 0;
  }

  .donation-calculator {
    padding: 24px;
  }

  .donation-calculator h3 {
    font-size: 28px;
  }

  .donation-copy {
    min-height: 247px;
  }

  html:lang(en) .donation-copy {
    min-height: 256px;
  }

  .preview-lock-card {
    padding: 24px;
  }

  .preview-lock-card h2 {
    font-size: 32px;
  }

  .project-card-featured img,
  .project-card img,
  .report-card img,
  .detail-card img,
  .detail-card-featured img,
  .gallery-grid img,
  .page-card img,
  .profile-card img {
    height: 250px;
  }

  .detail-card > div {
    padding: 24px;
  }

  .detail-card img.image-hospital {
    height: auto;
    aspect-ratio: 41 / 25;
  }

  .detail-card dl div {
    display: grid;
  }

  .detail-card dd {
    text-align: left;
  }

  .art-media {
    grid-template-columns: 1fr;
    padding: 0 16px;
  }

  .art-media img:first-child {
    grid-column: auto;
  }

  .art-media img {
    width: auto;
    height: min(280px, calc((100vw - 32px) * 900 / 1400));
    justify-self: center;
  }

  .footer-inner {
    padding: 52px 16px;
  }

  .footer-bottom {
    padding: 22px 16px;
  }

  .contact-form,
  .bank-card,
  .text-panel,
  .zimbabwe-panel {
    padding: 24px;
  }

  .quote-band blockquote { font-size: 28px; }

  .split { gap: 32px; }

  .zimbabwe-image,
  .zimbabwe-image img,
  .track-image img,
  .project-media-panel img,
  .project-duo img,
  .page-card img,
  .profile-card img,
  .contact-panel img {
    min-height: 0;
    height: auto;
  }

  .zimbabwe-points { gap: 20px; }

  .hero-image,
  .subpage-hero-media img,
  .content-hero-media img {
    height: 260px;
    min-height: 0;
  }

  .content-hero-contact .content-hero-media {
    height: 260px;
  }

  .contact-panel address { overflow-wrap: anywhere; }

  .map-pin {
    min-height: 32px;
    max-width: 180px;
    padding: 7px 10px;
    font-size: 12px;
  }

  .map-note {
    right: 12px;
    bottom: 12px;
    left: 12px;
  }
}
