.pricing-page {
  --pricing-dark: #02040a;
  --pricing-navy: #07111f;
  --pricing-ink: #07111f;
  --pricing-muted: #5f6876;
  --pricing-gold: #f4d2ad;
  --pricing-gold-strong: #d69a4c;
  --pricing-cream: #fff8ee;
  --pricing-card-dark: rgba(255, 255, 255, .075);
  --pricing-card-light: rgba(255, 255, 255, .84);
  --pricing-line-dark: rgba(255, 255, 255, .13);
  --pricing-line-light: rgba(7, 17, 31, .12);
  background: #02040a;
}

.pricing-page .main-nav a[aria-current="page"] {
  color: #fff;
  background: rgba(244, 210, 173, .14);
}

.pricing-page .site-header {
  z-index: 70;
}

.pricing-page #pakete,
.pricing-page #paketkarten,
.pricing-page #paket-anfrage,
.pricing-page #anfrage-formular {
  scroll-margin-top: 112px;
}

.pricing-hero {
  min-height: auto;
  padding-top: 1px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: #02040a;
  background-image: url("desktop_prices_top.png");
  background-size: cover;
  background-position: top left;
  background-repeat: no-repeat;
}

.pricing-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image: url("desktop_prices_top.png");
  background-size: cover;
  background-position: top left;
  background-repeat: no-repeat;
}

.pricing-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(2, 4, 10, .54) 0%, rgba(2, 4, 10, .24) 48%, rgba(2, 4, 10, .08) 100%),
    linear-gradient(180deg, rgba(2, 4, 10, .08) 0%, rgba(2, 4, 10, .10) 54%, rgba(2, 4, 10, .46) 100%);
}

.pricing-hero-shell {
  min-height: min(760px, 82svh);
  display: grid;
  align-content: center;
  padding-top: clamp(150px, 18vh, 190px);
  padding-bottom: clamp(70px, 10vh, 120px);
}

.pricing-hero h1 {
  max-width: 900px;
  font-size: clamp(3.2rem, 8vw, 7.6rem);
}

.pricing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.pricing-page .btn-primary { position: relative; }

.pricing-note,
.pricing-disclaimer {
  max-width: 780px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, .72);
  font-weight: 760;
}

.pricing-disclaimer {
  padding: 18px 20px;
  border: 1px solid rgba(7, 17, 31, .10);
  border-radius: 20px;
  color: #334155;
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 18px 48px rgba(7, 17, 31, .08);
}

.pricing-disclaimer.dark {
  color: rgba(255, 255, 255, .78);
  border-color: rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .075);
  box-shadow: none;
}

.pricing-anchor-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.pricing-anchor-list span,
.recommendation-badge,
.model-label {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.pricing-anchor-list span {
  padding: 9px 12px;
  color: rgba(255, 255, 255, .80);
  border: 1px solid rgba(255, 255, 255, .13);
  background: rgba(255, 255, 255, .075);
  backdrop-filter: blur(12px);
}

.pricing-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.pricing-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

.pricing-section .section-shell {
  position: relative;
  z-index: 1;
  padding-block: clamp(72px, 9vw, 112px);
}

.pricing-page .pricing-section.scene-dark {
  color: #fff;
  background-color: #020713;
  background-image:
    linear-gradient(180deg, rgba(2, 4, 10, .70), rgba(2, 7, 19, .82)),
    url("desktop_prices_background_01.png");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

.pricing-page .pricing-section.scene-dark::before {
  background:
    radial-gradient(circle at 12% 0%, rgba(244, 210, 173, .13), transparent 32%),
    radial-gradient(circle at 82% 18%, rgba(113, 183, 255, .12), transparent 34%);
  opacity: 1;
}

.pricing-page .pricing-section.section-light {
  color: var(--pricing-ink);
  background-color: #fffaf2;
  background-image:
    linear-gradient(180deg, rgba(255, 250, 242, .70), rgba(248, 248, 245, .88)),
    url("desktop_prices_background_02.png");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

.pricing-page .pricing-section.section-light::before {
  background:
    radial-gradient(circle at 7% 5%, rgba(12, 42, 68, .09), transparent 30%),
    radial-gradient(circle at 88% 0%, rgba(244, 210, 173, .18), transparent 34%);
  opacity: 1;
}

.pricing-page .pricing-section.section-light:nth-of-type(odd) {
  background-image:
    linear-gradient(180deg, rgba(255, 250, 242, .78), rgba(255, 244, 223, .88)),
    url("desktop_prices_background_02.png");
}

.pricing-two-grid,
.care-grid,
.handover-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.care-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pricing-info-card,
.pricing-package-card,
.faq-grid details {
  border: 1px solid var(--pricing-line-light);
  border-radius: 28px;
  background: var(--pricing-card-light);
  box-shadow: var(--shadow-light);
}

.pricing-info-card {
  padding: clamp(24px, 3vw, 34px);
  backdrop-filter: blur(10px);
}

.pricing-info-card h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.pricing-info-card p,
.pricing-info-card li {
  color: var(--pricing-muted);
}

.pricing-info-card ul,
.pricing-package-card ul,
.check-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 1.1rem;
}

.care-price {
  color: #8b5d2f !important;
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  font-weight: 950;
  letter-spacing: -.04em;
}

.package-price {
  color: var(--gold-2) !important;
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  font-weight: 950;
  letter-spacing: -.04em;
  text-shadow: 0 14px 36px rgba(244, 210, 173, .22);
}

.communication-note,
.package-option {
  margin-top: auto;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 18px;
  color: #1b130b !important;
  background: linear-gradient(135deg, #fff8ec 0%, #f4d2ad 100%);
  box-shadow: 0 14px 36px rgba(244, 210, 173, .16);
  font-weight: 900;
  line-height: 1.45;
}

.pricing-package-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.pricing-package-grid::before,
.pricing-package-grid::after {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  margin: 6px 0 -2px;
  color: rgba(255, 255, 255, .82);
  font-size: .86rem;
  font-weight: 950;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.pricing-package-grid::before {
  content: "Neue Websites";
  order: 0;
}

.pricing-package-grid::after {
  content: "Bestehende Website verbessern";
  order: 5;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .10);
}

.pricing-package-grid > .pricing-package-card:nth-of-type(1) {
  order: 1;
  grid-column: span 2;
}

.pricing-package-grid > .pricing-package-card:nth-of-type(2) {
  order: 2;
  grid-column: span 2;
}

.pricing-package-grid > .pricing-package-card:nth-of-type(3) {
  order: 3;
  grid-column: span 2;
}

.pricing-package-grid > .pricing-package-card:nth-of-type(4) {
  order: 6;
  grid-column: span 3;
}

.pricing-package-grid > .pricing-package-card:nth-of-type(5) {
  order: 7;
  grid-column: span 3;
}

.pricing-package-grid > .pricing-package-card:nth-of-type(6) {
  order: 4;
  grid-column: 1 / -1;
}

.pricing-package-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 18px;
  padding: clamp(22px, 2.6vw, 32px);
  color: #fff;
  border-color: rgba(244, 210, 173, .24);
  background:
    radial-gradient(circle at 88% -6%, rgba(244, 210, 173, .20), transparent 34%),
    radial-gradient(circle at 12% 0%, rgba(113, 183, 255, .14), transparent 30%),
    linear-gradient(165deg, rgba(11, 20, 36, .96) 0%, rgba(3, 8, 18, .94) 58%, rgba(12, 9, 6, .92) 100%);
  box-shadow: 0 28px 90px rgba(0, 0, 0, .46), 0 0 0 1px rgba(244, 210, 173, .06) inset, inset 0 1px 0 rgba(255, 255, 255, .12);
  backdrop-filter: blur(18px);
}

.pricing-package-card.featured,
.pricing-package-card.wide {
  grid-column: auto;
}

.package-card-head {
  display: grid;
  gap: 10px;
}

.package-label {
  display: inline-grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 15px;
  color: #211205;
  background: linear-gradient(145deg, #fff8df 0%, #f6c878 46%, #b87525 100%);
  box-shadow: 0 12px 30px rgba(214, 154, 76, .30), inset 0 1px 0 rgba(255, 255, 255, .70);
  font-weight: 950;
}

.pricing-package-card h3 {
  max-width: 620px;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
}

.pricing-package-card h4 {
  margin: 4px 0 6px;
  color: #ffd99f;
  text-shadow: 0 0 22px rgba(244, 210, 173, .22);
  font-size: .78rem;
  font-weight: 950;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.pricing-package-card p,
.pricing-package-card li {
  color: rgba(255, 255, 255, .80);
}

.pricing-package-card .btn {
  width: fit-content;
  max-width: 100%;
  margin-top: auto;
  white-space: normal;
  text-align: center;
}

.price-models {
  display: grid;
  gap: 12px;
}

.price-models div {
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 16px;
  border: 1px solid rgba(244, 210, 173, .22);
  border-radius: 20px;
  background:
    radial-gradient(circle at 85% 0%, rgba(244, 210, 173, .14), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .045));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .10), 0 18px 40px rgba(0, 0, 0, .20);
}

.price-models strong {
  color: #fff3dc;
  font-size: clamp(1.12rem, 2vw, 1.35rem);
  line-height: 1.2;
  text-shadow: 0 0 24px rgba(244, 210, 173, .16);
}

.price-models span,
.price-models em {
  color: rgba(255, 255, 255, .72);
  font-style: normal;
}

.price-models em {
  font-weight: 850;
}

.split-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 28px;
}

.pricing-split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(30px, 5vw, 70px);
}

.muted-list li {
  color: rgba(255, 255, 255, .74);
}

.external-cost-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.external-cost-grid span {
  min-width: 0;
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 18px;
  color: rgba(255, 255, 255, .82);
  background: rgba(255, 255, 255, .06);
  font-weight: 820;
  line-height: 1.35;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.faq-grid details {
  padding: 20px 22px;
  color: #fff;
  border-color: rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .07);
  box-shadow: none;
}

.faq-grid summary {
  min-height: 44px;
  display: flex;
  align-items: center;
  cursor: pointer;
  font-weight: 900;
  line-height: 1.35;
}

.faq-grid summary:focus-visible {
  outline: 3px solid rgba(244, 210, 173, .72);
  outline-offset: 5px;
  border-radius: 10px;
}

.faq-grid p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, .72);
  line-height: 1.6;
}

.final-cta-shell {
  text-align: center;
}

.final-cta-shell p {
  max-width: 760px;
  margin-inline: auto;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
}

.final-cta-shell .btn {
  margin-top: 18px;
}

.pricing-check-card {
  max-width: none;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px 24px;
  margin-bottom: 24px;
  padding: clamp(22px, 2.4vw, 30px);
  color: #fff;
}

.pricing-check-card .package-card-head {
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 12px;
}

.pricing-check-card h3 {
  max-width: none;
}

.pricing-check-card > p {
  max-width: 740px;
  margin: 0;
}

.pricing-check-card .check-hint {
  width: fit-content;
  margin: 0;
  padding: 7px 10px;
  border: 1px solid rgba(244, 210, 173, .24);
  border-radius: 999px;
  color: var(--gold-2);
  background: rgba(244, 210, 173, .10);
  font-size: .78rem;
  font-weight: 950;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.pricing-check-card .btn {
  justify-self: end;
  margin-top: 0;
}

.pricing-package-card.recommended {
  position: relative;
  border-color: rgba(244, 210, 173, .56);
  background:
    radial-gradient(circle at 88% -4%, rgba(244, 210, 173, .30), transparent 34%),
    radial-gradient(circle at 12% 0%, rgba(113, 183, 255, .16), transparent 30%),
    linear-gradient(155deg, rgba(18, 25, 40, .98), rgba(4, 9, 20, .96) 54%, rgba(18, 11, 5, .94));
  box-shadow: 0 30px 100px rgba(244, 210, 173, .18), 0 28px 90px rgba(0, 0, 0, .48), inset 0 1px 0 rgba(255, 255, 255, .14);
}

.recommendation-badge {
  padding: 8px 11px;
  color: #211205;
  border: 1px solid rgba(255, 244, 216, .62);
  background: linear-gradient(135deg, #fff8df 0%, #f4c471 52%, #b87525 100%);
  box-shadow: 0 12px 32px rgba(214, 154, 76, .24), inset 0 1px 0 rgba(255, 255, 255, .68);
}

.package-short-list li,
.package-details li {
  line-height: 1.55;
}

.package-details {
  display: grid;
  gap: 14px;
}

.package-details summary {
  min-height: 48px;
  display: flex;
  align-items: center;
  cursor: pointer;
  color: #fff;
  font-weight: 900;
}

.package-details summary:focus-visible {
  outline: 3px solid rgba(244, 210, 173, .72);
  outline-offset: 4px;
  border-radius: 12px;
}

.model-label {
  padding: 6px 9px;
  color: #ffd99f !important;
  border: 1px solid rgba(244, 210, 173, .32);
  background: rgba(244, 210, 173, .12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}

.pricing-package-card h4 + ul,
.pricing-package-card h4 + .package-short-list {
  margin-top: 10px;
}

.pricing-package-card .package-details ul + h4 {
  margin-top: 26px;
}

.pricing-inquiry-section {
  border-top: 1px solid rgba(244, 210, 173, .16);
}

.pricing-inquiry-grid {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 74px);
  align-items: start;
}

.selected-package-note {
  width: fit-content;
  max-width: 100%;
  margin: 24px 0 0;
  padding: 14px 16px;
  border: 1px solid rgba(244, 210, 173, .34);
  border-radius: 18px;
  color: rgba(255, 255, 255, .82);
  background: linear-gradient(135deg, rgba(244, 210, 173, .14), rgba(255, 255, 255, .055));
  box-shadow: 0 18px 46px rgba(0, 0, 0, .24), inset 0 1px 0 rgba(255, 255, 255, .10);
  font-weight: 850;
}

.selected-package-note strong {
  color: #ffd99f;
}

.pricing-inquiry-section .contact-trust-list,
.pricing-inquiry-section .form-expectations {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding-left: 1.15rem;
}

.pricing-inquiry-section .contact-trust-list li,
.pricing-inquiry-section .form-expectations li {
  color: rgba(255, 255, 255, .78);
}

.intent-selector {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.intent-selector legend {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, .74);
  font-size: .92rem;
  font-weight: 850;
}

.intent-grid,
.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.intent-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.intent-card {
  position: relative;
}

.intent-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.intent-card-body {
  min-height: 100%;
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 18px;
  background: rgba(0, 0, 0, .20);
  cursor: pointer;
  transition: .18s ease;
}

.intent-card-body strong {
  color: #fff;
  font-size: .94rem;
}

.intent-card-body small {
  color: rgba(255, 255, 255, .58);
  line-height: 1.35;
}

.intent-card input:checked + .intent-card-body {
  border-color: rgba(244, 210, 173, .44);
  background: rgba(244, 210, 173, .12);
  box-shadow: 0 0 0 1px rgba(244, 210, 173, .10) inset, 0 16px 34px rgba(0, 0, 0, .22);
}

.intent-card input:focus-visible + .intent-card-body {
  outline: 3px solid rgba(244, 210, 173, .62);
  outline-offset: 3px;
}

.field-label-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.field-label-line span:last-child {
  color: rgba(255, 255, 255, .42);
  font-size: .82rem;
}

.form-expectations {
  margin-top: 0 !important;
}

.form-next-step {
  margin: 0;
  color: rgba(255, 255, 255, .66) !important;
  font-size: .92rem !important;
  line-height: 1.55;
}

/* Pricing cleanup: the free-check card is redundant with the final CTA and made the first pricing view feel random. */
.pricing-section[aria-labelledby="packages-title"] .pricing-check-card {
  display: none !important;
}

.pricing-section[aria-labelledby="packages-title"] .pricing-package-grid {
  margin-top: clamp(28px, 4vw, 46px);
}

.pricing-package-grid::before,
.pricing-package-grid::after {
  width: fit-content;
  min-height: auto;
  padding: 8px 13px;
  border: 1px solid rgba(244, 210, 173, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}

.pricing-package-grid::after {
  margin-top: clamp(34px, 5vw, 56px);
}

.package-option {
  width: fit-content !important;
  max-width: min(100%, 255px) !important;
  display: inline-flex !important;
  align-self: flex-start !important;
  align-items: center;
  justify-content: center;
  margin-top: 8px !important;
  padding: 8px 12px !important;
  border-radius: 999px !important;
  font-size: .78rem !important;
  line-height: 1.2 !important;
  text-align: center;
}


/* CTA buttons inherit the central Pagivo master style from assets/styles.css. */

.pricing-package-card {
  border-color: rgba(244, 210, 173, .34);
  background:
    radial-gradient(circle at 88% -6%, rgba(244, 210, 173, .28), transparent 34%),
    radial-gradient(circle at 10% 0%, rgba(113, 183, 255, .18), transparent 32%),
    linear-gradient(165deg, rgba(9, 17, 31, .98) 0%, rgba(2, 6, 15, .98) 58%, rgba(14, 9, 5, .96) 100%);
  box-shadow: 0 32px 100px rgba(0, 0, 0, .56), 0 0 0 1px rgba(244, 210, 173, .10) inset, inset 0 1px 0 rgba(255, 255, 255, .14);
}

.pricing-package-card.recommended {
  border-color: rgba(244, 210, 173, .72);
  background:
    radial-gradient(circle at 88% -4%, rgba(244, 210, 173, .38), transparent 34%),
    radial-gradient(circle at 12% 0%, rgba(113, 183, 255, .20), transparent 30%),
    linear-gradient(155deg, rgba(18, 25, 40, .99), rgba(3, 8, 18, .98) 54%, rgba(21, 12, 5, .97));
  box-shadow: 0 34px 110px rgba(244, 210, 173, .23), 0 30px 95px rgba(0, 0, 0, .56), inset 0 1px 0 rgba(255, 255, 255, .16);
}

.package-label {
  color: #1f1104;
  background: linear-gradient(145deg, #fff9df 0%, #ffd38a 42%, #d89238 72%, #925516 100%);
  box-shadow: 0 14px 34px rgba(214, 154, 76, .38), 0 0 28px rgba(244, 210, 173, .18), inset 0 1px 0 rgba(255, 255, 255, .76);
}

.price-models div {
  border-color: rgba(244, 210, 173, .32);
  background:
    radial-gradient(circle at 85% 0%, rgba(244, 210, 173, .22), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .052));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 20px 46px rgba(0, 0, 0, .26);
}

.price-models strong,
.package-price,
.care-price {
  color: #fff0ce !important;
  text-shadow: 0 0 26px rgba(244, 210, 173, .22), 0 12px 28px rgba(0, 0, 0, .22);
}

.pricing-package-card h4 {
  margin: 8px 0 0;
}

.pricing-package-card h4 + ul,
.pricing-package-card h4 + .package-short-list {
  margin-top: 14px;
}

.pricing-package-card ul + h4,
.pricing-package-card .package-details ul + h4 {
  margin-top: 32px;
}

@media (min-width: 821px) {
  .price-models {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  }

  .price-models strong {
    white-space: nowrap;
  }

  .care-grid .care-price {
    padding: 7px 12px;
    font-size: clamp(1.28rem, 1.55vw, 1.62rem);
    line-height: 1.08;
    letter-spacing: -.03em;
  }
}

@media (max-width: 1080px) {
  .pricing-package-grid,
  .care-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-package-grid > .pricing-package-card,
  .pricing-package-grid > .pricing-package-card:nth-of-type(1),
  .pricing-package-grid > .pricing-package-card:nth-of-type(2),
  .pricing-package-grid > .pricing-package-card:nth-of-type(3),
  .pricing-package-grid > .pricing-package-card:nth-of-type(4),
  .pricing-package-grid > .pricing-package-card:nth-of-type(5) {
    grid-column: auto;
  }

  .pricing-package-grid > .pricing-package-card:nth-of-type(6) {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  .pricing-page .site-header {
    width: calc(100% - 24px);
  }

  .pricing-page .site-header .brand-video-link {
    width: clamp(142px, 44vw, 178px);
    height: clamp(38px, 10vw, 48px);
  }


  .pricing-page .main-nav a[aria-current="page"] {
    color: #201305;
    border-color: rgba(255, 244, 216, .56);
    background: linear-gradient(135deg, #fff6df, #f2bd69 58%, #bd792a);
    box-shadow: 0 14px 30px rgba(214, 154, 76, .22), inset 0 1px 0 rgba(255, 255, 255, .62);
  }

  .pricing-hero,
  .pricing-hero::before {
    background-image: url("mobile_prices_top.png");
    background-position: top left;
  }

  .pricing-hero::after {
    background:
      radial-gradient(circle at 0% 0%, rgba(2, 4, 10, .98) 0 18%, rgba(2, 4, 10, .72) 34%, transparent 54%),
      linear-gradient(90deg, rgba(2, 4, 10, .74) 0%, rgba(2, 4, 10, .28) 50%, rgba(2, 4, 10, .10) 100%),
      linear-gradient(180deg, rgba(2, 4, 10, .12) 0%, rgba(2, 4, 10, .14) 54%, rgba(2, 4, 10, .50) 100%);
  }

  .pricing-page .pricing-section.scene-dark {
    background-image:
      linear-gradient(180deg, rgba(2, 4, 10, .74), rgba(2, 7, 19, .86)),
      url("mobile_prices_background_01.png");
  }

  .pricing-page .pricing-section.section-light,
  .pricing-page .pricing-section.section-light:nth-of-type(odd) {
    background-image:
      linear-gradient(180deg, rgba(255, 250, 242, .78), rgba(248, 248, 245, .90)),
      url("mobile_prices_background_02.png");
  }

  .pricing-hero-shell {
    min-height: auto;
    align-content: start;
    padding-top: 116px;
    padding-bottom: 48px;
  }

  .pricing-hero h1 {
    font-size: clamp(2.7rem, 15vw, 4.4rem);
    line-height: .95;
  }

  .pricing-actions {
    flex-direction: column;
    gap: 12px;
    margin-top: 22px;
  }

  .pricing-actions .btn,
  .pricing-package-card .btn,
  .final-cta-shell .btn {
    width: 100%;
    min-height: 50px;
    justify-content: center;
    font-size: 1rem;
    line-height: 1.2;
  }

  .pricing-note {
    margin-top: 16px;
    font-size: .98rem;
    line-height: 1.45;
  }

  .pricing-anchor-list {
    flex-direction: column;
  }

  .pricing-anchor-list span {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .pricing-section .section-shell {
    padding-block: 58px;
  }

  .pricing-check-card {
    grid-template-columns: 1fr;
    max-width: none;
    margin-bottom: 18px;
  }

  .pricing-check-card .package-card-head {
    grid-template-columns: 1fr;
  }

  .pricing-check-card .btn {
    justify-self: stretch;
  }

  .pricing-inquiry-grid,
  .pricing-package-grid,
  .pricing-two-grid,
  .care-grid,
  .handover-grid,
  .pricing-split-section,
  .faq-grid,
  .external-cost-grid,
  .split-list,
  .intent-grid,
  .form-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .pricing-package-grid > .pricing-package-card,
  .pricing-package-grid > .pricing-package-card:nth-of-type(1),
  .pricing-package-grid > .pricing-package-card:nth-of-type(2),
  .pricing-package-grid > .pricing-package-card:nth-of-type(3),
  .pricing-package-grid > .pricing-package-card:nth-of-type(4),
  .pricing-package-grid > .pricing-package-card:nth-of-type(5),
  .pricing-package-grid > .pricing-package-card:nth-of-type(6) {
    grid-column: 1 / -1;
  }

  .pricing-package-grid::before,
  .pricing-package-grid::after {
    min-height: 34px;
    margin-top: 10px;
    font-size: .76rem;
    letter-spacing: .14em;
  }

  .pricing-package-card,
  .pricing-info-card,
  .faq-grid details {
    padding: 22px;
  }

  .pricing-package-card h3 {
    font-size: clamp(1.65rem, 7vw, 2.2rem);
    line-height: 1.05;
  }

  .pricing-package-card h4 + ul,
  .pricing-package-card h4 + .package-short-list {
    margin-top: 12px;
  }

  .pricing-package-card ul + h4,
  .pricing-package-card .package-details ul + h4 {
    margin-top: clamp(24px, 7vw, 38px);
  }

  .pricing-package-card p,
  .pricing-package-card li,
  .pricing-info-card p,
  .pricing-info-card li,
  .muted-text,
  .faq-grid p {
    font-size: 1rem;
    line-height: 1.58;
  }

  .care-price,
  .package-price {
    font-size: clamp(1.65rem, 8vw, 2.35rem);
    line-height: 1.05;
  }

  .package-option {
    max-width: 100% !important;
  }

  .pricing-inquiry-section .contact-form {
    border-radius: 26px;
  }
}

@media (max-width: 520px) {
  .pricing-hero-shell {
    padding-top: 104px;
    padding-bottom: 42px;
  }

  .pricing-section .section-shell {
    padding-block: 52px;
  }

  .pricing-package-card,
  .pricing-info-card,
  .faq-grid details {
    padding: 20px;
    border-radius: 22px;
  }

  .price-models div,
  .external-cost-grid span {
    padding: 14px;
  }
}


/* Polish patch: make the light Betreuung cards readable and calmer. */
.care-grid .pricing-info-card {
  display: flex;
  flex-direction: column;
}

.care-grid .care-price {
  width: fit-content;
  margin: 2px 0 8px;
  padding: 8px 13px;
  border: 1px solid rgba(7, 17, 31, .16);
  border-radius: 999px;
  color: #172033 !important;
  background: linear-gradient(135deg, rgba(255, 248, 224, .98) 0%, rgba(244, 196, 113, .92) 54%, rgba(214, 154, 76, .86) 100%);
  box-shadow: 0 12px 26px rgba(126, 83, 34, .16), inset 0 1px 0 rgba(255, 255, 255, .76);
  text-shadow: none;
}

.care-grid .communication-note {
  margin-top: 22px;
  padding: 18px 20px;
  border-color: rgba(7, 17, 31, .10);
  color: #243044 !important;
  background: linear-gradient(135deg, rgba(255, 252, 246, .96) 0%, rgba(255, 245, 229, .92) 100%);
  box-shadow: 0 16px 34px rgba(7, 17, 31, .08), inset 0 1px 0 rgba(255, 255, 255, .82);
  font-weight: 820;
  line-height: 1.62;
}

.pricing-page #anfrage-formular {
  scroll-margin-top: 104px;
}

@media (max-width: 820px) {
  .care-grid .care-price {
    margin-bottom: 10px;
  }

  .care-grid .communication-note {
    margin-top: 24px;
    padding: 18px;
  }

  .pricing-page #paketkarten {
    scroll-margin-top: 72px;
  }

  .pricing-page #anfrage-formular {
    scroll-margin-top: 92px;
  }
}

/* Decision helper: keeps prices visible, but reduces package pressure before the cards. */
.decision-help-section .section-shell {
  padding-top: clamp(54px, 7vw, 86px);
  padding-bottom: clamp(32px, 5vw, 56px);
}

.decision-help-card {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, 1.1fr);
  gap: clamp(18px, 3vw, 34px);
  align-items: center;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(7, 17, 31, .10);
  border-radius: 34px;
  background:
    radial-gradient(circle at 92% 0%, rgba(244, 210, 173, .58), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, .96), rgba(255, 250, 242, .86));
  box-shadow: 0 24px 70px rgba(11, 23, 40, .12);
}

.decision-help-copy p {
  max-width: 62ch;
  color: var(--muted);
}

.decision-help-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.decision-help-options article {
  min-height: 100%;
  padding: 18px;
  border: 1px solid rgba(7, 17, 31, .10);
  border-radius: 20px;
  background: rgba(255, 255, 255, .76);
}

.decision-help-options h3 {
  margin-bottom: 8px;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.2;
  letter-spacing: -.02em;
}

.decision-help-options p {
  margin: 0;
  color: var(--muted);
  font-size: .95rem;
}

.decision-help-card > .btn {
  width: fit-content;
  max-width: 100%;
}

@media (max-width: 1080px) {
  .decision-help-card,
  .decision-help-options {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .decision-help-card {
    padding: 22px;
    border-radius: 26px;
  }

  .decision-help-card > .btn {
    width: 100%;
    text-align: center;
  }
}
