/* ————————————————————————————————————————————————
   Claudia Fischer · Permanent Make-up Dresden
   Hand-crafted rebuild — rosé drench, espresso ink,
   inscriptional Marcellus + Mulish, hairline motifs.
   ———————————————————————————————————————————————— */

@font-face {
  font-family: "Marcellus";
  src: url("../fonts/marcellus-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Mulish";
  src: url("../fonts/mulish-var.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Mulish";
  src: url("../fonts/mulish-var-italic.woff2") format("woff2");
  font-weight: 400 900;
  font-style: italic;
  font-display: swap;
}

:root {
  /* brand */
  --rose:        oklch(76% 0.055 38);   /* echtes Logo-Rosé  */
  --rose-strong: oklch(70% 0.075 35);
  --rose-line:   oklch(62% 0.08 35);
  --bg:          oklch(97.6% 0.009 38);
  --surface:     oklch(94.8% 0.02 38);
  --ink:         oklch(26% 0.03 35);
  --ink-soft:    oklch(40% 0.032 35);
  --cream:       oklch(95% 0.025 85);
  --cream-soft:  oklch(88% 0.035 80);
  --gold:        oklch(72% 0.095 88);   /* Linien, nie Fließtext */
  --gold-ink:    oklch(47% 0.09 82);

  --font-display: "Marcellus", "Times New Roman", serif;
  --font-body: "Mulish", system-ui, sans-serif;

  --fs-hero: clamp(2.75rem, 2.9vw + 2rem, 4.6rem);
  --fs-h2: clamp(2rem, 1.8vw + 1.4rem, 3rem);
  --fs-h3: clamp(1.3rem, 0.6vw + 1.1rem, 1.6rem);
  --fs-body: 1.0625rem;

  --space: clamp(4.5rem, 9vw, 8.5rem);
  --radius: 20px;
  --ease-out: cubic-bezier(0.19, 1, 0.22, 1);

  /* z-scale */
  --z-sticky: 40;
  --z-modal: 60;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 450;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.12;
  text-wrap: balance;
}

p { max-width: 66ch; text-wrap: pretty; }

a { color: inherit; }

.container {
  width: min(1140px, 100% - 2.5rem);
  margin-inline: auto;
}

/* ——— buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.9rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out),
    background-color 0.25s ease, color 0.25s ease;
  min-height: 48px;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: var(--ink);
  color: var(--cream);
}
.btn-primary:hover { box-shadow: 0 14px 30px -12px oklch(26% 0.03 35 / 0.55); }
.btn-ghost {
  border-color: oklch(26% 0.03 35 / 0.45);
  color: var(--ink);
  background: transparent;
}
.btn-ghost:hover { border-color: var(--ink); background: oklch(26% 0.03 35 / 0.05); }
.btn-cream {
  background: var(--cream);
  color: var(--ink);
}
.btn-cream:hover { box-shadow: 0 14px 30px -12px oklch(0% 0 0 / 0.4); }

.btn svg { flex: none; }

/* ——— header ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background: color-mix(in oklab, var(--rose) 100%, transparent);
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
}
.site-header.scrolled {
  background: var(--bg);
  box-shadow: 0 1px 0 oklch(26% 0.03 35 / 0.12), 0 8px 24px -18px oklch(26% 0.03 35 / 0.4);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 0.85rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}
.brand svg { width: 40px; height: 44px; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  line-height: 1.15;
}
.brand-name small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-ink);
}
.site-nav { display: flex; gap: 1.9rem; }
.site-nav a {
  text-decoration: none;
  font-weight: 650;
  font-size: 0.98rem;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}
.site-nav a:hover { opacity: 1; }
.header-call { padding: 0.62rem 1.35rem; min-height: 42px; font-size: 0.95rem; }
.call-short { display: none; }
@media (max-width: 920px) {
  .site-nav { display: none; }
}
@media (max-width: 640px) {
  .brand-name { font-size: 1.05rem; white-space: nowrap; }
  .brand svg { width: 34px; height: 38px; }
  .call-long { display: none; }
  .call-short { display: inline; }
}

/* ——— hero ——— */
.hero {
  background: var(--rose);
  overflow: clip;
  position: relative;
  padding-block: 0; /* zentriert über min-height, nicht über Section-Padding */
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  align-content: center;
  /* füllt den Viewport unterhalb des Headers, Inhalt mittig */
  min-height: min(calc(100svh - 72px), 860px);
  padding-block: clamp(2rem, 4vw, 3rem);
}
.hero h1 {
  font-size: var(--fs-hero);
  letter-spacing: 0.005em;
  margin-bottom: 1.4rem;
}
.hero h1 em {
  font-style: normal;
  color: oklch(33% 0.075 25); /* tiefes Rosenholz – 4.6:1 auf Rosé */
}
.hero-lede {
  font-size: clamp(1.1rem, 0.4vw + 1rem, 1.25rem);
  line-height: 1.65;
  max-width: 34rem;
  margin-bottom: 2.2rem;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 2.6rem; }
.hero-trust {
  list-style: none;
  display: grid;
  gap: 0.55rem;
  font-size: 0.95rem;
  font-weight: 600;
}
.hero-trust li { display: flex; align-items: center; gap: 0.65rem; }
.hero-trust svg { flex: none; }

.hero-figure { position: relative; }
.hero-figure .arch {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 30px 60px -30px oklch(26% 0.03 35 / 0.55);
}
.hero-figure .arch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* doppelte Haarlinie – Echo der Logo-Linien */
.hero-figure::before {
  content: "";
  position: absolute;
  inset: -14px 14px 14px -14px;
  border: 1px solid var(--cream);
  border-radius: calc(var(--radius) + 6px);
  opacity: 0.75;
  pointer-events: none;
}
@media (max-width: 820px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 2.25rem; }
  .hero-figure { order: -1; max-width: 420px; }
  .hero-figure .arch { aspect-ratio: 4 / 3; }
}

/* Logo-Strich zeichnet sich beim Laden */
.js .brand svg path {
  stroke-dasharray: 620;
  stroke-dashoffset: 620;
  animation: draw 2.6s var(--ease-out) 0.2s forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  .js .brand svg path { animation: none; stroke-dashoffset: 0; }
}

/* ——— section scaffold ——— */
section { padding-block: var(--space); }

.section-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head h2 { font-size: var(--fs-h2); }
.section-head p { margin-top: 1rem; color: var(--ink-soft); font-size: 1.05rem; }

/* Der feine Strich – drei Härchenlinien als Ornament */
.strokes { display: block; color: var(--gold-ink); }
.on-dark .strokes, .on-rose .strokes { color: var(--gold); }

/* ——— Behandlungen ——— */
.treatments-list { list-style: none; border-top: 1px solid oklch(26% 0.03 35 / 0.15); }
.treatment {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr) auto;
  gap: clamp(1.2rem, 3vw, 2.4rem);
  align-items: center;
  padding-block: 1.6rem;
  border-bottom: 1px solid oklch(26% 0.03 35 / 0.15);
  transition: background-color 0.3s ease;
}
.treatment:hover { background: oklch(94.8% 0.02 38 / 0.7); }
.treatment-thumb {
  width: 104px;
  height: 104px;
  border-radius: 16px;
  object-fit: cover;
}
.treatment h3 { font-size: var(--fs-h3); margin-bottom: 0.3rem; }
.treatment-desc { color: var(--ink-soft); max-width: 44ch; }
.treatment-meta { text-align: right; display: grid; gap: 0.15rem; justify-items: end; }
.treatment-price {
  font-family: var(--font-display);
  font-size: 1.9rem;
  line-height: 1;
}
.treatment-duration {
  font-size: 0.88rem;
  font-weight: 650;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}
.treatments-note {
  margin-top: 1.8rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}
@media (max-width: 640px) {
  .treatment { grid-template-columns: 72px 1fr; }
  .treatment-thumb { width: 72px; height: 72px; }
  .treatment-meta {
    grid-column: 2;
    justify-items: start;
    text-align: left;
    grid-auto-flow: column;
    align-items: baseline;
    gap: 0.8rem;
  }
  .treatment-price { font-size: 1.6rem; }
}

/* ——— Ergebnisse (Espresso-Band) ——— */
.results {
  background: var(--ink);
  color: var(--cream);
  position: relative;
  overflow: clip;
}
.results-lineart {
  position: absolute;
  right: clamp(1rem, 4vw, 4rem);
  bottom: -30px;
  width: clamp(150px, 16vw, 230px);
  color: var(--cream);
  opacity: 0.28;
  pointer-events: none;
}
.results .section-head p { color: var(--cream-soft); }
/* ——— Vorher/Nachher-Karussell ——— */
.carousel { position: relative; }
.carousel-track {
  display: flex;
  gap: clamp(1rem, 2.5vw, 2rem);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  /* erstes/letztes Bild kann mittig stehen */
  padding-inline: max(7.5%, calc((100% - 560px) / 2));
  padding-block: 0.25rem;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track:focus-visible { outline: 2px solid var(--cream); outline-offset: 4px; }
.carousel-slide {
  flex: 0 0 min(560px, 85%);
  scroll-snap-align: center;
  margin: 0;
}
.carousel-slide figcaption {
  margin-top: 0.85rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--cream-soft);
}
.g-item {
  display: block;
  width: 100%;
  border: 0;
  background: none;
  padding: 0;
  cursor: zoom-in;
  border-radius: var(--radius);
  overflow: hidden;
}
.g-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}
.g-item:hover img { transform: scale(1.03); }
.g-item:focus-visible { outline: 2px solid var(--cream); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  .g-item img { transition: none; }
  .g-item:hover img { transform: none; }
}
.car-nav {
  position: absolute;
  /* vertikal mittig auf dem quadratischen Bild: halbe Slide-Breite */
  top: min(280px, calc(42.5vw - 1rem));
  translate: 0 -50%;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 0;
  background: var(--cream);
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  transition: transform 0.3s var(--ease-out), opacity 0.25s ease;
}
.car-nav:hover { transform: scale(1.07); }
.car-nav[disabled] { opacity: 0.35; cursor: default; }
.car-nav[disabled]:hover { transform: none; }
.car-prev { left: clamp(0.25rem, 2vw, 1.5rem); }
.car-next { right: clamp(0.25rem, 2vw, 1.5rem); }
@media (prefers-reduced-motion: reduce) {
  .car-nav { transition: none; }
  .car-nav:hover { transform: none; }
}
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.4rem;
}
.carousel-dots button {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid var(--cream-soft);
  background: transparent;
  cursor: pointer;
  padding: 0;
}
.carousel-dots button[aria-selected="true"] { background: var(--cream); border-color: var(--cream); }
.carousel-dots button:focus-visible { outline: 2px solid var(--cream); outline-offset: 3px; }
.results-note { margin-top: 2.2rem; color: var(--cream-soft); font-size: 0.95rem; }

/* Lightbox */
.lightbox {
  border: 0;
  padding: 0;
  margin: auto; /* der globale Reset entfernt das UA-Zentrieren */
  background: transparent;
  max-width: min(94vw, 960px);
  overflow: visible;
}
.lightbox::backdrop { background: oklch(15% 0.02 35 / 0.88); }
.lightbox figure { margin: 0; }
.lightbox img {
  border-radius: var(--radius);
  max-height: 80vh;
  width: auto;
  max-width: 100%;
  margin-inline: auto;
  touch-action: pan-y;
}
.lightbox figcaption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.5rem;
  margin-top: 0.9rem;
  color: var(--cream);
  font-size: 0.98rem;
  font-weight: 600;
}
.lb-count { color: var(--cream-soft); font-variant-numeric: tabular-nums; flex: none; }
.lightbox-close,
.lb-nav {
  position: absolute;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 0;
  background: var(--cream);
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  transition: transform 0.3s var(--ease-out);
}
.lightbox-close:hover, .lb-nav:hover { transform: scale(1.07); }
@media (prefers-reduced-motion: reduce) {
  .lightbox-close, .lb-nav { transition: none; }
  .lightbox-close:hover, .lb-nav:hover { transform: none; }
}
.lightbox-close { top: -16px; right: -16px; font-size: 1.35rem; line-height: 1; }
.lb-prev { left: -16px; top: 50%; translate: 0 -50%; }
.lb-next { right: -16px; top: 50%; translate: 0 -50%; }
@media (max-width: 720px) {
  .lightbox-close { top: -12px; right: 4px; }
  .lb-prev { left: 4px; }
  .lb-next { right: 4px; }
}

/* ——— Ablauf ——— */
.steps {
  list-style: none;
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(2rem, 4vw, 3rem);
  position: relative;
}
.step { counter-increment: step; position: relative; }
.step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: var(--rose-line);
  display: block;
  line-height: 1;
  margin-bottom: 0.9rem;
}
.step h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.step p { color: var(--ink-soft); font-size: 0.98rem; }

/* ——— Über mich ——— */
.about { background: var(--surface); }
.about-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}
.about-figure { position: relative; }
.about-figure img {
  border-radius: var(--radius);
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
  width: 100%;
  box-shadow: 0 26px 50px -28px oklch(26% 0.03 35 / 0.5);
}
.about-figure::after {
  content: "";
  position: absolute;
  inset: 14px -14px -14px 14px;
  border: 1px solid var(--rose-line);
  border-radius: calc(var(--radius) + 6px);
  z-index: -1;
}
.about h2 { font-size: var(--fs-h2); margin-bottom: 1.4rem; }
.about-text p + p { margin-top: 1rem; }
.about-name {
  margin-top: 1.8rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.03em;
}
.about-role {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin-top: 0.2rem;
}
.about-insta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.6rem;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid var(--rose-line);
  padding-bottom: 2px;
}
.about-insta:hover { color: var(--gold-ink); }
@media (max-width: 820px) {
  .about-inner { grid-template-columns: 1fr; }
  .about-figure { max-width: 380px; }
}

/* ——— FAQ ——— */
.faq-list { border-top: 1px solid oklch(26% 0.03 35 / 0.15); max-width: 780px; }
.faq-item { border-bottom: 1px solid oklch(26% 0.03 35 / 0.15); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding-block: 1.35rem;
  font-family: var(--font-display);
  font-size: 1.22rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--font-body);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--gold-ink);
  transition: transform 0.35s var(--ease-out);
  flex: none;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding-bottom: 1.5rem; color: var(--ink-soft); max-width: 62ch; }

/* ——— Kontakt ——— */
.contact { background: var(--rose); }
.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.contact h2 { font-size: var(--fs-h2); margin-bottom: 1.2rem; }
.contact-lede { margin-bottom: 2.2rem; font-size: 1.08rem; }
.contact-ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.contact-details {
  display: grid;
  gap: 1.6rem;
  padding: clamp(1.6rem, 3vw, 2.4rem);
  background: oklch(97.6% 0.009 38 / 0.55);
  border-radius: var(--radius);
}
.contact-details h3 {
  font-size: 1.05rem;
  font-family: var(--font-body);
  font-weight: 800;
  letter-spacing: 0.02em;
  margin-bottom: 0.3rem;
}
.contact-details p { font-size: 1rem; }
.contact-details a { font-weight: 700; text-underline-offset: 3px; }
.contact-details .maps-link {
  display: inline-block;
  margin-top: 0.4rem;
  font-size: 0.95rem;
}
@media (max-width: 820px) {
  .contact-inner { grid-template-columns: 1fr; }
}

/* ——— footer ——— */
.site-footer {
  background: var(--ink);
  color: var(--cream-soft);
  padding-block: 2.8rem;
  font-size: 0.95rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem 2.5rem;
  align-items: center;
  justify-content: space-between;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 1.6rem; }
.footer-links a { color: var(--cream); text-decoration: none; font-weight: 650; }
.footer-links a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ——— reveal on scroll ——— */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ——— legal pages ——— */
.legal-main { padding-block: clamp(3rem, 6vw, 5rem); }
.legal-main h1 { font-size: clamp(2.2rem, 4vw, 3rem); margin-bottom: 2rem; }
.legal-main h2 { font-size: 1.45rem; margin: 2.2rem 0 0.8rem; }
.legal-main p { margin-bottom: 0.9rem; color: var(--ink-soft); }
.legal-main a { word-break: break-word; }
.back-link {
  display: inline-block;
  margin-bottom: 2rem;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid var(--rose-line);
}
