/* Comnic-Website – Wintergarten-Anfrage [lr_anfrage] (lr-site 1.10.1, 05.11.2026: größer, Schrittleiste, Auswahl-Spalte). Farben wie lr-site.css. */
.lr-af-wrap { position: relative; max-width: 920px; margin: 0 auto; font-family: "Montserrat", sans-serif; color: #3B4447; }
.lr-af { background: #fff; border: 1px solid #E2DED6; border-radius: 22px; padding: 40px 44px 40px; box-shadow: 0 30px 60px -40px rgba(35, 60, 64, .45); }
.lr-af.is-js { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 44px; }
.lr-af__haupt { min-width: 0; }

/* Mitlaufende Auswahl rechts (nur mit JS) */
.lr-af__auswahl { display: none; }
.lr-af.is-js .lr-af__auswahl { display: block; align-self: start; position: sticky; top: 120px; padding: 6px 0 0 32px; border-left: 1px solid #EFECE6; }
.lr-af__auswahl-titel { margin: 0 0 14px; font: 600 12px/1.3 "Montserrat", sans-serif; letter-spacing: 1.4px; text-transform: uppercase; color: #95907D; }
.lr-af__auswahl ul { list-style: none; margin: 0; padding: 0; }
.lr-af__auswahl li { margin: 0; padding: 0; border-bottom: 1px solid #F1EEE7; }
.lr-af__auswahl button { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; width: calc(100% + 16px); margin: 0 -8px; padding: 10px 8px; border: 0; border-radius: 8px; background: none; transition: background .2s, color .2s;
  text-align: left; cursor: default; font: 500 13px/1.35 "Montserrat", sans-serif; color: #A9A497; }
.lr-af__auswahl button { white-space: normal; }   /* Theme: button nowrap → lange Mehrfachauswahl lief aus der Seite */
.lr-af__auswahl button span { flex: 0 0 auto; }
.lr-af__auswahl button b { flex: 1 1 auto; min-width: 0; font-weight: 600; color: #C9C4B6; text-align: right; overflow-wrap: anywhere; }
.lr-af__auswahl li.is-gesetzt button { cursor: pointer; color: #6B6F70; }
.lr-af__auswahl li.is-gesetzt button b { color: #233C40; }
.lr-af__auswahl li.is-aktiv button span { color: #233C40; font-weight: 700; }
.lr-af__auswahl-fuss { margin: 18px 0 0; font: 500 12.5px/1.5 "Montserrat", sans-serif; color: #8A8F90; }

/* Kopf: Schritt x von y + Balken (nur mit JS sichtbar) */
.lr-af__kopf { display: none; margin: 0 0 30px; }
.lr-af.is-js .lr-af__kopf { display: block; }
.lr-af__stand { display: none; justify-content: space-between; align-items: baseline; gap: 12px; margin: 0 0 10px; }
/* Schrittleiste mit Namen: erledigte Schritte anklickbar */
.lr-af__leiste { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 6px; list-style: none; margin: 0; padding: 0; }
.lr-af__leiste li { margin: 0; padding: 0; }
.lr-af__leiste button { position: relative; display: block; width: 100%; padding: 14px 0 0; border: 0; background: none; text-align: left; cursor: default;
  font: 600 11.5px/1.2 "Montserrat", sans-serif; color: #B3AE9F; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lr-af__leiste button::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; border-radius: 5px; background: #EFECE6; transition: background .3s; }
.lr-af__leiste .is-fertig button { color: #6B6F70; cursor: pointer; }
.lr-af__leiste .is-fertig button::before { background: #95907D; }
.lr-af__leiste .is-fertig button:hover { color: #233C40; }
.lr-af__leiste .is-aktiv button { color: #233C40; }
.lr-af__leiste .is-aktiv button::before { background: #233C40; }
.lr-af__nr { font: 600 12px/1.3 "Montserrat", sans-serif; letter-spacing: 1.4px; text-transform: uppercase; color: #95907D; }
.lr-af__nr b { color: #233C40; }
.lr-af__titel { font: 600 13px/1.3 "Montserrat", sans-serif; color: #233C40; }
.lr-af__balken { height: 6px; border-radius: 6px; background: #EFECE6; overflow: hidden; }
.lr-af__balken span { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, #95907D, #233C40); transition: width .45s ease; }

/* Theme (Hello Elementor) färbt button:hover/focus pink – für die Text-Knöpfe neutralisieren */
.lr-af .lr-af__leiste button, .lr-af .lr-af__auswahl button, .lr-af .lr-af__zurueck,
.lr-af .lr-af__leiste button:hover, .lr-af .lr-af__auswahl button:hover, .lr-af .lr-af__zurueck:hover,
.lr-af .lr-af__leiste button:focus, .lr-af .lr-af__auswahl button:focus, .lr-af .lr-af__zurueck:focus { background: none; box-shadow: none; text-decoration: none; }
/* Hover in LR-Farben: nur wo ein Klick etwas tut */
.lr-af .lr-af__leiste li:not(.is-fertig):not(.is-aktiv) button:hover { color: #B3AE9F; }
.lr-af .lr-af__leiste .is-fertig button:hover { color: #233C40; }
.lr-af .lr-af__leiste .is-fertig button:hover::before { background: #233C40; }
.lr-af .lr-af__auswahl li:not(.is-gesetzt) button:hover { color: #A9A497; }
.lr-af .lr-af__auswahl li.is-gesetzt button:hover { background: #F7F6F3; color: #233C40; }
.lr-af .lr-af__auswahl li.is-gesetzt button:hover b { text-decoration: none; }
.lr-af .lr-af__auswahl li.is-gesetzt button:hover b::after { content: " ändern"; font-weight: 500; font-size: 11.5px; color: #95907D; }
.lr-af .lr-af__zurueck:hover { color: #233C40; }
.lr-af .lr-af__zurueck::before { display: inline-block; margin-right: 5px; transition: transform .2s; }
.lr-af .lr-af__zurueck:hover::before { transform: translateX(-3px); }
.lr-af .lr-af__leiste button:focus-visible, .lr-af .lr-af__auswahl button:focus-visible, .lr-af .lr-af__zurueck:focus-visible { outline: 2px solid #95907D; outline-offset: 3px; border-radius: 4px; }

/* Schritte */
.lr-af__schritt { border: 0; margin: 0 0 34px; padding: 0; min-width: 0; }
.lr-af.is-js .lr-af__schritt { display: none; margin: 0; }
.lr-af.is-js .lr-af__schritt.is-aktiv { display: block; animation: lr-af-rein .35s ease; }
@keyframes lr-af-rein { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .lr-af.is-js .lr-af__schritt.is-aktiv { animation: none; } .lr-af__balken span { transition: none; } }
.lr-af__frage { display: block; width: 100%; padding: 0; margin: 0 0 24px; font: 600 clamp(22px, 2.6vw, 32px)/1.25 "Montserrat", sans-serif; color: #233C40; letter-spacing: -.01em; }
.lr-af__frage:focus { outline: none; }   /* Fokus nur für Screenreader beim Schrittwechsel, kein Rahmen */
.lr-af__hinweis { display: inline-block; margin-left: 6px; font: 500 12px/1 "Montserrat", sans-serif; color: #95907D; vertical-align: middle; }

/* Auswahlkarten */
.lr-af__optionen { display: grid; gap: 16px; }
.lr-af__optionen--symbol { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.lr-af__optionen--text { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lr-af__schritt[data-typ="mehr"] .lr-af__optionen--text { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lr-af__karte { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 4px; min-height: 84px; padding: 18px 20px;
  border: 1.5px solid #E2DED6; border-radius: 14px; background: #F7F6F3; cursor: pointer; transition: border-color .2s, background .2s, box-shadow .2s, transform .2s; }
.lr-af__optionen--symbol .lr-af__karte { align-items: center; text-align: center; min-height: 200px; padding: 26px 14px 22px; }
.lr-af__karte:hover { border-color: #95907D; background: #fff; transform: translateY(-2px); box-shadow: 0 14px 28px -22px rgba(35, 60, 64, .5); }
.lr-af__karte input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.lr-af__karte:has(input:focus-visible) { box-shadow: 0 0 0 3px rgba(35, 60, 64, .2); }
.lr-af__karte:has(input:checked) { border-color: #233C40; background: #fff; box-shadow: 0 10px 24px -18px rgba(35, 60, 64, .6); }
.lr-af__karte:has(input:checked)::after { content: ""; position: absolute; top: 10px; right: 10px; width: 20px; height: 20px; border-radius: 50%;
  background: #233C40 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.lr-af__symbol { width: 104px; height: 96px; margin: 0 0 12px; color: #8A8F90; }
.lr-af__symbol .lr-af__wg { color: #95907D; stroke: #95907D; }
.lr-af__symbol .lr-af__punkt { fill: #95907D; stroke: none; }
.lr-af__symbol .lr-af__haus { fill: #E9E6DF; }
.lr-af__symbol .lr-af__first { stroke-dasharray: 3 3; stroke-width: 1.4; }
.lr-af__symbol .lr-af__fl { fill: rgba(149, 144, 125, .28); }
.lr-af__karte:has(input:checked) .lr-af__symbol .lr-af__fl { fill: rgba(35, 60, 64, .16); }
.lr-af__karte:has(input:checked) .lr-af__symbol { color: #233C40; }
.lr-af__karte:has(input:checked) .lr-af__symbol .lr-af__wg { stroke: #233C40; }
.lr-af__label { font: 600 17px/1.3 "Montserrat", sans-serif; color: #233C40; }
.lr-af__zusatz { font: 500 13.5px/1.45 "Montserrat", sans-serif; color: #7C8183; }

/* Navigation */
.lr-af__nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 32px 0 0; }
.lr-af:not(.is-js) .lr-af__nav { display: none; }
.lr-af:not(.is-js) .lr-af__schritt--kontakt .lr-af__nav { display: flex; justify-content: flex-end; }
.lr-af:not(.is-js) .lr-af__zurueck { display: none; }
.lr-af__zurueck { border: 0; background: none; padding: 10px 4px; font: 600 14px/1 "Montserrat", sans-serif; color: #6B6F70; cursor: pointer; }
.lr-af__zurueck::before { content: "←"; }
.lr-af__zurueck:hover { color: #233C40; }
.lr-af__weiter, .lr-af__senden { border: 0; border-radius: 30px; padding: 17px 36px; background: #233C40; color: #fff; font: 600 16px/1 "Montserrat", sans-serif; cursor: pointer; transition: background .2s, opacity .2s; }
.lr-af__weiter::after { content: " →"; }
.lr-af__weiter:hover, .lr-af__senden:hover, .lr-af__weiter:focus-visible, .lr-af__senden:focus-visible { background: #1A2E31; }
.lr-af__weiter[disabled] { opacity: .35; cursor: not-allowed; }
.lr-af__senden { background: #95907D; padding: 18px 40px; }
.lr-af__senden:hover, .lr-af__senden:focus-visible { background: #7F7A68; }

/* Kontaktschritt */
.lr-af__felder.lr-form { gap: 14px; }
.lr-af__felder select { width: 100%; }
.lr-af__check { display: flex !important; gap: 10px; align-items: flex-start; font: 500 13px/1.5 "Montserrat", sans-serif !important; letter-spacing: 0 !important; color: #3B4447 !important; cursor: pointer; }
.lr-af__check input { flex: 0 0 auto; width: 18px; height: 18px; min-height: 0; margin: 2px 0 0; accent-color: #233C40; }
.lr-af__check a { color: #233C40; text-decoration: underline; }
.lr-af__ds { margin: 4px 0 0; font: 500 13px/1.55 "Montserrat", sans-serif; color: #6B6F70; }
.lr-af__ds a { color: #233C40; text-decoration: underline; text-underline-offset: 2px; }
.lr-af__pflicht { margin: 14px 0 0; font: 500 12px/1.4 "Montserrat", sans-serif; color: #8A8F90; text-align: right; }
.lr-af__feld-fehler input, .lr-af__feld-fehler select, .lr-af__feld-fehler textarea { border-color: #B5523F !important; }
.lr-af__fehlertext { margin: 12px 0 0; font: 600 13px/1.4 "Montserrat", sans-serif; color: #8A2C1F; }
.lr-af__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Danke */
.lr-af--fertig { text-align: center; }
.lr-af__danke { max-width: 560px; margin: 0 auto; padding: 18px 0 6px; }
.lr-af__danke .lr-af__symbol { width: 84px; height: 78px; color: #95907D; }
.lr-af__danke h3 { margin: 0 0 12px; font: 600 26px/1.25 "Montserrat", sans-serif; color: #233C40; }
.lr-af__danke p { margin: 0 0 10px; font: 500 15px/1.65 "Montserrat", sans-serif; }
.lr-af__danke-tel a { color: #233C40; font-weight: 700; text-decoration: none; }

@media (max-width: 1100px) {
  .lr-af.is-js { grid-template-columns: minmax(0, 1fr); }
  .lr-af.is-js .lr-af__auswahl { display: none; }
}
@media (max-width: 900px) {
  .lr-af__optionen--symbol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lr-af__stand { display: flex; }
  .lr-af__leiste button { font-size: 0; padding-top: 5px; }
}
@media (max-width: 767px) {
  .lr-af { padding: 24px 16px 0; border-radius: 16px; }
  .lr-af__frage { margin-bottom: 18px; }
  .lr-af__optionen { gap: 10px; }
  .lr-af__optionen--symbol .lr-af__karte { min-height: 150px; padding: 18px 10px 14px; }
  .lr-af__label { font-size: 15.5px; }
  /* Weiter/Zurück unten am Bildschirm festhalten */
  .lr-af.is-js .lr-af__nav { position: sticky; bottom: 0; z-index: 5; margin: 24px -16px 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .96); border-top: 1px solid #EFECE6; border-radius: 0 0 16px 16px; }
  .lr-af:not(.is-js) { padding-bottom: 24px; }
  .lr-af__pflicht { padding-bottom: 16px; }
  .lr-af__optionen--text, .lr-af__schritt[data-typ="mehr"] .lr-af__optionen--text { grid-template-columns: 1fr; }
  .lr-af__symbol { width: 72px; height: 66px; }
  .lr-af__weiter, .lr-af__senden { padding: 13px 22px; }
}
