/* Seite "Webseiten": Showpiece mit Aurora-Hero, 3D-Mockup, Scroll-Story und Live-Konfigurator.
   Nur für webseiten.html (wird per "css:" im Seitenkopf geladen). Alles unter .wx, damit nichts auf andere Seiten wirkt. */
.wx { --g: #22c55e; --g2: #16a34a; --mint: #86efac; --deep: #04140a; --pad: clamp(52px, 6.4vw, 92px);
  background: #fafaf7; color: #0f1511; overflow-x: clip; }
.wx *, .wx *::before, .wx *::after { box-sizing: border-box; }
.wx-wrap { width: min(1240px, 100% - 48px); margin: 0 auto; position: relative; }

/* ---------- Animationen ---------- */
@keyframes wxSlideLeft {
  from { opacity: 0; transform: translateX(clamp(-80px, -7vw, -40px)); }
  to { opacity: 1; transform: none; }
}
@keyframes wxSlideRight {
  from { opacity: 0; transform: translateX(clamp(40px, 7vw, 80px)); }
  to { opacity: 1; transform: none; }
}
@keyframes wxDrift { to { transform: translate3d(8vw, 6vw, 0) scale(1.18); } }
@keyframes wxGrid { to { background-position: 0 64px; } }
@keyframes wxShine { to { background-position: 250% 0; } }
@keyframes wxUp { to { transform: none; } }
@keyframes wxFade { from { opacity: 0; translate: 0 18px; } to { opacity: 1; translate: none; } }
@keyframes wxPulse { 0% { box-shadow: 0 0 0 0 rgba(74,222,128,.7); } 100% { box-shadow: 0 0 0 12px rgba(74,222,128,0); } }
@keyframes wxF1 { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
@keyframes wxF2 { 0%, 100% { translate: 0 0; } 50% { translate: 0 10px; } }
@keyframes wxF3 { 0%, 100% { translate: 0 0; rotate: -3deg; } 50% { translate: 6px -8px; rotate: 3deg; } }
@keyframes wxRise { from { transform: translateY(0); opacity: 0; } 15% { opacity: 1; } to { transform: translateY(-110vh); opacity: 0; } }
@keyframes wxScrollDot { 0% { translate: 0 0; opacity: 0; } 30% { opacity: 1; } 100% { translate: 0 14px; opacity: 0; } }
@keyframes wxShimmer { to { background-position: -200% 0; } }
@keyframes msBlob { to { border-radius: 60% 40% 45% 55% / 45% 60% 40% 55%; transform: rotate(8deg) scale(1.06); } }
@keyframes msScroll { 0%, 14% { transform: translateY(0); } 86%, 100% { transform: translateY(calc(var(--over, 0px) * -1)); } }
@keyframes wxBorder { to { --a: 360deg; } }

/* ---------- Hero ---------- */
.wx-hero { position: relative; isolation: isolate; overflow: hidden; min-height: 100svh; display: grid; align-items: center; color: #f4fff8;
  padding: calc(var(--nav-h) + 24px) 0 clamp(40px, 5vh, 60px); --mx: 62%; --my: 28%;
  background: radial-gradient(120% 90% at 18% 0, #0b3d1e 0, #04140a 58%); }
.wx-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(540px circle at var(--mx) var(--my), rgba(74,222,128,.17), transparent 62%); }
.wx-aurora { position: absolute; inset: 0; z-index: -2; pointer-events: none; overflow: hidden; }
.wx-aurora i { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .5; mix-blend-mode: screen; animation: wxDrift 18s ease-in-out infinite alternate; }
.wx-aurora i:nth-child(1) { width: 46vw; height: 46vw; left: -12vw; top: -14vw; background: #16a34a; }
.wx-aurora i:nth-child(2) { width: 38vw; height: 38vw; right: -8vw; top: 8vw; background: #0d9488; animation-duration: 23s; animation-direction: alternate-reverse; }
.wx-aurora i:nth-child(3) { width: 30vw; height: 30vw; left: 34vw; bottom: -16vw; background: #65a30d; opacity: .32; animation-duration: 27s; }
.wx-floor { position: absolute; left: -25%; right: -25%; bottom: -6%; height: 50%; z-index: -1; pointer-events: none;
  transform: perspective(620px) rotateX(64deg); transform-origin: 50% 100%;
  background-image: linear-gradient(rgba(74,222,128,.34) 1px, transparent 1px), linear-gradient(90deg, rgba(74,222,128,.34) 1px, transparent 1px);
  background-size: 64px 64px; animation: wxGrid 3.4s linear infinite;
  -webkit-mask-image: linear-gradient(to top, #000 8%, transparent 82%); mask-image: linear-gradient(to top, #000 8%, transparent 82%); }
.wx-dots { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.wx-dots span { position: absolute; bottom: -10px; border-radius: 50%; background: #86efac; opacity: 0; animation: wxRise var(--t, 14s) linear var(--dl, 0s) infinite; }
.wx-hero-in { width: min(1320px, 100% - 48px); margin: 0 auto; display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(28px, 4vw, 72px); align-items: center; }
.wx-kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: 8px 16px 8px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; letter-spacing: .02em; color: #bbf7d0;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); animation: wxFade .8s .1s both; }
.wx-pulse { width: 9px; height: 9px; border-radius: 50%; background: #4ade80; animation: wxPulse 1.8s ease-out infinite; }
.wx-title { margin: 0; font-size: clamp(2.3rem, 4.5vw, 4.4rem); line-height: 1.02; letter-spacing: -.045em; font-weight: 800; }
.wx-line { display: block; overflow: visible; padding-bottom: .05em; margin-bottom: -.05em; }
.wx-line:nth-child(1) > span { display: inline-block; animation: wxSlideLeft .9s cubic-bezier(.16, 1, .3, 1) .05s both; }
.wx-line:nth-child(2) > span { display: inline-block; animation: wxSlideRight .9s cubic-bezier(.16, 1, .3, 1) .15s both; }
.wx-grad { background: linear-gradient(90deg, #86efac, #22c55e, #a3e635, #4ade80, #86efac); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; animation: wxShine 7s linear infinite; }
.wx-lead { margin: 18px 0 0; max-width: 33em; font-size: clamp(1.02rem, 1.4vw, 1.22rem); line-height: 1.6; color: rgba(229,255,238,.8); animation: wxSlideLeft .9s cubic-bezier(.16, 1, .3, 1) .25s both; }
.wx-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; animation: wxSlideLeft .9s cubic-bezier(.16, 1, .3, 1) .35s both; }
.wx-cta-c { justify-content: center; animation: none; }
.wx-hint { margin: 22px 0 0; font-size: 13px; color: rgba(229,255,238,.5); animation: wxFade .9s 1.2s both; }
@media (hover: none) { .wx-hint { display: none; } }

/* Buttons */
.wx-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 28px; border-radius: 999px; font: 700 16px/1 inherit; font-family: inherit; text-decoration: none; cursor: pointer; border: 0; overflow: hidden; isolation: isolate; transition: box-shadow .3s, background .3s, translate .15s; will-change: transform; }
.wx-btn-main { color: #04140a; background: linear-gradient(135deg, #4ade80, #22c55e 55%, #16a34a); box-shadow: 0 14px 34px -10px rgba(34,197,94,.7), inset 0 1px 0 rgba(255,255,255,.5); }
.wx-btn-main::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s; }
.wx-btn-main:hover::before { transform: translateX(120%); }
.wx-btn-main:hover { box-shadow: 0 20px 44px -10px rgba(34,197,94,.9), inset 0 1px 0 rgba(255,255,255,.6); }
.wx-btn-ghost { color: #f4fff8; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.22); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.wx-btn-ghost:hover { background: rgba(255,255,255,.16); }
.wx-btn-xl { padding: 20px 36px; font-size: 18px; }
.wx-btn:focus-visible, .wx-pill:focus-visible, .wx-swb:focus-visible, .wx-seg button:focus-visible, .wx-switch:focus-visible { outline: 3px solid #bbf7d0; outline-offset: 3px; }

/* Scroll-Hinweis */
.wx-scroll { position: absolute; left: 50%; bottom: 22px; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(255,255,255,.35); border-radius: 14px; }
.wx-scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #86efac; animation: wxScrollDot 1.8s ease-in-out infinite; }

/* ---------- Bühne: 3D-Mockup ---------- */
.wx-stage { position: relative; perspective: 1500px; min-width: 0; padding: 4% 4% 12% 2%; animation: wxSlideRight 1s cubic-bezier(.16, 1, .3, 1) .15s both; }
.wx-tilt { position: relative; transform-style: preserve-3d; transform: rotateY(var(--ry, -14deg)) rotateX(var(--rx, 7deg)); transition: transform .25s ease-out; will-change: transform; }
.wx-device { position: relative; width: var(--dw, 100%); margin: 0 auto; border-radius: 16px; background: #0b1220; overflow: hidden;
  box-shadow: 0 50px 90px -34px rgba(0,0,0,.75), 0 0 0 1px rgba(255,255,255,.12), inset 0 1px 0 rgba(255,255,255,.12);
  transition: width .7s cubic-bezier(.2, .8, .2, 1), border-radius .7s, border-width .7s; }
.wx-bar { display: flex; align-items: center; gap: 7px; height: 30px; padding: 0 14px; background: #131c2e; transition: height .5s, opacity .5s, padding .5s; }
.wx-bar i { width: 9px; height: 9px; border-radius: 50%; background: #ef4444; flex: none; }
.wx-bar i:nth-child(2) { background: #facc15; } .wx-bar i:nth-child(3) { background: #22c55e; }
.wx-url { flex: 0 1 62%; margin: 0 auto; padding: 4px 12px; border-radius: 99px; background: rgba(255,255,255,.07); color: #9fb3a6; font-size: 11px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wx-screen { position: relative; aspect-ratio: 16 / 10.2; background: #fff; overflow: hidden; transition: aspect-ratio .7s cubic-bezier(.2, .8, .2, 1); }
.wx-device[data-dev="tab"] { --dw: 74%; }
.wx-device[data-dev="tab"] .wx-screen { aspect-ratio: 4 / 3.4; }
.wx-device[data-dev="phone"] { --dw: min(36%, 260px); border-radius: 34px; border: 7px solid #0b1220; }
.wx-device[data-dev="phone"] .wx-bar { height: 0; padding: 0; opacity: 0; overflow: hidden; }
.wx-device[data-dev="phone"] .wx-screen { aspect-ratio: 9 / 18.4; border-radius: 26px; }
.wx-phone { position: absolute; right: -3%; bottom: -9%; --dw: 25%; margin: 0; transform: translateZ(90px) rotate(4deg); border: 6px solid #0b1220; border-radius: 28px; }
.wx-phone .wx-screen { aspect-ratio: 9 / 18.4; border-radius: 22px; }
.wx-chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 16px; font-weight: 800; color: #fff;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 16px 36px -14px rgba(0,0,0,.6); }
.wx-chip b { font: 800 20px/1 ui-monospace, Consolas, monospace; color: #4ade80; }
.wx-c1 { left: -5%; top: 6%; transform: translateZ(110px) rotate(-6deg); }
.wx-c2 { right: 0; top: -2%; transform: translateZ(70px) rotate(5deg); } .wx-c2 b { font-family: Georgia, serif; color: #fff; }
.wx-c3 { left: 2%; bottom: 2%; transform: translateZ(100px); gap: 6px; }
.wx-c3 span { width: 20px; height: 20px; border-radius: 50%; border: 2px solid rgba(255,255,255,.85); }
.wx-sw1 { background: #22c55e; } .wx-sw2 { background: #facc15; } .wx-sw3 { background: #38bdf8; }
.wx-c4 { right: 24%; bottom: -5%; transform: translateZ(120px); font-size: 12.5px; letter-spacing: .1em; background: rgba(34,197,94,.9); color: #04140a; border-color: rgba(255,255,255,.5); }
.wx-live { width: 9px; height: 9px; border-radius: 50%; background: #fff; animation: wxPulse 1.6s ease-out infinite; }
.wx-float1 { animation: wxF1 5.5s ease-in-out infinite; } .wx-float2 { animation: wxF2 6.5s ease-in-out infinite; } .wx-float3 { animation: wxF3 7.5s ease-in-out infinite; }

/* ---------- Die Beispiel-Webseite (wird per JS befüllt) ---------- */
.wx-site { --acc: #22c55e; --bg: #fff; --fg: #0f172a; --mut: #64748b; --card: #f1f5f9; --r: 10px; --ff: system-ui, sans-serif; --hf: system-ui, sans-serif;
  position: absolute; inset: 0; container-type: inline-size; background: var(--bg); color: var(--fg); font-family: var(--ff); overflow: hidden; transition: background .5s, color .5s, filter .8s, opacity .8s; }
.wx-site[data-dark="1"] { --bg: #0e1726; --fg: #f1f5f9; --mut: #94a3b8; --card: #1b2840; }
.wx-site[data-style="soft"] { --r: 22px; --ff: "Trebuchet MS", system-ui, sans-serif; --hf: "Trebuchet MS", system-ui, sans-serif; }
.wx-site[data-style="serif"] { --r: 3px; --hf: Georgia, "Times New Roman", serif; }
.ms { font-size: clamp(6.5px, 2.15cqw, 17px); will-change: transform; }
.ms { animation: msScroll var(--sd, 11s) ease-in-out 1.2s infinite alternate; }
.ms-nav { display: flex; align-items: center; justify-content: space-between; padding: 1.1em 1.7em; }
.ms-logo { display: flex; align-items: center; gap: .55em; font-weight: 800; font-size: 1.12em; font-family: var(--hf); }
.ms-logo i { width: 1.45em; height: 1.45em; border-radius: calc(var(--r) * .55); background: var(--acc); transition: background .5s; }
.ms-links { display: flex; gap: .9em; } .ms-links u { display: block; width: 3.4em; height: .5em; border-radius: 1em; background: var(--mut); opacity: .35; }
.ms-btn { display: inline-block; background: var(--acc); color: #fff; padding: .72em 1.25em; border-radius: var(--r); font-weight: 700; font-size: .95em; white-space: nowrap; transition: background .5s, border-radius .5s; }
.ms-ghost { display: inline-block; padding: .7em 1.2em; border-radius: var(--r); font-weight: 600; font-size: .95em; color: var(--fg); border: 1.5px solid color-mix(in srgb, var(--mut) 45%, transparent); }
.ms-hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 1.6em; padding: 1.5em 1.7em 1.8em; align-items: center; }
.ms-copy small { display: block; color: var(--acc); font-weight: 800; letter-spacing: .09em; text-transform: uppercase; font-size: .78em; transition: color .5s; }
.ms-copy h4 { margin: .35em 0 .45em; font-family: var(--hf); font-size: 2.7em; line-height: 1.04; letter-spacing: -.03em; }
.ms-copy p { margin: 0 0 1.1em; color: var(--mut); font-size: 1.02em; line-height: 1.5; }
.ms-row { display: flex; flex-wrap: wrap; gap: .7em; }
.ms-art { position: relative; aspect-ratio: 1 / .92; }
.ms-blob { position: absolute; inset: 6%; border-radius: 42% 58% 55% 45% / 50% 42% 58% 50%; background: linear-gradient(140deg, var(--acc), color-mix(in srgb, var(--acc) 35%, #fff)); animation: msBlob 7s ease-in-out infinite alternate; transition: background .5s; }
.ms-card { position: absolute; display: grid; gap: .45em; padding: .8em 1em; border-radius: var(--r); background: var(--bg); box-shadow: 0 .7em 1.8em -.6em rgba(0, 0, 0, .4); }
.ms-card i { display: block; height: .5em; border-radius: 1em; background: var(--mut); opacity: .35; } .ms-card i:first-child { width: 5em; background: var(--acc); opacity: 1; } .ms-card i:last-child { width: 3.4em; }
.ms-c1 { top: 2%; right: 0; } .ms-c2 { bottom: 8%; left: -2%; }
.ms-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1em; padding: 0 1.7em 1.8em; }
.ms-cards div { background: var(--card); border-radius: var(--r); padding: 1em; display: grid; gap: .55em; transition: background .5s; }
.ms-cards i { width: 1.9em; height: 1.9em; border-radius: calc(var(--r) * .6); background: color-mix(in srgb, var(--acc) 22%, transparent); position: relative; }
.ms-cards i::after { content: ''; position: absolute; inset: 32%; border-radius: 50%; background: var(--acc); }
.ms-cards b { font-size: 1.02em; font-family: var(--hf); } .ms-cards span { display: block; height: .45em; border-radius: 1em; background: var(--mut); opacity: .3; } .ms-cards span + span { width: 70%; }
.ms-foot { padding: 1em 1.7em; font-size: .82em; color: var(--mut); border-top: 1px solid color-mix(in srgb, var(--mut) 25%, transparent); display: flex; gap: 1.2em; }
@container (max-width: 520px) {
  .ms { font-size: clamp(7px, 4.3cqw, 16px); }
  .ms-hero { grid-template-columns: 1fr; gap: 1.1em; } .ms-copy h4 { font-size: 2.4em; } .ms-links { display: none; }
  .ms-art { aspect-ratio: 1 / .62; } .ms-cards { grid-template-columns: 1fr; } .ms-nav { padding: 1em 1.3em; } .ms-hero, .ms-cards { padding-left: 1.3em; padding-right: 1.3em; }
}

/* ---------- Gemeinsame Abschnitte ---------- */
.wx-sec { position: relative; padding: var(--pad) 0; }
.wx-light { background: #fafaf7; } .wx-light2 { background: linear-gradient(180deg, #fafaf7, #ecfdf3 70%, #fafaf7); }
.wx-dark { background: #04140a; color: #f4fff8; margin: 0 clamp(0px, 1.4vw, 20px); border-radius: clamp(28px, 4vw, 56px); overflow: hidden; isolation: isolate; }
.wx-dark2 { background: radial-gradient(90% 80% at 50% 0, #0b3d1e, #04140a 70%); }
.wx-aurora2 i:nth-child(1) { width: 40vw; height: 40vw; left: -10vw; top: -10vw; background: #16a34a; opacity: .4; } .wx-aurora2 i:nth-child(2) { width: 34vw; height: 34vw; right: -8vw; bottom: -10vw; background: #0d9488; opacity: .35; }
.wx-head { text-align: center; margin: 0 auto clamp(28px, 3.6vw, 48px); max-width: 44rem; }
.wx-eyebrow { margin: 0 0 14px; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #16a34a; }
.wx-dark .wx-eyebrow, .wx-final .wx-eyebrow { color: #86efac; }
.wx-h2 { margin: 0; font-size: clamp(1.9rem, 3.8vw, 3.2rem); line-height: 1.04; letter-spacing: -.04em; font-weight: 800; }
.wx-big { font-size: clamp(2.6rem, 7vw, 6rem); }
.wx-sub { margin: 14px auto 0; max-width: 36em; font-size: clamp(1rem, 1.3vw, 1.18rem); line-height: 1.6; color: #475569; }
.wx-dark .wx-sub, .wx-final .wx-sub { color: rgba(229,255,238,.75); }
.wx-light .wx-grad, .wx-light2 .wx-grad { background-image: linear-gradient(90deg, #16a34a, #22c55e, #65a30d, #16a34a); }
.wx-head[data-r], .wx-head [data-r] { opacity: 1; }

/* ---------- Scroll-Story ---------- */
.wx-story { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.wx-stickybox { position: sticky; top: clamp(86px, 15vh, 130px); }
.wx-story .wx-device { border-radius: 18px; }
.wx-story .wx-site { filter: grayscale(1) contrast(.95); opacity: 0; }
.wx-story[data-phase="2"] .wx-site { opacity: 1; filter: grayscale(.92) contrast(.96); }
.wx-story[data-phase="3"] .wx-site { opacity: 1; filter: none; }
.wx-skel { position: absolute; inset: 0; background: #eef2f6; transition: opacity .7s; }
.wx-skel b { position: absolute; border-radius: 10px; background: linear-gradient(100deg, #dfe6ee 30%, #f7f9fb 50%, #dfe6ee 70%); background-size: 200% 100%; animation: wxShimmer 1.6s linear infinite; }
.wx-skel b:nth-child(1) { left: 6%; top: 7%; width: 20%; height: 6%; } .wx-skel b:nth-child(2) { right: 6%; top: 7%; width: 14%; height: 6%; }
.wx-skel b:nth-child(3) { left: 6%; top: 26%; width: 46%; height: 11%; } .wx-skel b:nth-child(4) { left: 6%; top: 42%; width: 36%; height: 5%; }
.wx-skel b:nth-child(5) { right: 6%; top: 24%; width: 34%; height: 38%; border-radius: 40%; } .wx-skel b:nth-child(6) { left: 6%; right: 6%; bottom: 8%; height: 22%; }
.wx-story:not([data-phase="1"]) .wx-skel { opacity: 0; pointer-events: none; }
.wx-online { position: absolute; right: 4%; top: 5%; display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; font: 800 12px/1 inherit; letter-spacing: .12em; background: #22c55e; color: #04140a; box-shadow: 0 12px 28px -8px rgba(34,197,94,.8); opacity: 0; scale: .6; transition: opacity .5s, scale .5s cubic-bezier(.3, 1.6, .5, 1); }
.wx-online .wx-live { background: #04140a; }
.wx-story[data-phase="3"] .wx-online { opacity: 1; scale: 1; }
.wx-confetti { position: absolute; inset: -12% -6%; width: 112%; height: 124%; pointer-events: none; }
.wx-dotsnav { position: absolute; left: -26px; top: 50%; translate: 0 -50%; margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.wx-dotsnav li { width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1; transition: background .3s, scale .3s; }
.wx-story[data-phase="1"] li[data-i="1"], .wx-story[data-phase="2"] li[data-i="2"], .wx-story[data-phase="3"] li[data-i="3"] { background: #22c55e; scale: 1.5; }
.wx-steps { display: grid; }
.wx-step { min-height: min(76svh, 560px); display: flex; flex-direction: column; justify-content: center; gap: 12px; opacity: .3; translate: 14px 0; transition: opacity .5s, translate .5s var(--ease, ease); }
.wx-step.on { opacity: 1; translate: none; }
.wx-num { font-size: clamp(3.4rem, 7vw, 6rem); font-weight: 800; line-height: .9; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 2px #22c55e; }
.wx-step h3 { margin: 0; font-size: clamp(1.6rem, 2.6vw, 2.3rem); letter-spacing: -.03em; }
.wx-step p { margin: 0; max-width: 30em; font-size: 1.06rem; line-height: 1.65; color: #475569; }
.wx-step ul { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 8px; }
.wx-step li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15.5px; }
.wx-step li::before { content: ''; flex: none; width: 20px; height: 20px; border-radius: 50%; background: #22c55e url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10l2.5 2.5L14 7' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }

/* ---------- Konfigurator ---------- */
.wx-conf { display: grid; grid-template-columns: minmax(300px, .42fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: center; }
.wx-panel { display: grid; gap: 14px; padding: clamp(18px, 2vw, 26px); border-radius: 28px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: 0 30px 70px -40px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.12); }
.wx-ctl { display: grid; gap: 10px; } .wx-ctl-row { grid-auto-flow: column; justify-content: space-between; align-items: center; }
.wx-lab { font-size: 11.5px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; color: #86efac; }
.wx-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.wx-pill { padding: 10px 16px; border-radius: 999px; font: 700 14px/1 inherit; font-family: inherit; color: #e5fff0; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); cursor: pointer; transition: background .25s, color .25s, border-color .25s, translate .15s; }
.wx-pill:hover { background: rgba(255,255,255,.14); translate: 0 -2px; }
.wx-pill.on { background: #22c55e; color: #04140a; border-color: #86efac; }
.wx-swatches { display: flex; flex-wrap: wrap; gap: 12px; }
.wx-swb { width: 34px; height: 34px; border-radius: 50%; border: 3px solid transparent; background: var(--c); cursor: pointer; box-shadow: inset 0 0 0 2px rgba(255,255,255,.25); transition: scale .2s, box-shadow .2s, border-color .2s; }
.wx-swb:hover { scale: 1.12; } .wx-swb.on { border-color: #fff; box-shadow: 0 0 0 3px var(--c), 0 10px 24px -6px var(--c); }
.wx-switch { position: relative; width: 52px; height: 30px; border-radius: 99px; border: 0; background: rgba(255,255,255,.18); cursor: pointer; transition: background .3s; }
.wx-switch i { position: absolute; left: 3px; top: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; transition: translate .3s cubic-bezier(.3, 1.4, .5, 1); }
.wx-switch[aria-checked="true"] { background: #22c55e; } .wx-switch[aria-checked="true"] i { translate: 22px 0; }
.wx-seg { display: grid; grid-template-columns: repeat(3, 1fr); padding: 4px; border-radius: 14px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); }
.wx-seg button { padding: 10px 6px; border: 0; border-radius: 10px; background: transparent; color: #e5fff0; font: 700 13.5px/1 inherit; font-family: inherit; cursor: pointer; transition: background .25s, color .25s; }
.wx-seg button.on { background: #22c55e; color: #04140a; }
.wx-actions { display: grid; gap: 10px; margin-top: 4px; } .wx-actions .wx-btn { width: 100%; padding: 14px 20px; font-size: 15px; }
.wx-conf-stage { position: relative; display: grid; place-items: center; min-height: min(50svh, 440px); padding: 8px; }
.wx-conf-stage .wx-device { margin: 0 auto; box-shadow: 0 50px 90px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.14), 0 0 80px -10px color-mix(in srgb, var(--glow, #22c55e) 55%, transparent); }
.wx-conf-stage .wx-device[data-dev="phone"] { --dw: min(34%, 250px); }

/* ---------- Karten (Spotlight) ---------- */
.wx-bento, .wx-ex { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.wx-card { --px: 50%; --py: 50%; position: relative; display: grid; align-content: start; gap: 10px; padding: 24px 26px; border-radius: 26px; background: #fff; color: #0f1511; text-decoration: none; overflow: hidden; isolation: isolate;
  border: 1px solid rgba(15,21,17,.08); box-shadow: 0 24px 50px -36px rgba(11,90,41,.45); transition: box-shadow .35s, border-color .35s, transform .25s ease-out; will-change: transform; }
.wx-card::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .35s; background: radial-gradient(380px circle at var(--px) var(--py), rgba(34,197,94,.2), transparent 62%); }
.wx-card:hover::before { opacity: 1; } .wx-card:hover { border-color: rgba(34,197,94,.5); box-shadow: 0 34px 64px -34px rgba(11,90,41,.6); }
.wx-card h3 { margin: 6px 0 0; font-size: 1.28rem; letter-spacing: -.02em; } .wx-card p { margin: 0; color: #475569; line-height: 1.55; font-size: 15.5px; }
.wx-ico { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; color: #16a34a; background: rgba(34,197,94,.14); transition: background .3s, color .3s, rotate .4s cubic-bezier(.3, 1.6, .5, 1); }
.wx-card:hover .wx-ico { background: #22c55e; color: #fff; rotate: -8deg; }
.wx-card-d { background: rgba(255,255,255,.05); color: #f4fff8; border-color: rgba(255,255,255,.14); box-shadow: none; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.wx-card-d p { color: rgba(229,255,238,.75); } .wx-card-d .wx-ico { color: #86efac; background: rgba(34,197,94,.18); }
.wx-card-d:hover { box-shadow: 0 34px 64px -34px rgba(34,197,94,.55); }
.wx-go { margin-top: 8px; font-weight: 800; color: #4ade80; transition: translate .3s; } .wx-card-d:hover .wx-go { translate: 6px 0; }

/* ---------- Abschluss ---------- */
.wx-final { position: relative; isolation: isolate; overflow: hidden; margin: 72px clamp(12px, 1.4vw, 20px) 16px; min-height: calc(100svh - 88px); display: grid; place-items: center; padding: clamp(48px, 8vw, 96px) 0; border-radius: clamp(28px, 4vw, 56px); text-align: center; color: #f4fff8; background: radial-gradient(90% 90% at 50% 0, #0b3d1e, #04140a 72%); }
.wx-aurora3 i:nth-child(1) { width: 42vw; height: 42vw; left: -8vw; top: -12vw; background: #16a34a; } .wx-aurora3 i:nth-child(2) { width: 36vw; height: 36vw; right: -6vw; top: 2vw; background: #0d9488; } .wx-aurora3 i:nth-child(3) { width: 30vw; height: 30vw; left: 30vw; bottom: -14vw; background: #65a30d; opacity: .3; }
.wx-final-in { max-width: 56rem; }

/* ---------- Pause außerhalb des Bildschirms ---------- */
.wx-off *, .wx-off *::before, .wx-off *::after { animation-play-state: paused !important; }

/* ---------- Tablet und Handy ---------- */
@media (max-width: 980px) {
  .wx-hero {
    height: 100svh;
    min-height: 100svh;
    max-height: 100svh;
    overflow: hidden;
    padding: calc(var(--nav-h) + 22px) 0 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
  }
  .wx-hero-in {
    width: min(100% - 28px, 480px);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
  }
  .wx-copy {
    flex: 0 0 auto;
  }
  .wx-title {
    font-size: clamp(1.85rem, 7.2vw, 2.45rem);
    line-height: 1.04;
  }
  .wx-lead {
    margin: 8px 0 0;
    font-size: clamp(13px, 3.4vw, 15px);
    line-height: 1.4;
  }
  .wx-cta {
    margin-top: 12px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .wx-cta .wx-btn {
    width: 100%;
    padding: 11px 8px;
    font-size: 13px;
    min-height: 42px;
    white-space: nowrap;
  }
  .wx-hint {
    display: none;
  }
  .wx-stage {
    flex: 1 1 auto;
    min-height: 0;
    padding: 0 0 20px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .wx-tilt {
    width: min(100%, 350px);
    transform: rotateY(-6deg) rotateX(4deg);
  }
  .wx-device.wx-browser {
    width: 100%;
  }
  .wx-device.wx-phone {
    width: 34%;
    right: -3%;
    bottom: -8%;
  }
  .wx-conf { grid-template-columns: minmax(0, 1fr); }
  .wx-bento, .wx-ex { grid-template-columns: minmax(0, 1fr); }
  .wx-story { grid-template-columns: minmax(0, 1fr); }
  .wx-stickybox { position: sticky; top: 74px; z-index: 3; padding: 8px 0 12px; background: linear-gradient(#fafaf7 82%, transparent); }
  .wx-dotsnav { display: none; }
  .wx-step { min-height: 0; padding: 26px 0; opacity: 1; translate: none; } .wx-num { font-size: 3rem; }
  .wx-scroll { display: none; }
}
@media (max-width: 560px) {
  .wx-wrap { width: min(1240px, 100% - 32px); } .wx-hero-in { width: min(1320px, 100% - 32px); }
  .wx-chip { padding: 7px 11px; border-radius: 12px; } .wx-chip b { font-size: 15px; } .wx-c3, .wx-c2 { display: none; }
  .wx-btn { width: 100%; } .wx-cta .wx-btn-xl { padding: 18px 24px; }
  .wx-panel { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .wx *, .wx *::before, .wx *::after { animation: none !important; transition: none !important; }
  .wx-line > span { transform: none; }
  .wx-tilt { transform: rotateY(-8deg) rotateX(4deg); }
}

/* Konfigurator kompakt: Bedienfeld in zwei Spalten, damit der Abschnitt auf einen Bildschirm passt */
#konfigurator { --pad: clamp(40px, 4.6vw, 64px); }
.wx-panel { grid-template-columns: 1fr 1fr; gap: 14px 16px; align-content: center; }
.wx-panel .wx-full, .wx-panel .wx-actions { grid-column: 1 / -1; }
.wx-actions { grid-template-columns: 1fr 1fr; }
.wx-pill { padding: 9px 14px; font-size: 13.5px; }
.wx-conf { grid-template-columns: minmax(340px, .46fr) minmax(0, 1fr); }
@media (max-width: 980px) { .wx-conf { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .wx-panel { grid-template-columns: 1fr; } .wx-actions { grid-template-columns: 1fr; } }
.wx-conf { grid-template-columns: minmax(400px, .58fr) minmax(0, 1fr); }
.wx-pill { padding: 8px 12px; } .wx-chips { gap: 6px; }
#konfigurator .wx-sub { max-width: 46em; }
@media (max-width: 980px) { .wx-conf { grid-template-columns: minmax(0, 1fr); } }
#konfigurator { --pad: clamp(36px, 3.6vw, 52px); }
#konfigurator .wx-head { margin-bottom: 24px; } #konfigurator .wx-h2 { font-size: clamp(1.8rem, 3.2vw, 2.8rem); } #konfigurator .wx-sub { margin-top: 10px; font-size: 1rem; }
/* Sticky braucht eine Spalte, die so hoch ist wie die Schritte (sonst klebt die Bühne nicht) */
.wx-story-stage { align-self: stretch; }
/* Konfigurator-Bedienung schlanker: kleinere Knöpfe, mittlere Schriftstärke */
.wx-actions { grid-template-columns: auto 1fr; gap: 10px; }
.wx-actions .wx-btn { padding: 11px 20px; font-size: 14px; font-weight: 600; white-space: nowrap; box-shadow: none; }
.wx-actions .wx-btn-main { box-shadow: 0 8px 20px -10px rgba(34,197,94,.7), inset 0 1px 0 rgba(255,255,255,.45); }
.wx-pill, .wx-seg button { font-weight: 600; }
.wx-seg button { padding: 9px 6px; font-size: 13px; }
@media (max-width: 560px) { .wx-actions { grid-template-columns: 1fr; } }
