/* ═══════════════════════════════════════════════════
   HAND CAR WASH ERFURT — Shared Styles
   Dark luxury aesthetic with gold/amber accents
   ═══════════════════════════════════════════════════ */

/* ─── Base ─── */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: #080808;
  color: #f5f5f0;
  overflow-x: hidden;
}

/* ─── Critical Header Layout (prevents FOUC before Tailwind loads) ─── */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  height: 80px;
  overflow: hidden;
}
#site-header > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}
#site-header nav { display: none; }
#site-header .hamburger { position: relative; z-index: 50; }
@media (min-width: 1024px) {
  #site-header > div { padding: 0 2rem; }
  #site-header nav { display: flex; align-items: center; gap: 2rem; }
  #site-header .hamburger { display: none; }
}

/* ─── Logo: full white ─── */
img[alt="Hand Car Wash Erfurt"] {
  filter: brightness(0) invert(1);
}

/* ─── Navigation ─── */
.nav-link {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245, 245, 240, 0.7);
  text-decoration: none;
  padding-bottom: 6px;
  border-bottom: 2px solid transparent;
  transition: color 0.3s ease, border-bottom-color 0.3s ease;
}
.nav-link:hover,
.nav-link.active {
  color: #c8a84b;
  border-bottom-color: #c8a84b;
}

/* ─── Mobile Menu ─── */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(8, 8, 8, 0.98);
  z-index: 45;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}
.mobile-menu a {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.2rem;
  color: rgba(245, 245, 240, 0.6);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: color 0.3s, transform 0.3s;
}
.mobile-menu a:hover,
.mobile-menu a.active {
  color: #c8a84b;
  transform: translateX(4px);
}

/* Hamburger */
.hamburger { background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: #f5f5f0;
  margin: 6px 0;
  transition: all 0.3s ease;
  border-radius: 1px;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

/* ─── Buttons ─── */
.btn-gold {
  background: #c8a84b;
  color: #080808;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  padding: 0.9rem 2.2rem;
  border: none;
  cursor: pointer;
  transition: all 0.35s ease;
  text-decoration: none;
  display: inline-block;
}
.btn-gold:hover {
  background: #d4b65c;
  box-shadow: 0 0 40px rgba(200, 168, 75, 0.25);
  transform: translateY(-2px);
}
.btn-outline {
  border: 1px solid rgba(200, 168, 75, 0.6);
  color: #c8a84b;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  padding: 0.9rem 2.2rem;
  background: transparent;
  cursor: pointer;
  transition: all 0.35s ease;
  text-decoration: none;
  display: inline-block;
}
.btn-outline:hover {
  background: rgba(200, 168, 75, 0.08);
  border-color: #c8a84b;
  box-shadow: 0 0 30px rgba(200, 168, 75, 0.12);
  transform: translateY(-2px);
}

/* ─── Fade-in on Scroll ─── */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }

/* ─── Social Buttons Slide-in ─── */
@keyframes slideInRight {
  from { transform: translateX(80px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
.social-btn {
  animation: slideInRight 0.5s ease forwards;
  opacity: 0;
}
.social-btn:nth-child(1) { animation-delay: 0.5s; }
.social-btn:nth-child(2) { animation-delay: 0.7s; }
.social-btn:nth-child(3) { animation-delay: 0.9s; }

/* ─── Scroll Indicator ─── */
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 0.6; }
  50% { transform: translateY(12px); opacity: 1; }
}
.scroll-indicator { animation: scrollBounce 2.5s ease-in-out infinite; }

/* ─── Card Hover Glow ─── */
.card-glow {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.card-glow:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(200, 168, 75, 0.12);
}

/* ─── Gallery Grid ─── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
@media (max-width: 768px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
.gallery-grid img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.4s ease, filter 0.4s ease;
  border-radius: 2px;
}
.gallery-grid img:hover {
  transform: scale(1.03);
  filter: brightness(1.15);
}

/* ─── Lightbox ─── */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.96);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.lightbox-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.lightbox-overlay img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
}
.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  font-size: 2.5rem;
  color: #f5f5f0;
  cursor: pointer;
  background: none;
  border: none;
  font-family: 'DM Sans', sans-serif;
  line-height: 1;
  transition: color 0.3s;
  z-index: 201;
}
.lightbox-close:hover { color: #c8a84b; }
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3rem;
  color: rgba(245, 245, 240, 0.6);
  cursor: pointer;
  background: none;
  border: none;
  padding: 1rem;
  transition: color 0.3s;
  z-index: 201;
}
.lightbox-nav:hover { color: #c8a84b; }
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

/* ─── FAQ Accordion ─── */
.faq-item { border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.faq-question {
  cursor: pointer;
  padding: 1.25rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-weight: 500;
  transition: color 0.3s;
  list-style: none;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question:hover { color: #c8a84b; }
.faq-icon {
  transition: transform 0.3s ease;
  color: #c8a84b;
  font-size: 1.4rem;
  flex-shrink: 0;
  line-height: 1;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-item.open .faq-answer {
  max-height: 400px;
  padding-bottom: 1.25rem;
}

/* ─── Price Table ─── */
.price-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 4px;
  border: 1px solid rgba(200, 168, 75, 0.15);
}
.price-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 780px;
}
.price-table thead th {
  background: #c8a84b;
  color: #080808;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.06em;
  padding: 0.9rem 0.75rem;
  text-align: left;
  white-space: nowrap;
}
.price-table tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: background 0.3s;
}
.price-table tbody tr:nth-child(even) { background: rgba(255, 255, 255, 0.015); }
.price-table tbody tr:hover { background: rgba(200, 168, 75, 0.06); }
.price-table td {
  padding: 0.8rem 0.75rem;
  font-size: 0.9rem;
  white-space: nowrap;
}
.price-table td:first-child { font-weight: 500; }
.auf-anfrage {
  color: rgba(245, 245, 240, 0.35);
  font-style: italic;
}
.scroll-hint {
  display: none;
  text-align: center;
  color: rgba(245, 245, 240, 0.35);
  font-size: 0.75rem;
  padding: 0.5rem 0;
}
@media (max-width: 800px) {
  .scroll-hint { display: block; }
}

/* ─── Hero Background ─── */
.hero-bg {
  background-size: cover;
  background-position: center;
}

/* ─── Process Steps Connector ─── */
@media (min-width: 768px) {
  .process-step { position: relative; }
  .process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 2.5rem;
    right: -1.5rem;
    width: 3rem;
    height: 2px;
    background: linear-gradient(90deg, rgba(200,168,75,0.5), transparent);
  }
}

/* ─── Custom Scrollbar ─── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #080808; }
::-webkit-scrollbar-thumb { background: rgba(200, 168, 75, 0.4); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(200, 168, 75, 0.6); }

/* ─── Selection ─── */
::selection { background: rgba(200, 168, 75, 0.3); color: #f5f5f0; }

/* ─── Form Elements ─── */
select, select option {
  background-color: #0f0f0f;
  color: #f5f5f0;
}
input, textarea, select {
  background-color: rgba(255, 255, 255, 0.02);
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #c8a84b !important;
  box-shadow: 0 0 0 2px rgba(200, 168, 75, 0.15);
}

/* ─── Gold Gradient Text ─── */
.text-gold-gradient {
  background: linear-gradient(135deg, #c8a84b 0%, #e8d48b 50%, #c8a84b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── Star Rating ─── */
.stars { color: #c8a84b; letter-spacing: 2px; }
