/* Très Joli Permanent Make up – Relaunch
   Leitidee: die vorgezeichnete Linie. Farben nach Pigmenten benannt. */

@font-face { font-family: "Italiana"; src: url("../fonts/italiana-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Jost"; src: url("../fonts/jost-normal.woff2") format("woff2"); font-weight: 300 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Jost"; src: url("../fonts/jost-italic.woff2") format("woff2"); font-weight: 300 400; font-style: italic; font-display: swap; }

:root {
  --seide: #FCF8F6;
  --puder: #F1E4DF;
  --puder-tief: #E6D3CC;
  --kajal: #2B2226;
  --kajal-weich: #5E5257;
  --lippenrot: #9E3149;
  --lippenrot-tief: #82263B;
  --messing: #946121;

  --display: "Italiana", "Didot", "Bodoni 72", Georgia, serif;
  --text: "Jost", "Futura", "Century Gothic", system-ui, sans-serif;

  --measure: 36rem;
  --wide: 76rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section: clamp(4rem, 9vw, 7.5rem);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--seide);
  color: var(--kajal);
  font-family: var(--text);
  font-weight: 400;
  font-size: 1.125rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--lippenrot); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--lippenrot-tief); }

:focus-visible { outline: 2px solid var(--lippenrot); outline-offset: 3px; border-radius: 2px; }

.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--kajal); color: var(--seide); padding: 0.6rem 1rem; }
.skip-link:focus { top: 1rem; }

/* ---------- Typografie ---------- */

h1, h2, .display {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0.005em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.75rem, 6.2vw, 4.75rem); }
h2 { font-size: clamp(2.1rem, 4vw, 3.1rem); }
h3 { font-size: 1.25rem; font-weight: 500; line-height: 1.3; margin: 0 0 0.5em; }
p { margin: 0 0 1.1em; }
.lead { font-size: clamp(1.2rem, 1.8vw, 1.375rem); font-weight: 300; line-height: 1.6; color: var(--kajal); }
.muted { color: var(--kajal-weich); }
small, .small { font-size: 0.9rem; }

.prose { max-width: var(--measure); }
.prose ul { padding-left: 1.2em; margin: 0 0 1.1em; }
.prose li { margin-bottom: 0.35em; }
.prose li::marker { color: var(--messing); }
.prose h2 { margin-top: 1.4em; }
.prose h3 { margin-top: 1.6em; }

/* ---------- Layout ---------- */

.wrap { width: min(100% - 2 * var(--gutter), var(--wide)); margin-inline: auto; }
.section { padding-block: var(--section); }
.section--puder { background: var(--puder); }

/* ---------- Kopf ---------- */

.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--seide) 94%, transparent); backdrop-filter: blur(6px); border-bottom: 1px solid var(--puder-tief); }
.site-header .wrap { display: flex; align-items: center; gap: 1.5rem; min-height: 4.75rem; }

.brand { display: flex; flex-direction: column; text-decoration: none; color: var(--kajal); line-height: 1; margin-right: auto; }
.brand-name { font-family: var(--display); font-size: 1.85rem; letter-spacing: 0.01em; }
.brand-sub { font-size: 0.78rem; font-weight: 400; letter-spacing: 0.04em; color: var(--kajal-weich); margin-top: 0.3rem; }

.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 1.6rem; }
.nav-list a { display: inline-block; line-height: 1.5; color: var(--kajal); text-decoration: none; font-size: 1rem; padding-block: 0.4rem; border-bottom: 1px solid transparent; }
.nav-list a:hover { border-bottom-color: var(--messing); color: var(--kajal); }
.nav-list a[aria-current="page"] { border-bottom-color: var(--lippenrot); }
.nav-list a, .brand-sub { white-space: nowrap; }
@media (min-width: 64.01rem) and (max-width: 82rem) {
  .site-header .wrap { gap: 1.1rem; }
  .nav-list { gap: 1.1rem; }
  .nav-list a, .header-phone { font-size: 0.95rem; }
}

.header-phone { display: inline-flex; align-items: center; gap: 0.5rem; white-space: nowrap; font-weight: 500; color: var(--kajal); text-decoration: none; font-size: 1rem; }
.header-phone:hover { color: var(--lippenrot); }

.nav-group { position: relative; }
.nav-group-toggle { display: inline-flex; align-items: center; gap: 0.35rem; background: none; border: 0; border-bottom: 1px solid transparent; padding: 0.4rem 0; font: inherit; font-size: 1rem; line-height: 1.5; color: var(--kajal); cursor: pointer; white-space: nowrap; }
.nav-group-toggle:hover { border-bottom-color: var(--messing); }
.nav-group.is-current > .nav-group-toggle { border-bottom-color: var(--lippenrot); }
.nav-caret { width: 0.7em; height: 0.7em; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.2s; }
.nav-group.is-open .nav-caret { transform: rotate(180deg); }
.subnav { list-style: none; margin: 0; padding: 0.6rem 0; position: absolute; top: calc(100% + 0.6rem); left: -1.2rem; min-width: 15rem; background: var(--seide); border: 1px solid var(--puder-tief); border-top: 2px solid var(--messing); border-radius: 0 0 0.25rem 0.25rem; box-shadow: 0 10px 24px rgba(43, 34, 38, 0.08); display: none; }
.subnav::before { content: ""; position: absolute; left: 0; right: 0; top: -0.8rem; height: 0.8rem; } /* Hover-Bruecke zwischen Menuepunkt und Untermenue */
.subnav a { display: block; padding: 0.55rem 1.2rem; border-bottom: 0; }
.subnav a:hover, .subnav a[aria-current="page"] { color: var(--lippenrot); }
.nav-group.is-open .subnav, .no-js .nav-group:focus-within .subnav { display: block; }
@media (hover: hover) and (min-width: 64.01rem) { .nav-group:hover .subnav { display: block; } }

.nav-phone { display: none; }
.nav-toggle { display: none; background: none; border: 1px solid var(--kajal); color: var(--kajal); font: inherit; font-size: 0.95rem; padding: 0.4rem 0.9rem; border-radius: 2rem; cursor: pointer; }

@media (max-width: 64rem) {
  .header-phone { display: none; }
  .nav-toggle { display: inline-block; }
  .site-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--seide); border-bottom: 1px solid var(--puder-tief); display: none; }
  .site-nav.is-open { display: block; }
  .nav-list { flex-direction: column; gap: 0; padding: 0.5rem var(--gutter) 1.25rem; }
  .nav-list a { display: block; padding: 0.75rem 0; font-size: 1.1rem; border-bottom: 1px solid var(--puder); }
  .no-js .site-nav { position: static; display: block; }
  .nav-phone { display: block; }
  .nav-list .nav-phone a { color: var(--lippenrot); font-weight: 500; border-bottom: 0; }
  .site-nav { max-height: calc(100vh - 4.75rem); overflow-y: auto; }
  /* Im Mobilmenue sind die Gruppen immer aufgeklappt, die Gruppe ist nur Ueberschrift */
  .nav-group-toggle { display: none; }
  .subnav { display: block; position: static; min-width: 0; padding: 0; border: 0; box-shadow: none; background: none; }
  .subnav::before { content: none; }
  .nav-group::before { content: attr(data-label); display: block; padding: 1rem 0 0.25rem; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--messing); }
  .subnav a { padding: 0.75rem 0; }
}

/* ---------- Buttons ---------- */

.button { display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.85rem 1.6rem; border-radius: 3rem; font-weight: 500; font-size: 1rem; text-decoration: none; border: 1px solid var(--lippenrot); background: var(--lippenrot); color: #fff; cursor: pointer; font-family: inherit; }
.button:hover { background: var(--lippenrot-tief); border-color: var(--lippenrot-tief); color: #fff; }
.button--ghost { background: transparent; color: var(--kajal); border-color: var(--kajal); }
.button--ghost:hover { background: var(--kajal); border-color: var(--kajal); color: var(--seide); }
.actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }

/* ---------- Die Linie ---------- */

.line { display: block; color: var(--lippenrot); overflow: visible; }
/* Kein vector-effect: non-scaling-stroke – sonst rechnet das Strichmuster (pathLength="1") in Bildschirmpixeln
   und vergroesserte Linien werden nur teilweise gezeichnet. Strichstaerke daher in SVG-Einheiten je Groesse. */
.line path { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.line--hero { width: min(26rem, 80%); height: auto; margin: 0.4rem 0 1.8rem; }
/* Zeichnen: Hero beim Laden, alle anderen Linien beim Hineinscrollen (Klasse .is-drawn via site.js).
   Ohne JS (.no-js) und bei reduzierter Bewegung sind die Linien sofort sichtbar. */
.js .line path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s cubic-bezier(.6,.05,.25,1); }
.js .line.is-drawn path { stroke-dashoffset: 0; }
.js .glyph path { transition-duration: 1.2s; }
.js .line--hero path { transition: none; animation: draw 2.2s cubic-bezier(.6,.05,.25,1) .35s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  .js .line path, .js .line--hero path { animation: none; transition: none; stroke-dashoffset: 0; }
}

.glyph { width: 4.5rem; height: 2.25rem; color: var(--messing); margin-bottom: 1rem; }
.glyph path { stroke-width: 1.4; }

/* ---------- Hero ---------- */

.hero { padding-block: clamp(2.5rem, 6vw, 5rem) var(--section); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero-text .lead { max-width: 30rem; }
.hero-media { position: relative; }
.hero-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 38% 50%; border-radius: 12rem 12rem 0.25rem 0.25rem; }
.hero-note { position: absolute; left: -1.5rem; bottom: 2rem; max-width: 15rem; background: var(--seide); padding: 1rem 1.2rem; font-size: 0.95rem; line-height: 1.45; border-left: 2px solid var(--lippenrot); }

@media (max-width: 52rem) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-media img { aspect-ratio: 5 / 4; border-radius: 8rem 8rem 0.25rem 0.25rem; }
  .hero-note { position: static; max-width: none; margin-top: 1rem; }
}

/* ---------- Text + Bild ---------- */

.split { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.split-media { grid-column: 1 / span 6; }
.split-text { grid-column: 8 / span 5; }
.split--flip .split-media { grid-column: 7 / span 6; grid-row: 1; }
.split--flip .split-text { grid-column: 1 / span 5; grid-row: 1; }
.split--top { align-items: start; }
.split-media--portrait { max-width: 30rem; }
.split-media.split-media--portrait img { aspect-ratio: 4 / 5; object-position: 50% 15%; }
.split-main { grid-column: 1 / span 6; }
.split-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 0.25rem; }
@media (max-width: 52rem) {
  .split, .split--flip { grid-template-columns: 1fr; }
  .split-media, .split-text, .split-main, .split--flip .split-media, .split--flip .split-text { grid-column: auto; grid-row: auto; }
}

/* Behandlungen auf der Startseite */
.treatments { display: grid; gap: clamp(3.5rem, 8vw, 6rem); margin-top: 3rem; }
.treatment h3 { font-family: var(--display); font-weight: 400; font-size: clamp(1.9rem, 3vw, 2.4rem); line-height: 1.1; }
.text-link { font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 0.1rem; }

/* ---------- Ablauf ---------- */

.steps { list-style: none; margin: 3rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.25rem, 3vw, 2.5rem); counter-reset: step; }
.step { counter-increment: step; }
.step img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 0.25rem; margin-bottom: 1.2rem; }
.step h3::before { content: counter(step); display: block; font-family: var(--display); font-weight: 400; font-size: 2.6rem; line-height: 1; color: var(--messing); margin-bottom: 0.5rem; }
.step p { font-size: 1rem; color: var(--kajal-weich); }
@media (max-width: 64rem) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 34rem) { .steps { grid-template-columns: 1fr; } }

/* ---------- Methode ---------- */

.facts { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.25rem, 3vw, 2.5rem); }
.facts li { border-top: 1px solid var(--messing); padding-top: 1.1rem; font-size: 1rem; color: var(--kajal-weich); }
.facts strong { display: block; font-family: var(--display); font-weight: 400; font-size: 1.5rem; line-height: 1.2; color: var(--kajal); margin-bottom: 0.6rem; }
@media (max-width: 64rem) { .facts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 34rem) { .facts { grid-template-columns: 1fr; } }

/* ---------- Vorher / Nachher ---------- */

.pairs { display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); margin-top: 2.5rem; }
.pair { margin: 0; }
.pair-images { display: grid; grid-template-columns: 1fr 1fr; gap: 0.35rem; }
.pair-images img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.pair-images span { display: block; font-size: 0.85rem; color: var(--kajal-weich); margin-top: 0.35rem; }

/* ---------- Galerien (LaBina-Beispiele, Studio) ---------- */

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); gap: clamp(1rem, 2.5vw, 1.75rem); margin: 2.5rem 0 0; padding: 0; list-style: none; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 0.25rem; }
.gallery figcaption { font-size: 0.95rem; margin-top: 0.6rem; color: var(--kajal-weich); }
.gallery figcaption strong { display: block; color: var(--kajal); font-weight: 500; }

/* ---------- Seitenkopf Unterseiten ---------- */

.page-head { padding-block: clamp(3rem, 7vw, 5.5rem) clamp(2rem, 4vw, 3rem); }
.page-head .lead { max-width: 38rem; }
.page-head .line { width: min(18rem, 60%); margin: 0.2rem 0 1.5rem; }
.page-head .line.line--head-glyph { width: 7.5rem; height: auto; margin: 0.4rem 0 1.6rem; }
.page-head .line.line--head-glyph path { stroke-width: 0.95; }

/* ---------- Zitat / Hervorhebung ---------- */

.note { border-left: 2px solid var(--messing); padding: 0.2rem 0 0.2rem 1.4rem; margin: 2rem 0; max-width: var(--measure); }
.note p:last-child { margin-bottom: 0; }

/* ---------- Kontakt ---------- */

.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 52rem) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.contact-list li { padding: 0.9rem 0; border-bottom: 1px solid var(--puder-tief); display: grid; grid-template-columns: 6.5rem 1fr; gap: 1rem; }
.contact-list li:first-child { border-top: 1px solid var(--puder-tief); }
.contact-list span { color: var(--kajal-weich); }
.contact-list a { color: var(--kajal); font-weight: 500; text-decoration: none; }
.contact-list a:hover { color: var(--lippenrot); }

.map-consent { display: flex; align-items: center; justify-content: center; text-align: center; aspect-ratio: 4 / 3; background: var(--puder); border-radius: 0.25rem; padding: 1.5rem; }
.map-consent-inner { max-width: 22rem; }
.map-consent-inner p { font-size: 1rem; }
.map-consent.is-loaded { padding: 0; background: none; }
.map-consent iframe { display: block; width: 100%; height: 100%; border: 0; border-radius: 0.25rem; }

/* ---------- Abschluss-Band ---------- */

.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 2rem; }
.cta-band .cta-text { max-width: 34rem; }
.cta-band h2 { margin: 0; }
.cta-note { margin: 0.8rem 0 0; color: var(--kajal-weich); }

/* ---------- Fuss ---------- */

.site-footer { background: var(--kajal); color: #E9DFDB; padding-block: 3.5rem 2.5rem; font-size: 1rem; }
.site-footer a { color: #E9DFDB; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
@media (max-width: 52rem) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { font-family: var(--display); font-size: 2rem; color: #fff; line-height: 1; margin-bottom: 0.6rem; }
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list li { margin-bottom: 0.4rem; }
.footer-contact li { display: flex; align-items: center; gap: 0.6rem; }
.footer-contact .icon { color: var(--messing); width: 1.1em; height: 1.1em; }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid #4a3f43; font-size: 0.9rem; color: #B9ACA8; }

/* ---------- Ergaenzungen ---------- */

.section--flush-top { padding-top: 0; }
.credit { margin-top: 1.5rem; font-size: 0.9rem; color: var(--kajal-weich); }
address { font-style: normal; }
.h3 { font-family: var(--text); font-size: 1.25rem; font-weight: 500; line-height: 1.3; }
.prose ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.prose ol li { margin-bottom: 0.5em; padding-left: 0.2em; }
.prose ol li::marker { font-family: var(--display); color: var(--messing); }
.map-route { margin: 1rem 0 0; }
.split-text img { width: 100%; border-radius: 0.25rem; }
.gallery--certs { grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 22rem)); align-items: end; }
.gallery--certs img { aspect-ratio: auto; object-fit: contain; background: #fff; box-shadow: 0 1px 2px rgba(43, 34, 38, 0.12); }

/* ---------- Bilder vergroessern (Modal) ---------- */

a.zoom { display: block; cursor: zoom-in; border-radius: 0.25rem; }
a.zoom:focus-visible { outline-offset: 4px; }
a.zoom img { transition: opacity 0.2s; }
a.zoom:hover img { opacity: 0.92; }
.has-lightbox { overflow: hidden; }

.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; color: #F4ECE9; }
.lightbox::backdrop { background: rgba(28, 21, 24, 0.92); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox-figure { margin: 0; padding: 4.5rem 4.5rem 3.5rem; display: grid; justify-items: center; gap: 0.9rem; width: 100%; height: 100%; align-content: center; }
.lightbox-figure img { max-width: min(100%, 64rem); max-height: calc(100vh - 10rem); width: auto; height: auto; object-fit: contain; border-radius: 0.25rem; }
.lightbox-caption { font-size: 1rem; text-align: center; max-width: 40rem; }
.lightbox-count { position: absolute; top: 1.4rem; left: 1.5rem; margin: 0; font-size: 0.9rem; color: #B9ACA8; }
.lightbox button { position: absolute; background: rgba(252, 248, 246, 0.08); color: #fff; border: 1px solid rgba(252, 248, 246, 0.35); border-radius: 50%; width: 3rem; height: 3rem; font-size: 1.6rem; line-height: 1; cursor: pointer; font-family: var(--text); }
.lightbox button:hover { background: rgba(252, 248, 246, 0.2); }
.lightbox button:focus-visible { outline-color: #fff; }
.lightbox-close { top: 1rem; right: 1rem; }
.lightbox-prev, .lightbox-next { top: 50%; transform: translateY(-50%); }
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }
.lightbox button[hidden] { display: none; }
@media (max-width: 40rem) {
  .lightbox-figure { padding: 4rem 0.75rem 5rem; }
  .lightbox-prev, .lightbox-next { top: auto; bottom: 1rem; transform: none; }
  .lightbox-prev { left: calc(50% - 3.5rem); }
  .lightbox-next { right: calc(50% - 3.5rem); }
}

/* ---------- Vorher / Nachher Schieberegler ---------- */

.compare { margin: 0; }
.compare-stage { --pos: 50%; position: relative; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 0.25rem; background: var(--puder); touch-action: pan-y; user-select: none; }
.compare-stage picture, .compare-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare-after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos)); }
.compare-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--seide); box-shadow: 0 0 0 1px rgba(43, 34, 38, 0.15); pointer-events: none; }
.compare-handle::after { content: ""; position: absolute; top: 50%; left: 50%; width: 2.75rem; height: 2.75rem; transform: translate(-50%, -50%); border-radius: 50%; background: var(--seide) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239E3149' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 7l-5 5 5 5M15 7l5 5-5 5'/%3E%3C/svg%3E") center / 1.4rem no-repeat; box-shadow: 0 1px 4px rgba(43, 34, 38, 0.25); }
.compare-label { position: absolute; bottom: 0.75rem; padding: 0.2rem 0.6rem; border-radius: 1rem; background: rgba(252, 248, 246, 0.88); font-size: 0.85rem; color: var(--kajal); pointer-events: none; }
.compare-label--before { left: 0.75rem; }
.compare-label--after { right: 0.75rem; }
.compare-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; background: transparent; }
.compare-range::-webkit-slider-thumb { -webkit-appearance: none; width: 2px; height: 100vh; }
.compare-range::-moz-range-thumb { width: 2px; height: 100vh; border: 0; }
.compare-stage:has(.compare-range:focus-visible) { outline: 2px solid var(--lippenrot); outline-offset: 3px; }

/* ---------- Barockes Ornament (aus dem alten Seitenhintergrund) auf Puder-Flaechen ---------- */

.section--puder { position: relative; isolation: isolate; }
.section--puder::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("../img/ornament-1200.jpg") center / cover no-repeat;
  background-image: image-set(url("../img/ornament-1200.webp") type("image/webp"), url("../img/ornament-1200.jpg") type("image/jpeg"));
  mix-blend-mode: multiply;
  opacity: 0.35;
  pointer-events: none;
}

/* ---------- Gutscheinkarte ---------- */

.voucher {
  position: relative;
  isolation: isolate;
  aspect-ratio: 1.75 / 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.5rem, 5vw, 3rem);
  background: var(--puder);
  border-radius: 0.25rem;
  box-shadow: 0 18px 40px -24px rgba(43, 34, 38, 0.45);
  overflow: hidden;
}
.voucher::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("../img/ornament-1200.jpg") center / 40rem auto; mix-blend-mode: multiply; opacity: 0.5; }
.voucher::after { content: ""; position: absolute; inset: 0.75rem; border: 1px solid var(--messing); border-radius: 0.15rem; opacity: 0.6; pointer-events: none; }
.voucher p { margin: 0; }
.voucher-brand { font-size: 0.95rem; letter-spacing: 0.04em; color: var(--kajal-weich); }
.voucher-title { font-family: var(--display); font-size: clamp(2.8rem, 6vw, 4.2rem); line-height: 1; margin-top: 0.3rem !important; }
.voucher-line { width: min(14rem, 55%); margin: 0.5rem 0 0.9rem; }
.voucher-text { font-size: 1.05rem; }
.voucher-meta { position: absolute; right: 2rem; bottom: 1.6rem; font-size: 0.85rem; color: var(--kajal-weich); }

/* ---------- UX-Feinschliff ---------- */

/* Tippflaechen im Fuss mindestens 24px hoch (WCAG 2.2, 2.5.8) */
.footer-list a { display: inline-block; padding-block: 0.3rem; }
.footer-list li { margin-bottom: 0.1rem; }

/* Lange deutsche Woerter in Ueberschriften auf schmalen Screens trennen */
@media (max-width: 34rem) {
  h1, h2, .treatment h3 { hyphens: auto; -webkit-hyphens: auto; }
}

/* Gutschein: Karte exakt so hoch wie der Textblock daneben (oben/unten buendig) */
@media (min-width: 52.01rem) {
  .split--stretch { align-items: stretch; }
  .split--stretch .split-media { display: flex; }
  .split--stretch .voucher { aspect-ratio: auto; width: 100%; min-height: 18rem; }
  .split--stretch .split-text > :first-child { margin-top: 0; }
  .split--stretch .split-text > :last-child { margin-bottom: 0; }
}

/* Erstes Element eines Textblocks ohne Abstand nach oben, damit es buendig mit dem Bild daneben beginnt */
.prose > :first-child { margin-top: 0; }

/* Telefonhoerer vor der Nummer */
.icon { width: 1.05em; height: 1.05em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.nav-list .nav-phone a { display: inline-flex; align-items: center; gap: 0.5rem; }

/* ---------- Kontaktformular ---------- */

.contact-form { display: grid; gap: 1.25rem; }
.field { display: grid; gap: 0.4rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 40rem) { .field-row { grid-template-columns: 1fr; } }
.field label { font-weight: 500; color: var(--kajal); }
.field .optional { font-weight: 400; color: var(--kajal-weich); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--kajal); background: #fff; border: 1px solid var(--puder-tief); border-bottom-color: var(--kajal-weich); border-radius: 0.25rem; padding: 0.75rem 0.9rem; }
.field textarea { resize: vertical; min-height: 9rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--messing); outline-offset: 1px; border-color: var(--messing); }
.field--error input, .field--error textarea { border-color: var(--lippenrot); }
.field-error { margin: 0; color: var(--lippenrot-tief); font-size: 0.95rem; }
.field-hint { margin: 0; color: var(--kajal-weich); font-size: 0.95rem; }
.form-errors { border-left: 3px solid var(--lippenrot); background: #fff; padding: 0.9rem 1.1rem; }
.form-errors p { margin: 0; color: var(--lippenrot-tief); }
.form-success { background: #fff; border-top: 2px solid var(--messing); padding: 1.75rem; border-radius: 0.25rem; }
.form-success h3 { margin-top: 0; }
.contact-form .button { justify-self: start; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Sprungziele nicht unter dem fixierten Kopf verstecken */
[id] { scroll-margin-top: 5.5rem; }
