/* Mechanik der kopierten Wix-Seiten (Robins Liste 05.11.2026), gleich für alle. Die Optik steht in stil.css. */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{margin:0;-webkit-font-smoothing:antialiased;overflow-x:hidden}
img,svg,video{display:block;max-width:100%}
a{color:inherit}
button,input,select,textarea{font:inherit;color:inherit}
.weg{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);
  white-space:nowrap;border:0}
:focus-visible{outline:2px solid currentColor;outline-offset:3px}
.fb-schritt:focus,.fb-schritt:focus-visible{outline:none}

/* ---------- Fragebogen ---------- */
.fb{display:flex;flex-direction:column}
.fb-schritt{display:none;flex:1;flex-direction:column;border:0;margin:0;padding:0;min-width:0}
.fb-schritt.aktiv{display:flex}
.fb-block+.fb-block{margin-top:18px}
.fb-frage{display:block;margin:0;padding:0}
.fb-frage b{font-weight:700}
.fb-invest-satz{display:block;margin-top:.7em;font-weight:700}
.fb-chips{display:flex;flex-wrap:wrap}
.fb-chip{position:relative;display:inline-flex;align-items:center;cursor:pointer;user-select:none;
  -webkit-tap-highlight-color:transparent}
.fb-chip input,.fb-wahl input{position:absolute;opacity:0;pointer-events:none}
.fb-wahl{position:relative;display:flex;align-items:center;cursor:pointer;-webkit-tap-highlight-color:transparent}
.fb-wahl::before{content:"";flex:0 0 auto;width:18px;height:18px;border-radius:50%;border:1.5px solid currentColor;
  margin-right:10px;box-shadow:inset 0 0 0 3px transparent}
.fb-wahl.gewaehlt::before{background:currentColor;box-shadow:inset 0 0 0 3px var(--fb-wahl-grund, #fff)}
.fb-chip:has(input:focus-visible),.fb-wahl:has(input:focus-visible){outline:2px solid currentColor;outline-offset:2px}
.fb-knoepfe{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;margin-top:auto;padding-top:16px}
.fb-knoepfe.nur-weiter{justify-content:flex-end}
.fb-knopf{cursor:pointer;-webkit-tap-highlight-color:transparent;min-height:44px}
.fb-knopf[disabled]{opacity:.6;cursor:wait}
.fb-textfeld{display:block;width:100%;resize:vertical;min-height:110px}
.fb-felder{display:flex;flex-direction:column}
.fb-feld{position:relative}
.fb-label{display:block;margin-bottom:4px}
.fb-eingabe{display:block;width:100%;min-height:44px;-webkit-appearance:none;appearance:none}
select.fb-eingabe{cursor:pointer;background-repeat:no-repeat;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23555' stroke-width='1.5'/%3E%3C/svg%3E");
  background-size:12px 8px;background-position:right 14px center;padding-right:38px}
.fb-telefon{display:flex;align-items:stretch;min-height:44px;overflow:hidden}
.fb-telefon select{flex:0 0 auto;border:0;background-color:transparent;-webkit-appearance:none;appearance:none;cursor:pointer;
  padding:0 22px 0 12px;background-repeat:no-repeat;background-size:10px 7px;background-position:right 6px center;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23555' stroke-width='1.5'/%3E%3C/svg%3E")}
.fb-telefon input{flex:1;min-width:0;border:0;background:transparent;padding:0 12px 0 6px}
.fb-telefon input:focus{outline:none}
.fb-telefon:focus-within{outline:2px solid currentColor;outline-offset:2px}
.consent{display:flex;align-items:flex-start;gap:10px;margin-top:14px;cursor:pointer;line-height:1.45}
.consent input{flex:0 0 auto;width:20px;height:20px;margin:1px 0 0;cursor:pointer;accent-color:currentColor}
.consent a{text-decoration:underline}
.fb-hinweis{display:none;margin:6px 4px 0;font-size:13px;line-height:1.35;font-weight:600}
.fb-hinweis.an{display:block}
.falsch{box-shadow:0 0 0 2px var(--fb-fehler, #A3261C)!important}
.fb-hinweis{color:var(--fb-fehler, #A3261C)}

/* ---------- Danke und Rechtsseiten ---------- */
body.seite-danke,body.seite-recht{min-height:100vh;min-height:100dvh;display:flex;flex-direction:column}
body.seite-danke>main,body.seite-recht>main{flex:1 0 auto}
.danke-text p{margin:0 0 1em}
.wa-knopf{display:inline-flex;align-items:center;justify-content:center;gap:10px;text-decoration:none;min-height:44px}
.wa-knopf svg{width:22px;height:22px;flex:0 0 auto}
.heim{display:inline-flex;align-items:center;justify-content:center;min-height:44px;text-decoration:none}
.recht h1,.recht h2{overflow-wrap:anywhere;hyphens:auto}
.recht h2{margin:1.6em 0 .4em}
.recht p{margin:0 0 .9em;overflow-wrap:anywhere}
.fuss nav a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;min-width:44px;padding:0 6px}

@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;
    transition-duration:.01ms!important;scroll-behavior:auto!important}
}
