/* Kontaktformular peterimhof.de (dunkler Kontaktbereich) + „Ich bin kein Roboter“ */
.kform { display: grid; gap: 4px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); border-radius: 18px; padding: clamp(20px, 3vw, 32px); }
.kform__reihe { display: grid; gap: 0 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .kform__reihe { grid-template-columns: 1fr 1fr; } }
.kform__feld { margin: 0 0 14px; display: grid; gap: 6px; }
.kform label { font-size: .92rem; color: #d7d9e2; }
.kform small { color: #9aa1b4; }
.kform__pflicht { color: #c9c0ff; }
.kform input[type=text], .kform input[type=email], .kform input[type=tel], .kform textarea { width: 100%; box-sizing: border-box; font: inherit; color: #fff; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .22); border-radius: 10px; padding: 12px 14px; transition: border-color .2s, background-color .2s, box-shadow .2s; }
.kform textarea { resize: vertical; min-height: 140px; }
.kform input:focus, .kform textarea:focus { outline: none; border-color: #8f7cff; background: rgba(255, 255, 255, .09); box-shadow: 0 0 0 3px rgba(143, 124, 255, .3); }
.kform__hinweis { font-size: .85rem; color: #9aa1b4; margin: 4px 0 8px; }
.kform__senden { margin: 6px 0 0; }
.kform button { font: inherit; cursor: pointer; }
.kform__meldung { margin: 0 0 16px; padding: 14px 16px; border-radius: 12px; font-weight: 500; }
.kform__meldung--ok { background: rgba(46, 160, 67, .18); border: 1px solid rgba(46, 160, 67, .6); color: #c8f2d0; }
.kform__meldung--fehler { background: rgba(220, 60, 60, .16); border: 1px solid rgba(220, 60, 60, .6); color: #ffd6d6; }

.imhof-captcha { --ic-bg: rgba(255, 255, 255, .06); --ic-line: rgba(255, 255, 255, .22); --ic-ink: #fff; --ic-muted: #9aa1b4; --ic-ok: #3fb950; --ic-bad: #ff7b7b; --ic-box: transparent;
  position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; max-width: 460px; margin: 4px 0 12px; padding: 14px 16px; border: 1px solid var(--ic-line); border-radius: 12px; background: var(--ic-bg); color: var(--ic-ink); font-size: 1rem; line-height: 1.3; }
.imhof-captcha__box { display: flex; align-items: center; gap: 14px; flex: 1 1 auto; min-height: 40px; margin: 0; cursor: pointer; font-weight: 700; color: var(--ic-ink) !important; }
.imhof-captcha__box input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.imhof-captcha__mark { position: relative; flex: none; width: 30px; height: 30px; border: 2px solid var(--ic-ink); border-radius: 8px; background: var(--ic-box); transition: border-color .2s, background-color .2s; }
.imhof-captcha__box input:focus-visible + .imhof-captcha__mark { outline: 3px solid #8f7cff; outline-offset: 2px; }
.imhof-captcha[data-state=busy] .imhof-captcha__mark { border-color: var(--ic-muted); border-right-color: transparent; border-radius: 50%; animation: imhof-captcha-spin .8s linear infinite; }
.imhof-captcha[data-state=ok] .imhof-captcha__mark { border-color: var(--ic-ok); background: var(--ic-ok); }
.imhof-captcha[data-state=ok] .imhof-captcha__mark::after { content: ""; position: absolute; left: 8px; top: 3px; width: 8px; height: 15px; border: solid #fff; border-width: 0 3px 3px 0; transform: rotate(45deg); }
.imhof-captcha[data-state=ok] .imhof-captcha__box { cursor: default; }
.imhof-captcha__side { display: flex; align-items: center; gap: 6px; color: var(--ic-muted); }
.imhof-captcha__side small { font-size: 11px; line-height: 1.2; color: inherit; }
.imhof-captcha[data-state=ok] .imhof-captcha__side { color: var(--ic-ok); }
.imhof-captcha__status { flex-basis: 100%; font-size: 13px; color: var(--ic-muted); }
.imhof-captcha__status:empty { display: none; }
.imhof-captcha[data-invalid] { border-color: var(--ic-bad); }
.imhof-captcha[data-invalid] .imhof-captcha__status { color: var(--ic-bad); }
.imhof-captcha__hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@keyframes imhof-captcha-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .imhof-captcha[data-state=busy] .imhof-captcha__mark { animation-duration: 2.4s; } }
