/* Friedensinitiative Langenau – gemeinsames Stylesheet */

/* ============================================================
   GESTALTUNGSREGELN DIESER WEBSITE (verbindlich – auch für neue Abschnitte)
   ------------------------------------------------------------
   ONE-PAGER: alles steht in index.php (#start #ziele #ueber-uns #termine #kontakt),
   Menü = Anker, weiches Scrollen + aktiver Menüpunkt per app.js, Einblenden per .reveal.
   Nur impressum.html/datenschutz.html sind eigene Seiten. Details: GESTALTUNG.md.
   ------------------------------------------------------------
   Warme Orangetöne; das Logo selbst ist unbunt (Dunkelgrau/Schwarzweiß-Foto):
     --orange      #c2410c  Hauptfarbe: Knöpfe, Nummern, Links, Linien unter Überschriften
     --orange-deep #7c2d12  Rostbraun: Fußzeile, Hover, Logo-Kontur
     --rust        #9a3412  zweiter Akzent: Datum-Zeilen, kleine Labels, Hover von Links
     --peach       #fbdcc0  Apricot für Kopfbereiche (hero, page-intro)
     --cream       #fff3e4  helles Creme für ruhige Bänder (goals, is-soft)
   KEIN Blau, KEIN Grün, KEIN Rot als Akzent – die alten Namen --accent/--red
   zeigen auf Orange/Rost, damit bestehende Regeln mitfärben.

   Bänder wechseln: Apricot (Kopf) → Weiß → Creme → Weiß → Rostbraun (Fuß).
   Jedes farbige Band trägt die Klasse .band-doves (Cremebänder zusätzlich
   .is-sand): ein sehr sparsames, blasses Muster aus der Silhouette der LOGO-Taube
   (2 Tauben je Kachel 620x500, ~6 %) und rechts unten dieselbe Taube groß
   (assets/img/). Reine Dekoration, nie über Text, nie dichter, nie kräftiger,
   keine andere Taubenform.

   Karten: weiß, 1px Linie in --line, Radius --radius, Schatten weich und leicht.
   Nummern (Forderungen): alle einfarbig Orange, keine Farbwechsel.
   Knöpfe: .btn Orange mit weißer Schrift; .btn-secondary weiß mit oranger Kontur.
   Kontrast: Fließtext auf Apricot/Creme nur in --ink oder --muted.

   Termine/Rückblicke: nur über partials/termin-karte.php in .tk-list, immer
   untereinander (Datumskachel | Inhalt | Bild). Ziele: .goal-card mit automatischer
   Ghost-Nummer, sechste Zelle = .goal-card.is-cta.

   Neue Seite? → page-intro als Apricot-Band mit .band-doves, dann Inhalt in
   Weiß, ruhige Abschnitte in Creme (.is-soft .band-doves .is-sand). Diese Datei
   nicht umbauen, sondern ergänzen.
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
body { overflow-x: hidden; }
img, video { max-width: 100%; height: auto; display: block; }

:root {
  --orange: #c2410c;
  --orange-deep: #7c2d12;
  --rust: #9a3412;
  --rust-dark: #7c2d12;
  --peach: #fbdcc0;
  --peach-soft: #fdeee2;
  --cream: #fff3e4;
  --cream-deep: #f7e3c8;
  /* Alte Namen bleiben gültig und zeigen auf die neue Palette */
  --accent: var(--orange);
  --accent-dark: var(--orange-deep);
  --red: var(--rust);
  --red-dark: var(--rust-dark);
  --ink: #2a1f18;
  --muted: #5b4638;
  --line: #efdccb;
  --bg-soft: var(--cream);
  --radius: 10px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

body {
  font-family: var(--font);
  color: var(--ink);
  background: #fff;
  line-height: 1.7;
  font-size: 17px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1 0 auto;
}

body.lightbox-open {
  overflow: hidden;
}

h1, h2, h3, h4 {
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0 0 0.5em;
  color: var(--ink);
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.2rem; }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1em; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

:focus-visible {
  outline: 3px solid var(--accent-dark);
  outline-offset: 2px;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 108px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  color: var(--ink);
}
.brand:hover { text-decoration: none; }

.brand img {
  height: 96px;
  width: auto;
  flex: none;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  min-width: 0;
}

.brand-text strong {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

.brand-text span {
  font-size: 0.8rem;
  color: var(--muted);
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 500;
  padding: 8px 2px;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--accent);
  text-decoration: none;
}

.nav-links a.active {
  color: var(--accent);
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex: none;
}

.burger span,
.burger span::before,
.burger span::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.burger span::before { position: absolute; top: -6px; }
.burger span::after { position: absolute; top: 6px; }

@media (prefers-reduced-motion: reduce) {
  .burger span, .burger span::before, .burger span::after {
    transition: none;
  }
}

body.nav-open .burger span { background: transparent; }
body.nav-open .burger span::before { transform: translateY(6px) rotate(45deg); }
body.nav-open .burger span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 899px) {
  .burger {
    display: flex;
  }

  .main-nav {
    position: fixed;
    inset: 132px 0 0 0;
    background: #fff;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    overflow-y: auto;
  }

  body.nav-open .main-nav {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  @media (prefers-reduced-motion: reduce) {
    .main-nav { transition: none; }
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 24px 32px;
  }

  .nav-links a {
    display: block;
    padding: 14px 4px;
    border-bottom: 1px solid var(--line);
    font-size: 1.05rem;
  }
}

@media (max-width: 520px) {
  .brand img {
    height: 72px;
  }
  .brand {
    gap: 12px;
    padding-right: 8px;
  }
  /* Der Schriftzug lief unter den Menüknopf – er darf umbrechen. */
  .brand-text strong,
  .brand-text span {
    white-space: normal;
  }
  .brand-text strong {
    font-size: 0.98rem;
  }
  .brand-text span {
    font-size: 0.74rem;
  }
  .site-header .container {
    min-height: 92px;
  }
  .main-nav {
    inset: 92px 0 0 0;
  }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  min-height: 44px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.btn:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  text-decoration: none;
  color: #fff;
}
.btn.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn.btn-outline:hover {
  background: var(--bg-soft);
  color: var(--ink);
  border-color: var(--ink);
}

/* ===== Hero (geteilter Kopfbereich) ===== */
.hero {
  padding: clamp(56px, 8vw, 96px) 0 clamp(72px, 9vw, 128px);
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 6vw, 56px);
  align-items: center;
}

@media (min-width: 900px) {
  .hero .container {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

.hero-text {
  min-width: 0;
}

.hero-eyebrow {
  display: inline-block;
  color: var(--accent-dark);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  margin: 0 0 12px;
}

.hero-text h1 {
  margin-bottom: 0.4em;
}

.hero-lead {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 52ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}

.hero-media {
  min-width: 0;
}

.hero-media img {
  width: 100%;
  height: clamp(240px, 40vw, 420px);
  object-fit: cover;
  border-radius: calc(var(--radius) - 1px);
}

/* ===== Flacher Seiten-Auftakt für Unterseiten ===== */
.page-intro {
  padding: clamp(56px, 8vw, 88px) 0 clamp(48px, 6vw, 64px);
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}

.page-intro h1 {
  margin-bottom: 0.4em;
}

.page-intro p {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 65ch;
  margin: 0;
}

/* ===== Ziele (Startseite) ===== */
.goals {
  padding: clamp(72px, 9vw, 128px) 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.goals-head {
  max-width: 62ch;
  margin: 0 0 clamp(32px, 5vw, 48px);
}

.goals-head::after,
.latest-head::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  border-radius: 2px;
  margin-top: 16px;
  background: var(--accent);
}

.goals-head p {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 0;
}

.goals-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) {
  .goals-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1000px) {
  .goals-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .goal-card:nth-child(4) {
    grid-column: 1 / span 1;
  }
}

.goal-card {
  min-width: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.goal-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 1.05rem;
  flex: none;
}

/* Warme Orange- und Rottöne im Wechsel für die Kernforderungen */
/* Nummern einfarbig Blau – der frühere Orange/Rot-Wechsel hatte keine Bedeutung */

.goal-card h3 {
  margin: 0;
}

.goal-card p {
  color: var(--muted);
  margin: 0;
  font-size: 0.98rem;
}

.goals-more {
  margin-top: clamp(28px, 4vw, 40px);
}

/* ===== Ziele-Seite: ausführliche Liste ===== */
.goals-detail {
  padding: clamp(72px, 9vw, 128px) 0;
}

.goals-detail-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.goal-detail-item {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 32px);
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.goal-detail-item .goal-number {
  margin-top: 4px;
}

/* Nummern einfarbig Blau – der frühere Orange/Rot-Wechsel hatte keine Bedeutung */

.goal-detail-item h2 {
  margin: 0 0 10px;
}

.goal-detail-item p {
  color: var(--muted);
  margin: 0;
}

@media (max-width: 520px) {
  .goal-detail-item {
    flex-direction: column;
  }
}

.goals-cta {
  margin-top: clamp(40px, 6vw, 56px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
  padding: clamp(28px, 4vw, 36px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.goals-cta p {
  margin: 0;
  color: var(--muted);
  max-width: 48ch;
}

/* ===== Aktuelles (Startseite: kommende Termine + Rückblicke) ===== */
.latest {
  padding: clamp(72px, 9vw, 128px) 0;
}

.latest-head {
  max-width: 62ch;
  margin: 0 0 clamp(32px, 5vw, 48px);
}

.latest-head p {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 0;
}

.latest-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 5vw, 56px);
}

@media (min-width: 900px) {
  .latest-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.latest-col {
  min-width: 0;
}

.latest-col h3 {
  margin-bottom: 20px;
}

.latest-empty {
  color: var(--muted);
  margin: 0;
}

/* ===== Termine – gemeinsame Bausteine (Startseite + Terminseite) ===== */
.event-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.event-item {
  min-width: 0;
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 20px 24px;
  position: relative;
}

.event-item h4 {
  margin: 0 0 6px;
}

.event-date {
  color: var(--accent-dark);
  font-weight: 600;
  font-size: 0.9rem;
  margin: 0 0 6px;
}

.event-meta {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0 0 6px;
}

.event-text {
  color: var(--muted);
  font-size: 0.96rem;
  margin: 0;
}

.event-tag {
  display: inline-block;
  border: 1px dashed var(--muted);
  color: var(--muted);
  border-radius: var(--radius);
  font-size: 0.78rem;
  padding: 3px 9px;
  margin: 0 0 10px;
}

.review-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 640px) {
  .review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.review-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.review-card .lightbox-trigger {
  border: none;
  border-radius: 0;
}

.review-card .lightbox-trigger img {
  border-radius: 0;
  width: 100%;
  height: clamp(160px, 24vw, 220px);
  object-fit: cover;
}

.review-body {
  padding: 18px 22px 22px;
}

.review-body h4 {
  margin: 0 0 6px;
}

/* Rückblick-Text: erst gekürzt, per Knopf ganz aufklappbar */
.event-text-wrap {
  overflow: hidden;
  max-height: 4.9em;
}

.event-text-wrap.is-expanded {
  max-height: none;
}

.review-body .event-text {
  margin: 0;
}

.read-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  padding: 10px 0;
  min-height: 44px;
  border: none;
  background: none;
  color: var(--accent-dark);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
}

.read-more-btn:hover {
  text-decoration: underline;
}

.latest-more {
  margin-top: clamp(28px, 4vw, 40px);
}

/* ===== Terminseite: eigene Abschnitte ===== */
.events-section {
  padding: clamp(56px, 8vw, 96px) 0;
}

.events-section + .events-section {
  border-top: 1px solid var(--line);
}

.events-section.is-soft {
  background: var(--bg-soft);
}

.events-section h2 {
  margin-bottom: 12px;
}

.events-section-intro {
  color: var(--muted);
  max-width: 62ch;
  margin: 0 0 clamp(28px, 4vw, 40px);
}

/* ===== Über uns ===== */
.about-section {
  padding: clamp(72px, 9vw, 128px) 0;
}

.about-section + .about-section {
  border-top: 1px solid var(--line);
}

.about-section.is-soft {
  background: var(--bg-soft);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 6vw, 56px);
  align-items: center;
}

@media (min-width: 900px) {
  .about-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .about-grid.is-reverse .about-media {
    order: -1;
  }
}

.about-text {
  min-width: 0;
}

.about-text h2 {
  margin-bottom: 0.5em;
}

.about-text p {
  color: var(--muted);
  font-size: 1.02rem;
}

.about-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.about-list li {
  padding-left: 28px;
  position: relative;
  color: var(--muted);
  font-size: 1.02rem;
}

.about-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}

.about-list li:nth-child(2n)::before {
  background: var(--red-dark);
}

.about-media {
  min-width: 0;
}

.about-media img {
  width: 100%;
  height: clamp(240px, 36vw, 400px);
  object-fit: cover;
  border-radius: calc(var(--radius) - 1px);
}

.about-quote {
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  background: #fff;
  padding: 28px 32px;
  font-size: 1.15rem;
  color: var(--ink);
  max-width: 68ch;
}

.about-quote p {
  margin: 0;
  color: var(--ink);
}

/* ===== Kontakt ===== */
.contact-section {
  padding: clamp(72px, 9vw, 128px) 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: clamp(32px, 5vw, 48px);
}

@media (min-width: 640px) {
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .contact-grid:has(.contact-card:only-child) {
    grid-template-columns: minmax(0, 480px);
    justify-content: center;
  }
}

.contact-card {
  min-width: 0;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-card h2 {
  font-size: 1.15rem;
  margin: 0;
}

.contact-card p {
  color: var(--muted);
  margin: 0;
  font-size: 0.98rem;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--accent-dark);
  min-height: 44px;
}

.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  flex: none;
}
.contact-icon svg {
  width: 20px;
  height: 20px;
  display: block;
}

.contact-card:nth-child(2n) .contact-icon {
  background: var(--red-dark);
}
.contact-card:nth-child(2n) .contact-link {
  color: var(--red-dark);
}

.contact-note {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 28px;
  max-width: 72ch;
}

.contact-note h2 {
  font-size: 1.15rem;
  margin-bottom: 0.4em;
}

.contact-note p {
  color: var(--muted);
  margin: 0 0 0.6em;
}

.contact-note p:last-child {
  margin-bottom: 0;
}

/* ===== Rechtstexte (Impressum/Datenschutz) ===== */
.legal-section {
  padding: clamp(56px, 8vw, 96px) 0 clamp(72px, 9vw, 112px);
}

.legal-section .container {
  max-width: 780px;
}

.legal-section h2 {
  margin-top: 2em;
}

.legal-section h2:first-of-type {
  margin-top: 0;
}

.legal-section p,
.legal-section li {
  color: var(--muted);
}

.legal-section ul {
  padding-left: 22px;
}

.legal-section mark {
  background: #fef3c7;
  color: var(--ink);
  padding: 1px 6px;
  border-radius: 4px;
  font-style: normal;
}

/* ===== Fußzeile ===== */
.site-footer {
  flex: none;
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
  padding: 48px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 900px) {
  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr;
  }
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}

.footer-brand img {
  height: 64px;
  width: auto;
  flex: none;
}

.footer-brand strong {
  display: block;
  color: var(--ink);
  font-weight: 600;
}

.footer-brand p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--ink);
  font-size: 0.95rem;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--accent);
}

.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-copy {
  color: var(--muted);
  font-size: 0.85rem;
  margin: 0;
}

/* ===== Lightbox ===== */
.lightbox-trigger {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: none;
  padding: 0;
  margin: 0;
  cursor: zoom-in;
  display: block;
  width: 100%;
  line-height: 0;
  overflow: hidden;
}

.lightbox-trigger img {
  border-radius: calc(var(--radius) - 1px);
}

.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(17, 24, 39, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.lightbox-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
  .lightbox-overlay { transition: none; }
}

.lightbox-overlay figure {
  margin: 0;
  max-width: min(90vw, 1000px);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lightbox-overlay img {
  max-width: 100%;
  max-height: 78vh;
  width: auto;
  height: auto;
  margin: 0 auto;
  border-radius: var(--radius);
}

.lightbox-overlay figcaption {
  color: #f1f5f9;
  font-size: 0.95rem;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(17, 24, 39, 0.6);
  color: #fff;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}
.lightbox-close:hover {
  background: rgba(17, 24, 39, 0.85);
}


/* ============================================================
   Gestaltung 2.0 – Bänder, Tauben, Karten (siehe Regeln oben)
   ============================================================ */

/* Bänder */
.hero,
.page-intro {
  background: linear-gradient(180deg, var(--peach) 0%, var(--peach-soft) 70%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
}
.goals,
.about-section.is-soft,
.events-section.is-soft,
.goals-detail {
  background: var(--cream);
  border-top: 1px solid var(--cream-deep);
  border-bottom: 1px solid var(--cream-deep);
}
.latest { background: #fff; }

/* Taubenmuster: sehr blass, nur auf farbigen Bändern */
.band-doves {
  position: relative;
  isolation: isolate;
}
.band-doves::before {
  content: "";
  position: absolute;
  inset: 0;
  /* Taubenmuster: die Silhouette der Logo-Taube (assets/img/tauben-muster.png) */
  background-image: url("img/tauben-muster.png");
  background-size: 620px 500px;
  opacity: .06;
  pointer-events: none;
  z-index: -1;
}
.band-doves.is-sand::before { opacity: .065; }
/* Wasserzeichen: die große Logo-Taube rechts unten */
.band-doves::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -30px;
  width: min(520px, 55vw);
  aspect-ratio: 731 / 660;
  background: url("img/taube-gross.png") no-repeat center / contain;
  opacity: .08;
  pointer-events: none;
  z-index: -1;
}
.band-doves.is-sand::after { opacity: .09; }
.band-doves > .container { position: relative; z-index: 1; }

/* Kopfbereich: Foto als Karte mit weichem Schatten */
.hero-media img,
.hero img {
  border-radius: 14px;
  box-shadow: 0 24px 50px -22px rgba(124, 45, 18, .45);
}
.hero-eyebrow { color: var(--rust-dark); }

/* Knöpfe */
.btn { background: var(--orange); color: #fff; border-color: var(--orange); }
.btn:hover { background: var(--orange-deep); border-color: var(--orange-deep); }
.btn-secondary,
.btn.is-ghost { background: #fff; color: var(--orange); border: 1.5px solid var(--orange); }
.btn-secondary:hover,
.btn.is-ghost:hover { background: var(--peach-soft); }

/* Links und Hervorhebungen */
a { color: var(--orange); }
a:hover { color: var(--rust); }
.main-nav a.is-active, .main-nav a[aria-current] { color: var(--orange); }
.latest-head::after, .section-head::after { background: var(--orange); }

/* Karten */
.goal-card, .review-card, .event-card, .latest-col > article {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 6px 18px -12px rgba(124, 45, 18, .25);
}
.goal-number { background: var(--orange); }
/* Rückblicke: gleich hoch, Bild oben einheitlich */
.latest-col { display: flex; flex-direction: column; }
.latest-col > article { flex: 1 1 auto; }
.review-card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.event-date, .review-date, .latest time { color: var(--rust); font-weight: 700; }

/* Fuß: dunkles Rostbraun, Logo auf heller Kachel */
.site-footer {
  background: var(--orange-deep);
  border-top: 0;
  color: #f3d9c9;
}
.site-footer a { color: #fbe9dc; }
.site-footer a:hover { color: #fff; }
.site-footer .footer-brand strong,
.site-footer .brand-text strong { color: #fff; }
.site-footer .footer-brand p,
.site-footer .brand-text span { color: #e5bfa6; }
.site-footer .footer-brand img,
.site-footer .brand img {
  background: var(--cream);
  border-radius: 12px;
  padding: 6px;
  height: 64px;
  width: auto;
}
.site-footer .footer-links a,
.site-footer li a { color: #fbe9dc; }
.site-footer h4, .site-footer h3 { color: #fff; }
.site-footer .footer-copy, .site-footer .footer-note, .site-footer .copyright,
.site-footer [class*="copy"], .site-footer .muted { color: #e5bfa6; }
.site-footer .muted, .site-footer small { color: #e5bfa6; }

/* Logo: das vom Verein hochgeladene Logo (Kirchturm-Foto, Taube, Schriftzug),
   neu gesetzt als assets/logo.png mit durchsichtigem Hintergrund. Im Fuß auf
   weißer Kachel, damit das Turmfoto sauber steht. */
.site-footer .footer-brand img,
.site-footer .brand img { background: #fff; height: 72px; padding: 6px 8px; }

/* Nie zwei farbige Bänder hintereinander: Was direkt auf den Kopfbereich folgt,
   ist immer weiß – auch wenn es die Klassen is-soft / is-sand / band-doves trägt. */
.hero + section, .page-intro + section {
  background: #fff;
  border-top: 0;
}
.hero + section::before, .hero + section::after,
.page-intro + section::before, .page-intro + section::after { display: none; }
.hero + section .goal-card, .page-intro + section .goal-card { box-shadow: 0 6px 18px -12px rgba(124, 45, 18, .2); }

/* ============================================================
   Gestaltung 3.0 – Ziele-Karten, Termin- und Rückblick-Karten
   ============================================================ */

/* --- Ziele: Karten mit Ghost-Nummer, oranger Oberkante und Hover-Lift --- */
.goals-grid { counter-reset: ziel; gap: 24px; }
.goal-card {
  position: relative;
  overflow: hidden;
  counter-increment: ziel;
  border: 0;
  border-top: 4px solid var(--orange);
  border-radius: 16px;
  padding: 30px 28px 28px;
  box-shadow: 0 10px 30px -18px rgba(124, 45, 18, .35), 0 1px 0 rgba(124, 45, 18, .06);
  transition: transform .25s ease, box-shadow .25s ease;
}
.goal-card::after {
  content: "0" counter(ziel);
  position: absolute;
  right: 14px;
  top: -14px;
  font-size: 6.5rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--peach);
  opacity: .8;
  pointer-events: none;
}
.goal-card > * { position: relative; z-index: 1; }
.goal-card:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -20px rgba(124, 45, 18, .45); }
.goal-card h3 { font-size: 1.22rem; line-height: 1.3; }
.goal-number {
  width: 46px; height: 46px;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-deep) 100%);
  box-shadow: 0 6px 14px -6px rgba(194, 65, 12, .6);
  font-weight: 700;
}
/* Sechste Karte: Aufruf statt Leerstelle */
.goal-card.is-cta {
  background: linear-gradient(145deg, var(--orange) 0%, var(--orange-deep) 100%);
  border-top-color: var(--orange-deep);
  color: #fff;
  text-decoration: none;
  justify-content: flex-end;
}
.goal-card.is-cta::after { color: #fff; opacity: .12; content: "→"; font-size: 8rem; top: -24px; right: 8px; }
.goal-card.is-cta h3, .goal-card.is-cta p { color: #fff; }
.goal-card.is-cta p { opacity: .9; }
.goal-cta-eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.goal-cta-link { font-weight: 700; margin-top: 6px; }
.goal-card.is-cta:hover { text-decoration: none; }
.goal-card.is-cta:hover .goal-cta-link { text-decoration: underline; }

/* Ziele-Seite: gleiche Handschrift */
.goal-detail-item {
  background: #fff;
  border: 0;
  border-left: 4px solid var(--orange);
  border-radius: 16px;
  box-shadow: 0 10px 30px -18px rgba(124, 45, 18, .35);
}

/* --- Aktuelles: Termine und Rückblicke untereinander --- */
.latest-stack { display: flex; flex-direction: column; gap: clamp(40px, 6vw, 64px); }
.latest-sub {
  display: flex; align-items: center; gap: 16px;
  margin: 0 0 20px; font-size: 1.15rem;
}
.latest-sub::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.tk-list { display: flex; flex-direction: column; gap: 20px; }

/* Karte: Datumskachel | Inhalt | Bild */
.tk {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 0 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 24px;
  box-shadow: 0 10px 30px -18px rgba(124, 45, 18, .3);
  transition: transform .25s ease, box-shadow .25s ease;
}
.tk:hover { transform: translateY(-2px); box-shadow: 0 18px 38px -20px rgba(124, 45, 18, .4); }
.tk.has-bild { grid-template-columns: 96px minmax(0, 1fr) 260px; }
.tk-datum {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; border-radius: 12px; padding: 12px 6px; min-height: 112px; align-self: start;
  background: linear-gradient(160deg, var(--orange) 0%, var(--orange-deep) 100%);
  color: #fff; line-height: 1;
}
.tk-tag { font-size: 2.2rem; font-weight: 800; letter-spacing: -0.03em; }
.tk-tag-text { font-size: 1.8rem; }
.tk-monat { font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin-top: 4px; }
.tk-jahr { font-size: .75rem; opacity: .85; margin-top: 4px; }
.tk-zeit { font-size: .72rem; font-weight: 600; margin-top: 8px; padding-top: 6px; border-top: 1px solid rgba(255,255,255,.35); width: 100%; }
.tk-rueckblick .tk-datum { background: var(--cream); color: var(--rust); border: 1px solid var(--cream-deep); }
.tk-rueckblick .tk-zeit { border-top-color: var(--cream-deep); }
.tk-body { min-width: 0; }
.tk-body .event-date { color: var(--rust); font-size: .88rem; margin: 0 0 4px; }
.tk-rueckblick .tk-body .event-date { color: var(--muted); }
.tk-titel { margin: 0 0 6px; font-size: 1.25rem; line-height: 1.3; }
.tk-body .event-meta { display: flex; align-items: center; gap: 6px; margin: 0 0 10px; }
.tk-pin { width: 16px; height: 16px; color: var(--orange); flex: none; }
.tk-body .event-text { margin: 0; color: var(--muted); }
.tk-body .event-text-wrap { max-height: 6.8em; }
.tk-bild {
  border: 0; padding: 0; background: none; cursor: pointer; border-radius: 12px; overflow: hidden;
  align-self: start;
}
.tk-bild img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; transition: transform .4s ease; }
.tk-bild:hover img { transform: scale(1.04); }
.tk .read-more-btn { padding: 6px 0; min-height: 0; }

@media (max-width: 899px) {
  .tk.has-bild { grid-template-columns: 96px minmax(0, 1fr); }
  .tk-bild { grid-column: 1 / -1; margin-top: 16px; }
}
@media (max-width: 520px) {
  .tk, .tk.has-bild { grid-template-columns: 1fr; gap: 14px; padding: 18px; }
  .tk-datum { flex-direction: row; gap: 10px; min-height: 0; padding: 10px 14px; align-self: stretch; justify-content: flex-start; }
  .tk-tag { font-size: 1.6rem; }
  .tk-monat, .tk-jahr { margin-top: 0; }
  .tk-zeit { width: auto; margin: 0 0 0 auto; padding: 0 0 0 10px; border-top: 0; border-left: 1px solid rgba(255,255,255,.35); }
  .tk-rueckblick .tk-zeit { border-left-color: var(--cream-deep); }
  .tk-bild { margin-top: 0; }
  .goal-card::after { font-size: 5rem; }
}

/* Startseite: Kopf (Apricot) → Ziele (Weiß) → Aktuelles (Creme) → Fuß */
.latest.is-soft { background: var(--cream); border-top: 1px solid var(--cream-deep); }
.latest.is-soft .latest-sub::after { background: var(--cream-deep); }
/* Gekürzter Text läuft weich aus statt hart abzuschneiden */
.event-text-wrap { position: relative; }
.event-text-wrap:not(.is-expanded)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2.2em;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, #fff 100%);
}
/* Das Datum steht schon in der Kachel – die Textzeile bleibt nur für Vorleseprogramme */
.tk-body .event-date { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: 0; }
.tk-body { position: relative; }

/* --- Feinschliff nach Durchsicht aller Seiten --- */
/* Ziele-Seite: Aufruf als orange Karte wie auf der Startseite */
.goals-cta {
  background: linear-gradient(145deg, var(--orange) 0%, var(--orange-deep) 100%);
  border: 0; border-radius: 16px; color: #fff;
  box-shadow: 0 18px 40px -22px rgba(124, 45, 18, .6);
}
.goals-cta p { color: #fff; }
.goals-cta .btn { background: #fff; color: var(--orange-deep); border-color: #fff; }
.goals-cta .btn:hover { background: var(--cream); border-color: var(--cream); color: var(--orange-deep); }
/* Über uns: Zitat mit großem Anführungszeichen */
.about-quote {
  position: relative; border: 0; border-radius: 16px;
  background: var(--cream); padding: 40px 40px 36px 88px;
  font-size: 1.25rem; line-height: 1.6; box-shadow: 0 10px 30px -18px rgba(124, 45, 18, .3);
}
.about-quote::before {
  content: "\201C"; position: absolute; left: 30px; top: 14px;
  font-family: Georgia, "Times New Roman", serif; font-size: 6.5rem; line-height: 1; font-weight: 700; color: var(--orange); opacity: .55;
}
@media (max-width: 520px) {
  .about-quote { padding: 56px 22px 26px; }
  .about-quote::before { left: 18px; top: 4px; font-size: 5rem; }
}
/* Kontakt: Hinweis-Karte so breit wie die Karten darüber, Karten mit Schatten */
.contact-note { max-width: none; background: #fff; border-radius: 16px; box-shadow: 0 10px 30px -18px rgba(124, 45, 18, .3); }
.contact-card { border-radius: 16px; box-shadow: 0 10px 30px -18px rgba(124, 45, 18, .3); }
/* Handy: Knöpfe im Kopfbereich volle Breite */
@media (max-width: 520px) {
  .hero-actions .btn { width: 100%; justify-content: center; }
}
/* Schaltflächen: leichter Schatten, weiches Hover */
.btn { border-radius: 10px; box-shadow: 0 6px 14px -8px rgba(194, 65, 12, .6); transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 20px -10px rgba(194, 65, 12, .7); }
.btn.is-ghost, .btn-secondary, .btn-outline { box-shadow: none; }

/* ============================================================
   One-Pager (Stand 12.09.2026): alle Inhalte auf der Startseite,
   Menü springt weich zu den Ankern #start #ziele #ueber-uns #termine #kontakt.
   Impressum und Datenschutz bleiben eigene Seiten.
   ============================================================ */
html { scroll-padding-top: 112px; }
@media (max-width: 520px) { html { scroll-padding-top: 88px; } }

/* Abschnittskopf (gemeinsam für Über uns, Kontakt) */
.section-head { max-width: 62ch; margin-bottom: clamp(32px, 5vw, 48px); }
.section-head h2 { margin: 0 0 .4em; }
.section-head p { color: var(--muted); margin: 0; font-size: 1.08rem; }
.section-head::after { content: ""; display: block; width: 40px; height: 3px; background: var(--orange); margin-top: 18px; border-radius: 2px; }

/* Über uns: beide Bildzeilen und das Zitat in einem Cremeband */
#ueber-uns { padding: clamp(72px, 9vw, 128px) 0; }
#ueber-uns .about-grid + .about-grid { margin-top: clamp(48px, 7vw, 80px); }
#ueber-uns .about-quote { margin: clamp(48px, 7vw, 80px) auto 0; max-width: 820px; background: #fff; }
#ueber-uns .about-text h3 { font-size: 1.6rem; margin: 0 0 .5em; }

/* Termine: weißes Band, Kontakt: Cremeband */
#termine { padding: clamp(72px, 9vw, 128px) 0; background: #fff; }
#kontakt { padding: clamp(72px, 9vw, 128px) 0; }
#kontakt .contact-card h3, #kontakt .contact-note h3 { font-size: 1.15rem; margin: 0 0 .4em; }
#kontakt .contact-note { margin-top: 24px; }

/* Einblenden beim Scrollen (JS setzt .is-visible; ohne JS ist alles sichtbar) */
html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
html.js .reveal.is-visible { opacity: 1; transform: none; }
html.js .goals-grid .reveal:nth-child(2) { transition-delay: .08s; }
html.js .goals-grid .reveal:nth-child(3) { transition-delay: .16s; }
html.js .goals-grid .reveal:nth-child(5) { transition-delay: .08s; }
html.js .goals-grid .reveal:nth-child(6) { transition-delay: .16s; }
html.js .contact-grid .reveal:nth-child(2) { transition-delay: .1s; }
html.js .tk.reveal { transition-duration: .6s; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
}
/* Aktiver Menüpunkt mit kleiner Markierung */
.nav-links a { position: relative; }
.nav-links a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  background: var(--orange); border-radius: 2px;
}
@media (max-width: 899px) { .nav-links a.active::after { display: none; } }
#kontakt .contact-card { background: #fff; border-color: var(--line); }
/* Aufklappen: die Kürzung in der Termin-Karte darf das Ausklappen nicht überstimmen */
.tk-body .event-text-wrap.is-expanded { max-height: none; }
.event-text-wrap.is-expanded::after { display: none; }
