.kontakt-anfrage-alias #content {
  background: linear-gradient(180deg, #fbfaf7 0%, #f7f4ee 100%);
  padding-top: 54px;
}

.kontakt-anfrage-alias .item-page {
  color: #242424;
  margin: 0 auto;
  max-width: 1120px;
}

.kontakt-anfrage-alias .item-page > div[itemprop="articleBody"]::before {
  background:
    linear-gradient(#b98232, #b98232) left 50% / 56px 1px no-repeat,
    linear-gradient(#b98232, #b98232) right 50% / 56px 1px no-repeat,
    conic-gradient(from 45deg, #b98232 0 25%, transparent 0 50%, #b98232 0 75%, transparent 0) center / 16px 16px no-repeat;
  content: "";
  display: block;
  height: 22px;
  margin: 0 auto 18px;
  opacity: 0.62;
  width: 150px;
}

.contact-kicker {
  color: #8c6d39;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.4;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.contact-hero {
  align-items: start;
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  margin: 0 auto 34px;
  max-width: 1040px;
}

.contact-hero h1,
.contact-form-head h2,
.contact-card h2 {
  color: #171717;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.15;
  margin: 0;
}

.contact-hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.45rem);
}

.contact-hero p,
.contact-form-head p,
.contact-card p,
.contact-security-note {
  color: #4f4f4f;
  font-size: 1rem;
  line-height: 1.75;
  margin: 16px 0 0;
}

.contact-card {
  background: #fffdf8;
  border: 1px solid #ded8c9;
  padding: 24px;
}

.contact-card h2 {
  font-size: 1.35rem;
  margin-bottom: 10px;
}

.contact-card a {
  color: #7b521b !important;
  font-weight: 700;
  text-decoration: none !important;
}

.contact-card .contact-address-link {
  color: #4f4f4f !important;
  display: inline-block;
  font-weight: 400;
}

.contact-card .contact-address-link:hover,
.contact-card .contact-address-link:focus-visible {
  color: #7b521b !important;
  text-decoration: underline !important;
}

.contact-card .contact-map-link {
  align-items: center;
  background: rgba(86, 100, 71, 0.1);
  border: 1px solid rgba(86, 100, 71, 0.18);
  color: #566447 !important;
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  line-height: 1.25;
  margin-top: 4px;
  min-height: 42px;
  padding: 11px 14px;
  text-align: center;
  width: 100%;
}

.contact-card .contact-map-link:hover,
.contact-card .contact-map-link:focus-visible {
  background: rgba(86, 100, 71, 0.15);
  border-color: rgba(86, 100, 71, 0.32);
  color: #3f4a33 !important;
  outline: none;
}

.contact-form-section {
  background: linear-gradient(180deg, #f5f8f0 0%, #eef3e8 100%);
  border-bottom: 1px solid #dfe6d5;
  border-top: 1px solid #dfe6d5;
  margin: 0 calc(50% - 50vw);
  padding: 48px max(28px, calc((100vw - 1120px) / 2)) 64px;
}

.contact-form-section form {
  background: #fffdf8;
  border: 1px solid #ded8c9;
  margin: 0 auto;
  max-width: 880px;
  padding: 30px;
}

.contact-form-head {
  margin-bottom: 24px;
}

.contact-form-head h2 {
  font-size: clamp(1.65rem, 2.6vw, 2.35rem);
}

.contact-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-field {
  margin-bottom: 18px;
}

.contact-field label {
  color: #2d2d2d;
  display: block;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 7px;
}

.contact-field input,
.contact-field textarea {
  background: #fff;
  border: 1px solid #cfc7b7;
  color: #242424;
  display: block;
  font: inherit;
  line-height: 1.45;
  padding: 12px 13px;
  width: 100%;
}

.contact-field input:focus,
.contact-field textarea:focus {
  border-color: #8a5f24;
  box-shadow: 0 0 0 3px rgba(185, 130, 50, 0.14);
  outline: none;
}

.contact-field textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-security {
  align-items: end;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(180px, 0.4fr) minmax(0, 1fr);
}

.contact-security-question p {
  color: #657247;
  font-weight: 700;
  margin: 0 0 8px;
}

.contact-security-note {
  border-left: 2px solid #b98232;
  margin: 0 0 18px;
  padding-left: 14px;
}

.contact-hp {
  height: 0;
  left: -10000px;
  overflow: hidden;
  position: absolute;
  top: auto;
  width: 1px;
}

.contact-consent {
  align-items: flex-start;
  color: #4b4b4b;
  display: flex;
  gap: 11px;
  line-height: 1.55;
  margin: 4px 0 18px;
}

.contact-consent input {
  flex: 0 0 auto;
  margin-top: 4px;
}

.contact-consent a {
  color: #7b521b !important;
  font-weight: 700;
  text-decoration: none !important;
}

.contact-error {
  background: #fff5f3;
  border: 1px solid #d79c8f;
  color: #7a2d1f;
  line-height: 1.5;
  margin: 0 0 16px;
  padding: 12px 14px;
}

.contact-success {
  background: #f4f8ee;
  border: 1px solid #b9c79a;
  color: #3f5425;
  line-height: 1.5;
  margin: 0 0 16px;
  padding: 12px 14px;
}

.contact-form-section button[type="submit"] {
  background: #8a5f24;
  border: 0;
  color: #fff;
  cursor: pointer;
  font-weight: 700;
  line-height: 1.2;
  min-height: 46px;
  padding: 13px 20px;
}

.contact-form-section button[type="submit"]:hover,
.contact-form-section button[type="submit"]:focus-visible {
  background: #6f4a18;
  outline: none;
}

@media (max-width: 820px) {
  .contact-hero,
  .contact-grid,
  .contact-security {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .kontakt-anfrage-alias #content {
    padding-top: 28px;
  }

  .contact-hero {
    gap: 22px;
    margin-bottom: 28px;
  }

  .contact-hero h1 {
    font-size: 2.05rem;
  }

  .contact-card,
  .contact-form-section form {
    padding: 18px;
  }

  .contact-field label,
  .contact-field input,
  .contact-field textarea,
  .contact-consent,
  .contact-security-question p {
    font-size: 0.95rem !important;
  }

  .contact-form-section {
    padding: 34px 18px 46px;
  }

  .contact-form-section button[type="submit"] {
    width: 100%;
  }
}
