.team-block {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 20px;

  flex-wrap: wrap;
}

.team-block img {
  max-width: 200px;
  height: auto;
  border-radius: 8px;
  flex-shrink: 0;
}

.team-block .text {
  flex: 1;
  min-width: 250px;
}

/* Responsive: Bild oben, Text unten */
@media (max-width: 768px) {
  .team-block {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .team-block .text {
    text-align: left;
    width: 100%;
  }
}
img.test {
  border: 3px solid transparent;
  transition: border 0.3s ease, transform 0.3s ease;
  /* optional: sorgt dafür, dass die Vergrößerung nicht über den Rahmen hinausläuft */
  display: inline-block;
}

img.test:hover {
  border: 3px solid #f55000;
  transform: scale(1.05); /* leicht vergrößern */
}
ul.social-icons > li > a {
  font-size: 28px; /* Standard ist oft 14–16px */
}
@media (max-width: 768px) {
  #sp-header {
    margin-bottom: 10px;
  }
}
.sp-megamenu-parent > li.active > a,
.sp-megamenu-parent > li.current > a {
    text-decoration: underline !important;
}
.sppb-addon-image-carousel .sppb-carousel-item img {
  object-fit: cover;
  width: 100%;
  height: 300px; /* gleiche Höhe und Breite für Quadrat */
}
/* Abstand über dem Beitrag reduzieren */
#sp-main-body {
    margin-top: 5px !important;   /* minimaler Abstand, statt 100px */
    padding-top: 5px !important;
}
