/* Online-Formulare · companion to ../styles.css. No external dependencies. */

.forms-app {
  --form-paper: #fffefa;
  --form-sage: #eff4e9;
  --form-line: #dce4d4;
  --form-error: #9d3e36;
  --form-error-bg: #fff3ef;
  --form-focus: #805e2c;
  background: #f5f6ee;
  color: #293d33;
  font-size: 16px;
  line-height: 1.7;
}
.forms-app [hidden] { display: none !important; }
.forms-app .form-skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-160%);
  padding: 12px 18px;
  border-radius: 9px;
  background: #2d4938;
  color: #fff;
  font-weight: 650;
}
.forms-app .form-skip-link:focus { transform: translateY(0); }
.online-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 94px;
  padding: 19px max(26px, calc((100% - 1020px) / 2));
  background: #fffdf8;
  border-bottom: 1px solid #e0e6d8;
}
.online-backlink {
  padding-block: 8px;
  color: #4c634c;
  font-size: 13px;
  line-height: 1.5;
  text-align: right;
  text-decoration-color: #afbea5;
}
.forms-shell { width: min(940px, calc(100% - 48px)); margin-inline: auto; }
.form-intro { max-width: 760px; padding: 55px 0 30px; }
.form-intro .eyebrow { margin-bottom: 13px; font-size: 11px; }
.form-intro h1 {
  max-width: 710px;
  margin-bottom: 20px;
  font-size: clamp(34px, 4.7vw, 51px);
  line-height: 1.13;
}
.form-intro__lead { max-width: 700px; margin-bottom: 18px; font-size: 17px; color: #52624f; }
.form-intro__privacy {
  max-width: 680px;
  padding-left: 15px;
  border-left: 2px solid #b6c7aa;
  font-size: 13px;
  line-height: 1.65;
  color: #626e5d;
}
.server-status {
  margin: 0 0 15px;
  padding: 12px 16px;
  border: 1px solid #dae4d1;
  border-radius: 10px;
  background: #edf3e7;
  color: #4c6447;
  font-size: 13px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.server-status:empty { display: none; }
.server-status.error, .server-status.is-error, .server-status[data-state="error"] {
  background: var(--form-error-bg);
  border-color: #e9c5ba;
  color: #7f362f;
}
.server-status.warning, .server-status.is-warning, .server-status[data-state="warning"] {
  background: #fff4de;
  border-color: #e9d6af;
  color: #715225;
}
.server-status.success, .server-status.is-success, .server-status[data-state="ready"] { background: #edf3e7; color: #3e5b37; }
.form-notice {
  margin-bottom: 20px;
  padding: 20px 24px;
  border: 1px solid #dfd5e8;
  border-radius: 15px;
  background: #f3edf8;
  color: #5c4b70;
  font-size: 14px;
}
.form-notice > strong { display: block; margin-bottom: 5px; font-size: 15px; }
.form-notice p { margin-bottom: 0; }
.form-notice h2 { color: inherit; font-size: 24px; }
.form-notice--preview { border-left: 3px solid #a58eb8; }
.wizard {
  min-width: 0;
  overflow: hidden;
  margin: 0;
  border: 1px solid #dce4d2;
  border-radius: 23px;
  background: var(--form-paper);
  box-shadow: 0 12px 40px #32432b07;
  scroll-margin-top: 18px;
}
.website-field {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
.wizard-progress { padding: 27px 38px 23px; background: #f7f9f2; border-bottom: 1px solid var(--form-line); }
#progress-label { margin: 0 0 13px; color: #4a6347; font-size: 13px; font-weight: 650; }
.progress-track { height: 5px; overflow: hidden; border-radius: 10px; background: #e1e9d9; }
#progress-fill { width: 0; max-width: 100%; height: 100%; border-radius: inherit; background: #739265; transition: width .25s ease; }
.steps-nav { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.steps-nav:empty { display: none; }
.steps-nav button, .steps-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  padding: 7px 11px;
  border: 1px solid #d8e2cf;
  border-radius: 8px;
  background: #fffefa;
  color: #53654d;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.steps-nav button:hover:not(:disabled), .steps-nav a:hover { background: #eaf1e2; border-color: #b2c4a5; }
.steps-nav .is-active, .steps-nav .active, .steps-nav [aria-current="step"], .steps-nav [aria-current="true"] {
  border-color: #46644f;
  background: #46644f;
  color: #fff;
}
.steps-nav .is-active:hover:not(:disabled), .steps-nav .active:hover:not(:disabled),
.steps-nav [aria-current="step"]:hover:not(:disabled) { background: #36543e; color: #fff; }
.steps-nav .is-complete:not([aria-current="step"]):not(.is-active) { border-color: #b9cda9; background: #eaf2e1; color: #3c5c32; }
.steps-nav button:disabled { color: #7c8777; background: #f6f7f1; cursor: default; }
.wizard-body { padding: 35px 38px 32px; }
.wizard-step { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 25px; min-width: 0; }
.wizard-step > h2, .wizard-step > h3, .wizard-step > p, .wizard-step > fieldset,
.wizard-step > div:not(.field), .wizard-step > .field--wide,
.wizard-step > .source-note, .wizard-step > .review-group { grid-column: 1 / -1; }
.wizard-step > h2 { margin: 0; font-size: clamp(27px, 3vw, 33px); line-height: 1.2; }
.wizard-step > h3 { margin: 10px 0 0; font-size: 21px; }
.wizard-step > p { margin: -6px 0 0; color: #596852; font-size: 15px; }
.wizard-step > .source-note { margin-bottom: 5px; }
.wizard-step > :first-child { margin-top: 0; }
.form-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 25px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.form-group > legend {
  display: block;
  float: left;
  width: 100%;
  margin-bottom: 15px;
  padding: 0;
  color: #3d573f;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 650;
}
.form-group > .help-text, .form-group > h3, .form-group > p { grid-column: 1 / -1; }
.form-group > .help-text { margin: -8px 0 0; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 25px; min-width: 0; }
.field { display: flex; flex-direction: column; min-width: 0; gap: 7px; }
.field--wide { grid-column: 1 / -1; }
.field > label, .field > .field-label {
  display: block;
  color: #344c37;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 650;
}
.required, .required-marker, .field .required-star, .question .required-star { color: #81582e; }
.field input:not([type="radio"]):not([type="checkbox"]), .field select, .field textarea {
  width: 100%;
  min-width: 0;
  min-height: 49px;
  padding: 11px 13px;
  border: 1px solid #bfcdb6;
  border-radius: 9px;
  background: #fff;
  color: #283d2e;
  font: inherit;
  font-size: 16px;
  line-height: 1.5;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.field input[type="date"] { min-height: 49px; appearance: auto; }
.field input::placeholder, .field textarea::placeholder { color: #7a8574; opacity: 1; font-size: 14px; }
.field input:hover:not(:disabled), .field select:hover:not(:disabled), .field textarea:hover:not(:disabled) { border-color: #90a67e; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: #59764c; box-shadow: 0 0 0 3px #8fa97d26; }
.field textarea { min-height: 114px; resize: vertical; }
.field input:disabled, .field select:disabled, .field textarea:disabled { background: #f0f2eb; color: #6b7765; }
.field input[readonly], .field textarea[readonly] { background: #f7f8f3; }
.help-text { display: block; margin: 0; color: #68765f; font-size: 12px; line-height: 1.6; font-weight: 400; }
.field-error { display: block; margin: 0; color: var(--form-error); font-size: 12px; line-height: 1.55; font-weight: 600; }
.field-error:empty { display: none; }
.field [aria-invalid="true"], .field.is-invalid input, .field.has-error input,
.field.is-invalid textarea, .field.has-error textarea, .field.is-invalid select, .field.has-error select {
  border-color: #bc6a5c;
  background: #fffaf7;
}
.field [aria-invalid="true"]:focus { box-shadow: 0 0 0 3px #bc6a5c1f; }
.question {
  min-width: 0;
  margin: 0;
  padding: 20px 21px;
  border: 1px solid #dbe3d3;
  border-radius: 13px;
  background: #f9faf5;
  grid-column: 1 / -1;
}
.question legend {
  max-width: 100%;
  padding: 0 5px;
  color: #344c37;
  font-size: 15px;
  line-height: 1.6;
  font-weight: 650;
}
.question > .help-text { margin: -2px 0 13px; }
.question > .field-error { margin-top: 9px; }
.answer-reset { margin-top: 12px; padding: 7px 1px; border: 0; background: transparent; color: #486341; font: inherit; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); gap: 9px; }
.choices--stack { grid-template-columns: 1fr; }
.choice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
  min-height: 47px;
  padding: 12px 13px;
  border: 1px solid #d8e1cf;
  border-radius: 8px;
  background: #fffefa;
  color: #52614c;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.55;
}
.choice > input[type="radio"], .choice > input[type="checkbox"], .consent-copy input[type="checkbox"] {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  padding: 0;
  accent-color: #46644f;
  cursor: pointer;
}
.choice > span { min-width: 0; overflow-wrap: anywhere; }
.choice:hover { border-color: #9ab487; background: #f3f8ec; }
.choice:has(input:checked) { border-color: #91aa7d; background: #eaf2e1; color: #34502f; }
.choice:has(input:focus-visible) { outline: 3px solid var(--form-focus); outline-offset: 3px; }
.choice input:focus-visible { outline-offset: 3px; }
.question[aria-invalid="true"], .question.has-error, .question.is-invalid { border-color: #ce8b7c; background: #fff8f2; }
.source-note {
  padding: 13px 16px;
  border-left: 2px solid #b7c8a9;
  border-radius: 0 7px 7px 0;
  background: #f1f5eb;
  color: #59684f;
  font-size: 12px;
  line-height: 1.65;
}
.source-note p { margin-bottom: 8px; }
.source-note p:last-child { margin-bottom: 0; }
.consent-copy {
  max-width: 100%;
  padding: 24px;
  border: 1px solid #dce4d3;
  border-radius: 13px;
  background: #fafbf6;
  color: #52614c;
  font-size: 14px;
  line-height: 1.75;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
.consent-copy h3 { margin-top: 22px; margin-bottom: 10px; color: #344d36; font-size: 19px; }
.consent-copy h3:first-child { margin-top: 0; }
.consent-copy p { margin-bottom: 15px; }
.consent-copy p:last-child { margin-bottom: 0; }
.consent-copy ul, .consent-copy ol { margin-block: 13px; padding-left: 22px; }
.consent-copy label { display: flex; gap: 12px; align-items: flex-start; }
.review-group { margin: 0; overflow: hidden; border: 1px solid #dde5d4; border-radius: 13px; background: #fffefa; }
.review-group > h3, .review-group > h2 {
  margin: 0;
  padding: 18px 21px;
  border-bottom: 1px solid #dde5d4;
  background: #f1f5ea;
  color: #3e573b;
  font-family: inherit;
  font-size: 17px;
  font-weight: 650;
  letter-spacing: 0;
}
.review-group > dl { margin: 0; }
.review-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 16px; margin: 0; padding: 14px 21px; font-size: 13px; line-height: 1.65; overflow-wrap: anywhere; }
.review-row + .review-row { border-top: 1px solid #e8ecdf; }
.review-row > :first-child { margin: 0; color: #5d6c53; font-weight: 550; }
.review-row > :last-child { margin: 0; color: #2f4732; white-space: pre-wrap; }
.review-group > p { margin: 0; padding: 15px 21px; font-size: 13px; }
.review-group button { margin: 0 21px 18px; }
.error-summary {
  margin: 0 0 28px;
  padding: 21px 24px;
  border: 1px solid #dfb2a5;
  border-left: 4px solid #ac5c4c;
  border-radius: 10px;
  background: var(--form-error-bg);
  color: #833e32;
}
.error-summary h2 { margin: 0 0 10px; color: #833e32; font-family: inherit; font-size: 17px; font-weight: 700; letter-spacing: 0; line-height: 1.5; }
.error-summary ul { margin: 0; padding-left: 19px; font-size: 13px; line-height: 1.7; }
.error-summary li + li { margin-top: 5px; }
.error-summary a { color: #833e32; text-decoration-thickness: 1px; }
.error-summary:focus { outline: 3px solid #a25b43; outline-offset: 4px; }
.wizard-actions { padding: 22px 38px 28px; border-top: 1px solid var(--form-line); background: #fafbf5; }
#page-hint { margin: 0 0 16px; color: #6b755f; font-size: 12px; line-height: 1.55; }
#page-hint:empty { display: none; }
.wizard-actions__buttons { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 12px; }
.wizard-actions__buttons #back { margin-right: auto; }
.forms-app .button { cursor: pointer; font: inherit; font-size: 14px; font-weight: 650; min-height: 50px; padding: 12px 24px; }
.forms-app .button:disabled { cursor: wait; opacity: .6; box-shadow: none; }
.forms-app #back:disabled, .forms-app #next:disabled { cursor: default; }
.forms-app :is(button, input, textarea, select, a):focus-visible { outline: 3px solid var(--form-focus); outline-offset: 4px; }
.success-panel {
  padding: 48px 36px;
  border: 1px solid #cedfc2;
  border-radius: 23px;
  background: #fffefa;
  text-align: center;
  box-shadow: 0 12px 40px #32432b07;
}
.success-panel:focus { outline: 3px solid #8da977; outline-offset: 5px; }
.success-panel__mark { display: flex; justify-content: center; align-items: center; width: 59px; height: 59px; margin: 0 auto 22px; border-radius: 50%; background: #e8f0df; color: #58764a; font-size: 28px; line-height: 1; }
.success-panel .eyebrow { font-size: 11px; }
.success-panel h2 { max-width: 600px; margin-inline: auto; font-size: clamp(29px, 3.6vw, 39px); }
.success-panel > p:not(.eyebrow) { max-width: 620px; margin-inline: auto; color: #52614b; font-size: 15px; }
.receipt-reference { padding: 12px 16px; border-radius: 8px; background: #f1f5ea; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.receipt-reference:empty, #success-message:empty { display: none; }
.success-panel .button { margin-top: 10px; }
.online-footer { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 23px 3px 36px; color: #67765b; font-size: 12px; }
.online-footer p { margin: 0; }
.online-footer a { color: #5a6d4e; text-align: right; }

@media (max-width: 700px) {
  .online-header { min-height: 85px; padding: 17px 23px; gap: 17px; }
  .online-header .brand strong { font-size: 24px; }
  .online-header .brand span { font-size: 10px; }
  .online-backlink { max-width: 100px; font-size: 12px; }
  .forms-shell { width: min(940px, calc(100% - 32px)); }
  .form-intro { padding: 36px 5px 26px; }
  .form-intro h1 { font-size: clamp(33px, 5.7vw, 40px); }
  .form-intro__lead { font-size: 16px; }
  .form-intro__privacy { font-size: 12px; }
  .wizard { border-radius: 18px; }
  .wizard-progress { padding: 22px 23px 20px; }
  .steps-nav { gap: 7px; margin-top: 16px; }
  .steps-nav button, .steps-nav a { min-height: 36px; padding: 7px 9px; font-size: 11px; }
  .wizard-body { padding: 27px 23px; }
  .wizard-step, .form-group, .form-grid { grid-template-columns: 1fr; gap: 21px; }
  .wizard-step > h2 { font-size: 29px; }
  .wizard-step > p { font-size: 14px; }
  .field--wide, .question { grid-column: 1; }
  .question { padding: 17px 16px; }
  .question legend { font-size: 14px; }
  .choices { grid-template-columns: repeat(auto-fit, minmax(min(100%, 145px), 1fr)); }
  .choice { padding: 11px 12px; font-size: 13px; }
  .consent-copy { padding: 20px; font-size: 13px; }
  .review-row { grid-template-columns: 1fr; gap: 5px; padding: 14px 18px; }
  .review-group > h3, .review-group > h2 { padding: 17px 18px; font-size: 16px; }
  .error-summary { padding: 18px 19px; }
  .wizard-actions { padding: 20px 23px 24px; }
  .wizard-actions__buttons { gap: 10px; }
  .forms-app .button { padding-inline: 21px; }
  .wizard-actions__buttons #submit { flex: 1 1 240px; }
  .success-panel { padding: 35px 24px; border-radius: 18px; }
  .online-footer { padding-inline: 5px; font-size: 11px; }
}

@media (max-width: 400px) {
  .online-header { padding-inline: 18px; }
  .online-header .brand strong { font-size: 22px; }
  .online-header .brand span { font-size: 9px; }
  .online-backlink { max-width: 81px; font-size: 11px; }
  .forms-shell { width: calc(100% - 24px); }
  .form-intro h1 { font-size: 32px; }
  .wizard-progress, .wizard-body, .wizard-actions { padding-inline: 19px; }
  .choices { grid-template-columns: 1fr; }
  .wizard-actions__buttons { align-items: stretch; }
  .wizard-actions__buttons #back, .wizard-actions__buttons #next { flex: 1 1 100px; margin: 0; }
  .wizard-actions__buttons #submit { flex-basis: 100%; }
  .form-notice { padding: 17px 19px; }
  .online-footer { align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  #progress-fill, .field input, .field select, .field textarea { transition: none; }
}

@media print {
  .forms-app { background: #fff; font-size: 10.5pt; }
  .online-header { padding: 0 0 12pt; min-height: 0; background: #fff; }
  .online-backlink, .form-skip-link, .steps-nav, .wizard-actions, .online-footer,
  #server-status, #preview-notice { display: none !important; }
  .forms-shell { width: 100%; max-width: none; }
  .form-intro { padding: 18pt 0; }
  .form-intro h1 { font-size: 25pt; }
  .wizard, .success-panel { box-shadow: none; border: 0; border-radius: 0; }
  .wizard-progress { padding: 8pt 0; background: #fff; }
  .wizard-body { padding: 14pt 0; }
  .wizard-step { gap: 15pt; }
  .question, .review-group, .field { break-inside: avoid; }
  .question, .consent-copy, .review-group { background: #fff; }
  .review-row { padding-block: 8pt; }
  .success-panel { padding: 18pt 0; }
  .forms-app [hidden] { display: none !important; }
}
/* Step changes should not animate the page while the next control is targeted. */
html { scroll-behavior: auto; scroll-padding-top: 24px; }


.print-actions{margin-top:24px;padding:24px;border:1px solid #d9e2da;border-radius:20px;background:#f8fbf8}
.print-actions__title{margin:0 0 8px;font-size:1.2rem;color:#254032}
.print-actions__hint{margin:0 0 14px;color:#365143;max-width:70ch}
.print-actions__buttons{display:flex;flex-wrap:wrap;gap:10px}
.print-overlay{display:none}
@media print{
  body.printing-one-document > *:not(.print-overlay){display:none !important}
  body.printing-one-document .print-overlay{display:block !important}
  .print-overlay{display:block !important}
  .print-sheet{font-family:Arial,sans-serif;color:#1f3329;padding:0 6mm}
  .print-sheet__header{border-bottom:2px solid #9eafa3;padding-bottom:6mm;margin-bottom:6mm;display:grid;grid-template-columns:48mm 1fr;gap:6mm;align-items:start}
  .print-sheet__logo{max-width:48mm;max-height:32mm;object-fit:contain;justify-self:start}
  .print-sheet__contact{display:flex;flex-direction:column;gap:1.3mm;font-size:9.5pt}
  .print-sheet__name{font-size:14pt}
  .print-sheet__titleblock{grid-column:1 / -1;margin-top:2mm}
  .print-sheet__titleblock h1{font-size:18pt;margin:0 0 2mm}
  .print-sheet__subline{font-size:9pt;margin:0;color:#365143}
  .print-sheet h2{font-size:12.5pt;margin:7mm 0 3mm;break-after:avoid;color:#254032}
  .print-field{margin:0 0 4mm;break-inside:avoid;border-bottom:1px solid #dbe4dc;padding-bottom:3mm}
  .print-field__label{font-weight:700;font-size:9.4pt;margin-bottom:1mm}
  .print-field__value{font-size:10.4pt;white-space:pre-wrap}
  .print-sheet__footer{margin-top:8mm;padding-top:3mm;border-top:1px solid #b9c7bc;font-size:8.8pt;color:#4a6154}
}
