/* skylabels Preisrechner – (C) 2026 GH Werbebeschriftungen */
.slr {
  --slr-ink: var(--sl-ink, #10202e);
  --slr-orange: var(--sl-orange, #ec7424);
  --slr-orange-dark: var(--sl-orange-dark, #b9520f);
  --slr-line: var(--sl-line, #dfe3e6);
  --slr-mute: var(--sl-mute, #4f5d6b);
  --slr-paper: var(--sl-paper, #f5f6f4);
  --slr-head: var(--sl-head, inherit);
  color: var(--slr-ink);
  text-align: left;
}
.slr *,
.slr *::before,
.slr *::after {
  box-sizing: border-box;
}
.slr-form {
  margin: 0;
  padding: 2rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 24px 50px -30px rgba(0, 0, 0, 0.6);
}
.slr-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: start;
}

/* Schritte */
.slr-step {
  margin: 0 0 1.75rem;
  padding: 0;
  border: 0;
  min-width: 0;
}
.slr-step:last-child {
  margin-bottom: 0;
}
.slr-step legend {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  float: none;
  width: auto;
  margin: 0 0 0.8rem;
  padding: 0;
  font-family: var(--slr-head);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.3;
  color: var(--slr-ink);
}
.slr-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  background: var(--slr-ink);
  color: #fff;
  font-size: 0.95rem;
}

/* Auswahlfelder */
.slr-options {
  display: grid;
  gap: 0.6rem;
}
.slr-options-material {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}
.slr-options-chips {
  display: flex;
  flex-wrap: wrap;
}
.slr-opt {
  position: relative;
  display: block;
  margin: 0;
  cursor: pointer;
}
.slr-opt input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.slr-opt-box {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  height: 100%;
  padding: 0.8rem 1rem;
  border: 2px solid var(--slr-line);
  border-radius: 8px;
  background: #fff;
  transition: border-color 0.15s, background-color 0.15s;
}
.slr-chip .slr-opt-box {
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.9rem;
  font-weight: 500;
}
.slr-opt-title {
  font-weight: 700;
  line-height: 1.3;
}
.slr-opt-desc {
  font-size: 0.875rem;
  color: var(--slr-mute);
}
.slr-opt:hover .slr-opt-box {
  border-color: var(--slr-ink);
}
.slr-opt input:checked + .slr-opt-box {
  border-color: var(--slr-orange);
  background: #fdf1e8;
}
.slr-opt input:focus-visible + .slr-opt-box {
  outline: 3px solid var(--slr-ink);
  outline-offset: 2px;
}

/* Form-Symbole */
.slr-shape {
  display: inline-block;
  flex: 0 0 auto;
  width: 22px;
  height: 15px;
  border: 2px solid currentColor;
}
.slr-shape-rect {
  border-radius: 4px;
}
.slr-shape-oval {
  border-radius: 50%;
}
.slr-shape-circle {
  width: 17px;
  height: 17px;
  border-radius: 50%;
}
.slr-shape-special {
  border-radius: 9px 2px 9px 2px;
}

/* Eingabefelder */
.slr-size,
.slr-request-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}
.slr-field {
  display: block;
  margin: 0;
}
.slr-field[hidden],
.slr [hidden] {
  display: none !important;
}
.slr-field-wide {
  grid-column: 1 / -1;
}
.slr-field-label {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.9rem;
  font-weight: 500;
}
.slr-field input,
.slr-field textarea {
  display: block;
  width: 100%;
  padding: 0.65rem 0.8rem;
  border: 2px solid var(--slr-line);
  border-radius: 8px;
  background: #fff;
  color: var(--slr-ink);
  font: inherit;
}
.slr-field input:focus,
.slr-field textarea:focus {
  border-color: var(--slr-ink);
  outline: none;
}
.slr-custom-qty {
  max-width: 260px;
  margin-top: 0.8rem;
}
.slr-hint {
  margin: 0.6rem 0 0;
  font-size: 0.875rem;
  color: var(--slr-mute);
}
.slr-check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin: 1rem 0 0;
  font-size: 0.95rem;
  cursor: pointer;
}
.slr-check input {
  flex: 0 0 auto;
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.2rem;
  accent-color: var(--slr-orange);
}
.slr-check a {
  color: var(--slr-orange-dark);
}
.slr-muted {
  color: var(--slr-mute);
}

/* Vorschau */
.slr-preview {
  margin: -0.25rem 0 1rem;
  padding: 0.5rem;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--slr-line);
}
.slr-preview-svg {
  display: block;
  width: 100%;
  height: auto;
  max-height: 210px;
}
.slr-preview-label {
  font-size: 12px;
  fill: var(--slr-mute);
}
.slr-preview-size {
  font-family: var(--slr-head);
  font-weight: 700;
  font-size: 17px;
  fill: var(--slr-ink);
}
.slr-note-next {
  color: var(--slr-orange-dark);
  font-weight: 700;
}
.slr-sample-address {
  margin-top: 0.9rem;
}

/* Ergebnis */
.slr-result {
  position: sticky;
  top: 6rem;
  padding: 1.5rem;
  border-radius: 10px;
  background: var(--slr-paper);
  border: 1px solid var(--slr-line);
}
.slr-result-title {
  margin: 0 0 1rem;
  font-family: var(--slr-head);
  font-weight: 700;
  font-size: 1.15rem;
}
.slr-price {
  display: flex;
  flex-direction: column;
  padding: 0.9rem 0;
  border-top: 1px solid var(--slr-line);
}
.slr-price-label {
  font-size: 0.9rem;
  color: var(--slr-mute);
}
.slr-price-net {
  font-family: var(--slr-head);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.25;
}
.slr-price-total .slr-price-net {
  font-size: 1.9rem;
  color: var(--slr-ink);
}
.slr-price-gross {
  font-size: 0.95rem;
  color: var(--slr-mute);
}
.slr-prices.is-invalid {
  opacity: 0.35;
}
.slr-error {
  margin: 0 0 0.8rem;
  padding: 0.7rem 0.9rem;
  border-radius: 8px;
  background: #fde7e4;
  color: #8a1f12;
  font-size: 0.95rem;
}
.slr-notes {
  margin: 0.4rem 0 1.25rem;
  padding: 0 0 0 1.1rem;
  font-size: 0.875rem;
  color: var(--slr-mute);
}
.slr-notes li {
  margin: 0.2rem 0;
}

/* Muster-Hinweis */
.slr-anchor {
  display: block;
  position: relative;
  top: -6rem;
}
.slr-sample-teaser {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border-left: 4px solid var(--slr-orange);
  border-radius: 6px;
  background: #fdf1e8;
}
.slr-sample-teaser p {
  margin: 0 0 0.4rem;
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--slr-ink);
}
.slr-sample-open {
  padding: 0;
  border: 0;
  background: none;
  color: var(--slr-orange-dark);
  font-family: var(--slr-head);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.slr-sample-open::after {
  content: " →";
}
.slr-sample-open:hover,
.slr-sample-open:focus-visible {
  color: var(--slr-ink);
}

/* Buttons */
.slr-btn {
  display: inline-block;
  width: 100%;
  padding: 0.9rem 1.4rem;
  border: 2px solid var(--slr-orange);
  border-radius: 6px;
  background: var(--slr-orange);
  color: var(--slr-ink);
  font-family: var(--slr-head);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  cursor: pointer;
}
.slr-btn:hover,
.slr-btn:focus-visible {
  background: var(--slr-ink);
  border-color: var(--slr-ink);
  color: #fff;
}
.slr-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Anfrage */
.slr-request {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 2px solid var(--slr-line);
}
.slr-request-title {
  margin: 0 0 0.4rem;
  font-family: var(--slr-head);
  font-size: 1.3rem;
  color: var(--slr-ink);
}
.slr-request .slr-hint {
  margin-bottom: 1.25rem;
}
.slr-request .slr-btn {
  width: auto;
  margin-top: 1.25rem;
}
.slr-hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.slr-status {
  margin: 1rem 0 0;
  font-weight: 500;
}
.slr-status.is-error {
  color: #8a1f12;
}
.slr-done {
  padding: 1rem 0;
}
.slr-done-title {
  margin: 0 0 0.5rem;
  font-family: var(--slr-head);
  font-weight: 700;
  font-size: 1.4rem;
}

@media (max-width: 991.98px) {
  .slr-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .slr-result {
    position: static;
  }
}
@media (max-width: 575.98px) {
  .slr-form {
    padding: 1.25rem;
  }
  .slr-request-grid {
    grid-template-columns: 1fr;
  }
  .slr-request .slr-btn {
    width: 100%;
  }
}
