/* =========================================================
   MAVIE Coming soon auf der Startseite von digitalgrafik24.de (Micha 12.11.2026)
   Zwischen Kennzahlen und Manifest (ersetzt die Trennlinie). Quelle ~/Documents/Kunden/Mavie/Mavie Seite Komplett,
   Effekte wie mavie-skin.com und kosmetik-marketing.com. Eigene Datei, Klassen mr- / aa-, site.css bleibt unberührt.
   Bewusst eigene Bühne im MAVIE-Look (Cinzel, Nacht, Beige) auf Schwarz wie die Nachbarsektionen.
   ========================================================= */
@font-face { font-family: "Cinzel"; src: url("/assets/fonts/cinzel-var.woff2") format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }

.mavie-cs { --serif: "Cinzel", "Trajan Pro", Georgia, serif; --nacht: #0b0716; position: relative;
  background: linear-gradient(to bottom, #000, #0b0716 14%, #0b0716 86%, #000);   /* Schwarz → MAVIE-Nacht → Schwarz: Bildränder (Nacht) verschmelzen, Nachbarn bleiben schwarz */ color: #f4ede6; text-align: center; padding: clamp(20px, 3vw, 40px) 0 clamp(70px, 9vw, 120px); overflow: hidden; }
.manifest-linie { display: none; }   /* die MAVIE-Bühne steht an der Stelle der Trennlinie (Micha 12.11.2026) */

/* ---------- Motiv „Aged Authority“: ganz, nie angeschnitten, Ränder weich ins Schwarz; Headline als Text an der Stelle der Original-Schrift ---------- */
.mr-motiv { position: relative; width: min(100%, 1600px); margin: 0 auto; }
.mr-motiv picture { display: block; aspect-ratio: 2000 / 1015;
  --mx: linear-gradient(to right, transparent, rgba(0,0,0,.18) 3%, rgba(0,0,0,.45) 6%, rgba(0,0,0,.75) 9.5%, rgba(0,0,0,.93) 12%, #000 14%, #000 93.6%, rgba(0,0,0,.7) 96%, rgba(0,0,0,.3) 98.3%, transparent);
  --my: linear-gradient(to bottom, transparent, rgba(0,0,0,.55) 2.5%, #000 5.5%, #000 72%, rgba(0,0,0,.9) 78%, rgba(0,0,0,.7) 84%, rgba(0,0,0,.42) 90%, rgba(0,0,0,.16) 95.5%, transparent);
  -webkit-mask-image: var(--mx), var(--my); -webkit-mask-composite: source-in; mask-image: var(--mx), var(--my); mask-composite: intersect; }
.mr-motiv picture img { width: 100%; height: 100%; object-fit: cover; }
.mr-ebene { position: absolute; left: 0; right: 0; top: 0; aspect-ratio: 2000 / 1015; pointer-events: none; --sc: .5; --dx: 0; }
.mr-haare { position: absolute; z-index: 1; pointer-events: none;
  --hm: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent), linear-gradient(to bottom, transparent, #000 5%, #000 95%, transparent);
  -webkit-mask-image: var(--hm); -webkit-mask-composite: source-in; mask-image: var(--hm); mask-composite: intersect; }
.aa-text { position: absolute; z-index: 2; margin: 0; left: calc(var(--dx) * 1px + 1000px * var(--sc)); top: calc(196px * var(--sc));
  font-family: var(--serif); font-size: calc(98px * var(--sc)); line-height: .9; font-weight: 500; letter-spacing: -.02em; color: #fff; text-align: left; white-space: nowrap; }
.aa-z { display: block; }
.aa-unter { display: block; margin-top: calc(34px * var(--sc)); font-family: var(--font); font-size: calc(36px * var(--sc)); line-height: 1.3; font-weight: 300; letter-spacing: .005em; color: rgba(255, 255, 255, .66); }
html.mr-js .mavie-cs .aa-z, html.mr-js .mavie-cs .aa-unter { opacity: 0; }
html.mr-js .mavie-cs.sichtbar .aa-z { animation: htFokus 1.2s ease-out both; animation-delay: calc(.55s + var(--z) * .18s); }
html.mr-js .mavie-cs.sichtbar .aa-unter { animation: htFokus 1.1s ease-out 1.05s both; }
.mr-spiegel { display: none; }
@keyframes htFokus { from { opacity: 0; filter: blur(14px); } to { opacity: 1; filter: blur(0); } }
@keyframes htAus { from { opacity: 1; filter: blur(0); } to { opacity: 0; filter: blur(14px); } }
.mr-kopf { margin-top: calc(-1 * clamp(24px, 4vw, 60px)); }

/* ---------- Coming soon, Zähler, Produktbild (wie kosmetik-marketing.com) ---------- */
.mr-kopf { position: relative; z-index: 2; padding: 0 22px; }
.mr-h { margin: 0; font-weight: 400; }
.mr-dach { display: block; font-family: var(--serif); font-size: 13px; line-height: 1.3; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: #d9bd98; margin: 0 0 16px; padding-left: .26em; }
.mr-zeile { display: block; font-family: var(--serif); font-size: clamp(30px, 3.2vw, 46px); line-height: .86; font-weight: 600; letter-spacing: -.035em; color: #fff; }

/* Klappzähler (Mechanik der Solar-Berlin-Coming-soon-Seite) */
.mr-zaehler { display: flex; justify-content: center; align-items: flex-start; gap: clamp(10px, 1.3vw, 18px); margin: clamp(22px, 3vw, 34px) 0 0; font-variant-numeric: tabular-nums lining-nums; }
.mr-feld { display: flex; flex-direction: column; align-items: center; }
.mr-blatt { --h: clamp(52px, 5.2vw, 76px); --r: calc(var(--h) * .12); position: relative; min-width: calc(var(--h) * 1.02); height: var(--h); padding: 0 calc(var(--h) * .1); perspective: calc(var(--h) * 4);
  font-family: var(--serif); font-size: calc(var(--h) * .54); font-weight: 500; letter-spacing: .02em; color: #f4ede6; }
.mr-blatt span { position: absolute; left: 0; right: 0; height: 50%; overflow: hidden; background: #1b1430; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.mr-blatt .u, .mr-blatt .ku { background: #171128; }
.mr-blatt b { display: block; height: var(--h); line-height: var(--h); font-weight: inherit; padding-top: calc(var(--h) * .03); }
.mr-blatt .o, .mr-blatt .ko { top: 0; border-radius: var(--r) var(--r) 0 0; transform-origin: 50% 100%; box-shadow: inset 0 1px 0 rgba(244, 237, 230, .07); }
.mr-blatt .u, .mr-blatt .ku { bottom: 0; border-radius: 0 0 var(--r) var(--r); transform-origin: 50% 0; }
.mr-blatt .u b, .mr-blatt .ku b { transform: translateY(-50%); }
.mr-blatt .ko, .mr-blatt .ku { z-index: 2; }
.mr-blatt .ku { transform: rotateX(90deg); }
.mr-blatt::before { content: attr(data-wert); visibility: hidden; display: inline-block; line-height: var(--h); }
.mr-blatt::after { content: ""; position: absolute; left: 0; right: 0; top: calc(50% - .75px); height: 1.5px; background: var(--nacht); z-index: 3; }
#mr-sek { color: #d9bd98; }
.mr-blatt.klappt .ko { animation: mrKlappeOben .32s ease-in forwards; }
.mr-blatt.klappt .ku { animation: mrKlappeUnten .55s .32s cubic-bezier(.2, 1.6, .45, 1) forwards; }
.mr-blatt.klappt .u b { animation: mrAbdunkeln .32s ease-in forwards; }
@keyframes mrKlappeOben { to { transform: rotateX(-90deg); filter: brightness(1.5); } }
@keyframes mrKlappeUnten { from { transform: rotateX(90deg); filter: brightness(.45); } to { transform: rotateX(0); filter: none; } }
@keyframes mrAbdunkeln { to { opacity: .35; } }
.mr-einheit { display: block; margin-top: 10px; font-family: var(--serif); font-size: 11px; line-height: 1; font-weight: 600; letter-spacing: .2em; padding-left: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .56); }
.mr-lead { max-width: 640px; margin: clamp(22px, 3vw, 34px) auto 0; font-family: var(--serif); font-size: clamp(16px, 1.35vw, 19px); line-height: 1.4; font-weight: 400; letter-spacing: 0; color: rgba(255, 255, 255, .56); text-wrap: balance; }

/* Produktbild „Timeless Skin“ mit Pulsar, dicht an der Subline (der dunkle Himmel oben läuft unter die Subline) */
.mr-produkt { position: relative; width: min(100%, 1120px); margin: calc(min(100vw, 1120px) * -.072) auto 0; container-type: inline-size; }
.mr-produkt picture { display: block; aspect-ratio: 2000 / 1231;
  --mx: linear-gradient(to right, transparent, rgba(0,0,0,.5) 2%, #000 5%, #000 95%, rgba(0,0,0,.5) 98%, transparent);
  --my: linear-gradient(to bottom, transparent, #000 6%, #000 92%, transparent);
  -webkit-mask-image: var(--mx), var(--my); -webkit-mask-composite: source-in; mask-image: var(--mx), var(--my); mask-composite: intersect; }
.mr-produkt img { width: 100%; height: 100%; object-fit: cover; }
.mr-pulsar { position: absolute; left: 0; top: 0; z-index: 1; pointer-events: none; }
.mr-raumzeit { position: absolute; z-index: 1; pointer-events: none; opacity: 0; transition: opacity 1.4s ease-out;
  --rm: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent), linear-gradient(to bottom, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: var(--rm); -webkit-mask-composite: source-in; mask-image: var(--rm); mask-composite: intersect; }
.mr-raumzeit.an { opacity: 1; }
html.mr-js .mr-produkt .mr-pulsar { opacity: 0; transition: opacity 2s ease-out .4s; }
html.mr-js .mr-produkt.sichtbar .mr-pulsar { opacity: 1; }
.mr-produkt-text { --f: 1; position: absolute; left: 44.45%; top: 60%; z-index: 2; text-align: left; pointer-events: none; }
.mr-produkt-h { margin: 0; font-family: var(--serif); font-size: calc(5cqw * var(--f)); line-height: .96; font-weight: 500; letter-spacing: -.02em; color: #fff; }
.mr-produkt-unter { margin: calc(.75cqw * var(--f)) 0 0; font-family: var(--font); font-size: calc(2.12cqw * var(--f)); line-height: 1.02; font-weight: 300; letter-spacing: -.005em; color: rgba(226, 214, 250, .44); }
.pt-z { display: block; }
html.mr-js .mr-produkt .pt-z { opacity: 0; }
html.mr-js .mr-produkt.sichtbar .pt-z { animation: htFokus 1.2s ease-out both; animation-delay: calc(.5s + var(--z) * .16s); }
html.mr-js .mr-produkt picture { opacity: 0; filter: blur(14px); transform: scale(.985); transition: opacity 1.4s ease-out, filter 1.4s ease-out, transform 1.8s var(--ease-out); }
html.mr-js .mr-produkt.sichtbar picture { opacity: 1; filter: blur(0); transform: none; }
html.mr-js .mr-produkt.fertig picture { filter: none; transition: none; }
.mr-link { position: relative; z-index: 2; margin: clamp(8px, 2vw, 24px) 0 0; }

/* ---------- iPhone (MO) ---------- */
@media (max-width: 760px) {
  .mavie-cs-alt { padding-top: 56px; }
  .mr-dach { font-size: 12px; margin-bottom: 12px; line-height: 1.6; }
  .mr-trenn { display: none; }
  .mr-name { display: block; }   /* zweizeilig statt Umbruch mitten im Namen */
  .mr-zeile { font-size: calc(100vw * .09); }
  .mr-zaehler { gap: 9px; margin-top: 28px; }
  .mr-blatt { --h: min(66px, calc((100vw - 32px - 27px) / 4 / 1.02)); font-size: calc(var(--h) * .52); }
  .mr-einheit { font-size: 9.5px; letter-spacing: .16em; padding-left: .16em; margin-top: 9px; }
  .mr-lead { margin-top: 28px; max-width: none; font-size: calc(100vw * .04); white-space: nowrap; }
  .mr-produkt { margin-top: -6px; }
  /* iPhone-Ausschnitt (Micha 12.11.2026, wie mavie-skin.com) x 800–1800, y 200–1231: Galaxie oben links, „Timeless Skin“ links im Bild, Serum + Amethyst rechts */
  .mr-produkt picture { aspect-ratio: 1000 / 1031; --mx: linear-gradient(to right, #000, #000); --my: linear-gradient(to bottom, transparent, #000 7%, #000 93%, transparent); }
  .mr-produkt-text { --f: 2; left: 9.1%; top: 53%; }
}

@media (prefers-reduced-motion: reduce) {
  .mr-motiv picture, .aa-z, .aa-unter, .mr-haare, .mr-spiegel, html.mr-js .mr-produkt.sichtbar .pt-z { animation: none !important; }
  html.mr-js .mr-produkt .pt-z { opacity: 1; }
  html.mr-js .mr-produkt picture { opacity: 1; filter: none; transform: none; transition: none; }
}


/* ---------- iPhone: Hochformat-Ausschnitt (Frau + Logo), Headline mittig auf der Spiegelung darunter (wie mavie-skin.com) ---------- */
@media (max-width: 760px) {
  .mavie-cs { padding-top: 0; }
  .mr-motiv { width: 100%; }
  .mr-motiv picture { aspect-ratio: 710 / 1015; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 6%); mask-image: linear-gradient(to bottom, transparent, #000 6%); }
  .mr-ebene { aspect-ratio: 710 / 1015; }
  .mr-spiegel { display: block; height: 196px; overflow: hidden; pointer-events: none;
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.85), rgba(0,0,0,.6) 14%, rgba(0,0,0,.36) 32%, rgba(0,0,0,.16) 56%, rgba(0,0,0,.05) 80%, transparent);
    mask-image: linear-gradient(to bottom, rgba(0,0,0,.85), rgba(0,0,0,.6) 14%, rgba(0,0,0,.36) 32%, rgba(0,0,0,.16) 56%, rgba(0,0,0,.05) 80%, transparent); }
  .mr-spiegel img { width: 100%; transform: scaleY(-1); }
  .aa-text { left: 0; right: 0; top: auto; bottom: -190px; text-align: center; font-size: calc(100vw * .134); }
  .aa-unter { font-size: calc(100vw * .044); margin-top: calc(100vw * .032); color: rgba(255, 255, 255, .62); }
  .mr-kopf { margin-top: 46px; }
}
/* Kennzahlen darüber: Schlüsselwörter in dezentem, leicht entsättigtem Lila statt Blau (Micha 12.11.2026) */
.stats-band .stat-key { color: #a48fdc; }
/* Button im MAVIE-Look: feine Beige-Kontur, Cinzel-Versalien (statt dg24-Blau, das hier mit dem Lila konkurrieren würde) */
.mavie-cs .mr-btn { background: transparent; color: #f4ede6; box-shadow: inset 0 0 0 1px rgba(244, 237, 230, .45); font-family: var(--serif); font-size: 15px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; border-radius: 12px; }
.mavie-cs .mr-btn:hover { background: rgba(244, 237, 230, .08); }
/* Bruchteil-Pixel an den Kanten: Nachbarsektionen um 1 px überlappen, sonst schimmert der helle Seitenhintergrund als Linie durch */
.stats-band + .mavie-cs { margin-top: -1px; }
.mavie-cs + .manifest { margin-top: -1px; position: relative; }
