/* iamConScale – Landingpage
   Palette aus dem Logo: Nacht-Navy als Grund, Himmelblau für alles Bedienbare,
   Türkis nur für „online/verbunden“. Der Logo-Verlauf bleibt dem Logo vorbehalten. */

@font-face { font-family: "Plex Sans"; src: url("../fonts/ibm-plex-sans-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex Sans"; src: url("../fonts/ibm-plex-sans-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Plex Sans"; src: url("../fonts/ibm-plex-sans-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Plex Sans"; src: url("../fonts/ibm-plex-sans-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("../fonts/ibm-plex-mono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("../fonts/ibm-plex-mono-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --night: #070b17;
  --deep: #0d1529;
  --raised: #121c35;
  --line: #1f2a47;
  --line-2: #2c3a5f;
  --ink: #eef2fb;
  --mist: #b4bed5;
  --fog: #8a96b3;
  --sky: #4fb3f6;
  --sky-ink: #04111f;
  --teal: #2ee6c6;
  --amber: #f5b13d;
  --violet: #b892ff;
  --green: #4ade80;
  --sans: "Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --keys: -apple-system, BlinkMacSystemFont, "Segoe UI Symbol", "Plex Sans", sans-serif;
  --lift: 0 28px 64px -28px rgba(0, 0, 0, 0.85), 0 8px 20px -10px rgba(0, 0, 0, 0.6);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --out: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--night); color: var(--mist);
  font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
code, pre, kbd { font-family: var(--mono); }
::selection { background: rgba(79, 179, 246, 0.35); color: #fff; }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: 16px; top: -64px; z-index: 100; padding: 10px 14px; border-radius: 10px; background: var(--sky); color: var(--sky-ink); font-weight: 600; }
.skip:focus { top: 12px; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.container.narrow > * { max-width: 860px; }

h1, h2, h3 { color: var(--ink); font-weight: 600; margin: 0; }
h1 { font-size: clamp(2.5rem, 5.2vw, 4.25rem); line-height: 1.06; letter-spacing: -0.028em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); line-height: 1.12; letter-spacing: -0.022em; }
h3 { font-size: 1.12rem; line-height: 1.35; letter-spacing: -0.005em; }
p { margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 11px 18px; border-radius: 11px; border: 1px solid transparent;
  font-weight: 600; font-size: 15px; white-space: nowrap; cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, transform 0.15s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn:active { transform: translateY(1px); }
.btn-small { padding: 7px 13px; font-size: 14px; border-radius: 9px; }
.btn-large { padding: 14px 22px; font-size: 16px; border-radius: 12px; }
.btn-primary { background: var(--sky); color: var(--sky-ink); }
.btn-primary:hover { background: #75c4fa; }
.btn-ghost { background: transparent; border-color: var(--line-2); color: var(--ink); }
.btn-ghost:hover { background: var(--deep); border-color: #3d4d78; }

/* ---------- Navigation ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; border-bottom: 1px solid transparent; transition: background-color 0.3s, border-color 0.3s; }
.nav.scrolled { background: rgba(7, 11, 23, 0.82); border-bottom-color: var(--line); backdrop-filter: saturate(150%) blur(16px); -webkit-backdrop-filter: saturate(150%) blur(16px); }
.nav-inner { max-width: 1180px; margin: 0 auto; padding: 0 24px; height: 66px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; font-size: 17.5px; }
.brand-mark { width: 30px; height: 30px; }
.nav-links { display: flex; gap: 4px; }
.nav-links a { padding: 7px 12px; border-radius: 8px; font-size: 15px; font-weight: 500; color: var(--mist); transition: color 0.2s, background-color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); background: var(--deep); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.lang { position: relative; display: inline-flex; padding: 3px; border-radius: 9px; border: 1px solid var(--line-2); background: transparent; cursor: pointer; }
.lang span { position: relative; z-index: 1; padding: 3px 9px; font-size: 13px; font-weight: 600; color: var(--fog); transition: color 0.25s; }
.lang span.on { color: var(--sky-ink); }
.lang::before { content: ""; position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px); border-radius: 6px; background: var(--sky); transition: transform 0.35s var(--out); }
.lang[data-current="en"]::before { transform: translateX(100%); }
.menu-toggle { display: none; position: relative; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line-2); background: transparent; cursor: pointer; }
.menu-toggle span { position: absolute; left: 11px; right: 11px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform 0.3s var(--ease), top 0.3s var(--ease); }
.menu-toggle span:first-child { top: 15px; }
.menu-toggle span:last-child { top: 23px; }
.nav.open .menu-toggle span:first-child { top: 19px; transform: rotate(45deg); }
.nav.open .menu-toggle span:last-child { top: 19px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: 132px 0 96px; border-bottom: 1px solid var(--line); background: var(--night); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr); gap: 48px; align-items: center; }
.hero-copy h1 > span[data-i18n] { display: inline; }
.h1-keys { display: inline-flex; align-items: center; gap: 0.32em; font-size: 0.5em; vertical-align: 0.28em; margin: 0 0.12em; white-space: nowrap; }
.lead { margin-top: 26px; max-width: 34em; font-size: 1.14rem; color: var(--mist); }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-note { margin-top: 18px; font-size: 14.5px; color: var(--fog); }
.hero-note a, .dl-meta a { color: var(--mist); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.hero-note a:hover, .dl-meta a:hover { color: var(--ink); }

.key {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 1.6em; height: 1.6em; padding: 0 0.5em; border-radius: 0.36em;
  font: 500 1em/1 var(--keys); letter-spacing: 0; color: var(--ink);
  background: linear-gradient(#1f2a48, #172039);
  border: 1px solid #34436b;
  box-shadow: 0 0.12em 0 #0a0f1f, inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: transform 0.1s, box-shadow 0.1s, background-color 0.1s;
}
.key[data-key="opt"] { font-size: 1.2em; height: calc(1.6em / 1.2); min-width: calc(1.6em / 1.2); border-radius: calc(0.36em / 1.2); padding: 0 0.3em; }
.key-plus { font: 400 0.9em/1 var(--sans); color: var(--fog); }
.key-space { min-width: 5em; font-family: var(--sans); font-weight: 500; letter-spacing: -0.005em; }
.key.down { transform: translateY(0.1em); box-shadow: 0 0.02em 0 #0a0f1f, inset 0 1px 0 rgba(255, 255, 255, 0.06); background: linear-gradient(#26345a, #1d2847); }

/* Demo stage: tailnet map + quick connect + result window */
.hero-demo { position: relative; width: 100%; max-width: 580px; aspect-ratio: 1 / 1.02; justify-self: end; }
.map { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.map .link { stroke: var(--line); stroke-width: 1; fill: none; }
.map .link.relay { stroke-dasharray: 3 5; }
.map .route { fill: none; stroke: var(--sky); stroke-width: 2; stroke-linecap: round; }
.map .route.relayed { stroke: var(--amber); }
.map .packet { fill: var(--ink); }
.map .node circle { fill: #33405f; stroke: var(--night); stroke-width: 3; transition: r 0.3s var(--out), fill 0.3s; }
.map .node.online circle { fill: var(--teal); }
.map .node.me circle { fill: var(--sky); }
.map .node.derp rect { fill: var(--raised); stroke: var(--line-2); }
.map .node text { font: 500 11px var(--mono); fill: var(--fog); transition: fill 0.3s; }
.map .node.derp text { fill: var(--fog); }
.map .node.hl text, .map .node.me text { fill: var(--ink); }
.map .node .ring { fill: none; stroke: var(--sky); stroke-width: 1.5; opacity: 0; transition: opacity 0.25s, r 0.35s var(--out); }
.map .node.hl .ring { opacity: 1; }
.map .route-label { font: 500 11px var(--mono); fill: var(--ink); paint-order: stroke; stroke: var(--night); stroke-width: 4px; }

.qc {
  position: absolute; left: 4%; top: 12%; width: 68%; z-index: 2;
  border-radius: 16px; background: rgba(15, 23, 44, 0.94); border: 1px solid var(--line-2);
  box-shadow: var(--lift); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: opacity 0.35s var(--ease), transform 0.45s var(--out);
}
.js .qc.closed { opacity: 0; transform: translateY(10px) scale(0.97); }
.qc-search { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.qc-logo { width: 20px; height: 20px; flex: none; color: var(--sky); }
.qc-logo path { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.qc-logo circle { fill: currentColor; }
.qc-input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; color: var(--ink); font: 400 21px var(--sans); }
.qc-input::placeholder { color: #6f7b98; }
.qc-chip { flex: none; display: inline-flex; gap: 6px; padding: 5px 11px; border-radius: 999px; border: 0; cursor: pointer; background: rgba(79, 179, 246, 0.16); color: var(--sky); font-size: 12.5px; font-weight: 600; }
.qc-chip.pop { animation: pop 0.4s var(--out); }
.qc-list { list-style: none; margin: 0; padding: 6px; height: 212px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.qc-item { display: flex; align-items: center; gap: 11px; padding: 8px 10px; border-radius: 9px; cursor: pointer; }
.qc-item:hover { background: rgba(255, 255, 255, 0.04); }
.qc-item.sel { background: rgba(79, 179, 246, 0.18); }
.qc-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; background: #4a5778; }
.qc-dot.on { background: var(--teal); }
.qc-os { width: 20px; height: 20px; flex: none; color: var(--mist); }
.qc-os svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; }
.qc-text { min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.qc-text b { color: var(--ink); font-weight: 500; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qc-text small { color: var(--fog); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qc-text small code { font-size: 11.5px; }
.qc-pills { margin-left: auto; display: flex; gap: 4px; flex: none; }
.qc-empty { padding: 26px; text-align: center; color: var(--fog); }
.qc-foot { display: flex; gap: 16px; padding: 9px 16px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--fog); }
.qc-foot > span { display: inline-flex; align-items: center; gap: 6px; }
.qc-foot kbd, .legend kbd {
  display: inline-grid; place-items: center; min-width: 24px; height: 22px; padding: 0 5px; border-radius: 5px;
  font: 500 12px var(--keys); color: var(--mist); background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line-2);
}
.pill { font: 600 10px/1 var(--sans); padding: 4px 6px; border-radius: 5px; letter-spacing: 0.02em; }
.pill.ssh { color: #6ee7a0; background: rgba(74, 222, 128, 0.12); }
.pill.vnc { color: #cbb2ff; background: rgba(184, 146, 255, 0.14); }
.pill.rdp { color: #8fbcff; background: rgba(91, 141, 255, 0.16); }
.pill.web { color: #fbc96a; background: rgba(245, 177, 61, 0.13); }
.demo-caption { position: absolute; left: 4%; top: calc(12% - 34px); font-size: 13px; color: var(--fog); }

.result { position: absolute; right: 0; bottom: 3%; width: 66%; aspect-ratio: 16 / 10.5; z-index: 3; pointer-events: none; }
.rwin {
  position: absolute; inset: 0; display: flex; flex-direction: column; border-radius: 12px; background: #0b111f;
  border: 1px solid var(--line-2); box-shadow: var(--lift);
  animation: win-in 0.5s var(--out);
}
.rwin.out { animation: win-out 0.35s var(--ease) forwards; }
.rwin-bar { display: flex; align-items: center; gap: 6px; padding: 7px 10px; border-bottom: 1px solid var(--line); border-radius: 12px 12px 0 0; background: #151c2f; font-size: 11.5px; color: var(--fog); white-space: nowrap; }
.rwin-bar i { width: 9px; height: 9px; border-radius: 50%; background: #ff5f57; flex: none; }
.rwin-bar i:nth-child(2) { background: #febc2e; }
.rwin-bar i:nth-child(3) { background: #28c840; margin-right: 6px; }
.rwin-bar span { overflow: hidden; text-overflow: ellipsis; }
.rwin-body { position: relative; flex: 1; border-radius: 0 0 12px 12px; overflow: hidden; }
.rwin-term { padding: 12px 14px; font: 400 12.5px/1.75 var(--mono); color: #cfd8ee; }
.rwin-term > div { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rwin-term .ok { color: var(--teal); }
.rwin-term .dim { color: var(--fog); }
.caret { display: inline-block; width: 7px; height: 1.05em; vertical-align: -0.15em; background: var(--sky); animation: caret 1s steps(1) infinite; }
.rwin-pos { background: #f4ede4 url("../assets/screens/pos.jpg") center / cover no-repeat; }
.rwin-desk { background: linear-gradient(160deg, #1c3566, #1b5a78 60%, #1f8a84); }
.rwin-desk .w { position: absolute; left: 12%; top: 12%; width: 56%; height: 60%; border-radius: 6px; background: #eef2fa; }
.rwin-desk .w::before { content: ""; position: absolute; inset: 0 0 auto; height: 16px; border-radius: 6px 6px 0 0; background: #d6deee; }
.rwin-desk .w::after { content: ""; position: absolute; left: 10px; top: 28px; width: 60%; height: 7px; border-radius: 4px; background: #c3cee6; box-shadow: 0 16px 0 #d2dbee, 0 32px 0 #c3cee6, 0 48px 0 #d2dbee; }
.rwin-desk .bar { position: absolute; inset: auto 0 0; height: 22px; background: rgba(8, 12, 24, 0.7); display: flex; justify-content: center; align-items: center; gap: 6px; }
.rwin-desk .bar b { width: 12px; height: 12px; border-radius: 3px; background: rgba(255, 255, 255, 0.55); }
.rwin-web { background: #f6f8fc; }
.rwin-web .url { margin: 8px 10px 4px; padding: 4px 9px; border-radius: 6px; background: #e4e9f3; font: 11.5px var(--mono); color: #3f4a66; }
.rwin-web .tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 6px 10px; }
.rwin-web .tiles span { height: 46px; border-radius: 8px; background: #fff; border: 1px solid #e3e8f2; position: relative; }
.rwin-web .tiles span::after { content: ""; position: absolute; left: 8px; bottom: 9px; width: 55%; height: 6px; border-radius: 3px; background: #4fb3f6; }
.rwin-web .tiles span:nth-child(2n)::after { background: #2ec4a6; width: 40%; }
.toast {
  position: absolute; left: 50%; bottom: -22px; z-index: 4; translate: -50% 0;
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border-radius: 999px; white-space: nowrap;
  background: #18223b; border: 1px solid var(--line-2); color: var(--ink); font-size: 13px; box-shadow: var(--lift);
  animation: toast 3s var(--ease) forwards;
}
.toast::before { content: "✓"; display: grid; place-items: center; width: 17px; height: 17px; border-radius: 50%; background: var(--teal); color: var(--sky-ink); font-size: 11px; font-weight: 700; }
.toast.warn::before { content: "!"; background: var(--amber); }

/* ---------- Sections ---------- */
.section { padding: 96px 0; border-bottom: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 52px; }
.section-lead { margin-top: 16px; font-size: 1.08rem; }

/* Features as grouped definition lists */
.groups { display: flex; flex-direction: column; }
.group { display: grid; grid-template-columns: 240px 1fr; gap: 32px; padding: 34px 0; border-top: 1px solid var(--line); }
.group:last-child { border-bottom: 1px solid var(--line); }
.group-title { font-size: 1.3rem; letter-spacing: -0.012em; color: var(--ink); }
.items { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 40px; }
.item dt { color: var(--ink); font-weight: 600; margin-bottom: 6px; }
.item dd { margin: 0; font-size: 15.5px; line-height: 1.62; }
.nw { white-space: nowrap; font-size: 0.92em; color: #cfe3ff; }
.snip { display: block; width: fit-content; max-width: 100%; margin-bottom: 8px; padding: 6px 10px; border-radius: 7px; background: var(--deep); border: 1px solid var(--line); font-size: 13px; color: #cfe3ff; overflow-x: auto; white-space: nowrap; }

/* App tour */
.tour .section-head { margin-bottom: 36px; }
.g-tabs { display: flex; gap: 4px; margin-bottom: 26px; padding-bottom: 2px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.g-tabs::-webkit-scrollbar { display: none; }
.g-tabs button {
  position: relative; flex: none; padding: 10px 14px 12px; border: 0; background: none; cursor: pointer;
  font-size: 15px; font-weight: 500; color: var(--fog); transition: color 0.2s;
}
.g-tabs button::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -3px; height: 2px; border-radius: 2px; background: var(--sky); transform: scaleX(0); transition: transform 0.3s var(--ease); }
.g-tabs button:hover { color: var(--mist); }
.g-tabs button[aria-selected="true"] { color: var(--ink); }
.g-tabs button[aria-selected="true"]::after { transform: scaleX(1); }
.g-stage { position: relative; display: grid; }
.g-slide { grid-area: 1 / 1; margin: 0; display: flex; flex-direction: column; align-items: center; gap: 22px; visibility: hidden; opacity: 0; transform: translateY(8px); transition: opacity 0.45s var(--ease), transform 0.55s var(--ease), visibility 0s 0.45s; }
.g-slide.is-active { visibility: visible; opacity: 1; transform: none; transition: opacity 0.45s var(--ease), transform 0.55s var(--ease), visibility 0s; }
.g-zoom { display: block; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 12px; }
.g-slide .shot { max-height: 620px; width: auto; }
.g-slide .quick-shot { max-height: 520px; width: auto; }
.g-slide figcaption { max-width: 640px; text-align: center; font-size: 15.5px; }
.shot { height: auto; box-shadow: var(--lift), 0 0 0 1px rgba(255, 255, 255, 0.07); background: #0b1020; }
/* macOS window corners, measured on the screenshots */
.shot-main { border-radius: 1.64% / 2.68%; }
.shot-vnc { border-radius: 1.53% / 2.31%; }
.shot-settings { border-radius: 3.44% / 3.67%; }
.shot-menu { border-radius: 5.64% / 3.74%; }
.g-nav {
  position: absolute; top: 46%; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line-2); background: rgba(13, 21, 41, 0.92); cursor: pointer; transition: background-color 0.2s;
}
.g-nav svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.g-nav:hover { background: var(--raised); }
.g-nav.prev { left: -8px; }
.g-nav.next { right: -8px; }
.g-note { margin-top: 26px; text-align: center; font-size: 14px; color: var(--fog); }

/* Steps (a real sequence, so numbered) */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.step { display: flex; flex-direction: column; gap: 10px; }
.step-n { font: 500 15px var(--mono); color: var(--sky); }
.step p { font-size: 15.5px; }

/* Install */
.tabs { border-radius: 18px; background: var(--deep); border: 1px solid var(--line); }
.tab-list { position: relative; display: flex; gap: 2px; padding: 8px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tab-list::-webkit-scrollbar { display: none; }
.tab-list button { position: relative; z-index: 1; flex: none; padding: 9px 15px; border: 0; border-radius: 9px; background: none; cursor: pointer; font-size: 14.5px; font-weight: 500; color: var(--fog); transition: color 0.25s; }
.tab-list button[aria-selected="true"] { color: var(--ink); }
.tab-ink { position: absolute; z-index: 0; top: 8px; bottom: 8px; left: 0; width: 0; border-radius: 9px; background: var(--raised); border: 1px solid var(--line-2); transition: transform 0.4s var(--out); }
.tab-panel { padding: 26px 28px 28px; }
.tab-panel:not([hidden]) { animation: fade-up 0.4s var(--ease); }
.tab-panel > p { margin-bottom: 16px; }
.tab-panel > p + .code + p { margin: 16px 0 0; }
.install-steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 22px; }
.install-steps li { counter-increment: s; position: relative; padding-left: 44px; }
.install-steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font: 500 14px var(--mono); color: var(--sky); border: 1px solid var(--line-2); }
.install-steps p { margin-bottom: 12px; }
.install-steps li:last-child p { margin-bottom: 0; }
.install-steps b { color: var(--ink); font-weight: 600; }
.dl-row { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 18px; }
.dl-meta { font-size: 14px; color: var(--fog); }
.sha { margin-top: 16px; }
.sha summary { width: fit-content; cursor: pointer; font-size: 14px; font-weight: 500; color: var(--sky); }
.sha .code { margin-top: 10px; }
.sha pre { white-space: pre-wrap; word-break: break-all; font-size: 12.5px; }
.sha p { margin: 8px 0 0; font-size: 13.5px; color: var(--fog); }
.code { position: relative; border-radius: 12px; background: var(--night); border: 1px solid var(--line); }
.code pre { margin: 0; padding: 15px 96px 15px 17px; overflow-x: auto; font-size: 13.5px; line-height: 1.7; color: #d6def2; }
.c-dim { color: var(--fog); }
.copy { position: absolute; top: 9px; right: 9px; padding: 5px 10px; border-radius: 7px; border: 1px solid var(--line-2); background: var(--deep); cursor: pointer; font-size: 12.5px; font-weight: 600; color: var(--mist); transition: background-color 0.2s, color 0.2s; }
.copy:hover { color: var(--ink); background: var(--raised); }
.copy.done { color: var(--sky-ink); background: var(--teal); border-color: transparent; }

/* FAQ */
.faq details + details { border-top: 1px solid var(--line); }
.faq summary { position: relative; list-style: none; cursor: pointer; padding: 22px 48px 22px 0; color: var(--ink); font-weight: 600; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 2px; border-radius: 2px; background: var(--sky); transition: transform 0.35s var(--out); }
.faq summary::before { transform: rotate(90deg); }
.faq details[open] summary::before { transform: rotate(0deg); }
.faq details p { padding: 0 48px 24px 0; max-width: 46em; }
.faq details[open] p { animation: fade-up 0.35s var(--ease); }

/* CTA */
.cta { border-bottom: 0; }
.cta-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.cta-inner p { max-width: 32em; margin-top: 14px; font-size: 1.08rem; }
.cta-inner .ctas { justify-content: center; }
.cta-logo { width: 128px; height: 128px; margin-bottom: 26px; overflow: visible; }
.js .cta-ring { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .cta-node, .js .cta-glow { transform-box: fill-box; transform-origin: center; transform: scale(0); }
.cta-logo.in .cta-ring { animation: draw 1.4s var(--ease) forwards; }
.cta-logo.in .cta-node { animation: node-pop 0.6s var(--out) 1.15s forwards; }
.cta-logo.in .cta-glow { animation: node-pop 0.9s var(--ease) 1.25s forwards; }

/* Footer */
.footer { padding: 40px 0 52px; border-top: 1px solid var(--line); font-size: 14px; color: var(--fog); }
.footer-inner { display: grid; grid-template-columns: auto 1fr; gap: 14px 40px; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { border-radius: 10px; }
.footer-brand div { display: flex; flex-direction: column; line-height: 1.35; }
.footer-brand strong { color: var(--ink); font-weight: 600; }
.footer-meta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 32px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer-links a { color: var(--mist); transition: color 0.2s; }
.footer-links a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.footer-links a[aria-current="page"] { color: var(--ink); }

/* Rechtstexte: Deutsch und Englisch stehen beide im Dokument, html[lang] wählt aus. */
.legal { padding: 124px 0 96px; }
.legal-tabs { display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 44px -14px; }
.legal-tabs a { padding: 7px 13px; border: 1px solid transparent; border-radius: 9px; font-size: 15px; font-weight: 500; color: var(--fog); transition: color 0.2s; }
.legal-tabs a:hover { color: var(--ink); }
.legal-tabs a[aria-current="page"] { color: var(--ink); background: var(--raised); border-color: var(--line-2); }
.legal-doc { max-width: 44rem; }
.legal-doc h1 { font-size: clamp(2.1rem, 4.4vw, 3rem); line-height: 1.1; letter-spacing: -0.024em; }
.legal-doc h2 { margin-top: 46px; font-size: 1.28rem; line-height: 1.3; letter-spacing: -0.012em; }
.legal-doc p, .legal-doc ul, .legal-doc address { margin-top: 14px; }
.legal-doc .legal-stand { margin-top: 12px; font-size: 15px; color: var(--fog); }
.legal-doc .legal-lead { margin-top: 24px; font-size: 1.08rem; color: var(--ink); }
.legal-doc address { font-style: normal; color: var(--ink); }
.legal-doc ul { padding-left: 1.25em; }
.legal-doc li + li { margin-top: 4px; }
.legal-doc li::marker { color: var(--fog); }
.legal-doc a { color: var(--sky); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.legal-doc a:hover { color: #75c4fa; }
.legal-doc code { font-size: 0.88em; color: var(--ink); overflow-wrap: anywhere; }
html:not([lang="en"]) .legal-doc[lang="en"], html[lang="en"] .legal-doc[lang="de"] { display: none; }

/* Lightbox */
.lightbox { max-width: none; max-height: none; width: 100vw; height: 100vh; margin: 0; padding: 4vh 4vw; border: 0; background: transparent; }
.lightbox[open] { display: grid; place-items: center; animation: fade-in 0.25s var(--ease); }
.lightbox::backdrop { background: rgba(3, 6, 14, 0.86); backdrop-filter: blur(10px); }
.lightbox img { max-width: 92vw; max-height: 88vh; width: auto; height: auto; border-radius: 10px; box-shadow: var(--lift); }
.lb-close { position: fixed; top: 18px; right: 18px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); background: var(--deep); cursor: pointer; }
.lb-close svg { width: 18px; height: 18px; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; }

/* Keyframes */
@keyframes caret { 50% { opacity: 0; } }
@keyframes pop { 40% { transform: scale(1.06); } }
@keyframes win-in { from { opacity: 0; transform: translateY(14px) scale(0.96); } }
@keyframes win-out { to { opacity: 0; transform: translateY(8px) scale(0.98); } }
@keyframes toast { 0% { opacity: 0; transform: translateY(6px); } 12%, 82% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-4px); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(6px); } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes node-pop { to { transform: scale(1); } }

/* Responsive */
@media (max-width: 1060px) {
  .hero-grid { grid-template-columns: 1fr; gap: 64px; }
  .hero-demo { justify-self: center; }
  .group { grid-template-columns: 1fr; gap: 18px; }
}

@media (max-width: 820px) {
  .nav-links {
    position: absolute; top: 66px; left: 12px; right: 12px; flex-direction: column; gap: 2px; padding: 8px;
    border-radius: 14px; border: 1px solid var(--line-2); background: rgba(13, 21, 41, 0.98);
    opacity: 0; transform: translateY(-6px); pointer-events: none; transition: opacity 0.2s, transform 0.25s var(--ease);
  }
  .nav.open { background: rgba(7, 11, 23, 0.95); border-bottom-color: var(--line); }
  .nav.open .nav-links { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a { padding: 12px 14px; font-size: 16px; }
  .menu-toggle { display: block; }
  .items { grid-template-columns: 1fr; gap: 22px; }
  .steps { grid-template-columns: 1fr; }
  .steps { gap: 32px; }
  .footer-inner { grid-template-columns: 1fr; }
  .g-nav { display: none; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .container, .nav-inner { padding: 0 16px; }
  .nav-download { display: none; }
  .hero { padding: 112px 0 72px; }
  .ctas { flex-direction: column; }
  .ctas .btn { width: 100%; }
  .hero-demo { aspect-ratio: auto; height: 600px; }
  .map { display: none; }
  .qc { left: 0; width: 100%; top: 58px; }
  .demo-caption { left: 0; top: 0; }
  .toast { left: auto; right: 0; translate: none; max-width: 100%; white-space: normal; border-radius: 14px; }
  .qc-input { font-size: 18px; }
  .qc-pills { display: none; }
  .qc-foot { gap: 12px; }
  .result { width: 86%; bottom: 0; }
  .section { padding: 80px 0; }
  .legal { padding: 100px 0 72px; }
  .legal-tabs { margin-bottom: 32px; }
  .section-head { margin-bottom: 36px; }
  .tab-panel { padding: 22px 16px; }
  .install-steps li { padding-left: 40px; }
  .code pre { font-size: 12.5px; padding: 44px 16px 15px; }
  .g-slide .shot, .g-slide .quick-shot { max-height: none; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  .js .cta-ring { stroke-dashoffset: 0; }
  .js .cta-node, .js .cta-glow { transform: scale(1); }
}
