/* =========================================================
   LIMANTIC – Preise (Entwurf)
   ========================================================= */

.pricing .section-head { margin-bottom: clamp(32px, 4vw, 48px); }

/* Erstberatung */
.consult {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 20px 24px; align-items: center;
  padding: 22px 26px; border-radius: var(--radius-lg);
  background: var(--teal-50); border: 1px solid var(--teal-100);
  max-width: 980px; margin: 0 auto clamp(28px, 4vw, 40px);
}
.consult-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--teal-500); color: #fff;
}
.consult-icon svg { width: 24px; height: 24px; }
.consult-badge {
  display: inline-block; font-size: .72rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase;
  color: var(--teal-600); background: #fff; border: 1px solid var(--teal-100); padding: 3px 10px; border-radius: 999px;
}
.consult h3 { font-size: 1.2rem; letter-spacing: -0.02em; margin-top: 8px; }
.consult p { color: var(--text-2); font-size: .95rem; margin-top: 4px; }
@media (max-width: 760px) {
  .consult { grid-template-columns: 1fr; text-align: left; }
  .consult .btn { width: 100%; }
}

/* Pakete */
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
@media (max-width: 1180px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .plans { grid-template-columns: 1fr; } }

.plan {
  position: relative; display: flex; flex-direction: column; gap: 18px;
  padding: 26px 22px 24px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.plan h3 { font-size: 1.2rem; letter-spacing: -0.02em; }
.plan-for { font-size: .9rem; color: var(--muted); margin-top: 6px; line-height: 1.45; min-height: 2.9em; }
.plan-price { display: flex; flex-direction: column; gap: 2px; }
.plan-price .amount { font-size: 2.3rem; font-weight: 700; letter-spacing: -0.04em; line-height: 1.05; }
.plan-price .amount--text { font-size: 1.7rem; letter-spacing: -0.03em; padding: 6px 0 3px; }
.plan-price .per { font-size: .85rem; color: var(--muted); }
.plan-cta { width: 100%; }
.plan-feats { list-style: none; display: grid; gap: 10px; padding-top: 18px; border-top: 1px solid var(--line); }
.plan-feats li { position: relative; padding-left: 28px; font-size: .92rem; line-height: 1.45; color: var(--text-2); }
.plan-feats li svg { position: absolute; left: 0; top: 1px; width: 18px; height: 18px; color: var(--teal-600); }
.plan-feats b { color: var(--text); font-weight: 620; }
.plan-feats .plan-incl { padding-left: 0; font-size: .8rem; font-weight: 600; color: var(--muted); }

.plan--featured {
  background: var(--ink-900); color: var(--on-dark); border-color: var(--ink-900);
  box-shadow: var(--shadow-lg);
}
@media (min-width: 1181px) { .plan--featured { transform: translateY(-10px); } }
.plan--featured .plan-for, .plan--featured .plan-price .per, .plan--featured .plan-feats .plan-incl { color: var(--on-dark-3); }
.plan--featured .plan-feats { border-top-color: var(--line-dark); }
.plan--featured .plan-feats li { color: var(--on-dark-2); }
.plan--featured .plan-feats b { color: #fff; }
.plan--featured .plan-feats li svg { color: var(--teal-300); }
.plan-badge {
  position: absolute; top: -12px; left: 22px;
  font-size: .72rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase;
  background: var(--teal-300); color: var(--ink-900); padding: 4px 12px; border-radius: 999px;
}

.pricing-note { text-align: center; font-size: .85rem; color: var(--muted); margin-top: 22px; }

/* Vergleichstabelle */
.compare {
  margin-top: 28px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line);
  overflow: hidden;
}
.compare summary {
  list-style: none; cursor: pointer; display: flex; justify-content: center; align-items: center; gap: 8px;
  padding: 16px; font-weight: 600; color: var(--teal-600);
}
.compare summary::-webkit-details-marker { display: none; }
.compare summary .chev { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.compare[open] summary .chev { transform: rotate(180deg); }
.compare-scroll { overflow-x: auto; border-top: 1px solid var(--line); }
.compare table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: .9rem; }
.compare th, .compare td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-size: .82rem; font-weight: 650; color: var(--text); background: var(--paper); }
.compare tbody th { font-weight: 600; color: var(--text); width: 22%; }
.compare td { color: var(--text-2); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare .is-featured { background: var(--teal-50); }
.compare thead .is-featured { color: var(--teal-600); }
.compare .no { color: var(--line-strong); }
.compare .yes svg { width: 18px; height: 18px; color: var(--teal-600); }

/* Hinweis im Entwurf */
/* Abrechnungs-Umschalter */
.billing {
  display: flex; width: max-content; max-width: 100%; margin: 0 auto 36px; padding: 5px; gap: 4px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow-sm);
}
.billing button {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 18px;
  border: 0; border-radius: 999px; background: transparent; cursor: pointer;
  font-weight: 600; font-size: .92rem; color: var(--text-2); transition: background .25s, color .25s;
}
.billing button[aria-pressed="true"] { background: var(--ink-900); color: #fff; }
.billing .save {
  font-size: .72rem; font-weight: 700; padding: 2px 8px; border-radius: 999px;
  background: var(--teal-100); color: var(--teal-600);
}
.billing button[aria-pressed="true"] .save { background: var(--teal-300); color: var(--ink-900); }
@media (min-width: 1181px) { .billing { margin-bottom: 44px; } }

.soon-tag {
  display: inline-block; margin-left: 4px; vertical-align: 1px;
  font-size: .64rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 1px 7px; border-radius: 999px; background: rgba(139,217,228,.18); color: var(--teal-300);
}
.plan:not(.plan--featured) .soon-tag { background: var(--teal-50); color: var(--teal-600); }

/* KI-Aktionen & Zusatzangebote */
.extras { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
@media (max-width: 960px) { .extras { grid-template-columns: 1fr; } }
.extra {
  display: flex; gap: 14px; align-items: flex-start; padding: 20px 22px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--line);
}
.extra-icon {
  width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center;
  background: var(--teal-50); color: var(--teal-600); border: 1px solid var(--teal-100);
}
.extra-icon svg { width: 20px; height: 20px; }
.extra h3 { font-size: 1rem; letter-spacing: -0.015em; }
.extra p { font-size: .9rem; color: var(--text-2); margin-top: 6px; line-height: 1.55; }
.extra b { color: var(--text); font-weight: 620; }

/* Enterprise: Hinweis auf individuelles Angebot */
.plan-custom {
  margin-top: auto; display: flex; gap: 8px; align-items: flex-start;
  padding: 12px 14px; border-radius: 12px; background: var(--paper); border: 1px dashed var(--line-strong);
  font-size: .86rem; line-height: 1.45; color: var(--text-2);
}
.plan-custom svg { width: 16px; height: 16px; flex: none; margin-top: 2px; color: var(--teal-600); }
