/* Vorbereitung für spätere Formulare, noch keine Formularfunktion. */
.tour-manager-form {
  max-width: 48rem;
  margin-inline: auto;
}
.tour-manager-form .tm-form-field {
  margin-bottom: 1.5rem;
}
.tour-manager-form label {
  display: block;
  margin-bottom: .5rem;
}
.tour-manager-form :is(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]):not([type="button"]), select, textarea) {
  width: 100%;
  min-height: 44px;
  padding: .75rem;
  border: 1px solid var(--tm-muted);
  border-radius: 3px;
  background: #fff;
  color: var(--tm-text);
  font: inherit;
}
.tour-manager-form textarea {
  min-height: 9rem;
  resize: vertical;
}
.tour-manager-form [aria-invalid="true"] {
  border-color: #ba0202;
}
.tour-manager-form .tm-form-error {
  color: #ba0202;
}
.tour-manager-form .tm-form-help {
  color: var(--tm-muted);
}
.tour-manager-form button:disabled {
  opacity: .6;
  cursor: not-allowed;
}
.tm-request-form { width: 100%; max-width: 54rem; margin-inline: auto; font: inherit; color: #14243b; }
.tm-request-form *, .tm-request-form *::before, .tm-request-form *::after { box-sizing: border-box; }
.tm-request-form [hidden] { display: none !important; }
.tm-request-form .tm-form { display: grid; gap: 1.25rem; }
.tm-request-form .tm-form-field { display: grid; gap: .4rem; min-width: 0; }
.tm-request-form .tm-form-row { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.tm-request-form label { display: block; margin: 0; font-weight: 600; }
.tm-request-form label span, .tm-request-form small, .tm-request-form .tm-form-required-note { font-weight: 400; }
.tm-request-form :is(input:not([type="checkbox"]):not([type="hidden"]), select, textarea) {
    display: block; width: 100%; min-width: 0; min-height: 46px; margin: 0; padding: .65rem .8rem;
    border: 1px solid #8b9caf; border-radius: 8px; background: #fff; color: #14243b; font: inherit; line-height: 1.4;
}
.tm-request-form select[multiple] { min-height: 7rem; }
.tm-request-form textarea { resize: vertical; }
.tm-request-form :is(input,select,textarea,button,a):focus-visible { outline: 3px solid #0026a8; outline-offset: 3px; }
.tm-request-form .tm-form-contact { display: grid; gap: 1rem; min-width: 0; margin: 0; padding: 1rem; border: 1px solid #b6c1ce; border-radius: 10px; }
.tm-request-form legend { width: auto; padding-inline: .4rem; font-size: 1.1em; font-weight: 650; }
.tm-request-form .tm-form-checkbox { display: flex; align-items: flex-start; gap: .75rem; font-weight: 400; }
.tm-request-form .tm-form-checkbox input { flex: 0 0 auto; width: 1.25rem; height: 1.25rem; margin: .2rem 0 0; }
.tm-request-form .tm-form-terms-text { white-space: pre-line; }
.tm-request-form :is(.tm-form-errors,.tm-form-success,.tm-form-notice,.tm-form-conditions) { margin: 0; padding: 1rem; border: 1px solid #aeb9c7; border-radius: 10px; background: #edf1f5; }
.tm-request-form .tm-form-errors { margin-bottom: 1.25rem; border-color: #a52135; background: #fff1f3; color: #6f1523; }
.tm-request-form .tm-form-errors ul { margin-bottom: 0; }
.tm-request-form .tm-form-price { font-weight: 700; }
.tm-request-form .tm-form-price:empty { display: none; }
.tm-request-form .tm-form-privacy { margin: 0; }
.tm-request-form .tm-form-submit, .tm-request-form .tm-form-refresh {
    display: inline-flex; align-items: center; justify-content: center; justify-self: start;
    min-height: 46px; width: auto; max-width: 100%; padding: .65rem 1.1rem;
    border: 1px solid #781b2a; border-radius: 9px;
    background: linear-gradient(180deg,#bd4558 0%,#a52135 48%,#821a2b 51%,#a02d40 100%);
    color: #fff; font: inherit; font-weight: 650; text-align: center; line-height: 1.4; cursor: pointer;
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 35%), 0 2px 5px rgb(20 36 59 / 12%);
}
.tm-request-form .tm-form-submit:hover { background: #821a2b; color: #fff; }
.tm-request-form .tm-form-refresh { border-color: #8b9caf; background: linear-gradient(180deg,#fff,#dce3eb); color: #14243b; }
.tm-request-form .tm-form-honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
@media (max-width: 650px) { .tm-request-form .tm-form-row { grid-template-columns: minmax(0,1fr); } }


/* Gutscheinbestellung in gut erkennbare, kurze Abschnitte gliedern. */
.tm-voucher-checkout .tm-form-contact {
    padding:1.25rem; margin-block:0 1rem;
    border:1px solid #b6c1ce; border-radius:12px; background:#f5f7fa;
}
.tm-voucher-checkout .tm-form-contact legend { padding:0 .5rem; font-weight:700; color:#14243b; }
.tm-voucher-checkout .tm-form-contact > p { margin:0; font-weight:400; }
.tm-voucher-checkout details { border:1px solid #b6c1ce; border-radius:8px; padding:.75rem 1rem; background:#fff; }
.tm-voucher-checkout summary { cursor:pointer; font-weight:600; min-height:32px; }
.tm-voucher-checkout details[open] > summary { margin-bottom:1rem; }
.tm-voucher-checkout details label + label { margin-top:.75rem; }
.tm-voucher-checkout .tm-voucher-summary { padding:1.25rem; margin-block:1rem; border:2px solid #14243b; border-radius:12px; background:#edf1f5; }
.tm-voucher-checkout .tm-voucher-summary h3 { margin:0 0 .75rem; }
.tm-voucher-checkout .tm-voucher-summary p { margin:0 0 .6rem; }
.tm-voucher-checkout .tm-voucher-summary strong { display:inline-block; margin-top:.6rem; font-size:1.2em; }
.tm-voucher-checkout .tm-voucher-delivery-note { padding-left:.9rem; border-left:4px solid #b51f32; }
.tm-voucher-checkout .tm-form > label:has(input[type="checkbox"]) { padding:1rem; border:1px solid #b6c1ce; border-radius:8px; background:#fff; }
@media(max-width:600px) {
    .tm-voucher-checkout .tm-form-contact,
    .tm-voucher-checkout .tm-voucher-summary { padding:.85rem; }
    .tm-voucher-checkout .tm-form-contact { grid-template-columns:minmax(0,1fr); }
}
