.familum-phone-hours {
  display: block;
  pointer-events: none;
}

.familum-phone-hours::after {
  content: "Mo–Fr 8–18 Uhr · Rückmeldung am selben Werktag";
  display: block;
  font: 500 .6875rem/1.35 var(--sans, Arial, sans-serif);
  white-space: normal;
}

.familum-office-closed .familum-phone-hours::after {
  content: "Mo–Fr 8–18 Uhr";
}

.campaign-page :is(.campaign-header-actions .familum-phone-with-hours, .campaign-phone.familum-phone-with-hours) {
  display: inline-grid;
  align-content: center;
  white-space: normal;
}

.campaign-page .campaign-button.familum-phone-with-hours {
  flex-wrap: wrap;
  gap: 2px 9px;
}

.campaign-page .campaign-button .familum-phone-hours {
  flex-basis: 100%;
  max-width: 100%;
}

.beamten-first-screen .beamten-first-phone {
  display: inline-block;
  color: var(--blue, #0131a0);
  font-weight: 650;
  line-height: 1.35;
}

.campaign-page .beamten-first-screen {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .85fr);
  align-items: start;
  gap: clamp(24px, 5vw, 72px);
  margin: clamp(16px, 3vw, 45px) auto 0;
}

.campaign-beamten .campaign-content .beamten-first-screen h1 {
  margin: 0 0 14px;
  max-width: none;
  font-size: clamp(38px, 5vw, 72px);
  line-height: 1.02;
}

.beamten-first-person {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
}

.beamten-first-person .familum-responsive-picture {
  display: block;
  flex: 0 0 clamp(62px, 9vw, 105px);
}

.beamten-first-person img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.beamten-first-person strong {
  display: block;
  font-size: clamp(18px, 2vw, 28px);
  line-height: 1.15;
}

.beamten-first-person figcaption,
.beamten-first-trust,
.beamten-first-insurance {
  font-size: .875rem;
  line-height: 1.35;
}

.beamten-first-trust {
  display: grid;
  gap: 4px;
  margin: 12px 0;
}

.beamten-first-trust a {
  color: var(--blue, #0131a0);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.campaign-beamten .campaign-content .beamten-first-insurance {
  margin: 10px 0 0;
  font-size: .875rem;
  line-height: 1.35;
}

.campaign-page .beamten-first-screen .beamten-callback {
  align-self: start;
  padding: clamp(13px, 2vw, 22px);
  min-width: 0;
  border: 1px solid var(--line, #dde0e4);
  background: #f7f9fc;
}

.beamten-first-screen #kontakt {
  scroll-margin-top: calc(var(--contact-header-height, 76px) + 8px);
}

.campaign-beamten .campaign-content .beamten-callback h2 {
  margin: 0 0 10px;
  font-size: clamp(19px, 2vw, 28px);
  line-height: 1.1;
}

.campaign-page .beamten-callback .campaign-form-grid {
  gap: 8px 12px;
}

.campaign-page .beamten-callback .campaign-field {
  gap: 3px;
}

.campaign-page .beamten-callback .campaign-field label {
  margin-bottom: 4px;
  font-size: .75rem;
  line-height: 1.2;
}

.campaign-page .beamten-callback :is(input:not([type="checkbox"]), textarea) {
  min-height: 38px;
  padding: 7px 9px;
  font-size: 1rem;
  line-height: 1.2;
}

.campaign-page .beamten-callback textarea {
  min-height: 54px;
}

.campaign-page .beamten-callback .beamten-privacy {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin: 8px 0;
  font-size: .75rem;
  line-height: 1.3;
}

.beamten-privacy input {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--blue, #0131a0);
}

.beamten-privacy a {
  text-decoration: underline;
}

.campaign-page .beamten-callback .campaign-submit {
  min-height: 44px;
  margin-top: 0;
  padding: 7px 14px;
}

.campaign-beamten .campaign-content .beamten-callback .campaign-form-meta {
  margin-top: 7px;
  font-size: .72rem;
  line-height: 1.2;
}

.familum-office-closed .campaign-page .beamten-first-screen .beamten-callback {
  border-color: var(--blue, #0131a0);
}

.beamten-locations {
  margin: 0 0 clamp(34px, 5vw, 64px);
  padding: 14px 0;
  border-block: 1px solid var(--line, #dde0e4);
}

.beamten-locations ul {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 19px;
  padding: 0;
  list-style: none;
  font-size: .875rem;
}

.beamten-locations a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.campaign-beamten .campaign-card[id],
#muenchen.campaign-section {
  scroll-margin-top: 105px;
}

.familum-eligibility {
  margin: 12px 0;
  padding: 10px 13px;
  border-left: 3px solid var(--blue, #0131a0);
  background: #f2f5fb;
  color: #242b33;
  font-size: .875rem;
  line-height: 1.4;
}

.familum-insurance,
.familum-medical-check {
  margin: 8px 0;
  font-size: .875rem;
  line-height: 1.4;
}

@media (max-width: 800px) {
  .campaign-page .beamten-first-screen {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    margin: 10px auto 0;
  }

  .campaign-beamten .campaign-content .beamten-first-screen h1 {
    margin-bottom: 8px;
    font-size: clamp(27px, 7vw, 40px);
  }

  .beamten-first-person {
    gap: 9px;
  }

  .beamten-first-person .familum-responsive-picture {
    flex-basis: 46px;
  }

  .beamten-first-trust {
    gap: 1px;
    margin: 6px 0;
  }

  .campaign-beamten .campaign-content .beamten-first-insurance {
    margin-top: 4px;
  }

  .campaign-page .beamten-callback .campaign-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 8px;
  }

  .contact-access a.familum-phone-with-hours {
    display: grid;
    grid-template-columns: auto auto;
    justify-content: center;
    align-content: center;
    gap: 2px 5px;
    padding: 5px 7px;
  }

  .contact-access .familum-phone-hours {
    grid-column: 1 / -1;
    max-width: 17ch;
  }

  .contact-access .familum-phone-hours::after {
    font-size: .625rem;
  }
}

@media (max-width: 680px) {
  :root:not(.familum-office-closed) {
    --contact-bar-height: 98px;
  }
}

@media (max-width: 360px) {
  .familum-inline-contact-visible .campaign-beamten .contact-access {
    display: none;
  }

  .campaign-beamten .campaign-content .beamten-first-screen h1 {
    margin-bottom: 6px;
    font-size: 22px;
  }

  .campaign-page .beamten-first-screen {
    gap: 6px;
    margin-top: 6px;
  }

  .beamten-first-person .familum-responsive-picture {
    flex-basis: 38px;
  }

  .beamten-first-trust,
  .campaign-beamten .campaign-content .beamten-first-insurance {
    font-size: .8125rem;
  }

  .campaign-page .beamten-first-screen .beamten-callback {
    padding: 8px;
  }

  .campaign-beamten .campaign-content .beamten-callback h2 {
    margin-bottom: 6px;
  }

  .campaign-page .beamten-callback .campaign-field-full {
    grid-column: auto;
  }

  .campaign-page .beamten-callback :is(input:not([type="checkbox"]), textarea) {
    min-height: 33px;
  }

  .campaign-page .beamten-callback textarea {
    height: 40px;
  }

  .campaign-page .beamten-callback .beamten-privacy {
    margin: 4px 0;
    line-height: 1.2;
  }
}
