/* ============================================================
   HWS Kontaktformular
   Design: Rot #e30613, Text #4D4D4D, Montserrat, Eckenradius max 5px.
   Shortcode: [hws_contact]
   ============================================================ */

.hc-wrap {
  --hc-red: #e30613;
  --hc-red-dark: #c1050f;
  --hc-text: #4D4D4D;
  --hc-line: #d7d5d1;
  --hc-bg: #ffffff;

  display: grid;
  grid-template-columns: 1.25fr .85fr;
  gap: clamp(22px, 3vw, 32px);
  align-items: start;
  max-width: 1200px;
  font-family: "Montserrat", Arial, sans-serif;
  color: var(--hc-text);
}
.hc-wrap * { box-sizing: border-box; }

.hc-card {
  background: var(--hc-bg);
  border: 1px solid var(--hc-line);
  border-radius: 5px;
  padding: clamp(28px, 4vw, 44px);
}

.hc-card__rule {
  width: 34px;
  height: 3px;
  background: var(--hc-red);
  margin-bottom: 16px;
}

.hc-title {
  margin: 0 0 16px;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .01em;
  color: var(--hc-text);
}

.hc-intro {
  margin: 0 0 26px;
  font-size: .95rem;
  line-height: 1.65;
  color: var(--hc-text);
}

.hc-address__org {
  margin: 0 0 6px;
  font-weight: 700;
}
.hc-address p {
  margin: 0 0 14px;
  font-size: .95rem;
  line-height: 1.6;
  color: var(--hc-text);
}
.hc-address a {
  color: var(--hc-text);
  text-decoration: none;
}
.hc-address a:hover { color: var(--hc-red); }

.hc-form {
  max-width: 100%;
}

@media (max-width: 900px) {
  .hc-wrap { grid-template-columns: 1fr; }
}

.hc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 560px) {
  .hc-row { grid-template-columns: 1fr; }
}

.hc-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}

.hc-label {
  font-size: .88rem;
  font-weight: 600;
  color: var(--hc-text);
}
.hc-req { color: var(--hc-red); }

.hc-input {
  width: 100%;
  padding: .85em 1em;
  font-family: inherit;
  font-size: .95rem;
  color: var(--hc-text);
  background: var(--hc-bg);
  border: 1px solid var(--hc-line);
  border-radius: 5px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.hc-input::placeholder { color: #9a9892; }
.hc-input:focus {
  outline: none;
  border-color: var(--hc-red);
  box-shadow: 0 0 0 3px rgba(227, 6, 19, .12);
}
.hc-textarea { resize: vertical; min-height: 140px; }

/* Honeypot: fuer Menschen unsichtbar, Bots fuellen es trotzdem aus */
.hc-hp { position: absolute; left: -9999px; top: -9999px; height: 0; overflow: hidden; }

.hc-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .9em 2.2em;
  font-family: inherit;
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #fff;
  background: var(--hc-red);
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color .15s ease, transform .15s ease;
}
.hc-submit:hover { background: var(--hc-red-dark); }
.hc-submit:focus-visible { outline: 3px solid var(--hc-text); outline-offset: 2px; }
.hc-submit:disabled { opacity: .6; cursor: default; }

.hc-message {
  margin: 14px 0 0;
  font-size: .9rem;
  min-height: 1.2em;
}
.hc-message--success { color: #1e7a34; }
.hc-message--error { color: var(--hc-red); }
