/* ============================================================
   nytic.ch – Produkte (Vollbild-Views pro Produkt)
   Farben pro Produkt: data-accent / data-accent2 / data-base / data-tone im Markup
   ============================================================ */

@property --pv-a1 { syntax: '<color>'; inherits: true; initial-value: #90BE20; }
@property --pv-a2 { syntax: '<color>'; inherits: true; initial-value: #38bdf8; }
@property --pv-base { syntax: '<color>'; inherits: true; initial-value: #0b0d0b; }

:root {
  --pv-a1: #90BE20;
  --pv-a2: #38bdf8;
  --pv-base: #0b0d0b;
  --pv-ink: #ffffff;
  --pv-ease: cubic-bezier(.2, .75, .2, 1);
  transition: --pv-a1 1s var(--pv-ease), --pv-a2 1s var(--pv-ease), --pv-base 1s var(--pv-ease);
}

html.pv-html { scroll-behavior: auto; background: var(--pv-base); }
@media (min-width: 900px) and (min-height: 560px) and (prefers-reduced-motion: no-preference) {
  html.pv-html.pv-snap { scroll-snap-type: y mandatory; }
}
@media (max-width: 899px), (max-height: 559px) {
  html.pv-html.pv-snap { scroll-snap-type: y proximity; }
}

body.pv-body { background: transparent; margin-bottom: 0; overflow-x: hidden; }

/* ---------- Hintergrund, der zur Produktfarbe wechselt ---------- */
.pv-backdrop {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 55% at 78% 38%, color-mix(in srgb, var(--pv-a1) 24%, transparent), transparent 72%),
    radial-gradient(45% 50% at 8% 92%, color-mix(in srgb, var(--pv-a2) 16%, transparent), transparent 70%),
    var(--pv-base);
}
.pv-orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .5; will-change: transform; }
.pv-orb--a { width: 42vmax; height: 42vmax; right: -12vmax; top: -10vmax; background: color-mix(in srgb, var(--pv-a1) 38%, transparent); animation: pvFloat 18s ease-in-out infinite alternate; }
.pv-orb--b { width: 34vmax; height: 34vmax; left: -14vmax; bottom: -16vmax; background: color-mix(in srgb, var(--pv-a2) 30%, transparent); animation: pvFloat 22s ease-in-out infinite alternate-reverse; }
.pv-grain {
  position: absolute; inset: 0; opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@keyframes pvFloat { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-4vmax, 5vmax, 0) scale(1.12); } }

.pv-progress { position: fixed; left: 0; right: 0; top: 0; height: 2px; z-index: 1050; pointer-events: none; }
.pv-progress i { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--pv-a1), var(--pv-a2)); box-shadow: 0 0 12px var(--pv-a1); }

/* ---------- Views ---------- */
.pv { position: relative; }
.pv-view {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: 96px 0 84px;
  scroll-snap-align: start; scroll-snap-stop: always;
  color: var(--ink, #fff);
  --ink: #ffffff; --muted: rgba(255, 255, 255, .64); --line: rgba(255, 255, 255, .1); --card: rgba(255, 255, 255, .045);
}
/* Desktop: jeder View genau eine Fensterhöhe (Inhalt wird bei Bedarf per JS eingepasst) */
@media (min-width: 900px) and (min-height: 560px) {
  .pv-view { height: 100vh; height: 100svh; min-height: 0; padding: 78px 0 58px; }
  .pv-inner { transform-origin: 50% 50%; }
}
.pv-tone-light { --ink: #141810; --muted: #4a5144; --line: rgba(17, 24, 12, .12); --card: rgba(255, 255, 255, .6); }
.pv-inner { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 clamp(1.1rem, 3vw, 2.5rem); padding-right: clamp(1.1rem, 6vw, 6.5rem); position: relative; z-index: 1; }
.pv-footer { scroll-snap-align: end; }
.pv-footer footer { margin: 0; }

.pv-ghost {
  position: absolute; right: clamp(1rem, 8vw, 7rem); bottom: 2vh; z-index: 0; pointer-events: none;
  font-family: 'Thasadith', sans-serif; font-weight: 700; line-height: .8;
  font-size: clamp(9rem, 26vw, 22rem); letter-spacing: -.04em;
  color: transparent; -webkit-text-stroke: 1px color-mix(in srgb, var(--ac) 28%, transparent);
  opacity: 0; transform: translateY(40px); transition: opacity 1.2s var(--pv-ease), transform 1.4s var(--pv-ease);
}
.pv-view.is-active .pv-ghost { opacity: 1; transform: none; }

/* ---------- Typografie ---------- */
.pv-eyebrow {
  display: flex; align-items: center; flex-wrap: wrap; gap: .6rem;
  font-size: .74rem; text-transform: uppercase; letter-spacing: .16em; color: var(--ac); margin: 0 0 1.1rem; font-weight: 700;
}
.pv-nr { font-variant-numeric: tabular-nums; color: var(--ink); letter-spacing: .08em; }
.pv-nr small { color: var(--muted); font-size: .72rem; }
.pv-new {
  display: inline-flex; align-items: center; padding: .18rem .6rem; border-radius: 999px; letter-spacing: .1em;
  background: var(--ac); color: #10120d; box-shadow: 0 0 0 0 color-mix(in srgb, var(--ac) 60%, transparent); animation: pvPulse 2.4s infinite;
}
@keyframes pvPulse { 70% { box-shadow: 0 0 0 10px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
/* Testphase: Status statt «Neu» */
.pv-new--test { gap: .4rem; background: transparent; color: var(--ac); border: 1px solid color-mix(in srgb, var(--ac) 60%, transparent); animation: none; }
.pv-new--test i { width: 7px; height: 7px; border-radius: 50%; background: var(--ac); animation: pvTest 1.6s ease-in-out infinite; }
@keyframes pvTest { 50% { opacity: .25; } }
.pv-notice { display: flex; gap: .6rem; align-items: flex-start; margin: -.4rem 0 1.2rem; padding: .7rem .9rem; border-radius: 12px; font-size: .86rem; line-height: 1.5; color: var(--ink);
  background: color-mix(in srgb, var(--ac) 10%, transparent); border: 1px solid color-mix(in srgb, var(--ac) 35%, transparent); max-width: 34rem; }
.pv-notice i { flex: none; width: 8px; height: 8px; margin-top: .4rem; border-radius: 50%; background: var(--ac); box-shadow: 0 0 8px var(--ac); }
.pv-deck-name em.is-test, .pv-rail-label em.is-test, .pv-sheet em.is-test { background: transparent; color: var(--ac); box-shadow: inset 0 0 0 1px var(--ac); }

.pv-logo { height: 58px; display: flex; align-items: center; margin-bottom: 1.1rem; }
.pv-logo img { max-height: 58px; max-width: 250px; width: auto; object-fit: contain; }
.pv-logo img.pv-logo-chip { background: #fbf9f6; border-radius: 12px; padding: 9px 16px; max-height: 54px; }
.pv-tone-light .pv-logo img.pv-logo-plain { background: none; padding: 0; border-radius: 0; max-height: 50px; }
.pv-tone-light .pv-logo img:not(.pv-logo-plain) { background: #141810; border-radius: 12px; padding: 4px 14px; max-height: 58px; }
.pv-wm { font-family: 'Thasadith', sans-serif; font-weight: 700; font-size: 2.6rem; line-height: 1; color: var(--ink); letter-spacing: -.01em; }
.pv-wm--ecce b { color: var(--ac); margin-left: .05em; text-shadow: 0 0 24px color-mix(in srgb, var(--ac) 60%, transparent); }
.pv-wm--rapp { font-size: 1.9rem; }
.pv-wm--rapp i { font-style: normal; color: var(--ac); }

.pv-title {
  font-family: 'Thasadith', sans-serif; font-weight: 700; color: var(--ink);
  font-size: clamp(2rem, 4.2vw, 3.55rem); line-height: 1.04; letter-spacing: -.015em; margin: 0 0 1.1rem;
}
.pv-title--sm { font-size: clamp(1.6rem, 3vw, 2.4rem); }
.pv-lead { color: var(--muted); font-size: clamp(.95rem, 1.15vw, 1.05rem); line-height: 1.75; max-width: 34rem; margin: 0 0 1.5rem; }

/* ---------- Produkt-Raster ---------- */
.pv-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.pv-copy { min-width: 0; }

.pv-features { list-style: none; padding: 0; margin: 0 0 1.4rem; display: grid; grid-template-columns: 1fr 1fr; gap: .7rem .9rem; }
.pv-features li { display: flex; gap: .7rem; align-items: flex-start; min-width: 0; }
.pv-fi {
  flex: 0 0 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  color: var(--ac); background: color-mix(in srgb, var(--ac) 13%, transparent); border: 1px solid color-mix(in srgb, var(--ac) 28%, transparent);
}
.pv-features strong { display: block; color: var(--ink); font-size: .9rem; line-height: 1.3; }
.pv-features small { display: block; color: var(--muted); font-size: .8rem; line-height: 1.45; margin-top: .15rem; }

.pv-addon {
  display: flex; align-items: center; gap: .9rem; padding: .7rem .9rem; border-radius: 14px; margin: 0 0 1.4rem; max-width: 30rem;
  background: var(--card); border: 1px solid var(--line); color: var(--muted); text-decoration: none !important; transition: border-color .25s, transform .25s;
}
.pv-addon:hover { border-color: color-mix(in srgb, var(--ac) 50%, transparent); transform: translateY(-2px); color: var(--ink); }
.pv-addon img { height: 34px; width: auto; padding: 5px 9px; border-radius: 9px; background: #fbf9f6; }
.pv-addon span { font-size: .84rem; line-height: 1.45; flex: 1; }
.pv-addon small { display: block; text-transform: uppercase; letter-spacing: .12em; font-size: .64rem; color: var(--ac); font-weight: 700; }

.pv-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .65rem 1rem; }
.pv-btn {
  display: inline-flex; align-items: center; gap: .45rem; padding: .62rem 1.15rem; border-radius: 999px; font-size: .88rem; font-weight: 700;
  border: 1px solid color-mix(in srgb, var(--ac) 55%, transparent); color: var(--ink) !important; text-decoration: none !important;
  transition: transform .2s, background .25s, box-shadow .25s, border-color .25s;
}
.pv-btn:hover { transform: translateY(-2px); border-color: var(--ac); background: color-mix(in srgb, var(--ac) 12%, transparent); }
.pv-btn--primary { background: var(--ac); border-color: var(--ac); color: #10120d !important; box-shadow: 0 10px 30px -10px var(--ac); }
.pv-btn--primary:hover { background: var(--ac); box-shadow: 0 14px 38px -8px var(--ac); }
.pv-tone-light .pv-btn--primary { color: #fff !important; }
.pv-partner { font-size: .78rem; color: var(--muted); }

.pv-next {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 2;
  display: inline-flex; align-items: center; gap: .5rem; border: 0; background: none; cursor: pointer;
  color: var(--muted); font: inherit; font-size: .8rem; padding: .4rem .8rem; border-radius: 999px; transition: color .2s, background .2s;
}
.pv-next strong { color: var(--ink); }
.pv-next .pv-ico { animation: pvBob 1.8s ease-in-out infinite; }
.pv-next:hover { color: var(--ink); background: color-mix(in srgb, var(--ac) 12%, transparent); }
.pv-next:focus-visible, .pv-btn:focus-visible, .pv-rail a:focus-visible, .pv-deck a:focus-visible { outline: 2px solid var(--ac, var(--pv-a1)); outline-offset: 3px; }
@keyframes pvBob { 50% { transform: translateY(4px); } }

/* ---------- Einblenden ---------- */
.pv-js [data-reveal] {
  opacity: 0; transform: translateY(28px); filter: blur(6px);
  transition: opacity .8s var(--pv-ease), transform 1s var(--pv-ease), filter .8s var(--pv-ease);
  transition-delay: calc(var(--d, 0) * 70ms);
}
.pv-js .is-seen [data-reveal] { opacity: 1; transform: none; filter: none; }
.pv-visual { position: relative; min-width: 0; perspective: 1400px; }
.pv-visual > * { transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s var(--pv-ease); transform-style: preserve-3d; }

/* Animationen nur im aktiven View */
.pv-view:not(.is-active) *, .pv-view:not(.is-active) *::before, .pv-view:not(.is-active) *::after { animation-play-state: paused !important; }

/* ---------- Übersicht ---------- */
.pv-intro { overflow: hidden; }
.pv-net { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: .9; }
.pv-intro-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.pv-intro-title { font-family: 'Thasadith', sans-serif; font-weight: 700; font-size: clamp(2.4rem, 6vw, 5rem); line-height: .98; letter-spacing: -.02em; color: #fff; margin: 0 0 1.3rem; }
.pv-intro-title span { background: linear-gradient(100deg, #90BE20, #d9f99d 45%, #38bdf8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pv-intro-lead { color: rgba(255, 255, 255, .62); font-size: 1.05rem; line-height: 1.75; max-width: 36rem; margin-bottom: 2rem; }
.pv-scrollhint { display: inline-flex; align-items: center; gap: .8rem; background: none; border: 0; color: rgba(255, 255, 255, .7); font: inherit; font-size: .85rem; cursor: pointer; padding: 0; }
.pv-scrollhint:hover { color: #fff; }
.pv-mouse { width: 24px; height: 38px; border-radius: 14px; border: 2px solid rgba(255, 255, 255, .5); position: relative; }
.pv-mouse i { position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #90BE20; animation: pvWheel 1.6s ease-in-out infinite; }
@keyframes pvWheel { 0% { opacity: 0; transform: translateY(-3px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

.pv-deck { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; counter-reset: none; }
.pv-deck a {
  display: grid; grid-template-columns: 2.4rem minmax(0, 1fr) auto; grid-template-rows: auto auto; align-items: center; column-gap: .8rem;
  padding: .75rem 1rem; border-radius: 14px; text-decoration: none !important;
  background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .08);
  transition: transform .3s var(--pv-ease), border-color .3s, background .3s;
  animation: pvDeckIn .7s var(--pv-ease) both; animation-delay: calc(var(--i) * 60ms + 250ms);
}
.pv-deck a:hover { transform: translateX(-6px); border-color: color-mix(in srgb, var(--ac) 60%, transparent); background: color-mix(in srgb, var(--ac) 10%, rgba(255, 255, 255, .03)); }
.pv-deck-nr { grid-row: span 2; font-size: .8rem; font-weight: 700; color: var(--ac); font-variant-numeric: tabular-nums; position: relative; padding-left: 14px; }
.pv-deck-nr::before { content: ''; position: absolute; left: 0; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: var(--ac); box-shadow: 0 0 10px var(--ac); }
.pv-deck-name { color: #fff; font-weight: 700; font-size: 1rem; line-height: 1.2; }
.pv-deck-name em, .pv-rail-label em, .pv-sheet em { font-style: normal; font-size: .62rem; text-transform: uppercase; letter-spacing: .1em; padding: .1rem .45rem; border-radius: 999px; background: var(--ac); color: #111; vertical-align: 2px; margin-left: .25rem; }
.pv-deck-tag { color: rgba(255, 255, 255, .5); font-size: .78rem; grid-column: 2; }
.pv-deck-go { grid-row: 1 / span 2; grid-column: 3; color: rgba(255, 255, 255, .4); transition: color .2s, transform .2s; }
.pv-deck a:hover .pv-deck-go { color: var(--ac); transform: translateY(2px); }
@keyframes pvDeckIn { from { opacity: 0; transform: translateX(24px); } }

/* ---------- Abschluss ---------- */
.pv-outro-inner { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: stretch; }
.pv-dsp { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 2rem; align-items: center; padding: clamp(1.4rem, 3vw, 2.4rem); border-radius: 22px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); }
.pv-dsp-logo { padding: 1rem; border-radius: 16px; background: rgba(255, 255, 255, .04); }
.pv-dsp-logo img { width: 100%; height: auto; }
.pv-cta { padding: clamp(1.4rem, 3vw, 2.4rem); border-radius: 22px; background: linear-gradient(140deg, color-mix(in srgb, #90BE20 22%, transparent), rgba(255, 255, 255, .03)); border: 1px solid rgba(144, 190, 32, .35); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.pv-cta h2 { font-family: 'Thasadith', sans-serif; color: #fff; font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.12; margin-bottom: .7rem; }
.pv-cta p { color: rgba(255, 255, 255, .64); margin-bottom: 1.3rem; }

/* ---------- Seitliche Navigation ---------- */
.pv-rail { position: fixed; right: clamp(.6rem, 1.6vw, 1.6rem); top: 50%; transform: translateY(-50%); z-index: 1030; }
.pv-rail ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .2rem; position: relative; }
.pv-rail ol::before { content: ''; position: absolute; right: 11px; top: 14px; bottom: 14px; width: 1px; background: color-mix(in srgb, var(--pv-ink) 18%, transparent); }
.pv-rail a { display: flex; align-items: center; justify-content: flex-end; flex-direction: row-reverse; gap: .7rem; padding: .3rem 0; text-decoration: none !important; }
.pv-rail-dot { position: relative; width: 23px; height: 23px; display: grid; place-items: center; flex: 0 0 23px; color: color-mix(in srgb, var(--pv-ink) 60%, transparent); }
.pv-rail-dot::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: color-mix(in srgb, var(--pv-ink) 40%, transparent); transition: all .35s var(--pv-ease); }
.pv-rail li:first-child .pv-rail-dot::before { display: none; }
.pv-rail-label {
  font-size: .78rem; font-weight: 700; color: var(--pv-ink); white-space: nowrap; padding: .28rem .7rem; border-radius: 999px;
  background: color-mix(in srgb, var(--pv-base) 80%, transparent); border: 1px solid color-mix(in srgb, var(--pv-ink) 12%, transparent);
  opacity: 0; transform: translateX(8px); pointer-events: none; transition: opacity .25s, transform .25s; backdrop-filter: blur(8px);
}
.pv-rail a:hover .pv-rail-label, .pv-rail a:focus-visible .pv-rail-label { opacity: 1; transform: none; }
.pv-rail a:hover .pv-rail-dot::before { background: var(--ac, var(--pv-a1)); }
.pv-rail a.is-current .pv-rail-dot::before { width: 11px; height: 11px; background: var(--ac, var(--pv-a1)); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ac, var(--pv-a1)) 25%, transparent), 0 0 16px var(--ac, var(--pv-a1)); }
.pv-rail a.is-current .pv-rail-dot { color: var(--pv-a1); }
.pv-rail a.is-current .pv-rail-label { opacity: 1; transform: none; }
.pv-rail.is-idle a.is-current .pv-rail-label { opacity: 0; }
.pv-rail:hover a.is-current .pv-rail-label { opacity: 1; }

/* ---------- Mobile Dock ---------- */
.pv-dock {
  position: fixed; left: 50%; bottom: max(12px, env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 1035;
  display: none; align-items: center; gap: .25rem; padding: .3rem; border-radius: 999px;
  background: color-mix(in srgb, var(--pv-base) 78%, rgba(0, 0, 0, .4)); border: 1px solid color-mix(in srgb, var(--pv-ink) 14%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 10px 40px rgba(0, 0, 0, .35);
}
.pv-dock-btn { width: 40px; height: 40px; border-radius: 50%; border: 0; display: grid; place-items: center; background: color-mix(in srgb, var(--pv-ink) 8%, transparent); color: var(--pv-ink); cursor: pointer; }
.pv-dock-current { display: flex; align-items: center; gap: .5rem; border: 0; background: none; color: var(--pv-ink); font: inherit; font-weight: 700; font-size: .9rem; padding: 0 .7rem; min-width: 150px; justify-content: center; cursor: pointer; }
.pv-dock-current span { white-space: nowrap; }
.pv-dock-current small { color: color-mix(in srgb, var(--pv-ink) 55%, transparent); font-weight: 400; font-size: .75rem; }
.pv-dock-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--pv-a1); box-shadow: 0 0 10px var(--pv-a1); }
.pv-sheet { position: fixed; inset: 0; z-index: 1060; }
.pv-sheet-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .5); backdrop-filter: blur(3px); }
.pv-sheet-panel {
  position: absolute; left: 0; right: 0; bottom: 0; max-height: 80vh; overflow: auto; padding: 1.3rem 1.1rem calc(1.4rem + env(safe-area-inset-bottom));
  border-radius: 22px 22px 0 0; background: #111311; border-top: 1px solid rgba(255, 255, 255, .1); animation: pvSheet .35s var(--pv-ease);
}
.pv-sheet-panel .pv-eyebrow { color: #90BE20; }
.pv-sheet ol { list-style: none; padding: 0; margin: 0; display: grid; gap: .35rem; }
.pv-sheet a { display: grid; grid-template-columns: 14px 1fr; column-gap: .7rem; align-items: center; padding: .7rem .8rem; border-radius: 12px; color: #fff !important; font-weight: 700; text-decoration: none !important; background: rgba(255, 255, 255, .04); }
.pv-sheet a i { width: 9px; height: 9px; border-radius: 50%; background: var(--ac); grid-row: span 2; }
.pv-sheet a small { grid-column: 2; color: rgba(255, 255, 255, .5); font-weight: 400; font-size: .76rem; }
@keyframes pvSheet { from { transform: translateY(100%); } }

/* ============================================================
   Vorschauen
   ============================================================ */
.pv-shadow { box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .06); }

/* ---------- EccePlus ---------- */
.ec { position: relative; padding-bottom: 92px; padding-right: 4%; }
.ec-church {
  position: relative; aspect-ratio: 16 / 10.5; border-radius: 22px; overflow: hidden; padding: 7% 7% 0;
  background: radial-gradient(80% 70% at 50% 0%, rgba(255, 209, 102, .16), transparent 70%), linear-gradient(180deg, #13223a, #0a1322);
  border: 1px solid rgba(255, 255, 255, .08); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8);
  display: grid; grid-template-columns: 1.55fr 1fr; grid-template-rows: auto 1fr; gap: 6% 5%; align-items: start; color: rgba(255, 209, 102, .25);
}
.ec-arch { position: absolute; left: 8%; right: 8%; top: 6%; width: 84%; height: 120%; pointer-events: none; }
.ec-display { position: relative; z-index: 1; border-radius: 10px; background: #05080d; border: 3px solid #26334a; padding: 6% 5% 5%; box-shadow: 0 0 40px -6px rgba(255, 209, 102, .35), inset 0 0 30px rgba(0, 0, 0, .8); }
.ec-display--side { margin-top: 14%; transform: scale(.92); transform-origin: top left; }
.ec-label { position: absolute; top: -1.45rem; left: 2px; font-size: .62rem; text-transform: uppercase; letter-spacing: .14em; color: rgba(255, 255, 255, .45); }
.ec-matrix svg { display: block; width: 100%; height: auto; }
.ec-matrix circle { fill: #2a2416; transition: fill .25s, filter .25s; }
.ec-matrix circle.on { fill: var(--ac); filter: drop-shadow(0 0 2px var(--ac)); }
.ec-sync { position: absolute; left: 7%; bottom: 7%; font-size: .7rem; color: rgba(255, 255, 255, .6); display: flex; align-items: center; gap: .45rem; z-index: 1; }
.ec-sync i { width: 7px; height: 7px; border-radius: 50%; background: var(--ac2); box-shadow: 0 0 8px var(--ac2); animation: pvBlink 2s infinite; }
@keyframes pvBlink { 50% { opacity: .3; } }
.ec-tablet {
  position: absolute; right: -6%; bottom: 0; width: 44%; min-width: 230px; z-index: 2;
  background: #f7f3ea; color: #1b2235; border-radius: 18px; padding: .8rem .8rem .7rem; border: 6px solid #1a1f2b;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8);
}
.ec-tablet-head { display: flex; justify-content: space-between; align-items: center; font-size: .78rem; margin-bottom: .45rem; }
.ec-live { font-size: .64rem; color: #0f9d6b; font-weight: 700; }
.ec-plan { list-style: none; padding: 0; margin: 0 0 .55rem; display: grid; gap: 2px; max-height: 128px; overflow: hidden; position: relative; }
.ec-plan li { display: flex; justify-content: space-between; font-size: .7rem; padding: .22rem .45rem; border-radius: 6px; color: #5b6275; cursor: pointer; transition: background .25s, color .25s; }
.ec-plan li b { color: #1b2235; font-variant-numeric: tabular-nums; }
.ec-plan li.is-done { opacity: .5; }
.ec-plan li.is-cur { background: #0d1b2a; color: #ffd166; }
.ec-plan li.is-cur b { color: #fff; }
.ec-ctrl { display: grid; grid-template-columns: 1fr 1.4fr; gap: .4rem; }
.ec-btn { border: 0; border-radius: 9px; padding: .45rem; font: inherit; font-size: .76rem; font-weight: 700; background: #e7e0d1; color: #1b2235; cursor: pointer; transition: transform .1s; }
.ec-btn--next { background: #0d1b2a; color: #ffd166; }
.ec-btn:active { transform: scale(.96); }

/* ---------- nytic Marketing ---------- */
.pv-wm--mkt { display: inline-flex; align-items: center; gap: .6rem; font-size: 2.1rem; }
.pv-wm--mkt svg { width: 46px; height: 46px; flex: 0 0 46px; } .pv-wm--mkt img { width: 52px; height: 52px; flex: 0 0 52px; } .pv-wm--mkt > span { display: flex; flex-direction: column; line-height: 1; } .pv-wm--mkt small { font-family: "Segoe UI", system-ui, sans-serif; font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ac); margin-top: .35rem; }
.pv-wm--mkt b { color: var(--ac); }
.mk { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); gap: 1.2rem; align-items: center; padding-bottom: 30px; }
.mk-plan { border-radius: 20px; padding: 1rem; background: linear-gradient(160deg, #18221a, #0e140f); border: 1px solid rgba(255, 255, 255, .08); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .85), 0 0 80px -30px color-mix(in srgb, var(--ac) 50%, transparent); }
.mk-plan-head { display: flex; justify-content: space-between; align-items: baseline; font-size: .86rem; margin-bottom: .7rem; }
.mk-plan-head span { font-size: .7rem; color: rgba(255, 255, 255, .5); text-transform: uppercase; letter-spacing: .12em; }
.mk-queue { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.mk-queue li {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: .2rem .7rem; align-items: center; padding: .6rem .7rem; border-radius: 12px;
  background: rgba(255, 255, 255, .045); border: 1px solid rgba(255, 255, 255, .06); transition: background .4s, border-color .4s, transform .4s var(--pv-ease);
}
.mk-queue li.is-now { border-color: color-mix(in srgb, var(--ac) 60%, transparent); background: color-mix(in srgb, var(--ac) 10%, rgba(255, 255, 255, .03)); transform: translateX(-4px); }
.mk-date { grid-row: span 2; font: 700 .66rem/1.2 ui-monospace, Consolas, monospace; color: rgba(255, 255, 255, .6); text-align: center; min-width: 44px; padding: .3rem .35rem; border-radius: 8px; background: rgba(255, 255, 255, .06); }
.mk-date b { display: block; font-size: .95rem; color: #fff; }
.mk-title { font-size: .84rem; font-weight: 700; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-ch { display: flex; gap: .3rem; font-size: .64rem; color: rgba(255, 255, 255, .55); }
.mk-ch i { font-style: normal; padding: .05rem .4rem; border-radius: 5px; font-weight: 700; }
.mk-ch .fb { background: rgba(24, 119, 242, .2); color: #8ab8ff; }
.mk-ch .ig { background: rgba(225, 48, 108, .2); color: #ff8fb6; }
.mk-st { grid-row: 1 / span 2; grid-column: 3; font-size: .64rem; font-weight: 700; padding: .2rem .55rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); color: rgba(255, 255, 255, .7); white-space: nowrap; transition: all .35s; }
.mk-st.is-done { background: #90BE20; border-color: #90BE20; color: #0d1203; }
.mk-phone { position: relative; width: 100%; max-width: 230px; justify-self: center; aspect-ratio: 9 / 18; border-radius: 30px; padding: 12px; background: #050507; border: 2px solid #2a2a33; box-shadow: 0 40px 80px -25px rgba(0, 0, 0, .9), 0 0 60px -20px color-mix(in srgb, var(--ac) 60%, transparent); }
.mk-notch { position: absolute; top: 8px; left: 50%; width: 34%; height: 14px; margin-left: -17%; border-radius: 0 0 10px 10px; background: #050507; z-index: 2; }
.mk-post { height: 100%; border-radius: 20px; overflow: hidden; background: #fff; color: #111; display: flex; flex-direction: column; }
.mk-post-head { display: flex; align-items: center; gap: .5rem; padding: 1.4rem .7rem .55rem; font-size: .72rem; line-height: 1.2; }
.mk-post-head small { display: block; color: #777; font-size: .62rem; }
.mk-avatar { width: 26px; height: 26px; border-radius: 50%; background: conic-gradient(#f9ce34, #ee2a7b, #6228d7, #f9ce34); padding: 2px; position: relative; flex: 0 0 26px; }
.mk-avatar::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: #90BE20; }
.mk-img { flex: 1; min-height: 0; display: grid; place-items: center; padding: 1rem; text-align: center; color: #fff; font-family: 'Thasadith', sans-serif; font-weight: 700; font-size: 1.15rem; background: linear-gradient(140deg, var(--c1, #ff5fa2), var(--c2, #6228d7)); transition: background .6s; }
.mk-img span { text-shadow: 0 2px 12px rgba(0, 0, 0, .3); transition: opacity .3s, transform .4s var(--pv-ease); }
.mk-img.is-swap span { opacity: 0; transform: scale(.9); }
.mk-actions { display: flex; align-items: center; gap: .35rem; padding: .5rem .7rem 0; font-size: .7rem; font-weight: 700; }
.mk-heart { color: #ed4956; font-size: .95rem; display: inline-block; }
.mk-heart.is-pop { animation: mkPop .5s var(--pv-ease); }
@keyframes mkPop { 50% { transform: scale(1.5); } }
.mk-cap { font-size: .68rem; color: #333; padding: .25rem .7rem .9rem; margin: 0; line-height: 1.4; }
.mk-toast {
  position: absolute; left: 4%; bottom: 0; display: flex; align-items: center; gap: .6rem; padding: .6rem .9rem; border-radius: 14px; font-size: .78rem;
  background: #fff; color: #12131a; box-shadow: 0 20px 40px -10px rgba(0, 0, 0, .6); opacity: 0; transform: translateY(14px); transition: opacity .35s, transform .45s var(--pv-ease);
}
.mk-toast.is-on { opacity: 1; transform: none; }
.mk-toast b { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #90BE20; color: #0d1203; font-size: .8rem; }

/* ---------- cellus ---------- */
.ce-frame { position: relative; aspect-ratio: 16 / 10; border-radius: 18px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8); }
.ce-scene { display: block; width: 100%; height: 100%; }
.ce-sky1 { stop-color: #1b4f7a; animation: ceSky1 12s linear infinite; }
.ce-sky2 { stop-color: #f2b56b; animation: ceSky2 12s linear infinite; }
@keyframes ceSky1 { 0%, 100% { stop-color: #0b1d33; } 25% { stop-color: #2a6fa8; } 50% { stop-color: #4f9fd6; } 75% { stop-color: #3a4d8f; } }
@keyframes ceSky2 { 0%, 100% { stop-color: #2a2140; } 25% { stop-color: #f2b56b; } 50% { stop-color: #bfe3f7; } 75% { stop-color: #f08a5d; } }
.ce-sun { fill: #ffe39a; animation: ceSun 12s linear infinite; }
@keyframes ceSun { 0% { transform: translate(0, 140px); opacity: 0; } 15% { opacity: 1; } 50% { transform: translate(160px, -20px); } 85% { opacity: 1; } 100% { transform: translate(330px, 140px); opacity: 0; } }
.ce-building rect { fill: #cfd6d2; }
.ce-building rect.win { fill: #1d2a33; }
.ce-building rect.lit { fill: #ffd98a; }
.ce-building g { transform-box: fill-box; transform-origin: 50% 100%; animation: ceFloor .6s var(--pv-ease) both; }
@keyframes ceFloor { from { transform: scaleY(0); opacity: 0; } }
.ce-hook { animation: ceHook 3s ease-in-out infinite; }
@keyframes ceHook { 50% { transform: translateY(18px); } }
.ce-hud { position: absolute; left: 0; right: 0; top: 0; display: flex; gap: 1rem; justify-content: space-between; padding: .75rem 1rem; font: 700 .7rem/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: rgba(255, 255, 255, .85); text-shadow: 0 1px 3px rgba(0, 0, 0, .6); letter-spacing: .06em; }
.ce-rec { display: inline-flex; align-items: center; gap: .4rem; color: #ff5a4a; }
.ce-rec i { width: 8px; height: 8px; border-radius: 50%; background: #ff5a4a; animation: pvBlink 1.2s infinite; }
.ce-corner { position: absolute; width: 22px; height: 22px; border: 2px solid rgba(255, 255, 255, .7); }
.ce-corner--tl { left: 12px; top: 34px; border-right: 0; border-bottom: 0; }
.ce-corner--tr { right: 12px; top: 34px; border-left: 0; border-bottom: 0; }
.ce-corner--bl { left: 12px; bottom: 12px; border-right: 0; border-top: 0; }
.ce-corner--br { right: 12px; bottom: 12px; border-left: 0; border-top: 0; }
.ce-person { animation: cePerson 9s linear infinite; }
@keyframes cePerson { from { transform: translateX(40px); } to { transform: translateX(300px); } }
.ce-drone { animation: ceDrone 12s ease-in-out infinite; }
@keyframes ceDrone { 0% { transform: translate(-30px, 120px); } 40% { transform: translate(200px, 40px); } 60% { transform: translate(260px, 46px); } 100% { transform: translate(520px, 100px); } }
.ce-ai, .ce-360 { position: absolute; font: 700 .64rem/1 ui-monospace, Consolas, monospace; letter-spacing: .06em; padding: .35rem .5rem; border-radius: 6px; }
.ce-ai { left: 14px; bottom: 16px; color: #10120d; background: var(--ac); }
.ce-360 { right: 16px; bottom: 16px; color: #fff; border: 1px solid rgba(255, 255, 255, .5); background: rgba(0, 0, 0, .35); }
.ce-timeline { display: flex; align-items: center; gap: .8rem; margin-top: .9rem; font-size: .74rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.ce-track { flex: 1; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.ce-track i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--ac2), var(--ac)); border-radius: 3px; }

/* ---------- ISS+ ---------- */
.is { display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 1rem; align-items: center; }
.is-lib { display: flex; flex-direction: column; gap: .35rem; padding: .8rem; border-radius: 16px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.is-lib-title { font-size: .62rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin-bottom: .1rem; }
.is-lib-title--pl { margin-top: .5rem; }
.is-chip { font: 700 .7rem/1 ui-monospace, Consolas, monospace; padding: .38rem .55rem; border-radius: 8px; color: var(--c); background: color-mix(in srgb, var(--c) 12%, transparent); border: 1px solid color-mix(in srgb, var(--c) 30%, transparent); animation: isChip 6s ease-in-out infinite; }
.is-chip:nth-child(3) { animation-delay: 1s; } .is-chip:nth-child(4) { animation-delay: 2s; } .is-chip:nth-child(5) { animation-delay: 3s; } .is-chip:nth-child(6) { animation-delay: 4s; } .is-chip:nth-child(7) { animation-delay: 5s; }
@keyframes isChip { 0%, 80%, 100% { transform: none; } 88% { transform: translateX(8px); box-shadow: 0 0 14px color-mix(in srgb, var(--c) 50%, transparent); } }
.is-pl { font-size: .74rem; color: var(--muted); padding: .32rem .55rem; border-radius: 8px; border: 1px dashed var(--line); }
.is-pl--on { color: var(--ink); border-style: solid; border-color: color-mix(in srgb, var(--ac) 60%, transparent); background: color-mix(in srgb, var(--ac) 12%, transparent); }
.is-screen { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #07090c; border: 8px solid #17191d; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 60px -20px color-mix(in srgb, var(--ac) 50%, transparent); }
.is-stand { grid-column: 2; width: 26%; height: 34px; margin: -1rem auto 0; background: linear-gradient(#17191d, #0d0e10); clip-path: polygon(38% 0, 62% 0, 70% 80%, 100% 100%, 0 100%, 30% 80%); }
.is-slides { position: absolute; inset: 0; }
.is-slide { position: absolute; inset: 0; opacity: 0; transform: scale(1.04); transition: opacity .8s, transform 1.2s var(--pv-ease); }
.is-slide.is-on { opacity: 1; transform: none; }
.is-slide--img svg { width: 100%; height: 100%; display: block; }
.is-cap { position: absolute; left: 6%; bottom: 22%; font-family: 'Thasadith', sans-serif; font-weight: 700; color: #fff; font-size: clamp(.9rem, 2vw, 1.4rem); text-shadow: 0 2px 10px rgba(0, 0, 0, .5); }
.is-slide--pdf { background: #e9e4dc; display: flex; gap: 6%; align-items: center; justify-content: center; padding: 6% 6% 16%; }
.is-page { width: 36%; aspect-ratio: 1 / 1.3; background: #fff; border-radius: 4px; box-shadow: 0 10px 24px rgba(0, 0, 0, .18); padding: 7%; display: flex; flex-direction: column; gap: 6%; }
.is-page b { font-size: clamp(.5rem, 1vw, .72rem); color: #3b2f22; }
.is-page i { height: 5%; background: #ddd5c8; border-radius: 2px; }
.is-page i.s { width: 60%; }
.is-page--2 { transform: rotate(3deg); }
.is-slide--video { background: radial-gradient(circle at 30% 40%, #5b3d8a, #120b1f 70%); display: grid; place-items: center; }
.is-play { width: 54px; height: 54px; border-radius: 50%; background: rgba(255, 255, 255, .9); position: relative; }
.is-play::after { content: ''; position: absolute; left: 21px; top: 16px; border-left: 17px solid #2a1d40; border-top: 11px solid transparent; border-bottom: 11px solid transparent; }
.is-vbar { position: absolute; left: 6%; right: 6%; bottom: 20%; height: 4px; background: rgba(255, 255, 255, .25); border-radius: 2px; overflow: hidden; }
.is-vbar i { display: block; width: 40%; height: 100%; background: #c79bff; animation: isV 4s linear infinite; }
@keyframes isV { from { width: 5%; } to { width: 100%; } }
.is-clock { position: absolute; right: 3%; top: 5%; padding: .35rem .6rem; border-radius: 8px; background: rgba(0, 0, 0, .45); backdrop-filter: blur(4px); text-align: right; color: #fff; line-height: 1.1; z-index: 2; }
.is-clock b { display: block; font: 700 clamp(.8rem, 1.6vw, 1.1rem)/1 ui-monospace, Consolas, monospace; letter-spacing: .04em; }
.is-clock span { font-size: .55rem; text-transform: uppercase; letter-spacing: .12em; opacity: .7; }
.is-slide--alert { background: repeating-linear-gradient(135deg, #b91c1c 0 22px, #a51616 22px 44px); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: .3rem; padding: 6% 8% 16%; }
.is-slide--alert strong { font-family: 'Thasadith', sans-serif; font-size: clamp(.9rem, 2.2vw, 1.5rem); line-height: 1.15; }
.is-slide--alert span { font-size: clamp(.55rem, 1.1vw, .8rem); opacity: .9; }
.is-alert-k { font: 700 .55rem/1 ui-monospace, Consolas, monospace !important; letter-spacing: .14em; text-transform: uppercase; padding: .3rem .5rem; border-radius: 6px; background: rgba(0, 0, 0, .3); }
.is-screen.is-alarm { box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 70px -10px rgba(239, 68, 68, .7); }
.is-screen.is-alarm .is-ticker { opacity: 0; }
.is-ticker { transition: opacity .4s; }
.is-offline { position: absolute; left: 3%; top: 5%; z-index: 2; display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .55rem; border-radius: 999px; font-size: .58rem; font-weight: 700; color: #fff; background: rgba(0, 0, 0, .55); opacity: 0; transform: translateY(-4px); transition: opacity .4s, transform .4s; }
.is-offline i { width: 7px; height: 7px; border-radius: 50%; background: #4dba86; box-shadow: 0 0 8px #4dba86; }
.is-screen.is-net-off .is-offline { opacity: 1; transform: none; }
.is-ticker { position: absolute; left: 0; right: 0; bottom: 0; height: 14%; display: flex; align-items: center; overflow: hidden; background: color-mix(in srgb, var(--ac2) 85%, #000); color: #fff; font-size: clamp(.6rem, 1.1vw, .8rem); font-weight: 700; white-space: nowrap; }
.is-ticker span { display: inline-block; padding-left: 100%; animation: isTicker 22s linear infinite; }
@keyframes isTicker { to { transform: translateX(-100%); } }

/* ---------- HEATCON ---------- */
.hc { position: relative; padding: 0 0 24px; }
.hc-app { border-radius: 20px; background: linear-gradient(160deg, #1f1612, #120c09); border: 1px solid rgba(255, 255, 255, .08); padding: 1rem; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .85), 0 0 80px -30px color-mix(in srgb, var(--ac) 60%, transparent); }
.hc-head { display: flex; justify-content: space-between; align-items: center; font-size: .86rem; margin-bottom: .8rem; padding: 0 .2rem; }
.hc-ok { font-size: .7rem; color: #7cf2c1; }
.hc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.hc-card { position: relative; border-radius: 14px; padding: .8rem; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .07); min-height: 118px; display: flex; flex-direction: column; }
.hc-k { font-size: .66rem; text-transform: uppercase; letter-spacing: .12em; color: rgba(255, 255, 255, .5); }
.hc-v { font-size: 1.3rem; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; margin-top: auto; }
.hc-tank { flex-direction: row; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; }
.hc-tank .hc-k { width: 100%; }
.hc-tankbox { width: 46px; height: 72px; border-radius: 10px; border: 2px solid rgba(255, 255, 255, .25); position: relative; overflow: hidden; }
.hc-liquid { position: absolute; left: 0; right: 0; bottom: 0; height: calc(var(--lvl) * 100%); background: linear-gradient(var(--ac), #c2410c); transition: height 1.2s var(--pv-ease); }
.hc-liquid svg { position: absolute; top: -6px; left: 0; width: 200%; height: 8px; fill: var(--ac); animation: hcWave 2.4s linear infinite; }
@keyframes hcWave { to { transform: translateX(-50%); } }
.hc-dial svg { width: 100%; max-width: 140px; margin: .2rem auto 0; display: block; }
.hc-arc-bg, .hc-arc { fill: none; stroke-width: 10; stroke-linecap: round; }
.hc-arc-bg { stroke: rgba(255, 255, 255, .08); }
.hc-arc { stroke: url(#none); stroke: var(--ac); stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--t, 64)); transition: stroke-dashoffset 1.2s var(--pv-ease); filter: drop-shadow(0 0 6px var(--ac)); }
.hc-dial .hc-v { text-align: center; margin-top: -1.6rem; }
.hc-chart { grid-column: 1 / -1; min-height: 0; }
.hc-chart svg { width: 100%; height: 70px; margin-top: .4rem; }
.hc-line { fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 420; stroke-dashoffset: 420; animation: hcDraw 3.2s var(--pv-ease) forwards; }
.hc-line--a { stroke: var(--ac); }
.hc-line--b { stroke: var(--ac2); opacity: .8; animation-delay: .4s; }
@keyframes hcDraw { to { stroke-dashoffset: 0; } }
.hc-switches { grid-column: 1 / -1; min-height: 0; flex-direction: row; gap: 1rem; flex-wrap: wrap; }
.hc-switches label { display: flex; align-items: center; justify-content: space-between; gap: .8rem; flex: 1; margin: 0; font-size: .8rem; color: rgba(255, 255, 255, .78); min-width: 150px; }
.hc-toggle { width: 38px; height: 22px; border-radius: 11px; background: rgba(255, 255, 255, .15); position: relative; transition: background .3s; flex: 0 0 38px; }
.hc-toggle::after { content: ''; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .3s var(--pv-ease); }
.hc-toggle.is-on { background: var(--ac); }
.hc-toggle.is-on::after { transform: translateX(16px); }
.hc-alert {
  position: absolute; right: -3%; bottom: 0; display: flex; gap: .7rem; align-items: center; padding: .7rem .9rem; border-radius: 14px; max-width: 290px;
  background: #fff; color: #1d130d; box-shadow: 0 20px 40px -10px rgba(0, 0, 0, .6); font-size: .78rem;
  opacity: 0; transform: translateY(16px) scale(.96); transition: opacity .4s, transform .5s var(--pv-ease);
}
.hc-alert.is-on { opacity: 1; transform: none; }
.hc-alert strong { display: block; font-size: .82rem; }
.hc-alert span { color: #6b5d55; }
.hc-alert-ico { flex: 0 0 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: color-mix(in srgb, var(--ac) 22%, #fff); color: #c2410c; }

/* ---------- AudioMonitor ---------- */
.am-card { border-radius: 20px; padding: 1.1rem; background: linear-gradient(160deg, #0b1a26, #050c12); border: 1px solid rgba(255, 255, 255, .08); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .85), 0 0 90px -30px color-mix(in srgb, var(--ac) 55%, transparent); }
.am-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: .8rem; }
.am-head strong { display: block; font-size: 1rem; }
.am-head span { font-size: .72rem; color: rgba(255, 255, 255, .5); }
.am-status { font: 700 .7rem/1 ui-monospace, Consolas, monospace; padding: .4rem .6rem; border-radius: 999px; color: #04101a !important; background: var(--ac2); transition: background .3s; }
.am-status.is-warn { background: #ffb547; }
.am-wave { display: block; width: 100%; height: 120px; border-radius: 12px; background: rgba(255, 255, 255, .03); }
.am-meters { display: grid; gap: .35rem; margin: .8rem 0; }
.am-meter { display: grid; grid-template-columns: 16px 1fr; align-items: center; gap: .5rem; font-size: .66rem; color: rgba(255, 255, 255, .5); }
.am-meter div { height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.am-meter i { display: block; height: 100%; width: 60%; background: linear-gradient(90deg, var(--ac2) 0 60%, #ffd166 75%, #ff5a4a 100%); background-size: 260px 100%; border-radius: 4px; transition: width .08s linear; }
.am-rt { display: grid; grid-template-columns: auto 1fr; gap: .7rem; align-items: center; padding: .55rem .7rem; border-radius: 10px; background: rgba(255, 255, 255, .04); font-size: .78rem; overflow: hidden; }
.am-rt-k { font-size: .6rem; text-transform: uppercase; letter-spacing: .14em; color: var(--ac); }
.am-rt-v { overflow: hidden; white-space: nowrap; }
.am-rt-v span { display: inline-block; transition: opacity .3s, transform .4s var(--pv-ease); }
.am-rt-v span.is-out { opacity: 0; transform: translateY(-8px); }
.am-foot { display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: end; margin-top: .9rem; }
.am-foot strong { display: block; font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.am-k { font-size: .62rem; text-transform: uppercase; letter-spacing: .12em; color: rgba(255, 255, 255, .45); }
.am-foot svg { width: 100%; height: 36px; }
.am-spark { fill: none; stroke: var(--ac); stroke-width: 2; stroke-linejoin: round; filter: drop-shadow(0 0 4px var(--ac)); }

/* ---------- ExamTool ---------- */
.ex { position: relative; padding: 0 0 40px; }
.ex-card { border-radius: 20px; padding: 1.2rem 1.2rem 1rem; background: #f6f8fc; color: #18223a; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .85), 0 0 90px -30px color-mix(in srgb, var(--ac) 60%, transparent); }
.ex-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.ex-head strong { display: block; font-size: 1rem; }
.ex-k { font-size: .62rem; text-transform: uppercase; letter-spacing: .14em; color: #6b7590; }
.ex-timer { position: relative; width: 52px; height: 52px; flex: 0 0 52px; }
.ex-timer svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ex-tbg, .ex-tfg { fill: none; stroke-width: 4; }
.ex-tbg { stroke: #e2e7f2; }
.ex-tfg { stroke: #3b82f6; stroke-dasharray: 100; stroke-dashoffset: 0; stroke-linecap: round; animation: exT 60s linear infinite; }
@keyframes exT { to { stroke-dashoffset: 100; } }
.ex-timer span { position: absolute; inset: 0; display: grid; place-items: center; font-size: .62rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.ex-progress { display: flex; gap: 4px; margin: .9rem 0 1rem; }
.ex-progress i { flex: 1; height: 5px; border-radius: 3px; background: #e2e7f2; transition: background .4s; }
.ex-progress i.done { background: #93c5fd; }
.ex-progress i.cur { background: #3b82f6; }
.ex-q { font-weight: 700; font-size: 1.02rem; color: #18223a; margin-bottom: .8rem; min-height: 2.6em; transition: opacity .3s; }
.ex-opts { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.ex-opts li { display: flex; align-items: center; gap: .7rem; padding: .6rem .75rem; border-radius: 12px; border: 1.5px solid #e2e7f2; background: #fff; font-size: .86rem; transition: border-color .3s, background .3s, transform .3s; }
.ex-opts li b { width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; font-size: .72rem; background: #eef2f9; color: #4b5572; flex: 0 0 24px; transition: background .3s, color .3s; }
.ex-opts li.is-pick { border-color: #3b82f6; background: #eff6ff; transform: translateX(4px); }
.ex-opts li.is-pick b { background: #3b82f6; color: #fff; }
.ex-opts li.is-right { border-color: #22c55e; background: #f0fdf4; }
.ex-opts li.is-right b { background: #22c55e; color: #fff; }
.ex-code { position: absolute; left: -5%; bottom: 0; padding: .8rem 1rem; border-radius: 16px; background: #0c1528; border: 1px solid color-mix(in srgb, var(--ac) 40%, transparent); box-shadow: 0 20px 40px -10px rgba(0, 0, 0, .7); }
.ex-code .ex-k { color: var(--ac); }
.ex-code-v { font: 700 1.25rem/1.2 ui-monospace, Consolas, monospace; letter-spacing: .14em; color: #fff; min-height: 1.5rem; margin: .2rem 0; }
.ex-code-v::after { content: '▍'; color: var(--ac); animation: pvBlink 1s steps(1) infinite; margin-left: 2px; }
.ex-code-hint { font-size: .7rem; color: rgba(255, 255, 255, .5); }

/* ---------- MiVeTool (heller View) ---------- */
.mv { position: relative; display: grid; grid-template-columns: 1fr; padding: 0 0 30px; }
.mv-paper {
  position: relative; width: 74%; aspect-ratio: 1 / 1.1; background: #fff; border-radius: 6px; padding: 7% 7%;
  box-shadow: 0 30px 60px -25px rgba(30, 40, 20, .45), 0 0 0 1px rgba(17, 24, 12, .06); transform: rotate(-2deg); display: flex; flex-direction: column; gap: 4%;
}
.mv-k { font-family: 'Thasadith', sans-serif; font-weight: 700; font-size: 1.05rem; color: #141810; padding-bottom: .6rem; border-bottom: 2px solid #92c020; margin-bottom: .4rem; }
.mv-row { display: flex; justify-content: space-between; gap: .8rem; font-size: .8rem; color: #686f62; border-bottom: 1px dashed #dfe3d6; padding-bottom: .45rem; }
.mv-row b { color: #141810; text-align: right; min-height: 1.2em; }
.mv-row b::after { content: ''; display: inline-block; width: 2px; height: 1em; vertical-align: -2px; background: #5e8a00; margin-left: 2px; opacity: 0; }
.mv-row b.is-typing::after { opacity: 1; animation: pvBlink .8s steps(1) infinite; }
.mv-sign { margin-top: auto; display: flex; gap: 12%; }
.mv-sign i { flex: 1; border-bottom: 1.5px solid #9aa290; height: 26px; position: relative; }
.mv-sign i::before { content: ''; position: absolute; left: 10%; bottom: 4px; width: 70%; height: 18px; border-bottom: 2px solid #3c5b00; border-radius: 0 0 60% 40%; transform: skewX(-20deg) scaleX(0); transform-origin: 0 50%; transition: transform .8s var(--pv-ease); }
.mv-paper.is-signed .mv-sign i::before { transform: skewX(-20deg) scaleX(1); }
.mv-badge { position: absolute; right: -8%; top: 8%; transform: rotate(8deg); padding: .45rem .8rem; border-radius: 999px; background: #92c020; color: #0b0b0b; font-weight: 700; font-size: .78rem; box-shadow: 0 10px 20px -8px rgba(60, 91, 0, .6); }
.mv-table {
  position: absolute; right: 0; bottom: 0; width: 56%; padding: .9rem; border-radius: 16px; background: #fbfcf9; border: 1px solid rgba(17, 24, 12, .1);
  box-shadow: 0 30px 60px -25px rgba(30, 40, 20, .45); font-size: .76rem; color: #141810;
}
.mv-th, .mv-tr { display: flex; justify-content: space-between; padding: .4rem .2rem; }
.mv-th { font-size: .62rem; text-transform: uppercase; letter-spacing: .12em; color: #686f62; border-bottom: 1px solid #e2e5dc; }
.mv-tr { border-bottom: 1px solid #eef0ea; }
.mv-pay { font-weight: 700; color: #3c5b00; opacity: 0; transform: scale(.8); transition: opacity .4s, transform .4s var(--pv-ease); transition-delay: calc(var(--d) * 350ms + 600ms); }
.mv-pay--open { color: #b7791f; }
.is-active .mv-pay { opacity: 1; transform: none; }
.mv-keys { display: flex; align-items: center; gap: .4rem; margin-top: .6rem; color: #4d7400; font-weight: 700; }

/* ---------- Rapporter & Supporter ---------- */
.rp { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: .8rem; }
.rp-tickets, .rp-chat, .rp-week { border-radius: 18px; background: rgba(255, 255, 255, .045); border: 1px solid rgba(255, 255, 255, .09); padding: .9rem; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }
.rp-tickets { display: grid; gap: .45rem; align-content: start; }
.rp-t { display: grid; grid-template-columns: auto 1fr auto; gap: .6rem; align-items: center; padding: .55rem .65rem; border-radius: 10px; background: rgba(255, 255, 255, .04); font-size: .78rem; }
.rp-t b { font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, .55); }
.rp-t em { font-style: normal; font-size: .64rem; font-weight: 700; padding: .15rem .5rem; border-radius: 999px; background: var(--ac); color: #1a0606; }
.rp-t em.o { background: #ffd166; }
.rp-t em.d { background: rgba(255, 255, 255, .15); color: rgba(255, 255, 255, .7); }
.rp-t--new { animation: rpNew 5s var(--pv-ease) infinite; }
@keyframes rpNew { 0% { transform: translateY(-8px); opacity: 0; } 8%, 100% { transform: none; opacity: 1; } }
.rp-chat { grid-row: span 2; display: flex; flex-direction: column; gap: .5rem; justify-content: flex-end; min-height: 250px; background: linear-gradient(180deg, rgba(255, 255, 255, .02), rgba(255, 255, 255, .06)); }
.rp-msg { max-width: 85%; padding: .55rem .75rem; border-radius: 14px; font-size: .8rem; line-height: 1.45; opacity: 0; transform: translateY(10px); transition: opacity .4s, transform .5s var(--pv-ease); }
.rp-msg.is-on { opacity: 1; transform: none; }
.rp-msg--in { align-self: flex-start; background: rgba(255, 255, 255, .1); border-bottom-left-radius: 4px; }
.rp-msg--out { align-self: flex-end; background: var(--ac); color: #1a0606; border-bottom-right-radius: 4px; font-weight: 700; }
.rp-typing { display: flex; gap: 4px; padding: .5rem .7rem; border-radius: 12px; background: rgba(255, 255, 255, .08); align-self: flex-start; opacity: 0; transition: opacity .3s; }
.rp-typing.is-on { opacity: 1; }
.rp-typing i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .6); animation: rpDot 1s infinite; }
.rp-typing i:nth-child(2) { animation-delay: .15s; } .rp-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes rpDot { 50% { transform: translateY(-4px); opacity: .4; } }
.rp-week-head { display: flex; justify-content: space-between; align-items: baseline; font-size: .7rem; color: rgba(255, 255, 255, .55); }
.rp-week-head strong { font-size: 1.2rem; color: #fff; font-variant-numeric: tabular-nums; }
.rp-bars { display: flex; align-items: flex-end; gap: 8px; height: 74px; margin-top: .6rem; }
.rp-bars i { flex: 1; border-radius: 6px 6px 3px 3px; background: linear-gradient(var(--ac), color-mix(in srgb, var(--ac) 40%, transparent)); height: calc(var(--h) * 100%); transform: scaleY(0); transform-origin: bottom; transition: transform .9s var(--pv-ease); }
.rp-bars i:nth-child(2) { transition-delay: .1s; } .rp-bars i:nth-child(3) { transition-delay: .2s; } .rp-bars i:nth-child(4) { transition-delay: .3s; } .rp-bars i:nth-child(5) { transition-delay: .4s; }
.is-active .rp-bars i { transform: none; }
.rp-days { display: flex; gap: 8px; margin-top: .3rem; }
.rp-days span { flex: 1; text-align: center; font-size: .62rem; color: rgba(255, 255, 255, .45); }

/* ============================================================
   Responsiv
   ============================================================ */
@media (max-width: 1100px) {
  .pv-features { grid-template-columns: 1fr; }
  .pv-features small { display: none; }
}
@media (max-width: 899px), (max-height: 559px) {
  /* Ohne Einrasten sind oft zwei Views gleichzeitig sichtbar: jeder View bekommt seinen eigenen Hintergrund */
  .pv-view {
    background:
      radial-gradient(90% 45% at 85% 8%, color-mix(in srgb, var(--ac) 20%, transparent), transparent 70%),
      radial-gradient(70% 40% at 0% 100%, color-mix(in srgb, var(--ac2) 12%, transparent), transparent 70%),
      var(--base, #0b0d0b);
  }
}
@media (max-width: 899px) {
  .pv-rail { display: none; }
  .pv-dock { display: flex; }
  .pv-view { padding: 88px 0 96px; scroll-snap-stop: normal; }
  .pv-inner { padding-right: clamp(1.1rem, 3vw, 2.5rem); }
  .pv-grid, .pv-intro-inner, .pv-outro-inner { grid-template-columns: 1fr; }
  .pv-visual { order: 2; max-width: 560px; width: 100%; margin: 0 auto; }
  .pv-features { grid-template-columns: 1fr 1fr; }
  .pv-features small { display: block; }
  .pv-next { display: none; }
  .pv-ghost { font-size: 40vw; bottom: auto; top: 70px; }
  .pv-dsp { grid-template-columns: 1fr; }
  .pv-dsp-logo { max-width: 200px; }
  .ec-tablet { position: relative; right: auto; bottom: auto; width: 86%; margin: -14% auto 0; }
  .ec { padding-bottom: 0; }
}
@media (max-width: 560px) {
  .pv-features { grid-template-columns: 1fr; }
  .pv-features small { display: none; }
  .pv-lead { font-size: .94rem; }
  .is { grid-template-columns: 1fr; }
  .is-lib { flex-direction: row; flex-wrap: wrap; }
  .is-lib-title--pl, .is-pl { display: none; }
  .is-stand { grid-column: 1; }
  .hc-alert { right: 0; left: 6%; }
  .ex-code { left: 0; }
  .mv-paper { width: 86%; }
  .mv-table { width: 70%; }
  .rp { grid-template-columns: 1fr; }
  .mk { grid-template-columns: 1fr; }
  .mk-phone { max-width: 200px; }
  .rp-chat { grid-row: auto; min-height: 0; }
  .pv-intro-title { font-size: 2.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  :root { transition: none; }
  .pv-js [data-reveal] { opacity: 1; transform: none; filter: none; transition: none; }
  .pv-orb, .pv-new, .pv-deck a, .pv-next .pv-ico { animation: none !important; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* ---------- ISS+ Wortmarke (animiert wie auf issplus.ch, Takt 10 s) ---------- */
.pv-wm--iss { display: block; }
.iss-wm { display: block; height: 56px; width: auto; overflow: visible; }
.iss-t { fill: #e4ebf2; font: 500 34px 'Raleway', 'Segoe UI', sans-serif; letter-spacing: -0.5px; }
.iss-plus { fill: #b8946c; }
.iss-ph, .iss-pv, .iss-schein { transform-box: fill-box; transform-origin: center; }
.iss-schein { opacity: 0; }
/* Ruhezustand = fertiges Zeichen «ISS+» */
.iss-r1, .iss-r2, .iss-r3 { opacity: 0; }
.iss-s1 { transform: translateX(-177.5px); }
@media (prefers-reduced-motion: no-preference) {
  .iss-wm { animation: issZyklus 10s linear infinite; }
  .iss-r1, .iss-r2 { animation: issWeg 10s both infinite; }
  .iss-r3 { animation: issWeg3 10s both infinite; }
  .iss-s1 { animation: issS1 10s cubic-bezier(.55, 0, .15, 1) both infinite; }
  .iss-sync { animation: issBlinken 10s step-end both infinite; }
  .iss-ph { animation: issQuer 10s cubic-bezier(.2, .9, .3, 1) both infinite; }
  .iss-pv { animation: issHoch 10s cubic-bezier(.2, .9, .3, 1) both infinite; }
  .iss-schein { animation: issSchein 10s ease-out both infinite; }
}
@keyframes issZyklus {
  0% { opacity: 0; }
  6.01% { opacity: 1; }
  93.5% { opacity: 1; }
  97.01% { opacity: 0; }
  100% { opacity: 0; }
}
@keyframes issWeg {
  0% { opacity: 1; }
  15% { opacity: 1; }
  24% { opacity: 0; }
  97.5% { opacity: 0; }
  100% { opacity: 1; }
}
@keyframes issWeg3 {
  0% { opacity: 1; }
  43.21% { opacity: 1; }
  46.8% { opacity: 0; }
  97.5% { opacity: 0; }
  100% { opacity: 1; }
}
@keyframes issS1 {
  0% { transform: translateX(0); }
  15% { transform: translateX(0); }
  24% { transform: translateX(-177.5px); }
  97.5% { transform: translateX(-177.5px); }
  100% { transform: translateX(0); }
}
@keyframes issQuer {
  0% { transform: scaleX(0); }
  47.79% { transform: scaleX(0); }
  50.21% { transform: scaleX(1); }
  97.5% { transform: scaleX(1); }
  100% { transform: scaleX(0); }
}
@keyframes issHoch {
  0% { transform: scaleY(0); }
  50.21% { transform: scaleY(0); }
  52.6% { transform: scaleY(1); }
  97.5% { transform: scaleY(1); }
  100% { transform: scaleY(0); }
}
@keyframes issSchein {
  0% { opacity: 0; transform: scale(.35); }
  52% { opacity: 0; transform: scale(.35); }
  54% { opacity: .5; }
  60.01% { opacity: 0; transform: scale(2.1); }
  100% { opacity: 0; transform: scale(2.1); }
}
@keyframes issBlinken {
  0% { opacity: 0; }
  26.94% { opacity: 0; }
  26.99% { opacity: 1; }
  28.99% { opacity: .12; }
  31.02% { opacity: 1; }
  32.81% { opacity: .12; }
  34.63% { opacity: 1; }
  36.19% { opacity: .12; }
  37.8% { opacity: 1; }
  39.18% { opacity: .12; }
  40.61% { opacity: 1; }
  41.81% { opacity: .12; }
  43.03% { opacity: 1; }
  43.99% { opacity: .12; }
  45.01% { opacity: 1; }
  45.79% { opacity: .12; }
  46.62% { opacity: 1; }
  47.22% { opacity: .12; }
  47.81% { opacity: 1; }
  48.18% { opacity: .12; }
  48.59% { opacity: 1; }
  49.19% { opacity: 1; }
  93.5% { opacity: 1; }
  97.5% { opacity: 0; }
  100% { opacity: 0; }
}

/* ---------- MiVeTool-Logo (wie auf mivetool.ch v2.7.2, Auftritt beim Einblenden des Views) ---------- */
.pv-wm--mive { display: block; }
.pv-wm--mive .mv-logo { display: block; width: 220px; height: auto; overflow: visible; }
.pv-wm--mive .mv-raute { transform-box: fill-box; transform-origin: center; }
@media (prefers-reduced-motion: no-preference) {
  .pv-wm--mive .mv-pfeil { animation: mvPfeil .6s cubic-bezier(.2, .9, .25, 1.15) .15s both; }
  .pv-wm--mive .mv-schatten { animation: mvSchatten .45s cubic-bezier(.3, 1.4, .4, 1) .55s both; }
  .pv-wm--mive .mv-mive { animation: mvSchrift .5s cubic-bezier(.2, .7, .2, 1) .45s both; }
  .pv-wm--mive .mv-tool { animation: mvSchrift .5s cubic-bezier(.2, .7, .2, 1) .6s both; }
  .pv-wm--mive .mv-raute { animation: mvRaute .55s cubic-bezier(.3, 1.5, .5, 1) 1.05s both; }
}
@keyframes mvPfeil { from { opacity: 0; transform: translateX(-18px); } to { opacity: 1; transform: none; } }
@keyframes mvSchatten { from { opacity: 0; transform: translateX(-7px); } to { opacity: 1; transform: none; } }
@keyframes mvSchrift { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }
@keyframes mvRaute { from { opacity: 0; transform: translateY(-14px) rotate(-90deg) scale(.3); } to { opacity: 1; transform: none; } }
