.subpage-main {
  overflow: visible;
}

.preisliste-layout-modern {
  display: grid;
  gap: 1.2rem;
}

.pricing-title-block {
  display: grid;
  justify-items: center;
  gap: 0.65rem;
  padding-top: 0.35rem;
  text-align: center;
}

.pricing-title-block h1 {
  margin: 0;
  color: #21404e;
  font-size: clamp(2.1rem, 4.2vw, 3.2rem);
}

.pricing-title-block p {
  max-width: 760px;
  margin: 0;
  color: var(--text-soft);
  font-size: clamp(0.98rem, 1.7vw, 1.1rem);
  line-height: 1.7;
}

.search-only {
  position: sticky;
  top: calc(var(--header-height, 76px) + 0.7rem);
  z-index: 30;
  padding: 0.25rem 0;
}

.finder-search {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 56px;
  border: 1px solid #cfe0e8;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 34px rgba(16, 46, 61, 0.1);
  padding: 0 1.1rem;
  backdrop-filter: blur(12px);
}

.finder-search i {
  color: #4e7080;
}

.finder-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #163948;
  font-size: 1rem;
}

.finder-search input::placeholder {
  color: #6f8791;
}

.pricing-groups,
#grouped-results,
.price-category-list {
  display: grid;
  gap: 1rem;
}

#grouped-results {
  gap: 1.4rem;
}

.price-block--hair-removal .price-category-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
}

.price-block--hair-removal .price-card-list {
  grid-template-columns: 1fr;
}

.price-block {
  display: grid;
  gap: 1rem;
  padding: clamp(1rem, 2.2vw, 1.4rem);
  border: 1px solid rgba(198, 225, 235, 0.94);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(247, 253, 255, 0.96) 0%, rgba(255, 255, 255, 0.98) 100%);
  box-shadow: 0 18px 40px rgba(20, 54, 68, 0.08);
}

.price-block-head {
  display: grid;
  gap: 0.2rem;
}

.price-block-head .eyebrow {
  margin: 0;
  color: var(--primary);
  font-weight: 800;
}

.price-block-head h2 {
  margin: 0;
  color: #1e3f4f;
  font-size: clamp(1.65rem, 2.7vw, 2.35rem);
  line-height: 1.1;
}

.price-category {
  display: grid;
  gap: 0.7rem;
}

.price-category-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 0.15rem;
}

.price-category-head h3 {
  margin: 0;
  color: #244756;
  font-size: clamp(1.02rem, 1.65vw, 1.24rem);
  font-weight: 800;
}

.price-category-head span {
  color: #6d8590;
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
}

.price-card-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 0.72rem;
}

.price-card {
  min-width: 0;
  border: 1px solid #d2e2ea;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 22px rgba(19, 46, 59, 0.08);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.price-card:hover,
.price-card:focus-within {
  transform: translateY(-2px);
  border-color: rgba(37, 88, 106, 0.35);
  box-shadow: 0 16px 30px rgba(19, 46, 59, 0.14);
}

.price-card.is-highlighted {
  box-shadow: 0 0 0 3px rgba(41, 166, 179, 0.22), 0 16px 30px rgba(19, 46, 59, 0.14);
}

.price-card-button {
  width: 100%;
  min-height: 92px;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) 30px;
  align-items: center;
  gap: 0.7rem;
  border: 0;
  border-radius: 18px;
  background: linear-gradient(180deg, #fff 0%, #fbfdff 100%);
  color: inherit;
  padding: 0.52rem;
  text-align: left;
  cursor: pointer;
}

.price-card-media {
  display: block;
  width: 76px;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  overflow: hidden;
  background: #e9f5f9;
}

.price-card-media img,
.price-modal-media img,
.price-modal-variant-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.price-image-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: #2d5c68;
  background:
    radial-gradient(circle at 28% 22%, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0) 48%),
    linear-gradient(135deg, #dff2f7 0%, #c8e1ea 100%);
  font-size: 1.75rem;
  font-weight: 800;
}

.price-image-placeholder--small {
  border-radius: 14px;
  font-size: 1.25rem;
}

.price-card-main {
  min-width: 0;
  display: grid;
  grid-template-rows: auto minmax(2.7em, auto) auto;
  align-content: center;
  gap: 0.28rem;
}

.price-card-kicker {
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.price-card-title {
  min-height: 2.7em;
  display: flex;
  align-items: center;
  color: #183846;
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  font-weight: 800;
  line-height: 1.22;
}

.price-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.6rem;
  align-items: center;
  color: #69818c;
  font-size: 0.86rem;
}

.price-card-meta strong {
  color: #183846;
  font-size: 0.96rem;
}

.price-card-toggle {
  position: relative;
  width: 28px;
  height: 28px;
  border: 1px solid #cfe0e8;
  border-radius: 50%;
  background: #fff;
}

.price-card-toggle::before,
.price-card-toggle::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 2px;
  border-radius: 999px;
  background: #365967;
  transform: translate(-50%, -50%);
}

.price-card-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.price-empty-state {
  border: 1px solid #d2e2ea;
  border-radius: 20px;
  background: #fff;
  color: #4f6570;
  padding: 1.1rem;
  text-align: center;
}

body.price-modal-open {
  overflow: hidden;
}

.price-modal {
  --price-modal-viewport-gap: clamp(1.6rem, 4vw, 3rem);

  position: fixed;
  inset: 0;
  z-index: 2500;
  display: grid;
  place-items: center;
  padding: clamp(0.8rem, 2vw, 1.5rem);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.price-modal[hidden] {
  display: none;
}

.price-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 31, 38, 0.62);
  backdrop-filter: blur(3px);
}

.price-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  max-height: min(860px, calc(100vh - var(--price-modal-viewport-gap)));
  max-height: min(860px, calc(100svh - var(--price-modal-viewport-gap)));
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid #cfe4ec;
  border-radius: 26px;
  background: linear-gradient(180deg, #f8fdff 0%, #ffffff 100%);
  box-shadow: 0 28px 80px rgba(4, 22, 30, 0.32);
  overflow-wrap: break-word;
}

.price-modal-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 5;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin: 0;
  border: 1px solid #c9e1e9;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #244756;
  box-shadow: 0 10px 20px rgba(20, 54, 68, 0.12);
  cursor: pointer;
}

.price-modal-content {
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 1rem;
  padding: clamp(3.4rem, 6vw, 4rem) clamp(1rem, 2vw, 1.35rem) clamp(1rem, 2vw, 1.35rem);
  overflow-wrap: break-word;
}

.price-modal-hero {
  display: grid;
  grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(1rem, 2.4vw, 1.5rem);
  padding: clamp(0.75rem, 1.8vw, 1rem);
  border: 1px solid #d8e9f0;
  border-radius: 24px;
  background:
    radial-gradient(circle at 0 0, rgba(184, 232, 238, 0.38), transparent 42%),
    linear-gradient(135deg, #f9fdff 0%, #edf8fb 100%);
}

.price-modal-media {
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  overflow: hidden;
  background: #e8f4f8;
}

.price-modal-heading {
  min-width: 0;
  display: grid;
  align-content: center;
  gap: 0.65rem;
}

.price-modal-heading .eyebrow {
  margin: 0;
  color: var(--primary);
  font-weight: 800;
}

.price-modal-heading h2 {
  margin: 0;
  color: #183846;
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  line-height: 1.05;
}

.price-modal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.price-modal-meta span,
.price-modal-meta strong,
.price-modal-section-head span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  border: 1px solid #cfe5ec;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #315463;
  padding: 0.38rem 0.75rem;
  font-weight: 800;
}

.price-modal-meta strong {
  color: #123744;
}

.price-modal-section {
  min-height: 0;
  display: grid;
  align-content: start;
  gap: 0.85rem;
  padding: clamp(1rem, 2vw, 1.25rem);
  border: 1px solid #d8e9f0;
  border-radius: 24px;
  background: #ffffff;
}

.price-modal-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.price-modal-section h3,
.price-modal-section-head h3 {
  margin: 0;
  color: #1e4655;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.2;
}

.price-modal-detail-grid {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  gap: 1rem;
}

.price-modal-description {
  overflow: auto;
  justify-items: center;
  text-align: center;
  padding: clamp(1.1rem, 2.3vw, 1.5rem);
}

.price-modal-description--custom {
  border: 0;
  background: transparent;
  padding: 0;
}

.price-modal-custom-html {
  width: 100%;
  color: #2b2b2b;
}

.price-modal-custom-html *,
.price-modal-custom-html *::before,
.price-modal-custom-html *::after {
  box-sizing: border-box;
}

.price-modal-custom-html img {
  max-width: 100%;
  height: auto;
}

.price-modal-description-kicker {
  margin: 0;
  color: #1aa6a6;
  font-size: 0.76rem;
  line-height: 1.3;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 800;
}

.price-modal-description h3 {
  max-width: 100%;
  color: #202020;
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
}

.price-modal-description-divider {
  width: 70px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #1aa6a6, #9acb3c);
}

.price-modal-copy {
  display: grid;
  gap: 0.72rem;
  color: #4e6873;
  line-height: 1.68;
  width: 100%;
  justify-items: center;
}

.price-modal-copy p,
.price-modal-variant-note,
.price-modal-variant-text p {
  margin: 0;
}

.price-modal-lead {
  margin: 0;
  color: #2b2b2b;
  font-size: clamp(1rem, 1.7vw, 1.07rem);
  line-height: 1.7;
}

.price-modal-feature {
  display: grid;
  gap: 0.22rem;
  border: 1px solid #d9e9ef;
  border-radius: 16px;
  background: #f8fcfe;
  padding: 0.85rem 1rem;
}

.price-modal-feature strong {
  color: var(--primary-dark);
}

.price-modal-info-card {
  width: 100%;
  box-sizing: border-box;
  border-radius: 16px;
  border: 1px solid #e6e6e6;
  padding: 1rem 1rem;
  text-align: left;
}

.price-modal-description .price-modal-info-card {
  text-align: center;
}

.price-modal-info-card h4 {
  margin: 0 0 0.5rem;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  line-height: 1.3;
  font-weight: 800;
}

.price-modal-info-card p {
  margin: 0;
  color: #2b2b2b;
  font-size: 1rem;
  line-height: 1.65;
}

.price-modal-info-card--sand {
  background: #f9f7f2;
  border-color: #eee2cf;
}

.price-modal-info-card--sand h4 {
  color: #6b5b3e;
}

.price-modal-info-card--aqua {
  background: #f7fbfb;
  border-color: #dceeee;
}

.price-modal-info-card--aqua h4 {
  color: #1aa6a6;
}

.price-modal-text-blocks {
  width: 100%;
  display: grid;
  gap: 0.72rem;
  justify-items: stretch;
}

.price-modal-variant-description {
  display: grid;
  gap: 0.45rem;
}

.price-modal-variant-description-title {
  margin: 0;
  color: #2b2b2b;
  line-height: 1.6;
}

.price-modal-variant-description-copy {
  display: grid;
  gap: 0.45rem;
}

.price-modal-prices {
  width: clamp(248px, 29vw, 330px);
  overflow: auto;
}

.price-modal-variant-list {
  display: grid;
  gap: 0.62rem;
}

.price-modal-variant {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.8rem;
  border: 1px solid #d9e8ee;
  border-radius: 18px;
  background: #f9fcff;
  padding: 0.78rem;
}

.price-modal-variant--with-image {
  grid-template-columns: 62px minmax(0, 1fr) auto;
}

.price-modal-variant-image {
  width: 62px;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  overflow: hidden;
  background: #e8f4f8;
}

.price-modal-variant-copy {
  min-width: 0;
  display: grid;
  gap: 0.25rem;
}

.price-modal-variant-copy h4 {
  margin: 0;
  color: #244756;
  font-size: 1rem;
  line-height: 1.3;
}

.price-modal-variant-note,
.price-modal-variant-text {
  color: #5b7480;
  font-size: 0.92rem;
  line-height: 1.55;
}

.price-modal-variant-text {
  display: grid;
  gap: 0.45rem;
}

.price-modal-variant-feature {
  display: grid;
  gap: 0.2rem;
  margin: 0;
}

.price-modal-variant-feature strong {
  color: #1f4451;
}

.price-modal-variant-meta {
  display: grid;
  justify-items: end;
  gap: 0.16rem;
  color: #6a828d;
  font-size: 0.9rem;
  text-align: right;
  white-space: nowrap;
}

.price-modal-variant-meta strong {
  color: #173846;
  font-size: 1.04rem;
}

.price-modal-prices .price-modal-section-head {
  align-items: flex-start;
}

.price-modal-prices .price-modal-variant,
.price-modal-prices .price-modal-variant--with-image {
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 0.5rem;
}

.price-modal-prices .price-modal-variant-image {
  display: none;
}

.price-modal-prices .price-modal-variant-meta {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.2rem 0.65rem;
  justify-items: stretch;
  text-align: left;
  white-space: normal;
}

.price-modal-prices .price-modal-variant-meta strong {
  margin-left: auto;
}

.price-modal-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 1rem calc(0.85rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid #d8e9f0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
}

.price-modal-actions .btn {
  min-width: 170px;
  justify-content: center;
}

#price-modal-more[hidden] {
  display: none;
}

@media (max-width: 1120px) {
  .price-card-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .price-block--hair-removal .price-category-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .price-modal-content {
    grid-template-rows: none;
    align-content: start;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .price-modal-detail-grid {
    display: flex;
    flex-direction: column;
    grid-template-columns: 1fr;
    align-items: stretch;
    overflow: visible;
  }

  .price-modal-prices {
    order: 1;
    min-height: auto;
    width: 100%;
    overflow: visible;
  }

  .price-modal-description {
    order: 2;
    min-height: auto;
    width: 100%;
    overflow: visible;
  }
}

@media (max-width: 760px) {
  .search-only {
    top: calc(var(--header-height, 68px) + 0.45rem);
  }

  .price-block {
    border-radius: 22px;
    padding: 0.86rem;
  }

  .price-category-head,
  .price-modal-section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.25rem;
  }

  .price-card-list {
    grid-template-columns: 1fr;
  }

  .price-block--hair-removal .price-category-list {
    grid-template-columns: 1fr;
  }

  .price-card-button {
    min-height: 86px;
    grid-template-columns: 68px minmax(0, 1fr) 28px;
    gap: 0.62rem;
  }

  .price-card-media {
    width: 68px;
  }

  .price-modal {
    --price-modal-viewport-gap: calc(1rem + env(safe-area-inset-bottom, 0px));

    padding: 0.5rem;
    align-items: end;
  }

  .price-modal-dialog {
    width: 100%;
    max-height: calc(100vh - var(--price-modal-viewport-gap));
    max-height: calc(100svh - var(--price-modal-viewport-gap));
    border-radius: 22px 22px 0 0;
  }

  .price-modal-content {
    grid-template-rows: none;
    align-content: start;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .price-modal-hero {
    grid-template-columns: 1fr;
  }

  .price-modal-media {
    max-width: 240px;
    justify-self: center;
  }

  .price-modal-detail-grid {
    grid-template-columns: 1fr;
    overflow: visible;
  }

  .price-modal-description,
  .price-modal-prices {
    width: 100%;
    overflow: visible;
  }

  .price-modal-variant,
  .price-modal-variant--with-image {
    grid-template-columns: 1fr;
  }

  .price-modal-variant-meta {
    justify-items: start;
    text-align: left;
    white-space: normal;
  }

  .price-modal-actions {
    justify-content: center;
    gap: 0.55rem;
    padding: 0.75rem;
  }

  .price-modal-actions .btn {
    flex: 1 1 150px;
    max-width: 220px;
    min-width: 140px;
    width: auto;
  }
}

@media (max-width: 480px) {
  .price-modal {
    --price-modal-viewport-gap: calc(0.8rem + env(safe-area-inset-bottom, 0px));

    padding: 0.4rem 0.4rem calc(0.4rem + env(safe-area-inset-bottom, 0px));
  }

  .price-modal-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .price-modal-actions .btn {
    flex: 0 1 auto;
    width: 100%;
    max-width: none;
    min-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .price-card {
    transition: none;
  }
}
