/* Preiskarten – gemeinsamer Baustein (13.10.26 aus konto.html herausgezogen): Kontoseite und
   Aktenkoffer-Hinweis in der Leiste. Inhalt: assets/js/preis-karten.js. */
/* Preiskarten wie auf der Startseite (Wunsch Aki 01.10.26). Werte aus dem Designsystem der
   Startseite als feste Zahlen – die Token-Dateien der Startseite dürfen in der App nicht
   geladen werden (gleichnamige Variablen mit anderen Werten). */
.kt-preise { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; padding-top: 18px; align-items: stretch; }
.kt-preis { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 24px 20px 18px; border-radius: 16px;
  border: 1px solid rgba(18, 41, 77, 0.09); background-color: #fff; background-image: linear-gradient(180deg, #FFFFFF 0%, #F5F9FF 100%);
  box-shadow: 0 6px 16px -8px rgba(18, 41, 77, 0.22); }
.kt-preis--beliebt { background-image: linear-gradient(180deg, #F3F7FF 0%, #E6EEFE 100%); border-color: #B8D0FA;
  box-shadow: 0 14px 30px -12px rgba(18, 41, 77, 0.32); }
.kt-preis-chip { position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); padding: 4px 12px; border-radius: 999px;
  background: #FFD43B; color: #12294D; font-size: 0.75rem; font-weight: 700; white-space: nowrap; }
.kt-preis-label { margin: 0; font-size: 0.9375rem; font-weight: 700; color: #646D77; }
.kt-preis-betrag { margin: 0; }
.kt-preis-wert { display: block; font-size: 2.125rem; font-weight: 700; line-height: 1; letter-spacing: -0.02em; color: #14181F; }
.kt-preis-stern { font-size: 0.5em; vertical-align: super; margin-inline-start: 2px; }
.kt-preis-einheit { display: block; margin-top: 4px; font-size: 0.875rem; color: #646D77; }
.kt-preis-liste { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.kt-preis-punkt { display: flex; gap: 8px; font-size: 0.875rem; line-height: 1.45; color: #3A414B; }
.kt-preis-punkt::before { content: ""; flex: 0 0 16px; height: 16px; margin-top: 2px; background: #2FA36B;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat; }
/* Schmale Innenabstände: bei drei Karten nebeneinander (~174px) passt sonst z. B. das armenische
   „Abonnieren“ (14 Zeichen) nicht und würde mitten im Wort geteilt (02.10.26). */
.kt-preis-knopf:not(#_) { width: 100%; margin: 4px 0 0; padding-inline: 8px; }
/* Handy: Leistungen eingeklappt, Pfeil mittig unter der Einheit (wie Startseite). */
.kt-preis-mehr { display: none; }
@media (max-width: 640px) {
  .kt-preis-liste { display: none; }
  .kt-preis--offen .kt-preis-liste { display: flex; }
  .kt-preis-mehr { display: flex; align-items: center; justify-content: center; align-self: center; width: 44px; height: 32px;
    margin: -4px 0; padding: 0; border: 0; border-radius: 999px; background: none; color: #2B5ECB; cursor: pointer; }
  .kt-preis-mehr:focus-visible { outline: 2px solid #2B5ECB; outline-offset: 2px; }
  .kt-preis-mehr-icon { width: 22px; height: 22px; background: currentColor; transition: transform .2s;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat; }
  .kt-preis-mehr[aria-expanded="true"] .kt-preis-mehr-icon { transform: rotate(180deg); }
}
.kt-preis-note { margin: 0; font-size: 0.78125rem; line-height: 1.45; color: #646D77; }
/* Feste Höhe der Fußnote, solange die Karten nebeneinander stehen: hält die Knöpfe aller
   Karten auf einer Linie (wie .bk-price__note der Startseite). */
@media (min-width: 641px) { .kt-preis-note { min-height: 3.7em; } }
/* Abo-Karte bei laufendem Abo: ausgegraut, Knopf gesperrt, Hinweis darunter (Zustand in Text, nicht nur Farbe). */
.kt-preis--aus { filter: grayscale(1); opacity: 0.6; box-shadow: none; }
.kt-preis--aus .kt-preis-knopf { cursor: not-allowed; }
.kt-preis-vorhanden { margin: 0; font-size: 0.8125rem; font-weight: 700; color: #3A414B; }
.kt-preis-fuss { margin: 14px 0 0; text-align: center; font-size: 0.8125rem; color: #646D77; }
/* Einführungsrabatt (17.10.26, assets/js/einfuehrungsrabatt.js): Hinweis über den Karten und der
   Normalpreis unter dem ermäßigten Betrag. Markenblau für Text (#2B5ECB, Aktion), Fläche hell. */
.kt-preis-rabatt { margin: 0 0 14px; padding: 10px 14px; border-radius: 12px; background: #EAF1FF; color: #2B5ECB; font-size: 0.875rem; font-weight: 600; line-height: 1.4; text-align: center; }
.kt-preis-statt { margin: 4px 0 0; font-size: 0.8125rem; color: #646D77; }
