/* PeakPerformanceCoach - Preisseite, Kauf, Willkommen, Abo, Kündigung, Rechtsseiten
   (Abos über Stripe, 06.10.2026). Eigene Datei wie auth.css: app.css bleibt unberührt, und
   alle Farben kommen aus dessen Tokens - Light/Dark gilt ohne eigene Regel. */

.shop {
  max-width: 64rem;
  margin: 0 auto;
  padding: 40px 16px 32px;
}

.shop__title {
  font-size: 1.6rem;
  margin: 0 0 6px;
  text-align: center;
}

.shop__lead {
  color: var(--text-secondary);
  text-align: center;
  margin: 0 0 18px;
}

/* Monat/Jahr: zwei Links, der aktive ist hervorgehoben (ohne JavaScript). */
.shop__switch {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin: 0 0 22px;
}

.shop__switch a {
  color: var(--text-secondary);
  text-decoration: none;
  border: 1px solid var(--axis);
  border-radius: 999px;
  padding: 6px 16px;
  min-height: 32px;
}

.shop__switch a[aria-current="page"] {
  color: #fff;
  background: var(--series-1);
  border-color: var(--series-1);
  font-weight: 600;
}

.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 14px;
  align-items: stretch;
}

.plan {
  display: flex;
  flex-direction: column;
  padding: 18px 18px 20px;
}

.plan--highlight {
  border-color: var(--series-1);
  box-shadow: 0 0 0 1px var(--series-1);
}

.plan__badge {
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  background: var(--series-1);
  border-radius: 999px;
  padding: 2px 10px;
  margin: 0 0 8px;
}

.plan__name {
  font-size: 1.25rem;
  margin: 0 0 4px;
}

.plan__tagline {
  color: var(--text-secondary);
  margin: 0 0 12px;
}

.plan__price {
  font-size: 1.9rem;
  font-weight: 700;
  margin: 0;
}

.plan__per {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-secondary);
}

.plan__note {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 2px 0 12px;
}

.plan__includes {
  font-weight: 600;
  margin: 6px 0 4px;
}

.plan__features {
  margin: 0 0 16px;
  padding-left: 1.2rem;
  line-height: 1.5;
  flex: 1 1 auto;
}

.plan__features li + li {
  margin-top: 4px;
}

.plan .auth__button {
  text-align: center;
  margin-top: auto;
}

.shop__fine {
  color: var(--text-muted);
  font-size: 0.85rem;
  text-align: center;
  margin: 18px 0 0;
}

/* Kritik eines Test-Kunden (06.10.2026): Ersparnis des Jahresabos und Testbedingungen standen
   nirgends. Beides unter dem Preis bzw. über dem Knopf der Karte. */
.plan__saving {
  font-weight: 600;
  color: var(--series-1);
  margin: 0 0 12px;
}

.plan__trial {
  font-size: 0.85rem;
  color: var(--text-secondary);
  border-top: 1px solid var(--border);
  padding-top: 10px;
  margin: 0 0 12px;
  line-height: 1.45;
}

.plan__trial strong {
  color: var(--text-primary);
}

/* Startseite (06.10.2026): was, für wen, wie -- und eine echte Buchung als Beispiel. */
.landing--intro {
  max-width: 38rem;
  padding-top: 48px;
}

.landing .landing__lead {
  font-size: 1.1rem;
  color: var(--text-primary);
}

.landing .landing__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 22px 0 8px;
}

.auth__button--quiet {
  color: var(--series-1);
  background: transparent;
}

/* Ein Telegram-Verlauf aus statischem HTML: rechts du, links der Coach. */
.chat {
  margin: 22px 0 0;
  padding: 14px 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--plane);
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.chat__msg {
  margin: 0;
  padding: 8px 12px;
  border-radius: 12px;
  max-width: 92%;
  line-height: 1.45;
  color: var(--text-primary);
  overflow-wrap: anywhere;
}

.chat__msg--me {
  align-self: flex-end;
  background: var(--series-1-wash);
  border-bottom-right-radius: 4px;
}

.chat__msg--coach {
  align-self: flex-start;
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
}

/* Die Balken stehen im Chat in einem Monospace-Block, sonst verrutschen die Spalten. */
.chat__bars {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.4;
  white-space: pre;
  overflow-x: auto;
}

.landing .chat__caption {
  color: var(--text-muted);
  font-size: 0.85rem;
  text-align: center;
  margin: 4px 0 0;
}

/* Bestellseite */
.order__summary {
  margin: 0 0 12px;
}

.order__price {
  font-size: 1.4rem;
  font-weight: 700;
}

.order__check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 12px;
  line-height: 1.45;
}

.order__check input {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

/* Klartext über dem Widerrufs-Häkchen und Satz über dem Knopf beim Test (06.10.2026). */
.order__plain {
  font-weight: 600;
  margin: 16px 0 0;
  line-height: 1.45;
}

.order__check--plain {
  margin-top: 6px;
}

.order__trial {
  font-weight: 600;
  margin: 18px 0 0;
  line-height: 1.45;
}

.order__button--after-note {
  margin-top: 8px;
}

.order__fine {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 12px 0 0;
}

/* Einwilligungen (14.10.2026): der volle Text eingeklappt unter dem Häkchen, beim Aufklappen
   in einem eigenen, rollbaren Kasten -- das Häkchen und der Knopf bleiben in Reichweite. */
.consent__block {
  margin-top: 18px;
}

.consent__text {
  margin: 8px 0 0 28px;
}

.consent__text > summary {
  cursor: pointer;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.consent__body {
  max-height: 22rem;
  overflow-y: auto;
  margin-top: 8px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.9rem;
  line-height: 1.45;
}

/* Telegram einrichten */
.qr {
  display: flex;
  justify-content: center;
  margin: 14px 0;
}

.qr svg {
  /* 13.10.2026: das SVG hat eine viewBox statt fester Groesse -- die Breite kommt von hier. */
  width: min(100%, 13rem);
  height: auto;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
}

.code {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-align: center;
  margin: 6px 0 0;
}

/* Die Abo-Seite ist seit 06.10.2026 der Bereich „Abo" der Einstellungen (Stil aus admin.css). */

.notice {
  border: 1px solid var(--series-1);
  border-radius: 6px;
  padding: 8px 10px;
  margin: 0 0 14px;
}

/* Die Warnung vor dem Widerruf (14.10.2026): das Konto wird sofort gelöscht. Rot und fett --
   die Farbe ist nie allein die Information, der Text sagt es. */
.notice--danger {
  border: 2px solid var(--status-critical-solid);
  font-weight: 600;
}

.auth__button--danger {
  background: var(--status-critical-solid);
  border-color: var(--status-critical-solid);
}

/* Rechtsseiten aus Markdown */
.legal-md h2 {
  font-size: 1.1rem;
  margin: 18px 0 8px;
}

.legal-md p,
.legal-md li {
  line-height: 1.55;
}

.legal-md hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 18px 0;
}

/* Fußzeile jeder öffentlichen Seite. Seit 06.10.2026 ohne Kündigungsknopf: gekündigt wird
   angemeldet unter Einstellungen → Abo (Entscheidung des Eigentümers). */
.public-footer {
  max-width: 64rem;
  margin: 8px auto 0;
  padding: 18px 16px 32px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
}

.public-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
}

.public-footer__links a {
  color: var(--text-secondary);
}

/* Kündigungsseite (22.10.2026): die freiwilligen Gründe ohne Rahmen. */
.order__reasons {
  border: 0;
  padding: 0;
  margin: 0 0 16px;
}

.order__reasons .auth__label {
  margin-top: 12px;
}
