#lk-configurator {
  font-family: Arial, sans-serif;
  margin: 20px;
}

#lk-configurator table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

#lk-configurator th, #lk-configurator td {
  border: 1px solid #ccc;
  padding: 8px;
  text-align: center;
  vertical-align: middle;
}

/* Tabellenüberschriften: kein Umbruch */
#lk-configurator th {
  white-space: nowrap;
}

.tooltip-trigger {
  cursor: pointer;
  margin-left: 6px;
  color: #0073aa;
  font-weight: bold;
  font-size: 18px;
  display: inline;
  line-height: 1;
  text-decoration: none;
}
.tooltip-trigger:hover {
  color: #005b8f;
}



.lk-tooltip-popup {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.5);
  display: none;
  z-index: 9999;
}

.lk-tooltip-content {
  background: white;
  max-width: 400px;
  margin: 15% auto;
  padding: 20px;
  border-radius: 8px;
  position: relative;
  text-align: left;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.lk-tooltip-close {
  position: absolute;
  top: 10px;
  right: 15px;
  cursor: pointer;
  font-size: 20px;
  color: #666;
}


button {
  background-color: #4CAF50;
  color: white !important;
  padding: 6px 12px;
  border: none;
  cursor: pointer;
  border-radius: 4px;
}
button:hover {
  background-color: #45a049;
}

#add-to-cart {
  display: none;
}

input[type="number"] {
  font-size: 16px;
  color: #000;
  background: #fff;
  width: 60px;
  padding: 6px;
  border: 1px solid #ccc;
  appearance: none;
  -moz-appearance: textfield;
}
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.lk-progress {
  display: flex;
  margin-bottom: 20px;
}
.lk-step {
  flex: 1;
  text-align: center;
  padding: 10px;
  background: #eee;
  border-right: 1px solid #ccc;
}
.lk-step:last-child {
  border-right: none;
}
.lk-step.active {
  background: #4CAF50;
  color: white !important;
  font-weight: bold;
}
.lk-step.done::after {
  content: '✔';
  display: inline-block;
  margin-left: 8px;
  color: #4CAF50;
}

/* Modal */
.lk-modal {
  position: fixed;
  z-index: 9999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.6);
}
.lk-modal-content {
  background: #fff;
  margin: 10% auto;
  padding: 20px;
  width: 400px;
  position: relative;
  border-radius: 4px;
  text-align: center;
}
.lk-close-modal {
  position: absolute;
  top: 10px; right: 15px;
  font-size: 22px;
  cursor: pointer;
}
.lk-modal-actions {
  margin-top: 20px;
  display: flex;
  justify-content: space-around;
}
.lk-modal-actions button {
  width: 45%;
}

/* Spaltenbreiten feinjustiert */
#lock-positions th:nth-child(1),
#lock-positions td:nth-child(1) {
  width: 40px;
  min-width: 40px;
}
#lock-positions th:nth-child(2),
#lock-positions td:nth-child(2) {
  width: 120px;
  min-width: 120px;
}
#lock-positions th:nth-child(3),
#lock-positions td:nth-child(3) {
  width: 150px;
  /*width: 240px;
  min-width: 220px;*/
}
#lock-positions th:nth-child(4),
#lock-positions td:nth-child(4),
#lock-positions th:nth-child(5),
#lock-positions td:nth-child(5) {
  width: 140px;
  min-width: 130px;
}
#lock-positions th:nth-child(6),
#lock-positions td:nth-child(6) {
  width: 80px;
  /*min-width: 160px;*/
}
#lock-positions th:nth-child(7),
#lock-positions td:nth-child(7) {
  width: 50px;
  min-width: 50px;
}

#lock-positions-scroll {
  overflow-x: auto;    /* Nur horizontal */
  overflow-y: visible; /* Vertikal alles sichtbar lassen */
  max-height: none!important; 
  width: 100%;
  padding-bottom: 8px;
}
#lock-positions {
  min-width: 1000px; /* Damit die Tabelle nicht zu klein wird, Wert ggf. anpassen */
  width: max-content;
}

/* Zylindertyp + Icon schön nebeneinander */
.type-icon-select-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  justify-content: flex-start;
  padding: 0 4px;
  box-sizing: border-box;
  overflow: visible;
}

.type-icon-select-wrap select,
.type-icon-select-wrap .nice-select {
  flex: 1;
  min-width: 140px;
  max-width: 100%;
}

.type-icon-select-wrap .nice-select {
  width: 100% !important;
  min-width: 0;
  flex: 1 1 auto;
}

.type-icon {
  width: 50px;
  height: 50px;
  object-fit: contain;
  opacity: 0.7;
  transition: opacity 0.2s;
  margin-top: 0;
  margin-left: 6px;
  flex-shrink: 0;
}
.type-icon:hover {
  opacity: 1;
}

/* Fehlerstil */
.lk-error {
  border: 2px solid red !important;
  background: #ffecec !important;
}
.lk-error,
.lk-error ~ .nice-select {
  border: 2px solid red !important;
  background-color: #ffecec !important;
}

/* Schritt 3 */
#lk-step3 {
  font-family: 'Segoe UI', Arial, sans-serif;
}
#lk-summary-header {
  padding-bottom: 14px;
  border-bottom: 1.5px solid #faab00;
  margin-bottom: 24px;
}
#lk-summary th {
  background: #faab00;
  color: #fff;
  font-weight: 600;
}
#lk-summary tr:nth-child(even) td {
  background: #f6f7f7;
}
#lk-summary td, #lk-summary th {
  padding: 7px 10px;
}
#lk-summary {
  margin-bottom: 18px;
  width: 100%;
  border-collapse: collapse;
}
#lk-summary tfoot td {
  font-weight: bold;
  background: #eee;
}

/* Druckansicht */
@media print {
  #add-to-cart,
  #lk-back-to-step2,
  #lk-edit-config,
  #lk-export-pdf {
    display: none !important;
  }

  #lk-step3 {
    background: #fff !important;
    color: #000 !important;
  }
}

/* 📱 Responsive Design */
@media screen and (max-width: 768px) {
  #lock-positions thead {
    display: table-header-group; /* <-- bleibt Tabellenkopf */
  }

  #lock-positions tbody tr {
    display: block;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background: #fff;
    padding: 10px;
  }

  #lock-positions tbody td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: none;
    border-bottom: 1px solid #eee;
    padding: 8px;
    text-align: left;
  }

  #lock-positions tbody td:last-child {
    border-bottom: none;
  }

  #lock-positions tbody td::before {
    content: attr(data-label);
    font-weight: bold;
    flex: 1;
    margin-right: 12px;
    text-align: left;
    min-width: 110px;
  }

  .type-icon-select-wrap {
    flex-direction: row;
    gap: 10px;
    align-items: center;
    padding-left: 0;
  }

  

  #lock-positions input,
  #lock-positions select,
  .nice-select {
    width: 100%;
    max-width: 100%;
  }
}

@media screen and (max-width: 768px) {
  #lock-positions tbody td::before {
    min-width: 100px;
    font-size: 0.9em;
    color: #444;
  }

  #lock-positions tbody td {
    font-size: 0.95em;
    padding: 6px 10px;
  }
}

@media screen and (max-width: 768px) {
  #lock-positions tbody tr {
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    border-radius: 8px;
    background: #fefefe;
    margin-bottom: 20px;
    padding: 8px;
  }
}

.system-details td {
  padding: 10px 12px;
  background: #f3f7fa;
  color: #333;
  font-size: 0.95em;
}
.toggle-details {
  padding: 4px 8px;
  font-weight: bold;
  font-size: 18px;
  background: #999;
  border-radius: 4px;
  color: #fff;
}

/* Ergänzungen & Optimierungen */

/* Kompaktere Darstellung nur im Schließanlagen-Modus */
.kompakt-modus.active table {
  font-size: 13px;
  border-collapse: collapse;
}

.kompakt-modus.active th,
.kompakt-modus.active td {
  padding: 4px 6px;
  white-space: nowrap;
}

.kompakt-modus.active input[type="text"],
.kompakt-modus.active select,
.kompakt-modus.active .nice-select {
  font-size: 13px;
  height: 28px;
  padding: 3px 5px;
}

.kompakt-modus.active .type-icon {
  max-height: 18px;
  max-width: 24px;
}

.kompakt-modus.active .nice-select {
  font-size: 13px;
  height: 28px;
  line-height: 26px;
  padding-left: 5px;
  padding-right: 18px;
}

/* Bezeichnungsfeld breiter bei deaktiviertem Kompaktmodus */
#lock-positions:not(.active) td:nth-child(2) input[type="text"] {
  width: 100%;
  max-width: 220px;
}

/* Dropdowns über scrollbare Container hinaus sichtbar machen */
.lk-scroll-wrapper {
  overflow-y: visible !important;
  position: relative;
  z-index: 1;
}

.nice-select {
  position: relative;
  /*z-index: 10;*/
}
.nice-select .list {
  z-index: 9999 !important;
  position: absolute !important;
}

/* Schutz gegen Icon-Überlauf */
.type-icon-select-wrap {
  flex-wrap: nowrap;
  overflow: visible;
  min-width: 0;
}

.type-icon {
  flex-shrink: 0;
}

/* Anpassung der matrix-Spalten für Schlüssel */
.schluessel-matrix {
    min-width: 45px;     /* vorher: 36px */
    max-width: 54px;     /* vorher: 40px */
    padding: 2px 4px;
    text-align: center;
    font-size: 0.97em;    /* etwas kleiner */
    white-space: nowrap;
    vertical-align: middle;
}

.schluessel-matrix input[type="checkbox"] {
  width: 14px;
  height: 14px;
}

#lock-positions th.schluessel-matrix {
    font-size: 1em;
    font-weight: 600;
    letter-spacing: 0.02em;
    vertical-align: top;
}


.remove-key-column {
    font-family: Arial, "Segoe UI Symbol", "Segoe UI", "Noto Sans Symbols", "Noto Sans", "Liberation Sans", "sans-serif";
    font-size: 18px !important;
    font-weight: 400 !important;
    color: #c0392b !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 2px !important;
    margin-left: 4px !important;
    vertical-align: middle;
    cursor: pointer;
    line-height: 1;
    opacity: 0.8;
    transition: opacity 0.15s;
    display: inline-block;
}
.remove-key-column:hover, 
.remove-key-column:focus {
    color: #a93226 !important;
    opacity: 1;
    outline: none;
    box-shadow: none;
}


.lk-toggle-switch {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 24px;
  background: #ddd;
  border-radius: 14px;
  transition: background 0.3s;
  vertical-align: middle;
}
.lk-toggle-switch::after {
  content: "";
  position: absolute;
  left: 2px; top: 2px;
  width: 20px; height: 20px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.3s;
  box-shadow: 0 1px 5px rgba(0,0,0,0.13);
}
input[type="checkbox"]:checked + .lk-toggle-switch {
  background: #4caf50;
}
input[type="checkbox"]:checked + .lk-toggle-switch::after {
  left: 24px;
}

#lock-positions-scroll,
#lock-positions-scroll * {
  overflow-y: visible !important;
  max-height: none !important;
  height: auto !important;
}
#lock-positions-scroll,
#lock-positions-scroll th,
#lock-positions-scroll td,
#lock-positions-scroll tr,
#lock-positions-scroll table,
#lock-positions-scroll thead,
#lock-positions-scroll tbody {
  overflow-y: visible !important;
  max-height: none !important;
  height: auto !important;
}
.nice-select .list {
  z-index: 99999 !important;
}

.nice-select.open .list {
  display: block !important;
}

.modal-trigger {
  padding: 6px 12px;
  background: #4CAF50;
  border: 1px solid #ccc;
  cursor: pointer;
  border-radius: 4px;
}
.modal-trigger.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.lk-modal-choice-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 130px;
  /*height: 80px;*/
  padding: 8px 10px;
  font-size: 1em;
  border-radius: 12px;
  background-color: #4caf50;
  color: white;
  border: none;
  cursor: pointer;
  text-align: center;
  gap: 10px;
  transition: background-color 0.2s ease;
  box-sizing: border-box;
}

.lk-modal-choice-btn img {
  height: 28px;
  width: auto;
}


.lk-modal-choice-btn span {
  display: inline-block;
  line-height: 1.2;
  /*word-break: break-word;*/
}

.lk-modal-choice-btn:hover {
  background-color: #43a047;
}

#lk-modal-options {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

#lk-modal-options .lk-modal-choice-btn {
  flex: 0 1 calc(45% - 12px); /* zwei Spalten, mit Abstand */
  padding: 10px 14px;
  font-size: .9em;
  border-radius: 10px;
  background-color: #4caf50;
  color: white;
  border: none;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.2s ease;
}

#lk-modal-options .lk-modal-choice-btn:hover {
    background: #45a045;
}

#lk-modal-options .lk-modal-choice-btn img {
    height: 32px;
    width: auto;
}
.lk-modal-choice-btn::before {
    content: none !important;
}

#lk-modal .lk-modal-content {
    max-height: 80vh;
    overflow-y: auto;
}

.lk-table-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  max-width: 100%;
  height: auto;
  -webkit-overflow-scrolling: touch;
}

.key-label-input {
  background: #f9f9f9;
  font-family: inherit;
  outline: none;
  padding: 2px;
  box-sizing: border-box;
}
.key-label-input::placeholder {
  color: #aaa;
}

/* --- Safari: vertikal/verdrehte Live-Eingabe in Key-Inputs fixen --- */
#lk-configurator .lk-keys-table input[type="text"],
#lk-configurator .lk-keys-table input[type="number"],
#lk-configurator .lk-keys-table input.key-name,
#lk-configurator .lk-keys-table textarea {
  /* Writing-Mode zwangsweise horizontal */
  writing-mode: horizontal-tb !important;
  -webkit-writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;

  /* sicherheitshalber alle Rotationen/3D-Trigger raus */
  transform: none !important;
  -webkit-transform: none !important;

  /* vermeidet Rendering-Glitches beim Schreiben */
  letter-spacing: normal;
  line-height: 1.2; /* nicht 0 oder extrem klein */
}

@supports (-webkit-touch-callout: none) {
  #lk-configurator .lk-keys-table input[type="text"],
  #lk-configurator .lk-keys-table input[type="number"],
  #lk-configurator .lk-keys-table input.key-name {
    writing-mode: horizontal-tb !important;
    -webkit-writing-mode: horizontal-tb !important;
  }
}

/* Falls du vertikale Header nutzt: Rotation NUR auf ein inneres Span anwenden,
   nicht auf das komplette th/td – so wird nichts geerbt. */
#lk-configurator .lk-keys-table th .v-label {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg); /* hält Buchstaben lesbar */
}

/* und sicherstellen, dass th/td selbst nichts vertikal erzwingen */
#lk-configurator .lk-keys-table th,
#lk-configurator .lk-keys-table td {
  writing-mode: horizontal-tb;      /* explizit setzen */
  -webkit-writing-mode: horizontal-tb;
  transform: none;
}

.lk-repaint { -webkit-transform: translateZ(0); transform: translateZ(0); }


/* Kompakter Modus bei aktivem Schließanlagenmodus */

/*
#lock-positions.kompakt-tabelle {
    font-size: 11px;
}



#lock-positions.kompakt-tabelle textarea.key-label-input {
    height: 100px;
    width: 24px;
    font-size: 11px;
}

#lock-positions.kompakt-tabelle {
    font-size: 10px;
}

#lock-positions.kompakt-tabelle th,
#lock-positions.kompakt-tabelle td {
  min-width: 28px !important;
  padding: 2px 3px !important;
  font-size: 10px;
}

#lock-positions.kompakt-tabelle .key-label-input {
  width: 20px !important;
  height: 70px !important;
  font-size: 9px !important;
}

#lock-positions.kompakt-tabelle .remove-key-column svg {
    width: 10px;
    height: 10px;
}

#lock-positions.kompakt-tabelle button {
    font-size: 10px;
    padding: 2px 4px;
}

#lock-positions td button.modal-trigger {
    font-size: 11px;
    padding: 2px 6px;
    min-width: 40px;
}


#lock-positions.kompakt-tabelle .schluessel-matrix {
  min-width: 30px !important;
  max-width: 36px !important;
  padding: 1px 2px !important;
  font-size: 9px;
}
*/

button.increase-key-qty,
button.decrease-key-qty {
  color: #333 !important;
  font-size: 16px;
  line-height: 1;
  padding: 0 4px;
  border: none;
  background: none;
  cursor: pointer;
}

button.modal-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 4px 10px;
  height: 36px;               /* ✔ feste Höhe */
  min-width: 160px;           /* ✔ feste Breite */
  max-width: 160px;
  font-size: 14px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-sizing: border-box;
  flex-shrink: 0;
}

button.modal-trigger span {
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1 1 auto;
  text-align: center;
}

button.modal-trigger img {
  flex-shrink: 0;
  height: 18px;
  width: auto;
  display: inline-block;
  vertical-align: middle;
}

body.lk-mode-anlage button.modal-trigger {
  font-size: 12px;
  height: 32px;
  min-width: 140px;
  max-width: 140px;
  padding: 2px 8px;
  gap: 4px;
  border-radius: 6px;
}

body.lk-mode-anlage button.modal-trigger img {
  height: 16px;
}

#lock-positions th.schluessel-hauptschluessel .key-label-input {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  /*transform: rotate(180deg); /* falls die Leserichtung umgekehrt ist, anpassen */
  white-space: nowrap;
}

/* Preis- und Lieferzeit-Box */
.price-delivery {
  margin-top: 8px;
  /* Linksbündige Ausrichtung, passt in das Flex-Layout */
  text-align: left;
}

.price-line {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
}

.price-note {
  display: block;
  font-size: 0.8rem;
  color: #666;
  margin-top: 2px;
}

.delivery {
  font-size: 0.9rem;
  color: #333;
  margin-top: 6px;
}

/* LK Image Preview Modal */
.lk-img-preview-modal {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 2000;
}
.lk-img-preview-overlay {
  position: absolute;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
}
.lk-img-preview-content {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  max-width: 90%;
  max-height: 90%;
  background: #fff;
  padding: 10px;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.lk-img-preview-img {
  display: block;
  max-width: 100%;
  max-height: 80vh;
  margin: 0 auto;
}
.lk-img-preview-close {
  position: absolute;
  top: 6px; right: 8px;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.lk-thumb { 
  cursor: pointer; 
}

/* Unsichtbare Platzhalter-Zellen: belegen Breite wie echte Schlüsselspalten */
.schluessel-ghost {
  visibility: hidden;          /* Inhalt + Rahmen weg, Breite bleibt */
  pointer-events: none;
}

#lock-positions th.schluessel-ghost,
#lock-positions td.schluessel-ghost {
  visibility: hidden;            /* Inhalt ausblenden, Platz behalten */
  border: none !important;       /* keine Linien */
  background: transparent !important;
  padding: 0 !important;
  box-shadow: none !important;
  pointer-events: none;
}

/* Fix für Safari: Kerning/Ligaturen aus, minimaler Letter-Spacing-Impuls */
.is-safari .lk-keyname-input {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-kerning: none;
  font-feature-settings: "kern" 0, "liga" 0, "calt" 0, "clig" 0;
  letter-spacing: 0.02em;               /* leicht auseinanderziehen */
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  backface-visibility: hidden;
  transform: translateZ(0);              /* eigene Compositing-Layer */
}

/* Falls du die Inputs per transform drehst: 
   Safari-only statt Rotation -> writing-mode verwenden */
.is-safari .lk-keyname-input.lk-rotated {
  transform: none !important;
  writing-mode: vertical-rl;             /* Text senkrecht */
  text-orientation: upright;
  line-height: 1;
  white-space: pre;
  /* oft nötig, damit Cursor/Innenabstand stimmt: */
  padding: 6px 4px;
  width: 1.8em;                          /* schmale Spalte */
  height: 100%;
}

/* === Schritt 2: "Card"-Look für die Systemliste === */
#lk-step2 .lk-systems {
  width: 100%;
  border-collapse: separate;   /* nicht mehr zusammenfallen lassen */
  border-spacing: 0 12px;      /* vertikale Abstände zwischen den Zeilen */
}

#lk-step2 .lk-systems thead th {
  border: 0;                   /* Kopfzeile ohne Kasten */
  background: transparent;
  color: #666;
  font-weight: 600;
  text-align: left;
  padding: 6px 10px;
}

#lk-step2 .lk-systems th,
#lk-step2 .lk-systems td {
  border: 0 !important;        /* überschreibt die globalen Tabellen-Borders */
  background: transparent;
  vertical-align: middle;
  text-align: left;
}

#lk-step2 .lk-systems tbody .lk-system-row {
  background: #fff;            /* "Karte" */
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,.08);
}

#lk-step2 .lk-systems tbody .lk-system-row:hover {
  box-shadow: 0 6px 18px rgba(0,0,0,.10);
  transform: translateY(-1px);
  transition: box-shadow .2s ease, transform .2s ease;
}

#lk-step2 .lk-systems tbody td {
  padding: 16px 18px;
}

/* Spalten-Feintuning (Reihenfolge bleibt identisch) */
#lk-step2 .lk-systems tbody td:nth-child(1) { /* Schließsystem: Bild + Name */
  width: 48%;
}
#lk-step2 .lk-systems tbody td:nth-child(2) { /* Sicherheitsstufe (Icon) */
  width: 18%;
  text-align: center;
}
#lk-step2 .lk-systems tbody td:nth-child(3) { /* Sprintlieferung / Details */
  width: 22%;
}
#lk-step2 .lk-systems tbody td:nth-child(4) { /* Aktion */
  width: 12%;
  text-align: right;
}

/* Vorschaubild im ersten Feld */
#lk-step2 .lk-systems .lk-thumb {
  width: 150px;
  height: auto;
  display: block;
}

/* Preis-/Lieferinfos (du hast diese Klassen bereits im Markup) */
#lk-step2 .lk-systems .price-line {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 6px;
}

#lk-step2 .lk-systems .price {
  font-size: clamp(1.25rem, 1.2vw + 1rem, 1.75rem); /* größer, adaptiv */
  font-weight: 800;                                  /* richtig fett */
  line-height: 1;
  color: #000;
  font-variant-numeric: tabular-nums;                /* gleichbreite Ziffern */
  letter-spacing: -0.01em;
}

#lk-step2 .lk-systems .price-note {
  display:block;
  font-size: .8rem;
  color:#666;
  margin-top:2px;
}
#lk-step2 .lk-systems .delivery {
  font-size: .9rem;
  color:#333;
  margin-top: 6px;
}

/* Call to action wie im Screenshot (rot statt grün, nur hier) */
#lk-step2 .lk-systems .select-system {
  background: #4CAF50;
  border-radius: 6px;
  padding: 10px 14px;
}
#lk-step2 .lk-systems .select-system:hover {
  background: #f3ae3d;
}

#lk-step2 .lk-sprint-toggle-wrap {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: .25rem;
  user-select: none;
}
#lk-step2 .lk-sprint-toggle-wrap input {
  transform: translateY(1px);
}
#lk-step2 .lk-sprint-toggle-wrap span {
  font-size: .9rem;
}


/* STEP 2 – Details zusammenklappbar */
#lk-step2 .custom-html {
  position: relative;
}

/* Startzustand: eingeklappt */
#lk-step2 .custom-html.lk-collapsed {
  max-height: 120px;           /* genug für Überschrift + 1–2 Absätze */
  overflow: hidden;
}

/* Aufzählungen im eingeklappten Zustand generell ausblenden */
#lk-step2 .custom-html.lk-collapsed ul,
#lk-step2 .custom-html.lk-collapsed ol {
  display: none;
}

/* weicher Fade unten */
#lk-step2 .custom-html.lk-collapsed::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 42px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), #fff);
  pointer-events: none;
}

/* ausgeklappt: volle Höhe */
#lk-step2 .custom-html.lk-expanded {
  max-height: none;
}

/* Toggle-Button unter den Details */
#lk-step2 .lk-details-toggle {
  margin-top: 6px;
  background: none;
  border: none;
  color: #0a6ebd;
  text-decoration: underline;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 0;
}
#lk-step2 .lk-details-toggle:focus { outline: 2px dotted #0a6ebd; outline-offset: 2px; }
