/* leakshield — Trial-Anmeldung (leak-check.leakshield.io/trial). Baut auf leakcheck.v1.css
   (Brand-Tokens, .lc-*-Basisklassen) auf; hier nur Wizard-spezifisches. */

.tr-main { max-width: 640px; margin-top: 1rem; }

.tr-hero { text-align: center; margin-bottom: 1.75rem; }
.tr-hero .lc-h1 { margin-bottom: 0.875rem; }

.tr-chips { display: flex; justify-content: center; gap: 0.5rem; flex-wrap: wrap; }
.tr-chip {
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  background: rgba(66, 177, 151, 0.12);
  border: 1px solid rgba(66, 177, 151, 0.35);
  color: var(--ls-green);
  font-size: 0.8125rem;
  font-weight: 600;
}

/* ---------- Progress ---------- */

.tr-progress { width: 100%; margin-bottom: 1rem; }
.tr-progress-top { display: flex; justify-content: space-between; margin-bottom: 0.5rem; }
.tr-progress-label { font-size: 0.8125rem; font-weight: 600; color: #fff; }
.tr-progress-count { font-size: 0.8125rem; color: var(--ls-muted); }
.tr-progress-track {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.tr-progress-fill {
  height: 100%;
  border-radius: 999px;
  background-image: var(--green-gradient);
  transition: width 0.35s ease;
}

/* ---------- Karte + Schritte ---------- */

.tr-card { width: 100%; padding: 2rem; }
@media (min-width: 640px) { .tr-card { padding: 2.5rem; } }

.tr-step[hidden] { display: none; }
.tr-step-in { animation: tr-slideIn 0.28s ease-out; }
@keyframes tr-slideIn {
  from { opacity: 0; transform: translateX(14px); }
  to { opacity: 1; transform: translateX(0); }
}
@media (prefers-reduced-motion: reduce) {
  .tr-step-in { animation: none; }
}

.tr-step-title {
  font-size: 1.375rem;
  font-weight: 700;
  margin: 0 0 0.375rem;
  font-family: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.tr-step-sub { color: var(--ls-muted); margin: 0 0 1.5rem; font-size: 0.9375rem; }

.tr-label { display: block; font-size: 0.8125rem; font-weight: 600; color: #fff; margin-bottom: 0.5rem; }
.tr-label-gap { margin-top: 1rem; }
.tr-hint { font-size: 0.8125rem; color: var(--ls-muted); margin: 0.75rem 0 0; }

.tr-grid2 { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .tr-grid2 { grid-template-columns: 1fr 1fr; } }

.tr-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 1.75rem; gap: 1rem; }
.tr-nav .lc-btn-primary { width: auto; padding-left: 2.25rem; padding-right: 2.25rem; }
.tr-back {
  background: transparent;
  border: none;
  color: var(--ls-muted);
  font-size: 0.9375rem;
  cursor: pointer;
  padding: 0.5rem 0.25rem;
  transition: color 0.2s ease;
}
.tr-back:hover { color: #fff; }

.tr-error { margin-top: 1rem; }

/* ---------- Accounts ---------- */

.tr-account-row { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.75rem; }
.tr-account-input { flex: 1; }
.tr-account-remove {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: transparent;
  color: var(--ls-muted);
  font-size: 1.125rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}
.tr-account-remove:hover { color: #fff; border-color: rgba(255, 255, 255, 0.35); background: rgba(255, 255, 255, 0.06); }

.tr-add {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  border: 1px dashed rgba(66, 177, 151, 0.5);
  color: var(--ls-green);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.625rem 1rem;
  border-radius: 0.75rem;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.tr-add:hover { background: rgba(66, 177, 151, 0.08); border-color: var(--ls-green); }
.tr-add .lc-icon { width: 1rem; height: 1rem; }

/* ---------- Consents (die drei Pflicht-Checkboxen) ---------- */

.tr-consent {
  display: flex;
  gap: 0.875rem;
  align-items: flex-start;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.75rem;
  margin-bottom: 0.75rem;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.tr-consent:hover { border-color: rgba(255, 255, 255, 0.2); }
.tr-consent:has(input:checked) { border-color: rgba(66, 177, 151, 0.5); background: rgba(66, 177, 151, 0.05); }

.tr-consent input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.tr-consent-box {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.1rem;
  border-radius: 0.3rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  position: relative;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.tr-consent input:checked + .tr-consent-box {
  background: var(--ls-green);
  border-color: var(--ls-green);
}
.tr-consent input:checked + .tr-consent-box::after {
  content: "";
  position: absolute;
  left: 0.4rem;
  top: 0.15rem;
  width: 0.3rem;
  height: 0.6rem;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.tr-consent input:focus-visible + .tr-consent-box { outline: 2px solid var(--ls-green); outline-offset: 2px; }

.tr-consent-text { font-size: 0.875rem; color: var(--ls-muted); line-height: 1.5; }
.tr-consent-text b { color: #fff; }
.tr-consent-text a { color: var(--ls-green); }

.tr-turnstile { margin-top: 1.25rem; }

.tr-submit.is-loading { opacity: 0.6; pointer-events: none; }

/* ---------- Erfolg ---------- */

.tr-step-success { text-align: center; padding: 1.5rem 0; }
.tr-success-icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1.25rem;
  border-radius: 999px;
  background: rgba(66, 177, 151, 0.15);
  border: 1px solid rgba(66, 177, 151, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ls-green);
  animation: tr-pop 0.4s ease-out;
}
.tr-success-icon svg { width: 2rem; height: 2rem; }
@keyframes tr-pop {
  from { transform: scale(0.6); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.tr-step-success .tr-step-sub { margin-bottom: 0; }

/* ---------- Vertrauen + Fußnoten ---------- */

.tr-trust {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.625rem;
  margin-top: 1.25rem;
}
@media (min-width: 640px) { .tr-trust { grid-template-columns: repeat(3, 1fr); } }
.tr-trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--ls-muted);
}
.tr-trust-item .lc-icon { width: 1.125rem; height: 1.125rem; color: var(--ls-green); flex-shrink: 0; }

.tr-agency {
  width: 100%;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 1.5rem;
  text-align: center;
}
.tr-agency a { color: var(--ls-muted); }
