.pricing-page { background: #f5f8f5; }
.pricing-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: radial-gradient(ellipse at 86% 45%, #254e3e 0%, transparent 58%), #102721;
  color: #f5f8f3;
}
.pricing-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 0 32%;
  opacity: .73;
  pointer-events: none;
  background: linear-gradient(90deg, #bfebc41f 1px, transparent 1px), linear-gradient(#bfebc41f 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: radial-gradient(ellipse at 77% 46%, #000 10%, transparent 76%);
}
.pricing-hero-inner {
  display: grid;
  justify-items: center;
  gap: .95rem;
  padding-block: clamp(2.45rem, 4.45vw, 3.55rem);
  text-align: center;
}
.pricing-hero h1 {
  max-width: 20ch;
  font-size: clamp(2.5rem, 6vw, 4.7rem);
  font-weight: 720;
  letter-spacing: -.057em;
  line-height: 1.01;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
.pricing-hero p { max-width: 58ch; color: #d3e7d8; font-size: clamp(1.02rem, 1.65vw, 1.18rem); }
.pricing-hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .65rem; }
.pricing-hero .button { min-height: 2.85rem; padding-inline: 1.03rem; text-decoration: none; }
.pricing-cards-section, .pricing-comparison, .pricing-workflows { padding-block: clamp(2.75rem, 5vw, 4.65rem); }
#tarifvergleich { scroll-margin-block-start: 1.1rem; }
.pricing-section-heading { max-width: 49rem; margin-bottom: 1.65rem; }
.pricing-section-heading h2 {
  font-size: clamp(1.82rem, 3.5vw, 2.93rem);
  letter-spacing: -.055em;
  line-height: 1.08;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
.pricing-section-heading p { color: #49615d; margin-top: .6rem; }
.pricing-cards { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .85rem; }
.pricing-card {
  position: relative;
  background: #fff;
  border: 1px solid #ceded3;
  border-radius: .95rem;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(.9rem, 1.4vw, 1.24rem);
}
@supports (grid-template-rows: subgrid) {
  .pricing-card { display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 0; }
}
.pricing-card[data-recommended="true"] { background: #f0f7ec; border-color: #659475; box-shadow: 0 0 0 1px #659475; }
.pricing-card[data-recommended="true"] .pricing-card-top { color: #204e39; }
.pricing-card-top { display: grid; grid-template-rows: auto minmax(1.6rem, auto); align-content: start; align-items: start; gap: .25rem; padding-bottom: .32rem; }
.pricing-card h3 { font-size: clamp(1.14rem, 1.8vw, 1.38rem); letter-spacing: -.026em; }
.pricing-usage, .pricing-recommended {
  grid-row: 2;
  width: fit-content;
  border-radius: .35rem;
  background: #d8efae;
  color: #204533;
  padding: .23rem .48rem;
  font-size: .73rem;
  font-weight: 710;
}
.pricing-usage { background: #e8f0ec; color: #305a49; }
.pricing-card-lead { min-height: 3.2em; color: #49615d; font-size: .94rem; margin-bottom: 1rem; }
.pricing-card-price {
  color: #19493a;
  min-height: 4.5rem;
  font-size: clamp(1.92rem, 3.45vw, 2.78rem);
  font-weight: 750;
  letter-spacing: -.054em;
  line-height: 1.05;
}
.pricing-card-price small {
  display: block;
  color: #49615d;
  font-size: .87rem;
  font-weight: 570;
  letter-spacing: 0;
  line-height: 1.25;
  margin-top: .22rem;
}
.pricing-card-price[data-custom="true"] { font-size: clamp(1.45rem, 2.1vw, 1.8rem); }
.pricing-card .button { text-align: center; align-self: end; padding-inline: .4rem; width: 100%; justify-content: center; min-height: 2.7rem; margin-top: .43rem; text-decoration: none; }
.pricing-card .button.landing-strong { border-color: #a4c46f; }
.pricing-card-highlights { display: grid; align-content: start; gap: .56rem; margin: 1.02rem 0 0; padding: 1rem 0 0; border-top: 1px solid #d5e4d8; list-style: none; }
.pricing-card-highlights li { display: grid; grid-template-columns: .75rem minmax(0,1fr); gap: .4rem; color: #315347; font-size: .86rem; line-height: 1.42; }
.pricing-card-highlights a { color: inherit; text-underline-offset: .15em; }
.pricing-card-highlights li::before { content: "✓"; color: #326e4f; font-weight: 740; }
.pricing-status { margin-top: .95rem; color: #49615d; }
.pricing-comparison-band { --feature-column: 32%; --comparison-surface: #e9f1ea; border-block: 1px solid #d5e3d8; background: var(--comparison-surface); }
.pricing-scroll-hint { display: none; color: #49615d; margin-bottom: .6rem; font-size: .91rem; }
.pricing-plan-actions {
  background: var(--comparison-surface);
  display: grid;
  grid-template-columns: var(--feature-column);
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  padding-block: calc(.75rem + env(safe-area-inset-top, 0px)) .75rem;
  pointer-events: none;
}
.pricing-plan-action {
  position: relative;
  isolation: isolate;
  display: grid;
  align-content: center;
  justify-items: center;
  min-width: 0;
  min-height: 2.85rem;
  margin-inline: .3rem;
  padding: .22rem .16rem;
  border-width: 1px;
  border-style: solid;
  text-decoration: none;
  line-height: 1.15;
  pointer-events: auto;
}
.pricing-plan-actions::before { content: ""; }
.pricing-action-name, .pricing-action-short { font-size: .92rem; font-weight: 700; }
.pricing-action-short { display: none; }
.pricing-plan-action small { margin-top: .08rem; font-size: .75rem; }
/* Focusing a pinned action must not scroll the table back across its docking threshold. */
html:has(.pricing-plan-actions:focus-within) { scroll-padding-block-start: 0; }
.pricing-plan-action:focus-visible { outline: 2px solid #34775f; outline-offset: 3px; }
.pricing-plan-actions[inert] .pricing-plan-action { visibility: hidden; }
@media (prefers-reduced-motion: no-preference) {
  .pricing-plan-actions:not([inert]) .pricing-plan-action { animation: pricing-actions-in .18s ease-out; }
  @keyframes pricing-actions-in { from { opacity: 0; } }
}
.pricing-table-frame {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  overflow: clip;
  border-radius: .95rem;
}
.pricing-table-frame:has(> .pricing-table-scroll:focus-visible) {
  outline: 3px solid #498962;
  outline-offset: 3px;
}
.pricing-table-scroll {
  grid-area: 1 / 1;
  margin-block-start: var(--pricing-actions-height, 0px);
  overflow: auto;
  max-width: 100%;
  border: 1px solid #c9dacf;
  border-radius: inherit;
  background: #fff;
  overscroll-behavior-inline: contain;
}
/* The browser pins and releases the complete heading stack, including the opaque
   gutter behind the glass buttons, in the same scroll frame as the native rows. */
.pricing-sticky-top {
  grid-area: 1 / 1;
  align-self: start;
  position: sticky;
  inset-block-start: 0;
  z-index: 4;
  background: linear-gradient(var(--comparison-surface) .95rem, transparent .95rem);
  pointer-events: none;
}
.pricing-sticky-content { margin-inline: 1px; }
.pricing-sticky-content, .pricing-sticky-columns, .pricing-sticky-section { overflow: hidden; }
.pricing-sticky-columns { border-radius: .95rem .95rem 0 0; }
.pricing-sticky-track { display: grid; width: max-content; }
.pricing-sticky-track > span {
  display: grid;
  place-items: center;
  align-content: center;
  background: #fff;
  padding-inline: .62rem;
  border-bottom: 1px solid #c9dacf;
  color: #25493d;
  font-size: .98rem;
  font-weight: 700;
  line-height: 1.35;
}
.pricing-sticky-track > span:first-child { position: relative; z-index: 1; justify-items: start; padding-inline: .95rem; }
.pricing-sticky-track > span[data-recommended="true"] { background: #f0f6ed; }
.pricing-sticky-group {
  display: flex;
  align-items: center;
  padding: .64rem .95rem;
  border-bottom: 1px solid #e0e9e3;
  color: #244e3e;
  background: #e0ede2;
  font-size: .94rem;
  font-weight: 750;
  letter-spacing: .01em;
  line-height: 1.35;
}
.pricing-column-usage { display: block; width: 100%; text-align: center; margin-top: .2rem; font-size: .74rem; line-height: 1.22; font-weight: 560; color: #456255; text-wrap: balance; }
.pricing-table { width: 100%; min-width: 52rem; border-spacing: 0; table-layout: fixed; }
.pricing-table tr > :first-child { width: var(--feature-column); }
.pricing-table th, .pricing-table td {
  padding: .7rem .95rem;
  line-height: 1.35;
  border-bottom: 1px solid #e0e9e3;
  vertical-align: middle;
}
.pricing-table thead th {
  background: #fff;
  padding: .75rem .45rem;
  color: #25493d;
  font-size: .98rem;
  text-align: center;
  border-bottom-color: #c9dacf;
}
.pricing-table th[scope="row"] {
  text-align: left;
  font-weight: 620;
  background: #fff;
  white-space: normal;
  overflow-wrap: anywhere;
}
.pricing-table thead th:first-child { text-align: left; }
.pricing-table td { text-align: center; color: #34554a; }
.pricing-table :is(td, th)[data-recommended="true"] { background: #f0f6ed; }
.pricing-group-title th[scope="rowgroup"] {
  background: #e0ede2;
  padding-block: .64rem;
  color: #244e3e;
  text-align: left;
  font-size: .94rem;
  letter-spacing: .01em;
  font-weight: 750;
}
.pricing-table tbody:last-child tr:last-child > * { border-bottom: 0; }
.pricing-feature-detail {
  display: block;
  font-size: .85rem;
  font-weight: 450;
  color: #50675f;
  margin-top: .23rem;
  overflow-wrap: anywhere;
}
.pricing-value { position: relative; display: inline-block; font-size: .94rem; }
.pricing-value[data-state="included"] { color: #215940; font-weight: 700; }
.pricing-value[data-state="excluded"] { color: #52635c; }
.pricing-value[data-state="limit"] { color: #193e31; font-weight: 710; }
.pricing-value-symbol { font-size: 1.25rem; line-height: 1; }
.pricing-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.pricing-workflow-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .84rem; }
.pricing-workflow { display: flex; flex-direction: column; align-items: start; padding: clamp(1.1rem, 2.5vw, 1.75rem); border: 1px solid #d0e0d4; border-radius: .86rem; background: #fff; }
.pricing-workflow-recommended { background: #edf5e6; border-color: #95b58f; }
.pricing-workflow-plan { color: #34674f; font-size: .83rem; font-weight: 700; }
.pricing-workflow h3 { margin-top: .4rem; color: #173a2d; font-size: clamp(1.19rem, 2.05vw, 1.52rem); letter-spacing: -.03em; overflow-wrap: anywhere; }
.pricing-workflow h3 + p { color: #49615d; margin-top: .54rem; font-size: .94rem; line-height: 1.56; }
.pricing-workflow a { color: #285d46; font-size: .88rem; font-weight: 680; margin-top: auto; padding-top: 1rem; text-underline-offset: .2em; }
.pricing-example { padding-bottom: clamp(2.75rem, 5vw, 4.65rem); }
.pricing-example-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: clamp(1.1rem, 4vw, 3.55rem);
  align-items: center;
  padding: clamp(1.1rem, 2.8vw, 2rem);
  background: #e8f1e7;
  border: 1px solid #d0e0d4;
  border-radius: .95rem;
}
.pricing-example-photo { min-width: 0; margin: 0; }
.pricing-example-photo img { display: block; width: 100%; height: auto; border-radius: .65rem; }
.pricing-example-photo figcaption { margin-top: .55rem; color: #466157; font-size: .79rem; }
.pricing-example-photo a, .pricing-example-links a { color: #235a43; text-underline-offset: .15em; }
.pricing-example-copy { min-width: 0; }
.pricing-example-place { margin-bottom: .48rem; color: #34674f; font-size: .9rem; font-weight: 690; }
.pricing-example-copy h2 { font-size: clamp(1.8rem, 3.35vw, 2.85rem); line-height: 1.05; letter-spacing: -.045em; overflow-wrap: anywhere; }
.pricing-example-copy h2 + p { margin-top: .66rem; color: #49615d; font-size: .96rem; line-height: 1.55; }
.pricing-example-amounts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; margin: .85rem 0 .58rem; }
.pricing-example-amounts div { min-width: 0; padding: .62rem .68rem; border-radius: .48rem; background: #f7fbf5; }
.pricing-example-amounts dt { color: #466157; font-size: .84rem; }
.pricing-example-amounts dd { margin: .12rem 0 0; color: #204c3a; font-size: clamp(1.08rem, 2.2vw, 1.65rem); font-weight: 720; line-height: 1.15; white-space: nowrap; }
.pricing-example-delta { color: #2b5945; font-size: .9rem; font-weight: 660; }
.pricing-example-links { display: flex; flex-wrap: wrap; gap: .28rem 1rem; margin-top: .72rem; font-size: .86rem; font-weight: 640; }
.pricing-faq-band { background: #fff; border-top: 1px solid #dae7dd; }
.pricing-faq-layout { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 1.4rem clamp(2rem, 6vw, 6rem); padding-block: clamp(2.5rem, 5vw, 4rem); }
.pricing-faq-layout .pricing-section-heading { margin-bottom: 0; }
.pricing-faq-list details { border-bottom: 1px solid #d9e7dd; padding: .85rem 0; }
.pricing-faq-list details:first-child { border-top: 1px solid #d9e7dd; }
.pricing-faq-list summary { cursor: pointer; color: #204c3a; font-weight: 680; padding: .14rem .15rem; }
.pricing-faq-list details > p { margin: .55rem 0 .1rem 1rem; color: #49615d; line-height: 1.55; }
.pricing-contact-band { background: radial-gradient(ellipse at 83% 45%, #335e46 0%, transparent 62%), #19382c; color: #f5f8f3; }
.pricing-contact { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding-block: clamp(2.5rem, 5vw, 4rem); }
.pricing-contact h2 { font-size: clamp(1.82rem, 3.3vw, 2.65rem); line-height: 1.08; letter-spacing: -.048em; text-wrap: balance; overflow-wrap: anywhere; }
.pricing-contact p { color: #d2e7d7; max-width: 58ch; margin-top: .55rem; }
.pricing-contact .button { min-height: 2.7rem; text-decoration: none; }
@media (max-width: 71rem) {
  .pricing-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 58rem) {
  .pricing-plan-actions { grid-template-columns: none; padding-block: calc(.625rem + env(safe-area-inset-top, 0px)) .625rem; }
  .pricing-plan-actions::before { display: none; }
  .pricing-scroll-hint { display: block; }
  .pricing-table tr > :first-child { width: 12.75rem; }
  .pricing-table th[scope="rowgroup"] > span { display: inline-block; position: sticky; left: .95rem; }
  .pricing-table :is(thead th:first-child, th[scope="row"]) {
    position: sticky;
    left: 0;
    z-index: 1;
    box-shadow: 1px 0 #dce8df;
  }
}
@media (max-width: 48rem) {
  .pricing-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 44rem) {
  .pricing-faq-layout, .pricing-workflow-grid, .pricing-example-layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 32rem) {
  .pricing-plan-action { margin-inline: .15rem; }
  .pricing-plan-action:has(.pricing-action-short) .pricing-action-name { display: none; }
  .pricing-action-short { display: inline; }
  .pricing-action-name, .pricing-action-short { font-size: clamp(.68rem, 3.25vw, .8rem); }
  .pricing-plan-action small { font-size: clamp(.64rem, 2.95vw, .75rem); }
  .pricing-cards { grid-template-columns: minmax(0, 1fr); }
  .pricing-table { min-width: 47rem; }
  .pricing-table tr > :first-child { width: 9.5rem; }
  .pricing-table th, .pricing-table td, .pricing-sticky-track > span:first-child, .pricing-sticky-group { padding-inline: .62rem; }
  .pricing-table th[scope="rowgroup"] > span { left: .62rem; }
  .pricing-card-top { grid-template-rows: auto; }
  .pricing-card-lead, .pricing-card-price { min-height: 0; }
  .pricing-card-price { margin-bottom: .48rem; }
  .pricing-hero-actions { width: 100%; }
  .pricing-hero-actions .button { width: 100%; }
}
@media (max-width: 24rem) {
  .pricing-plan-actions { grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.12fr) minmax(0, 1.3fr); }
}
