/* KWR Kontaktformular 1.1.0; all selectors scoped to .kwr-kf */
.kwr-kf {
  --kwr-kf-dark: #144054;
  --kwr-kf-blue: #6D96A8;
  --kwr-kf-light: #DAE2E6;
  --kwr-kf-muted: #557484;
  --kwr-kf-field: #f7f9fa;
  font-family: var(--kwr-ci-font, 'KWR Panton', Arial, Helvetica, sans-serif);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--kwr-kf-dark);
  max-width: 860px;
  width: 100%;
  margin: 0;
  background: #fff;
}
.kwr-kf *, .kwr-kf *::before, .kwr-kf *::after { box-sizing: border-box; }
.kwr-kf .kwr-kf-form { margin: 0; padding: 0; background: transparent; border: 0; }
.kwr-kf .kwr-kf-lead {
  margin: 0 0 30px;
  color: #3e6377;
  font-size: clamp(15px, 1.4vw, 17px);
  font-weight: 400;
  letter-spacing: .025em;
  line-height: 1.7;
}
.kwr-kf .kwr-kf-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: clamp(18px,3.8vw,45px); row-gap: 24px; }
.kwr-kf .kwr-kf-full { grid-column: 1 / -1; }
.kwr-kf .kwr-kf-field { min-width: 0; display:flex; flex-direction:column; gap:9px; color: var(--kwr-kf-dark); font-size:15px; font-weight:400; line-height:1.4; margin:0; padding:0; letter-spacing:.01em; }
.kwr-kf .kwr-kf-field > span { display:block; }
.kwr-kf .kwr-kf-required { color:var(--kwr-kf-blue); font-weight:700; }
.kwr-kf .kwr-kf-field input,
.kwr-kf .kwr-kf-field textarea {
  appearance:none; -webkit-appearance:none; display:block; width:100%; min-width:0;
  margin:0; padding:13px 16px; color:var(--kwr-kf-dark); background:var(--kwr-kf-field);
  border:1px solid #d6e1e6; border-radius:10px; box-shadow:none;
  font-family:inherit; font-size:16px; font-weight:400; line-height:1.45; letter-spacing:0;
  transition: background-color .18s ease,border-color .18s ease,box-shadow .18s ease;
}
.kwr-kf .kwr-kf-field input { height:54px; }
.kwr-kf .kwr-kf-field textarea { height:auto; min-height:155px; max-width:100%; resize:vertical; }
.kwr-kf .kwr-kf-field input:hover, .kwr-kf .kwr-kf-field textarea:hover { background:#fff; border-color:#a3bbc6; }
.kwr-kf .kwr-kf-field input:focus, .kwr-kf .kwr-kf-field textarea:focus {
  background:#fff; outline:2px solid var(--kwr-kf-blue); outline-offset:2px; border-color:var(--kwr-kf-dark);
}
/* Die Pflichtbestaetigung ist eine Kenntnisnahme, keine Newsletter- oder Werbeeinwilligung. */
.kwr-kf .kwr-kf-privacy { margin: 24px 0 0; color:var(--kwr-kf-muted); font-size:13px; line-height:1.7; }
.kwr-kf .kwr-kf-privacy-check { display:flex; align-items:flex-start; gap:12px; margin:17px 0 0; padding:0; font-family:inherit; font-size:14px; font-weight:400; line-height:1.6; letter-spacing:0; color:var(--kwr-kf-dark); cursor:pointer; }
.kwr-kf .kwr-kf-privacy-check > span { flex:1; min-width:0; margin:0; padding:0; }
.kwr-kf .kwr-kf-privacy-check input[type="checkbox"] { appearance:auto; -webkit-appearance:checkbox; flex:0 0 auto; width:19px; height:19px; min-width:19px; max-width:19px; min-height:19px; margin:2px 0 0; padding:0; accent-color:var(--kwr-kf-dark); box-shadow:none; cursor:pointer; }
.kwr-kf .kwr-kf-privacy-check input[type="checkbox"]:focus-visible { outline:3px solid var(--kwr-kf-blue); outline-offset:3px; }
.kwr-kf .kwr-kf-actions { display:flex; align-items:center; flex-wrap:wrap; gap:22px; margin:25px 0 0; }
.kwr-kf .kwr-kf-submit {
  display:inline-flex; align-items:center; justify-content:space-between; gap:34px;
  min-height:53px; min-width:210px; padding:12px 20px; margin:0;
  border:1px solid var(--kwr-kf-dark); border-radius:8px;
  background:var(--kwr-kf-dark); color:#fff; box-shadow:none; cursor:pointer;
  font-family:inherit; font-size:16px; font-weight:500; text-decoration:none; line-height:1.4;
  transition:background-color .18s ease,border-color .18s ease,transform .18s ease;
}
.kwr-kf .kwr-kf-submit:hover { background:#28617b; border-color:#28617b; color:#fff; }
.kwr-kf .kwr-kf-submit:focus-visible { outline:3px solid var(--kwr-kf-blue); outline-offset:3px; }
.kwr-kf .kwr-kf-submit:disabled { opacity:.68; cursor:wait; transform:none; }
.kwr-kf .kwr-kf-submit span:last-child { font-size:20px; font-family:Arial,Helvetica,sans-serif; line-height:1; }
.kwr-kf .kwr-kf-note { font-size:13px; color:var(--kwr-kf-muted); }
.kwr-kf .kwr-kf-feedback { padding:14px 18px; border:1px solid #9db4c0; border-radius:8px; margin:24px 0 0; background:#f2f7f9; color:var(--kwr-kf-dark); font-size:15px; }
.kwr-kf .kwr-kf-feedback[data-level='error'] { background:#fff5f2; border-color:#cba69f; color:#832f24; }
.kwr-kf .kwr-kf-feedback[data-level='success'] { background:#f0f8f4; border-color:#8ab5a0; color:#22573e; }
.kwr-kf .kwr-kf-feedback[hidden] { display:none !important; }
.kwr-kf .kwr-kf-hp { position:absolute !important; width:1px !important; height:1px !important; left:-9999px !important; top:auto !important; overflow:hidden !important; opacity:0 !important; }
.kwr-kf .kwr-kf-challenge { margin: 20px 0 0; }
.kwr-kf .kwr-kf-challenge .cf-turnstile { max-width:100%; }
@media (max-width:650px) {
  .kwr-kf { max-width:100%; }
  .kwr-kf .kwr-kf-grid { grid-template-columns:1fr; gap:19px; }
  .kwr-kf .kwr-kf-full { grid-column:auto; }
  .kwr-kf .kwr-kf-lead { margin-bottom:25px; }
  .kwr-kf .kwr-kf-actions { gap:13px; }
  .kwr-kf .kwr-kf-submit { width:100%; }
}
