/* ============================================================
   New Front Page — Webseiten, die gesehen werden.
   Stil: clean, hell, blau/teal Akzente, weiche Schatten
   ============================================================ */

:root {
  --blue: #2f7df6;
  --blue-dark: #1d63d8;
  --teal: #46d6b4;
  --navy: #16243d;
  --ink: #25344d;
  --muted: #6b7a93;
  --line: #e3e9f2;
  --bg: #ffffff;
  --bg-soft: #f5f7fb;
  --card: #ffffff;
  --shadow-sm: 0 2px 10px rgba(22, 36, 61, .06);
  --shadow-md: 0 10px 30px rgba(22, 36, 61, .10);
  --shadow-lg: 0 24px 60px rgba(22, 36, 61, .14);
  --radius: 16px;
  --radius-lg: 22px;
  --grad: linear-gradient(100deg, var(--blue) 0%, #3aa0e8 55%, var(--teal) 100%);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

.container { width: min(1120px, 92vw); margin-inline: auto; }
.section { padding: clamp(72px, 10vw, 130px) 0; position: relative; }
.center { text-align: center; }

/* ---------- Typo ---------- */
.eyebrow {
  font-size: 12.5px; font-weight: 700; letter-spacing: .18em;
  color: var(--blue); text-transform: uppercase; margin-bottom: 14px;
}
.section-title {
  font-size: clamp(30px, 4.4vw, 48px);
  font-weight: 800; letter-spacing: -.02em; color: var(--navy);
  line-height: 1.12; margin-bottom: 14px;
}
.section-sub { color: var(--muted); font-size: clamp(16px, 1.6vw, 19px); max-width: 620px; margin-inline: auto; }

.grad-text {
  background: var(--grad);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  animation: grad-shift 5s ease-in-out infinite alternate;
  font-style: normal;
}
@keyframes grad-shift { from { background-position: 0% 0; } to { background-position: 100% 0; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; font-weight: 600; white-space: nowrap;
  transition: transform .25s cubic-bezier(.2,.8,.3,1.2), box-shadow .25s ease, background .25s ease, color .25s ease;
  will-change: transform;
}
.btn-primary {
  background: var(--blue); color: #fff;
  box-shadow: 0 8px 22px rgba(47, 125, 246, .35);
  position: relative; overflow: hidden;
}
.btn-primary::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .7s ease;
}
.btn-primary:hover { background: var(--blue-dark); box-shadow: 0 12px 30px rgba(47, 125, 246, .45); }
.btn-primary:hover::after { transform: translateX(120%); }
.btn-ghost {
  background: #fff; color: var(--navy);
  border: 1.5px solid var(--line); box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { border-color: #c9d6ea; box-shadow: var(--shadow-md); }
.btn-sm { padding: 9px 20px; font-size: 14.5px; }
.btn-lg { padding: 15px 30px; font-size: 16.5px; }

/* ============================================================
   INTRO — leere weiße Seite, dann fließen die Farben hinein
   ============================================================ */
#intro {
  position: fixed; inset: 0; z-index: 1000;
  background: #fff; overflow: hidden;
  display: grid; place-items: center;
  cursor: pointer;
  transition: transform .8s cubic-bezier(.7, 0, .2, 1), opacity .8s ease;
}
#intro.intro--exit { transform: translateY(-100%); opacity: .98; }
#intro.intro--gone { display: none; }

.intro-cursor {
  position: absolute; top: 18%; left: 62%;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--navy); opacity: .85;
  animation: cursor-drift 2.2s ease-in-out forwards;
}
@keyframes cursor-drift {
  0%   { transform: translate(0, 0) scale(1); opacity: .85; }
  45%  { transform: translate(-26vw, 24vh) scale(1); opacity: .85; }
  60%  { transform: translate(-26vw, 24vh) scale(2.6); opacity: .25; }
  100% { transform: translate(-26vw, 24vh) scale(3.2); opacity: 0; }
}

.intro-blob {
  position: absolute; border-radius: 50%;
  filter: blur(70px); opacity: 0; transform: scale(.2);
}
#intro.intro--paint .intro-blob { animation: blob-bloom 1.6s cubic-bezier(.2,.7,.3,1) forwards; }
.intro-blob--blue { width: 56vmax; height: 56vmax; left: -14vmax; top: -16vmax; background: rgba(47,125,246,.5); }
.intro-blob--teal { width: 48vmax; height: 48vmax; right: -12vmax; bottom: -14vmax; background: rgba(70,214,180,.45); animation-delay: .12s !important; }
.intro-blob--navy { width: 34vmax; height: 34vmax; right: 8vmax; top: -12vmax; background: rgba(22,36,61,.22); animation-delay: .24s !important; }
@keyframes blob-bloom {
  0%   { opacity: 0; transform: scale(.2); }
  55%  { opacity: 1; }
  100% { opacity: .9; transform: scale(1); }
}

.intro-sweep {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 0%, rgba(255,255,255,.95) 45%, #fff 55%, #fff 100%);
  transform: translateX(-115%);
}
#intro.intro--brand .intro-sweep { animation: sweep-in 1s cubic-bezier(.65,0,.2,1) forwards; }
@keyframes sweep-in { to { transform: translateX(0); } }

.intro-brand {
  position: relative; z-index: 2; text-align: center;
  opacity: 0; transform: translateY(16px) scale(.96);
  transition: opacity .6s ease .55s, transform .6s cubic-bezier(.2,.8,.3,1.15) .55s;
  display: grid; justify-items: center; gap: 6px;
}
#intro.intro--brand .intro-brand { opacity: 1; transform: none; }
.intro-logo { width: 84px; height: 84px; filter: drop-shadow(0 10px 24px rgba(47,125,246,.25)); }
.intro-word { font-size: 30px; font-weight: 800; letter-spacing: -.02em; color: var(--blue); line-height: 1.15; }
.intro-word span { color: var(--navy); }
.intro-slogan { color: var(--ink); font-size: 17px; margin-top: 6px; font-weight: 500; }

.intro-skip {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  font-size: 12.5px; color: #aab6c8; letter-spacing: .04em;
}

/* ============================================================
   Effekte: Scroll-Progress + Cursor-Glow
   ============================================================ */
#scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: var(--grad); z-index: 900;
  border-radius: 0 3px 3px 0;
}
#cursor-glow {
  position: fixed; top: 0; left: 0; width: 380px; height: 380px;
  margin: -190px 0 0 -190px; border-radius: 50%;
  background: radial-gradient(circle, rgba(47,125,246,.10) 0%, rgba(70,214,180,.05) 45%, transparent 70%);
  pointer-events: none; z-index: 1;
  opacity: 0; transition: opacity .4s ease;
}
body.has-mouse #cursor-glow { opacity: 1; }

/* ============================================================
   Navigation
   ============================================================ */
#site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 800;
  transition: background .35s ease, box-shadow .35s ease, backdrop-filter .35s ease;
}
#site-nav.scrolled {
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line), var(--shadow-sm);
}
.nav-inner {
  width: min(1180px, 94vw); margin-inline: auto;
  display: flex; align-items: center; gap: 28px;
  padding: 14px 0;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-word { font-weight: 700; font-size: 17px; color: var(--blue); letter-spacing: -.01em; }
.brand-word b { color: var(--navy); font-weight: 800; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a {
  font-size: 15px; font-weight: 500; color: var(--ink);
  position: relative; padding: 4px 0;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 2px; border-radius: 2px;
  background: var(--grad); transform: scaleX(0); transform-origin: left;
  transition: transform .3s cubic-bezier(.2,.8,.3,1);
}
.nav-links a:hover::after { transform: scaleX(1); }
#nav-toggle { display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px; padding: 11px; min-width: 44px; min-height: 44px; margin-left: auto; }

/* Sprachschalter (DE / EN / ES) */
.lang-switch {
  display: flex; gap: 2px; flex: none;
  background: #fff; border: 1.5px solid var(--line);
  border-radius: 999px; padding: 3px;
  box-shadow: var(--shadow-sm);
}
.lang-switch button {
  font-size: 12.5px; font-weight: 700; letter-spacing: .03em;
  color: var(--muted); padding: 5px 11px; border-radius: 999px;
  transition: background .25s ease, color .25s ease;
}
.lang-switch button:hover { color: var(--navy); }
.lang-switch button.active { background: var(--navy); color: #fff; }
#nav-toggle span { width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .3s ease, opacity .3s ease; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 120px 0 0; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.blob {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: .5;
  animation: blob-float 14s ease-in-out infinite alternate;
}
.blob-1 { width: 520px; height: 520px; left: -160px; top: -120px; background: rgba(47,125,246,.20); }
.blob-2 { width: 460px; height: 460px; right: -140px; top: 16%; background: rgba(70,214,180,.18); animation-delay: -4s; }
.blob-3 { width: 380px; height: 380px; left: 30%; bottom: -180px; background: rgba(58,160,232,.14); animation-delay: -8s; }
@keyframes blob-float {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(40px, -34px) scale(1.12); }
}
.hero-grid {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(22,36,61,.07) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 0%, transparent 70%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 0%, transparent 70%);
}

.hero-inner {
  position: relative; z-index: 2;
  width: min(900px, 92vw); margin-inline: auto;
  text-align: center;
}
.hero-title {
  font-size: clamp(42px, 7.6vw, 84px);
  font-weight: 800; letter-spacing: -.03em; line-height: 1.05;
  color: var(--navy); margin: 10px 0 22px;
}
.hero-title .line { display: block; }
.hero-sub {
  font-size: clamp(16.5px, 2vw, 20px); color: var(--muted);
  max-width: 640px; margin: 0 auto 34px;
}
.hero-sub strong { color: var(--ink); }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.replay {
  margin-top: 22px; font-size: 14px; color: var(--muted);
  border-bottom: 1px dashed #c4cfdf; padding-bottom: 2px;
  transition: color .25s ease, border-color .25s ease;
}
.replay:hover { color: var(--blue); border-color: var(--blue); }

/* schwebende Badges */
.hero-badges { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.badge-card {
  position: absolute;
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.9);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow-md);
  padding: 10px 16px; font-size: 14px; font-weight: 600; color: var(--navy);
}
.dot { width: 8px; height: 8px; border-radius: 50%; }
.dot-green { background: #34c98e; }
.dot-blue { background: var(--blue); }
.dot-teal { background: var(--teal); }
.float-1 { left: 4%; top: 30%; animation: floaty 6s ease-in-out infinite alternate; }
.float-2 { right: 4%; top: 26%; animation: floaty 7s ease-in-out -2s infinite alternate; }
.float-3 { right: 6%; bottom: 24%; animation: floaty 5.5s ease-in-out -1s infinite alternate; }
@keyframes floaty { from { transform: translateY(-8px) rotate(-1.2deg); } to { transform: translateY(10px) rotate(1.2deg); } }

/* Marquee */
.marquee {
  margin-top: auto; padding: 18px 0; overflow: hidden;
  border-top: 1px solid var(--line);
  background: rgba(255,255,255,.7);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.marquee-track {
  display: flex; align-items: center; gap: 34px; width: max-content;
  animation: marquee 26s linear infinite;
}
.marquee-track span { font-weight: 700; color: var(--navy); font-size: 15px; letter-spacing: .02em; }
.marquee-track i { color: var(--blue); font-style: normal; font-size: 12px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   Scroll-Reveal
   ============================================================ */
[data-reveal] {
  opacity: 0; transform: translateY(26px);
  transition: opacity .8s ease var(--d, 0s), transform .8s cubic-bezier(.2,.8,.3,1) var(--d, 0s);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ============================================================
   Browser-Mockup (gemeinsam)
   ============================================================ */
.browser {
  background: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  overflow: hidden;
}
.browser-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 11px 14px; background: #f2f5fa; border-bottom: 1px solid var(--line);
  position: relative;
}
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #d6dde9; }
.browser-bar i:nth-child(1) { background: #f6b1ab; }
.browser-bar i:nth-child(2) { background: #f5d58e; }
.browser-bar i:nth-child(3) { background: #a8dcb2; }
.browser-bar .url {
  position: absolute; left: 50%; transform: translateX(-50%);
  background: #fff; border: 1px solid var(--line);
  font-size: 10.5px; color: #93a1b6;
  padding: 3px 16px; border-radius: 999px; letter-spacing: .02em;
}

/* ============================================================
   Problem-Sektion
   ============================================================ */
.problem { background: var(--bg-soft); }
.split {
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: clamp(36px, 6vw, 80px); align-items: center;
}
.skel-browser { filter: grayscale(.4); transition: filter .8s ease; }
.skel-browser:hover { filter: grayscale(0); }
.skel-body { padding: 22px; background: #fbfcfe; }
.skel-row, .skel-block, .skel-card { background: #e7ebf3; border-radius: 7px; }
.skel-nav { height: 14px; width: 55%; margin-bottom: 22px; }
.skel-block { height: 16px; margin: 0 auto 10px; }
.skel-block.w60 { width: 60%; }
.skel-block.w40 { width: 40%; margin-bottom: 24px; }
.skel-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.skel-card { height: 86px; }
.problem-line {
  font-size: clamp(19px, 2.3vw, 24px); color: var(--muted);
  margin-bottom: 20px; font-weight: 500;
}
.problem-line b { color: var(--ink); font-weight: 700; }
.problem-line.strong, .problem-line.strong b { color: var(--navy); }

/* ============================================================
   Vorher / Nachher
   ============================================================ */
.compare { overflow: hidden; }
.ba { margin-top: clamp(32px, 5vw, 56px); }
.ba-browser { max-width: 980px; margin-inline: auto; }
.ba-stage {
  position: relative; aspect-ratio: 16 / 10;
  container-type: inline-size;
  --cut: 0%;
  user-select: none; -webkit-user-select: none;
  touch-action: pan-y;
  overflow: hidden;
}
.ba-after, .ba-before { position: absolute; inset: 0; }
.ba-before { clip-path: inset(0 0 0 var(--cut)); }

/* Griff */
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: var(--cut);
  width: 0; z-index: 5; pointer-events: none;
}
.ba-handle::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: -1.5px;
  width: 3px; background: #fff;
  box-shadow: 0 0 0 1px rgba(22,36,61,.08), 0 0 18px rgba(22,36,61,.25);
}
.ba-handle span {
  position: absolute; top: 50%; left: 0; transform: translate(-50%, -50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: #fff; box-shadow: var(--shadow-md), 0 0 0 1px var(--line);
  display: grid; place-items: center;
  font-size: 15px; font-weight: 700; color: var(--navy); letter-spacing: -1px;
}
#ba-range {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0; cursor: ew-resize; z-index: 6;
  -webkit-appearance: none; appearance: none;
  margin: 0;
}
.ba-tag {
  position: absolute; bottom: 12px; z-index: 4;
  font-size: 12px; font-weight: 700; letter-spacing: .03em;
  padding: 5px 14px; border-radius: 999px;
  transition: opacity .3s ease;
}
.ba-tag-before { right: 14px; background: rgba(22,36,61,.55); color: #fff; }
.ba-tag-after { left: 14px; background: var(--blue); color: #fff; box-shadow: 0 4px 14px rgba(47,125,246,.4); }
.ba-caption {
  text-align: center; margin-top: 20px;
  font-size: clamp(16px, 1.9vw, 19px); color: var(--muted);
  transition: opacity .25s ease;
}
.ba-caption b { color: var(--navy); }
.ba-caption.after b { color: var(--blue); }
.ba-caption.after .cap-words { color: var(--blue); font-weight: 600; }

/* ---------- Mini-Seite: NACHHER ---------- */
.mini-new {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, #ffffff 55%, #eef6ff 100%);
  display: flex; flex-direction: column;
  padding: 3.4cqw 4cqw;
  font-size: 1.6cqw;
}
.mn-top { display: flex; align-items: center; justify-content: space-between; }
.mn-logo { display: flex; align-items: center; gap: 1cqw; font-weight: 700; font-size: 1.7cqw; color: var(--blue); }
.mn-logo b { color: var(--navy); }
.mn-logo svg { width: 3.4cqw; height: 3.4cqw; }
.mn-nav { display: flex; align-items: center; gap: 2.6cqw; font-size: 1.5cqw; color: var(--ink); font-weight: 500; }
.mn-nav .mn-cta { background: var(--navy); color: #fff; padding: .7cqw 1.9cqw; border-radius: 99px; }
.mn-hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: 4cqw; align-items: center; flex: 1; padding-top: 1cqw; }
.mn-eyebrow { color: var(--blue); font-weight: 700; letter-spacing: .2em; font-size: 1.15cqw; margin-bottom: 1cqw; }
.mn-title { font-size: 4.6cqw; line-height: 1.08; font-weight: 800; color: var(--navy); letter-spacing: -.02em; margin-bottom: 1.4cqw; }
.mn-sub { color: var(--muted); font-size: 1.65cqw; line-height: 1.5; margin-bottom: 2.2cqw; max-width: 34cqw; }
.mn-btns { display: flex; gap: 1.6cqw; align-items: center; }
.mn-btn-primary {
  background: var(--blue); color: #fff; font-weight: 600;
  padding: 1.1cqw 2.4cqw; border-radius: 99px; font-size: 1.5cqw;
  box-shadow: 0 .6cqw 1.8cqw rgba(47,125,246,.35);
}
.mn-btn-ghost { color: var(--navy); font-weight: 600; font-size: 1.5cqw; }
.mn-right { display: grid; gap: 1.8cqw; }
.mn-chart {
  background: #fff; border: 1px solid var(--line); border-radius: 1.6cqw;
  box-shadow: var(--shadow-md); padding: 1.8cqw; width: 70%;
}
.mn-chart p { font-size: 1.3cqw; font-weight: 600; color: var(--muted); margin-bottom: 1cqw; }
.mn-bars { display: flex; align-items: flex-end; gap: .9cqw; height: 7cqw; }
.mn-bars i {
  flex: 1; height: var(--h); border-radius: .5cqw .5cqw 0 0;
  background: linear-gradient(180deg, var(--blue), #7db4fa);
  animation: bar-grow 1.2s cubic-bezier(.2,.8,.3,1) both;
}
.mn-bars i:nth-child(2) { animation-delay: .1s; }
.mn-bars i:nth-child(3) { animation-delay: .2s; }
.mn-bars i:nth-child(4) { animation-delay: .3s; }
.mn-bars i:nth-child(5) { animation-delay: .4s; }
.mn-bars i:nth-child(6) { animation-delay: .5s; background: linear-gradient(180deg, var(--teal), #8ce8d2); }
@keyframes bar-grow { from { height: 0; } }
.mn-quote {
  background: #fff; border: 1px solid var(--line); border-radius: 1.6cqw;
  box-shadow: var(--shadow-md); padding: 1.8cqw;
  margin-left: 14%;
}
.mn-quote p { font-size: 1.55cqw; font-weight: 600; color: var(--navy); line-height: 1.4; margin-bottom: 1.1cqw; }
.mn-person { display: flex; align-items: center; gap: 1cqw; font-size: 1.25cqw; color: var(--muted); }
.mn-avatar {
  width: 2.6cqw; height: 2.6cqw; border-radius: 50%;
  background: var(--grad); color: #fff;
  display: grid; place-items: center; font-size: 1.2cqw; font-weight: 700;
}
.mn-pills { display: flex; gap: 1.4cqw; padding-top: 1.6cqw; }
.mn-pills span {
  display: flex; align-items: center; gap: .9cqw;
  background: #fff; border: 1px solid var(--line); border-radius: 99px;
  padding: .8cqw 1.8cqw; font-size: 1.35cqw; font-weight: 600; color: var(--ink);
  box-shadow: var(--shadow-sm); flex: 1; justify-content: center;
}
.mn-pills i { width: .9cqw; height: .9cqw; border-radius: 50%; }
.p-blue { background: var(--blue); }
.p-teal { background: var(--teal); }
.p-navy { background: var(--navy); }

/* ---------- Mini-Seite: VORHER (bewusst altbacken) ---------- */
.mini-old {
  position: absolute; inset: 0;
  background: #d9d9d3;
  font-family: "Times New Roman", Times, serif;
  color: #3c3c3c;
  display: flex; flex-direction: column;
  filter: saturate(.55) contrast(.95);
}
.mo-header {
  background: linear-gradient(#9aa3ad, #7c8794);
  color: #f4f4ee; font-size: 2.1cqw; font-weight: 700;
  padding: 1.6cqw 2cqw; text-shadow: 1px 1px 0 #555;
  border-bottom: .3cqw solid #5d6772;
}
.mo-nav {
  background: #c3c8cd; font-size: 1.5cqw; padding: .9cqw 2cqw;
  color: #2a4a8a; border-bottom: 1px solid #9aa1a8;
}
.mo-body { flex: 1; padding: 2.4cqw 3cqw; background: #e8e8e2; }
.mo-title { font-size: 3.1cqw; font-weight: 700; margin-bottom: 1.2cqw; color: #34435c; }
.mo-text { font-size: 1.7cqw; line-height: 1.45; max-width: 60cqw; margin-bottom: 1.6cqw; }
.mo-blink {
  font-size: 1.5cqw; color: #8a2f2f; font-weight: 700;
  margin-bottom: 2cqw; animation: mo-blink 1.1s steps(2) infinite;
}
@keyframes mo-blink { 50% { opacity: .25; } }
.mo-cols { display: flex; gap: 1.6cqw; margin-bottom: 2.2cqw; }
.mo-box {
  flex: 1; background: #d2d2ca; border: .25cqw outset #f0f0ea;
  text-align: center; font-size: 1.6cqw; font-weight: 700;
  padding: 2.6cqw 1cqw; color: #4a4a44;
}
.mo-btn {
  font-family: inherit; font-size: 1.7cqw; font-weight: 700;
  background: linear-gradient(#f0f0ea, #c9c9c0);
  border: .3cqw outset #e7e7e0; padding: .9cqw 2.6cqw;
  color: #333; cursor: default;
}
.mo-footer {
  background: #c3c8cd; font-size: 1.25cqw; color: #5d6570;
  padding: 1cqw 2cqw; border-top: 1px solid #9aa1a8;
}

/* ============================================================
   Nutzen + Stats
   ============================================================ */
.benefit-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.b-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
  padding: 30px 26px 26px; position: relative;
  transition: box-shadow .35s ease, transform .35s ease;
}
.b-card:hover { box-shadow: var(--shadow-lg); }
.b-accent { display: block; width: 26px; height: 4px; border-radius: 4px; background: var(--blue); margin-bottom: 40px; }
.b-accent.teal { background: var(--teal); }
.b-accent.navy { background: var(--navy); }
.b-card h3 { font-size: 21px; font-weight: 800; color: var(--navy); margin-bottom: 6px; letter-spacing: -.01em; }
.b-card p { color: var(--muted); font-size: 15.5px; }

.stats {
  margin-top: clamp(48px, 6vw, 72px);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  background: linear-gradient(120deg, #f2f7ff, #effcf7);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 44px);
}
.stat { text-align: center; }
.stat-num {
  display: block; font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 800; color: var(--navy); letter-spacing: -.02em;
}
.stat-num b { font-weight: 800; }
.stat:nth-child(1) .stat-num b { color: var(--blue); }
.stat:nth-child(2) .stat-num b { color: #2faf8e; }
.stat:nth-child(4) .stat-num b { color: var(--blue); }
.stat-label { font-size: 14px; color: var(--muted); }
.stats-note { margin-top: 12px; font-size: 12.5px; color: #9aa7ba; text-align: right; }

/* ============================================================
   Leistungen
   ============================================================ */
.services { background: var(--bg-soft); }
.service-grid {
  margin-top: clamp(36px, 5vw, 56px);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.s-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
  padding: 28px 24px;
  transition: box-shadow .35s ease, transform .35s ease;
  position: relative; overflow: hidden;
}
.s-card::before {
  content: ""; position: absolute; inset: 0 0 auto;
  height: 3px; background: var(--grad);
  transform: scaleX(0); transform-origin: left;
  transition: transform .45s cubic-bezier(.2,.8,.3,1);
}
.s-card:hover { box-shadow: var(--shadow-lg); }
.s-card:hover::before { transform: scaleX(1); }
.s-icon {
  width: 46px; height: 46px; border-radius: 13px;
  background: rgba(47,125,246,.1); color: var(--blue);
  display: grid; place-items: center; margin-bottom: 18px;
}
.s-icon svg { width: 24px; height: 24px; }
.s-icon.teal { background: rgba(70,214,180,.14); color: #1ea886; }
.s-icon.navy { background: rgba(22,36,61,.08); color: var(--navy); }
.s-card h3 { font-size: 17.5px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.s-card p { font-size: 14.5px; color: var(--muted); }

.includes {
  margin-top: 34px; text-align: center;
  background: #fff; border: 1px dashed #c9d6ea; border-radius: var(--radius);
  padding: 26px 22px;
}
.includes-title { font-weight: 700; color: var(--navy); margin-bottom: 14px; }
.chip-list { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.chip-list li {
  background: #f2f7ff; color: var(--blue-dark);
  border: 1px solid #d8e6fb; border-radius: 999px;
  font-size: 13.5px; font-weight: 600; padding: 7px 16px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.chip-list li:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }

/* ============================================================
   Ablauf
   ============================================================ */
.steps {
  margin-top: clamp(40px, 5vw, 64px);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
  position: relative; counter-reset: step;
}
.steps::before {
  content: ""; position: absolute; top: 27px; left: 12%; right: 12%;
  height: 2px; background: linear-gradient(90deg, var(--blue), var(--teal), var(--navy));
  opacity: .25;
}
.step { text-align: center; position: relative; padding: 0 14px; }
.step-dot {
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center; margin: 0 auto 18px;
  font-weight: 800; font-size: 15px; color: #fff;
  box-shadow: var(--shadow-md);
  position: relative; z-index: 1;
}
.step-dot.blue { background: var(--blue); }
.step-dot.teal { background: var(--teal); }
.step-dot.navy { background: var(--navy); }
.step h3 { font-size: 19px; font-weight: 800; color: var(--navy); margin-bottom: 6px; }
.step p { font-size: 15px; color: var(--muted); max-width: 300px; margin-inline: auto; }

/* ============================================================
   Kontakt
   ============================================================ */
.contact { background: var(--bg-soft); }
.contact-card {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px);
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: clamp(30px, 5vw, 56px);
  position: relative; overflow: hidden;
}
.contact-card::after {
  content: ""; position: absolute; right: -120px; bottom: -140px;
  width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle, rgba(70,214,180,.16), transparent 70%);
  pointer-events: none;
}
.contact-logo { margin-bottom: 18px; }
.contact-info h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; color: var(--navy); letter-spacing: -.02em; margin-bottom: 12px; line-height: 1.15; }
.contact-info > p { color: var(--muted); margin-bottom: 20px; }
.contact-points li { font-size: 15px; color: var(--ink); font-weight: 500; margin-bottom: 8px; }
.contact-mail {
  display: inline-block; margin-top: 14px;
  font-weight: 700; color: var(--blue);
  border-bottom: 2px solid rgba(47,125,246,.3);
  transition: border-color .25s ease;
}
.contact-mail:hover { border-color: var(--blue); }

#contact-form { display: grid; gap: 16px; position: relative; z-index: 1; }
#contact-form label { font-size: 13.5px; font-weight: 700; color: var(--navy); display: grid; gap: 7px; }
#contact-form input, #contact-form textarea {
  font: inherit; font-size: 15px; color: var(--ink);
  border: 1.5px solid var(--line); border-radius: 12px;
  padding: 12px 14px; background: #fbfcfe;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
  resize: vertical;
}
#contact-form input:focus, #contact-form textarea:focus {
  outline: none; border-color: var(--blue); background: #fff;
  box-shadow: 0 0 0 4px rgba(47,125,246,.12);
}
#contact-form .btn { justify-self: start; }
.form-note { font-size: 13.5px; color: #2faf8e; font-weight: 600; min-height: 1.2em; }
.form-note a { color: inherit; text-decoration: underline; }
/* Honeypot: für Menschen unsichtbar, fängt Spam-Bots ab */
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* ============================================================
   Footer
   ============================================================ */
footer { border-top: 1px solid var(--line); padding: 40px 0; background: #fff; }
.footer-inner {
  display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
  justify-content: space-between;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand p { font-size: 13px; color: var(--muted); margin-top: 1px; }
.footer-nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-nav a, .footer-legal a { font-size: 14px; color: var(--muted); transition: color .25s ease; }
.footer-nav a:hover, .footer-legal a:hover { color: var(--blue); }
.footer-legal { display: flex; gap: 18px; align-items: center; font-size: 14px; color: #9aa7ba; }

/* ============================================================
   Rechtsseiten (Impressum, Datenschutz)
   ============================================================ */
.legal-nav {
  position: sticky; top: 0; z-index: 800;
  background: rgba(255, 255, 255, .85);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.legal-nav .nav-inner { padding: 12px 0; }
.legal-back-link { margin-left: auto; font-size: 15px; font-weight: 600; color: var(--blue); transition: color .25s ease; }
.legal-back-link:hover { color: var(--blue-dark); }
.legal-wrap { padding: 50px 0 90px; background: var(--bg-soft); min-height: 70vh; }
.legal-wrap .container { width: min(860px, 92vw); }
.legal h1 { font-size: clamp(30px, 5vw, 46px); font-weight: 800; color: var(--navy); letter-spacing: -.02em; margin-bottom: 8px; }
.legal .updated { color: var(--muted); font-size: 14px; margin-bottom: 28px; }
.legal-block {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
  padding: clamp(24px, 4vw, 46px);
}
.legal h2 { font-size: 20px; font-weight: 800; color: var(--navy); margin: 34px 0 10px; letter-spacing: -.01em; }
.legal-block > h2:first-child { margin-top: 0; }
.legal h3 { font-size: 16px; font-weight: 700; color: var(--ink); margin: 22px 0 6px; }
.legal p { color: var(--ink); font-size: 15.5px; line-height: 1.72; margin-bottom: 12px; }
.legal address.addr { font-style: normal; color: var(--ink); line-height: 1.7; margin-bottom: 12px; }
.legal ul { margin: 0 0 14px; }
.legal ul li { position: relative; padding-left: 20px; margin-bottom: 7px; color: var(--ink); font-size: 15.5px; line-height: 1.6; }
.legal ul li::before { content: ""; position: absolute; left: 3px; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.legal a { color: var(--blue); border-bottom: 1px solid rgba(47, 125, 246, .3); }
.legal a:hover { border-color: var(--blue); }
.legal .note {
  background: #fff8ec; border: 1px solid #f3dca6; border-radius: 12px;
  padding: 13px 16px; font-size: 14px; color: #8a6d3b; margin: 16px 0; line-height: 1.6;
}
.legal .data-table { width: 100%; border-collapse: collapse; margin: 6px 0 16px; font-size: 15px; }
.legal .data-table td { padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink); }
.legal .data-table td:first-child { font-weight: 600; color: var(--navy); width: 42%; }
.legal .data-table tr:last-child td { border-bottom: none; }

/* ============================================================
   Tilt-Karten
   ============================================================ */
.tilt { transform-style: preserve-3d; will-change: transform; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1320px) {
  .hero-badges { display: none; }
}

@media (max-width: 920px) {
  .split { grid-template-columns: 1fr; }
  .problem-mock { width: 100%; max-width: 560px; margin-inline: auto; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 28px 14px; }
  .contact-card { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .nav-links, #site-nav .btn { display: none; }
  #nav-toggle { display: flex; margin-left: 0; }
  .nav-inner { gap: 10px; }
  .lang-switch { margin-left: auto; padding: 2px; }
  .lang-switch button { font-size: 11.5px; padding: 5px 8px; }
  #site-nav.menu-open .nav-links {
    display: flex; flex-direction: column; gap: 4px;
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md); padding: 14px 5vw 20px;
  }
  #site-nav.menu-open .nav-links a { padding: 10px 0; font-size: 16px; }
  #site-nav.menu-open #nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  #site-nav.menu-open #nav-toggle span:nth-child(2) { opacity: 0; }
  #site-nav.menu-open #nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  #site-nav { background: rgba(255,255,255,.92); }
  .benefit-cards { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 34px; }
  .steps::before { display: none; }
  .ba-stage { aspect-ratio: 16 / 12; }
  .hero { padding-top: 96px; }
  .hero-cta .btn { width: 100%; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 18px; }
  .footer-legal { flex-wrap: wrap; }
  /* 16px verhindert den automatischen iOS-Zoom beim Fokussieren */
  #contact-form input, #contact-form textarea { font-size: 16px; }
}

/* ============================================================
   Design-Galerie (dunkle Sektion + Karten)
   ============================================================ */
.designs { background: #0e1726; }
.designs .eyebrow { color: #7db4fa; }
.designs .section-title { color: #fff; }
.designs .section-sub { color: #93a3bd; }

.design-grid {
  margin-top: clamp(36px, 5vw, 56px);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.d-card {
  background: #16213a; border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius); overflow: hidden; cursor: pointer;
  transition: transform .35s cubic-bezier(.2,.8,.3,1), box-shadow .35s ease, border-color .35s ease;
}
.d-card:hover, .d-card:focus-visible {
  transform: translateY(-6px);
  border-color: rgba(125, 180, 250, .45);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .45);
  outline: none;
}
.d-card:focus-visible { box-shadow: 0 0 0 3px rgba(47, 125, 246, .65), 0 18px 44px rgba(0, 0, 0, .45); }
.d-preview {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden;
  container-type: inline-size;
  font-family: var(--font);
}
.d-meta {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px 13px;
}
.d-meta h3 { font-size: 15.5px; font-weight: 700; color: #fff; line-height: 1.2; }
.d-meta .cat { font-size: 12.5px; color: #8fa0bb; }
.d-zoom {
  width: 30px; height: 30px; border-radius: 9px; flex: none;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .08); color: #cfe0f5; font-size: 14px;
  transition: background .3s ease, transform .3s ease;
}
.d-card:hover .d-zoom, .d-card:focus-visible .d-zoom { background: var(--blue); color: #fff; transform: scale(1.1); }

/* ---------- Lightbox ---------- */
#design-modal {
  position: fixed; inset: 0; z-index: 950;
  display: grid; place-items: center; padding: 4vmin;
}
#design-modal[hidden] { display: none; }
.dm-backdrop {
  position: absolute; inset: 0;
  background: rgba(8, 12, 22, .8);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  opacity: 0; transition: opacity .3s ease;
}
.dm-panel {
  position: relative; margin: 0; width: min(1020px, 100%);
  max-height: calc(100svh - 8vmin);
  display: flex; flex-direction: column;
  background: #0f1828; border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 20px; overflow: hidden;
  box-shadow: 0 40px 120px rgba(0, 0, 0, .6);
  transform: translateY(18px) scale(.95); opacity: 0;
  transition: transform .35s cubic-bezier(.2,.8,.3,1.1), opacity .3s ease;
}
#design-modal.open .dm-backdrop { opacity: 1; }
#design-modal.open .dm-panel { transform: none; opacity: 1; }
.dm-stage {
  overflow-y: auto; min-height: 0;
  overscroll-behavior: contain;
  scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .25) transparent;
}
.dm-stage::-webkit-scrollbar { width: 8px; }
.dm-stage::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .22); border-radius: 8px; }
.dm-stage .d-preview { width: 100%; flex: none; }
.dm-hint {
  position: absolute; left: 50%; bottom: 62px; transform: translateX(-50%);
  z-index: 2; pointer-events: none;
  display: flex; align-items: center; gap: 7px;
  background: rgba(10, 16, 28, .75); color: #dfe9f8;
  font-size: 12.5px; font-weight: 600; padding: 8px 15px; border-radius: 99px;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; transition: opacity .35s ease;
}
.dm-hint i { font-style: normal; animation: hint-bob 1.4s ease-in-out infinite; }
@keyframes hint-bob { 50% { transform: translateY(3px); } }
#design-modal.open.has-scroll:not(.scrolled) .dm-hint { opacity: 1; }
.dm-caption { flex: none; }
.dm-caption {
  display: flex; gap: 12px; align-items: baseline;
  padding: 14px 18px; border-top: 1px solid rgba(255, 255, 255, .08);
}
.dm-caption b { color: #fff; font-size: 16px; }
.dm-caption span { color: #8fa0bb; font-size: 13.5px; }
.dm-close {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(10, 16, 28, .65); color: #fff; font-size: 15px;
  display: grid; place-items: center;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background .25s ease, transform .25s ease;
}
.dm-close:hover { background: var(--blue); transform: rotate(90deg); }
body.modal-open { overflow: hidden; }

/* ---------- Design: Solara (Energie, hell) ---------- */
.dp-solara { background: linear-gradient(165deg, #eaf4ff 0%, #f7fbff 55%, #e6f6ee 100%); padding: 4cqw 5cqw; }
.dp-solara .ds-nav { display: flex; align-items: center; gap: 2.4cqw; }
.dp-solara .ds-logo { width: 2.6cqw; height: 2.6cqw; border-radius: 50%; background: #21b573; }
.dp-solara .ds-nav i { width: 7cqw; height: 1.1cqw; border-radius: 99px; background: #c9d6e6; }
.dp-solara .ds-nav b { margin-left: auto; background: #16243d; color: #fff; font-size: 1.7cqw; font-weight: 600; padding: 1cqw 2.6cqw; border-radius: 99px; }
.dp-solara .ds-h { margin-top: 4.5cqw; font-size: 6.2cqw; line-height: 1.05; font-weight: 800; color: #14213a; letter-spacing: -.02em; }
.dp-solara .ds-s { margin-top: 1.6cqw; font-size: 2cqw; color: #5d7390; max-width: 44cqw; line-height: 1.5; }
.dp-solara .ds-cta { display: inline-block; margin-top: 2.4cqw; background: #21b573; color: #fff; font-size: 1.9cqw; font-weight: 700; padding: 1.4cqw 3.4cqw; border-radius: 99px; box-shadow: 0 1cqw 2.6cqw rgba(33, 181, 115, .4); }
.dp-solara .ds-panel { position: absolute; right: 4.5cqw; bottom: 0; width: 34cqw; height: 23cqw; background: #fff; border-radius: 2cqw 2cqw 0 0; box-shadow: 0 -1cqw 4cqw rgba(20, 33, 58, .14); padding: 2.2cqw; }
.dp-solara .ds-sun { position: absolute; top: -4.6cqw; left: -6cqw; width: 9cqw; height: 9cqw; border-radius: 50%; background: radial-gradient(circle, #ffd66b, #ffb13d); box-shadow: 0 0 4cqw rgba(255, 177, 61, .65); }
.dp-solara .ds-cells { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2cqw; height: 100%; }
.dp-solara .ds-cells i { background: linear-gradient(145deg, #1d3461, #27498c); border-radius: .8cqw; }

/* ---------- Design: Noir (Editorial, dunkel) ---------- */
.dp-noir { background: #0b0908; padding: 4cqw 5cqw; }
.dp-noir .ds-nav { display: flex; gap: 2.6cqw; align-items: center; }
.dp-noir .ds-nav span { font-size: 2.2cqw; color: #d8cfc4; font-weight: 700; font-style: italic; font-family: Georgia, "Times New Roman", serif; }
.dp-noir .ds-nav i { width: 6cqw; height: 1cqw; border-radius: 99px; background: rgba(255, 255, 255, .18); }
.dp-noir .ds-nav b { margin-left: auto; border: 1px solid rgba(255, 255, 255, .35); color: #eee; font-size: 1.6cqw; padding: .9cqw 2.4cqw; border-radius: 99px; font-weight: 500; }
.dp-noir .ds-h { margin-top: 5cqw; text-align: center; font-family: Georgia, "Times New Roman", serif; font-style: italic; font-size: 7cqw; line-height: 1.12; color: #f3ece2; position: relative; z-index: 1; }
.dp-noir .ds-terrain {
  position: absolute; left: -4cqw; right: -4cqw; bottom: -14cqw; height: 36cqw;
  background:
    radial-gradient(60% 90% at 30% 100%, rgba(255, 108, 32, .85), transparent 62%),
    radial-gradient(50% 80% at 72% 100%, rgba(186, 52, 8, .7), transparent 66%),
    linear-gradient(180deg, transparent, #1a0f08 58%);
  filter: blur(.5cqw);
  transform: skewY(-3deg);
}
.dp-noir .ds-cta { position: absolute; right: 6cqw; bottom: 5.4cqw; background: #ff7a29; color: #2b1404; font-weight: 700; font-size: 1.8cqw; padding: 1.2cqw 3cqw; border-radius: 99px; z-index: 1; }

/* ---------- Design: Vanguard (Studio, rot) ---------- */
.dp-vanguard { background: linear-gradient(160deg, #b40f1f, #7e0a17 82%); padding: 4cqw 5cqw; }
.dp-vanguard .ds-nav { display: flex; gap: 3cqw; align-items: center; }
.dp-vanguard .ds-nav span { font-size: 2.1cqw; font-weight: 800; letter-spacing: .16em; color: #fff; }
.dp-vanguard .ds-nav i { width: 6cqw; height: 1cqw; background: rgba(255, 255, 255, .35); border-radius: 99px; }
.dp-vanguard .ds-nav i:first-of-type { margin-left: auto; }
.dp-vanguard .ds-h { margin-top: 3.6cqw; font-size: 9.4cqw; line-height: .98; font-weight: 900; color: #fff; text-transform: uppercase; letter-spacing: -.01em; }
.dp-vanguard .ds-stats { position: absolute; left: 5cqw; right: 5cqw; bottom: 4cqw; display: flex; gap: 7cqw; border-top: 1px solid rgba(255, 255, 255, .35); padding-top: 2cqw; }
.dp-vanguard .ds-stats b { display: block; font-size: 3.4cqw; font-weight: 800; color: #fff; line-height: 1.1; }
.dp-vanguard .ds-stats span { font-size: 1.5cqw; color: rgba(255, 255, 255, .75); }

/* ---------- Design: Neon (Tech, cyber) ---------- */
.dp-neon { background: radial-gradient(120% 130% at 85% 20%, #57130d 0%, #2a0b0b 48%, #140707 100%); padding: 5cqw; font-family: "SF Mono", ui-monospace, Menlo, Consolas, monospace; }
.dp-neon .ds-tag { font-size: 1.7cqw; color: #ff9f6a; letter-spacing: .08em; }
.dp-neon .ds-h { margin-top: 2cqw; font-size: 5.4cqw; line-height: 1.15; color: #ffe9dd; max-width: 48cqw; font-weight: 600; }
.dp-neon .ds-cta { display: inline-block; margin-top: 3cqw; border: 1px solid #ff9f6a; color: #ffc9a3; font-size: 1.8cqw; padding: 1.1cqw 3cqw; border-radius: 99px; }
.dp-neon .ds-port { position: absolute; right: 5cqw; top: 7cqw; width: 26cqw; height: 33cqw; border-radius: 2cqw; background: linear-gradient(180deg, #20100d, #361410); overflow: hidden; border: 1px solid rgba(255, 159, 106, .35); }
.dp-neon .ds-port::before { content: ""; position: absolute; left: 50%; top: 22%; width: 11cqw; height: 11cqw; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle at 40% 35%, #e8a988, #8c4f37 72%); }
.dp-neon .ds-port::after { content: ""; position: absolute; left: 50%; bottom: -5cqw; width: 22cqw; height: 15cqw; transform: translateX(-50%); border-radius: 50% 50% 0 0; background: #1c1c22; }
.dp-neon .ds-stat { position: absolute; font-size: 2.1cqw; color: #ffb787; }
.dp-neon .s1 { right: 34cqw; top: 9cqw; }
.dp-neon .s2 { right: 2.8cqw; top: 24cqw; }
.dp-neon .s3 { right: 34cqw; bottom: 8cqw; }

/* ---------- Design: Prisma (Brand, minimal) ---------- */
.dp-prisma { background: linear-gradient(180deg, #f6e9d4 0%, #d8dfe8 55%, #8fb4d8 100%); padding: 4cqw 5cqw; }
.dp-prisma::before, .dp-prisma::after { content: ""; position: absolute; border-radius: 50%; filter: blur(2.4cqw); background: rgba(255, 255, 255, .9); }
.dp-prisma::before { width: 30cqw; height: 9cqw; left: 8cqw; top: 30cqw; }
.dp-prisma::after { width: 38cqw; height: 11cqw; right: 3cqw; top: 41cqw; }
.dp-prisma .ds-nav { display: flex; gap: 2.6cqw; justify-content: center; }
.dp-prisma .ds-nav i { width: 7cqw; height: 1cqw; background: rgba(60, 60, 70, .35); border-radius: 99px; }
.dp-prisma .ds-h { margin-top: 9cqw; text-align: center; font-family: Georgia, "Times New Roman", serif; font-size: 13cqw; line-height: 1; color: #2c2a33; letter-spacing: -.02em; position: relative; z-index: 1; }
.dp-prisma .ds-h sup { font-size: 5cqw; color: #6b6878; }
.dp-prisma .ds-s { margin-top: 1.4cqw; text-align: center; font-size: 1.9cqw; color: #4c4a58; position: relative; z-index: 1; }

/* ---------- Design: Gateway (SaaS, blau) ---------- */
.dp-gateway { background: linear-gradient(180deg, #2f9bf0, #6fc1ff 70%, #a5d9ff); padding: 4cqw 5cqw; }
.dp-gateway .ds-nav { display: flex; align-items: center; }
.dp-gateway .ds-logo { width: 9cqw; height: 1.4cqw; background: rgba(255, 255, 255, .9); border-radius: 99px; }
.dp-gateway .ds-nav b { margin-left: auto; background: #0d2c4d; color: #fff; font-size: 1.6cqw; padding: 1cqw 2.6cqw; border-radius: 99px; font-weight: 600; }
.dp-gateway .ds-h { margin-top: 3cqw; text-align: center; font-size: 5.4cqw; line-height: 1.1; font-weight: 800; color: #fff; text-shadow: 0 .4cqw 2cqw rgba(13, 44, 77, .3); }
.dp-gateway .ds-s { text-align: center; font-size: 1.9cqw; color: rgba(255, 255, 255, .9); margin-top: 1cqw; }
.dp-gateway .ds-cards { position: absolute; left: 50%; bottom: -8cqw; transform: translateX(-50%); display: flex; gap: 2cqw; align-items: flex-end; }
.dp-gateway .ds-cards i { width: 13cqw; height: 19cqw; background: rgba(255, 255, 255, .55); border-radius: 1.6cqw; box-shadow: 0 1.4cqw 3cqw rgba(13, 44, 77, .25); }
.dp-gateway .ds-cards i:nth-child(1) { transform: rotate(-10deg) translateY(2cqw); }
.dp-gateway .ds-cards i:nth-child(2) { transform: rotate(-4deg); height: 21cqw; }
.dp-gateway .ds-cards i:nth-child(3) { background: #fff; height: 24cqw; width: 14cqw; }
.dp-gateway .ds-cards i:nth-child(4) { transform: rotate(4deg); height: 21cqw; }
.dp-gateway .ds-cards i:nth-child(5) { transform: rotate(10deg) translateY(2cqw); }

/* ---------- Design: Atelier (Portfolio, dunkel) ---------- */
.dp-atelier { background: #0a0a0c; padding: 5cqw; }
.dp-atelier .ds-ghost { position: absolute; top: 2.6cqw; right: 4cqw; font-size: 11cqw; font-weight: 900; letter-spacing: .05em; color: transparent; -webkit-text-stroke: .16cqw rgba(255, 255, 255, .28); }
.dp-atelier .ds-num { margin-top: 6cqw; font-size: 5cqw; font-weight: 800; color: #fff; line-height: 1; }
.dp-atelier .ds-client { margin-top: 1cqw; font-size: 1.6cqw; color: #9aa3b2; letter-spacing: .14em; }
.dp-atelier .ds-tiles { position: absolute; left: 5cqw; right: 5cqw; bottom: 5cqw; display: flex; gap: 2.4cqw; }
.dp-atelier .ds-tiles i { flex: 1; height: 22cqw; border-radius: 1.8cqw; }
.dp-atelier .ds-tiles i:nth-child(1) { background: linear-gradient(140deg, #5a3c8f, #2d8f6f 60%, #9fd96a); }
.dp-atelier .ds-tiles i:nth-child(2) { background: linear-gradient(140deg, #d96a35, #8f2d50 55%, #35256b); }

/* ---------- Design: Gusto (Gastro, warm) ---------- */
.dp-gusto { background: #f6efe3; padding: 4cqw 5cqw; }
.dp-gusto .ds-nav { display: flex; align-items: center; gap: 2.6cqw; }
.dp-gusto .ds-nav span { font-family: Georgia, "Times New Roman", serif; font-size: 2.8cqw; font-weight: 700; color: #6e1f2b; font-style: italic; }
.dp-gusto .ds-nav i { width: 6cqw; height: 1cqw; background: #d9c9b2; border-radius: 99px; }
.dp-gusto .ds-nav b { margin-left: auto; background: #6e1f2b; color: #f9efe0; font-size: 1.6cqw; font-weight: 600; padding: 1cqw 2.6cqw; border-radius: 99px; }
.dp-gusto .ds-h { margin-top: 4.4cqw; font-family: Georgia, "Times New Roman", serif; font-size: 6cqw; color: #3c2520; line-height: 1.08; max-width: 44cqw; }
.dp-gusto .ds-s { margin-top: 1.6cqw; font-size: 1.9cqw; color: #8a7363; max-width: 40cqw; line-height: 1.5; }
.dp-gusto .ds-badge { display: inline-block; margin-top: 2.6cqw; font-size: 1.8cqw; color: #6e1f2b; font-weight: 700; }
.dp-gusto .ds-menu { position: absolute; right: 4.6cqw; top: 15cqw; width: 30cqw; background: #fff; border-radius: 1.6cqw; box-shadow: 0 2cqw 4cqw rgba(60, 37, 32, .18); padding: 2.6cqw; }
.dp-gusto .ds-menu b { font-family: Georgia, "Times New Roman", serif; font-size: 2.2cqw; color: #3c2520; }
.dp-gusto .ds-menu .row { display: flex; justify-content: space-between; gap: 2cqw; margin-top: 1.8cqw; }
.dp-gusto .ds-menu .row i { flex: 1; height: 1cqw; background: #e8ddcd; border-radius: 99px; align-self: center; }
.dp-gusto .ds-menu .row s { text-decoration: none; font-size: 1.8cqw; color: #6e1f2b; font-weight: 700; }

/* ============================================================
   Scrollbare Design-Seiten in der Lightbox (dx-System)
   ============================================================ */
.dx-page {
  container-type: inline-size;
  font-family: var(--font);
  background: var(--dxbg); color: var(--dxtx);
}
.dx-serif .dx-h2, .dx-serif .dx-quote, .dx-serif .dx-line { font-family: Georgia, "Times New Roman", serif; font-weight: 600; }
.dx-mono { font-family: "SF Mono", ui-monospace, Menlo, Consolas, monospace; }

/* Farbwelten */
.dx-solara   { --dxbg: #f7fbff; --dxtx: #14213a; --dxline: #dbe6f2; --dxcard: #ffffff; --dxac: #21b573; --dxacTx: #ffffff; --dxband: #eaf4f0; }
.dx-noir     { --dxbg: #0b0908; --dxtx: #f3ece2; --dxline: rgba(255,255,255,.14); --dxcard: #171210; --dxac: #ff7a29; --dxacTx: #2b1404; --dxband: #110d0b; }
.dx-vanguard { --dxbg: #8e0c1a; --dxtx: #ffffff; --dxline: rgba(255,255,255,.3); --dxcard: #a01020; --dxac: #ffffff; --dxacTx: #8e0c1a; --dxband: #7a0a15; }
.dx-neon     { --dxbg: #160808; --dxtx: #ffe9dd; --dxline: rgba(255,159,106,.3); --dxcard: #221010; --dxac: #ff7a29; --dxacTx: #2b1404; --dxband: #1d0c0c; }
.dx-prisma   { --dxbg: #f3ede2; --dxtx: #2c2a33; --dxline: #ded5c4; --dxcard: #ffffff; --dxac: #2c2a33; --dxacTx: #f6f1e6; --dxband: #ece4d4; }
.dx-gateway  { --dxbg: #eaf5ff; --dxtx: #0d2c4d; --dxline: #cfe5fa; --dxcard: #ffffff; --dxac: #0d6ef0; --dxacTx: #ffffff; --dxband: #ddeeff; }
.dx-atelier  { --dxbg: #0a0a0c; --dxtx: #ffffff; --dxline: rgba(255,255,255,.12); --dxcard: #141418; --dxac: #ffffff; --dxacTx: #0a0a0c; --dxband: #0e0e11; }
.dx-gusto    { --dxbg: #f6efe3; --dxtx: #3c2520; --dxline: #e3d6c2; --dxcard: #ffffff; --dxac: #6e1f2b; --dxacTx: #f9efe0; --dxband: #efe6d5; }

/* Bausteine */
.dx-sec { position: relative; padding: 7cqw 6cqw; overflow: hidden; }
.dx-band { background: var(--dxband); }
.dx-h2 { font-size: 4.6cqw; font-weight: 800; line-height: 1.12; letter-spacing: -.015em; margin-bottom: 1.6cqw; }
.dx-lead { font-size: 2.1cqw; opacity: .72; max-width: 52cqw; line-height: 1.55; }
.dx-cta {
  display: inline-block; margin-top: 3cqw;
  background: var(--dxac); color: var(--dxacTx);
  padding: 1.5cqw 3.8cqw; border-radius: 99px;
  font-weight: 700; font-size: 2cqw;
}
.dx-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.6cqw; margin-top: 4.4cqw; }
.dx-grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.6cqw; margin-top: 4.4cqw; }
.dx-card { background: var(--dxcard); border: 1px solid var(--dxline); border-radius: 2cqw; padding: 3cqw; }
.dx-card b { display: block; font-size: 2.4cqw; margin-bottom: 1cqw; }
.dx-card p { font-size: 1.8cqw; opacity: .7; line-height: 1.5; }
.dx-ic { display: block; width: 5cqw; height: 5cqw; border-radius: 1.4cqw; background: var(--dxac); opacity: .92; margin-bottom: 2.2cqw; }
.dx-num { display: block; font-style: normal; font-size: 3.6cqw; font-weight: 800; opacity: .4; margin-bottom: 1.4cqw; }
.dx-stats { display: flex; gap: 7cqw; flex-wrap: wrap; }
.dx-stats b { display: block; font-size: 4.8cqw; font-weight: 800; line-height: 1.1; }
.dx-stats span { font-size: 1.8cqw; opacity: .65; }
.dx-quote { font-size: 4.4cqw; line-height: 1.3; text-align: center; max-width: 66cqw; margin: 1cqw auto 0; }
.dx-quoteby { text-align: center; font-size: 1.8cqw; opacity: .55; margin-top: 2cqw; }
.dx-split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 5cqw; align-items: center; }
.dx-glow {
  position: relative; overflow: hidden;
  height: 28cqw; border-radius: 2.4cqw;
  background:
    radial-gradient(70% 90% at 32% 100%, rgba(255, 108, 32, .9), transparent 62%),
    radial-gradient(55% 75% at 75% 95%, rgba(186, 52, 8, .75), transparent 66%),
    #140c07;
}
.dx-marq { overflow: hidden; border-block: 1px solid var(--dxline); padding: 2cqw 0; }
.dx-marq-track { display: flex; width: max-content; animation: marquee 16s linear infinite; }
.dx-marq-track span { font-size: 5cqw; font-weight: 900; letter-spacing: .04em; white-space: nowrap; opacity: .9; }
.dx-term {
  background: #190b09; border: 1px solid var(--dxline); border-radius: 1.8cqw;
  padding: 3cqw; margin-top: 3cqw; max-width: 62cqw;
  box-shadow: 0 0 4cqw rgba(255, 122, 41, .15);
}
.dx-term p { font-size: 2cqw; line-height: 1.9; color: #ffc9a3; }
.dx-term .ok { color: #7ee2a8; }
.dx-cursor { display: inline-block; margin-left: .6cqw; animation: dx-blink 1s steps(2) infinite; }
@keyframes dx-blink { 50% { opacity: 0; } }
.dx-chips { display: flex; flex-wrap: wrap; gap: 2cqw; }
.dx-chips span {
  border: 1px solid var(--dxline); color: var(--dxtx);
  font-size: 1.9cqw; padding: 1.3cqw 2.8cqw; border-radius: 99px; opacity: .9;
}
.dx-line { font-size: 7.4cqw; line-height: 1.18; letter-spacing: -.01em; }
.dx-tilesrow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.6cqw; }
.dx-tile { display: block; height: 24cqw; border-radius: 2cqw; }
.dx-t1 { background: linear-gradient(140deg, #5a3c8f, #2d8f6f 60%, #9fd96a); }
.dx-t2 { background: linear-gradient(140deg, #d96a35, #8f2d50 55%, #35256b); }
.dx-t3 { background: linear-gradient(140deg, #2d6a8f, #6a2d8f 55%, #d9b035); }
.dx-g1 { background: linear-gradient(140deg, #b4513a, #7a2e1e 60%, #3c2520); }
.dx-g2 { background: linear-gradient(140deg, #d9a035, #b4683a 55%, #6e1f2b); }
.dx-g3 { background: linear-gradient(140deg, #6b8f3c, #3c6e2e 55%, #25401c); }
.dx-app {
  margin-top: 4cqw; background: #fff; border-radius: 2cqw; overflow: hidden;
  border: 1px solid var(--dxline); box-shadow: 0 2.6cqw 6cqw rgba(13, 44, 77, .18);
  max-width: 70cqw; margin-inline: auto;
}
.dx-app-bar { display: flex; gap: .9cqw; padding: 1.6cqw 2cqw; background: #f1f7ff; border-bottom: 1px solid var(--dxline); }
.dx-app-bar i { width: 1.3cqw; height: 1.3cqw; border-radius: 50%; background: #c9ddf2; }
.dx-app-body { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 1.8cqw; padding: 2.4cqw; }
.dx-app-body span { height: 16cqw; border-radius: 1.4cqw; }
.dx-app-body .b1 { background: linear-gradient(140deg, #2f9bf0, #7cc8ff); }
.dx-app-body .b2 { background: #e8f2fd; }
.dx-app-body .b3 { background: #d8ebfc; }
.dx-pricing { align-items: stretch; }
.dx-pricing .dx-price { font-size: 4cqw; font-weight: 800; opacity: 1; margin: .6cqw 0 1cqw; }
.dx-hot { position: relative; border-color: var(--dxac); box-shadow: 0 1.6cqw 4cqw rgba(13, 110, 240, .18); transform: scale(1.03); }
.dx-badge {
  position: absolute; top: -1.6cqw; right: 2.4cqw;
  background: var(--dxac); color: var(--dxacTx);
  font-size: 1.5cqw; font-weight: 700; padding: .7cqw 2cqw; border-radius: 99px;
}
.dx-prow {
  display: flex; align-items: center; justify-content: space-between; gap: 4cqw;
  padding: 3.4cqw 0; border-bottom: 1px solid var(--dxline);
}
.dx-prow:last-of-type { border-bottom: none; }
.dx-prow b { font-size: 3cqw; font-weight: 800; display: block; }
.dx-prow p { font-size: 1.8cqw; opacity: .55; margin-top: .6cqw; }
.dx-prow .dx-num { margin-bottom: .8cqw; }
.dx-prow .dx-tile { width: 34cqw; height: 17cqw; flex: none; }
.dx-menu b { font-size: 2.6cqw; margin-bottom: 2cqw; }
.dx-menurow { display: flex; align-items: baseline; gap: 1.6cqw; margin-top: 2cqw; }
.dx-menurow span { font-size: 2cqw; white-space: nowrap; }
.dx-menurow i { flex: 1; border-bottom: 2px dotted var(--dxline); transform: translateY(-.5cqw); }
.dx-menurow s { text-decoration: none; font-size: 2cqw; font-weight: 700; color: var(--dxac); }
.dx-foot { text-align: center; padding: 9cqw 6cqw; }
.dx-foot .dx-lead { margin-inline: auto; }
.dx-foot--inv { background: var(--dxac); color: var(--dxacTx); }
.dx-foot--inv .dx-cta { background: var(--dxacTx); color: var(--dxac); }
.dx-pulse { animation: dx-pulse 2.2s ease-in-out infinite; }
@keyframes dx-pulse {
  0%, 100% { box-shadow: 0 0 0 0 var(--pulse, rgba(255, 122, 41, .45)); }
  50% { box-shadow: 0 0 0 1.6cqw transparent; }
}

/* Scroll-Animationen im Modal */
.dm-stage .dx-a {
  opacity: 0; transform: translateY(5cqw);
  transition: opacity .7s ease var(--ad, 0s), transform .75s cubic-bezier(.2,.8,.3,1) var(--ad, 0s);
}
.dm-stage .dx-a--left { transform: translateX(-6cqw); }
.dm-stage .dx-a--right { transform: translateX(6cqw); }
.dm-stage .dx-a--zoom { transform: scale(.86); }
.dm-stage .dx-a.in { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  .design-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .design-grid { grid-template-columns: 1fr; }
  .dm-panel { width: 100%; }
}

/* ============================================================
   Signature-Animationen in der Lightbox
   (laufen nur in der Großansicht, .dm-stage-Scope)
   ============================================================ */

/* — Solara: Sonne pulsiert, Solarzellen glänzen nacheinander, CTA atmet grün — */
.dm-stage .dp-solara .ds-sun { animation: dx-sun 3.2s ease-in-out infinite; }
@keyframes dx-sun {
  0%, 100% { box-shadow: 0 0 4cqw rgba(255, 177, 61, .65); transform: scale(1); }
  50% { box-shadow: 0 0 7.5cqw rgba(255, 177, 61, .95); transform: scale(1.08); }
}
.dm-stage .dp-solara .ds-cells i { animation: dx-glint 3s ease-in-out infinite; }
.dm-stage .dp-solara .ds-cells i:nth-child(2) { animation-delay: .25s; }
.dm-stage .dp-solara .ds-cells i:nth-child(3) { animation-delay: .5s; }
.dm-stage .dp-solara .ds-cells i:nth-child(4) { animation-delay: .75s; }
.dm-stage .dp-solara .ds-cells i:nth-child(5) { animation-delay: 1s; }
.dm-stage .dp-solara .ds-cells i:nth-child(6) { animation-delay: 1.25s; }
@keyframes dx-glint {
  0%, 70%, 100% { filter: brightness(1); }
  82% { filter: brightness(1.6); }
}
.dm-stage .dx-solara .dx-foot .dx-cta { --pulse: rgba(33, 181, 115, .5); animation: dx-pulse 2.4s ease-in-out infinite; }

/* — Noir: Glut atmet, Funken steigen auf — */
.dm-stage .dp-noir .ds-terrain { animation: dx-breathe 4.5s ease-in-out infinite; }
@keyframes dx-breathe { 0%, 100% { opacity: .82; } 50% { opacity: 1; } }
.dx-ember {
  position: absolute; bottom: 8%;
  width: max(.9cqw, 4px); height: max(.9cqw, 4px);
  border-radius: 50%; background: #ffb066;
  box-shadow: 0 0 1cqw rgba(255, 150, 70, .9);
  opacity: 0; pointer-events: none;
}
.dm-stage .dx-ember { animation: dx-ember 5.5s linear infinite; }
.dm-stage .dx-ember:nth-child(1) { left: 16%; animation-delay: .3s; }
.dm-stage .dx-ember:nth-child(2) { left: 38%; animation-delay: 2.1s; }
.dm-stage .dx-ember:nth-child(3) { left: 60%; animation-delay: 3.4s; }
.dm-stage .dx-ember:nth-child(4) { left: 81%; animation-delay: 1.2s; }
@keyframes dx-ember {
  0% { transform: translate(0, 0) scale(1); opacity: 0; }
  10% { opacity: .95; }
  100% { transform: translate(2.4cqw, -24cqw) scale(.35); opacity: 0; }
}

/* — Vanguard: Glitch-Burst auf der Headline alle 5 Sekunden — */
.dm-stage .dp-vanguard .ds-h { animation: dx-glitch 5s steps(1, end) infinite; }
@keyframes dx-glitch {
  0%, 91%, 100% { text-shadow: none; transform: none; }
  92% { text-shadow: .55cqw 0 #46d6b4, -.55cqw 0 #ff3355; transform: translateX(-.45cqw) skewX(-2deg); }
  94% { text-shadow: -.65cqw 0 #46d6b4, .65cqw 0 #ff3355; transform: translateX(.55cqw); }
  96% { text-shadow: .3cqw 0 #46d6b4, -.3cqw 0 #ff3355; transform: none; }
  97% { text-shadow: none; }
}

/* — Neon: Terminal tippt sich selbst, sobald es ins Bild scrollt — */
@media (prefers-reduced-motion: no-preference) {
  html:not(.fx-off) .dm-stage .dx-term p { width: 0; overflow: hidden; white-space: nowrap; }
  html:not(.fx-off) .dm-stage .dx-term.in p { animation: dx-type 1s steps(28, end) forwards; }
  html:not(.fx-off) .dm-stage .dx-term.in p:nth-child(2) { animation-delay: 1.1s; }
  html:not(.fx-off) .dm-stage .dx-term.in p:nth-child(3) { animation-delay: 2.2s; }
}
@keyframes dx-type { to { width: 100%; } }

/* — Prisma: Himmel wandert, Wolken driften, Stern dreht sich — */
.dm-stage .dp-prisma { background-size: 100% 230%; animation: dx-sky 16s ease-in-out infinite alternate; }
@keyframes dx-sky { from { background-position: 50% 0%; } to { background-position: 50% 65%; } }
.dm-stage .dp-prisma::before { animation: dx-cloud 19s ease-in-out infinite alternate; }
.dm-stage .dp-prisma::after { animation: dx-cloud 26s ease-in-out infinite alternate-reverse; }
@keyframes dx-cloud { from { transform: translateX(-4cqw); } to { transform: translateX(5cqw); } }
.dm-stage .dp-prisma .ds-h sup { display: inline-block; animation: dx-spin 14s linear infinite; }
@keyframes dx-spin { to { transform: rotate(360deg); } }

/* — Gateway: Karten schweben versetzt, App-Fenster schimmert — */
.dm-stage .dp-gateway .ds-cards i { animation: dx-bob 3.6s ease-in-out infinite alternate; }
.dm-stage .dp-gateway .ds-cards i:nth-child(2) { animation-delay: .3s; }
.dm-stage .dp-gateway .ds-cards i:nth-child(3) { animation-delay: .6s; }
.dm-stage .dp-gateway .ds-cards i:nth-child(4) { animation-delay: .9s; }
.dm-stage .dp-gateway .ds-cards i:nth-child(5) { animation-delay: 1.2s; }
@keyframes dx-bob { from { translate: 0 0; } to { translate: 0 -1.8cqw; } }
.dm-stage .dx-app-body .b1 { background: linear-gradient(120deg, #2f9bf0, #7cc8ff, #2f9bf0); background-size: 220% 100%; animation: dx-pan 5s ease-in-out infinite alternate; }
.dm-stage .dx-app-body .b2,
.dm-stage .dx-app-body .b3 { background: linear-gradient(110deg, #e2eefb 35%, #f7fbff 50%, #e2eefb 65%); background-size: 240% 100%; animation: dx-pan 2.8s linear infinite; }
.dm-stage .dx-app-body .b3 { animation-delay: .5s; }
@keyframes dx-pan { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }

/* — Ken-Burns-Zoom auf allen Galerie-Kacheln (Prisma, Atelier, Gusto) — */
.dm-stage .dx-tile { background-size: 165% 165%; animation: dx-ken 9s ease-in-out infinite alternate; }
.dm-stage .dx-tilesrow .dx-tile:nth-child(2) { animation-delay: 1.4s; }
.dm-stage .dx-tilesrow .dx-tile:nth-child(3) { animation-delay: 2.8s; }
@keyframes dx-ken { from { background-position: 0% 0%; } to { background-position: 100% 100%; } }

/* — Atelier: Ghost-Schriftzug driftet — */
.dm-stage .dp-atelier .ds-ghost { animation: dx-drift 12s ease-in-out infinite alternate; }
@keyframes dx-drift { from { transform: translateX(-2.5cqw); } to { transform: translateX(2.5cqw); } }

/* — Gusto: Menükarte schwebt sanft, Bewertung funkelt — */
.dm-stage .dp-gusto .ds-menu { animation: floaty 5.5s ease-in-out infinite alternate; }
.dm-stage .dp-gusto .ds-badge { animation: dx-twinkle 2.8s ease-in-out infinite; }
@keyframes dx-twinkle { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }

/* ============================================================
   Mobile-Optimierung
   Lesbarkeits-Untergrenzen: max(cqw, px) hält Texte in den
   Mini-Websites auch auf schmalen Screens lesbar — auf dem
   Desktop greift weiterhin der cqw-Wert.
   ============================================================ */

/* — Vorher/Nachher-Slider: moderne Mini-Seite — */
.mn-eyebrow { font-size: max(1.15cqw, 7px); }
.mn-title { font-size: max(4.6cqw, 15px); }
.mn-sub { font-size: max(1.65cqw, 9px); }
.mn-logo { font-size: max(1.7cqw, 9px); }
.mn-nav { font-size: max(1.5cqw, 8px); }
.mn-btn-primary, .mn-btn-ghost { font-size: max(1.5cqw, 8.5px); }
.mn-chart p { font-size: max(1.3cqw, 8px); }
.mn-quote p { font-size: max(1.55cqw, 9px); }
.mn-person { font-size: max(1.25cqw, 7.5px); }
.mn-pills span { font-size: max(1.35cqw, 8px); }

/* — Vorher/Nachher-Slider: alte Mini-Seite — */
.mo-header { font-size: max(2.1cqw, 11px); }
.mo-nav { font-size: max(1.5cqw, 8.5px); }
.mo-title { font-size: max(3.1cqw, 14px); }
.mo-text { font-size: max(1.7cqw, 9.5px); }
.mo-blink { font-size: max(1.5cqw, 8.5px); }
.mo-box { font-size: max(1.6cqw, 9px); }
.mo-btn { font-size: max(1.7cqw, 9.5px); }
.mo-footer { font-size: max(1.25cqw, 7px); }

/* — Scrollbare dx-Seiten in der Lightbox — */
.dx-sec { padding: max(7cqw, 30px) max(6cqw, 18px); }
.dx-foot { padding: max(9cqw, 42px) max(6cqw, 18px); }
.dx-h2 { font-size: max(4.6cqw, 20px); }
.dx-lead { font-size: max(2.1cqw, 13px); }
.dx-cta { font-size: max(2cqw, 13px); padding: max(1.5cqw, 9px) max(3.8cqw, 20px); }
.dx-card { padding: max(3cqw, 14px); border-radius: max(2cqw, 12px); }
.dx-card b { font-size: max(2.4cqw, 15px); }
.dx-card p { font-size: max(1.8cqw, 12px); }
.dx-ic { width: max(5cqw, 26px); height: max(5cqw, 26px); }
.dx-num { font-size: max(3.6cqw, 18px); }
.dx-stats { gap: max(7cqw, 26px); }
.dx-stats b { font-size: max(4.8cqw, 22px); }
.dx-stats span { font-size: max(1.8cqw, 12px); }
.dx-quote { font-size: max(4.4cqw, 19px); }
.dx-quoteby { font-size: max(1.8cqw, 12px); }
.dx-marq-track span { font-size: max(5cqw, 22px); }
.dx-term { padding: max(3cqw, 14px); }
.dx-term p { font-size: max(2cqw, 12px); }
.dx-chips { gap: max(2cqw, 10px); }
.dx-chips span { font-size: max(1.9cqw, 12px); padding: max(1.3cqw, 7px) max(2.8cqw, 14px); }
.dx-line { font-size: max(7.4cqw, 30px); }
.dx-tile { height: max(24cqw, 110px); }
.dx-glow { height: max(28cqw, 150px); }
.dx-app-body span { height: max(16cqw, 80px); }
.dx-pricing .dx-price { font-size: max(4cqw, 22px); }
.dx-badge { font-size: max(1.5cqw, 11px); padding: max(.7cqw, 4px) max(2cqw, 10px); top: min(-1.6cqw, -9px); }
.dx-prow b { font-size: max(3cqw, 16px); }
.dx-prow p { font-size: max(1.8cqw, 12px); }
.dx-prow .dx-tile { height: max(17cqw, 80px); }
.dx-menu b { font-size: max(2.6cqw, 15px); }
.dx-menurow span, .dx-menurow s { font-size: max(2cqw, 13px); }

/* Schmale Lightbox (Handy): Raster einspaltig, volle Breite nutzen */
@container (max-width: 640px) {
  .dx-grid3, .dx-grid2 { grid-template-columns: 1fr; }
  .dx-split { grid-template-columns: 1fr; }
  .dx-lead, .dx-quote { max-width: 100%; }
  .dx-term, .dx-app { max-width: 100%; }
  .dx-hot { transform: none; }
  .dx-prow { gap: 14px; }
  .dx-prow .dx-tile { width: 42cqw; }
}

/* — Allgemeine Mobile-Feinheiten — */
html { -webkit-text-size-adjust: 100%; }
a, button, .d-card { -webkit-tap-highlight-color: transparent; }

@media (max-width: 560px) {
  #design-modal { padding: 10px; }
  .dm-caption { padding: 11px 14px; }
  .dm-hint { bottom: 56px; font-size: 12px; }
  .dm-close { top: 8px; right: 8px; }
  .legal .data-table td { display: block; width: 100%; }
  .legal .data-table td:first-child { padding-bottom: 2px; border-bottom: none; }
}

/* ============================================================
   ?fx=off — Effekte aus (Debug / Screenshots)
   ============================================================ */
.fx-off *, .fx-off *::before, .fx-off *::after {
  transition: none !important;
  animation: none !important;
}
.fx-off #intro { display: none; }
.fx-off [data-reveal] { opacity: 1; transform: none; }
.fx-off .hero { min-height: 900px; }

/* ============================================================
   Reduzierte Bewegung
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
  #intro { display: none; }
  [data-reveal] { opacity: 1; transform: none; }
  #cursor-glow { display: none; }
}
