*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0d0d0d;
  --bg3: #1a1a1a;
  --red: #c0392b;
  --red-light: #e05a4a;
  --accent: #c8972a;
  --text: #f0ece4;
  --text-muted: #888;
  --border: #2a2a2a;
  --card-bg: #1c1c1c;
  --green: #4caf72;
  --radius: 12px;
  --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --card-width: 340px;
  --card-gap: 24px;
}

html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--font); line-height: 1.6; overflow-x: hidden; }

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  background: radial-gradient(ellipse at center, #1a0a08 0%, #0d0d0d 70%);
  text-align: center;
  padding: 2rem;
}
.hero-content { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; }

.brand {
  font-size: clamp(3.5rem, 14vw, 11rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
  position: relative;
  display: inline-block;
  background: linear-gradient(135deg, #f0ece4 30%, var(--red) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  user-select: none;

}

/* Glanz-Overlay über dem Text */
/* Glow-Licht hinter dem Text – exakt synchron mit ::after */
.brand::before {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(220,180,120,0.0) 42%,
    rgba(220,180,120,0.6) 50%,
    rgba(220,180,120,0.0) 58%,
    transparent 70%
  );
  background-size: 220% 100%;
  background-position: -100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: blur(6px);
  animation: brandShine 2.8s cubic-bezier(0.25, 0, 0.35, 1) 0.6s 1 forwards;
  pointer-events: none;
  z-index: 1;
}

/* Glanz-Streifen über dem Text */
.brand::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 28%,
    rgba(255,255,255,0.0) 40%,
    rgba(255,255,255,0.45) 46%,
    rgba(255,255,255,0.92) 50%,
    rgba(255,255,255,0.45) 54%,
    rgba(255,255,255,0.0) 60%,
    transparent 72%
  );
  background-size: 220% 100%;
  background-position: -100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: brandShine 2.8s cubic-bezier(0.25, 0, 0.35, 1) 0.6s 1 forwards;
  pointer-events: none;
  z-index: 2;
}

@keyframes brandShine {
  0%   { background-position: -10% 0; opacity: 0; }
  6%   { opacity: 1; }
  82%  { opacity: 1; }
  100% { background-position: 170% 0; opacity: 0; }
}

.brand-wrap {
  animation: brandReveal 2.4s cubic-bezier(0.16, 1, 0.3, 1) 0s 1 both;
}

@keyframes brandReveal {
  0%   { opacity: 0; filter: blur(20px); transform: scale(0.97); }
  55%  { opacity: 1; }
  100% { opacity: 1; filter: blur(0px); transform: scale(1); }
}

@keyframes sloganReveal {
  0%   { opacity: 0; letter-spacing: 0.9em; transform: translateY(6px); }
  40%  { opacity: 1; }
  100% { opacity: 1; letter-spacing: 0.3em; transform: translateY(0); }
}
.slogan {
  font-size: clamp(0.75rem, 2.2vw, 1.05rem);
  color: var(--text-muted);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-top: 1rem;
  font-weight: 300;
  animation: sloganReveal 2.4s cubic-bezier(0.16, 1, 0.3, 1) 0.5s 1 both;
}
.scroll-arrow {
  position: absolute; bottom: 8%;
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  text-decoration: none; color: var(--text-muted);
  transition: color 0.3s;
  animation: bounce 2.2s ease-in-out infinite;
}
.scroll-arrow:hover { color: var(--red); animation: none; transform: translateY(4px); }
.arrow-label { font-size: 0.7rem; letter-spacing: 0.25em; text-transform: uppercase; }
.scroll-arrow svg { width: 28px; height: 28px; }
@keyframes bounce { 0%,100%{transform:translateY(0)} 50%{transform:translateY(8px)} }

/* SECTIONS */
.products { padding: 6rem 0; }
.contact { padding: 6rem 2rem; max-width: 1200px; margin: 0 auto; border-top: 1px solid var(--border); }
.section-header { text-align: center; margin-bottom: 3.5rem; padding: 0 1rem; }
.section-header h2 { font-size: clamp(1.8rem, 5vw, 3rem); font-weight: 700; letter-spacing: 0.05em; }
.section-header p { color: var(--text-muted); margin-top: 0.75rem; font-size: 1rem; max-width: 500px; margin-left: auto; margin-right: auto; }

/* CAROUSEL */
.carousel-outer { display: flex; align-items: center; position: relative; }

.carousel-btn {
  background: var(--bg3); border: 1px solid var(--border); color: var(--text);
  width: 44px; height: 44px; border-radius: 50%; font-size: 1.1rem;
  cursor: pointer; flex-shrink: 0; z-index: 10;
  transition: background 0.2s, border-color 0.2s;
  display: flex; align-items: center; justify-content: center;
  margin: 0 12px;
}
.carousel-btn:hover { background: var(--red); border-color: var(--red); color: #fff; }
.carousel-btn:disabled { opacity: 0.2; pointer-events: none; }

.carousel-viewport {
  flex: 1;
  overflow-x: scroll;
  overflow-y: visible;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  /* fade edges – desktop only (removed on mobile via media query) */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%);
}
.carousel-viewport::-webkit-scrollbar { display: none; }

.carousel-track {
  display: flex;
  align-items: stretch;
  gap: var(--card-gap);
  padding: 1rem var(--carousel-side-pad, 0px) 1.5rem;
}

/* CARD */
.product-card {
  width: var(--card-width);
  flex-shrink: 0;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  transition: border-color 0.3s, transform 0.4s, box-shadow 0.4s, opacity 0.4s;
  opacity: 0.42;
  transform: scale(0.93);
}
.product-card.active {
  opacity: 1;
  transform: scale(1);
  border-color: #3a3a3a;
  box-shadow: 0 8px 40px rgba(0,0,0,0.55);
  cursor: default;
}
.product-card:not(.active):hover {
  opacity: 0.72;
  border-color: #444;
}

.product-img.placeholder {
  height: 200px; display: flex; align-items: center; justify-content: center;
}
.product-img.rind        { background: linear-gradient(135deg, #3d1f0a, #6b3a1f); }
.product-img.schwein     { background: linear-gradient(135deg, #2d1a2e, #5a3060); }
.product-img.reh         { background: linear-gradient(135deg, #1a2d1a, #3a5c2a); }
.product-img.wildschwein { background: linear-gradient(135deg, #1a1a0d, #3d3d1a); }
.product-img.lamm        { background: linear-gradient(135deg, #2d2010, #6b5030); }
.product-img.pute        { background: linear-gradient(135deg, #1a1520, #3a2d50); }
.product-img.hirsch      { background: linear-gradient(135deg, #0d1a0d, #2a4020); }
.placeholder-icon { font-size: 4.5rem; filter: drop-shadow(0 4px 12px rgba(0,0,0,0.5)); }

.product-info { padding: 1.25rem 1.25rem 0.5rem; flex: 1; }
.product-tag  { font-size: 0.63rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.product-info h3 { font-size: 1.35rem; font-weight: 700; margin-top: 0.25rem; margin-bottom: 0.4rem; }
.product-info p  { font-size: 0.875rem; color: var(--text-muted); line-height: 1.5; }
.product-meta { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.85rem; }
.product-weight    { font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-muted); border: 1px solid var(--border); padding: 0.18rem 0.55rem; border-radius: 4px; }
.product-available { font-size: 0.75rem; color: var(--green); font-weight: 500; }


.product-price {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text);
  margin-top: 0.9rem;
  letter-spacing: 0.02em;
  display: flex;
  align-items: baseline;
  gap: 0.15em;
}
.product-price::after {
  content: '';
  display: block;
  height: 1px;
  background: var(--border);
  margin-top: 0.75rem;
}
.card-btn {
  display: block; margin: 0.75rem 1.25rem 1.25rem; padding: 0.6rem 1rem;
  background: transparent; border: 1px solid var(--border); border-radius: 8px;
  color: var(--text); text-decoration: none; font-size: 0.76rem; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase; text-align: center;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.card-btn:hover { background: var(--red); border-color: var(--red); color: #fff; }

/* DOTS */
.carousel-dots { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 1.5rem; }
.dot { width: 24px; height: 2px; border-radius: 2px; background: #333; cursor: pointer; border: none; padding: 0; transition: background 0.3s, width 0.3s; }
.dot.active { background: #666; width: 40px; }

/* CONTACT */
.contact-form { max-width: 680px; margin: 0 auto; display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label { font-size: 0.78rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-muted); }
.form-group input, .form-group textarea {
  background: var(--bg3); border: 1px solid var(--border); border-radius: 8px;
  color: var(--text); padding: 0.85rem 1rem; font-size: 0.95rem;
  font-family: var(--font); transition: border-color 0.2s; resize: none; outline: none;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--red); }
.form-group input::placeholder, .form-group textarea::placeholder { color: #444; }
.form-check { display: flex; align-items: flex-start; gap: 0.75rem; }
.form-check input[type="checkbox"] { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--red); flex-shrink: 0; cursor: pointer; }
.form-check label { font-size: 0.85rem; color: var(--text-muted); cursor: pointer; }
.submit-btn {
  background: var(--red); color: #fff; border: none; padding: 0.9rem 2.5rem;
  font-size: 0.85rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  border-radius: 8px; cursor: pointer; align-self: flex-start;
  transition: background 0.2s, transform 0.2s;
}
.submit-btn:hover { background: var(--red-light); transform: translateY(-2px); }
.form-success { display: none; color: var(--green); font-size: 0.9rem; }
.form-success.visible { display: block; }

.footer { text-align: center; padding: 2rem; color: var(--text-muted); font-size: 0.8rem; border-top: 1px solid var(--border); }

@media (max-width: 600px) {
  :root { --card-width: min(80vw, 300px); --card-gap: 16px; }
  .carousel-btn { width: 36px; height: 36px; font-size: 1rem; margin: 0 6px; }
  .form-row { grid-template-columns: 1fr; }
  .carousel-viewport {
    -webkit-mask-image: none;
    mask-image: none;
  }
}
