/* Calendly-Fenster als Ersatz für die Onepage-Popups */
.fs-modal { position: fixed; inset: 0; z-index: 100000; display: none; align-items: center; justify-content: center;
  background: rgba(31, 59, 77, .55); padding: 16px; }
.fs-modal--offen { display: flex; }
.fs-modal__box { position: relative; width: min(1000px, 100%); height: min(760px, 100%); background: #ede6de;
  border-radius: 12px; overflow: hidden; box-shadow: 0 20px 60px rgba(0, 0, 0, .3); }
.fs-modal__box iframe { width: 100%; height: 100%; border: 0; display: block; }
.fs-modal__close { position: absolute; top: 8px; right: 8px; z-index: 1; width: 40px; height: 40px; border: 0;
  border-radius: 50%; background: #1f3b4d; color: #fff; font-size: 26px; line-height: 40px; cursor: pointer; }
.fs-modal__close:focus-visible { outline: 3px solid #8d5f4e; outline-offset: 2px; }
.fs-modal--video .fs-modal__box { height: auto; aspect-ratio: 16 / 9; background: #000; }

/* Erstgespräch-Fragebogen (static/fragebogen.js) */
.fs-fb__box { height: auto; max-height: 100%; overflow-y: auto; background: #fff; padding: 40px 32px 32px; width: min(920px, 100%); }
.fs-fb__box--calendly { height: min(760px, 100%); padding: 0; background: #ede6de; display: flex; flex-direction: column; }
.fs-fb__inhalt { font-family: var(--font-kit-text-font, Montserrat, sans-serif); color: #1f3b4d; }
.fs-fb__box--calendly .fs-fb__inhalt { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.fs-fb__calendly { flex: 1; width: 100%; border: 0; min-height: 0; }
.fs-fb__fortschritt { height: 4px; background: #ede6de; border-radius: 4px; overflow: hidden; margin: 0 40px 12px 0; }
.fs-fb__fortschritt span { display: block; height: 100%; background: #8d5f4e; transition: width .3s; }
.fs-fb__schritt { margin: 0 0 4px; font-size: 13px; opacity: .7; text-align: center; }
.fs-fb__frage { margin: 0 0 20px; font-size: clamp(20px, 3vw, 26px); line-height: 1.3; text-align: center; font-weight: 700; outline: none;
  font-family: var(--font-kit-heading-font, var(--font-kit-text-font, Montserrat, sans-serif)); }
.fs-fb__hinweis { margin: -12px 0 16px; text-align: center; font-size: 14px; opacity: .75; }
.fs-fb__kacheln { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.fs-fb__kachel { display: flex; flex-direction: column; padding: 0; border: 2px solid #e4dbd2; border-radius: 6px; background: #fff;
  cursor: pointer; text-align: left; overflow: hidden; color: #1f3b4d; font: inherit; transition: border-color .15s, box-shadow .15s; }
.fs-fb__kachel img, .fs-fb__ohnebild { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; background: #ede6de; }
.fs-fb__kacheltext { padding: 10px 12px 14px; font-size: 14px; line-height: 1.4; }
.fs-fb__kachel:hover { border-color: #c9b5a6; }
.fs-fb__kachel[aria-pressed="true"] { border-color: #8d5f4e; box-shadow: 0 0 0 2px #8d5f4e inset; }
.fs-fb__kachel:focus-visible, .fs-fb__zahl:focus-visible, .fs-fb__weiter:focus-visible, .fs-fb__zurueck:focus-visible { outline: 3px solid #1f3b4d; outline-offset: 2px; }
.fs-fb__textfeld { width: 100%; box-sizing: border-box; padding: 12px 14px; border: 1px solid #c9b5a6; border-radius: 6px; font: inherit; font-size: 16px; color: #1f3b4d; resize: vertical; }
.fs-fb__skala { display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px; }
.fs-fb__zahl { padding: 12px 0; border: 2px solid #e4dbd2; border-radius: 6px; background: #fff; font: inherit; font-size: 16px; font-weight: 600; color: #1f3b4d; cursor: pointer; }
.fs-fb__zahl[aria-pressed="true"] { background: #8d5f4e; border-color: #8d5f4e; color: #fff; }
.fs-fb__leiste { display: flex; justify-content: center; gap: 12px; margin-top: 24px; }
.fs-fb__weiter, .fs-fb__zurueck { padding: 12px 28px; border-radius: 4px; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.fs-fb__weiter { background: #8d5f4e; color: #fff; border: 2px solid #8d5f4e; }
.fs-fb__weiter:disabled { opacity: .6; cursor: wait; }
.fs-fb__zurueck { background: #fff; color: #1f3b4d; border: 2px solid #e4dbd2; }
.fs-fb__fehler { min-height: 1em; margin: 12px 0 0; text-align: center; color: #a33a2a; font-size: 14px; }
.fs-fb__fehler--oben { margin: 16px 56px 8px 16px; }
.fs-fb__kontakt { display: grid; gap: 14px; max-width: 480px; margin: 0 auto; }
.fs-fb__feld { display: grid; gap: 4px; font-size: 14px; }
.fs-fb__feld input { padding: 12px 14px; border: 1px solid #c9b5a6; border-radius: 6px; font: inherit; font-size: 16px; color: #1f3b4d; }
.fs-fb__einwilligung { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.45; }
.fs-fb__einwilligung input { margin-top: 2px; width: 18px; height: 18px; accent-color: #8d5f4e; flex: none; }
.fs-fb__einwilligung a { color: #8d5f4e; }
.fs-fb__hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 600px) {
  .fs-fb__box { padding: 32px 16px 20px; }
  .fs-fb__kacheln { grid-template-columns: 1fr 1fr; gap: 8px; }
  .fs-fb__kacheltext { font-size: 13px; padding: 8px 10px 10px; }
  .fs-fb__skala { grid-template-columns: repeat(5, 1fr); }
}
