/* Tax pages (/treuhand/steuererklaerung, /treuhand/steuerabschluss): text sections, cross-link,
   download box and the inquiry form (#anfrage). Uses the site's tokens and buttons. */
.st-anchor { scroll-margin-top: 110px; }
.st-text { max-width: 820px; }
.st-text p { font-size: 17px; line-height: 1.7; margin: 0 0 16px; }
.st-crosslink, .st-download { margin-top: 40px; text-decoration: none; color: var(--body-color); }
.st-crosslink:hover .zg-notice__title, .st-crosslink:focus-visible .zg-notice__title { text-decoration: underline; }
.st-crosslink:focus-visible { outline: 2px solid var(--title-color); outline-offset: 3px; }
.st-crosslink .zg-notice__title, .st-crosslink .zg-notice__text { display: block; }
.st-download { align-items: center; }
.st-download__body { flex: 1; }
.st-download .zg-notice__title { margin: 0; }

/* inquiry form */
.st-form-wrap { max-width: 900px; padding: 44px 40px; border: 1px solid var(--border-color); border-radius: 14px; background: var(--white-color); }
.st-form-wrap .sec-title { margin-bottom: 28px; }
.st-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 24px; }
.st-wide { grid-column: 1 / -1; }
.st-field { margin-bottom: 18px; }
.st-label { display: block; margin: 0 0 8px; padding: 0; font-weight: 600; font-size: 15px; line-height: 1.4; color: var(--title-color); }
.st-req { color: var(--theme-color); }
.st-input { width: 100%; min-height: 52px; margin-bottom: 0; font-size: 16px; }
textarea.st-input { min-height: 120px; }
select.st-input { color: var(--title-color); }
select.st-input:invalid { color: var(--body-color); }
.st-input:focus-visible { outline: 2px solid var(--title-color); outline-offset: 2px; }
.st-choice { margin: 0; padding: 0; border: 0; min-width: 0; }
.st-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.st-pill { position: relative; margin: 0; cursor: pointer; }
.st-pill input { position: absolute; display: block; visibility: visible; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.st-pill span { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px; border: 1.5px solid var(--border-color); border-radius: 10px; background: var(--white-color); color: var(--title-color); font-size: 15px; line-height: 1.3; transition: border-color .15s ease, background-color .15s ease; }
.st-pill:hover span { border-color: var(--theme-color); }
.st-pill input:checked + span { background: var(--title-color); border-color: var(--title-color); color: var(--white-color); }
.st-pill input:focus-visible + span { outline: 3px solid var(--title-color); outline-offset: 2px; }
.st-error { margin: 6px 0 0; font-size: 14px; font-weight: 500; color: #b42318; }
.has-error .st-input { border-color: #b42318 !important; }
.has-error .st-pill span { border-color: #e5a7a1; }
.st-summary { margin: 0 0 24px; padding: 14px 18px; border-radius: 12px; background: #fdf1f0; color: #8c1d14; font-weight: 600; font-size: 15px; outline: none; }
.st-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.st-submit { margin-top: 10px; }
.st-submit__btn { min-height: 52px; }
.st-form .consent-check label a { text-decoration: underline; }

@media (max-width: 767.98px) {
  .st-form-wrap { padding: 28px 20px; }
  .st-grid { grid-template-columns: 1fr; }
  .st-submit__btn { width: 100%; }
  .st-download { flex-direction: column; align-items: flex-start; }
  .st-download .global-btn { width: 100%; text-align: center; }
}
@media (prefers-reduced-motion: reduce) { .st-pill span { transition: none; } }
