/* Darstellung der Kalkulator-Formulare; Seitengestaltung liegt in Elementor. */
.retk-form{font-family:"Fira Sans",Arial,sans-serif;--retk-accent:#984523}
.retk-form .gform_heading{display:none}
.retk-form .gfield_label,.retk-form .gform-field-label--type-sub{color:#292d2c}
.retk-form .gfield_label{font-size:20px!important;line-height:1.45!important;font-weight:600!important;margin-bottom:12px!important}
.retk-form .gfield_required{color:var(--retk-accent)}
.retk-form .gfield_description{font-size:14px!important;line-height:1.55!important;color:#697067!important;padding-top:10px!important}
/* Zahlenfragen: Frage links, Feld rechts, das Feld ist nur so breit wie sein Inhalt */
.retk-form .gfield--type-number{display:grid;grid-template-columns:minmax(0,1fr) 180px;column-gap:20px;align-items:center}
.retk-form .gfield--type-number .gfield_label{grid-column:1;align-self:end;margin:0!important}
.retk-form .gfield--type-number .gfield_description{grid-column:1;align-self:start;padding-top:4px!important}
.retk-form .gfield--type-number .ginput_container{grid-column:2;grid-row:1/span 2;margin:0!important}
.retk-form .gfield--type-number .validation_message{grid-column:1/-1;grid-row:3}
.retk-form .gfield_radio,.retk-form .gfield_checkbox{display:grid!important;gap:8px!important}
.retk-form .gfield_radio .gchoice,.retk-form .gfield_checkbox .gchoice{position:relative!important;display:block!important;padding:0!important;margin:0!important;min-height:56px;border:1px solid #d9d5ce;border-radius:6px;background:#fff;box-sizing:border-box}
.retk-form .gfield_radio .gchoice label,.retk-form .gfield_checkbox .gchoice label{display:flex!important;align-items:center;width:100%!important;max-width:none!important;min-height:56px;padding:14px 16px 14px 48px!important;margin:0!important;font-size:17px!important;line-height:1.4!important;font-weight:500!important;color:#292d2c;cursor:pointer;box-sizing:border-box}
.retk-form .gchoice input{position:absolute!important;left:16px!important;top:50%!important;transform:translateY(-50%)!important;width:20px!important;height:20px!important;margin:0!important;accent-color:var(--retk-accent);cursor:pointer;z-index:1}
.retk-form .gchoice:hover{border-color:#b38d76;background:#fcfaf7}
.retk-form .gchoice:has(input:checked){border-color:var(--retk-accent);background:#f3e8de;box-shadow:inset 0 0 0 1px var(--retk-accent)}
.retk-form .gchoice:has(input:focus-visible){outline:2px solid var(--retk-accent);outline-offset:3px}
.retk-form .gfield_consent_label{font-size:15px!important;line-height:1.6!important}
.retk-form input:where(:not([type=radio],[type=checkbox],[type=submit],[type=button],[type=hidden])),.retk-form select{min-height:54px;border:1px solid #aaa6a2!important;border-radius:4px!important;padding:13px 15px!important;font-size:18px!important;background:#fff!important;color:#252b2f!important}
/* € steht als fester Zusatz im Feld, der Wert selbst bleibt eine reine Zahl */
.retk-form .retk-euro .ginput_container{position:relative}
.retk-form .retk-euro .ginput_container::after{content:"€";position:absolute;right:15px;top:50%;transform:translateY(-50%);font-size:18px;color:#596158;pointer-events:none}
.retk-form .retk-euro input{padding-right:36px!important}
.retk-form .ginput_container_number input{text-align:right;font-variant-numeric:tabular-nums}
.retk-form .ginput_container_number input::placeholder{color:#aaa6a2;opacity:1}
/* Vermögenstabelle: Zeilen stoßen aneinander, ausgefüllte Zeilen färben sich wie gewählte Antworten */
.retk-form .gform_fields:has(.retk-tabelle){row-gap:0!important}
.retk-form .gfield--type-section{border:0!important;padding:0!important;margin:0 0 16px!important}
.retk-form .gsection_title{font-size:20px!important;line-height:1.45!important;font-weight:600!important;color:#292d2c;margin:0!important}
.retk-form .gsection_description{font-size:14px!important;line-height:1.55!important;color:#697067!important;padding:6px 0 0!important}
.retk-form .retk-tabelle{padding:12px 16px;background:#fff;border:1px solid #d9d5ce;border-top:0;transition:background-color .2s ease}
.retk-form .gfield--type-section+.retk-tabelle{border-top:1px solid #d9d5ce;border-radius:6px 6px 0 0}
.retk-form .retk-tabelle:focus-within{background:#fcfaf7}
.retk-form .retk-tabelle:has(input:not(:placeholder-shown)){background:#f3e8de}
@media(hover:hover){.retk-form .retk-tabelle:hover{background:#f7f4ef}.retk-form .retk-tabelle:has(input:not(:placeholder-shown)):hover{background:#ecdccd}}
.retk-form .retk-tabelle .gfield_label{font-size:17px!important;line-height:1.35!important;font-weight:500!important}
.retk-form .retk-tabelle .gfield_description{font-size:13px!important;line-height:1.4!important;padding-top:2px!important}
.retk-form .retk-tabelle input{min-height:46px;padding-top:9px!important;padding-bottom:9px!important;border-color:#d9d5ce!important;transition:border-color .2s ease}
.retk-form .retk-tabelle input:focus{border-color:var(--retk-accent)!important}
/* Fragen in Tabellenoptik: die Trennlinien sind der Hintergrund der Liste, so stört es nicht, welche Zeilen ausgeblendet sind */
.retk-form .gform_fields:has(>.retk-frage){row-gap:1px!important;background:#d9d5ce;border:1px solid #d9d5ce;border-radius:6px;overflow:hidden}
.retk-form .retk-frage{border:0}
.retk-form .retk-summe{display:flex;justify-content:space-between;align-items:baseline;padding:14px 31px 14px 16px;background:#f7f4ef;border:1px solid #d9d5ce;border-top:0;border-radius:0 0 6px 6px;font-size:17px;font-weight:500;color:#292d2c}
.retk-form .retk-summe strong{font-size:20px;font-weight:600;font-variant-numeric:tabular-nums}
.retk-form .gform_footer,.retk-form .gform_page_footer{display:flex;gap:14px;justify-content:flex-end;border:0!important;margin:18px 0 0!important;padding:0!important}
.retk-form input[type=submit],.retk-form button[type=submit],.retk-form .gform_next_button{background:var(--retk-accent)!important;color:#fff!important;border:1px solid var(--retk-accent)!important;border-radius:6px!important;padding:15px 25px!important;min-height:54px;font-size:17px!important;line-height:1.35!important;font-weight:500;cursor:pointer}
.retk-form input[type=submit]:hover,.retk-form button[type=submit]:hover,.retk-form .gform_next_button:hover{background:#7e381d!important;border-color:#7e381d!important}
.retk-form .gform_previous_button{background:#fff!important;color:#596158!important;border:1px solid #c9c5c2!important;border-radius:6px!important;padding:15px 20px!important;min-height:54px;font-size:16px!important;margin-right:auto!important;cursor:pointer}
.retk-form input:focus-visible,.retk-form button:focus-visible{outline:2px solid var(--retk-accent)!important;outline-offset:2px!important}
.retk-form a{color:#91401f;text-decoration:underline}
.retk-form .gf_progressbar_title{font-size:14px!important;color:#596158!important}
.retk-form .gf_progressbar{height:8px!important;border-radius:10px!important;background:#ebe7e4!important;margin-bottom:30px;padding:0}
.retk-form .gf_progressbar_percentage{height:8px!important;background:var(--retk-accent)!important;border-radius:10px}
.retk-form .gf_progressbar_percentage span{display:none!important}
.retk-form-start_wrapper .gform_required_legend{display:none}
.retk-form-start .gform_footer input[type=submit],.retk-form-start .gform_footer button[type=submit]{width:100%}
@media(max-width:767px){.retk-form .gfield_label{font-size:18px!important}.retk-form .retk-tabelle{grid-template-columns:minmax(0,1fr) 150px;column-gap:12px;padding:12px}.retk-form .retk-tabelle .gfield_label{font-size:16px!important}.retk-form .retk-frage .gfield_label{align-self:center}.retk-form .retk-frage .ginput_container{grid-row:1}.retk-form .retk-frage .gfield_description{grid-column:1/-1;padding-top:8px!important}.retk-form .retk-summe{padding:14px 27px 14px 12px}.retk-form .gform_page_footer{flex-wrap:wrap}.retk-form .gform_next_button,.retk-form input[type=submit]{flex:1;min-width:165px!important}}
