/* Juratool Vergleichsrechner - styles.css */
/* Version 04.26 */

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.55;
  color: #0f172a;
  background: #f1f5f9;
}

.wrap {
  max-width: 1400px;
  margin: 0 auto;
  padding: 16px;
}

/* ============================ */
/* HEADER                       */
/* ============================ */
.top {
  position: relative;
  background: #2b47d9;
  color: #fff;
  border-radius: 18px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  margin-bottom: 18px;
  box-shadow: 0 8px 24px rgba(43, 71, 217, 0.18);
  min-height: 130px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
}
.badge {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.badge-logo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.title {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 1px;
  line-height: 1.1;
}
.subtitle {
  font-size: 14px;
  opacity: 0.9;
  margin-top: 2px;
}

#versionTag {
  position: absolute;
  right: 20px;
  top: 10px;
  font-size: 12px;
  font-weight: 500;
  opacity: 0.85;
  color: #fff;
  pointer-events: none;
}
@media (max-width: 700px) {
  #versionTag {
    font-size: 11px;
    right: 14px;
    top: 8px;
  }
}

#quickResetBtn {
  position: absolute;
  right: 20px;
  bottom: 18px;
  background: #e11d48;
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(225, 29, 72, 0.40);
  transition: background 0.15s ease, transform 0.1s ease;
  margin: 0;
  width: auto;
}
#quickResetBtn:hover {
  background: #be123c;
}
#quickResetBtn:active {
  transform: scale(0.97);
}
@media (max-width: 700px) {
  #quickResetBtn {
    display: none !important;
  }
}

/* ============================ */
/* GRID LAYOUT                  */
/* ============================ */
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 980px) {
  .grid {
    grid-template-columns: 1fr;
  }
}

/* ============================ */
/* CARDS                        */
/* ============================ */
.card {
  background: #fff;
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

.h2 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 14px 0;
}

.section-label {
  font-size: 13px;
  color: #64748b;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

/* ============================ */
/* FORM ELEMENTS                */
/* ============================ */
label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 4px;
  margin-top: 10px;
}

input[type="number"],
input[type="text"],
select {
  width: 100%;
  padding: 12px;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  font-size: 14px;
  background: #fff;
  color: #0f172a;
  font-family: inherit;
  min-height: 44px;
}
input:focus, select:focus {
  outline: none;
  border-color: #2b47d9;
  box-shadow: 0 0 0 3px rgba(43, 71, 217, 0.15);
}

.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.field {
  min-width: 0;
}

.small {
  font-size: 12px;
  color: #64748b;
  margin-top: 4px;
}

.fixed-info {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 13px;
  color: #475569;
}

.note {
  margin-top: 14px;
  padding: 10px 12px;
  background: #fef3c7;
  border: 1px solid #fcd34d;
  border-radius: 8px;
  font-size: 12px;
  color: #78350f;
  line-height: 1.5;
}

button {
  background: #2b47d9;
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
  font-family: inherit;
}
button:hover:not(:disabled) {
  background: #1f3ab8;
}
button:disabled {
  background: #cbd5e1;
  cursor: not-allowed;
}
button.secondary {
  background: #e2e8f0;
  color: #334155;
}
button.secondary:hover {
  background: #cbd5e1;
}
button.btn-danger {
  background: #dc2626;
}
button.btn-danger:hover {
  background: #b91c1c;
}

/* P55+P56: Berechnen-Button - Desktop 50% mittig, Mobile volle Breite, Höhe 52px */
#btn {
  margin-top: 14px;
  margin-left: auto;
  margin-right: auto;
  display: block;
  width: 50%;
  min-height: 52px;
  padding: 14px 16px;
  font-size: 15px;
  font-weight: 700;
}
@media (max-width: 700px) {
  #btn {
    width: 100%;
  }
}
/* P56: applyWizard (Streitwert übernehmen) gleiche Höhe */
#applyWizard {
  min-height: 52px;
  padding: 14px 16px;
  font-weight: 700;
}

.hidden {
  display: none !important;
}

/* ============================ */
/* WIZARD                       */
/* ============================ */
.wizard {
  margin-top: 8px;
  padding: 12px;
  border-radius: 16px;
  background: rgba(43, 71, 217, 0.04);
  border: 1px solid rgba(15, 23, 42, 0.06);
  margin-bottom: 16px;
}
.wizard-step {
  margin-bottom: 10px;
  padding: 12px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.06);
}
.wizard-step:last-child {
  margin-bottom: 0;
}
.wizard-q {
  font-size: 14px;
  font-weight: 800;
}
.wizard-a {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.wizard-a label {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-weight: 500;
  cursor: pointer;
}
.wizard-a input[type="radio"] {
  margin: 0;
  cursor: pointer;
}

.case-fields {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dotted #cbd5e1;
}

/* ============================ */
/* PRE-WIZARD STEPS - PUNKT 17  */
/* ============================ */
.pre-wizard-steps {
  margin-bottom: 14px;
}
.pre-wizard-step {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 8px;
}
.pre-wizard-header {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 4px 0;
  user-select: none;
  transition: opacity 0.2s;
  font-weight: 700;
  color: #0f172a;
  font-size: 14.5px;
}
.pre-wizard-header:hover {
  opacity: 0.7;
}
.pre-wizard-arrow {
  display: inline-block;
  color: #0f172a;
  font-size: 14px;
  transition: transform 0.2s;
  width: 14px;
  flex: 0 0 14px;
}
.pre-wizard-step.open .pre-wizard-arrow {
  transform: rotate(90deg);
}
.pre-wizard-content {
  padding: 10px 12px 10px 24px;
  margin-top: 8px;
  background: rgba(15, 23, 42, 0.04);
  border-radius: 8px;
  color: #334155;
}
.pre-wizard-content .explain-line {
  color: #334155;
  margin-bottom: 6px;
  line-height: 1.55;
  font-size: 13.5px;
}
.pre-wizard-content .explain-line:last-child {
  margin-bottom: 0;
}
.pre-wizard-content .explain-pill {
  display: inline-block;
  font-weight: 900;
  color: #0f172a;
  background: rgba(15, 23, 42, 0.08);
  border-radius: 4px;
  padding: 1px 6px;
  font-size: 11.5px;
  margin-right: 4px;
}
.pre-wizard-content .explain-pill.frist {
  background: #b42318;
  color: #fff;
}

/* ============================ */
/* KPI / RESULT BOXES           */
/* ============================ */
.kpi {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

.box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 14px;
  margin-bottom: 12px;
}

.lab {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #475569;
  margin-bottom: 6px;
}
.lab.white {
  color: rgba(255, 255, 255, 0.85);
}

.val {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
}
.val.big {
  font-size: 28px;
  line-height: 1.15;
}
.val.white {
  color: #fff;
}

.mutedline {
  font-size: 12px;
  color: #64748b;
  margin-top: 4px;
}
.mutedline.white {
  color: rgba(255, 255, 255, 0.85);
}

/* ============================ */
/* PAIN BOX (rot) - PUNKT 19    */
/* ============================ */
.painbox {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  border: none;
  color: #fff;
  padding: 16px 18px;
  border-radius: 12px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.25);
  margin-top: 12px;
  margin-bottom: 12px;
}
.painbox-icon {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  color: #fff;
}
.painbox-content {
  flex: 1;
}
.painbox-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.9;
  margin-bottom: 4px;
}
.painbox-text {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
}
.painbox-amount {
  font-weight: 800;
  font-size: 19px;
}

/* ============================ */
/* PITCH BOX (blau)             */
/* ============================ */
.bluebox {
  background: linear-gradient(135deg, #2b47d9 0%, #2b47d9 100%);
  border: none;
  color: #fff;
  padding: 18px 20px;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.18);
}

/* ============================ */
/* SAVINGS BOX (grün)           */
/* ============================ */
.savingsbox {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  border: none;
  color: #fff;
  padding: 18px 20px;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.18);
}
.savingsbox.neutral {
  background: linear-gradient(135deg, #64748b 0%, #475569 100%);
  box-shadow: 0 4px 12px rgba(100, 116, 139, 0.18);
}

/* PUNKT 23: Schrift in der Ersparnis-Extra-Zeile weiß und gut lesbar */
.savings-extra {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
}
.savings-extra b {
  color: #ffffff;
  font-weight: 700;
}
.savings-extra .small {
  color: rgba(255, 255, 255, 0.95) !important;
  font-size: 12.5px;
}
/* P73: Rechtsschutz-GRATIS-Texte */
.savings-extra-title {
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 2px;
}
.savings-extra-sub {
  color: rgba(255, 255, 255, 0.95);
  font-size: 12.5px;
  line-height: 1.5;
}

/* PUNKT 24: Klammerausdruck als Block, nicht mittendrin umbrechen */
.savings-sub-amount {
  display: inline-block;
  white-space: nowrap;
}
.savings-sub-line {
  display: block;
  margin-top: 2px;
}

/* ============================ */
/* META GRID                    */
/* ============================ */
.meta-grid-wrap {
  margin-top: 12px;
}
.meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.meta-cell {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px 12px;
}
.meta-cell-wide {
  grid-column: span 2;
  background: #eff6ff;
  border-color: #bfdbfe;
}
.meta-lab {
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 600;
  color: #64748b;
  letter-spacing: 0.4px;
  margin-bottom: 2px;
}
.meta-val {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
}
.meta-breakdown {
  margin-top: 6px;
  font-size: 12px;
  color: #64748b;
  line-height: 1.45;
}

/* ============================ */
/* COOP LAWYER ROW              */
/* ============================ */
.coop-lawyer-row {
  font-size: 13px;
  color: #475569;
  margin-bottom: 6px;
}
.coop-lawyer-label {
  font-weight: 600;
}
.coop-lawyer-value {
  font-weight: 700;
  color: #0f172a;
}

/* ============================ */
/* RS BONUS BADGE               */
/* ============================ */
.rs-bonus-badge {
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  padding: 10px 12px;
  margin-top: 10px;
  color: #fff;
}
.rs-bonus-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.85;
}
.rs-bonus-title {
  font-size: 14px;
  font-weight: 700;
  margin-top: 2px;
}
.rs-bonus-sub {
  font-size: 12px;
  opacity: 0.85;
  margin-top: 2px;
}

/* ============================ */
/* GUTHABENREGEL                */
/* ============================ */
.guthaben-pitch-toggle {
  margin-top: 10px;
  font-size: 13px;
}
.guthaben-pitch-toggle a {
  color: rgba(255, 255, 255, 0.95);
  text-decoration: underline;
  cursor: pointer;
}
.guthaben-pitch-content {
  margin-top: 10px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  font-size: 13px;
  color: #fff;
  line-height: 1.55;
}
/* P44: Alle Links in der Guthabenbox weiß */
.guthaben-pitch-content a {
  color: #ffffff !important;
  text-decoration: underline;
  cursor: pointer;
}
.guthaben-pitch-toggle a {
  color: #ffffff !important;
  text-decoration: underline;
  cursor: pointer;
}
.guthaben-pitch-content ul {
  margin: 6px 0 6px 20px;
  padding: 0;
}
.guthaben-pitch-content li {
  margin-bottom: 3px;
}
.guthaben-examples-toggle {
  margin-top: 10px;
}
.guthaben-examples-toggle a {
  color: #ffffff !important;
  text-decoration: underline;
  cursor: pointer;
  font-size: 13px;
}

/* PUNKT 15: Praxisbeispiele weiße Karte */
.guthaben-examples-content {
  background: #ffffff;
  color: #0f172a;
  margin-top: 10px;
  padding: 14px 16px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  font-size: 13px;
  line-height: 1.55;
}
.guthaben-example-block {
  padding: 10px 0;
}
.guthaben-example-block + .guthaben-example-block {
  border-top: 1px solid #e2e8f0;
}
.guthaben-example-title {
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 4px;
}
.guthaben-example-result {
  font-weight: 700;
  color: #0f172a;
  margin-top: 4px;
}

/* ============================ */
/* TABLE                        */
/* ============================ */
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.table th, .table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
  vertical-align: top;
}
.table th {
  font-weight: 700;
  color: #475569;
  background: #f8fafc;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.table tr:last-child td {
  border-bottom: none;
}
.pill {
  display: inline-block;
  padding: 4px 10px;
  background: #eff6ff;
  color: #2b47d9;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
}

/* ============================ */
/* KSCHG INFO                   */
/* ============================ */
.kschg-info-title {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 4px;
}
.kschg-info-text {
  font-size: 12.5px;
  color: #475569;
  line-height: 1.5;
}

/* ============================ */
/* ADVANTAGE BOX (grün outline) */
/* ============================ */
.advantage-box {
  background: #f0fdf4;
  border: 1px solid #86efac;
  color: #14532d;
}
.advantage-title {
  font-size: 13px;
  font-weight: 700;
  color: #15803d;
  margin-bottom: 4px;
}
.advantage-text {
  font-size: 13px;
  color: #14532d;
  line-height: 1.5;
}

/* ============================ */
/* WHATSAPP / EMAIL BUTTONS     */
/* ============================ */
.whatsapp-box {
  margin-top: 14px;
}
/* PUNKT 1: Send-Buttons symmetrisch */
.send-buttons-row {
  display: flex;
  gap: 12px;
  width: 100%;
}
.send-btn,
#whatsappBtn,
#emailBtn {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 16px;
  min-height: 52px;
  background: #2b47d9;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}
.send-btn:hover,
#whatsappBtn:hover,
#emailBtn:hover {
  background: #1f3ab8;
}
.wa-icon {
  display: inline-flex;
  align-items: center;
}

/* ============================ */
/* EINWAND BOX                  */
/* ============================ */
/* ============================ */
/* EINWAND BOX (P54: hellgrau, klar als aufklappbar erkennbar) */
/* ============================ */
.einwandbox {
  /* Container-Box selbst nicht mehr sichtbar - Schritt 5 ist die Box */
  background: transparent;
  color: #0f172a;
  border: none;
  padding: 0;
}
.einwandbox .lab {
  display: none;
}
.einwand-list {
  margin-top: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.einwand-item {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px 14px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.einwand-item:hover {
  border-color: #cbd5e1;
  box-shadow: 0 2px 4px rgba(15, 23, 42, 0.04);
}
.einwand-item.open {
  border-color: #2b47d9;
}
.einwand-header {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}
.einwand-arrow {
  display: inline-block;
  transition: transform 0.15s;
  color: #2b47d9;
  font-size: 14px;
  flex: 0 0 auto;
}
.einwand-item.open .einwand-arrow {
  transform: rotate(90deg);
}
.einwand-title {
  font-size: 13px;
  font-weight: 600;
  flex: 1;
  color: #0f172a;
}
.einwand-answer {
  margin-top: 10px;
  padding: 10px 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-size: 12.5px;
  color: #334155;
  line-height: 1.5;
}

/* ============================ */
/* EXPLAIN BOX (Vertriebshinw.) */
/* ============================ */
#explain {
  margin-top: 12px;
}
.explain-list {
  margin-top: 6px;
}
.explain-item {
  border-top: 1px solid #e2e8f0;
  padding: 8px 0;
}
.explain-item:first-child {
  border-top: none;
}
.explain-header {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
}
.explain-arrow {
  display: inline-block;
  transition: transform 0.15s;
  color: #64748b;
  font-size: 12px;
}
.explain-item.open .explain-arrow {
  transform: rotate(90deg);
}
.explain-title {
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
  flex: 1;
}
.explain-answer {
  margin-top: 8px;
  padding: 10px 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}
.explain-line {
  margin-bottom: 6px;
  font-size: 13px;
  line-height: 1.5;
  color: #334155;
}
.explain-line:last-child {
  margin-bottom: 0;
}
.explain-pill {
  display: inline-block;
  background: #1e293b;
  color: #fff;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-right: 6px;
  vertical-align: middle;
}
/* PUNKT 18: rote Pille für Fristen */
.explain-pill.frist {
  background: #b42318;
}

/* P78: kontextuelle Vertriebshinweise - 1:1 wie Original .explain-* */
.context-step {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px 14px;
  margin-top: 12px;
  margin-bottom: 12px;
}
.context-step-header {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 4px 0;
  user-select: none;
  transition: opacity 0.2s;
  font-weight: 700;
  color: #0f172a;
  font-size: 14.5px;
}
.context-step-header:hover {
  opacity: 0.7;
}
.context-step-arrow {
  display: inline-block;
  color: #0f172a;
  font-size: 14px;
  transition: transform 0.2s;
  width: 14px;
  flex: 0 0 14px;
}
.context-step.open .context-step-arrow {
  transform: rotate(90deg);
}
.context-step-content {
  padding: 10px 12px 10px 24px;
  margin-top: 8px;
  background: rgba(15, 23, 42, 0.04);
  border-radius: 8px;
  color: #334155;
}
.context-step-content .explain-line {
  color: #334155;
  margin-bottom: 6px;
  line-height: 1.55;
  font-size: 13.5px;
}
.context-step-content .explain-line:last-child {
  margin-bottom: 0;
}
.context-step-content .explain-pill {
  display: inline-block;
  font-weight: 900;
  color: #0f172a;
  background: rgba(15, 23, 42, 0.08);
  border-radius: 4px;
  padding: 1px 6px;
  font-size: 11.5px;
  margin-right: 4px;
}
.context-step-content .explain-pill.frist {
  background: #b42318;
  color: #fff;
}

/* ============================ */
/* MIETRECHT INFO LINK BOX      */
/* ============================ */
#mietrechtInfoBox {
  font-size: 12.5px;
  line-height: 1.55;
}

/* ============================ */
/* STRAFRECHT                   */
/* ============================ */
/* PUNKT 6: Top-Link Strafrecht */
.strafrecht-info-toplink {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #b42318;
  text-decoration: underline;
  cursor: pointer;
  margin: 0 0 12px 0;
  padding: 8px 0;
}
.strafrecht-info-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 12px 14px;
  margin-top: 10px;
  font-size: 12.5px;
  line-height: 1.55;
}
.strafrecht-info-box .sub-title {
  font-weight: 700;
  color: #1e293b;
  margin-top: 8px;
  margin-bottom: 4px;
}
.strafrecht-info-box ul {
  margin: 0 0 8px 18px;
  padding: 0;
}
.strafrecht-info-box li {
  margin-bottom: 2px;
}

.straf-special-row {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed #cbd5e1;
}
.straf-checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  margin: 0;
  font-weight: 600;
  cursor: pointer;
}
.straf-checkbox-label input[type="checkbox"] {
  margin: 0;
  cursor: pointer;
}
.straf-info-link {
  display: inline-block;
  margin-top: 6px;
  font-size: 12px;
  color: #2b47d9;
  text-decoration: underline;
  cursor: pointer;
}
.straf-info-content {
  margin-top: 8px;
  padding: 10px 12px;
  background: #f1f5f9;
  border-radius: 8px;
  font-size: 12.5px;
  line-height: 1.55;
  color: #334155;
}

/* PUNKT 26: Hauptverfahren bündig unter "Oder" */
/* "- Oder: " ist 8 Zeichen breit, ca. 1ch + space + word + colon + space ~ 8.5ch */
.indent-under-oder {
  display: inline-block;
  padding-left: 9px;
}
/* PUNKT 4: Betäubungsmittel bündig unter "Schwere" */
/* "- Schwere " ist 10 Zeichen */
.indent-under-schwere {
  display: inline-block;
  padding-left: 9px;
}

.straf-toggle-row {
  margin-top: 12px;
}
.straf-toggle-label {
  font-size: 13px;
  margin-bottom: 6px;
}
.straf-toggle-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.straf-toggle-btn {
  background: #e2e8f0;
  color: #475569;
  border: 1px solid #cbd5e1;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.straf-toggle-btn.active {
  background: #2b47d9;
  color: #fff;
  border-color: #2b47d9;
}

/* ============================ */
/* VERSO INFO BOX               */
/* ============================ */
.verso-info-links {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 6px 0;
  font-size: 12.5px;
}
.verso-info-link-blue {
  color: #2b47d9;
  text-decoration: underline;
  cursor: pointer;
}
.verso-info-link-red {
  color: #dc2626;
  text-decoration: underline;
  cursor: pointer;
}
.verso-info-separator {
  color: #cbd5e1;
}

/* PUNKT 27: Letzte 4 Zeilen "Schwere Fälle" rot */
.straftat-warning {
  color: #b42318;
  font-weight: 600;
}

.cat3-strafrecht-warning {
  margin-top: 12px;
  padding: 12px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 8px;
}
.cat3-strafrecht-warning .warn-title {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 4px;
}
.cat3-strafrecht-warning .warn-text {
  font-size: 12.5px;
  color: #0f172a;
  line-height: 1.5;
  margin-bottom: 8px;
}
/* P61: switch-to-strafrecht-btn bleibt rot (Warnung) */
.switch-to-strafrecht-btn {
  background: #dc2626;
  color: #fff;
  border: none;
  padding: 14px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  width: 50%;
  min-height: 52px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.switch-to-strafrecht-btn:hover {
  background: #b91c1c;
}
/* P61: switch-to-money-btn blau, gleiche Größe wie Berechnen */
.switch-to-money-btn {
  background: #2b47d9;
  color: #fff;
  border: none;
  padding: 14px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  width: 50%;
  min-height: 52px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.switch-to-money-btn:hover {
  background: #1f3ab8;
}
@media (max-width: 700px) {
  .switch-to-strafrecht-btn,
  .switch-to-money-btn {
    width: 100%;
  }
}

/* ============================ */
/* UNFALL SCHADEN BOX           */
/* ============================ */
.unfall-info-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 12px 14px;
  margin-top: 10px;
  font-size: 12.5px;
  line-height: 1.55;
}
.unfall-info-box h4 {
  margin: 0 0 8px 0;
  font-size: 14px;
  font-weight: 700;
  color: #1e293b;
}
.unfall-info-box .sub-title {
  font-weight: 700;
  color: #1e293b;
  margin-top: 10px;
  margin-bottom: 4px;
}
.unfall-info-box ul {
  margin: 0 0 8px 18px;
  padding: 0;
}
.unfall-info-box li {
  margin-bottom: 2px;
}
/* PUNKT 13a: Streitwert-Hinweis rot/fett */
.unfall-streitwert-hint {
  margin-top: 8px;
  padding: 8px 10px;
  background: #fef2f2;
  border-left: 3px solid #dc2626;
  color: #b42318;
  font-weight: 700;
  font-size: 13px;
}

/* ============================ */
/* FLOATING ACTIONS             */
/* ============================ */
/* P79: Mobile Floating Actions (Trio rechts unten) - 1:1 aus Original */
.floating-actions {
  display: none;
  position: fixed;
  right: 16px;
  bottom: 16px;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  z-index: 900;
}
.float-icon-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: #2b47d9;
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(43, 71, 217, 0.40);
  margin: 0;
  padding: 0;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
}
.float-icon-btn:hover {
  background: #1e38bf;
}
.float-icon-btn:active {
  transform: scale(0.94);
}
.float-icon-btn.hidden {
  display: none !important;
}
.quick-reset-float {
  background: #e11d48;
  color: #fff;
  border: none;
  border-radius: 28px;
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(225, 29, 72, 0.40);
  margin: 0;
}
.quick-reset-float:hover {
  background: #be123c;
}
.quick-reset-float:active {
  transform: scale(0.97);
}
@media (max-width: 700px) {
  .floating-actions {
    display: flex;
  }
}

/* ============================ */
/* RESET OVERLAY                */
/* ============================ */
.reset-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.reset-dialog {
  background: #fff;
  border-radius: 14px;
  padding: 24px;
  max-width: 420px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.reset-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}
.reset-text {
  font-size: 14px;
  color: #475569;
  margin-bottom: 18px;
  line-height: 1.5;
}
.reset-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}
.reset-actions .btn {
  background: #2b47d9;
  color: #fff;
  border: none;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

/* ============================ */
/* HELPERS                      */
/* ============================ */
/* PUNKT 2: nowrap Helfer */
.nowrap {
  white-space: nowrap;
}

/* ============================ */
/* TABLE PILLS - P47: KEINE Farben in Vergleichstabelle */
/* ============================ */
.pill-best {
  /* keine Hervorhebung */
}
.pill-worst {
  /* keine Hervorhebung */
}
.row-sub {
  display: block;
  font-size: 11.5px;
  color: #64748b;
  margin-top: 3px;
  line-height: 1.4;
}

/* ============================ */
/* GUTHABEN MERKE (Original)    */
/* ============================ */
.guthaben-merke {
  margin-top: 12px;
  padding: 10px 12px;
  background: #fef3c7;
  border: 1px solid #fcd34d;
  border-radius: 8px;
  font-size: 12.5px;
  color: #78350f;
  line-height: 1.5;
}
.guthaben-pitch-content p {
  margin: 0 0 8px 0;
}
.guthaben-pitch-content p:last-of-type {
  margin-top: 8px;
}

/* ============================ */
/* PUNKT 38: Monatliche Rate weiß */
/* ============================ */
.meta-cell-wide {
  background: #fff !important;
  border-color: #e2e8f0 !important;
}

/* ============================ */
/* P115: Modus-Auswahl-Buttons   */
/* ============================ */
.modus-auswahl {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 14px 0 12px;
  padding: 10px 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}
.modus-label {
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  white-space: nowrap;
}
.modus-buttons {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.modus-btn {
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 500;
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  color: #334155;
  cursor: pointer;
  transition: all 0.15s;
}
.modus-btn:hover {
  border-color: #2b47d9;
  color: #2b47d9;
}
.modus-btn.active {
  background: #2b47d9;
  border-color: #2b47d9;
  color: #fff;
}

/* ============================ */
/* P116: Sozialrecht Pitch-Block */
/* ============================ */
#sozialrechtPitchBox {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 18px 20px;
  margin-top: 12px;
}
#sozialrechtPitchBox.hidden { display: none; }
.sozial-pitch-header {
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 12px;
  margin-bottom: 14px;
}
.sozial-pitch-eyebrow {
  font-size: 11px;
  color: #64748b;
  margin: 0 0 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}
.sozial-pitch-title {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 4px;
  color: #0f172a;
}
.sozial-pitch-sub {
  font-size: 13px;
  color: #475569;
  margin: 0;
}
.sozial-pitch-section {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 10px 12px;
  margin: 0 0 14px;
}
.sozial-pitch-section-title {
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 6px;
  color: #0f172a;
}
.sozial-pitch-list {
  margin: 0;
  padding-left: 18px;
  font-size: 12px;
  color: #475569;
  line-height: 1.7;
}
.sozial-pitch-list li {
  margin-bottom: 2px;
}
.sozial-pitch-list strong {
  color: #0f172a;
  font-weight: 600;
}
.sozial-pitch-hebel {
  border-left: 3px solid #2b47d9;
  padding: 4px 0 4px 12px;
  margin: 0 0 14px;
}
.sozial-pitch-hebel-title {
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 4px;
  color: #0f172a;
}
.sozial-pitch-hebel-text {
  font-size: 12px;
  color: #334155;
  margin: 0;
  line-height: 1.6;
}
.sozial-pitch-hebel-text strong {
  color: #2b47d9;
  font-weight: 700;
}
.sozial-pitch-statistik {
  margin: 0 0 14px;
}
.sozial-pitch-statistik-title {
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 8px;
  color: #0f172a;
}
.sozial-pitch-statistik-sub {
  font-size: 12px;
  color: #475569;
  margin: 0 0 6px;
}
.sozial-pitch-statistik-table {
  width: 100%;
  font-size: 12px;
  border-collapse: collapse;
  margin: 0 0 8px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  overflow: hidden;
}
.sozial-pitch-statistik-table td {
  padding: 6px 10px;
}
.sozial-pitch-statistik-table td:first-child {
  color: #475569;
}
.sozial-pitch-statistik-table td:last-child {
  text-align: right;
  font-weight: 700;
  color: #0f172a;
}
.sozial-pitch-statistik-table tr:not(:first-child) td {
  border-top: 1px solid #e2e8f0;
}
.sozial-pitch-schmerz {
  background: #fef3c7;
  border: 1px solid #fcd34d;
  border-radius: 6px;
  padding: 10px 12px;
  margin: 0 0 14px;
}
.sozial-pitch-schmerz-title {
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 4px;
  color: #78350f;
}
.sozial-pitch-schmerz-text {
  font-size: 12px;
  color: #78350f;
  margin: 0;
  line-height: 1.6;
}
.sozial-pitch-schmerz-text strong {
  font-weight: 700;
}
.sozial-pitch-service-title {
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 8px;
  color: #0f172a;
}
.sozial-pitch-service-list {
  margin: 0;
  padding-left: 22px;
  font-size: 12px;
  color: #475569;
  line-height: 1.7;
}
.sozial-pitch-gericht {
  border-top: 1px dashed #cbd5e1;
  padding-top: 12px;
  margin-top: 14px;
}
.sozial-pitch-gericht-title {
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 4px;
  color: #0f172a;
}
.sozial-pitch-gericht-text {
  font-size: 12px;
  color: #475569;
  margin: 0;
  line-height: 1.6;
}

/* ============================ */
/* P116: Sozialrecht Toggle      */
/* ============================ */
#sozialToggleWrap {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}
.sozial-toggle-btn {
  flex: 1;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 500;
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  color: #334155;
  cursor: pointer;
  transition: all 0.15s;
}
.sozial-toggle-btn:hover {
  border-color: #2b47d9;
  color: #2b47d9;
}
.sozial-toggle-btn.active {
  background: #2b47d9;
  border-color: #2b47d9;
  color: #fff;
}

/* ============================ */
/* P122: ARAG-Pitch-Block        */
/* ============================ */
#aragPitchBox {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 12px;
}
#aragPitchBox.hidden { display: none; }

.arag-pitch-title {
  font-size: 17px;
  font-weight: 500;
  color: #0f172a;
  line-height: 1.4;
  margin: 0 0 16px;
}

.arag-baustein {
  border-top: 1px solid #e2e8f0;
  padding: 14px 0;
}

.arag-baustein-header {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.arag-baustein-num {
  font-weight: 500;
  color: #0f172a;
  font-size: 15px;
}

.arag-baustein-label-wrap {
  flex: 1;
}

.arag-baustein-label {
  font-weight: 500;
  color: #0f172a;
  font-size: 15px;
}

.arag-baustein-marke {
  font-size: 11.5px;
  color: #64748b;
  margin-top: 2px;
}

.arag-baustein-text {
  font-size: 13.5px;
  color: #334155;
  margin: 6px 0 10px 22px;
}

.arag-aufklapp-link {
  display: inline-block;
  font-size: 13px;
  color: #2b47d9;
  text-decoration: underline;
  cursor: pointer;
  margin-left: 22px;
}

.arag-aufklapp-content {
  margin: 10px 0 0 22px;
  padding: 12px;
  background: #f8fafc;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.55;
  color: #334155;
}

.arag-aufklapp-content.hidden { display: none; }

.arag-aufklapp-section-title {
  font-weight: 500;
  color: #0f172a;
  margin: 0 0 6px;
}

.arag-aufklapp-content ul {
  margin: 0 0 8px 18px;
  padding: 0;
}

.arag-aufklapp-content ul li {
  margin-bottom: 2px;
}

.arag-aufklapp-content p {
  margin: 8px 0 0;
}

.arag-aufklapp-subtitle {
  font-weight: 500;
  color: #0f172a;
  margin: 10px 0 6px;
}

.arag-aufklapp-dashes {
  margin-left: 8px;
}

.arag-rueckwirkend-line {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #e2e8f0;
  font-size: 13.5px;
  color: #334155;
  line-height: 1.7;
}

.arag-rueckwirkend-badge {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  color: #fff;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 12.5px;
  font-weight: 500;
  display: inline-block;
}

/* ============================================ */
/* Fix-V: ARAG-Pitchbox Variante 3+A (kompakt 3-Spalten + zentraler Aufklapper) */
/* ============================================ */

.arag-pitch-v2 {
  background: #2b47d9;
  color: #ffffff;
  padding: 18px 20px;
  border-radius: 10px;
  margin-bottom: 12px;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.18);
}

.arag-pitch-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  opacity: 0.85;
  margin-bottom: 6px;
  color: #ffffff;
  text-transform: uppercase;
}

.arag-pitch-headline {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 18px;
  color: #ffffff;
  opacity: 0.95;
}

.arag-pitch-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}

.arag-pitch-card {
  background: rgba(255,255,255,0.13);
  padding: 14px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.18);
}

.arag-pitch-num {
  font-size: 24px;
  font-weight: 700;
  opacity: 0.5;
  line-height: 1;
  margin-bottom: 8px;
  color: #ffffff;
}

.arag-pitch-card-title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  color: #ffffff;
}

.arag-pitch-card-marke {
  font-size: 11px;
  opacity: 0.75;
  margin-top: 2px;
  color: #ffffff;
}

.arag-pitch-toggle {
  display: inline-block;
  font-size: 13px;
  color: #ffffff;
  text-decoration: underline;
  opacity: 0.95;
  font-weight: 500;
  margin-bottom: 4px;
}
.arag-pitch-toggle:hover { opacity: 1; }

.arag-pitch-details {
  margin-top: 12px;
}

.arag-pitch-detail-card {
  background: rgba(255,255,255,0.95);
  color: #1e293b;
  padding: 14px 16px;
  border-radius: 10px;
  margin-bottom: 8px;
}

.arag-pitch-detail-title {
  font-size: 13px;
  font-weight: 700;
  color: #2b47d9;
  margin-bottom: 8px;
}

.arag-pitch-detail-section {
  font-size: 12px;
  font-weight: 600;
  color: #475569;
  margin-bottom: 6px;
  margin-top: 6px;
}

.arag-pitch-detail-list {
  font-size: 12px;
  line-height: 1.5;
  color: #334155;
  margin: 0 0 8px 18px;
  padding: 0;
}

.arag-pitch-detail-foot {
  font-size: 11px;
  color: #64748b;
  line-height: 1.5;
}

.arag-pitch-rueckwirkend {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  opacity: 0.95;
  line-height: 1.4;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.18);
}

.arag-pitch-rueckwirkend-badge {
  background: linear-gradient(135deg, #16a34a, #15803d);
  color: #ffffff;
  padding: 3px 10px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
}

/* Mobile - bei < 600px Spalten untereinander stapeln */
@media (max-width: 600px) {
  .arag-pitch-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================ */
/* Fix-X: Ratenzahlungs-Hinweis als helle Subbox INNERHALB der blauen Pitchbox */
/* (ersetzt die separate gelbe note-Box) */
/* ============================================ */

.plus-rate-hint {
  background: rgba(255,255,255,0.95);
  color: #1e3a8a;
  padding: 10px 14px;
  border-radius: 8px;
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.5;
}
.plus-rate-hint strong {
  color: #1e3a8a;
  font-weight: 600;
}
.plus-rate-hint.hidden {
  display: none !important;
}