/* ==========================================================================
   twenty seconds – Einzelleistung Detailseite
   ========================================================================== */

/* ── Leistung Detail Hero ── */
.leistung-detail-hero {
  padding-top: calc(72px + var(--space-3xl));
  padding-bottom: var(--space-2xl);
  background: var(--color-surface);
}

.leistung-detail-hero-content {
  max-width: 700px;
}

.leistung-back-link {
  display: inline-block;
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
  transition: color var(--duration-fast) var(--ease-out);
}

.leistung-back-link:hover {
  color: var(--color-accent);
}

.leistung-detail-hero h1 {
  margin-bottom: var(--space-md);
}

/* ── Detail Grid (Text + Formular) ── */
.leistung-detail-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

.leistung-detail-text h2 {
  margin-bottom: var(--space-lg);
}

.leistung-detail-text h3 {
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
}

.leistung-detail-text p {
  color: var(--color-text-secondary);
  font-size: var(--fs-body-lg);
  line-height: var(--lh-body);
}

/* ── Checklist ── */
.leistung-checklist {
  margin: var(--space-md) 0;
}

.leistung-checklist li {
  position: relative;
  padding: var(--space-sm) 0 var(--space-sm) var(--space-xl);
  font-size: var(--fs-body);
  color: var(--color-text-secondary);
  border-bottom: 1px solid var(--color-border);
}

.leistung-checklist li:last-child {
  border-bottom: none;
}

.leistung-checklist li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: var(--fw-bold);
}

/* ── Formular-Karte ── */
.leistung-form-card {
  background: var(--color-white);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  position: sticky;
  top: calc(72px + var(--space-xl));
}

.leistung-form-card h3 {
  font-size: var(--fs-h3);
  margin-bottom: var(--space-sm);
}

.leistung-form-card > p {
  font-size: var(--fs-small);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-xl);
}

.leistung-form-note {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  margin-top: var(--space-md);
  text-align: center;
}

/* Platzhalter für Pipedrive-Formular */
.form-placeholder-visual {
  background: var(--color-surface);
  border: 2px dashed var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-2xl);
  text-align: center;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
}

/* ── Bridge ── */
.leistung-detail-next {
  background: var(--color-surface);
}

.leistung-detail-next .bridge-inner {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.leistung-detail-next h2 {
  margin-bottom: var(--space-md);
}

.leistung-detail-next p {
  color: var(--color-text-secondary);
  margin-bottom: var(--space-xl);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .leistung-detail-grid {
    grid-template-columns: 1fr;
  }

  .leistung-form-card {
    position: static;
  }
}
