/* Anfrage-Strecke ("Reserve tour") und Danke-Seite
 *
 * Der Aufbau entspricht der frueheren Bezahl-Vorschau, damit der Ablauf fuer
 * den Gast derselbe bleibt. Schritt 2 ist jetzt ein Formular statt einer
 * Bezahlseite. Es wird kein Geld bewegt.
 *
 * Kein Aufruf einer fremden Adresse, keine fremden Schriften oder Symbole.
 */

.res {
  padding: calc(var(--header-h) + 2rem) 1.5rem 4rem;
  background: var(--bg);
  min-height: 70vh;
}
.res-inner { max-width: 720px; margin: 0 auto; }

/* Hinweis, damit niemand die Anfrage fuer eine feste Buchung haelt */
.res-hinweis {
  background: var(--sand-pale);
  border: 1px solid var(--sand);
  border-radius: var(--r);
  padding: 14px 18px;
  margin-bottom: 28px;
  font-size: 14px;
  color: var(--text);
}
.res-hinweis strong { display: block; margin-bottom: 3px; }

/* Fortschritt: 1 Buchung, 2 Angaben, 3 Bestaetigung */
.res-schritte {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 26px; font-size: 13px; color: var(--text-soft);
}
.res-schritt { display: flex; align-items: center; gap: 8px; }
.res-punkt {
  width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--white); border: 1px solid var(--border);
  font-weight: 700; font-size: 13px; color: var(--text-soft);
}
.res-schritt.aktiv .res-punkt { background: var(--gold); border-color: var(--gold); color: var(--white); }
.res-schritt.aktiv { color: var(--text); font-weight: 600; }
.res-strich { flex: 1; height: 1px; background: var(--border); }

.res-karte {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  padding: 26px;
}
.res-karte h1, .res-karte h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.6rem; font-weight: 700; color: var(--text);
  margin: 0 0 18px;
}
.res-karte h3 { font-size: 15px; margin: 22px 0 10px; color: var(--text); }

.res-zeile {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 9px 0; font-size: 15px; color: var(--text);
  border-bottom: 1px solid var(--border);
}
.res-zeile:last-of-type { border-bottom: 0; }
.res-zeile.summe {
  border-top: 2px solid var(--border); border-bottom: 0;
  margin-top: 8px; padding-top: 14px; font-size: 18px; font-weight: 700;
}

/* Formularfelder */
.res-feld { margin-bottom: 16px; }
.res-feld label {
  display: block; font-size: 14px; font-weight: 600;
  margin-bottom: 6px; color: var(--text);
}
.res-optional { font-weight: 400; color: var(--text-soft); }
.res-feld input,
.res-feld select,
.res-feld textarea {
  width: 100%; padding: 12px 13px; font-size: 16px;
  border: 1px solid var(--border); border-radius: 10px;
  background: var(--white); color: var(--text);
  font-family: inherit;
}
.res-feld textarea { resize: vertical; min-height: 96px; }
.res-feld input:focus,
.res-feld textarea:focus {
  outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold);
}
.res-feld input[aria-invalid="true"],
.res-feld textarea[aria-invalid="true"] { border-color: #B4321E; }
.res-hilfe { display: block; margin-top: 5px; font-size: 12px; color: var(--text-soft); }

/* Datum und Gaestezahl in Schritt 1 */
.res-paar { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.res-paar label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.res-datum { margin-top: 16px; }
.res-datum input[type="date"]:disabled { background: var(--sand-pale); color: var(--text-soft); }

/* Auswahl "ich bin flexibel". Gross genug, um sie mit dem Daumen zu treffen.
   Eigener Name, weil .res-haken schon das gruene Haekchen der Danke-Seite ist.
   Die Auswahl steht mit .res-feld davor, sonst gewinnt die Regel fuer die
   normalen Beschriftungen und die Zeile bricht um. */
.res-feld label.res-flexibel {
  display: flex; align-items: center; gap: 9px;
  margin: 10px 0 0; padding: 8px 0;
  font-size: 14px; font-weight: 400; color: var(--text); cursor: pointer;
}
.res-feld .res-flexibel input[type="checkbox"] {
  appearance: auto; -webkit-appearance: checkbox;
  width: 20px; height: 20px; min-width: 20px; padding: 0; margin: 0;
  border: 0; border-radius: 0; background: none;
  accent-color: var(--gold); flex: 0 0 auto;
}

/* Ausgeblendetes bleibt ausgeblendet. Ohne diese Regel gewinnt display:flex
   der Zeilen gegen das hidden-Merkmal, und Anzeige und Auswahl stehen doppelt. */
.res [hidden] { display: none !important; }
.res-fehler { display: block; margin-top: 5px; font-size: 13px; color: #B4321E; font-weight: 600; }

/* Honigtopf gegen Bots: fuer Menschen unsichtbar, fuer Vorleseprogramme
   ausgeblendet (aria-hidden im HTML), aber nicht display:none, weil manche
   Bots genau darauf achten. */
.res-honig {
  position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden;
}

.kontakt-h2 { font-size: 1.25rem !important; margin: 34px 0 6px !important; }
.res-datenschutz { margin: 18px 0 0; font-size: 12px; color: var(--text-soft); }
.res-datenschutz a { color: var(--gold-dark); }

.res-knopf {
  display: block; width: 100%; text-align: center;
  background: var(--gold); color: var(--white);
  border: 0; border-radius: var(--r);
  padding: 15px 20px; font-size: 16px; font-weight: 700;
  font-family: inherit; cursor: pointer; margin-top: 20px;
}
.res-knopf:hover { background: var(--gold-dark); }
.res-knopf[disabled] { opacity: .6; cursor: progress; }
.res-zurueck {
  display: inline-block; margin-top: 16px;
  font-size: 14px; color: var(--text-soft); background: none; border: 0;
  font-family: inherit; cursor: pointer; text-decoration: underline;
}
.res-fuss { margin-top: 14px; font-size: 12px; color: var(--text-soft); text-align: center; }

/* Danke-Seite */
.res-danke { text-align: center; }
.res-danke h1 { margin-bottom: 12px; font-size: 2rem; }
.res-danke-h2 { font-size: 1.3rem !important; margin: 30px 0 12px !important; }
.res-danke-text { font-size: 16px; color: var(--text); margin: 0 auto 16px; max-width: 46ch; }
.res-haken {
  width: 62px; height: 62px; border-radius: 50%;
  background: var(--success); color: var(--white);
  display: grid; place-items: center; margin: 0 auto 18px;
  font-size: 32px; line-height: 1;
}
.res-nummer {
  display: inline-block; margin: 4px 0 22px;
  background: var(--sand-pale); border-radius: 10px;
  padding: 8px 16px; font-size: 14px; color: var(--text);
}
.res-nummer strong { letter-spacing: .06em; }

.res-foto {
  background: var(--sand-pale); border-radius: var(--r-lg);
  padding: 24px; margin: 8px 0 6px;
}
.res-foto img {
  width: 320px; max-width: 80%; height: auto;
  border-radius: 50%; display: block; margin: 0 auto 18px;
  box-shadow: var(--shadow-sm);
}
.res-foto-text { font-size: 15px; color: var(--text); margin: 0 auto; max-width: 46ch; }
.res-signatur {
  margin: 14px 0 0; font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 18px; color: var(--gold-dark);
}

.res-liste {
  text-align: left; max-width: 46ch; margin: 0 auto 8px; padding-left: 20px;
  font-size: 15px; color: var(--text);
}
.res-liste li { margin-bottom: 8px; }

.res-whatsapp {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  margin-top: 8px; padding: 13px 22px;
  border: 1px solid var(--border); border-radius: var(--r);
  background: var(--white); color: var(--text);
  font-size: 15px; font-weight: 600; text-decoration: none;
}
.res-whatsapp:hover { border-color: #25D366; }
.res-zurueck-link {
  display: block; margin-top: 20px; font-size: 14px;
  color: var(--text-soft); text-decoration: underline;
}

@media (max-width: 560px) {
  .res-schritte { font-size: 12px; }
  .res-karte { padding: 20px; }
  .res-danke h1 { font-size: 1.6rem; }
}
