/* Wiens Anfrage-LPs: eigene Regeln, die Bricks nativ nicht abbildet.
   Alles andere gehoert in globale Klassen und Elementeinstellungen in Bricks.
   Nach jeder Aenderung: Skill bricks-code-audit (Syntax, Aufblitzen, Safari). */

/* ---------- Formular: Grundraster ---------- */
.wns-formcard .brxe-form { row-gap: 14px; }
.wns-formcard .brxe-form .form-group:not(.submit-button-wrapper):not(.message) { padding: 0; }
.wns-formcard .brxe-form .form-group > label,
.wns-formcard .brxe-form .form-group > .label { margin-bottom: 6px; }
/* HTML-Felder (Ueberschriften, Navigation, Hinweise) zeigen ihre Bricks-Feldbezeichnung nicht */
.wns-formcard .brxe-form .form-group:not(:has(input, textarea, select)) > label { display: none; }
/* Schritt 1: die Frage steht als Ueberschrift darueber, die Feldbezeichnung nur fuer Screenreader */
.wns-formcard .brxe-form .form-group:has(input[name^="form-field-wzeit1"]) > .label {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* Pflichtfelder ohne Sternchen: optionale Felder stehen ausdruecklich als "(optional)" da */
.wns-formcard .brxe-form .required::after,
.wns-formcard .brxe-form label.required::after { content: none !important; display: none !important; }

/* ---------- Ueberschrift je Schritt ---------- */
.wns-qhead { margin: 0; font-size: 2.2rem; line-height: 1.25; font-weight: 800; color: var(--ink); }

/* ---------- Auswahl-Chips (Radio und Checkbox) ---------- */
.wns-formcard .brxe-form .options-wrapper { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.wns-formcard .brxe-form .options-wrapper li { position: relative; margin: 0; }
.wns-formcard .brxe-form .options-wrapper input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.wns-formcard .brxe-form .options-wrapper label {
  display: inline-flex; align-items: center; min-height: 44px; margin: 0; padding: 10px 14px;
  border: 1px solid var(--line); border-radius: 10px; background-color: var(--surface);
  font-size: 1.5rem; font-weight: 500; line-height: 1.3; color: var(--ink); cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease;
}
.wns-formcard .brxe-form .options-wrapper label:hover { border-color: var(--brand-strong); }
.wns-formcard .brxe-form .options-wrapper input:checked + label {
  border-color: var(--brand-strong); background-color: #EAF5E9; color: var(--brand-deep);
  box-shadow: inset 0 0 0 1px var(--brand-strong);
}
.wns-formcard .brxe-form .options-wrapper input:focus-visible + label { outline: 2px solid var(--brand-strong); outline-offset: 2px; }
/* Schritt 1: zwei Bildkacheln nebeneinander (07.10.2026). Bilder aus der Mediathek, Reihenfolge = Reihenfolge der Optionen im Feld wzeit1:
   1 = umzug-dringend-wecker-illustration.webp, 2 = umzug-planen-kalender-illustration.webp (Cartoon-Illustrationen, mit kie.ai nano-banana-2 erzeugt; erste Fassung mit Fotos: IDs 529/530). */
.wns-formcard .brxe-form .form-group:has(input[name^="form-field-wzeit1"]) .options-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.wns-formcard .brxe-form .form-group:has(input[name^="form-field-wzeit1"]) .options-wrapper li { display: flex; align-items: stretch; height: 100%; }
.wns-formcard .brxe-form .form-group:has(input[name^="form-field-wzeit1"]) .options-wrapper label {
  display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; width: 100%; min-height: 0; container-type: inline-size;
  padding: 0 12px 12px; overflow: hidden; border-radius: 12px; font-size: 1.5rem; font-weight: 700; line-height: 1.25;
  border-color: var(--brand); background-color: var(--brand); color: #ffffff !important; /* schlaegt #brxe-i3g43k label (Formular-Labelfarbe) */
  transition: border-color .15s ease, background-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.wns-formcard .brxe-form .form-group:has(input[name^="form-field-wzeit1"]) .options-wrapper label::before {
  content: ""; display: block; flex: none; align-self: stretch; margin: 0 -12px 10px; background: var(--wns-zeit-grund, #f1f2ed) var(--wns-zeit-bild) center / auto 128% no-repeat;
  /* Hoehe = 3/4 der Kachelbreite, hoechstens 160px. Frueher aspect-ratio + max-height: Safari (iPad) hat daraus eine schmalere
     Flaeche gemacht statt sie ueber die ganze Kachel zu ziehen (16.10.2026). 75cqw = 3/4 der Label-Innenbreite, +18px fuer die 2x12px Rand. */
  height: 140px; height: min(160px, calc(75cqw + 18px));
}
.wns-formcard .brxe-form .form-group:has(input[name^="form-field-wzeit1"]) .options-wrapper input:checked + label { border-color: var(--brand-strong); background-color: var(--brand-strong); color: #ffffff !important; box-shadow: inset 0 0 0 1px var(--brand-strong); }
.wns-formcard .brxe-form .form-group:has(input[name^="form-field-wzeit1"]) li:nth-child(1) label { --wns-zeit-bild: url("/wp-content/uploads/2026/10/umzug-dringend-wecker-illustration.webp"); --wns-zeit-grund: #f0f1ec; }
.wns-formcard .brxe-form .form-group:has(input[name^="form-field-wzeit1"]) li:nth-child(2) label { --wns-zeit-bild: url("/wp-content/uploads/2026/10/umzug-planen-kalender-illustration.webp"); --wns-zeit-grund: #f2f3ee; }
@media (hover: hover) {
  .wns-formcard .brxe-form .form-group:has(input[name^="form-field-wzeit1"]) .options-wrapper label:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(28, 28, 28, 0.10); border-color: var(--brand-strong); background-color: var(--brand-strong); }
}
@media (prefers-reduced-motion: reduce) {
  .wns-formcard .brxe-form .form-group:has(input[name^="form-field-wzeit1"]) .options-wrapper label:hover { transform: none; }
}

/* ---------- Schritt-Navigation ---------- */
.wns-qnav { display: flex; align-items: center; gap: 10px; }
.wns-qbtn {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  min-height: 48px; padding: 12px 18px; border: 0; border-radius: 10px; cursor: pointer;
  background-color: var(--brand-strong); color: #ffffff; font-size: 1.6rem; font-weight: 700; line-height: 1.2;
}
.wns-qbtn:hover { background-color: var(--brand-deep); }
.wns-qbtn--next { flex: 1 1 auto; }
.wns-qbtn--back { flex: 0 0 52px; width: 52px; align-self: stretch; padding: 0; background-color: transparent; color: var(--ink-soft); border: 1px solid var(--line); }
/* Zurück-Pfeil wie bei Elvant: Winkel per Rahmen, Text nur für Screenreader (.wns-sronly) */
.wns-qbtn--back::before { content: ""; width: 10px; height: 10px; margin-left: 4px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
.wns-qbtn--back:hover { background-color: transparent; color: var(--ink); border-color: var(--ink); }
.wns-qnav--3 .submit-button-wrapper { flex: 1 1 auto; margin: 0; padding: 0; width: auto; }
.wns-qnav--3 .submit-button-wrapper button { width: 100%; min-height: 48px; }

/* ---------- Aufklappbare Details in Schritt 2 ---------- */
.wns-qmore { display: none; }
.wns-more { display: flex; flex-direction: column; gap: 14px; border-top: 1px solid var(--line); padding-top: 12px; width: 100%; }
.wns-more__head {
  display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 4px 0; border: 0; background: none; cursor: pointer;
  font-size: 1.5rem; font-weight: 600; color: var(--brand-strong); text-align: left;
}
.wns-more__head::after { content: "+"; font-size: 2rem; line-height: 1; }
.wns-more.is-open .wns-more__head::after { content: "−"; }
.wns-more__body { display: none; flex-direction: column; gap: 14px; }
.wns-more.is-open .wns-more__body { display: flex; }

/* ---------- Schritt-Leiste ---------- */
.wns-progress { display: flex; align-items: center; gap: 8px; height: 28px; font-size: 1.3rem; font-weight: 600; color: var(--ink-soft); }
.wns-progress__item { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.wns-progress__dot {
  display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%;
  border: 1px solid var(--line); font-size: 1.2rem; line-height: 1;
}
.wns-progress__item.is-active { color: var(--ink); }
.wns-progress__item.is-active .wns-progress__dot { background-color: var(--brand-strong); border-color: var(--brand-strong); color: #ffffff; }
.wns-progress__item.is-done .wns-progress__dot { background-color: #EAF5E9; border-color: var(--brand-strong); color: var(--brand-strong); }
.wns-progress__line { flex: 1 1 auto; height: 1px; background-color: var(--line); min-width: 12px; }

/* ---------- Kleingedrucktes, WhatsApp-Weg, Erfolg ---------- */
.wns-qlegal { margin: 0; font-size: 1.3rem; line-height: 1.45; color: var(--ink-soft); }
.wns-qlegal a { color: var(--ink); }
.wns-wabtn {
  width: 100%; min-height: 46px; padding: 11px 16px; border: 1px solid var(--brand-strong); border-radius: 10px; background-color: var(--surface);
  color: var(--brand-strong); font-size: 1.5rem; font-weight: 700; cursor: pointer;
}
.wns-wabtn:hover { background-color: #EAF5E9; }
.wns-wabtn[disabled] { opacity: .6; cursor: progress; }
.wns-off { display: none !important; }
.wns-hide { display: none !important; }
.wns-formcard .brxe-form[data-qstep="done"] > *:not(.message) { display: none !important; }
.wns-formcard .brxe-form .message.success { padding: 14px 16px; border-radius: 10px; background-color: #EAF5E9; color: var(--brand-deep); font-size: 1.5rem; line-height: 1.5; }

/* ---------- Aufblitz- und Sprung-Schutz, bevor wns-forms.js laeuft ----------
   Geprueft am gerenderten HTML (05.10.2026): Kind 1 = Ueberschrift Schritt 1, Kind 2 = Auswahl Wann (wzeit1).
   Kommt ein Feld VOR die Zeitfrage, muss diese Zahl angepasst werden. */
html.wns-js .wns-formcard .brxe-form:not([data-wns-qz]) > *:nth-child(n+3) { display: none !important; }
/* Platz fuer die Schritt-Leiste reservieren (28px Hoehe + 14px Abstand in der Karte) */
html.wns-js .wns-formcard .brxe-form:not([data-wns-qz]) { margin-top: 42px; }

/* ---------- WhatsApp im Fliesstext: fett, Logo davor (Hero-Satz xe0pyy, Hinweis dvrh1o) ----------
   Markup im Bricks-Text: <strong class="wns-wa">WhatsApp</strong>. Logo als Inline-SVG, kein Extra-Request. */
.wns-wa { font-weight: 700; color: var(--ink); white-space: nowrap; }
.wns-wa::before {
  content: ""; display: inline-block; width: 1em; height: 1em; margin-right: .28em; vertical-align: -0.14em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%2325D366' d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 0 1-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 0 1-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 0 1 2.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0 0 12.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 0 0 5.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 0 0-3.48-8.413Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* =====================================================================
   ConsentMagic im Wiens-Design (06.10.2026)
   Gilt nur für die ConsentMagic-Vorlage „Wiens“ (Klasse cs_wiens_theme).
   Farben, Abstände und Schriftgrößen kommen aus ConsentMagic selbst
   (Design-Vorlage „Wiens“ und „Größen anpassen“), hier nur Form,
   Schrift, Knopf-Anordnung und Feinschliff. Aufbau wie Banner-Standard
   (Notion „CONSENT MAGIC STYLING“).
   ===================================================================== */

/* ---------- Banner als Karte (Handy/Tablet unten, Desktop unten rechts) ---------- */
.cs_preview_container .cs-public-cookie-bar.bar_small.cs_wiens_theme {
  inset-inline-start: 24px;
  inset-inline-end: auto;
  bottom: 24px;
  width: calc(100% - 48px);
  max-width: 440px;
  margin: 0;
  border-radius: 14px;
  box-shadow: 0 24px 60px -24px rgba(28, 28, 28, 0.45), 0 2px 8px rgba(28, 28, 28, 0.08);
  font-family: "Inter", sans-serif;
}

/* Desktop ab 992px: unten rechts, breiter und flacher, Knöpfe in einer Reihe (weiter unten). Ohne Abdunkeln. */
@media (min-width: 992px) {
  .cs_preview_container .cs-public-cookie-bar.bar_small.cs_wiens_theme {
    inset: auto 24px 24px auto;
    width: calc(100% - 48px);
    max-width: 660px;
    height: fit-content;
    margin: 0;
    padding: 32px !important;
  }
  .cs_preview_container .cs-info-bar.cs_wiens_theme .cs-popup-row {
    gap: 20px;
  }
}
@media (max-width: 600px) {
  .cs_preview_container .cs-public-cookie-bar.bar_small.cs_wiens_theme {
    inset-inline-start: 12px;
    bottom: 12px;
    width: calc(100% - 24px);
    max-width: none;
    padding: 20px !important; /* ConsentMagic setzt mobil 44px oben/unten */
  }
  .cs_preview_container .cs-info-bar.cs_wiens_theme .btn-row .btn {
    padding-left: 8px !important;
    padding-right: 8px !important;
    white-space: nowrap; /* „Auswahl anpassen“ bleibt einzeilig */
  }
}

.cs_preview_container .cs-info-bar.cs_wiens_theme .cs-popup-row {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
}
.cs_preview_container .cs-info-bar.cs_wiens_theme .bar-description,
.cs_preview_container .cs-info-bar.cs_wiens_theme .btns_column {
  width: 100%;
  max-width: none;
  padding: 0;
  margin: 0;
}

/* Text */
.cs_preview_container .cs-info-bar.cs_wiens_theme .bar_description_text {
  line-height: 1.55;
}
.cs_preview_container .cs-info-bar.cs_wiens_theme .bar_description_text strong {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.cs_preview_container .cs_wiens_theme .policy_wrap {
  margin-top: 8px;
}
.cs_preview_container .cs_wiens_theme .policy_wrap a,
.cs_preview_container .cs_wiens_theme .privacy-link a {
  font-size: 14px;
  text-decoration: underline;
  text-decoration-color: var(--brand-strong);
  text-underline-offset: 3px;
}
.cs_preview_container .cs_wiens_theme .policy_wrap a::after,
.cs_preview_container .cs_wiens_theme .privacy-link a::after {
  content: none !important; /* ConsentMagic-Linie aus, sonst doppelt unterstrichen */
}

/* Impressum + Datenschutzerklärung als eigener Link-Block im ConsentMagic-Text (CM-eigener Datenschutz-Link aus).
   Pflicht, weil der Banner sonst die Footer-Links verdeckt (DDG § 5, DSK-Orientierungshilfe).
   Banner: Handy/Tablet linksbündig unten, Desktop rechts unter den Knöpfen. Einstellungsfenster: unter dem Text. */
.cs_preview_container .cs_wiens_theme .wns-cs-legal {
  display: flex;
  gap: 16px;
  margin-top: 10px;
}
.cs_preview_container .cs_wiens_theme .wns-cs-legal a {
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--brand-strong) 45%, transparent); /* dezenter */
  text-underline-offset: 3px;
}
.cs_preview_container .cs_wiens_theme .wns-cs-legal a::after {
  content: none !important;
}
.cs_preview_container .cs-info-bar.cs_wiens_theme .wns-cs-legal {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 16px;
  margin: 0;
  justify-content: flex-start;
}
.cs_preview_container .cs-public-cookie-bar.bar_small.cs_wiens_theme {
  padding-bottom: 50px !important;
}
@media (min-width: 992px) {
  .cs_preview_container .cs-info-bar.cs_wiens_theme .wns-cs-legal {
    left: auto;
    right: 32px;
    bottom: 22px;
    justify-content: flex-end;
  }
  .cs_preview_container .cs-public-cookie-bar.bar_small.cs_wiens_theme {
    padding-bottom: 62px !important;
  }
}

/* Knöpfe: „Alle akzeptieren“ oben über die volle Breite,
   „Ablehnen“ und „Auswahl anpassen“ gleich groß darunter. Farben und Höhe in ConsentMagic. */
.cs_preview_container .cs-info-bar.cs_wiens_theme .btns_column .btn-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.cs_preview_container .cs-info-bar.cs_wiens_theme .btn-row .allow_all_btn {
  grid-column: 1 / -1;
  order: -1;
}
.cs_preview_container .cs-info-bar.cs_wiens_theme .btn-row .disable_all_btn { order: 1; }
.cs_preview_container .cs-info-bar.cs_wiens_theme .btn-row .options_btn { order: 2; }

/* Desktop ab 992px: alle drei Knöpfe in einer Reihe, „Alle akzeptieren“ ganz links und etwas breiter.
   Muss nach den Knöpfe-Regeln stehen. */
@media (min-width: 992px) {
  .cs_preview_container .cs-info-bar.cs_wiens_theme .btns_column .btn-row {
    grid-template-columns: 1.3fr 1fr 1fr;
  }
  .cs_preview_container .cs-info-bar.cs_wiens_theme .btn-row .allow_all_btn {
    grid-column: auto;
  }
}

/* ---------- Gemeinsame Knopf-Optik (Banner und Einstellungen) ---------- */
.cs_preview_container .cs_wiens_theme .btn-row .btn {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  flex: none !important;
  border: 0;
  border-radius: 10px;
  font-family: "Inter", sans-serif;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  opacity: 1;
  cursor: pointer;
  box-shadow: none !important;
  transition: box-shadow 0.2s ease;
}
.cs_preview_container .cs_wiens_theme .btn-row .btn:hover {
  box-shadow: inset 0 0 0 999px rgba(128, 128, 128, 0.16) !important; /* hellt dunkle Knöpfe auf, dunkelt helle ab */
}
.cs_preview_container .cs_wiens_theme .btn-row .btn:focus-visible {
  outline: 2px solid var(--brand-strong);
  outline-offset: 2px;
}

/* Handy kompakt (25.11.2026, Alex: „mach 1 bis 4“): Der Banner nahm 358 von 812 px ein und blieb beim Ausfüllen offen
   (rund 40 % der Besucher aus Anzeigen tippen ihn nie an). Er verdeckte „Weiter“, „Festpreis anfragen“, den WhatsApp-Knopf
   und die Fehlertexte. Jetzt kleinere Schrift und engere Abstände, Wortlaut unverändert. Knopf-Anordnung bleibt wie oben
   („Alle akzeptieren“ allein über die volle Breite, darunter die beiden anderen): Alex 25.11.: eine Reihe mit drei gleich
   großen Knöpfen drückt die Zustimmung, und ohne Zustimmung sieht Google Ads die Anfrage nicht. */
@media (max-width: 600px) {
  .cs_preview_container .cs-public-cookie-bar.bar_small.cs_wiens_theme {
    inset-inline-start: 8px;
    bottom: 8px;
    width: calc(100% - 16px);
    padding: 14px 10px 38px !important;
    border-radius: 12px;
  }
  .cs_preview_container .cs-info-bar.cs_wiens_theme .cs-popup-row {
    gap: 10px;
  }
  .cs_preview_container .cs-info-bar.cs_wiens_theme .bar_description_text {
    font-size: 13px !important; /* ConsentMagic setzt 15px inline */
    line-height: 1.42;
    padding: 0 2px;
  }
  .cs_preview_container .cs-info-bar.cs_wiens_theme .btns_column .btn-row {
    gap: 6px;
  }
  .cs_preview_container .cs-info-bar.cs_wiens_theme .btns_column .btn-row .btn {
    min-height: 44px;
    padding: 11px 8px !important; /* ConsentMagic setzt 17px 12px inline */
    font-size: 14px !important;
  }
  .cs_preview_container .cs-info-bar.cs_wiens_theme .wns-cs-legal {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }
  .cs_preview_container .cs-info-bar.cs_wiens_theme .wns-cs-legal a {
    font-size: 13px;
  }
}

/* ---------- Einstellungen-Fenster ---------- */
.cs_preview_container .cs-modal.cs_wiens_theme .cs-modal-dialog {
  max-width: min(640px, calc(100% - 32px)) !important;
}
.cs_preview_container .cs-modal.cs_wiens_theme .cs-modal-content {
  border-radius: 14px;
  font-family: "Inter", sans-serif;
  box-shadow: 0 30px 80px -30px rgba(28, 28, 28, 0.5);
}
.cs_preview_container .cs-modal.cs_wiens_theme .cs-privacy-overview > p:first-child {
  margin: 0 0 12px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.cs_preview_container .cs-modal.cs_wiens_theme .cs-privacy-overview > p:first-child::before {
  content: "Datenschutz";
  display: block;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-strong);
}
.cs_preview_container .cs-modal.cs_wiens_theme .cs-privacy-content-text {
  line-height: 1.6;
}
.cs_preview_container .cs-modal.cs_wiens_theme .btn-row {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 10px !important;
  margin-top: 20px !important;
}
.cs_preview_container .cs-modal.cs_wiens_theme .cs-container-fluid.cs_deny_all_btn .cs-privacy-content .disable_all_btn {
  display: block !important; /* „Alle ablehnen“ auch mobil oben neben „Alle akzeptieren“ */
}
.cs_preview_container .cs-modal.cs_wiens_theme .cs_policy_existing_page .btn-row .disable_all_btn {
  order: -1; /* „Alle ablehnen“ vor „Alle akzeptieren“ */
}
.cs_preview_container > div > div .cs-modal.cs_wiens_theme.cs_multi_design .cs-tab-footer.btn-row .btn {
  height: auto !important;
  margin: 0 !important; /* ConsentMagic: mobil 15px Abstand + height 100% = zu hohe Knöpfe */
}
.cs_preview_container > div > div .cs-modal.cs_wiens_theme.cs_multi_design .cs-tab-footer.btn-row .btn.disable_all_btn {
  display: none !important; /* steht schon oben, unten nicht doppelt */
}
.cs_preview_container .cs-modal.cs_wiens_theme .btn-row .btn[style*="display:none"],
.cs_preview_container .cs-modal.cs_wiens_theme .btn-row .btn[style*="display: none"] {
  display: none !important;
}
.cs_preview_container .cs-modal.cs_wiens_theme .line {
  height: 1px;
  margin: 20px 0;
  background: var(--line);
}
.cs_preview_container .cs-modal.cs_wiens_theme .cs_popup_content {
  margin-top: 0 !important;
}
.cs_preview_container .cs-modal.cs_wiens_theme .cs_popup_content > p:first-child {
  margin: 0 0 4px !important;
  font-size: 17px !important;
  font-weight: 800 !important;
}
.cs_preview_container .cs-modal.cs_wiens_theme .cs_popup_content > div {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.cs_preview_container .cs-modal.cs_wiens_theme .cm-script-title-block {
  margin: 0 !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.cs_preview_container .cs-modal.cs_wiens_theme .cm-script-title-block p {
  margin: 0;
  font-weight: 700;
}
.cs_preview_container .cs-modal.cs_wiens_theme .cm-script-description {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.55;
}
.cs_preview_container .cs-modal.cs_wiens_theme .green-text span {
  font-size: 13px;
  font-weight: 700;
}
.cs_preview_container .cs_wiens_theme .primary-switch .primary-switch-btn {
  border-radius: 10px;
  background: #D6D6D0;
}
.cs_preview_container .cs_wiens_theme .primary-switch .primary-switch-btn:after {
  border-radius: 8px;
}
.cs_preview_container .cs_wiens_theme .primary-switch .primary-switch-input:checked + .primary-switch-btn {
  background: var(--cs-color-active-toggle-button, #2A7C27);
}
@media (max-width: 600px) {
  .cs_preview_container .cs-modal.cs_wiens_theme .btn-row {
    grid-template-columns: 1fr;
  }
  /* Handy: weniger Rand links/rechts (ConsentMagic stapelt sonst 16 + 32 + 10 px) */
  .cs_preview_container .cs-modal.cs_wiens_theme .cs-modal-dialog {
    margin: 12px auto !important;
    max-width: calc(100% - 24px) !important;
  }
  .cs_preview_container .cs-modal.cs_wiens_theme .cs-modal-content {
    padding: 24px 20px !important;
  }
  .cs_preview_container .cs-modal.cs_wiens_theme .cs-modal-body {
    padding: 0 !important;
  }
}

/* Footer-Link „Cookie-Einstellungen“ (Shortcode [cm_options]) in der Linkfarbe des Footers */
.wns-cookie-link .cm_shortcode_container,
.wns-cookie-link .cm_shortcode_container a {
  --cs-shortcode-text-color: inherit !important;
  color: inherit !important;
}

/* =====================================================================
   Anfrage-Formular v2 (07.10.2026), gehoert zu assets/js/wns-anfrage.js
   Gilt nur fuer Formulare mit data-wns-quiz. Mechanik nach Elvant,
   Optik Wiens: weisse Karte, Gruen fuer Aktives, Radius 10/14.
   ===================================================================== */

/* Zeitleisten-Akkordeon (freiwillige Angaben in Schritt 2) */
.wns-formcard .wns-acc { --wns-rail: 40px; position: relative; display: flex; flex-direction: column; width: 100%; box-sizing: border-box; padding-left: var(--wns-rail); margin: 2px 0 4px; }
.wns-formcard .wns-acc::before { content: ""; position: absolute; left: 12px; width: 2px; background: var(--line); top: var(--rail-start, 18px); height: calc(var(--rail-end, calc(100% - 18px)) - var(--rail-start, 18px)); }
.wns-formcard .wns-acc__item { border-bottom: 1px solid var(--line); min-width: 0; max-width: 100%; }
.wns-formcard .wns-acc__item:last-child { border-bottom: none; }
.wns-formcard .wns-acc__head { position: relative; display: flex; align-items: center; gap: 10px; width: 100%; padding: 12px 0; margin: 0; border: 0; background: none; color: var(--ink); font: inherit; font-size: 1.5rem; font-weight: 600; line-height: 1.3; text-align: left; cursor: pointer; }
.wns-formcard .wns-acc__head:focus-visible { outline: 2px solid var(--brand-strong); outline-offset: 2px; border-radius: 6px; }
.wns-formcard .wns-acc__dot { position: absolute; left: calc(-1 * var(--wns-rail)); top: 50%; transform: translateY(-50%); width: 26px; height: 26px; display: flex; align-items: center; justify-content: center; border-radius: 50%; border: 2px solid var(--line); background: var(--surface); color: var(--ink-soft); font-size: 1.2rem; font-weight: 700; transition: background-color .2s, border-color .2s, color .2s; }
.wns-formcard .wns-acc__item.is-open .wns-acc__dot { border-color: var(--brand-strong); color: var(--brand-strong); box-shadow: 0 0 0 4px rgba(42, 124, 39, .12); }
.wns-formcard .wns-acc__item.is-done .wns-acc__dot { background: var(--brand-strong); border-color: var(--brand-strong); color: #ffffff; }
.wns-formcard .wns-acc__item.is-done .wns-acc__num { display: none; }
.wns-formcard .wns-acc__item.is-done .wns-acc__dot::after { content: "\2713"; font-size: 1.3rem; line-height: 1; }
.wns-formcard .wns-acc__title { flex: 1 1 auto; }
.wns-formcard .wns-acc__meta { flex: 0 0 auto; font-size: 1.2rem; font-weight: 500; color: var(--ink-soft); }
.wns-formcard .wns-acc__item.is-done .wns-acc__meta { color: var(--brand-strong); font-weight: 600; }
.wns-formcard .wns-acc__chev { flex: 0 0 auto; width: 8px; height: 8px; margin: 0 4px 3px 2px; border-right: 2px solid var(--ink-soft); border-bottom: 2px solid var(--ink-soft); transform: rotate(45deg); transition: transform .2s; }
.wns-formcard .wns-acc__item.is-open .wns-acc__chev { transform: rotate(-135deg); margin-bottom: -3px; }
.wns-formcard .wns-acc__body { display: none; flex-direction: column; gap: 14px; padding: 2px 0 16px; }
.wns-formcard .wns-acc__item.is-open .wns-acc__body { display: flex; }
.wns-formcard .wns-acc__body > .form-group { margin: 0; padding: 0; min-width: 0; max-width: 100%; }
.wns-formcard .wns-acc .form-group textarea { min-height: 84px; }
.wns-formcard .wns-qsub { display: none; }

/* Fortschritts-Kartons */
.wns-formcard .wns-boxviz-group { margin: 0; padding: 0; }
.wns-formcard .wns-boxviz { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px; border-radius: 10px; background: var(--surface-muted); transition: background-color .3s; }
.wns-formcard .wns-boxviz__head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; line-height: 1.35; }
.wns-formcard .wns-boxviz__title { font-size: 1.35rem; font-weight: 600; color: var(--ink); }
.wns-formcard .wns-boxviz__count { flex: 0 0 auto; font-size: 1.25rem; font-weight: 700; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.wns-formcard .wns-boxviz.is-active .wns-boxviz__count { color: var(--brand-strong); }
.wns-formcard .wns-boxviz__row { display: flex; flex-wrap: wrap; gap: 4px; line-height: 1; }
.wns-formcard .wns-boxviz__row svg { display: block; width: 18px; height: 18px; color: var(--brand-strong); opacity: .18; transform: scale(.8); transition: opacity .25s ease, transform .3s cubic-bezier(.34, 1.56, .64, 1); }
.wns-formcard .wns-boxviz__row svg.is-on { opacity: 1; transform: scale(1); }
.wns-formcard .wns-boxviz.is-complete { background: #EAF5E9; }
.wns-formcard .wns-boxviz.is-complete .wns-boxviz__title { color: var(--brand-deep); }

/* Foto-Kacheln: natives Datei-Feld und Bricks-Knopf unsichtbar, die Kacheln sind die Bedienung */
.wns-formcard form[data-wns-quiz] .form-group input[type=file] { display: block !important; position: absolute !important; width: 1px !important; height: 1px !important; margin: -1px !important; padding: 0 !important; border: 0 !important; opacity: 0 !important; overflow: hidden !important; clip: rect(0 0 0 0); pointer-events: none; }
.wns-formcard form[data-wns-quiz] .form-group .choose-files,
.wns-formcard form[data-wns-quiz] .form-group .file-result { display: none !important; }
.wns-formcard .wns-upl { display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); gap: 8px; }
.wns-formcard .wns-upl--single { grid-template-columns: minmax(0, 96px); }
.wns-formcard .wns-upl__slot { position: relative; height: var(--upl-tile, 60px); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; margin: 0; padding: 0; border: 1px dashed #C9C9C2; border-radius: 10px; background: var(--surface-muted); color: var(--ink-soft); cursor: pointer; overflow: hidden; transition: border-color .15s, color .15s, background-color .15s; }
.wns-formcard .wns-upl__slot svg { width: 20px; height: 20px; display: block; }
.wns-formcard .wns-upl__plus { font-size: 1.2rem; font-weight: 700; line-height: 1; }
.wns-formcard .wns-upl__slot.is-ghost { opacity: .55; }
.wns-formcard .wns-upl__slot:not(.is-filled):hover { border-color: var(--brand-strong); color: var(--brand-strong); background: #EAF5E9; }
.wns-formcard .wns-upl__slot.is-filled { border-style: solid; border-color: var(--brand-strong); cursor: default; }
.wns-formcard .wns-upl__slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wns-formcard .wns-upl__slot.is-noprev img { display: none; }
.wns-formcard .wns-upl__ext { font-size: 1.1rem; font-weight: 600; letter-spacing: .06em; color: var(--ink-soft); }
.wns-formcard .wns-upl .wns-upl__rm { position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; min-height: 0; padding: 0; margin: 0; border: 0; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(28, 28, 28, .72); color: #ffffff; font-size: 15px; font-weight: 600; line-height: 1; cursor: pointer; }
.wns-formcard .wns-upl .wns-upl__rm:hover { background: var(--brand-strong); }
.wns-formcard .wns-filehint { margin-top: 6px; font-size: 1.25rem; color: var(--ink-soft); }
.wns-formcard .wns-filehint:empty { display: none; }
.wns-formcard .wns-filehint.is-warn { color: #B3261E; }
.wns-sronly { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Sendestatus unter dem Absenden-Knopf (statt stummem Spinner bei Fotos) */
.wns-formcard .wns-sendstate { display: none; margin-top: 8px; font-size: 1.3rem; color: var(--ink-soft); text-align: center; }
.wns-formcard .wns-sendstate.is-on { display: block; }

/* Danke-Zustand: Bricks-Meldung aus, eigene Karte an */
.wns-formcard form[data-wns-quiz][data-qstep="done"] .message { display: none !important; }
.wns-formcard .wns-done { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 8px 0 4px; }
.wns-formcard .wns-done__icon { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--brand-strong); color: #ffffff; font-size: 2.2rem; font-weight: 700; }
.wns-formcard .wns-done__title { margin: 4px 0 0; font-size: 2.2rem; font-weight: 800; line-height: 1.2; color: var(--ink); }
.wns-formcard .wns-done__text { margin: 0; font-size: 1.5rem; line-height: 1.55; color: var(--ink-soft); }
.wns-formcard .wns-done__links { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 0; }
.wns-formcard .wns-done__links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 10px; font-weight: 700; font-size: 1.5rem; text-decoration: none; }
.wns-formcard .wns-done__wa { background: var(--brand-strong); color: #ffffff; }
.wns-formcard .wns-done__tel { background: var(--surface-muted); color: var(--ink); }

/* Fokus-Modus ab Schritt 2: Rest der Seite abdunkeln, Karte bleibt obenauf */
.wns-focus { position: fixed; inset: 0; z-index: 9990; background: rgba(14, 16, 14, .94); opacity: 0; pointer-events: none; transition: opacity .38s cubic-bezier(.22, .61, .36, 1); }
.wns-focus.is-on { opacity: 1; pointer-events: auto; cursor: pointer; }
.wns-formcard.is-focus { position: relative; z-index: 9991; }
@media (max-width: 767px) {
  /* Handy: Karte nutzt im Fokus die volle Breite */
  .wns-formcard.is-wide { left: calc(-1 * var(--wns-shift, 16px)); width: 100vw !important; max-width: 100vw !important; border-radius: 0 !important; }
}
@media (prefers-reduced-motion: reduce) {
  .wns-focus, .wns-formcard .wns-boxviz__row svg, .wns-formcard .wns-acc__chev { transition: none; }
}

/* Anfrage-Formular v2: Pflicht- und freiwilliger Bereich sichtbar trennen (07.10.2026) */
.wns-formcard .wns-qhead-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.wns-formcard .wns-qbadge { flex: 0 0 auto; display: inline-flex; align-items: center; padding: 5px 10px; border-radius: 8px; background: #EAF5E9; color: var(--brand-deep); font-size: 1.2rem; font-weight: 700; line-height: 1.2; white-space: nowrap; }
.wns-formcard .wns-opt { width: 100%; box-sizing: border-box; display: flex; flex-direction: column; gap: 12px; margin-top: 4px; padding: 16px 14px 4px; border-radius: 14px; background: var(--surface-muted); }
.wns-formcard .wns-opt > .form-group { margin: 0; padding: 0; }
.wns-formcard .wns-opt .wns-boxviz { background: var(--surface); }
.wns-formcard .wns-opt .wns-boxviz.is-complete { background: #EAF5E9; }
.wns-formcard .wns-qhint { margin: 0; font-size: 1.4rem; line-height: 1.5; color: var(--ink-soft); }
.wns-formcard .wns-qhint strong { color: var(--ink); font-weight: 700; }
@media (max-width: 400px) {
  .wns-formcard .wns-opt { padding-left: 12px; padding-right: 12px; }
  .wns-formcard .wns-qbadge { font-size: 1.1rem; padding: 4px 8px; }
}

/* Anfrage-Formular v2: WhatsApp-Button mit Icon (07.10.2026) */
.wns-formcard .wns-wabtn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; }
.wns-formcard .wns-wabtn::before {
  content: ""; flex: 0 0 20px; width: 20px; height: 20px; background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 0 1-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 0 1-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 0 1 2.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0 0 12.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 0 0 5.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 0 0-3.48-8.413Z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 0 1-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 0 1-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 0 1 2.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0 0 12.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 0 0 5.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 0 0-3.48-8.413Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Anfrage-Formular v2: Pin-Icon in Von und Nach (07.10.2026). padding-left mit !important, weil Bricks das Feldpolster per ID-Regel setzt */
.wns-formcard .form-group input:is([name="form-field-wvon01"], [name="form-field-wnach1"]) {
  padding-left: 44px !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238A8A86' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: 14px 50%; background-size: 20px 20px;
}
.wns-formcard .form-group input:is([name="form-field-wvon01"], [name="form-field-wnach1"]):is(:focus, :not(:placeholder-shown)) {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232A7C27' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
}

/* Formular: kein Doppeltipp-Zoom auf dem Handy (09.10.2026). manipulation erlaubt weiter Wischen und Zoomen mit zwei Fingern, nur der Zoom per Doppeltipp faellt weg. Mit * auch fuer Kinder, die selbst scrollen (Textfeld) */
.wns-formcard,
.wns-formcard *,
form[data-wns-quiz],
form[data-wns-quiz] *,
.wns-stickybar,
.wns-stickybar * {
  touch-action: manipulation;
}

/* Links im Fliesstext der FAQ-Antworten, z. B. "Klick hier" mit data-wns-anliegen (09.10.2026) */
/* dto. in den Einwand-Antworten, z. B. Telefonnummer beim Buero-Absatz (17.10.2026), fett statt halbfett */
.wns-objection__p a {
  color: var(--brand-strong);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}
.wns-objection__p a:hover,
.wns-objection__p a:focus-visible {
  text-decoration-thickness: 2.5px;
}
.wns-faq__a a {
  color: var(--brand-strong);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}
.wns-faq__a a:hover,
.wns-faq__a a:focus-visible {
  text-decoration-thickness: 2.5px;
}

/* Bewertungs-Lightbox fuer das Laufband (09.10.2026), Skript am Ende von wns-marquee.js */
.wns-slider-fade .wns-scard { cursor: pointer; }
.wns-slider-fade .wns-scard:focus-visible { outline: 2px solid var(--brand-strong); outline-offset: 2px; }
html.wns-lb-open { overflow: hidden; }
.wns-lb { width: 100%; max-width: min(600px, calc(100% - 32px)); max-height: min(85vh, 760px); padding: 0; border: 0; background: transparent; color: var(--ink); overflow: visible; }
.wns-lb::backdrop { background: rgba(14, 16, 14, .72); }
.wns-lb[open] { animation: wns-lb-in .2s cubic-bezier(.22, 1, .36, 1); }
@keyframes wns-lb-in { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
.wns-lb__card { position: relative; max-height: min(85vh, 760px); overflow: auto; overscroll-behavior: contain; padding: 28px 28px 24px; background: #fff; border-radius: 16px; box-shadow: 0 24px 64px rgba(14, 16, 14, .35); }
.wns-lb__close { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--ink-soft); font-size: 30px; line-height: 1; cursor: pointer; }
.wns-lb__card:focus { outline: none; }
.wns-lb__close:hover { color: var(--ink); }
.wns-lb__close:focus-visible { outline: 2px solid var(--brand-strong); outline-offset: 2px; }
.wns-lb__stars { margin: 0 0 12px; padding-right: 40px; color: var(--star); font-size: 17px; letter-spacing: 2px; }
.wns-lb__text { font-size: 17px; line-height: 1.6; }
.wns-lb__text p { margin: 0 0 .8em; }
.wns-lb__text p:last-child { margin-bottom: 0; }
.wns-lb__meta { margin: 18px 0 0; font-size: 14px; color: var(--ink-soft); }
@media (max-width: 478px) {
  .wns-lb__card { padding: 24px 20px 20px; }
  .wns-lb__text { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .wns-lb[open] { animation: none; }
}

/* Jobcenter-LP /umzug-jobcenter/ (09.10.2026, Session wns-jc): Schritt 1 wamt01 "Wie weit bist du mit dem Amt?" als drei gruene Knoepfe untereinander.
   Frage steht als Ueberschrift darueber, Feldbezeichnung nur fuer Screenreader (wie wzeit1). Gruen = brand-strong wegen Kontrast mit weisser Schrift. */
.wns-formcard .brxe-form .form-group:has(input[name^="form-field-wamt01"]) > .label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wns-formcard .brxe-form .form-group:has(input[name^="form-field-wamt01"]) .options-wrapper { display: grid; grid-template-columns: 1fr; gap: 10px; }
.wns-formcard .brxe-form .form-group:has(input[name^="form-field-wamt01"]) .options-wrapper li { display: block; }
.wns-formcard .brxe-form .form-group:has(input[name^="form-field-wamt01"]) .options-wrapper label {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 56px; padding: 14px 18px;
  border-color: var(--brand-strong); background-color: var(--brand-strong); color: #ffffff !important;
  font-size: 1.6rem !important; font-weight: 700 !important; line-height: 1.3 !important; text-align: left;
}
.wns-formcard .brxe-form .form-group:has(input[name^="form-field-wamt01"]) .options-wrapper label::after { content: "\203A"; flex: 0 0 auto; font-size: 2.4rem; line-height: 1; font-weight: 400; }
.wns-formcard .brxe-form .form-group:has(input[name^="form-field-wamt01"]) .options-wrapper label:hover,
.wns-formcard .brxe-form .form-group:has(input[name^="form-field-wamt01"]) .options-wrapper input:checked + label { border-color: #1f5f1c; background-color: #1f5f1c; }

/* Pflege-LP (/umzug-pflegegrad/, 09.10.2026, zuerst fuer die Senioren-Seite angelegt, dort seit 09.10. wieder wzeit1 wie Seite 24): Schritt 1 wkass1 "Wie weit sind Sie mit der Pflegekasse?" als vier Text-Kacheln 2 x 2 in Wiens-Gruen wie wzeit1, ohne Bild.
   Frage steht als Ueberschrift darueber, Feldbezeichnung nur fuer Screenreader. */
.wns-formcard .brxe-form .form-group:has(input[name^="form-field-wkass1"]) > .label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wns-formcard .brxe-form .form-group:has(input[name^="form-field-wkass1"]) .options-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.wns-formcard .brxe-form .form-group:has(input[name^="form-field-wkass1"]) .options-wrapper li { display: flex; align-items: stretch; height: 100%; }
.wns-formcard .brxe-form .form-group:has(input[name^="form-field-wkass1"]) .options-wrapper label {
  display: flex; align-items: center; justify-content: center; width: 100%; min-height: 78px; padding: 14px 12px;
  border-radius: 12px; text-align: center; font-size: 1.7rem; font-weight: 700; line-height: 1.25;
  border-color: var(--brand); background-color: var(--brand); color: #ffffff !important;
  transition: border-color .15s ease, background-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.wns-formcard .brxe-form .form-group:has(input[name^="form-field-wkass1"]) .options-wrapper input:checked + label { border-color: var(--brand-strong); background-color: var(--brand-strong); color: #ffffff !important; box-shadow: inset 0 0 0 1px var(--brand-strong); }
@media (hover: hover) {
  .wns-formcard .brxe-form .form-group:has(input[name^="form-field-wkass1"]) .options-wrapper label:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(28, 28, 28, 0.10); border-color: var(--brand-strong); background-color: var(--brand-strong); }
}
@media (prefers-reduced-motion: reduce) {
  .wns-formcard .brxe-form .form-group:has(input[name^="form-field-wkass1"]) .options-wrapper label:hover { transform: none; }
}

/* Sticky-Leiste auf den Service-LPs (09.10.2026, Orchestrator): Mini-Formular Von/Nach/Zimmer nur auf der Privatumzug-Seite (Seite 24),
   auf allen anderen Seiten auch am Desktop wie mobil: Knopf "Anfragen" (#anfrage) und Telefon.
   Seit 11.11.2026 (Alex) auch auf allen Seiten mit Auszug UND Einzug im Formular: Jobcenter 558, Senioren 566, Pflege 575, Buero 627
   (dort zeigt wns-forms.js statt Zimmern die Arbeitsplaetze). Entruempelung 567 hat nur eine Adresse und behaelt den Knopf.
   Neue Seite mit beiden Adressen: Seiten-ID hier ergaenzen. */
body:not(.page-id-24):not(.page-id-558):not(.page-id-566):not(.page-id-575):not(.page-id-627) .wns-stickybar__form { display: none !important; }
body:not(.page-id-24):not(.page-id-558):not(.page-id-566):not(.page-id-575):not(.page-id-627) .wns-stickybar__cta { display: flex !important; }
/* "Arbeitsplätze" passt nicht in die 130 px der Zimmer-Auswahl (Regel aus Bricks), data-wns-count setzt wns-forms.js */
.wns-stickybar .wns-stickybar__form .form-group:not(.submit-button-wrapper):has(select[data-wns-count]) { flex-basis: 160px; }

/* Sprungmarken an einzelnen FAQ-Fragen fuer Sitelinks (10.10.2026, z. B. /#faq-entruempelung): Abstand oben, damit die Frage nicht unter der Sticky-Leiste (ca. 70 px) verschwindet */
[id^="faq-"] { scroll-margin-top: 96px; }
#profis { scroll-margin-top: 96px; }
/* Sprung auf Abschnitte (Sitelinks wie /#ablauf): Ueberschrift nicht unter der Sticky-Leiste (ca. 61 bis 69 px) */
section[id] { scroll-margin-top: 64px; }

/* Laufband-Hinweis "Zum Weiterlesen einfach anklicken" mit gruenem Pfeil (12.10.2026), Element tphint im Component WNS Bewertungen. Desktop rechts neben der Ueberschrift, bis 991 px darunter */
.wns-swall { position: relative; }
.wns-swall__hint {
  position: absolute;
  top: -6px;
  right: 0;
  z-index: 3;
  display: flex;
  align-items: flex-start;
  gap: 2px;
  margin: 0;
  pointer-events: none;
  font-family: "Caveat", cursive;
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1;
  color: var(--brand-strong);
  transform: rotate(-3deg);
  transform-origin: right top;
}
.wns-swall__hint::after {
  content: "";
  flex: none;
  width: 44px;
  height: 60px;
  margin-top: 8px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 60' fill='none' stroke='%23000' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8C24 6 37 22 31 50'/%3E%3Cpath d='M22 43l9 9 7-11'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 60' fill='none' stroke='%23000' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8C24 6 37 22 31 50'/%3E%3Cpath d='M22 43l9 9 7-11'/%3E%3C/svg%3E") no-repeat center / contain;
}
@media (max-width: 991px) {
  .wns-swall__hint {
    position: static;
    align-self: flex-end;
    margin: -6px 4px -22px 0;
    font-size: 2.4rem;
  }
  .wns-swall__hint::after { width: 36px; height: 50px; }
}
/* ---------- Rueckruf-Popup (19.10.2026) ----------
   Popup-Vorlage "Popup Rueckruf", Wurzel-Block mit Klasse wns-rueckruf. Formular-Optik wie in der Anfragekarte.
   Eigene Kopie der Regeln, weil der Aufblitz-Schutz der .wns-formcard Felder ab Kind 3 versteckt. */
.wns-rueckruf .brxe-form { row-gap: 14px; }
.wns-rueckruf .brxe-form .form-group:not(.submit-button-wrapper):not(.message) { padding: 0; }
.wns-rueckruf .brxe-form .form-group > label,
.wns-rueckruf .brxe-form .form-group > .label { margin-bottom: 6px; }
.wns-rueckruf .brxe-form .form-group:not(:has(input, textarea, select)) > label { display: none; }
.wns-rueckruf .brxe-form .required::after,
.wns-rueckruf .brxe-form label.required::after { content: none !important; display: none !important; }
.wns-rueckruf .brxe-form .options-wrapper { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.wns-rueckruf .brxe-form .options-wrapper li { position: relative; margin: 0; }
.wns-rueckruf .brxe-form .options-wrapper input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.wns-rueckruf .brxe-form .options-wrapper label {
  display: inline-flex; align-items: center; min-height: 44px; margin: 0; padding: 10px 14px;
  border: 1px solid var(--line); border-radius: 10px; background-color: var(--surface);
  font-size: 1.5rem; font-weight: 500; line-height: 1.3; color: var(--ink); cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease;
}
.wns-rueckruf .brxe-form .options-wrapper label:hover { border-color: var(--brand-strong); }
.wns-rueckruf .brxe-form .options-wrapper input:checked + label {
  border-color: var(--brand-strong); background-color: #EAF5E9; color: var(--brand-deep);
  box-shadow: inset 0 0 0 1px var(--brand-strong);
}
.wns-rueckruf .brxe-form .options-wrapper input:focus-visible + label { outline: 2px solid var(--brand-strong); outline-offset: 2px; }
.wns-rueckruf .brxe-form .message.success { padding: 14px 16px; border-radius: 10px; background-color: #EAF5E9; color: var(--brand-deep); font-size: 1.5rem; line-height: 1.5; }
/* Nach dem Absenden nur noch die Bestaetigung zeigen */
.wns-rueckruf .brxe-form:has(.message.success) > .form-group { display: none; }
/* Handy: Popup als Leiste von unten, Inhalt scrollt bei kleiner Hoehe */
@media (max-width: 767px) {
  /* doppelte Klasse schlaegt die Popup-Einstellungen aus Bricks (.brxe-popup-ID.brx-popup) */
  .brx-popup.brx-popup:has(.wns-rueckruf) { justify-content: flex-end; padding: 0; } /* Bricks-Popup ist flex-direction: column */
  .brx-popup.brx-popup:has(.wns-rueckruf) .brx-popup-content { width: 100%; max-width: none; max-height: 92dvh; overflow-y: auto; border-radius: 16px 16px 0 0; padding: 22px 16px calc(18px + env(safe-area-inset-bottom)); }
}

/* ---------- Häkchen „Werbemessung“ (freiwillig, nur damit dürfen Anfragen an Google hochgeladen werden), 19.10.2026 ----------
   Feld wgads1 ist eine normale Checkbox, keine Auswahl-Kachel: Gruppen-Beschriftung aus, echtes Kästchen, kleiner Text wie der Datenschutz-Hinweis. */
.wns-formcard .brxe-form .form-group:has(input[name^="form-field-wgads1"]) > .label { display: none; }
.wns-formcard .brxe-form .form-group:has(input[name^="form-field-wgads1"]) .options-wrapper { display: block; }
.wns-formcard .brxe-form .form-group:has(input[name^="form-field-wgads1"]) .options-wrapper li { display: flex; align-items: flex-start; gap: 10px; }
.wns-formcard .brxe-form .form-group:has(input[name^="form-field-wgads1"]) .options-wrapper input { position: static; opacity: 1; flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--brand-strong); cursor: pointer; }
/* :not(#_) hebt die Regel ueber Bricks' eigenes "#brxe-<Formular> label" (font-weight 600), ohne an eine Element-ID gebunden zu sein */
.wns-formcard .brxe-form .form-group:has(input[name^="form-field-wgads1"]) .options-wrapper label:not(#_),
.wns-formcard .brxe-form .form-group:has(input[name^="form-field-wgads1"]) .options-wrapper label:not(#_):hover,
.wns-formcard .brxe-form .form-group:has(input[name^="form-field-wgads1"]) .options-wrapper input:checked + label:not(#_) {
  display: block; min-height: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none;
  font-size: 1.3rem; font-weight: 400; line-height: 1.45; color: var(--ink-soft);
}
.wns-formcard .brxe-form .form-group:has(input[name^="form-field-wgads1"]) .options-wrapper input:focus-visible + label { outline: none; }
.wns-formcard .brxe-form .form-group:has(input[name^="form-field-wgads1"]) .options-wrapper input:focus-visible { outline: 2px solid var(--brand-strong); outline-offset: 2px; }
/* Ist Werbung im Cookie-Banner schon erlaubt, braucht es das Haekchen nicht (Klasse setzt wns-anfrage.js) */
.wns-formcard form[data-wns-quiz].wns-werbung-erlaubt .form-group:has(input[name^="form-field-wgads1"]) { display: none; }

/* Fehlertexte unter den Feldern und Hinweis, wenn das Absenden scheitert (29.10.2026) */
form[data-wns-quiz] .wns-feldfehler { margin: 6px 0 0; font-size: 1.35rem; font-weight: 600; line-height: 1.4; color: #B3261E; }
form[data-wns-quiz] .wns-hat-fehler input:not([type=radio]):not([type=checkbox]),
form[data-wns-quiz] .wns-hat-fehler textarea { border-color: #B3261E !important; }
.wns-sendfehler { margin: 10px 0 0; padding: 10px 12px; border-radius: 10px; background: #FCEEEE; color: #8C1D18; font-size: 1.4rem; line-height: 1.5; }
.wns-sendfehler a { color: inherit; font-weight: 700; text-decoration: underline; }

/* Testmodus-Hinweis, nur auf Geraeten mit ?wns_test=1 (wns-anfrage.js) */
.wns-testmodus { position: fixed; left: 8px; bottom: 8px; z-index: 2147483000; max-width: 72vw; padding: 6px 10px; border-radius: 6px; background: #B3261E; color: #ffffff; font: 600 12px/1.35 system-ui, -apple-system, sans-serif; pointer-events: none; }
