/* === SUCHPROFIL PAGE === */

.sp-wrap { padding-top: 60px; padding-bottom: 100px; }

.sp-hero {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 60px;
  align-items: end;
  margin-bottom: 30px;
}

.sp-hero__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 96px;
  line-height: 96px;
  letter-spacing: -0.02em;
  color: var(--color-text-heading);
  margin: 0;
}

.sp-hero__intro {
  font-family: var(--font-sans);
  font-size: 19px;
  line-height: 22.4px;
  color: var(--color-text-heading);
  margin: 0;
  padding-bottom: 14px;
}

.sp-cover {
  width: 100%;
  height: 650px;
  border-radius: 25px;
  background: url('../assets/suchprofil/image-1.webp') center/cover no-repeat, var(--color-bg-muted);
  margin: 75px 0 75px;
}

/* FAQ title */
.sp-faq__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 33.2px;
  color: var(--color-text-heading);
  text-align: center;
  margin: 0 0 40px;
}

/* FORM */
.sp-form-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 33.2px;
  color: var(--color-text-heading);
  text-align: center;
  margin: 0 0 40px;
}

.sp-form { max-width: 880px; margin-inline: auto; display: flex; flex-direction: column; gap: 16px; }

.sp-form__section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--color-text-heading);
  margin: 14px 0 0;
}

.sp-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sp-row--3 { grid-template-columns: 240px 1fr 1fr; }
.sp-row--full { display: block; }

.sp-field { display: flex; flex-direction: column; gap: 6px; }

.sp-field__label {
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--color-text-heading);
}

.sp-field__label .required-star {
  color: rgb(255, 0, 0);
}

.sp-field__input,
.sp-field__select,
.sp-field__textarea {
  border: 1px solid var(--color-border-input);
  border-radius: 30px;
  height: 56px;
  padding: 0 18px;
  background: var(--color-surface);
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--color-text-heading);
  width: 100%;
  appearance: none;
  outline: none;
}

.sp-field__select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%23002D2D' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='1 1.5 6 6.5 11 1.5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 12px;
  padding-right: 44px;
}

/* Custom-select inside suchprofil — match input style */
.sp-field .custom-select__trigger { height: 56px; border-radius: 30px; }
.sp-field .custom-select__dropdown { border-radius: 16px; }

.sp-field__textarea { min-height: 120px; resize: vertical; height: auto; padding: 14px 18px; }

.sp-form__check {
  display: flex; gap: 10px; align-items: flex-start;
  font-family: var(--font-sans); font-size: 16px; line-height: 22px;
  color: var(--color-text-heading);
}

.sp-form__submit {
  align-self: flex-start;
  background: var(--color-primary);
  color: #fff;
  border: 0; border-radius: 55px;
  padding: 14px 30px;
  font-family: var(--font-sans); font-weight: 500; font-size: 14.4px;
  cursor: pointer;
  margin-top: 12px;
}

@media (max-width: 1100px) {
  .sp-hero { grid-template-columns: 1fr; gap: 16px; align-items: start; }
  .sp-hero__title { font-size: 64px; line-height: 1.05; }
  .sp-cover { height: 320px; }
  .sp-row, .sp-row--3 { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .sp-hero__title { font-size: 42px; }
  .sp-cover { height: 220px; }
}

/* === DARK MODE === */
[data-theme="dark"] .sp-field__select{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%23e0e8e8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='1 1.5 6 6.5 11 1.5'/></svg>")}
