/* Braun Immobilien GmbH – Formularseiten der Flyer-Aktionen (/flyer01 …)
   Ergänzt site.css; gut lesbar auf dem Smartphone: große Felder, 18px-Schrift, große Tippflächen. */
.fl-wrap { max-width: 760px; }
.fl-head { background: radial-gradient(900px 340px at 90% -20%, #E3EFE8 0%, rgba(227,239,232,0) 60%), linear-gradient(180deg, #F6FAF8, #EEF5F1); padding: 44px 0 34px; border-bottom: 1px solid var(--line); }
.fl-head .kicker { color: var(--gold-d); }
.fl-head h1 { font-family: var(--serif); font-weight: normal; color: var(--navy); font-size: clamp(30px, 5.2vw, 46px); line-height: 1.12; margin: 0 0 14px; }
.fl-lead { font-size: clamp(18px, 2.1vw, 20px); color: #2A3832; margin: 0 0 20px; line-height: 1.55; }
.fl-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding: 0; font-size: 16px; color: var(--navy); font-weight: 600; }
.fl-trust li { display: inline-flex; align-items: center; gap: 7px; }
.fl-trust .ico { width: 20px; height: 20px; color: var(--gold-d); }

section.fl-main { padding: 34px 0 70px; background: var(--soft); }
.fl-form { margin: 0; }
.fl-card { background: #fff; border: 0; border-radius: 12px; box-shadow: var(--shadow); padding: 28px 30px 12px; margin: 0 0 22px; min-width: 0; }
.fl-card legend { float: left; width: 100%; padding: 0; margin: 0 0 20px; font-family: var(--serif); font-size: 25px; color: var(--navy); display: flex; align-items: center; gap: 12px; line-height: 1.2; }
.fl-card > :not(legend) { clear: both; }
.fl-no { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: #fff; font-family: var(--sans); font-size: 18px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }

/* Felder: groß und kontrastreich (auch für ältere Nutzer) */
.fl-form .f-row { display: flex; gap: 16px; margin: 0; }
.fl-form .f-row.fl-row-str { align-items: flex-end; }
.fl-form .f-row.fl-row-str .f { display: flex; flex-direction: column; justify-content: flex-end; }
.fl-form .f { margin: 0 0 18px; flex: 1; min-width: 0; position: relative; }
.fl-form .f label, .fl-qt { display: block; font-size: 17px; color: #1F2D27; font-weight: 700; margin: 0 0 7px; line-height: 1.35; }
.fl-form .f input, .fl-form .f select, .fl-form .f textarea { width: 100%; font: inherit; font-size: 18px; color: var(--text); padding: 13px 14px; border: 1.5px solid #9DB3A8; border-radius: 8px; background: #fff; min-height: 56px; -webkit-appearance: none; appearance: none; }
.fl-form .f select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231C4537' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 22px; padding-right: 46px; }
.fl-form .f textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.fl-form .f input::placeholder, .fl-form .f textarea::placeholder { color: #7C8C84; }
.fl-form .f input:focus, .fl-form .f select:focus, .fl-form .f textarea:focus { border-color: var(--navy); outline: 3px solid rgba(176,129,79,.35); outline-offset: 0; }
.fl-form .f .invalid, .fl-form .invalid { border-color: #B3261E !important; background-color: #FFF8F7; }
.fl-req { color: #A0412B; font-weight: 700; }
.fl-opt { font-weight: 400; color: var(--grey); font-size: 15px; }
.fl-form .inunit .unit { font-size: 17px; right: 14px; }
.fl-form .inunit input { padding-right: 48px; }
.fl-anrede { max-width: 260px; }
.fl-plz { flex: 0 0 150px !important; }
.fl-nr { flex: 0 0 130px !important; }
.fl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.fl-grid .f[hidden], .fl-form [hidden] { display: none !important; }
.fl-hint { display: block; margin-top: 7px; font-size: 15px; color: #7A5530; line-height: 1.4; }
.fl-sub { font-weight: 700; color: var(--navy); margin: 0 0 12px; font-size: 17px; }
.fl-obj { border-left: 4px solid var(--gold); padding: 4px 0 2px 16px; margin: 0 0 18px; }

/* Umschalter (vollständig / anonym, Ja / Nein) */
.fl-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 18px; }
.fl-toggle label { position: relative; cursor: pointer; display: block; }
.fl-toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.fl-toggle span { display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 58px; padding: 10px 14px; border: 2px solid #9DB3A8; border-radius: 10px; font-weight: 700; font-size: 17px; color: var(--navy); background: #fff; text-align: center; line-height: 1.25; transition: background .15s, border-color .15s; }
.fl-toggle span .ico { width: 21px; height: 21px; flex: none; }
.fl-toggle input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.fl-toggle input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.fl-toggle.invalid span { border-color: #B3261E; }
.fl-yn { max-width: 340px; }
.fl-note { display: flex; gap: 10px; align-items: flex-start; background: var(--gold-l); color: #4A3820; border-radius: 8px; padding: 12px 14px; font-size: 16px; margin: -4px 0 18px; }
.fl-note .ico { width: 21px; height: 21px; flex: none; margin-top: 2px; color: var(--gold-d); }
.fl-q { margin: 0 0 4px; }

/* Vorschlagsliste (PLZ → Ort, Straße) */
.fl-list { position: absolute; left: 0; right: 0; top: 100%; margin: -1px 0 0; padding: 6px; list-style: none; background: #fff; border: 1.5px solid var(--navy); border-radius: 0 0 10px 10px; box-shadow: var(--shadow-h); z-index: 30; max-height: 330px; overflow-y: auto; }
.fl-ac { position: relative; }
.fl-list li { padding: 13px 12px; min-height: 50px; border-radius: 7px; font-size: 18px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.fl-list li small { color: var(--grey); font-size: 14px; }
.fl-list li[aria-selected="true"], .fl-list li:hover { background: var(--soft); color: var(--navy); }
.fl-list li b { font-weight: 700; color: var(--navy); }

/* Abschluss */
.fl-chk { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; line-height: 1.45; margin: 0 0 22px; cursor: pointer; }
.fl-chk input { width: 26px; height: 26px; margin: 1px 0 0; accent-color: var(--navy); flex: none; }
.fl-chk.invalid { color: #8C1D18; }
.fl-send { width: 100%; justify-content: center; font-size: 19px; padding: 18px 24px; min-height: 62px; }
.fl-send .ico { width: 22px; height: 22px; }
.fl-send[disabled] { opacity: .7; cursor: progress; }
.fl-small { font-size: 15px; color: var(--grey); margin: 14px 0 16px; }
.fl-end { padding-bottom: 16px; }
#fl-msg:empty { display: none; }
#fl-msg { border-radius: 8px; padding: 14px 16px; margin: 0 0 20px; font-size: 17px; }
#fl-msg.err { background: #FFF4F2; border-left: 4px solid #B3261E; color: #6B1B16; }
.fl-help { text-align: center; color: #2A3832; font-size: 16px; margin: 6px 0 8px; display: flex; justify-content: center; align-items: center; gap: 8px; flex-wrap: wrap; }
.fl-help .ico { width: 19px; height: 19px; color: var(--navy); }
.fl-help a { font-weight: 700; white-space: nowrap; }
.fl-hours { flex-basis: 100%; font-size: 15px; color: var(--grey); }
.fl-src { text-align: center; color: #7C8C84; font-size: 13px; margin: 10px 0 0; }

/* Danke-Seite */
.fl-done { background: #fff; border-radius: 12px; box-shadow: var(--shadow); padding: 44px 28px 36px; text-align: center; border-top: 4px solid var(--gold); margin: 0 0 22px; outline: none; }
.fl-done-ic { width: 76px; height: 76px; border-radius: 50%; background: var(--navy); display: inline-flex; align-items: center; justify-content: center; margin: 0 0 18px; }
.fl-done-ic .ico { width: 40px; height: 40px; color: #fff; stroke-width: 2.4; }
.fl-done h2 { font-family: var(--serif); font-weight: normal; color: var(--navy); font-size: clamp(26px, 4vw, 34px); line-height: 1.2; margin: 0 0 14px; }
.fl-done p { font-size: 18px; margin: 0 0 10px; }
.fl-done .fl-home { margin-top: 16px; color: var(--navy); border-color: var(--navy); background: #fff; }
.fl-done .fl-home:hover { background: var(--navy); color: #fff; }

@media (max-width: 640px) {
  body { font-size: 18px; }
  .fl-head { padding: 26px 0 24px; }
  .fl-head h1 { font-size: 31px; }
  section.fl-main { padding: 18px 0 50px; }
  .fl-main .wrap, .fl-head .wrap { padding: 0 14px; }
  .fl-card { padding: 22px 16px 8px; border-radius: 10px; margin-bottom: 16px; }
  .fl-card legend { font-size: 23px; margin-bottom: 18px; }
  .fl-form .f-row { flex-direction: column; gap: 0; }
  .fl-form .f-row.fl-row-plz, .fl-form .f-row.fl-row-str { flex-direction: row; gap: 10px; }
  .fl-plz { flex: 0 0 116px !important; }
  .fl-nr { flex: 0 0 96px !important; }
  .fl-grid { grid-template-columns: 1fr; }
  .fl-toggle { grid-template-columns: 1fr; gap: 8px; }
  .fl-yn { grid-template-columns: 1fr 1fr; max-width: none; }
  .fl-anrede { max-width: none; }
  .fl-trust { flex-direction: column; gap: 6px; }
  .fl-done { padding: 34px 18px 28px; }
}
@media (max-width: 360px) {
  .fl-form .f-row.fl-row-plz, .fl-form .f-row.fl-row-str { flex-direction: column; gap: 0; }
  .fl-plz, .fl-nr { flex: 1 1 auto !important; }
}

/* Eingebettet als Fenster über der Startseite (flyer01.html?embed=1) */
.fl-embed .skip, .fl-embed .topbar, .fl-embed .header, .fl-embed .footer, .fl-embed .wa-fab, .fl-embed #cc { display: none !important; }
.fl-embed body { background: var(--soft); }
.fl-embed .fl-head { padding: 30px 0 22px; }
.fl-embed .fl-head .wrap { padding-right: 70px; }
@media (max-width: 640px) { .fl-embed .fl-head { padding: 20px 0 18px; } .fl-embed .fl-head .wrap { padding-right: 62px; } }

/* Hinweis: Telefon oder E-Mail */
.fl-kontakt-hint { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 14px; font-size: 17px; font-weight: 600; color: #1F2D27; background: transparent !important; }
.fl-kontakt-hint .ico { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--gold-d); }
.fl-kontakt-hint.invalid { color: #8C1D18; }
