/* Lichtmappe – Billing-Bausteine (preise.html, kuendigen.html, danke.html, konto.html#abo). Nutzt nur Tokens aus app.css/site.css. */
[hidden] { display: none !important; }

/* Preisseite */
.price-head { display: grid; gap: 12px; max-width: 72ch; }
.price-head p { color: var(--ink-2); font-size: 16.5px; }
.price-controls { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; margin: 26px 0 18px; }
.price-controls .billing-toggle { margin: 0; }
.vat-switch { display: inline-flex; border: 1px solid var(--line-2); border-radius: 6px; overflow: hidden; }
.vat-switch button { appearance: none; border: 0; background: var(--sheet); color: var(--ink-2); font: 600 13.5px var(--f-body); padding: 8px 12px; cursor: pointer; }
.vat-switch button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.pp-card .price { font-size: 34px; }
.pp-card .alt { font-size: 12.5px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.pp-card .total { font-size: 12.5px; color: var(--ink-2); }
.pp-card .btn { margin-top: 8px; width: 100%; justify-content: center; }
.pp-card .cur-tag { font-family: var(--f-mono); font-size: 11px; color: var(--ok); letter-spacing: .04em; text-transform: uppercase; }
.price-banner { border: 1px solid var(--line-2); background: var(--sheet); border-radius: var(--r); padding: 12px 14px; font-size: 14px; margin-bottom: 16px; }
.price-banner.warn { border-color: var(--warn); background: var(--warn-soft); }
.matrix { position: relative; overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; background: var(--sheet); }
.matrix table { min-width: 620px; font-size: 14px; }
.matrix th, .matrix td { text-align: center; }
.matrix th:first-child, .matrix td:first-child { text-align: left; position: sticky; left: 0; background: var(--sheet); z-index: 1; min-width: 190px; }
.matrix thead th { background: var(--sheet-2); }
.matrix thead th:first-child { background: var(--sheet-2); }
.matrix tr.grp th { background: var(--sheet-2); font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); text-align: left; }
.matrix .yes { color: var(--ok); font-weight: 700; }
.matrix .no { color: var(--ink-3); }
.matrix caption { caption-side: bottom; text-align: left; padding: 10px 12px; font-size: 13px; color: var(--ink-2); }
.addons { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.addons > div { border: 1px solid var(--line); border-radius: var(--r); padding: 14px; background: var(--sheet); display: grid; gap: 4px; }
.addons small { color: var(--ink-2); }

/* Bestell-Dialog */
.checkout-dlg { width: min(620px, 100%); }
.co-sum { display: grid; gap: 0; margin: 0; border: 1px solid var(--line); border-radius: var(--r); }
.co-sum > div { display: grid; grid-template-columns: 110px 1fr; gap: 10px; padding: 10px 12px; border-bottom: 1px solid var(--line); font-size: 14px; }
.co-sum > div:last-child { border-bottom: 0; }
.co-sum dt { color: var(--ink-2); font-size: 13px; }
.co-sum dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.co-sum small { color: var(--ink-2); }
.co-who { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.co-who legend { font-weight: 600; font-size: 14px; margin-bottom: 6px; padding: 0; }
.co-consumer { display: grid; gap: 10px; }
.co-interval .check span { font-variant-numeric: tabular-nums; }
.pp-card > small.muted { display: block; margin-top: 6px; font-size: 12px; color: var(--ink-2); overflow-wrap: anywhere; }
.checkout-dlg .auth-err:not(:empty) { margin-top: 2px; }
@media (max-width: 480px) { .co-sum > div { grid-template-columns: 1fr; gap: 2px; } }

/* Kündigung + Danke */
.cancel-wrap { max-width: 720px; display: grid; gap: 20px; }
.cancel-card { background: var(--sheet); border: 1px solid var(--line); border-radius: 12px; padding: clamp(18px, 4vw, 28px); display: grid; gap: 16px; }
.cancel-card fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.cancel-card legend { font-weight: 600; font-size: 14.5px; margin-bottom: 6px; padding: 0; }
.cancel-card .btn.primary { justify-self: start; }
.cancel-review { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--r); margin: 0; }
.cancel-review > div { display: grid; grid-template-columns: 170px 1fr; gap: 10px; padding: 10px 12px; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.cancel-review > div:last-child { border-bottom: 0; }
.cancel-review dt { color: var(--ink-2); }
.cancel-review dd { margin: 0; overflow-wrap: anywhere; min-width: 0; }
@media (max-width: 520px) { .cancel-review > div { grid-template-columns: 1fr; gap: 2px; } }
.receipt { border: 2px solid var(--ok); background: var(--ok-soft); }
.receipt h2 { color: var(--ink); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
@media print {
  .site-header, .site-footer, .no-print, .skip { display: none !important; }
  body { background: #fff !important; color: #000 !important; }
  .receipt { border-color: #000; background: #fff; }
}

/* Konto: Abo & Rechnungen */
.abo-grid { display: grid; gap: var(--s3); grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.abo-grid > div { border: 1px solid var(--line); border-radius: var(--r); padding: 12px; background: var(--sheet); display: grid; gap: 3px; min-width: 0; }
.abo-grid small { color: var(--ink-2); font-size: 12px; font-family: var(--f-mono); letter-spacing: .04em; text-transform: uppercase; }
.abo-grid b { font-size: 15px; overflow-wrap: anywhere; }
.abo-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.banner.danger { border-color: var(--grease); background: var(--grease-soft); }
.banner.ok { border-color: var(--ok); background: var(--ok-soft); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.pp-card .price small { display: block; margin-top: 6px; font-size: 12.5px; }
#notice:not(:empty) { margin-top: 18px; }
