/* ==========================================================
   Fleischsache – Shared Styles
   ========================================================== */

/* ---- Base ---- */
body {
  font-family: 'Barlow', sans-serif;
  background: #0f0c09;
  color: #f5f0e8;
}

h1, h2, h3, .font-display {
  font-family: 'Bebas Neue', sans-serif;
}

/* ---- Grain texture overlay ---- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.4;
}

/* ---- Ember glow line ---- */
.ember-line {
  height: 2px;
  background: linear-gradient(90deg, transparent, #821F05, #a82a07, #821F05, transparent);
}

/* ---- Smoke tag ---- */
.smoke-tag {
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-size: 0.7rem;
  font-weight: 600;
  color: #821F05;
}

/* ---- Nav backdrop ---- */
.nav-bg {
  background: linear-gradient(to bottom, rgba(8,6,4,0.95), rgba(8,6,4,0));
}

/* ---- Mobile nav ---- */
#mobile-menu {
  transition: max-height 0.4s ease, opacity 0.3s ease;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
}
#mobile-menu.open {
  max-height: 400px;
  opacity: 1;
}

/* ---- Scroll reveal ---- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Product card hover ---- */
.product-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(130, 31, 5, 0.15);
}

/* ---- WhatsApp button pulse ---- */
.wa-pulse {
  animation: pulse-ring 2.5s infinite;
}
@keyframes pulse-ring {
  0%, 100% { box-shadow: 0 0 0 0 rgba(130, 31, 5, 0.5); }
  50%       { box-shadow: 0 0 0 10px rgba(130, 31, 5, 0); }
}

/* ---- Step circles (Fleischalarm) ---- */
.step-circle {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 2px solid #821F05;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  color: #821F05;
  flex-shrink: 0;
}

/* ---- Contact form fields ---- */
.form-field {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  color: #f5f0e8;
  transition: border-color 0.2s, background 0.2s;
  width: 100%;
  padding: 0.875rem 1rem;
  font-family: 'Barlow', sans-serif;
  font-size: 0.95rem;
  outline: none;
}
.form-field:focus {
  border-color: #821F05;
  background: rgba(130,31,5,0.05);
}
.form-field::placeholder { color: #6b7280; }
.form-field.error { border-color: #ef4444; }
select.form-field option { background: #1a1410; color: #f5f0e8; }

/* ---- Honeypot (unsichtbar für echte Nutzer) ---- */
.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

/* ---- Contact success message ---- */
#success-msg { display: none; }
#success-msg.show { display: flex; }

/* ---- Impressum / Legal ---- */
.legal-section h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  color: #821F05;
  margin-bottom: 0.75rem;
  margin-top: 2rem;
}
.legal-section h3 {
  font-family: 'Barlow', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #a8a29e;
  margin-bottom: 0.5rem;
  margin-top: 1.5rem;
}
.legal-section p,
.legal-section li {
  color: #a8a29e;
  font-size: 0.95rem;
  line-height: 1.8;
}
.legal-section a {
  color: #c43520;
  text-decoration: underline;
}
.legal-section a:hover { color: #a82a07; }
.legal-section ul {
  list-style: disc;
  padding-left: 1.5rem;
}
