/* Methoden-Cards Grid – BV Stuttgart */
.methoden-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin: 2rem 0;
  list-style: none;
  padding: 0;
}

.methoden-card {
  position: relative;
  background: #fff;
  border: 1px solid #e8e6da;
  border-radius: 16px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: border-color .25s ease, box-shadow .25s ease;
}

.methoden-card:hover {
  border-color: #18444a;
  box-shadow: 0 6px 24px rgba(24, 68, 74, .1);
}

.methoden-card p {
  margin: 0;
}

.methoden-card__icon {
  width: 56px;
  height: 56px;
  background: #f2f0e4;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}

.methoden-card__icon svg {
  width: 30px;
  height: 30px;
}

.methoden-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #212529;
  margin: 0 0 .625rem;
  line-height: 1.35;
}

.methoden-card__desc {
  font-size: .9rem;
  line-height: 1.6;
  color: #848384;
  margin: 0 0 1.25rem !important;
  flex-grow: 1;
}

.methoden-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .875rem;
  font-weight: 600;
  color: #18444a;
  text-decoration: none;
  transition: gap .2s ease;
}

.methoden-card:hover .methoden-card__cta {
  gap: 10px;
}

.methoden-card__cta svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Mobile Toggle */
.methoden-toggle {
  display: none;
  width: 100%;
  background: none;
  border: 1px solid #e8e6da;
  border-radius: 12px;
  padding: .875rem;
  margin-top: .75rem;
  font-size: .9rem;
  font-weight: 600;
  color: #18444a;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background .2s ease, border-color .2s ease;
}

.methoden-toggle:active {
  background: #f2f0e4;
}

.methoden-toggle svg {
  width: 14px;
  height: 14px;
  transition: transform .3s ease;
}

.methoden-toggle.is-open svg {
  transform: rotate(180deg);
}

@media (max-width: 640px) {
  .methoden-grid {
    grid-template-columns: 1fr;
  }

  .methoden-grid--with-toggle:not(.methoden-grid--expanded) .methoden-card:nth-child(n+3) {
    display: none;
  }

  .methoden-toggle {
    display: flex;
  }
}
