/* =====================================================================
   SINGLE PRICING PAGE (single-pricing.php)
   Layouts from template-parts/pricing/. Builds on service.css
   (.svc-sec shell, .svc-head, .svc-btn) and the theme.css tokens.
   ===================================================================== */

.prc .svc-sec {
  padding-top: 110px;
  padding-bottom: 110px;
}

/* Jump links land below the fixed topbar + nav. */
.prc .svc-sec[id] {
  scroll-margin-top: 100px;
}

/* Section heads align left; hero and CTA box stay centered. */
.prc .svc-sec:not(.svc-sec-hero):not(.svc-sec-cta_box) .svc-head {
  max-width: none;
  margin: 0;
  text-align: left;
}

.prc .svc-sec:not(.svc-sec-hero):not(.svc-sec-cta_box) .svc-head .section-eyebrow {
  justify-content: flex-start;
}

.prc .svc-sec:not(.svc-sec-hero):not(.svc-sec-cta_box) .svc-lead {
  margin-left: 0;
}

.prc-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.prc-muted {
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-dim);
}

.prc-price {
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: clamp(32px, 3.6vw, 52px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--ink);
}

/* ---------- Hero ---------- */
.prc-checks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  margin-top: 26px;
  list-style: none;
  font-size: 14px;
  color: var(--ink-dim);
}

.prc-checks li::before {
  content: '✓';
  margin-right: 8px;
  color: var(--accent);
  font-weight: 700;
}

.prc-jump {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--bg-1);
  box-shadow: var(--shadow-soft);
  overflow-x: auto;
  scrollbar-width: none;
}

.prc-jump::-webkit-scrollbar {
  display: none;
}

.prc-jump a,
.prc-pill {
  padding: 12px 16px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--bg-1);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  color: var(--ink);
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}

.prc-jump a:hover,
.prc-pill:hover,
.prc-pill.is-on {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg-1);
}

/* ---------- Shared box / card ---------- */
.prc-box,
.prc-card {
  position: relative;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--bg-1);
  box-shadow: var(--shadow-soft);
}

.prc-box {
  margin-top: 40px;
}

.prc-card.has-arrow {
  padding-bottom: 86px;
}

.prc-card__text {
  margin-top: 14px;
}

.prc-card--wide {
  margin-top: 18px;
}

.prc-card--wide .prc-muted {
  margin-top: 8px;
}

.prc-arrow {
  position: absolute;
  right: 22px;
  bottom: 22px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: var(--bg-1);
  font-size: 20px;
  color: var(--ink);
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}

.prc-arrow:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg-1);
  transform: translateX(2px);
}

/* Plan cards (features list + full button). */
.prc-card--plan {
  display: flex;
  flex-direction: column;
}

.prc-card.is-featured {
  border: 2px solid var(--accent);
}

.prc-features {
  display: grid;
  gap: 13px;
  margin: 24px 0;
  list-style: none;
  font-size: 15px;
  color: var(--ink);
}

.prc-features li::before {
  content: '✓';
  margin-right: 10px;
  color: var(--accent);
  font-weight: 700;
}

.prc-card__btn {
  justify-content: space-between;
  margin-top: auto;
}

.prc-card.is-featured .prc-card__btn {
  background: var(--accent);
  border-color: var(--accent);
}

.prc-card.is-featured .prc-card__btn:hover {
  background: var(--ink);
  border-color: var(--ink);
}

/* ---------- Grid ---------- */
.prc-grid {
  display: grid;
  gap: 18px;
  margin-top: 38px;
}

.prc-grid--2 { grid-template-columns: repeat(2, 1fr); }
.prc-grid--3 { grid-template-columns: repeat(3, 1fr); }
.prc-grid--4 { grid-template-columns: repeat(4, 1fr); }

.prc-grid--4 .prc-card .prc-muted {
  margin-top: 12px;
}

/* ---------- Calculator ---------- */
.prc-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 12px;
}

.prc-label--gap {
  margin-top: 26px;
}

.prc-result {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-top: 28px;
  padding-top: 25px;
  border-top: 1px solid var(--line);
}

.prc-result .prc-muted {
  display: block;
  margin-top: 6px;
}

.prc-result__price {
  margin-left: auto;
  text-align: right;
}

.prc-result__price .prc-price {
  margin-top: 0;
}

.prc-intro {
  max-width: 820px;
  margin: 56px 0 0;
}

.prc-intro h3 {
  margin: 10px 0 8px;
  font-family: var(--font-display);
  font-size: clamp(24px, 2.4vw, 36px);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.prc-intro p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-dim);
}

.prc-intro + .prc-grid {
  margin-top: 22px;
}

/* ---------- Table ---------- */
.prc-table {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--bg-1);
  overflow-x: auto;
}

.svc-sec-table .prc-table {
  margin-top: 38px;
}

.prc-table table {
  width: 100%;
  min-width: 800px;
  border-collapse: collapse;
}

.prc-table th,
.prc-table td {
  padding: 18px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-size: 15px;
  color: var(--ink-dim);
}

.prc-table th {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.prc-table td strong {
  color: var(--ink);
}

.prc-table tr:last-child td {
  border-bottom: 0;
}

.prc-table tr.is-sel td {
  background: rgba(0, 150, 107, 0.07);
  color: var(--ink);
}

/* ---------- Rows ---------- */
.prc-rows {
  display: grid;
  gap: 12px;
  margin-top: 34px;
}

.prc-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--bg-1);
}

.prc-row strong {
  font-weight: 600;
  color: var(--ink);
}

.prc-row .prc-muted {
  margin-top: 4px;
}

.prc-row__price.is-accent {
  color: var(--accent);
}

/* ---------- "Plan wählen" pill ---------- */
.prc-cta {
  display: flex;
  justify-content: flex-end;
  margin-top: 22px;
}

.prc-choose {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 10px 10px 10px 20px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--bg-1);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  color: var(--ink);
  transition: border-color 0.2s, transform 0.2s;
}

.prc-choose span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 16px;
  transition: background 0.2s;
}

.prc-choose:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
}

.prc-choose:hover span {
  background: var(--accent);
}

/* ---------- CTA box ---------- */
.prc-ctabox {
  padding: 64px 30px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--bg-1);
  box-shadow: var(--shadow-soft);
}

/* ---------- Notes ---------- */
.prc .svc-sec-notes {
  padding-top: 50px;
  padding-bottom: 70px;
  border-top: 1px solid var(--line);
}

.prc-notes .prc-muted {
  margin-top: 10px;
}

.prc-notes .prc-muted p + p {
  margin-top: 10px;
}

/* reveal-up sets opacity/transform on cards; keep their hover transitions. */
.prc-card.reveal-up,
.prc-row.reveal-up {
  transition: opacity 1s, transform 1s cubic-bezier(.18, .89, .32, 1), border-color 0.3s;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .prc .svc-sec {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .prc-grid--3,
  .prc-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .prc-jump {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .prc .svc-sec {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .prc-grid--2,
  .prc-grid--3,
  .prc-grid--4 {
    grid-template-columns: 1fr;
  }

  .prc-box,
  .prc-card {
    padding: 24px;
  }

  .prc-card.has-arrow {
    padding-bottom: 80px;
  }

  .prc-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .prc-result {
    flex-direction: column;
    align-items: flex-start;
  }

  .prc-result__price {
    margin-left: 0;
    text-align: left;
  }

  .prc-ctabox {
    padding: 44px 20px;
  }
}
