/* ---- MITGLIED WERDEN ---- */
.mitglied-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8rem 2rem 6rem;
}

.mitglied-header {
  max-width: 760px;
  margin: 0 auto 4rem;
  text-align: left;
}

.mitglied-header .section-label {
  margin-bottom: 1rem;
}

.mitglied-header h1 {
  font-family: var(--heading);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.mitglied-header .lead {
  font-size: 1.1rem;
  color: var(--text-mid);
  line-height: 1.8;
}

/* ---- BEITRAEGE CARDS ---- */
.fee-section {
  max-width: 760px;
  margin: 0 auto 5rem;
}

.fee-section h2 {
  font-family: var(--heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.fee-section > p {
  color: var(--text-mid);
  font-size: 0.95rem;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.fee-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.fee-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.fee-card:hover {
  border-color: var(--accent);
  background: var(--surface-3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.fee-card:hover .fee-card-price {
  color: var(--accent);
}

.fee-card-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.fee-card-price {
  font-family: var(--heading);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--text);
  transition: color 0.3s ease;
}

.fee-card-price span {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-mid);
}

.fee-card-note {
  font-size: 0.85rem;
  color: var(--text-mid);
  line-height: 1.6;
  margin-top: 0.25rem;
}

/* ---- INFO-BLOECKE (Probe, DMFV) ---- */
.info-section {
  max-width: 760px;
  margin: 0 auto 5rem;
}

.info-section h2 {
  font-family: var(--heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.info-section p {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text-mid);
  margin-bottom: 1.5rem;
}

.info-section p:last-child {
  margin-bottom: 0;
}

.info-section ul {
  list-style: none;
  margin-bottom: 1.5rem;
}

.info-section ul li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--text-mid);
  margin-bottom: 0.5rem;
}

.info-section ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

.info-section strong {
  color: var(--text);
  font-weight: 500;
}

.info-section em {
  color: var(--text);
  font-style: italic;
}

.info-section a {
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.2s;
}

.info-section a:hover {
  text-decoration: underline;
}

/* ---- DOWNLOAD GRID ---- */
.download-section {
  max-width: 760px;
  margin: 0 auto 2rem;
}

.download-section h2 {
  font-family: var(--heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.download-section > p {
  color: var(--text-mid);
  font-size: 0.95rem;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.download-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.download-card:hover {
  border-color: var(--accent);
  background: var(--surface-3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.download-card:hover .download-btn {
  border-color: var(--accent);
  color: var(--accent);
}

.download-card-icon {
  width: 40px;
  height: 40px;
  color: var(--accent);
  transition: transform 0.3s ease;
}

.download-card:hover .download-card-icon {
  transform: scale(1.1);
}

.download-card h3 {
  font-family: var(--heading);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.download-card p {
  font-size: 0.85rem;
  color: var(--text-mid);
  line-height: 1.7;
  flex: 1;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 0.5rem;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--border);
  padding: 0.7rem 1.5rem;
  cursor: pointer;
  transition: border-color 0.3s, color 0.3s, background 0.3s;
  text-decoration: none;
}

.download-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.download-btn svg {
  width: 14px;
  height: 14px;
}

/* ---- CARD ANIMATION: 3D FLIP ---- */
@keyframes flipDown {
  0%   { opacity: 0; transform: rotateX(-80deg); }
  60%  { opacity: 1; transform: rotateX(8deg); }
  100% { opacity: 1; transform: rotateX(0); }
}

.fee-cards,
.download-grid {
  perspective: 800px;
}

.fee-card,
.download-card {
  opacity: 0;
  transform-origin: top center;
}

.fee-section.revealed .fee-card,
.download-section.revealed .download-card {
  animation: flipDown 0.8s ease-out forwards;
}

.fee-section.revealed .fee-card:nth-child(2),
.download-section.revealed .download-card:nth-child(2) { animation-delay: 150ms; }
.fee-section.revealed .fee-card:nth-child(3),
.download-section.revealed .download-card:nth-child(3) { animation-delay: 300ms; }
.fee-section.revealed .fee-card:nth-child(4),
.download-section.revealed .download-card:nth-child(4) { animation-delay: 450ms; }

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .mitglied-page {
    padding: 9rem 2rem 4rem;
  }

  .fee-cards {
    grid-template-columns: 1fr;
  }

  .download-grid {
    grid-template-columns: 1fr;
  }
}
