/* ==========================================
   DAS KLEINE AMTSHOTEL – MODERNES FORMULAR
   ========================================== */

.amt-contact-wrap {
  --elfenbein: #F7F1E8;
  --porzellan: #FFFEFC;
  --tinte: #1C1917;
  --sand: #D8C6B2;
  --koralle: #9B3F43;
  --salbei: #7C846D;
  --honig: #B88857;

  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 24px 18px;
  box-sizing: border-box;
}

.amt-contact-wrap *,
.amt-contact-wrap *::before,
.amt-contact-wrap *::after {
  box-sizing: border-box;
}

/* Wichtig gegen CF7 Standard-Abstände */
.amt-contact-wrap p {
  margin: 0 !important;
}

.amt-contact-wrap br {
  display: none;
}

.amt-contact-card {
  background: var(--porzellan);
  border: 1px solid rgba(216, 198, 178, 0.85);
  border-radius: 18px;
  padding: clamp(26px, 4vw, 42px);
  box-shadow: 0 10px 35px rgba(28, 25, 23, 0.05);
}

/* Intro */

.amt-contact-intro {
  max-width: 720px;
  margin: 0 auto 28px auto;
  text-align: center;
}

.amt-kicker {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--koralle);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.amt-contact-intro h3 {
  margin: 0 0 12px 0;
  color: var(--tinte);
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.15;
  font-weight: 600;
}

.amt-contact-intro p {
  color: rgba(28, 25, 23, 0.70);
  font-size: 15px;
  line-height: 1.7;
}

/* Grid */

.amt-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
  align-items: start;
}

.amt-field {
  min-width: 0;
}

.amt-half {
  grid-column: span 1;
}

.amt-full {
  grid-column: 1 / -1;
}

/* Labels */

.amt-field label {
  display: block;
  margin: 0 0 8px 0;
  color: var(--tinte);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
}

/* Inputs */

.amt-contact-wrap input[type="text"],
.amt-contact-wrap input[type="email"],
.amt-contact-wrap input[type="tel"],
.amt-contact-wrap input[type="number"],
.amt-contact-wrap input[type="date"],
.amt-contact-wrap select,
.amt-contact-wrap textarea {
  width: 100%;
  margin: 0;
  padding: 14px 16px;
  border: 1px solid rgba(216, 198, 178, 1);
  border-radius: 10px;
  background: #fff;
  color: var(--tinte);
  font-family: inherit;
  font-size: 15px;
  line-height: 1.4;
  outline: none;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
  box-shadow: none;
}

.amt-contact-wrap input[type="text"]:focus,
.amt-contact-wrap input[type="email"]:focus,
.amt-contact-wrap input[type="tel"]:focus,
.amt-contact-wrap input[type="number"]:focus,
.amt-contact-wrap input[type="date"]:focus,
.amt-contact-wrap select:focus,
.amt-contact-wrap textarea:focus {
  border-color: var(--koralle);
  box-shadow: 0 0 0 4px rgba(155, 63, 67, 0.08);
}

/* Placeholder */

.amt-contact-wrap ::placeholder {
  color: #9aa2b1;
  opacity: 1;
}

/* Date + Select etwas cleaner */

.amt-contact-wrap select,
.amt-contact-wrap input[type="date"] {
  min-height: 50px;
}

/* Textarea */

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

/* Hint */

.amt-hint {
  min-height: 50px;
  display: flex;
  align-items: center;
  padding: 14px 16px;
  border-radius: 10px;
  background: rgba(247, 241, 232, 0.75);
  color: rgba(28, 25, 23, 0.62);
  font-size: 14px;
  line-height: 1.5;
  border: 1px dashed rgba(216, 198, 178, 0.9);
}

/* Acceptance / Datenschutz */

.amt-privacy {
  margin-top: 2px;
  color: rgba(28, 25, 23, 0.72);
  font-size: 13px;
  line-height: 1.65;
}

.amt-privacy a {
  color: var(--koralle);
  text-decoration: underline;
}

.amt-privacy .wpcf7-list-item {
  margin: 0;
}

.amt-privacy input[type="checkbox"] {
  margin-right: 8px;
  transform: translateY(1px);
}

/* Button */

.amt-submit-wrap {
  margin-top: 4px;
}

.amt-contact-wrap input[type="submit"] {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 28px;
  border: 1px solid var(--koralle);
  border-radius: 10px;
  background: var(--koralle);
  color: #ffffff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.2px;
  cursor: pointer;
  transition: background .25s ease, border-color .25s ease, transform .25s ease;
}

.amt-contact-wrap input[type="submit"]:hover {
  background: var(--tinte);
  border-color: var(--tinte);
  transform: translateY(-2px);
}

/* Response messages */

.amt-contact-wrap .wpcf7-response-output {
  margin: 18px 0 0 0 !important;
  padding: 14px 16px !important;
  border-radius: 10px;
  font-size: 14px;
}

/* Fix für CF7 spans */

.amt-contact-wrap .wpcf7-form-control-wrap {
  display: block;
}

/* Tablet */

@media (max-width: 900px) {
  .amt-contact-wrap {
    max-width: 760px;
  }

  .amt-contact-card {
    padding: 28px 22px;
  }

  .amt-form-grid {
    gap: 16px 16px;
  }
}

/* Mobile */

@media (max-width: 767px) {
  .amt-contact-wrap {
    padding: 14px 10px;
  }

  .amt-contact-card {
    padding: 22px 16px;
    border-radius: 14px;
  }

  .amt-contact-intro {
    margin-bottom: 22px;
  }

  .amt-contact-intro h3 {
    font-size: 28px;
  }

  .amt-contact-intro p {
    font-size: 14px;
    line-height: 1.65;
  }

  .amt-form-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .amt-half,
  .amt-full {
    grid-column: auto;
  }

  .amt-contact-wrap input[type="submit"] {
    width: 100%;
  }

  .amt-hint {
    min-height: auto;
  }
}