@media screen {
  html:has(body[data-form-focus]) { background: #fff; color-scheme: light; }
  body[data-form-focus] {
    --focus-width: 704px;
    --focus-top: clamp(24px, 7vh, 64px);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100svh;
    margin: 0;
    padding: 0;
    background: #fff;
    color: #17253d;
  }
  body[data-form-focus] [hidden] { display: none !important; }
  body[data-form-focus] .focus-title {
    position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip-path: inset(50%); white-space: nowrap;
  }
  body[data-form-focus] main#main,
  body[data-form-focus] main#form-shell.experience--focused,
  body[data-form-focus] main.shell {
    display: block; flex: 1 0 auto; box-sizing: border-box;
    width: min(var(--focus-width), calc(100% - 40px));
    max-width: none; min-height: 0;
    margin: 0 auto; padding: var(--focus-top) 0 0;
  }
  body[data-form-focus] footer.form-signature {
    display: flex; justify-content: center; align-items: center; flex: none;
    width: 100%; max-width: 100%; min-height: 0; box-sizing: border-box;
    margin: 0; padding: 26px 0 max(22px, env(safe-area-inset-bottom));
    background: #fff; border: 0; box-shadow: none;
  }
  body[data-form-focus] footer.form-signature img {
    display: block; width: 82px; height: auto; margin: 0; object-fit: contain;
  }
  body[data-form-focus] :is(.panel,.form-panel,.appointment-card) {
    box-sizing: border-box; min-height: 0; margin: 0; padding: 0;
    border: 0; border-radius: 0; background: white; box-shadow: none;
  }
  body[data-form-focus] :is(#heading,.step-title,#step-title,.appointment-card [data-panel] > h2) {
    margin-block: 6px 12px; font-size: clamp(26px, 4.5vw, 36px); line-height: 1.14;
    letter-spacing: -.043em;
  }
  body[data-form-focus] :is(#intro,#step-intro):empty { display: none; }
  body[data-form-focus] :is(#actions,.form-actions,.appointment-buttons) { margin-top: 18px; }
  body[data-form-focus] .progress-track { border: 0; height: 3px; border-radius: 8px; }
  body[data-form-focus] .panel > .progress-track { margin: 0 0 14px; }
  body[data-form-focus] #step-number { font-size: 13px; }
  body[data-form-focus] #fields > .field { min-width: 0; }
  body[data-form-focus] .choice b[aria-hidden] { display: none; }
  body[data-form-focus] .form-panel .progress-heading { margin: 0 0 4px; }
  body[data-form-focus] .form-panel .progress-heading #step-label { display: none; }
  body[data-form-focus] .form-panel .progress-heading #progress-text { margin: 0; }
  body[data-form-focus] .form-panel .progress-heading + .progress-track { margin-bottom: 16px; }
  body[data-form-focus] .step-topline .step-eyebrow { display: none; }
  body[data-form-focus] .step-topline:not(:has(.step-small-note)) { display: none; }
  body[data-form-focus] .experience--focused .form-bottom { margin: 0; }
  body[data-form-focus] .form-panel:not(:has(.send-panel, .success-state, #send-status, #send-status-check, #check-sent-status)) #footer-note { display: none; }
  body[data-form-focus] .workspace { display: block; padding: 0; }
  body[data-form-focus] .progress-top { padding: 0; border: 0; margin: 0 0 16px; }
  body[data-form-focus] .progress-top #current-group { display: none; }
  body[data-form-focus] .form-body, body[data-form-focus] .form-panel > .form-actions { padding: 0; min-height: 0; }
  body[data-form-focus] .form-panel > .form-actions { position: static; border: 0; background: #fff; box-shadow: none; }
  body[data-form-focus] #termin-buchen, body[data-form-focus] #termin-buchen > .wrap,
  body[data-form-focus] #appointment-app.appointment-grid {
    width: 100%; max-width: none; padding: 0; margin: 0; min-height: 0;
    background: #fff;
  }
  body[data-form-focus] #appointment-app.appointment-grid { display: block; }
  body[data-form-focus] .appointment-progress {
    display: flex; padding: 0; margin: 0 0 16px; min-height: 0; border: 0;
  }
  body[data-form-focus] .appointment-progress button { display: none; }
  body[data-form-focus] .appointment-progress button[aria-current="step"] {
    display: inline-flex; align-items: center; gap: 6px; min-height: 0; padding: 0;
    border: 0; border-radius: 0; box-shadow: none; color: #394b84; background: none;
    font-size: 13px; font-weight: 600; cursor: default;
  }
  body[data-form-focus] .appointment-progress button[aria-current="step"] span {
    display: inline; min-width: 0; width: auto; height: auto; padding: 0; border: 0;
    color: inherit; background: transparent;
  }
  body[data-form-focus] .focus-booking-review { margin: 12px 0; color: #203658; }
  body[data-form-focus] .focus-booking-review summary { cursor: pointer; font-weight: 600; padding: 6px 0; }
  body[data-form-focus] .focus-booking-review dl { margin: 6px 0 12px; display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; }
  body[data-form-focus] .focus-booking-review dd { margin: 0; }
  body[data-form-focus] .focus-price:empty { display: none; }
}
@media screen and (max-width: 740px) {
  body[data-form-focus] { --focus-top: 22px; }
  body[data-form-focus] main#main,
  body[data-form-focus] main#form-shell.experience--focused,
  body[data-form-focus] main.shell { width: calc(100% - 32px); }
  body[data-form-focus] footer.form-signature { padding-top: 22px; }
}
