@font-face {
  font-family: "Kaushan Script";
  src: url("/assets/fonts/kaushan-script-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Open Sans";
  src: url("/assets/fonts/open-sans-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Open Sans";
  src: url("/assets/fonts/open-sans-600.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Open Sans";
  src: url("/assets/fonts/open-sans-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --color-bg: #f4f3f3;
  --color-surface: #ffffff;
  --color-text: #2b2b2b;
  --color-muted: #6b6b6b;
  --color-accent: #82237b;
  --color-dark: #101010;
  --font-heading: "Kaushan Script", cursive;
  --font-body: "Open Sans", Helvetica, Arial, sans-serif;
  --content-width: 1100px;
  --radius-card: 6px;
  --shadow-card: 0 12px 34px rgb(16 16 16 / 10%);
  --shadow-header: 0 2px 14px rgb(16 16 16 / 8%);
  --section-space: clamp(4rem, 8vw, 7rem);
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--color-text);
  background: var(--color-bg);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--color-accent);
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-thickness: 2px;
}

button,
input,
textarea,
select {
  font: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.5rem, 7vw, 5.5rem);
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
}

:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 1rem;
  color: var(--color-surface);
  background: var(--color-accent);
  border-radius: 4px;
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container,
.site-header__inner,
.site-footer__inner {
  width: min(calc(100% - 2rem), var(--content-width));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 100;
  width: 100%;
  color: var(--color-text);
  background: var(--color-surface);
  box-shadow: var(--shadow-header);
}

.site-header--transparent {
  position: absolute;
  inset: 0 0 auto;
  color: var(--color-surface);
  background: transparent;
  box-shadow: none;
}

.site-header--light {
  color: var(--color-text);
  background: var(--color-surface);
}

.site-header__inner {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.site-logo {
  flex: 0 0 auto;
  color: inherit;
  font-family: var(--font-heading);
  font-size: clamp(1.65rem, 3vw, 2.2rem);
  line-height: 1;
  text-decoration: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2rem);
}

.site-nav__link {
  position: relative;
  color: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.site-nav__link:not(.site-nav__link--pill)::after {
  position: absolute;
  right: 0;
  bottom: -0.45rem;
  left: 0;
  height: 2px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.site-nav__link:not(.site-nav__link--pill):hover::after,
.site-nav__link:not(.site-nav__link--pill)[aria-current="page"]::after {
  transform: scaleX(1);
}

.site-nav__link--pill {
  padding: 0.55rem 1rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  transition: color 180ms ease, background-color 180ms ease;
}

.site-nav__link--pill:hover,
.site-nav__link--pill[aria-current="page"] {
  color: var(--color-text);
  background: var(--color-surface);
}

.site-header--light .site-nav__link--pill:hover,
.site-header--light .site-nav__link--pill[aria-current="page"] {
  color: var(--color-surface);
  background: var(--color-accent);
  border-color: var(--color-accent);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 42px;
  padding: 9px;
  color: inherit;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 4px;
  cursor: pointer;
}

.nav-toggle__line {
  display: block;
  width: 100%;
  height: 2px;
  margin-block: 4px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  display: grid;
  min-height: 90vh;
  min-height: 90svh;
  place-items: center;
  overflow: hidden;
  color: var(--color-surface);
  background-image: linear-gradient(rgb(16 16 16 / 45%), rgb(16 16 16 / 45%)), url("/assets/img/hero-schoenheit-und-stil.jpg");
  background-position: center;
  background-size: cover;
}

.hero__content {
  width: min(calc(100% - 2rem), 980px);
  padding-block: 8rem 5rem;
  text-align: center;
}

.hero__title {
  margin-bottom: 0;
  font-family: var(--font-heading);
  font-weight: 400;
  text-wrap: balance;
  text-shadow: 0 3px 18px rgb(0 0 0 / 35%);
}

.hero__scroll {
  position: absolute;
  bottom: clamp(1.5rem, 5vh, 3.25rem);
  left: 50%;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--color-surface);
  transform: translateX(-50%);
}

.hero__chevron {
  width: 18px;
  height: 18px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-4px) rotate(45deg);
  animation: scroll-cue 1.8s ease-in-out infinite;
}

@keyframes scroll-cue {
  0%,
  100% {
    opacity: 0.45;
    transform: translateY(-5px) rotate(45deg);
  }

  50% {
    opacity: 1;
    transform: translateY(4px) rotate(45deg);
  }
}

.section {
  padding-block: var(--section-space);
}

.section--surface {
  background: var(--color-surface);
}

.section__header {
  max-width: 720px;
  margin: 0 auto clamp(2rem, 5vw, 3.5rem);
  text-align: center;
}

.section__kicker,
.script-heading {
  color: var(--color-accent);
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 400;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
}

.card {
  overflow: hidden;
  background: var(--color-surface);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}

.card__body {
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.card__title {
  margin-bottom: 1rem;
}

.welcome-section {
  padding-bottom: 0;
}

.welcome-card {
  max-width: 900px;
  margin-inline: auto;
  padding: clamp(2rem, 6vw, 4.5rem);
  text-align: center;
}

.welcome-card .section__kicker {
  margin-bottom: 0.5rem;
}

.welcome-card h2 {
  margin-bottom: 1.25rem;
  letter-spacing: 0.05em;
}

.welcome-card p:last-child {
  max-width: 720px;
  margin: 0 auto;
}

.services-grid {
  align-items: stretch;
}

.service-card {
  display: flex;
  flex-direction: column;
}

.service-card__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.service-card__body {
  display: flex;
  flex: 1;
  align-items: flex-start;
  flex-direction: column;
}

.service-card__body p {
  margin-bottom: 1.5rem;
}

.service-card__body .text-link {
  margin-top: auto;
}

.service-card__body--without-title {
  padding-top: clamp(2.35rem, 5vw, 4rem);
}

.location-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: clamp(2rem, 7vw, 5rem);
}

.image-stack {
  display: grid;
  gap: clamp(1rem, 3vw, 1.75rem);
}

.image-stack img,
.location-feature-image,
.portrait-image {
  width: 100%;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}

.image-stack img {
  max-height: 650px;
  object-fit: cover;
}

.location-content .script-heading {
  margin-bottom: 1rem;
}

.location-feature-image {
  max-height: 650px;
  object-fit: cover;
}

.map-embed {
  display: block;
  width: 100%;
  height: 300px;
  border: 0;
  border-radius: var(--radius-card);
}

.map-embed__link {
  margin: 0.5rem 0 clamp(2rem, 5vw, 3rem);
  color: var(--color-muted);
  font-size: 0.82rem;
  text-align: right;
}

.map-embed__link a {
  color: inherit;
}

.section-divider {
  margin: clamp(2.5rem, 6vw, 4.5rem) 0;
  border: 0;
  border-top: 1px solid rgb(43 43 43 / 14%);
}

.address-block {
  margin-bottom: 0;
  color: var(--color-text);
  font-style: normal;
}

.address-block a {
  font-weight: 600;
}

.about-title {
  margin-bottom: 1.25rem;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  letter-spacing: 0.04em;
}

.portrait-image {
  margin-top: 1.5rem;
}

.page-header {
  margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
  text-align: center;
}

.page-header h1 {
  margin-bottom: 1rem;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
}

.page-header h2 {
  margin-bottom: 0;
  color: var(--color-accent);
  font-family: var(--font-heading);
  font-weight: 400;
}

.price-list-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: clamp(1rem, 2.5vw, 1.75rem);
}

.price-list-card {
  padding: clamp(1.5rem, 3vw, 2rem);
}

.price-list__title {
  margin-bottom: 1.25rem;
  color: var(--color-accent);
  font-size: 1.25rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.price-list {
  margin: 0;
}

.price-list__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  padding-block: 0.7rem;
  border-bottom: 1px solid rgb(43 43 43 / 12%);
}

.price-list__row:first-child {
  padding-top: 0;
}

.price-list__row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.price-list dt,
.price-list dd {
  margin: 0;
}

.price-list dd {
  font-weight: 600;
  text-align: right;
  white-space: nowrap;
}

.price-callout {
  margin-top: clamp(1.5rem, 4vw, 2.5rem);
  padding: clamp(1.25rem, 3vw, 1.75rem);
  color: var(--color-accent);
  background: var(--color-surface);
  border: 2px solid var(--color-accent);
  border-radius: var(--radius-card);
  text-align: center;
}

.price-callout p {
  margin-bottom: 0;
  font-weight: 700;
}

.service-list {
  padding-top: 0;
}

.service-list__inner {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
}

.service-detail {
  padding: clamp(1.75rem, 5vw, 3.5rem);
}

.service-detail h2,
.service-detail h3 {
  max-width: 820px;
  margin-bottom: 1.25rem;
}

.service-detail > p {
  max-width: 840px;
}

.service-detail__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}

.service-detail__layout--reverse .service-detail__copy {
  grid-column: 2;
  grid-row: 1;
}

.service-detail__layout--reverse .gallery-grid {
  grid-column: 1;
  grid-row: 1;
}

.service-detail__copy p:last-child {
  margin-bottom: 0;
}

.gallery-grid {
  display: grid;
  gap: clamp(1rem, 2.5vw, 1.75rem);
  margin-top: clamp(1.5rem, 4vw, 2.5rem);
}

.gallery-grid + p {
  margin-top: clamp(2rem, 5vw, 3.25rem);
}

.gallery-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gallery-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-grid--single {
  grid-template-columns: minmax(0, 420px);
  justify-content: center;
}

.service-detail__layout .gallery-grid {
  margin-top: 0;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-card);
}

.gallery-grid--single img,
.gallery-grid--landscape img {
  aspect-ratio: auto;
}

.appointment-cta {
  padding: clamp(2rem, 6vw, 4.5rem);
  color: var(--color-surface);
  background: var(--color-accent);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  text-align: center;
}

.appointment-cta p {
  max-width: 780px;
  margin-right: auto;
  margin-left: auto;
}

.appointment-cta p:first-child {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 700;
}

.appointment-cta__contact {
  margin-top: 2rem;
  margin-bottom: 0;
}

.appointment-cta a {
  color: var(--color-surface);
  font-weight: 700;
}

.appointment-cta__phone {
  display: inline-block;
  margin: 0.25rem;
  padding: 0.6rem 1rem;
  color: var(--color-accent) !important;
  background: var(--color-surface);
  border-radius: 999px;
  text-decoration: none;
}

.contact-header .section__kicker {
  margin-bottom: 0.5rem;
}

.contact-header h1 {
  margin-bottom: 0;
}

.contact-map {
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.contact-map .map-embed__link {
  margin-bottom: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
}

.contact-card {
  padding: clamp(1.75rem, 4vw, 3rem);
}

.contact-card h2,
.contact-address > strong {
  margin-bottom: 1.5rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.2;
}

.contact-address {
  color: var(--color-text);
  font-style: normal;
}

.contact-address > strong,
.contact-address > span {
  display: block;
}

.contact-address a {
  font-weight: 600;
}

.opening-hours {
  width: 100%;
  border-collapse: collapse;
}

.opening-hours th,
.opening-hours td {
  padding: 0.85rem 0;
  border-bottom: 1px solid rgb(43 43 43 / 12%);
  vertical-align: top;
}

.opening-hours tr:last-child th,
.opening-hours tr:last-child td {
  border-bottom: 0;
}

.opening-hours th {
  padding-right: 1rem;
  font-weight: 600;
  text-align: left;
}

.opening-hours td {
  text-align: right;
}

.error-page {
  display: grid;
  min-height: calc(100vh - 240px);
  place-items: center;
}

.error-card {
  max-width: 760px;
  padding: clamp(2rem, 6vw, 4.5rem);
  text-align: center;
}

.error-card h1 {
  margin-bottom: 1.25rem;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
}

.error-card__link {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.7rem 1.15rem;
  color: var(--color-surface);
  background: var(--color-accent);
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
}

.text-link {
  color: var(--color-accent);
  font-weight: 700;
}

.site-footer {
  padding-block: 2rem;
  color: rgb(255 255 255 / 82%);
  background: var(--color-dark);
  text-align: center;
}

.site-footer p {
  margin-bottom: 0.25rem;
}

.site-footer p:last-child {
  margin-bottom: 0;
}

.site-footer a {
  color: var(--color-surface);
}

@media (min-width: 861px) {
  .hero {
    background-attachment: fixed;
  }
}

@media (max-width: 860px) {
  body.nav-open::after {
    position: fixed;
    z-index: 80;
    inset: 0;
    background: rgb(16 16 16 / 45%);
    content: "";
  }

  .site-header__inner {
    min-height: 74px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    padding: 1.25rem max(1rem, calc((100% - var(--content-width)) / 2));
    color: var(--color-text);
    background: var(--color-surface);
    box-shadow: var(--shadow-header);
  }

  .site-nav.is-open {
    display: flex;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
  }

  .site-nav__link {
    padding: 0.85rem 0;
    font-size: 1rem;
  }

  .site-nav .site-nav__link--pill {
    padding-inline: 1rem;
    color: var(--color-surface);
    background: var(--color-accent);
    border-color: var(--color-accent);
    text-align: center;
  }

  .site-nav__link:not(.site-nav__link--pill)::after {
    display: none;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .location-layout {
    grid-template-columns: 1fr;
  }

  .price-list-grid,
  .gallery-grid--two,
  .gallery-grid--three {
    grid-template-columns: 1fr;
  }

  .service-detail__layout {
    grid-template-columns: 1fr;
  }

  .service-detail__layout--reverse .service-detail__copy,
  .service-detail__layout--reverse .gallery-grid {
    grid-column: auto;
    grid-row: auto;
  }

  .service-detail__layout .gallery-grid {
    margin-top: clamp(1.5rem, 4vw, 2.5rem);
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid img {
    width: min(100%, 560px);
    margin-inline: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
