/* =========================================================================
   VSCORE — pricing
   Plan cards, the extras band and the FAQ (preise.html), plus the compact
   teaser + new-generation blocks that also appear on index/services.
   Tokens only; no new colours. Loaded after styles.css, so the few
   overrides below (e.g. the display face on .num amounts) win.
   ========================================================================= */

/* ------------------------- the three plan cards -------------------------
   Block is `price-plan`, not `plan`: the company dashboard legend already
   uses a bare `.plan` for its "Plan 2026" line (dashboard.css), and the two
   would collide the day a dashboard lands on a page that loads this file. */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.2vw, 1.75rem);
  align-items: stretch;
}

.price-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.6rem, 2.6vw, 2.4rem);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.price-plan:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

/* the recommended plan carries the brand, exactly as on the price sheet */
.price-plan--featured {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--on-brand);
  box-shadow: var(--shadow-lg);
}
.price-plan--featured:hover { box-shadow: var(--shadow-glow); }

.price-plan__badge {
  position: absolute;
  top: 0; left: 50%;
  transform: translate(-50%, -50%);
  padding: 0.42em 1.1em;
  border-radius: var(--r-pill);
  background: var(--accent);
  color: oklch(0.24 0.04 120);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}

.price-plan__head { display: flex; align-items: center; gap: 0.75rem; min-height: 3rem; }
.price-plan__mark {
  flex: none;
  width: 2.35rem; height: 2.35rem;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--bg-3);
  color: var(--brand);
}
.price-plan--featured .price-plan__mark { background: var(--on-brand); color: var(--brand); }

.price-plan__name {
  font-family: var(--font-display);
  font-size: var(--fs-md);
  font-weight: 560;
  letter-spacing: -0.015em;
  color: var(--brand);
}
.price-plan--featured .price-plan__name { color: var(--on-brand); }

.price-plan__price { margin-top: clamp(1.1rem, 2vw, 1.6rem); display: flex; align-items: baseline; gap: 0.35em; flex-wrap: wrap; }
.price-plan__amount {
  font-family: var(--font-display);           /* overrides .num's mono face */
  font-size: clamp(2.3rem, 1.7rem + 2.2vw, 3.2rem);
  font-weight: 640;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--ink);
}
.price-plan--featured .price-plan__amount { color: var(--on-brand); }
.price-plan__per { font-size: var(--fs-md); color: var(--muted); }
.price-plan--featured .price-plan__per { color: var(--on-brand-muted); }

.price-plan__chip {
  align-self: flex-start;
  margin-top: 0.9rem;
  padding: 0.42em 0.95em;
  border-radius: var(--r-pill);
  background: var(--bg-3);
  color: var(--brand);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.price-plan--featured .price-plan__chip { background: var(--on-brand); color: var(--brand); }

.price-plan__claim {
  margin-top: clamp(1.1rem, 2vw, 1.5rem);
  font-style: italic;
  font-size: var(--fs-base);
  color: var(--brand);
}
.price-plan--featured .price-plan__claim { color: var(--on-brand); }

.price-plan__list { margin-top: 1.25rem; display: grid; gap: 0.85rem; padding: 0; }
.price-plan__feat { display: flex; gap: 0.65em; align-items: flex-start; font-size: var(--fs-sm); line-height: 1.5; color: var(--ink-2); }
.price-plan__feat svg { flex: none; margin-top: 0.15em; color: var(--accent-ink); }
.price-plan--featured .price-plan__feat { color: var(--on-brand-muted); }
.price-plan--featured .price-plan__feat svg { color: var(--accent); }

.price-plan__list { margin-bottom: clamp(1.75rem, 3vw, 2.25rem); }
.price-plan__cta { margin-top: auto; padding-top: 0; align-self: stretch; justify-content: center; }
.price-plan--featured .btn--ghost { --btn-bd: var(--on-brand-line); --btn-fg: var(--on-brand); }

@media (max-width: 940px) {
  .plans { grid-template-columns: 1fr; gap: 2.25rem; }
  .price-plan--featured { order: -1; }   /* recommended first when they stack */
}

/* --------------------------- extras + fine print --------------------------- */
.price-extras {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--bg-2);
  border-radius: var(--r-lg);
}
.price-extras__t {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand);
}
.price-extras__list { margin-top: 0.9rem; display: grid; gap: 0.5rem; padding: 0; color: var(--ink-2); font-size: var(--fs-sm); }
.price-extras__list--inline { display: flex; flex-wrap: wrap; gap: 0.4rem 0.85rem; }
.price-extras__list--inline li { display: inline-flex; align-items: center; }
.price-extras__list--inline li:not(:last-child)::after { content: "·"; margin-left: 0.85rem; color: var(--accent-ink); font-weight: 700; }

.price-fine {
  margin-top: 1.25rem;
  font-size: var(--fs-sm);
  color: var(--muted);
  line-height: 1.6;
}
.price-fine strong { color: var(--ink-2); }

@media (max-width: 760px) { .price-extras { grid-template-columns: 1fr; } }

/* ------------------------------- FAQ ------------------------------- */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  display: flex; align-items: flex-start; gap: 0.8em;
  padding: 1.15rem 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: var(--fs-md);
  font-weight: 460;
  letter-spacing: -0.012em;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::before {
  content: "+";
  flex: none;
  width: 1.15em;
  font-family: var(--font-mono);
  color: var(--accent-ink);
  transition: transform var(--t) var(--ease);
}
.faq__item[open] .faq__q::before { content: "−"; }
.faq__q:hover { color: var(--brand); }
.faq__a { padding: 0 0 1.3rem 2em; color: var(--muted); max-width: 62ch; }

/* --------------------- compact teaser (home / services) --------------------- */
.plan-mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(0.75rem, 2vw, 1.25rem); }
.plan-mini {
  display: flex; flex-direction: column; gap: 0.55rem;
  padding: clamp(1.25rem, 2.2vw, 1.75rem);
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  transition: border-color var(--t) var(--ease), transform var(--t) var(--ease), background var(--t) var(--ease);
}
.plan-mini:hover { border-color: var(--accent); transform: translateY(-3px); }
.plan-mini--featured { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.plan-mini__name { font-family: var(--font-display); font-size: var(--fs-base); font-weight: 560; color: var(--brand); }
.plan-mini--featured .plan-mini__name { color: var(--on-brand); }
.plan-mini__price { display: flex; align-items: baseline; gap: 0.3em; flex-wrap: wrap; }
.plan-mini__amount {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 620;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.plan-mini--featured .plan-mini__amount { color: var(--on-brand); }
.plan-mini__per { font-size: var(--fs-sm); color: var(--muted); }
.plan-mini--featured .plan-mini__per { color: var(--on-brand-muted); }
.plan-mini__claim { font-size: var(--fs-sm); font-style: italic; color: var(--muted); }
.plan-mini--featured .plan-mini__claim { color: var(--on-brand-muted); }

@media (max-width: 760px) { .plan-mini-grid { grid-template-columns: 1fr; } }

/* ---------------------- new generation (index / preise) ---------------------- */
.ng-links { display: flex; flex-wrap: wrap; gap: var(--s-5); }
.ng-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.5vw, 1.75rem); }
.ng-card {
  padding: clamp(1.4rem, 2.4vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--bg-2);
}
.section--dark .ng-card { background: oklch(1 0 0 / 0.04); border-color: var(--on-brand-line); }
.ng-card__no { font-family: var(--font-mono); font-size: var(--fs-sm); color: var(--accent-ink); font-weight: 500; }
.section--dark .ng-card__no { color: var(--accent); }
.ng-card__t { font-family: var(--font-display); font-size: var(--fs-md); font-weight: 460; margin: 0.6rem 0 0.5rem; }
.section--dark .ng-card__t { color: var(--on-brand); }
.ng-card__d { color: var(--muted); font-size: var(--fs-sm); }
.section--dark .ng-card__d { color: var(--on-brand-muted); }

@media (max-width: 860px) { .ng-grid { grid-template-columns: 1fr; } }
