/* =====================================================================
   Plans (Free / Büro / Enterprise) + monthly/yearly switch.
   Shared by fuer-wen.html and preise.html – the plan markup is copied in
   both pages, keep the two copies identical. Logic: plans.js.
   ===================================================================== */
.fw-plans { text-align: center; padding: 0 var(--pad) clamp(80px, 10vw, 144px); }
.fw-plans__title { margin: 0 0 clamp(18px, 2vw, 26px); font-size: clamp(17px, 1.4vw, 20px); font-weight: 500; letter-spacing: -0.01em; color: var(--text-2); }
/* billing switch: small capsule, right-aligned above the plans */
.fw-plans__bar { display: flex; justify-content: flex-end; max-width: 960px; margin: 0 auto 10px; }
.fw-billing {
  position: relative; display: inline-grid; grid-template-columns: auto auto;
  padding: 2px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--border); background: var(--bg);
}
.fw-billing::before {
  content: ""; position: absolute; top: 2px; bottom: 2px; left: 2px; width: var(--thumb-w, 50%);
  border-radius: 999px; background: #121212;
  transform: translateX(var(--thumb-x, 0)); transition: transform 240ms cubic-bezier(0.2, 0, 0, 1), width 240ms cubic-bezier(0.2, 0, 0, 1);
}
.fw-billing__opt {
  position: relative; z-index: 1; height: 26px; padding: 0 11px; border: 0; border-radius: 999px;
  background: none; font: inherit; font-size: 12.5px; font-weight: 500; color: var(--text-2); cursor: pointer; white-space: nowrap;
  transition: color 200ms ease-out;
}
/* larger tap area without a larger look */
.fw-billing__opt::after { content: ""; position: absolute; inset: -9px -2px; }
.fw-billing__opt span { margin-left: 3px; font-weight: 400; color: var(--muted); transition: color 200ms ease-out; }
.fw-billing__opt[aria-checked="true"] { color: #f4f2ee; }
.fw-billing__opt[aria-checked="true"] span { color: #a9a6a0; }
.fw-billing__opt:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .fw-billing::before { transition: none; } }

.fw-plans__row {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 960px; margin: 0 auto;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  text-align: left;
}
.fw-plan { position: relative; padding: clamp(18px, 2vw, 24px) clamp(18px, 2vw, 26px); }
.fw-plan + .fw-plan { border-left: 1px solid var(--border); }
/* the main plan: a black line on top instead of a badge */
.fw-plan--main::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 2px; background: var(--text); }
.fw-plan__name { margin: 0; font-size: 16px; font-weight: 500; }
.fw-plan__for { margin: 2px 0 0; font-size: 13.5px; color: var(--muted); }
.fw-plan__price { margin: 14px 0 0; font-size: clamp(30px, 2.8vw, 40px); line-height: 1; font-weight: 500; letter-spacing: -0.03em; white-space: nowrap; }
.fw-plan__per { margin: 6px 0 0; font-size: 13.5px; color: var(--text-2); }
.fw-plan__list { list-style: none; margin: 14px 0 0; padding: 12px 0 0; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 5px; font-size: 13.5px; line-height: 1.4; color: var(--text-2); }
.fw-plan__list li { position: relative; padding-left: 14px; }
.fw-plan__list b { font-weight: 500; color: var(--text); }
.fw-plan__list li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 6px; height: 1px; background: var(--muted); }
.fw-plans__btn { margin-top: clamp(22px, 2.6vw, 32px); height: 48px; padding: 0 24px; background: #121212; color: #f4f2ee; }
.fw-plans__btn:hover { background: #000; }
.fw-plans__btn:active { transform: scale(0.985); }
.fw-plans__btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fw-plans__note { margin: 14px 0 0; font-size: 13px; color: var(--muted); }

@media (max-width: 560px) {
  .fw-plans__row { grid-template-columns: minmax(0, 1fr); }
  .fw-plan + .fw-plan { border-left: 0; border-top: 1px solid var(--border); }
}

