/* ============================================================
   MELA COSMETICS — Ahlen
   Boho-Editorial · Palette & Typo aus dem Instagram-Auftritt
   ============================================================ */

/* ---------- Fonts (lokal gehostet, DSGVO-konform) ---------- */
@font-face {
  font-family: 'Bodoni Moda';
  src: url('../fonts/BodoniModa-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Bodoni Moda';
  src: url('../fonts/BodoniModa-400-italic.woff2') format('woff2');
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Bodoni Moda';
  src: url('../fonts/BodoniModa-600.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Jost';
  src: url('../fonts/Jost-300.woff2') format('woff2');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Jost';
  src: url('../fonts/Jost-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Jost';
  src: url('../fonts/Jost-500.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --porzellan: #F7F3ED;   /* Grundfläche — wie der Logo-Hintergrund */
  --leinen:    #EFE7DB;   /* ruhige Wechselfläche */
  --sand:      #DACBB4;   /* Rahmen, Akzentflächen */
  --karamell:  #A87C50;   /* Akzent — Gold-/Hauttöne des Feeds */
  --karamell-tief: #86603A;
  --tinte:     #17130F;   /* Logo-Schwarz */
  --taupe:     #6F6357;   /* Sekundärtext */
  --creme-hell: #FFFDFA;
  --linie: rgba(23, 19, 15, 0.14);
  --linie-zart: rgba(23, 19, 15, 0.08);

  --serif: 'Bodoni Moda', 'Didot', Georgia, serif;
  --sans: 'Jost', 'Avenir Next', 'Helvetica Neue', sans-serif;

  --sp-1: 0.5rem;
  --sp-2: 1rem;
  --sp-3: 1.75rem;
  --sp-4: 3rem;
  --sp-5: 5rem;

  --radius-s: 10px;
  --radius-m: 18px;
  --arch: 999px 999px 18px 18px; /* Boho-Rundbogen */

  --ease-out: cubic-bezier(0.2, 0, 0, 1);
  --schatten:
    0 1px 2px rgba(23, 19, 15, 0.05),
    0 6px 20px rgba(23, 19, 15, 0.07);
}

/* ---------- Reset / Basis ---------- */
*, *::before, *::after { 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(--sans);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--tinte);
  background: var(--porzellan);
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
}

html.lock, html.lock body { overflow: hidden; }

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

a { color: inherit; }

::selection { background: var(--sand); color: var(--tinte); }

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

/* Eyebrow-Label — gesperrte Versalien wie im „MELA COSMETICS“-Schriftzug */
.eyebrow {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--karamell-tief);
}

.section { padding: var(--sp-5) var(--sp-3); }
.shell { max-width: 1060px; margin: 0 auto; }
.shell-narrow { max-width: 720px; margin: 0 auto; }

.section-head { margin-bottom: var(--sp-4); }
.section-head .eyebrow { display: block; margin-bottom: var(--sp-2); }
.section-head h2 { font-size: clamp(1.9rem, 5.5vw, 2.9rem); }
.section-head p { margin-top: var(--sp-2); color: var(--taupe); max-width: 46ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 52px;
  padding: 0.85rem 1.8rem;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition-property: background-color, color, box-shadow, scale;
  transition-duration: 0.25s;
  transition-timing-function: var(--ease-out);
}
.btn:active { scale: 0.96; }
.btn svg { flex: none; }

.btn-primary {
  background: var(--tinte);
  color: var(--creme-hell);
  box-shadow: var(--schatten);
}
.btn-primary:hover { background: #2C241C; }

.btn-whatsapp {
  background: var(--karamell);
  color: var(--creme-hell);
  box-shadow: var(--schatten);
}
.btn-whatsapp:hover { background: var(--karamell-tief); }

.btn-ghost {
  background: transparent;
  color: var(--tinte);
  box-shadow: inset 0 0 0 1px var(--linie);
}
.btn-ghost:hover { background: rgba(23, 19, 15, 0.04); }

:where(a, button, summary, input, select, textarea):focus-visible {
  outline: 2px solid var(--karamell);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ============================================================
   Datenschutz-Gate (erster Kontakt, mobil zuerst)
   ============================================================ */
.consent {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(23, 19, 15, 0.42);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: var(--sp-2);
  opacity: 1;
  transition: opacity 0.4s var(--ease-out);
}
.consent.hide { opacity: 0; pointer-events: none; }
html.consented .consent { display: none; }

.consent-card {
  background: var(--porzellan);
  border-radius: calc(var(--radius-m) + 6px);
  box-shadow: 0 24px 70px rgba(23, 19, 15, 0.35);
  padding: var(--sp-3);
  max-width: 460px;
  width: 100%;
}
.consent-card .monogram { font-size: 2rem; margin-bottom: var(--sp-1); }
.consent-card h2 {
  font-size: 1.45rem;
  margin-bottom: 0.6rem;
}
.consent-card p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--taupe);
}
.consent-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: var(--sp-3);
}
.consent-link {
  text-align: center;
  font-size: 0.85rem;
  color: var(--taupe);
  text-decoration: underline;
  text-underline-offset: 3px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 640px) {
  .consent { align-items: center; }
}

/* ============================================================
   Intro — das Monogramm setzt sich zusammen, dann hebt sich der Vorhang
   ============================================================ */
.intro {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: none;
  align-items: center;
  justify-content: center;
  background: var(--porzellan);
}
.intro.play { display: flex; }
.intro-mark { text-align: center; }

.monogram {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--tinte);
  letter-spacing: -0.06em;
  line-height: 1;
}
.intro .monogram { font-size: clamp(5rem, 22vw, 9rem); }
.intro .monogram .j,
.intro .monogram .m {
  display: inline-block;
  opacity: 0;
}
.intro-word {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  margin-top: var(--sp-2);
  opacity: 0;
}
.intro-line {
  width: 0;
  height: 1px;
  background: var(--karamell);
  margin: var(--sp-2) auto 0;
}

.intro.play .j { animation: introGlyph 0.9s var(--ease-out) 0.15s forwards; }
.intro.play .m { animation: introGlyph 0.9s var(--ease-out) 0.3s forwards; }
.intro.play .intro-word { animation: introFade 0.7s var(--ease-out) 0.85s forwards; }
.intro.play .intro-line { animation: introLine 0.6s var(--ease-out) 1.05s forwards; }
.intro.lift { animation: introLift 0.7s cubic-bezier(0.6, 0, 0.2, 1) forwards; }

@keyframes introGlyph {
  from { opacity: 0; transform: translateY(0.35em); filter: blur(4px); }
  to   { opacity: 1; transform: translateY(0); filter: blur(0); }
}
@keyframes introFade {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes introLine { to { width: 72px; } }
@keyframes introLift { to { transform: translateY(-100%); } }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-2);
  padding: 0.7rem var(--sp-3);
  transition-property: background-color, box-shadow;
  transition-duration: 0.3s;
  transition-timing-function: var(--ease-out);
}
.site-header.scrolled {
  background: rgba(247, 243, 237, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--linie-zart);
}
.brand {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  text-decoration: none;
}
.brand .monogram { font-size: 1.7rem; }
.brand-word {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.header-cta { min-height: 44px; padding: 0.55rem 1.2rem; font-size: 0.85rem; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
}
.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
}
.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top,
      var(--porzellan) 0%,
      rgba(247, 243, 237, 0.92) 14%,
      rgba(247, 243, 237, 0.25) 44%,
      rgba(247, 243, 237, 0) 62%);
}
.hero-inner {
  position: relative;
  width: 100%;
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 var(--sp-3) var(--sp-4);
}
.hero .eyebrow { display: block; margin-bottom: var(--sp-2); }
.hero h1 {
  font-size: clamp(2.6rem, 11vw, 5rem);
  max-width: 12ch;
}
.hero h1 em { font-style: italic; }
.hero-sub {
  margin-top: var(--sp-2);
  max-width: 42ch;
  color: var(--taupe);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: var(--sp-3);
}
.hero-note {
  margin-top: var(--sp-2);
  font-size: 0.85rem;
  color: var(--taupe);
}

/* Desktop: geteilter Hero — Text links, Bild im Rundbogen rechts
   (das Quellbild ist 540px breit; vollflächig würde es unscharf) */
@media (min-width: 900px) {
  .hero {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: var(--sp-5);
    max-width: 1160px;
    margin: 0 auto;
    min-height: auto;
    padding: 8.5rem var(--sp-3) var(--sp-5);
  }
  .hero-media {
    position: relative;
    inset: auto;
    order: 2;
    height: min(74vh, 620px);
    border-radius: var(--arch);
    box-shadow: var(--schatten);
    outline: 1px solid rgba(0, 0, 0, 0.1);
    outline-offset: -1px;
  }
  .hero-media::after { display: none; }
  .hero-inner { padding: 0; margin: 0; max-width: none; }
}

/* dezente Hero-Entrance */
.hero-inner > * {
  opacity: 0;
  transform: translateY(20px);
}
html.ready .hero-inner > * {
  opacity: 1;
  transform: translateY(0);
  transition-property: opacity, transform;
  transition-duration: 0.8s;
  transition-timing-function: var(--ease-out);
}
html.ready .hero-inner > :nth-child(1) { transition-delay: 0.05s; }
html.ready .hero-inner > :nth-child(2) { transition-delay: 0.15s; }
html.ready .hero-inner > :nth-child(3) { transition-delay: 0.25s; }
html.ready .hero-inner > :nth-child(4) { transition-delay: 0.35s; }
html.ready .hero-inner > :nth-child(5) { transition-delay: 0.45s; }

/* ============================================================
   Intro-Text / Über mich
   ============================================================ */
.about { background: var(--porzellan); }
.about-grid {
  display: grid;
  gap: var(--sp-4);
  align-items: center;
}
.about-media img {
  border-radius: var(--arch);
  outline: 1px solid rgba(0, 0, 0, 0.1);
  outline-offset: -1px;
  box-shadow: var(--schatten);
}
.about-text h2 { font-size: clamp(1.9rem, 5.5vw, 2.7rem); margin-bottom: var(--sp-2); }
.about-text p + p { margin-top: var(--sp-2); }
.about-text .eyebrow { display: block; margin-bottom: var(--sp-2); }
.about-facts {
  margin-top: var(--sp-3);
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.fact-chip {
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  background: var(--leinen);
  box-shadow: inset 0 0 0 1px var(--linie-zart);
}

@media (min-width: 820px) {
  .about-grid { grid-template-columns: 5fr 7fr; }
}

/* ============================================================
   Leistungen — Preisliste im Menü-Stil
   ============================================================ */
.services { background: var(--leinen); }

.service-group + .service-group { margin-top: var(--sp-4); }
.service-group > h3 {
  font-size: 1.15rem;
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--karamell-tief);
  padding-bottom: var(--sp-1);
  border-bottom: 1px solid var(--linie);
}

.service {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.25rem 1.25rem;
  padding: 1.35rem 0.25rem;
  border-bottom: 1px solid var(--linie-zart);
}
.service-name {
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.2;
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.badge {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--creme-hell);
  background: var(--karamell);
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  transform: translateY(-2px);
}
.service-price {
  font-family: var(--serif);
  font-size: 1.2rem;
  white-space: nowrap;
  align-self: start;
  font-variant-numeric: tabular-nums;
}
.service-desc {
  grid-column: 1 / -1;
  font-size: 0.95rem;
  color: var(--taupe);
  max-width: 56ch;
}
.service-meta {
  grid-column: 1 / -1;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--karamell-tief);
  font-weight: 400;
}
.services-note {
  margin-top: var(--sp-3);
  font-size: 0.88rem;
  color: var(--taupe);
  max-width: 60ch;
}

/* ============================================================
   Ergebnisse — Vorher/Nachher
   ============================================================ */
.results { background: var(--porzellan); }

/* Slider (Signature) */
.ba {
  position: relative;
  border-radius: var(--arch);
  overflow: hidden;
  touch-action: pan-y;
  box-shadow: var(--schatten);
  outline: 1px solid rgba(0, 0, 0, 0.1);
  outline-offset: -1px;
}
.ba img {
  width: 100%;
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
}
.ba-after {
  position: absolute;
  inset: 0;
  clip-path: inset(0 0 0 var(--pos, 50%));
}
.ba-after img { height: 100%; object-fit: cover; }
.ba-divider {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--pos, 50%);
  width: 2px;
  margin-left: -1px;
  background: var(--creme-hell);
  box-shadow: 0 0 12px rgba(23, 19, 15, 0.35);
  pointer-events: none;
}
.ba-handle {
  position: absolute;
  top: 50%;
  left: var(--pos, 50%);
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--porzellan);
  box-shadow: 0 2px 14px rgba(23, 19, 15, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  pointer-events: none;
}
.ba-handle::before,
.ba-handle::after {
  content: '';
  width: 7px; height: 7px;
  border-top: 1.5px solid var(--tinte);
  border-left: 1.5px solid var(--tinte);
}
.ba-handle::before { transform: rotate(-45deg) translate(1px, 1px); }
.ba-handle::after { transform: rotate(135deg) translate(1px, 1px); }

.ba-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  margin: 0;
}

/* Editorial-Labels — wie im eigenen Instagram-Post */
.ba-label {
  position: absolute;
  bottom: var(--sp-2);
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  padding: 0.4rem 0.8rem 0.35rem;
  background: rgba(247, 243, 237, 0.82);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 4px;
  pointer-events: none;
}
.ba-label-before { left: var(--sp-2); }
.ba-label-after { right: var(--sp-2); }

.ba-caption {
  margin-top: var(--sp-2);
  font-size: 0.88rem;
  color: var(--taupe);
  text-align: center;
}

/* Galerie-Paare */
.pair-grid {
  margin-top: var(--sp-4);
  display: grid;
  gap: var(--sp-4);
}
.pair figure { margin: 0; }
.pair-imgs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}
.pair-imgs img {
  border-radius: var(--radius-m);
  outline: 1px solid rgba(0, 0, 0, 0.1);
  outline-offset: -1px;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 5;
}
.pair-labels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-top: 0.7rem;
}
.pair-labels span {
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--taupe);
  padding-top: 0.5rem;
  border-top: 1px solid var(--linie);
}
.pair figcaption {
  margin-top: 0.8rem;
  font-family: var(--serif);
  font-size: 1.05rem;
}

@media (min-width: 720px) {
  .pair-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   Ablauf — echte Abfolge, daher nummeriert
   ============================================================ */
.flow { background: var(--leinen); }
.flow-steps {
  display: grid;
  gap: var(--sp-3);
  counter-reset: schritt;
}
.step {
  position: relative;
  padding-left: 4.2rem;
  counter-increment: schritt;
}
.step::before {
  content: counter(schritt, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0.1rem;
  font-family: var(--serif);
  font-size: 1.9rem;
  font-style: italic;
  color: var(--karamell);
  font-variant-numeric: tabular-nums;
}
.step h3 { font-size: 1.35rem; margin-bottom: 0.4rem; }
.step p { font-size: 0.97rem; color: var(--taupe); max-width: 48ch; }
.step strong { font-weight: 500; color: var(--tinte); }

@media (min-width: 820px) {
  .flow-steps { grid-template-columns: repeat(3, 1fr); }
  .step { padding-left: 0; padding-top: 3.4rem; }
  .step::before { top: 0; }
}

/* ============================================================
   FAQ
   ============================================================ */
.faq { background: var(--porzellan); }
.faq-list { border-top: 1px solid var(--linie); }
.faq-item { border-bottom: 1px solid var(--linie); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--sp-2);
  padding: 1.15rem 0.25rem;
  font-family: var(--serif);
  font-size: 1.18rem;
  line-height: 1.3;
  min-height: 44px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  flex: none;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--karamell);
  transition: rotate 0.3s var(--ease-out);
}
.faq-item[open] summary::after { rotate: 45deg; }
.faq-item p {
  padding: 0 0.25rem 1.25rem;
  font-size: 0.97rem;
  color: var(--taupe);
  max-width: 60ch;
}

/* ============================================================
   Kontakt
   ============================================================ */
.contact { background: var(--tinte); color: var(--porzellan); }
.contact .eyebrow { color: var(--sand); }
.contact .section-head p { color: rgba(247, 243, 237, 0.7); }

.contact-grid {
  display: grid;
  gap: var(--sp-4);
}

.contact-card h3 {
  font-size: 1.3rem;
  margin-bottom: var(--sp-2);
}
.contact-ways { display: grid; gap: 0.85rem; }
.contact-ways .btn { width: 100%; }

.contact-info {
  margin-top: var(--sp-3);
  display: grid;
  gap: 0.9rem;
  font-size: 0.95rem;
}
.contact-info a { color: var(--porzellan); text-underline-offset: 3px; }
.contact-info .label {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 0.15rem;
}

/* Formular */
.form-field { margin-bottom: var(--sp-2); }
.form-field label {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 0.45rem;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 52px;
  padding: 0.8rem 1rem;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1rem;
  color: var(--tinte);
  background: var(--porzellan);
  border: 0;
  border-radius: var(--radius-s);
  box-shadow: inset 0 0 0 1px transparent;
  transition: box-shadow 0.2s var(--ease-out);
}
.form-field textarea { min-height: 108px; resize: vertical; }
.form-field :is(input, select, textarea):focus-visible {
  outline: 2px solid var(--karamell);
  outline-offset: 1px;
}
.form-hint {
  font-size: 0.82rem;
  color: rgba(247, 243, 237, 0.6);
  margin-top: var(--sp-2);
}

@media (min-width: 820px) {
  .contact-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-5); }
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--tinte);
  color: rgba(247, 243, 237, 0.65);
  padding: var(--sp-4) var(--sp-3) calc(var(--sp-4) + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(247, 243, 237, 0.12);
}
.footer-inner {
  max-width: 1060px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  align-items: flex-start;
}
.site-footer .monogram { color: var(--porzellan); font-size: 2rem; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.5rem;
  font-size: 0.88rem;
}
.footer-links a {
  color: rgba(247, 243, 237, 0.75);
  text-decoration: none;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}
.footer-links a:hover { color: var(--porzellan); text-decoration: underline; text-underline-offset: 3px; }
.footer-copy { font-size: 0.8rem; }

/* ============================================================
   Floating WhatsApp (mobil, nach dem Hero)
   ============================================================ */
.fab {
  position: fixed;
  right: var(--sp-2);
  bottom: calc(var(--sp-2) + env(safe-area-inset-bottom));
  z-index: 80;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--karamell);
  color: var(--creme-hell);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(23, 19, 15, 0.3);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition-property: opacity, transform, background-color, scale;
  transition-duration: 0.3s;
  transition-timing-function: var(--ease-out);
}
.fab.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.fab:hover { background: var(--karamell-tief); }
.fab:active { scale: 0.96; }

/* ============================================================
   Scroll-Reveals
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition-property: opacity, transform;
  transition-duration: 0.8s;
  transition-timing-function: var(--ease-out);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .hero-inner > * { opacity: 1 !important; transform: none !important; transition: none !important; }
  .intro { display: none !important; }
  .btn:active, .fab:active { scale: 1; }
}

/* ?preview: alles sofort sichtbar (Tests & Screenshots) */
html.preview { scroll-behavior: auto; }
html.preview :is(.reveal, .hero-inner > *) {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

/* ============================================================
   Rechtliches (Impressum / Datenschutz)
   ============================================================ */
.legal {
  max-width: 720px;
  margin: 0 auto;
  padding: calc(var(--sp-5) + 3rem) var(--sp-3) var(--sp-5);
}
.legal h1 { font-size: clamp(2rem, 7vw, 3rem); margin-bottom: var(--sp-3); }
.legal h2 { font-size: 1.4rem; margin: var(--sp-4) 0 var(--sp-2); }
.legal p, .legal li { color: var(--taupe); font-size: 0.97rem; }
.legal p + p { margin-top: var(--sp-2); }
.legal ul { padding-left: 1.2rem; margin-top: var(--sp-2); }
.legal a { text-underline-offset: 3px; }
.legal .todo {
  background: var(--leinen);
  border-left: 3px solid var(--karamell);
  padding: 0.8rem 1rem;
  margin: var(--sp-2) 0;
  font-size: 0.9rem;
  border-radius: 0 var(--radius-s) var(--radius-s) 0;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: var(--sp-3);
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--taupe);
  min-height: 40px;
}
.back-link:hover { color: var(--tinte); }
