/*! Anfrageformular */
.hit-anfrage { --a-ink: #0B1533; --a-muted: #46526F; --a-line: #C9D3E6; --a-navy: #001D6E; --a-sky: #7FB5FF; --a-ok: #B86D4A; --a-warn: #8A4B00; --a-err: #B4232A; max-width: 860px; margin-inline: auto }
.hit-anfrage-form { display: grid; gap: 1.6rem; padding: clamp(1.2rem, 4vw, 2.4rem); border-radius: 26px; background: #fff; border: 1px solid #DDE4F0; box-shadow: 0 40px 80px -50px rgba(0,29,110,.55); position: relative; overflow: hidden }
.hit-anfrage-form::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--a-navy), var(--a-sky), var(--a-navy)); background-size: 200% 100%; animation: hit-a-flow 4s linear infinite }
@keyframes hit-a-flow { from { opacity: .7 } to { opacity: 1 } }
.hit-step { border: 0; padding: 0; margin: 0; display: grid; gap: 1rem; min-width: 0 }
.hit-step legend { display: flex; align-items: center; gap: .7rem; font: 700 1.15rem/1.2 Montserrat, 'Segoe UI', sans-serif; color: var(--a-navy); margin-bottom: .9rem; padding: 0 }
.hit-step legend span { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--a-navy); color: #fff; font-size: .95rem; box-shadow: 0 0 0 5px rgba(127,181,255,.25) }
.hit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 1rem }
.hit-f { display: grid; gap: .35rem; min-width: 0 }
.hit-f label { font-weight: 600; color: var(--a-ink) }
.hit-f input, .hit-f select, .hit-f textarea { width: 100%; box-sizing: border-box; font: inherit; font-size: 1rem; color: var(--a-ink); background: #F7F9FD; border: 1.5px solid var(--a-line); border-radius: 12px; padding: .8rem .95rem; min-height: 48px; transition: transform .2s ease, opacity .2s ease}
.hit-f textarea { resize: vertical; min-height: 110px }
.hit-f input:focus, .hit-f select:focus, .hit-f textarea:focus { outline: none; border-color: var(--a-navy); background: #fff; box-shadow: 0 0 0 4px rgba(127,181,255,.35) }
.hit-f [aria-invalid="true"] { border-color: var(--a-err); box-shadow: 0 0 0 4px rgba(180,35,42,.12) }
.hit-f-err { margin: 0; min-height: 0; font-size: .92rem; color: var(--a-err); font-weight: 500 }
.hit-f-err:empty, .hit-f-hint:empty { display: none }
.hit-f-err.is-info { color: var(--a-warn) }
.hit-f-hint { margin: 0; font-size: .92rem; font-weight: 600; color: var(--a-muted) }
.hit-f-hint.is-ok { color: var(--a-ok) }
.hit-f-hint.is-warn { color: var(--a-warn) }
.hit-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden }
.hit-privacy { margin: 0; font-size: .92rem; color: var(--a-muted) }
.hit-submit { justify-self: start; position: relative; overflow: hidden; border: 0; cursor: pointer; font: 600 1.05rem/1 Barlow, 'Segoe UI', sans-serif; color: #fff; padding: 1.05rem 2rem; border-radius: 14px; background: linear-gradient(135deg, #001D6E, #2F6BE0); box-shadow: 0 0 0 1px rgba(0,29,110,.15), 0 14px 30px -12px rgba(0,29,110,.6), 0 0 40px rgba(127,181,255,.5); transition: transform .2s ease, opacity .2s ease}
.hit-submit:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(0,29,110,.2), 0 20px 40px -14px rgba(0,29,110,.7), 0 0 60px rgba(127,181,255,.8) }
.hit-submit:disabled { opacity: .7; cursor: progress }
.hit-submit.is-busy span::after { content: " …" }
.hit-submit:focus-visible { outline: 3px solid var(--a-navy); outline-offset: 3px }
.hit-anfrage-status { padding: 1rem 1.2rem; border-radius: 14px; font-weight: 600; background: #EEF4FF; color: var(--a-navy); border: 1px solid #C9DAF7 }
.hit-anfrage-status[data-code="ok"] { background: #FFF4EC; color: var(--a-ok); border-color: #E8B69A; font-size: 1.1rem; padding: 1.4rem }
.hit-anfrage-status[data-code="ok"]::before { content: "✓ "; font-weight: 800 }
.hit-anfrage-status[data-code="gebiet"], .hit-anfrage-status[data-code="passt_nicht"] { background: #FFF6E6; color: var(--a-warn); border-color: #F2D7A8 }
.hit-anfrage-status[data-code="invalid"], .hit-anfrage-status[data-code="mail"], .hit-anfrage-status[data-code="rate"] { background: #FDEDEE; color: var(--a-err); border-color: #F3C2C5 }
@media (prefers-reduced-motion: reduce) { .hit-anfrage-form::before { animation: none } .hit-submit { transition: none } }
.hit-f-note { margin: -.6rem 0 0; font-size: .9rem; color: var(--a-muted); grid-column: 1 / -1 }
