/* ══════════════════════════════════════════════════════════
   SATZUNG & MITGLIEDSCHAFT — Membership & bylaws page
══════════════════════════════════════════════════════════ */

/* ── Page header ── */
.sm-header {
  padding-top: var(--nav-h);
  position: relative;
  overflow: hidden;
}
.sm-header::before { content: 'SM'; }
.sm-header-inner {
  max-width: 90rem;
  margin: 0 auto;
  padding: 3rem clamp(1.25rem, 5vw, 3rem) 2.75rem;
  position: relative;
  z-index: 1;
}
.sm-header-title {
  font-family: 'Lippe Condensed', sans-serif;
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .02em;
  line-height: .95;
  color: var(--white);
  margin: .5rem 0 .875rem;
}

/* ── Main layout ── */
.sm-main { padding: 4rem 0 5rem; }
.sm-wrap {
  max-width: 90rem;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
}

/* ── Section headers ── */
.sm-section { margin-bottom: 4rem; }
.sm-section-hdr {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1.75rem;
  padding-bottom: .875rem;
  border-bottom: 1px solid var(--border);
}
.sm-section-title {
  font-family: 'Lippe Condensed', sans-serif;
  font-size: clamp(1.375rem, 3vw, 1.75rem);
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1;
}
.sm-section-badge {
  font-family: 'Lippe Condensed', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-left: auto;
  flex-shrink: 0;
}

/* ── Intro quote ── */
.sm-intro {
  margin-bottom: 4rem;
  display: grid;
  grid-template-columns: 1fr;
}
.sm-intro-quote {
  border-left: 3px solid var(--red);
  padding: 1.75rem 2rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  max-width: 54rem;
}
.sm-intro-quote blockquote {
  font-family: 'Lippe Condensed', sans-serif;
  font-size: clamp(1.25rem, 2.5vw, 1.625rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
  margin: 0 0 1.2rem;
  font-style: italic;
}
.sm-intro-quote p {
  font-size: 1.2rem;
  color: var(--gray-100);
  line-height: 1.75;
  margin: 0;
}
.sm-intro-cta { margin-top: .5rem; display: inline-flex; }

/* ── Fee cards ── */
.sm-fees-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
}
.sm-fee-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--red);
  padding: 1.75rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .375rem;
  transition: background .2s, box-shadow .2s;
}
.sm-fee-card:hover {
  background: var(--surface2);
  box-shadow: inset 3px 0 0 var(--red);
}
.sm-fee-label {
  font-size: 1.2rem;
  color: var(--muted);
  line-height: 1.4;
  min-height: 2.4em;
}
.sm-fee-amount {
  font-family: 'Lippe Condensed', sans-serif;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1;
  color: var(--white);
  letter-spacing: -.01em;
  margin-top: .25rem;
}
.sm-fee-amount sup {
  font-size: .38em;
  vertical-align: super;
  color: var(--red);
  font-weight: 800;
}
.sm-fee-period {
  font-size: 1.2rem;
  color: var(--muted);
  letter-spacing: .05em;
  text-transform: uppercase;
}

/* ── Document download cards ── */
.sm-docs-grid {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  max-width: 48rem;
}
.sm-doc-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 1.25rem 1.5rem;
  text-decoration: none;
  transition: background .2s, box-shadow .2s;
}
.sm-doc-card:hover {
  background: var(--surface2);
  box-shadow: inset 3px 0 0 var(--red);
}
.sm-doc-icon {
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sm-doc-icon svg {
  width: 2.75rem;
  height: 2.75rem;
  stroke: var(--red);
}
.sm-doc-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .2rem;
}
.sm-doc-name {
  font-family: 'Lippe Condensed', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.2;
}
.sm-doc-meta {
  font-size: 1.3rem;
  color: var(--muted);
}
.sm-doc-arrow {
  flex-shrink: 0;
  color: var(--red);
  opacity: .8;
  transition: opacity .2s, transform .2s;
}
.sm-doc-card:hover .sm-doc-arrow {
  opacity: 1;
  transform: translateY(2px);
}

/* ── Donation section ── */
.sm-donate-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 2rem;
  align-items: start;
}
.sm-donate-intro {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.sm-donate-intro p {
  font-size: 1.4rem;
  color: var(--gray-100);
  line-height: 1.4;
  margin: 0;
}
.sm-donate-intro strong { color: var(--white); }
.sm-contact-row {
  display: flex;
  flex-direction: column;
  gap: .125rem;
}
.sm-contact-label {
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.sm-contact-val {
  font-size: 1.4rem;
  color: var(--white);
}
.sm-contact-link {
  font-size: 1.4rem;
  color: var(--red);
  text-decoration: none;
  transition: opacity .2s;
}
.sm-contact-link:hover { opacity: .8; }

/* Bank details card */
.sm-bank-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--red);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.sm-bank-row {
  display: grid;
  grid-template-columns: 15rem 1fr;
  gap: .75rem;
  padding: .625rem 0;
  border-bottom: 1px solid var(--border);
}
.sm-bank-row:last-child { border-bottom: none; }
.sm-bank-label {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: .1em;
}
.sm-bank-val {
  font-size: 1.4rem;
  color: var(--white);
  line-height: 1.4;
}
.sm-bank-iban {
  font-family: 'Lippe Condensed', sans-serif;
  font-size: 1.4rem;
}
.sm-bank-purpose {
  font-family: 'Lippe Condensed', sans-serif;
  font-size: 1.4rem;
  color: var(--red);
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* ── Responsive ── */
@media (max-width: 52rem) {
  .sm-donate-grid { grid-template-columns: 1fr; }
  .sm-bank-row { grid-template-columns: 8rem 1fr; }
}
@media (max-width: 40rem) {
  .sm-header-inner { padding: 1.75rem 1rem 1.5rem; }
  .sm-wrap { padding: 0 1.2rem; }
  .sm-main { padding: 2.5rem 0 4rem; }
  .sm-fees-grid { grid-template-columns: 1fr 1fr; }
  .sm-bank-row { grid-template-columns: 1fr; gap: .2rem; }
  .sm-fee-label { min-height: 0; }
}
