/* Preis-Hub: Bundle · Nur Website · Nur Terminplaner (index + Branchenseiten) */
.ph-wrap {
  margin-top: 8px;
}
.ph-intro {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 40px;
  font-size: clamp(15px, 1.75vw, 17px);
  color: var(--color-text-secondary);
  line-height: 1.65;
}
.ph-tabs-main,
.ph-tabs-sub {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0 auto 20px;
  max-width: 720px;
}
.ph-tabs-main {
  margin-bottom: 36px;
}
.ph-tabs-sub {
  margin-bottom: 24px;
}
.ph-tabs-main {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: saturate(160%) blur(8px);
  -webkit-backdrop-filter: saturate(160%) blur(8px);
  padding: 6px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  box-shadow: 0 10px 30px rgba(28, 25, 23, 0.06), inset 0 1px 0 rgba(255,255,255,0.9);
  max-width: max-content;
}
.ph-tab {
  border: 1px solid transparent;
  background: transparent;
  color: var(--color-text-secondary);
  font-family: var(--font-main, "DM Sans", system-ui, sans-serif);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 100px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.ph-tabs-sub .ph-tab {
  border: 1px solid var(--color-border);
  background: #fff;
}
.ph-tab:hover {
  color: var(--color-anthrazit);
  border-color: rgba(155, 35, 33, 0.25);
}
.ph-tab.is-active {
  background: var(--color-bordeaux);
  color: #fff;
  border-color: var(--color-bordeaux);
  box-shadow: var(--shadow-bordeaux, 0 4px 16px rgba(155, 35, 33, 0.2));
}
.ph-tab:focus-visible {
  outline: 2px solid var(--color-bordeaux);
  outline-offset: 2px;
}
.ph-panel {
  display: none;
}
.ph-panel.is-active {
  display: block;
}
/* Abstand für Ribbons, die über die Kartenoberkante ragen (Bundle / Terminplaner) */
.ph-panel > .ph-grid:first-child {
  margin-top: 24px;
}
.ph-info-box {
  max-width: 52rem;
  margin: 0 auto 24px;
  padding: 16px 18px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--color-text-secondary);
  background: var(--color-bg-alt, #f4f3f1);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md, 8px);
}
.ph-info-box--bottom {
  margin-top: 28px;
  margin-bottom: 0;
  font-size: 14px;
}
.ph-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: stretch;
}
@media (min-width: 640px) {
  .ph-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
  }
}
@media (min-width: 1100px) {
  .ph-grid {
    gap: 30px;
  }
}
.ph-card {
  position: relative;
  background:
    radial-gradient(120% 80% at 50% -20%, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0) 60%),
    #fff;
  border: 1px solid var(--color-border);
  border-radius: 22px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 1px 3px rgba(28, 25, 23, 0.04),
    0 14px 40px rgba(28, 25, 23, 0.06);
  overflow: visible;
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
  align-self: stretch;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.3s cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 0.25s ease;
}
.ph-card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 2px 8px rgba(28, 25, 23, 0.06),
    0 22px 56px rgba(28, 25, 23, 0.12);
}
.ph-card--featured {
  border: 1px solid rgba(155, 35, 33, 0.22);
  background:
    radial-gradient(140% 90% at 50% -30%, rgba(155, 35, 33, 0.09) 0%, rgba(255, 255, 255, 0) 60%),
    #fff;
  box-shadow:
    0 0 0 1px rgba(155, 35, 33, 0.3),
    0 8px 22px rgba(155, 35, 33, 0.1),
    0 28px 60px rgba(155, 35, 33, 0.18);
  transform: translateY(-4px);
}
.ph-card--featured:hover {
  transform: translateY(-6px);
  box-shadow:
    0 0 0 1px rgba(155, 35, 33, 0.5),
    0 10px 26px rgba(155, 35, 33, 0.16),
    0 32px 68px rgba(155, 35, 33, 0.22);
}
@media (max-width: 639px) {
  .ph-card--featured,
  .ph-card--featured:hover {
    transform: none;
  }
}
.ph-card--soon {
  opacity: 0.55;
}
.ph-card-ribbon {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -38%);
  z-index: 4;
  pointer-events: none;
  line-height: 1;
}
.ph-card--ribbon-pop .ph-card-head--clickable,
.ph-card--ribbon-pop .ph-card-head--once {
  padding-top: 44px;
}
/* In einer Gruppe immer gleiches oberes Padding, unabhängig vom Ribbon */
.ph-grid .ph-card .ph-card-head--clickable,
.ph-grid .ph-card .ph-card-head--once {
  padding-top: 44px;
}
.ph-card-body,
.ph-card-footer {
  overflow: hidden;
}
.ph-card-head {
  padding: 44px 26px 22px;
}
.ph-card-head--clickable,
.ph-card-head--once {
  text-align: center;
}
.ph-card-head--once {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.ph-card-head--clickable {
  cursor: pointer;
  border-radius: 10px;
  transition: background 0.18s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.ph-card-head--clickable:hover {
  background: rgba(28, 25, 23, 0.03);
}
.ph-card-head--clickable:focus-visible {
  outline: 2px solid var(--color-bordeaux);
  outline-offset: 2px;
}
.ph-card-product {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 auto 10px;
  width: auto;
  max-width: 20rem;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  line-height: 1.4;
  opacity: 0.85;
}
.ph-card-product::before,
.ph-card-product::after {
  content: "";
  display: inline-block;
  width: 18px;
  height: 1px;
  background: var(--color-border);
}
.ph-card--featured .ph-card-product {
  color: var(--color-bordeaux);
  opacity: 0.9;
}
.ph-card--featured .ph-card-product::before,
.ph-card--featured .ph-card-product::after {
  background: rgba(155, 35, 33, 0.35);
}
.ph-card-bundle-blurb {
  margin: 0 auto 14px;
  padding: 0 4px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.55;
  color: var(--color-text-secondary);
  text-align: center;
  width: 100%;
  max-width: 22rem;
  min-height: 2.4em;
  box-sizing: border-box;
}
.ph-card-bundle-blurb::before {
  content: none;
}
.ph-card-head--clickable .ph-card-bundle-blurb,
.ph-card-head--clickable .ph-badge-row,
.ph-card-head--clickable .ph-pills,
.ph-card-head--clickable .ph-card-expand-strip,
.ph-card-head--clickable .ph-expand-hint {
  align-self: stretch;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.ph-card-expand-strip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 22px auto 0;
  padding: 0;
  width: auto;
  background: none;
  border: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--color-text-secondary);
  pointer-events: none;
  transition: color 0.18s ease;
}
.ph-card-expand-strip .ph-expand-text {
  position: relative;
  padding-bottom: 2px;
}
.ph-card-expand-strip .ph-expand-text::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  opacity: 0.25;
  transition: opacity 0.18s ease;
}
.ph-card-head--clickable:hover .ph-card-expand-strip {
  color: var(--color-bordeaux);
}
.ph-card-head--clickable:hover .ph-card-expand-strip .ph-expand-text::after {
  opacity: 0.7;
}
.ph-card--featured .ph-card-expand-strip {
  color: var(--color-bordeaux);
}
.ph-card--featured .ph-card-expand-strip .ph-expand-text::after {
  opacity: 0.5;
}
.ph-badge-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  min-height: 30px;
  justify-content: center;
}
.ph-badge-row--spacer {
  visibility: hidden;
  pointer-events: none;
}
.ph-card-head--once .ph-badge-row {
  justify-content: center;
}
.ph-card-head--clickable .ph-pills {
  justify-content: center;
  align-content: flex-start;
  flex: 1 1 auto;
  min-height: 6rem;
  margin-top: 18px;
}
@media (min-width: 640px) {
  .ph-card-head--clickable .ph-pills {
    min-height: 6.5rem;
  }
}
@media (max-width: 639px) {
  .ph-card-head--clickable .ph-pills {
    min-height: 0;
  }
}
.ph-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  background: var(--color-bordeaux);
  color: #fff;
  line-height: 1;
}
.ph-badge--soon {
  background: var(--color-bg-alt, #e8e4d8);
  color: var(--color-text-secondary);
  border: 1px solid var(--color-border);
  letter-spacing: 0.12em;
}
.ph-badge.ph-badge--ribbon {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  background: linear-gradient(180deg, #a82a28 0%, var(--color-bordeaux) 100%);
  color: #fff;
  border: none;
  box-shadow:
    0 0 0 4px #fff,
    0 10px 22px rgba(155, 35, 33, 0.28);
}
.ph-badge.ph-badge--ribbon::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35);
}
.ph-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 16px;
}
.ph-pill {
  font-size: 12px;
  font-weight: 500;
  padding: 5px 11px;
  border-radius: 100px;
  background: transparent;
  color: var(--color-text-secondary);
  border: 1px solid var(--color-border);
  line-height: 1.3;
  box-shadow: none;
}
.ph-card--featured .ph-pill {
  background: transparent;
  border-color: var(--color-border);
}
.ph-pill--web,
.ph-pill--tp {
  color: var(--color-anthrazit);
  font-weight: 600;
  background: transparent;
  border-color: var(--color-border);
  padding: 5px 11px;
}
.ph-pill--web::before,
.ph-pill--tp::before {
  content: none;
}
.ph-card-title {
  font-size: clamp(22px, 2.6vw, 26px);
  font-weight: 700;
  color: var(--color-anthrazit);
  margin: 0 auto 16px;
  max-width: 12em;
  width: 100%;
  text-align: center;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.ph-card-head--once .ph-card-title {
  width: 100%;
  max-width: 12em;
}
.ph-card-price {
  display: inline-flex;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  margin: 6px auto 0;
  width: auto;
  max-width: none;
  text-align: center;
  padding: 0;
  border-radius: 0;
  background: none;
  border: none;
  box-shadow: none;
  font-family: var(--font-heading, var(--font-main, "DM Sans", system-ui, sans-serif));
  font-variant-numeric: tabular-nums lining-nums;
  font-feature-settings: "ss01", "tnum", "lnum", "cv11";
  color: var(--color-anthrazit);
}
.ph-card-price__currency {
  font-family: var(--font-main, "DM Sans", system-ui, sans-serif);
  font-size: clamp(18px, 1.6vw, 20px);
  font-weight: 600;
  color: var(--color-text-secondary);
  line-height: 1;
  align-self: flex-start;
  margin-top: 0.55em;
  letter-spacing: -0.01em;
}
.ph-card-price__value {
  font-family: inherit;
  font-variant-numeric: inherit;
  font-feature-settings: inherit;
  font-size: clamp(3.25rem, 5.4vw + 0.5rem, 4rem);
  font-weight: 700;
  color: inherit;
  line-height: 0.95;
  letter-spacing: -0.045em;
  display: inline-flex;
  align-items: flex-start;
}
.ph-card-price__decimals {
  font-size: 0.34em;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1;
  margin-left: 0.14em;
  margin-top: 0.2em;
  color: inherit;
  -webkit-text-fill-color: currentColor;
  opacity: 0.95;
}
.ph-card--featured .ph-card-price__decimals {
  color: var(--color-bordeaux);
  -webkit-text-fill-color: var(--color-bordeaux);
}
.ph-card-price__suffix {
  font-family: var(--font-main, "DM Sans", system-ui, sans-serif);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--color-text-secondary);
  line-height: 1.25;
  align-self: flex-start;
  margin-top: 0.9em;
  white-space: nowrap;
}
.ph-card-price--inline {
  gap: 6px;
}
.ph-card-savings {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 14px auto 0;
  padding: 0 4px;
  min-height: 44px;
  text-align: center;
  line-height: 1.25;
}
.ph-card-savings--spacer {
  visibility: hidden;
}
.ph-card-savings__strike {
  font-size: 12px;
  font-weight: 500;
  color: var(--color-text-secondary);
  text-decoration: line-through;
  text-decoration-thickness: 1px;
  opacity: 0.7;
  letter-spacing: 0.01em;
}
.ph-card-savings__save {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--color-green, #2d7d46);
  line-height: 1.35;
}
.ph-card-price--inline .ph-card-price__suffix {
  font-size: 13px;
}
.ph-card--featured .ph-card-price__value {
  background: linear-gradient(135deg, var(--color-bordeaux) 0%, #7a1a18 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--color-bordeaux);
}
.ph-card--featured .ph-card-price__currency {
  color: var(--color-bordeaux);
  opacity: 0.85;
}
.ph-expand-hint {
  margin: 10px auto 0;
  max-width: 18rem;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--color-text-secondary);
  text-align: center;
  opacity: 0.6;
}
.ph-card-expand-strip .ph-expand-chevron {
  color: var(--color-text-secondary);
  transition: color 0.18s ease;
}
.ph-card-head--clickable:hover .ph-card-expand-strip .ph-expand-chevron {
  color: var(--color-bordeaux);
}
.ph-expand-chevron {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  transition: transform 0.25s ease, color 0.18s ease;
  color: var(--color-text-secondary);
}
.ph-card.is-open .ph-expand-chevron {
  transform: rotate(180deg);
}
.ph-card-body {
  display: none;
  padding: 4px 26px 22px;
  border-top: 1px solid var(--color-border);
  background: rgba(250, 250, 248, 0.55);
}
.ph-card.is-open .ph-card-body {
  display: block;
}
.ph-group-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-secondary);
  margin: 16px 0 8px;
}
.ph-group-title:first-child {
  margin-top: 14px;
}
.ph-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ph-list li {
  font-size: 14px;
  line-height: 1.45;
  padding: 5px 0;
  padding-left: 14px;
  position: relative;
  color: var(--color-text);
}
.ph-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-green, #2d7d46);
}
.ph-li--strike {
  opacity: 0.35;
  text-decoration: line-through;
}
.ph-li--strike::before {
  background: var(--color-border);
}
.ph-li--soon {
  color: var(--color-green, #2d7d46);
  font-weight: 500;
}
.ph-li--soon::before {
  background: var(--color-green);
}
.ph-card-footer {
  margin-top: auto;
  padding: 16px 24px 14px;
  min-height: 5.2em;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 500;
  color: var(--color-text-secondary);
  line-height: 1.55;
  border-top: 1px dashed rgba(28, 25, 23, 0.12);
  text-align: center;
  letter-spacing: 0.01em;
  opacity: 0.9;
}
.ph-card-cta {
  margin-top: 0;
  padding: 8px 26px 26px;
}
.ph-card-cta .btn {
  padding-top: 15px;
  padding-bottom: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.ph-card-cta .btn:hover {
  transform: translateY(-1px);
}
.ph-card--featured .ph-card-cta .btn {
  box-shadow: 0 8px 20px rgba(155, 35, 33, 0.22);
}
.ph-card-cta .btn {
  width: 100%;
  justify-content: center;
}
.ph-cta-disabled {
  pointer-events: none;
  opacity: 0.55;
}
.ph-once-grid .ph-card-body {
  display: block;
  border-top: none;
  padding-top: 8px;
}
.ph-once-grid .ph-card-head {
  cursor: default;
}
.ph-once-grid .ph-card-cta {
  margin-top: auto;
}
.ph-legal-footer {
  margin-top: 40px;
  text-align: center;
  font-size: 13px;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

/* Lenis: vermeidet Konflikt mit CSS scroll-behavior auf html */
html.lenis {
  scroll-behavior: auto !important;
}
