/* Preisseite im Stil der Startseite: Hero-Verlauf, Abo-Karten aus home-sections.css, ruhige Vergleichstabelle */
.pricing-page main.plans-main {
  width: 100%;
  max-width: none;
}
.pp-sr,
.price-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Hero: abgerundete Fläche mit dem Lila-Rosé-Verlauf, Karten sitzen unten im Verlauf */
.pp-hero {
  position: relative;
  isolation: isolate;
  width: min(1320px, calc(100% - 24px));
  margin: 8px auto 0;
  padding: clamp(56px, 7vw, 92px) 0 clamp(36px, 5vw, 64px);
  border-radius: 36px;
  background:
    linear-gradient(180deg, #ffffff 0%, #fcfbff 30%, rgb(250 248 255 / 0.85) 44%, rgb(248 245 255 / 0) 66%),
    radial-gradient(ellipse 55% 60% at 0% 100%, #b0a0f9 0%, rgb(176 160 249 / 0) 72%),
    radial-gradient(ellipse 55% 60% at 100% 100%, #f093aa 0%, rgb(240 147 170 / 0) 72%),
    linear-gradient(90deg, #b0a0f9, #f093aa);
  text-align: center;
}
.pp-hero-copy {
  max-width: 760px;
  margin: 0 auto clamp(32px, 4vw, 52px);
  padding-inline: 20px;
}
.home-page .pp-hero h1 {
  margin: 0 0 12px;
  color: var(--hs-ink);
  font-size: clamp(2.4rem, 4.6vw, 4rem);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.045em;
}
.pp-hero-copy > p {
  max-width: 520px;
  margin: 0 auto 26px;
  color: #4a566a;
  font-size: clamp(0.98rem, 1.1vw, 1.04rem);
  line-height: 1.6;
}
.pp-plans {
  text-align: left;
}
.home-page .pp-plans .pl-body h2 {
  display: block;
  margin: 0;
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.pp-plans .pl-card {
  box-shadow: 0 30px 60px -36px rgb(70 45 130 / 0.5);
}
.pl-billing {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  align-items: center;
  margin: -10px 0 18px;
  color: var(--hs-muted);
  font-size: 0.82rem;
}
.plan-savings {
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--hs-rose-soft);
  color: var(--hs-rose-text);
  font-weight: 500;
}

/* Premium: Regler für die Zahl der Standorte */
.pp-loc {
  display: grid;
  gap: 8px;
  margin: -4px 0 18px;
  padding: 14px;
  border-radius: 16px;
  background: #f6f3ff;
}
.pp-loc label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  color: var(--hs-muted);
  font-size: 0.86rem;
}
.pp-loc label strong {
  color: var(--hs-ink);
  font-size: 1.3rem;
  font-weight: 500;
}
.pp-loc input[type="range"] {
  width: 100%;
  height: 6px;
  margin: 6px 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #b0a0f9, #f093aa var(--fill, 0%), #e3ddf3 var(--fill, 0%));
  appearance: none;
  cursor: pointer;
}
.pp-loc input[type="range"]::-webkit-slider-thumb {
  width: 22px;
  height: 22px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: #e8457a;
  box-shadow: 0 3px 10px rgb(11 27 51 / 0.3);
  appearance: none;
  transition: scale 0.25s ease;
}
.pp-loc input[type="range"]::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: #e8457a;
  box-shadow: 0 3px 10px rgb(11 27 51 / 0.3);
}
.pp-loc input[type="range"]:active::-webkit-slider-thumb {
  scale: 1.12;
}
.pp-loc input[type="range"]:focus-visible {
  outline: 2px solid var(--hs-rose);
  outline-offset: 4px;
}
.pp-hero .pl-enterprise {
  text-align: left;
}

/* Umschalter Monatlich/Jährlich als Glas-Pille wie die Hero-Buttons */
.billing-control[hidden] {
  display: none;
}
.billing-toggle {
  position: relative;
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  padding: 5px;
  border: 1px solid rgb(255 255 255 / 0.85);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.45);
  box-shadow:
    0 14px 30px -16px rgb(70 45 130 / 0.45),
    inset 0 1px 0 rgb(255 255 255 / 0.7);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.billing-indicator {
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 5px;
  width: calc(50% - 5px);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 6px 16px -8px rgb(11 27 51 / 0.35);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.billing-toggle.is-yearly .billing-indicator {
  transform: translateX(100%);
}
.billing-toggle button {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 18px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--hs-muted);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.3s ease;
}
.billing-toggle button[aria-pressed="true"] {
  color: var(--hs-ink);
}
.billing-toggle small {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--hs-rose-soft);
  color: var(--hs-rose-text);
  font-size: 0.72rem;
  font-weight: 500;
}
.billing-toggle button:focus-visible {
  outline: 2px solid var(--hs-rose);
  outline-offset: 2px;
}

/* Hinweis unter den Karten */
.pp-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 18px;
  margin-top: 28px;
  color: var(--hs-muted);
  font-size: 0.93rem;
  text-align: center;
}
.pp-note p {
  margin: 0;
}
.pp-note p a,
.pp-compare .bt-head a {
  color: var(--hs-rose-text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Vergleich: weiße Karte im Hero-Rahmen, Business-Spalte zart lila */
.pp-compare {
  padding-block: clamp(72px, 8vw, 112px) clamp(40px, 5vw, 64px);
}
.home-page .pp-compare .bt-head h2 span {
  color: var(--hs-muted);
}
.price-table-frame {
  overflow-x: auto;
  padding: 8px;
  border: 1px solid rgb(11 27 51 / 0.07);
  border-radius: 28px;
  background: linear-gradient(150deg, rgb(176 160 249 / 0.18), rgb(240 147 170 / 0.18));
  box-shadow: 0 30px 60px -40px rgb(70 45 130 / 0.45);
}
.price-table {
  width: 100%;
  min-width: 720px;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border-radius: 21px;
  background: #fff;
  color: var(--hs-ink);
  font-size: 0.93rem;
}
.price-table th,
.price-table td {
  padding: 15px 18px;
  border-bottom: 1px solid var(--hs-line);
  text-align: center;
  vertical-align: middle;
}
.price-table th[scope="row"] {
  width: 40%;
  font-weight: 400;
  text-align: left;
}
.price-table thead th {
  padding-block: 22px 18px;
  font-size: 1.1rem;
  font-weight: 500;
}
.price-table thead th:first-child {
  color: var(--hs-muted);
  font-size: 0.85rem;
  text-align: left;
}
.price-table thead th span {
  display: block;
  margin-top: 3px;
  color: var(--hs-muted);
  font-size: 0.82rem;
  font-weight: 400;
}
.price-table .pro-column {
  background: #f6f3ff;
}
.price-table thead .pro-column {
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}
.price-group th {
  padding: 22px 18px 10px;
  background: #fff;
  color: var(--hs-ink);
  font-size: 0.86rem;
  font-weight: 500;
  text-align: left;
}
.price-table tbody:last-child tr:last-child > * {
  border-bottom: 0;
}
/* Ja als rosé Haken, Nein als blasser Strich; der Text bleibt für Screenreader */
.price-yes,
.price-no {
  display: inline-block;
  width: 24px;
  height: 24px;
  overflow: hidden;
  border-radius: 50%;
  color: transparent;
  font-size: 0;
  vertical-align: middle;
}
.price-yes {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m7 12.5 3.2 3.2L17 9' fill='none' stroke='%23c42a5f' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat,
    var(--hs-rose-soft);
}
.price-no {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 12h8' fill='none' stroke='%23b4bccb' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}

/* FAQ nutzt die Startseiten-Karten; Abstand zur Tabelle */
.pp-faq {
  padding-top: clamp(40px, 5vw, 72px);
}

@media (max-width: 640px) {
  .pp-hero {
    width: calc(100% - 16px);
    border-radius: 26px;
  }
  .billing-toggle button {
    padding-inline: 12px;
  }
  .billing-toggle small {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .billing-indicator,
  .billing-toggle button {
    transition: none;
  }
}
