/* Fragebogen /anfrage/ und Danke-Seite, im Stil der Startseite (#ehl). Ablauf wie der Simpli-Fragebogen
   „Survey Baufi (Förderung)“: Kacheln, „x von 4“, blaue Leiste mit Pfeilen. */
#ehl .fb-seite{background:var(--paper);padding:40px 16px 56px;min-height:60vh}
#ehl .fb-karte{position:relative;max-width:560px;margin:0 auto;background:#fff;border:1px solid #e1e8ed;border-radius:14px;box-shadow:0 18px 50px rgba(32,56,70,.10);overflow:hidden}
#ehl .fb-balken{height:5px;background:#e1eaf0}
#ehl .fb-balken span{display:block;height:100%;width:25%;background:var(--blue);transition:width .3s}
#ehl .eform{padding:30px 28px 22px}
#ehl .fb-schritt{border:0;margin:0;padding:0;min-width:0}
#ehl .fb-frage{font:400 25px/1.2 Georgia,'Times New Roman',serif;letter-spacing:-.02em;margin:0 0 22px;padding:0}
#ehl .fb-frage label{font:inherit}
#ehl .pflicht{color:var(--blue)}
#ehl .fb-kacheln{display:grid;grid-template-columns:1fr 1fr;gap:14px}
#ehl .fb-kachel{position:relative;display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center;border:1.5px solid #d4dfe5;border-radius:10px;padding:20px 10px 18px;cursor:pointer;font:700 15px/1.3 Arial,Helvetica,sans-serif;hyphens:auto;transition:border-color .15s,box-shadow .15s,transform .15s}
#ehl .fb-kachel:hover{border-color:var(--blue);box-shadow:0 6px 18px rgba(46,105,147,.12)}
#ehl .fb-kachel input,#ehl .fb-liste input{position:absolute;opacity:0;pointer-events:none}
#ehl .fb-kachel svg{width:68px;height:68px;fill:none;stroke:var(--blue);stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
#ehl .fb-kachel:has(input:checked),#ehl .fb-liste label:has(input:checked){border-color:var(--blue);background:#eaf4f9}
#ehl .fb-kachel:has(input:focus-visible),#ehl .fb-liste label:has(input:focus-visible){outline:3px solid #de9d37;outline-offset:3px}
#ehl .fb-liste{display:grid;gap:10px}
#ehl .fb-liste label{position:relative;display:flex;align-items:center;gap:12px;border:1.5px solid #d4dfe5;border-radius:10px;padding:15px 16px;cursor:pointer;font-size:16px}
#ehl .fb-liste label::before{content:"";flex:0 0 18px;height:18px;border:2px solid #9fb5c3;border-radius:50%;box-sizing:border-box}
#ehl .fb-liste label:has(input:checked)::before{border:6px solid var(--blue)}
#ehl .fb-kontakt-titel{font:400 24px/1.22 Georgia,'Times New Roman',serif;letter-spacing:-.02em;margin:0 0 8px;padding:0}
#ehl .fb-kontakt-text{color:var(--muted);margin:0 0 22px}
#ehl .fb-leiste{display:flex;align-items:center;justify-content:space-between;background:var(--blue);color:#fff;padding:6px 10px;font-size:14px}
#ehl .fb-leiste span{opacity:.9}
#ehl .fb-pfeil{background:transparent;border:0;color:#fff;font-size:24px;line-height:1;width:48px;height:48px;border-radius:6px;cursor:pointer}
#ehl .fb-pfeil:hover{background:rgba(255,255,255,.12)}
#ehl .fb-pfeil:focus-visible{outline:3px solid #de9d37;outline-offset:-3px}
#ehl .fb-pfeil[hidden]{display:block;visibility:hidden}
#ehl .fb-vertrauen{text-align:center;color:var(--muted);font-size:13px;margin:18px 0 0}
#ehl .fb-noscript{padding:24px 28px;margin:0}
#ehl .fb-hinweis-fehler{color:#b3261e;font-size:14px;margin:12px 0 0}
@media(max-width:620px){
  #ehl .fb-seite{padding:20px 12px 40px}
  #ehl .eform{padding:24px 18px 18px}
  #ehl .fb-frage{font-size:22px}
  #ehl .fb-kacheln{gap:10px}
  #ehl .fb-kachel{font-size:14px;padding:16px 8px}
  #ehl .fb-kachel svg{width:56px;height:56px}
}

/* Danke-Seite */
#ehl .danke{max-width:620px;margin:0 auto;text-align:center;padding:56px 20px 64px}
#ehl .danke .haken{width:64px;height:64px;border-radius:50%;background:#eaf4f9;color:var(--blue);display:grid;place-items:center;font-size:30px;margin:0 auto 22px}
#ehl .danke h1{font-size:clamp(32px,6vw,46px);margin:0 0 16px}
#ehl .danke p{color:var(--muted);margin:0 0 14px}
#ehl .danke .btn{margin-top:14px}

/* Vorrang vor den #ehl-Grundregeln der Startseite (p ohne Abstand, Links in Textfarbe) */
#ehl .eform .hinweis{margin:10px 0 0}
#ehl .eform .fehlertext{margin:6px 0 0}
#ehl .eform .meldung{margin:12px 0 0}
#ehl .eform a,#ehl .danke a:not(.btn){color:var(--blue)}
#ehl .danke .danke-anhang{background:#fff6e5;border:1px solid #f0d49c;border-radius:10px;padding:12px 14px;color:#5c4100;text-align:left}
