/* =========================================================
   Teloro — eigenständige Preisseite
   ========================================================= */

.pp-hero {
  position: relative;
  padding: calc(var(--header-h) + 48px) 0 82px;
  overflow: hidden;
  background: #fff;
}

.pp-intro {
  max-width: 700px;
  margin: 0 auto 28px;
  text-align: center;
}

.pp-intro h1 {
  max-width: 640px;
  margin: 0 auto 16px;
  color: var(--ink);
  font-size: clamp(1.9rem, 3.05vw, 2.72rem);
  font-weight: 500;
  letter-spacing: -0.038em;
  line-height: 1.09;
  text-wrap: balance;
}

.pp-lead {
  max-width: 670px;
  margin-inline: auto;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.45vw, 1.12rem);
  line-height: 1.7;
  text-wrap: balance;
}

.billing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: fit-content;
  margin: 0 auto 34px;
}

.billing-toggle button {
  border: 0;
  min-height: 34px;
  padding: 0;
  background: transparent;
  color: var(--faint);
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: color 0.2s ease;
}

.billing-toggle button:hover {
  color: var(--body);
}

.billing-toggle button.is-active {
  color: var(--ink);
  font-weight: 650;
}

.billing-toggle-divider {
  color: var(--line-strong);
  font-size: 0.82rem;
}

.billing-discount {
  color: var(--brand);
  font-weight: 650;
}

.billing-toggle button:focus-visible,
.pp-plan-selector button:focus-visible,
.pp-plan-button:focus-visible {
  outline: 2px solid rgba(0, 7, 172, 0.35);
  outline-offset: 3px;
}

.pp-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 920px;
  margin-inline: auto;
  align-items: stretch;
}

.pp-plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 420px;
  padding: 26px 24px;
  border: 1px solid rgba(11, 13, 26, 0.075);
  border-radius: 8px;
  background: #fff;
  box-shadow: none;
  font-family: var(--font);
}

.pp-plan-card--featured {
  border-color: rgba(0, 7, 172, 0.24);
  box-shadow: none;
}

.pp-plan-heading {
  margin-bottom: 7px;
}

.pp-plan-heading h2 {
  font-size: 1.05rem;
  font-weight: 600;
}

.pp-plan-copy {
  min-height: 38px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 400;
  line-height: 1.45;
}

.pp-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-height: 46px;
  margin: 12px 0 16px;
}

.pp-price-row strong {
  flex: 0 0 auto;
  color: var(--ink);
  font-size: clamp(1.5rem, 2.1vw, 1.72rem);
  font-weight: 520;
  letter-spacing: -0.025em;
  line-height: 1;
}

.pp-price-row span {
  max-width: 118px;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 400;
  line-height: 1.35;
}

.pp-price-row--custom {
  align-items: baseline;
}

.pp-plan-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 36px;
  padding: 0 18px;
  border: 1px solid var(--brand);
  border-radius: var(--r-full);
  background: var(--brand);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: none;
  transition: opacity 0.15s ease, border-color 0.15s ease;
}

.pp-plan-button:hover {
  opacity: 0.94;
}

.pp-plan-button--secondary {
  border-color: rgba(0, 7, 172, 0.14);
  background: #fff;
  color: var(--brand);
}

.pp-plan-button--secondary:hover {
  border-color: rgba(0, 7, 172, 0.24);
  background: #fff;
}

.pp-plan-features {
  display: grid;
  gap: 8px;
  margin-top: 20px;
}

.pp-plan-features li {
  position: relative;
  padding-left: 18px;
  color: var(--body);
  font-size: 0.76rem;
  font-weight: 400;
  line-height: 1.45;
}

.pp-plan-features li::before {
  content: '';
  position: absolute;
  top: 3px;
  left: 2px;
  width: 5px;
  height: 9px;
  border-right: 1.6px solid var(--brand);
  border-bottom: 1.6px solid var(--brand);
  transform: rotate(45deg);
}

.pp-plan-features strong {
  color: var(--ink);
  font-weight: 600;
}

.pp-tax-note {
  max-width: 820px;
  margin: 20px auto 0;
  color: var(--faint);
  font-size: 0.67rem;
  line-height: 1.55;
  text-align: center;
}

.pp-calculator-section,
.pp-comparison-section {
  padding: 104px 0;
}

.pp-calculator-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.pp-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  align-items: end;
  gap: 64px;
  max-width: 1080px;
  margin: 0 auto 42px;
}

.pp-section-heading h2 {
  max-width: 560px;
  margin-bottom: 0;
  text-wrap: balance;
}

.pp-section-heading > p {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.7;
}

.pp-calculator {
  max-width: 900px;
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow);
}

.pp-calculator-top {
  display: grid;
  gap: 26px;
  padding: 36px 38px 32px;
}

.pp-range-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.pp-range-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.pp-range-heading label {
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 600;
}

.pp-range-heading output {
  min-width: 72px;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--ink);
  font-size: 0.74rem;
  font-weight: 650;
  text-align: center;
}

.pp-range {
  --range-progress: 50%;
  width: 100%;
  height: 4px;
  border-radius: var(--r-full);
  outline: none;
  background: linear-gradient(to right, var(--brand) var(--range-progress), var(--line-strong) var(--range-progress));
  appearance: none;
  -webkit-appearance: none;
}

.pp-range::-webkit-slider-thumb {
  width: 18px;
  height: 18px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 1px rgba(0, 7, 172, 0.3), 0 2px 6px rgba(3, 2, 36, 0.18);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.pp-range::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 1px rgba(0, 7, 172, 0.3), 0 2px 6px rgba(3, 2, 36, 0.18);
  cursor: pointer;
}

.pp-range:focus-visible::-webkit-slider-thumb {
  box-shadow: 0 0 0 4px rgba(0, 7, 172, 0.18);
}

.pp-range-scale {
  display: flex;
  justify-content: space-between;
  margin-top: 7px;
  color: var(--faint);
  font-size: 0.61rem;
}

.pp-plan-selector {
  min-width: 0;
  padding: 0;
  border: 0;
}

.pp-plan-selector legend {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 600;
}

.pp-plan-selector-buttons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.pp-plan-selector button {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  min-width: 0;
  min-height: 64px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--body);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.pp-plan-selector button span {
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 650;
}

.pp-plan-selector button small {
  overflow: hidden;
  max-width: 100%;
  color: var(--faint);
  font-size: 0.61rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pp-plan-selector button.is-active {
  border-color: rgba(0, 7, 172, 0.42);
  background: var(--brand-tint);
}

.pp-calculator-bottom {
  padding: 30px 38px 34px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.pp-metrics-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.pp-metric {
  padding-right: 24px;
}

.pp-metric + .pp-metric {
  padding-right: 0;
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.pp-metric span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.4;
}

.pp-metric strong {
  display: block;
  color: var(--ink);
  font-size: 1.18rem;
  font-weight: 620;
  letter-spacing: -0.025em;
}

.pp-metric small {
  display: block;
  margin-top: 5px;
  color: var(--faint);
  font-size: 0.62rem;
}

.pp-result-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
}

.pp-result-banner-main span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.72rem;
}

.pp-result-banner-main strong {
  color: var(--ink);
  font-size: clamp(1.65rem, 3vw, 2rem);
  font-weight: 620;
  letter-spacing: -0.04em;
}

.pp-result-banner-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex-shrink: 0;
  gap: 3px;
  padding-left: 20px;
  border-left: 1px solid var(--line);
  text-align: right;
}

.pp-result-banner-side > span {
  color: var(--faint);
  font-size: 0.64rem;
}

.pp-result-banner-side strong {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 650;
}

.pp-result-banner-link {
  margin-top: 6px;
  color: var(--brand);
  font-size: 0.72rem;
  font-weight: 600;
  text-decoration: none;
}

.pp-result-banner-link:hover {
  color: var(--brand-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pp-calculator-note {
  max-width: 960px;
  margin: 16px auto 0;
  color: var(--faint);
  font-size: 0.66rem;
  line-height: 1.55;
  text-align: center;
}

.pp-comparison-section {
  background: #fff;
}

.pp-section-heading--comparison {
  align-items: start;
}

.pp-table-scroll {
  max-width: 1080px;
  margin-inline: auto;
  overflow-x: auto;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: #fff;
  box-shadow: none;
  scrollbar-color: var(--line-strong) transparent;
}

.pp-table-scroll:focus-visible {
  outline: 2px solid rgba(0, 7, 172, 0.3);
  outline-offset: 3px;
}

.pp-comparison-table {
  width: 100%;
  min-width: 820px;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}

.pp-comparison-table th,
.pp-comparison-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
  color: var(--body);
  font-size: 0.72rem;
  line-height: 1.4;
  text-align: center;
  vertical-align: middle;
}

.pp-comparison-table th:first-child,
.pp-comparison-table td:first-child {
  border-left: 0;
}

.pp-comparison-table thead th {
  height: 112px;
  background: #fff;
  color: var(--ink);
  vertical-align: bottom;
}

.pp-comparison-table thead th:first-child {
  width: 36%;
  color: var(--faint);
  font-size: 0.66rem;
  font-weight: 600;
  text-align: left;
  vertical-align: middle;
}

.pp-comparison-table thead th:not(:first-child) {
  width: 21.333%;
}

.pp-comparison-table thead .pp-table-featured {
  background: var(--brand-tint);
}

.pp-table-plan,
.pp-comparison-table thead strong,
.pp-comparison-table thead small {
  display: block;
}

.pp-table-plan {
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 650;
}

.pp-comparison-table thead strong {
  margin-bottom: 3px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 650;
}

.pp-comparison-table thead small {
  color: var(--faint);
  font-size: 0.58rem;
  font-weight: 500;
}

.pp-comparison-table tbody th[scope="row"] {
  color: var(--ink);
  font-weight: 520;
  text-align: left;
}

.pp-table-volume th[scope="row"],
.pp-table-volume td {
  color: var(--ink);
  font-family: inherit;
  font-weight: 520;
}

.pp-comparison-table tbody td:nth-child(3) {
  background: rgba(245, 246, 254, 0.58);
}

.pp-comparison-table .pp-table-category th {
  padding: 13px 18px;
  border-left: 0;
  background: #f4f5f8;
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.025em;
  text-align: left;
}

.pp-comparison-table tbody:last-child tr:last-child th,
.pp-comparison-table tbody:last-child tr:last-child td {
  border-bottom: 0;
}

.pp-yes {
  color: var(--brand);
  font-size: 0.9rem;
  font-weight: 700;
}

.pp-no {
  color: #b5b9c7;
  font-size: 0.9rem;
}

.pp-cta-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 40px;
  max-width: 980px;
  margin: 44px auto 0;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.pp-cta-banner h3 {
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 620;
  letter-spacing: -0.02em;
}

.pp-cta-banner p {
  max-width: 590px;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.6;
}

.pp-cta-banner .btn {
  flex-shrink: 0;
  background: #fff;
  border-color: var(--line-strong);
  color: var(--ink);
}

.pp-cta-banner .btn:hover {
  background: var(--surface);
  border-color: var(--ink);
  box-shadow: none;
  transform: translateY(-1px);
}

@media (max-width: 980px) {
  .pp-plan-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    gap: 20px;
  }

  .pp-plan-card {
    min-height: 0;
  }

  .pp-plan-copy {
    min-height: 0;
  }

  .pp-section-heading {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 18px;
  }

  .pp-section-heading > p {
    max-width: 650px;
  }

  .pp-calculator {
    max-width: 680px;
  }

  .pp-range-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .pp-result-banner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .pp-result-banner-side {
    align-items: center;
    padding-left: 0;
    padding-top: 16px;
    border-left: 0;
    border-top: 1px solid var(--line);
    text-align: center;
  }
}

@media (max-width: 720px) {
  .pp-hero {
    padding-top: calc(var(--header-h) + 34px);
    padding-bottom: 72px;
    background-size: auto, 36px 36px, 36px 36px;
  }

  .pp-intro h1 {
    font-size: clamp(1.7rem, 8vw, 2.2rem);
  }

  .pp-lead {
    font-size: 0.92rem;
  }

  .pp-plan-card {
    padding: 24px 22px;
  }

  .pp-calculator-section,
  .pp-comparison-section {
    padding: 76px 0;
  }

  .pp-section-heading {
    margin-bottom: 30px;
  }

  .pp-calculator-top,
  .pp-calculator-bottom {
    padding: 26px 22px;
  }

  .pp-plan-selector-buttons {
    grid-template-columns: 1fr;
  }

  .pp-plan-selector button {
    min-height: 54px;
  }

  .pp-metrics-row {
    grid-template-columns: 1fr;
  }

  .pp-metric {
    padding: 0 0 18px;
  }

  .pp-metric + .pp-metric {
    padding: 18px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .pp-cta-banner {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 20px;
    padding-top: 26px;
  }

  .pp-cta-banner .btn {
    width: fit-content;
  }
}

@media (max-width: 430px) {
  .billing-toggle {
    gap: 8px;
  }

  .billing-toggle button {
    font-size: 0.78rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .billing-toggle button,
  .pp-plan-button,
  .pp-plan-selector button {
    transition: none;
  }
}
