/* Contact Form 7 inside the source .reserve-form card (Startseite + Kontakt).
   CF7 prints its own <form class="wpcf7-form">, so the grid gap of .reserve-form
   is re-applied to that form, and the submit <input> gets the .btn look back. */
.reserve-form .wpcf7 { width: 100%; }
.reserve-form .wpcf7-form { display: grid; gap: 14px; text-align: left; }
.reserve-form .wpcf7-form-control-wrap { display: block; }
/* Time select: same box as the source inputs (sections.css), with the native
   arrow replaced by a chevron inset 16px from the edge like the input text. */
.reserve-form select {
  width: 100%; height: 48px; padding: 0 44px 0 16px; border: 1px solid var(--line); border-radius: 8px;
  -webkit-appearance: none; appearance: none; cursor: pointer;
  background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2366625c' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 16px center / 12px 8px;
  color: var(--ink); font: 400 15px var(--font-body);
  transition: border-color .2s, box-shadow .2s;
}
/* "Uhrzeit" label option selected (value ""): muted like the input placeholders.
   CF7 marks required selects with aria-required only, so :invalid never matches. */
.reserve-form select:has(option[value=""]:checked) { color: var(--muted); }
.reserve-form select option { color: var(--ink); }
.reserve-form select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255, 137, 162, .25); }

.reserve-form input.wpcf7-submit {
  width: 100%; height: 50px; margin-top: 12px; padding: 0 24px; border: 1px solid transparent; border-radius: 999px;
  background: var(--cta-bg); color: var(--cta-fg); font-size: 17px; font-weight: 500; cursor: pointer;
  transition: background-color .25s var(--ease);
}
.reserve-form input.wpcf7-submit:hover { background: var(--cta-bg-hover); }
.reserve-form input.wpcf7-submit:active { background: var(--cta-bg-active); }
.reserve-form input.wpcf7-submit:disabled { opacity: .55; cursor: not-allowed; }
.reserve-form .wpcf7-spinner { display: block; margin: 8px auto 0; }

/* Consent checkbox: CF7 renders span.wpcf7-list-item > label > input + span */
.reserve-form .consent { font-size: 14px; }
.reserve-form .consent .wpcf7-list-item { margin: 0; }
.reserve-form .consent label { display: flex; gap: 10px; align-items: flex-start; }
.reserve-form .consent input { flex: none; width: 18px; height: 18px; margin-top: 3px; padding: 0; accent-color: var(--brand); }
.reserve-form .consent a { color: var(--brand); text-decoration: underline; }

/* Messages: never white on pink; errors in a dark red that passes AA on white */
.reserve-form .wpcf7-not-valid-tip { margin: 6px 0 0 20px; color: #a12d1a; font-size: 13px; }
.reserve-form .wpcf7-not-valid { border-color: #a12d1a; }
.reserve-form .wpcf7-response-output {
  margin: 4px 0 0 !important; padding: 12px 16px !important; border-radius: 14px;
  border: 1px solid var(--line) !important; background: var(--surface); color: var(--brand); font-size: 14px; text-align: center;
}
.reserve-form .wpcf7-form.invalid .wpcf7-response-output,
.reserve-form .wpcf7-form.failed .wpcf7-response-output { color: #a12d1a; }
