/* ==========================================================================
   USB-Check — Landing Page
   Farbpalette identisch zur macOS-App (siehe USBCheck/Stil/Stil.swift)
   ========================================================================== */

:root {
  --hintergrund: #0c0d10;
  --gehaeuse:    #15171b;
  --flaeche:     #191d22;
  --linie:       #242931;
  --linie-hell:  #343a43;
  --schrift:     #e9f0f6;
  --gedaempft:   #93a0ad;
  --gedaempft2:  #626e7a;
  --blau:        #12a5dc;
  --blau-dunkel: #0e0f30;
  --bernstein:   #ff8f1f;
  --gruen:       #3ad17e;
  --rot:         #ff4d4d;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
          "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --max: 1100px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--hintergrund);
  color: var(--schrift);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, p { margin: 0; }

/* ---------- Reveal-on-scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s cubic-bezier(.16,.84,.44,1), transform .7s cubic-bezier(.16,.84,.44,1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, opacity .15s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }

.btn-primary {
  color: var(--blau);
  background: #0e2630;
  border-color: #133e4e;
}
.btn-primary:hover { background: #123044; border-color: var(--blau); }

.btn-secondary {
  color: var(--schrift);
  background: transparent;
  border-color: var(--linie-hell);
}
.btn-secondary:hover { background: rgba(255,255,255,.06); }

.btn-large { padding: 16px 34px; font-size: 17px; width: 100%; }

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12,13,16,.7);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease;
}
.nav.scrolled { border-bottom-color: var(--linie); }

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14.5px;
  font-weight: 600;
  margin-right: auto;
}
.nav-logo { width: 22px; height: 22px; }

.nav-links {
  display: flex;
  gap: 28px;
}
.nav-links a {
  font-size: 13.5px;
  color: var(--gedaempft);
  transition: color .15s ease;
}
.nav-links a:hover { color: var(--schrift); }

.nav-cta {
  font-size: 13px;
  font-weight: 500;
  color: var(--hintergrund);
  background: var(--blau);
  padding: 8px 16px;
  border-radius: 8px;
  transition: opacity .15s ease;
}
.nav-cta:hover { opacity: .85; }

.nav-lang {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--gedaempft);
  border: 1px solid var(--linie);
  padding: 5px 10px;
  border-radius: 6px;
  transition: color .15s ease, border-color .15s ease;
}
.nav-lang:hover { color: var(--schrift); border-color: var(--gedaempft); }

@media (max-width: 700px) {
  .nav-links { display: none; }
}

/* ---------- Hero ---------- */

.hero {
  max-width: 720px;
  margin: 0 auto;
  padding: 100px 24px 70px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-icon img {
  width: 104px;
  height: 104px;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(18,165,220,.25);
  margin-bottom: 32px;
}

.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  font-weight: 650;
  letter-spacing: -.02em;
  line-height: 1.06;
  margin-bottom: 22px;
}

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--bernstein);
  margin-bottom: 16px;
}

.hero-sub {
  font-size: clamp(1.05rem, 2.4vw, 1.3rem);
  color: var(--gedaempft);
  max-width: 560px;
  margin-bottom: 34px;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 18px;
}

.hero-meta {
  font-size: 13px;
  color: var(--gedaempft2);
  font-family: var(--font-mono);
}

/* ---------- Stat band ---------- */

.stat-band {
  border-top: 1px solid var(--linie);
  border-bottom: 1px solid var(--linie);
  background: var(--gehaeuse);
  display: flex;
  justify-content: center;
}

.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
  max-width: 420px;
}

.stat-ring {
  width: 172px;
  height: 172px;
  border-radius: 50%;
  background: conic-gradient(var(--gruen) 0% 97%, var(--linie) 97% 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 22px 60px rgba(58,209,126,.16);
}
.stat-ring::before {
  content: "";
  position: absolute;
  inset: 13px;
  border-radius: 50%;
  background: var(--gehaeuse);
}
.stat-ring-value {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  font-family: var(--font-mono);
  color: var(--schrift);
  font-size: 2.7rem;
  line-height: 1;
}
.stat-ring-percent {
  font-size: 1.1rem;
  color: var(--gedaempft2);
  margin-left: 3px;
  margin-top: 5px;
}

.stat-text {
  font-size: 1.05rem;
  color: var(--gedaempft);
  max-width: 360px;
}

/* ---------- Section shell ---------- */

section { padding: 96px 24px; }

.section-head {
  max-width: var(--max);
  margin: 0 auto 48px;
  text-align: center;
}
.section-head h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 650;
  letter-spacing: -.01em;
  margin-bottom: 14px;
}
.section-head p {
  font-size: 1.05rem;
  color: var(--gedaempft);
  max-width: 560px;
  margin: 0 auto;
}

/* ---------- Demo / App window ---------- */

.demo-section { background: var(--hintergrund); }

.demo-toggle {
  display: flex;
  width: fit-content;
  gap: 4px;
  margin: 0 auto 28px;
  padding: 4px;
  background: var(--flaeche);
  border: 1px solid var(--linie);
  border-radius: 10px;
}
.demo-toggle-btn {
  appearance: none;
  -webkit-appearance: none;
  border: none;
  background: transparent;
  font-family: inherit;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  color: var(--gedaempft);
  padding: 7px 16px;
  border-radius: 7px;
  transition: color .15s ease, background .15s ease;
}
.demo-toggle-btn:hover { color: var(--schrift); }
.demo-toggle-btn.is-active {
  color: var(--schrift);
  background: var(--gehaeuse);
}
.demo-toggle-btn:focus-visible {
  outline: 2px solid var(--blau);
  outline-offset: 2px;
}

.app-window {
  max-width: 640px;
  margin: 0 auto;
  background: linear-gradient(180deg, #222630, var(--gehaeuse));
  border: 1px solid rgba(0,0,0,.7);
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
  overflow: hidden;
}

.app-window-bar {
  display: flex;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid var(--linie);
  gap: 10px;
}
.app-window-dots { display: flex; gap: 7px; }
.app-window-dots span {
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--linie-hell);
}
.app-window-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 auto;
  font-size: 13px;
  color: var(--schrift);
}
.app-window-title img { width: 16px; height: 16px; }
.app-window-status {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gedaempft2);
}
.app-window-spacer { width: 47px; }

.app-window-body {
  padding: 40px 28px 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Jogwheel */

.jogwheel {
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: var(--flaeche);
  border: 1.5px solid var(--linie-hell);
  transition: border-color .5s ease;
  margin-bottom: 30px;
  position: relative;
}
.jogwheel.ring-bernstein { border-color: var(--bernstein); }
.jogwheel.ring-blau      { border-color: var(--blau); }
.jogwheel.ring-gruen     { border-color: var(--gruen); }

.jogwheel-track {
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  border: 11px solid var(--gehaeuse);
}

.jogwheel-grooves {
  position: absolute;
  inset: 14px;
  border-radius: 50%;
  background: repeating-conic-gradient(var(--linie) 0deg 1.2deg, transparent 1.2deg 15deg);
  opacity: .55;
  animation: spin 26s linear infinite;
}
.jogwheel.spinning .jogwheel-grooves { animation-duration: 5s; }

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Der Kreis, in dem Wert und Status stehen — overflow:hidden als
   Sicherheitsnetz, die eigentliche Größenanpassung übernimmt fitJogwheelText()
   in script.js (Pendant zu SwiftUIs minimumScaleFactor). */
.jogwheel-center {
  position: absolute;
  inset: 24px;
  border-radius: 50%;
  background: #07121a;
  border: 1px solid rgba(52,58,67,.6);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 4px;
  text-align: center;
  padding: 0 14px;
  overflow: hidden;
}

.jw-value {
  font-family: var(--font-mono);
  font-size: 26px;
  color: var(--gedaempft);
  transition: color .4s ease;
  max-width: 100%;
  white-space: nowrap;
}
.ring-bernstein .jw-value { color: var(--bernstein); }
.ring-blau .jw-value      { color: var(--blau); }
.ring-gruen .jw-value     { color: var(--gruen); }

.jw-status {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gedaempft2);
  max-width: 100%;
  max-height: 2.6em;
  line-height: 1.3;
  overflow: hidden;
}

/* Payoff: Erfolgs-Banner, Player-Kompatibilität, Befundliste — alles, was
   den Prüfdurchlauf am Ende „wert" macht. Ein gemeinsamer Wrapper regelt das
   Ein-/Ausblenden der Höhe, einzelne Kinder blenden gestaffelt per JS ein. */

.app-payoff {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-height: 0;
  margin-top: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height .6s ease, margin-top .5s ease, opacity .4s ease;
}
.app-payoff.active {
  max-height: 900px;
  margin-top: 28px;
  opacity: 1;
}

.app-success {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(58,209,126,.08);
  border: 1px solid rgba(58,209,126,.28);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .4s ease, transform .4s ease;
}
.app-success.shown { opacity: 1; transform: translateY(0); }
.app-success.app-warn {
  background: rgba(255,143,31,.08);
  border-color: rgba(255,143,31,.28);
}
.app-success-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--gruen);
  color: #07120b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}
.app-warn .app-success-icon { background: var(--bernstein); }
.app-success b { display: block; font-size: 14px; color: var(--schrift); }
.app-success small { display: block; font-size: 12px; color: var(--gedaempft); margin-top: 2px; }

.app-players {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.app-player-chip {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--gedaempft);
  background: var(--flaeche);
  border: 1px solid var(--linie);
  padding: 6px 11px;
  border-radius: 8px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .35s ease, transform .35s ease, color .35s ease;
}
.app-player-chip.shown { opacity: 1; transform: translateY(0); color: var(--schrift); }
.chip-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gruen);
  box-shadow: 0 0 0 3px rgba(58,209,126,.15);
  transition: background .3s ease, box-shadow .3s ease;
}

/* Ein Player, der den Stick wegen eines geräteeigenen Fehlers nicht liest
   (z. B. HFS+ auf dem CDJ-2000) — Pendant zur roten Playerzeile in der App. */
.app-player-chip.chip-fail { border-color: rgba(255,77,77,.3); background: rgba(255,77,77,.08); }
.app-player-chip.chip-fail.shown { color: var(--rot); }
.app-player-chip.chip-fail .chip-dot {
  background: var(--rot);
  box-shadow: 0 0 0 3px rgba(255,77,77,.15);
}

/* Results list */

.app-results {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.app-result-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 11px;
  background: var(--flaeche);
  border: 1px solid var(--linie);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .4s ease, transform .4s ease;
}
.app-result-row.shown { opacity: 1; transform: translateY(0); }
.app-result-row .dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--gruen);
  margin-top: 5px;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(58,209,126,.15);
  transition: background .3s ease, box-shadow .3s ease;
}
.app-result-row .dot.dot-warn {
  background: var(--bernstein);
  box-shadow: 0 0 0 3px rgba(255,143,31,.15);
}
.app-result-row b {
  display: block;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--schrift);
}
.app-result-row small {
  display: block;
  font-size: 12px;
  color: var(--gedaempft);
  margin-top: 2px;
}

/* ---------- Features ---------- */

.features { background: var(--gehaeuse); border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); }

.feature-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.feature-grid-row-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
/* Zweite Reihe hat nur zwei Kacheln — gleiche Breite wie oben, statt auf
   zwei Spalten gestreckt, damit die Kachelgröße durchgängig bleibt. */
.feature-grid-row-2 {
  display: flex;
  justify-content: center;
  gap: 16px;
}
.feature-grid-row-2 .feature-card {
  flex: 0 1 calc((100% - 32px) / 3);
}

.feature-card {
  background: var(--flaeche);
  border: 1px solid var(--linie);
  border-radius: 14px;
  padding: 30px 26px;
  transition: border-color .2s ease, transform .2s ease;
}
.feature-card:hover { border-color: var(--linie-hell); transform: translateY(-2px); }
.feature-index {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--bernstein);
}
.feature-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 12px 0 8px;
}
.feature-card p {
  font-size: 13.5px;
  color: var(--gedaempft);
}

@media (max-width: 860px) {
  .feature-grid-row-3 { grid-template-columns: 1fr; }
  .feature-grid-row-2 { flex-direction: column; }
  .feature-grid-row-2 .feature-card { flex-basis: auto; }
}

/* ---------- Players ---------- */

.player-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;   /* die letzte Reihe steht mittig */
  gap: 16px;
}
.player-card {
  flex: 0 0 calc((100% - 48px) / 4);
  padding: 26px 22px;
  border-radius: 14px;
  background: var(--flaeche);
  border: 1px solid var(--linie);
  transition: border-color .2s ease, transform .2s ease;
}
.player-card:hover { border-color: var(--linie-hell); transform: translateY(-2px); }
.player-card h3 { font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.player-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--blau);
  background: rgba(18,165,220,.1);
  border: 1px solid rgba(18,165,220,.25);
  padding: 3px 8px;
  border-radius: 6px;
  margin-bottom: 12px;
}
.player-card p:last-child { font-size: 13px; color: var(--gedaempft); }

@media (max-width: 860px) {
  .player-card { flex-basis: calc((100% - 16px) / 2); }
}
@media (max-width: 520px) {
  .player-card { flex-basis: 100%; }
}

/* ---------- Pricing ---------- */

.pricing { display: flex; justify-content: center; }

.price-card {
  width: 100%;
  max-width: 460px;
  background: linear-gradient(180deg, #16202a, var(--gehaeuse));
  border: 1px solid var(--linie-hell);
  border-radius: 22px;
  padding: 44px 36px;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0,0,0,.4);
}
.price-card-icon img {
  width: 56px; height: 56px;
  border-radius: 14px;
  margin: 0 auto 22px;
}
.price-card-eyebrow {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--bernstein);
  margin-bottom: 10px;
}
.price-card h2 {
  font-size: 1.7rem;
  font-weight: 650;
  margin-bottom: 22px;
}
.price-tag {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  margin-bottom: 28px;
}
.price-amount {
  font-family: var(--font-mono);
  font-size: 2.6rem;
  color: var(--schrift);
  line-height: 1;
}
.price-amount.price-free { color: var(--gruen); }
.price-original {
  font-family: var(--font-mono);
  font-size: 1.3rem;
  color: var(--gedaempft2);
  text-decoration: line-through;
  line-height: 1;
}
.price-period {
  font-size: 13px;
  color: var(--gedaempft2);
}
.price-features {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 30px;
  text-align: left;
}
.price-features li {
  font-size: 14px;
  color: var(--gedaempft);
  padding-left: 24px;
  position: relative;
}
.price-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gruen);
  font-weight: 700;
}
.price-note {
  margin-top: 16px;
  font-size: 12px;
  color: var(--gedaempft2);
  font-family: var(--font-mono);
}

/* ---------- FAQ ---------- */

.faq-list {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item {
  background: var(--flaeche);
  border: 1px solid var(--linie);
  border-radius: 12px;
  padding: 4px 20px;
}
.faq-item summary {
  cursor: pointer;
  padding: 16px 0;
  font-size: 15px;
  font-weight: 500;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  color: var(--gedaempft2);
  font-size: 18px;
  transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  font-size: 13.5px;
  color: var(--gedaempft);
  padding-bottom: 18px;
}

/* ---------- Footer ---------- */

.footer {
  border-top: 1px solid var(--linie);
  padding: 56px 24px 40px;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  text-align: center;
}
.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
}
.footer-logo { width: 23px; height: 23px; }
.footer-links {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin-bottom: 22px;
}
.footer-links a {
  font-size: 12px;
  color: var(--blau);
}
.footer-fine {
  font-size: 14px !important;
  color: var(--gedaempft2);
  max-width: 560px;
  margin: 0 auto 10px;
}
.footer-copyright {
  font-size: 14px !important;
  color: var(--gedaempft2);
}

/* ---------- Misc ---------- */

.br-desktop { display: none; }
@media (min-width: 620px) {
  .br-desktop { display: inline; }
}

/* ---------- Signup-Formular (Phase 1: kostenlose Lizenz) ---------- */

.signup-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(6,7,9,.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.signup-overlay[hidden] { display: none; }

.signup-modal {
  position: relative;
  width: 100%;
  max-width: 400px;
  background: linear-gradient(180deg, #1a1d23, var(--gehaeuse));
  border: 1px solid var(--linie-hell);
  border-radius: 16px;
  padding: 32px 28px 28px;
  box-shadow: 0 30px 80px rgba(0,0,0,.55);
}

.signup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 30px;
  height: 30px;
  border: none;
  background: transparent;
  color: var(--gedaempft);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  border-radius: 8px;
  transition: color .15s ease, background .15s ease;
}
.signup-close:hover { color: var(--schrift); background: rgba(255,255,255,.06); }

.signup-step h3 {
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 8px;
  padding-right: 20px;
}
.signup-sub {
  font-size: 13.5px;
  color: var(--gedaempft);
  line-height: 1.55;
  margin-bottom: 20px;
}
.signup-sub b { color: var(--schrift); font-weight: 600; }

.signup-field { margin-bottom: 14px; }
.signup-field label {
  display: block;
  font-size: 12px;
  color: var(--gedaempft2);
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.signup-field input {
  width: 100%;
  padding: 11px 13px;
  font-size: 15px;
  font-family: var(--font);
  color: var(--schrift);
  background: var(--flaeche);
  border: 1px solid var(--linie-hell);
  border-radius: 9px;
  outline: none;
  transition: border-color .15s ease;
}
.signup-field input::placeholder { color: var(--gedaempft2); }
.signup-field input:focus { border-color: var(--blau); }
.signup-field input.hat-fehler { border-color: var(--rot); }

.signup-code-input {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 22px !important;
  letter-spacing: 6px;
}

/* Abstand oben und unten je 14px wie zwischen den Feldern (der obere kommt vom
   Feld darüber). Das Widget ist ein Inline-Element und ragt sonst über den
   Container hinaus — deshalb block. */
.signup-captcha { margin: 0 0 14px; }
.signup-captcha altcha-widget { display: block; }

.signup-submit {
  width: 100%;
  border: none;
  font-family: inherit;
}
.signup-submit:disabled { opacity: .5; cursor: default; }

.signup-error {
  margin-top: 12px;
  font-size: 13px;
  color: var(--rot);
  line-height: 1.5;
}
.signup-error[hidden] { display: none; }

.signup-step[hidden] { display: none; }

.signup-back {
  display: inline-block;
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--gedaempft2);
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
  padding: 0;
}
.signup-back:hover { color: var(--gedaempft); }
