body {
  background-color: var(--color-sand) !important;
  font-family: var(--font-base) !important;
}

.design-section {
  width: 80vw;
  height: fit-content;
  margin: auto;
  margin-top: 50px;
}

.konfig {
  display: flex;
  flex-wrap: wrap;
}

.spalte {
  flex: 1 1 50%;
}

.bild {
  top: 0;
  position: sticky;
  height: fit-content;
}

#preisAnzeige-klein {
  display: none;
}

@media (max-width: 1154px) {
  .bild {
    position: static;
  }

  #preisAnzeige-groß {
    display: none;
  }

  #preisAnzeige-klein {
    display: block;
  }
}

.h5 {
  font-family: var(--font-accent);
  font-weight: 500;
  font-size: 32px;
  line-height: 40px;
  letter-spacing: 0;
  color: var(--color-black);
  margin: 2rem 0;
  text-align: left;
}

.Konfigurier {
  font-family: var(--font-accent);
  font-size: 32px;
  font-weight: 400;
  line-height: 14px;
  letter-spacing: 0;
  color: var(--color-black);
  text-align: left;
  margin-top: 5px;
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.h1 {
  font-family: var(--font-accent);
  font-size: 48px;
  font-weight: 900;
  line-height: 48px;
  letter-spacing: 0;
  color: var(--color-black);
  text-align: left;
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.shadow-line {
  all: unset;
  display: block;
  height: 2px;
  width: 85%;
  background-color: var(--color-black);
  box-shadow: 0 6px 6px rgba(0, 0, 0, 0.25);
  margin: 24px 0;
}

.martdiv {
  display: flex;
  margin: 20px 10px;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px 16px;
}

.mart {
  background-color: var(--color-white);
  border: none;
  border-radius: 10px;
  padding: 0 8px;
  margin-bottom: 10px;
  font-size: 24px;
  height: 40px;
  width: auto;
  font-weight: bold;
  color: var(--color-black);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: background-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  display: inline-block;
  text-align: center;
  white-space: nowrap;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.mart.active {
  background-color: var(--color-primary-light);
}

.mart[aria-pressed="false"]:hover {
  background-color: var(--color-gray-200);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
  transform: scale(1.05);
}

.farben {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: flex-start;
  margin: 16px 0;
}

.farbKreis-out {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--color-white);
  border: 0.5px solid var(--color-black);
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px;
  cursor: pointer;
  transition: box-shadow 0.2s ease-in-out;
}

.farbKreis-inn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.farbKreis-out:hover:not(.active) {
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
  transform: scale(1.05);
}

.farbKreis-out.active {
  border: 5px solid var(--color-black);
  transform: scale(1.05);
}

.aktuelleStoffe {
  background-color: var(--color-white);
  border: none;
  border-radius: var(--radius-lg);
  height: 60px;
  width: auto;
  padding: 0 15px;
  font-size: 24px;
  font-weight: bold;
  color: var(--color-black);
  cursor: pointer;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
  position: relative;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease-in-out;
}

.stoff-text {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.stoff-strich {
  display: block;
  height: 0.5px;
  background-color: var(--color-black);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  border-radius: 1px;
  width: 110%;
  margin-top: 2px;
}

.aktuelleStoffe.active {
  background-color: var(--color-primary-light);
}

.aktuelleStoffe[aria-pressed="false"]:hover {
  background-color: var(--color-gray-200);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
  transform: scale(1.05);
}

.center-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.center-row > .col-md-6 {
  flex: 0 1 250px;
  display: block;
  justify-content: center;
}

.custom-field-wrapper {
  position: relative;
  width: 100%;
}

.custom-input {
  width: 250px;
  height: 42px;
  padding: 0 130px 0 16px;
  border: 1px solid var(--color-border);
  border-radius: 5px;
  font-size: 20px;
  font-weight: bold;
  background-color: var(--color-white);
  box-shadow: inset 0 4px 4px rgba(0, 0, 0, 0.25);
  text-align: left;
}

.einheit {
  position: absolute;
  top: 50%;
  left: 90px;
  margin-left: 16px;
  transform: translateY(-50%);
  max-width: 150px;
  text-align: left;
  font-size: 20px;
  font-weight: bold;
  color: var(--color-dark-100);
  pointer-events: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.custom-input:focus {
  background-color: var(--color-white) !important;
  box-shadow: inset 0 4px 4px rgba(0, 0, 0, 0.25);
  outline: none;
}

input.custom-input:-webkit-autofill {
  box-shadow: inset 0 4px 4px rgba(0, 0, 0, 0.25), 0 0 0 1000px var(--color-white) inset !important;
  -webkit-text-fill-color: var(--color-black);
  caret-color: var(--color-black);
  transition: background-color 9999s ease-out, color 9999s ease-out;
}

input.custom-input::-webkit-outer-spin-button,
input.custom-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input.custom-input[type="number"] {
  appearance: textfield;
  -webkit-appearance: textfield;
  -moz-appearance: textfield;
}

.labell {
  font-weight: medium;
  font-size: 20px;
}

.warenkorb-button {
  display: inline-flex;
  align-items: center;
  background-color: var(--color-primary-action);
  padding: 8px 16px;
  border-radius: 25px;
  gap: 12px;
  margin: 20px auto;
}

.kaufen-btn {
  background: none;
  border: none;
  font-family: var(--font-accent);
  font-size: clamp(24px, calc(18.4615vw - 35.0769px), 48px);
  font-weight: 500;
  color: var(--color-black);
  cursor: pointer;
}

.anzahl-control {
  display: flex;
  align-items: center;
  background-color: var(--color-primary-tint);
  border-radius: var(--radius-sm);
  overflow: hidden;
  font-size: 24px;
}

.anzahl-btn {
  background: none;
  border: none;
  padding: 4px 8px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
}

.config-quantity-display {
  display: inline-block;
  width: 24px;
  text-align: center;
  font-weight: 600;
}

.info-content {
  display: none;
}

.info-content.active {
  display: block;
}

.error-input {
  border: 2px solid var(--color-danger);
}

.error-message {
  color: var(--color-danger);
  font-size: 0.8rem;
  margin-top: 2px;
}

.config-carousel {
  width: clamp(250px, calc(0.6061 * 100vw + 56px), 450px);
  height: auto;
  min-height: 375px;
  height: 500px;
  margin: 5px auto;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.arrow {
  transform: scale(1.3);
  opacity: 0;
  transition: opacity 0.5s;
}

.config-carousel .left {
  z-index: 1;
  position: absolute;
  top: 50%;
  left: 1.5%;
  cursor: pointer;
}

.config-carousel .right {
  z-index: 1;
  position: absolute;
  top: 50%;
  right: 2%;
  cursor: pointer;
}

.config-carousel:hover .arrow {
  opacity: 1;
}

.arrow:hover {
  transform: scale(1.45);
}

.karousel {
  display: none;
  width: clamp(250px, calc(0.6061 * 100vw + 56px), 450px);
  z-index: 0;
}

.karousel.active {
  display: block;
}

.karousel-punkte {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 10px;
  margin-bottom: 24px;
}

.karousel-punkte .punkt {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-white);
  outline: 1px solid var(--color-primary);
  cursor: pointer;
}

.punkt.active {
  background: var(--color-primary);
  box-shadow: 0 0 0 2px var(--color-primary);
}

.punkt:hover {
  transform: scale(1.1);
}
