@charset "UTF-8";
/* Überschreibt die Standard-Schriftgröße */
body {
  font-size: 1em;
}

.adder .number-wrapper input {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  height: 2.9rem;
  padding-left: 10px !important;
  padding-right: 0 !important;
}
.adder button {
  border-top-right-radius: 0.25rem !important;
  border-bottom-right-radius: 0.25rem !important;
  font-size: 0.7em;
  line-height: 1;
  max-width: 160px;
  height: 2.9rem;
  padding-left: 5px;
  padding-right: 5px;
  white-space: normal;
}

.box.input {
  background-color: #fff;
  border-radius: 0.5rem;
  min-height: 4rem;
  padding: 0.5em;
  margin: 2px;
}
.box.input input[type=number] {
  padding-left: 0.4rem !important;
  padding-right: 0.4rem !important;
}

.bestellung-item[data-slug=system-bohrung] .anzahl {
  background-color: transparent;
  font-size: 1em;
  padding-left: 2px;
}

.toggle-buttons {
  display: flex;
  /* Added to create a row of buttons */
}
.toggle-buttons .toggle-button {
  align-items: center;
  border: 1px solid var(--e-global-color-secondary);
  display: flex;
  gap: 0 0.5em;
  justify-content: space-between;
  border-radius: 0;
}
.toggle-buttons .toggle-button:hover img, .toggle-buttons .toggle-button.active img {
  filter: invert(100%);
}
.toggle-buttons .toggle-button:first-child {
  border-top-left-radius: 0.25rem;
  border-bottom-left-radius: 0.25rem;
}
.toggle-buttons .toggle-button:last-child {
  border-top-right-radius: 0.25rem;
  border-bottom-right-radius: 0.25rem;
}

.anim-row {
  overflow: hidden;
  transition: all 0.3s;
  transform: scaleY(1);
}
.anim-row.closed {
  transform: scaleY(0);
  max-height: 0;
  min-height: 0 !important;
  padding: 0 !important;
}

.anim-row.input-rund .wrapper-durchmesser.closed {
  display: none;
}
.anim-row.input-rund .wrapper-senkung-gewinde.closed {
  display: none;
}

.tab-content-1 > div > .row {
  max-height: 64px;
}

.bestellung-item {
  border-bottom: 1px solid var(--e-global-color-secondary);
  margin-bottom: 5px;
  padding-bottom: 5px;
}
.bestellung-item input[type=number] {
  padding: 0.4rem !important;
}
.bestellung-item .delete-btn {
  align-items: center;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  margin-top: 3px;
  padding: 0;
  height: 22px;
  width: 22px;
}
.bestellung-item .delete-btn svg {
  width: 16px !important;
  height: 16px !important;
}
.bestellung-item .anzahl {
  margin-right: 10px;
  width: 40px;
}
.bestellung-item .anzahl input {
  padding: 0 2px !important;
}
.bestellung-item .gehaeuse-indicator {
  margin-right: 4px;
  width: 26px;
}
.bestellung-item .title {
  font-size: 1rem;
}

#renderCanvas,
.ui-slider-handle {
  cursor: grab;
}
#renderCanvas:active,
.ui-slider-handle:active {
  cursor: grabbing;
}
#renderCanvas:focus,
.ui-slider-handle:focus {
  outline: none;
}

.select {
  min-width: 120px;
  max-width: 180px;
}

#heightUnits .select {
  min-width: 120px;
  max-width: 180px;
  width: 100%;
}

#rack-oberflaeche .select {
  min-width: 100px;
  max-width: 140px;
  width: 100%;
}

#heightUnits {
  flex: 1 1 180px !important;
  min-width: 150px !important;
}
@media (max-width: 900px) and (min-width: 700px) {
  #heightUnits {
    flex: 0 1 40% !important;
    min-width: 140px !important;
    max-width: 180px !important;
  }
}
@media (max-width: 700px) and (min-width: 600px) {
  #heightUnits {
    flex: 0 1 100% !important;
    min-width: 150px !important;
    max-width: 100% !important;
    order: 1 !important;
  }
}
@media (max-width: 600px) {
  #heightUnits {
    flex: 1 1 100% !important;
    min-width: auto !important;
    max-width: 100% !important;
    order: 1 !important;
  }
}

#rack-oberflaeche {
  flex: 1 1 160px !important;
  min-width: 130px !important;
}
@media (max-width: 900px) and (min-width: 700px) {
  #rack-oberflaeche {
    flex: 0 1 40% !important;
    min-width: 120px !important;
    max-width: 160px !important;
  }
}
@media (max-width: 700px) and (min-width: 600px) {
  #rack-oberflaeche {
    flex: 0 1 100% !important;
    min-width: 130px !important;
    max-width: 100% !important;
    order: 2 !important;
  }
}
@media (max-width: 600px) {
  #rack-oberflaeche {
    flex: 1 1 100% !important;
    min-width: auto !important;
    max-width: 100% !important;
    order: 2 !important;
  }
}

@media (max-width: 700px) and (min-width: 600px) {
  .box.input:has(#stueckzahl),
label:has(#stueckzahl) {
    order: 3 !important;
  }
}
@media (max-width: 600px) {
  .box.input:has(#stueckzahl),
label:has(#stueckzahl) {
    order: 3 !important;
  }
}

@media (max-width: 700px) and (min-width: 600px) {
  #stueckzahl {
    order: 3 !important;
  }
}
@media (max-width: 600px) {
  #stueckzahl {
    order: 3 !important;
  }
}

.shrink-x {
  flex-grow: 0 !important;
  width: 0 !important;
}

.mb-expand {
  padding: 8px;
}

.mb-main, .mb-konfigurator {
  box-sizing: border-box;
  /* Padding wird in die Gesamtgröße eingerechnet */
}

@media (max-width: 767px) {
  /* Nur die gewünschten Container auf block setzen */
  .mb-konfigurator,
.elementor-element-1d4d468,
.elementor-element-1053de6,
.elementor-element-4bdb9ae {
    display: block !important;
  }
}
#bodyDimensions, #versatzContainer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

#bodyDimensions .flex {
  flex-direction: row;
  gap: 8px;
}
#bodyDimensions .flex > div {
  flex: 1;
  min-width: 0;
}
#bodyDimensions .flex > div input {
  width: 70px !important;
  min-width: 70px !important;
  max-width: 80px;
}
@media (max-width: 320px) {
  #bodyDimensions .flex {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  #bodyDimensions .flex > div {
    justify-content: space-between;
    width: 100%;
  }
  #bodyDimensions .flex > div span {
    font-size: 0.875rem;
  }
  #bodyDimensions .flex > div input {
    width: 60px !important;
    min-width: 60px !important;
  }
}

.input-rack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.input-rack .row-1 {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: stretch;
  width: 100%;
}
.input-rack .row-1 .box.input {
  flex: 0 1 auto;
  min-width: 120px;
  max-width: 100%;
}
.input-rack .row-1 .box.input:has(#heightUnits) {
  flex: 0 1 200px;
  min-width: 150px;
  max-width: 250px;
}
.input-rack .row-1 .box.input:has(#rack-oberflaeche) {
  flex: 0 1 180px;
  min-width: 130px;
  max-width: 220px;
}
.input-rack .row-1 .box.input:has(#stueckzahl) {
  flex: 0 0 120px;
  min-width: 100px;
  max-width: 150px;
}
@media (max-width: 900px) and (min-width: 700px) {
  .input-rack .row-1 .box.input:has(#heightUnits) {
    flex: 0 1 40%;
    min-width: 140px;
    max-width: 180px;
  }
  .input-rack .row-1 .box.input:has(#rack-oberflaeche) {
    flex: 0 1 40%;
    min-width: 120px;
    max-width: 160px;
  }
  .input-rack .row-1 .box.input:has(#stueckzahl) {
    flex: 0 0 100px;
    min-width: 80px;
  }
}
@media (max-width: 700px) and (min-width: 600px) {
  .input-rack .row-1 .box.input:has(#heightUnits) {
    flex: 0 1 100%;
    min-width: 150px;
    max-width: 100%;
    order: 1;
  }
  .input-rack .row-1 .box.input:has(#rack-oberflaeche) {
    flex: 0 1 100%;
    min-width: 130px;
    max-width: 100%;
    order: 2;
  }
  .input-rack .row-1 .box.input:has(#stueckzahl) {
    flex: 0 0 120px;
    min-width: 100px;
    order: 3 !important;
  }
}
@media (max-width: 600px) {
  .input-rack .row-1 {
    flex-direction: column;
  }
  .input-rack .row-1 .box.input {
    flex: 1;
    min-width: auto;
    max-width: 100%;
  }
  .input-rack .row-1 .box.input:has(#heightUnits) {
    order: 1;
  }
  .input-rack .row-1 .box.input:has(#rack-oberflaeche) {
    order: 2;
  }
  .input-rack .row-1 .box.input:has(#stueckzahl) {
    order: 3 !important;
  }
}
.input-rack .row-2 {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: stretch;
  width: 100%;
}
.input-rack .row-2 .box.input:has(#bodyDimensions) {
  flex: 1 1 400px;
  min-width: 300px;
  max-width: 100%;
}
.input-rack .row-2 .box.input:has(#versatzContainer) {
  flex: 0 1 200px;
  min-width: 180px;
  max-width: 250px;
}
@media (max-width: 800px) {
  .input-rack .row-2 {
    flex-direction: column;
  }
  .input-rack .row-2 .box.input {
    flex: 1;
    min-width: auto;
    max-width: 100%;
  }
  .input-rack .row-2 .box.input:has(#bodyDimensions) {
    flex: 1;
  }
  .input-rack .row-2 .box.input:has(#versatzContainer) {
    flex: 0 0 auto;
  }
}

.tooltip-popup {
  position: absolute;
  /* Relativ zum BODY, aber fix */
  background: rgba(0, 0, 0, 0.9);
  color: white;
  padding: 10px 15px;
  border-radius: 6px;
  font-size: 14px;
  white-space: nowrap;
  z-index: 9999;
  display: none;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
  transform: scale(0.9);
  transition: transform 0.2s ease-out, opacity 0.2s ease-out;
  max-width: 300px;
}
.tooltip-popup.tooltip-error {
  background: rgba(220, 38, 38, 0.95);
  border-left: 4px solid #dc2626;
}
.tooltip-popup.tooltip-help {
  background: rgba(59, 130, 246, 0.95);
  border-left: 4px solid #3b82f6;
}
.tooltip-popup.tooltip-warning {
  background: rgba(245, 158, 11, 0.95);
  border-left: 4px solid #f59e0b;
}

/* Standard: Pfeil verstecken */
.tooltip-popup::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 8px;
  opacity: 0;
}

/* Pfeil LINKS (wenn Tooltip rechts vom Input ist) */
.tooltip-popup[data-position=right]::after {
  left: -16px;
  /* Etwas weiter raus */
  top: 50%;
  transform: translateY(-50%);
  border-color: transparent rgba(0, 0, 0, 0.9) transparent transparent;
  opacity: 1;
  position: absolute;
}

/* Pfeil RECHTS (wenn Tooltip links vom Input ist) */
.tooltip-popup[data-position=left]::after {
  right: -16px;
  /* Etwas weiter raus */
  top: 50%;
  transform: translateY(-50%);
  border-color: transparent transparent transparent rgba(0, 0, 0, 0.9);
  opacity: 1;
  position: absolute;
}

/* Pfeil OBEN (wenn Tooltip UNTER dem Input steht) */
.tooltip-popup[data-position=bottom]::after {
  left: 50%;
  top: -16px;
  /* Etwas weiter hoch */
  transform: translateX(-50%);
  border-color: transparent transparent rgba(0, 0, 0, 0.9) transparent;
  opacity: 1;
  position: absolute;
}

/* Pfeil UNTEN (wenn Tooltip ÜBER dem Input steht) */
.tooltip-popup[data-position=top]::after {
  left: 50%;
  bottom: -16px;
  /* Etwas weiter runter */
  transform: translateX(-50%);
  border-color: rgba(0, 0, 0, 0.9) transparent transparent transparent;
  opacity: 1;
  position: absolute;
}

/* Falls Tooltip zentriert ist → Pfeil ausblenden */
.tooltip-popup[data-position=center]::after {
  opacity: 0;
}

#form-response {
  margin-top: 1.5rem;
}
#form-response p {
  background-color: #4CAF50;
  color: #fff;
  padding: 1rem 1.5rem;
  border-radius: 0.25rem;
  font-size: 1.125rem;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}
#form-response.highlight-success p {
  animation: highlight 1.5s ease-in-out;
}
#form-response .error {
  background-color: #e53935;
  color: #fff;
}

@keyframes highlight {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
    filter: brightness(105%);
  }
  100% {
    transform: scale(1);
  }
}
/* Grundeinstellung für Box-Sizing */
form#anfrage-form *,
.elementor-form .elementor-field-group * {
  box-sizing: border-box !important;
}

/* Eingabefelder */
form#anfrage-form input[type=text],
form#anfrage-form input[type=tel],
form#anfrage-form input[type=email],
form#anfrage-form textarea,
.elementor-form .elementor-field-group input[type=text],
.elementor-form .elementor-field-group input[type=tel],
.elementor-form .elementor-field-group input[type=email],
.elementor-form .elementor-field-group textarea {
  background-color: #ffffff !important;
  border-width: 0px 0px 1px 0px !important;
  border-color: #59656F42 !important;
  border-bottom: 1px solid #59656F42 !important;
  border-radius: 0px !important;
  padding: 0.7rem 1rem !important;
  width: 100% !important;
  color: #333333 !important;
}

/* Fokus-Zustand */
form#anfrage-form input[type=text]:focus,
form#anfrage-form input[type=tel]:focus,
form#anfrage-form input[type=email]:focus,
form#anfrage-form textarea:focus,
.elementor-form .elementor-field-group input[type=text]:focus,
.elementor-form .elementor-field-group input[type=tel]:focus,
.elementor-form .elementor-field-group input[type=email]:focus,
.elementor-form .elementor-field-group textarea:focus {
  outline: none !important;
  border: solid #59656F !important;
  border-width: 1px 1px 2px 1px !important;
}

/* Labels */
form#anfrage-form label,
.elementor-form .elementor-field-label {
  display: block !important;
  margin-bottom: 0.5rem !important;
  color: #59656f !important;
  font-family: "Nunito Sans", sans-serif !important;
  font-size: 18px !important;
  font-weight: 400 !important;
}

/* Placeholder mit besserem Kontrast */
form#anfrage-form input::placeholder,
.elementor-form input::placeholder {
  color: #767676 !important;
  opacity: 1 !important;
}

/* Required-Markierung */
form#anfrage-form .required,
.elementor-form .required {
  color: var(--e-global-color-primary) !important;
}

/* Styling für den Button mit Icon */
/* Styling für den Button mit Icon */
.submit-button {
  background-color: var(--e-global-color-primary) !important;
  color: #ffffff !important;
  border: none !important;
  padding: 0.5rem 1.5rem !important;
  margin-top: 1em;
  font-size: 1rem !important;
  cursor: pointer !important;
  transition: all 0.3s !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
  width: 100% !important;
  text-transform: uppercase;
  font-weight: 500;
  display: block;
}

.submit-button-wrapper {
  width: 100%;
  display: block;
  margin: 0;
  /* Entfernt Standardabstände */
  padding: 0;
  /* Entfernt Standardabstände */
}

/* Für das p-Element, das den Button enthält */
form#anfrage-form p.submit-button-wrapper {
  width: 100%;
  margin: 0;
  padding: 0;
}

.submit-button:hover {
  filter: brightness(110%) !important;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15) !important;
}

.submit-button:focus {
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(227, 0, 15, 0.5) !important;
}

.button-content-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}

.button-icon {
  margin-right: 12px;
  /* Erhöhter Abstand zwischen Icon und Text */
  display: flex;
  align-items: center;
  justify-content: center;
}

.button-icon svg {
  position: relative;
  top: -1px;
  /* Feinabstimmung der vertikalen Ausrichtung */
}

.button-text {
  position: relative;
  top: 1px;
  /* Feinabstimmung der vertikalen Ausrichtung */
}

/* Required Sternchen */
span.required {
  color: #e3000f !important;
}

/* Styling für Platzhalter in den Formularfeldern mit der Farbe aus dem Screenshot */
/* Für alle Browser */
form#anfrage-form input::placeholder,
form#anfrage-form textarea::placeholder,
.elementor-form .elementor-field-group input::placeholder,
.elementor-form .elementor-field-group textarea::placeholder {
  font-size: 15px !important;
  line-height: 1.4 !important;
  color: #999999 !important;
  /* Hellgraue Farbe wie im Screenshot */
  font-family: var(--e-global-typography-text-font-family), Sans-serif !important;
  opacity: 1 !important;
}

/* Spezifisch für Firefox */
form#anfrage-form input::-moz-placeholder,
form#anfrage-form textarea::-moz-placeholder,
.elementor-form .elementor-field-group input::-moz-placeholder,
.elementor-form .elementor-field-group textarea::-moz-placeholder {
  font-size: 15px !important;
  line-height: 1.4 !important;
  color: #999999 !important;
  font-family: var(--e-global-typography-text-font-family), Sans-serif !important;
  opacity: 1 !important;
}

/* Spezifisch für Edge/IE */
form#anfrage-form input:-ms-input-placeholder,
form#anfrage-form textarea:-ms-input-placeholder,
.elementor-form .elementor-field-group input:-ms-input-placeholder,
.elementor-form .elementor-field-group textarea:-ms-input-placeholder {
  font-size: 15px !important;
  line-height: 1.4 !important;
  color: #999999 !important;
  font-family: var(--e-global-typography-text-font-family), Sans-serif !important;
}

/* Für Chrome, Safari und neuere Edge-Versionen */
form#anfrage-form input::-webkit-input-placeholder,
form#anfrage-form textarea::-webkit-input-placeholder,
.elementor-form .elementor-field-group input::-webkit-input-placeholder,
.elementor-form .elementor-field-group textarea::-webkit-input-placeholder {
  font-size: 15px !important;
  line-height: 1.4 !important;
  color: #999999 !important;
  font-family: var(--e-global-typography-text-font-family), Sans-serif !important;
}

/* Zusätzliche Sicherstellung der Mindesthöhe */
form#anfrage-form input[type=text],
form#anfrage-form input[type=tel],
form#anfrage-form input[type=email],
.elementor-form .elementor-field-group input[type=text],
.elementor-form .elementor-field-group input[type=tel],
.elementor-form .elementor-field-group input[type=email] {
  min-height: 40px !important;
}

#neue-anfrage-button {
  background-color: transparent;
  color: var(--e-global-color-text);
  border: 1px solid #a8a8a8;
  border-radius: 0.25rem;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 1.5rem;
  visibility: hidden;
  opacity: 0;
  height: 38px;
  min-height: 38px;
}
#neue-anfrage-button:hover {
  background-color: #a8a8a8;
  color: var(--e-global-color-text);
}
#neue-anfrage-button:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(129, 129, 129, 0.3);
}

/* Tooltip styles */
#global-tooltip {
  position: fixed;
  z-index: 10000;
  background: #333;
  color: white;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  pointer-events: none;
  white-space: normal;
  max-width: 300px;
  min-width: 100px;
  word-wrap: break-word;
  overflow-wrap: break-word;
  text-align: center;
  line-height: 1.4;
  display: none;
  /* Initially hidden */
  width: auto;
  height: auto;
  opacity: 0;
  /* Start with 0 opacity */
}

/* Input field visual feedback styles */
.input.input-focus {
  border-color: #007cba !important;
  box-shadow: 0 0 0 1px #007cba !important;
  transition: all 0.2s ease;
}

.input.input-valid {
  border-color: #28a745 !important;
  background-color: #f8fff9 !important;
  transition: all 0.2s ease;
}

.input.input-error {
  border-color: #dc3545 !important;
  background-color: #fff8f8 !important;
  animation: shake 0.5s ease-in-out;
  transition: all 0.2s ease;
}

/* Shake animation for invalid inputs */
@keyframes shake {
  0%, 100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-5px);
  }
  75% {
    transform: translateX(5px);
  }
}

/*# sourceMappingURL=wk-konfigurator.css.map */
