.retrofit-hotspot-section {
  overflow: hidden;
  padding: 92px 0 104px;
  border-top: var(--niklas-border-default);
  background: var(--niklas-color-background);
}

.retrofit-hotspot__intro {
  max-width: 920px;
  margin: 0 0 38px;
}

.retrofit-hotspot__lead {
  max-width: 820px;
}

.retrofit-hotspot {
  position: relative;
}

.retrofit-hotspot__stage {
  position: relative;
  min-height: clamp(560px, 45vw, 650px);
  margin: 0 auto;
  background: var(--niklas-color-background);
}

.retrofit-hotspot__image {
  position: absolute;
  top: 0;
  left: 50%;
  display: block;
  width: min(78%, 930px);
  height: auto;
  max-height: 650px;
  object-fit: contain;
  transform: translateX(-50%);
  filter: contrast(1.08) brightness(1.025);
  user-select: none;
  pointer-events: none;
}

.retrofit-hotspot__point {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: 48px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--niklas-color-text);
  cursor: pointer;
}

.retrofit-hotspot__point--motors {
  top: 23.6%;
  left: 1%;
  width: 35.3%;
}

.retrofit-hotspot__point--cabinet {
  top: 40%;
  left: 1%;
  width: 45%;
}

.retrofit-hotspot__point--cooling {
  top: 10.6%;
  right: 1%;
  width: 47.6%;
}

.retrofit-hotspot__point--control {
  top: 44%;
  right: 1%;
  width: 38.4%;
}

.retrofit-hotspot__point--drives {
  top: 63.5%;
  right: 1%;
  width: 35.1%;
}

.retrofit-hotspot__label {
  flex: 0 0 auto;
  padding: 7px 10px;
  background: rgba(255, 255, 255, .94);
  font-size: var(--v5-button-font-size, .84rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .12em;
  white-space: nowrap;
  word-break: normal;
  -webkit-hyphens: auto;
  hyphens: auto;
}

.retrofit-hotspot__line {
  flex: 1 1 auto;
  height: 1px;
  background: var(--niklas-color-accent);
  transition: height var(--niklas-transition-default), box-shadow var(--niklas-transition-default);
}

.retrofit-hotspot__dot {
  position: relative;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  border: 2px solid var(--niklas-color-accent);
  background: var(--niklas-color-background);
  box-shadow: 0 0 0 0 rgba(0, 205, 189, 0);
  transition: transform var(--niklas-transition-default), background var(--niklas-transition-default), box-shadow var(--niklas-transition-default);
}

.retrofit-hotspot__dot::after {
  position: absolute;
  inset: 5px;
  background: var(--niklas-color-accent);
  content: "";
}

.retrofit-hotspot__point:hover .retrofit-hotspot__dot, .retrofit-hotspot__point:focus-visible .retrofit-hotspot__dot, .retrofit-hotspot__point.active .retrofit-hotspot__dot {
  transform: scale(1.12);
  background: var(--niklas-color-accent);
  box-shadow: 0 0 0 8px rgba(0, 205, 189, .18), 0 0 28px rgba(0, 205, 189, .5);
}

.retrofit-hotspot__point:hover .retrofit-hotspot__dot::after, .retrofit-hotspot__point:focus-visible .retrofit-hotspot__dot::after, .retrofit-hotspot__point.active .retrofit-hotspot__dot::after {
  background: var(--niklas-color-primary);
}

.retrofit-hotspot__point:hover .retrofit-hotspot__line, .retrofit-hotspot__point:focus-visible .retrofit-hotspot__line, .retrofit-hotspot__point.active .retrofit-hotspot__line {
  height: 2px;
  box-shadow: 0 0 12px rgba(0, 205, 189, .55);
}

.retrofit-hotspot__point:focus-visible {
  outline: 2px solid var(--niklas-color-accent-dark);
  outline-offset: 4px;
}

.retrofit-hotspot__details {
  position: relative;
  z-index: 3;
  max-width: 980px;
  min-height: 290px;
  margin: -8px auto 0;
}

.retrofit-hotspot__detail {
  padding: 34px 38px 36px;
  border-top: 3px solid var(--niklas-color-accent);
  background: var(--niklas-color-surface);
  box-shadow: 0 14px 40px rgba(24, 30, 29, .08);
}

.retrofit-hotspot__detail-index {
  margin-bottom: 14px;
}

.retrofit-hotspot__detail-title {
  margin: 0 0 14px;
}

.retrofit-hotspot__detail-text {
  max-width: 840px;
  margin: 0;
  color: var(--niklas-color-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.retrofit-hotspot__result {
  max-width: 840px;
  margin: 24px 0 0;
  padding: 16px 0 0 20px;
  border-left: 4px solid var(--niklas-color-accent);
  color: #53615e;
  font-size: .94rem;
  line-height: 1.6;
}

.retrofit-hotspot__result strong {
  color: var(--niklas-color-text);
  letter-spacing: .08em;
}

@media (max-width: 1199.98px) {
  .retrofit-hotspot-section {
    padding: 80px 0 92px;
  }
}

@media (max-width: 1199.98px) {
  .retrofit-hotspot__stage {
    min-height: 560px;
  }
}

@media (max-width: 1199.98px) {
  .retrofit-hotspot__image {
    width: min(76%, 820px);
  }
}

@media (max-width: 1199.98px) {
  .retrofit-hotspot__label {
    font-size: var(--v5-button-font-size, .84rem);
    min-width: 0;
    max-width: 100%;
    flex-shrink: 1;
    overflow-wrap: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  .retrofit-hotspot__line, .retrofit-hotspot__dot {
    transition: none;
  }
}

.testbench-product-page .retrofit-hotspot-section--guided .retrofit-hotspot__stage {
  min-height: 600px;
  transform: none;
  margin-bottom: 0;
}

.testbench-product-page .retrofit-hotspot-section--guided .retrofit-machine-panel .retrofit-hotspot__image {
  top: 50%;
  width: min(54%, 650px);
  height: auto;
  max-height: 590px;
  transform: translate(-50%, -50%);
  filter: none;
  object-fit: contain;
}

.testbench-product-page .testbench-hotspot__point--fixture {
  top: 58%;
  left: 1%;
  width: 45%;
}

.testbench-product-page .testbench-hotspot__point--connection {
  top: 82%;
  left: 1%;
  width: 59%;
}

.testbench-product-page .testbench-hotspot__point--measurement {
  top: 42%;
  right: 1%;
  width: 55%;
}

.testbench-product-page .testbench-hotspot__point--profiles {
  top: 66%;
  right: 1%;
  width: 35%;
}

.testbench-product-page .testbench-hotspot__point--report {
  top: 28%;
  right: 1%;
  width: 31%;
}

:is(.vision-check-product-page, .machine-loader-product-page, .surface-cell-product-page) .retrofit-hotspot-section--guided .retrofit-hotspot__stage {
  min-height: 700px;
  transform: none;
  margin-bottom: 0;
}

:is(.vision-check-product-page, .machine-loader-product-page, .surface-cell-product-page) .retrofit-hotspot-section--guided .retrofit-machine-panel .retrofit-hotspot__image {
  top: 50%;
  width: min(82%, 1080px);
  height: auto;
  max-height: 650px;
  transform: translate(-50%, -50%);
  filter: none;
  object-fit: contain;
}

.vision-check-product-page .vision-check-hotspot__point--feed {
  top: 55.5%;
  left: 1%;
  width: 20.5%;
}

.vision-check-product-page .vision-check-hotspot__point--camera {
  top: 41%;
  left: 1%;
  width: 36%;
}

.vision-check-product-page .vision-check-hotspot__point--recipes {
  top: 40.5%;
  right: 1%;
  width: 47.2%;
}

.vision-check-product-page .vision-check-hotspot__point--picker {
  top: 50%;
  right: 1%;
  width: 29.2%;
}

.vision-check-product-page .vision-check-hotspot__point--sorting {
  top: 59.2%;
  right: 1%;
  width: 28.2%;
}

.vision-check-product-page .vision-check-hotspot__point--data {
  top: 70.4%;
  right: 1%;
  width: 57.8%;
}

@media (max-width: 1199.98px) {
  :is(.vision-check-product-page, .machine-loader-product-page, .surface-cell-product-page) .retrofit-hotspot-section {
    display: block;
    padding: 72px 0 80px;
  }
}

@media (max-width: 1199.98px) {
  :is(.vision-check-product-page, .machine-loader-product-page, .surface-cell-product-page) .retrofit-hotspot-section--guided .retrofit-hotspot__stage {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    min-height: 0;
    padding: 0 0 8px;
  }
}

@media (max-width: 1199.98px) {
  :is(.vision-check-product-page, .machine-loader-product-page, .surface-cell-product-page) .retrofit-hotspot-section--guided .retrofit-machine-panel .retrofit-hotspot__image {
    position: relative;
    grid-column: 1 / -1;
    top: auto;
    left: auto;
    justify-self: center;
    width: min(100%, 720px);
    height: auto;
    max-height: none;
    margin: 0 0 8px;
    transform: none;
  }
}

@media (max-width: 1199.98px) {
  :is(.vision-check-product-page, .machine-loader-product-page, .surface-cell-product-page) .retrofit-hotspot__point {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    width: 100%;
    min-height: 52px;
    justify-content: center;
    border: 1px solid var(--niklas-color-border);
    background: var(--niklas-color-background);
  }
}

@media (max-width: 1199.98px) {
  :is(.vision-check-product-page, .machine-loader-product-page, .surface-cell-product-page) .retrofit-hotspot__point.active {
    border-color: var(--niklas-color-accent);
    background: var(--niklas-color-surface);
  }
}

@media (max-width: 1199.98px) {
  .vision-check-product-page .vision-check-hotspot__point--data {
    grid-column: auto;
  }
}

@media (max-width: 1199.98px) {
  :is(.vision-check-product-page, .machine-loader-product-page, .surface-cell-product-page) .retrofit-hotspot__line, :is(.vision-check-product-page, .machine-loader-product-page, .surface-cell-product-page) .retrofit-hotspot__dot {
    display: none;
  }
}

@media (max-width: 1199.98px) {
  :is(.vision-check-product-page, .machine-loader-product-page, .surface-cell-product-page) .retrofit-hotspot__label {
    white-space: normal;
    text-align: center;
    font-size: var(--v5-button-font-size, .84rem);
  }
}

@media (max-width: 1199.98px) {
  :is(.vision-check-product-page, .machine-loader-product-page, .surface-cell-product-page) .retrofit-hotspot__details {
    min-height: 0;
    margin: 16px auto 0;
  }
}

@media (max-width: 1199.98px) {
  :is(.vision-check-product-page, .machine-loader-product-page, .surface-cell-product-page) .retrofit-hotspot__detail {
    padding: 24px;
  }
}

@media (min-width: 1200px) {
  .machine-loader-product-page .retrofit-hotspot-section--guided .retrofit-machine-panel .retrofit-hotspot__image {
    width: min(68%, 940px);
  }
}

@media (min-width: 1200px) {
  .machine-loader-product-page .machine-loader-hotspot__point--magazine {
    top: 55%;
    left: 1%;
    width: 34%;
  }
}

@media (min-width: 1200px) {
  .machine-loader-product-page .machine-loader-hotspot__point--robot {
    top: 64%;
    left: 1%;
    width: 45.5%;
  }
}

@media (min-width: 1200px) {
  .machine-loader-product-page .machine-loader-hotspot__point--gripper {
    top: 43%;
    left: 1%;
    width: 47%;
  }
}

@media (min-width: 1200px) {
  .machine-loader-product-page .machine-loader-hotspot__point--machine {
    top: 30%;
    right: 1%;
    width: 44%;
  }
}

@media (min-width: 1200px) {
  .machine-loader-product-page .machine-loader-hotspot__point--operation {
    top: 41%;
    right: 1%;
    width: 25.5%;
  }
}

@media (min-width: 1200px) {
  .machine-loader-product-page .machine-loader-hotspot__point--safety {
    top: 68%;
    right: 1%;
    width: 34.5%;
  }
}

@media (min-width: 1200px) {
  .surface-cell-product-page .retrofit-hotspot-section--guided .retrofit-hotspot__stage {
    min-height: var(--v5-diagram-stage-height, 700px);
    height: var(--v5-diagram-stage-height, 700px);
    aspect-ratio: auto;
    container-type: inline-size;
  }
}

@media (min-width: 1200px) {
  .surface-cell-product-page .retrofit-hotspot-section--guided .retrofit-machine-panel .retrofit-hotspot__image {
    width: 82%;
    max-height: none;
    top: 50%;
    transform: translate(-50%, -50%);
  }
}

@media (min-width: 1200px) {
  .surface-cell-product-page .retrofit-hotspot-section--guided .retrofit-hotspot__point {
    min-height: 32px;
    height: 32px;
    transform: translateY(-50%);
  }
}

@media (min-width: 1200px) {
  .surface-cell-product-page .retrofit-hotspot-section--guided .retrofit-hotspot__point .retrofit-hotspot__label {
    width: 210px;
    flex-basis: 210px;
    text-align: right;
  }
}

@media (min-width: 1200px) {
  .surface-cell-product-page .retrofit-hotspot-section--guided .retrofit-hotspot__point--right .retrofit-hotspot__label {
    margin-left: auto;
    text-align: left;
  }
}

@media (min-width: 1200px) {
  .surface-cell-product-page .retrofit-hotspot-section--guided .retrofit-hotspot__point .retrofit-hotspot__dot {
    position: absolute;
    top: calc(50% + var(--surface-leader-dy) - 10px);
    right: 0;
  }
}

@media (min-width: 1200px) {
  .surface-cell-product-page .retrofit-hotspot-section--guided .retrofit-hotspot__point--right .retrofit-hotspot__dot {
    left: 0;
    right: auto;
  }
}

@media (min-width: 1200px) {
  .surface-cell-product-page .retrofit-hotspot-section--guided .retrofit-hotspot__point .retrofit-hotspot__line {
    position: absolute;
    left: 210px;
    right: 10px;
    top: var(--surface-leader-top);
    height: var(--surface-leader-height);
    clip-path: var(--surface-leader-clip);
    transition: opacity .18s ease-out;
    transform: none;
    box-shadow: none;
  }
}

@media (min-width: 1200px) {
  .surface-cell-product-page .retrofit-hotspot-section--guided .retrofit-hotspot__point--right .retrofit-hotspot__line {
    left: 10px;
    right: 210px;
  }
}

@media (min-width: 1200px) {
  .surface-cell-product-page .retrofit-hotspot-section--guided .surface-cell-hotspot__point--magazin {
    top: 73%;
    left: 1%;
    width: calc(8% + 82% * var(--surface-target-x) + 10px);
    --surface-leader-dy: calc(-0.22999999999999998 * var(--v5-diagram-stage-height, 700px) + (var(--surface-target-y) - .5) * 46.125cqw);
    --surface-leader-height: max(1px, var(--surface-leader-dy), calc(-1 * var(--surface-leader-dy)));
    --surface-leader-top: calc(50% + min(0px, var(--surface-leader-dy)));
    --surface-leader-clip: polygon(0 calc(100% - 1px), 100% 0, 100% 1px, 0 100%);
  }
}

@media (min-width: 1200px) {
  .surface-cell-product-page .retrofit-hotspot-section--guided .surface-cell-hotspot__point--robotik {
    top: 34%;
    left: 1%;
    width: calc(8% + 82% * var(--surface-target-x) + 10px);
    --surface-leader-dy: calc(0.15999999999999998 * var(--v5-diagram-stage-height, 700px) + (var(--surface-target-y) - .5) * 46.125cqw);
    --surface-leader-height: max(1px, var(--surface-leader-dy), calc(-1 * var(--surface-leader-dy)));
    --surface-leader-top: calc(50% + min(0px, var(--surface-leader-dy)));
    --surface-leader-clip: polygon(0 0, 100% calc(100% - 1px), 100% 100%, 0 1px);
  }
}

@media (min-width: 1200px) {
  .surface-cell-product-page .retrofit-hotspot-section--guided .surface-cell-hotspot__point--werkzeug {
    top: 49%;
    right: 1%;
    width: calc(90% - 82% * var(--surface-target-x) + 10px);
    --surface-leader-dy: calc(0.010000000000000009 * var(--v5-diagram-stage-height, 700px) + (var(--surface-target-y) - .5) * 46.125cqw);
    --surface-leader-height: max(1px, var(--surface-leader-dy), calc(-1 * var(--surface-leader-dy)));
    --surface-leader-top: calc(50% + min(0px, var(--surface-leader-dy)));
    --surface-leader-clip: polygon(0 calc(100% - 1px), 100% 0, 100% 1px, 0 100%);
  }
}

@media (min-width: 1200px) {
  .surface-cell-product-page .retrofit-hotspot-section--guided .surface-cell-hotspot__point--aufnahme {
    top: 62%;
    left: 1%;
    width: calc(8% + 82% * var(--surface-target-x) + 10px);
    --surface-leader-dy: calc(-0.12 * var(--v5-diagram-stage-height, 700px) + (var(--surface-target-y) - .5) * 46.125cqw);
    --surface-leader-height: max(1px, var(--surface-leader-dy), calc(-1 * var(--surface-leader-dy)));
    --surface-leader-top: calc(50% + min(0px, var(--surface-leader-dy)));
    --surface-leader-clip: polygon(0 calc(100% - 1px), 100% 0, 100% 1px, 0 100%);
  }
}

@media (min-width: 1200px) {
  .surface-cell-product-page .retrofit-hotspot-section--guided .surface-cell-hotspot__point--bedienung {
    top: 31%;
    right: 1%;
    width: calc(90% - 82% * var(--surface-target-x) + 10px);
    --surface-leader-dy: calc(0.19 * var(--v5-diagram-stage-height, 700px) + (var(--surface-target-y) - .5) * 46.125cqw);
    --surface-leader-height: max(1px, var(--surface-leader-dy), calc(-1 * var(--surface-leader-dy)));
    --surface-leader-top: calc(50% + min(0px, var(--surface-leader-dy)));
    --surface-leader-clip: polygon(0 calc(100% - 1px), 100% 0, 100% 1px, 0 100%);
  }
}

@media (min-width: 1200px) {
  .surface-cell-product-page .retrofit-hotspot-section--guided .surface-cell-hotspot__point--schutz {
    top: 78%;
    right: 1%;
    width: calc(90% - 82% * var(--surface-target-x) + 10px);
    --surface-leader-dy: calc(-0.28 * var(--v5-diagram-stage-height, 700px) + (var(--surface-target-y) - .5) * 46.125cqw);
    --surface-leader-height: max(1px, var(--surface-leader-dy), calc(-1 * var(--surface-leader-dy)));
    --surface-leader-top: calc(50% + min(0px, var(--surface-leader-dy)));
    --surface-leader-clip: polygon(0 0, 100% calc(100% - 1px), 100% 100%, 0 1px);
  }
}

@media (min-width: 1200px) {
  .surface-cell-product-page .retrofit-hotspot-section--guided .retrofit-hotspot__controlbar {
    position: relative;
    z-index: 3;
    min-height: var(--v5-control-height, 48px);
    margin-bottom: calc(-1 * var(--v5-control-height, 48px));
  }
}

