/* Raum für uns · ruhig, funktional, zugänglich.
   Ausschließlich die überarbeiteten Profil- und Beitragsformulare. */
.form-section { padding: 30px 0 34px; border-top: 1px solid var(--line); min-width: 0; }
.form-section:first-of-type { border-top: 0; padding-top: 8px; }
.form-section-header { margin-bottom: 22px; }
.form-section-header h2, .form-section-header h3 { margin: 0 0 7px; font: 400 clamp(27px,2.35vw,33px)/1.16 var(--serif); letter-spacing: -.045em; color: var(--ink); }
.form-section-header p { margin: 0; max-width: 56ch; font-size: 14px; line-height: 1.65; color: var(--muted); }
.form-section .form-field { margin-bottom: 19px; }
.form-section .form-field > label { font-size: 14px; font-weight: 630; letter-spacing: 0; color: var(--ink); }
.form-section .form-field > input,
.form-section .form-field > textarea { padding: 15px 17px; min-height: 54px; border-color: rgba(35,58,50,.24); background: #fffdfa; }
.form-section .form-field > input:focus,
.form-section .form-field > textarea:focus { outline: 2px solid var(--green); outline-offset: 2px; border-color: var(--green); }
.form-section .helper { font-size: 12px; line-height: 1.55; }
.choice-fieldset { border: 0; min-width: 0; margin: 0 0 16px; padding: 0; }
.choice-fieldset legend:not(.visually-hidden) { display: block; font-size: 14px; font-weight: 650; padding: 0; margin-bottom: 8px; }
.choice-hint { font-size: 13px; line-height: 1.55; color: var(--muted); margin: 0 0 13px; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; min-width: 0; }
.choice-card { position: relative; display: block; min-width: 0; cursor: pointer; }
.choice-control { position: absolute; top: 50%; left: 50%; width: 1px !important; height: 1px !important; padding: 0 !important; margin: 0 !important; opacity: 0; pointer-events: none; }
.choice-card-body { min-width: 0; min-height: 102px; display: grid; grid-template-columns: 28px minmax(0,1fr) 15px; gap: 13px; align-items: start; padding: 19px 16px; border: 1px solid rgba(35,58,50,.20); background: #fffdfa; transition: background .16s ease, border-color .16s ease; }
.choice-icon, .preference-icon { color: var(--green); flex-shrink: 0; }
.ui-icon { display: block; width: 22px; height: 22px; }
.choice-text { display: grid; gap: 5px; min-width: 0; }
.choice-text strong { display: block; font: 600 14px/1.35 var(--sans); overflow-wrap: anywhere; color: var(--ink); }
.choice-text small { display: block; font: 400 12px/1.45 var(--sans); color: var(--muted); }
.choice-text small:empty { display: none; }
.choice-mark { justify-self: end; width: 16px; height: 16px; border: 1.5px solid #8b9b90; border-radius: 50%; margin-top: 3px; position: relative; flex: none; }
.choice-control:checked + .choice-card-body { border-color: #305a49; background: #e8eee6; box-shadow: inset 3px 0 0 #305a49; }
.choice-control:checked + .choice-card-body .choice-mark { border-color: #305a49; }
.choice-control:checked + .choice-card-body .choice-mark::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: #305a49; }
.choice-control:focus-visible + .choice-card-body { outline: 3px solid var(--rust-dark); outline-offset: 2px; }
@media(hover:hover){ .choice-card:hover .choice-card-body { border-color: #5a7969; background: #f1f5ef; } .choice-card:hover .choice-control:checked + .choice-card-body { background: #e3ecdf; } }
/* Dense chips for topic choice; cards for conversation mode and life stages. */
.topic-choices { gap: 8px; }
.topic-choices .choice-card-body { grid-template-columns: 20px minmax(0,1fr) 13px; min-height: 60px; padding: 15px 14px; gap: 9px; align-items: center; }
.topic-choices .ui-icon { width: 18px; height: 18px; }
.topic-choices .choice-text strong { font-size: 13px; }
.topic-choices .choice-mark { margin-top: 0; width: 14px; height: 14px; }
.topic-choices .choice-control:checked + .choice-card-body .choice-mark::after { inset: 2.5px; }
.family-choices .choice-card-body { min-height: 76px; align-items: center; }
.family-choices .choice-mark { margin-top: 0; }
.preference-row { position: relative; display: block; cursor: pointer; min-width: 0; }
.preference-row > input[type="checkbox"] { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.preference-body { display: grid; grid-template-columns: 24px minmax(0,1fr) 40px; gap: 15px; align-items: center; padding: 17px 0; border-bottom: 1px solid rgba(35,58,50,.14); }
.preference-row:first-of-type .preference-body { border-top: 1px solid rgba(35,58,50,.14); }
.preference-copy { display: grid; gap: 4px; min-width: 0; }
.preference-copy strong { font: 600 14px/1.42 var(--sans); color: var(--ink); }
.preference-copy small { display: block; font: 400 12px/1.6 var(--sans); color: var(--muted); }
.preference-switch { display: block; width: 39px; height: 23px; border-radius: 50px; background: #d8dcd3; border: 1px solid #9ca99f; position: relative; transition: background .16s ease, border-color .16s ease; }
.preference-switch::after { content: ''; display: block; position: absolute; width: 17px; height: 17px; left: 2px; top: 2px; border-radius: 50%; background: #fffdf8; border: 1px solid #a1aba2; transition: transform .16s ease; }
.preference-row > input:checked + .preference-body .preference-switch { background: var(--green); border-color: var(--green); }
.preference-row > input:checked + .preference-body .preference-switch::after { transform: translateX(16px); border-color: #f6f6f0; }
.preference-row > input:focus-visible + .preference-body { outline: 3px solid var(--rust-dark); outline-offset: 2px; }
@media(hover:hover){ .preference-row:hover .preference-body { background: rgba(232,238,230,.28); } }
.safety-note { max-width: 60ch; margin: 14px 0 0; font-size: 12px; line-height: 1.65; color: var(--muted); }
.legacy-region-note { padding: 16px 20px; background: #f1ebe0; border-left: 2px solid var(--rust); }
.legacy-region-note > p { font-size: 13px; color: var(--muted); margin: 0 0 8px; }
.settings-panel > h2 { margin-bottom: 10px; }
.settings-panel > p.muted-copy { margin-bottom: 26px; }
.settings-panel .stage-choices .choice-card-body { min-height: 95px; }
.composer-panel { padding: clamp(22px,3.4vw,44px); }
.composer-panel .form-grid { gap: 0; }
.composer-panel .form-section:first-child { padding-top: 0; }
.composer-panel .preview-actions { margin-top: 26px; }
.composer-panel .privacy-preview { margin-top: 28px; }
@media(max-width: 730px) {
  .choice-grid { grid-template-columns: 1fr; }
  .stage-choices { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .topic-choices { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .choice-card-body { min-height: 86px; }
}
@media(max-width: 460px) {
  .stage-choices, .topic-choices { grid-template-columns: 1fr; }
  .choice-card-body { grid-template-columns: 24px minmax(0,1fr) 14px; padding: 15px 13px; gap: 11px; }
  .stage-choices .choice-card-body { min-height: 74px; }
  .preference-body { grid-template-columns: 21px minmax(0,1fr) 38px; gap: 9px; }
  .preference-copy strong { font-size: 13px; }
  .form-section { padding-top: 27px; padding-bottom: 28px; }
}
@media(prefers-reduced-motion:reduce) { .choice-card-body,.preference-switch,.preference-switch::after { transition: none; } }
/* Redaktionelles Formularsystem: gleiche Sprache von Aufnahme bis Team-Bereich */
.form-grid{min-width:0}.form-grid>.form-field{min-width:0}
.form-grid .form-field>label,.form-grid .choice-fieldset>legend{font-size:14px;font-weight:630;letter-spacing:0;color:var(--ink)}
.form-grid .form-field input:not([type=checkbox]):not([type=radio]),.form-grid .form-field select,.form-grid .form-field textarea{width:100%;min-width:0;border:1px solid rgba(35,58,50,.25);background:#fffdfa;color:var(--ink);padding:14px 16px;min-height:54px;font-size:15px;line-height:1.5}
.form-grid .form-field select{cursor:pointer}.form-grid .form-field textarea{resize:vertical;min-height:150px;line-height:1.7}
.form-grid .form-field :is(input,textarea,select):focus-visible{outline:3px solid var(--rust-dark);outline-offset:2px;border-color:var(--green)}
.form-grid .helper{display:block;font-size:12px;line-height:1.65;color:var(--muted)}
.form-grid .button[type=submit]{justify-self:start}
.consent-panel{padding:22px 23px 18px;border:1px solid var(--line);background:#f0f0e9;display:grid;gap:13px}
.consent-panel h2{font:400 26px/1.2 var(--serif);letter-spacing:-.035em;margin:0 0 1px}.consent-panel>p{font-size:13px;line-height:1.65;color:var(--muted);margin-bottom:4px}
.consent-line{display:flex;align-items:flex-start;gap:12px;line-height:1.55;font-size:14px;cursor:pointer}.consent-line input{margin:3px 0 0;width:19px;height:19px;flex:none;accent-color:var(--green)}.consent-line a{color:var(--rust-dark);text-decoration:underline;text-underline-offset:3px}.consent-line:focus-within{outline:2px solid var(--rust-dark);outline-offset:4px}
.interest-fieldset{border:0;padding:0;margin:0;min-width:0}.check-chip-grid{display:flex;flex-wrap:wrap;gap:9px}.check-chip{display:block;position:relative;cursor:pointer;max-width:100%}.check-chip input{position:absolute;width:1px;height:1px;opacity:0}.check-chip span{display:flex;align-items:center;min-height:44px;padding:9px 14px;border:1px solid rgba(35,58,50,.26);background:#fffdfa;color:var(--ink);font-size:13px;line-height:1.4;font-weight:550}.check-chip input:checked+span{border-color:var(--green);background:#e6eee5;box-shadow:inset 3px 0 0 var(--green)}.check-chip input:checked+span::before{content:'✓';margin-right:8px;font-weight:750}.check-chip input:focus-visible+span{outline:3px solid var(--rust-dark);outline-offset:2px}
.discovery-search{display:grid;gap:19px;background:#f9f6ef;border:1px solid var(--line);padding:clamp(20px,2.6vw,31px);margin:0 0 24px;min-width:0}.search-primary{min-width:0}.search-label,.filter-fieldset legend{display:block;margin-bottom:9px;font:600 14px/1.4 var(--sans);color:var(--ink)}.search-input-wrap{display:flex;align-items:center;gap:11px;border:1px solid rgba(35,58,50,.28);min-height:56px;padding:0 15px;background:#fffdfa}.search-input-wrap .ui-icon{width:20px;height:20px;color:#45685a;flex:none}.search-input-wrap input{min-width:0;width:100%;border:0;background:transparent;color:var(--ink);padding:15px 0;min-height:54px;font:400 15px/1.4 var(--sans);outline:0}.search-input-wrap:focus-within{outline:3px solid var(--rust-dark);outline-offset:2px}
.filter-fieldset{border:0;min-width:0;padding:0;margin:0}.filter-pills{display:flex;flex-wrap:wrap;gap:8px}.filter-pill{position:relative;cursor:pointer}.filter-pill input{position:absolute;width:1px;height:1px;opacity:0}.filter-pill span{display:inline-flex;align-items:center;justify-content:center;min-height:43px;padding:8px 15px;border:1px solid rgba(35,58,50,.27);font-size:13px;font-weight:560;line-height:1.35;background:#fffdfa}.filter-pill input:checked+span{border-color:#2f5a49;background:#e4ede3;box-shadow:inset 0 -2px 0 #2f5a49}.filter-pill input:focus-visible+span{outline:3px solid var(--rust-dark);outline-offset:2px}.search-actions{display:flex;justify-content:flex-start}.search-actions .button{min-height:48px}.discovery-search-inline{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:14px}.discovery-search-inline .search-actions .button{min-height:56px}
.report-context{display:grid;grid-template-columns:24px minmax(0,1fr);align-items:start;gap:14px;padding:18px 20px;background:#e9ede7;border-left:2px solid var(--green)}.report-context .ui-icon{color:var(--green);margin-top:2px}.report-context strong{display:block;font-size:14px;font-weight:650;line-height:1.45}.report-context p{font-size:13px;line-height:1.65;margin:7px 0 0;color:var(--muted)}
.decision-choices .choice-card-body,.contact-choices .choice-card-body{min-height:96px}.admin-worklist .decision-choices{grid-template-columns:1fr}.admin-worklist .decision-choices .choice-card-body{min-height:78px}.admin-worklist .choice-fieldset{margin-bottom:0}.admin-worklist .choice-fieldset legend{margin-bottom:12px}
.paper-panel details:not(.auth-details){border:1px solid var(--line);background:#fffdfa;padding:0 19px;margin:12px 0}.paper-panel details:not(.auth-details)>summary{cursor:pointer;padding:16px 0;color:var(--ink);font-size:15px;font-weight:600}.paper-panel details:not(.auth-details)[open]>summary{border-bottom:1px solid var(--line);margin-bottom:17px}.paper-panel details:not(.auth-details)>.form-field{margin:0 0 17px}
.admin-worklist .form-field select,.admin-worklist .form-field input{font-size:14px}.admin-worklist .paper-panel .form-grid{gap:16px}
@media(hover:hover){.check-chip:hover span,.filter-pill:hover span{background:#eef2eb;border-color:var(--green)}}
@media(max-width:730px){.discovery-search-inline{grid-template-columns:1fr}.discovery-search-inline .search-actions .button{width:100%;justify-content:center}.decision-choices,.contact-choices{grid-template-columns:1fr}.discovery-search{padding:20px 17px}}
