/* Generiert aus brand/ und apps/landing/src/assets – nicht in dist bearbeiten */
:root {
  /* OnSite-Soft design tokens (Brand v1.0) */
  --os-color-night: #020A25; /* OnSite Night */
  --os-color-navy: #0B1640; /* Deep Navy */
  --os-color-violet: #C253FE; /* Electric Violet */
  --os-color-indigo: #5A44FB; /* Indigo */
  --os-color-royal: #2342F9; /* Royal Blue */
  --os-color-azure: #007EFD; /* Azure */
  --os-color-sky: #00B4FE; /* Sky */
  --os-color-cyan: #00E9FD; /* Signal Cyan */
  --os-color-cyan-deep: #00A6F0; /* Deep Cyan */
  --os-neutral-50: #F4F6FB;
  --os-neutral-100: #E8ECF8;
  --os-neutral-200: #D3D9EC;
  --os-neutral-300: #AEB7D3;
  --os-neutral-400: #7F8AB0;
  --os-neutral-500: #5A6590;
  --os-neutral-600: #414B73;
  --os-neutral-700: #2C3559;
  --os-neutral-800: #1A2246;
  --os-neutral-900: #0B1640;
  --os-neutral-950: #020A25;
  --os-color-success: #22C55E;
  --os-color-warning: #F5A524;
  --os-color-danger: #F43F5E;
  --os-color-info: #00B4FE;
  --os-gradient-brand: linear-gradient(45deg, #C253FE 0%, #5A44FB 50%, #2342F9 100%);
  --os-gradient-signal: linear-gradient(45deg, #007EFD 0%, #01C5FD 55%, #00F5FD 100%);
  --os-gradient-spectrum: linear-gradient(90deg, #C253FE 0%, #2342F9 50%, #00E9FD 100%);
  --os-font-display: "Montserrat", ui-sans-serif, system-ui, sans-serif;
  --os-font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --os-radius-sm: 6px;
  --os-radius-md: 10px;
  --os-radius-lg: 16px;
  --os-radius-xl: 24px;
  --os-ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --os-ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --os-duration-fast: 150ms;
  --os-duration-base: 250ms;
  --os-duration-slow: 450ms;
  --os-skew: -42deg; /* Neigung der Logo-Balken */
}

/* OnSite-Soft webfonts (SIL Open Font License 1.1) – latin subset incl. Umlaute */
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/montserrat/montserrat-latin-400.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/montserrat/montserrat-latin-500.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/montserrat/montserrat-latin-600.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/montserrat/montserrat-latin-700.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/inter/inter-latin-400.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/inter/inter-latin-500.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/inter/inter-latin-600.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/inter/inter-latin-700.woff2") format("woff2"); }

/* ==========================================================================
   OnSite-Soft Website – Gestaltung nach Brand Book v1.0
   Tokens (--os-*) und Schriften werden beim Build vorangestellt.
   ========================================================================== */
:root {
  --night: var(--os-color-night);
  --navy: var(--os-color-navy);
  --royal: var(--os-color-royal);
  --cyan: var(--os-color-cyan);
  --ink: var(--os-color-navy);
  --ink-2: var(--os-neutral-600);
  --muted: var(--os-neutral-500);
  --line: #dfe4f2;
  --tint: #f4f6fb;
  --card: #fff;
  --on-dark: #e8ecf8;
  --on-dark-2: #aeb7d3;
  --radius: 16px;
  --shadow: 0 1px 2px rgb(11 22 64 / 5%), 0 18px 40px -22px rgb(11 22 64 / 28%);
  --wrap: 1200px;
  --header-h: 68px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: #fff; color: var(--ink);
  font: 400 16px/1.6 var(--os-font-body);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--royal); }
h1, h2, h3 { font-family: var(--os-font-display); font-weight: 600; letter-spacing: -0.015em; line-height: 1.15; margin: 0; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -48px; z-index: 100; background: #fff; color: var(--navy); padding: 10px 14px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid rgb(0 180 254 / 55%); outline-offset: 2px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 860px; }
.wrap.wide { max-width: 1320px; }
.center-text { text-align: center; }
.center-flex { justify-content: center; }
.overline { font: 600 0.75rem/1.2 var(--os-font-display); text-transform: uppercase; letter-spacing: 0.22em; color: var(--os-color-cyan-deep); margin-bottom: 14px; }
.overline-light { color: var(--cyan); }
.lead { font-size: 1.125rem; color: var(--ink-2); margin-top: 16px; max-width: 46rem; }
.grad { display: block; background: linear-gradient(90deg, #c77dff 0%, #7a6bff 35%, #3d8bff 65%, #00e9fd 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px; border-radius: 12px; border: 1px solid transparent;
  font: 600 0.95rem/1 var(--os-font-body); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform var(--os-duration-fast) var(--os-ease-out), background var(--os-duration-fast), box-shadow var(--os-duration-base), border-color var(--os-duration-fast);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--royal); color: #fff; box-shadow: 0 10px 24px -10px rgb(35 66 249 / 70%); }
.btn-primary:hover { background: #3a56ff; box-shadow: 0 14px 30px -10px rgb(35 66 249 / 80%); }
.btn-ghost { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--royal); color: var(--royal); }
.btn-glass { background: rgb(255 255 255 / 8%); color: #fff; border-color: rgb(255 255 255 / 18%); backdrop-filter: blur(6px); }
.btn-glass:hover { background: rgb(255 255 255 / 14%); }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 0.9rem; }
.btn-lg { min-height: 52px; padding: 0 26px; font-size: 1rem; }
.btn-block { width: 100%; }

/* ---------- Navigation ---------- */
.nav { position: sticky; top: 0; z-index: 50; height: var(--header-h); background: rgb(2 10 37 / 82%); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid rgb(174 183 211 / 10%); }
.nav-in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand img { height: 32px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a:not(.btn) { color: var(--on-dark); text-decoration: none; font-size: 0.93rem; font-weight: 500; padding: 8px 12px; border-radius: 8px; display: inline-flex; align-items: center; gap: 6px; }
.nav-links a:not(.btn):hover { background: rgb(255 255 255 / 7%); color: #fff; }
.nav-links .nav-lang { color: var(--on-dark-2); }
.nav-links .btn { margin-left: 8px; }
.nav-toggle { display: none; background: none; border: 0; color: #fff; padding: 8px; border-radius: 8px; cursor: pointer; }
@media (max-width: 1040px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px 16px 20px; background: rgb(2 10 37 / 97%); border-bottom: 1px solid rgb(174 183 211 / 14%);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility 0s .2s;
  }
  .nav-links a:not(.btn) { padding: 12px; font-size: 1rem; }
  .nav-links .btn { margin: 8px 0 0; min-height: 48px; }
  .nav.open .nav-links { opacity: 1; transform: none; visibility: visible; transition: opacity .2s, transform .2s; }
}

/* ---------- Hero ---------- */
.hero, .demo-hero { position: relative; background: var(--night); color: #fff; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; background: url('/assets/keyvisual.svg') center / cover no-repeat; opacity: .95; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: radial-gradient(1200px 500px at 70% 0%, transparent, rgb(2 10 37 / 55%)), linear-gradient(180deg, transparent 70%, var(--night)); }
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 88px; }
.hero h1, .demo-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 700; letter-spacing: -0.025em; line-height: 1.06; }
.hero-lead { font-size: 1.15rem; line-height: 1.6; color: var(--on-dark); margin-top: 22px; max-width: 36rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-points { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--on-dark-2); font-size: 0.9rem; }
.hero-points li { display: inline-flex; align-items: center; gap: 6px; }
.hero-points svg { color: var(--cyan); }
.hero-demo { position: relative; }
.hero-demo-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; color: var(--cyan); font-weight: 600; font-size: 0.92rem; text-decoration: none; }
.hero-demo-link:hover { text-decoration: underline; }
@media (max-width: 960px) {
  .hero-in { grid-template-columns: 1fr; gap: 40px; padding-top: 48px; padding-bottom: 64px; }
}

/* ---------- Fakten ---------- */
.facts { background: var(--night); color: #fff; border-top: 1px solid rgb(174 183 211 / 10%); }
.facts-in { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 28px 20px; border-left: 1px solid rgb(174 183 211 / 12%); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact strong { display: block; font: 700 1.6rem/1.1 var(--os-font-display); background: var(--os-gradient-signal); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fact span { display: block; margin-top: 6px; color: var(--on-dark-2); font-size: 0.9rem; line-height: 1.45; }
@media (max-width: 820px) {
  .facts-in { grid-template-columns: 1fr 1fr; }
  .fact { padding: 20px 14px; border-left: 0; }
  .fact:first-child { padding-left: 14px; }
  .fact:nth-child(-n+2) { border-bottom: 1px solid rgb(174 183 211 / 12%); }
  .fact:nth-child(even) { border-left: 1px solid rgb(174 183 211 / 12%); }
}

/* ---------- Sektionen ---------- */
.sec { padding: 104px 0; }
.sec-light { background: #fff; }
.sec-tint { background: var(--tint); }
.sec-dark { background: var(--night); color: #fff; }
.sec-dark .lead { color: var(--on-dark); }
.sec-head { margin-bottom: 56px; }
.sec-head h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); max-width: 48rem; }
.sec-head.center { text-align: center; }
.sec-head.center h2, .sec-head.center .lead { margin-left: auto; margin-right: auto; }
@media (max-width: 720px) { .sec { padding: 72px 0; } .sec-head { margin-bottom: 36px; } }

/* Vorher / Nachher */
.ba { display: grid; gap: 14px; max-width: 980px; margin: 0 auto; }
.ba-row { display: grid; grid-template-columns: 1fr 44px 1fr; align-items: stretch; gap: 12px; }
.ba-before, .ba-after { border-radius: 14px; padding: 18px 20px; font-size: 0.98rem; line-height: 1.5; }
.ba-before { background: var(--tint); color: var(--ink-2); }
.ba-after { background: linear-gradient(135deg, rgb(35 66 249 / 7%), rgb(0 233 253 / 7%)); border: 1px solid rgb(35 66 249 / 16%); color: var(--navy); font-weight: 500; }
.ba-l { display: block; font: 600 0.68rem/1 var(--os-font-display); text-transform: uppercase; letter-spacing: 0.18em; color: var(--muted); margin-bottom: 8px; }
.ba-after .ba-l { color: var(--royal); }
.ba-arrow { display: grid; place-items: center; color: var(--royal); }
@media (max-width: 720px) { .ba-row { grid-template-columns: 1fr; gap: 6px; } .ba-arrow { transform: rotate(90deg); height: 24px; } }

/* Funktionen */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .25s var(--os-ease-out), box-shadow .25s, border-color .25s; }
.feat:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgb(35 66 249 / 25%); }
.feat-ic { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: var(--os-gradient-brand); margin-bottom: 18px; box-shadow: 0 10px 22px -12px rgb(90 68 251 / 80%); }
.feat:nth-child(3n+2) .feat-ic { background: var(--os-gradient-signal); box-shadow: 0 10px 22px -12px rgb(0 126 253 / 80%); }
.feat h3 { font-size: 1.15rem; margin-bottom: 8px; }
.feat p { color: var(--ink-2); font-size: 0.95rem; }
@media (max-width: 960px) { .feat-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .feat-grid { grid-template-columns: 1fr; } .feat { padding: 22px; } }

/* Branchen */
.ind-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ind { padding: 26px 24px; border-radius: var(--radius); background: linear-gradient(160deg, rgb(35 66 249 / 6%), rgb(0 233 253 / 5%)); border: 1px solid rgb(35 66 249 / 12%); }
.ind h3 { font-size: 1.08rem; margin-bottom: 10px; }
.ind p { color: var(--ink-2); font-size: .94rem; }
@media (max-width: 1000px) { .ind-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ind-grid { grid-template-columns: 1fr; } }

/* Ablauf */
.flow { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: f; position: relative; }
.flow::before { content: ''; position: absolute; top: 26px; left: 12%; right: 12%; height: 2px; background: var(--os-gradient-spectrum); opacity: .35; }
.flow li { position: relative; text-align: center; padding: 0 8px; }
.flow-n { position: relative; display: grid; place-items: center; width: 54px; height: 54px; margin: 0 auto 18px; border-radius: 50%; background: var(--night); color: #fff; font: 700 1.25rem/1 var(--os-font-display); box-shadow: 0 0 0 6px var(--tint), 0 0 0 7px var(--line); }
.flow h3 { font-size: 1.1rem; margin-bottom: 8px; }
.flow p { color: var(--ink-2); font-size: 0.95rem; }
@media (max-width: 820px) { .flow { grid-template-columns: 1fr 1fr; row-gap: 36px; } .flow::before { display: none; } }
@media (max-width: 480px) { .flow { grid-template-columns: 1fr; } }

/* Demo-Band */
.demo-band { position: relative; overflow: hidden; }
.demo-band::before { content: ''; position: absolute; inset: 0; background: radial-gradient(700px 380px at 90% 10%, rgb(106 43 255 / 30%), transparent 70%), radial-gradient(600px 360px at 0% 100%, rgb(0 200 255 / 22%), transparent 70%); }
.demo-band-in { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.demo-band h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); }
.demo-band .btn { margin-top: 28px; }
.chapters-teaser { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.chapters-teaser a { display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-radius: 12px; background: rgb(255 255 255 / 5%); border: 1px solid rgb(174 183 211 / 14%); color: #fff; text-decoration: none; font-weight: 500; transition: background .2s, border-color .2s, transform .2s; }
.chapters-teaser a:hover { background: rgb(255 255 255 / 9%); border-color: rgb(0 233 253 / 40%); transform: translateX(4px); }
.chapters-teaser span { font: 700 0.85rem/1 var(--os-font-display); color: var(--cyan); }
@media (max-width: 860px) { .demo-band-in { grid-template-columns: 1fr; gap: 36px; } }

/* Sicherheit */
.sec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 40px; }
.sec-item h3 { font-size: 1.08rem; margin: 14px 0 8px; }
.sec-item p { color: var(--ink-2); font-size: 0.95rem; }
.sec-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: var(--royal); background: rgb(35 66 249 / 8%); }
@media (max-width: 900px) { .sec-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .sec-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Preise ---------- */
.cur-switch { display: inline-flex; margin-top: 28px; padding: 4px; border-radius: 12px; background: var(--tint); border: 1px solid var(--line); }
.cur-switch button { border: 0; background: none; padding: 8px 16px; border-radius: 9px; font-weight: 600; font-size: 0.9rem; color: var(--ink-2); cursor: pointer; }
.cur-switch button[aria-pressed='true'] { background: #fff; color: var(--navy); box-shadow: 0 1px 3px rgb(11 22 64 / 14%); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 32px 28px 28px; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.plan h3 { font-size: 1.4rem; }
.plan-tag { color: var(--ink-2); font-size: 0.93rem; margin-top: 6px; min-height: 3.2em; }
.plan-price { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.plan-price .money { font: 700 2.4rem/1 var(--os-font-display); letter-spacing: -0.02em; color: var(--navy); }
.plan-price > span:last-child { color: var(--muted); font-size: 0.9rem; }
.plan-month { color: var(--muted); font-size: 0.85rem; margin-top: 6px; }
.plan-list { list-style: none; padding: 0; margin: 24px 0 28px; display: grid; gap: 10px; flex: 1; }
.plan-list li { display: flex; gap: 10px; font-size: 0.94rem; line-height: 1.4; }
.plan-list svg { flex: none; color: var(--os-color-cyan-deep); margin-top: 1px; }
.plan-rec { background: var(--night); color: #fff; border-color: transparent; box-shadow: 0 30px 60px -30px rgb(35 66 249 / 70%); }
.plan-rec::before { content: ''; position: absolute; inset: -1px; border-radius: 21px; padding: 1.5px; background: var(--os-gradient-spectrum); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.plan-rec .plan-tag, .plan-rec .plan-month, .plan-rec .plan-price > span:last-child { color: var(--on-dark-2); }
.plan-rec .plan-price .money { color: #fff; }
.plan-rec .plan-list svg { color: var(--cyan); }
.plan-badge { position: absolute; top: -13px; left: 28px; padding: 5px 12px; border-radius: 999px; background: var(--os-gradient-brand); color: #fff; font: 600 0.72rem/1 var(--os-font-display); letter-spacing: 0.1em; text-transform: uppercase; }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } .plan-tag { min-height: 0; } .plan-rec { order: -1; } }

.enterprise { margin-top: 20px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 28px; border-radius: 20px; background: var(--tint); border: 1px solid var(--line); }
.enterprise h3 { font-size: 1.15rem; }
.enterprise p { color: var(--ink-2); font-size: 0.95rem; margin-top: 4px; }
@media (max-width: 720px) { .enterprise { flex-direction: column; align-items: flex-start; } }

.starter { margin-top: 20px; display: grid; grid-template-columns: 1.6fr 1fr; gap: 32px; align-items: center; padding: 30px 32px; border-radius: 20px; background: linear-gradient(135deg, rgb(35 66 249 / 6%), rgb(0 233 253 / 6%)); border: 1px solid rgb(35 66 249 / 16%); }
.starter h3 { font-size: 1.25rem; }
.starter-copy > p { color: var(--ink-2); font-size: .95rem; margin-top: 6px; }
.starter-list { grid-template-columns: 1fr 1fr; margin: 18px 0 0; }
.starter-price { text-align: left; padding-left: 32px; border-left: 1px solid rgb(35 66 249 / 16%); }
.starter-price .plan-price { margin-top: 0; }
.starter-price .plan-price .money { font-size: 2.4rem; color: var(--navy); }
.starter-own { margin-top: 16px; font-size: .9rem; color: var(--ink-2); }
.starter-own .money { font-weight: 600; color: var(--navy); }
@media (max-width: 860px) { .starter { grid-template-columns: 1fr; padding: 24px; } .starter-price { padding: 20px 0 0; border-left: 0; border-top: 1px solid rgb(35 66 249 / 16%); } }
@media (max-width: 520px) { .starter-list { grid-template-columns: 1fr; } }
.calc-once { padding-top: 4px; }
.calc-once-h dt { font: 600 .72rem/1 var(--os-font-display); text-transform: uppercase; letter-spacing: .16em; color: var(--on-dark-2); }
.calc-lines .calc-first { padding-top: 10px; border-top: 1px solid rgb(174 183 211 / 18%); color: #fff; font-weight: 600; }
.calc-grid { margin-top: 64px; display: grid; grid-template-columns: 1.2fr 1fr 0.9fr; gap: 20px; align-items: start; }
.calc, .calc-out, .volume { border-radius: 20px; padding: 28px; }
.calc { background: #fff; border: 1px solid var(--line); }
.calc h3, .volume h3 { font-size: 1.15rem; margin-bottom: 18px; }
.calc fieldset { border: 0; padding: 0; margin: 0 0 20px; display: flex; flex-wrap: wrap; gap: 6px; }
.calc legend { font-size: 0.85rem; font-weight: 600; color: var(--ink-2); margin-bottom: 8px; padding: 0; }
.seg { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line); font-size: 0.9rem; font-weight: 500; cursor: pointer; transition: all .15s; }
.seg input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.seg input:focus-visible + span { outline: 3px solid rgb(0 180 254 / 55%); outline-offset: 2px; }
.calc-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 10px; }
.calc-row label { font-size: 0.92rem; font-weight: 500; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; flex: none; }
.stepper button { width: 40px; height: 40px; border: 0; background: var(--tint); font-size: 1.2rem; cursor: pointer; color: var(--navy); }
.stepper button:hover { background: #e8ecf8; }
.stepper input { width: 64px; height: 40px; border: 0; text-align: center; font-weight: 600; -moz-appearance: textfield; }
.stepper input::-webkit-inner-spin-button, .stepper input::-webkit-outer-spin-button { -webkit-appearance: none; }
.range { width: 100%; margin: 4px 0 22px; accent-color: var(--royal); }
.calc-out { background: var(--night); color: #fff; position: sticky; top: calc(var(--header-h) + 16px); }
.calc-lines { margin: 0 0 18px; display: grid; gap: 10px; }
.calc-lines > div { display: flex; justify-content: space-between; gap: 12px; font-size: 0.93rem; color: var(--on-dark); }
.calc-lines dt small { color: var(--on-dark-2); }
.calc-lines dd { margin: 0; font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc-total { padding: 18px 0 20px; border-top: 1px solid rgb(174 183 211 / 18%); display: grid; gap: 4px; margin-bottom: 18px; }
.calc-total span { color: var(--on-dark-2); font-size: 0.85rem; }
.calc-total strong { font: 700 2.2rem/1.1 var(--os-font-display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.calc-total small { color: var(--cyan); font-size: 0.88rem; }
.calc-ent { font-size: 0.9rem; color: var(--cyan); margin-bottom: 16px; }
.volume { background: var(--tint); }
.volume p { color: var(--ink-2); font-size: 0.9rem; margin: -10px 0 14px; }
.volume table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.volume th { text-align: left; font-weight: 500; padding: 10px 0; border-bottom: 1px solid var(--line); }
.volume td { text-align: right; font-weight: 600; color: var(--royal); padding: 10px 0; border-bottom: 1px solid var(--line); }
.volume tr:last-child th, .volume tr:last-child td { border-bottom: 0; }
@media (max-width: 1040px) { .calc-grid { grid-template-columns: 1fr 1fr; } .volume { grid-column: 1 / -1; } }
@media (max-width: 720px) { .calc-grid { grid-template-columns: 1fr; } .calc-out { position: static; } .calc, .calc-out, .volume { padding: 22px; } }

.compare { margin-top: 48px; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.compare summary { list-style: none; cursor: pointer; padding: 20px 28px; font-weight: 600; display: flex; align-items: center; justify-content: space-between; }
.compare summary::-webkit-details-marker { display: none; }
.compare summary::after { content: '+'; font-size: 1.4rem; color: var(--royal); line-height: 1; }
.compare[open] summary::after { content: '−'; }
.compare .c-hide, .compare[open] .c-show { display: none; }
.compare[open] .c-hide { display: inline; }
.matrix-wrap { overflow-x: auto; border-top: 1px solid var(--line); }
.matrix { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 0.92rem; }
.matrix th, .matrix td { padding: 12px 20px; border-bottom: 1px solid var(--line); }
.matrix thead th { text-align: center; font: 600 1rem var(--os-font-display); background: var(--tint); position: sticky; top: 0; }
.matrix tbody th { text-align: left; font-weight: 400; }
.matrix td { text-align: center; width: 18%; }
.matrix td svg { margin: 0 auto; }
.m-yes { color: var(--os-color-cyan-deep); }
.m-no { color: var(--os-neutral-300); }
.m-txt { font-size: 0.85rem; color: var(--ink-2); }
.m-group th { background: #fafbfe; font: 600 0.72rem/1 var(--os-font-display) !important; text-transform: uppercase; letter-spacing: 0.16em; color: var(--muted); padding-top: 18px !important; }
.price-notes { margin: 28px auto 0; padding: 0; list-style: none; color: var(--muted); font-size: 0.86rem; display: grid; gap: 6px; text-align: center; max-width: 52rem; }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--royal); border-bottom: 2px solid var(--royal); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 22px 20px; color: var(--ink-2); }

/* Kontakt */
.contact { position: relative; overflow: hidden; }
.contact::before { content: ''; position: absolute; inset: 0; background: radial-gradient(800px 400px at 100% 0%, rgb(106 43 255 / 26%), transparent 70%), radial-gradient(700px 400px at 0% 100%, rgb(0 200 255 / 18%), transparent 70%); }
.contact-in { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: start; }
.contact h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); }
.contact-mail { margin-top: 28px; display: flex; align-items: center; gap: 10px; color: var(--on-dark-2); }
.contact-mail a { color: #fff; font-weight: 600; }
.contact-form { display: grid; gap: 14px; padding: 28px; border-radius: 20px; background: rgb(255 255 255 / 5%); border: 1px solid rgb(174 183 211 / 16%); backdrop-filter: blur(6px); }
.contact-form label { display: grid; gap: 6px; font-size: 0.85rem; color: var(--on-dark); font-weight: 500; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; min-height: 46px; padding: 10px 14px; border-radius: 10px; border: 1px solid rgb(174 183 211 / 24%); background: rgb(2 10 37 / 60%); color: #fff; font-size: 1rem; }
.contact-form select option { color: var(--navy); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgb(0 233 253 / 20%); }
.contact-form .hint { font-size: 0.8rem; color: var(--on-dark-2); }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 860px) { .contact-in { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 480px) { .f2 { grid-template-columns: 1fr; } .contact-form { padding: 20px; } }

/* Footer */
.footer { background: var(--night); color: var(--on-dark-2); border-top: 1px solid rgb(174 183 211 / 10%); padding: 64px 0 28px; font-size: 0.92rem; }
.footer-in { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer-brand img { width: 210px; height: auto; }
.footer-brand p { margin-top: 16px; max-width: 22rem; }
.footer-h { font: 600 0.75rem/1 var(--os-font-display); letter-spacing: 0.18em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.footer a { display: block; color: var(--on-dark-2); text-decoration: none; padding: 5px 0; }
.footer a:hover { color: #fff; }
.footer-base { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgb(174 183 211 / 10%); font-size: 0.82rem; }
@media (max-width: 720px) { .footer-in { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* Rechtliches */
.page-legal { background: #fff; }
.legal { padding-top: 56px; padding-bottom: 96px; }
.legal h1 { font-size: 2.2rem; margin-bottom: 24px; }
.legal h2 { font-size: 1.15rem; margin: 32px 0 10px; }
.legal p { color: var(--ink-2); margin-bottom: 8px; }
.legal .muted { color: var(--muted); margin-top: 32px; font-size: 0.9rem; }
.pending { background: #fff4d6; color: #8a5a00; padding: 0 6px; border-radius: 4px; font-style: normal; }

/* Demo-Seite */
.demo-hero { padding: 56px 0 72px; }
.demo-intro { margin-bottom: 36px; }
/* Bühne immer ganz sichtbar: Breite an die Fensterhöhe koppeln */
.page-demo .dp-shell > div { width: 100%; justify-self: center; max-width: max(560px, calc((100vh - var(--header-h) - 110px) * 1.6)); }
@media (max-width: 900px) { .page-demo .dp-shell > div { max-width: none; } }

/* Ablauf der Demo als Text */
.transcript { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.transcript > li { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px 26px; }
.transcript h3 { display: flex; gap: 12px; align-items: baseline; font-size: 1.15rem; margin-bottom: 10px; }
.transcript h3 span { font-size: .85rem; color: var(--os-color-cyan-deep); }
.transcript ol { margin: 0; padding-left: 1.2em; color: var(--ink-2); display: grid; gap: 6px; }
.demo-hero .hero-lead { max-width: 44rem; }

/* 404 */
.page-404 { background: var(--night); color: #fff; min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 24px; }
.nf img { margin: 0 auto 24px; }
.nf h1 { font-size: 4rem; }
.nf p { color: var(--on-dark-2); margin: 12px 0 24px; }
.nf .btn { margin: 0 4px; }

/* Einblenden beim Scrollen */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--os-ease-out), transform .6s var(--os-ease-out); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

@media (max-width: 480px) {
  .wrap { padding: 0 16px; }
  .hero-cta .btn { width: 100%; }
}

/* ==========================================================================
   Online-Demo: Player (dp-*) und nachgebaute Oberflächen (m-* Portal, k-* Kiosk)
   Die Bühne hat eine feste Größe von 1280 × 800 und wird skaliert.
   ========================================================================== */
.demo-player { position: relative; }
.dp { color: #fff; }
.dp-shell { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 20px; }
.dp[data-mode='embed'] .dp-shell { display: block; }

/* Kapitel */
.dp-chapters { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; align-content: start; }
.dp-chapters button {
  width: 100%; text-align: left; display: grid; grid-template-columns: 28px 1fr; gap: 2px 10px; align-items: center;
  padding: 12px 14px; border-radius: 12px; border: 1px solid rgb(174 183 211 / 14%); background: rgb(255 255 255 / 4%);
  color: var(--on-dark); cursor: pointer; font-size: 0.92rem; font-weight: 500; transition: background .2s, border-color .2s;
}
.dp-chapters button:hover { background: rgb(255 255 255 / 8%); }
.dp-chapters .n { font: 700 0.8rem/1 var(--os-font-display); color: var(--on-dark-2); }
.dp-chapters .bar { grid-column: 2; height: 3px; border-radius: 3px; background: rgb(174 183 211 / 18%); overflow: hidden; margin-top: 6px; }
.dp-chapters .bar i { display: block; height: 100%; width: 0; background: var(--os-gradient-signal); transition: width .5s var(--os-ease-out); }
.dp-chapters [aria-current='step'] { background: rgb(35 66 249 / 22%); border-color: rgb(0 233 253 / 45%); color: #fff; }
.dp-chapters [aria-current='step'] .n { color: var(--cyan); }
.dp-chapters .done .bar i { width: 100% !important; }

/* Bühne */
.dp-frame { position: relative; border-radius: 18px; overflow: hidden; background: #050d2c; box-shadow: 0 40px 80px -40px rgb(0 0 0 / 80%), 0 0 0 1px rgb(174 183 211 / 14%); }
.dp[data-mode='embed'] .dp-frame { border-radius: 14px; box-shadow: 0 30px 70px -30px rgb(0 0 0 / 90%), 0 0 0 1px rgb(174 183 211 / 18%); }
.dp-viewport { position: relative; width: 100%; aspect-ratio: 1280 / 800; overflow: hidden; }
.dp-stage { position: absolute; left: 0; top: 0; width: 1280px; height: 800px; transform-origin: 0 0; color: var(--os-color-navy); font: 400 15px/1.45 var(--os-font-body); overflow: hidden; }
.dp-scene { position: absolute; inset: 0; animation: dpIn .45s var(--os-ease-out); }
@keyframes dpIn { from { opacity: 0; transform: scale(.985); } to { opacity: 1; transform: none; } }

/* Steuerleiste */
.dp-bar { display: flex; align-items: center; gap: 14px; margin-top: 14px; }
.dp-btn { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; border: 1px solid rgb(174 183 211 / 18%); background: rgb(255 255 255 / 6%); color: #fff; cursor: pointer; }
.dp-btn:hover { background: rgb(255 255 255 / 12%); }
.dp-btn.play { background: var(--os-color-royal); border-color: transparent; }
.dp-caption { flex: 1; min-height: 44px; display: flex; align-items: center; gap: 12px; font-size: 1rem; line-height: 1.45; color: #fff; }
.dp-caption b { flex: none; font: 700 0.75rem/1 var(--os-font-display); color: var(--cyan); letter-spacing: 0.08em; }
.dp-mode { display: inline-flex; padding: 3px; border-radius: 11px; background: rgb(255 255 255 / 6%); border: 1px solid rgb(174 183 211 / 16%); flex: none; }
.dp-mode button { border: 0; background: none; color: var(--on-dark-2); padding: 8px 12px; border-radius: 8px; font-size: 0.85rem; font-weight: 600; cursor: pointer; }
.dp-mode button[aria-pressed='true'] { background: rgb(255 255 255 / 14%); color: #fff; }
.dp[data-mode='embed'] .dp-bar { margin-top: 12px; }
.dp[data-mode='embed'] .dp-caption { font-size: 0.92rem; color: var(--on-dark); min-height: 2.9em; }
@media (max-width: 900px) {
  .dp-shell { grid-template-columns: 1fr; }
  .dp-chapters { grid-auto-flow: column; grid-auto-columns: minmax(150px, 1fr); overflow-x: auto; order: 2; padding-bottom: 4px; scrollbar-width: thin; }
  .dp-chapters button { padding: 10px 12px; font-size: 0.85rem; }
  .dp-bar { flex-wrap: wrap; }
  .dp-caption { order: -1; flex-basis: 100%; }
  .dp-mode { margin-left: auto; }
}

/* Start-Overlay */
.dp-start { position: absolute; inset: 0; z-index: 30; display: grid; place-items: center; background: radial-gradient(800px 400px at 50% 40%, rgb(35 66 249 / 35%), rgb(2 10 37 / 92%)); text-align: center; padding: 24px; }
.dp-start img { width: 120px; margin: 0 auto 18px; }
.dp-start h3 { font-size: clamp(1.2rem, 2.6vw, 1.8rem); color: #fff; }
.dp-start p { color: var(--on-dark-2); margin: 8px auto 22px; max-width: 30rem; font-size: 0.95rem; }
.dp-start .row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
@media (max-width: 560px) { .dp-start img, .dp-start p { display: none; } .dp-start h3 { font-size: 1rem; margin-bottom: 12px; } .dp-start .btn { min-height: 40px; font-size: .88rem; } }

/* Cursor, Klick, Hinweis */
.dp-cursor { position: absolute; z-index: 40; left: 640px; top: 820px; width: 28px; height: 28px; pointer-events: none; transition-property: left, top; transition-timing-function: cubic-bezier(.45, .05, .25, 1); filter: drop-shadow(0 4px 6px rgb(0 0 0 / 35%)); }
.dp-ripple { position: absolute; z-index: 39; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; border: 3px solid var(--os-color-cyan); pointer-events: none; animation: dpRipple .6s ease-out forwards; }
@keyframes dpRipple { from { transform: scale(.3); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.dp-hot { position: absolute; z-index: 38; border-radius: 14px; pointer-events: none; box-shadow: 0 0 0 3px var(--os-color-cyan), 0 0 0 9999px rgb(2 10 37 / 30%); animation: dpHot 1.4s ease-in-out infinite; }
@keyframes dpHot { 50% { box-shadow: 0 0 0 7px rgb(0 233 253 / 55%), 0 0 0 9999px rgb(2 10 37 / 30%); } }
.dp-hot-label { position: absolute; z-index: 41; padding: 8px 12px; border-radius: 10px; background: var(--os-color-cyan); color: var(--os-color-night); font: 700 15px/1 var(--os-font-body); white-space: nowrap; pointer-events: none; }
.dp-interactive [data-hot-target] { cursor: pointer; }
.pressed { transform: scale(.96); filter: brightness(.95); }

/* Toast in der Bühne */
.m-toast { position: absolute; z-index: 35; right: 28px; bottom: 28px; display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 12px; background: var(--os-color-night); color: #fff; font-weight: 500; box-shadow: 0 20px 40px -10px rgb(2 10 37 / 50%); animation: tIn .4s var(--os-ease-out); max-width: 520px; }
.m-toast i { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #22c55e; color: #fff; font-style: normal; font-weight: 700; }
@keyframes tIn { from { opacity: 0; transform: translateY(14px); } }

/* ---------------- Portal ---------------- */
.m-browser { position: absolute; inset: 0; display: flex; flex-direction: column; background: #f4f6fb; }
.m-chrome { height: 44px; flex: none; display: flex; align-items: center; gap: 14px; padding: 0 16px; background: #e6e9f3; border-bottom: 1px solid #d3d9ec; }
.m-dots { display: flex; gap: 7px; } .m-dots i { width: 12px; height: 12px; border-radius: 50%; background: #c5cbe0; }
.m-dots i:nth-child(1) { background: #ff5f57; } .m-dots i:nth-child(2) { background: #febc2e; } .m-dots i:nth-child(3) { background: #28c840; }
.m-url { flex: 1; max-width: 560px; margin: 0 auto; height: 28px; border-radius: 8px; background: #fff; display: flex; align-items: center; gap: 8px; padding: 0 12px; font-size: 13px; color: #5a6590; }
.m-url svg { color: #22c55e; }
.m-app { flex: 1; display: grid; grid-template-columns: 228px 1fr; min-height: 0; }
.m-side { background: #020a25; color: #c9d0e6; padding: 18px 12px; display: flex; flex-direction: column; gap: 2px; }
.m-side .m-logo { height: 26px; margin: 2px 8px 20px; width: auto; }
.m-tenant { margin: 0 6px 16px; padding: 10px 12px; border-radius: 10px; background: rgb(255 255 255 / 6%); font-size: 12.5px; line-height: 1.3; }
.m-tenant b { display: block; color: #fff; font-size: 13.5px; }
.m-nav { display: flex; align-items: center; gap: 11px; padding: 9px 12px; border-radius: 9px; font-size: 14px; font-weight: 500; }
.m-nav svg { width: 18px; height: 18px; opacity: .8; }
.m-nav.on { background: rgb(35 66 249 / 32%); color: #fff; box-shadow: inset 3px 0 0 #00e9fd; }
.m-nav .m-badge { margin-left: auto; }
.m-main { display: flex; flex-direction: column; min-width: 0; position: relative; overflow: hidden; }
.m-top { height: 60px; flex: none; display: flex; align-items: center; justify-content: space-between; padding: 0 28px; background: #fff; border-bottom: 1px solid #dfe4f2; }
.m-site { display: flex; align-items: center; gap: 8px; padding: 7px 12px; border: 1px solid #dfe4f2; border-radius: 9px; font-size: 14px; font-weight: 500; }
.m-site i { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; }
.m-user { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; }
.m-av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: #fff; font: 600 13px/1 var(--os-font-display); background: var(--os-gradient-brand); flex: none; }
.m-body { flex: 1; padding: 26px 28px; overflow: hidden; position: relative; }
.m-ph { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 20px; }
.m-ph h1 { font: 600 26px/1.2 var(--os-font-display); color: #0b1640; margin: 0; }
.m-ph p { color: #5a6590; font-size: 14px; margin-top: 4px; }
.m-btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 10px; border: 1px solid #dfe4f2; background: #fff; font: 600 14px/1 var(--os-font-body); color: #0b1640; transition: transform .12s, background .2s; }
.m-primary { background: #2342f9; border-color: #2342f9; color: #fff; }
.m-danger { background: #e11d48; border-color: #e11d48; color: #fff; }
.m-ok-btn { background: #16a34a; border-color: #16a34a; color: #fff; }
.m-card { background: #fff; border: 1px solid #dfe4f2; border-radius: 14px; }
.m-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 18px; }
.m-kpi { padding: 16px 18px; }
.m-kpi span { font-size: 13px; color: #5a6590; }
.m-kpi b { display: block; font: 700 30px/1.15 var(--os-font-display); color: #0b1640; font-variant-numeric: tabular-nums; }
.m-kpi.hl { background: #020a25; border-color: #020a25; } .m-kpi.hl span { color: #aeb7d3; } .m-kpi.hl b { color: #fff; }
.m-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.m-table th { text-align: left; font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: #7f8ab0; padding: 12px 16px; border-bottom: 1px solid #dfe4f2; }
.m-table td { padding: 12px 16px; border-bottom: 1px solid #eef1f9; vertical-align: middle; }
.m-table tr:last-child td { border-bottom: 0; }
.m-table .who { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.m-table .who small { display: block; font-weight: 400; color: #7f8ab0; font-size: 12.5px; }
.m-table tr.new { animation: rowIn .8s var(--os-ease-out); background: rgb(0 233 253 / 9%); }
@keyframes rowIn { from { opacity: 0; transform: translateY(-10px); background: rgb(0 233 253 / 30%); } }
.m-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.m-chip::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.c-ok { background: rgb(34 197 94 / 13%); color: #128a42; }
.c-info { background: rgb(0 180 254 / 13%); color: #0074b8; }
.c-warn { background: rgb(245 165 36 / 17%); color: #9a5b00; }
.c-bad { background: rgb(244 63 94 / 12%); color: #d0173d; }
.c-mute { background: #eef1f9; color: #5a6590; }
.m-badge { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: #e11d48; color: #fff; font-size: 11.5px; font-weight: 700; display: inline-grid; place-items: center; }
.m-src { font-size: 12.5px; color: #7f8ab0; }

/* Formular-Schublade */
.m-drawer { position: absolute; top: 0; right: 0; bottom: 0; width: 470px; background: #fff; border-left: 1px solid #dfe4f2; box-shadow: -30px 0 60px -30px rgb(11 22 64 / 40%); padding: 24px 26px; transform: translateX(105%); transition: transform .5s var(--os-ease-out); z-index: 5; display: flex; flex-direction: column; gap: 14px; }
.m-drawer.open { transform: none; }
.m-drawer h2 { font: 600 20px/1.2 var(--os-font-display); margin: 0 0 4px; }
.m-field { display: grid; gap: 5px; font-size: 13px; font-weight: 600; color: #414b73; }
.m-input { height: 40px; border: 1px solid #d3d9ec; border-radius: 9px; padding: 0 12px; display: flex; align-items: center; font-size: 14.5px; font-weight: 400; color: #0b1640; background: #fff; transition: border-color .2s, box-shadow .2s; }
.m-input.focus { border-color: #2342f9; box-shadow: 0 0 0 3px rgb(35 66 249 / 18%); }
.m-input.focus span::after { content: ''; display: inline-block; width: 1.5px; height: 17px; background: #2342f9; margin-left: 1px; vertical-align: -3px; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.m-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.m-toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 10px; background: #f4f6fb; font-size: 14px; font-weight: 500; }
.m-sw { width: 40px; height: 23px; border-radius: 12px; background: #c5cbe0; position: relative; transition: background .25s; flex: none; }
.m-sw::after { content: ''; position: absolute; top: 3px; left: 3px; width: 17px; height: 17px; border-radius: 50%; background: #fff; transition: transform .25s var(--os-ease-out); }
.m-sw.on { background: #2342f9; } .m-sw.on::after { transform: translateX(17px); }
.m-drawer .m-actions { margin-top: auto; display: flex; gap: 10px; justify-content: flex-end; }

/* Modal */
.m-modal-bg { position: absolute; inset: 0; z-index: 6; background: rgb(2 10 37 / 45%); display: grid; place-items: center; animation: fade .3s; }
@keyframes fade { from { opacity: 0; } }
.m-modal { width: 520px; background: #fff; border-radius: 16px; padding: 26px; box-shadow: 0 30px 80px -20px rgb(2 10 37 / 60%); animation: pop .35s var(--os-ease-out); }
@keyframes pop { from { opacity: 0; transform: scale(.95) translateY(10px); } }
.m-modal h2 { font: 600 21px/1.25 var(--os-font-display); margin: 0 0 6px; }
.m-modal p { color: #5a6590; font-size: 14px; margin-bottom: 18px; }
.m-modal .m-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 20px; }
.m-opt { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid #dfe4f2; border-radius: 11px; margin-bottom: 8px; font-weight: 500; font-size: 14.5px; }
.m-opt.sel { border-color: #e11d48; background: rgb(244 63 94 / 6%); }
.m-radio { width: 18px; height: 18px; border-radius: 50%; border: 2px solid #aeb7d3; flex: none; }
.m-opt.sel .m-radio { border: 5px solid #e11d48; }

/* Notfall-Banner */
.m-alarm { display: flex; align-items: center; gap: 14px; padding: 14px 20px; background: #e11d48; color: #fff; font-weight: 600; animation: alarm 1.2s ease-in-out infinite; }
.m-alarm b { font: 700 15px/1 var(--os-font-display); letter-spacing: .08em; }
.m-alarm span { margin-left: auto; font-weight: 500; opacity: .9; }
@keyframes alarm { 50% { background: #be123c; } }
.m-pulse { width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 0 rgb(255 255 255 / 70%); animation: pulse 1.2s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgb(255 255 255 / 0%); } 100% { box-shadow: 0 0 0 0 rgb(255 255 255 / 0%); } }

/* Lagebild */
.m-sites { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.m-sitecard { padding: 18px; transition: transform .2s, box-shadow .2s; }
.m-sitecard h3 { font: 600 16px/1.2 var(--os-font-display); margin: 0; }
.m-sitecard .sub { font-size: 12.5px; color: #7f8ab0; }
.m-sitecard .num { font: 700 34px/1.1 var(--os-font-display); margin: 14px 0 6px; font-variant-numeric: tabular-nums; }
.m-split { display: flex; height: 6px; border-radius: 3px; overflow: hidden; background: #eef1f9; margin-bottom: 12px; }
.m-split i:nth-child(1) { background: #2342f9; } .m-split i:nth-child(2) { background: #00b4fe; } .m-split i:nth-child(3) { background: #c253fe; }
.m-sitecard.alert { border-color: #f43f5e; box-shadow: 0 0 0 3px rgb(244 63 94 / 15%); }
.m-legend { display: flex; gap: 18px; font-size: 12.5px; color: #5a6590; margin: 14px 0 18px; }
.m-legend i { display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-right: 6px; }
.m-timeline { list-style: none; margin: 0; padding: 0; }
.m-timeline li { position: relative; padding: 0 0 16px 26px; font-size: 14px; }
.m-timeline li::before { content: ''; position: absolute; left: 5px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: #2342f9; }
.m-timeline li::after { content: ''; position: absolute; left: 9.5px; top: 18px; bottom: 0; width: 1.5px; background: #dfe4f2; }
.m-timeline li:last-child::after { display: none; }
.m-timeline small { display: block; color: #7f8ab0; font-size: 12.5px; }
.m-timeline li.new { animation: rowIn .7s var(--os-ease-out); }
.m-check { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid #eef1f9; font-size: 14px; }
.m-box { width: 20px; height: 20px; border-radius: 6px; border: 2px solid #aeb7d3; flex: none; display: grid; place-items: center; color: #fff; transition: all .2s; }
.m-box.on { background: #2342f9; border-color: #2342f9; }
.m-box.on::after { content: '✓'; font-size: 13px; font-weight: 700; }
.m-done { text-decoration: line-through; color: #7f8ab0; }
.m-hash { font-family: ui-monospace, Menlo, monospace; font-size: 12px; color: #7f8ab0; }

/* Fremdfirmen */
.m-cols { display: grid; grid-template-columns: 300px 1fr; gap: 18px; height: 100%; }
.m-list .it { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-bottom: 1px solid #eef1f9; font-size: 14px; }
.m-list .it.on { background: rgb(35 66 249 / 6%); box-shadow: inset 3px 0 0 #2342f9; }
.m-list .it b { display: block; }
.m-list .it small { color: #7f8ab0; font-size: 12.5px; }
.m-co { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; font: 700 13px/1 var(--os-font-display); color: #fff; flex: none; }
.m-doc { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-bottom: 1px solid #eef1f9; font-size: 14px; }
.m-doc:last-child { border-bottom: 0; }
.m-doc .ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: #eef1f9; color: #2342f9; flex: none; }
.m-doc .tx { flex: 1; } .m-doc .tx b { display: block; } .m-doc .tx small { color: #7f8ab0; }
.m-sync { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 11px; background: rgb(34 197 94 / 10%); color: #128a42; font-weight: 600; font-size: 14px; margin-top: 14px; animation: rowIn .6s var(--os-ease-out); }

/* ---------------- Telefon ---------------- */
.m-phone { position: absolute; z-index: 20; right: 60px; top: 40px; width: 330px; height: 690px; border-radius: 48px; background: #0b0f1d; padding: 12px; box-shadow: 0 50px 90px -30px rgb(0 0 0 / 70%), 0 0 0 2px #2c3559; transform: translateY(110%); transition: transform .7s var(--os-ease-out); }
.m-phone.in { transform: none; }
.m-phone-scr { position: relative; height: 100%; border-radius: 38px; overflow: hidden; background: linear-gradient(160deg, #1b2a6b, #020a25 60%); color: #fff; }
.m-phone-scr::before { content: ''; position: absolute; top: 10px; left: 50%; width: 100px; height: 28px; margin-left: -50px; border-radius: 16px; background: #000; z-index: 3; }
.m-lock-time { text-align: center; padding-top: 70px; font: 300 64px/1 var(--os-font-display); }
.m-lock-date { text-align: center; font-size: 15px; opacity: .8; margin-top: 6px; }
.m-notif { margin: 40px 14px 0; padding: 14px; border-radius: 18px; background: rgb(255 255 255 / 16%); backdrop-filter: blur(10px); font-size: 14px; animation: notif .6s var(--os-ease-out) .5s both; }
@keyframes notif { from { opacity: 0; transform: translateY(-20px) scale(.96); } }
.m-notif .hd { display: flex; align-items: center; gap: 8px; font-size: 12px; opacity: .85; margin-bottom: 6px; }
.m-notif .hd img { width: 20px; height: 20px; border-radius: 5px; background: #020a25; padding: 3px; }
.m-notif b { display: block; font-size: 15px; }
.m-mail { position: absolute; inset: 0; background: #fff; color: #0b1640; padding: 54px 18px 18px; font-size: 13.5px; overflow: hidden; }
.m-mail .from { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid #eef1f9; }
.m-mail .from small { display: block; color: #7f8ab0; font-size: 12px; }
.m-mail h4 { font: 600 17px/1.3 var(--os-font-display); margin: 14px 0 8px; }
.m-mail .brandbar { height: 46px; border-radius: 12px; background: #0e3b5c; color: #fff; display: flex; align-items: center; padding: 0 14px; font: 700 15px/1 var(--os-font-display); letter-spacing: .02em; margin: 12px 0; }
.m-mail .qr { width: 150px; height: 150px; margin: 14px auto 6px; padding: 8px; border: 1px solid #dfe4f2; border-radius: 12px; }
.m-mail .meta { display: grid; gap: 6px; background: #f4f6fb; border-radius: 12px; padding: 12px; margin-top: 10px; }

/* ---------------- Kiosk (iPad) ---------------- */
.k-room { position: absolute; inset: 0; background: url('/assets/keyvisual.svg') center / cover, #020a25; }
.k-ipad { position: absolute; left: 50%; top: 50%; width: 1040px; height: 740px; margin: -370px 0 0 -520px; border-radius: 44px; background: #1a1f2e; padding: 22px; box-shadow: 0 60px 120px -40px rgb(0 0 0 / 80%), inset 0 0 0 2px #3a4157; }
.k-ipad::before { content: ''; position: absolute; left: 50%; top: 9px; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: #0b0f1d; }
.k-scr { position: relative; width: 100%; height: 100%; border-radius: 24px; overflow: hidden; background: #071233; color: #fff; }
.k-scr.light { background: #f4f6fb; color: #0b1640; }
.k-head { display: flex; align-items: center; justify-content: space-between; padding: 22px 30px; }
.k-tenant { display: flex; align-items: center; gap: 12px; font: 700 20px/1 var(--os-font-display); }
.k-tenant i { width: 40px; height: 40px; border-radius: 11px; background: linear-gradient(135deg, #0e3b5c, #1f7a8c); display: grid; place-items: center; font-style: normal; font-size: 16px; }
.k-lang { display: flex; gap: 6px; font-size: 14px; font-weight: 600; } .k-lang span { padding: 6px 10px; border-radius: 8px; background: rgb(255 255 255 / 10%); } .k-lang span.on { background: #fff; color: #0b1640; }
.k-center { position: absolute; inset: 90px 40px 40px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.k-center h2 { font: 700 46px/1.1 var(--os-font-display); margin: 0; letter-spacing: -.02em; }
.k-center p { font-size: 20px; color: #aeb7d3; margin-top: 12px; }
.k-scr.light .k-center p { color: #5a6590; }
.k-actions { display: grid; grid-template-columns: repeat(3, 230px); gap: 18px; margin-top: 44px; }
.k-tile { height: 190px; border-radius: 22px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; font: 600 21px/1.2 var(--os-font-display); background: rgb(255 255 255 / 8%); border: 1px solid rgb(255 255 255 / 12%); transition: transform .15s; }
.k-tile.main { background: linear-gradient(135deg, #2342f9, #5a44fb); border-color: transparent; box-shadow: 0 20px 40px -14px rgb(35 66 249 / 80%); }
.k-tile svg { width: 46px; height: 46px; }
.k-big { height: 64px; padding: 0 34px; border-radius: 16px; display: inline-flex; align-items: center; gap: 10px; font: 600 20px/1 var(--os-font-display); background: #2342f9; color: #fff; margin-top: 30px; border: 0; transition: transform .15s, background .2s; }
.k-big.off { background: #aeb7d3; }
.k-cam { position: relative; width: 520px; height: 390px; border-radius: 24px; overflow: hidden; background: radial-gradient(circle at 50% 40%, #33405f, #11182b); }
.k-cam .br { position: absolute; inset: 60px 120px; }
.k-cam .br::before, .k-cam .br::after { content: ''; position: absolute; width: 60px; height: 60px; border: 5px solid #00e9fd; }
.k-cam .br::before { left: 0; top: 0; border-right: 0; border-bottom: 0; border-radius: 14px 0 0 0; }
.k-cam .br::after { right: 0; bottom: 0; border-left: 0; border-top: 0; border-radius: 0 0 14px 0; }
.k-cam .line { position: absolute; left: 120px; right: 120px; top: 60px; height: 3px; background: linear-gradient(90deg, transparent, #00e9fd, transparent); box-shadow: 0 0 18px #00e9fd; animation: scan 1.6s ease-in-out infinite; }
@keyframes scan { 50% { top: 326px; } }
.k-cam .phoneqr { position: absolute; left: 50%; top: 50%; width: 210px; height: 250px; margin: -125px 0 0 -105px; border-radius: 26px; background: #0b0f1d; padding: 10px; transform: translate(260px, 120px) rotate(14deg); transition: transform 1.2s var(--os-ease-out); }
.k-cam .phoneqr.in { transform: none; }
.k-cam .phoneqr div { width: 100%; height: 100%; border-radius: 18px; background: #fff; display: grid; place-items: center; padding: 16px; }
.k-ok { position: absolute; inset: 0; display: grid; place-items: center; background: rgb(22 163 74 / 85%); animation: fade .3s; font: 700 28px/1.2 var(--os-font-display); }
.k-ok span { display: grid; place-items: center; gap: 12px; }
.k-ok i { width: 74px; height: 74px; border-radius: 50%; background: #fff; color: #16a34a; display: grid; place-items: center; font-style: normal; font-size: 40px; }
.k-brief { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; width: 860px; margin-top: 30px; }
.k-rule { padding: 22px 18px; border-radius: 18px; background: #fff; border: 1px solid #dfe4f2; text-align: center; font-size: 16px; color: #0b1640; opacity: 0; transform: translateY(16px); transition: all .5s var(--os-ease-out); }
.k-rule.in { opacity: 1; transform: none; }
.k-rule b { display: block; font: 600 18px/1.25 var(--os-font-display); margin: 12px 0 6px; }
.k-rule small { color: #5a6590; font-size: 14px; }
.k-sign { margin: 6px 0 0; width: 640px; text-align: left; }
.k-sign .m-check { font-size: 18px; border: 0; }
.k-sign .m-box { width: 28px; height: 28px; }
.k-pad { position: relative; height: 210px; margin-top: 10px; border-radius: 18px; background: #fff; border: 2px dashed #c5cbe0; }
.k-pad span { position: absolute; left: 20px; bottom: 14px; color: #aeb7d3; font-size: 14px; }
.k-pad svg { position: absolute; inset: 0; }
.k-pad path { fill: none; stroke: #0b1640; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1400; stroke-dashoffset: 1400; }
.k-pad.draw path { transition: stroke-dashoffset 2.2s ease-in-out; stroke-dashoffset: 0; }
.k-photo { position: relative; width: 330px; height: 330px; border-radius: 50%; overflow: hidden; background: radial-gradient(circle at 50% 35%, #46557f, #172040); box-shadow: 0 0 0 6px rgb(0 233 253 / 70%); }
.k-photo svg { position: absolute; inset: 0; }
.k-count { position: absolute; inset: 0; display: grid; place-items: center; font: 700 120px/1 var(--os-font-display); color: #fff; text-shadow: 0 6px 24px rgb(0 0 0 / 50%); }
.k-flash { position: absolute; inset: 0; background: #fff; animation: flash .5s ease-out forwards; z-index: 5; }
@keyframes flash { from { opacity: 1; } to { opacity: 0; } }
.k-printer { position: relative; width: 420px; height: 70px; border-radius: 18px 18px 8px 8px; background: linear-gradient(#e6e9f3, #c5cbe0); box-shadow: 0 10px 30px -10px rgb(0 0 0 / 50%); z-index: 2; }
.k-printer::after { content: ''; position: absolute; left: 60px; right: 60px; bottom: 12px; height: 8px; border-radius: 4px; background: #2c3559; }
.k-badge-wrap { position: relative; width: 300px; height: 420px; overflow: hidden; margin-top: -14px; }
.k-badge { position: absolute; left: 0; top: 0; width: 300px; height: 400px; border-radius: 0 0 18px 18px; background: #fff; color: #0b1640; transform: translateY(-100%); transition: transform 2.4s cubic-bezier(.3, .7, .3, 1); box-shadow: 0 20px 40px -20px rgb(0 0 0 / 60%); text-align: left; overflow: hidden; }
.k-badge.out { transform: none; }
.k-badge .top { height: 64px; background: #0e3b5c; color: #fff; display: flex; align-items: center; justify-content: space-between; padding: 0 18px; font: 700 15px/1 var(--os-font-display); }
.k-badge .top span { padding: 5px 9px; border-radius: 6px; background: #00e9fd; color: #020a25; font-size: 12px; letter-spacing: .12em; }
.k-badge .ph { width: 110px; height: 130px; border-radius: 12px; margin: 18px 18px 0; overflow: hidden; background: radial-gradient(circle at 50% 35%, #46557f, #172040); float: left; }
.k-badge .qr { float: right; width: 100px; height: 100px; margin: 18px 18px 0 0; }
.k-badge .nm { clear: both; padding: 16px 18px 0; font: 700 22px/1.2 var(--os-font-display); }
.k-badge .co { padding: 2px 18px; color: #5a6590; font-size: 15px; }
.k-badge .meta { margin: 14px 18px 0; padding-top: 12px; border-top: 1px solid #eef1f9; font-size: 13.5px; display: grid; gap: 4px; }
.k-emg { background: #1a0610; }
.k-emg .k-head { background: #e11d48; }
.k-net { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; font-size: 14px; font-weight: 600; background: rgb(255 255 255 / 18%); }
.k-net.sync { background: #16a34a; }
.k-evac { position: absolute; inset: 84px 26px 22px; display: grid; grid-template-columns: 300px 1fr; gap: 22px; }
.k-counter { border-radius: 20px; background: rgb(255 255 255 / 6%); border: 1px solid rgb(255 255 255 / 10%); padding: 24px; display: flex; flex-direction: column; }
.k-counter .big { font: 700 76px/1 var(--os-font-display); font-variant-numeric: tabular-nums; margin-top: 10px; }
.k-counter .big small { font-size: 30px; color: #aeb7d3; }
.k-counter .lbl { color: #aeb7d3; font-size: 15px; }
.k-counter .bar { height: 10px; border-radius: 5px; background: rgb(255 255 255 / 10%); margin: 18px 0; overflow: hidden; }
.k-counter .bar i { display: block; height: 100%; width: 0; background: #22c55e; transition: width .3s; }
.k-counter .miss { margin-top: auto; color: #fda4af; font-weight: 600; font-size: 15px; }
.k-people { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-content: start; overflow: hidden; }
.k-person { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: rgb(255 255 255 / 6%); border: 1px solid rgb(255 255 255 / 8%); font-size: 15px; transition: background .3s, border-color .3s; }
.k-person small { display: block; color: #aeb7d3; font-size: 12.5px; }
.k-person .st { margin-left: auto; width: 30px; height: 30px; border-radius: 50%; border: 2px solid rgb(255 255 255 / 30%); display: grid; place-items: center; font-weight: 700; flex: none; }
.k-person.safe { background: rgb(34 197 94 / 16%); border-color: rgb(34 197 94 / 40%); }
.k-person.safe .st { background: #22c55e; border-color: #22c55e; }
.k-person.safe .st::after { content: '✓'; }
.k-person.missing { background: rgb(244 63 94 / 18%); border-color: #f43f5e; }

/* Endkarte */
.dp-end { position: absolute; inset: 0; z-index: 30; display: grid; place-items: center; text-align: center; background: url('/assets/keyvisual.svg') center / cover, #020a25; color: #fff; animation: fade .6s; }
.dp-end img { width: 520px; margin: 0 auto 28px; }
.dp-end p { font-size: 24px; color: #aeb7d3; }
.dp-end .row { display: flex; gap: 14px; justify-content: center; margin-top: 34px; }
.dp-end .btn { min-height: 60px; padding: 0 30px; font-size: 19px; border-radius: 14px; }
