/* ===== Basis ===== */
.form-section {
  background: #f3f3f3;
  padding: 60px 20px;
  text-align: center;
}

.form-section h2 {
  margin-bottom: 35px;
  font-size: 28px;
  font-weight: 600;
  color: #1f2d3d;
}

/* ===== Formular-Container ===== */
.partner-form {
  max-width: 830px;
  margin: 0 auto;
  padding: 30px 25px 30px;
  background: #f3f3f3;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  text-align: left;
}

.form-banner {
  max-width: 830px;
  margin: 0 auto 50px;
}

.form-banner img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

/* ===== Grid ===== */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ===== Einheitliche Schrift ===== */
.form-field input,
.form-field select,
.form-field textarea,
.download-btn {
  font: inherit;
  font-family: inherit;
}

/* ===== Inputs ===== */
.form-field input,
.form-field select {
  width: 100%;
  height: 50px;
  padding: 0 16px;
  border: 1px solid #bfc8d2;
  border-radius: 12px;
  background: #f8f8f8;
  font-size: 16px;
  color: #333;
  outline: none;
  box-sizing: border-box;
}

/* ===== Textarea ===== */
.form-field textarea {
  width: 100%;
  min-height: 130px;
  padding: 14px 16px;
  border: 1px solid #bfc8d2;
  border-radius: 12px;
  background: #f8f8f8;
  font-size: 16px;
  color: #333;
  resize: vertical;
  box-sizing: border-box;
}

/* ===== Placeholder ===== */
.form-field input::placeholder,
.form-field textarea::placeholder {
  font: inherit;
  font-family: inherit;
  color: #8a8f98;
  opacity: 1;
}

/* ===== Fokus ===== */
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: #7f9db9;
  background: #fff;
}

/* ===== Layout ===== */
.form-field-full {
  grid-column: 1 / -1;
}

.form-field-country {
  max-width: 430px;
  margin: 0 auto;
}

/* ===== Labels ===== */
.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #1f2d3d;
}

.form-message {
  display: none;
  margin-bottom: 18px;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.5;
}

.form-message-error {
  display: block;
  background: #fdecea;
  border: 1px solid #f5c2c7;
  color: #b42318;
}

.form-message-success {
  display: block;
  background: #ecfdf3;
  border: 1px solid #a6f4c5;
  color: #067647;
}

.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea {
  border-color: #d92d20 !important;
  background: #fff5f5;
}

.field-error {
  margin-top: 6px;
  font-size: 13px;
  color: #d92d20;
  min-height: 18px;
}


/* ===== PDF-Gruppenrahmen ===== */
.choice-group {
  margin: 0;
  padding: 18px 20px;
  border: 1px solid #bfc8d2;
  border-radius: 12px;
  background: #f8f8f8;
}

.choice-title {
  font-weight: 600;
  margin-bottom: 12px;
  color: #1f2d3d;
}

/* ===== Grid für die unteren zwei PDF-Optionen ===== */
.choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
  margin-top: 10px;
}

/* ===== Standard-Choice-Item: bleibt für Beratungstermin mit eigenem Rahmen ===== */
.choice-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  column-gap: 14px;
  padding: 18px 20px;
  border: 1px solid #bfc8d2;
  border-radius: 12px;
  background: #f8f8f8;
  cursor: pointer;
  box-sizing: border-box;
  min-height: 78px;
}

/* ===== PDF-Checkboxen innerhalb der Gruppe: OHNE eigenen Rahmen ===== */
.choice-group .choice-item {
  border: none;
  border-radius: 0;
  background: transparent;
  padding: 10px 0;
  min-height: auto;
}

.choice-group > .choice-item {
  margin-bottom: 6px;
}

.choice-item:hover {
  background: #f0f0f0;
}

.choice-group .choice-item:hover {
  background: transparent;
}

/* ===== Checkbox selbst ===== */
.choice-item input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin: 0;
  justify-self: center;
  align-self: center;
}

.choice-item span {
  display: block;
  line-height: 1.35;
  color: #1f2d3d;
}

.choice-item-single {
  width: 100%;
}

/* ===== Hinweistext ===== */
.form-note {
  max-width: 620px;
  margin: 20px auto 10px;
  font-size: 14px;
  color: #6d6d6d;
  text-align: center;
  line-height: 1.6;
}

.form-note a {
  color: #2b86d1;
  text-decoration: none;
}

.form-note a:hover {
  text-decoration: underline;
}

/* ===== Button-Bereich ===== */
.form-submit {
  text-align: center;
  margin-top: 5px;
}

/* ===== Button ===== */
.download-btn {
  background: #0070c9;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 12px 28px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

.download-btn:hover {
  background: #005fa3;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .form-grid,
  .choice-grid {
    grid-template-columns: 1fr;
  }

  .form-field-country {
    max-width: 100%;
  }

  .choice-group {
    padding: 16px;
  }

  .choice-item {
    grid-template-columns: 36px 1fr;
    padding: 16px;
  }

  .choice-group .choice-item {
    padding: 8px 0;
  }
}