/* ==========================================================================
   Villa Restaurant Sömmerda - Reservierung (reine Vorschau-Ansicht)
   Eriks alte Reservierungsform, neu in Villa-Farben und -Schriften.
   Kein Backend, kein Versand. Tab + Zeichenzaehler rein visuell.
   ========================================================================== */

.resv-section { }

.resv-card {
  max-width: 820px;
  margin-inline: auto;
  background: var(--vr-papier);
  border: 1px solid var(--vr-linie-soft);
  border-radius: var(--vr-radius-xl);
  box-shadow:
    0 1px 2px rgba(26, 20, 16, 0.06),
    0 18px 48px rgba(26, 20, 16, 0.12);
  padding: clamp(1.5rem, 4vw, 3rem);
  overflow: hidden;
}

/* === Kopf: Glocke, Einleitung, Telefon =================================== */

.resv-head {
  text-align: center;
  max-width: 60ch;
  margin-inline: auto;
}

.resv-bell {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: var(--vr-space-md);
  border-radius: 50%;
  color: var(--vr-creme);
  background: linear-gradient(135deg, var(--vr-gold) 0%, var(--vr-burgund) 100%);
  box-shadow: 0 10px 24px rgba(110, 26, 36, 0.28);
}
.resv-bell svg { width: 30px; height: 30px; }

.resv-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--vr-anthrazit);
  margin: 0 0 var(--vr-space-sm);
  line-height: 1.1;
}

.resv-intro {
  color: var(--vr-text-secondary);
  margin: 0 auto var(--vr-space-lg);
  font-size: var(--vr-text-md);
  line-height: var(--vr-leading-relaxed);
}

.resv-phone {
  display: inline-flex;
  align-items: center;
  gap: var(--vr-space-2xs);
  font-family: var(--vr-font-display);
  font-size: clamp(1.5rem, 3.4vw, 2.1rem);
  font-weight: var(--vr-fw-semibold);
  color: var(--vr-burgund);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color var(--vr-trans-base), transform var(--vr-trans-base);
}
.resv-phone svg { color: var(--vr-gold); transition: transform var(--vr-trans-base); }
@media (hover: hover) {
  .resv-phone:hover { color: var(--vr-burgund-tief); }
  .resv-phone:hover svg { transform: rotate(-12deg) scale(1.08); }
}
.resv-phone:focus-visible { outline: var(--vr-focus-ring); outline-offset: 4px; border-radius: var(--vr-radius-sm); }

.resv-phone-note {
  font-family: var(--vr-font-body);
  font-style: italic;
  font-size: var(--vr-text-sm);
  color: var(--vr-text-muted);
  margin: var(--vr-space-2xs) auto 0;
}

/* === Tabs ueber die volle Breite ========================================= */

.resv-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--vr-space-2xs);
  margin: clamp(1.75rem, 4vw, 2.5rem) 0 0;
  background: var(--vr-creme-tief);
  border: 1px solid var(--vr-linie-soft);
  border-radius: var(--vr-radius-full);
  padding: 6px;
}

.resv-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--vr-space-2xs);
  padding: var(--vr-space-sm) var(--vr-space-md);
  min-height: 52px;
  border: none;
  background: transparent;
  border-radius: var(--vr-radius-full);
  font-family: var(--vr-font-display);
  font-size: var(--vr-text-md);
  font-weight: var(--vr-fw-semibold);
  color: var(--vr-text-secondary);
  cursor: pointer;
  letter-spacing: 0.01em;
  transition: background var(--vr-trans-base), color var(--vr-trans-base), box-shadow var(--vr-trans-base);
}
.resv-tab svg { width: 22px; height: 22px; flex-shrink: 0; }

.resv-tab:hover { color: var(--vr-burgund); }

.resv-tab.is-active {
  background: linear-gradient(135deg, var(--vr-burgund) 0%, var(--vr-burgund-tief) 100%);
  color: var(--vr-creme);
  box-shadow: 0 6px 16px rgba(110, 26, 36, 0.28);
}

.resv-tab:focus-visible {
  outline: var(--vr-focus-ring);
  outline-offset: 2px;
}

/* === Panels und Formular ================================================= */

.resv-panel {
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
}
.resv-panel[hidden] { display: none; }

.resv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--vr-space-md);
}

@media (max-width: 720px) {
  .resv-grid { grid-template-columns: 1fr; }
}

.resv-field { display: flex; flex-direction: column; }
.resv-field--full { grid-column: 1 / -1; }

.resv-field label {
  font-family: var(--vr-font-body);
  font-size: var(--vr-text-sm);
  font-weight: var(--vr-fw-medium);
  color: var(--vr-text-secondary);
  margin-bottom: var(--vr-space-3xs);
}

.resv-field input,
.resv-field select,
.resv-field textarea {
  width: 100%;
  background: #fff;
  border: 1px solid var(--vr-linie);
  border-radius: var(--vr-radius-sm);
  padding: var(--vr-space-xs) var(--vr-space-sm);
  font-family: var(--vr-font-body);
  font-size: var(--vr-text-base);
  color: var(--vr-anthrazit);
  transition: border-color var(--vr-trans-fast), box-shadow var(--vr-trans-fast);
}
.resv-field textarea { resize: vertical; min-height: 6.5rem; }

.resv-field input:focus,
.resv-field select:focus,
.resv-field textarea:focus {
  outline: none;
  border-color: var(--vr-gold);
  box-shadow: 0 0 0 3px rgba(184, 146, 74, 0.18);
}

.resv-counter {
  align-self: flex-end;
  margin-top: var(--vr-space-3xs);
  font-size: var(--vr-text-xs);
  color: var(--vr-text-muted);
  font-variant-numeric: tabular-nums;
}

.resv-submit {
  display: inline-flex;
  margin: clamp(1.5rem, 3vw, 2rem) auto 0;
}

@media (max-width: 720px) {
  .resv-submit { width: 100%; }
}

.resv-demo-note {
  text-align: center;
  max-width: 60ch;
  margin: var(--vr-space-lg) auto 0;
  font-size: var(--vr-text-sm);
  font-style: italic;
  color: var(--vr-text-muted);
  line-height: var(--vr-leading-relaxed);
}
.resv-demo-note a { color: var(--vr-burgund); }

/* === Desktop-Höhenoptimierung v3: 6 Felder in einer Reihe === */
@media (min-width: 1024px) {
  .resv-card {
    max-width: 1180px;
    padding: clamp(1.5rem, 2vw, 2.25rem) clamp(2.5rem, 3.5vw, 3.25rem);
  }
  .resv-bell {
    width: 40px;
    height: 40px;
    margin-bottom: var(--vr-space-2xs);
  }
  .resv-bell svg { width: 20px; height: 20px; }
  .resv-title {
    font-size: clamp(1.7rem, 2vw, 2rem);
    margin-bottom: var(--vr-space-2xs);
  }
  .resv-intro {
    max-width: 56ch;
    font-size: var(--vr-text-base);
    line-height: 1.45;
    margin-bottom: var(--vr-space-xs);
  }
  .resv-phone { font-size: clamp(1.3rem, 1.7vw, 1.5rem); }
  .resv-phone-note { margin-top: 0; font-size: var(--vr-text-xs); }
  .resv-tabs { margin-top: var(--vr-space-xs); }
  .resv-tab { min-height: 42px; }
  .resv-panel { margin-top: var(--vr-space-sm); }
  .resv-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--vr-space-sm);
  }
  .resv-field textarea { min-height: 3.25rem; }
  .resv-submit { margin-top: var(--vr-space-sm); }
}


.site-header__inner .btn--gold { white-space: nowrap; flex-shrink: 0; width: max-content; }

.site-header__inner .btn--gold { white-space: nowrap !important; width: auto !important; min-width: 0 !important; max-width: none !important; flex: 0 0 auto !important; height: auto !important; min-height: 44px !important; }

.site-header__inner .btn--gold { transform: none !important; opacity: 1 !important; transition: none !important; animation: none !important; white-space: nowrap !important; width: auto !important; min-width: 0 !important; }

.site-header__inner .btn--gold,
.site-header__inner .btn--gold[data-reveal-child],
.site-header__inner .btn--gold.is-revealed {
  transform: none !important;
  opacity: 1 !important;
  animation: none !important;
  transition: none !important;
  white-space: nowrap !important;
  width: max-content !important;
  min-width: 0 !important;
  max-width: none !important;
  flex: 0 0 auto !important;
}

.site-header__inner .btn--gold { display:inline-flex !important; align-items:center !important; line-height:1.1 !important; height:auto !important; min-height:0 !important; padding:12px 22px !important; white-space:nowrap !important; width:auto !important; flex:0 0 auto !important; word-break:keep-all !important; }
.site-header__inner .btn--gold br { display:none !important; }

.site-header__inner .site-nav { flex-shrink: 0 !important; }
.site-header__inner .site-nav .btn--gold { flex-shrink: 0 !important; white-space: nowrap !important; width: auto !important; min-width: max-content !important; }
