/* ============================================================
 * lohnrechner.css — Wizard-Stil für /lohnrechner/ (A1-LR01)
 * ============================================================
 * Baut auf landing-pages.css auf. Eigene Klassen: lr-*.
 * ============================================================ */

.lr-meta-row {
  display: flex; gap: 10px; justify-content: center; flex-wrap: wrap;
  margin: 28px 0 4px;
}
.lr-meta-pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; color: var(--ink-700);
  background: #fff; border: 1px solid var(--ink-200);
  padding: 6px 12px; border-radius: var(--radius-pill);
}
.lr-meta-pill svg { width: 14px; height: 14px; color: var(--brand-600); }

/* ── Wizard-Steps ──────────────────────────────────────────── */
.lr-wizard { max-width: 880px; margin: 0 auto; }

.lr-steps {
  list-style: none; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 6px; margin: 0 0 32px;
}
.lr-step {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--ink-500);
  padding: 10px 8px; border-radius: 10px;
  background: var(--ink-50); border: 1px solid var(--ink-200);
  text-align: left;
}
.lr-step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: #fff; border: 1.5px solid var(--ink-300);
  font-size: 12px; color: var(--ink-500); flex-shrink: 0;
}
.lr-step.is-active {
  background: var(--brand-50); border-color: var(--brand-500);
  color: var(--brand-700);
}
.lr-step.is-active .lr-step-num {
  background: var(--brand-600); border-color: var(--brand-600); color: #fff;
}
.lr-step.is-done {
  background: #f0fdf4; border-color: var(--green-600);
  color: var(--green-600);
}
.lr-step.is-done .lr-step-num {
  background: var(--green-600); border-color: var(--green-600); color: #fff;
}
@media (max-width: 720px) {
  .lr-steps { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .lr-step { font-size: 12px; }
}

/* ── Step-Panels ───────────────────────────────────────────── */
.lr-card {
  background: #fff; border: 1px solid var(--ink-200);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 28px;
}
.lr-card h2 {
  font-size: clamp(20px, 2.6vw, 26px);
  margin: 0 0 10px;
  color: var(--ink-900); text-align: left;
}
.lr-step-sub {
  color: var(--ink-500); font-size: 14px; line-height: 1.55;
  margin: 0 0 24px;
}
.lr-step-panel[hidden] { display: none; }

/* Felder */
.lr-grid-2 {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.lr-field { display: block; }
.lr-field label,
.lr-field .lr-toggle {
  display: block; font-size: 13px; font-weight: 600;
  color: var(--ink-900); margin-bottom: 6px;
}
.lr-field input[type=number],
.lr-field input[type=text],
.lr-field select {
  width: 100%; box-sizing: border-box;
  padding: 12px 14px; font-size: 15px;
  border: 1.5px solid var(--ink-200); border-radius: 10px;
  background: #fff; color: var(--ink-900);
  font-family: inherit;
}
.lr-field input:focus,
.lr-field select:focus {
  outline: none; border-color: var(--brand-500);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.15);
}
.lr-field select { cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3e%3cpolyline points='6 9 12 15 18 9'/%3e%3c/svg%3e");
  background-repeat: no-repeat; background-position: right 12px center;
  background-size: 16px; padding-right: 38px;
}
.lr-hint {
  font-size: 12px; color: var(--ink-500);
  margin-top: 6px; line-height: 1.5;
}
.lr-toggle {
  display: inline-flex !important; align-items: center; gap: 10px;
  cursor: pointer; user-select: none;
  font-size: 14px; font-weight: 500 !important; color: var(--ink-700);
}
.lr-toggle input[type=checkbox] {
  width: 18px; height: 18px; accent-color: var(--brand-600);
  cursor: pointer;
}

/* Mindestlohn-Wächter (A1-LR03 T3) — roter Alarm-Banner, sichtbar
   wenn Stundenlohn < Branchen-Mindestlohn 2026. Lead-CTA mündet in
   Chat-Widget mit vorausgefüllter Lohnbuchhaltungs-Nachricht. */
.lr-mindestlohn-warn {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px 20px; margin-top: 14px;
  background: #fee2e2; border: 1.5px solid #dc2626;
  border-radius: 14px;
  animation: lr-shake-in 0.32s ease;
}
.lr-mindestlohn-warn[hidden] { display: none; }
@keyframes lr-shake-in {
  0%   { transform: translateX(-8px); opacity: 0; }
  60%  { transform: translateX(4px);  opacity: 1; }
  100% { transform: translateX(0);    opacity: 1; }
}
.lr-mindestlohn-warn-icon {
  width: 36px; height: 36px; border-radius: 50%;
  background: #dc2626; color: #fff; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
}
.lr-mindestlohn-warn-icon svg { width: 20px; height: 20px; }
.lr-mindestlohn-warn-body strong {
  display: block; font-size: 15px; color: #991b1b; font-weight: 800;
  margin-bottom: 4px;
}
.lr-mindestlohn-warn-body p {
  font-size: 13px; color: #7f1d1d; line-height: 1.5; margin: 0 0 8px;
}
.lr-mindestlohn-ausnahmen {
  font-size: 11px !important; color: #991b1b !important;
  background: rgba(255,255,255,0.55); padding: 6px 10px; border-radius: 8px;
  margin-bottom: 10px !important;
}
.lr-mindestlohn-ausnahmen em { font-style: normal; font-weight: 700; }
.lr-mindestlohn-warn-cta {
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff; color: #991b1b; border: 1.5px solid #fca5a5;
  border-radius: 8px; padding: 8px 14px;
  font-size: 13px; font-weight: 700; cursor: pointer;
  font-family: inherit;
}
.lr-mindestlohn-warn-cta:hover {
  background: #991b1b; color: #fff; border-color: #991b1b;
}

/* Stundenlohn live */
.lr-stundenlohn-anzeige {
  margin-top: 24px; padding: 16px 18px;
  background: var(--brand-50); border-radius: 12px;
  font-size: 14px; color: var(--ink-700);
  border: 1px solid var(--brand-100);
}
.lr-stundenlohn-anzeige strong {
  color: var(--brand-700); font-size: 17px;
}
.lr-grenze-hint {
  display: block; margin-top: 6px; font-size: 13px;
  color: var(--ink-500);
}
.lr-grenze-hint.is-warn { color: var(--amber-500); font-weight: 600; }
.lr-grenze-hint.is-bad  { color: var(--red-600); font-weight: 600; }

/* SFN-Grid — A1-LR03 T2 (2026-06-10): Niveau-Angleichung an Extras-Cards
   (lr-extra-card) und lr-field-big-Inputs. Karten-Optik konsistent
   durch den ganzen Wizard. Prozent-Badge bleibt wie zuvor. */
.lr-sfn-grid {
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.lr-sfn-card {
  background: var(--ink-50); border: 1.5px solid var(--ink-200);
  border-radius: 14px; padding: 18px 18px;
  transition: border-color 0.12s, box-shadow 0.12s;
}
.lr-sfn-card:focus-within {
  background: #fff;
  border-color: var(--brand-500);
  box-shadow: 0 4px 14px rgba(59,130,246,0.10);
}
.lr-sfn-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 12px;
}
.lr-sfn-head h3 {
  font-size: 15px; font-weight: 700; color: var(--ink-900);
  margin: 0;
}
.lr-sfn-satz {
  background: #fff; border: 1px solid var(--brand-200, #c7ddff);
  color: var(--brand-700);
  padding: 3px 10px; border-radius: var(--radius-pill);
  font-size: 12px; font-weight: 700;
}
.lr-sfn-card label {
  font-size: 13px; font-weight: 600; color: var(--ink-900);
  display: block; margin-bottom: 6px;
}
.lr-sfn-card .lr-hint {
  font-size: 12px; color: var(--ink-500);
  margin-top: 6px; line-height: 1.5;
}
.lr-sfn-card input[type=number] {
  width: 100%; box-sizing: border-box;
  font-size: 22px !important; font-weight: 700;
  padding: 14px 16px !important; letter-spacing: -0.01em;
  background: #fff !important;
  border: 1.5px solid var(--brand-200) !important;
  border-radius: 10px;
  color: var(--ink-900);
  font-family: inherit;
}
.lr-sfn-card input[type=number]:focus {
  outline: none;
  border-color: var(--brand-500) !important;
  box-shadow: 0 0 0 3px rgba(59,130,246,0.15);
}

/* Nav-Row */
.lr-nav-row {
  display: flex; justify-content: space-between; gap: 12px;
  margin-top: 28px; padding-top: 20px;
  border-top: 1px solid var(--ink-200);
  flex-wrap: wrap;
}
.lr-nav-row .lp-btn-primary,
.lr-nav-row .lp-btn-ghost {
  font-size: 14px; padding: 12px 22px;
}

/* ── Ergebnis ──────────────────────────────────────────────── */
.lr-ergebnis-hero {
  background: linear-gradient(180deg, var(--brand-600), var(--brand-700));
  color: #fff; border-radius: 16px;
  padding: 32px 24px; text-align: center;
  margin: 24px 0;
}
.lr-ergebnis-eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 0.10em;
  text-transform: uppercase; opacity: 0.85;
  margin-bottom: 6px;
}
.lr-ergebnis-betrag {
  font-size: clamp(36px, 6vw, 56px); font-weight: 800;
  line-height: 1.05; letter-spacing: -0.02em;
}
.lr-ergebnis-zuschlag {
  font-size: 14px; opacity: 0.92; margin-top: 8px;
}

.lr-rechnung {
  background: #fff; border: 1px solid var(--ink-200);
  border-radius: 12px; padding: 0; margin: 18px 0;
  overflow: hidden;
}
.lr-rechnung summary {
  padding: 16px 20px; cursor: pointer; user-select: none;
  font-weight: 700; font-size: 15px; color: var(--ink-900);
  display: flex; align-items: center; gap: 10px;
  list-style: none;
}
.lr-rechnung summary::-webkit-details-marker { display: none; }
.lr-rechnung summary::after {
  content: '+'; margin-left: auto; font-size: 22px;
  color: var(--ink-500); font-weight: 300;
}
.lr-rechnung[open] summary::after { content: '−'; }
.lr-rechnung-body {
  padding: 16px 20px 22px;
  border-top: 1px solid var(--ink-200);
  font-size: 14px;
}
.lr-rechnung-table {
  width: 100%; border-collapse: collapse;
}
.lr-rechnung-table tr td {
  padding: 7px 0; border-bottom: 1px dashed var(--ink-200);
  font-variant-numeric: tabular-nums;
}
.lr-rechnung-table tr:last-child td { border-bottom: none; }
.lr-rechnung-table td:first-child { color: var(--ink-700); }
.lr-rechnung-table td:last-child  { text-align: right; font-weight: 600; color: var(--ink-900); }
.lr-rechnung-table tr.is-subtotal td { padding-top: 10px; border-top: 2px solid var(--ink-200); }
.lr-rechnung-table tr.is-grand td  { font-size: 15px; font-weight: 800; color: var(--brand-700); }
.lr-rechnung-table tr.is-deduct td:last-child { color: var(--red-600); }
.lr-rechnung-table tr.is-positive td:last-child { color: var(--green-600); }
.lr-rechnung-table tr.is-sectionhead td {
  font-weight: 700; color: var(--ink-900);
  padding-top: 14px; border-bottom: none;
  text-transform: uppercase; font-size: 11px;
  letter-spacing: 0.06em;
}

/* A1-LR06 (2026-06-10) — 3-Block-Struktur der Rechnungstabelle.
   Block 1 (Grundlohn → Abzüge → Netto), Block 2 (Zuschläge ON TOP),
   Block 3 (Extras). Visuelle Abgrenzung in Hellblau/Grün/Indigo. */
.lr-rechnung-table tr.is-block1 td {
  background: var(--brand-50); color: var(--brand-700);
  padding: 12px 10px; border-radius: 6px 6px 0 0;
  text-transform: none; font-size: 13px;
}
.lr-rechnung-table tr.is-block2 td {
  background: #ecfdf5; color: #166534;
  padding: 14px 10px;
  text-transform: none; font-size: 13px;
}
.lr-rechnung-table tr.is-block3 td {
  background: #faf5ff; color: #6b21a8;
  padding: 12px 10px;
  text-transform: none; font-size: 13px;
}
.lr-rechnung-table tr.is-deduct-head td {
  background: var(--ink-50); color: var(--ink-700);
  text-transform: none; font-size: 12px;
  padding: 8px 10px;
}
.lr-rechnung-table tr.is-block2-note td {
  background: #f0fdf4; color: #166534;
  font-size: 11px; line-height: 1.55; padding: 4px 10px 10px;
  border-bottom: 1px dashed #bbf7d0;
}
.lr-rechnung-table tr.is-warn-row td {
  background: #fef3c7; color: #854d0e;
  font-size: 11px; line-height: 1.55;
  padding: 8px 10px; border-bottom: 1px dashed #fcd34d;
}
.lr-rechnung-table tr.is-informativ td {
  color: var(--ink-500); font-style: italic; font-size: 12px;
}
.lr-rechnung-table tr.is-informativ td:last-child { color: var(--ink-500); font-weight: 600; }
.lr-rechnung-table tr.is-netto-grund td {
  background: #fff; color: var(--ink-900);
  padding: 12px 10px;
  border-top: 2px solid var(--brand-500);
}
.lr-rechnung-table tr.is-netto-grund td:last-child { color: var(--brand-700); font-weight: 800; font-size: 14px; }

/* Disclaimer */
.lr-disclaimer {
  background: #fef3c7; border: 1px solid #fcd34d;
  border-radius: 12px; padding: 20px 22px;
  margin: 24px 0;
  color: #854d0e;
}
.lr-disclaimer h3 {
  margin: 0 0 8px; font-size: 14px; font-weight: 800;
  display: flex; align-items: center; gap: 8px;
  color: #854d0e;
}
.lr-disclaimer h3 svg { width: 18px; height: 18px; }
.lr-disclaimer p {
  margin: 0 0 8px; font-size: 13px; line-height: 1.55;
}
.lr-disclaimer p:last-child { margin-bottom: 0; }

/* CTA Block */
.lr-cta-block {
  background: var(--brand-50); border: 1px solid var(--brand-100);
  border-radius: 12px; padding: 24px;
  text-align: center; margin: 24px 0;
}
.lr-cta-block h3 {
  font-size: 18px; font-weight: 800; color: var(--ink-900);
  margin: 0 0 10px;
}
.lr-cta-block p {
  color: var(--ink-700); font-size: 14px; line-height: 1.6;
  margin: 0 0 18px; max-width: 560px; margin-left: auto; margin-right: auto;
}

@media (max-width: 720px) {
  .lr-card { padding: 22px 18px; }
  .lr-ergebnis-hero { padding: 24px 18px; }
  .lr-disclaimer { padding: 16px 18px; }
  .lr-nav-row { flex-direction: column-reverse; align-items: stretch; }
  .lr-nav-row .lp-btn-primary,
  .lr-nav-row .lp-btn-ghost { width: 100%; justify-content: center; }
}

/* ════════════════════════════════════════════════════════════════
 * A1-LR02 (2026-06-10): Branche-Auswahl, Extras-Toggles, Live-Summary,
 * Doppel-Ergebnis (Klassisch vs. Optimiert), Lead-CTA.
 * Design-Politur (T4): grössere Touch-Targets, klare Gruppierung,
 * Hero-Niveau Eingabefelder.
 * ════════════════════════════════════════════════════════════════ */

/* Live-Summary Sticky-Sidebar (Desktop) — auf Mobile hidden */
.lr-live-summary {
  display: none;
  background: var(--brand-50); border: 1px solid var(--brand-100);
  border-radius: 12px; padding: 16px 18px; margin-bottom: 18px;
  font-size: 13px; color: var(--ink-700);
}
.lr-live-summary[hidden] { display: none; }
.lr-live-summary-head {
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--brand-700);
  margin-bottom: 10px;
}
.lr-live-summary-list { margin: 0; }
.lr-live-summary-row {
  display: flex; justify-content: space-between; gap: 8px;
  padding: 5px 0; border-bottom: 1px dashed var(--brand-100);
}
.lr-live-summary-row:last-child { border-bottom: none; }
.lr-live-summary-row dt { color: var(--ink-500); margin: 0; }
.lr-live-summary-row dd { color: var(--ink-900); font-weight: 600; margin: 0; }
.lr-wizard:not(.lr-step1) .lr-live-summary { display: block; }

/* Branche-Karten — visuell prominent */
.lr-branche-grid {
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin: 0 0 28px;
}
.lr-branche-card {
  background: #fff; border: 1.5px solid var(--ink-200);
  border-radius: 14px; padding: 18px 16px;
  cursor: pointer; font-family: inherit;
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
  text-align: left;
  transition: border-color 0.12s, transform 0.08s, box-shadow 0.12s;
}
.lr-branche-card:hover {
  border-color: var(--brand-500);
  box-shadow: 0 6px 16px rgba(59,130,246,0.10);
}
.lr-branche-card:focus-visible {
  outline: none; border-color: var(--brand-600);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.18);
}
.lr-branche-card.is-active {
  border-color: var(--brand-600); background: var(--brand-50);
  box-shadow: 0 6px 16px rgba(59,130,246,0.18);
}
.lr-branche-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--brand-50); color: var(--brand-700);
  display: inline-flex; align-items: center; justify-content: center;
}
.lr-branche-icon svg { width: 24px; height: 24px; }
.lr-branche-card.is-active .lr-branche-icon { background: var(--brand-600); color: #fff; }
.lr-branche-label { font-weight: 700; color: var(--ink-900); font-size: 16px; }
.lr-branche-sub { font-size: 12px; color: var(--ink-500); }

/* Big-Toggle (Auswärtstätigkeit) */
.lr-auswaerts-block {
  background: var(--ink-50); border: 1px solid var(--ink-200);
  border-radius: 14px; padding: 18px 20px;
}
.lr-bigtoggle {
  display: flex; align-items: center; gap: 16px;
  cursor: pointer; user-select: none;
}
.lr-bigtoggle input[type=checkbox] {
  position: absolute; opacity: 0; pointer-events: none;
}
.lr-bigtoggle-track {
  width: 50px; height: 28px; border-radius: 14px;
  background: var(--ink-300); position: relative; flex-shrink: 0;
  transition: background 0.15s ease;
}
.lr-bigtoggle-thumb {
  position: absolute; top: 3px; left: 3px;
  width: 22px; height: 22px; border-radius: 50%;
  background: #fff; box-shadow: 0 2px 4px rgba(15,23,42,0.18);
  transition: transform 0.15s ease;
}
.lr-bigtoggle input:checked ~ .lr-bigtoggle-track { background: var(--brand-600); }
.lr-bigtoggle input:checked ~ .lr-bigtoggle-track .lr-bigtoggle-thumb { transform: translateX(22px); }
.lr-bigtoggle input:focus-visible ~ .lr-bigtoggle-track {
  box-shadow: 0 0 0 3px rgba(59,130,246,0.18);
}
.lr-bigtoggle-label strong {
  display: block; font-size: 15px; font-weight: 700; color: var(--ink-900);
  margin-bottom: 4px;
}
.lr-bigtoggle-label em {
  font-style: normal; font-size: 13px; color: var(--ink-500);
  line-height: 1.5;
}

/* Größere Eingabe-Felder (T4 Design-Politur) */
.lr-field-big input[type=number] {
  font-size: 22px !important; font-weight: 700;
  padding: 16px 18px !important; letter-spacing: -0.01em;
  background: var(--brand-50) !important; border-color: var(--brand-200) !important;
  color: var(--ink-900);
}
.lr-field-big input[type=number]:focus {
  background: #fff !important;
  border-color: var(--brand-500) !important;
}
.lr-field-big label {
  font-size: 14px; font-weight: 700; margin-bottom: 8px;
  color: var(--ink-900);
}

/* Extras-Cards */
.lr-extras-grid {
  display: grid; gap: 14px;
  grid-template-columns: 1fr;
  margin-bottom: 8px;
}
.lr-extra-card {
  background: var(--ink-50); border: 1.5px solid var(--ink-200);
  border-radius: 14px; padding: 18px 18px; transition: border-color 0.12s;
}
.lr-extra-card.is-active {
  background: #fff; border-color: var(--brand-500);
  box-shadow: 0 4px 14px rgba(59,130,246,0.08);
}
.lr-extra-head { display: flex; align-items: flex-start; gap: 14px; }
.lr-extra-toggle {
  cursor: pointer; position: relative; flex-shrink: 0;
}
.lr-extra-toggle input[type=checkbox] {
  position: absolute; opacity: 0; pointer-events: none;
}
.lr-extra-toggle-sw {
  display: block; width: 44px; height: 24px; border-radius: 12px;
  background: var(--ink-300); position: relative;
  transition: background 0.15s ease;
}
.lr-extra-toggle-sw::after {
  content: ''; position: absolute; top: 3px; left: 3px;
  width: 18px; height: 18px; border-radius: 50%; background: #fff;
  box-shadow: 0 1px 3px rgba(15,23,42,0.18); transition: transform 0.15s ease;
}
.lr-extra-toggle input:checked ~ .lr-extra-toggle-sw { background: var(--brand-600); }
.lr-extra-toggle input:checked ~ .lr-extra-toggle-sw::after { transform: translateX(20px); }
.lr-extra-toggle input:focus-visible ~ .lr-extra-toggle-sw {
  box-shadow: 0 0 0 3px rgba(59,130,246,0.18);
}
.lr-extra-titel { flex: 1; min-width: 0; }
.lr-extra-titel h3 {
  font-size: 15px; font-weight: 700; color: var(--ink-900);
  margin: 0 0 2px;
}
.lr-extra-titel .lr-extra-meta {
  display: block; font-size: 12px; color: var(--ink-500);
}
.lr-extra-titel .lr-extra-meta strong { color: var(--brand-700); font-weight: 700; }
.lr-extra-body {
  margin-top: 12px; padding-top: 12px;
  border-top: 1px dashed var(--ink-200);
  display: none;
}
.lr-extra-card.is-active .lr-extra-body { display: block; }
.lr-extra-body p { font-size: 13px; color: var(--ink-700); margin: 0 0 12px; line-height: 1.55; }
.lr-extra-body label { display: block; font-size: 12px; font-weight: 600; color: var(--ink-900); margin-bottom: 4px; }
.lr-extra-body input[type=number] {
  width: 160px; padding: 10px 12px; font-size: 14px;
  border: 1.5px solid var(--ink-200); border-radius: 10px;
  background: #fff; color: var(--ink-900); font-family: inherit;
}
.lr-extra-body input[type=number]:focus {
  outline: none; border-color: var(--brand-500);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.15);
}
.lr-extra-vorausset {
  margin-top: 12px; padding: 10px 12px;
  background: var(--brand-50); border-radius: 8px;
  font-size: 11px; color: var(--ink-700); line-height: 1.55;
}
.lr-extra-vorausset strong { color: var(--brand-700); }
.lr-extra-vorausset ul { margin: 4px 0 0; padding-left: 18px; }
.lr-extra-vorausset li { margin: 2px 0; }
.lr-extra-quelle {
  display: inline-block; margin-top: 8px;
  font-size: 11px; color: var(--ink-500); text-decoration: underline;
}

/* ════════════════════════════════════════════════════════════════
   A1-LR05 (2026-06-10): Mode-Tabs „Einfach: Arbeitszeiten" vs „Profi"
   ════════════════════════════════════════════════════════════════ */
.lr-mode-tabs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  margin: 4px 0 18px;
}
.lr-mode-tab {
  display: flex; flex-direction: column; gap: 2px;
  text-align: left; padding: 12px 14px;
  background: var(--ink-50); border: 1.5px solid var(--ink-200);
  border-radius: 12px; cursor: pointer; font-family: inherit;
  transition: background 0.12s, border-color 0.12s;
}
.lr-mode-tab strong { font-size: 13px; color: var(--ink-900); font-weight: 700; }
.lr-mode-tab em { font-style: normal; font-size: 11px; color: var(--ink-500); }
.lr-mode-tab:hover { background: #fff; border-color: var(--brand-300); }
.lr-mode-tab.is-active {
  background: #fff; border-color: var(--brand-600);
  box-shadow: 0 2px 8px rgba(59,130,246,0.10);
}
.lr-mode-tab.is-active strong { color: var(--brand-700); }
.lr-mode-panel[hidden] { display: none; }

/* Vorlagen-Chips */
.lr-vorlagen-row {
  display: flex; gap: 6px; flex-wrap: wrap;
  align-items: center; margin-bottom: 14px;
}
.lr-vorlagen-label {
  font-size: 12px; font-weight: 700; color: var(--ink-700);
  margin-right: 4px;
}
.lr-vorlagen-chip {
  font-size: 12px; font-weight: 600; color: var(--brand-700);
  background: #fff; border: 1px solid var(--brand-300);
  border-radius: 999px; padding: 5px 12px; cursor: pointer;
  font-family: inherit; transition: background 0.10s, color 0.10s;
}
.lr-vorlagen-chip:hover { background: var(--brand-50); }
.lr-vorlagen-chip.is-active {
  background: var(--brand-600); color: #fff; border-color: var(--brand-600);
}

/* Branche-Info-Hinweis */
.lr-brancheinfo {
  display: flex; gap: 10px; align-items: flex-start;
  background: var(--brand-50); border: 1px solid var(--brand-200);
  border-radius: 10px; padding: 10px 12px; margin-bottom: 14px;
  font-size: 12px; line-height: 1.55; color: var(--ink-700);
}
.lr-brancheinfo[hidden] { display: none; }
.lr-brancheinfo svg { color: var(--brand-600); flex-shrink: 0; margin-top: 2px; }
.lr-brancheinfo p { margin: 0; }

/* Wochenraster */
.lr-week-grid {
  border: 1.5px solid var(--ink-200); border-radius: 12px;
  padding: 12px 14px; margin: 0 0 14px; background: #fff;
}
.lr-week-grid-legend {
  font-size: 13px; font-weight: 700; color: var(--ink-900);
  padding: 0 6px;
}
.lr-week-row {
  display: grid;
  grid-template-columns: 100px 80px 1fr 1fr auto;
  align-items: center; gap: 8px;
  padding: 8px 4px; border-top: 1px dashed var(--ink-100);
}
.lr-week-row:first-of-type { border-top: 0; }
.lr-week-row-label {
  font-size: 13px; font-weight: 600; color: var(--ink-700);
}
.lr-week-row.is-weekend .lr-week-row-label { color: var(--brand-700); }
.lr-week-row input[type=checkbox] { width: 18px; height: 18px; cursor: pointer; }
.lr-week-row input[type=time] {
  font-size: 13px; padding: 6px 8px;
  border: 1.5px solid var(--ink-200); border-radius: 8px;
  background: #fff; color: var(--ink-900); font-family: inherit;
  width: 100%;
}
.lr-week-row input[type=time]:disabled {
  background: var(--ink-50); color: var(--ink-300); cursor: not-allowed;
}
.lr-week-row select {
  font-size: 12px; padding: 5px 6px;
  border: 1.5px solid var(--ink-200); border-radius: 8px;
  background: #fff; color: var(--ink-700);
}

/* VMA-Block */
.lr-vma-block {
  background: #fff7ed; border: 1px solid #fed7aa; border-radius: 12px;
  padding: 14px 16px; margin: 0 0 14px;
}
.lr-vma-block[hidden] { display: none; }
.lr-vma-block h4 {
  margin: 0 0 6px; font-size: 14px; color: #9a3412; font-weight: 700;
}
.lr-vma-erklaer {
  font-size: 12px; color: #7c2d12; line-height: 1.55;
  margin: 0 0 12px;
}
.lr-vma-result {
  margin-top: 10px; padding: 8px 12px; background: #fff;
  border: 1px solid #fdba74; border-radius: 8px;
  font-size: 13px; color: #7c2d12;
}
.lr-vma-result[hidden] { display: none; }
.lr-vma-result strong { color: #9a3412; }
.lr-vma-result-sub { color: #9a3412; font-size: 12px; }

/* Live-Summary unter dem Wochenraster */
.lr-week-summary {
  background: var(--ink-50); border: 1px solid var(--ink-200);
  border-radius: 12px; padding: 14px 16px; margin-bottom: 14px;
}
.lr-week-summary h4 {
  margin: 0 0 8px; font-size: 13px; color: var(--ink-900); font-weight: 700;
}
.lr-week-summary-list { margin: 0; }
.lr-week-summary-list > div {
  display: flex; justify-content: space-between; gap: 8px;
  padding: 4px 0; border-bottom: 1px dotted var(--ink-200);
  font-size: 13px;
}
.lr-week-summary-list > div:last-child { border-bottom: 0; }
.lr-week-summary-list dt { color: var(--ink-500); margin: 0; }
.lr-week-summary-list dd { color: var(--ink-900); font-weight: 700; margin: 0; }
.lr-week-summary-hint {
  margin: 8px 0 0; font-size: 11px; color: var(--ink-500); font-style: italic;
}

/* Lead-Hebel (LR05) im Ergebnis */
.lr-lead-sfn-hinweis {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  border: 1px solid #f59e0b;
  border-radius: 12px; padding: 16px 18px; margin: 14px 0;
  display: flex; gap: 12px; align-items: flex-start;
}
.lr-lead-sfn-hinweis[hidden] { display: none; }
.lr-lead-sfn-hinweis svg { color: #92400e; flex-shrink: 0; margin-top: 2px; }
.lr-lead-sfn-hinweis h4 {
  margin: 0 0 4px; font-size: 14px; color: #78350f; font-weight: 700;
}
.lr-lead-sfn-hinweis p {
  margin: 0; font-size: 12px; color: #78350f; line-height: 1.55;
}

@media (max-width: 540px) {
  .lr-mode-tabs { grid-template-columns: 1fr; }
  .lr-week-row {
    grid-template-columns: 1fr 24px;
    grid-template-areas:
      "label  check"
      "von    bis"
      "haeufigkeit haeufigkeit";
    row-gap: 6px;
  }
  .lr-week-row > .lr-week-row-label { grid-area: label; }
  .lr-week-row > input[type=checkbox] { grid-area: check; justify-self: end; }
  .lr-week-row > input.lr-week-row-von { grid-area: von; }
  .lr-week-row > input.lr-week-row-bis { grid-area: bis; }
  .lr-week-row > select { grid-area: haeufigkeit; }
}

/* LR04b — Langfrist-Bausteine (bAV) sind heute kein Auszahl-Netto-Gewinn,
   sondern Vorsorge. Visuell warm/orange abgesetzt und mit Hinweis-Block. */
.lr-extra-card.is-langfrist {
  background: #fff7ed; border-color: #fed7aa;
}
.lr-extra-card.is-langfrist.is-active {
  background: #fff; border-color: #f97316;
  box-shadow: 0 4px 14px rgba(249,115,22,0.12);
}
.lr-extra-badge-langfrist {
  display: inline-block; vertical-align: middle;
  font-size: 10px; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase; color: #9a3412;
  background: #fed7aa; border-radius: 999px;
  padding: 3px 8px; margin-left: 6px;
}
.lr-extra-langfrist {
  background: #fff7ed; border: 1px solid #fdba74;
  border-radius: 8px; padding: 10px 12px; margin: 0 0 12px;
  font-size: 12px; color: #7c2d12; line-height: 1.55;
}
.lr-extra-langfrist strong { color: #9a3412; }

/* A1-Q3 (2026-06-10): VMA-Auto-Belegung-Hint in der Verpflegungsmehraufwand-
   Card. Zeigt „Aus deinen Arbeitszeiten: 26 Tage × 14 € = 364 € /Monat"
   damit der User erkennt, dass der Betrag aus Schritt 3 stammt. */
.lr-extra-vma-hint {
  background: #ecfdf5; border: 1px solid #6ee7b7;
  border-radius: 8px; padding: 10px 12px; margin: 0 0 12px;
  font-size: 12px; color: #166534; line-height: 1.55;
}
.lr-extra-vma-hint strong { color: #14532d; }

/* A1-109 (2026-06-10): Unterbranchen-Dropdown unter den Hauptbranchen-
   Kacheln in Schritt 1. */
.lr-unterbranche-block {
  display: flex; flex-direction: column; gap: 6px;
  max-width: 380px; margin: 16px 0 8px;
}
.lr-unterbranche-block[hidden] { display: none; }
.lr-unterbranche-block label {
  font-size: 12px; font-weight: 700; color: var(--ink-700);
  text-transform: uppercase; letter-spacing: 0.04em;
}
.lr-unterbranche-block select {
  padding: 10px 12px; font-size: 14px;
  border: 1.5px solid var(--ink-200); border-radius: 8px;
  background: #fff; color: var(--ink-900); font-family: inherit;
}
.lr-unterbranche-block select:focus {
  outline: none; border-color: var(--brand-500);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.15);
}

/* Doppel-/Triple-Ergebnis (Klassisch vs. + Zuschläge vs. + Optimiert).
   A2-245 T3 (F15): von 2 auf 3 Karten umgestellt. minmax-Schwelle reduziert,
   damit auf 1440px-Desktop alle 3 in einer Reihe stehen. */
.lr-ergebnis-doppel,
.lr-ergebnis-triple {
  display: grid; gap: 14px; margin: 18px 0 12px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

/* A2-245 LR-10/01/04: Hinweis-Banner-Stack (JAEG, Stkl V, Übergangsbereich). */
.lr-hinweis-stack { display: flex; flex-direction: column; gap: 8px; margin: 10px 0 14px; }
.lr-hinweis-stack:empty { display: none; }
.lr-hinweis-stack .lr-hinweis {
  background: #fffbeb; border: 1px solid #fde68a;
  border-radius: 10px; padding: 10px 14px;
  font-size: 13px; color: #92400e; line-height: 1.5;
}
.lr-hinweis-stack .lr-hinweis strong { color: #78350f; }
.lr-ergebnis-zuschlaege {
  background: linear-gradient(180deg, #ecfdf5, #fff);
  border-color: #a7f3d0;
}
.lr-ergebnis-zuschlaege .lr-ergebnis-eyebrow { color: #047857; }
.lr-ergebnis-kasten {
  background: linear-gradient(180deg, var(--ink-50), #fff);
  border: 1.5px solid var(--ink-200); border-radius: 14px;
  padding: 26px 22px; text-align: center;
}
.lr-ergebnis-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 0.10em;
  text-transform: uppercase; color: var(--ink-500); margin-bottom: 6px;
}
.lr-ergebnis-betrag {
  font-size: clamp(30px, 4.6vw, 44px); font-weight: 800; letter-spacing: -0.02em;
  color: var(--ink-900); line-height: 1.05;
}
.lr-ergebnis-sub { font-size: 13px; color: var(--ink-500); margin-top: 8px; }
.lr-ergebnis-optimiert {
  background: linear-gradient(180deg, var(--brand-600), var(--brand-700));
  border-color: var(--brand-700); color: #fff;
}
.lr-ergebnis-optimiert .lr-ergebnis-eyebrow { color: rgba(255,255,255,0.85); }
.lr-ergebnis-optimiert .lr-ergebnis-betrag { color: #fff; }
.lr-ergebnis-optimiert .lr-ergebnis-sub { color: rgba(255,255,255,0.85); }

/* Gewinn-Banner */
.lr-gewinn-banner {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 20px; background: #ecfdf5;
  border: 1px solid #a7f3d0; border-radius: 12px;
  margin: 14px 0;
}
.lr-gewinn-banner[hidden] { display: none; }
.lr-gewinn-icon {
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
  background: var(--green-600); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
}
.lr-gewinn-icon svg { width: 22px; height: 22px; }
.lr-gewinn-banner strong { font-size: 16px; color: #166534; display: block; margin-bottom: 2px; }
.lr-gewinn-banner em { font-style: normal; font-size: 12px; color: #15803d; line-height: 1.5; }

/* Lead-CTA Lohnbuchhaltung (T5) */
.lr-lead-cta {
  background: linear-gradient(135deg, var(--brand-700), var(--brand-900));
  color: #fff; border-radius: 16px;
  padding: 28px 26px; margin: 24px 0;
  text-align: center;
}
.lr-lead-cta h3 {
  margin: 0 0 8px; color: #fff; font-size: 18px; font-weight: 800;
}
.lr-lead-cta p {
  color: rgba(255,255,255,0.88); font-size: 13px; line-height: 1.65;
  margin: 0 0 18px; max-width: 600px; margin-left: auto; margin-right: auto;
}
.lr-lead-cta .lp-btn-primary {
  background: #fff !important; color: var(--brand-700) !important;
  border: 0; padding: 12px 22px; font-weight: 700; display: inline-flex; align-items: center; gap: 8px;
  cursor: pointer; font-family: inherit;
}
.lr-lead-cta .lp-btn-primary:hover { background: var(--ink-50) !important; }
.lr-lead-cta .lp-btn-ghost {
  background: transparent !important; color: #fff !important;
  border: 1.5px solid rgba(255,255,255,0.6);
  display: inline-flex; align-items: center; gap: 8px;
}
.lr-lead-cta .lp-btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.08) !important; }

@media (min-width: 880px) {
  .lr-extras-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .lr-branche-grid { grid-template-columns: 1fr 1fr; }
  .lr-branche-card { padding: 14px 12px; }
  .lr-bigtoggle { flex-direction: row; align-items: flex-start; }
  .lr-extras-grid { grid-template-columns: 1fr; }
  .lr-ergebnis-doppel,
  .lr-ergebnis-triple { grid-template-columns: 1fr; }
}
