/* Pricing pages share the site's typography, orange accent and light surfaces. */
.pricing-hero {
  padding-block: clamp(32px, 5vw, 64px);
  background: linear-gradient(110deg, #f0f3f7 52%, #fff1e9);
}

body .page-preise .pricing-hero h1 {
  max-width: 1050px;
  font-size: clamp(2.4rem, 4.8vw, 4.5rem);
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.pricing-hero p { margin-top: 12px; max-width: 650px; }
.pricing-hero .pricing-compare-link { display: inline-flex; gap: 8px; align-items: center; margin-top: 18px; font-weight: 700; }

.pricing-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.pricing-switch a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 6px 11px;
  border: 1px solid #cfd7e0;
  border-radius: 8px;
  background: #fff;
  color: #202a38;
  font-size: .875rem;
  line-height: 1.35;
}

.pricing-switch a[aria-current="page"] { border-color: #dfa48c; background: #ffebe0; color: #8b2e0e; font-weight: 700; }
.pricing-switch a:hover { border-color: #a14327; }

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

.pricing-audiences { padding-block: 30px 0; }

.pricing-choice {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
  padding: clamp(18px, 3vw, 32px);
  border: 1px solid #d0d8e1;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 32px #202a3807;
}

.pricing-choice:hover { border-color: #c47557; }
.pricing-stage { color: #7b341f; font-size: .8rem; font-weight: 700; }

body .page-preise .pricing-choice h2,
body .page-preise .pricing-individual h2 {
  font-size: clamp(1.45rem, 2.7vw, 2.15rem);
  letter-spacing: -.045em;
}

.pricing-choice p { max-width: 430px; margin: 0; }
.pricing-choice-action { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 8px; color: #93351a; font-weight: 700; }
.pricing-choice:hover .pricing-choice-action { text-decoration: underline; text-underline-offset: 3px; }

.pricing-individual { padding-block: 40px 56px; }
.pricing-individual-grid { margin-top: 14px; }
.pricing-individual-grid > div { padding: 14px 0; border-top: 1px solid #dce2e9; }
.pricing-individual-grid p { margin: 4px 0 10px; }

.pricing-package-section { padding-block: 22px 0; }

.pricing-planned-note {
  margin: 0 0 17px;
  padding: 11px 15px;
  border: 1px solid #e4c1ae;
  border-radius: 9px;
  background: #fff4ed;
  color: #72321f;
  font-size: .9rem;
  line-height: 1.55;
}

body .page-preise .pricing-plan-grid { box-shadow: none; }

.pricing-plan {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  min-width: 0;
  padding: clamp(16px, 2.5vw, 27px);
  border: 1px solid #d4dce5;
  border-radius: 14px;
  background: #fff;
}

.pricing-plan-pro { border: 1px solid #e4a389; border-top: 3px solid #f35b30; background: #fff7f2; }
body .page-preise .pricing-plan h2 { font-size: 1.4rem; line-height: 1.2; }
.pricing-plan p { margin: 0; }

.pricing-plan-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.pricing-plan-price strong { color: #202a38; font-size: clamp(2rem, 3.7vw, 3rem); letter-spacing: -.055em; line-height: 1.1; }
.pricing-plan-price span { color: #526174; font-size: .82rem; font-weight: 600; }
.pricing-plan-setup, .pricing-plan .pricing-plan-description { font-size: .88rem; line-height: 1.45; }
.pricing-plan-description { flex: 1 0 auto; }

body .page-preise .pricing-plan .button {
  justify-content: center;
  min-height: 44px;
  padding: 11px 16px;
  font-size: .91rem;
}

.pricing-plan .plan-highlight { margin: 2px 0 0; }
.pricing-plan-features { margin-top: 2px; padding-top: 12px; border-top: 1px solid #dce2e9; }
.pricing-plan-features .pricing-inherited { color: #202a38; font-size: .9rem; font-weight: 700; }
.pricing-plan-features ul { display: grid; gap: 6px; margin: 8px 0 0; padding-left: 17px; color: #364556; font-size: .9rem; line-height: 1.45; }
.pricing-plan-features li::marker { color: #a03b20; }

.pricing-note { margin-top: 12px; color: #526174; font-size: .85rem; line-height: 1.45; }

.pricing-compare { padding-block: clamp(34px, 5vw, 64px) 0; }
.pricing-compare-intro { margin-bottom: 17px; }
body .page-preise .pricing-compare-intro h2 { font-size: clamp(1.6rem, 3.4vw, 2.8rem); }
.pricing-compare-intro p { margin-top: 6px; }

.pricing-matrix {
  width: 100%;
  table-layout: fixed;
  border: 1px solid #d4dce5;
  border-spacing: 0;
  border-radius: 12px;
  background: #fff;
  color: #202a38;
}

.pricing-function-column { width: 49%; }
.pricing-matrix th, .pricing-matrix td { padding: 9px 12px; }
.pricing-matrix td, .pricing-matrix thead th:not(:first-child) { text-align: center; }
.pricing-matrix thead th { background: #202a38; color: #fff; font-size: 1rem; }
.pricing-matrix thead th:first-child { border-top-left-radius: 11px; text-align: left; }
.pricing-matrix thead th:last-child { border-top-right-radius: 11px; }
.pricing-matrix thead small { display: block; margin-top: 2px; color: #dbe3ed; font-size: .75rem; font-weight: 400; }

.pricing-matrix tbody th {
  color: #283648;
  font-size: .9rem;
  font-weight: 500;
  line-height: 1.4;
  text-align: left;
}

.pricing-matrix tbody tr:not(.pricing-matrix-group) > * { border-top: 1px solid #e5eaf0; }
.pricing-matrix tbody .pricing-matrix-group th { padding-block: 8px; background: #eef2f6; font-size: .85rem; font-weight: 700; }
.pricing-matrix tbody td:nth-child(3) { background: #fff8f4; }
.pricing-matrix tbody tr:last-child td:last-child { border-bottom-right-radius: 10px; }
.pricing-matrix tbody:last-child tr:last-child th { border-bottom-left-radius: 10px; }
.pricing-feature-link { color: #185639; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }

.pricing-check {
  display: inline-grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 50%;
  background: #e5f2e9;
  color: #155537;
  font-size: .88rem;
  font-weight: 700;
}

.pricing-dash { color: #58677a; font-weight: 600; }
.pricing-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.pricing-individual details { border-bottom: 1px solid #d4dce5; padding-block: 13px; }
.pricing-individual summary { color: #202a38; cursor: pointer; font-weight: 700; }
.pricing-individual details p { max-width: 650px; padding-top: 8px; }

@media (min-width: 801px) {
  body .page-preise .pricing-plan-grid { gap: 16px; }
}

@media (max-width: 800px) {
  .pricing-hero { padding-block: 26px; }
  .pricing-audiences { padding-top: 18px; }
  .pricing-function-column { width: 43%; }
  .pricing-matrix th, .pricing-matrix td { padding: 8px 7px; }
}

@media (max-width: 540px) {
  .pricing-audiences, .pricing-individual-grid { grid-template-columns: minmax(0, 1fr); gap: 11px; }
  .pricing-individual { padding-block: 29px 40px; }
  .pricing-function-column { width: 39%; }
  .pricing-matrix th, .pricing-matrix td { padding: 7px 4px; }
  .pricing-matrix thead th { font-size: clamp(.65rem, 2.9vw, .82rem); }
  .pricing-matrix thead small { font-size: .65rem; line-height: 1.2; }
  .pricing-matrix tbody th { font-size: .77rem; hyphens: auto; overflow-wrap: anywhere; }
  .pricing-check { width: 22px; height: 22px; }
}
