/* ==========================================================================
   ZAQI – Snackautomaten in Baden-Württemberg
   Aesthetic: Industrial Nightshift – Kiosk-Signage trifft Stationsanzeige
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. FONT FACE
   Lokale Webfonts, kein CDN.
   Montserrat (700/800/900) für Headlines und Akzente.
   Inter (400/500/600/700) für alles Lesbare und Funktionale.
   -------------------------------------------------------------------------- */
@font-face {
  font-family: 'Montserrat';
  src: url('../assets/fonts/montserrat-v31-latin-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('../assets/fonts/montserrat-v31-latin-800.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('../assets/fonts/montserrat-v31-latin-900.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/inter-v20-latin-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/inter-v20-latin-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/inter-v20-latin-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/inter-v20-latin-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* --------------------------------------------------------------------------
   2. CUSTOM PROPERTIES
   -------------------------------------------------------------------------- */
:root {
  --bg-base:       #0D0D0D;
  --bg-surface:    #1A1A1A;
  --bg-card:       #1F1F1F;
  --bg-card-hover: #242424;
  --border:        #2A2A2A;
  --border-bright: #3A3A3A;
  --text-primary:  #F0F0F0;
  --text-secondary:#C8C8C8;
  --text-muted:    #888888;
  --text-faint:    #555555;
  --accent:        #FF8000;
  --accent-hi:     #FFA040;
  --accent-dim:    rgba(255, 128, 0, 0.15);
  --accent-glow:   rgba(255, 128, 0, 0.35);
  --warn:          #FFD23F;

  --ff-display: 'Montserrat', 'Arial Narrow', sans-serif;
  --ff-body:    'Inter', system-ui, -apple-system, sans-serif;

  --container:  1240px;
  --gutter:     clamp(1.25rem, 4vw, 2.5rem);

  --radius-sm: 4px;
  --radius:    8px;
  --radius-lg: 14px;

  --shadow-card: 0 1px 0 rgba(255, 255, 255, 0.04) inset,
                 0 0 0 1px var(--border) inset,
                 0 12px 28px -16px rgba(0, 0, 0, 0.7);
  --shadow-card-hover: 0 1px 0 rgba(255, 255, 255, 0.06) inset,
                      0 0 0 1px var(--border-bright) inset,
                      0 16px 40px -14px rgba(0, 0, 0, 0.85),
                      0 0 60px -20px var(--accent-glow);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in:  cubic-bezier(0.55, 0, 1, 0.45);

  --nav-h: 96px;
}

/* --------------------------------------------------------------------------
   3. RESET / BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--ff-body);
  font-weight: 400;
  font-size: clamp(16px, 1vw + 14px, 18px);
  line-height: 1.5;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; padding: 0; margin: 0; }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Body-Hintergrund: Vignette + Pin-Stripes für Tiefe (kein flacher Look) */
body::before {
  content: "";
  position: fixed; inset: 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255, 128, 0, 0.06), transparent 60%),
    radial-gradient(ellipse at 100% 100%, rgba(255, 128, 0, 0.04), transparent 50%),
    repeating-linear-gradient(
      135deg,
      transparent 0 22px,
      rgba(255, 255, 255, 0.012) 22px 23px
    );
  pointer-events: none;
  z-index: 0;
}

/* --------------------------------------------------------------------------
   4. TYPOGRAPHY
   -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: "";
  width: 28px; height: 2px;
  background: var(--accent);
}

h1, h2, h3, h4 {
  font-family: var(--ff-display);
  font-weight: 900;
  letter-spacing: -0.005em;
  line-height: 0.92;
  text-transform: uppercase;
  margin: 0;
}

.h-display {
  font-size: clamp(3.5rem, 11vw, 9.5rem);
  font-weight: 900;
  line-height: 0.86;
  letter-spacing: -0.015em;
}
.h-section {
  font-size: clamp(2.25rem, 5.5vw, 4.5rem);
  letter-spacing: -0.005em;
}
.h-card {
  font-size: clamp(1.15rem, 1.4vw + 0.5rem, 1.75rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.005em;
}

.lede {
  font-size: clamp(1.05rem, 0.5vw + 1rem, 1.35rem);
  line-height: 1.45;
  color: var(--text-secondary);
  font-weight: 500;
  max-width: 60ch;
  letter-spacing: 0.005em;
}

.mono { font-family: var(--ff-body); letter-spacing: 0.02em; }
.muted { color: var(--text-muted); }
.accent { color: var(--accent); }

/* --------------------------------------------------------------------------
   5. LAYOUT
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
  position: relative;
  z-index: 1;
}

section {
  position: relative;
  padding-block: clamp(4rem, 9vw, 8rem);
  z-index: 1;
  scroll-margin-top: var(--nav-h);
}
section + section { border-top: 1px solid var(--border); }

.section-head {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-head .index {
  font-family: var(--ff-body);
  color: var(--text-faint);
  font-size: 0.85rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
}
.section-head h2 + .lede { margin-top: 0.75rem; }

/* --------------------------------------------------------------------------
   6. NAVIGATION (smart-hide)
   -------------------------------------------------------------------------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(13, 13, 13, 0.78);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  transform: translateY(0);
  transition: transform 360ms var(--ease-out), background-color 240ms ease;
}
.nav[data-hidden="true"] { transform: translateY(-100%); }
.nav[data-scrolled="true"] { background: rgba(13, 13, 13, 0.94); }

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  height: 100%;
}
.nav-brand img,
.nav-brand svg { height: 70px; width: auto; display: block; }
@media (max-width: 540px) {
  .nav-brand img,
  .nav-brand svg { height: 56px; }
}
.nav-brand .brand-tag {
  display: none;
  font-family: var(--ff-body);
  font-size: 0.65rem;
  letter-spacing: 0.32em;
  color: var(--text-muted);
  text-transform: uppercase;
  padding-left: 0.85rem;
  border-left: 1px solid var(--border);
  height: 22px;
  align-items: center;
}
@media (min-width: 720px) { .nav-brand .brand-tag { display: inline-flex; } }

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
}
.nav-links a {
  font-size: 0.86rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-secondary);
  position: relative;
  padding-block: 6px;
  transition: color 180ms ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--accent);
  transition: right 240ms var(--ease-out);
}
.nav-links a:hover,
.nav-links a:focus-visible { color: var(--text-primary); }
.nav-links a:hover::after,
.nav-links a:focus-visible::after { right: 0; }

.nav-mobile-cta {
  display: none;
}

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.nav-toggle .bars,
.nav-toggle .bars::before,
.nav-toggle .bars::after {
  display: block;
  width: 20px; height: 2px;
  background: var(--text-primary);
  position: relative;
  transition: transform 240ms var(--ease-out), opacity 200ms ease;
}
.nav-toggle .bars::before,
.nav-toggle .bars::after {
  content: "";
  position: absolute; left: 0;
}
.nav-toggle .bars::before { top: -6px; }
.nav-toggle .bars::after { top: 6px; }

.nav[data-menu="open"] .nav-toggle .bars { background: transparent; }
.nav[data-menu="open"] .nav-toggle .bars::before { transform: translateY(6px) rotate(45deg); }
.nav[data-menu="open"] .nav-toggle .bars::after  { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 819px) {
  .nav-toggle { display: none; }
  .nav-links { display: none; }
  .nav-mobile-cta {
    display: inline-flex;
    align-items: center;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
    padding: 0.45rem 0.7rem;
    border: 1px solid rgba(255, 128, 0, 0.35);
    border-radius: var(--radius-sm);
    transition: background 200ms ease;
    white-space: nowrap;
  }
  .nav-mobile-cta:hover { background: var(--accent-dim); }
}

/* --------------------------------------------------------------------------
   7. HERO
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: clamp(640px, 95svh, 920px);
  padding-top: calc(var(--nav-h) + clamp(2rem, 6vw, 5rem));
  padding-bottom: clamp(3rem, 6vw, 5rem);
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

/* Hintergrundtiefe: radialer Glow + Grid + Noise */
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 80% at 80% 20%, rgba(255, 128, 0, 0.18), transparent 60%),
    radial-gradient(40% 60% at 10% 90%, rgba(255, 128, 0, 0.08), transparent 60%),
    linear-gradient(180deg, transparent 0%, rgba(13, 13, 13, 0.4) 50%, var(--bg-base) 100%);
  z-index: -2;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  /* SVG fractal-noise als Datenuri – kein externer Asset, kein Tracker */
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.9'/></svg>");
  opacity: 0.06;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: -1;
}
/* Grid-Linien-Layer */
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at 50% 40%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, black 30%, transparent 75%);
  z-index: -1;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 3rem);
  align-items: center;
  width: 100%;
}
@media (min-width: 980px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 5rem;
  }
}

.hero h1 {
  font-size: clamp(3.3rem, 11vw, 9.5rem);
  font-weight: 900;
  line-height: 0.84;
  letter-spacing: -0.018em;
  text-transform: uppercase;
}
@media (max-width: 819px) {
  .hero h1 { line-height: 0.96; }
}
.hero h1 .line { display: block; }
.hero h1 .line-3 { color: var(--accent); }
.hero h1 .dot { color: var(--accent); }

.hero-sub {
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
  font-size: clamp(1.1rem, 0.6vw + 1rem, 1.4rem);
  line-height: 1.45;
  color: var(--text-secondary);
  max-width: 36ch;
  font-weight: 500;
  letter-spacing: 0.005em;
}

.hero-cta {
  margin-top: clamp(2rem, 4vw, 3rem);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.95rem 1.5rem;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: transform 220ms var(--ease-out),
              background-color 200ms ease,
              color 200ms ease,
              box-shadow 220ms ease;
  cursor: pointer;
}
.btn-primary {
  background: var(--accent);
  color: #0A0A0A;
  box-shadow: 0 8px 24px -10px var(--accent-glow);
}
.btn-primary:hover {
  background: var(--accent-hi);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px -10px var(--accent-glow);
}
.btn-ghost {
  border: 1px solid var(--border-bright);
  color: var(--text-primary);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}
.btn .arrow {
  width: 14px; height: 14px;
  transition: transform 220ms var(--ease-out);
}
.btn:hover .arrow { transform: translateX(4px); }

/* Hero side: stat plate */
.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-card);
}
.hero-stats::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255, 128, 0, 0.08), transparent 60%);
  pointer-events: none;
}
.hero-stats .cell {
  background: var(--bg-card);
  padding: clamp(1.25rem, 2vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  position: relative;
}
.hero-stats .cell .num {
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  font-weight: 900;
  line-height: 0.9;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}
.hero-stats .cell .num.accent { color: var(--accent); }
.hero-stats .cell .label {
  font-family: var(--ff-body);
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.5rem;
}
.hero-stats .cell .sub {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.scroll-cue {
  position: absolute;
  left: 50%; bottom: 1.5rem;
  transform: translateX(-50%);
  display: none;
}
@media (min-width: 820px) {
.scroll-cue {
  display: flex; flex-direction: column; align-items: center; gap: 0.8rem;
  font-family: var(--ff-body);
  font-size: 0.68rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--text-muted);
  z-index: 2;
}
.scroll-cue .line {
  width: 1px; height: 56px;
  background: linear-gradient(to bottom, transparent, var(--accent));
  position: relative;
  overflow: hidden;
}
.scroll-cue .line::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: -50%;
  height: 50%;
  background: linear-gradient(to bottom, transparent, var(--text-primary));
  animation: scrollLine 2.4s var(--ease-out) infinite;
}
}

/* --------------------------------------------------------------------------
   8. STANDORTE
   -------------------------------------------------------------------------- */
.locations {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
  overflow: hidden;
}
@media (min-width: 720px) {
  .locations { gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); }
}

.loc {
  position: relative;
  display: block;
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 320ms var(--ease-out), box-shadow 320ms ease;
  isolation: isolate;
  color: inherit;
  text-decoration: none;
}
.loc::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 360ms var(--ease-out);
  z-index: 2;
}
.loc:hover {
  transform: translateY(-4px) scale(1.012);
  box-shadow: var(--shadow-card-hover);
}
.loc:hover::before { transform: scaleY(1); }

.loc-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--bg-surface);
  overflow: hidden;
}
.loc-media img,
.loc-media svg {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease-out), filter 320ms ease;
}
.loc:hover .loc-media img { transform: scale(1.05); }

.loc-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13,13,13,0.85) 0%, transparent 55%);
}

.loc-index {
  position: absolute;
  top: 1rem; left: 1rem;
  font-family: var(--ff-body);
  font-size: 0.7rem;
  letter-spacing: 0.32em;
  color: var(--text-primary);
  background: rgba(13,13,13,0.78);
  border: 1px solid var(--border-bright);
  padding: 0.4rem 0.7rem;
  border-radius: var(--radius-sm);
  z-index: 2;
  backdrop-filter: blur(6px);
}

.loc-pin {
  position: absolute;
  top: 1rem; right: 1rem;
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent);
  color: #0A0A0A;
  border-radius: 50%;
  z-index: 2;
  box-shadow: 0 4px 14px -4px var(--accent-glow);
}
.loc-pin svg { width: 14px; height: 14px; display: block; }

.loc-body {
  padding: 1.25rem 1.4rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: relative;
  z-index: 1;
}
.loc-body h3 {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 0.005em;
  line-height: 1.1;
  text-transform: uppercase;
  overflow-wrap: break-word;
}
.loc-body .addr {
  color: var(--text-muted);
  font-size: 0.95rem;
  letter-spacing: 0.005em;
}
.loc-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.5rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border);
}
.loc-body .meta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--ff-body);
  font-size: 0.7rem;
  letter-spacing: 0.26em;
  color: var(--accent);
  text-transform: uppercase;
}
.loc-body .meta .ico {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
}
.loc-route {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--ff-body);
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 220ms ease, transform 220ms var(--ease-out);
}
.loc-route svg {
  width: 12px; height: 12px;
  transition: transform 240ms var(--ease-out);
}
.loc:hover .loc-route { color: var(--accent); }
.loc:hover .loc-route svg { transform: translate(2px, -2px); }

/* Soon-Kachel */
.loc.is-soon { opacity: 0.55; filter: saturate(0.7); }
.loc.is-soon::before { background: var(--text-faint); }
.loc.is-soon .loc-pin {
  background: var(--bg-surface);
  color: var(--text-muted);
  border: 1px solid var(--border-bright);
  box-shadow: none;
}
.loc.is-soon:hover { transform: translateY(-2px); opacity: 0.7; }
.loc.is-soon .loc-body .meta { color: var(--text-muted); }
.loc.is-soon .loc-body .meta .ico { background: var(--text-muted); box-shadow: none; }

/* Standort-Placeholder, wenn kein Bild da ist */
.loc-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(circle at 50% 40%, rgba(255, 128, 0, 0.1), transparent 55%),
    repeating-linear-gradient(45deg, transparent 0 18px, rgba(255,255,255,0.025) 18px 19px),
    var(--bg-surface);
  font-family: var(--ff-display);
  font-weight: 900;
  font-size: clamp(3rem, 7vw, 5rem);
  letter-spacing: 0.02em;
  color: var(--accent);
  text-shadow: 0 4px 24px var(--accent-glow);
}

/* --------------------------------------------------------------------------
   9. PRODUKTE
   -------------------------------------------------------------------------- */
.products-section + .products-section { margin-top: clamp(3rem, 5vw, 5rem); }
.products-section .section-head {
  display: flex; flex-direction: row; align-items: flex-end;
  justify-content: space-between; gap: 1.5rem;
  flex-wrap: wrap;
}
.products-section .section-head h2 {
  font-size: clamp(1.85rem, 4vw, 3.25rem);
  letter-spacing: 0.005em;
}
.products-section .count {
  font-family: var(--ff-body);
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  overflow: hidden;
}
@media (min-width: 540px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
}
@media (min-width: 820px) {
  .product-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1080px) {
  .product-grid { grid-template-columns: repeat(5, 1fr); }
}

.product-grid.is-compact {
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 540px) { .product-grid.is-compact { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 820px) { .product-grid.is-compact { grid-template-columns: repeat(5, 1fr); } }
@media (min-width: 1080px) { .product-grid.is-compact { grid-template-columns: repeat(6, 1fr); } }

.prod {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 1rem 1rem 1.1rem;
  box-shadow: var(--shadow-card);
  transition: transform 280ms var(--ease-out), box-shadow 280ms ease;
  isolation: isolate;
  overflow: hidden;
}
.prod::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(255,128,0,0.06) 100%);
  opacity: 0;
  transition: opacity 280ms ease;
  z-index: -1;
}
.prod:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}
.prod:hover::before { opacity: 1; }

.prod-image {
  aspect-ratio: 1 / 1;
  background:
    radial-gradient(circle at 50% 60%, rgba(255,128,0,0.07), transparent 55%),
    var(--bg-surface);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  margin-bottom: 0.85rem;
  position: relative;
}
.prod-image img,
.prod-image svg {
  max-width: 78%;
  max-height: 78%;
  width: auto; height: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,0.55));
  transition: transform 360ms var(--ease-out);
}
.prod:hover .prod-image img,
.prod:hover .prod-image svg { transform: scale(1.05) rotate(-1deg); }

.prod-name {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.15;
  text-transform: none;
  letter-spacing: 0.005em;
  color: var(--text-primary);
}
.prod-meta {
  margin-top: 0.3rem;
  font-family: var(--ff-body);
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* Compact-Variante (Elfbar / Weitere) */
.product-grid.is-compact .prod { padding: 0.85rem 0.85rem 0.95rem; }
.product-grid.is-compact .prod-image { margin-bottom: 0.6rem; }
.product-grid.is-compact .prod-name { font-size: 0.85rem; }

/* Fallback-Tile, wenn Produktbild fehlt */
.prod-fallback {
  width: 80%; height: 80%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  font-family: var(--ff-display);
  font-weight: 900;
  font-size: 0.95rem;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px dashed rgba(255, 128, 0, 0.4);
  border-radius: var(--radius-sm);
  padding: 0.6rem;
}
.prod-fallback span { display: block; line-height: 1.05; letter-spacing: 0.02em; }
.prod-fallback small {
  display: block; margin-top: 0.4rem;
  font-family: var(--ff-body); font-size: 0.6rem; letter-spacing: 0.3em;
  color: var(--text-faint); font-weight: 500;
}

/* Elfbar-Sektion */
.elfbar-section .section-head {
  align-items: flex-start;
  flex-direction: column;
}
.age-warn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 1rem;
  padding: 0.7rem 1rem;
  background: rgba(255, 210, 63, 0.08);
  border: 1px solid rgba(255, 210, 63, 0.3);
  border-radius: var(--radius-sm);
  font-family: var(--ff-body);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--warn);
}
.age-warn .badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  background: var(--warn);
  color: #1A1A0A;
  font-family: var(--ff-display);
  font-size: 0.85rem;
  font-weight: 900;
  border-radius: 50%;
}
.prod.is-restricted .badge-18 {
  position: absolute;
  top: 0.6rem; right: 0.6rem;
  width: 28px; height: 28px;
  background: var(--warn);
  color: #1A1A0A;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-display);
  font-size: 0.78rem;
  font-weight: 900;
  border-radius: 50%;
  z-index: 2;
  box-shadow: 0 0 0 2px var(--bg-card);
}

/* --------------------------------------------------------------------------
   10. ACCORDION (Weitere Artikel)
   -------------------------------------------------------------------------- */
.acc {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.acc-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.25rem 1.5rem;
  font-family: var(--ff-display);
  font-weight: 900;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.015em;
  color: var(--text-primary);
  text-align: left;
  transition: background-color 200ms ease;
}
.acc-toggle:hover { background: var(--bg-card-hover); }
.acc-toggle .ind {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  border: 1px solid var(--border-bright);
  border-radius: 50%;
  transition: transform 320ms var(--ease-out), border-color 240ms ease;
  color: var(--accent);
}
.acc-toggle .ind svg { width: 14px; height: 14px; transition: transform 320ms var(--ease-out); }
.acc[data-open="true"] .acc-toggle .ind { border-color: var(--accent); }
.acc[data-open="true"] .acc-toggle .ind svg { transform: rotate(45deg); }

.acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 480ms var(--ease-out);
}
.acc[data-open="true"] .acc-body { max-height: 1400px; }
.acc-body-inner {
  padding: 0.5rem 1.5rem 1.5rem;
  border-top: 1px solid var(--border);
}

/* --------------------------------------------------------------------------
   11. ÜBER UNS / KONTAKT / FOOTER-SEKTIONEN
   -------------------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}
@media (min-width: 980px) {
  .about-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
}
.about-text p {
  font-size: clamp(1.05rem, 0.5vw + 1rem, 1.25rem);
  line-height: 1.55;
  color: var(--text-secondary);
  font-weight: 500;
  margin-block: 0 1rem;
  max-width: 56ch;
}
.about-aside {
  border: 1px solid var(--border);
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 1.5rem 1.6rem;
  box-shadow: var(--shadow-card);
}
.about-aside dt {
  font-family: var(--ff-body);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}
.about-aside dd {
  margin: 0 0 1rem 0;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.005em;
}
.about-aside dd:last-child { margin-bottom: 0; }

.contact {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
}
.contact-card {
  width: 100%;
  max-width: 520px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: var(--shadow-card);
}
.contact-card .label {
  font-family: var(--ff-body);
  font-size: 0.7rem;
  letter-spacing: 0.32em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.contact-card .mail {
  font-size: clamp(1.4rem, 3vw, 2.25rem);
  font-weight: 900;
  letter-spacing: -0.005em;
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  word-break: break-all;
  transition: color 200ms ease;
}
.contact-card .mail:hover { color: var(--accent); }
.contact-card .mail .arrow { width: 22px; height: 22px; transition: transform 220ms var(--ease-out); }
.contact-card .mail:hover .arrow { transform: translate(3px, -3px); }

.legal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
}
@media (min-width: 820px) {
  .legal-grid { grid-template-columns: 1fr 1fr; }
}
.legal h3 {
  font-size: 1.5rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin-bottom: 1rem;
}
.legal h4 {
  font-size: 0.88rem;
  font-family: var(--ff-body);
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 1.5rem 0 0.5rem;
}
.legal p, .legal address, .legal li {
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--text-secondary);
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.005em;
}
.legal address { margin-bottom: 1rem; }
.legal ul { padding-left: 1.1rem; list-style: square; }
.legal ul li::marker { color: var(--accent); }
.legal a { color: var(--accent); }
.legal a:hover { text-decoration: underline; }

/* Footer */
.foot {
  border-top: 1px solid var(--border);
  padding-block: 2.5rem;
  position: relative;
  z-index: 1;
}
.foot-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-family: var(--ff-body);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.foot-inner .links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.foot-inner a:hover { color: var(--accent); }

/* --------------------------------------------------------------------------
   12. ANIMATIONS & REVEAL
   -------------------------------------------------------------------------- */
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(0.7); opacity: 0.6; }
}
@keyframes scrollLine {
  0%   { transform: translateY(0%); }
  100% { transform: translateY(220%); }
}
@keyframes heroIn {
  0%   { opacity: 0; transform: translateY(28px); }
  100% { opacity: 1; transform: translateY(0); }
}

.hero h1 .line,
.hero-sub,
.hero-cta,
.hero-stats,
.scroll-cue {
  opacity: 0;
  transform: translateY(28px);
  animation: heroIn 800ms var(--ease-out) forwards;
}
.hero h1 .line-1      { animation-delay: 0.10s; }
.hero h1 .line-2      { animation-delay: 0.22s; }
.hero h1 .line-3      { animation-delay: 0.34s; }
.hero-sub             { animation-delay: 0.48s; }
.hero-cta             { animation-delay: 0.62s; }
.hero-stats           { animation-delay: 0.74s; }
.scroll-cue           { animation-delay: 0.92s; }

/* Scroll-Reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: translateY(0); }
.reveal[data-stagger] {
  transform: translateY(14px);
  transition-delay: calc(var(--i, 0) * 60ms);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .scroll-cue .line::after { display: none; }
}

/* --------------------------------------------------------------------------
   13. UTILITIES
   -------------------------------------------------------------------------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #0A0A0A;
  padding: 0.7rem 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  border-radius: 0 0 var(--radius-sm) 0;
  z-index: 200;
}
.skip-link:focus { left: 0; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
