/* Anfrageoberfläche: CI V3.1 Farben, klare Lesefolge, bestehende Seite erhalten. */
.contact-layout{grid-template-columns:minmax(220px,.85fr) minmax(0,1.15fr);gap:4rem}.contact-panel{background:#fff;color:#163D3B;border-radius:8px;padding:2rem;min-width:0}.contact-panel h3{font-size:1.65rem;letter-spacing:-.02em;margin-bottom:1rem}.contact-panel p,.contact-panel label,.contact-panel legend{font-size:1rem;line-height:1.6}.contact-panel a{color:#2F6F62;text-decoration:underline;text-underline-offset:3px}.contact-panel .button{font-size:1rem;background:#2F6F62;color:white;border:0;justify-content:center;min-height:48px}.contact-panel .button:hover{background:#163D3B}.contact-panel .button.secondary{background:#E6EFEB;color:#163D3B}.contact-panel button:disabled{opacity:.55;cursor:not-allowed;transform:none}.form-intro{color:#4F625F}.service-notice{padding:1rem;border-left:3px solid #528F82;background:#F7F8F6;color:#163D3B;font-size:.875rem!important}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.contact-panel label{display:block;margin-block:1rem .35rem;font-weight:600}.contact-panel label span{font-weight:400;color:#4F625F}.contact-panel input:not([type=checkbox]),.contact-panel textarea,.question-dialog input{display:block;width:100%;font:inherit;font-size:1rem;padding:.75rem;background:#fff;color:#163D3B;border:1px solid #90A89D;border-radius:4px;min-height:48px}.contact-panel textarea{resize:vertical;min-height:8rem}.contact-panel :is(input,textarea,button):focus-visible,.question-dialog :is(input,button,a):focus-visible{outline:3px solid #2F6F62;outline-offset:3px}.contact-panel details{border-block:1px solid #E6EFEB;padding-block:.7rem;margin-top:1rem}.contact-panel summary{cursor:pointer;padding-block:.45rem}.contact-panel fieldset{border:0;padding:0;margin:1.5rem 0}.contact-panel legend{font-weight:600}.check-row{display:flex!important;align-items:flex-start;gap:.6rem;font-weight:400!important}.check-row input{width:22px;height:22px;flex:none;margin-top:.18rem;accent-color:#2F6F62}.field-note{color:#4F625F;font-size:.875rem!important;margin-top:.5rem}.form-actions{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:1.25rem}.form-actions .button{flex:1}.form-review{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;font-size:1rem;background:#F7F8F6;padding:1rem;max-height:26rem;overflow:auto}.contact-status{overflow-wrap:anywhere;margin:1rem 0 0}.contact-status:empty{display:none}.form-trap{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.contact-alternatives{margin-top:1.5rem;border-top:1px solid #E6EFEB;padding-top:1rem;overflow-wrap:anywhere}.contact-alternatives a{display:inline-block;min-height:44px;padding:.4rem 0}.assistant-intro{margin-top:2rem;max-width:25rem}.assistant-intro .button{color:#163D3B;background:white}.assistant-intro p{font-size:1rem;line-height:1.6;margin-top:1rem}.question-dialog{color:#163D3B;background:white;max-width:min(620px,calc(100vw - 32px));width:620px;max-height:calc(100dvh - 32px);padding:2rem;border:0;border-radius:10px;box-shadow:0 20px 80px #081B2940;overflow:auto}.question-dialog::backdrop{background:#081B2999}.question-dialog h2{font-size:1.8rem;letter-spacing:-.02em;line-height:1.3}.dialog-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem}.dialog-heading button{min-width:44px;min-height:44px;background:#E6EFEB;border:0;border-radius:4px;font-size:1.25rem}.question-dialog p{font-size:1rem;line-height:1.6}.question-dialog .field-note{margin-top:1rem}.question-topics{display:grid;gap:.5rem;margin-block:1.25rem}.question-topics button{font:inherit;text-align:left;border:1px solid #C3D6CE;background:#F7F8F6;color:#163D3B;padding:.75rem;min-height:44px;border-radius:4px}.question-topics button:hover{background:#E6EFEB}.question-dialog label{display:block;margin:.5rem 0}.question-dialog .button{background:#2F6F62;color:white;margin-top:.75rem}.question-answer{padding:1rem;background:#E6EFEB;margin-top:1rem;overflow-wrap:anywhere}.question-answer:empty{display:none}.question-answer a{text-decoration:underline;display:block;min-height:44px}.contact-panel [hidden],.question-dialog [hidden]{display:none!important}@media(max-width:900px){.contact-layout{grid-template-columns:1fr;gap:2rem}.contact-panel{padding:1.5rem}.assistant-intro{max-width:100%}}@media(max-width:480px){.field-grid{grid-template-columns:1fr;gap:0}.contact-panel{padding:1.1rem}.question-dialog{padding:1.1rem}.contact-panel .form-actions{flex-direction:column}.question-dialog h2{font-size:1.45rem}}

/* Freiwilligen Bedarfsbereich als klar erkennbaren zweiten Einstieg hervorheben. */
.contact-panel .need-details{border:2px solid #528F82;border-radius:8px;background:#E6EFEB;margin-top:1.5rem;padding:0;overflow:hidden}.contact-panel .need-details summary{display:flex;align-items:center;justify-content:space-between;gap:1rem;list-style:none;padding:1.15rem;min-height:90px}.need-details summary::-webkit-details-marker{display:none}.need-details summary strong{display:block;font-size:1.08rem;line-height:1.4;color:#163D3B}.need-details summary small{display:block;font-size:.86rem;color:#4F625F;line-height:1.5;margin-top:.35rem}.need-details summary:hover{background:#d9e8e0}.need-details summary:focus-visible{outline:3px solid #163D3B;outline-offset:-5px}.need-toggle{width:34px;height:34px;border-radius:50%;background:#2F6F62;color:white;display:grid;place-items:center;flex-shrink:0;font-size:1.6rem;line-height:1}.need-toggle:before{content:'+'}.need-details[open] .need-toggle:before{content:'−'}.need-fields{padding:0 1.15rem 1.15rem;background:#F7F8F6}.need-fields>.field-note{margin:0;padding-top:1rem}
.contact-panel .need-details[open]>summary>span{transform:none}

/* Resonanzkörper V5: eigene, ruhige Markenfigur; keine Aktivitätsanzeige. */
.assistant-intro [data-open-assistant]{padding:.35rem 1.25rem .35rem .35rem;gap:.85rem;text-align:left}.assistant-avatar-small{width:64px;height:72px;object-fit:cover;flex:none;background:#081b29;border-radius:5px}.assistant-identity{display:flex;align-items:center;gap:1.3rem;margin-top:1.25rem}.assistant-identity>p{font-weight:600;max-width:15rem}.assistant-identity>p span{display:inline-block;font-weight:400;color:#4F625F;margin-top:.5rem}.assistant-avatar{position:relative;width:170px;height:188px;flex:none;background:radial-gradient(ellipse at 50% 65%,#163d48,#081b29 80%);overflow:hidden;border-radius:8px}.assistant-avatar>img,.assistant-avatar>canvas{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.assistant-avatar>canvas{visibility:hidden;touch-action:pan-y;cursor:grab}.assistant-avatar.avatar-ready>canvas{visibility:visible}.assistant-avatar.avatar-ready>img{visibility:hidden}.assistant-avatar>canvas:active{cursor:grabbing}@media(max-width:480px){.assistant-identity{gap:1rem}.assistant-avatar{width:115px;height:140px}.assistant-identity>p{font-size:.9rem}.assistant-avatar-small{width:56px;height:64px}}@media(prefers-reduced-motion:reduce){.assistant-avatar>canvas{visibility:hidden!important}.assistant-avatar>img{visibility:visible!important}}.motion-off .assistant-avatar>canvas{visibility:hidden!important}.motion-off .assistant-avatar>img{visibility:visible!important}

/* Zwei klare Verwendungen: ruhiges Kontaktmotiv und eigenständiger Beraterzugang. */
.contact-intro{margin-top:2rem;max-width:25rem}.contact-intro p{font-size:1.1rem;line-height:1.65;margin-top:1rem}.contact-symbol{display:block;width:200px;max-width:100%;height:auto;pointer-events:none}.advisor-launcher{position:fixed;right:1.25rem;bottom:1.25rem;z-index:40;display:flex;align-items:center;gap:.7rem;border:1px solid #528F82;border-radius:12px;padding:.5rem 1rem .5rem .5rem;background:#163D3B;color:#fff;box-shadow:0 6px 24px #081b2940;font:inherit;text-align:left;cursor:pointer;min-height:64px}.advisor-launcher img{width:56px;height:52px;object-fit:cover;border-radius:6px}.advisor-launcher span{font-weight:600;line-height:1.35}.advisor-launcher small{display:block;font-size:.75rem;font-weight:400;color:#d9e8e0;margin-top:.15rem}.advisor-launcher:hover{background:#20524b}.advisor-launcher:focus-visible{outline:3px solid #528F82;outline-offset:4px}@media(max-width:760px){.advisor-launcher{right:.75rem;bottom:5.5rem;padding:.35rem .75rem .35rem .35rem;gap:.45rem;min-height:54px}.advisor-launcher img{width:42px;height:44px}.advisor-launcher span{font-size:.85rem}.advisor-launcher small{font-size:.68rem}}

/* Kompaktes Chatfenster: fester Rahmen, nur das Gespräch scrollt. */
.question-dialog{width:440px;max-width:calc(100vw - 24px);height:620px;max-height:calc(100dvh - 24px);padding:0;overflow:hidden;border-radius:16px}
.question-dialog[open]{display:flex;flex-direction:column}
.chat-header{display:flex;align-items:center;gap:.8rem;padding:1rem 1.1rem;background:#163D3B;color:#fff;flex:none}
.chat-header .assistant-avatar{width:60px;height:66px;border-radius:8px}
.chat-header h2{font-size:1.25rem;line-height:1.2;letter-spacing:0;margin:0;color:#fff}
.chat-header p{margin:.2rem 0 0;font-size:.85rem;color:#d9e8e0}
.chat-header>button{margin-left:auto;align-self:flex-start;width:40px;height:40px;border:0;border-radius:50%;background:transparent;color:#fff;font:inherit;font-size:1.6rem;cursor:pointer}
.chat-header>button:hover{background:#ffffff18}
.question-dialog .chat-service-note{margin:0;padding:.5rem 1rem;font-size:.73rem;line-height:1.4;background:#E6EFEB;color:#4F625F;flex:none}
.question-dialog .question-answer{flex:1;min-height:0;margin:0;padding:1rem;background:#F7F8F6;overflow-y:auto;overscroll-behavior:contain;display:flex;flex-direction:column;gap:.8rem}
.chat-message{max-width:90%;padding:.75rem .9rem;border-radius:12px;flex:none;overflow-wrap:anywhere}
.chat-message-bot{align-self:flex-start;background:#E6EFEB;border-bottom-left-radius:3px}
.chat-message-user{align-self:flex-end;background:#2F6F62;color:#fff;border-bottom-right-radius:3px}
.chat-speaker{font-size:.68rem;font-weight:600;opacity:.8}
.question-dialog .chat-message p{font-size:.9rem;line-height:1.55;margin:.25rem 0 0}
.question-dialog .chat-message a{font-size:.8rem;min-height:0;padding-top:.6rem}
.question-dialog .question-topics{display:flex;gap:.4rem;overflow-x:auto;flex:none;margin:0;padding:.65rem 1rem .25rem;scrollbar-width:thin}
.question-topics button{flex:none;min-height:34px;padding:.35rem .7rem;border-radius:18px;font-size:.76rem;white-space:nowrap}
.chat-handoff{min-height:36px;padding:0 1rem;flex:none}
.chat-handoff button{font:inherit;font-size:.76rem;color:#2F6F62;background:transparent;border:0;padding:.4rem 0;min-height:34px;text-decoration:underline;cursor:pointer}
#question-form{flex:none;padding:0 1rem 1rem;margin:0}
.question-dialog .chat-input-label{font-size:.75rem;margin:0 0 .35rem;color:#4F625F}
.chat-composer{display:flex;gap:.5rem;align-items:stretch}
.chat-composer input{min-width:0;border-radius:8px;font-size:.9rem}
.question-dialog .chat-composer .button{margin:0;padding:.65rem .85rem;border-radius:8px;font-size:.85rem;flex:none}
@media(max-width:480px){.question-dialog{height:600px}.chat-header{padding:.75rem 1rem}.chat-header .assistant-avatar{width:48px;height:54px}}

/* CI-Lesbarkeit; kompakte Chatstruktur nach Michaels Vorgabe bleibt erhalten. */
.contact-panel p,.contact-panel label,.contact-panel legend,.contact-panel input:not([type=checkbox]),.contact-panel textarea,.contact-intro p{font-size:18px;line-height:28px}.contact-panel .field-note,.contact-panel .service-notice,.question-dialog .chat-service-note,.question-dialog .chat-input-label,.question-topics button,.chat-handoff button,.chat-speaker,.advisor-launcher small{font-size:14px;line-height:20px}.question-topics button,.chat-handoff button,.chat-header>button{min-height:44px}.chat-header>button{min-width:44px}.chat-handoff{min-height:46px}.question-dialog .chat-service-note{flex:none}.question-dialog .chat-message p{font-size:16px;line-height:24px}.contact-panel h3{line-height:1.3;letter-spacing:-.02em}

.chat-state{font-size:14px;line-height:20px;margin:0;padding:0 20px;color:#4F625F}.chat-state:empty{display:none}.chat-handoff{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}.chat-handoff #reset-chat{color:#4F625F;font-weight:400}.chat-composer button:disabled{opacity:.55;cursor:wait}

/* Michaels Feedback, 16.09.2026: eigene Nachricht in Petrol, Weitergabe in Petrol; Braun nach Michaels Feedback wieder entfernt. */
.question-dialog #question-input{color:#163D3B;-webkit-text-fill-color:#163D3B;font-size:16px;font-weight:600;caret-color:#163D3B}
.question-dialog #question-input::placeholder{color:#4F625F;-webkit-text-fill-color:#4F625F;font-weight:400}
.chat-message-user{background:#DCEAE4;color:#163D3B;border:1px solid #90A89D}
.chat-handoff #handoff-question,.question-dialog .chat-handoff-action{background:#163D3B;color:#fff;border:1px solid #163D3B;border-radius:8px;font:inherit;font-size:14px;line-height:20px;font-weight:600;min-height:44px;padding:10px 12px;text-decoration:none;text-align:left;cursor:pointer}
.chat-handoff #handoff-question:hover,.question-dialog .chat-handoff-action:hover{background:#163D3B;border-color:#163D3B;box-shadow:0 3px 9px #081B2926}
.question-dialog .chat-handoff-action{display:block;margin-top:12px;width:100%}
.chat-handoff{padding-block:6px;align-items:center;gap:4px 10px}

#newsletter-options .check-row strong,#newsletter-options .consent-copy{display:block}#newsletter-options .check-row strong{color:#163D3B;margin-bottom:4px}

/* Clarus in der festen Kopfzeile: kein schwebendes Element über Seiteninhalten. */
.site-header .nav-row{gap:20px}.site-header .nav-row nav{margin-left:auto}.site-header .advisor-launcher{position:static;flex:none;min-height:48px;gap:8px;padding:4px 12px 4px 4px;box-shadow:none;border-radius:8px;z-index:auto}.site-header .advisor-launcher img{width:38px;height:38px}.site-header .advisor-launcher span{font-size:14px;white-space:nowrap}.site-header .advisor-launcher small{display:none}@media(max-width:767px){.site-header .nav-row{gap:10px}.site-header .wordmark img{width:165px;max-width:100%}.site-header .advisor-launcher{padding:3px;min-height:44px;min-width:44px}.site-header .advisor-launcher span{display:none}.site-header .advisor-launcher img{width:36px;height:36px}.site-header .nav-row nav>.nav-cta{padding:8px;font-size:14px;gap:6px}.site-header .nav-row nav>.nav-cta>span[aria-hidden]{display:none}}@media(max-width:370px){.site-header .wordmark img{width:140px}.site-header .nav-row{height:88px;flex-direction:row;justify-content:space-between;gap:8px}.site-header .nav-row nav>.nav-cta{padding:6px;font-size:13px}}

/* Freigegebene Stichwortlinks bleiben Teil des Antwortsatzes. */
.question-dialog .chat-message p a{display:inline;margin:0;font:inherit;font-weight:600;color:#163D3B;text-decoration:underline;text-underline-offset:3px}
