/* Preiskarten, Entwurf C (Vorschau 11.10.2026): drei Karten in einer gemeinsamen Schale,
   Inhalte linksbuendig, Zeilen ueber alle Karten ausgerichtet (subgrid), empfohlenes Paket dunkel.
   Laedt nach preise.css und ueberschreibt Entwurf B. Inhalte weiter aus dem Admin. */
.pr-tiers{gap:8px;padding:8px;margin-top:56px;background:var(--bg2);border:1px solid var(--line);border-radius:32px;
  grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:auto auto auto 1fr auto;align-items:stretch}
.pr-card,.pr-card.pr-featured{display:grid;grid-row:span 5;grid-template-rows:subgrid;row-gap:0;align-items:start;justify-items:start;
  text-align:left;background:var(--card);border:1px solid var(--line);border-radius:24px;padding:32px 30px 30px;color:var(--ink);
  box-shadow:0 1px 2px rgba(10,10,10,.04);transition:opacity .5s var(--ease-in-view),transform .4s var(--spring),border-color .2s cubic-bezier(.23,1,.32,1)}
.pr-card + .pr-card{border-left:1px solid var(--line)}
.pr-card:hover,.pr-card.pr-featured:hover{transform:none;box-shadow:0 1px 2px rgba(10,10,10,.04)}
@media(hover:hover) and (pointer:fine){.pr-card:not(.pr-featured):hover{border-color:var(--ink)}}

.pr-tier{order:0;font-size:18px;font-weight:600;letter-spacing:-.01em;color:var(--ink)}
.pr-badge,.pr-badge-action{order:0;position:absolute;top:35px;right:30px;left:auto;transform:none;margin:0;padding:0;border-radius:0;
  background:transparent;color:var(--muted);font-size:13px;font-weight:500;box-shadow:none}
.pr-badge::before{display:none}

.pr-price{order:0;justify-content:flex-start;align-items:baseline;gap:6px;margin:34px 0 0}
.pr-price .amt{font-size:clamp(52px,5vw,64px);font-weight:600;letter-spacing:-.04em;font-variant-numeric:tabular-nums}
.pr-price .cur{font-size:26px;font-weight:500;color:var(--muted)}
.pr-period{order:0;justify-content:flex-start;margin:10px 0 0;padding-bottom:26px;width:100%;font-size:14.5px;color:var(--muted);border-bottom:1px solid var(--line)}

.pr-feats{order:0;max-width:none;margin:0;padding:22px 0 30px;gap:0;flex:none}
.pr-feats li{font-size:14.5px;line-height:1.5;padding:9px 0;gap:12px;text-wrap:pretty}
.pr-feats li svg,.pr-featured .pr-feats li svg{width:16px;height:16px;margin-top:3px;color:var(--ink);stroke-width:2.2}

.pr-card .btn,.pr-card:not(.pr-featured) .btn,.pr-card:not(.pr-featured) .btn:hover,.pr-card.pr-featured .btn,.pr-card.pr-featured .btn:hover{order:0;width:100%;justify-content:center;margin:0;padding:15px 20px;border-radius:999px;font-size:15px;font-weight:600;
  transition:background-color .2s cubic-bezier(.23,1,.32,1),border-color .2s cubic-bezier(.23,1,.32,1),color .2s cubic-bezier(.23,1,.32,1),transform .16s cubic-bezier(.23,1,.32,1)}
.pr-card:not(.pr-featured) .btn,.pr-card:not(.pr-featured) .btn:hover{background:transparent;border:1px solid var(--line);color:var(--ink)}
.pr-card:not(.pr-featured) .btn::after{display:none}
@media(hover:hover) and (pointer:fine){.pr-card:not(.pr-featured) .btn:hover{border-color:var(--ink);background:var(--bg2)}}
.pr-card .btn:active{transform:scale(.97)}

/* Empfohlenes Paket: dunkle Karte, weisser Button */
.pr-card.pr-featured{background:#0d0d0f;border-color:#0d0d0f;color:#fff;box-shadow:0 18px 40px -22px rgba(10,10,10,.32)}
.pr-card.pr-featured:hover{box-shadow:0 18px 40px -22px rgba(10,10,10,.32)}
.pr-featured .pr-tier,.pr-featured .pr-price .amt,.pr-featured .pr-feats li{color:#fff}
.pr-featured .pr-price .cur,.pr-featured .pr-period{color:rgba(255,255,255,.62)}
.pr-featured .pr-period{border-bottom-color:rgba(255,255,255,.16)}
.pr-featured .pr-feats li svg{color:#fff}
.pr-featured .pr-badge{background:transparent;color:rgba(255,255,255,.7)}
.pr-card.pr-featured .btn,.pr-card.pr-featured .btn:hover{background:#fff;color:#0d0d0f;border:1px solid #fff;box-shadow:none}
@media(hover:hover) and (pointer:fine){.pr-card.pr-featured .btn:hover{background:#ececec;border-color:#ececec}}
[data-theme="dark"] .pr-card.pr-featured{background:#f4f4f5;border-color:#f4f4f5;color:#0d0d0f}
[data-theme="dark"] .pr-featured .pr-tier,[data-theme="dark"] .pr-featured .pr-price .amt,[data-theme="dark"] .pr-featured .pr-feats li,[data-theme="dark"] .pr-featured .pr-feats li svg{color:#0d0d0f}
[data-theme="dark"] .pr-featured .pr-price .cur,[data-theme="dark"] .pr-featured .pr-period{color:rgba(13,13,15,.62)}
[data-theme="dark"] .pr-featured .pr-period{border-bottom-color:rgba(13,13,15,.16)}
[data-theme="dark"] .pr-featured .pr-badge{background:transparent;color:rgba(13,13,15,.7)}
[data-theme="dark"] .pr-card.pr-featured .btn,[data-theme="dark"] .pr-card.pr-featured .btn:hover{background:#0d0d0f;color:#fff;border-color:#0d0d0f}

/* Enterprise: gleiche Schale, eine breite Karte. Links Name und Preis, rechts Umfang. */
.pr-ent,.pr-ent:hover{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);column-gap:56px;row-gap:0;align-items:start;
  margin-top:44px;padding:40px 38px 38px;background:var(--card);border:1px solid var(--line);border-radius:24px;box-shadow:0 1px 2px rgba(10,10,10,.04)}
.pr-ent-head{display:block;grid-column:1;grid-row:1}
.pr-ent-badge{padding:0;background:transparent;color:var(--muted);font-size:13px;font-weight:500}
.pr-ent-badge::before{display:none}
.pr-ent h3{font-size:18px;font-weight:600;letter-spacing:-.01em;margin-top:8px}
.pr-ent-desc{font-size:14.5px;line-height:1.6;margin-top:10px;max-width:42ch;text-wrap:pretty}
.pr-ent-price{text-align:left;margin-top:30px}
.pr-ent-price .amt{font-size:clamp(40px,4vw,52px);font-weight:600;letter-spacing:-.04em}
.pr-ent-price .per{font-size:14.5px;color:var(--muted);margin-top:10px}
.pr-ent-feats{grid-column:2;grid-row:1 / span 2;grid-template-columns:1fr;gap:0;margin:0;max-width:none;align-self:start}
.pr-ent-feats li{font-size:14.5px;line-height:1.5;padding:13px 0;gap:12px;border-bottom:1px solid var(--line)}
.pr-ent-feats li:first-child{padding-top:4px}
.pr-ent-feats li:last-child{border-bottom:0}
.pr-ent-feats li svg{color:var(--ink);stroke-width:2.2;margin-top:3px}
.pr-ent .btn,.pr-ent .btn:hover{grid-column:1;grid-row:2;justify-self:start;margin-top:30px;padding:15px 26px;border-radius:999px;background:var(--ink);color:var(--bg);font-size:15px}
.pr-ent .btn::after{display:none}
.pr-ent .btn:active{transform:scale(.97)}

@media(max-width:980px){
  .pr-tiers{grid-template-columns:1fr;grid-template-rows:none;border-radius:28px}
  .pr-card,.pr-card.pr-featured{display:flex;grid-row:auto;padding:28px 22px 22px;align-items:stretch}
  .pr-card + .pr-card{border-top:1px solid var(--line)}
  .pr-card.pr-featured{border-color:#0d0d0f}
  .pr-badge,.pr-badge-action{top:31px;right:22px}
  .pr-price{margin-top:26px}
  .pr-ent,.pr-ent:hover{grid-template-columns:1fr;padding:28px 22px 22px}
  .pr-ent-feats{grid-column:1;grid-row:auto;margin-top:26px}
  .pr-ent-feats li:first-child{padding-top:13px;border-top:1px solid var(--line)}
  .pr-ent .btn,.pr-ent .btn:hover{grid-row:auto;justify-self:stretch;justify-content:center;margin-top:22px}
}
@media(prefers-reduced-motion:reduce){.pr-card .btn:active,.pr-ent .btn:active{transform:none}}

/* Fokus und Textauswahl auf der dunklen Karte sichtbar halten */
.pr-card .btn:focus-visible,.pr-ent .btn:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
.pr-card.pr-featured .btn:focus-visible{outline-color:#fff}
.pr-card.pr-featured ::selection{background:#fff;color:#0d0d0f}
[data-theme="dark"] .pr-card.pr-featured .btn:focus-visible{outline-color:#0d0d0f}
[data-theme="dark"] .pr-card.pr-featured ::selection{background:#0d0d0f;color:#fff}
