/* FelloraTier24 Beitragsrechner – im Stil der bestehenden Beitragskarte */
.contribution-inner{align-items:start}
.rechner{position:relative;scroll-margin-top:96px}
.rechner-head{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.rechner-head .eyebrow{margin:0}
.rechner-connection{font-size:11px;letter-spacing:.04em;padding:5px 10px;border-radius:99px;background:#efe2c8;color:#6b4f1d;border:1px solid #dcc69a}
.rechner-connection[data-connected="true"]{background:#dfeccf;color:#2e5130;border-color:#b9cf9f}
.book-home .rechner h3{margin:14px 0 22px}
.rechner-progress{list-style:none;padding:0;margin:0 0 22px;display:grid;grid-template-columns:repeat(4,1fr);gap:6px}
.rechner-progress button{width:100%;min-height:48px;display:flex;flex-direction:column;align-items:flex-start;gap:3px;padding:8px 9px;border:1px solid #cbd2bc;border-radius:3px;background:#fffef7;color:#5b6b52;font:600 11px/1.25 Manrope,Arial,sans-serif;text-align:left}
.rechner-progress button span{font-size:10px;font-weight:500;color:#8a977b}
.rechner-progress button[aria-current=step]{background:#203e30;color:#f4f1e5;border-color:#203e30}
.rechner-progress button[aria-current=step] span{color:#c0ccac}
.rechner-progress .is-done button{border-color:#8fa47c;color:#203e30}
.rechner-progress button:disabled:not([aria-current]){opacity:.55;cursor:not-allowed}
.rechner-sync{font-size:12px;line-height:1.6;background:#fff8e6;border:1px solid #e3d2a6;border-radius:3px;padding:10px 12px;margin:0 0 18px;color:#5b4a22}
.rechner-sync .text-link{font-size:12px;font-weight:700;text-decoration:underline;background:none;border:0;padding:4px 2px;color:#203e30}
#quote-form{margin:0}
.q-step{border:0;margin:0;padding:0;min-width:0}
.q-step:focus{outline:none}
.q-field{margin:0 0 20px}
.q-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}
.book-home .rechner .q-label{display:block;font-size:13px;font-weight:600;line-height:1.5;margin:0 0 9px;color:#203e30}
.rechner input:not([type=radio]),.rechner select{width:100%;min-height:52px;padding:12px 15px;font:16px Manrope,Arial,sans-serif;border:1px solid #bdc8af;border-radius:3px;background:#fffef7;color:#263f2b;-webkit-appearance:none;appearance:none}
.rechner select{background-image:linear-gradient(45deg,transparent 50%,#476345 50%),linear-gradient(135deg,#476345 50%,transparent 50%);background-position:calc(100% - 20px) 50%,calc(100% - 15px) 50%;background-size:5px 5px;background-repeat:no-repeat;padding-right:40px}
.rechner input[type=date]{min-height:52px;display:block}
.rechner input:focus-visible,.rechner select:focus-visible{outline:2px solid #476345;outline-offset:3px}
.rechner [aria-invalid=true]{border-color:#a3402c!important;background-color:#fff6f3!important}
.q-choices{display:grid;gap:8px}
.q-choices-3{grid-template-columns:repeat(3,1fr)}
.q-choices-2{grid-template-columns:repeat(2,1fr)}
.q-choices label{position:relative;display:block;margin:0;cursor:pointer}
.q-choices input{position:absolute;opacity:0;inset:0;width:100%;height:100%;margin:0;cursor:pointer}
.q-choices span{display:flex;flex-direction:column;justify-content:center;min-height:52px;height:100%;padding:10px 12px;border:1px solid #bdc8af;border-radius:3px;background:#fffef7;font-size:14px;font-weight:600;line-height:1.3;color:#263f2b;transition:background .15s,border-color .15s}
.q-choices small{display:block;font-size:11px;font-weight:400;color:#6b7863;margin-top:3px}
.q-compact span{font-size:13px;min-height:48px}
.q-choices input:checked+span{background:#203e30;border-color:#203e30;color:#f4f1e5}
.q-choices input:checked+span small{color:#c7d1bc}
.q-choices input:focus-visible+span{outline:2px solid #476345;outline-offset:3px}
.q-choices input[aria-invalid=true]+span{border-color:#a3402c}
.q-breed{margin-top:10px}
.book-home .rechner .q-hint{font-size:12px;line-height:1.65;color:#5e6e55;margin:8px 0 0}
.book-home .rechner .q-error{font-size:12px;line-height:1.5;color:#a3402c;font-weight:600;margin:7px 0 0}
.q-actions{display:flex;gap:12px;align-items:center;margin-top:24px}
.book-home .rechner .q-actions .button{flex:1;margin:0;justify-content:center;font-size:15px}
.rechner .back{background:none;border:1px solid #bdc8af;border-radius:3px;min-height:52px;padding:0 18px;font:600 14px Manrope,Arial,sans-serif;color:#203e30}
.q-result h4{font:400 26px/1.15 Georgia,serif;margin:0 0 8px;letter-spacing:-.02em}
.q-result:focus{outline:none}
.book-home .rechner .q-result-summary{font-size:12px;line-height:1.6;color:#5e6e55;margin:0 0 18px}
.q-loading{font-size:14px;color:#476345;padding:20px 0}
.q-loading::before{content:'';display:inline-block;width:14px;height:14px;margin-right:10px;vertical-align:-2px;border:2px solid #bdc8af;border-top-color:#203e30;border-radius:50%;animation:qspin .8s linear infinite}
@keyframes qspin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.q-loading::before{animation:none}}
.q-notice{border-radius:3px;padding:16px 18px;margin:0 0 16px;border:1px solid}
.q-notice strong{display:block;font-size:15px;margin-bottom:6px}
.book-home .rechner .q-notice p{font-size:13px;line-height:1.65;margin:0;color:inherit}
.q-notice-info{background:#eef2e6;border-color:#c5d2b2;color:#2d4632}
.q-notice-warn{background:#fff8e6;border-color:#e3d2a6;color:#5b4a22}
.q-notice-error{background:#fff1ed;border-color:#e2b5a8;color:#7a2e1f}
.q-external{display:inline-block;font-size:13px;font-weight:600;border-bottom:1px solid #8c9e7a;padding-bottom:3px;margin:4px 0 8px;color:#203e30}
.q-offers{width:100%;border-collapse:collapse;margin:0 0 16px;font-size:14px}
.q-offers th,.q-offers td{padding:12px 6px;border-bottom:1px solid #cbd2bc;text-align:right}
.q-offers th:first-child{text-align:left}
.q-offers thead th{font-size:11px;font-weight:600;color:#66735d}
.q-offers tbody th small{display:block;font-size:10px;font-weight:500;color:#8a6d22}
.q-offers td strong{font-size:17px}
.q-meta{display:grid;grid-template-columns:auto 1fr;gap:6px 16px;font-size:12px;margin:0 0 12px}
.q-meta dt{color:#66735d}.q-meta dd{margin:0;color:#203e30}
.q-result-actions{flex-wrap:wrap}
.q-result-actions .text-link{background:none;border:0;font:600 13px Manrope,Arial,sans-serif;color:#203e30;text-decoration:underline;padding:12px 4px;min-height:44px}
.book-home .rechner .q-fineprint{font-size:11px;line-height:1.7;color:#67735f;margin:16px 0 0}
@media(max-width:760px){
 .rechner{padding:22px 18px!important}
 .rechner-progress button{font-size:10px;padding:7px 6px}
 .q-grid{grid-template-columns:1fr}
 .q-choices-3{grid-template-columns:1fr}
 .q-choices-3.q-compact{grid-template-columns:repeat(3,1fr)}
 .q-compact span{font-size:12px;padding:8px 8px}
 .q-actions{position:sticky;bottom:calc(64px + env(safe-area-inset-bottom));background:#f5f3ea;padding:12px 0 6px;margin-top:16px;z-index:2}
 .q-offers td strong{font-size:15px}
}
.rechner input,.rechner select,.rechner .q-choices{scroll-margin-top:110px;scroll-margin-bottom:150px}
/* v2: Anfrage-Rechner mit Allianz-Angaben */
.rechner-allianz{font-size:12px;font-weight:600;color:#203e30;border-bottom:1px solid #8c9e7a;padding:6px 0;white-space:nowrap}
.book-home .rechner .rechner-lead{font-size:13px;line-height:1.7;color:#5e6e55;margin:-8px 0 20px}
.q-label-row{display:flex;align-items:center;gap:8px;justify-content:space-between}
.q-label-row .q-label{margin-bottom:9px}
.q-info-btn{flex:none;width:28px;height:28px;margin:0 0 9px;border-radius:50%;border:1px solid #9fb08d;background:#fffef7;color:#476345;font:italic 700 13px Georgia,serif;line-height:1;padding:0}
.q-info-btn[aria-expanded=true]{background:#203e30;color:#f4f1e5;border-color:#203e30}
.book-home .rechner .q-info{font-size:12px;line-height:1.65;color:#2d4632;background:#eef2e6;border-left:3px solid #8fa47c;padding:10px 12px;margin:0 0 10px}
.q-points{list-style:none;padding:0;margin:0 0 12px;display:grid;gap:4px}
.q-points li>span{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:13px;color:#263f2b;padding:2px 0 2px 14px;position:relative}
.q-points li>span::before{content:'';position:absolute;left:0;top:50%;width:5px;height:5px;border-radius:50%;background:#8fa47c;transform:translateY(-50%)}
.q-points .q-info-btn{width:24px;height:24px;margin:0;font-size:11px}
.q-points .q-info{margin:4px 0 6px 14px}
.q-inline{display:flex;align-items:center;gap:12px}
.q-inline input{max-width:150px}
.q-ort{font:400 20px Georgia,serif;color:#203e30}
.q-stepper{display:flex;align-items:stretch;max-width:180px}
.q-stepper button{width:52px;min-height:52px;border:1px solid #bdc8af;background:#fffef7;font-size:22px;color:#203e30}
.q-stepper button:first-child{border-radius:3px 0 0 3px}.q-stepper button:last-child{border-radius:0 3px 3px 0}
.rechner .q-stepper input.q-num{text-align:center;border-radius:0;border-left:0;border-right:0}
.q-sub{margin:0 0 14px}
.q-choices-n{grid-template-columns:repeat(2,1fr)}
.q-choices.q-stack{grid-template-columns:1fr 1fr}
.q-check{display:flex;gap:12px;align-items:flex-start;font-size:13px;line-height:1.6;color:#263f2b;cursor:pointer}
.q-check input{width:22px;height:22px;flex:none;margin:2px 0 0;accent-color:#203e30}
.rechner textarea{width:100%;padding:12px 15px;font:16px Manrope,Arial,sans-serif;border:1px solid #bdc8af;border-radius:3px;background:#fffef7;color:#263f2b;resize:vertical}
.q-hp{position:absolute!important;left:-9999px;width:1px;height:1px;overflow:hidden}
.q-summary{background:#eef2e6;border:1px solid #c5d2b2;border-radius:3px;padding:12px 14px;margin:0 0 20px}
.q-summary strong{display:block;font-size:12px;margin-bottom:4px}
.book-home .rechner .q-summary p{font-size:12px;line-height:1.7;margin:0;color:#2d4632}
.q-link{background:none;border:0;padding:0;font:inherit;color:inherit;text-decoration:underline;cursor:pointer}
.book-home .rechner .q-warn{color:#7a5a12;font-weight:600}
.book-home .rechner .q-fmt{margin-top:4px}
.book-home .rechner .q-step-intro{margin:0 0 16px}
.rechner:not(.is-ready) .q-step[data-qstep="1"] .button{opacity:.6;pointer-events:none}
@media(max-width:760px){
 .rechner-head{align-items:flex-start}
 .q-choices.q-stack,.q-choices-n{grid-template-columns:1fr}
 .q-inline{flex-wrap:wrap}
}
.contribution-inner>*{min-width:0}.rechner{min-width:0;max-width:100%}.rechner input,.rechner select{min-width:0}
.q-choices-3{grid-template-columns:repeat(3,minmax(0,1fr))}.q-choices-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.q-choices>label{min-width:0}.q-choices span{overflow-wrap:break-word;hyphens:auto}
@media(max-width:760px){.q-choices-3.q-compact{grid-template-columns:repeat(3,minmax(0,1fr))}.q-choices:has(small){grid-template-columns:1fr!important}}
.rechner .q-check input[type=checkbox]{width:22px!important;height:22px!important;min-height:0!important;padding:0!important;-webkit-appearance:checkbox!important;appearance:auto!important;border:0}
.book-home .rechner label.q-check{display:flex;gap:12px;align-items:flex-start;margin:0;font-size:13px;font-weight:500}.book-home .rechner .q-choices label{margin:0}
@media(max-width:760px){.q-actions{bottom:calc(var(--q-bar,72px) + 4px)}}
/* .contribution hat overflow:hidden – sticky wirkt dort nicht. Stattdessen Abstand zur festen Handy-Leiste beim Scrollen/Fokussieren */
@media(max-width:760px){.q-actions{position:static!important;background:none}.rechner .button,.rechner input,.rechner select,.rechner textarea,.rechner .back{scroll-margin-bottom:calc(var(--q-bar,74px) + 16px)}}
