/* CWL Registrierung – öffentliche Seiten (Auftrag W-013). Farben/Abstände 1:1 aus dem freigegebenen
   Entwurf (uebergabe/w013/entwurf/*.dc.html, 20.11.2026 08:30) übernommen, nicht neu erfunden. */
body {
  margin: 0;
  background: #06182A;
  font-family: Arial, Helvetica, sans-serif;
  color: #E6EEF6;
}
* { box-sizing: border-box; }
/* Browser-Regel [hidden]{display:none} hat dieselbe Spezifität wie .cwlreg-g2/.cwlreg-card (display:grid/
   flex) und würde sonst durch die spätere Regel im eigenen Stylesheet überschrieben - darum hier explizit
   und mit Vorrang (Befund: Formularblöcke mit dem hidden-Attribut blieben trotzdem sichtbar). */
[hidden] { display: none !important; }
a { color: #5FD0E6; }
a:hover { color: #7EE6F5; }

.cwlreg-seite {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.cwlreg-seite.cwlreg-hero {
  background: radial-gradient(900px 520px at 78% 35%, #0f3a5c 0%, transparent 60%), #06182A;
}
.cwlreg-kopf {
  border-bottom: 1px solid #163B5C;
}
.cwlreg-kopf > div {
  max-width: 1160px; margin: 0 auto; padding: 0 20px; min-height: 68px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.cwlreg-logo { display: flex; align-items: center; gap: 10px; }
.cwlreg-logo img { width: 52px; height: auto; border-radius: 10px; }
.cwlreg-logo .n1 { font-weight: 700; font-size: 15px; line-height: 1.15; color: #F3F7FB; }
.cwlreg-logo .n2 { font-size: 12px; color: #A8BACC; }
.cwlreg-anmelden { font-size: 14px; color: #A8BACC; }

.cwlreg-fuss { border-top: 1px solid #163B5C; font-size: 13px; color: #A8BACC; }
.cwlreg-fuss > div { max-width: 1160px; margin: 0 auto; padding: 16px 20px; }

.cwlreg-schritte { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; flex-wrap: wrap; font-size: 13px; }
.cwlreg-schritte li { padding: 7px 14px; border-radius: 999px; border: 1px solid #163B5C; color: #A8BACC; }
.cwlreg-schritte li.aktiv { background: #27B9D4; color: #04182A; font-weight: 700; border-color: #27B9D4; }
.cwlreg-schritte li.erledigt { border-color: #27B9D4; color: #5FD0E6; }
.cwlreg-schritt-handy { display: none; margin: 0; font-size: 12px; font-weight: 700; color: #5FD0E6; }
/* Handy (Entwurf HandyFirma.dc.html): Pillen brechen auf schmalen Bildschirmen um, darum dort die
   einzeilige Fassung statt der Pillen-Liste. */
@media (max-width: 560px) {
  .cwlreg-schritte { display: none; }
  .cwlreg-schritt-handy { display: block; }
}

.cwlreg-main { flex: 1; padding: 40px 20px 56px; }
.cwlreg-main.cwlreg-mitte { display: flex; align-items: center; justify-content: center; padding: 48px 20px; }

.cwlreg-form { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; }
.cwlreg-karten { max-width: 980px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; align-items: start; }

.cwlreg-card { background: #0C2439; border: 1px solid #163B5C; border-radius: 14px; padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.cwlreg-card h2 { margin: 0; font-size: 18px; color: #F3F7FB; }
.cwlreg-g2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px 18px; }
.cwlreg-f { display: flex; flex-direction: column; gap: 6px; position: relative; }
.cwlreg-lab { font: 600 13px/1.3 Arial, Helvetica, sans-serif; color: #7CC3F2; }
.cwlreg-lab b { color: #F5B84B; font-weight: 700; }
.cwlreg-inp, select.cwlreg-inp, textarea.cwlreg-inp {
  height: 44px; border-radius: 8px; border: 1px solid #163B5C; background: #0F2C46; color: #E6EEF6;
  padding: 0 12px; font: 15px Arial, Helvetica, sans-serif; width: 100%;
}
textarea.cwlreg-inp { height: auto; min-height: 88px; padding: 10px 12px; }
.cwlreg-inp.fehler { border-color: #F06565; }
.cwlreg-ro { height: 44px; border-radius: 8px; border: 1px dashed #2A5577; background: #0A2034; color: #E6EEF6; padding: 0 12px; font: 15px Arial, Helvetica, sans-serif; width: 100%; }
.cwlreg-hilfe { font: 13px/1.45 Arial, Helvetica, sans-serif; color: #A8BACC; margin: 0; }
.cwlreg-fehlertext { font: 13px/1.45 Arial, Helvetica, sans-serif; color: #FF9C9C; margin: 4px 0 0; }
.cwlreg-chk { display: flex; gap: 10px; align-items: flex-start; font: 15px/1.45 Arial, Helvetica, sans-serif; color: #E6EEF6; }
.cwlreg-chk input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: #27B9D4; flex: none; }

.cwlreg-vorschlaege {
  border: 1px solid #2A5577; border-radius: 10px; background: #0F2C46; overflow: hidden;
  box-shadow: 0 14px 34px rgba(0,0,0,.45); position: absolute; top: 100%; left: 0; right: 0; z-index: 20;
  max-height: 320px; overflow-y: auto;
}
.cwlreg-vorschlaege[hidden] { display: none; }
.cwlreg-opt { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border-bottom: 1px solid #163B5C; min-height: 44px; cursor: pointer; }
.cwlreg-opt:last-child { border-bottom: 0; }
.cwlreg-opt:hover, .cwlreg-opt.aktiv { background: #12324D; }
.cwlreg-opt[aria-disabled="true"] { cursor: not-allowed; opacity: .75; }
.cwlreg-opt .name { font-weight: 700; font-size: 15px; }
.cwlreg-opt .zusatz { font-size: 13px; color: #A8BACC; }
.cwlreg-status { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; }
.cwlreg-status i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.cwlreg-status.aktiv { color: #8CE8B8; } .cwlreg-status.aktiv i { background: #3DD68C; }
.cwlreg-status.liquidation { color: #F5D08B; } .cwlreg-status.liquidation i { background: #F5B84B; }

.cwlreg-uebernommen {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 12px 14px; border-radius: 10px; background: #0E3A3A; border: 1px solid #2E8F7A;
  font-size: 14px; color: #BFF5DD;
}

.cwlreg-knopf {
  display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 24px;
  border-radius: 8px; background: #27B9D4; color: #04182A; text-decoration: none; font-weight: 700;
  border: 0; font: 700 15px Arial, Helvetica, sans-serif; cursor: pointer;
}
.cwlreg-knopf[disabled] { background: #173A57; color: #7D93A8; cursor: not-allowed; }
.cwlreg-knopf-zurueck {
  display: inline-flex; align-items: center; min-height: 46px; padding: 0 20px; border: 1px solid #2A5577;
  border-radius: 8px; color: #E6EEF6; text-decoration: none; font-weight: 600;
}

.cwlreg-rund { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; }
