/* others. – give.gpmc.ch. Mobile first, angelehnt an Rollup und Glaskleber der
   Kampagne (Türkis-Verlauf, Rangen, Gold) und das GPMC Design-Manual. */

@font-face {
  font-family: "Proxima Nova";
  src: url("/fonts/proxima-nova-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Proxima Nova";
  src: url("/fonts/proxima-nova-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Rangen";
  src: url("/fonts/rangen.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --tuerkis: #3fb6a9;
  --tuerkis-dunkel: #2f797f;
  --tuerkis-tief: #2c6673;
  --grau: #3c3c3b;
  --gold: #ffbd58;
  --sand: #f4e0cf;
  --rot: #d9415c;
  --karte: #f4f4f4;
  --hell: #eef6f5;
  --weiss: #ffffff;
  --verlauf: linear-gradient(150deg, #3eb4a7 0%, #359290 55%, #2f797f 100%);
  --radius: 22px;
  --shadow: 0 10px 30px rgba(28, 77, 82, 0.16);
  --font: "Proxima Nova", "Helvetica Neue", Arial, sans-serif;
  --display: "Rangen", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; scroll-padding-top: 64px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--grau);
  background: var(--weiss);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--tuerkis-tief); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
.gold { color: var(--gold); }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.wrap--narrow { max-width: 760px; }

/* ---------- Kopfzeile ---------- */
.topbar {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  padding: 10px 20px;
  padding-top: max(10px, env(safe-area-inset-top));
  background: rgba(62, 180, 167, 0.96);
  backdrop-filter: blur(6px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.15);
}
.topbar__brand {
  display: flex; align-items: center; gap: 10px;
  color: var(--weiss); text-decoration: none;
  font-family: var(--display); font-size: 1.5rem; line-height: 1;
}
.topbar__brand img { width: 24px; height: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 15px 32px;
  border-radius: 999px;
  font-weight: 700; font-size: 1rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none; text-align: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid var(--weiss); outline-offset: 3px; }
.btn--gold { background: var(--gold); color: var(--grau); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18); }
.btn--light { background: var(--weiss); color: var(--tuerkis-tief); }
.btn--small { padding: 8px 16px; font-size: 0.8125rem; }

/* Schwebender Spenden-Knopf (nur Handy): erscheint beim Scrollen, weg beim Formular */
.fab {
  position: fixed; z-index: 20;
  left: 50%; bottom: calc(16px + env(safe-area-inset-bottom));
  width: calc(100% - 40px); max-width: 360px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  transform: translate(-50%, 160%); opacity: 0; pointer-events: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.fab.is-visible, .fab.is-visible:hover { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
@media (min-width: 720px) { .fab { display: none; } }
@media (prefers-reduced-motion: reduce) { .fab { transition: opacity 0.2s ease; } }

/* ---------- Hero (wie das Rollup) ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 28px 0 64px;
  color: var(--weiss);
  background: var(--verlauf);
}
.hero::after {
  content: ""; position: absolute; left: -10%; right: -10%; bottom: -1px; height: 44px;
  background: var(--weiss);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}
.hero__grid { position: relative; z-index: 1; display: grid; gap: 0; }
.hero__head { text-align: center; position: relative; z-index: 2; }
.hero__title {
  margin: 0;
  font-family: var(--display); font-weight: 400;
  font-size: clamp(4.5rem, 26vw, 9rem); line-height: 0.95;
  letter-spacing: -0.01em;
}
.hero__subtitle {
  margin: 4px 0 0;
  font-family: var(--display);
  font-size: clamp(1.75rem, 8.5vw, 3rem); line-height: 1.05;
}
.hero__photo {
  margin: -6px -20px -44px;
  position: relative; z-index: 0;
}
.hero__main {
  width: 100%; height: 280px; object-fit: cover; object-position: 55% 62%;
  /* Weich in den Verlauf auslaufen wie auf dem Rollup */
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 14%, #000 62%, transparent 100%),
                      linear-gradient(to right, transparent 0%, #000 18%, #000 85%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to bottom, transparent 0%, #000 14%, #000 62%, transparent 100%),
              linear-gradient(to right, transparent 0%, #000 18%, #000 85%, transparent 100%);
  mask-composite: intersect;
}

/* Kleine Fotos aus den Projekten, wie aufgeklebt über dem Hauptbild. */
.hero__pic {
  position: absolute; z-index: 1;
  width: 26%; max-width: 190px; height: auto; aspect-ratio: 1; object-fit: cover;
  border: 4px solid var(--weiss); border-radius: 16px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}
.hero__pic--a { left: 3%; top: 50%; transform: rotate(-5deg); }
.hero__pic--b { right: 3%; top: 2%; transform: rotate(4deg); }

.progress {
  position: relative; z-index: 2;
  width: 100%; max-width: 560px; margin: 0 auto;
  padding: 18px 20px 18px;
  background: var(--karte); color: var(--grau);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.progress__numbers { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; margin-bottom: 12px; }
.progress__amount {
  margin: 0;
  font-family: var(--display); font-size: clamp(2.5rem, 12vw, 3.5rem); line-height: 1.05;
  font-variant-numeric: tabular-nums;
}
.progress__goal { margin: 0; font-size: 1rem; }
.progress__track {
  position: relative; height: 22px;
  background: #dfe9e7;
  border-radius: 999px; overflow: hidden;
}
.progress__fill {
  height: 100%; width: 0;
  min-width: 22px; /* auch bei 0 % ein sichtbarer Anfang */
  border-radius: 999px;
  background: linear-gradient(90deg, var(--tuerkis), var(--tuerkis-tief));
  transition: width 1.6s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
}
.progress__fill::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.55) 50%, transparent 70%);
  background-size: 200% 100%;
  animation: shimmer 2.8s ease-in-out infinite;
  border-radius: inherit;
}
@keyframes shimmer { from { background-position: 150% 0; } to { background-position: -50% 0; } }
/* Über dem Ziel: der Balken skaliert auf den Betrag, der Strich zeigt das Ziel. */
.progress__goalmark {
  position: absolute; top: -2px; bottom: -2px; width: 3px; margin-left: -1.5px;
  background: var(--grau); border-radius: 2px;
}
.progress--over .progress__fill { background: linear-gradient(90deg, var(--tuerkis), var(--tuerkis-tief) 80%, #e9a53f); }
.progress__over {
  margin: 12px 0 0; padding: 10px 12px;
  background: #fff3df; border-radius: 12px;
  font-size: 0.9375rem; font-weight: 700;
}
.progress__meta {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px;
  margin-top: 10px; font-size: 0.9375rem;
}
@media (prefers-reduced-motion: reduce) {
  .progress__fill, .mini-progress__fill { transition: none; }
  .progress__fill::after { animation: none; }
}

.hero__cta { text-align: center; padding-top: 28px; position: relative; z-index: 2; }
.hero__claim {
  margin: 0 0 10px;
  font-family: var(--display); font-size: clamp(1.75rem, 8vw, 2.5rem); line-height: 1.1;
}
.hero__claim .gold { display: block; font-size: 1.45em; }
.hero__places {
  margin: 0 0 22px;
  font-family: var(--display); font-size: 1.125rem; color: var(--grau);
}
.hero__note { margin: 16px 0 0; font-size: 0.9375rem; opacity: 0.95; }
.hero__note:empty { display: none; }

/* ---------- Abschnitte ---------- */
.section { padding: 56px 0; }
.section--tint { background: var(--hell); }
.section--dark { background: var(--verlauf); color: var(--weiss); }
.section--dark .title { color: var(--weiss); }
.title {
  margin: 0 0 14px;
  font-family: var(--display); font-weight: 400;
  font-size: clamp(2rem, 8.5vw, 3rem); line-height: 1.05;
  color: var(--tuerkis-dunkel);
}
.lead { font-size: 1.25rem; font-weight: 700; line-height: 1.45; }
.section__intro { margin-bottom: 28px; }

/* ---------- Phasen ---------- */
.phases { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: phase; }
.phase {
  position: relative;
  padding: 22px 20px 20px;
  background: var(--weiss);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  counter-increment: phase;
}
.phase::before {
  content: counter(phase);
  position: absolute; top: 12px; right: 18px;
  font-family: var(--display); font-size: 3rem; line-height: 1;
  color: rgba(63, 182, 169, 0.25);
}
.phase__date { margin: 0 0 2px; font-size: 0.875rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--tuerkis-dunkel); }
.phase__title { margin: 0 0 10px; font-family: var(--display); font-weight: 400; font-size: 1.875rem; line-height: 1.1; color: var(--grau); }
.phase__idea { padding: 10px 12px; background: var(--sand); border-radius: 12px; font-size: 0.9375rem; }
.phase__start { font-size: 0.875rem; color: #6b6b69; }
.phase__badge {
  display: inline-block; margin-bottom: 10px;
  padding: 3px 10px; border-radius: 999px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  background: #e8eeed; color: var(--grau);
}
.phase__badge:empty { display: none; }
.phase--active { box-shadow: 0 0 0 3px var(--gold), var(--shadow); }
.phase--active .phase__badge { background: var(--gold); color: var(--grau); }
.phase--done { opacity: 0.75; }
.phase--done .phase__badge { background: var(--tuerkis); color: var(--weiss); }

.finale {
  margin-top: 20px; padding: 18px 20px;
  border-radius: var(--radius);
  background: var(--verlauf); color: var(--weiss);
}

/* ---------- Projekte ---------- */
.projects { display: grid; gap: 24px; }
.project {
  display: flex; flex-direction: column;
  background: var(--weiss);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow);
}
.project__body { padding: 20px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.project__tag { margin: 0; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--tuerkis); }
.project__title { margin: 0 0 8px; font-family: var(--display); font-weight: 400; font-size: 1.75rem; line-height: 1.1; }

.split { list-style: none; margin: 8px 0 14px; padding: 0; display: grid; gap: 8px; }
.split li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  padding-bottom: 8px; border-bottom: 1px dashed #d6e2df;
  font-size: 0.9375rem;
}
.split strong { white-space: nowrap; color: var(--tuerkis-dunkel); }

.mini-progress { margin-bottom: 16px; }
.mini-progress__track { height: 10px; background: #e5efed; border-radius: 999px; overflow: hidden; margin-bottom: 6px; }
.mini-progress__fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--tuerkis), var(--tuerkis-tief)); border-radius: 999px; transition: width 1.6s cubic-bezier(0.22, 1, 0.36, 1); }
.mini-progress p { margin: 0; font-size: 0.9375rem; }

.video { position: relative; aspect-ratio: 16 / 9; background: var(--grau); }
.video iframe, .video__play { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__play { padding: 0; cursor: pointer; background: #000; }
/* Partner-Bubble unten rechts im Video (Sudan: HMK); weg, sobald das Video läuft */
.partner {
  position: absolute; right: 12px; bottom: 12px; z-index: 1;
  display: flex; align-items: center; gap: 8px;
  padding: 6px 12px 6px 10px;
  background: var(--weiss); border-radius: 999px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  font-size: 0.6875rem; font-weight: 700; line-height: 1.15; color: var(--grau); text-decoration: none;
}
.partner span { max-width: 9em; }
.partner img { height: 34px; width: auto; }
.partner:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.video iframe ~ .partner { display: none; }
.video__play img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; transition: opacity 0.2s; }
.video__play:hover img { opacity: 1; }
.video__play:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; }
.video__icon {
  position: absolute; top: 50%; left: 50%; width: 68px; height: 68px;
  transform: translate(-50%, -50%);
  border-radius: 50%; background: rgba(63, 182, 169, 0.92);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}
.video__icon::after {
  content: ""; position: absolute; top: 50%; left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid; border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent var(--weiss);
}

/* Erstes Foto gross direkt unter dem Video, die übrigen als Reihe darunter. */
.gallery {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px;
  padding: 6px 6px 0;
}
.gallery--3 { grid-template-columns: repeat(3, 1fr); }
.gallery__item { display: block; overflow: hidden; border-radius: 12px; }
.gallery__item img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; transition: transform 0.25s; }
.gallery__item:first-child { grid-column: 1 / -1; }
.gallery__item:first-child img { aspect-ratio: 4 / 3; }
.gallery__item:hover img { transform: scale(1.04); }
.gallery__item:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; }
.gallery__ph {
  grid-column: 1 / -1; aspect-ratio: 4 / 3;
  display: grid; place-items: center; border-radius: 12px;
  background: repeating-linear-gradient(135deg, #eef4f3, #eef4f3 10px, #e5eeec 10px, #e5eeec 20px);
  color: #8aa39e; font-size: 0.875rem;
}

.lightbox {
  border: 0; padding: 0; background: transparent;
  max-width: min(96vw, 1400px); max-height: 92vh; overflow: visible;
}
.lightbox::backdrop { background: rgba(20, 30, 32, 0.88); }
.lightbox img { max-width: min(96vw, 1400px); max-height: 92vh; width: auto; height: auto; border-radius: 12px; }
.lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: rgba(255, 255, 255, 0.9); color: var(--grau);
  font-size: 1.5rem; line-height: 1; cursor: pointer; box-shadow: var(--shadow);
}
.lightbox__nav--prev { left: 8px; }
.lightbox__nav--next { right: 8px; }
.lightbox__close {
  position: absolute; top: -14px; right: -6px;
  width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: var(--weiss); color: var(--grau);
  font-size: 1.75rem; line-height: 1; cursor: pointer;
  box-shadow: var(--shadow);
}
.gallery__ph {
  display: grid; place-items: center;
  background: repeating-linear-gradient(135deg, #eef4f3, #eef4f3 8px, #e5eeec 8px, #e5eeec 16px);
  color: #8aa39e; font-size: 0.75rem; text-align: center;
}

.note {
  margin-top: 28px; padding: 18px 20px;
  border-left: 4px solid var(--gold);
  background: #fff6e8; border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.9375rem;
}

/* ---------- Ankerbeispiele (wie der Glaskleber) ---------- */
.anchors { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.anchors li {
  display: grid; grid-template-columns: 96px 1fr; grid-template-rows: auto auto;
  column-gap: 16px; align-items: center;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
}
.anchors img { grid-row: 1; grid-column: 1; width: 64px; height: auto; max-height: 64px; object-fit: contain; justify-self: center; }
.anchors__amount {
  grid-row: 2; grid-column: 1; margin: 2px 0 0;
  font-family: var(--display); font-size: 1.75rem; line-height: 1; color: var(--grau);
  text-align: center; white-space: nowrap;
}
.anchors__amount small { display: block; margin-top: 2px; font-family: var(--font); font-style: italic; font-size: 0.75rem; }
.anchors__amount--long { font-size: 1.3rem; }
.anchors li:not(:has(img)) .anchors__amount { grid-row: 1 / span 2; }
.anchors span { grid-row: 1 / span 2; grid-column: 2; font-weight: 700; font-size: 1.0625rem; line-height: 1.3; }

/* ---------- Glas ---------- */
.glass { display: grid; gap: 16px; align-items: center; }
.glass__icon { width: 110px; height: auto; margin: 0 auto; }

/* ---------- Spenden ---------- */
.donate {
  margin-top: 20px;
  background: var(--weiss);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow);
}
.donate iframe { display: block; width: 100%; height: 2140px; border: 0; }

/* Wahl zwischen Payrexx und Banküberweisung */
.paytabs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
.paytabs__tab {
  display: flex; flex-direction: column; gap: 2px;
  padding: 14px 12px; border: 2px solid var(--weiss); border-radius: 16px;
  background: var(--weiss); color: var(--grau);
  font: inherit; text-align: left; cursor: pointer;
  box-shadow: var(--shadow);
}
.paytabs__tab strong { font-size: 1rem; line-height: 1.25; }
.paytabs__tab span { font-size: 0.8125rem; line-height: 1.3; color: var(--tuerkis-dunkel); }
.paytabs__tab[aria-selected="true"] { background: var(--tuerkis-tief); border-color: var(--tuerkis-tief); color: var(--weiss); }
.paytabs__tab[aria-selected="true"] span { color: var(--weiss); opacity: 0.85; }
.paytabs__tab:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.bank {
  margin-top: 20px; padding: 24px 20px;
  background: var(--weiss); border-radius: var(--radius); box-shadow: var(--shadow);
}
.bank__title { margin: 0 0 8px; font-size: 1.375rem; line-height: 1.25; color: var(--tuerkis-tief); }
.bank__grid { display: grid; gap: 20px; margin: 20px 0; }
/* Auf dem Handy zuerst IBAN und Zweck: den eigenen Bildschirm scannt man nicht. */
.bank__qr { order: 2; margin: 0; text-align: center; font-size: 0.875rem; line-height: 1.45; }
.bank__qr img { width: 200px; height: 200px; margin: 0 auto 10px; }
.bank__qr a { font-weight: 700; white-space: nowrap; }
.bank__data { margin: 0; display: grid; gap: 10px; }
.bank__row { padding: 12px 14px; background: var(--karte); border-radius: 14px; }
.bank__row dt { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--tuerkis-dunkel); }
.bank__row dt em { margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: var(--rot); color: var(--weiss); font-style: normal; font-size: 0.6875rem; }
.bank__row dd { margin: 4px 0 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.bank__row--wichtig { background: #fdf0d9; box-shadow: inset 0 0 0 2px var(--gold); }
.bank__value { font-weight: 700; font-size: 1.0625rem; overflow-wrap: anywhere; user-select: all; }
.bank__copy {
  padding: 6px 14px; border: 0; border-radius: 999px;
  background: var(--tuerkis-tief); color: var(--weiss);
  font: inherit; font-size: 0.8125rem; font-weight: 700; cursor: pointer;
}
.bank__copy:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.bank__copy.is-done { background: var(--tuerkis); }
.bank__note { font-size: 0.9375rem; }
@media (min-width: 640px) {
  .bank { padding: 32px; }
  .bank__grid { grid-template-columns: 220px 1fr; align-items: start; }
  .bank__qr { order: 0; }
  .paytabs__tab { padding: 16px 20px; }
}
.donate__closed { margin-top: 20px; padding: 20px; background: var(--weiss); border-radius: var(--radius); font-weight: 700; }

/* ---------- Danke-Seite (danke.html, meist im Payrexx-iframe) ---------- */
.danke { background: var(--weiss); }
.danke__card { max-width: 560px; margin: 0 auto; padding: 40px 24px 44px; text-align: center; }
.danke__logo { width: 40px; height: auto; margin: 0 auto 12px; }
.danke__title { margin: 0 0 8px; font-family: var(--display); font-weight: 400; font-size: 3.5rem; line-height: 1; color: var(--tuerkis-tief); }
.danke__lead { font-weight: 700; font-size: 1.25rem; }
.danke__btn { margin-top: 12px; }
.danke__btn:focus-visible { outline-color: var(--tuerkis-tief); }

/* ---------- Fusszeile ---------- */
.footer { padding: 36px 0 calc(36px + env(safe-area-inset-bottom)); background: var(--grau); color: var(--weiss); }
.footer__inner { display: flex; align-items: center; gap: 18px; }
.footer img { width: 44px; height: auto; }
.footer a { color: var(--weiss); }
.footer p { margin: 0; }

/* ---------- Grössere Bildschirme ---------- */
@media (min-width: 720px) {
  body { font-size: 1.125rem; }
  .topbar { padding-left: 32px; padding-right: 32px; }
  .wrap { padding: 0 32px; }
  .section { padding: 84px 0; }
  .phases { grid-template-columns: repeat(3, 1fr); }
  /* Gleiche Zeilen über alle drei Karten: Badge, Datum, Titel, Text, Idee, Start. */
  .phases { row-gap: 0; }
  .phase { display: grid; grid-row: span 6; grid-template-rows: subgrid; align-content: start; }
  .phase > * { margin: 0; }
  .phase__badge { justify-self: start; align-self: start; margin-bottom: 10px; }
  .phase__badge:empty { display: inline-block; visibility: hidden; }
  .phase__title { margin-bottom: 10px; }
  .phase > p:nth-of-type(2) { margin-bottom: 14px; }
  .phase__idea { align-self: start; margin-bottom: 14px; }
  .anchors { grid-template-columns: repeat(2, 1fr); }
  .glass { grid-template-columns: 130px 1fr; }
  .glass__icon { width: 130px; }
  .progress { padding: 24px 28px 22px; }
  .progress__track { height: 28px; }
}
@media (min-width: 1000px) {
  .projects { grid-template-columns: repeat(3, 1fr); }
  /* Video, Fotos, Ort, Titel, Text, Beträge und Balken in jeder Karte auf gleicher Höhe. */
  .projects { row-gap: 0; }
  .project { display: grid; grid-row: span 7; grid-template-rows: subgrid; margin-bottom: 24px; }
  .project > .gallery { align-self: start; }
  .project__body { display: grid; grid-row: span 5; grid-template-rows: subgrid; gap: 0; padding-bottom: 20px; }
  .project__body > * { margin-top: 0; }
  .project__body > p:not(.project__tag), .project__text { margin-bottom: 14px; }
  .split { align-self: start; margin: 0 0 14px; }
  .mini-progress { align-self: end; }
  .hero { padding: 48px 0 96px; }
  .hero__grid {
    grid-template-columns: 1.05fr 1fr;
    grid-template-areas: "head photo" "progress photo" "cta photo";
    column-gap: 40px; align-items: start;
  }
  .hero__head { grid-area: head; text-align: left; }
  .hero__photo { grid-area: photo; margin: 0 -32px 0 0; align-self: stretch; }
  .hero__main { height: 100%; max-height: 640px; }
  .hero__pic { width: 34%; max-width: 210px; }
  .hero__pic--a { left: 2%; top: auto; bottom: 10%; }
  .hero__pic--b { right: 6%; top: 6%; }
  .progress { grid-area: progress; margin: 28px 0 0; max-width: none; }
  .hero__cta { grid-area: cta; text-align: left; }
}
@media (min-width: 720px) and (max-width: 999px) {
  .projects { grid-template-columns: repeat(2, 1fr); }
}
