/* Schriften lokal (keine Verbindung zu Google) */
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 300 800; font-display: swap; src: url(../fonts/geist-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 300 800; font-display: swap; src: url(../fonts/geist-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Geist Mono'; font-style: normal; font-weight: 400 500; font-display: swap; src: url(../fonts/geist-mono-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Geist Mono'; font-style: normal; font-weight: 400 500; font-display: swap; src: url(../fonts/geist-mono-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ═══════════════════════════════════════════════════════════════
   MACFLY – Neue Startseite
   Farben aus dem Roboter-Styleguide: Matte White, Space Black,
   Electric Blue, Neon Orange
═══════════════════════════════════════════════════════════════ */
:root {
  --bg: #05070b;
  --bg-2: #0a0e15;
  --panel: rgba(255, 255, 255, .045);
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --ink: #eef3f9;
  --mute: #8b97a8;
  --blue: #B5135A;
  --cyan: #E8668F;
  --orange: #D4763E;
  --brand-a: #B5135A;
  --brand-b: #D4763E;
  --grad: linear-gradient(135deg, #B5135A, #D4763E);
  --white: #f4efe6;
  --hue: 205;
  --f-display: "Geist", system-ui, -apple-system, sans-serif;
  --f-body: "Geist", system-ui, -apple-system, sans-serif;
  --f-mono: "Geist Mono", ui-monospace, monospace;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --gutter: clamp(16px, 4vw, 56px);
}

html.mf-html { scroll-behavior: auto; }
html.mf-html, body.mf-front-body { background: var(--bg); }
body.mf-front-body {
  margin: 0;
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.mf-front-body.mf-lock { overflow: hidden; }
.mf *, .mf *::before, .mf *::after { box-sizing: border-box; }
.mf a { color: inherit; text-decoration: none; }
.mf button { font: inherit; color: inherit; cursor: pointer; }
.mf img { max-width: 100%; display: block; }
.mf-logo__mark, .mf-foot__mark, .mf-boot__mark, .mf-zoom { stroke: none; }
:where(.mf) svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.mf ::selection { background: var(--orange); color: #000; }
.mf [hidden] { display: none !important; }
.mf-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mf-wrap { width: min(1320px, 100% - var(--gutter) * 2); margin-inline: auto; }
.mf-muted { color: var(--mute); }

/* Alte Theme-Widgets auf der neuen Startseite ausblenden (m-Fly ersetzt sie) */
body.mf-front-body #ob-ai-wrap,
body.mf-front-body #preloader,
body.mf-front-body .scroll-progress { display: none !important; }

/* ── Boot ─────────────────────────────────────────── */
.mf-boot {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  background: var(--bg);
  transition: opacity .8s var(--ease), visibility .8s;
}
.mf-boot.is-done { opacity: 0; visibility: hidden; }
.mf-boot__inner { width: min(420px, 86vw); font-family: var(--f-mono); font-size: 12px; color: var(--mute); }
.mf-boot__logo { font-family: var(--f-display); font-weight: 700; font-size: 26px; color: var(--ink); letter-spacing: .04em; margin-bottom: 22px; }
.mf-boot__logo span { color: var(--orange); font-weight: 300; }
.mf-boot__log { list-style: none; margin: 0 0 18px; padding: 0; min-height: 96px; }
.mf-boot__log li { opacity: .85; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mf-boot__log li::before { content: "› "; color: var(--cyan); }
.mf-boot__log li b { color: #6cf59a; font-weight: 400; }
.mf-boot__bar { height: 2px; background: var(--line); overflow: hidden; }
.mf-boot__bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--blue), var(--cyan)); box-shadow: 0 0 12px var(--cyan); }
.mf-boot__pct { margin-top: 10px; text-align: right; color: var(--ink); font-size: 14px; }

/* ── Warp (Seitenübergang) ───────────────────────── */
.mf-warp { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 150; pointer-events: none; }
.mf-warp__label {
  position: fixed; left: 50%; top: 50%; z-index: 151; transform: translate(-50%, -50%);
  font-family: var(--f-mono); text-align: center; pointer-events: none; opacity: 0;
  transition: opacity .25s;
}
.mf-warp__label.is-on { opacity: 1; }
.mf-warp__k { display: block; font-size: 11px; letter-spacing: .3em; color: var(--cyan); text-transform: uppercase; margin-bottom: 10px; }
.mf-warp__label strong { font-family: var(--f-display); font-size: clamp(34px, 7vw, 96px); font-weight: 700; letter-spacing: -.05em; color: #fff; }

/* ── Cursor ──────────────────────────────────────── */
/* Mauszeiger aus dem Logo: ein Balken des M – über Links setzt sich das ganze M zusammen */
.mf-cursor { position: fixed; left: 0; top: 0; z-index: 160; width: 40px; height: 26px; margin: -13px 0 0 -22px; pointer-events: none; opacity: 0; transition: opacity .3s; will-change: transform; }
html.mf-cursor-on .mf-cursor { opacity: 1; }
.mf-cursor.is-text, .mf-cursor.is-out { opacity: 0 !important; }
.mf-cursor__in { width: 100%; height: 100%; transform-origin: 22px 13px; transition: scale .5s var(--ease); filter: drop-shadow(0 0 6px rgba(212,118,62,.55)); }
.mf-cursor svg { display: block; width: 100%; height: 100%; overflow: visible; stroke: none; }
.mf-cursor path { fill: url(#mfBrand); transform-box: fill-box; transform-origin: 50% 50%; transition: transform .55s var(--ease), opacity .35s; }
.mf-cursor .b1 { transform: translate(60%, -10%) scale(0); opacity: 0; }
.mf-cursor .b3 { transform: translate(-80%, -20%) scale(0); opacity: 0; }
.mf-cursor .b4 { transform: translate(-90%, 40%) scale(0); opacity: 0; }
.mf-cursor.is-hover path, .mf-cursor.is-plug path, .mf-cursor.is-view path { transform: none; opacity: 1; }
.mf-cursor.is-hover .mf-cursor__in { scale: 1.15; }
.mf-cursor.is-plug .mf-cursor__in { scale: 1.35; }
.mf-cursor.is-view .mf-cursor__in { scale: 1.9; }
.mf-cursor.is-down .mf-cursor__in { scale: .75; }
.mf-cursor__label { position: absolute; left: 34px; top: 24px; padding: 5px 10px; border-radius: 999px; background: rgba(12,8,12,.82); border: 1px solid rgba(255,255,255,.12); font-size: 12px; font-weight: 500; white-space: nowrap; color: #fff; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .4s var(--ease); }
.mf-cursor.is-plug .mf-cursor__label, .mf-cursor.is-view .mf-cursor__label { opacity: 1; transform: none; }
@media (hover: hover) and (pointer: fine) {
  html.mf-cursor-on, html.mf-cursor-on * { cursor: none !important; }
  html.mf-cursor-on input, html.mf-cursor-on textarea { cursor: text !important; }
}
@media (hover: none), (pointer: coarse) { .mf-cursor { display: none; } }

/* ── Hintergrund ─────────────────────────────────── */
.mf-bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.mf-bg__glow {
  position: absolute; inset: -10%;
  background:
    radial-gradient(40% 50% at 50% 46%, rgba(181,19,90,.2), transparent 70%),
    radial-gradient(30% 30% at 50% 88%, rgba(212,118,62,.14), transparent 70%),
    radial-gradient(60% 60% at 80% 10%, rgba(232,102,143,.06), transparent 70%);
}
.mf-bg__grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(420px 420px at var(--mx, 50%) var(--my, 50%), #000, transparent 75%);
          mask-image: radial-gradient(420px 420px at var(--mx, 50%) var(--my, 50%), #000, transparent 75%);
  opacity: .55;
}
.mf-bg__word {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -54%);
  font-family: var(--f-display); font-weight: 800; font-size: clamp(120px, 26vw, 420px); letter-spacing: -.05em;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.06); white-space: nowrap; user-select: none;
}

/* ── 3D-Bühne ────────────────────────────────────── */
.mf-stage { position: fixed; inset: 0; z-index: 5; pointer-events: none; }
.mf-stage canvas { display: block; width: 100%; height: 100%; }

/* ── Orbit-Karten ────────────────────────────────── */
.mf-orbit { position: static; }
.mf-card {
  --h: 205;
  position: fixed; left: 0; top: 0; z-index: 6;
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center;
  min-width: 190px; padding: 12px 16px 12px 12px;
  border: 1px solid rgba(255,255,255,.14); border-radius: 16px;
  background: linear-gradient(135deg, rgba(255,255,255,.12), rgba(255,255,255,.03));
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 10px 40px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.18);
  text-align: left; opacity: 0; will-change: transform, opacity;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.mf-card.is-back { z-index: 4; }
.mf-card::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(135deg, hsl(var(--h) 100% 65% / .9), transparent 40%, transparent 60%, hsl(var(--h) 100% 65% / .5)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .3s; pointer-events: none; }
.mf-card:hover, .mf-card:focus-visible, .mf-card.is-hot { border-color: hsl(var(--h) 100% 70% / .6); box-shadow: 0 10px 50px hsl(var(--h) 100% 50% / .35), inset 0 1px 0 rgba(255,255,255,.25); outline: none; }
.mf-card:hover::after, .mf-card:focus-visible::after, .mf-card.is-hot::after { opacity: 1; }
.mf-card__no { position: absolute; right: 12px; top: 9px; font-family: var(--f-mono); font-size: 10px; color: var(--mute); }
.mf-card__ic { grid-row: span 2; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: hsl(var(--h) 90% 55% / .16); color: hsl(var(--h) 100% 72%); font-size: 21px; box-shadow: inset 0 0 0 1px hsl(var(--h) 100% 70% / .3); }
.mf-card__t { font-family: var(--f-display); font-weight: 600; font-size: 15px; letter-spacing: -.01em; padding-right: 22px; }
.mf-card__s { font-size: 12px; color: var(--mute); }
.mf-card.is-held { transition: none; z-index: 8; }
.mf-card.is-held .mf-card__ic { box-shadow: 0 0 22px hsl(var(--h) 100% 60% / .8); }
.mf.is-busy .mf-card:not(.is-held) { pointer-events: none; }

/* ── Sprechblase ─────────────────────────────────── */
.mf-bubble {
  position: fixed; left: 0; top: 0; z-index: 9; max-width: min(320px, 74vw);
  padding: 12px 16px; border-radius: 16px 16px 16px 4px;
  background: rgba(16, 10, 16, .84); border: 1px solid rgba(212,118,62,.35);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  font-size: 14px; line-height: 1.45; box-shadow: 0 0 40px rgba(181,19,90,.25);
  opacity: 0; transform: translate(-9999px, 0); transition: opacity .3s; pointer-events: none;
}
.mf-bubble.is-on { opacity: 1; }
.mf.is-away .mf-bubble { opacity: 0 !important; }
.mf-bubble__who { display: block; font-family: var(--f-mono); font-size: 10px; letter-spacing: .2em; color: var(--cyan); margin-bottom: 3px; }
.mf-bubble p { margin: 0; }
.mf-bubble p::after { content: "▍"; color: var(--cyan); animation: mf-blink 1s steps(1) infinite; margin-left: 1px; }
.mf-bubble.is-idle p::after { display: none; }
@keyframes mf-blink { 50% { opacity: 0; } }

/* ── Kopfzeile ───────────────────────────────────── */
.mf-head {
  position: fixed; left: 0; right: 0; top: 0; z-index: 60;
  display: flex; align-items: center; gap: 24px; padding: 18px var(--gutter);
  transition: transform .5s var(--ease), background .4s, padding .4s;
}
.mf-head.is-solid { background: rgba(5,7,11,.72); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); padding-block: 12px; border-bottom: 1px solid var(--line); }
.mf-head.is-hidden { transform: translateY(-110%); }
.mf-logo { display: flex; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 700; font-size: 18px; letter-spacing: .06em; }
.mf-logo__mark { width: 34px; height: 22px; flex: none; }
.mf-logo span { font-family: var(--f-display); }
.mf-boot__mark { width: 44px; height: 29px; vertical-align: -3px; margin-right: 12px; }
.mf-head__nav { display: flex; gap: 6px; margin-left: auto; }
.mf-head__portal { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; font-size: 14px; color: var(--mute); transition: color .25s, background .25s; }
.mf-head__portal svg { font-size: 18px; }
.mf-head__portal:hover { color: #fff; background: rgba(255,255,255,.06); }
@media (max-width: 1100px) { .mf-head__portal span { display: none; } }
.mf-head__nav a { position: relative; padding: 8px 14px; font-size: 14px; color: var(--mute); border-radius: 999px; transition: color .25s, background .25s; }
.mf-head__nav a:hover, .mf-head__nav a.is-on { color: var(--ink); background: rgba(255,255,255,.06); }
@media (max-width: 860px) { .mf-head__nav { display: none; } .mf-head__cta { margin-left: auto; } }

/* ── Buttons ─────────────────────────────────────── */
.mf-btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px; font-size: 14px; font-weight: 600; border: 1px solid var(--line-2); background: transparent; transition: background .3s, border-color .3s, transform .3s var(--ease), color .3s; }
.mf-btn svg { font-size: 16px; transition: transform .3s var(--ease); }
.mf-btn:hover svg { transform: translate(2px, -2px); }
.mf-btn--ghost:hover { border-color: var(--orange); color: #fff; background: rgba(255,138,61,.1); }
.mf-btn--solid { background: var(--ink); color: #05070b; border-color: var(--ink); }
.mf-btn--solid:hover { background: var(--orange); border-color: var(--orange); }
.mf-btn--solid:hover svg { transform: translateX(3px); }
.mf-btn[disabled] { opacity: .5; pointer-events: none; }

/* ── Hero ────────────────────────────────────────── */
.mf-main { position: relative; }
.mf-hero { position: relative; height: 100vh; height: 100svh; min-height: 620px; z-index: 7; pointer-events: none; }
.mf-hero > * { pointer-events: auto; }
.mf-hero__left { position: absolute; left: var(--gutter); top: 50%; transform: translateY(-46%); width: min(460px, 34vw); }
.mf-eyebrow { font-family: var(--f-mono); font-size: 12px; color: var(--cyan); letter-spacing: .06em; margin-bottom: 22px; }
.mf-hero__title { margin: 0 0 22px; font-family: var(--f-display); font-weight: 700; font-size: clamp(36px, 4.5vw, 80px); line-height: .96; letter-spacing: -.055em; }
.mf-line { display: block; overflow: hidden; padding-bottom: .06em; }
.mf-line > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); }
.mf.is-ready .mf-line > span { transform: none; }
.mf.is-ready .mf-line:nth-child(2) > span { transition-delay: .08s; }
.mf.is-ready .mf-line:nth-child(3) > span { transition-delay: .16s; }
.mf.is-ready .mf-line:nth-child(4) > span { transition-delay: .3s; }
.mf-line--accent { font-size: .44em; letter-spacing: -.03em; font-weight: 600; margin-top: .45em; }
.mf-line--accent span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mf-hero__lead { color: var(--mute); max-width: 400px; margin: 0 0 28px; font-size: 16px; }
.mf-hero__trust { display: flex; align-items: center; gap: 14px; font-size: 14px; }
.mf-hero__trust small { color: var(--mute); font-size: 12px; }
.mf-avatars { display: flex; }
.mf-avatars i { width: 34px; height: 34px; margin-left: -8px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-family: var(--f-display); font-size: 11px; font-weight: 700; color: #05070b; background: var(--white); border: 2px solid var(--bg); }
.mf-avatars i:first-child { margin-left: 0; }
.mf-avatars i:nth-child(2) { background: var(--cyan); } .mf-avatars i:nth-child(3) { background: var(--orange); } .mf-avatars i:nth-child(4) { background: #1b2230; color: var(--ink); }

.mf-hero__index { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.mf-hero__index button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 6px 0; background: none; border: 0; font-size: 13px; color: var(--mute); text-align: right; justify-content: flex-end; transition: color .25s; }
.mf-hero__index b { font-family: var(--f-mono); font-weight: 400; font-size: 11px; order: 2; width: 26px; padding-left: 10px; border-left: 1px solid var(--line-2); transition: border-color .25s, color .25s; }
.mf-hero__index button:hover, .mf-hero__index button.is-hot { color: var(--ink); }
.mf-hero__index button:hover b, .mf-hero__index button.is-hot b { border-color: var(--orange); color: var(--orange); }

.mf-cmd {
  position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%);
  display: flex; align-items: center; gap: 10px; width: min(560px, calc(100% - 32px));
  padding: 8px 8px 8px 18px; border-radius: 999px;
  background: rgba(10, 14, 21, .7); border: 1px solid var(--line-2);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
  transition: border-color .3s, box-shadow .3s;
}
.mf-cmd:focus-within { border-color: rgba(212,118,62,.6); box-shadow: 0 0 0 4px rgba(212,118,62,.08), 0 0 50px rgba(181,19,90,.25); }
.mf-cmd__dot { width: 8px; height: 8px; border-radius: 50%; background: #6cf59a; box-shadow: 0 0 10px #6cf59a; flex: none; }
.mf-cmd__prompt { font-family: var(--f-mono); font-size: 13px; color: var(--cyan); flex: none; }
.mf-cmd input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--ink); font: inherit; font-size: 15px; padding: 8px 0; }
.mf-cmd input::placeholder { color: #5d6878; }
.mf-cmd button { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--ink); color: #05070b; display: grid; place-items: center; font-size: 18px; transition: background .25s, transform .25s; }
.mf-cmd button:hover { background: var(--orange); transform: rotate(-20deg); }

.mf-hero__hint { position: absolute; right: var(--gutter); bottom: 44px; display: flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 11px; color: var(--mute); text-transform: uppercase; letter-spacing: .14em; }
.mf-hero__hint i { position: relative; width: 1px; height: 36px; background: var(--line-2); overflow: hidden; }
.mf-hero__hint i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--orange); animation: mf-drip 1.8s var(--ease) infinite; }
@keyframes mf-drip { to { top: 100%; } }

@media (max-width: 1180px) { .mf-hero__index { display: none; } }
/* Gestapelt: Hochformat oder schmal → Text oben, m-Fly darunter */
@media (max-width: 900px), (max-aspect-ratio: 21/20) {
  .mf-hero { min-height: 640px; }
  .mf-hero__left { top: 92px; transform: none; width: auto; right: var(--gutter); text-align: center; }
  .mf-hero__title { font-size: clamp(28px, 7.4vw, 56px); margin-bottom: 10px; }
  .mf-hero__title .mf-line:nth-child(-n+3) { display: inline-block; margin-right: .22em; }
  .mf-line--accent { margin-top: .2em; }
  .mf-hero__lead, .mf-hero__trust, .mf-hero__hint, .mf-hero__index { display: none; }
  .mf-eyebrow { margin-bottom: 14px; }
  .mf-cmd { bottom: 18px; }
}
@media (max-width: 760px) {
  .mf-eyebrow { display: none; }
  .mf-card { min-width: 0; padding: 8px 12px 8px 8px; column-gap: 8px; border-radius: 12px; }
  .mf-card__ic { width: 30px; height: 30px; font-size: 15px; border-radius: 8px; }
  .mf-card__t { font-size: 12px; padding-right: 0; }
  .mf-card__s, .mf-card__no { display: none; }
}

/* ── Gemeinsame Typo ─────────────────────────────── */
.mf-h2, .mf-chap h2 { margin: 0; font-family: var(--f-display); font-weight: 600; font-size: clamp(38px, 6vw, 100px); line-height: .98; letter-spacing: -.05em; }
.mf .mf-cta { color: #fff; }
.mf-cta { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px; font-weight: 600; font-size: 15px; color: #fff; background: var(--grad); box-shadow: 0 10px 40px rgba(181,19,90,.35); transition: transform .4s var(--ease), box-shadow .4s; }
.mf-cta:hover { transform: translateY(-2px); box-shadow: 0 16px 50px rgba(212,118,62,.45); }
.mf-cta:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.mf-cta--dark { background: #1d1d1f; box-shadow: none; }
.mf-cta--dark:hover { background: var(--grad); }

/* ── Sektionen: Grundflächen ─────────────────────── */
.mf-anat, .mf-web, .mf-print, .mf-photo, .mf-soft, .mf-flow, .mf-projects, .mf-contact, .mf-foot { position: relative; z-index: 1; background: #000; }
.mf-anat__pin, .mf-web__pin, .mf-print__pin, .mf-photo__pin, .mf-soft__pin, .mf-flow__pin { position: relative; height: 100vh; height: 100svh; overflow: hidden; }

/* ── Kapitel: m-Fly zerlegt sich ───────────────────── */
.mf-anat { background: transparent; }
.mf-anat__pin { background: radial-gradient(60% 55% at 50% 52%, rgba(181,19,90,.16), transparent 70%), #000; }
.mf-anat__title { position: absolute; left: 0; right: 0; top: 15vh; margin: 0; text-align: center; font-family: var(--f-display); font-weight: 600; font-size: clamp(34px, 5.4vw, 88px); letter-spacing: -.05em; line-height: 1; padding: 0 var(--gutter); }
.mf-anat__hint { position: absolute; left: 0; right: 0; top: calc(15vh + clamp(48px, 6.4vw, 104px)); margin: 0; text-align: center; color: var(--mute); font-size: 17px; }
.mf-anat__lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 6; overflow: visible; }
.mf-anat__lines path { fill: none; stroke: rgba(255,255,255,.4); stroke-width: 1; }
.mf-anat__lines circle { fill: #fff; }
.mf-anat__lines circle.halo { fill: none; stroke: #D4763E; stroke-width: 1.5; }
.mf-callout { position: absolute; left: 0; top: 0; z-index: 7; width: min(250px, 38vw); opacity: 0; will-change: transform, opacity; }
.mf-callout b { display: block; font-family: var(--f-display); font-weight: 600; font-size: 18px; letter-spacing: -.02em; margin-bottom: 6px; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.mf-callout span { display: block; color: #c9cdd4; font-size: 14px; line-height: 1.45; }
.mf-anat__end { position: absolute; left: 0; right: 0; top: 13vh; margin: 0; text-align: center; font-family: var(--f-display); font-weight: 600; font-size: clamp(30px, 4.6vw, 76px); letter-spacing: -.05em; line-height: 1.02; }
.mf-anat__end span { display: block; opacity: 0; transform: translateY(40px); }
@media (max-width: 760px) {
  .mf-callout { width: calc(100vw - 32px); text-align: center; }
  .mf-callout span { font-size: 13px; }
}

/* ── Kapitel: Webseiten ──────────────────────────── */
.mf-web__pin { background: #000; perspective: 1800px; }
.mf-web__glow { position: absolute; inset: 0; background: var(--grad); }
.mf-web__head { position: absolute; left: var(--gutter); top: 13vh; z-index: 3; max-width: min(620px, 90vw); opacity: 0; }
.mf-web__head h2 { margin: 0 0 16px; font-family: var(--f-display); font-weight: 600; font-size: clamp(32px, 4.4vw, 70px); line-height: 1; letter-spacing: -.05em; }
.mf-web__head p { margin: 0; color: var(--mute); font-size: 17px; max-width: 46ch; }
.mf-site-wrap { position: absolute; left: 50%; top: 62%; width: 0; height: 0; z-index: 2; }
.mf-site { position: absolute; left: -480px; top: -300px; width: 960px; height: 600px; transform-style: preserve-3d; transform-origin: 50% 50%; will-change: transform; }
.mf-layer { position: absolute; inset: 0; border-radius: 16px; transform-style: preserve-3d; will-change: transform, opacity; }
.mf-layer::after { content: ""; position: absolute; right: -1px; top: 50%; width: 1px; height: 1px; }
.mf-layer--grid { border: 1px dashed rgba(255,255,255,.3); background: rgba(255,255,255,.02); }
.mf-layer--grid i { position: absolute; top: 0; bottom: 0; width: 1px; background: rgba(255,255,255,.08); }
.mf-layer--grid i:nth-child(1) { left: 16.6%; } .mf-layer--grid i:nth-child(2) { left: 33.3%; } .mf-layer--grid i:nth-child(3) { left: 50%; } .mf-layer--grid i:nth-child(4) { left: 66.6%; } .mf-layer--grid i:nth-child(5) { left: 83.3%; } .mf-layer--grid i:nth-child(6) { left: 4%; }
.mf-layer--grid b, .mf-layer--design b { position: absolute; border-radius: 10px; }
.mf-layer--grid b { border: 1px solid rgba(255,255,255,.35); }
.g-nav, .d-nav { left: 4%; right: 4%; top: 4%; height: 7%; }
.g-hero, .d-hero { left: 4%; right: 4%; top: 15%; height: 52%; }
.g-c1, .d-c1 { left: 4%; width: 29%; top: 72%; height: 22%; }
.g-c2, .d-c2 { left: 35.5%; width: 29%; top: 72%; height: 22%; }
.g-c3, .d-c3 { left: 67%; width: 29%; top: 72%; height: 22%; }
.mf-layer--design { background: #f7f3ec; box-shadow: 0 40px 120px rgba(0,0,0,.6); }
.d-nav { background: #fff; box-shadow: 0 1px 0 rgba(0,0,0,.06); }
.d-hero { background: linear-gradient(120deg, #2c3a4a, #a7774a); }
.d-btn { left: 9%; top: 52%; width: 15%; height: 7%; background: #c9a46a; border-radius: 999px !important; }
.d-c1, .d-c2, .d-c3 { background: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.06); }
.mf-layer--content { color: #1d1d1f; }
.c-nav { position: absolute; left: 6%; right: 6%; top: 4%; height: 7%; display: flex; align-items: center; gap: 22px; font-size: 13px; color: #555; }
.c-nav strong { font-family: Georgia, serif; font-size: 19px; color: #1d1d1f; margin-right: auto; font-weight: 400; letter-spacing: .02em; }
.c-nav em { font-style: normal; padding: 7px 14px; border-radius: 999px; background: #1d1d1f; color: #fff; font-size: 12px; }
.c-hero { position: absolute; left: 4%; right: 4%; top: 15%; height: 52%; border-radius: 10px; overflow: hidden; }
.c-hero img { width: 100%; height: 100%; object-fit: cover; }
.c-hero div { position: absolute; left: 5%; bottom: 12%; color: #fff; text-shadow: 0 2px 20px rgba(0,0,0,.4); }
.c-hero h3 { margin: 0 0 6px; font-family: Georgia, serif; font-weight: 400; font-size: 40px; letter-spacing: -.01em; }
.c-hero p { margin: 0; font-size: 14px; opacity: .9; }
.c-cards { position: absolute; left: 4%; right: 4%; top: 72%; height: 22%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.6%; }
.c-cards span { display: flex; align-items: flex-end; padding: 16px; font-size: 14px; font-weight: 600; color: #1d1d1f; }
.mf-layer--code { background: rgba(10,8,14,.88); border: 1px solid rgba(255,255,255,.12); opacity: 0; display: grid; place-items: center; }
.mf-layer--code pre { margin: 0; font-family: var(--f-mono); font-size: 15px; line-height: 1.7; color: #f0c7d8; white-space: pre; }
.mf-layer--speed { display: flex; align-items: center; justify-content: center; gap: 60px; opacity: 0; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.03); }
.s-ring { --v: 100; position: relative; display: grid; place-items: center; width: 150px; height: 150px; border-radius: 50%; background: conic-gradient(#D4763E calc(var(--v) * 1%), rgba(255,255,255,.1) 0); }
.s-ring::before { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: #0b070c; }
.s-ring b, .s-ring small { position: relative; display: block; text-align: center; }
.s-ring b { font-family: var(--f-display); font-size: 34px; letter-spacing: -.03em; margin-top: 12px; }
.s-ring small { color: var(--mute); font-size: 13px; margin-top: -26px; }
.mf-site__labels { position: absolute; left: 0; top: 0; }
.mf-site-label { position: fixed; left: 0; top: 0; z-index: 4; width: 230px; opacity: 0; pointer-events: none; }
.mf-site-label b { display: block; font-family: var(--f-display); font-weight: 600; font-size: 17px; letter-spacing: -.02em; margin-bottom: 4px; }
.mf-site-label span { display: block; color: var(--mute); font-size: 13px; line-height: 1.4; }
.mf-site-label::before { content: ""; position: absolute; left: -46px; top: 11px; width: 36px; height: 1px; background: linear-gradient(90deg, transparent, #D4763E); }
.mf-web .mf-cta { position: absolute; left: 50%; bottom: 7vh; transform: translateX(-50%); z-index: 3; opacity: 0; }
.mf-web .mf-cta:hover { transform: translateX(-50%) translateY(-2px); }
.mf-zoom { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 5; pointer-events: none; }
@media (max-width: 760px) {
  .mf-web__head { top: 11vh; }
  .mf-site-label { width: calc(100vw - 32px); }
  .mf-site-label::before { display: none; }
}

/* ── Kapitel: Print (hell) ───────────────────────── */
.mf-print { background: #e9e6e2; color: #1d1d1f; }
.mf-print__pin { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: 4vw; padding: 0 var(--gutter); background: radial-gradient(70% 60% at 70% 50%, #f1efec, #e6e2dd 75%); }
.mf-print__text h2 { margin: 0 0 20px; font-family: var(--f-display); font-weight: 600; font-size: clamp(36px, 5vw, 84px); line-height: .98; letter-spacing: -.05em; }
.mf-print__text p { margin: 0 0 26px; color: #515154; font-size: 18px; max-width: 42ch; }
.mf-print__list { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 2px; }
.mf-print__list li { font-family: var(--f-display); font-size: clamp(18px, 1.8vw, 26px); font-weight: 500; letter-spacing: -.02em; color: #b3b3b8; transition: color .5s; }
.mf-print__list li.is-on { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mf-explode { position: relative; width: 100%; }
.mf-explode canvas { position: absolute; top: 0; left: 0; will-change: transform; }
.mf-pstack { position: relative; height: min(90vh, 900px); perspective: 1400px; }
.mf-pstack img, .mf-pstack canvas { position: absolute; left: 50%; top: 50%; height: auto; will-change: transform; filter: drop-shadow(10px 18px 18px rgba(60,45,30,.22)) drop-shadow(2px 3px 3px rgba(60,45,30,.18)); }
@media (max-width: 900px) {
  .mf-print__pin { grid-template-columns: 1fr; align-content: center; gap: 10px; padding-top: 70px; }
  .mf-print__text p, .mf-print__list { display: none; }
  .mf-print__text h2 { font-size: clamp(30px, 8vw, 44px); margin-bottom: 10px; }
  .mf-pstack { height: 62vh; }
}

/* ── Kapitel: Fotografie ─────────────────────────── */
.mf-photo__pin { background: #000; /* rein schwarz: die Kamerateile haben einen schwarzen Bildhintergrund */ display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 4vh; }
.mf-photo__title { margin: 0; text-align: center; font-family: var(--f-display); font-weight: 600; font-size: clamp(34px, 5.6vw, 92px); letter-spacing: -.05em; line-height: 1; padding: 0 var(--gutter); }
.mf-explode--camera { width: min(1500px, 96vw); }
.mf-photo__foot { display: flex; align-items: center; justify-content: center; gap: 28px; flex-wrap: wrap; padding: 0 var(--gutter); opacity: 0; }
.mf-photo__foot p { margin: 0; color: var(--mute); max-width: 52ch; font-size: 17px; }

/* ── Kapitel: Software ───────────────────────────── */
.mf-soft__pin { background: #000; perspective: 1600px; }
.mf-soft__pin::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px); background-size: 28px 28px; -webkit-mask-image: radial-gradient(60% 60% at 50% 55%, #000, transparent); mask-image: radial-gradient(60% 60% at 50% 55%, #000, transparent); }
.mf-soft__head { position: absolute; left: var(--gutter); top: 12vh; max-width: min(560px, 90vw); z-index: 3; }
.mf-soft__head h2 { margin: 0 0 16px; font-family: var(--f-display); font-weight: 600; font-size: clamp(32px, 4.2vw, 68px); line-height: 1; letter-spacing: -.05em; }
.mf-soft__head p { margin: 0; color: var(--mute); font-size: 17px; max-width: 46ch; }
.mf-app { position: absolute; left: 50%; top: 64%; width: 900px; height: 560px; margin: -280px 0 0 -450px; transform-style: preserve-3d; will-change: transform; }
.mf-app__links { position: absolute; inset: -400px; width: calc(100% + 800px); height: calc(100% + 800px); overflow: visible; pointer-events: none; }
.mf-app__links path { fill: none; stroke: url(#mfBrand); stroke: #D4763E; stroke-width: 1.5; stroke-dasharray: 6 8; opacity: .8; }
.mf-mod { position: absolute; padding: 18px 20px; border-radius: 18px; background: linear-gradient(160deg, #17171b, #0e0e11); border: 1px solid rgba(255,255,255,.1); box-shadow: 0 30px 80px rgba(0,0,0,.5); color: var(--ink); will-change: transform; overflow: hidden; }
.mf-mod h4 { margin: 0 0 12px; font-size: 14px; font-weight: 600; color: #fff; }
.mf-mod p, .mf-mod small, .mf-mod li { font-size: 13px; color: var(--mute); }
.mf-mod--api { display: flex; align-items: center; justify-content: space-between; padding: 0 20px; }
.mf-mod--api h4 { margin: 0; }
.mf-mod--api p { margin: 0; }
.mf-mod--chart svg { width: 100%; height: 110px; display: block; margin-bottom: 8px; }
.mf-mod--chart path { fill: none; stroke: #D4763E; stroke-width: 3; stroke-linecap: round; }
.mf-mod--chart small b { color: #6cf59a; }
.mf-mod--book ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.mf-mod--book li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; background: rgba(255,255,255,.04); }
.mf-mod--book i { width: 8px; height: 8px; border-radius: 50%; background: #D4763E; }
.mf-mod--core { background: var(--grad); border: 0; display: flex; flex-direction: column; justify-content: flex-end; }
.mf-mod--core h4 { font-family: var(--f-display); font-size: 22px; letter-spacing: -.02em; }
.mf-mod--core p { color: rgba(255,255,255,.9); margin: 0; font-size: 14px; }
.mf-mod--chat .q, .mf-mod--chat .a { margin: 0 0 10px; padding: 10px 12px; border-radius: 12px; max-width: 90%; }
.mf-mod--chat .q { background: rgba(255,255,255,.06); }
.mf-mod--chat .a { background: rgba(181,19,90,.25); color: #fff; margin-left: auto; }
.mf-mod--bill p { display: flex; justify-content: space-between; margin: 0 0 10px; padding: 10px 12px; border-radius: 10px; background: rgba(255,255,255,.04); }
.mf-mod--bill b { color: #6cf59a; font-weight: 600; }
.mf-mod--bill b.open { color: #D4763E; }
.mf-soft .mf-cta { position: absolute; left: 50%; bottom: 6vh; transform: translateX(-50%); z-index: 3; opacity: 0; }
.mf-soft .mf-cta:hover { transform: translateX(-50%) translateY(-2px); }

/* ── Ablauf: ein Schritt nach dem anderen ─────────── */
.mf-flow__pin { background: radial-gradient(50% 45% at 50% 50%, rgba(181,19,90,.12), transparent 70%), #000; }
.mf-flow__lead { position: absolute; left: 0; right: 0; top: 14vh; margin: 0; text-align: center; color: var(--mute); font-size: 18px; }
.mf-flow__track { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; }
.mf-flow__track li { position: absolute; left: var(--gutter); right: var(--gutter); top: 50%; transform: translateY(-50%); text-align: center; will-change: transform, opacity, filter; }
.mf-flow__track span { display: block; font-family: var(--f-mono); font-size: 14px; color: var(--mute); margin-bottom: 10px; }
.mf-flow__track b { display: block; font-family: var(--f-display); font-weight: 700; font-size: clamp(56px, 13vw, 210px); line-height: .95; letter-spacing: -.06em; white-space: nowrap; color: #fff; padding-bottom: .06em; }
.mf-flow__track li.is-on b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mf-flow__track p { margin: 20px auto 0; max-width: 38ch; color: #c9cdd4; font-size: clamp(16px, 1.4vw, 20px); }
.mf-flow__bar { position: absolute; left: 50%; bottom: 10vh; width: min(520px, 80vw); height: 2px; transform: translateX(-50%); background: rgba(255,255,255,.12); }
.mf-flow__bar i { display: block; height: 100%; width: 0; background: var(--grad); }
.mf-flow__ticks { position: absolute; left: 50%; bottom: calc(10vh + 14px); width: min(520px, 80vw); transform: translateX(-50%); display: flex; justify-content: space-between; font-size: 12px; color: var(--mute); }
.mf-flow__ticks span.is-on { color: #fff; }
@media (max-width: 600px) { .mf-flow__ticks { display: none; } }

/* ── Projekte ────────────────────────────────────── */
.mf-projects { padding: clamp(110px, 16vh, 180px) 0 clamp(90px, 12vh, 140px); overflow: hidden; }
.mf-projects__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 60px; flex-wrap: wrap; margin-bottom: clamp(40px, 7vh, 80px); }
.mf-projects__head .mf-h2 { max-width: 14ch; }
.mf-projects__head p { margin: 0; max-width: 62ch; font-size: 17px; text-wrap: balance; }
.mf-reel { perspective: 1600px; cursor: grab; user-select: none; touch-action: pan-y; }
.mf-reel.is-drag { cursor: grabbing; }
.mf-reel__track { display: flex; gap: clamp(18px, 2.4vw, 36px); padding: 20px var(--gutter) 10px; will-change: transform; transform-style: preserve-3d; }
.mf-proj { position: relative; flex: none; display: block; width: clamp(260px, 28vw, 420px); will-change: transform; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.mf-proj__img { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; background: #0d0d10; }
.mf-proj__img::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .5s; }
.mf-proj img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); pointer-events: none; }
.mf-proj:hover img, .mf-proj:focus-visible img { transform: scale(1.06); }
.mf-proj:hover .mf-proj__img::after, .mf-proj:focus-visible .mf-proj__img::after { opacity: 1; }
.mf-proj:focus-visible { outline: none; }
.mf-proj__info { position: relative; display: block; padding: 18px 56px 0 2px; }
.mf-proj__cat { display: block; font-size: 13px; font-weight: 500; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mf-proj__t { display: block; margin-top: 4px; font-size: clamp(18px, 1.5vw, 22px); font-weight: 600; letter-spacing: -.03em; line-height: 1.2; }
.mf-proj__go { position: absolute; right: 2px; top: 18px; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); font-size: 16px; transition: background .4s, border-color .4s, transform .5s var(--ease); }
.mf-proj:hover .mf-proj__go { background: var(--grad); border-color: transparent; transform: rotate(45deg); }

/* ── Kontakt / Formular ──────────────────────────── */
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.mf-contact { padding: clamp(110px, 16vh, 180px) 0 clamp(140px, 18vh, 200px); overflow: hidden; isolation: isolate; }
.mf-contact::before, .mf-contact::after { content: ""; position: absolute; z-index: -1; width: 60vmax; height: 60vmax; border-radius: 50%; filter: blur(90px); opacity: .45; pointer-events: none; }
.mf-contact::before { background: #B5135A; left: 30%; top: -10%; animation: mf-orb1 18s ease-in-out infinite alternate; }
.mf-contact::after { background: #D4763E; right: -20%; bottom: -30%; opacity: .32; animation: mf-orb2 22s ease-in-out infinite alternate; }
@keyframes mf-orb1 { to { transform: translate(-18%, 22%) scale(1.15); } }
@keyframes mf-orb2 { to { transform: translate(-25%, -12%) scale(.9); } }
.mf-contact[data-step="2"]::before { animation-duration: 9s; }
.mf-contact[data-step="3"]::after { opacity: .5; }
.mf-contact__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(30px, 6vw, 100px); align-items: start; }
.mf-contact__intro .mf-muted { margin: 26px 0 34px; max-width: 42ch; font-size: 17px; }
.mf-contact__meta { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.mf-contact__meta li { display: grid; gap: 2px; font-size: 17px; }
.mf-contact__meta span { font-size: 13px; color: var(--mute); }
.mf-contact__meta a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--brand-b); text-underline-offset: 4px; }
@media (max-width: 900px) { .mf-contact__grid { grid-template-columns: 1fr; } }

.mf-form-wrap { position: relative; perspective: 1600px; }
.mf-form {
  position: relative; padding: clamp(24px, 3vw, 44px); border-radius: 30px;
  background: rgba(12,10,14,.72); -webkit-backdrop-filter: blur(24px) saturate(140%); backdrop-filter: blur(24px) saturate(140%);
  box-shadow: 0 50px 120px rgba(0,0,0,.55); perspective: 1400px; transition: transform .8s var(--ease);
}
/* rotierender Verlaufsrand */
.mf-form::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: conic-gradient(from var(--ang), transparent 0 40%, #B5135A 55%, #D4763E 70%, transparent 85%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: mf-ang 6s linear infinite; }
@keyframes mf-ang { to { --ang: 360deg; } }
.mf-form::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(45% 55% at var(--fx, 80%) var(--fy, 0%), rgba(181,19,90,.22), transparent 70%); pointer-events: none; }
.mf-form__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.mf-form__steps { display: flex; gap: 6px; }
.mf-form__steps i { width: 26px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.14); transition: background .5s, width .5s var(--ease); }
.mf-form__steps i.is-on { background: var(--grad); width: 48px; }
.mf-form__count { font-size: 13px; color: var(--mute); }
.mf-step { border: 0; margin: 0; padding: 0; min-width: 0; display: none; transform-origin: 50% 50% -200px; }
.mf-step.is-active { display: block; animation: mf-flip .8s var(--ease); }
@keyframes mf-flip { from { opacity: 0; transform: rotateY(-55deg) translateZ(-80px); filter: blur(8px); } }
.mf-step.is-back { animation-name: mf-flipback; }
@keyframes mf-flipback { from { opacity: 0; transform: rotateY(55deg) translateZ(-80px); filter: blur(8px); } }
.mf-step legend { padding: 0; margin-bottom: 22px; font-size: clamp(22px, 2.3vw, 32px); font-weight: 600; letter-spacing: -.045em; }

.mf-chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 28px; }
.mf-chip { position: relative; }
.mf-chip input { position: absolute; opacity: 0; pointer-events: none; }
.mf-chip span { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 16px; border-radius: 18px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.03); font-size: 15px; font-weight: 600; cursor: pointer; transition: border-color .3s, background .3s, transform .45s var(--ease), box-shadow .45s; user-select: none; overflow: hidden; }
.mf-chip span::before { content: ""; position: absolute; inset: 0; background: var(--grad); opacity: 0; transition: opacity .45s; z-index: -1; }
.mf-chip span svg { font-size: 22px; color: var(--mute); transition: color .3s, transform .6s var(--ease); }
.mf-chip span:hover { border-color: rgba(255,255,255,.3); transform: translateY(-3px); }
.mf-chip input:checked + span { border-color: transparent; color: #fff; box-shadow: 0 18px 40px rgba(181,19,90,.35); transform: translateY(-3px) scale(1.02); isolation: isolate; }
.mf-chip input:checked + span::before { opacity: 1; }
.mf-chip input:checked + span svg { color: #fff; transform: scale(1.2) rotate(-10deg); }
.mf-chip input:focus-visible + span { outline: 2px solid #fff; outline-offset: 3px; }
.mf-burst { position: fixed; z-index: 120; width: 7px; height: 7px; border-radius: 50%; pointer-events: none; }
@media (max-width: 520px) { .mf-chips { grid-template-columns: 1fr 1fr; } }

.mf-energy label { display: block; font-size: 14px; color: var(--mute); margin-bottom: 8px; }
.mf-energy textarea, .mf-field input {
  width: 100%; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); border-radius: 16px; color: var(--ink);
  font: inherit; font-size: 16px; padding: 15px 16px; outline: none; transition: border-color .3s, box-shadow .3s, background .3s; resize: vertical;
}
.mf-energy textarea:focus, .mf-field input:focus { border-color: rgba(212,118,62,.7); background: rgba(255,255,255,.06); box-shadow: 0 0 0 4px rgba(181,19,90,.15), 0 12px 40px rgba(181,19,90,.18); }
.mf-energy__bar { height: 4px; margin-top: 12px; border-radius: 4px; background: rgba(255,255,255,.08); overflow: hidden; }
.mf-energy__bar i { display: block; height: 100%; width: 0; background: var(--grad); box-shadow: 0 0 16px rgba(212,118,62,.7); transition: width .4s var(--ease); }
.mf-energy__txt { margin-top: 8px; font-size: 13px; color: var(--mute); }

.mf-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mf-field { position: relative; }
.mf-field--full { grid-column: 1 / -1; }
.mf-field input { padding: 24px 16px 8px; }
.mf-field label { position: absolute; left: 17px; top: 17px; font-size: 15px; color: var(--mute); pointer-events: none; transform-origin: left top; transition: transform .3s var(--ease), color .3s; }
.mf-field input:focus + label, .mf-field input:not(:placeholder-shown) + label { transform: translateY(-10px) scale(.74); color: #e98a63; }
.mf-field__ok { position: absolute; right: 14px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: var(--grad); transform: scale(0) rotate(-120deg); transition: transform .5s var(--ease); }
.mf-field__ok::after { content: ""; position: absolute; left: 8px; top: 4px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.mf-field.is-valid .mf-field__ok { transform: none; }
.mf-field.is-error input { border-color: #ff6b6b; animation: mf-shake .4s; }
@keyframes mf-shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
@media (max-width: 520px) { .mf-fields { grid-template-columns: 1fr; } }
.mf-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.mf-summary { display: grid; gap: 10px; margin-bottom: 26px; font-size: 15px; }
.mf-summary div { display: grid; grid-template-columns: 100px 1fr; gap: 12px; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); animation: mf-row .6s var(--ease) both; }
.mf-summary div:nth-child(2) { animation-delay: .06s; } .mf-summary div:nth-child(3) { animation-delay: .12s; } .mf-summary div:nth-child(4) { animation-delay: .18s; } .mf-summary div:nth-child(5) { animation-delay: .24s; } .mf-summary div:nth-child(6) { animation-delay: .3s; }
@keyframes mf-row { from { opacity: 0; transform: translateY(12px); } }
.mf-summary span { font-size: 13px; color: var(--mute); padding-top: 2px; }
.mf-summary p { margin: 0; word-break: break-word; white-space: pre-line; }

.mf-launch { position: relative; height: 66px; border-radius: 999px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); overflow: hidden; touch-action: none; }
.mf-launch__track { position: absolute; inset: 0; display: grid; place-items: center; }
.mf-launch__txt { font-size: 14px; font-weight: 500; color: var(--mute); background: linear-gradient(90deg, var(--mute) 40%, #fff 50%, var(--mute) 60%); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: mf-shine 2.4s linear infinite; }
@keyframes mf-shine { from { background-position: 100% 0; } to { background-position: 0 0; } }
.mf-launch__fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: linear-gradient(90deg, rgba(181,19,90,.15), rgba(212,118,62,.55)); }
.mf-launch__knob { position: absolute; left: 6px; top: 6px; width: 54px; height: 54px; border-radius: 50%; border: 0; background: var(--grad); color: #fff; display: grid; place-items: center; font-size: 22px; box-shadow: 0 8px 30px rgba(181,19,90,.55); touch-action: none; }
.mf-launch.is-sending .mf-launch__knob { animation: mf-pulse 1s infinite; }
@keyframes mf-pulse { 50% { box-shadow: 0 0 0 14px rgba(212,118,62,0), 0 0 46px rgba(212,118,62,.9); } }
.mf-launch__alt { display: block; margin-top: 12px; text-align: center; font-size: 14px; }
.mf-textbtn { background: none; border: 0; padding: 0; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

.mf-form__err { min-height: 22px; margin-top: 16px; color: #ff8a8a; font-size: 14px; }
.mf-form__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; }
.mf-form__nav #mfNext { margin-left: auto; }
.mf-form .mf-btn--solid { background: #fff; border-color: #fff; color: #000; }
.mf-form .mf-btn--solid:hover { background: var(--grad); border-color: transparent; color: #fff; }

/* Senden: Karte verdichtet sich zu einem Lichtpunkt und fliegt zu m-Fly */
.mf-form.is-launching { animation: mf-launch 1.1s var(--ease) forwards; }
@keyframes mf-launch {
  35% { transform: scale(.94) rotateX(8deg); filter: brightness(1.3); }
  100% { transform: translate(var(--lx, 0), var(--ly, 0)) scale(.04); opacity: 0; filter: brightness(2) blur(6px); border-radius: 50%; }
}
.mf-form.is-done { animation: mf-reveal .9s var(--ease); }
@keyframes mf-reveal { from { transform: scale(.85); opacity: 0; filter: blur(10px); } }
.mf-done { text-align: center; padding: 40px 0 20px; }
.mf-done h3 { font-size: clamp(24px, 2.6vw, 36px); margin: 26px 0 8px; letter-spacing: -.05em; }
.mf-done p { color: var(--mute); margin: 0; }
.mf-done__packet { width: 92px; height: 92px; margin: 0 auto; border-radius: 50%; background: var(--grad); position: relative; box-shadow: 0 0 80px rgba(212,118,62,.55); animation: mf-pop .8s var(--ease) both .2s; }
.mf-done__packet::after { content: ""; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 44px no-repeat; }
@keyframes mf-pop { from { transform: scale(0) rotate(-90deg); } }
.mf-form.is-done .mf-step, .mf-form.is-done .mf-form__nav, .mf-form.is-done .mf-form__top { display: none; }

/* ── Footer ──────────────────────────────────────── */
.mf-foot { position: relative; padding: clamp(100px, 14vh, 160px) 0 28px; overflow: hidden; isolation: isolate; }
.mf-foot__glow { position: absolute; left: 50%; top: 0; width: min(1200px, 120vw); height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, #B5135A, #D4763E, transparent); }
.mf-foot__glow::after { content: ""; position: absolute; left: 50%; top: 0; width: 70%; height: 260px; transform: translate(-50%, -50%); background: radial-gradient(50% 50% at 50% 50%, rgba(181,19,90,.28), transparent 70%); filter: blur(10px); }
.mf-foot__cta { text-align: center; padding-bottom: clamp(70px, 10vh, 120px); }
.mf-foot__cta h2 { margin: 0 auto 16px; max-width: 16ch; font-size: clamp(36px, 5.6vw, 92px); font-weight: 650; letter-spacing: -.055em; line-height: .98; }
.mf-foot__cta p { margin: 0 auto 30px; max-width: 44ch; color: var(--mute); font-size: 17px; }
.mf-foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding: 48px 0; border-top: 1px solid rgba(255,255,255,.08); }
.mf-foot__logo { display: inline-flex; align-items: center; gap: 12px; font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.mf-foot__mark { width: 48px; height: 32px; flex: none; }
.mf-foot__brand p { margin: 18px 0 0; max-width: 36ch; color: var(--mute); font-size: 15px; }
.mf-foot__col { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; font-size: 15px; }
.mf-foot__col h3 { margin: 0 0 6px; font-size: 14px; font-weight: 500; color: var(--mute); }
.mf-foot__col a, .mf-foot__col span { color: #e7e9ee; }
.mf-foot__col a { background: linear-gradient(var(--brand-b), var(--brand-b)) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--ease), color .3s; }
.mf-foot__col a:hover { background-size: 100% 1px; color: #fff; }
.mf-foot__max { margin-top: 8px; padding: 9px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.16); background: none; font-size: 14px; font-weight: 500; transition: background .3s, border-color .3s; }
.mf-foot__max:hover { background: var(--grad); border-color: transparent; }
.mf-foot__bar { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); font-size: 13px; color: var(--mute); }
.mf-foot__bar nav { display: flex; gap: 20px; margin-right: 150px; }
@media (max-width: 760px) { .mf-foot__bar nav { margin-right: 0; } .mf-foot { padding-bottom: 130px; } }
.mf-foot__bar a:hover, .mf-textlink:hover { color: #fff; }
.mf-textlink { background: none; border: 0; padding: 0; font: inherit; color: inherit; }
.mf-form__privacy { margin: 16px 0 0; font-size: 12.5px; color: var(--mute); text-align: center; }
.mf-form__privacy a, .mf-chat__note a { color: #e98a63; text-decoration: underline; text-underline-offset: 2px; }
.mf-chat__note { margin: 0; padding: 0 16px 8px; font-size: 11.5px; line-height: 1.4; color: var(--mute); }
@media (max-width: 900px) { .mf-foot__grid { grid-template-columns: 1fr 1fr; } .mf-foot__brand { grid-column: 1 / -1; } }

/* ── m-Fly angedockt + Chat ────────────────────────── */
.mf-dock { position: fixed; right: 18px; bottom: 18px; z-index: 30; width: 120px; height: 150px; border: 0; background: transparent; border-radius: 30px; opacity: 0; pointer-events: none; transition: opacity .3s; }
.mf-dock.is-on { opacity: 1; pointer-events: auto; }
.mf-dock.is-left { right: auto; left: 18px; }
.mf-chat.is-left { right: auto; left: 18px; transform-origin: 10% 100%; }
.mf-dock:focus-visible { outline: 2px solid var(--cyan); }
.mf-dock__ping { position: absolute; right: 18px; top: 12px; width: 12px; height: 12px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 0 rgba(255,138,61,.7); animation: mf-ping 2s infinite; }
@keyframes mf-ping { 70% { box-shadow: 0 0 0 12px rgba(255,138,61,0); } 100% { box-shadow: 0 0 0 0 rgba(255,138,61,0); } }
.mf-chat {
  position: fixed; right: 18px; bottom: 178px; z-index: 31; width: min(380px, calc(100vw - 32px)); max-height: min(560px, calc(100vh - 220px));
  display: flex; flex-direction: column; border-radius: 22px; overflow: hidden;
  background: rgba(10, 14, 21, .88); border: 1px solid rgba(212,118,62,.28);
  -webkit-backdrop-filter: blur(20px) saturate(140%); backdrop-filter: blur(20px) saturate(140%);
  box-shadow: 0 30px 90px rgba(0,0,0,.55), 0 0 60px rgba(181,19,90,.18);
  transform-origin: 90% 100%; transform: scale(.85) translateY(20px); opacity: 0; visibility: hidden;
  transition: transform .45s var(--ease), opacity .3s, visibility .45s;
}
.mf-chat.is-open { transform: none; opacity: 1; visibility: visible; }
.mf-chat__head { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.mf-chat__head b { font-family: var(--f-display); font-size: 15px; letter-spacing: .04em; display: block; }
.mf-chat__head span { font-size: 12px; color: var(--mute); display: flex; align-items: center; gap: 6px; }
.mf-chat__head span i { width: 6px; height: 6px; border-radius: 50%; background: #6cf59a; }
.mf-chat__x { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2); background: none; display: grid; place-items: center; font-size: 16px; }
.mf-chat__x:hover { border-color: var(--orange); }
.mf-chat__log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; scrollbar-width: thin; min-height: 120px; }
.mf-msg { max-width: 86%; padding: 10px 14px; border-radius: 16px; font-size: 14px; line-height: 1.5; white-space: pre-line; animation: mf-msg .4s var(--ease); }
@keyframes mf-msg { from { opacity: 0; transform: translateY(8px) scale(.97); } }
.mf-msg--bot { align-self: flex-start; background: rgba(255,255,255,.06); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.mf-msg--user { align-self: flex-end; background: var(--ink); color: #05070b; border-bottom-right-radius: 4px; }
.mf-msg--typing { display: flex; gap: 4px; }
.mf-msg--typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); animation: mf-dots 1s infinite; }
.mf-msg--typing i:nth-child(2) { animation-delay: .15s; } .mf-msg--typing i:nth-child(3) { animation-delay: .3s; }
@keyframes mf-dots { 50% { transform: translateY(-4px); opacity: .4; } }
.mf-chat__quick { display: flex; gap: 6px; flex-wrap: wrap; padding: 0 16px 10px; }
.mf-chat__quick button { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: none; font-size: 12px; color: var(--mute); transition: border-color .2s, color .2s; }
.mf-chat__quick button:hover { border-color: var(--cyan); color: var(--ink); }
.mf-chat__form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.mf-chat__form input { flex: 1; min-width: 0; background: rgba(0,0,0,.3); border: 1px solid var(--line-2); border-radius: 999px; padding: 10px 16px; color: var(--ink); font: inherit; font-size: 15px; outline: none; }
.mf-chat__form input:focus { border-color: rgba(212,118,62,.6); }
.mf-chat__form button { width: 42px; height: 42px; flex: none; border-radius: 50%; border: 0; background: var(--orange); color: #05070b; display: grid; place-items: center; font-size: 18px; }
@media (max-width: 760px) {
  .mf-dock { width: 84px; height: 108px; right: 10px; bottom: 10px; }
  .mf-chat { right: 10px; left: 10px; width: auto; bottom: 124px; max-height: calc(100vh - 170px); }
}

/* ── Fallback ohne WebGL ─────────────────────────── */
.mf-poster { position: fixed; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; opacity: .75; pointer-events: none; }

/* ── Handy: alles kompakter und mit Kontext ─────────── */
@media (max-width: 760px) {
  .mf-head { gap: 10px; padding: 12px 14px; }
  .mf-head__cta { padding: 9px 14px; font-size: 13px; white-space: nowrap; }
  .mf-head__cta svg { display: none; }
  .mf-logo { font-size: 16px; }
  /* Hero: weniger Leerraum oben, kurzer Text unter dem Titel */
  .mf-hero__left { top: 74px; }
  .mf-hero__lead { display: block; margin: 12px auto 0; max-width: 34ch; font-size: 14.5px; line-height: 1.45; text-align: center; }
  /* Kapitel m-Fly: Titel bleibt, Erklärung als Karte mit Zähler */
  .mf-anat__title { top: 10vh; font-size: clamp(26px, 7.4vw, 34px); }
  .mf-anat__hint { top: calc(10vh + 44px); font-size: 14px; padding: 0 16px; }
  .mf-callout { padding: 14px 16px; border-radius: 18px; background: rgba(16,12,16,.86); border: 1px solid rgba(255,255,255,.1); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
  .mf-anat__count { position: absolute; left: 0; right: 0; bottom: 162px; display: flex; justify-content: center; align-items: center; gap: 6px; font-size: 12px; color: var(--mute); transition: opacity .3s; z-index: 7; }
  .mf-anat__count span { margin-right: 6px; }
  .mf-anat__count i { width: 18px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.18); transition: background .3s; }
  .mf-anat__count i.is-on { background: var(--grad); }
  .mf-anat__end { top: 12vh; font-size: clamp(26px, 7.6vw, 36px); }
  /* Webseiten */
  .mf-web__head h2 { font-size: clamp(28px, 8vw, 38px); }
  .mf-web__head p { font-size: 14.5px; }
  .mf-site-label { padding: 14px 16px; border-radius: 18px; background: rgba(16,12,16,.86); border: 1px solid rgba(255,255,255,.1); }
  .mf-site-label span { display: block; }
  /* Print: Beschreibung und Liste bleiben sichtbar */
  .mf-print__text p { display: block; font-size: 14.5px; margin-bottom: 12px; }
  .mf-print__list { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
  .mf-print__list li { font-size: 13px; padding: 6px 12px; border-radius: 999px; background: rgba(0,0,0,.05); }
  .mf-print__list li.is-on { background: var(--grad); -webkit-background-clip: border-box; background-clip: border-box; color: #fff; box-shadow: 0 6px 18px rgba(181,19,90,.3); }
  .mf-pstack { height: auto; }
  .mf-print__text h2 { font-size: clamp(28px, 8vw, 40px); }
  .mf-print__pin { padding-top: 92px; align-content: start; }
  .mf-line--accent { font-size: .55em; }
  /* Software */
  .mf-soft__head h2 { font-size: clamp(28px, 8vw, 38px); }
  .mf-soft__head p { font-size: 14.5px; }
  .mf-app { top: 66%; }
  /* Fotografie */
  .mf-photo__foot { flex-direction: column; gap: 14px; text-align: center; }
  .mf-photo__foot p { font-size: 14.5px; }
}
.mf-site-label__n { display: none; font-size: 12px; color: var(--mute); margin-bottom: 4px; }
@media (max-width: 760px) { .mf-site-label__n { display: block; } }
.mf-anat__count { display: none; }
@media (max-width: 760px) { .mf-anat__count { display: flex; } }

/* ── Inhaltsseiten (Impressum, Datenschutz) ── */
.mf-page-body { background: #000; }
.mf-page .mf-head { background: rgba(0,0,0,.72); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.mf-page .mf-foot__max { display: none; }
.mf-page__main { position: relative; padding: clamp(120px, 18vh, 180px) 0 clamp(60px, 10vh, 120px); background: radial-gradient(50% 40% at 85% 0%, rgba(181,19,90,.18), transparent 70%), radial-gradient(40% 30% at 0% 30%, rgba(212,118,62,.08), transparent 70%); }
.mf-page__hero, .mf-page__layout { width: min(1120px, 100% - var(--gutter) * 2); margin: 0 auto; }
.mf-page__sub { margin: -14px 0 10px; font-size: clamp(17px, 1.6vw, 20px); color: #c9cdd4; max-width: 46ch; }
.mf-page__meta { margin: 0 0 clamp(36px, 6vh, 64px); font-size: 13px; color: var(--mute); }
.mf-page__layout { display: block; }
.mf-page__layout.has-toc { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(30px, 5vw, 80px); align-items: start; }
.mf-page__toc { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.mf-page__toc p { margin: 0 0 8px; font-size: 13px; color: var(--mute); }
.mf-page__toc a { padding: 6px 0 6px 12px; border-left: 1px solid var(--line-2); color: #c9cdd4; transition: color .25s, border-color .25s; }
.mf-page__toc a:hover, .mf-page__toc a.is-on { color: #fff; border-left-color: #D4763E; }
.mf-page__note { margin-top: 3em; padding: 18px 20px; border-radius: 18px; background: rgba(181,19,90,.08); border: 1px solid rgba(212,118,62,.25); font-size: 15px; }
.mf-page__note p { margin: 0; }
.mf-page__content h2, .mf-page__content h3 { scroll-margin-top: 100px; }
@media (max-width: 900px) { .mf-page__layout.has-toc { grid-template-columns: 1fr; } .mf-page__toc { position: static; margin-bottom: 30px; padding: 16px; border-radius: 16px; background: rgba(255,255,255,.04); } }
.mf-page__back { display: inline-block; margin-bottom: 26px; font-size: 14px; color: var(--mute); transition: color .25s; }
.mf-page__back:hover { color: #fff; }
.mf-page__title { margin: 0 0 clamp(28px, 5vh, 48px); font-size: clamp(28px, 7.4vw, 76px); overflow-wrap: anywhere; hyphens: auto; font-weight: 650; letter-spacing: -.05em; line-height: 1; }
.mf-page__content { font-size: 17px; line-height: 1.7; color: #d4d7de; }
.mf-page__content h2 { margin: 2.2em 0 .6em; font-size: clamp(24px, 3vw, 32px); font-weight: 600; letter-spacing: -.035em; line-height: 1.15; color: #fff; }
.mf-page__content h3 { margin: 2em 0 .5em; font-size: 20px; font-weight: 600; letter-spacing: -.02em; color: #fff; padding-left: 14px; border-left: 2px solid; border-image: var(--grad) 1; }
.mf-page__content p, .mf-page__content ul, .mf-page__content ol { margin: 0 0 1.1em; max-width: 68ch; }
.mf-page__content ul, .mf-page__content ol { padding-left: 1.2em; }
.mf-page__content li { margin-bottom: .4em; }
.mf-page__content li::marker { color: #D4763E; }
.mf-page__content a { color: #e98a63; text-decoration: underline; text-underline-offset: 3px; word-break: break-word; }
.mf-page__content a:hover { color: #fff; }
.mf-page__content strong { color: #fff; font-weight: 600; }
.mf-page__content em { color: var(--mute); }
.mf-page__content hr { border: 0; height: 1px; background: var(--line); margin: 2.5em 0; }
.mf-page__content table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: 15px; }
.mf-page__content td, .mf-page__content th { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
@media (max-width: 760px) { .mf-page__content { font-size: 16px; } }

/* ── Menü-Knopf + Vollbild-Menü (Handy & Tablet) ── */
.mf-menu-btn { display: none; align-items: center; gap: 8px; height: 40px; padding: 0 12px 0 11px; white-space: nowrap; border-radius: 999px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.05); font-size: 14px; font-weight: 500; }
.mf-menu-btn__lines { position: relative; width: 18px; height: 10px; }
.mf-menu-btn__lines i { position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor; transition: transform .45s var(--ease), top .45s var(--ease); }
.mf-menu-btn__lines i:first-child { top: 0; } .mf-menu-btn__lines i:last-child { top: 8px; }
.mf-menu-open .mf-menu-btn__lines i:first-child { top: 4px; transform: rotate(45deg); }
.mf-menu-open .mf-menu-btn__lines i:last-child { top: 4px; transform: rotate(-45deg); }
.mf-menu { position: fixed; inset: 0; z-index: 55; display: flex; flex-direction: column; justify-content: flex-end; background: radial-gradient(70% 50% at 100% 0%, rgba(181,19,90,.35), transparent 70%), radial-gradient(60% 50% at 0% 100%, rgba(212,118,62,.22), transparent 70%), #000; opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s; overflow-y: auto; }
.mf-menu-open .mf-menu { opacity: 1; visibility: visible; }
.mf-menu__inner { display: flex; flex-direction: column; align-items: flex-start; padding: 90px 22px calc(28px + env(safe-area-inset-bottom)); }
.mf-menu__label { margin: 18px 0 6px; font-size: 13px; color: var(--mute); }
.mf-menu__inner > a { font-size: clamp(30px, 9vw, 44px); font-weight: 650; letter-spacing: -.045em; line-height: 1.12; color: #fff; opacity: 0; transform: translateY(24px); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.mf-menu-open .mf-menu__inner > a { opacity: 1; transform: none; }
.mf-menu__inner > a.is-on { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mf-menu__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 26px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); width: 100%; font-size: 15px; color: var(--mute); }
.mf-menu__portal, .mf-menu__mail { color: #e7e9ee; }
body.mf-menu-open { overflow: hidden; }
body.mf-menu-open .mf-dock, body.mf-menu-open .mf-chat, body.mf-menu-open .mf-bubble { opacity: 0 !important; pointer-events: none; }
@media (max-width: 860px) {
  .mf-menu-btn { display: inline-flex; margin-left: auto; }
  .mf-head__cta { display: none; }
  .mf-head__portal { margin-left: auto; }
  .mf-head__portal + .mf-head__cta + .mf-menu-btn { margin-left: 4px; }
}

/* Eingabefelder mindestens 16px: verhindert das automatische Hineinzoomen auf dem iPhone */
@media (max-width: 760px) { .mf-cmd input, .mf-chat__form input, .mf-energy textarea, .mf-field input { font-size: 16px !important; } }

/* ── Formular als Vollbild-Ansicht auf dem Handy ── */
.mf-form__close { display: none; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.06); font-size: 13px; font-weight: 500; }
.mf-form__close svg { font-size: 14px; }
@media (max-width: 760px) {
  .mf-form.is-focus {
    position: fixed; inset: 0; height: auto; z-index: 140; margin: 0;
    border-radius: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
    padding: 16px 18px calc(28px + env(safe-area-inset-bottom));
    background: #0b080c; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none;
  }
  body.mf-form-open .mf-contact { z-index: 150 !important; }
  .mf-form.is-focus::after { display: none; }
  .mf-form.is-focus .mf-form__top { position: sticky; top: -16px; z-index: 2; margin: -16px -18px 18px; padding: 14px 18px; background: rgba(11,8,12,.94); border-bottom: 1px solid rgba(255,255,255,.08); }
  .mf-form.is-focus .mf-form__close { display: inline-flex; }
  .mf-form.is-focus .mf-form__count { margin-left: auto; margin-right: 10px; }
  body.mf-form-open { overflow: hidden; }
  body.mf-form-open .mf-head, body.mf-form-open .mf-dock, body.mf-form-open .mf-chat, body.mf-form-open .mf-stage { visibility: hidden; }
}
@keyframes mf-sheet { from { opacity: 0; transform: translateY(40px); } }
@media (max-width: 760px) { body.mf-in-contact .mf-dock { opacity: 0 !important; pointer-events: none !important; } body.mf-in-contact .mf-stage { opacity: 0; transition: opacity .3s; } }

/* ── Cookie-Banner (Backend) an das neue Design anpassen ── */
body.mf-front-body #mfCookieReopen { display: none !important; }
body.mf-front-body .mf-cookie-banner { background: rgba(14,10,14,.94) !important; border: 1px solid rgba(255,255,255,.12) !important; border-radius: 22px !important; font-family: var(--f-body) !important; box-shadow: 0 30px 90px rgba(0,0,0,.6), 0 0 60px rgba(181,19,90,.2) !important; }
body.mf-front-body .mf-cookie-icon { background: rgba(181,19,90,.18) !important; color: #e98a63 !important; }
body.mf-front-body .mf-cookie-title { color: #fff !important; font-family: var(--f-display) !important; letter-spacing: -.02em; }
body.mf-front-body .mf-cookie-link { color: #e98a63 !important; }
body.mf-front-body .mf-cookie-btn-accept { background: var(--grad) !important; color: #fff !important; border: 0 !important; }
body.mf-front-body .mf-cookie-btn { font-family: var(--f-body) !important; border-radius: 999px !important; }
body.mf-front-body .mf-cookie-toggle input:checked + .mf-cookie-toggle-track { background: var(--grad) !important; }

/* ── Reduzierte Bewegung ─────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .mf *, .mf *::before, .mf *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .mf-line > span { transform: none; }
}
