/* Kontakt-only form design. The site.css global form rule is for the search bar;
   deliberately reset ALL of its layout, background, border and clipping here. */
.contact-page .contact-form {
  display: grid;
  flex: none;
  gap: 24px;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 2px 0 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}
.contact-page .contact-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.contact-page .contact-field {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
  gap: 0;
}
.contact-page .contact-field label {
  display: block;
  margin: 0 0 9px;
  color: var(--ink, #173c35);
  font-size: 13px;
  line-height: 1.45;
  font-weight: 700;
}
.contact-page .contact-field input,
.contact-page .contact-field textarea {
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 13px 15px;
  background: #fff;
  border: 1px solid #d7dfd7;
  border-radius: 9px;
  color: var(--ink, #173c35);
  font: inherit;
  font-size: 14px;
  line-height: 1.55;
  box-shadow: 0 1px 2px rgba(23, 60, 53, .025);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.contact-page .contact-field input { height: 50px; }
.contact-page .contact-field textarea {
  min-height: 156px;
  height: auto;
  resize: vertical;
}
.contact-page .contact-field input:hover,
.contact-page .contact-field textarea:hover { border-color: #b9c9b9; }
.contact-page .contact-field input:focus-visible,
.contact-page .contact-field textarea:focus-visible {
  outline: none;
  border-color: #628651;
  box-shadow: 0 0 0 3px rgba(122, 163, 102, .2);
}
.contact-page .contact-field input[aria-invalid="true"],
.contact-page .contact-field textarea[aria-invalid="true"] { border-color: #a94743; }
.contact-page .contact-field small {
  display: block;
  margin: 7px 0 0;
  color: var(--muted, #66716c);
  font-size: 12px;
  line-height: 1.45;
}
.contact-page .contact-field .contact-error,
.contact-page .contact-error { color: #9b3b36; font-size: 12px; }
.contact-page .contact-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  padding: 0;
  max-width: 670px;
}
.contact-page .contact-consent input[type="checkbox"] {
  flex: 0 0 17px;
  width: 17px;
  height: 17px;
  min-width: 17px;
  margin: 3px 0 0;
  padding: 0;
  accent-color: var(--ink, #173c35);
}
.contact-page .contact-consent label {
  display: block;
  color: var(--ink, #173c35);
  font-size: 13px;
  line-height: 1.6;
}
.contact-page .contact-consent a {
  color: var(--ink, #173c35);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.contact-page .contact-submit {
  display: inline-flex;
  justify-self: start;
  align-items: center;
  justify-content: center;
  gap: 13px;
  width: auto;
  min-height: 48px;
  margin: 0;
  padding: 12px 24px;
  border: 1px solid var(--ink, #173c35);
  border-radius: 9px;
  background: var(--ink, #173c35);
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  cursor: pointer;
  transition: background .15s ease;
}
.contact-page .contact-submit:hover { background: #28574e; }
.contact-page .contact-submit:focus-visible,
.contact-page .contact-consent input:focus-visible {
  outline: 3px solid #9fbd6d;
  outline-offset: 3px;
}
.contact-page .contact-submit .icon { width: 17px; height: 17px; stroke-width: 1.7; }
.contact-page .contact-feedback {
  margin: 0 0 22px;
  padding: 15px 18px;
  border: 1px solid var(--line, #dfe5de);
  border-radius: 9px;
  font-size: 14px;
  line-height: 1.6;
}
.contact-page .contact-feedback p { margin: 0; }
.contact-page .contact-feedback-success { background: #f3f8f2; }
.contact-page .contact-feedback-error { border-color: #d8b1b0; color: #833a37; }
.contact-page .contact-trap {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  clip-path: inset(50%);
  white-space: nowrap;
}
@media (max-width: 680px) {
  .contact-page .contact-form { gap: 22px; }
  .contact-page .contact-row { grid-template-columns: 1fr; gap: 22px; }
  .contact-page .contact-field textarea { min-height: 150px; }
  .contact-page .contact-submit { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .contact-page .contact-field input,
  .contact-page .contact-field textarea,
  .contact-page .contact-submit { transition: none; }
}
