/* ==========================================================================
   Beauty Culture Neuss
   Konzept: Hautschichten. Die Behandlungen sind von der Oberfläche in die
   Tiefe geordnet, jede Schicht ist eine Farbstufe dunkler.
   Alle Farben stehen ausschließlich hier oben als Variablen.
   ========================================================================== */

@font-face { font-family: "Jost"; src: url("fonts/jost-latin-300-normal.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Jost"; src: url("fonts/jost-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Jost"; src: url("fonts/jost-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("fonts/source-serif-4-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("fonts/source-serif-4-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("fonts/source-serif-4-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  /* Hausfarben (aus der bisherigen Website und dem Logo) */
  --paper:   #F8F3E9;   /* Creme, Seitenhintergrund */
  --surface: #F8F3E9;   /* Flächen: bewusst gleich dem Hintergrund */
  --sage:    #9EAB9F;   /* Salbeigrün, Hausfarbe */
  --ink:     #171818;   /* Text */
  --ink-soft:#4A504B;   /* Nebentext */
  --line:    #DCDDD3;   /* Linien */
  --rose:    #14603A;   /* Akzent: Waldgrün aus dem Logo (Buttons, Links) */
  --on-rose: #FFFFFF;   /* Text auf Akzent */

  /* Hautschichten, von der Oberfläche in die Tiefe */
  --s1: #F8F3E9;       /* Vor der Behandlung: Hintergrund-Creme */
  --s2: #9EAB9F;       /* Salbeigrün */
  --s3: #14603A;       /* Waldgrün aus dem Logo */
  --s4: #2E332E;
  --s4-ink: #F8F3E9;    /* Text auf der tiefsten Schicht */

  /* Schrift (Hausschriften) */
  --display: "Jost", "Futura", "Century Gothic", system-ui, sans-serif;
  --body: "Source Serif 4", Georgia, "Times New Roman", serif;

  --step--1: clamp(0.88rem, 0.86rem + 0.1vw, 0.94rem);
  --step-0:  clamp(1.04rem, 1rem + 0.15vw, 1.12rem);
  --step-1:  clamp(1.2rem, 1.12rem + 0.4vw, 1.4rem);
  --step-2:  clamp(1.45rem, 1.3rem + 0.8vw, 1.9rem);
  --step-3:  clamp(1.9rem, 1.45rem + 2.2vw, 3.2rem);

  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --wrap: 72rem;
  --radius: 14px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #171A18; --surface: #171A18; --sage: #3E4A40; --ink: #EEF0EA; --ink-soft: #B5BDB4;
    --line: #2F3730; --rose: #7FBF8A; --on-rose: #171818;
    --s1: #171A18; --s2: #3E4A40; --s3: #1F4D33; --s4: #2E332E; --s4-ink: #F3EEE3;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #171A18; --surface: #171A18; --sage: #3E4A40; --ink: #EEF0EA; --ink-soft: #B5BDB4;
  --line: #2F3730; --rose: #7FBF8A; --on-rose: #171818;
  --s1: #171A18; --s2: #3E4A40; --s3: #1F4D33; --s4: #2E332E; --s4-ink: #F3EEE3;
  color-scheme: dark;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--rose); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--rose); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); font-weight: 300; line-height: 1.15; margin: 0; text-wrap: balance; text-transform: uppercase; letter-spacing: 0.06em; }
strong, b { font-weight: 400; color: var(--rose); }
h1 { font-size: var(--step-3); hyphens: manual; overflow-wrap: break-word; }
.nowrap { white-space: nowrap; }
h2 { font-size: var(--step-2); }
h3 { font-size: var(--step-1); }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.skip { position: absolute; left: -999px; top: 0; background: var(--paper); color: var(--ink); border: 2px solid var(--rose); padding: .6rem 1rem; z-index: 50; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { left: 1rem; top: 1rem; }

/* ---------- Kopf ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--paper); }
.site-head {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.site-head .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .4rem 1.5rem; padding-block: .7rem; }
.brand { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); line-height: 1.05; }
.brand b { font-family: var(--display); font-weight: 400; font-size: 1.15rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }
.brand-text > span { font-family: var(--display); font-size: .72rem; color: var(--ink-soft); letter-spacing: .32em; text-transform: uppercase; margin-top: .2rem; }
.nav { display: flex; gap: 1.1rem; font-family: var(--display); font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; }
.nav a { color: var(--ink); text-decoration: none; padding-block: .3rem; border-bottom: 1px solid transparent; }
.nav a:hover { border-bottom-color: var(--rose); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  min-height: 3rem; padding: .7rem 1.25rem;
  border-radius: 999px; font-family: var(--display); font-weight: 400; letter-spacing: .04em; text-decoration: none; line-height: 1.2;
  border: 1px solid var(--rose); color: var(--rose); background: transparent;
  cursor: pointer;
}
.btn--solid { border-width: 2px; font-weight: 600; }
.btn:hover { text-decoration: none; box-shadow: inset 0 0 0 1px currentColor; }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }

/* ---------- Hero ---------- */
.hero { padding-block: 2.5rem 3rem; }
.hero-call { display: none; }
.hero-grid { display: grid; gap: 2rem; }
.hero-kicker { color: var(--ink-soft); font-size: var(--step--1); margin-bottom: 1.1rem; }
.hero h1 { max-width: 20ch; }
.hero-lead { margin-top: 1.25rem; max-width: 36rem; font-size: var(--step-1); line-height: 1.5; color: var(--ink-soft); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.hero-art { display: none; position: relative; }
.f1 { fill: var(--s1); } .f2 { fill: var(--s2); } .f3 { fill: var(--s3); } .f4 { fill: var(--s4); }

/* ---------- Abschnitte ---------- */
.section { padding-block: 3.5rem; }
.section-head { display: grid; gap: .6rem; margin-bottom: 2rem; max-width: 40rem; }
.section-head p { color: var(--ink-soft); }

/* Über uns: Salbeigrün wie auf der bisherigen Website */
#ueber-uns { background: var(--sage); }
#ueber-uns .about-quote { border-left-color: var(--ink); }
#ueber-uns .section-head p, #ueber-uns strong { color: var(--ink); }
.about-grid { display: grid; gap: 1.5rem; }
.about-text { display: grid; gap: 1rem; max-width: 38rem; }
.about-quote {
  font-family: var(--body); font-style: italic; font-size: var(--step-2); line-height: 1.3;
  padding-left: 1.1rem; border-left: 2px solid var(--rose); max-width: 22ch;
}

/* ---------- Hautschichten (Behandlungen) ---------- */
#behandlungen { padding-top: 3.5rem; }
.strata { display: grid; }
.layer {
  --band: var(--s1);
  position: relative; background: var(--band);
  padding-block: 2.6rem 2.4rem;
}
.layer + .layer::before {
  content: ""; position: absolute; left: 0; right: 0; top: -27px; height: 28px;
  background: var(--band);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 28' preserveAspectRatio='none'%3E%3Cpath d='M0 28V14C140 2 300 0 450 9s320 19 470 10S1110 2 1200 8v20z'/%3E%3C/svg%3E") center/100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 28' preserveAspectRatio='none'%3E%3Cpath d='M0 28V14C140 2 300 0 450 9s320 19 470 10S1110 2 1200 8v20z'/%3E%3C/svg%3E") center/100% 100% no-repeat;
}
.layer--1 { --band: var(--paper); }
.layer--2 { --band: var(--s2); }
.layer--3 { --band: var(--s3); color: var(--s4-ink); }
.layer--4 { --band: var(--s4); color: var(--s4-ink); }
.layer-grid { display: grid; gap: 1.25rem; }
.layer-name { display: grid; gap: .35rem; align-content: start; }
.layer-name p { font-size: var(--step--1); opacity: .85; max-width: 26rem; }
.treat { display: grid; gap: 1.4rem; margin: 0; padding: 0; list-style: none; }
.treat li { display: grid; gap: .3rem; }
.treat h4 { margin: 0; font-size: var(--step-1); font-weight: 400; font-family: var(--body); line-height: 1.3; display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem .6rem; }
.treat p { max-width: 36rem; }
.tag {
  font-family: var(--display); font-size: .72rem; font-weight: 400; letter-spacing: .06em; text-transform: uppercase;
  padding: .12rem .55rem; border-radius: 999px;
  border: 1px solid currentColor; opacity: .8; white-space: nowrap;
}
.range { margin: .5rem 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; }
.range li { padding: .3rem .8rem; border-radius: 999px; border: 1px solid currentColor; font-size: var(--step--1); }

/* ---------- Besuch ---------- */
.visit-grid { display: grid; gap: 2rem; }
.facts { display: grid; gap: 1.75rem; align-content: start; }
.facts h3 { font-size: var(--step-0); font-weight: 500; text-transform: none; letter-spacing: .02em; margin-bottom: .55rem; }
.hours { width: 100%; max-width: 24rem; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours th, .hours td { text-align: left; padding: .5rem 0; border-bottom: 1px solid var(--line); font-weight: 400; }
.hours td { font-family: var(--display); letter-spacing: .02em; }
.hours td { text-align: right; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--rose); }
.hours .today-flag { font-family: var(--display); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; margin-left: .5rem; }
.note { color: var(--ink-soft); font-size: var(--step--1); margin-top: .6rem; max-width: 24rem; }
address { font-style: normal; }
.contact-line { display: block; font-variant-numeric: tabular-nums; }

.map {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3; min-height: 21rem; max-width: 100%;
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-consent {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: start;
  gap: 1rem; padding: 1.5rem;
}
.map-card { display: grid; gap: .8rem; max-width: 22rem; }
.map-card p { font-size: var(--step--1); color: var(--ink-soft); }
.map-card strong { color: var(--ink); }

/* ---------- Fuß ---------- */
.site-foot { background: var(--sage); color: var(--ink); padding-block: 2rem 6.5rem; font-size: var(--step--1); color: var(--ink-soft); }
.site-foot .wrap { display: flex; flex-wrap: wrap; gap: .75rem 2rem; justify-content: space-between; }
.site-foot nav { display: flex; gap: 1.25rem; }
.site-foot a { color: var(--ink); }

/* Anrufleiste mobil */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 25;
  padding: .6rem var(--gutter-r) calc(.6rem + env(safe-area-inset-bottom, 0px)) var(--gutter);
  background: var(--paper); border-top: 1px solid var(--line);
}
.callbar .btn { width: 100%; justify-content: center; }

/* ---------- Rechtstexte ---------- */
.legal { padding-block: 2.5rem 4rem; }
.legal .prose { max-width: 42rem; }
.prose h1 { font-size: var(--step-3); margin-bottom: .5rem; letter-spacing: .03em; }
.prose h2 { font-size: var(--step-2); margin: 2.6rem 0 .8rem; }
.prose h3 { font-size: var(--step-0); font-weight: 600; margin: 1.8rem 0 .5rem; }
.prose p, .prose ul { margin: 0 0 1rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .35rem; }
.prose .stand { color: var(--ink-soft); }
.prose .box { border-left: 2px solid var(--rose); padding: .2rem 0 .2rem 1.1rem; margin-bottom: 1.25rem; }
.prose .box p:last-child { margin-bottom: 0; }

/* ---------- ab Tablet ---------- */
@media (min-width: 46rem) {
  .nav { gap: 1.75rem; }
  .callbar { display: none; }
  .site-foot { padding-block: 2rem; }
  .section { padding-block: 5rem; }
  #behandlungen { padding-top: 5rem; }
  .about-grid { grid-template-columns: 1fr 1.3fr; gap: 3rem; align-items: start; }
  .layer { padding-block: 3.5rem 3.2rem; }
  .layer-grid { grid-template-columns: minmax(12rem, 1fr) 2fr; gap: 3rem; }
  .treat { grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1.75rem 2.5rem; }
  .visit-grid { grid-template-columns: 1fr 1.25fr; gap: 3rem; }
  .map { aspect-ratio: 16 / 9; min-height: 18rem; }
  .hero-call { display: inline-flex; }
}

/* ---------- ab Desktop ---------- */
@media (min-width: 64rem) {
  .hero { padding-block: 4rem 0; }
  .hero-grid { grid-template-columns: 1.15fr 1fr; align-items: end; gap: 4rem; }
  .hero-text { padding-bottom: 4.5rem; }
  .hero-art { display: block; margin: 0; }
  .hero-art svg { width: 100%; }
  .hero-art svg { height: auto; aspect-ratio: 5 / 6; border-radius: 220px 220px 0 0; border: 1px solid var(--s3); border-bottom: 0; }
  .hero-art .layer-names {
    display: grid; position: absolute; right: 1.25rem; bottom: 0; top: 0;
    grid-template-rows: 46% 18% 15% 21%; margin: 0; padding: 0; list-style: none;
    font-size: .78rem; text-align: right;
  }
  .hero-art .layer-names li { align-self: end; padding-bottom: .5rem; color: var(--ink-soft); }
  .hero-art .layer-names li:nth-child(n+3) { color: var(--s4-ink); }
  .hero-art .layer-names li:nth-child(2) { color: var(--ink); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
@media print {
  .site-head, .callbar, .map { display: none; }
}

/* ---------- Logo und Hausfoto ---------- */
.brand { flex-direction: row; align-items: center; gap: .65rem; }
.brand-logo { width: 44px; height: auto; flex: none; }
.brand-text { display: flex; flex-direction: column; }
.hero-logo { display: none; }
.visit-media { display: grid; gap: 1.5rem; align-content: start; min-width: 0; }
.house { margin: 0; display: grid; gap: .5rem; }
.house img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.house figcaption { font-size: .78rem; color: var(--ink-soft); line-height: 1.45; }
.house figcaption a { color: var(--ink-soft); }
@media (min-width: 64rem) {
  .hero-logo {
    display: block; position: absolute; left: 50%; top: 13%;
    width: 38%; height: auto; transform: translateX(-50%);
  }
}

/* ---------- Schriftvariante ---------- */
h1, h2, h3 { font-weight: 300; letter-spacing: .08em; }
strong, b { font-weight: 600; }
.treat h4 { font-weight: 600; }
.about-quote { font-weight: 400; }
body { line-height: 1.65; }

/* ---------- Weniger Versalien: nur Haupt- und Abschnittsüberschriften gesperrt ---------- */
.layer-name h3 { text-transform: none; letter-spacing: .01em; font-weight: 400; font-size: var(--step-2); }
.tag { text-transform: none; letter-spacing: .02em; font-size: .78rem; }
.hours .today-flag { text-transform: none; letter-spacing: .02em; font-size: .78rem; }
