/* Gatscherhof privacy-friendly automatic anti-spam check */
.gh-antispam,
.gh-antispam * {
  box-sizing: border-box;
}

.gh-antispam {
  --gh-as-accent: #9a7440;
  --gh-as-accent-soft: rgba(154, 116, 64, 0.13);
  --gh-as-border: rgba(111, 90, 69, 0.22);
  --gh-as-text: #3d3228;
  --gh-as-muted: #756657;
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 18px 0;
  padding: 14px 16px;
  overflow: hidden;
  border: 1px solid var(--gh-as-border);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 253, 249, 0.98), rgba(247, 240, 230, 0.92));
  color: var(--gh-as-text);
  text-align: left;
  box-shadow: 0 10px 28px rgba(57, 39, 18, 0.06);
  grid-column: 1 / -1;
}

.gh-antispam__header {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.gh-antispam__icon {
  display: inline-flex;
  flex: 0 0 36px;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gh-as-accent-soft);
  color: var(--gh-as-accent);
}

.gh-antispam__icon svg {
  display: block;
  width: 21px;
  height: 21px;
  overflow: visible;
}

.gh-antispam__icon path:first-child {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gh-antispam__check {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.36;
  transform-origin: center;
  transition: opacity 180ms ease, transform 180ms ease;
}

.gh-antispam__copy {
  min-width: 0;
  flex: 1 1 auto;
}

.gh-antispam__title,
.gh-antispam__status {
  display: block;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.gh-antispam__title {
  margin: 0 0 2px;
  color: var(--gh-as-text);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.gh-antispam__status {
  color: var(--gh-as-muted);
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.45;
}

.gh-antispam__track {
  position: relative;
  width: 100%;
  height: 7px;
  margin-top: 11px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(111, 90, 69, 0.12);
}

.gh-antispam__bar {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #b99561, #80613b);
  transition: width 190ms ease;
}

.gh-antispam__retry {
  flex: 0 0 auto;
  min-height: 34px;
  margin: 0;
  padding: 7px 11px;
  border: 1px solid rgba(154, 116, 64, 0.38);
  border-radius: 999px;
  background: #fffdfa;
  color: #6f5432;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
}

.gh-antispam__retry:hover,
.gh-antispam__retry:focus-visible {
  border-color: var(--gh-as-accent);
  outline: none;
  box-shadow: 0 0 0 3px rgba(154, 116, 64, 0.15);
}

.gh-antispam[data-state="loading"] .gh-antispam__icon,
.gh-antispam[data-state="working"] .gh-antispam__icon {
  animation: gh-antispam-pulse 1.35s ease-in-out infinite;
}

.gh-antispam[data-state="ready"] {
  --gh-as-accent: #52714d;
  --gh-as-accent-soft: rgba(82, 113, 77, 0.14);
  --gh-as-border: rgba(82, 113, 77, 0.28);
}

.gh-antispam[data-state="ready"] .gh-antispam__check {
  opacity: 1;
  transform: scale(1.05);
}

.gh-antispam[data-state="ready"] .gh-antispam__bar {
  background: linear-gradient(90deg, #789473, #4f704a);
}

.gh-antispam[data-state="error"] {
  --gh-as-accent: #9a5148;
  --gh-as-accent-soft: rgba(154, 81, 72, 0.12);
  --gh-as-border: rgba(154, 81, 72, 0.26);
}

.gh-antispam--compact {
  margin: 12px 0;
  padding: 11px 12px;
  border-radius: 14px;
  box-shadow: none;
}

.gh-antispam--compact .gh-antispam__icon {
  flex-basis: 30px;
  width: 30px;
  height: 30px;
}

.gh-antispam--compact .gh-antispam__icon svg {
  width: 18px;
  height: 18px;
}

.gh-antispam--compact .gh-antispam__title {
  font-size: 12.5px;
}

.gh-antispam--compact .gh-antispam__status {
  font-size: 11.5px;
}

.gh-antispam--compact .gh-antispam__track {
  height: 5px;
  margin-top: 8px;
}

.newsletter-form .gh-antispam,
.footer .newsletter-form .gh-antispam,
.coming-soon-page .newsletter-form .gh-antispam {
  width: 100%;
  max-width: 100%;
  text-align: left;
}

.gh-inquiry-form > .gh-antispam,
.gatscherhof-ajax-form > .gh-antispam,
.js-contact-form > .gh-antispam {
  clear: both;
}

@keyframes gh-antispam-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

@media (max-width: 575.98px) {
  .gh-antispam {
    margin: 15px 0;
    padding: 12px 13px;
    border-radius: 14px;
  }

  .gh-antispam__header {
    align-items: flex-start;
    gap: 9px;
  }

  .gh-antispam__icon {
    flex-basis: 32px;
    width: 32px;
    height: 32px;
  }

  .gh-antispam__title {
    font-size: 13px;
  }

  .gh-antispam__status {
    font-size: 11.75px;
  }

  .gh-antispam__retry {
    min-height: 32px;
    padding: 6px 9px;
    font-size: 11px;
  }

  .gh-antispam--compact {
    margin: 10px 0;
    padding: 10px 11px;
  }
}

@media (max-width: 399.98px) {
  .gh-antispam__header {
    flex-wrap: wrap;
  }

  .gh-antispam__copy {
    flex-basis: calc(100% - 42px);
  }

  .gh-antispam__retry {
    margin-left: 41px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gh-antispam__bar,
  .gh-antispam__check {
    transition: none;
  }

  .gh-antispam[data-state="loading"] .gh-antispam__icon,
  .gh-antispam[data-state="working"] .gh-antispam__icon {
    animation: none;
  }
}
