/* KWR SEPA-Lastschrift 1.0.0 – angepasst an das neue KWR-Webdesign.
   Nur innerhalb von .kwr-sepa wirksam; Elementor-kompatibel. */
.kwr-sepa {
  --kwr-sepa-ink: #144054;
  --kwr-sepa-blue: #6D96A8;
  --kwr-sepa-light: #DAE2E6;
  --kwr-sepa-muted: #557484;
  --kwr-sepa-line: #dfe8ec;
  --kwr-sepa-background: #f7f9fa;
  font-family: var(--kwr-ci-font, "KWR Panton", Arial, Helvetica, sans-serif);
  color: var(--kwr-sepa-ink);
  background: transparent;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto 64px;
  box-sizing: border-box;
}
.kwr-sepa *, .kwr-sepa *::before, .kwr-sepa *::after { box-sizing: border-box; }
.kwr-sepa .kwr-sepa-header {
  background: #fff;
  color: var(--kwr-sepa-ink);
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(290px, .89fr);
  gap: clamp(34px, 6vw, 95px);
  padding: 15px 0 clamp(50px, 7vw, 98px);
  align-items: start;
}
.kwr-sepa .kwr-sepa-header-copy { min-width: 0; padding-top: clamp(3px, 2vw, 26px); }
.kwr-sepa .kwr-sepa-kicker {
  margin: 0 0 13px;
  color: var(--kwr-sepa-blue);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.kwr-sepa .kwr-sepa-header h2 {
  margin: 0 0 23px;
  padding: 0;
  max-width: 640px;
  font-family: inherit;
  color: var(--kwr-sepa-ink);
  font-size: clamp(37px, 4vw, 48px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -.025em;
}
.kwr-sepa .kwr-sepa-intro {
  margin: 0;
  max-width: 660px;
  color: #3e6377;
  font-size: clamp(15px, 1.42vw, 17px);
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: .055em;
}
.kwr-sepa .kwr-sepa-quicknav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 14px 24px;
  padding: 0;
  margin: 29px 0 0;
}
.kwr-sepa .kwr-sepa-quicknav a {
  display: inline-flex;
  align-items: flex-start;
  gap: 12px;
  padding: 1px 0;
  margin: 0;
  min-width: 0;
  color: var(--kwr-sepa-ink);
  background: none;
  border: 0;
  text-decoration: none;
  font-size: clamp(15px, 1.48vw, 19px);
  line-height: 1.45;
  letter-spacing: -.01em;
  font-weight: 400;
  transition: color .18s ease;
}
.kwr-sepa .kwr-sepa-quicknav a span:first-child {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 23px;
  line-height: 1.1;
  flex-shrink: 0;
  transition: transform .18s ease;
}
.kwr-sepa .kwr-sepa-quicknav a:hover { color: #4b819a; }
.kwr-sepa .kwr-sepa-quicknav a:hover span:first-child { transform: translateX(4px); }
.kwr-sepa .kwr-sepa-quicknav a:focus-visible { outline: 2px solid var(--kwr-sepa-ink); outline-offset: 5px; border-radius: 2px; }
.kwr-sepa .kwr-sepa-hero-image { margin: 0; width: 100%; min-width: 0; }
.kwr-sepa .kwr-sepa-hero-image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 535px;
  object-fit: cover;
  object-position: center;
  border-radius: 17px;
}
.kwr-sepa .kwr-sepa-form {
  background: #fff;
  border: 0;
  border-radius: 0;
  margin: 0;
  padding: 0;
}
.kwr-sepa .kwr-sepa-section {
  display: block;
  min-width: 0;
  margin: 0;
  padding: clamp(31px, 4.2vw, 54px) 0 clamp(36px, 5vw, 65px);
  background: #fff;
  border: 0;
  border-top: 1px solid var(--kwr-sepa-line);
  border-radius: 0;
  scroll-margin-top: 100px;
}
.kwr-sepa .kwr-sepa-section > legend {
  display: flex;
  float: left;
  width: 100%;
  gap: 20px;
  align-items: baseline;
  padding: 0 0 26px;
  margin: 0;
  border: 0;
  color: var(--kwr-sepa-ink);
  font-family: inherit;
  font-size: clamp(25px, 3vw, 34px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -.02em;
}
.kwr-sepa .kwr-sepa-section > legend + * { clear: both; }
.kwr-sepa .kwr-sepa-num {
  background: none;
  border: 0;
  display: inline-block;
  flex-shrink: 0;
  padding: 0;
  min-width: 23px;
  color: var(--kwr-sepa-blue);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .09em;
  line-height: 1.7;
}
.kwr-sepa .kwr-sepa-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  column-gap: clamp(18px, 4vw, 52px);
  row-gap: 26px;
}
.kwr-sepa .kwr-sepa-grid-spacer { display: block; }
.kwr-sepa .kwr-sepa-full { grid-column: 1 / -1; }
.kwr-sepa .kwr-sepa-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding: 0;
  margin: 0;
  color: var(--kwr-sepa-ink);
  font-size: 15px;
  line-height: 1.4;
  font-weight: 400;
  letter-spacing: .02em;
}
.kwr-sepa .kwr-sepa-field > span { display: block; min-height: 20px; }
.kwr-sepa .kwr-sepa-field input {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  width: 100%;
  min-width: 0;
  height: 56px;
  margin: 0;
  padding: 12px 16px;
  background: var(--kwr-sepa-background);
  color: var(--kwr-sepa-ink);
  border: 1px solid #d6e1e6;
  border-radius: 10px;
  box-shadow: none;
  font-family: inherit;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0;
  transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.kwr-sepa .kwr-sepa-field input[type="date"] { -webkit-appearance: auto; appearance: auto; }
.kwr-sepa .kwr-sepa-field input::placeholder { color: #6e8a98; opacity: 1; }
.kwr-sepa .kwr-sepa-field input:hover { border-color: #94afbd; background: #fff; }
.kwr-sepa .kwr-sepa-field input:focus, .kwr-sepa .kwr-sepa-field input:focus-visible {
  background: #fff;
  border-color: var(--kwr-sepa-ink);
  outline: 2px solid #6D96A8;
  outline-offset: 2px;
  box-shadow: none;
}
.kwr-sepa .kwr-sepa-hint {
  color: var(--kwr-sepa-muted);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
  margin: 0 0 26px;
  letter-spacing: .025em;
}
.kwr-sepa .kwr-sepa-footnote {
  color: var(--kwr-sepa-muted);
  font-size: 13px;
  line-height: 1.7;
  margin: 18px 0 0;
  letter-spacing: .01em;
}
.kwr-sepa .kwr-sepa-economic > .kwr-sepa-footnote:first-child { margin: 4px 0 22px; }
.kwr-sepa .kwr-sepa-question { min-width: 0; border: 0; margin: 0 0 27px; padding: 0; }
.kwr-sepa .kwr-sepa-question:last-child { margin-bottom: 0; }
.kwr-sepa .kwr-sepa-question legend {
  float: none;
  display: block;
  width: 100%;
  padding: 0;
  margin: 0 0 14px;
  color: var(--kwr-sepa-ink);
  border: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: .02em;
}
.kwr-sepa .kwr-sepa-choices { display: flex; flex-wrap: wrap; gap: 12px; }
.kwr-sepa .kwr-sepa-choices label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 125px;
  min-height: 54px;
  margin: 0;
  padding: 12px 19px;
  border: 1px solid var(--kwr-sepa-line);
  background: var(--kwr-sepa-background);
  border-radius: 10px;
  color: var(--kwr-sepa-ink);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.45;
  cursor: pointer;
}
.kwr-sepa .kwr-sepa-choices label:has(input:checked) { background: #e9f1f4; border-color: var(--kwr-sepa-ink); }
.kwr-sepa .kwr-sepa-choices label:hover { border-color: #86a6b4; }
.kwr-sepa input[type="radio"], .kwr-sepa input[type="checkbox"] {
  appearance: auto;
  accent-color: var(--kwr-sepa-ink);
  width: 19px;
  height: 19px;
  min-width: 19px;
  padding: 0;
  margin: 0;
  box-shadow: none;
  cursor: pointer;
}
.kwr-sepa .kwr-sepa-required, .kwr-sepa .kwr-sepa-check b { color: #a63729; font-weight: 600; }
.kwr-sepa .kwr-sepa-finish {
  position: relative;
  margin-top: 25px;
  background: #eff4f6;
  border: 0;
  border-radius: 17px;
  padding: clamp(29px, 5vw, 58px);
  color: var(--kwr-sepa-ink);
}
.kwr-sepa .kwr-sepa-finish::before {
  content: "";
  position: absolute;
  top: -17px;
  right: clamp(24px, 11%, 135px);
  width: 106px;
  height: 22px;
  background: #eff4f6;
  border-radius: 17px 17px 0 0;
}
.kwr-sepa .kwr-sepa-finish h3 {
  font-family: inherit;
  color: var(--kwr-sepa-ink);
  font-size: clamp(25px,3vw,33px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -.02em;
  margin: 0 0 29px;
  padding: 0;
}
.kwr-sepa .kwr-sepa-check {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin: 0 0 19px;
  color: var(--kwr-sepa-ink);
  cursor: pointer;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.65;
}
.kwr-sepa .kwr-sepa-check input { margin-top: 3px; }
.kwr-sepa .kwr-sepa-privacy { color: #3d5d6d; font-size: 14px; font-weight: 400; line-height: 1.7; margin: 26px 0; }
.kwr-sepa .kwr-sepa-privacy a { color: var(--kwr-sepa-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.kwr-sepa .kwr-sepa-submit {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(20px,5vw,65px);
  min-height: 58px;
  padding: 14px 25px;
  margin: 15px 0 0;
  border: 1px solid var(--kwr-sepa-ink);
  border-radius: 9px;
  background: var(--kwr-sepa-ink);
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.3;
  cursor: pointer;
  box-shadow: none;
  transition: background-color .18s ease, border-color .18s ease;
}
.kwr-sepa .kwr-sepa-submit span[aria-hidden="true"] { font-family: Arial,Helvetica,sans-serif; font-size: 26px; font-weight: 400; line-height: .85; }
.kwr-sepa .kwr-sepa-submit:hover:not(:disabled) { background: #225971; border-color: #225971; color: #fff; }
.kwr-sepa .kwr-sepa-submit:disabled { cursor: not-allowed; opacity: .48; }
.kwr-sepa .kwr-sepa-submit:focus-visible, .kwr-sepa .kwr-sepa-check input:focus-visible, .kwr-sepa .kwr-sepa-choices input:focus-visible { outline: 3px solid #6D96A8; outline-offset: 4px; }
.kwr-sepa .kwr-sepa-feedback, .kwr-sepa .kwr-sepa-alert {
  padding: 16px 20px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 25px;
}
.kwr-sepa .kwr-sepa-feedback[data-level="success"], .kwr-sepa .kwr-sepa-alert-success { background: #eaf6ec; border: 1px solid #99cbaa; color: #184d2d; }
.kwr-sepa .kwr-sepa-feedback[data-level="error"], .kwr-sepa .kwr-sepa-alert-error { background: #fff1ee; border: 1px solid #e6bcb0; color: #833c30; }
.kwr-sepa .kwr-sepa-alert-notice { border: 1px solid #c4d4dd; background: #edf3f6; color: var(--kwr-sepa-ink); }
.kwr-sepa .kwr-sepa-turnstile { margin: 9px 0 19px; }
.kwr-sepa .kwr-sepa-trap { position: absolute !important; width: 1px !important; height: 1px !important; left: -10000px !important; top: auto !important; overflow: hidden !important; }
.kwr-sepa [hidden] { display: none !important; }
@media (max-width: 1050px) {
  .kwr-sepa .kwr-sepa-header { grid-template-columns: minmax(0,1.05fr) minmax(260px,.85fr); gap: 30px; }
  .kwr-sepa .kwr-sepa-header h2 { font-size: clamp(34px,4.4vw,42px); }
  .kwr-sepa .kwr-sepa-quicknav { gap: 11px 18px; }
  .kwr-sepa .kwr-sepa-quicknav a { font-size: 16px; }
}
@media (max-width: 790px) {
  .kwr-sepa .kwr-sepa-header { grid-template-columns: 1fr; padding: 10px 0 48px; gap: 32px; }
  .kwr-sepa .kwr-sepa-header-copy { padding: 0; }
  .kwr-sepa .kwr-sepa-header h2 { font-size: clamp(34px, 6vw, 42px); }
  .kwr-sepa .kwr-sepa-hero-image { display: none; }
  .kwr-sepa .kwr-sepa-quicknav { max-width: 650px; }
}
@media (max-width: 680px) {
  .kwr-sepa { margin-bottom: 45px; }
  .kwr-sepa .kwr-sepa-header { padding: 7px 0 42px; }
  .kwr-sepa .kwr-sepa-intro { font-size: 15px; line-height: 1.75; letter-spacing: .022em; }
  .kwr-sepa .kwr-sepa-quicknav { gap: 12px; }
  .kwr-sepa .kwr-sepa-quicknav a { font-size: 15px; gap: 9px; }
  .kwr-sepa .kwr-sepa-quicknav a span:first-child { font-size: 19px; }
  .kwr-sepa .kwr-sepa-grid { grid-template-columns: minmax(0,1fr); row-gap: 18px; }
  .kwr-sepa .kwr-sepa-grid-spacer { display: none; }
  .kwr-sepa .kwr-sepa-section { padding: 32px 0 40px; }
  .kwr-sepa .kwr-sepa-section > legend { font-size: 25px; gap: 14px; padding-bottom: 22px; }
  .kwr-sepa .kwr-sepa-field input { height: 54px; }
  .kwr-sepa .kwr-sepa-finish { padding: 28px 20px 30px; }
  .kwr-sepa .kwr-sepa-choices label { min-width: 112px; }
  .kwr-sepa .kwr-sepa-submit { width: 100%; }
}
@media (max-width: 400px) {
  .kwr-sepa .kwr-sepa-header h2 { font-size: 32px; }
  .kwr-sepa .kwr-sepa-quicknav { grid-template-columns: 1fr; }
  .kwr-sepa .kwr-sepa-section > legend { font-size: 23px; }
}
@media (prefers-reduced-motion: reduce) {
  .kwr-sepa * { transition: none !important; transform: none !important; }
}
/* Ergänzungen für den Wohnungswunsch: Textbereiche, Optionen und Wertebereiche. */
.kwr-sepa .kwr-sepa-field textarea {
  display: block; width: 100%; max-width: 100%; min-height: 104px; resize: vertical;
  padding: 14px 16px; margin: 0; background: var(--kwr-sepa-background);
  color: var(--kwr-sepa-ink); border: 1px solid #d6e1e6; border-radius: 10px;
  font-family: inherit; font-size: 16px; font-weight: 400; line-height: 1.55; letter-spacing: 0;
}
.kwr-sepa .kwr-sepa-field textarea:hover { border-color: #94afbd; background: #fff; }
.kwr-sepa .kwr-sepa-field textarea:focus-visible { outline: 2px solid #6D96A8; outline-offset: 2px; background: #fff; }
.kwr-sepa .kwr-sepa-minmax { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.kwr-sepa .kwr-sepa-range-label { display: block; margin: 0 0 13px; color: var(--kwr-sepa-ink); font-size: 15px; letter-spacing: .02em; }
.kwr-sepa .kwr-sepa-range-field { min-width: 0; }
.kwr-sepa .kwr-sepa-range-field > span { font-size: 13px; color: var(--kwr-sepa-muted); }
.kwr-sepa .kwr-sepa-tile { margin-top: 14px; padding: 20px 23px; background: #f7f9fa; border-radius: 10px; }
.kwr-sepa .kwr-sepa-tile .kwr-sepa-check { margin: 0; }
.kwr-sepa .kwr-sepa-choices { align-items: stretch; }
.kwr-sepa .kwr-sepa-choices label { flex: 0 1 auto; }
.kwr-sepa .kwr-sepa-inline-note { display: block; margin-top: 10px; font-size: 13px; color: var(--kwr-sepa-muted); line-height: 1.55; }
.kwr-sepa .kwr-sepa-intro { letter-spacing: .03em; }
.kwr-sepa .kwr-sepa-field input[type="number"] { appearance: auto; }
.kwr-sepa .kwr-sepa-set { margin: 0 0 34px; }
.kwr-sepa .kwr-sepa-set:last-child { margin-bottom: 0; }
.kwr-sepa .kwr-sepa-set legend { padding: 0; border: 0; margin: 0 0 13px; color: var(--kwr-sepa-ink); font-size: 16px; font-weight: 400; line-height: 1.5; }
.kwr-sepa .kwr-sepa-grid > .kwr-sepa-set { margin-bottom: 0; }
.kwr-sepa .kwr-sepa-field input:disabled { background: #e4edf1; color: #6c7a80; cursor: not-allowed; }
.kwr-sepa .kwr-sepa-finish { margin-top: 36px; }
.kwr-sepa .kwr-sepa-alert-notice { margin: 10px 0 24px; }
@media(max-width:680px) {
  .kwr-sepa .kwr-sepa-minmax { gap: 12px; }
  .kwr-sepa .kwr-sepa-tile { padding: 16px; }
  .kwr-sepa .kwr-sepa-choices label { width: 100%; }
}
.kwr-sepa .kwr-sepa-scroll-target { display: block; height: 0; scroll-margin-top: 90px; }
/* SEPA-specific components */
.kwr-sepa .kwr-sepa-creditor { background:#f2f6f8; border-radius:13px; padding:22px 26px; margin:6px 0 25px; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:15px 28px; }
.kwr-sepa .kwr-sepa-creditor p {margin:0; font-size:15px; color:#144054; line-height:1.65;}
.kwr-sepa .kwr-sepa-creditor strong {display:block; font-size:12px; color:#557484; text-transform:uppercase; letter-spacing:.06em; margin-bottom:4px; font-weight:600;}
.kwr-sepa .kwr-sepa-mandate {background:#f1f6f8;border-left:3px solid #6D96A8; padding:25px 29px; margin:4px 0 28px; border-radius:0 10px 10px 0;}
.kwr-sepa .kwr-sepa-mandate h3 {font-size:21px; font-weight:600; color:#144054; line-height:1.35; margin:0 0 14px;padding:0;font-family:inherit;}
.kwr-sepa .kwr-sepa-mandate p {font-size:15px; line-height:1.8; margin:0 0 16px; color:#294f61;}
.kwr-sepa .kwr-sepa-mandate p:last-child {margin-bottom:0;}
.kwr-sepa .kwr-sepa-field small {display:block;color:#557484;font-size:12px;font-weight:400;letter-spacing:normal;margin-top:6px;line-height:1.6;}
.kwr-sepa .kwr-sepa-field input[data-kwr-iban] {font-size:17px;letter-spacing:.07em;font-variant-numeric:tabular-nums;}
.kwr-sepa .kwr-sepa-inline-tag {font-size:12px;color:#6D96A8; font-weight:500; letter-spacing:.055em;}
.kwr-sepa .kwr-sepa-final-note {margin: 0 0 25px; font-size:14px; line-height:1.8; color:#4e7285;}
.kwr-sepa .kwr-sepa-privacy {margin:23px 0 15px;}
.kwr-sepa .kwr-sepa-finish h3 {margin-bottom:23px;}
.kwr-sepa .kwr-sepa-section:first-of-type {border-top:1px solid var(--kwr-sepa-line);}
.kwr-sepa .kwr-sepa-readonly {letter-spacing:.015em;}
.kwr-sepa .kwr-sepa-field input[data-kwr-iban]::placeholder {letter-spacing:0;}
.kwr-sepa .kwr-sepa-required {font-style:normal;}
@media(max-width:680px){.kwr-sepa .kwr-sepa-creditor{grid-template-columns:1fr;padding:18px;gap:13px}.kwr-sepa .kwr-sepa-mandate{padding:19px 17px;}.kwr-sepa .kwr-sepa-mandate h3{font-size:18px}.kwr-sepa .kwr-sepa-field input[data-kwr-iban]{font-size:15px;letter-spacing:.02em}}
@media (max-width:680px){
  .kwr-sepa .kwr-sepa-submit {justify-content:space-between;gap:12px;padding:13px 17px;font-size:15px;}
  .kwr-sepa .kwr-sepa-submit .kwr-sepa-btn-label {white-space:nowrap;}
}
