.os-offer,
.os-work {
  color: var(--ink, #201f1b);
  font-family: var(--sans, Arial, sans-serif);
  padding-block: clamp(3.8rem, 6vw, 6.5rem);
}
.os-offer, .os-work { container-type: inline-size; }
.os-offer { background: var(--paper, #f7f5f0); }
.os-offer .os-section-head { display: block; }
.os-intro { max-width: 55ch; margin-top: 1rem; font-size: clamp(1rem, 1.2vw, 1.125rem); line-height: 1.6; color: #504d46; }
.os-booking { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.4rem; margin-top: clamp(1.8rem, 3vw, 3rem); padding-top: 1.5rem; border-top: 1px solid #c8c3b7; }
.os-booking p { max-width: 42ch; color: #504d46; font-size: .95rem; line-height: 1.5; }
.os-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem 2rem;
  margin-bottom: clamp(1.8rem, 3.1vw, 3.2rem);
}
.os-section-head h2,
.os-service h3 {
  max-width: 100%;
  hyphens: auto;
  overflow-wrap: anywhere;
  margin: 0;
  font-weight: 400;
  line-height: 1.13;
  letter-spacing: -.033em;
}
.os-section-head h2 {
  font-family: var(--serif, Georgia, serif);
  font-size: var(--section-title-size, clamp(2rem, 3.6vw, 3.5rem));
}
.os-book {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.15rem;
  min-height: 50px;
  width: fit-content;
  max-width: 100%;
  padding: .68rem 1.05rem .68rem 1.2rem;
  border-radius: 2px;
  background: var(--ink, #201f1b);
  color: white;
  font-weight: 600;
  font-size: .96rem;
  line-height: 1.3;
  text-decoration: none;
}
.os-book span {
  display: grid;
  place-items: center;
  color: var(--accent, #fac517);
  font-size: 1.3rem;
}
.os-book:focus-visible { outline: 3px solid #806627; outline-offset: 4px; }
.os-book:hover { background: #39362e; }
.os-book:active { background: #10100e; }
.os-services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 2rem);
}
.os-service {
  min-width: 0;
  overflow-wrap: anywhere;
  hyphens: auto;
  scroll-margin-top: 5.7rem;
}
.os-service p {
  max-width: 44ch;
  margin: .76rem 0 0;
  color: #504d46;
  font-size: clamp(.98rem, 1.12vw, 1.06rem);
  line-height: 1.62;
}
@container (width > 47.5em) {
  .os-services { row-gap: 0; }
  .os-service {
    display: grid;
    grid-row: span 3;
    grid-template-rows: subgrid;
    align-items: start;
  }
}
.os-work {
  padding-block: clamp(1.8rem, 3.3vw, 3.75rem) clamp(1.5rem, 2.6vw, 2.9rem);
  background: #fbfaf6;
  color: var(--ink, #201f1b);
}
.os-work-head { margin-bottom: clamp(1rem, 1.5vw, 1.6rem); }
.os-works {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: start;
  gap: clamp(.55rem, 1vw, 1.15rem);
}
.os-piece {
  min-width: 0;
  margin: 0;
}
.os-piece > img,
.os-piece .work-open {
  width: 100%;
  height: auto;
  aspect-ratio: .84;
  display: block;
  overflow: hidden;
}
.os-piece img {
  object-fit: cover;
  object-position: var(--position, 50% 45%);
}
.os-piece .work-open img { display: block; width: 100%; height: 100%; }
.work-locken-fade { --position: 57% 50%; }
.work-damenhaar { --position: 54% 48%; }
.work-cornrows { --position: 70% 48%; }
.work-textured-crop { --position: 50% 28%; }
.work-kurzschnitt-vollbart { --position: 50% 38%; }
.os-piece figcaption {
  overflow-wrap: anywhere;
  hyphens: auto;
  margin: .65rem 0 0;
  font: 500 clamp(.91rem, 1.17vw, 1.14rem) / 1.4 var(--sans, Arial, sans-serif);
  color: var(--ink, #201f1b);
}
.os-piece .work-open::after {
  width: 32px;
  height: 32px;
  right: .75rem;
  bottom: .75rem;
  font-size: 1.2rem;
  border-color: #ffffffb0;
  background: #161511ad;
}
.os-work :focus-visible { outline: 2px solid #785a12; outline-offset: 4px; }
.os-social {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  gap: .15rem clamp(.55rem, 1vw, 1.15rem);
  margin-top: clamp(1rem, 2vw, 1.8rem);
}
.os-social-intro { font-size: .93rem; color: #554f44; }
.os-social a {
  justify-self: start;
  max-width: 100%;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: .54em;
  font-size: .93rem;
  font-weight: 500;
}
.os-social a img { flex: 0 0 auto; width: 1.125rem; height: 1.125rem; }
.os-social a span { color: #715817; }
.os-social a:hover { text-decoration: underline; text-underline-offset: .3em; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .os-book span, .os-social a span { transition: transform 220ms var(--ease-out); }
  .os-book:hover span { transform: translate(3px, -3px); }
  .os-social a:hover span { transform: translate(2px, -2px); }
  .os-piece .work-open img {
    transform-origin: var(--position, center);
    transition: transform 480ms cubic-bezier(.23, .75, .27, 1);
  }
  .os-piece .work-open:hover img { transform: scale(1.065); }
  .os-piece .work-open::after {
    transition: transform 230ms var(--ease-out), background-color 200ms ease, color 200ms ease;
  }
  .os-piece .work-open:hover::after {
    transform: translate(-2px, -2px);
    background-color: var(--paper);
    color: var(--ink);
  }
}
@media (max-width: 760px) {
  .os-offer { padding-block: 3.25rem; }
  .os-work { padding-block: 1.9rem 1.65rem; }
}
@container (min-width: 47.51em) and (max-width: 64em) {
  .os-works { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .os-piece { grid-column: span 2; }
  .os-piece:nth-last-child(-n+2) { grid-column: span 3; }
  .os-piece:nth-last-child(-n+2) > :is(img, .work-open) { aspect-ratio: 1.38; }
}
@container (max-width: 47.5em) {
  .os-section-head { align-items: flex-start; flex-direction: column; gap: 1.1rem; }
  .os-book { min-height: 48px; }
  .os-services { grid-template-columns: minmax(0, 1fr); }
  .os-works {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.3rem .8rem;
  }
  .os-piece > img, .os-piece .work-open {
    aspect-ratio: .98;
  }
  .os-piece:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .os-piece:last-child:nth-child(odd) > :is(img, .work-open) { aspect-ratio: 1.55; }
  .os-piece figcaption { margin-top: .45rem; }
  .os-piece .work-open::after { width: 25px; height: 25px; font-size: 1rem; right: .5rem; bottom: .5rem; }
  .os-social { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 1.45rem; column-gap: .25rem; }
  .os-social-intro { grid-column: 1 / -1; }
  .os-social a { gap: .3em; }
}

@container (max-width: 23em) {
  .os-social { display: flex; flex-wrap: wrap; column-gap: .9rem; }
  .os-social-intro { flex-basis: 100%; }
  .os-social a span { display: none; }
}

@container (max-width: 17em) {
  .os-social { grid-template-columns: 1fr; }
  .os-book { gap: .5rem; padding-inline: .65rem; }
  .os-works { grid-template-columns: minmax(0, 1fr); }
  .os-piece:last-child:nth-child(odd) > :is(img, .work-open) { aspect-ratio: .98; }
}

.service-photo-heading {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  aspect-ratio: 1 / 1.12;
  overflow: hidden;
  background: #302e2a;
}
.service-photo-heading img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-photo-heading::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgb(13 12 10 / .82), transparent 52%);
}
.os-service-mark {
  display: block;
  flex: none;
  width: 1.16em;
  height: .96em;
  margin: 0;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}
.service-photo-heading h3 {
  display: flex;
  align-items: center;
  gap: .38em;
  margin: 0;
  padding: 1rem 1.25rem;
  color: white;
  font: 400 clamp(1.55rem, 2.1vw, 2.25rem)/1.15 var(--serif);
  letter-spacing: -.02em;
}
#beauty .service-photo-heading img { object-position: center 38%; }

@container (max-width: 47.5em) {
  .os-services { row-gap: 1.65rem; }
  .service-photo-heading { aspect-ratio: 2.35 / 1; }
  #damen .service-photo-heading img { object-position: center 39%; }
  #beauty .service-photo-heading img { object-position: center 31%; }
  .service-photo-heading h3 { padding: .72rem 1rem; }
  .os-service p { margin-top: .65rem; }
}
