.selection-grid {
  width: 100vw;
  margin: 0 calc(50% - 50vw);
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 64px 56px;
  padding: 0 0 48px 0;
  background: #fff;
  font-family: 'PP Neue Montreal', sans-serif;
  color: #1a1a1a;
  min-height: 80vh;
  box-sizing: border-box;
}

.selection-item {
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 40px 40px 40px 40px;
  border-radius: 0.5rem;
  background: #fff;
  transition: background 0.2s;
  min-height: 220px;
  min-width: 0;
  position: relative;
  height: 100%;
}

.selection-item .dots {
  width: 80px;
  height: 80px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  justify-items: center;
  align-items: center;
  margin: 0;
  transition: grid-gap 0.35s cubic-bezier(.68,-0.55,.27,1.55);
}

.dots div {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  transition: background 0.3s, transform 0.4s cubic-bezier(.68,-0.55,.27,1.55);
  position: relative;
}

/* Farben für die Dots */
.dots div:nth-child(1) { background-color: #f97316; }
.dots div:nth-child(2) { background-color: #3b82f6; }
.dots div:nth-child(3) { background-color: #ec4899; }
.dots div:nth-child(4) { background-color: #3b82f6; }
.dots div:nth-child(5) { background-color: #ec4899; }
.dots div:nth-child(6) { background-color: #f97316; }
.dots div:nth-child(7) { background-color: #ec4899; }
.dots div:nth-child(8) { background-color: #f97316; }
.dots div:nth-child(9) { background-color: #3b82f6; }

/* Hover: Deutliches Verrutschen der Kreise */
.selection-item:hover .dots div,
.selection-item:focus-within .dots div {
  /* Default: keine Verschiebung */
}

.selection-item:hover .dots div:nth-child(1),
.selection-item:focus-within .dots div:nth-child(1) { transform: translate(-12px, -8px);}
.selection-item:hover .dots div:nth-child(2),
.selection-item:focus-within .dots div:nth-child(2) { transform: translateY(-14px);}
.selection-item:hover .dots div:nth-child(3),
.selection-item:focus-within .dots div:nth-child(3) { transform: translate(12px, -8px);}
.selection-item:hover .dots div:nth-child(4),
.selection-item:focus-within .dots div:nth-child(4) { transform: translate(-16px, 0);}
.selection-item:hover .dots div:nth-child(5),
.selection-item:focus-within .dots div:nth-child(5) { transform: none;}
.selection-item:hover .dots div:nth-child(6),
.selection-item:focus-within .dots div:nth-child(6) { transform: translate(16px, 0);}
.selection-item:hover .dots div:nth-child(7),
.selection-item:focus-within .dots div:nth-child(7) { transform: translate(-12px, 8px);}
.selection-item:hover .dots div:nth-child(8),
.selection-item:focus-within .dots div:nth-child(8) { transform: translateY(14px);}
.selection-item:hover .dots div:nth-child(9),
.selection-item:focus-within .dots div:nth-child(9) { transform: translate(12px, 8px);}

/* Hover: Hintergrund für Item */
.selection-item:hover,
.selection-item:focus-within {
  background: #F2F1F0 0% 0% no-repeat padding-box;
}

.selection-item .content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  height: 100%;
}

/* Überschrift (großer Text) */
.selection-item h3 {
  font-family: 'PP Neue Montreal', sans-serif !important;
  font-weight: 300 !important;
  font-size: 36px !important;
  margin: 0 0 1.2rem 0;
  line-height: 1.1;
  color: #23253a;
  letter-spacing: -0.01em;
  word-break: break-word;
}

/* Fließtext (kleiner Text) */
.selection-item p {
  font-family: 'PP Neue Montreal', sans-serif !important;
  font-size: 18px;
  color: #4d4f5c;
  margin: 0;
  max-width: 90%;
  line-height: 1.4;
  opacity: 0;
  font-weight: 300; 
  pointer-events: none;
  max-height: 0;
  transition: opacity 0.35s, max-height 0.35s;
}

/* Text beim Hover einblenden */
.selection-item:hover p,
.selection-item:focus-within p {
  opacity: 1;
  pointer-events: auto;
  max-height: 200px;
  transition: opacity 0.35s, max-height 0.35s;
}
.selection-item:not(:hover):not(:focus-within) p {
  opacity: 0;
  pointer-events: none;
  max-height: 0;
  transition: opacity 0.35s, max-height 0.35s;
}

/* Responsive Anpassungen */
@media (max-width: 1100px) {
  .selection-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: 40px 0;
    padding: 16px 0;
  }
  .selection-item {
    padding: 32px 24px;
    gap: 28px;
  }
  .selection-item h3 { font-size: 36px !important; }
  .selection-item p  { font-size: 18px; }
}

@media (max-width: 600px) {
  .selection-item {
    flex-direction: row;
    align-items: flex-start;
    gap: 20px;
    padding: 32px 16px 32px 16px; /* left und right Abstand 16px */
    border-radius: 0;
    min-height: unset;
  }
  .selection-item .dots {
    width: 80px;
    height: 80px;
    margin: 0;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
  }
  .dots div {
    width: 16px;
    height: 16px;
  }
  .selection-item .content {
    align-items: flex-start;
    justify-content: flex-start;
  }
  .selection-item h3 {
    font-size: 36px !important;
    margin-bottom: 0.6rem;
  }
  .selection-item p {
    font-size: 18px;
    max-width: 100%;
    margin-top: 0.5rem;
  }
}

@media (max-width: 600px) {
  .selection-item .dots {
    width: 64px;
    height: 64px;
  }
  .dots div {
    width: 12px;
    height: 12px;
  }
}