/* offline-app.css — Ergänzungen zu contact.css für die Seite "Offline-App ohne Google" */

/* Mehrere Karten untereinander statt einer einzelnen Formularkarte */
.card + .card { margin-top: 1.5rem; }
.card h2 { font-size: 1.15rem; margin-bottom: 0.75rem; }
.card > p { font-size: 0.92rem; line-height: 1.6; }

.feature-list { margin: 1rem 0 0 1.2rem; font-size: 0.9rem; line-height: 1.7; }

.hint-inline { font-size: 0.85rem; font-weight: 400; color: var(--text-dim); }

/* Preisstaffel: eine Zeile je Geräteanzahl, Preis rechtsbündig */
.tier-list { border: none; margin-top: 1.5rem; }
.tier-list legend {
  font-size: 0.82rem; font-weight: 600; color: var(--text-dim);
  text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 0.4rem;
}
label.choice.tier {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 0.85rem;
  margin-bottom: 0.5rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--text);
  text-transform: none;
  letter-spacing: 0;
  cursor: pointer;
}
label.choice.tier:has(input:checked) { border-color: var(--gold); }
.tier-price { margin-left: auto; font-weight: 700; }

/* Zustimmung zur sofortigen Lieferung: Fließtext statt Feldbeschriftung, Häkchen oben bündig */
label.choice.waiver {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-top: 1.25rem;
  font-size: 0.85rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text);
  text-transform: none;
  letter-spacing: 0;
}
label.choice.waiver input { margin-top: 0.25rem; }

/* "Herunterladen" ist ein Link, soll aber wie die übrigen Knöpfe aussehen */
a.btn-submit { display: inline-block; text-decoration: none; }
/* Dunkles Navy hebt sich im Dunkelmodus kaum ab - der Rand hält die Knöpfe erkennbar (wie kuendigen.css) */
.btn-submit { border: 1px solid var(--gold); }

.steps { margin: 1.25rem 0 0 1.2rem; font-size: 0.9rem; line-height: 1.7; }

.checksums { margin-top: 1.25rem; font-size: 0.88rem; }
.checksums summary { cursor: pointer; color: var(--text-dim); }
/* Lange Hex-Werte und Repo-Adressen umbrechen statt die Seite zu verbreitern */
.checksums code, code.repo-url {
  display: block;
  margin: 0.4rem 0;
  padding: 0.5rem 0.65rem;
  border-radius: 6px;
  background: var(--bg);
  font-size: 0.78rem;
  overflow-wrap: anywhere;
}
.checksums code:empty { display: none; }

/* F-Droid: QR-Code neben dem Knopf, auf schmalen Bildschirmen untereinander. Weißer Grund auch im Dunkelmodus,
   sonst erkennen manche Scanner den Code nicht */
.fdroid-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; margin-top: 1rem; }
.fdroid-qr { width: 160px; height: 160px; border-radius: 6px; background: #fff; }

/* Support-Adresse als Text (Mail-Links sind in manchen Ansichten unzuverlässig), gut markierbar */
.support-mail { margin-top: 0.6rem; font-weight: 600; user-select: all; overflow-wrap: anywhere; }

/* Meldungen wie #msg in contact.css, aber mehrfach pro Seite */
.msg {
  margin-top: 1.25rem;
  padding: 0.85rem 1rem;
  border-radius: 6px;
  font-size: 0.88rem;
  line-height: 1.5;
  display: none;
}
.msg.success { display: block; background: #edfaf1; color: #2e7d50; border: 1px solid #4caf7d; }
.msg.error   { display: block; background: #fef2f2; color: #c0392b; border: 1px solid #e57373; }
.msg.info    { display: block; background: var(--surface); color: var(--text); border: 1px solid var(--border); }
#pageMsg.msg { margin: 0 0 1.5rem; }

/* Hinweistexte: kleiner und mit Abstand (contact.css kennt .hint nicht, kuendigen.css wird hier nicht geladen) */
.card p.hint { font-size: 0.82rem; color: var(--text-dim); line-height: 1.5; margin-top: 1rem; }
