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

/* Einwilligungen und E-Mail-Vorschau: Ergänzungen für das KWR-Mieterkontaktformular. */
.kwr-em .kwr-em-consent {display:flex;align-items:flex-start;gap:14px;cursor:pointer;margin:0;padding:20px 22px;background:#f7f9fa;border:1px solid #dfe8ec;border-radius:12px;font-size:15px;line-height:1.62;color:#144054;}
.kwr-em .kwr-em-consent input {appearance:auto;accent-color:#144054;width:21px;height:21px;min-width:21px;margin:3px 0 0;cursor:pointer;}
.kwr-em .kwr-em-consent.is-essential {background:#ecf3f6;border-color:#d0e0e6;}
.kwr-em .kwr-em-consent + .kwr-em-consent {margin-top:15px;}
.kwr-em .kwr-em-consent strong {display:block;font-weight:600;margin-bottom:4px;}
.kwr-em .kwr-em-consent span.kwr-em-consent-description {display:block;color:#567482;font-size:13px;margin-top:5px;line-height:1.6;}
.kwr-em .kwr-em-static-location {margin-top:0;}
.kwr-em .kwr-em-inline-tag {display:inline-block;margin-top:5px;font-size:12px;letter-spacing:.05em;color:#6D96A8;text-transform:uppercase;}
.kwr-em .kwr-em-consent-note {font-size:14px;line-height:1.68;color:#4d6c7c;margin:18px 0 0;}
.kwr-em .kwr-em-email-set {margin-top:12px;}
.kwr-em .kwr-em-finish {margin-top:16px;}
.kwr-em .kwr-em-privacy {margin:12px 0 25px;}
.kwr-em .kwr-em-check-header {font-size:16px;line-height:1.5;margin:0 0 17px;}
.kwr-em .kwr-em-section > legend {padding-bottom:22px;}
.kwr-em .kwr-em-header {padding-bottom:clamp(40px,6vw,76px);}
.kwr-em .kwr-em-hero-image img {max-height:510px;}
@media(max-width:680px){.kwr-em .kwr-em-consent {padding:17px 15px;gap:11px;}}
