/* Preispläne, Vergleich und FAQ (Startseite und Preisseite), danach das Layout der Preisseite.
   Die Pläne sind selbst grosse „Knöpfe“: dicke Unterkante, der empfohlene Plan steht höher. */

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

/* ---------- Pläne ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; padding: 22px 0 30px; }
.plan {
  --p-bg: var(--card); --p-fg: var(--ink); --p-soft: var(--ink-2); --p-rule: var(--line-2); --p-edge: var(--line-2);
  --p-yes-bg: var(--mint-t); --p-yes-fg: #0B7A50; --p-no: var(--ink-3);
  --knob: var(--blue); --knob-d: var(--blue-d);
  position: relative; display: flex; flex-direction: column; min-width: 0;
  padding: 28px 26px 26px; border-radius: 28px;
  background: var(--p-bg); color: var(--p-fg);
  box-shadow: inset 0 0 0 1.5px var(--line), 0 6px 0 var(--p-edge);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.plan:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1.5px var(--line), 0 9px 0 var(--p-edge); }
.plan.featured {
  --p-bg: var(--blue); --p-fg: #fff; --p-soft: #DCE2FF; --p-rule: rgba(255, 255, 255, .32); --p-edge: var(--blue-d);
  --p-yes-bg: #fff; --p-yes-fg: var(--blue); --p-no: #DCE2FF;
  --knob: var(--sun); --knob-d: var(--sun-d);
  z-index: 1; margin: -20px 0;
  box-shadow: 0 8px 0 var(--blue-d), 0 34px 48px -22px rgba(27, 51, 196, .6);
}
.plan.featured:hover { box-shadow: 0 11px 0 var(--blue-d), 0 38px 52px -22px rgba(27, 51, 196, .6); }
/* Schichtlinien als Abschluss der blauen Fläche */
.plan.featured::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background-image: repeating-linear-gradient(to bottom, transparent 0 5px, rgba(255, 255, 255, .1) 5px 6px);
  -webkit-mask-image: linear-gradient(to top, #000, transparent 38%); mask-image: linear-gradient(to top, #000, transparent 38%);
}
.plan > * { position: relative; }

/* Aufkleber „Empfohlen“ */
.plan-sticker {
  position: absolute; top: -17px; right: 22px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 15px 0 11px; border-radius: 12px;
  background: var(--sun); color: var(--ink); font-family: var(--font-display); font-weight: 600; font-size: 15.5px; letter-spacing: .005em;
  box-shadow: 0 3px 0 var(--sun-d), 0 10px 18px -8px rgba(22, 24, 31, .45); transform: rotate(4deg);
}
.plan-sticker::before {
  content: ""; width: 15px; height: 15px; border-radius: 50%; background-color: var(--ink);
  background-image: radial-gradient(circle at 34% 50%, var(--sun) 1.5px, transparent 2px), radial-gradient(circle at 66% 50%, var(--sun) 1.5px, transparent 2px);
}

/* Stufen-Anzeige aus Knöpfen */
.plan-tier { display: flex; height: 30px; margin-bottom: 16px; }
.plan-knob { width: 27px; height: 30px; flex: none; overflow: visible; }
.plan-knob + .plan-knob { margin-left: -7px; }
.plan-knob .pk-base { fill: var(--knob-d); }
.plan-knob .pk-top { fill: var(--knob); stroke: var(--p-bg); stroke-width: 1.6; paint-order: stroke; }
.plan-knob .pk-hole { fill: var(--p-bg); }

.plan h3 { font-size: 30px; font-weight: 700; letter-spacing: -.02em; }
.plan-lead { margin-top: 6px; min-height: 2.9em; font-size: 15px; line-height: 1.45; color: var(--p-soft); }

.plan-price { display: flex; align-items: flex-end; gap: 4px; margin-top: 14px; padding-bottom: 22px; border-bottom: 1.5px dashed var(--p-rule); font-family: var(--font-display); }
.plan-cur { align-self: flex-start; margin-top: 8px; font-size: 30px; font-weight: 600; line-height: 1; }
.plan-num { font-size: clamp(64px, 6.4vw, 80px); font-weight: 700; line-height: .86; letter-spacing: -.035em; }
.plan-per { display: grid; gap: 6px; justify-items: start; margin: 0 0 3px 8px; font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .07em; text-transform: uppercase; color: var(--p-soft); }
.plan-ph { padding: 2px 7px; border-radius: 6px; border: 1.5px dashed var(--p-rule); font-size: 10.5px; letter-spacing: .06em; }

.plan-feats { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 11px; font-size: 15px; line-height: 1.4; flex: 1; align-content: start; }
.plan-feats li { display: flex; gap: 11px; align-items: flex-start; }
.plan-mark { width: 22px; height: 22px; flex: none; border-radius: 50%; display: grid; place-items: center; margin-top: -.5px; }
.plan-feats .yes { font-weight: 500; }
.plan-feats .yes .plan-mark { background: var(--p-yes-bg); color: var(--p-yes-fg); }
.plan-feats .no { color: var(--p-soft); }
.plan-feats .no .plan-mark { color: var(--p-no); box-shadow: inset 0 0 0 1.5px var(--p-rule); }

/* „Bald verfügbar“: ein Knopf, der noch gedruckt wird. Eingedrückt, gestrichelt, mit Schichtlinien. */
.plan .plan-cta, .plan .plan-cta:hover, .plan .plan-cta:active {
  width: 100%; height: 52px; margin-top: 26px; gap: 9px; opacity: 1; cursor: not-allowed; transform: none;
  color: var(--p-soft); background-color: var(--paper-2);
  background-image: repeating-linear-gradient(to bottom, transparent 0 5px, rgba(22, 24, 31, .055) 5px 6px);
  box-shadow: none; border: 1.5px dashed var(--line-2);
}
.plan.featured .plan-cta, .plan.featured .plan-cta:hover, .plan.featured .plan-cta:active {
  color: #fff; background-color: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .5);
  background-image: repeating-linear-gradient(to bottom, transparent 0 5px, rgba(255, 255, 255, .09) 5px 6px);
}

.price-note { margin-top: 22px; display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; text-align: center; font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-2); }

@media (max-width: 980px) {
  .plans { gap: 16px; }
  .plan { padding: 24px 20px 22px; }
}
@media (max-width: 860px) {
  .plans { grid-template-columns: 1fr; gap: 26px; max-width: 520px; margin: 0 auto; padding: 22px 0 6px; }
  .plan, .plan.featured { margin: 0; padding: 26px 24px 24px; }
  .plan-lead { min-height: 0; }
  .plan-num { font-size: 76px; }
}

/* ---------- Vergleich ---------- */
.compare-card { background: var(--card); border: 1.5px solid var(--line); border-radius: var(--r-card); overflow: hidden; box-shadow: 0 6px 0 var(--line-2); }
.compare { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 15px; }
.compare col.c-plan { width: 19%; }
.compare th, .compare td { padding: 14px 16px; text-align: center; vertical-align: middle; border-bottom: 1px solid var(--line); font-weight: 400; }
.compare tbody th { text-align: left; padding-left: 24px; font-family: var(--font-sans); font-weight: 500; line-height: 1.35; letter-spacing: 0; }
.compare thead th { padding: 20px 8px 18px; border-bottom: 1.5px solid var(--line-2); }
.compare thead th.cmp-corner { text-align: left; padding-left: 24px; vertical-align: bottom; font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-2); }
.cmp-plan { display: block; font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: -.01em; line-height: 1.1; }
.cmp-price { display: block; margin-top: 4px; font-family: var(--font-mono); font-size: 12.5px; font-weight: 500; color: var(--ink-2); }
.compare .is-pro { background: var(--blue-t); border-bottom-color: rgba(45, 78, 245, .14); }
.compare thead .is-pro { background: var(--blue); color: #fff; border-bottom-color: var(--blue-d); }
.compare thead .is-pro .cmp-price { color: #DCE2FF; }
.compare tr.grp th { padding-top: 24px; padding-bottom: 8px; border-bottom: 0; font-family: var(--font-mono); font-size: 11.5px; font-weight: 500; letter-spacing: .09em; text-transform: uppercase; color: var(--coral-d); }
.compare tr.grp td { border-bottom: 0; padding: 0; }
.compare tbody tr:last-child > * { border-bottom: 0; padding-bottom: 18px; }
.cmp-yes, .cmp-no { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; vertical-align: middle; }
.cmp-yes { background: var(--mint-t); color: #0B7A50; }
.is-pro .cmp-yes { background: var(--blue); color: #fff; }
.cmp-no { color: var(--ink-3); }
.is-pro .cmp-no { color: #8E9DEB; }
.cmp-val { font-family: var(--font-display); font-weight: 600; font-size: 18px; line-height: 26px; }
.cmp-inf { font-size: 26px; }
@media (max-width: 640px) {
  .compare { font-size: 13.5px; }
  .compare col.c-plan { width: 17%; }
  .compare th, .compare td { padding: 12px 4px; }
  .compare tbody th, .compare thead th.cmp-corner { padding-left: 14px; padding-right: 6px; }
  .compare thead th { padding: 14px 2px 12px; }
  .compare thead th.cmp-corner { font-size: 10.5px; }
  .cmp-plan { font-size: 16px; }
  .cmp-price { font-size: 11px; margin-top: 2px; }
  .cmp-yes, .cmp-no { width: 24px; height: 24px; }
  .cmp-val { font-size: 16px; }
  .cmp-inf { font-size: 22px; }
}

/* ---------- FAQ: der runde Knopf rechts drückt sich ein, wenn die Antwort offen ist ---------- */
.faq { display: grid; gap: 12px; max-width: 820px; }
.faq-item { background: var(--card); border-radius: 20px; box-shadow: inset 0 0 0 1.5px var(--line); transition: box-shadow .2s ease; }
.faq-item[open] { box-shadow: inset 0 0 0 1.5px var(--line-2), var(--shadow-card); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 15px 16px 15px 22px; border-radius: 20px;
  font-family: var(--font-display); font-weight: 600; font-size: 19px; line-height: 1.25; letter-spacing: -.005em;
  -webkit-tap-highlight-color: transparent;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:focus-visible { outline-offset: -2px; border-radius: 20px; }
.faq-btn {
  width: 38px; height: 38px; flex: none; border-radius: 50%; display: grid; place-items: center; margin-bottom: 3px;
  background: var(--card); color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line-2), 0 3px 0 var(--line-2);
  transition: transform .09s ease, box-shadow .09s ease, background .15s ease;
}
.faq-item summary:hover .faq-btn { transform: translateY(1px); box-shadow: inset 0 0 0 1.5px var(--line-2), 0 2px 0 var(--line-2); }
.faq-item[open] .faq-btn, .faq-item[open] summary:hover .faq-btn { transform: translateY(3px); background: var(--sun); box-shadow: inset 0 0 0 1.5px var(--sun-d), 0 0 0 var(--sun-d); }
.faq-btn .v { transform-box: fill-box; transform-origin: center; transition: transform .2s var(--ease); }
.faq-item[open] .faq-btn .v { transform: scaleY(0); }
.faq-a { padding: 0 76px 22px 22px; color: var(--ink-2); font-size: 16px; }
.faq-item[open] .faq-a { animation: faq-in .25s var(--ease); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-4px); } }
@media (max-width: 560px) {
  .faq-item summary { font-size: 17px; padding: 13px 13px 13px 18px; gap: 12px; }
  .faq-a { padding: 0 18px 20px; font-size: 15.5px; }
}

/* =====================================================================
   Preisseite
   ===================================================================== */
.page-head h1 em, .price-sec h2 em { font-style: normal; color: var(--coral); }
.price-head { position: relative; overflow: hidden; padding-bottom: 56px; }
.price-head .container { position: relative; }
.price-head-copy { position: relative; z-index: 1; max-width: 660px; }
/* Drei Knöpfe als Schmuck im Kopf. Der grosse drückt sich beim Überfahren ein. */
.price-deco { position: absolute; right: var(--pad); top: 50%; width: 360px; transform: translateY(-46%); overflow: visible; }
.price-deco .pd-press { transition: transform .12s ease; }
.price-deco g:hover > .pd-press { transform: translateY(var(--d, 9px)); }
@media (max-width: 1080px) { .price-deco { width: 280px; right: 8px; opacity: .9; } }
@media (max-width: 860px) { .price-deco { display: none; } .price-head { padding-bottom: 40px; } }

.price-plans { padding-top: 40px; }
.price-sec { padding: clamp(56px, 8vw, 96px) 0 0; }
.price-sec .section-head { margin-bottom: 32px; }
.price-sec [id], #faq-sec { scroll-margin-top: calc(var(--nav-h) + 20px); }

/* Lizenz: eine Hauptfarbe (Minze = erlaubt) */
.lic {
  position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(24px, 4vw, 56px); align-items: center;
  background: var(--mint-t); border-radius: var(--r-xl); padding: clamp(26px, 5vw, 56px) clamp(22px, 5vw, 56px) calc(clamp(26px, 5vw, 56px) + 16px);
}
.lic::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 18px; background-image: repeating-linear-gradient(to bottom, transparent 0 4px, rgba(11, 122, 80, .22) 4px 6px); }
.lic .eyebrow { color: #0B7A50; }
.lic .eyebrow::before { background-image: radial-gradient(circle at 34% 50%, var(--mint-t) 1.4px, transparent 1.9px), radial-gradient(circle at 66% 50%, var(--mint-t) 1.4px, transparent 1.9px); }
.lic h2 { font-size: clamp(32px, 4.2vw, 50px); margin-top: 12px; }
.price-sec .lic h2 em { color: #0B7A50; }
.lic-copy > p { margin-top: 16px; font-size: 17px; color: var(--ink-2); max-width: 460px; }
.lic-copy > p.lic-fine { margin-top: 18px; font-family: var(--font-mono); font-size: 12px; line-height: 1.6; color: #2F5D4B; max-width: 400px; }
.lic-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.lic-list li { display: flex; gap: 14px; align-items: flex-start; background: var(--card); border-radius: 20px; padding: 18px 20px 18px 18px; box-shadow: 0 4px 0 rgba(11, 122, 80, .2); }
.lic-mark { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--mint); color: #fff; box-shadow: 0 3px 0 #0B7A50; }
.lic-list .no .lic-mark { background: var(--ink); box-shadow: 0 3px 0 #000; }
.lic-tag { display: block; font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #0B7A50; }
.lic-list .no .lic-tag { color: var(--ink-2); }
.lic-list b { display: block; margin-top: 2px; font-family: var(--font-display); font-weight: 600; font-size: 19px; line-height: 1.25; }
.lic-list li span.lic-d { display: block; margin-top: 3px; color: var(--ink-2); font-size: 15px; line-height: 1.45; }
@media (max-width: 860px) { .lic { grid-template-columns: 1fr; } }

/* FAQ auf der Preisseite: Titel links, Antworten rechts */
.price-faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.5fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.price-faq-head { position: sticky; top: calc(var(--nav-h) + 28px); }
.price-faq-head h2 { font-size: clamp(32px, 4.4vw, 50px); margin-top: 12px; }
.price-faq-head p { margin-top: 14px; color: var(--ink-2); max-width: 320px; }
.price-faq .faq { max-width: none; }
@media (max-width: 860px) { .price-faq { grid-template-columns: 1fr; } .price-faq-head { position: static; } }

/* Abschluss: blaues Band mit Sonnen-Knopf */
.price-cta {
  position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 28px 40px; flex-wrap: wrap;
  background: var(--blue); color: #fff; border-radius: var(--r-xl); padding: clamp(28px, 5vw, 52px) clamp(22px, 5vw, 56px) calc(clamp(28px, 5vw, 52px) + 14px);
  box-shadow: 0 8px 0 var(--blue-d);
}
.price-cta::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 18px; background-image: repeating-linear-gradient(to bottom, transparent 0 4px, rgba(255, 255, 255, .16) 4px 6px); }
.price-cta h2 { font-size: clamp(28px, 3.6vw, 42px); max-width: 560px; }
.price-cta p { margin-top: 12px; color: #DCE2FF; font-size: 17px; max-width: 520px; }
.price-cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.price-cta .btn-ghost { --btn-bg: var(--blue); --btn-fg: #fff; --btn-edge: rgba(255, 255, 255, .6); --btn-shade: var(--blue-d); }
.price-cta :focus-visible { outline-color: #fff; }
@media (max-width: 560px) { .price-cta-btns, .price-cta-btns .btn { width: 100%; } }

/* ---------- Gratis-Beta: eine breite Karte (FREE in site.js) ---------- */
.plans.plans-free { grid-template-columns: minmax(0, 1fr); max-width: 920px; margin: 0 auto; padding-top: 30px; }
.plan.plan-free { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 34px; padding: 36px 36px 34px; }
.plan-free .plan-price { border-bottom: 0; padding-bottom: 0; }
.plan-free .plan-lead { min-height: 0; max-width: 340px; }
.plan-free .free-side { display: flex; flex-direction: column; gap: 26px; padding-left: 34px; border-left: 1.5px dashed var(--p-rule); }
.plan-free .plan-feats { margin-top: 4px; font-size: 16px; }
.plan-free .free-cta { align-self: flex-start; }
@media (max-width: 720px) {
  .plan.plan-free { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 30px 24px 26px; }
  .plan-free .free-side { padding-left: 0; padding-top: 24px; border-left: 0; border-top: 1.5px dashed var(--p-rule); }
  .plan-free .free-cta { align-self: stretch; }
}
