/* Friseur Emig, Arnfels.
   Ochsenblut auf Off-White (Fallback-Farbe: der Betrieb hat kein Logo und kein Schild).
   Schwere System-Grotesk für Überschriften, System-Mono für Uhrzeiten und Nummern.
   Signatur: die Woche als Kamm, eine Schere an jedem Bild. */

:root {
  --ox: #7a2e2e;
  --ox-dark: #5f2020;
  --ink: #1a1715;
  --ink-mute: #4d453a;
  --off: #f5f2ea;
  --off-strong: #ebe6da;
  --rule: #d0c9bb;

  --brand: "Helvetica Neue", "Arial Narrow", Helvetica, Arial, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Courier New", monospace;

  --label: 0.875rem;
  --small: 0.95rem;

  --gutter: 20px;
  --y: 48px;
  --shot-h: clamp(240px, 70vw, 380px);
}
@media (min-width: 768px)  { :root { --gutter: 32px; --y: 64px; } }
@media (min-width: 1120px) { :root { --gutter: 48px; --y: 80px; } }
@media (min-width: 1440px) { :root { --gutter: 64px; } }
@media (min-width: 1920px) { :root { --gutter: 96px; } }

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

html { font-size: 17px; }
@media (min-width: 768px) { html { font-size: 18px; } }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--off);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 400;
  line-height: 1.6;
}

p { margin: 0; }
.keep { white-space: nowrap; }
img { display: block; max-width: 100%; }
a { color: inherit; }
abbr { text-decoration: none; }

.skiplink {
  position: absolute;
  top: -100px;
  left: 8px;
  z-index: 10;
  padding: 12px 16px;
  background: var(--ink);
  color: var(--off);
}
.skiplink:focus { top: 8px; }

:focus-visible { outline: 3px solid var(--ox); outline-offset: 3px; }
.topband :focus-visible, .callband :focus-visible { outline-color: var(--off); }

.label { font-family: var(--body); font-weight: 400; color: var(--ink-mute); }

/* Textlinks */
.link {
  color: var(--ox);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.link:focus-visible { color: var(--ox-dark); text-decoration-thickness: 2px; }
@media (hover: hover) {
  .link:hover { color: var(--ox-dark); text-decoration-thickness: 2px; }
}
a[href^="tel:"] { white-space: nowrap; }

/* Rufknöpfe: sie bewegen sich nie, die Farbe wechselt sofort. */
.call {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 8px 16px;
  border: 2px solid var(--ox);
  background: var(--ox);
  color: var(--off);
  font-family: var(--mono);
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  white-space: nowrap;
}
.call:focus-visible { background: var(--ox-dark); border-color: var(--ox-dark); }
.call--small, .call--big { background: var(--off); border-color: var(--off); color: var(--ox); }
.call--small { font-size: 1rem; padding-inline: 12px; }
.call--small:focus-visible,
.call--big:focus-visible { background: var(--ink); border-color: var(--ink); color: var(--off); }
.call--big { font-size: clamp(1.2rem, 1.6vw + 0.8rem, 1.7rem); padding: 16px 24px; }
@media (hover: hover) {
  .call:hover { background: var(--ox-dark); border-color: var(--ox-dark); }
  .call--small:hover,
  .call--big:hover { background: var(--ink); border-color: var(--ink); color: var(--off); }
}

/* ---------------------------------------------------------------- Kopfband */

.topband { background: var(--ox); color: var(--off); }
.topband__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px var(--gutter);
}
.brand {
  display: inline-flex;
  flex-direction: column;
  color: var(--off);
  text-decoration: none;
  line-height: 1.1;
}
.brand__kicker {
  font-size: var(--label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.brand__name { font-family: var(--brand); font-weight: 700; font-size: 1.5rem; }
@media (min-width: 480px) {
  .brand { flex-direction: row; align-items: baseline; gap: 0.5em; }
  .brand__name { font-size: 1.8rem; }
}

/* ------------------------------------------------- Statement mit Wochenkamm */

.statement {
  display: grid;
  gap: 24px;
  padding: 32px var(--gutter) var(--y);
}
.eyebrow {
  font-size: var(--label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 12px;
}
.statement__h {
  margin: 0;
  font-family: var(--brand);
  font-weight: 700;
  font-size: clamp(2rem, 6.2vw, 4.5rem);
  line-height: 1.04;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.statement__sub { font-size: 1.25rem; line-height: 1.4; margin-bottom: 16px; max-width: 30ch; }

.comb__h {
  margin: 0 0 12px;
  font-family: var(--body);
  font-size: var(--label);
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.comb__days {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  border-top: 12px solid var(--ox);
  border-radius: 2px 2px 0 0;
}
.day {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-height: 108px;
  padding: 16px 0 24px;
}
/* die Zinken: links an jedem Feld, rechts am letzten */
.day::before,
.day:last-child::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--ink);
  transform-origin: 50% 0;
}
.day::before { left: 0; }
.day:last-child::after { right: 0; }
.day__name {
  font-size: var(--label);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.day__time {
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 700;
  color: var(--ox);
  white-space: nowrap;
}
.day--closed .day__name { font-weight: 400; color: var(--ink-mute); }
.day--closed .day__time { font-weight: 400; color: var(--ink-mute); }
.comb__note { margin-top: 16px; font-size: var(--small); color: var(--ink-mute); max-width: 44ch; }

@media (min-width: 480px) {
  .day { min-height: 124px; padding-top: 20px; gap: 12px; }
  .day__time { font-size: 1.15rem; }
}
@media (min-width: 900px) {
  .statement {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    grid-template-areas: "head head" "act comb";
    gap: 48px 64px;
    padding-top: 64px;
    align-items: start;
  }
  .statement__head { grid-area: head; }
  .statement__act { grid-area: act; }
  .comb { grid-area: comb; }
  .day { min-height: 148px; }
  .day__time { font-size: 1.35rem; }
}

/* Einmal beim Laden: die Zinken wachsen aus dem Rücken, dann kommen die Zeiten. */
@media (prefers-reduced-motion: no-preference) {
  .day::before,
  .day:last-child::after { animation: tooth 400ms ease-out both; }
  .day:nth-child(2)::before { animation-delay: 70ms; }
  .day:nth-child(3)::before { animation-delay: 140ms; }
  .day:nth-child(4)::before { animation-delay: 210ms; }
  .day:nth-child(5)::before { animation-delay: 280ms; }
  .day:nth-child(6)::before { animation-delay: 350ms; }
  .day:nth-child(7)::before { animation-delay: 420ms; }
  .day:last-child::after { animation-delay: 490ms; }

  .day__time { animation: time-in 300ms ease-out 700ms both; }
  .day:nth-child(2) .day__time { animation-delay: 760ms; }
  .day:nth-child(3) .day__time { animation-delay: 820ms; }
  .day:nth-child(4) .day__time { animation-delay: 880ms; }
  .day:nth-child(5) .day__time { animation-delay: 940ms; }
  .day:nth-child(6) .day__time { animation-delay: 1000ms; }
  .day:nth-child(7) .day__time { animation-delay: 1060ms; }

  @keyframes tooth {
    from { transform: scaleY(0); }
    to   { transform: none; }
  }
  @keyframes time-in {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: none; }
  }
}

/* -------------------------------------------------------------- Abschnitte */

.section-h {
  margin: 0 0 32px;
  font-family: var(--brand);
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw + 0.6rem, 2.4rem);
  line-height: 1.1;
}
.shots, .visit { border-top: 1px solid var(--rule); padding-block: var(--y); }

/* ------------------------------------------------------------- Bildstreifen */

.shots__head { padding-inline: var(--gutter); }
.shots .section-h { margin-bottom: 16px; }
.shots__keys { display: flex; gap: 8px; margin-bottom: 16px; }
.shots__keys[hidden] { display: none; }
@media (min-width: 600px) {
  .shots__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
  }
  .shots .section-h,
  .shots__keys { margin-bottom: 32px; }
}
@media (min-width: 1600px) {
  :root { --shot-h: 405px; }
}
.shots__keys button {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 2px solid var(--ink);
  border-radius: 2px;
  background: var(--off);
  color: var(--ink);
  cursor: pointer;
}
.shots__keys button:focus-visible { background: var(--ink); color: var(--off); }
@media (hover: hover) {
  .shots__keys button:hover { background: var(--ink); color: var(--off); }
}
.chev {
  width: 11px;
  height: 11px;
  margin-left: -5px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
}
.chev--back { margin-left: 5px; transform: rotate(135deg); }

.shots__row {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  padding: 4px var(--gutter) 16px;
}
.shot {
  --ar: 1.5;
  flex: 0 0 auto;
  width: min(calc(var(--shot-h) * var(--ar)), 86vw);
  margin: 0;
  scroll-snap-align: start;
}
.shot--hands { --ar: 1.25; }
.shot--tall { --ar: 0.6667; }
.shot img {
  width: 100%;
  height: var(--shot-h);
  object-fit: cover;
  border: 1px solid var(--ink);
}
.shot figcaption {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 2px solid var(--rule);
  font-size: var(--small);
  font-style: italic;
  line-height: 1.4;
  color: var(--ink-mute);
}

/* Die Schere: zwei Schenkel mit Ringen. Sie steht offen und schließt sich,
   wenn man auf das Bild zeigt. */
.snip {
  position: relative;
  flex: none;
  width: 30px;
  height: 22px;
}
.snip i {
  position: absolute;
  left: 0;
  top: 10px;
  width: 30px;
  height: 2px;
  background: var(--ox);
  transform-origin: 12px 1px;
}
.snip i::before {
  content: "";
  position: absolute;
  left: 0;
  width: 9px;
  height: 9px;
  border: 2px solid var(--ox);
  border-radius: 50%;
  background: var(--off);
}
.snip i:first-child { transform: rotate(18deg); }
.snip i:first-child::before { top: -8px; }
.snip i:last-child { transform: rotate(-18deg); }
.snip i:last-child::before { top: 1px; }

.shots__row:focus-visible .snip i:first-child { transform: rotate(4deg); }
.shots__row:focus-visible .snip i:last-child { transform: rotate(-4deg); }
.shots__row:focus-visible .shot figcaption { border-top-color: var(--ox); }
@media (hover: hover) {
  .shot:hover .snip i:first-child { transform: rotate(4deg); }
  .shot:hover .snip i:last-child { transform: rotate(-4deg); }
  .shot:hover figcaption { border-top-color: var(--ox); }
}
@media (prefers-reduced-motion: no-preference) {
  .snip i { transition: transform 200ms ease-out; }
  .shot:hover .snip i,
  .shots__row:focus-visible .snip i { transition-duration: 350ms; }
}

/* -------------------------------------------------------------- Kirchplatz */

.visit {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 24px 96px;
  padding-inline: var(--gutter);
}
.visit .section-h { flex: 1 0 100%; margin-bottom: 8px; }
.addr {
  flex: 1 1 22rem;
  font-family: var(--brand);
  font-weight: 700;
  font-size: clamp(1.8rem, 2.6vw + 1rem, 3rem);
  line-height: 1.1;
}
.addr__street, .addr__place { display: block; }
.reach__label {
  font-size: var(--label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.reach__num { font-family: var(--mono); font-size: 1.35rem; margin-bottom: 12px; }
.reach .link { display: inline-block; padding-block: 8px; }

/* ----------------------------------------------------------------- Rufband */

.callband { background: var(--ox); color: var(--off); }
.callband__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  padding: 32px var(--gutter);
}
.callband__label {
  font-family: var(--brand);
  font-weight: 700;
  font-size: clamp(1.5rem, 2vw + 0.9rem, 2.2rem);
}
.callband .label { color: var(--off-strong); }

/* ------------------------------------------------------------------- Fuß */

.foot { padding: 48px var(--gutter) 32px; }
.foot__cols {
  display: grid;
  gap: 24px 48px;
  margin-bottom: 32px;
}
@media (min-width: 560px) { .foot__cols { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .foot__cols { grid-template-columns: 1fr 1fr 1fr 1.4fr; } }
.foot__label {
  font-size: var(--label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 8px;
}
.foot__col p { font-size: var(--small); }
.foot__col .link { display: inline-block; padding-block: 8px; margin-block: -8px; }
.foot__muted { color: var(--ink-mute); }
.foot__legal {
  padding-top: 16px;
  border-top: 1px solid var(--rule);
  font-size: var(--label);
  color: var(--ink-mute);
}
