/* monsun e.V. – Stylesheet
   Farben aus dem Logo und den drei Schwerpunkten. Schriften selbst gehostet (keine Google-Server). */

@font-face { font-family: "Bricolage"; src: url(../fonts/bricolage-grotesque-latin-standard-normal.woff2) format("woff2"); font-weight: 200 800; font-stretch: 75% 100%; font-display: swap; 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: "Bricolage"; src: url(../fonts/bricolage-grotesque-latin-ext-standard-normal.woff2) format("woff2"); font-weight: 200 800; font-stretch: 75% 100%; font-display: swap; 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: "Atkinson"; src: url(../fonts/atkinson-hyperlegible-next-latin-wght-normal.woff2) format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; 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: "Atkinson"; src: url(../fonts/atkinson-hyperlegible-next-latin-ext-wght-normal.woff2) format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; 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: "Atkinson"; src: url(../fonts/atkinson-hyperlegible-next-latin-wght-italic.woff2) format("woff2"); font-weight: 200 800; font-style: italic; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F; }

:root {
  --pizarra: #36424A;      /* Schiefer – Schrift im Logo */
  --pizarra-tief: #26323A;
  --lima: #A4C13A;         /* monsun-Grün */
  --lima-hell: #C3CF39;
  --lima-text: #5E7414;    /* Grün für Text auf Weiß (Kontrast) */
  --titicaca: #00B8E4;     /* Perú-Blau im Logo */
  --bildung: #F39100;
  --umwelt: #3CA432;
  --ernaehrung: #00A2D3;
  --magenta: #C8226E;      /* aus dem Aguayo-Webband */
  --papier: #FFFFFF;
  --nebel: #F1F4EE;
  --linie: #D9DFD5;
  --text: #2B353C;
  --text-leise: #5A666E;
  --geschafft: #3CA432;
  --offen: #F39100;

  --schrift-titel: "Bricolage", "Avenir Next Condensed", "Arial Narrow", sans-serif;
  --schrift: "Atkinson", "Segoe UI", system-ui, sans-serif;

  --breite: 76rem;
  --text-breite: 42rem;
  --rand: clamp(1.15rem, 4vw, 3rem);
  --radius: 4px;
  --kopf-hoehe: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--kopf-hoehe) + 1rem); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
body { margin: 0; font-family: var(--schrift); font-size: clamp(1.0625rem, .98rem + .3vw, 1.1875rem); line-height: 1.6; color: var(--text); background: var(--papier); font-variant-numeric: proportional-nums; overflow-x: hidden; }
img, video, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--pizarra-tief); text-decoration-thickness: 1.5px; text-underline-offset: .18em; text-decoration-color: var(--lima); }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 3px solid var(--titicaca); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3, h4 { font-family: var(--schrift-titel); color: var(--pizarra-tief); line-height: 1.08; letter-spacing: -.012em; margin: 0 0 .5em; font-weight: 750; font-stretch: 92%; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 1.5rem + 3.6vw, 4.6rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 1.25rem + 1.4vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 1.1rem + .45vw, 1.45rem); line-height: 1.2; }
p { margin: 0 0 1em; }
.klein { font-size: .875rem; color: var(--text-leise); line-height: 1.5; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.skiplink { position: absolute; left: -999px; top: 0; background: var(--pizarra); color: #fff; padding: .7rem 1rem; z-index: 999; }
.skiplink:focus { left: 1rem; top: 1rem; }
main:focus { outline: none; }

/* ---------- Aguayo: gewebtes Band, das Erkennungszeichen ---------- */
.aguayo, .aguayo--schmal {
  height: 28px;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.22) 0 3px, transparent 3px 16px),
    linear-gradient(180deg,
      var(--magenta) 0 4px, #fff 4px 6px, var(--lima) 6px 12px, var(--pizarra) 12px 14px,
      var(--bildung) 14px 18px, var(--pizarra) 18px 20px, var(--titicaca) 20px 24px, #fff 24px 26px, var(--magenta) 26px 28px);
}

/* ---------- Knöpfe ---------- */
.knopf { display: inline-flex; align-items: center; gap: .55em; min-height: 48px; padding: .7em 1.35em; border: 2px solid var(--pizarra); background: var(--pizarra); color: #fff; font: 700 1rem/1.2 var(--schrift); text-decoration: none; border-radius: var(--radius); cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.knopf:hover { background: var(--pizarra-tief); border-color: var(--pizarra-tief); color: #fff; }
.knopf .icon { width: 1.3em; height: 1.3em; }
.knopf--spenden { background: var(--lima); border-color: var(--lima); color: var(--pizarra-tief); }
.knopf--spenden:hover { background: var(--lima-hell); border-color: var(--lima-hell); color: var(--pizarra-tief); }
.knopf--rahmen { background: transparent; color: var(--pizarra-tief); }
.knopf--rahmen:hover { background: var(--pizarra); color: #fff; }
.knopf--hell { background: #fff; border-color: #fff; color: var(--pizarra-tief); }
.knopf--hell:hover { background: var(--lima); border-color: var(--lima); color: var(--pizarra-tief); }
.knopf--rahmen-hell { background: transparent; border-color: rgba(255,255,255,.75); color: #fff; }
.knopf--rahmen-hell:hover { background: #fff; color: var(--pizarra-tief); }
.knopf--paypal { background: #FFC439; border-color: #FFC439; color: #142C8E; }
.knopf--paypal:hover { background: #f2b52b; border-color: #f2b52b; color: #142C8E; }
.knopf--breit { width: 100%; justify-content: center; }
.knopfreihe { display: flex; flex-wrap: wrap; gap: .75rem; }
.linkknopf { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-decoration-color: var(--lima); text-underline-offset: .18em; cursor: pointer; }
.pfeillink { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; color: var(--pizarra-tief); text-decoration: none; border-bottom: 2px solid var(--lima); padding-bottom: 1px; }
.pfeillink::after { content: ""; width: .5em; height: .5em; border: solid currentColor; border-width: 2px 2px 0 0; transform: rotate(45deg); margin-left: .1em; transition: transform .15s; }
.pfeillink:hover { border-bottom-color: var(--pizarra-tief); }
.pfeillink:hover::after { transform: translateX(3px) rotate(45deg); }
.rundknopf { width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--pizarra); background: #fff; color: var(--pizarra); display: inline-grid; place-items: center; cursor: pointer; }
.rundknopf .icon { width: 22px; height: 22px; }
.rundknopf:hover { background: var(--pizarra); color: #fff; }
.rundknopf:disabled { opacity: .3; cursor: default; background: #fff; color: var(--pizarra); }
.kopierknopf { display: inline-flex; align-items: center; gap: .35em; margin-left: .4em; padding: .25em .55em; border: 1px solid var(--linie); background: #fff; border-radius: var(--radius); font: 600 .8rem/1 var(--schrift); color: var(--pizarra); cursor: pointer; vertical-align: middle; min-height: 32px; }
.kopierknopf .icon { width: 1.1em; height: 1.1em; }
.kopierknopf.ist-kopiert { border-color: var(--geschafft); color: var(--umwelt); }

/* ---------- Kopfzeile ---------- */
.kopf { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--linie); }
.kopf__innen { max-width: calc(var(--breite) + 2 * var(--rand)); margin: 0 auto; padding: 0 var(--rand); height: var(--kopf-hoehe); display: flex; align-items: center; gap: 1.5rem; }
.kopf__logo img { width: auto; height: 52px; }
.kopf__menueknopf { margin-left: auto; display: none; align-items: center; gap: .5rem; min-height: 48px; padding: 0 .9rem; border: 2px solid var(--pizarra); background: #fff; border-radius: var(--radius); font: 700 1rem var(--schrift); color: var(--pizarra); cursor: pointer; }
.kopf__menueknopf .icon { width: 24px; height: 24px; }
.hauptnav { margin-left: auto; display: flex; align-items: center; gap: 1rem; }
.hauptnav__liste { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; }
.hauptnav__punkt { position: relative; display: flex; align-items: center; }
.hauptnav__punkt > a { display: block; padding: .6rem .7rem; font-weight: 700; font-size: .98rem; color: var(--pizarra-tief); text-decoration: none; white-space: nowrap; border-bottom: 3px solid transparent; }
.hauptnav__punkt > a:hover, .hauptnav__punkt.ist-aktiv > a { border-bottom-color: var(--lima); }
.hauptnav__auf { display: none; }
.hauptnav__unter { list-style: none; margin: 0; padding: .5rem 0; position: absolute; top: 100%; left: 0; min-width: 15rem; background: #fff; border: 1px solid var(--linie); border-top: 3px solid var(--lima); box-shadow: 0 14px 30px -12px rgba(38,50,58,.35); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s; }
.hauptnav__punkt.hat-kinder:hover .hauptnav__unter, .hauptnav__punkt.hat-kinder:focus-within .hauptnav__unter, .hauptnav__punkt.ist-offen .hauptnav__unter { opacity: 1; visibility: visible; transform: none; }
.hauptnav__unter a { display: block; padding: .55rem 1.1rem; text-decoration: none; color: var(--text); font-size: .98rem; }
.hauptnav__unter a:hover, .hauptnav__unter a[aria-current] { background: var(--nebel); color: var(--pizarra-tief); }
.hauptnav__unter a[aria-current] { font-weight: 700; }
.hauptnav__extra .knopf { min-height: 44px; padding: .5em 1em; }

@media (max-width: 1380px) and (min-width: 1081px) {
  .hauptnav__extra { display: none; }
}
.hauptnav__extra .knopf { white-space: nowrap; }
@media (max-width: 1080px) {
  :root { --kopf-hoehe: 66px; }
  .kopf__logo img { height: 44px; }
  .kopf__menueknopf { display: inline-flex; }
  .hauptnav { position: fixed; inset: var(--kopf-hoehe) 0 0 0; background: #fff; display: block; overflow-y: auto; padding: 1rem var(--rand) 6rem; transform: translateY(-10px); opacity: 0; visibility: hidden; transition: transform .2s ease, opacity .2s ease, visibility .2s; }
  .ist-menue-offen .hauptnav { transform: none; opacity: 1; visibility: visible; }
  .ist-menue-offen { overflow: hidden; }
  .hauptnav__liste { flex-direction: column; align-items: stretch; }
  .hauptnav__punkt { flex-wrap: wrap; border-bottom: 1px solid var(--linie); }
  .hauptnav__punkt > a { flex: 1; font-size: 1.25rem; padding: 1rem 0; border: 0; font-family: var(--schrift-titel); }
  .hauptnav__auf { display: grid; place-items: center; width: 52px; height: 52px; background: none; border: 0; color: var(--pizarra); cursor: pointer; }
  .hauptnav__auf .icon { width: 22px; height: 22px; transition: transform .2s; }
  .hauptnav__punkt.ist-offen .hauptnav__auf .icon { transform: rotate(90deg); }
  .hauptnav__unter { position: static; width: 100%; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 .75rem; display: none; }
  .hauptnav__punkt.ist-offen .hauptnav__unter { display: block; }
  .hauptnav__unter a { padding: .6rem 0 .6rem 1rem; font-size: 1.05rem; border-left: 3px solid var(--linie); }
  .hauptnav__extra { display: block; margin-top: 1.5rem; }
  .hauptnav__extra .knopf { width: 100%; justify-content: center; min-height: 52px; }
}

/* ---------- Layout-Grundlagen ---------- */
.abschnitt, .inhalt { max-width: calc(var(--breite) + 2 * var(--rand)); margin: 0 auto; padding: clamp(3rem, 6vw, 5.5rem) var(--rand); }
.inhalt { padding-top: clamp(2.5rem, 5vw, 4rem); }
.inhalt > * + * { margin-top: clamp(2.5rem, 5vw, 4rem); }
.inhalt > .text + .slider, .inhalt > .slider + .text { margin-top: 2rem; }
.abschnitt__titel { font-size: clamp(1.7rem, 1.3rem + 1.5vw, 2.6rem); margin-bottom: 1.5rem; }
.abschnitt__kopf { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 1.5rem; margin-bottom: 1.75rem; }
.abschnitt__kopf .abschnitt__titel { margin: 0; }
.text { max-width: var(--text-breite); }
.text h2 { margin-top: 1.8em; }
.text h2:first-child { margin-top: 0; }
.text h3 { margin-top: 1.5em; }
.lead { font-size: 1.22em; line-height: 1.5; color: var(--pizarra-tief); }
.oberzeile, .seitenkopf__ober { font-family: var(--schrift-titel); font-weight: 650; font-size: 1.05rem; color: var(--lima-text); margin: 0 0 .6rem; }
.zweispaltig { display: grid; gap: 2rem 4rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .zweispaltig { grid-template-columns: 5fr 6fr; align-items: start; } .zweispaltig--oben { grid-template-columns: 1fr 1fr; } }
.gross { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.4rem); line-height: 1.04; }
.fliesstext > :last-child { margin-bottom: 0; }

/* ---------- Startseite: Held ---------- */
.held { position: relative; background: var(--nebel); }
.held__bild { position: relative; height: clamp(320px, 70vh, 780px); overflow: hidden; }
.held__bild img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 72%; }
.held__text { max-width: calc(var(--breite) + 2 * var(--rand)); margin: 0 auto; padding: 2rem var(--rand) 3rem; }
.held__text h1 { margin-bottom: .35em; }
.held__einleitung { font-size: clamp(1.15rem, 1rem + .55vw, 1.45rem); line-height: 1.45; max-width: 36rem; color: var(--pizarra-tief); }
.held__knoepfe { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
@media (min-width: 900px) {
  .held { background: #fff; }
  .held__text { position: relative; margin-top: -11rem; z-index: 2; padding: 0 var(--rand); }
  .held__text > * { position: relative; }
  .held__text::before { content: ""; position: absolute; left: var(--rand); top: 0; bottom: -1px; width: min(44rem, 70%); background: #fff; box-shadow: 0 30px 60px -40px rgba(38,50,58,.5); }
  .held__text h1, .held__text p, .held__text div { max-width: min(40rem, 64%); margin-left: clamp(1.5rem, 3vw, 2.75rem); }
  .held__text h1 { padding-top: clamp(1.75rem, 3vw, 2.75rem); }
  .held__knoepfe { padding-bottom: clamp(1.75rem, 3vw, 2.75rem); }
  .held > .aguayo { position: relative; z-index: 1; }
}

/* Schwerpunkte */
.schwerpunkte { padding-top: 0; }
.schwerpunkte__liste { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 980px) { .schwerpunkte__liste { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
.schwerpunkt { --farbe: var(--bildung); display: grid; grid-template-columns: auto 1fr; gap: .2rem 1rem; align-items: center; padding: 1.4rem; text-decoration: none; color: var(--text); border-left: 6px solid var(--farbe); background: var(--nebel); transition: background .15s; }
.schwerpunkt:hover { background: #e6ebe2; }
.schwerpunkt--umwelt { --farbe: var(--umwelt); }
.schwerpunkt--ernaehrung { --farbe: var(--ernaehrung); }
.schwerpunkt__icon { grid-row: span 2; width: 64px; height: 64px; background: var(--farbe); color: #fff; display: grid; place-items: center; }
.schwerpunkt__icon .icon { width: 40px; height: 40px; }
.schwerpunkt__titel { font-family: var(--schrift-titel); font-weight: 750; font-size: 1.45rem; color: var(--pizarra-tief); }
.schwerpunkt__text { font-size: .98rem; line-height: 1.45; }

/* Solarband auf der Startseite */
.solarband { display: grid; grid-template-columns: 1fr; background: var(--pizarra-tief); color: #E9EEE6; }
.solarband__bild img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }
.solarband__text { padding: clamp(2rem, 5vw, 4.5rem) var(--rand); max-width: 40rem; }
.solarband h2 { color: #fff; font-size: clamp(2rem, 1.4rem + 2.4vw, 3.4rem); }
.solarband .oberzeile { color: var(--lima-hell); }
@media (min-width: 900px) { .solarband { grid-template-columns: 1fr 1fr; } .solarband__text { padding-left: clamp(2rem, 5vw, 4.5rem); align-self: center; } }
.fortschritt { margin: 1.75rem 0 2rem; }
.fortschritt__label { margin: 0 0 .45rem; font-size: .98rem; }
.fortschritt__label strong { color: #fff; }
.bausteinleiste { display: flex; gap: 6px; margin-bottom: 1.25rem; }
.bausteinleiste span { flex: 1; height: 12px; background: rgba(255,255,255,.18); }
.bausteinleiste span.ist-geschafft { background: var(--lima); }
.balken { height: 14px; background: rgba(255,255,255,.18); overflow: hidden; }
.balken > span { display: block; height: 100%;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.25) 0 2px, transparent 2px 9px), linear-gradient(180deg, var(--lima) 0 4px, var(--lima-hell) 4px 7px, var(--bildung) 7px 10px, var(--lima) 10px 14px); }
.balken--gross { height: 22px; background: var(--nebel); }
.balken--gross > span { background: repeating-linear-gradient(90deg, rgba(255,255,255,.3) 0 2px, transparent 2px 9px), linear-gradient(180deg, var(--magenta) 0 3px, var(--lima) 3px 10px, var(--bildung) 10px 14px, var(--lima-hell) 14px 19px, var(--titicaca) 19px 22px); }

/* Karten (Beiträge) */
.karten { display: grid; gap: 2rem 1.75rem; grid-template-columns: 1fr; }
@media (min-width: 740px) { .karten--drei { grid-template-columns: repeat(3, 1fr); gap: 2rem 1.25rem; } .karten--drei .karte__titel { font-size: 1.2rem; } }
@media (min-width: 1000px) { .karten--drei { gap: 2rem 1.75rem; } .karten--drei .karte__titel { font-size: 1.35rem; } }
.karte { display: flex; flex-direction: column; }
.karte__bild { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--nebel); }
.karte__bild img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.karte:hover .karte__bild img { transform: scale(1.03); }
.karte__platzhalter { display: grid; place-items: center; height: 100%; background: var(--nebel); }
.karte .karte__platzhalter img { width: 72px; height: auto; object-fit: contain; opacity: .55; transform: none; }
.karte__text { padding-top: 1rem; display: flex; flex-direction: column; flex: 1; }
.karte__datum { margin: 0 0 .3rem; font-size: .9rem; color: var(--text-leise); }
.karte__titel { margin: 0 0 .5rem; font-size: 1.35rem; }
.karte__titel a { text-decoration: none; color: inherit; }
.karte__titel a:hover { text-decoration: underline; text-decoration-color: var(--lima); }
.karte__teaser { font-size: 1rem; line-height: 1.5; flex: 1; }
.karte .pfeillink { align-self: flex-start; }

/* Bild + Text */
.bildtext { display: grid; gap: 1.5rem 4rem; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .bildtext { grid-template-columns: 1fr 1fr; } .bildtext--gedreht .bildtext__bild { order: 2; } }
.bildtext__bild { margin: 0; }
.bildtext__bild img { width: 100%; }
.bildtext__bild figcaption { font-size: .9rem; color: var(--text-leise); margin-top: .6rem; }
.bildtext__text { max-width: 36rem; }
.bildtext + .bildtext { padding-top: 0; }

/* Instagram */
.instagram { padding-top: clamp(2rem, 4vw, 3rem); }
.insta { background: var(--nebel); min-height: 14rem; }
.insta__platzhalter { max-width: 34rem; margin: 0 auto; padding: 2.5rem var(--rand); text-align: center; display: flex; flex-direction: column; align-items: center; }
.insta__icon { width: 52px; height: 52px; color: var(--magenta); margin-bottom: 1rem; }
.insta iframe { display: block; width: 100%; border: 0; min-height: 300px; background: #fff; }
.merken { display: flex; gap: .5rem; align-items: center; margin-top: 1rem; font-size: .9rem; color: var(--text-leise); }
.merken input { width: 18px; height: 18px; accent-color: var(--pizarra); }

/* Trio */
.trio { display: grid; gap: 2rem; grid-template-columns: 1fr; border-top: 2px solid var(--pizarra); padding-top: 2rem; }
@media (min-width: 800px) { .trio { grid-template-columns: repeat(3, 1fr); gap: 3rem; } }
.trio h3 { font-size: 1.6rem; }

/* ---------- Seitenkopf mit Bild ---------- */
.seitenkopf { position: relative; }
.seitenkopf__bild { height: clamp(320px, 70vh, 780px); overflow: hidden; background: var(--nebel); }
.seitenkopf__bild img { width: 100%; height: 100%; object-fit: cover; object-position: var(--fokus, 50% 50%); }
.seitenkopf__text { max-width: calc(var(--breite) + 2 * var(--rand)); margin: 0 auto; padding: clamp(2rem, 4vw, 3.25rem) var(--rand) 0; }
.seitenkopf__text h1 { max-width: 18ch; }
.seitenkopf__einleitung { font-size: clamp(1.15rem, 1rem + .55vw, 1.45rem); line-height: 1.45; max-width: 40rem; color: var(--pizarra-tief); margin-bottom: 0; }
.seitenkopf--schlicht { background: var(--nebel); }
.seitenkopf--schlicht .seitenkopf__text { padding-bottom: clamp(2rem, 4vw, 3.25rem); }
.seitenkopf--bildung .seitenkopf__ober { color: #B86800; }
.seitenkopf--umwelt .seitenkopf__ober { color: #2D7F25; }
.seitenkopf--ernaehrung .seitenkopf__ober { color: #00739A; }

/* Unterseiten-Navigation */
.unterseiten { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 760px) { .unterseiten { grid-template-columns: repeat(3, 1fr); } }
.unterseiten a { display: flex; flex-direction: column; gap: .2rem; padding: 1.25rem 1.4rem; background: var(--nebel); text-decoration: none; color: var(--text); border-top: 4px solid var(--lima); }
.unterseiten a:hover { background: #e6ebe2; }
.unterseiten strong { font-family: var(--schrift-titel); font-size: 1.3rem; color: var(--pizarra-tief); }

/* Themenblöcke (Engagement) */
.themenblöcke { display: grid; gap: 1.5rem; }
@media (min-width: 900px) { .themenblöcke { grid-template-columns: repeat(3, 1fr); } }
.themenblock { --farbe: var(--bildung); padding: 1.75rem; border-top: 6px solid var(--farbe); background: var(--nebel); }
.themenblock--umwelt { --farbe: var(--umwelt); }
.themenblock--ernaehrung { --farbe: var(--ernaehrung); }
.themenblock__icon { display: grid; place-items: center; width: 60px; height: 60px; background: var(--farbe); color: #fff; margin-bottom: 1.1rem; }
.themenblock__icon .icon { width: 38px; height: 38px; }
.themenblock h2 { font-size: 1.5rem; }
.themenblock p { font-size: 1rem; }

/* Listen */
.listen { display: grid; gap: 2rem 4rem; }
@media (min-width: 900px) { .listen { grid-template-columns: 1fr 1fr; } }
.listen h2 { font-size: 1.5rem; }
.listen h2 + p { margin-top: -.25rem; }
.listen section > h2:not(:first-child) { margin-top: 2rem; }
.hakenliste { list-style: none; padding: 0; margin: 0 0 1em; }
.hakenliste li { position: relative; padding: .35rem 0 .35rem 1.9rem; border-bottom: 1px solid var(--linie); }
.hakenliste li::before { content: ""; position: absolute; left: .2rem; top: .78em; width: .7rem; height: .38rem; border: solid var(--lima-text); border-width: 0 0 2.5px 2.5px; transform: rotate(-45deg); }
.schritte { padding-left: 1.4rem; }
.schritte li { padding: .3rem 0; }
.hinweis { background: var(--nebel); border-left: 5px solid var(--lima); padding: 1.25rem 1.5rem; margin: 1.75rem 0; }
.hinweis > :last-child { margin-bottom: 0; }
.hinweis--gruen { border-color: var(--umwelt); max-width: var(--text-breite); }
.hinweis--entwurf { border-color: var(--bildung); background: #FFF4E3; }
.gross-danke { font-family: var(--schrift-titel); font-size: 1.6rem; font-weight: 750; color: var(--pizarra-tief); }
.kasten { background: var(--nebel); padding: 1.75rem; }
.kasten h2 { font-size: 1.5rem; }
.rechtstext h2 { font-size: 1.35rem; margin-top: 1.6em; }

/* ---------- Slider ---------- */
.slider { position: relative; }
.slider__kopf { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.slider__titel { margin: 0; font-size: 1.3rem; }
.slider__titel span { font-family: var(--schrift); font-weight: 400; font-size: .9rem; color: var(--text-leise); margin-left: .35rem; white-space: nowrap; }
.slider__pfeile { display: flex; gap: .5rem; flex: none; }
.slider__spur { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: 0; scrollbar-width: thin; scrollbar-color: var(--lima) var(--nebel); padding-bottom: 10px; margin-right: calc(-1 * var(--rand)); padding-right: var(--rand); }
.slider__spur::-webkit-scrollbar { height: 6px; }
.slider__spur::-webkit-scrollbar-thumb { background: var(--lima); }
.slider__bild { flex: none; height: clamp(220px, 36vw, 400px); aspect-ratio: var(--r); scroll-snap-align: start; background: var(--nebel); max-width: 86vw; overflow: hidden; }
.slider__bild img { width: 100%; height: 100%; object-fit: cover; transition: opacity .2s; }
.slider__bild:hover img { opacity: .9; }
.slider__mehr { margin-top: 1rem; }
@media (max-width: 600px) { .slider__pfeile { display: none; } }

/* ---------- Kachelwand ---------- */
.galerie { margin-top: 1rem; }
.wand { display: flex; flex-wrap: wrap; gap: 8px; }
.wand::after { content: ""; flex-grow: 999; }
.wand__kachel { flex-grow: var(--r); flex-basis: calc(var(--r) * 100px); display: block; background: var(--nebel); overflow: hidden; }
.wand__kachel:first-child { flex-basis: 100%; }
.wand__kachel:first-child img { aspect-ratio: auto; max-height: 78vh; }
.wand__kachel[hidden] { display: none; }
.wand__kachel img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: var(--r); transition: transform .4s ease; }
.wand__kachel:hover img { transform: scale(1.025); }
@media (min-width: 700px) { .wand { gap: 10px; } .wand__kachel { flex-basis: calc(var(--r) * 260px); } }
@media (min-width: 1100px) { .wand__kachel { flex-basis: calc(var(--r) * 300px); } .wand__kachel:first-child { flex-basis: 100%; } }
.wand__mehr { margin-top: 1.25rem; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(18,24,28,.97); color: #fff; display: grid; grid-template-rows: 1fr auto; touch-action: none; }
.lightbox[hidden] { display: none; }
.lightbox__buehne { position: relative; overflow: hidden; display: grid; place-items: center; padding: 56px 72px 8px; }
.lightbox__bild { max-width: 100%; max-height: calc(100vh - 120px); max-height: calc(100dvh - 120px); width: auto; height: auto; object-fit: contain; user-select: none; -webkit-user-drag: none; transform-origin: center; transition: transform .2s ease, opacity .2s; }
.lightbox.ist-zoom .lightbox__bild { transition: none; cursor: grab; }
.lightbox__text { margin: 0; padding: .25rem 1.5rem 0; text-align: center; font-size: .95rem; color: #dfe5e0; min-height: 0; }
.lightbox__zaehler { margin: 0; padding: .4rem 1rem 1rem; text-align: center; font-size: .9rem; color: #b9c3bc; font-variant-numeric: tabular-nums; }
.lightbox__knopf { position: absolute; width: 52px; height: 52px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; cursor: pointer; }
.lightbox__knopf:hover { background: rgba(255,255,255,.22); }
.lightbox__knopf .icon { width: 26px; height: 26px; }
.lightbox__zu { top: 10px; right: 12px; }
.lightbox__zurueck { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__vor { right: 12px; top: 50%; transform: translateY(-50%); }
@media (max-width: 700px) {
  .lightbox__buehne { padding: 56px 0 4px; }
  .lightbox__zurueck, .lightbox__vor { top: auto; bottom: 8px; transform: none; width: 46px; height: 46px; }
  .lightbox__zaehler { padding-bottom: 1.4rem; }
}

/* ---------- Timeline ---------- */
.inhalt--breit > * + * { margin-top: 1.5rem; }
.jahresnav { display: flex; flex-wrap: wrap; gap: .4rem; position: sticky; top: var(--kopf-hoehe); z-index: 5; background: rgba(255,255,255,.96); padding: .75rem 0; border-bottom: 1px solid var(--linie); }
.jahresnav a { padding: .3rem .65rem; font-weight: 700; font-size: .95rem; text-decoration: none; color: var(--pizarra); border: 1px solid var(--linie); border-radius: 99px; font-variant-numeric: tabular-nums; }
.jahresnav a:hover { border-color: var(--pizarra); }
@media (max-width: 700px) { .jahresnav { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: calc(-1 * var(--rand)); } .jahresnav::-webkit-scrollbar { display: none; } }
.zeitleiste__jahr { display: grid; grid-template-columns: 1fr; gap: 1rem 3rem; padding: 2.5rem 0; border-bottom: 1px solid var(--linie); }
.zeitleiste__zahl { font-size: clamp(3rem, 2rem + 4vw, 5.5rem); font-weight: 800; color: var(--lima); margin: 0; line-height: .9; font-variant-numeric: tabular-nums; letter-spacing: -.03em; }
.zeitleiste__eintraege { display: grid; gap: 2.5rem; }
@media (min-width: 900px) {
  .zeitleiste__jahr { grid-template-columns: 11rem 1fr; }
  .zeitleiste__zahl { position: sticky; top: calc(var(--kopf-hoehe) + 4.5rem); align-self: start; }
  .zeitleiste__eintraege .karte { display: grid; grid-template-columns: minmax(0, 22rem) 1fr; gap: 1.75rem; align-items: start; }
  .zeitleiste__eintraege .karte__text { padding-top: 0; }
}

/* ---------- Beitrag ---------- */
.beitrag { max-width: calc(var(--breite) + 2 * var(--rand)); margin: 0 auto; padding: clamp(1.5rem, 3vw, 2.5rem) var(--rand) clamp(3rem, 6vw, 5rem); }
.beitrag__kopf { max-width: 52rem; }
.beitrag__zurueck { margin: 0 0 1.5rem; }
.beitrag__zurueck a { display: inline-flex; align-items: center; gap: .3rem; font-weight: 700; text-decoration: none; color: var(--pizarra); }
.beitrag__zurueck .icon { width: 1.1em; height: 1.1em; }
.beitrag__datum { margin: 0 0 .5rem; font-family: var(--schrift-titel); font-weight: 650; color: var(--lima-text); font-size: 1.1rem; }
.beitrag__kopf h1 { font-size: clamp(2.1rem, 1.4rem + 3vw, 4rem); }
.beitrag__titelbild { margin: 2rem 0 0; }
.beitrag__titelbild img { width: 100%; max-height: 82vh; object-fit: cover; }
.beitrag__titelbild a { display: block; }
.beitrag__text { max-width: var(--text-breite); margin-top: clamp(2rem, 4vw, 3rem); }
.beitrag__text h2 { margin-top: 1.6em; font-size: 1.7rem; }
.beitrag__text h3, .beitrag__text h4 { margin-top: 1.4em; }
.beitrag__text hr { border: 0; border-top: 1px solid var(--linie); margin: 2rem 0; }
.beitrag__text blockquote { margin: 1.5rem 0; padding-left: 1.25rem; border-left: 4px solid var(--lima); font-style: italic; }
.beitrag__galerietitel { margin-top: clamp(2.5rem, 5vw, 4rem); font-size: 1.6rem; }
.beitrag__galerietitel span { font-family: var(--schrift); font-size: 1rem; font-weight: 400; color: var(--text-leise); }
.blaettern { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-top: clamp(3rem, 6vw, 4.5rem); padding-top: 1.5rem; border-top: 2px solid var(--pizarra); }
@media (min-width: 700px) { .blaettern { grid-template-columns: 1fr 1fr; } .blaettern__link--vor { text-align: right; } }
.blaettern__link { text-decoration: none; display: flex; flex-direction: column; gap: .2rem; color: var(--text); padding: .5rem 0; }
.blaettern__link span { font-size: .9rem; color: var(--text-leise); }
.blaettern__link strong { font-family: var(--schrift-titel); font-size: 1.25rem; color: var(--pizarra-tief); }
.blaettern__link:hover strong { text-decoration: underline; text-decoration-color: var(--lima); }

/* ---------- Spenden ---------- */
.betraege { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .betraege { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1050px) { .betraege { grid-template-columns: repeat(3, 1fr); } }
.betrag { padding: 1.5rem 0 0; border-top: 2px solid var(--pizarra); }
.betrag__summe { font-family: var(--schrift-titel); font-size: clamp(2.6rem, 2rem + 2.4vw, 3.6rem); font-weight: 800; color: var(--lima-text); line-height: 1; margin: 0 0 .6rem; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.betrag h3 { font-size: 1.25rem; }
.betrag p:last-child { font-size: 1rem; }
.spendenwege__liste { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .spendenwege__liste { grid-template-columns: 1fr 1.3fr .9fr; } }
.spendenweg { background: var(--nebel); padding: 1.6rem; }
.spendenweg h3 { font-size: 1.3rem; }
.spendenweg--giro img { width: 150px; margin-bottom: .75rem; background: #fff; padding: 6px; }
.bankdaten { display: grid; grid-template-columns: auto 1fr; gap: .3rem 1rem; margin: 0 0 1rem; }
.bankdaten dt { color: var(--text-leise); font-size: .92rem; padding-top: .1em; }
.bankdaten dd { margin: 0; font-weight: 700; min-width: 0; }
.spendenwege__liste > *, .zweispaltig > *, .freiwillige > * { min-width: 0; }
.iban { font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 480px) { .iban { white-space: normal; } .kopierknopf { margin: .35rem 0 0; } }

/* Sponsoren */
.sponsoren { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 760px) { .sponsoren { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .sponsoren { grid-template-columns: repeat(3, 1fr); } }
.sponsor { margin: 0; padding: 1.6rem; background: var(--nebel); display: flex; flex-direction: column; }
.sponsor__logo { height: 96px; display: flex; align-items: center; margin-bottom: 1.25rem; background: #fff; padding: .75rem 1rem; }
.sponsor__logo img { max-height: 72px; width: auto; max-width: 100%; object-fit: contain; }
.sponsor__logo--name { font-family: var(--schrift-titel); font-weight: 800; font-size: 1.5rem; color: var(--pizarra-tief); }
.sponsor__logo--name a { text-decoration: none; }
.sponsor__logo--frei { background: transparent; padding: 0; }
.sponsor blockquote { margin: 0 0 1rem; flex: 1; font-size: 1.02rem; line-height: 1.55; }
.sponsor blockquote p::before { content: "„"; } .sponsor blockquote p::after { content: "“"; }
.sponsor figcaption { display: flex; flex-direction: column; font-size: .95rem; }
.sponsor figcaption span { color: var(--text-leise); }
.sponsor--aufruf { background: #fff; border: 2px dashed var(--lima); }
.sponsor--aufruf .knopf { align-self: flex-start; margin-top: 1.25rem; }

/* Mitmachen */
.wege { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 760px) { .wege { grid-template-columns: repeat(2, 1fr); } .weg--spenden { grid-column: 1 / -1; } }
@media (min-width: 1100px) { .wege { grid-template-columns: repeat(3, 1fr); } }
.weg { padding: 1.6rem; background: var(--nebel); border-top: 4px solid var(--lima); }
.weg h2 { font-size: 1.45rem; }
.weg p { font-size: 1rem; }
.weg--spenden { background: var(--pizarra-tief); color: #E9EEE6; border-top-color: var(--bildung); }
.weg--spenden h2 { color: #fff; font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); max-width: 22ch; }
.weg--spenden p { max-width: 46rem; font-size: 1.05rem; }
.weg--spenden .knopf { background: var(--lima); border-color: var(--lima); color: var(--pizarra-tief); }

/* Kontakt */
.kontaktwege { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 800px) { .kontaktwege { grid-template-columns: repeat(3, 1fr); } }
.kontaktweg { display: flex; gap: 1rem; align-items: flex-start; padding: 1.4rem; border: 2px solid var(--linie); text-decoration: none; color: var(--text); }
a.kontaktweg:hover { border-color: var(--pizarra); }
.kontaktweg .icon { width: 36px; height: 36px; color: var(--lima-text); }
.kontaktweg span { display: flex; flex-direction: column; overflow-wrap: anywhere; }
.kontaktweg strong { font-family: var(--schrift-titel); font-size: 1.2rem; color: var(--pizarra-tief); }

/* ---------- Solarprojekt ---------- */
.solarheld { position: relative; }
.solarheld__medien { position: relative; height: clamp(320px, 70vh, 780px); overflow: hidden; background: var(--pizarra-tief); }
.solarheld__medien img, .solarheld__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.solarheld__video { opacity: 0; transition: opacity .8s; }
.solarheld__video.ist-bereit { opacity: 1; }
.solarheld__text { max-width: calc(var(--breite) + 2 * var(--rand)); margin: 0 auto; padding: clamp(2rem, 4vw, 3.25rem) var(--rand) 0; }
.solarheld__text h1 { max-width: 16ch; font-size: clamp(2.2rem, 1.4rem + 3.4vw, 4.4rem); }
.solarheld__text .knopfreihe { margin-top: 1.75rem; }
.vorhernachher { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 760px) { .vorhernachher { grid-template-columns: 1fr 1fr; } }
.vorhernachher figure { margin: 0; position: relative; }
.vorhernachher img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.vorhernachher figcaption { position: absolute; left: 0; top: 0; background: var(--pizarra-tief); color: #fff; font-weight: 700; padding: .4rem .8rem; font-size: .95rem; }
.vorhernachher figure + figure figcaption { background: var(--lima); color: var(--pizarra-tief); }
.stand h2, .material h2 { font-size: clamp(1.7rem, 1.3rem + 1.5vw, 2.6rem); max-width: 26ch; }
.stand__satz { font-size: 1.2rem; color: var(--pizarra-tief); max-width: var(--text-breite); }
.bausteine { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .75rem; grid-template-columns: 1fr; counter-reset: b; }
@media (min-width: 800px) { .bausteine { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1150px) { .bausteine { grid-template-columns: repeat(3, 1fr); } }
.baustein { display: grid; grid-template-columns: auto 1fr; gap: .25rem 1rem; padding: 1.1rem 1.25rem; border-left: 6px solid var(--offen); background: #FFF4E3; align-items: center; }
.baustein__marke { grid-row: span 2; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--offen); color: #fff; }
.baustein__marke .icon { width: 26px; height: 26px; }
.baustein__titel { font-weight: 700; line-height: 1.35; color: var(--pizarra-tief); }
.baustein__status { font-size: .88rem; font-weight: 700; color: #A35F00; }
.baustein.ist-geschafft { border-left-color: var(--geschafft); background: #EAF5E6; }
.baustein.ist-geschafft .baustein__marke { background: var(--geschafft); }
.baustein.ist-geschafft .baustein__status { color: #2A7322; }
.freiwillige { display: grid; gap: 2rem 3.5rem; grid-template-columns: 1fr; padding: clamp(1.75rem, 4vw, 3rem); background: var(--nebel); }
@media (min-width: 900px) { .freiwillige { grid-template-columns: auto 1fr; align-items: center; } }
.freiwillige__fotos { display: flex; gap: 1rem; }
.freiwillige__fotos figure { margin: 0; text-align: center; font-weight: 700; }
.freiwillige__fotos img { width: clamp(120px, 18vw, 190px); aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 5px solid #fff; margin-bottom: .5rem; }
.freiwillige h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.finanzierung { margin: 1.5rem 0; }
.finanzierung__zahl { font-size: 1.15rem; margin-bottom: .5rem; }
.finanzierung__zahl strong { font-family: var(--schrift-titel); font-size: 2rem; color: var(--lima-text); font-variant-numeric: tabular-nums; }
.finanzierung__rest { margin: .6rem 0 0; font-size: .98rem; }
.freiwillige__logo { width: 140px; height: auto; mix-blend-mode: multiply; }
.materialliste { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .materialliste { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .materialliste { grid-template-columns: repeat(4, 1fr); } }
.materialkachel { padding: 1.25rem 1.3rem 1.4rem; background: #FFF4E3; border-top: 6px solid var(--offen); }
.materialkachel h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.materialkachel p { font-size: .95rem; margin: 0; line-height: 1.5; }
.materialkachel__marke { display: inline-flex; align-items: center; gap: .4rem; font-size: .85rem; font-weight: 700; color: #A35F00; margin-bottom: .7rem; }
.materialkachel__marke .icon { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--offen); color: #fff; }
.materialkachel.ist-geschafft { background: #EAF5E6; border-top-color: var(--geschafft); }
.materialkachel.ist-geschafft .materialkachel__marke { color: #2A7322; }
.materialkachel.ist-geschafft .materialkachel__marke .icon { background: var(--geschafft); }
.materialkachel.ist-geschafft h3 { color: #2A5A24; }

/* ---------- Spendenaufruf ---------- */
.aufruf { background: var(--pizarra-tief); color: #E9EEE6; }
.aufruf__innen { max-width: calc(var(--breite) + 2 * var(--rand)); margin: 0 auto; padding: clamp(2.5rem, 5vw, 4rem) var(--rand); display: grid; gap: 1.5rem 3rem; align-items: center; }
@media (min-width: 900px) { .aufruf__innen { grid-template-columns: 1fr auto; } }
.aufruf h2 { color: #fff; font-size: clamp(1.7rem, 1.3rem + 1.5vw, 2.5rem); }
.aufruf p { margin: 0; max-width: 40rem; }
.aufruf__knoepfe { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- Fähnchen am rechten Rand ---------- */
.fahnen { position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 40; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; pointer-events: none; }
.fahne { --farbe: var(--bildung); pointer-events: auto; display: flex; align-items: center; height: 60px; width: 60px; overflow: hidden; background: var(--farbe); color: #fff; text-decoration: none; border: 0; padding: 0; cursor: pointer; font: inherit; text-align: left; box-shadow: -4px 4px 18px -8px rgba(0,0,0,.45); transition: width .28s cubic-bezier(.2,.7,.2,1); }
.fahne--spenden { --farbe: var(--lima); color: var(--pizarra-tief); }
.fahne--umwelt { --farbe: var(--umwelt); }
.fahne--ernaehrung { --farbe: var(--ernaehrung); }
.fahne__icon { flex: none; width: 60px; height: 60px; display: grid; place-items: center; }
.fahne__icon .icon { width: 34px; height: 34px; }
.fahne__text { flex: none; width: 250px; padding-right: 1rem; display: flex; flex-direction: column; line-height: 1.25; opacity: 0; transition: opacity .2s; }
.fahne__text strong { font-family: var(--schrift-titel); font-size: 1.15rem; }
.fahne__text span { font-size: .85rem; }
.fahne:hover, .fahne:focus-visible, .fahne.ist-offen { width: 310px; }
.fahne:hover .fahne__text, .fahne:focus-visible .fahne__text, .fahne.ist-offen .fahne__text { opacity: 1; }
.fahne:focus-visible { outline-offset: -4px; outline-color: #fff; }
@media (max-width: 760px) {
  /* Auf dem Handy: feste Leiste am unteren Rand statt Fähnchen – verdeckt keinen Text */
  body { padding-bottom: calc(58px + env(safe-area-inset-bottom)); }
  .fahnen { top: auto; bottom: 0; left: 0; right: 0; transform: none; flex-direction: row; align-items: stretch; gap: 0; background: var(--pizarra-tief); padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -6px 20px -10px rgba(0,0,0,.4); }
  .fahne { flex: 1; width: auto; height: 58px; flex-direction: column; justify-content: center; gap: 1px; box-shadow: none; }
  .fahne--spenden { flex: 1.35; }
  .fahne__icon { width: auto; height: 30px; }
  .fahne__icon .icon { width: 26px; height: 26px; }
  .fahne__text { width: auto; opacity: 1; padding: 0; align-items: center; }
  .fahne__text strong { font-family: var(--schrift); font-size: .78rem; font-weight: 700; }
  .fahne__text span { display: none; }
  .fahne:hover, .fahne:focus-visible, .fahne.ist-offen { width: auto; }
  .ist-menue-offen .fahnen { display: none; }
  .consent { bottom: calc(58px + env(safe-area-inset-bottom)); padding: .5rem; }
}
@media (hover: none) and (min-width: 761px) { .fahne:hover:not(.ist-offen) { width: 60px; } .fahne:hover:not(.ist-offen) .fahne__text { opacity: 0; } }

/* ---------- Spendenpanel ---------- */
.spendenpanel { position: fixed; inset: 0; z-index: 120; }
.spendenpanel[hidden] { display: none; }
.spendenpanel__hinter { position: absolute; inset: 0; background: rgba(18,24,28,.55); }
.spendenpanel__karte { position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: #fff; overflow-y: auto; padding: 2rem 1.75rem 2.5rem; box-shadow: -20px 0 50px -20px rgba(0,0,0,.4); animation: einfahren .25s ease; }
@keyframes einfahren { from { transform: translateX(40px); opacity: .6; } }
.spendenpanel__karte h2 { font-size: 1.8rem; padding-right: 3rem; }
.spendenpanel__karte h3 { font-size: 1.1rem; margin-bottom: .6rem; }
.spendenpanel__zu { position: absolute; top: 1rem; right: 1rem; width: 46px; height: 46px; border: 0; background: var(--nebel); border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: var(--pizarra); }
.spendenpanel__zu .icon { width: 24px; height: 24px; }
.spendenpanel__weg { padding: 1.25rem 0; border-top: 1px solid var(--linie); }
.spendenpanel__giro { display: flex; gap: 1rem; align-items: center; }
.spendenpanel__giro img { width: 110px; flex: none; }
.spendenpanel__giro p { margin: 0; font-size: .95rem; }

/* ---------- Consent ---------- */
.consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 150; padding: 1rem; display: flex; justify-content: center; pointer-events: none; }
.consent[hidden] { display: none; }
.consent__karte { pointer-events: auto; width: min(46rem, 100%); background: #fff; border-top: 6px solid var(--lima); box-shadow: 0 -10px 50px -10px rgba(18,24,28,.45); padding: 1.5rem 1.6rem 1.4rem; max-height: 85vh; overflow-y: auto; }
.consent__karte h2 { font-size: 1.4rem; margin-bottom: .4rem; }
.consent__karte p { font-size: .98rem; }
.consent__optionen { display: grid; gap: .6rem; }
.schalter { display: grid; grid-template-columns: auto 1fr; gap: 0 .75rem; align-items: center; padding: .5rem .75rem; background: var(--nebel); cursor: pointer; }
.schalter input { width: 22px; height: 22px; grid-row: span 2; accent-color: var(--pizarra); }
.schalter span { font-weight: 700; }
.schalter small { color: var(--text-leise); font-size: .85rem; }
.consent__knoepfe { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .6rem; justify-content: flex-end; }
.consent__knoepfe .knopf { min-height: 46px; padding: .55em 1.1em; }
.consent:not(.ist-detail) .schalter, .consent:not(.ist-detail) [data-consent="auswahl"] { display: none; }

/* ---------- Fußbereich ---------- */
.fuss { background: var(--pizarra-tief); color: #D9E0DA; margin-top: 0; }
.fuss__innen { max-width: calc(var(--breite) + 2 * var(--rand)); margin: 0 auto; padding: clamp(2.5rem, 5vw, 4rem) var(--rand) 2rem; display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .fuss__innen { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .fuss__innen { grid-template-columns: 1.05fr .9fr 1.4fr 1fr; gap: 2.5rem 2rem; } }
.fuss h2 { color: #fff; font-size: 1.15rem; margin-bottom: .8rem; }
.fuss h2:not(:first-child) { margin-top: 1.75rem; }
.fuss a { color: #fff; text-decoration-color: var(--lima); }
.fuss address { font-style: normal; line-height: 1.7; }
.fuss__marke img { width: 150px; margin-bottom: 1rem; }
.fuss__marke p { font-size: .95rem; max-width: 22rem; }
.fuss__sozial { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin-top: 1rem; }
.fuss__sozial a { display: inline-flex; align-items: center; gap: .45rem; text-decoration: none; }
.fuss .bankdaten dt { color: #A9B6AE; }
.fuss .bankdaten dd { color: #fff; }
.fuss .iban { white-space: normal; }
.fuss .klein { color: #B4C0B8; }
.girocode { margin: 0; display: flex; gap: .9rem; align-items: center; }
.girocode img { width: 92px; background: #fff; padding: 4px; }
.girocode figcaption { font-size: .85rem; color: #B4C0B8; max-width: 10rem; }
.fuss .paypal { margin-bottom: .6rem; }
.fuss__unten { max-width: calc(var(--breite) + 2 * var(--rand)); margin: 0 auto; padding: 1.25rem var(--rand) 2rem; border-top: 1px solid rgba(255,255,255,.15); display: flex; flex-wrap: wrap; gap: .5rem 2rem; justify-content: space-between; font-size: .92rem; }
.fuss__unten p { margin: 0; }
.fuss__unten ul { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin: 0; padding: 0; }
.fuss__unten button { color: #fff; }

/* Druck */
/* Footer: alle Texte einheitlich wie der Text unter dem Logo; nur die drei Spaltentitel fett */
.fuss__innen, .fuss__unten { font-size: .95rem; line-height: 1.6; color: #D9E0DA; }
.fuss__innen *, .fuss__unten * { font-size: inherit; line-height: inherit; }
.fuss h2 { font-family: var(--schrift); font-size: inherit; line-height: inherit; font-weight: 400; color: #D9E0DA; letter-spacing: 0; margin: 0 0 .5rem; }
.fuss h2.fuss__titel { font-weight: 700; color: #fff; }
.fuss h2:not(:first-child) { margin-top: 1.6rem; }
.fuss address, .fuss p, .fuss .bankdaten, .fuss .klein, .girocode figcaption { font-size: inherit; line-height: inherit; color: #D9E0DA; }
.fuss .bankdaten { gap: 0 1rem; }
.fuss .bankdaten dt, .fuss .bankdaten dd { color: #D9E0DA; font-weight: 400; padding-top: 0; }
.fuss a, .fuss .linkknopf, .fuss__unten button { color: #D9E0DA; }
.fuss .knopf { font-size: inherit; }
.fuss__marke p { max-width: 22rem; }

/* ---------- Formular: Mitgliedsantrag ---------- */
.antrag { scroll-margin-top: calc(var(--kopf-hoehe) + 1rem); }
.formular { display: grid; gap: 1.75rem; margin-top: 1.5rem; }
.formular__honig { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.gruppe { border: 0; margin: 0; padding: 0; display: grid; gap: 1rem; min-width: 0; }
.gruppe legend { font-family: var(--schrift-titel); font-weight: 750; font-stretch: 92%; font-size: 1.3rem; color: var(--pizarra-tief); padding: 0 0 .5rem; margin-bottom: .25rem; border-bottom: 3px solid var(--lima); width: 100%; }
.reihe { display: grid; gap: 1rem; align-items: start; }
@media (min-width: 560px) {
  .reihe--2 { grid-template-columns: 1fr 1fr; }
  .reihe--plz { grid-template-columns: 8rem 1fr; }
  .reihe--betrag { grid-template-columns: 10rem 1fr; align-items: start; }
}
.feld { display: grid; gap: .3rem; min-width: 0; align-content: start; }
.feld > label, .feld__label { font-weight: 700; font-size: .95rem; color: var(--pizarra-tief); }
.optional { font-weight: 400; color: var(--text-leise); }
.formular input[type="text"], .formular input:not([type]), .formular input[type="email"], .formular input[type="tel"], .formular input[type="date"] {
  width: 100%; min-height: 48px; padding: .6rem .8rem; font: inherit; font-size: 1rem; color: var(--text); background: #fff;
  border: 2px solid #AEB8AC; border-radius: var(--radius); }
.formular input:focus-visible { outline: 3px solid var(--titicaca); outline-offset: 1px; border-color: var(--pizarra); }
.formular input[aria-invalid="true"] { border-color: var(--magenta); background: #FFF6FA; }
.feld__hilfe { font-size: .9rem; color: var(--text-leise); margin: 0; line-height: 1.45; }
.feld__fehler { font-size: .92rem; font-weight: 700; color: #A3124F; margin: .1rem 0 0; line-height: 1.4; }
.wahl { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.wahl__option, .haken { display: flex; gap: .6rem; align-items: flex-start; cursor: pointer; line-height: 1.45; }
.wahl__option { align-items: center; min-height: 44px; }
.formular input[type="radio"], .formular input[type="checkbox"] { width: 1.3rem; height: 1.3rem; margin: .12rem 0 0; flex: none; accent-color: var(--lima-text); }
.haken span { font-size: .98rem; }
.formular:has(input[name="beginn"][value="sofort"]:checked) .feld--datum { display: none; }
.feld--datum { max-width: 14rem; }
.gruppe--spende { background: var(--nebel); padding: 1.25rem; }
.gruppe--spende legend { float: left; margin-bottom: .75rem; }
.gruppe--spende legend + * { clear: both; }
.spende-felder { display: grid; gap: 1rem; padding-top: .5rem; }
.formular:has(#spende:not(:checked)) .spende-felder { display: none; }
.mandat { background: #fff; padding: 1rem 1.1rem; border-left: 4px solid var(--lima); font-size: .95rem; }
.mandat p { margin: 0 0 .75rem; }
.mandat__titel { font-weight: 700; color: var(--pizarra-tief); }
.formfehler { background: #FFF6FA; border-left: 5px solid var(--magenta); padding: 1rem 1.25rem; margin-top: 1rem; }
.formfehler:focus { outline: 3px solid var(--titicaca); outline-offset: 2px; }
.formfehler p { margin: 0 0 .4rem; }
.formfehler ul { margin: 0; padding-left: 1.2rem; }
.formular > .knopf { justify-self: start; }
.formular > .klein { margin: -1rem 0 0; }

@media print { .kopf, .fahnen, .fuss, .aufruf, .consent, .spendenpanel, .insta { display: none !important; } }
.entwurfsbanner { margin: 0; padding: .75rem var(--rand); background: var(--bildung); color: var(--pizarra-tief); font-weight: 700; text-align: center; }

/* Handy: Kopfbilder etwas flacher, damit die Überschrift sofort zu sehen ist */
@media (max-width: 700px) {
  .held__bild, .solarheld__medien, .seitenkopf__bild { height: 46vh; min-height: 250px; }
  .held__text { padding-top: 1.5rem; }
}

@media (min-width: 1200px) { .fuss .iban { white-space: nowrap; } }
.fuss .knopf { white-space: nowrap; }
.seitenkopf__bild { position: relative; container-type: size; }
.seitenkopf__foto { position: absolute; right: .6rem; bottom: .45rem; font-size: .72rem; line-height: 1.2; color: #fff; background: rgba(54,66,74,.55); padding: .15rem .45rem; border-radius: 3px; }

/* CAPTCHA (ALTCHA) im Mitgliedsantrag */
.captcha altcha-widget {
  --altcha-border-width: 2px;
  --altcha-border-radius: 4px;
  --altcha-color-base: #fff;
  --altcha-color-border: #AEB8AC;
  --altcha-color-text: var(--text);
  --altcha-color-border-focus: var(--pizarra);
  --altcha-color-error-text: #A3124F;
  --altcha-max-width: 100%;
  display: block;
}
.captcha:has([aria-invalid="true"]) altcha-widget, #feld-captcha:has(.feld__fehler) altcha-widget { --altcha-color-border: var(--magenta); }

/* Footer: beide Knöpfe (PayPal, Newsletter) gleich gestaltet und gleich breit */
.fuss .knopf--hell, .fuss a.knopf--hell { background: #fff; border-color: #fff; color: var(--pizarra-tief); width: 100%; max-width: 17rem; justify-content: center; }
.fuss .knopf--hell:hover, .fuss a.knopf--hell:hover { background: var(--lima); border-color: var(--lima); color: var(--pizarra-tief); }
.fuss .paypal { margin: 0; }
/* Instagram und Facebook in der untersten Zeile */
.fuss__unten .fuss__sozial { display: inline-flex; align-items: center; gap: .4rem; margin: 0; }
.fuss__unten .fuss__sozial .icon { width: 1.15em; height: 1.15em; flex: none; }
.weg--spenden a:not(.knopf) { color: #fff; text-decoration-color: var(--lima); text-underline-offset: .15em; }
.weg--spenden a:not(.knopf):hover { color: var(--lima); }
.spende-felder[hidden], .feld--datum[hidden] { display: none; }
