/* ========================================
   KLAG'S Restaurant – Reservierungs-Seite
   ======================================== */

.reserv-shell {
  min-height: 100vh;
}

.reserv-hero {
  padding: 140px 24px 40px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 30%, rgba(184, 154, 86, 0.10), transparent 55%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  border-bottom: 1px solid var(--gold-faint);
}

.reserv-hero .lotus {
  font-size: 34px;
  color: var(--gold);
  opacity: 0.75;
  margin-bottom: 6px;
}

.reserv-hero h1 {
  margin: 0;
  color: var(--gold);
  font-family: var(--serif);
  font-size: clamp(38px, 6vw, 58px);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-indent: 0.16em;
}

.reserv-hero .hero-rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 12px auto 14px;
  max-width: 560px;
}

.reserv-hero .hero-rule span {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-soft), transparent);
}

.reserv-hero .hero-rule p {
  margin: 0;
  color: var(--gold);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  white-space: nowrap;
}

.reserv-hero .hero-subtitle {
  margin: 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 19px;
}

.reserv-container {
  max-width: 720px;
  margin: 0 auto;
  padding: 50px 24px 60px;
}

/* ================= Info-Banner oben =================
   Typografie 7.7.2026 hochgezogen (analog zum Mittagstisch-Fix, Session 35):
   Zielgruppe schließt ältere Gäste ein, mind. 17px Fließtext + höherer
   Kontrast als für jüngere Nutzer. */

.reserv-info {
  margin-bottom: 26px;
  padding: 18px 22px;
  border-left: 3px solid var(--gold-soft);
  background: rgba(184, 154, 86, 0.05);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.55;
}

.reserv-info strong {
  color: var(--gold);
}

.reserv-info a {
  color: var(--gold);
  font-weight: 600;
}

/* ================= Formular ================= */

.reserv-form {
  padding: 32px 30px;
  border: 1px solid var(--gold-faint);
  border-radius: 6px;
  background: rgba(184, 154, 86, 0.03);
}

.reserv-form h2 {
  margin: 0 0 6px;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* form-hint: 15px muted → 17px ink 0.85 (7.7.2026, Senioren-Lesbarkeit).
   Analog zum Mittagstisch-Fix — WCAG AA → AAA. */
.reserv-form .form-hint {
  margin: 0 0 22px;
  color: var(--ink);
  opacity: 0.85;
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.5;
}

.reserv-form .form-group {
  margin-bottom: 20px;
}

/* Labels: 12px → 13px (7.7.2026). Uppercase-Kicker dürfen etwas kleiner
   bleiben als Fließtext, aber 12px war grenzwertig — 13px ist der neue
   Kompromiss zwischen „Kicker-Charakter" und Lesbarkeit für ältere Nutzer. */
.reserv-form label {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.reserv-form label .req {
  color: var(--gold);
  margin-left: 3px;
}

/* Input-Felder: 16px → 17px (7.7.2026, Senioren-Lesbarkeit).
   16px war iOS-Grenzwert (verhindert Auto-Zoom beim Focus), 17px ist
   sicher darüber und wesentlich angenehmer zu lesen. Padding leicht
   erhöht damit die größere Schrift nicht gedrängt wirkt. */
.reserv-form input[type="text"],
.reserv-form input[type="email"],
.reserv-form input[type="tel"],
.reserv-form input[type="date"],
.reserv-form select,
.reserv-form textarea {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 12px 14px;
  border: 1.5px solid var(--gold-faint);
  border-radius: 4px;
  background: rgba(16, 16, 15, 0.4);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 17px;
  transition: border-color 0.2s ease;
  color-scheme: dark;
}

/* iOS Safari-Fix für input[type="date"]:
   iOS setzt einen impliziten min-width auf Date-Inputs (~ 200 px) und
   ignoriert oft width: 100% wenn kein -webkit-appearance: none gesetzt ist.
   Das führte auf iPhone 13 mini dazu dass das Feld rechts überlief.
   Fix: appearance auf "none", padding auf iOS-freundliche Werte. */
.reserv-form input[type="date"] {
  -webkit-appearance: none;
  appearance: none;
  min-height: 44px; /* iOS-Touch-Target */
  display: block;
  /* Text vertikal zentrieren im iOS-Date-Input */
  line-height: 1.2;
}

.reserv-form input:focus,
.reserv-form select:focus,
.reserv-form textarea:focus {
  border-color: var(--gold);
  outline: none;
}

.reserv-form textarea {
  min-height: 78px;
  resize: vertical;
  line-height: 1.4;
}

.reserv-form select {
  appearance: none;
  -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%),
                    linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 30px;
  cursor: pointer;
}

.reserv-form select option {
  background: var(--bg);
  color: var(--ink);
}

.reserv-form select:disabled,
.reserv-form input:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.reserv-form .grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* Field-Hint: 13px dim → 15px muted (7.7.2026). Waren vorher fast unlesbar
   für ältere Nutzer. Farbe von --dim (sehr grau) auf --muted (heller Beige)
   für besseren Kontrast. */
.reserv-form .field-hint {
  margin: 5px 0 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.4;
}

/* Field-Warn: 14px → 16px (7.7.2026). Warnungen sind kritisch (Dienstag =
   Ruhetag, keine freien Slots) — müssen unbedingt lesbar sein. */
.reserv-form .field-warn {
  margin: 5px 0 0;
  padding: 10px 14px;
  border-left: 3px solid #d17c3f;
  background: rgba(209, 124, 63, 0.08);
  color: #e8a86e;
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.45;
}

.reserv-form .field-warn.hidden { display: none; }

/* Consent-Checkbox */
.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
}

.consent-row input[type="checkbox"] {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
  cursor: pointer;
  flex-shrink: 0;
}

/* Consent-Label (DSGVO): 14.5px → 16px (7.7.2026). Rechtlich hier besonders
   wichtig — Einwilligungstexte müssen für alle Nutzer gut lesbar sein,
   sonst ist die Zustimmung angreifbar. */
.consent-row label {
  margin: 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
  line-height: 1.5;
  cursor: pointer;
}

.consent-row a {
  color: var(--gold);
  text-decoration: underline;
  text-decoration-color: var(--gold-faint);
}

.consent-row a:hover {
  text-decoration-color: var(--gold);
}

/* Aktionen */
.reserv-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--gold-faint);
}

/* Submit-Button: 14px → 15px (7.7.2026). Nicht viel größer weil er als
   Sans-Uppercase-Button bereits durch Farbe + Border prominent ist,
   aber 14px war für die Haupt-CTA-Aktion zu klein. */
.reserv-actions .btn-primary {
  flex: 1;
  min-width: 200px;
  justify-content: center;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 22px;
  border-radius: 4px;
  background: rgba(184, 154, 86, 0.16);
  border: 1.5px solid var(--gold);
  color: #efe4c4;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s ease;
}

.reserv-actions .btn-primary:hover,
.reserv-actions .btn-primary:focus-visible {
  background: rgba(184, 154, 86, 0.28);
  outline: none;
}

.reserv-actions .btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.reserv-actions .btn-primary svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* Alternativ-Hinweis (Telefon oben, gestrichelte Box): 15px → 17px
   (7.7.2026). Das ist DER wichtigste Alternativ-Hinweis auf der Seite
   („lieber anrufen — hier ist die Nummer"). Muss klar lesbar sein. */
.reserv-alt {
  margin-top: 26px;
  padding: 20px 22px;
  border: 1px dashed var(--gold-faint);
  border-radius: 4px;
  text-align: center;
  color: var(--ink);
  opacity: 0.9;
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.55;
}

.reserv-alt strong {
  color: var(--gold);
}

.reserv-alt a {
  color: var(--gold);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid var(--gold-faint);
}

.reserv-alt a:hover {
  border-bottom-color: var(--gold);
}

/* ================= Erfolgs-/Fehlerscreen ================= */

.reserv-status {
  margin-top: 24px;
  padding: 24px 22px;
  border-radius: 4px;
  font-family: var(--serif);
  line-height: 1.5;
}

.reserv-status.hidden { display: none; }

.reserv-status.success {
  border: 1px solid rgba(127, 143, 89, 0.4);
  background: rgba(127, 143, 89, 0.08);
  color: #cfe1a8;
}

.reserv-status.error {
  border: 1px solid rgba(209, 124, 63, 0.5);
  background: rgba(209, 124, 63, 0.08);
  color: #e8a86e;
}

.reserv-status .status-icon {
  font-size: 32px;
  line-height: 1;
  margin-bottom: 8px;
}

/* Status-Feedback: h3 20→22px, p 15→17px (7.7.2026, Senioren-Lesbarkeit).
   Nach dem Absenden ist die Rückmeldung („Vielen Dank, wir bestätigen…")
   das Wichtigste auf der Seite — muss ohne Anstrengung lesbar sein. */
.reserv-status h3 {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 700;
}

.reserv-status.success h3 { color: #b8d284; }
.reserv-status.error h3 { color: #e8a86e; }

.reserv-status p {
  margin: 0 0 10px;
  font-size: 17px;
  line-height: 1.5;
}

.reserv-status a {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
}

/* .reserv-nav-cta wurde am 8.7.2026 entfernt — Klasse war in keinem HTML mehr referenziert. */

/* ================= Dezenter Reservierungs-Teaser =================
   Zwei separate Klick-Ziele im gleichen Container:
   - .rht-body (Titel + Untertitel) → NICHT klickbar (nur Info)
   - .rht-phone (Telefonnummer) → tel:-Link zum direkten Anrufen
   - .rht-cta (Online reservieren) → zur Reservierungs-Seite */

.reserv-hero-teaser {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 18px;
  margin-bottom: 14px;
  padding: 12px 20px;
  background: rgba(184, 154, 86, 0.03);
  border: 1px solid var(--gold-faint);
  border-radius: 4px;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.reserv-hero-teaser:hover {
  background: rgba(184, 154, 86, 0.05);
  border-color: var(--gold-soft);
}

/* Wenn der Teaser direkt hinter dem `.poster-grid` steht (Position seit
   Iteration 7. Juli 2026 — bewusst NACH den Speisen, siehe HTML-Kommentar),
   braucht er einen klaren Luftabstand zu den Hauptgerichten oben.
   Ohne diese Regel klebt der Teaser optisch am darüber liegenden main-cards-
   Rahmen — schlechte visuelle Hygiene.
   Zusätzlich: an dieser Position ist der Teaser eine echte Handlungsaufforderung
   (Besucher hat gerade Bilder + Chef-Zitat gesehen). Deshalb: größere Typo,
   mehr Padding, klarerer CTA-Button — nicht mehr das dezente Info-Etikett von
   der alten oberen Position. */
.poster-grid + .reserv-hero-teaser {
  margin-top: 28px;
  padding: 18px 24px;
  background: linear-gradient(180deg, rgba(184, 154, 86, 0.08), rgba(184, 154, 86, 0.03));
  border-color: var(--gold-soft);
}

.poster-grid + .reserv-hero-teaser .rht-title {
  font-size: 15px;
  letter-spacing: 0.1em;
}

.poster-grid + .reserv-hero-teaser .rht-sub {
  color: var(--ink);
  font-size: 17px;
}

.poster-grid + .reserv-hero-teaser .rht-phone {
  font-size: 15px;
  padding: 8px 20px 8px 0;
}

.poster-grid + .reserv-hero-teaser .rht-phone strong {
  font-size: 17px;
}

/* CTA an dieser Position wird zum echten Button: goldene Border,
   dezenter Hintergrund, mehr Padding — damit klar wird: „das ist die Aktion". */
.poster-grid + .reserv-hero-teaser .rht-cta {
  padding: 10px 18px;
  border: 1.5px solid var(--gold);
  border-radius: 4px;
  background: rgba(184, 154, 86, 0.12);
  font-size: 13px;
  letter-spacing: 0.08em;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.poster-grid + .reserv-hero-teaser .rht-cta:hover {
  background: rgba(184, 154, 86, 0.22);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(184, 154, 86, 0.2);
}

.reserv-hero-teaser .rht-body {
  min-width: 0;
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.reserv-hero-teaser .rht-title {
  color: var(--gold);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.reserv-hero-teaser .rht-sub {
  color: var(--muted);
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.35;
}

/* Telefon-Link: eigenes Klick-Ziel, klar erkennbar */
.reserv-hero-teaser .rht-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  text-decoration: none;
  padding: 6px 16px 6px 0;
  border-right: 1px solid var(--gold-faint);
  transition: color 0.2s ease;
}

.reserv-hero-teaser .rht-phone strong {
  color: var(--gold);
  font-weight: 700;
  transition: color 0.2s ease;
}

.reserv-hero-teaser .rht-phone:hover {
  color: var(--gold);
}

/* Online-CTA: eigenes Klick-Ziel */
.reserv-hero-teaser .rht-cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--gold);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  text-decoration: none;
  padding: 6px 4px;
  transition: transform 0.25s ease;
}

.reserv-hero-teaser .rht-cta:hover {
  transform: translateX(3px);
}

@media (max-width: 680px) {
  .reserv-hero-teaser {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 12px 16px;
    gap: 10px;
  }

  .reserv-hero-teaser .rht-body {
    justify-content: center;
  }

  .reserv-hero-teaser .rht-phone {
    justify-content: center;
    border-right: 0;
    padding: 6px 0;
    border-bottom: 1px solid var(--gold-faint);
  }

  .reserv-hero-teaser .rht-cta {
    justify-content: center;
    padding: 4px 0;
  }
}

/* ================= Responsive ================= */

@media (max-width: 620px) {
  .reserv-form {
    padding: 24px 20px;
  }
  .reserv-form .grid-2 {
    grid-template-columns: 1fr;
  }
}