/* ============================================================
   Ugandahilfe Verl – Redaktionelles Dossier
   CI: Uganda-Gelb #FCDD00 (nur Handlungen), Tintenblau #1E3A5F
   Sektionen werden über eine Hintergrund-Leiter getrennt:
   weiss → hell → tief → gruen → blau
   ============================================================ */

@font-face {
  font-family: "Clash Grotesk";
  src: url("../fonts/ClashGrotesk-Regular.woff") format("woff");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Clash Grotesk";
  src: url("../fonts/ClashGrotesk-Medium.woff") format("woff");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Clash Grotesk";
  src: url("../fonts/ClashGrotesk-Semibold.woff") format("woff");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Clash Grotesk";
  src: url("../fonts/ClashGrotesk-Bold.woff") format("woff");
  font-weight: 700;
  font-display: swap;
}

:root {
  /* Hintergrund-Leiter */
  --weiss: #FFFFFF;
  --stufe-1: #F4F7FA;
  --stufe-2: #E5ECF3;
  --gruen: #E4F0E8;
  --blau: #1E3A5F;
  --blau-tief: #15293F;
  --flaeche: #FFFFFF;

  /* Schrift */
  --ink: #1E3A5F;
  --text: #253039;
  --muted: #576673;
  --auf-blau: #CFDDEC;

  /* Akzente */
  --gelb: #FCDD00;
  --gelb-tief: #EACC00;
  --rot: #C8102E;

  --linie: rgba(30, 58, 95, 0.16);
  --linie-stark: rgba(30, 58, 95, 0.85);
  --schatten: 0 20px 44px -26px rgba(18, 32, 48, 0.55);
  --schatten-klein: 0 10px 24px -16px rgba(18, 32, 48, 0.5);

  --mass: 66ch;
  --rand: clamp(1.25rem, 4vw, 3.25rem);
  --font: "Clash Grotesk", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scrollbar-color: rgba(30, 58, 95, 0.35) var(--stufe-1);
}
html::-webkit-scrollbar { width: 12px; }
html::-webkit-scrollbar-track { background: var(--stufe-1); }
html::-webkit-scrollbar-thumb { background: rgba(30, 58, 95, 0.35); border-radius: 6px; border: 3px solid var(--stufe-1); }
html::-webkit-scrollbar-thumb:hover { background: rgba(30, 58, 95, 0.55); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  overflow-x: clip;
  font-family: var(--font);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--weiss);
  caret-color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--gelb); color: #151412; }

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

a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.15s ease-out;
}
a:hover { color: var(--rot); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 2px;
}
/* Auf den dunkelblauen Flächen trägt Blau auf Blau nicht */
.flaeche-blau :focus-visible, .fuss :focus-visible { outline-color: var(--gelb); }

h1, h2, h3 {
  font-weight: 600;
  color: var(--ink);
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.75rem, 7vw, 5.25rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); margin-bottom: 0.55em; }
h3 { font-size: clamp(1.3rem, 2.1vw, 1.6rem); line-height: 1.22; letter-spacing: -0.02em; margin-bottom: 0.4em; }

p { max-width: var(--mass); }
p + p { margin-top: 0.9em; }
strong { font-weight: 600; }

.lead {
  font-size: clamp(1.15rem, 1.75vw, 1.375rem);
  line-height: 1.5;
  color: #3A4653;
  max-width: 54ch;
}

/* Versal-Kleinschrift für Datenfelder und Bildquellen */
.klein {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

/* ============================================================
   Flaggenkante & Kopf
   ============================================================ */
/* Durchlaufendes Streifenband in den Farben der ugandischen Flagge –
   schwarz, gelb, rot, eng getaktet und schräg gestellt. */
.flaggenkante {
  height: 7px;
  background: repeating-linear-gradient(
    -58deg,
    #151412 0 7px,
    var(--gelb) 7px 14px,
    var(--rot) 14px 21px
  );
}

.kopf {
  background: var(--weiss);
  border-bottom: 1px solid var(--linie);
  position: sticky;
  top: 0;
  z-index: 20;
}
/* Auf schmalen Geräten bricht die Navigation um und würde als klebender
   Kopf zu viel vom Bildschirm belegen. */
@media (max-width: 860px) { .kopf { position: static; } }
.kopf-innen {
  max-width: 1240px;
  margin-inline: auto;
  padding: 0.95rem var(--rand);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.wortmarke {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--ink);
  margin-right: auto;
}
.wortmarke:hover { color: var(--ink); }
.wortmarke img { width: 46px; height: 41px; object-fit: contain; }
.wortmarke b { display: block; font-size: 1.18rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
.wortmarke span { display: block; font-size: 0.76rem; font-weight: 500; color: var(--muted); }

.nav {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 2vw, 1.75rem);
  flex-wrap: wrap;
}
.nav a {
  text-decoration: none;
  font-weight: 500;
  color: var(--ink);
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--rot); }
.nav a[aria-current="page"] { font-weight: 600; border-bottom-color: var(--ink); }
/* Ein Knopf in der Navigation behält seine Knopf-Geometrie: `.nav a` ist
   spezifischer als `.btn` und würde sonst Polsterung, Kante und Hover kippen. */
.nav a.btn {
  padding: 0.6rem 1.15rem;
  border-bottom: none;
  font-size: 0.98rem;
}
.nav a.btn-gelb, .nav a.btn-gelb:hover { color: #151412; }

/* ============================================================
   Buttons – Gelb ausschließlich für Spendenwege
   ============================================================ */
.btn {
  display: inline-block;
  font-family: var(--font);
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
  padding: 0.9rem 1.6rem;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.15s ease-out, transform 0.15s ease-out, box-shadow 0.15s ease-out;
}
.btn-gelb {
  background: var(--gelb);
  color: #151412;
  box-shadow: var(--schatten-klein);
}
.btn-gelb:hover {
  background: var(--gelb-tief);
  color: #151412;
  transform: translateY(-2px);
  box-shadow: 0 16px 28px -16px rgba(18, 32, 48, 0.55);
}
.btn-gelb:active { transform: translateY(0); }
.btn-blau { background: var(--ink); color: #F2F7FC; }
.btn-blau:hover { background: #16304F; color: #FFFFFF; transform: translateY(-2px); }
.btn-weiss { background: var(--weiss); color: var(--ink); }
.btn-weiss:hover { background: #EDF3F9; color: var(--ink); transform: translateY(-2px); }
.btn-leise {
  background: transparent;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 5px;
  padding-inline: 0.3rem;
}
.btn-leise:hover { color: var(--rot); }

/* ============================================================
   Flächen (Hintergrund-Leiter) & Raster
   ============================================================ */
.flaeche-weiss { --flaeche: var(--weiss); background: var(--weiss); }
.flaeche-hell  { --flaeche: var(--stufe-1); background: var(--stufe-1); }
.flaeche-tief  { --flaeche: var(--stufe-2); background: var(--stufe-2); }
.flaeche-gruen { --flaeche: var(--gruen); background: var(--gruen); }
.flaeche-blau  { --flaeche: var(--blau); background: var(--blau); color: var(--auf-blau); }

.flaeche-blau h1, .flaeche-blau h2, .flaeche-blau h3 { color: #FFFFFF; }
.flaeche-blau .lead { color: #C2D3E6; }
.flaeche-blau .klein { color: #9FB6CF; }
.flaeche-blau a:not(.btn) { color: #FFFFFF; }
.flaeche-blau a:not(.btn):hover { color: var(--gelb); }

.bahn { max-width: 1240px; margin-inline: auto; padding-inline: var(--rand); }
.sektion { padding-block: clamp(3.5rem, 8vw, 7rem); }
.sektion-schmal { padding-block: clamp(2.5rem, 5vw, 4rem); }

.spalten {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1.75rem, 3.5vw, 3.5rem);
  align-items: start;
}
.spalten-gleich { align-items: stretch; }
.s-4 { grid-column: span 4; }
.s-5 { grid-column: span 5; }
.s-6 { grid-column: span 6; }
.s-7 { grid-column: span 7; }
.s-8 { grid-column: span 8; }
.s-12 { grid-column: span 12; }
@media (max-width: 860px) {
  .s-4, .s-5, .s-6, .s-7, .s-8 { grid-column: span 12; }
}

/* ============================================================
   Held
   ============================================================ */
/* ============================================================
   Großer Kopfbereich – auf jeder Seite gleich aufgebaut:
   Foto oder Film über die volle Breite, Text unten links darüber.
   Der Abdunkler von unten sichert den Kontrast unabhängig davon,
   wie hell das Motiv an der jeweiligen Stelle gerade ist.
   ============================================================ */
.held {
  position: relative;
  isolation: isolate;
  min-height: clamp(24rem, 58vh, 34rem);
  display: grid;
  align-items: end;
  background: var(--blau);
  overflow: hidden;
}
.held-gross { min-height: clamp(28rem, 76vh, 44rem); }
.held-schlicht { min-height: clamp(14rem, 30vh, 20rem); }

.held-medium {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.held::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    to top,
    rgba(9, 18, 30, 0.92) 0%,
    rgba(9, 18, 30, 0.82) 28%,
    rgba(9, 18, 30, 0.5) 60%,
    rgba(9, 18, 30, 0.24) 100%
  );
}
.held-schlicht::after { background: none; }

/* Als Rasterkind würde die Bahn durch ihre Auto-Ränder auf Inhaltsbreite
   schrumpfen – erst width:100% gibt ihr wieder die volle Bahnbreite. */
.held > .bahn { width: 100%; }
.held-inhalt {
  position: relative;
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
  display: grid;
  grid-template-rows: auto 1fr;
  gap: clamp(1.75rem, 4vw, 3rem);
  animation: aufblenden 0.6s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}
/* Der Hinweiszettel sitzt oben rechts, der Text unten links. */
.held-zettel { grid-row: 1; justify-self: end; align-self: start; width: min(23rem, 100%); }
.held-zettel:empty { display: none; }
/* Zeile 2 ist die dehnbare – so steht der Text immer am unteren Rand,
   ob darüber ein Zettel hängt oder nicht. */
.held-text { grid-row: 2; align-self: end; }
@media (max-width: 860px) {
  .held-zettel { justify-self: stretch; }
}
.held h1 { color: #FFFFFF; max-width: 17ch; margin-bottom: 0.4em; }
.held .lead { color: #DDE7F1; max-width: 52ch; margin-bottom: 0; }
.held .held-aktionen { margin-top: 2rem; }
.held .btn-leise { color: #FFFFFF; }
.held .btn-leise:hover { color: var(--gelb); }
.held h1 { max-width: 14ch; margin-bottom: 0.4em; }
.held .lead { margin-bottom: 2rem; }
.held-aktionen { display: flex; gap: 1.25rem; align-items: center; flex-wrap: wrap; }
.held-inhalt { animation: aufblenden 0.6s cubic-bezier(0.16, 1, 0.3, 1) backwards; }

@keyframes aufblenden {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
@keyframes bildauf {
  from { clip-path: inset(0 0 100% 0); }
  to { clip-path: inset(0 0 0 0); }
}

/* ============================================================
   Bilder – dokumentarisch, ohne Deko-Rahmen
   ============================================================ */
.bild img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 3px;
}
/* Hochformat-Porträts behalten ihre Proportion */
.bild-hoch img { aspect-ratio: 4 / 5; }

/* Vollbreites Bildband */
.bildband img, .bildband video {
  display: block;
  width: 100%;
  height: clamp(300px, 40vw, 520px);
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
  background: var(--blau);
}

/* ============================================================
   Hinweiszettel – der gelbe Aushang im Kopf der Startseite.
   Wird von assets/js/main.js aus inhalte/hinweis.json erzeugt und
   ist nur da, wenn der Verein ihn in der Bearbeiten-Seite anschaltet.
   ============================================================ */
.hinweiszettel {
  background: var(--gelb);
  color: #151412;
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  border-radius: 3px;
  transform: rotate(-1.4deg);
  box-shadow: 0 16px 34px -20px rgba(18, 30, 46, 0.6);
  animation: zettel-an 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.2s backwards;
}
.hinweiszettel h2 {
  color: #151412;
  font-size: clamp(1.3rem, 2.1vw, 1.6rem);
  line-height: 1.22;
  letter-spacing: -0.02em;
  margin-bottom: 0.4em;
}
.hinweiszettel p { color: #2A2620; font-size: 1rem; line-height: 1.5; max-width: none; }
.hinweiszettel .zettel-datum {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #4A4133;
  margin-top: 0.9rem;
}
.hinweiszettel a {
  display: inline-block;
  margin-top: 1rem;
  color: #151412;
  font-weight: 600;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.hinweiszettel a:hover { color: var(--rot-tief, #8E0B20); }
.hinweiszettel a:focus-visible { outline: 2px solid #151412; outline-offset: 3px; }
@keyframes zettel-an {
  from { opacity: 0; transform: rotate(-1.4deg) translateY(-10px); }
  to { opacity: 1; transform: rotate(-1.4deg) translateY(0); }
}
@media (max-width: 860px) {
  .hinweiszettel { transform: rotate(-0.8deg); margin-top: 0.5rem; }
}

/* Pausetaste des Kopf-Videos */
.filmtaste {
  position: absolute;
  right: clamp(1rem, 3vw, 2.25rem);
  bottom: clamp(1rem, 3vw, 2.25rem);
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  background: rgba(18, 30, 46, 0.7);
  color: #FFFFFF;
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
  transition: background-color 0.2s ease-out, transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.filmtaste:hover { background: rgba(18, 30, 46, 0.9); transform: scale(1.06); }
.filmtaste svg { width: 15px; height: 15px; }
.filmtaste:focus-visible { outline: 2px solid var(--gelb); outline-offset: 3px; }
.bildband-tief img { object-position: 50% 72%; }

/* ============================================================
   Aufruf-Band (aktueller Spendenaufruf)
   ============================================================ */
.aufruf {
  display: flex;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  flex-wrap: wrap;
}
.aufruf-text { flex: 1 1 34ch; }
.aufruf h2 { margin-bottom: 0.35em; }
.aufruf p { margin: 0; color: inherit; }
.aufruf .btn { flex-shrink: 0; }

/* ============================================================
   Route (Der Weg Ihrer Spende)
   ============================================================ */
.route {
  list-style: none;
  counter-reset: station;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 2.5vw, 2.5rem);
}
.route li {
  counter-increment: station;
  position: relative;
  padding-top: 3.5rem;
}
.route li::before {
  content: counter(station);
  position: absolute;
  top: 0;
  left: 0;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: var(--flaeche);
  color: var(--ink);
  font-weight: 600;
  font-size: 1.1rem;
  display: grid;
  place-items: center;
  z-index: 1;
}
.route li::after {
  content: "";
  position: absolute;
  top: 1.3rem;
  left: 3.1rem;
  right: -1.5rem;
  border-top: 1px solid var(--linie-stark);
  opacity: 0.35;
}
.route li:last-child::after { display: none; }
.route h3 { font-size: 1.2rem; margin-bottom: 0.3em; }
.route p { font-size: 0.98rem; line-height: 1.55; }
@media (max-width: 860px) {
  .route { grid-template-columns: 1fr; gap: 1.9rem; }
  .route li { padding-top: 0; padding-left: 4rem; min-height: 2.6rem; }
  .route li::after {
    top: 2.9rem;
    left: 1.3rem;
    right: auto;
    bottom: -1.9rem;
    border-top: none;
    border-left: 1px solid var(--linie-stark);
  }
}

/* ============================================================
   Wege (weiterführende Bereiche als linierte Zeilen)
   ============================================================ */
.wege { border-top: 2px solid var(--linie-stark); }
.weg {
  display: grid;
  grid-template-columns: minmax(170px, 250px) 1fr auto;
  gap: clamp(0.75rem, 2.5vw, 2rem);
  align-items: center;
  padding-block: 1.4rem;
  border-bottom: 1px solid var(--linie);
  text-decoration: none;
  color: var(--text);
}
.weg h3 { font-size: 1.2rem; margin: 0; }
.weg p { margin: 0; max-width: 62ch; }
.weg .pfeil {
  width: 1.75rem;
  height: 1.75rem;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--ink);
  transition: background-color 0.2s ease-out, color 0.2s ease-out, transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.weg .pfeil svg { width: 12px; height: 12px; }
.weg:hover { color: var(--text); }
.weg:hover h3 { color: var(--rot); }
.weg:hover .pfeil { background: var(--ink); color: var(--weiss); transform: translateX(3px); }
@media (max-width: 660px) {
  .weg { grid-template-columns: 1fr auto; row-gap: 0.35rem; }
  .weg h3 { grid-column: 1 / -1; }
}

/* ============================================================
   Register (Zahlen) & Fahrplan (Termine)
   ============================================================ */
.register { border-top: 2px solid var(--linie-stark); }
.register-zeile {
  display: grid;
  grid-template-columns: minmax(110px, 170px) 1fr;
  gap: clamp(1rem, 3vw, 2.5rem);
  padding-block: 1.15rem;
  border-bottom: 1px solid var(--linie);
  align-items: baseline;
}
.register-zeile dt {
  font-weight: 600;
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  letter-spacing: -0.035em;
  color: var(--ink);
  text-align: right;
  font-variant-numeric: tabular-nums;
  line-height: 1.05;
}
.register-zeile dt small {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.register-zeile dd { margin: 0; max-width: var(--mass); }

.fahrplan { border-top: 2px solid var(--linie-stark); }
.fahrplan-zeile {
  display: grid;
  grid-template-columns: minmax(120px, 170px) 1fr auto;
  gap: clamp(0.75rem, 2.5vw, 2rem);
  padding-block: 1.05rem;
  border-bottom: 1px solid var(--linie);
  align-items: baseline;
}
.fahrplan-zeile .datum { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.fahrplan-zeile .ort { color: var(--muted); font-size: 0.92rem; text-align: right; white-space: nowrap; }
.fahrplan-liste .fahrplan-zeile { grid-template-columns: 1fr; }
@media (max-width: 660px) {
  .fahrplan-zeile { grid-template-columns: 1fr; gap: 0.15rem; }
  .fahrplan-zeile .ort { text-align: left; }
  .register-zeile { grid-template-columns: minmax(84px, 108px) 1fr; }
}

/* Aufklappbare Berichte */
details.bericht { border-bottom: 1px solid var(--linie); }
details.bericht summary {
  display: grid;
  grid-template-columns: minmax(120px, 170px) 1fr auto;
  gap: clamp(0.75rem, 2.5vw, 2rem);
  padding-block: 1.1rem;
  align-items: center;
  cursor: pointer;
  list-style: none;
}
details.bericht summary::-webkit-details-marker { display: none; }
details.bericht summary .datum { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
details.bericht summary .titel { font-weight: 500; }
details.bericht summary .zeichen {
  width: 1.75rem;
  height: 1.75rem;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--ink);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease-out, color 0.2s ease-out;
}
details.bericht summary .zeichen svg { width: 12px; height: 12px; }
details.bericht[open] summary .zeichen { transform: rotate(45deg); background: var(--ink); color: var(--weiss); }
details.bericht summary:hover .titel { color: var(--rot); }
details.bericht .bericht-inhalt { padding: 0 0 1.75rem; display: grid; gap: 0.55rem; }
details.bericht .bericht-meta { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 660px) {
  details.bericht summary { grid-template-columns: 1fr auto; }
  details.bericht summary .datum { grid-column: 1 / -1; margin-bottom: -0.4rem; }
}

/* ============================================================
   Panels
   ============================================================ */
.panel {
  background: var(--weiss);
  padding: clamp(1.6rem, 3.5vw, 2.6rem);
  border-radius: 6px;
  box-shadow: var(--schatten);
}
.panel-rand {
  background: var(--weiss);
  padding: clamp(1.6rem, 3.5vw, 2.6rem);
  border-radius: 6px;
  border: 1px solid var(--linie);
}
/* Ein Panel-Kopf steht in der Gliederung mitunter als h2 (wenn kein
   Sektionskopf davor liegt), trägt aber immer die Title-Stufe. */
.panel h2, .panel-rand h2 {
  font-size: clamp(1.3rem, 2.1vw, 1.6rem);
  line-height: 1.22;
  letter-spacing: -0.02em;
  margin-bottom: 0.4em;
}
.flaeche-blau .panel, .flaeche-blau .panel-rand { color: var(--text); }
.flaeche-blau .panel h3, .flaeche-blau .panel-rand h3 { color: var(--ink); }
.flaeche-blau .panel a, .flaeche-blau .panel-rand a { color: var(--ink); }

/* Datenfelder (Bankverbindung, Kontakt) */
.datenliste .feld {
  display: grid;
  gap: 0.2rem;
  padding-block: 0.8rem;
  border-bottom: 1px solid var(--linie);
}
.datenliste .feld:first-child { padding-top: 0; }
.datenliste .feld:last-child { border-bottom: none; padding-bottom: 0; }
.datenliste .wert {
  font-weight: 600;
  color: var(--ink);
  font-size: 1.08rem;
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.kopier-zeile { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.kopierknopf {
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink);
  background: none;
  border: 1px solid var(--linie);
  border-radius: 4px;
  padding: 0.25rem 0.7rem;
  cursor: pointer;
  transition: background-color 0.15s ease-out, border-color 0.15s ease-out;
}
.kopierknopf:hover { background: rgba(30, 58, 95, 0.07); border-color: var(--ink); }
.kopierknopf[data-kopiert="ja"] { background: var(--gruen); border-color: #2E7D4F; color: #1E5537; }

.hinweis {
  margin-top: 1.4rem;
  padding: 1rem 1.2rem;
  background: var(--gruen);
  border-radius: 4px;
  font-size: 0.95rem;
  max-width: none;
}

/* ============================================================
   Sponsoren
   ============================================================ */
.sponsoren {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: clamp(1rem, 2vw, 1.75rem);
}
.sponsoren figure {
  background: var(--weiss);
  border-radius: 4px;
  padding: 1.1rem 1.3rem;
  display: grid;
  place-items: center;
  min-height: 104px;
  box-shadow: var(--schatten-klein);
}
.sponsoren img {
  filter: grayscale(1);
  opacity: 0.68;
  transition: filter 0.2s ease-out, opacity 0.2s ease-out;
  max-height: 66px;
  object-fit: contain;
}
.sponsoren figure:hover img { filter: grayscale(0); opacity: 1; }

/* ============================================================
   Projekt-Einträge
   ============================================================ */
.projekt {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1.75rem, 3.5vw, 3.5rem);
  align-items: start;
}
.projekt + .projekt {
  margin-top: clamp(2.75rem, 5vw, 4.5rem);
  padding-top: clamp(2.75rem, 5vw, 4.5rem);
  border-top: 1px solid var(--linie);
}
.projekt .projekt-text { grid-column: span 7; }
.projekt .projekt-bild { grid-column: span 5; }
.projekt.gespiegelt .projekt-text { order: 2; }
.projekt.gespiegelt .projekt-bild { order: 1; }
.projekt.breit .projekt-text { grid-column: span 12; }
.projekt.breit .projekt-text p { max-width: 78ch; }
.projekt h2 { font-size: clamp(1.55rem, 2.8vw, 2.1rem); margin-bottom: 0.4em; }
@media (max-width: 860px) {
  .projekt .projekt-text, .projekt .projekt-bild { grid-column: span 12; order: initial !important; }
}

/* Herausgestellte Zahl im Fließtext */
.kennzahl {
  display: block;
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  margin-bottom: 0.25em;
}

/* ============================================================
   Formular
   ============================================================ */
.formular { display: grid; gap: 1.15rem; }
.formular .reihe { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
@media (max-width: 660px) { .formular .reihe { grid-template-columns: 1fr; } }
.formular label { display: grid; gap: 0.35rem; font-weight: 500; font-size: 0.95rem; color: var(--ink); }
.formular input, .formular textarea {
  font-family: var(--font);
  font-size: 1rem;
  color: var(--text);
  background: var(--weiss);
  border: 1px solid var(--linie);
  border-radius: 4px;
  padding: 0.8rem 0.95rem;
  transition: border-color 0.15s ease-out, box-shadow 0.15s ease-out;
}
.formular input::placeholder, .formular textarea::placeholder { color: var(--muted); }
.formular input:focus, .formular textarea:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.15);
  outline: none;
}
.formular textarea { min-height: 9.5rem; resize: vertical; }

/* ============================================================
   Fuß
   ============================================================ */
.fuss { background: var(--blau-tief); color: var(--auf-blau); }
.fuss-innen {
  max-width: 1240px;
  margin-inline: auto;
  padding: clamp(2.75rem, 5vw, 4.5rem) var(--rand) clamp(2rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1.75rem, 3vw, 3rem);
}
.fuss h3 { color: #FFFFFF; font-size: 1.05rem; margin-bottom: 0.8rem; }
.fuss a { color: #E4EDF6; }
.fuss a:hover { color: var(--gelb); }
.fuss .fuss-marke { grid-column: span 4; }
.fuss .fuss-marke img { width: 54px; margin-bottom: 1rem; }
.fuss .fuss-marke p { font-size: 0.95rem; line-height: 1.65; }
.fuss nav { grid-column: span 3; }
.fuss .fuss-kontakt { grid-column: span 5; }
.fuss ul { list-style: none; display: grid; gap: 0.5rem; font-size: 0.98rem; }
.fuss address { font-style: normal; font-size: 0.98rem; line-height: 1.75; }
.fuss-schluss {
  border-top: 1px solid rgba(228, 237, 246, 0.2);
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  padding-top: 1.3rem;
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: #A6BCD4;
}
@media (max-width: 860px) {
  .fuss .fuss-marke, .fuss nav, .fuss .fuss-kontakt { grid-column: span 12; }
}

/* ============================================================
   Kleinigkeiten
   ============================================================ */
.fussnote { font-size: 0.95rem; color: var(--muted); }
.breit-voll { max-width: none; }
.ohne-linie-oben { border-top: none; }
.ohne-linie-unten { border-bottom: none; }
.formular-fehler { display: none; color: var(--rot); font-weight: 500; max-width: none; }
.formular-fehler[data-sichtbar="ja"] { display: block; }
.abstand-oben { margin-top: clamp(1.5rem, 3vw, 2.25rem); }
.vorspann { max-width: 58ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.leer-hinweis {
  padding: 1.6rem 1.75rem;
  background: var(--weiss);
  border-radius: 4px;
  border: 1px solid var(--linie);
  color: var(--muted);
  max-width: none;
}
.recht { max-width: 74ch; }
.recht h2 { font-size: clamp(1.3rem, 2.1vw, 1.6rem); margin-top: 2.25rem; }
.recht ul { padding-left: 1.3rem; margin-block: 0.6rem; }
.recht li { margin-bottom: 0.3rem; }

.skiplink {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gelb);
  color: #151412;
  padding: 0.6rem 1rem;
  font-weight: 600;
  z-index: 50;
}
.skiplink:focus { left: 0.5rem; top: 0.5rem; }
