/* Sam's Barbershop — groß, schlicht, eine Spalte */

:root {
  --bg: #f7f7f5;
  --fg: #0a0a0a;
  --muted: #4a4a4a;
  --red: #c41e3a;
  --blue: #1d4ed8;
  --line: #0a0a0a;
  --max: 38rem;
  /* Genug Luft links/rechts auf Mobilgeräten; Safe-Area siehe .wrap */
  --pad: clamp(1.4rem, 0.85rem + 3.5vw, 2.75rem);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(1.125rem, 2.8vw, 1.375rem);
  line-height: 1.45;
  color: var(--fg);
  background: var(--bg);
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

a:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: max(var(--pad), env(safe-area-inset-left, 0px));
  padding-right: max(var(--pad), env(safe-area-inset-right, 0px));
}

/* Header */
.top {
  border-bottom: 3px solid var(--line);
  padding-top: max(var(--pad), env(safe-area-inset-top, 0px));
  padding-bottom: var(--pad);
  margin-bottom: clamp(2rem, 6vw, 4rem);
}

.top__row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem 2rem;
}

.brand {
  font-size: clamp(1.35rem, 4.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--fg);
  line-height: 1.1;
}

.brand:hover {
  text-decoration: none;
}

.brand em {
  font-style: normal;
  color: var(--red);
}

.tel-top {
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  font-weight: 700;
  color: var(--blue);
  white-space: nowrap;
}

.tel-top:hover {
  text-decoration: none;
  color: var(--red);
}

.nav {
  width: 100%;
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.75rem;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 600;
}

.nav a {
  color: var(--fg);
}

.nav a:hover {
  color: var(--red);
}

/* Typo */
.hero-title {
  font-size: clamp(2.75rem, 12vw, 5.5rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin: 0 0 1rem;
}

.lead {
  font-size: clamp(1.25rem, 3.5vw, 1.75rem);
  line-height: 1.35;
  color: var(--muted);
  margin: 0 0 2.5rem;
  max-width: 28ch;
}

.stripe {
  display: flex;
  height: 6px;
  max-width: 10rem;
  margin: 0 0 2rem;
}

.stripe span {
  flex: 1;
}

.stripe .r {
  background: var(--red);
}

.stripe .w {
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
}

.stripe .b {
  background: var(--blue);
}

section {
  margin-bottom: clamp(2.5rem, 7vw, 4.5rem);
}

section h2 {
  font-size: clamp(1.65rem, 5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
  line-height: 1.1;
}

.big {
  font-size: clamp(1.2rem, 3.2vw, 1.65rem);
  line-height: 1.4;
  margin: 0;
}

.big + .big {
  margin-top: 1rem;
}

.big a {
  font-weight: 700;
}

.note {
  font-size: 0.95em;
  color: var(--muted);
  margin: 1rem 0 0;
}

/* Showcase — quadratisches Bild unter Leistungen, kompakt & zentriert */
.showcase {
  display: flex;
  justify-content: center;
  min-width: 0;
}

.showcase__frame {
  aspect-ratio: 1 / 1;
  /* Feste Obergrenze: große intrinsische Bildbreite darf Flex-Layout nicht sprengen */
  width: min(15rem, 100%);
  max-width: 100%;
  min-width: 0;
  flex-shrink: 1;
  overflow: hidden;
  border: 3px solid var(--line);
  background: #e8e8e6;
}

.showcase__frame img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  object-position: center 28%;
}

/* Footer */
.bottom {
  border-top: 3px solid var(--line);
  padding-top: var(--pad);
  padding-bottom: max(var(--pad), env(safe-area-inset-bottom, 0px));
  margin-top: clamp(3rem, 10vw, 5rem);
  font-size: clamp(0.95rem, 2.2vw, 1.05rem);
}

.bottom__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin-top: 0.75rem;
}

.bottom__links a {
  color: var(--fg);
  font-weight: 600;
}

/* Legal */
.legal {
  padding: var(--pad) 0 3rem;
}

.legal h1 {
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
}

.legal .back {
  display: inline-block;
  margin-bottom: 1.5rem;
  font-weight: 600;
  font-size: 1.05rem;
}

.legal .box {
  border: 3px solid var(--line);
  padding: 1.25rem 1.5rem;
  margin-top: 1.5rem;
  background: #fff;
}

.legal .hint {
  color: var(--muted);
  margin: 0 0 1.5rem;
  font-size: 1rem;
}

.legal .box p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.5;
}

.legal .box p + p {
  margin-top: 1rem;
}
