/* B2B-Anfrageseite: Ergänzungen zum bestehenden bluefish-Layout */
.tm-brand-name {
  margin-bottom: .5rem;
}

.bf-inquiry-main {
  padding-bottom: 3rem;
}

.bf-page-intro {
  max-width: 900px;
  margin-bottom: clamp(2rem, 3vw, 3rem);
}

.bf-page-intro h1 {
  margin-bottom: 1rem;
  color: #006da8;
  font-size: clamp(1.8rem, 3vw, 2.55rem);
  line-height: 1.18;
}

.bf-page-intro p {
  margin-bottom: 0;
  font-size: 1.08rem;
  line-height: 1.75;
}

.bf-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.bf-choice-card {
  display: flex;
  min-width: 0;
  padding: 1.5rem;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(0, 109, 168, .3);
  border-top: 4px solid #0086cb;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .05);
}

.bf-choice-card h2 {
  margin-bottom: .75rem;
  color: #006da8;
  font-size: 1.35rem;
  line-height: 1.35;
}

.bf-choice-card p {
  margin-bottom: 1.25rem;
  font-size: .98rem;
  line-height: 1.7;
}

.bf-page-button {
  display: inline-flex;
  min-height: 50px;
  padding: 11px 21px;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  margin-top: auto;
  background: #006da8;
  color: #fff;
  border: 2px solid #006da8;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
}

.bf-page-button:hover,
.bf-page-button:focus {
  background: #00547f;
  border-color: #00547f;
  color: #fff;
  text-decoration: none;
}

.bf-page-button:focus,
.bf-page-button:focus-visible,
.bf-form input:focus,
.bf-form select:focus,
.bf-form textarea:focus,
.bf-form a:focus,
.bf-form a:focus-visible,
.bf-direct-contact a:focus,
.bf-direct-contact a:focus-visible {
  outline: 3px solid #222;
  outline-offset: 3px;
}

.bf-form-section {
  margin-top: clamp(2.25rem, 4vw, 3.5rem);
  padding: clamp(1.4rem, 4vw, 2.5rem);
  background: #f7fbfd;
  border: 1px solid rgba(0, 109, 168, .25);
  scroll-margin-top: 1.5rem;
}

.bf-form-section > h2 {
  margin-bottom: .75rem;
  color: #006da8;
  font-size: clamp(1.45rem, 2.3vw, 1.9rem);
  line-height: 1.3;
}

.bf-form-intro {
  max-width: 820px;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.bf-form fieldset {
  min-width: 0;
  margin: 0 0 1.75rem;
  padding: 0;
  border: 0;
}

.bf-form legend {
  width: 100%;
  margin-bottom: 1rem;
  padding-bottom: .45rem;
  color: #4f5558;
  border-bottom: 1px solid #cfd0d1;
  font-size: 1.08rem;
  font-weight: 700;
}

.bf-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem 1.25rem;
}

.bf-field {
  min-width: 0;
}

.bf-field-full {
  grid-column: 1 / -1;
}

.bf-field label,
.bf-interest-group-label {
  display: block;
  margin-bottom: .45rem;
  color: #3f4447;
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.45;
}

.bf-required {
  color: #8b1e1e;
}

.bf-form input[type="text"],
.bf-form input[type="email"],
.bf-form input[type="tel"],
.bf-form input[type="url"],
.bf-form select,
.bf-form textarea {
  display: block;
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  background: #fff;
  color: #34383a;
  border: 1px solid #85898b;
  border-radius: 4px;
  font: inherit;
  line-height: 1.45;
}

.bf-form textarea {
  min-height: 150px;
  resize: vertical;
}

.bf-form input:focus,
.bf-form select:focus,
.bf-form textarea:focus {
  border-color: #005f94;
  box-shadow: 0 0 0 3px rgba(0, 109, 168, .2);
}

.bf-form [aria-invalid="true"] {
  border-color: #a51d1d;
  box-shadow: 0 0 0 2px rgba(165, 29, 29, .13);
}

.bf-field-error {
  display: block;
  min-height: 1.25rem;
  margin-top: .35rem;
  color: #8b1e1e;
  font-size: .86rem;
  font-weight: 600;
  line-height: 1.45;
}

.bf-field-error:not(:empty)::before {
  content: "Fehler: ";
}

.bf-field-help,
.bf-privacy-note {
  color: #565d60;
  font-size: .88rem;
  line-height: 1.6;
}

.bf-field-help {
  margin: -.25rem 0 .85rem;
}

.bf-checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem 1.25rem;
}

.bf-checkbox-label {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  gap: .65rem;
  margin: 0;
  font-size: .94rem;
  line-height: 1.5;
}

.bf-checkbox-label input {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  margin-top: .1rem;
  accent-color: #006da8;
}

.bf-form-actions {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
}

.bf-form-actions .bf-page-button {
  border: 0;
  cursor: pointer;
}

.bf-form-actions .bf-page-button[disabled] {
  opacity: .62;
  cursor: wait;
}

.bf-privacy-note {
  max-width: 570px;
  margin: .2rem 0 0;
}

.bf-form-status {
  display: none;
  margin: 0 0 1.25rem;
  padding: 1rem 1.15rem;
  border: 1px solid transparent;
  line-height: 1.6;
}

.bf-form-status.is-visible {
  display: block;
}

.bf-form-status.is-error {
  background: #fff2f2;
  color: #751515;
  border-color: #c97878;
}

.bf-form-status.is-success {
  background: #edf8f0;
  color: #235b30;
  border-color: #78a982;
}

.bf-form-status p,
.bf-form-status ul {
  margin-bottom: 0;
  line-height: 1.6;
}

.bf-form-status ul {
  padding-left: 1.25rem;
}

.bf-direct-contact {
  margin-top: clamp(2.25rem, 4vw, 3.5rem);
  padding: 1.4rem;
  background: #eef7fb;
  border-left: 5px solid #0086cb;
  text-align: center;
}

.bf-direct-contact h2 {
  margin-bottom: .65rem;
  color: #006da8;
  font-size: 1.35rem;
}

.bf-direct-contact p {
  margin-bottom: 0;
  line-height: 1.8;
}

.bf-direct-contact a {
  color: #005f94;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.bf-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.bf-noscript {
  padding: 1rem;
  background: #fff7e6;
  border: 1px solid #b38124;
  color: #5d4518;
}

@media (max-width: 767px) {
  .bf-choice-grid,
  .bf-form-grid,
  .bf-checkbox-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .bf-page-button,
  .bf-form-actions .bf-page-button {
    width: 100%;
  }

  .bf-form-actions {
    display: block;
  }

  .bf-privacy-note {
    margin-top: .9rem;
  }

  .bf-direct-contact a {
    display: block;
  }

  .bf-direct-contact .bf-contact-separator {
    display: none;
  }
}
