/* Sara Couto Beauty – Entwurf
   Espresso (ihr 🤎), Nude (ihre French-Nägel), Rouge (der rote Lack vorher) */
:root {
  --esp: #2B1E19;
  --esp-2: #35261F;
  --nude: #EFE2DB;
  --nude-2: #E6D5CC;
  --rouge: #B3162E;
  --rouge-hover: #9C1127;
  --hell-1: rgba(246, 236, 230, .94);
  --hell-2: rgba(246, 236, 230, .70);
  --hell-3: rgba(246, 236, 230, .50);
  --dunkel-1: rgba(43, 30, 25, .94);
  --dunkel-2: rgba(43, 30, 25, .70);
  --dunkel-3: rgba(43, 30, 25, .52);
  --serif: "Bodoni Moda", "Didot", Georgia, serif;
  --sans: "Instrument Sans", system-ui, -apple-system, sans-serif;
  --expo: cubic-bezier(0.19, 1, 0.22, 1);
  --rand: 20px;
  --luft: 72px;
}
@media (min-width: 900px) {
  :root { --rand: 40px; --luft: 128px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--esp);
  color: var(--hell-1);
  font: 400 17px/1.55 var(--sans);
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, figure, blockquote, dl, dd { margin: 0; }
button, input { font: inherit; color: inherit; }

.rand { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--rand); }

/* Sprachwechsel: Text blendet kurz aus */
body.wechselt [data-t] { opacity: 0; }
[data-t] { transition: opacity 160ms ease-out; }

/* ---------- Kopf ---------- */
.kopf {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: 64px; padding: 0 max(var(--rand), calc((100vw - 1200px) / 2 + var(--rand)));
  display: flex; align-items: center; justify-content: space-between;
  transition: background-color 250ms ease-out, backdrop-filter 250ms ease-out, border-color 250ms ease-out;
  border-bottom: 1px solid transparent;
}
.kopf.gescrollt {
  background: rgba(43, 30, 25, .86);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-bottom-color: rgba(246, 236, 230, .08);
}
.marke {
  font: 500 22px/1 var(--serif); letter-spacing: -0.01em; padding: 10px 0;
  text-decoration: none; color: var(--hell-1);
}
.sprache {
  display: flex; padding: 3px; border-radius: 999px;
  border: 1px solid rgba(246, 236, 230, .22);
}
.sprache button {
  appearance: none; border: 0; background: transparent; cursor: pointer;
  min-width: 44px; height: 32px; padding: 0 12px; border-radius: 999px;
  font: 500 13px/1 var(--sans); letter-spacing: 0.04em; color: var(--hell-2);
  transition: background-color 150ms ease-out, color 150ms ease-out;
}
.sprache button[aria-pressed="true"] { background: var(--nude); color: var(--esp); }
.sprache button:focus-visible { outline: 2px solid var(--nude); outline-offset: 2px; }

/* ---------- Einstieg ---------- */
.start { padding: 72px 0 var(--luft); }
.start-raster { display: grid; gap: 24px; }
.spiegel { width: 100%; position: relative; }
.vn {
  position: relative; overflow: hidden; touch-action: pan-y;
  user-select: none; -webkit-user-select: none; cursor: ew-resize;
  background: var(--esp-2);
}
.vn img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.vn-nachher { clip-path: inset(0 0 0 var(--p)); }
.vn-linie {
  position: absolute; top: 0; bottom: 0; left: var(--p); width: 2px; margin-left: -1px;
  background: rgba(246, 236, 230, .9);
}
.vn-griff {
  position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px;
  border-radius: 50%; background: var(--rouge);
  box-shadow: 0 0 0 4px rgba(246, 236, 230, .9);
}
.vn-griff::before, .vn-griff::after {
  content: ""; position: absolute; top: 50%; width: 0; height: 0; margin-top: -5px;
  border: 5px solid transparent;
}
.vn-griff::before { left: 8px; border-right: 6px solid var(--hell-1); border-left-width: 0; }
.vn-griff::after { right: 8px; border-left: 6px solid var(--hell-1); border-right-width: 0; }
.vn-regler {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0;
  opacity: 0; pointer-events: none;
}
.vn:has(.vn-regler:focus-visible) .vn-griff { box-shadow: 0 0 0 4px var(--nude), 0 0 0 7px var(--rouge); }

.vn-spiegel {
  height: min(41svh, 560px); min-height: 300px;
  border-radius: 999px 999px 6px 6px;
}
.spiegel-satz {
  position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 2; pointer-events: none;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 8px;
  font: italic 400 14px/1.15 var(--serif); letter-spacing: -0.01em;
}
.spiegel-satz span {
  max-width: calc(50% - 4px); padding: 8px 12px; border-radius: 18px;
  background: rgba(43, 30, 25, .66); color: var(--hell-1);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: opacity 200ms ease-out;
}
.satz-rechts { text-align: right; }
.spiegel-satz:has(.an) span:not(.an) { opacity: .45; }

h1 {
  font: 400 44px/1.02 var(--serif); letter-spacing: -0.025em;
  font-variation-settings: "opsz" 96; text-wrap: balance;
}
.lead { margin-top: 16px; max-width: 34em; color: var(--hell-2); }
.start-aktion { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.sprachen { margin-top: 24px; font-size: 15px; color: var(--hell-3); }

.knopf {
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 24px;
  border-radius: 999px; background: var(--rouge); color: #F6ECE6;
  font: 500 16px/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: background-color 150ms ease-out, transform 150ms ease-out;
}
.knopf:hover { background: var(--rouge-hover); }
.knopf:active { transform: scale(.98); }
.knopf:focus-visible { outline: 2px solid var(--nude); outline-offset: 3px; }
.knopf .nr { font-variant-numeric: tabular-nums; opacity: .8; }
.knopf-hell { background: transparent; box-shadow: inset 0 0 0 1px rgba(246, 236, 230, .35); }
.knopf-hell:hover { background: rgba(246, 236, 230, .08); }
.textlink {
  color: var(--hell-1); text-underline-offset: 4px; text-decoration-thickness: 1px;
  padding: 8px 0; transition: color 150ms ease-out;
}
.textlink:hover { color: var(--nude-2); }

@media (min-width: 900px) {
  .start { padding-top: 104px; }
  .start-raster { grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: end; }
  .spiegel { order: 2; }
  .start-text { order: 1; padding-bottom: 56px; }
  .vn-spiegel { height: min(80svh, 740px); }
  .spiegel-satz { left: 24px; right: 24px; bottom: 24px; font-size: 18px; }
  h1 { font-size: clamp(64px, 6.4vw, 96px); line-height: 0.98; }
  .lead { font-size: 18px; }
}

/* ---------- helle Abschnitte ---------- */
.hell { background: var(--nude); color: var(--dunkel-1); }
section { padding: var(--luft) 0; }
h2 {
  font: 400 40px/1.05 var(--serif); letter-spacing: -0.02em;
  font-variation-settings: "opsz" 96;
}
.intro { margin-top: 16px; max-width: 34em; }
.hell .intro { color: var(--dunkel-2); }
.termin .intro, .wandel .intro { color: var(--hell-2); }
@media (min-width: 900px) { h2 { font-size: 64px; } }

/* Angebot */
.karte { margin-top: 40px; display: grid; gap: 40px; }
.gruppe h3 {
  font: italic 400 26px/1.1 var(--serif); letter-spacing: -0.01em;
  padding-bottom: 16px; border-bottom: 1px solid rgba(43, 30, 25, .28);
}
.gruppe ul { list-style: none; margin: 0; padding: 0; }
.gruppe li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 16px 0; border-bottom: 1px solid rgba(43, 30, 25, .12);
}
.preis {
  flex-shrink: 0; font-size: 14px; color: var(--dunkel-3);
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
@media (min-width: 900px) {
  .karte { grid-template-columns: repeat(3, 1fr); gap: 40px; align-items: start; }
}

/* ---------- Vorher und Nachher ---------- */
.wandel { padding-bottom: 0; }
.zitat { margin-top: 40px; max-width: 18em; }
.zitat p {
  font: italic 400 32px/1.15 var(--serif); letter-spacing: -0.015em; color: var(--hell-1);
}
.zitat cite { display: block; margin-top: 16px; font: 400 15px/1.4 var(--sans); font-style: normal; color: var(--hell-3); }
.paare { margin-top: 40px; display: grid; gap: 40px; }
.paar .vn { aspect-ratio: 4 / 5; border-radius: 6px; }
.paar .vn-breit { aspect-ratio: 4 / 3; }
.paar figcaption { padding-top: 16px; color: var(--hell-2); }
.paar figcaption strong { font-weight: 500; color: var(--hell-1); margin-right: 8px; }
.marke-v, .marke-n {
  position: absolute; top: 16px; z-index: 2; pointer-events: none;
  padding: 6px 12px; border-radius: 999px;
  font: 500 13px/1 var(--sans); letter-spacing: 0.02em;
  background: rgba(43, 30, 25, .62); color: var(--hell-1);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.marke-v { left: 16px; }
.marke-n { right: 16px; }
.band { margin-top: var(--luft); position: relative; }
.band img { width: 100%; height: 72svh; max-height: 760px; object-fit: cover; object-position: 50% 35%; }
.band figcaption {
  padding-top: 16px; padding-bottom: 24px;
  font: italic 400 20px/1.3 var(--serif); color: var(--hell-2);
}
@media (min-width: 900px) {
  .zitat { margin-top: 40px; }
  .zitat p { font-size: 56px; }
  .paare { grid-template-columns: 4fr 5fr; align-items: end; gap: 40px; }
}

/* ---------- Boutique ---------- */
.boutique-raster { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.boutique-text { grid-column: 1 / -1; margin-bottom: 24px; }
.boutique-text p { margin-top: 16px; max-width: 32em; color: var(--dunkel-2); }
.boutique-text .leise { color: var(--dunkel-3); }
.boutique figure img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 4px; }
.b-gross { grid-column: 1 / -1; }
.b-gross img { aspect-ratio: 4 / 5; object-position: 50% 30%; }
.boutique figcaption { padding-top: 8px; font-size: 14px; color: var(--dunkel-3); }
@media (min-width: 900px) {
  .boutique-raster { grid-template-columns: 5fr 4fr 4fr; gap: 24px; align-items: end; }
  .boutique-text { grid-column: 1 / -1; display: grid; grid-template-columns: 5fr 8fr; gap: 24px; align-items: end; margin-bottom: 40px; }
  .boutique-text h2 { grid-row: span 2; }
  .boutique-text p { margin-top: 0; }
  .b-gross { grid-column: auto; }
}

/* ---------- Termin ---------- */
.termin { background: var(--esp); }
.termin-raster { display: grid; gap: 40px; }
.termin h2 { font-size: 56px; }
.baukasten {
  padding: 24px; border-radius: 8px; background: var(--esp-2);
  box-shadow: inset 0 0 0 1px rgba(246, 236, 230, .08);
}
.baukasten fieldset { border: 0; margin: 0; padding: 0; }
.baukasten legend, .feld > span, .vorschau-titel {
  font-size: 14px; color: var(--hell-3); padding: 0; margin-bottom: 8px;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips span {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px;
  border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(246, 236, 230, .28);
  font-size: 15px; color: var(--hell-1);
  transition: background-color 150ms ease-out, color 150ms ease-out, box-shadow 150ms ease-out;
}
.chips label:hover span { box-shadow: inset 0 0 0 1px rgba(246, 236, 230, .6); }
.chips input:checked + span { background: var(--nude); color: var(--esp); box-shadow: none; }
.chips input:focus-visible + span { outline: 2px solid var(--nude); outline-offset: 2px; }
.felder { margin-top: 24px; display: grid; gap: 16px; }
.feld { display: grid; }
.feld input {
  height: 48px; padding: 0 16px; border: 0; border-radius: 6px;
  background: rgba(246, 236, 230, .07); box-shadow: inset 0 0 0 1px rgba(246, 236, 230, .16);
  color: var(--hell-1); font-size: 16px;
  transition: box-shadow 150ms ease-out;
}
.feld input::placeholder { color: var(--hell-3); }
.feld input:focus { outline: none; box-shadow: inset 0 0 0 1px var(--nude); }
.vorschau-titel { margin-top: 24px; }
.vorschau {
  padding: 16px; border-radius: 6px 6px 6px 0; background: var(--nude); color: var(--esp);
  font-size: 16px; line-height: 1.5; white-space: pre-line;
}
.termin-aktion { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 16px; }
.infos { display: grid; gap: 24px; }
.infos dt { font-size: 14px; color: var(--hell-3); margin-bottom: 4px; }
.infos dd { color: var(--hell-1); }
.infos a { display: inline-block; padding: 4px 0; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.infos a[href^="tel"] { font-variant-numeric: tabular-nums; }
.platzhalter { color: var(--hell-3) !important; font-style: italic; }
@media (min-width: 900px) {
  .termin-raster { grid-template-columns: 7fr 4fr; column-gap: 64px; }
  .termin-kopf { grid-column: 1 / -1; }
  .termin h2 { font-size: 96px; }
  .baukasten { padding: 40px; }
  .felder { grid-template-columns: 1fr 1fr; }
  .infos { align-content: start; padding-top: 8px; }
}

/* ---------- Fuss ---------- */
.fuss { background: var(--esp); padding: 40px 0 64px; border-top: 1px solid rgba(246, 236, 230, .08); }
.fuss-marke { font: 400 clamp(56px, 16vw, 200px)/0.95 var(--serif); letter-spacing: -0.035em; color: var(--hell-1); }
.fuss-zeile { margin-top: 16px; color: var(--hell-2); }
.entwurf { margin-top: 40px; font-size: 14px; color: var(--hell-3); }
.entwurf a { display: inline-block; padding: 8px 0; }

/* ---------- Bilder öffnen sich von unten ---------- */
.js .aufdecken { clip-path: inset(100% 0 0 0); }
.js .aufdecken img { transform: scale(1.12); }
.js .aufdecken.offen { clip-path: inset(0 0 0 0); transition: clip-path 1000ms var(--expo); }
.js .aufdecken.offen img { transform: none; transition: transform 1400ms var(--expo); }
.js .vn.aufdecken.offen .vn-nachher { transition: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .aufdecken, .js .aufdecken.offen { clip-path: none; transition: none; }
  .js .aufdecken img, .js .aufdecken.offen img { transform: none; transition: none; }
  [data-t] { transition: none; }
}
