/* Naim Sabani – Friseur + Comedy. Ein System: Schwarz, Creme, ein Rot. Schriften lokal (SIL OFL). */
@font-face { font-family: "Bricolage Grotesque"; src: url(../fonts/bricolage-grotesque-latin-standard-normal.woff2) format("woff2"); font-weight: 200 800; font-stretch: 75% 100%; font-display: swap; }
@font-face { font-family: "Figtree"; src: url(../fonts/figtree-latin-wght-normal.woff2) format("woff2"); font-weight: 300 900; font-display: swap; }

:root {
  --bg: #121010; --surface: #1c1817; --surface-2: #241f1e;
  --ink: #f3eee8; --muted: #b3ada7;            /* muted auf bg: 8:1 */
  --line: rgb(243 238 232 / .14);
  --red: #d4141c; --red-deep: #a50e14;         /* Weiß auf red-deep: 7,4:1 */
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --text: "Figtree", system-ui, sans-serif;
  --rail: 280px; --bar: 0px;
  --pad: clamp(64px, 9vw, 112px);
  --gut: clamp(24px, 5vw, 64px);
  --ease: cubic-bezier(.22, 1, .36, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
/* Hintergrund wie auf Naims alter Seite: sein Logo gekachelt, hier in Creme mit 7 % Deckkraft */
body, .rail, .section--alt, .section--red { background-image: url(../img/muster-logo.webp); background-size: 387px auto; background-repeat: repeat; }
body { background-attachment: fixed; }
body { margin: 0; background-color: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--text); padding-bottom: var(--bar); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: -0.03em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(44px, 7vw, 104px); line-height: .95; letter-spacing: -0.045em; }
h2 { font-size: clamp(30px, 3.6vw, 52px); line-height: 1.05; }
h3 { font-size: clamp(22px, 2vw, 28px); line-height: 1.15; }
p { margin: 0; }
.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; color: var(--ink); max-width: 46ch; }
.muted { color: var(--muted); }
.label { font-size: 14px; font-weight: 500; color: var(--muted); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 16px; font-weight: 600; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* Knöpfe und Links: ein Paar, eine Linkart */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 22px; border-radius: 2px;
  font: 500 16px/1 var(--text); text-decoration: none; border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .18s var(--ease), background-color .18s, border-color .18s, color .18s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: #b8111a; }
.btn--secondary { border-color: rgb(243 238 232 / .4); color: var(--ink); }
.btn--secondary:hover { border-color: var(--ink); }
.btn svg { width: 16px; height: 16px; flex: none; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.link { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 2px; transition: background-size .3s var(--ease); }
.link:hover { background-size: 0 1px; background-position: 100% 100%; }
.stack > .link, .rail__block > .link, .facts .link { justify-self: start; }
.arrow::after { content: "→"; margin-left: 6px; display: inline-block; transition: transform .2s var(--ease); }
a:hover .arrow::after, .arrow:hover::after { transform: translateX(4px); }

/* Seitenleiste links (ab 1100 px): Reiter, dann Termin + Öffnungszeiten bzw. Booking */
.rail { display: none; }
.topbar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: 64px; padding: 0 var(--gut); background: var(--bg); border-bottom: 1px solid var(--line); }
.brand { font: 400 22px/1 var(--display); letter-spacing: -0.03em; text-decoration: none; white-space: nowrap; }
.brand span { color: var(--red); }
@media (min-width: 1100px) {
  body { padding-left: var(--rail); }
  .topbar { display: none; }
  .rail { position: fixed; inset: 0 auto 0 0; width: var(--rail); display: flex; flex-direction: column; gap: 32px;
    padding: 32px 28px; background-color: var(--surface); border-right: 1px solid var(--line); overflow-y: auto; z-index: 30; }
  .rail .brand { font-size: 26px; }
  .rail__block { display: grid; gap: 12px; }
  .rail__block .btn { width: 100%; }
  .rail__foot { margin-top: auto; display: flex; gap: 20px; font-size: 14px; }
  .rail address { font-style: normal; line-height: 1.5; }
}

/* Die Reiter: Friseur | Comedy */
.tabs { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid rgb(243 238 232 / .3); border-radius: 2px; padding: 3px; gap: 3px; }
.tabs a { display: flex; align-items: center; justify-content: center; height: 42px; padding: 0 14px; text-decoration: none; font-weight: 500; font-size: 16px;
  color: var(--muted); border-radius: 1px; transition: background-color .2s, color .2s; }
.tabs a:hover { color: var(--ink); background: var(--surface-2); }
.tabs a[aria-current="page"] { background: var(--red); color: #fff; }
.topbar .tabs { width: min(220px, 56vw); }
.topbar .tabs a { height: 36px; font-size: 15px; padding: 0 8px; }

/* Öffnungszeiten */
.hours { display: grid; grid-template-columns: auto 1fr; gap: 6px 20px; margin: 0; font-variant-numeric: tabular-nums; }
.hours dt { color: var(--muted); white-space: nowrap; }
.hours dd { margin: 0; text-align: right; }
.hours .is-today { color: var(--ink); font-weight: 600; }
.hours dt.is-today::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--red); vertical-align: 2px; }

/* Abschnitte: Höhe nach Inhalt, ein Abstand */
.wrap { width: min(100% - 2 * var(--gut), 1160px); margin-inline: auto; }
.section { padding: var(--pad) 0; }
.section + .section { padding-top: 0; }
.section--alt { background-color: var(--surface); }
.section--alt, .section--red { padding-top: var(--pad) !important; }
.section--red { background-color: var(--red-deep); color: #fff; --muted: rgb(255 255 255 / .85); --line: rgb(255 255 255 / .25); }
.section--alt + .section, .section--red + .section { padding-top: var(--pad); }
.head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 32px; margin-bottom: clamp(32px, 4vw, 48px); }
.head > div { display: grid; gap: 14px; max-width: 640px; }
.grid { display: grid; gap: 24px; }
@media (min-width: 900px) {
  .grid--2 { grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
  .grid--57 { grid-template-columns: 5fr 7fr; gap: 48px; align-items: start; }
  .grid--75 { grid-template-columns: 7fr 5fr; gap: 48px; align-items: start; }
}

/* Fotos: eckig, kein Filter; verlinkt zoomen sie 3 % im Rahmen */
.photo { margin: 0; overflow: hidden; background: var(--surface); }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
a:hover > .photo img, a.photo:hover img { transform: scale(1.03); }
.r-45 { aspect-ratio: 4 / 5; } .r-43 { aspect-ratio: 4 / 3; } .r-11 { aspect-ratio: 1 / 1; } .r-32 { aspect-ratio: 3 / 2; }
.photos-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* Einstieg Startseite: Gesicht links, Name rechts */
.intro { display: grid; min-height: calc(100svh - 64px); }
.intro__face { position: relative; min-height: 58svh; overflow: hidden; }
.intro__face img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.intro__text { display: flex; flex-direction: column; justify-content: center; gap: 24px; padding: 40px var(--gut) 48px; }
.intro__text h1 { font-size: clamp(56px, 9vw, 150px); }
.intro__text h1 span { display: block; color: var(--red); }
@media (min-width: 900px) {
  .intro { grid-template-columns: 1fr 1fr; min-height: 100svh; }
  .intro__face { min-height: 0; }
  .intro__text { padding: 64px clamp(32px, 5vw, 72px); }
}
@media (min-width: 1100px) { .intro { min-height: 100svh; } }

/* Die zwei Hälften */
.halves { display: grid; }
.half { position: relative; display: grid; align-content: end; gap: 14px; min-height: 72svh; padding: 40px var(--gut); text-decoration: none; overflow: hidden; isolation: isolate; color: #fff; }
.half > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.half::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgb(18 16 16 / .62); transition: background-color .4s; }
.half--comedy::before { background: rgb(120 8 12 / .55); }
.half:hover > img { transform: scale(1.03); }
.half:hover::before { background: rgb(18 16 16 / .5); }
.half--comedy:hover::before { background: rgb(120 8 12 / .42); }
.half h2 { font-size: clamp(56px, 7vw, 112px); line-height: .9; letter-spacing: -0.05em; }
.half p { max-width: 34ch; font-size: 18px; }
.half .go { font-weight: 600; margin-top: 8px; }
@media (min-width: 900px) { .halves { grid-template-columns: 1fr 1fr; } .half { min-height: 88svh; padding: 56px clamp(32px, 4vw, 56px); } }

/* Seitenkopf der Unterseiten: Text links, Foto rechts */
.page-head { padding: clamp(40px, 6vw, 88px) 0 var(--pad); }
.page-head .grid { align-items: center; }
.page-head h1 { margin: 14px 0 22px; }
.page-head .lead { margin-bottom: 32px; }

/* Listen: Leistungen, Anlässe, Presse */
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.rows li { display: flex; justify-content: space-between; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
.rows li span:last-child { color: var(--muted); text-align: right; }
.big-list { list-style: none; margin: 0; padding: 0; }
.big-list li { font: 400 clamp(34px, 4.6vw, 68px)/1.08 var(--display); letter-spacing: -0.04em; padding: 10px 0; border-bottom: 1px solid var(--line); }
.quote { margin: 0; }
.quote p { font: 400 clamp(30px, 3.8vw, 58px)/1.08 var(--display); letter-spacing: -0.035em; max-width: 24ch; }
.quote footer { margin-top: 22px; color: var(--muted); }
.quotes-small { display: grid; gap: 24px; margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); }
.quotes-small blockquote { margin: 0; font-size: 19px; line-height: 1.5; }
.quotes-small cite { display: block; margin-top: 8px; font-style: normal; color: var(--muted); font-size: 15px; }
@media (min-width: 900px) { .quotes-small { grid-template-columns: 1fr 1fr; gap: 48px; } }
.facts { display: grid; gap: 28px; }
.facts address { font-style: normal; font-size: 20px; line-height: 1.5; }
.stack { display: grid; gap: 16px; align-content: start; }

/* Fußzeile */
.footer { border-top: 1px solid var(--line); padding: 64px 0 40px; font-size: 16px; }
.footer__cols { display: grid; gap: 40px; }
.footer h3 { font: 500 14px/1.4 var(--text); letter-spacing: 0; color: var(--muted); margin-bottom: 14px; }
.footer address { font-style: normal; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer__name { font: 400 clamp(64px, 13vw, 180px)/.85 var(--display); letter-spacing: -0.05em; margin: 64px 0 32px; color: var(--ink); }
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; color: var(--muted); font-size: 14px; padding-top: 24px; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .footer__cols { grid-template-columns: repeat(3, 1fr); } }

/* Handy: feste Leiste unten */
.actionbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: var(--bg); border-top: 1px solid var(--line); }
.actionbar .btn { width: 100%; }
@media (max-width: 1099px) { :root { --bar: calc(64px + env(safe-area-inset-bottom)); } }
@media (min-width: 1100px) { .actionbar { display: none; } }
@media (max-width: 520px) { .btns .btn { flex: 1 1 100%; } }

/* Rechtstexte */
.legal { max-width: 70ch; }
.legal h1 { font-size: clamp(40px, 6vw, 72px); margin-bottom: 40px; }
.legal h2 { font: 600 20px/1.3 var(--text); letter-spacing: 0; margin: 36px 0 10px; }
.legal p, .legal li { color: var(--ink); }
.legal a { color: var(--ink); }
.hint { border-left: 3px solid var(--red); padding-left: 14px; }

/* Einstieg: einmal beim Laden, nichts beim Scrollen */
@media (prefers-reduced-motion: no-preference) {
  [data-enter] > * { animation: rise .8s var(--ease) both; }
  [data-enter] > *:nth-child(2) { animation-delay: .08s; }
  [data-enter] > *:nth-child(3) { animation-delay: .16s; }
  [data-enter] > *:nth-child(4) { animation-delay: .24s; }
  .intro__face img { animation: settle 1.4s var(--ease) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { transform: scale(1.06); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
