/* Band der Testphase (unter dem Kopfband) und Seite „Tarife und Preise“ (Bauplan Web-App Testphase T4, T5). Farben nur aus den
   Marken von oo.css: ruhig neutral, gelb ab drei Resttagen, rot am letzten Tag und danach (wie die Testleiste des PC-Programms).
   Blau nur der Hauptknopf („Jetzt OfficeOmni kaufen“, „Aktivieren“), Ecken 3 px, Flächen 4 px, Haarlinien statt Schatten. */

/* ── Band ───────────────────────────────────────────────────────────────────── */
.tf-band { flex: 0 0 auto; display: flex; align-items: center; flex-wrap: wrap; gap: 4px 12px; min-height: 38px; padding: 4px 8px 4px 14px;
  border-bottom: 1px solid var(--linie); background: var(--flaeche-2); color: var(--tinte-2); }
.tf-band-titel { font-weight: 600; color: var(--tinte-1); white-space: nowrap; }
.tf-band-rest { white-space: nowrap; }
.tf-band-balken { flex: 0 0 96px; height: 6px; border-radius: 3px; background: var(--linie-stark); overflow: hidden; }
.tf-band-fuellung { display: block; height: 100%; background: var(--tinte-4); }
.tf-band-ende { color: var(--tinte-4); white-space: nowrap; }
.tf-band-knoepfe { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.tf-band-bald { background: var(--warn-grund); border-bottom-color: color-mix(in srgb, var(--warn) 22%, transparent); }
.tf-band-bald .tf-band-titel { color: var(--warn); }
.tf-band-bald .tf-band-fuellung { background: var(--ampel-gelb); }
.tf-band-alarm { background: var(--alarm-grund); border-bottom-color: color-mix(in srgb, var(--alarm) 22%, transparent); }
.tf-band-alarm .tf-band-titel { color: var(--alarm); }
.tf-band-alarm .tf-band-fuellung { background: var(--ampel-rot); }
.tf-band-bald .tf-band-weg:hover, .tf-band-alarm .tf-band-weg:hover, .tf-band-bald .tf-band-lizenz:hover, .tf-band-alarm .tf-band-lizenz:hover { background: rgba(127, 127, 127, .14); }
@media (max-width: 760px) {
  .tf-band-balken, .tf-band-ende, .tf-band-lizenz { display: none; }
}
/* „Einrichtung fortsetzen“ (Willkommen-Fenster) bis 380 px als „Einrichten“: sonst ragt das ✕ bei 360 px aus dem Bild. */
.tf-band-einrichtung .tf-kurz { display: none; }
@media (max-width: 380.98px) {
  .tf-band-einrichtung .tf-lang { display: none; }
  .tf-band-einrichtung .tf-kurz { display: inline; }
}

/* ── Seite ──────────────────────────────────────────────────────────────────── */
.tf-seite { flex: 1 1 auto; min-height: 0; overflow: auto; background: var(--grund); }
.tf-innen { max-width: 1200px; margin: 0 auto; padding: 22px 24px 40px; display: grid; gap: 16px; }
.tf-kopf h1 { font-size: 20px; font-weight: 600; }
.tf-zustand { margin-top: 4px; color: var(--tinte-4); }
.tf-zustand-bald { color: var(--warn); }
.tf-zustand-alarm { color: var(--alarm); }

.tf-karten { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; align-items: stretch; }
.tf-laedt { display: flex; align-items: center; color: var(--tinte-4); }
.tf-karte { display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 14px 14px 12px; border: 1px solid var(--linie);
  border-radius: 4px; background: var(--flaeche); }
.tf-karte.aktiv { border-color: var(--tinte-3); }
.tf-karte h2 { font-size: 15px; font-weight: 600; }
.tf-fuer { color: var(--tinte-4); }
.tf-preis { display: flex; align-items: baseline; gap: 4px; }
.tf-preis strong { font-size: 24px; font-weight: 600; color: var(--tinte-1); }
.tf-preis span { color: var(--tinte-5); }
.tf-preis .wort { font-size: 16px; }
.tf-umfang { color: var(--tinte-4); font-size: 12px; }
.tf-vorspann { color: var(--tinte-3); font-size: 12px; font-weight: 600; }
.tf-punkte { margin: 0; padding: 0 0 0 16px; display: grid; gap: 4px; color: var(--tinte-2); }
.tf-hinweis { color: var(--tinte-5); font-size: 12px; }
.tf-karte-fuss { margin-top: auto; padding-top: 6px; }
.tf-karte-fuss .kn { width: 100%; }

.tf-unter { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; color: var(--tinte-4); }
.tf-mehr { color: var(--tinte-2); }
.tf-recht { color: var(--tinte-4); }

.tf-fertig, .tf-kauf, .tf-verbinden, .tf-schluessel { display: grid; gap: 8px; justify-items: start; padding: 12px 14px; border: 1px solid var(--linie);
  border-radius: 4px; background: var(--flaeche); }
.tf-fertig { border-color: color-mix(in srgb, var(--ok) 35%, transparent); background: var(--ok-grund); }
.tf-fertig strong { color: var(--ok); font-weight: 600; }
.tf-erkennung { display: flex; align-items: center; gap: 8px; }
.tf-erkennung-bezahlt { color: var(--ok); font-weight: 600; }
.tf-fehler { color: var(--alarm); }
.tf-schluessel h2, .tf-verbinden h2 { font-size: 14px; font-weight: 600; }
.tf-verbinden { border-color: color-mix(in srgb, var(--warn) 35%, transparent); }
.tf-verbinden-form { display: flex; gap: 8px; width: 100%; max-width: 420px; }
.tf-ohne { color: var(--tinte-3); }
.tf-schluessel-hinweis { color: var(--tinte-3); }
.tf-schluessel-form { display: flex; gap: 8px; width: 100%; max-width: 560px; }
.tf-schluessel-feld { letter-spacing: .04em; text-transform: uppercase; }
.tf-schluessel-feld::placeholder { text-transform: none; }
.tf-schluessel-hilfe, .tf-fragen { color: var(--tinte-5); font-size: 12px; }

@media (max-width: 1120px) { .tf-karten { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .tf-innen { padding: 16px 12px 32px; }
  .tf-karten { grid-template-columns: minmax(0, 1fr); }
  .tf-schluessel-form, .tf-verbinden-form { flex-direction: column; }
}
