/* TEMPORÄR – Zusatzstile für die Multipage-Variante (Google for Nonprofits).
   Betrifft nur: Startseiten-Band, "Der Verein", "Aktivitäten", CTA-Band.
   Nach der Freischaltung zusammen mit der Kopie public-nonprofit-temp entfernen. */

/* ---------- Startseite: kompaktes Zweck-Band ---------- */
.section--zweck-band {
  background: var(--color-surface-container-low);
  padding-top: 56px;
  padding-bottom: 56px;
}

.zweck-band {
  display: grid;
  gap: 28px;
  align-items: center;
}

.zweck-band .section-title {
  margin: 0 0 12px;
}

.zweck-band p {
  margin: 0;
  max-width: 760px;
  font-size: 18px;
  line-height: 28px;
  color: var(--color-on-surface-variant);
}

.zweck-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (min-width: 1024px) {
  .zweck-band {
    grid-template-columns: 1fr auto;
    gap: 64px;
  }

  .zweck-band__actions {
    flex-direction: column;
  }
}

/* ---------- Unterseiten: Abschnitte ---------- */
.section--zweck {
  background: var(--color-surface-container-low);
  padding-bottom: 64px;
}

.section--zweck .section-title {
  margin: 0 0 8px;
}

.section--top.section--zweck {
  background: var(--color-surface-container-lowest);
}

.zweck-lead {
  max-width: 760px;
  margin: 0 0 40px;
  font-size: 18px;
  line-height: 28px;
  color: var(--color-on-surface-variant);
}

.zweck-grid {
  display: grid;
  gap: var(--space-gutter);
  grid-template-columns: 1fr;
}

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

.zweck-card {
  background: var(--color-surface-container-lowest);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: 0 2px 14px rgba(0, 0, 0, .07);
  border-top: 4px solid var(--color-accent);
}

.section--top.section--zweck .zweck-card {
  background: var(--color-surface-container-low);
  box-shadow: none;
}

.zweck-card h3 {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 22px;
  line-height: 30px;
  margin: 0 0 20px;
  color: var(--color-primary);
}

/* ---------- Listen in Karten ---------- */
.check-list,
.item-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.check-list li {
  position: relative;
  padding: 0 0 0 34px;
  margin: 0 0 16px;
  line-height: 1.55;
  color: var(--color-on-surface);
}

.check-list li:last-child {
  margin-bottom: 0;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-primary);
}

.check-list li::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 6px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.item-list li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 0;
  border-top: 1px solid var(--color-surface-container-highest);
}

.item-list li:first-child {
  padding-top: 0;
  border-top: 0;
}

.item-list li:last-child {
  padding-bottom: 0;
}

.item-list strong {
  font-family: var(--font-headline);
  font-size: 17px;
  color: var(--color-on-surface);
}

.item-list span {
  line-height: 1.55;
  color: var(--color-on-surface-variant);
}

/* ---------- Kennzahlen-Leiste ---------- */
.section--facts {
  background: var(--color-surface-container-lowest);
  padding-top: 56px;
  padding-bottom: 24px;
}

.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (min-width: 900px) {
  .facts {
    grid-template-columns: repeat(4, 1fr);
  }
}

.fact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px;
  border-radius: var(--radius-xl);
  background: var(--color-surface-container-low);
  text-align: center;
}

.fact__value {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 22px;
  line-height: 28px;
  color: var(--color-primary);
}

.fact__label {
  font-size: 14px;
  line-height: 20px;
  color: var(--color-on-surface-variant);
}

/* ---------- CTA-Band ---------- */
.section--cta {
  padding-top: 24px;
  padding-bottom: 64px;
  background: var(--color-surface-container-lowest);
}

.cta-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 32px;
  border-radius: var(--radius-xl);
  background: var(--color-primary);
  color: var(--color-on-primary);
}

.cta-band h2 {
  margin: 0 0 4px;
  font-family: var(--font-headline);
  font-size: 24px;
  line-height: 32px;
  color: var(--color-on-primary);
}

.cta-band p {
  margin: 0;
  color: var(--color-on-primary-container);
}

.cta-band .btn--primary {
  background: var(--color-surface-container-lowest);
  color: var(--color-primary);
}

.cta-band .btn--primary:hover {
  background: var(--color-accent-soft);
}

/* Ghost-Button auf hellem Grund lesbar machen */
.zweck-band .btn--ghost {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.zweck-band .btn--ghost:hover {
  background: var(--color-primary);
  color: var(--color-on-primary);
}

.zweck-card__intro {
  margin: -8px 0 20px;
  color: var(--color-on-surface-variant);
  line-height: 1.55;
}

/* ---------- "Der Verein": Opener ---------- */
.section--opener {
  padding-bottom: 40px;
  background: var(--color-surface-container-lowest);
}

.opener-text {
  max-width: 900px;
}

.section--facts {
  padding-top: 8px;
  padding-bottom: 64px;
}

.section--vorstand {
  background: var(--color-surface-container-lowest);
  padding-bottom: 40px;
}

.section--vorstand .section-title {
  margin: 0 0 32px;
}

/* Die Überschrift steht außerhalb des Rasters; deshalb fällt die "intro"-Zeile weg. */
.section--vorstand .ueber-uns-grid {
  grid-template-areas: "vorsitz vorstand";
}

@media (min-width: 1024px) {
  .section--vorstand .ueber-uns-grid {
    gap: 40px 56px;
    grid-template-columns: 260px 1fr;
    align-items: start;
  }
}

.section--vorstand .vorsitz-card {
  justify-content: flex-start;
}

.section--vorstand .vorsitz-card__inner {
  max-width: 260px;
}

@media (min-width: 640px) {
  .section--vorstand .vorstand-lists {
    grid-template-columns: repeat(2, minmax(0, 260px));
  }
}

@media (min-width: 1024px) {
  .section--vorstand .vorsitz-card__name {
    font-size: 19px;
    white-space: nowrap;
  }
}

/* Überschriften bündig mit der Oberkante des Fotos (Karte hat 16px Innenabstand) */
@media (min-width: 1024px) {
  .section--vorstand .vorstand-lists {
    padding-top: 16px;
  }

  .section--vorstand .vorstand-lists h4 {
    margin-top: 0;
    line-height: 1;
  }
}

.opener-more {
  margin: 32px 0 0;
}

.section--facts-first {
  padding-bottom: 40px;
}

.section--facts-first .section-title {
  margin: 0 0 24px;
}

/* Abstand unter der fixierten Kopfleiste (überschreibt .section--facts) */
.section--top.section--facts-first {
  padding-top: 110px;
}

/* ---------- Startseite: Grauer Abschnitt mit Fakten ---------- */
.zweck-band__text {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 760px;
}

.zweck-band__text p {
  margin: 0;
}

.zweck-band__facts {
  margin-top: 48px;
}

.section--zweck-band .fact {
  background: var(--color-surface-container-lowest);
}

/* ---------- Vereinsseite: Zweck als Seitenanfang ---------- */
.section--zweck-first .zweck-subtitle {
  margin: 0 0 12px;
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 22px;
  line-height: 30px;
  color: var(--color-on-surface);
}

.section--zweck-first .section-title {
  margin-bottom: 8px;
}

.zweck-band__more {
  margin: 28px 0 0;
}

/* Abschnitt auf der Startseite hat nur noch eine Spalte */
.section--zweck-band .zweck-band {
  grid-template-columns: 1fr;
}

.zweck-band p.zweck-band__more {
  margin: 32px 0 0;
}

/* Abstand zwischen Zweck-Karten und Vorstand verringern */
.section--zweck-first {
  padding-bottom: 8px;
}

/* ---------- Hamburger-Menü auf Handy und Tablet ---------- */
/* styles.css blendet den Hamburger überall aus; mit mehreren Seiten wird er gebraucht. */
@media (max-width: 1023px) {
  .nav-toggle {
    display: flex;
    margin-left: auto;
    cursor: pointer;
  }

  .nav-toggle .icon {
    width: 28px;
    height: 28px;
    fill: currentColor;
  }
}

.mobile-nav a.is-active:not(.btn) {
  color: var(--color-primary);
  background: var(--color-surface-container-low);
}

/* Symbolwechsel Hamburger <-> X über aria-expanded (das Attribut "hidden" wirkt an SVG-Elementen nicht per Skript) */
.nav-toggle[aria-expanded="true"] #navToggleIconMenu {
  display: none;
}

.nav-toggle[aria-expanded="true"] #navToggleIconClose {
  display: block;
}
