/* ——— FAQ ——— остров: рейл прижат слева, скруглён только справа. */
/* Левый рейл зафиксирован по размеру и позиции — не должен
   "прыгать", когда справа раскрывается/закрывается вопрос. */
.faq {
  display: grid;
  grid-template-columns: minmax(280px, 0.38fr) 1fr;
  align-items: start;
  padding: 0 56px 72px;
}
.faq-side {
  position: sticky;
  top: 24px;
  align-self: start;
  min-height: 480px;
  background: var(--accent);
  color: #fff;
  padding: 64px 56px;
  border-radius: 0 var(--side-round) var(--side-round) 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.faq-side h2 {
  font-size: clamp(32px, 3.6vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.faq-side p {
  margin-top: 20px;
  font-size: 16px;
  line-height: 1.5;
  color: rgba(255,255,255,.82);
  max-width: 28ch;
}
.faq-list { padding: 24px 0 24px 40px; }
.faq-item { border-bottom: 1px solid #ececec; }
.faq-item:last-child { border-bottom: 0; }
.faq-q {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 16px;
  align-items: start;
  padding: 22px 0;
  cursor: pointer;
}
.faq-q .n {
  font-size: clamp(22px, 2vw, 32px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #111;
}
.faq-q h3 {
  font-size: clamp(16px, 1.5vw, 22px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.faq-q .mark {
  width: 24px; height: 24px;
  border-radius: 8px 0 8px 0;
  border: 1px solid #ddd;
  color: #888;
  display: grid; place-items: center;
  font-size: 16px;
}
.faq-a {
  max-height: 0; overflow: hidden; opacity: 0;
  padding: 0 0 0 80px;
  transition: max-height .3s ease, opacity .25s ease, padding .25s ease;
  font-size: 15px; line-height: 1.55; color: #555;
}
.faq-item.is-open .faq-a {
  max-height: 420px; opacity: 1; padding: 0 0 22px 80px;
}
.faq-a p { margin: 0; }
.faq-a a { color: var(--accent); font-weight: 700; text-decoration: none; }
.faq-a a:hover { text-decoration: underline; }
.faq-item.is-open .mark { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ——— Hervorgehobene FAQ-Antwort mit Bewerben-CTA (z.B. Initiativbewerbung):
   fällt bewusst aus dem sonst zurückhaltenden FAQ-Look heraus. ——— */
.faq-item--highlight.is-open .faq-a { max-height: 560px; }
.faq-cta {
  margin-top: 16px;
  background: var(--accent);
  color: #fff;
  border-radius: 18px;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}
.faq-cta p { font-size: 14px; font-weight: 700; color: #fff; }
.faq-cta .btn { flex-shrink: 0; }

@media (max-width: 480px) {
  .faq-cta { flex-direction: column; align-items: stretch; text-align: center; }
}

@media (max-width: 860px) {
  .faq { grid-template-columns: 1fr; padding: 0 20px 48px; }
  .faq-side { position: static; min-height: 0; border-radius: 0 0 28px 0; padding: 36px 22px; }
  .faq-list { padding: 8px 20px 20px; }
  .faq-a, .faq-item.is-open .faq-a { padding-left: 0; }
  .faq-q { grid-template-columns: 40px 1fr auto; }
}
