/* The pricing section uses the site's existing paper, lilac and ink tokens. */
#preise { padding-block: 96px 80px; }
#preise .pricing-heading {
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  margin-block: 28px 32px;
}
#preise .pricing-heading h2 {
  max-width: 26ch;
  font-size: clamp(2.25rem, 1.45rem + 3.1vw, 4.4rem);
  line-height: 1.12;
  text-wrap: balance;
}
#preise .pricing-heading > p {
  margin: 0;
  max-width: 78ch;
  font-size: 1rem;
  color: var(--muted);
}
#preise .trial-pricing {
  grid-template-columns: 150px minmax(0, 1fr) minmax(210px, .65fr);
  gap: 20px 28px;
  padding: 22px;
  border: 1px solid #473b7026;
  border-radius: 12px;
  margin-bottom: 24px;
  align-items: center;
}
#preise .pricing-photo {
  position: relative;
  margin: 0;
  align-self: stretch;
  min-height: 136px;
  overflow: hidden;
  border-radius: 6px;
}
#preise .pricing-photo img {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  object-fit: cover;
  object-position: 60% center;
}
#preise .pricing-photo figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 5px 8px;
  font-size: .625rem;
  line-height: 1.5;
  color: var(--paper);
  background: #191b1bcc;
}
#preise .trial-pricing h3 {
  font-family: var(--heading);
  font-weight: 650;
  font-size: clamp(1.5rem, 1.05rem + 1.1vw, 2rem);
  line-height: 1.2;
  margin-block: 8px;
  letter-spacing: -.04em;
}
#preise .trial-pricing .section-kicker { color: var(--accent); }
#preise .trial-pricing__intro { margin: 0; font-size: .9375rem; }
#preise .trial-pricing .trial-cta {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--accent);
  border-radius: 0;
  color: var(--accent);
  padding: 12px 0;
  min-height: 48px;
  justify-self: end;
  box-shadow: none;
  white-space: normal;
  text-align: start;
  max-width: none;
}
#preise .trial-pricing .trial-cta:hover { color: var(--ink); }
#preise .trial-pricing__terms {
  max-width: none;
  margin: 0;
  padding-top: 14px;
  font-size: .75rem;
  line-height: 1.65;
  border-color: #473b7026;
}
#preise .price-grid {
  gap: 20px;
  border: 0;
  align-items: stretch;
}
#preise .price-entry {
  min-width: 0;
  border: 1px solid #aaa5978c;
  border-radius: 12px;
  padding: clamp(22px, 2.4vw, 34px);
  gap: 18px;
  background: var(--panel);
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}
#preise .price-entry:nth-child(2) {
  background: var(--tint);
  border-color: #473b7033;
}
#preise .price-entry:focus-within { border-color: var(--accent); }
#preise .price-entry .section-kicker { font-size: .6875rem; letter-spacing: .06em; }
#preise .price-entry:nth-child(2) .section-kicker { color: var(--accent); }
#preise .price-entry h3 { font-size: 1.5rem; }
#preise .price-number { gap: 8px; flex-wrap: wrap; }
#preise .price-number > span:first-child { font-size: clamp(3rem, 2.8rem + 1vw, 4rem); }
#preise .price-number .price-currency { order: -1; font-size: 2.6rem; line-height: 1.1; letter-spacing: -.04em; }
#preise .price-number > span:last-child { font-size: .875rem; }
#preise .price-entry .button {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: none;
  width: 100%;
  max-width: none;
  min-height: 58px;
  padding: 14px 16px;
  margin-top: 12px;
  flex: 1 0 auto;
  align-items: center;
  font-size: .875rem;
  gap: 12px;
}
#preise .price-entry:nth-child(2) .button { background: var(--ink); color: var(--panel); border-color: var(--ink); }
#preise .price-entry .button:hover { background: var(--soft); }
#preise .price-entry:nth-child(2) .button:hover { background: var(--accent); border-color: var(--accent); }
#preise .price-entry .price-terms { font-size: .75rem; line-height: 1.65; color: var(--muted); }
#preise .price-note { margin: 20px 0 0; font-size: .8125rem; color: var(--muted); }
#preise :focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  #preise .price-entry:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 12px 24px #191b1b08; }
}
@media (max-width: 1000px) {
  #preise .trial-pricing { grid-template-columns: 120px minmax(0, 1fr); gap: 16px 24px; }
  #preise .pricing-photo { grid-row: 1 / 3; }
  #preise .trial-pricing .trial-cta { grid-column: 2; justify-self: start; max-width: none; }
  #preise .price-grid { gap: 12px; }
  #preise .price-entry { padding: 22px 18px; }
  #preise .price-entry .button { padding-inline: 12px; }
}
@media (max-width: 760px) {
  #preise { padding-block: 60px 56px; }
  #preise .pricing-heading { gap: 16px; margin-block: 22px 26px; }
  #preise .trial-pricing { padding: 20px; grid-template-columns: minmax(0, 1fr); gap: 18px; }
  #preise .pricing-photo { grid-row: auto; min-height: 170px; max-height: 200px; }
  #preise .pricing-photo img { object-position: center 43%; }
  #preise .trial-pricing .trial-cta { grid-column: auto; justify-self: stretch; width: 100%; max-width: none; }
  #preise .trial-pricing__terms { font-size: .75rem; padding-top: 14px; }
  #preise .price-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  #preise .price-entry { padding: 26px; gap: 16px; }
  #preise .price-entry .button { margin-top: 6px; padding-inline: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  #preise .price-entry, #preise .button { transition: none; transform: none; }
}
@media (forced-colors: active) {
  #preise .price-entry, #preise .trial-pricing { background: Canvas; color: CanvasText; border-color: CanvasText; }
  #preise .price-entry .button, #preise .price-entry:nth-child(2) .button { background: ButtonFace; color: ButtonText; border-color: ButtonText; }
}
