/* Barbershop Amadeus – Farben aus Logo & Laden (Anthrazit, Creme, Barber-Rot, Holz/Messing) */
:root {
  --bg: #141414;
  --bg-alt: #1c1a17;
  --card: #24211d;
  --cream: #f4efe6;
  --muted: #b9b1a4;
  --red: #c8102e;
  --blue: #1f3a8a;
  --brass: #b8874b;
  --green: #4caf6a;
  --line: rgba(244, 239, 230, .14);
  --display: "Rye", Georgia, serif;
  --cond: "Oswald", "Arial Narrow", sans-serif;
  --body: "Barlow", system-ui, sans-serif;
  --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font: 400 18px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.12; font-weight: 400; }
h2 { font-family: var(--display); font-size: clamp(2rem, 5vw, 3.1rem); letter-spacing: .02em; }
h3 { font-family: var(--cond); font-size: 1.35rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 500; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.center { text-align: center; margin-top: 2.5rem; }

.eyebrow {
  display: inline-block;
  font: 500 .85rem var(--cond);
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: .6rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: .9em 1.7em;
  background: var(--red);
  color: #fff;
  font: 500 1rem var(--cond);
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid var(--red);
  border-radius: 2px;
  cursor: pointer;
  transition: background .2s, color .2s, transform .2s, border-color .2s;
}
.btn:hover { background: #a50d26; border-color: #a50d26; transform: translateY(-1px); }
.btn--ghost { background: transparent; border-color: var(--cream); color: var(--cream); }
.btn--ghost:hover { background: var(--cream); color: var(--bg); border-color: var(--cream); }
.btn--small { padding: .6em 1.15em; font-size: .9rem; }

/* Navigation: transparent über dem Bild, beim Scrollen dunkel */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: linear-gradient(rgba(10,10,10,.6), rgba(10,10,10,0));
  transition: background .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav.is-solid { background: rgba(20, 20, 20, .94); backdrop-filter: blur(8px); border-bottom-color: var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.nav__logo img { height: 46px; width: auto; }
.nav__menu { display: flex; align-items: center; gap: 1.8rem; }
.nav__menu a:not(.btn) {
  font: 500 .95rem var(--cond); letter-spacing: .15em; text-transform: uppercase;
  text-decoration: none; color: var(--cream); opacity: .8; transition: opacity .2s;
}
.nav__menu a:not(.btn):hover { opacity: 1; }
.nav__toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav__toggle span { display: block; width: 26px; height: 2px; background: var(--cream); margin: 6px 0; }

/* Hero mit Foto */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; padding: 120px 0 90px; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; z-index: -2; animation: heroZoom 14s ease-out both; }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(14,13,12,.92) 0%, rgba(14,13,12,.72) 45%, rgba(14,13,12,.35) 100%),
    linear-gradient(0deg, rgba(20,20,20,1) 0%, rgba(20,20,20,0) 30%);
}
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero__inner { max-width: var(--wrap); }
.hero__title { font-family: var(--display); font-size: clamp(2.8rem, 8vw, 5.6rem); letter-spacing: .01em; margin-bottom: .35em; text-shadow: 0 4px 30px rgba(0,0,0,.5); }
.hero__lead { font-size: clamp(1.05rem, 2.2vw, 1.3rem); color: #e2dbcf; max-width: 34ch; margin: 0 0 2rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero__facts { list-style: none; padding: 0; margin: 3rem 0 0; display: flex; flex-wrap: wrap; gap: 1rem 2.6rem; }
.hero__facts li { font: 400 .95rem var(--cond); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); display: flex; flex-direction: column; }
.hero__facts strong { font: 500 1.6rem var(--cond); letter-spacing: .04em; color: var(--cream); text-transform: none; }
.hero__scroll { position: absolute; left: 50%; bottom: 28px; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(244,239,230,.5); border-radius: 14px; }
.hero__scroll::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--cream); animation: scrollDot 1.8s ease-in-out infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* Geöffnet-Anzeige */
.status { display: inline-flex; align-items: center; gap: .6em; padding: .45em 1em; margin-bottom: 1.4rem; border: 1px solid var(--line); border-radius: 40px; background: rgba(20,20,20,.55); backdrop-filter: blur(6px); font: 500 .85rem var(--cond); letter-spacing: .14em; text-transform: uppercase; }
.status__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red); }
.status.is-open .status__dot { background: var(--green); box-shadow: 0 0 0 0 rgba(76,175,106,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(76,175,106,0); } 100% { box-shadow: 0 0 0 0 rgba(76,175,106,0); } }

/* Barber-Pole-Trenner */
.pole { height: 10px; background: repeating-linear-gradient(-45deg, var(--red) 0 14px, var(--cream) 14px 28px, var(--blue) 28px 42px, var(--cream) 42px 56px); opacity: .9; }
/* läuft ganz langsam nach links; eine Musterbreite = 56px / cos 45° */
.pole { animation: poleMove 8s linear infinite; }
@keyframes poleMove { from { background-position: 0 0; } to { background-position: -79.196px 0; } }

/* Sections */
.section { padding: clamp(4rem, 9vw, 6.5rem) 0; }
.section--alt { background: var(--bg-alt); }
.section__head { text-align: center; margin-bottom: 3rem; }
.section__lead { color: var(--muted); margin: 0; }

/* Leistungen */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.service { position: relative; overflow: hidden; aspect-ratio: 3 / 4; background: var(--card); }
.service img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.service::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(14,13,12,.95) 0%, rgba(14,13,12,.2) 60%, rgba(14,13,12,0) 100%); }
.service:hover img { transform: scale(1.06); }
.service__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 1.6rem; }
.service__body h3 { margin-bottom: .3em; }
.service__body p { margin: 0 0 .8rem; color: #d9d2c6; font-size: 1rem; }
.service__price { font: 600 1.1rem var(--cond); letter-spacing: .06em; color: var(--brass); }

/* Preisliste */
.prices { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 3.5rem; }
.prices__group h3 { color: var(--brass); border-bottom: 1px solid var(--line); padding-bottom: .6rem; margin-bottom: 1rem; }
.pricelist { list-style: none; margin: 0; padding: 0; }
.pricelist li { display: flex; align-items: baseline; gap: .6rem; padding: .55rem 0; font: 400 1.2rem var(--cond); letter-spacing: .03em; }
.pricelist__dots { flex: 1; border-bottom: 2px dotted rgba(244, 239, 230, .3); transform: translateY(-.3em); }
.pricelist__price { font-weight: 600; min-width: 3.2ch; text-align: right; font-variant-numeric: tabular-nums; }
.pricelist__price::after { content: " €"; font-weight: 400; color: var(--muted); font-size: .85em; }
.prices__special { grid-column: 1 / -1; position: relative; overflow: hidden; margin-top: 1rem; min-height: 320px; display: flex; align-items: center; background: var(--card); border: 1px solid rgba(184, 135, 75, .45); }
.prices__special img { position: absolute; right: 0; top: 0; width: 55%; height: 100%; object-fit: cover; object-position: center 30%; }
.prices__special::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--card) 45%, rgba(36,33,29,.55) 70%, rgba(36,33,29,.2) 100%); }
.prices__special-body { position: relative; z-index: 2; padding: 2.6rem; max-width: 520px; }
.prices__special h3 { font-family: var(--display); text-transform: none; letter-spacing: .02em; font-size: clamp(1.6rem, 4vw, 2.3rem); }
.prices__special p { color: var(--muted); margin: 0 0 1rem; }
.prices__special-price { font: 600 2.8rem var(--cond); margin-bottom: 1.2rem; }
.prices__special-price::after { content: " €"; font-weight: 400; font-size: .55em; color: var(--muted); }

/* Über uns */
.about { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3.5rem; align-items: center; }
.about__img { position: relative; }
.about__img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 35%; }
.about__img { isolation: isolate; }
.about__img::after { content: ""; position: absolute; inset: -12px; border: 1px solid rgba(184,135,75,.55); z-index: -1; pointer-events: none; }
.about__text p { color: var(--muted); }
.about__points { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: .6rem 1rem; }
.about__points li { font: 500 1rem var(--cond); letter-spacing: .08em; text-transform: uppercase; }
.about__points li::before { content: "✂"; color: var(--red); margin-right: .55em; }

/* Galerie (Masonry) */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 220px; grid-auto-flow: dense; gap: 12px; }
.gallery__item { margin: 0; overflow: hidden; background: var(--card); }
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; grid-row: span 2; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, filter .4s; filter: saturate(.9); }
.gallery__item:hover img { transform: scale(1.05); filter: saturate(1.05); }

/* Kontakt */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: stretch; }
.hours { width: 100%; border-collapse: collapse; font: 400 1.15rem var(--cond); letter-spacing: .04em; margin: 1rem 0 2rem; }
.hours th, .hours td { padding: .8rem 0; border-bottom: 1px solid var(--line); }
.hours th { text-align: left; font-weight: 400; color: var(--muted); }
.hours td { text-align: right; font-weight: 500; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--cream); }
.hours tr.is-today th::after { content: "heute"; margin-left: .8em; padding: .1em .55em; font-size: .7em; letter-spacing: .12em; text-transform: uppercase; background: var(--red); color: #fff; vertical-align: middle; }
.contact__card { background: var(--card); padding: 2rem; border-top: 4px solid var(--red); }
.contact__addr { font: 400 1.25rem/1.5 var(--cond); letter-spacing: .04em; margin-top: 0; }
.contact__card a:not(.btn) { color: var(--cream); text-decoration: none; border-bottom: 1px solid var(--line); }
.contact__card a:not(.btn):hover { border-color: var(--brass); }
.contact__btns { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.5rem 0; }
.socials { display: flex; gap: .8rem; }
.socials a { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line) !important; border-radius: 50%; transition: background .2s; }
.socials a:hover { background: var(--red); }
.socials svg { width: 20px; height: 20px; fill: var(--cream); }
.socials--big { justify-content: center; gap: 1.2rem; margin-top: 1.4rem; }
.socials--big a { width: 60px; height: 60px; }
.socials--big svg { width: 26px; height: 26px; }
.map { min-height: 420px; background: var(--card) url("assets/img/ladenfront-nacht.webp") center / cover; position: relative; overflow: hidden; }
.map::before { content: ""; position: absolute; inset: 0; background: rgba(20,20,20,.82); }
.map__consent { position: relative; height: 100%; min-height: 420px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 2rem; color: var(--muted); }
.map__title { font: 500 1.3rem var(--cond); letter-spacing: .12em; text-transform: uppercase; color: var(--cream); margin: 0 0 .4rem; }
.map iframe { position: relative; width: 100%; height: 100%; min-height: 420px; border: 0; filter: grayscale(.6) contrast(1.05); }

/* Einblenden beim Scrollen */
.reveal.is-pending { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.is-pending.is-in { opacity: 1; transform: none; }

/* Footer */
.footer { padding: 2.5rem 0 5.5rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .95rem; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.footer img { height: 40px; width: auto; }
.footer p { margin: 0; }
.footer nav { display: flex; gap: 1.5rem; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--cream); }

/* Anruf-Leiste nur mobil */
.callbar { display: none; }

@media (max-width: 900px) {
  .services { grid-template-columns: 1fr; }
  .service { aspect-ratio: 16 / 10; }
}

@media (max-width: 860px) {
  .nav { background: rgba(20, 20, 20, .94); border-bottom-color: var(--line); }
  .nav__toggle { display: block; }
  .nav__menu {
    position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; gap: 0; padding: .5rem 16px 1.2rem;
    background: var(--bg); border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav__menu.is-open { display: flex; }
  .nav__menu a:not(.btn) { padding: .9rem 0; width: 100%; text-align: center; border-bottom: 1px solid var(--line); }
  .nav__menu .btn { margin-top: 1rem; }
  .nav__logo img { height: 38px; }
  .hero { min-height: 92svh; align-items: flex-end; }
  .hero__shade { background: linear-gradient(0deg, rgba(14,13,12,.97) 0%, rgba(14,13,12,.8) 45%, rgba(14,13,12,.35) 100%); }
  .hero__scroll { display: none; }
  .prices, .about, .contact { grid-template-columns: 1fr; }
  .prices__special img { width: 100%; opacity: .35; }
  .prices__special::before { background: linear-gradient(90deg, rgba(36,33,29,.9), rgba(36,33,29,.6)); }
  .prices__special-body { padding: 2rem 1.5rem; }
  .about__img::after { display: none; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
  .gallery__item--wide { grid-column: span 1; grid-row: span 1; }
  .callbar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60;
  }
  .callbar a {
    padding: .95rem; text-align: center; text-decoration: none; border-radius: 4px;
    font: 500 1rem var(--cond); letter-spacing: .15em; text-transform: uppercase;
    box-shadow: 0 8px 24px rgba(0,0,0,.5);
    background: var(--red); color: #fff;
  }
  .callbar a + a { background: var(--cream); color: var(--bg); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__img, .hero__scroll::after, .status.is-open .status__dot, .pole { animation: none; }
}

/* ===== Rechtliche Seiten (Impressum / Datenschutz) ===== */
.legal { padding: calc(76px + clamp(2.5rem, 6vw, 4rem)) 0 clamp(3rem, 8vw, 5rem); }
.legal .wrap { max-width: 820px; }
.legal h1 { font-family: var(--display); font-size: clamp(2.2rem, 6vw, 3.4rem); letter-spacing: .02em; margin-bottom: 1.5rem; }
.legal h2 { font-family: 'Oswald', sans-serif; font-size: 1.35rem; text-transform: uppercase; letter-spacing: .06em; margin: 2.4rem 0 .7rem; color: var(--brass); }
.legal h3 { font-family: 'Oswald', sans-serif; font-size: 1.05rem; letter-spacing: .04em; margin: 1.6rem 0 .5rem; }
.legal p, .legal li { color: var(--cream); line-height: 1.7; }
.legal ul { padding-left: 1.2rem; }
.legal a { color: var(--brass); overflow-wrap: anywhere; }
.legal .muted { color: var(--muted); font-size: .92rem; }
.legal .todo { background: rgba(200, 16, 46, .25); outline: 1px dashed var(--red); padding: 0 .3em; border-radius: 3px; }
.nav--legal { background: rgba(20, 20, 20, .94); border-bottom: 1px solid var(--line); }
