.marketplace-item__header {
  display: flex;
  gap: 2rem;
}

.marketplace-item__icon {
  flex: 0 0 auto;
}

.marketplace-item__info {
  flex: 0 1 calc(100% / 3 * 2);
}
/* Contact Form */
.marketplace-contact {
  display: flex;
  gap: 3rem;
  align-items: flex-start; 
  padding: 2rem 0;
}

.marketplace-contact__form-wrapper {
  flex: 1 1 65%;
}

.marketplace-contact__title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.marketplace-contact__subtitle {
  color: #666;
  margin-bottom: 1.5rem;
}

.marketplace-contact__form input[type="text"],
.marketplace-contact__form input[type="email"],
.marketplace-contact__form select,
.marketplace-contact__form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  margin-bottom: 0.75rem;
  border: 1px solid #ddd;
  font-size: 1rem;
  font-family: inherit;
  background: #fff;
}

.marketplace-contact__form textarea {
  min-height: 120px;
  resize: vertical;
}

.marketplace-contact__form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  cursor: pointer;
}

.marketplace-contact__privacy {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1rem 0;
  font-size: 0.9rem;
}

.marketplace-contact__privacy input[type="checkbox"] {
  width: fit-content !important;
}

.marketplace-contact__privacy span {
  flex: 1;
  width: fit-content !important;
}
.marketplace-contact__privacy span a {
  font-weight: bolder; 
  color: var(--company-primary-color, #0078d4);
}
.marketplace-contact__form .btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border: 2px solid #e74c3c;
  color: #e74c3c;
  background: transparent;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s;
}

.marketplace-contact__form .btn:hover {
  background: #e74c3c;
  color: #fff;
}

/* Contact Card */
.marketplace-contact__card {
  flex: 0 0 300px;
  overflow: hidden;
  margin-top: 6.5rem; /* NEU: Entspricht ca. der Höhe von Title + Subtitle */
}

.marketplace-contact__card-header {
  background-color: var(--company-secondary-color, #8b5cf6);
  border-top: 8px solid var(--company-primary-color, #0ea5e9);
  position: relative;
  display: flex;
  justify-content: center;
  padding: 0.5rem 2rem 0;
  min-height: auto;
}

.marketplace-contact__card-header img {
  width: 220px;
  height: auto;
  object-fit: contain;
  object-position: bottom;
  position: relative;
  z-index: 1;
  align-self: flex-end;
}

.marketplace-contact__card-position {
  position: absolute;
  bottom: 0.1rem;
  left: 0;
  background-color: rgba(0, 0, 0, 0.15);
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.4rem 1.5rem 0.4rem 1rem;
  z-index: 2;
  backdrop-filter: blur(4px);
}

.marketplace-contact__card-body {
  background: #f0f0f0;
  padding: 1.25rem 1.5rem;
}

.marketplace-contact__card-name {
  display: block;
  font-size: 1.3rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 0.25rem;
}

.marketplace-contact__card-body a {
  color: var(--company-primary-color, #0078d4);
  font-size: 0.9rem;
  text-decoration: none;
}

.marketplace-contact__card-body a:hover {
  text-decoration: underline;
}
/* Success Message */
.marketplace-contact__success {
  flex: 1 1 65%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 2rem;
  text-align: center;
  margin-top: 6.5rem;
}

.marketplace-contact__success h2 {
  margin-bottom: 0.5rem;
}

.marketplace-contact__success p {
  color: #555;
  font-size: 1.1rem;
}
/* Customer Logos */
.marketplace-item__customer-logos {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #eee;
}

.marketplace-item__customer-logos-title {
  font-size: 1rem;
  font-weight: 600;
  color: #666;
  margin-bottom: 1rem;
}

.marketplace-item__customer-logos-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
}

.marketplace-item__customer-logo {
  flex: 0 0 auto;
}

.marketplace-item__customer-logo img {
  max-height: 40px;
  max-width: 120px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all 0.3s;
}

.marketplace-item__customer-logo img:hover {
  filter: grayscale(0%);
  opacity: 1;
}
@media (max-width: 768px) {
  .marketplace-contact {
    flex-direction: column;
    align-items: center;
  }
  .marketplace-contact__card {
    flex: 0 0 auto;
    max-width: 300px;
    order: -1;
    align-self: center;
    margin-top: 0; 
    margin-bottom: 2rem; 
  }
  .marketplace-contact__success {
    margin-top: 0;
    margin-bottom: 2rem;
}
}
