/* ============================================================
   PRICING — 3 Pläne + Monatlich/Jährlich-Toggle
   Mobile: 1-Spalten-Cards · ≥768px: 3 Spalten
   ============================================================ */

.pr { padding: 64px 20px; background: var(--surface); }
.pr .sec-h { margin-bottom: 28px; }

/* ─── Toggle Monatlich / Jährlich ─────────────────────────── */
.pr__toggle {
  display: inline-flex; padding: 4px;
  border-radius: 999px;
  background: var(--surface3); border: 1px solid var(--border);
  margin: 0 auto 32px;
  align-self: center;
}
.pr__toggle { display: flex; }
.pr__toggle { width: max-content; margin-inline: auto; }
.pr__toggle label {
  position: relative;
  padding: 12px 18px;
  border-radius: 999px;
  font-size: 13px; font-weight: 600;
  color: var(--text2);
  cursor: pointer;
  min-height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .15s var(--ease), color .15s var(--ease), box-shadow .15s var(--ease);
}
.pr__toggle input { position: absolute; opacity: 0; pointer-events: none; }
.pr__toggle label:has(input:checked),
.pr__toggle label.is-checked {
  background: #fff; color: var(--text);
  box-shadow: var(--sh-sm);
}
.pr__toggle input:focus-visible + span {
  outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px;
}

/* ─── Plan-Cards ──────────────────────────────────────────── */
/* WICHTIG: auf Mobile als Cards (1 Spalte) — kein H-Scroll */
.pr__plans {
  display: grid; gap: 16px;
  grid-template-columns: 1fr;
  align-items: stretch;
}
.plan {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r3);
  padding: 24px;
  box-shadow: var(--sh-sm);
  display: flex; flex-direction: column; gap: 14px;
}
.plan--primary {
  border: 2px solid var(--accent);
  box-shadow: var(--sh-md);
}
.plan__badge {
  position: absolute; top: -12px; left: 24px;
  padding: 4px 12px; border-radius: 999px;
  background: var(--accent); color: #fff;
  font-size: 11px; font-weight: 700;
  letter-spacing: .02em;
}
.plan__name { font-size: 14px; font-weight: 600; color: var(--text2); }
.plan__tag { font-size: 12px; color: var(--text3); margin-top: -8px; }
.plan__price {
  display: flex; align-items: baseline; gap: 6px;
  flex-wrap: wrap;
  min-height: 70px;   /* gleicher Vertikal-Slot, accommodiert 2-zeiliges Price-Layout (strong + note) */
}
.plan__tag { min-height: 17px; }   /* falls Tag mal kürzer ist, Slot bleibt gleich */
.plan__price strong {
  font-size: 40px; font-weight: 800; color: var(--text);
  letter-spacing: -.02em; line-height: 1;
}
.plan__price--custom strong { font-size: 30px; }
/* Note-Span immer auf eine eigene Zeile umbrechen, damit Starter/Pro/Enterprise
   visuell gleich aussehen (Enterprise würde sonst alles in eine Zeile packen,
   weil "Custom" in 30 px schmaler ist als "39 / 63" in 40 px). */
.plan__price > span { flex-basis: 100%; font-size: 13px; color: var(--text3); font-weight: 500; }
.plan__cta { width: 100%; }
.plan__sep { border: 0; border-top: 1px solid var(--border); margin: 0; }
.plan__incl {
  font-size: 12px; font-weight: 600; color: var(--text2);
  margin: -4px 0 -2px;
}
.plan__feat { display: flex; flex-direction: column; gap: 8px; }
.plan__soon {
  font-style: normal; font-size: 11px; font-weight: 500;
  color: var(--text3); margin-left: 4px;
}
/* Hanging-Indent statt Flex: damit "(coming soon)" mit dem Feature-Text inline
   fließt und nicht als separates Flex-Item auf eine neue Zeile springt. */
.plan__feat li {
  position: relative;
  padding-left: 24px;
  font-size: 13px; line-height: 1.5; color: var(--text);
}
.plan__feat li.dim { color: var(--text3); }
.plan__feat .check,
.plan__feat .dash {
  position: absolute; left: 0; top: 2px;
  width: 16px; height: 16px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 10px;
}
.plan__feat .check { background: var(--green-tint); color: var(--green); }
.plan__feat .dash { background: var(--surface3); color: var(--text3); }
.pr__foot { text-align: center; font-size: 13px; color: var(--text3); margin-top: 24px; }

/* ─── Responsive ──────────────────────────────────────────── */
@media (min-width: 768px) {
  .pr__plans { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .pr { padding: 96px 24px; }
}
