/* =========================================================
   Barbershop Leipzig — Stylesheet
   Dunkel · handwerklich · maskulin. Kupfer-Akzent auf Anthrazit.
   Eigenständiges Projekt, kein Build-Tool nötig.
   (Struktur 1:1 nach Nightfly-Vorbild, eigene Marke/Tokens.)
   ========================================================= */

:root {
  --bg:        #121212;   /* Anthrazit / Dunkel */
  --bg-soft:   #1a1a1a;   /* Karten / Sektionen */
  --bg-soft-2: #242424;   /* Hover / Borders */
  --text:      #f2ede6;   /* warmes Off-White */
  --muted:     #a39d94;   /* gedämpfter Text */
  --accent:      #b5613a; /* Kupfer / Rostrot */
  --accent-soft: #d07d4f; /* helleres Kupfer (Hover) */
  --line:      rgba(181,97,58,0.22);
  --maxw:      1140px;
  --radius:    14px;
  --shadow:    0 20px 60px rgba(0,0,0,0.5);
  --display: "Oswald", "Arial Narrow", Impact, sans-serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.1; letter-spacing: 0.01em; text-transform: uppercase; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 18px;
}

.accent { color: var(--accent); }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}
.btn-accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  color: #1a0f08;
  box-shadow: 0 10px 30px rgba(181,97,58,0.28);
}
.btn-accent:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(181,97,58,0.42); }
.btn-ghost {
  background: rgba(255,255,255,0.04);
  border-color: rgba(242,237,230,0.25);
  color: var(--text);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-soft); transform: translateY(-3px); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px;
  transition: background .35s ease, padding .35s ease, border-color .35s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(18,18,18,0.85);
  backdrop-filter: blur(14px);
  padding: 14px 32px;
  border-bottom: 1px solid var(--line);
}
.nav .brand {
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: flex; align-items: center; gap: 10px;
}
.nav .brand .accent { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--text);
  opacity: 0.85;
  transition: opacity .2s, color .2s;
}
.nav-links a:hover { color: var(--accent-soft); opacity: 1; }
.nav-toggle { display: none; background: none; border: 0; color: var(--text); font-size: 1.6rem; cursor: pointer; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  /* Fallback-Hintergrund, falls (noch) kein Video/Foto vorhanden ist */
  background:
    radial-gradient(ellipse at 50% 0%, rgba(181,97,58,0.12), transparent 55%),
    linear-gradient(135deg, #20160f 0%, #121212 60%);
  background-size: cover;
  background-position: center;
  padding: 120px 24px 80px;
}
/* Endlos-Loop-Video als Hintergrund. Datei: assets/videos/hero.mp4 */
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
/* dunkler, leicht warmer Verlauf ÜBER dem Video/Foto für Lesbarkeit */
.hero::before {
  content: "";
  position: absolute; inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(181,97,58,0.16), transparent 55%),
    linear-gradient(180deg, rgba(18,18,18,0.5) 0%, rgba(18,18,18,0.74) 70%, var(--bg) 100%);
}
.hero-inner { max-width: 840px; position: relative; z-index: 2; }
.hero h1 {
  font-size: clamp(2.8rem, 8vw, 5.6rem);
  line-height: 1.0;
  margin-bottom: 22px;
}
.hero h1 .accent { display: block; }
.hero .lead {
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  color: var(--muted);
  max-width: 580px;
  margin: 0 auto 38px;
}
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-meta {
  margin-top: 46px;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-meta .dot { color: var(--accent); margin: 0 10px; }
.scroll-hint {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
  animation: bob 2.4s ease-in-out infinite;
}
@keyframes bob { 0%,100% { transform: translate(-50%,0); } 50% { transform: translate(-50%,8px); } }

/* ---------- Sections ---------- */
.section { padding: 110px 0; }
.section-head { max-width: 680px; margin: 0 auto 60px; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 18px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.section.alt { background: var(--bg-soft); }

/* ---------- Konzept ---------- */
.konzept-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.konzept-text h2 { font-size: clamp(2rem, 4.5vw, 2.9rem); margin-bottom: 22px; }
.konzept-text p { color: var(--muted); margin-bottom: 18px; }
.konzept-photo {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: linear-gradient(135deg, #241910, #14110d);
  background-size: cover;
  background-position: center;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}

/* ---------- Angebot (Kacheln) ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card {
  background: var(--bg-soft);
  border: 1px solid var(--bg-soft-2);
  border-radius: var(--radius);
  padding: 34px 26px;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.card:hover { transform: translateY(-6px); border-color: var(--accent); box-shadow: var(--shadow); }
.card .icon { font-size: 2rem; margin-bottom: 18px; }
.card h3 { font-size: 1.3rem; margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 0.95rem; }

/* ---------- Galerie ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery .tile {
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, #221910, #14110d);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  transition: transform .3s ease;
}
.gallery .tile:hover { transform: scale(1.02); }
.gallery .tile.tall { grid-row: span 2; aspect-ratio: auto; }

/* ---------- Kontakt / Anfahrt ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: stretch; }
.info-block { display: flex; flex-direction: column; gap: 26px; }
.info-item { display: flex; gap: 16px; align-items: flex-start; }
.info-item .ico { color: var(--accent); font-size: 1.3rem; min-width: 28px; }
.info-item h4 { font-family: var(--sans); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--muted); margin-bottom: 4px; }
.info-item .val { font-size: 1.1rem; }
.info-item a:hover { color: var(--accent-soft); }
.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 340px; }
.map-wrap iframe { width: 100%; height: 100%; min-height: 340px; border: 0; filter: grayscale(0.4) contrast(1.05) brightness(0.85); }
.contact-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }

/* ---------- Footer ---------- */
.footer { background: #0c0c0c; border-top: 1px solid var(--line); padding: 60px 0 34px; }
.footer-grid { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; margin-bottom: 40px; }
.footer .brand { font-family: var(--display); font-size: 1.5rem; font-weight: 700; margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.06em; }
.footer p { color: var(--muted); font-size: 0.92rem; }
.footer .col h5 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--muted); margin-bottom: 14px; }
.footer .col a { display: block; color: var(--text); opacity: 0.85; margin-bottom: 8px; font-size: 0.95rem; }
.footer .col a:hover { color: var(--accent-soft); opacity: 1; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: var(--muted); font-size: 0.82rem; }

/* ---------- Preisliste ---------- */
.menu-hero { padding: 160px 0 60px; text-align: center; }
.menu-hero h1 { font-size: clamp(2.6rem, 7vw, 4.5rem); margin-bottom: 16px; }
.menu-hero p { color: var(--muted); max-width: 560px; margin: 0 auto; }
.menu-note {
  max-width: 720px; margin: 28px auto 0;
  background: rgba(181,97,58,0.10);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 20px;
  color: var(--accent-soft);
  font-size: 0.88rem;
}
.menu-section { padding: 30px 0 50px; }
.menu-cat { margin-bottom: 54px; }
.menu-cat > h2 { font-size: 1.9rem; margin-bottom: 6px; }
.menu-cat > .cat-sub { color: var(--muted); font-size: 0.9rem; margin-bottom: 26px; }
.menu-cat-divider { height: 1px; background: var(--line); margin-bottom: 26px; }
.menu-item { display: flex; align-items: baseline; gap: 14px; padding: 14px 0; border-bottom: 1px dashed rgba(255,255,255,0.07); flex-wrap: wrap; }
.menu-item .mi-name { font-weight: 600; font-size: 1.08rem; white-space: nowrap; }
.menu-item .mi-dots { flex: 1; border-bottom: 1px dotted rgba(255,255,255,0.18); transform: translateY(-4px); }
.menu-item .mi-price { font-family: var(--display); color: var(--accent-soft); font-size: 1.15rem; white-space: nowrap; letter-spacing: 0.02em; }
.menu-item .mi-desc { color: var(--muted); font-size: 0.9rem; flex-basis: 100%; margin-top: 2px; }

/* ---------- Scroll-Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .konzept-grid { grid-template-columns: 1fr; gap: 36px; }
  .konzept-photo { aspect-ratio: 16/10; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .nav { padding: 16px 20px; }
  .nav-links {
    position: fixed; inset: 0 0 0 auto;
    width: min(78vw, 320px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 26px;
    padding: 40px;
    background: rgba(18,18,18,0.98);
    backdrop-filter: blur(16px);
    border-left: 1px solid var(--line);
    transform: translateX(100%);
    transition: transform .35s ease;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 1.15rem; }
  .nav-toggle { display: block; z-index: 110; }
  .cards { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .section { padding: 80px 0; }
  .menu-item .mi-name { white-space: normal; }
}

/* ============ ZUSÄTZLICHE PREMIUM-KOMPONENTEN ============ */

/* Nav-Link Unterstrich-Animation */
.nav-links a:not(.btn) { position: relative; }
.nav-links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  width: 0; height: 1px; background: var(--accent);
  transition: width .3s ease;
}
.nav-links a:not(.btn):hover::after { width: 100%; }

/* Logo-Bild in Nav/Footer */
.brand-logo { height: 34px; width: auto; border-radius: 6px; vertical-align: middle; }

/* ---------- Laufschrift-Band ---------- */
.marquee {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 18px 0;
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex;
  gap: 40px;
  animation: marquee 28s linear infinite;
  will-change: transform;
}
.marquee-track span {
  font-family: var(--display);
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
  opacity: 0.85;
}
.marquee-track span .dot { color: var(--accent); margin: 0 6px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Bild-Text-Reihen (Story) ---------- */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 90px;
}
.feature-row:last-child { margin-bottom: 0; }
.feature-row.reverse .feature-text { order: 2; }
.feature-img {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background-size: cover;
  background-position: center;
  background-color: #1c140d;
  box-shadow: var(--shadow);
  transition: transform .5s ease;
}
.feature-img:hover { transform: scale(1.015); }
.feature-text h3 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin-bottom: 16px; }
.feature-text p { color: var(--muted); margin-bottom: 16px; }

/* ---------- Galerie mit echten Fotos ---------- */
.gallery .tile {
  background-size: cover;
  background-position: center;
}
.gallery .tile::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,0.45));
  opacity: 0; transition: opacity .3s ease;
}
.gallery .tile:hover::after { opacity: 1; }
.gallery .tile:hover { transform: scale(1.03); }

/* ---------- Walk-in / CTA-Band ---------- */
.reserve-band {
  position: relative;
  text-align: center;
  padding: 130px 24px;
  background-size: cover;
  background-position: center;
  background-color: #1c140d;
  overflow: hidden;
}
.reserve-band::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(18,18,18,0.8), rgba(18,18,18,0.9));
}
.reserve-band .inner { position: relative; z-index: 2; max-width: 640px; margin: 0 auto; }
.reserve-band h2 { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 18px; }
.reserve-band p { color: var(--muted); margin-bottom: 32px; font-size: 1.1rem; }

/* ---------- Walk-in Badge ---------- */
.walkin-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(181,97,58,0.12);
  border: 1px solid var(--line);
  color: var(--accent-soft);
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 24px;
}

@media (max-width: 900px) {
  .feature-row { grid-template-columns: 1fr; gap: 28px; margin-bottom: 64px; }
  .feature-row.reverse .feature-text { order: 0; }
  .feature-img { aspect-ratio: 16/10; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none !important; }
  .hero-video { display: none; }
}
