/* Zeitfinder 6.9.137 — plan cards (views/partials/plan-tiers.ejs) on the pricing page and the landing
 * teaser, plus the short fact lists in the landing «Warum» cards. Plan colours match the feature reel
 * (public/zf-plus-reel.css): Plus = lime, Institution = peach. Loaded with the planTiers flag.
 */
.zf-tiers {
  --zt-ink: #1c2417; --zt-ink7: #3a4434; --zt-ink5: #61695b; --zt-ink4: #6b7262;
  --zt-line: #e2e9d8;
  --zt-basic: #a3a99b; --zt-basic-bg: #f1f3ec; --zt-basic-ink: #4f5649;
  --zt-plus: #b9dc6a; --zt-plus-bg: #ecf7cc; --zt-plus-ink: #4d6b00;
  --zt-inst: #f8b88f; --zt-inst-bg: #fff0e5; --zt-inst-ink: #a14a12;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch;
  max-width: 1180px; margin: 0 auto; padding: 0 20px; box-sizing: border-box;
}
.zf-tier {
  --tone: var(--zt-basic); --tone-bg: var(--zt-basic-bg); --tone-ink: var(--zt-basic-ink); --duo: #dde2d3;
  position: relative; display: flex; flex-direction: column; min-width: 0;
  padding: 28px 26px 24px; border-radius: 26px; background: #fff;
  border: 1px solid var(--zt-line);
  box-shadow: 0 1px 2px rgba(38, 53, 10, .04), 0 18px 40px -26px rgba(38, 53, 10, .18);
  color: var(--zt-ink); text-align: left;
}
.zf-tier.tone-plus { --tone: var(--zt-plus); --tone-bg: var(--zt-plus-bg); --tone-ink: var(--zt-plus-ink); --duo: #c4f22c; }
.zf-tier.tone-institution { --tone: var(--zt-inst); --tone-bg: var(--zt-inst-bg); --tone-ink: var(--zt-inst-ink); --duo: #ffcfae; }
.zf-tier.is-featured {
  border-color: var(--zt-plus);
  background: linear-gradient(180deg, #f8fceb 0, #fff 180px);
  box-shadow: 0 0 0 1px var(--zt-plus), 0 26px 60px -30px rgba(92, 128, 1, .45);
}
.zf-tier * { box-sizing: border-box; }

.zf-tier-head { display: grid; gap: 6px; }
.zf-tier-name { display: flex; align-items: center; gap: 9px; height: 26px; font: 700 12.5px/1 var(--zf-font-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--zt-ink5); }
.zf-tier-name i { width: 10px; height: 10px; border-radius: 50%; background: var(--tone); box-shadow: 0 0 0 4px var(--tone-bg); flex: none; }
.zf-tier-name em { margin-left: auto; font-style: normal; letter-spacing: .04em; text-transform: none; font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: var(--zt-plus-bg); color: var(--zt-plus-ink); box-shadow: inset 0 0 0 1px var(--zt-plus); }
.zf-tier-for { margin: 6px 0 6px; font-size: .95rem; line-height: 1.45; color: var(--zt-ink7); min-height: 2.9em; }
.zf-tier-price { display: flex; align-items: baseline; gap: 8px; }
.zf-tier-price strong { font: 400 3.4rem/1 var(--zf-font-ink); letter-spacing: -.02em; color: var(--zt-ink); }
.zf-tier-price span { font-weight: 600; font-size: .95rem; color: var(--zt-ink5); }
.zf-tier-sub { font-size: .84rem; color: var(--zt-ink4); }

.zf-tier-limits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 22px 0 0; padding: 14px 0; border-block: 1px solid var(--zt-line); }
.zf-tier-limits:has(> div:nth-child(4)) { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 12px; }
.zf-tier-limits > div { min-width: 0; padding: 0 10px; border-left: 1px solid var(--zt-line); }
.zf-tier-limits > div:first-child, .zf-tier-limits:has(> div:nth-child(4)) > div:nth-child(3) { border-left: 0; padding-left: 0; }
.zf-tier-limits dt { font: 700 1.25rem/1.1 var(--zf-font-sans); letter-spacing: -.02em; color: var(--zt-ink); font-variant-numeric: tabular-nums; }
.zf-tier-limits dd { margin: 3px 0 0; font-size: .76rem; line-height: 1.3; color: var(--zt-ink5); }

.zf-tier-body { flex: 1; padding-top: 20px; }
.zf-tier-lead { margin: 0 0 12px; font: 700 .78rem/1.2 var(--zf-font-sans); letter-spacing: .06em; text-transform: uppercase; color: var(--zt-ink4); }
.zf-tier-feats { list-style: none; margin: 0; padding: 0; display: grid; gap: 13px; }
.zf-tier-feats li { display: flex; align-items: flex-start; gap: 12px; min-width: 0; }
.zf-tier-feats li > span:last-child { display: grid; gap: 2px; min-width: 0; }
.zf-tier-feats b { font-weight: 600; font-size: .95rem; line-height: 1.3; color: var(--zt-ink); }
.zf-tier-feats small { font-size: .82rem; line-height: 1.4; color: var(--zt-ink5); }
.zf-tier-ico { flex: none; display: inline-grid; place-items: center; width: 30px; height: 30px; margin-top: -4px; border-radius: 9px; background: var(--tone-bg); color: var(--tone-ink); }
.zf-landing .zf-tier-ico svg.zf-plan-ic, .zf-tier-ico svg.zf-plan-ic { width: 18px; height: 18px; }
.zf-tier-more { margin: 14px 0 0 42px; font-size: .86rem; color: var(--zt-ink5); }
.zf-tier-more a { color: var(--tone-ink); font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; }

.zf-tier-foot { display: grid; gap: 10px; margin-top: 24px; }
.zf-tier-foot .button { width: 100%; justify-content: center; }
.zf-tier-foot small { font-size: .78rem; line-height: 1.45; color: var(--zt-ink4); }

/* Compact (landing teaser): no details, shorter cards. */
.zf-tiers.is-compact { padding: 0; }
.zf-tiers.is-compact .zf-tier { padding: 24px 22px 22px; }
.zf-tiers.is-compact .zf-tier-price strong { font-size: 2.9rem; }
.zf-tiers.is-compact .zf-tier-feats { gap: 10px; }
.zf-tiers.is-compact .zf-tier-more { margin-top: 10px; }

/* Pricing page wrapper and note under the cards. */
.zf-tiers-section { padding: 28px 0 8px; }
.zf-tiers-note { max-width: 1180px; margin: 22px auto 0; padding: 0 20px; text-align: center; font-size: .9rem; color: #61695b; }
.zf-tiers-note a { color: #26350a; font-weight: 600; white-space: nowrap; }

@media (min-width: 981px) {
  .zf-tiers.is-full .zf-tier.is-featured { transform: translateY(-10px); }
}
@media (max-width: 980px) {
  .zf-tiers { grid-template-columns: minmax(0, 560px); justify-content: center; }
  .zf-tier-for { min-height: 0; }
}
@media (max-width: 420px) {
  .zf-tiers { padding: 0 14px; }
  .zf-tier { padding: 24px 20px 20px; border-radius: 22px; }
  .zf-tier-limits dd { font-size: .72rem; }
}

/* Landing «Warum» cards: short fact lists under the text (6.9.137). */
#warum .zf-value-facts { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
#warum .zf-value-facts li { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 5px 8px; border-radius: 999px; background: #f1f6e6; color: #3f5410; font-size: .78rem; font-weight: 600; line-height: 1.2; }
#warum .zf-value-facts li::before { content: ""; width: 7px; height: 3.5px; margin: 0 1px 2px 1px; border-left: 1.8px solid #5c8001; border-bottom: 1.8px solid #5c8001; border-radius: 0 0 0 1px; transform: rotate(-45deg); flex: none; }
#warum .zf-value-grid small a { color: inherit; font-weight: 600; white-space: nowrap; }

/* Line icons (src/plan-icons.js via views/partials/plan-icon.ejs), workspace style. Never emoji. */
.zf-plan-ic { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.zf-plan-ic .zf-plan-ic-duo { fill: var(--duo, #c4f22c); stroke: none; }
.zf-plan-mark { display: inline-flex; color: #5c8001; }
.zf-plan-mark:not(.is-on) { color: #b9bfb1; }
.zf-pricing-table .zf-plan-mark svg.zf-plan-ic { width: 18px; height: 18px; }
.zf-highlight-grid .zf-addon-card > span { display: flex; align-items: center; gap: 7px; }
.zf-highlight-grid .zf-addon-card > span svg.zf-plan-ic { width: 16px; height: 16px; color: #5c8001; }

/* Phones: the cards stack, so a small rail at the right edge shows which plan is in view (public/zf-plan-tiers.js). */
.zf-tiers-rail { position: fixed; z-index: 40; top: 50%; right: max(5px, env(safe-area-inset-right, 0px)); display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 6px 4px; border-radius: 999px; background: rgba(251, 252, 248, .82); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: 0 0 0 1px rgba(38, 53, 10, .08), 0 6px 16px -8px rgba(38, 53, 10, .35); opacity: 0; transform: translate(6px, -50%); pointer-events: none; transition: opacity .3s ease, transform .3s ease; }
.zf-tiers-rail.is-visible { opacity: 1; transform: translate(0, -50%); }
.zf-tiers-rail i { display: block; width: 5px; height: 5px; border-radius: 3px; background: #cfd6c4; transition: height .3s ease, background-color .3s ease; }
.zf-tiers-rail i.is-on { height: 15px; }
.zf-tiers-rail i.tone-basic.is-on { background: #8b9183; }
.zf-tiers-rail i.tone-plus.is-on { background: #9cc443; }
.zf-tiers-rail i.tone-institution.is-on { background: #f29a63; }
@media (min-width: 981px) { .zf-tiers-rail { display: none; } }
@media (prefers-reduced-motion: reduce) { .zf-tiers-rail, .zf-tiers-rail i { transition: none; } }
