/* =====================================================================
   Sophia — Industrie design system (Nov 2026)
   One stylesheet for every page. Dark by default; add class="light" to a
   <section> for the paper tone. Volt (#2E45FF) is the only accent.
   Headlines: sentence case, light weight, .dim for the quiet half,
   <span class="dot"></span> as the closing Volt square.
   Labels: <span class="tag">. Scroll reveal: class="rv" (needs industrie.js).
   ===================================================================== */
@font-face { font-family: 'KMR Apparat'; src: url('assets/KMR Apparat/kmr-apparat-light.woff2') format('woff2'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'KMR Apparat'; src: url('assets/KMR Apparat/kmr-apparat-book.woff2') format('woff2'); font-weight: 350; font-display: swap; }
@font-face { font-family: 'KMR Apparat'; src: url('assets/KMR Apparat/kmr-apparat-regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'KMR Apparat'; src: url('assets/KMR Apparat/kmr-apparat-medium.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'KMR Apparat'; src: url('assets/KMR Apparat/kmr-apparat-bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }

:root {
  --k: #09090b; --k2: #111114; --k3: #1a1a1e;
  --paper: #f5f4f1; --w: #fff; --ink: #0a0a0a;
  --volt: #2E45FF; --vb: #7384ff; --vl: #2E45FF; --on: #fff;
  --ld: rgba(255,255,255,.11); --ll: rgba(0,0,0,.09);
  --td: rgba(255,255,255,.58); --tl: rgba(0,0,0,.56);
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: 'KMR Apparat', system-ui, sans-serif; font-size: 17px; line-height: 1.58; background: var(--k); color: var(--w); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }
h1, h2, h3, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--vb); outline-offset: 3px; }
.wrap { max-width: 1440px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .wrap { padding: 0 44px; } }
section { position: relative; padding: 88px 0; }
@media (min-width: 900px) { section { padding: 184px 0; } }
.light { background: var(--paper); color: var(--ink); }

/* type */
.h1 { font-weight: 300; font-size: clamp(42px, 5.5vw, 90px); line-height: 1.03; letter-spacing: -.035em; text-wrap: balance; }
.h2 { font-weight: 300; font-size: clamp(32px, 3.8vw, 58px); line-height: 1.1; letter-spacing: -.03em; text-wrap: balance; }
.h3 { font-weight: 350; font-size: clamp(23px, 2.1vw, 31px); line-height: 1.2; letter-spacing: -.02em; text-wrap: balance; }
.dot { display: inline-block; width: .12em; height: .12em; background: var(--volt); margin-left: .06em; }
.light .dot { background: var(--vl); }
.dim { color: rgba(255,255,255,.42); }
.light .dim { color: rgba(0,0,0,.36); }
.tag { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 1.9px; text-transform: uppercase; color: var(--td); }
.tag::before { content: ""; width: 5px; height: 5px; background: var(--vb); flex: none; }
.light .tag { color: var(--tl); }
.light .tag::before { background: var(--vl); }
.tag.boxed { border: 1px solid var(--ld); padding: 8px 12px; }
.light .tag.boxed { border-color: var(--ll); }
.lead { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.5; font-weight: 350; color: var(--td); max-width: 34em; }
.light .lead { color: var(--tl); }
.btn { display: inline-flex; align-items: center; gap: 14px; padding: 15px 24px; font-size: 14.5px; font-weight: 400; letter-spacing: .01em; border: 1px solid var(--w); background: var(--w); color: var(--ink); transition: background-color .2s, color .2s, border-color .2s; }
.btn:hover { background: var(--volt); border-color: var(--volt); color: var(--on); }
.btn.ghost { background: transparent; color: var(--w); border-color: rgba(255,255,255,.28); }
.btn.ghost:hover { background: var(--w); color: var(--ink); border-color: var(--w); }
.light .btn { background: var(--ink); color: #fff; border-color: var(--ink); }
.light .btn:hover { background: var(--volt); border-color: var(--volt); color: var(--on); }
.btn i { font-style: normal; transition: transform .2s; }
.btn:hover i { transform: translateX(4px); }
.more { font-family: var(--mono); font-size: 12px; letter-spacing: 1.4px; text-transform: uppercase; display: inline-flex; gap: 10px; align-items: center; border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.more:hover { color: var(--vb); }
.light .more:hover { color: var(--vl); }
.grain::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5; mix-blend-mode: overlay; background-size: 180px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.6' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)' opacity='.55'/%3E%3C/svg%3E"); }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 60; transition: background-color .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav.solid { background: rgba(7,7,8,.82); backdrop-filter: blur(14px); border-color: var(--ld); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 500; letter-spacing: 2.5px; font-size: 14px; }
.brand img { height: 21px; filter: invert(1); }
.nav-links { display: none; align-items: center; gap: 38px; font-size: 14.5px; }
.nav-links a:not(.btn) { color: rgba(255,255,255,.78); }
.nav-links a:not(.btn):hover { color: #fff; }
.nav .btn { padding: 11px 18px; font-size: 14px; }
.burger { width: 44px; height: 44px; display: grid; place-items: center; }
.burger span, .burger span::before { display: block; width: 22px; height: 1.5px; background: #fff; content: ""; }
.burger span::before { transform: translateY(7px); }
.menu { display: none; background: var(--k); border-top: 1px solid var(--ld); padding: 12px 20px 28px; }
.menu a { display: block; padding: 14px 0; border-bottom: 1px solid var(--ld); font-size: 20px; }
.nav.open { background: var(--k); }
.nav.open .menu { display: block; }
@media (min-width: 980px) { .nav-links { display: flex; } .burger, .menu, .nav.open .menu { display: none; } }

/* ---------- Hero ---------- */
.hero { min-height: min(100vh, 1200px); min-height: min(100svh, 1200px); padding: 0; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; overflow: hidden; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 28% 70%; filter: grayscale(.92) brightness(.42) contrast(1.2); transform-origin: 30% 70%; animation: kb 36s ease-in-out infinite alternate; }
@keyframes kb { from { transform: scale(1.04); } to { transform: scale(1.2) translate(-2%, -1%); } }
.hero-bg::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(7,7,8,.85) 0%, rgba(7,7,8,.25) 26%, rgba(7,7,8,.15) 48%, rgba(7,7,8,.94) 100%),
  linear-gradient(90deg, rgba(7,7,8,.8) 0%, rgba(7,7,8,0) 70%),
  radial-gradient(60% 50% at 82% 34%, color-mix(in srgb, var(--volt) 24%, transparent) 0%, transparent 70%); }
.hero-in { position: relative; z-index: 2; padding: 150px 0 72px; }
.hero .h1 { max-width: 12.5em; margin-top: 30px; }
.hero .lead { margin-top: 30px; color: rgba(255,255,255,.78); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.rise { opacity: 0; transform: translateY(26px); animation: rise 1s cubic-bezier(.2,.7,.2,1) forwards; }
.rise.d1 { animation-delay: .12s; } .rise.d2 { animation-delay: .26s; } .rise.d3 { animation-delay: .4s; }
@keyframes rise { to { opacity: 1; transform: none; } }

.ticker { position: relative; z-index: 2; border-top: 1px solid var(--ld); background: rgba(7,7,8,.55); backdrop-filter: blur(10px); display: flex; align-items: stretch; overflow: hidden; }
.ticker-h { flex: none; display: flex; align-items: center; gap: 10px; padding: 0 20px; border-right: 1px solid var(--ld); font-family: var(--mono); font-size: 11px; letter-spacing: 1.6px; text-transform: uppercase; background: var(--k); position: relative; z-index: 1; }
.ticker-h i { width: 7px; height: 7px; background: var(--vb); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .25; } }
.ticker-t { display: flex; gap: 0; white-space: nowrap; animation: mq 48s linear infinite; }
.ticker:hover .ticker-t { animation-play-state: paused; }
.ticker-t span { padding: 15px 32px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .3px; color: rgba(255,255,255,.6); }
.ticker-t b { color: #fff; font-weight: 500; }
.ticker-t em { font-style: normal; color: var(--vb); }
@keyframes mq { to { transform: translateX(-50%); } }

/* ---------- Proof ---------- */
.proof { padding-top: 96px; }
.logos { display: grid; grid-template-columns: repeat(2, 1fr); margin-top: 20px; border-top: 1px solid var(--ld); border-bottom: 1px solid var(--ld); padding: 12px 0; }
@media (min-width: 640px) { .logos { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1100px) { .logos { grid-template-columns: repeat(6, 1fr); } }
.logos div { height: 104px; display: grid; place-items: center; }
.logos img { max-height: 66px; max-width: 70%; filter: grayscale(1) invert(1) brightness(1.5); mix-blend-mode: screen; opacity: .48; transition: opacity .25s; }
.logos img.sv { max-height: 26px; filter: grayscale(1) brightness(3); mix-blend-mode: normal; }
.logos div:hover img { opacity: 1; }
.stats { display: grid; grid-template-columns: 1fr 1fr; margin-top: 96px; }
@media (min-width: 1000px) { .stats { grid-template-columns: repeat(4, 1fr); margin-top: 150px; } }
.stat { border-top: 1px solid var(--ld); padding: 22px 24px 0 0; margin-bottom: 48px; }
.stat-v { font-size: clamp(50px, 5.2vw, 84px); font-weight: 300; letter-spacing: -.04em; line-height: 1; margin-top: 26px; font-variant-numeric: tabular-nums; }
.stat-v small { font-size: .38em; letter-spacing: -.02em; margin-left: .1em; color: var(--td); }
.stat p { margin-top: 14px; font-size: 15px; color: var(--td); max-width: 16em; }

/* ---------- Bento ---------- */
.bento { display: grid; gap: 24px; grid-template-columns: 1fr; margin-top: 64px; }
@media (min-width: 900px) { .bento { grid-template-columns: 1fr 1fr; } .bento .wide { grid-column: 1 / -1; } }
.tile { position: relative; background: var(--w); padding: 30px; min-height: 420px; display: flex; flex-direction: column; overflow: hidden; }
@media (min-width: 900px) { .tile { min-height: 580px; padding: 44px; } }
.tile .push { margin-top: auto; padding-top: 40px; }
.tile p { margin-top: 18px; color: var(--tl); max-width: 32em; }
.tile.photo { padding: 0; background: #111; color: #fff; }
.tile.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(.85) contrast(1.1) brightness(.8); transition: transform 1.4s cubic-bezier(.2,.7,.2,1), filter .6s; }
.tile.photo:hover img { transform: scale(1.05); filter: grayscale(0) contrast(1.05) brightness(.9); }
.tile.photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05) 40%, rgba(0,0,0,.75) 100%); pointer-events: none; }
.tile.photo .cap { position: relative; z-index: 2; margin-top: auto; padding: 32px 44px; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.tile.photo .tag { color: rgba(255,255,255,.85); }
.play { font-family: var(--mono); font-size: 11px; letter-spacing: 1.6px; text-transform: uppercase; border-bottom: 1px solid rgba(255,255,255,.6); padding-bottom: 4px; }
.tile.photo:hover .play { border-bottom-color: #fff; }

/* line */
.line-tile { min-height: 0 !important; }
.line-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.line-head .h2 { font-size: clamp(34px, 4.4vw, 68px); letter-spacing: -.035em; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: baseline; gap: 12px; padding: 10px 16px; border: 1px solid var(--ll); }
.chip b { font-size: 24px; font-weight: 300; letter-spacing: -.03em; }
.chip span { font-family: var(--mono); font-size: 10.5px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--tl); }
.line-scroll { overflow-x: auto; margin: 72px -30px 0; padding: 0 30px 8px; }
.line { position: relative; min-width: 820px; display: grid; grid-template-columns: repeat(6, 1fr); padding: 54px 0 8px; }
.line::before { content: ""; position: absolute; left: calc(100% / 12); right: calc(100% / 12); top: 86px; height: 1px; background: rgba(0,0,0,.35); }
.st { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.st .ag { position: absolute; top: -44px; font-family: var(--mono); font-size: 10px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--tl); white-space: nowrap; display: inline-flex; gap: 8px; align-items: center; transition: color .3s; }
.st .ag::before { content: ""; width: 5px; height: 5px; background: var(--vl); }
.st .ag.off { color: var(--tl); } .st .ag.off::before { background: rgba(0,0,0,.3); }
.st .nd { width: 64px; height: 64px; border: 1px solid rgba(0,0,0,.35); background: var(--w); display: grid; place-items: center; position: relative; z-index: 2; transition: background-color .3s, color .3s; }
.st .nd svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.2; }
.st.hit .nd { background: var(--ink); border-color: var(--ink); color: #fff; }
.st.hit .ag { color: var(--vl); }
.st b { margin-top: 18px; font-weight: 400; font-size: 17px; }
.st small { font-size: 13.5px; color: var(--tl); margin-top: 2px; }
.slip { position: absolute; top: 75px; left: calc(100% / 12); width: 17px; height: 22px; margin-left: -8.5px; background: var(--w); border: 1px solid var(--ink); z-index: 3; animation: run 12s linear infinite; }
.slip::before { content: ""; position: absolute; left: 3px; right: 3px; top: 5px; height: 1.5px; background: var(--volt); box-shadow: 0 5px 0 rgba(0,0,0,.3), 0 10px 0 rgba(0,0,0,.3); }
.slip.s2 { animation-delay: -4s; } .slip.s3 { animation-delay: -8s; }
@keyframes run { from { left: calc(100% / 12); } to { left: calc(100% * 11 / 12); } }

/* ---------- Product ---------- */
.tabs { display: grid; grid-template-columns: 1fr; gap: 0; margin-top: 60px; border-top: 1px solid var(--ld); }
@media (min-width: 900px) { .tabs { grid-template-columns: repeat(3, 1fr); } }
.tab { display: flex; flex-direction: column; justify-content: flex-start; padding: 22px 0 24px; border-bottom: 1px solid var(--ld); position: relative; color: rgba(255,255,255,.45); transition: color .25s; }
@media (min-width: 900px) { .tab { padding: 26px 28px 30px 0; } }
.tab::before { content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 0; background: var(--vb); transition: width .5s cubic-bezier(.2,.7,.2,1); }
.tab[aria-selected="true"] { color: #fff; } .tab[aria-selected="true"]::before { width: 100%; }
.tab:hover { color: #fff; }
.tab small { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 10px; }
.tab b { font-weight: 300; font-size: clamp(21px, 1.9vw, 27px); letter-spacing: -.02em; line-height: 1.15; display: block; }
.panel { display: none; grid-template-columns: 1fr; gap: 40px; margin-top: 56px; }
.panel.on { display: grid; animation: fade .5s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(12px); } }
@media (min-width: 1040px) { .panel { grid-template-columns: 380px minmax(0, 1fr); gap: 64px; } }
.steps li { display: grid; grid-template-columns: 40px 1fr; padding: 16px 0; border-bottom: 1px solid var(--ld); }
.steps li:first-child { border-top: 1px solid var(--ld); }
.steps i { font-style: normal; font-family: var(--mono); font-size: 11px; color: var(--vb); padding-top: 5px; }
.steps b { font-weight: 500; display: block; }
.steps span { color: var(--td); font-size: 15px; }
.panel .more { margin-top: 30px; }

.win { background: var(--k2); border: 1px solid var(--ld);  min-width: 0; }
.win-bar { display: flex; gap: 14px; align-items: center; padding: 13px 18px; border-bottom: 1px solid var(--ld); font-family: var(--mono); font-size: 11.5px; color: var(--td); }
.win-bar b { color: #fff; font-weight: 500; }
.win-bar span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.win-bar em { margin-left: auto; font-style: normal; display: inline-flex; gap: 8px; align-items: center; white-space: nowrap; text-transform: uppercase; letter-spacing: 1.2px; font-size: 10.5px; }
.win-bar em::before { content: ""; width: 6px; height: 6px; background: var(--vb); }
.lbl { font-family: var(--mono); font-size: 10.5px; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,.45); }

/* drawing demo */
.hx-grid { display: grid; grid-template-columns: 1fr; }
@media (min-width: 760px) { .hx-grid { grid-template-columns: minmax(0, 1fr) 290px; } }
.hx-draw { padding: 18px; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 24px 24px; border-bottom: 1px solid var(--ld); }
@media (min-width: 760px) { .hx-draw { border-bottom: 0; border-right: 1px solid var(--ld); } }
.hx-side { padding: 18px; }
.dwg { width: 100%; height: auto; display: block; }
.dwg .ln { fill: none; stroke: #fff; stroke-width: 1.5; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.3s ease; }
.dwg .ln.thin { stroke-width: 1; }
.hx.g1 .dwg .ln { stroke-dashoffset: 0; }
.dwg .fd { opacity: 0; transition: opacity .6s ease .7s; } .hx.g1 .dwg .fd { opacity: 1; }
.dwg .axis { stroke: rgba(255,255,255,.35); stroke-width: .8; stroke-dasharray: 14 4 2 4; fill: none; }
.dwg .dm { color: rgba(255,255,255,.32); opacity: 0; cursor: pointer; transition: color .3s, opacity .5s ease .9s; }
.hx.g1 .dwg .dm { opacity: 1; }
.dwg .dm line, .dwg .dm path { stroke: currentColor; stroke-width: 1; fill: none; }
.dwg .dm polygon, .dwg .dm circle { fill: currentColor; }
.dwg .dm text { fill: currentColor; font-size: 13px; font-family: var(--mono); }
.dwg .dm .hit { fill: transparent; }
.dwg .dm.done { color: #fff; }
.dwg .dm.on, .dwg .dm.hl { color: var(--vb); }
.dwg .tbk { font-size: 8.5px; letter-spacing: 1.2px; text-transform: uppercase; fill: rgba(255,255,255,.5); font-family: var(--mono); }
.dwg .tbv { font-size: 12px; fill: #fff; font-weight: 500; }
.feats { margin-top: 12px; border-top: 1px solid rgba(255,255,255,.5); }
.feats li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 8px 9px 16px; border-bottom: 1px solid var(--ld); font-size: 14px; position: relative; opacity: 0; transform: translateX(-8px); transition: opacity .35s, transform .35s, background-color .3s; }
.feats li::before { content: ""; position: absolute; left: 2px; top: 50%; width: 6px; height: 6px; margin-top: -3px; background: rgba(255,255,255,.6); transition: background-color .3s; }
.feats li.in { opacity: 1; transform: none; }
.feats li.on, .feats li.hl { background: color-mix(in srgb, var(--vb) 16%, transparent); }
.feats li.on::before, .feats li.hl::before { background: var(--vb); }
.feats span { color: var(--td); } .feats b { font-weight: 500; white-space: nowrap; }
.quote { margin-top: 20px; opacity: 0; transform: translateY(10px); transition: opacity .5s, transform .5s; pointer-events: none; }
.hx.g3 .quote { opacity: 1; transform: none; pointer-events: auto; }
.quote-r { display: flex; justify-content: space-between; font-size: 14px; padding: 9px 0; border-bottom: 1px solid var(--ld); color: var(--td); }
.quote-r b { color: #fff; font-weight: 500; }
.quote-s { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 0 16px; }
.quote-s b { font-size: 28px; font-weight: 300; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.act { width: 100%; padding: 14px; text-align: center; background: #fff; color: var(--ink); font-weight: 500; font-size: 14.5px; transition: background-color .2s, color .2s; }
.act:hover { background: var(--volt); color: var(--on); }
.okline { display: none; padding: 14px; background: var(--volt); color: var(--on); font-family: var(--mono); font-size: 11.5px; letter-spacing: 1.3px; text-transform: uppercase; align-items: center; gap: 10px; }
.okline::before { content: "✓"; }
.done .act { display: none; } .done .okline { display: flex; }
.stp { display: flex; border-top: 1px solid var(--ld); overflow-x: auto; }
.stp button { flex: 1 0 auto; padding: 14px 16px; font-family: var(--mono); font-size: 11px; letter-spacing: 1.4px; text-transform: uppercase; color: rgba(255,255,255,.45); border-right: 1px solid var(--ld); white-space: nowrap; transition: color .2s, background-color .2s; }
.stp button:hover { color: #fff; background: var(--k3); }
.stp button.past { color: #fff; }
.stp button.now { background: #fff; color: var(--ink); }
.stp .rp { flex: 0 0 auto; color: var(--vb); border-right: 0; }

/* compare + match mocks */
.mock { padding: 22px; }
.cmp { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 15px; }
.cmp th { text-align: left; font-family: var(--mono); font-size: 10.5px; letter-spacing: 1.4px; text-transform: uppercase; color: rgba(255,255,255,.45); font-weight: 400; padding: 10px 12px 10px 0; border-bottom: 1px solid rgba(255,255,255,.5); }
.cmp td { padding: 14px 12px 14px 0; border-bottom: 1px solid var(--ld); opacity: 0; transition: opacity .4s; }
.cmp tr.in td { opacity: 1; }
.cmp td:first-child { color: var(--td); }
.cmp .ok { font-family: var(--mono); font-size: 11.5px; color: rgba(255,255,255,.7); }
.cmp .bad { font-family: var(--mono); font-size: 11.5px; color: var(--on); background: var(--volt); padding: 4px 8px; white-space: nowrap; }
.cmp tr.dev td { background: color-mix(in srgb, var(--vb) 12%, transparent); }
.draft { margin-top: 20px; border: 1px solid var(--ld); padding: 16px; opacity: 0; transform: translateY(10px); transition: opacity .5s, transform .5s; }
.draft.in { opacity: 1; transform: none; }
.draft p { font-size: 14.5px; color: var(--td); margin: 8px 0 16px; }
.match { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 14px; }
@media (min-width: 640px) { .match { grid-template-columns: repeat(3, 1fr); } }
.doc { border: 1px solid var(--ld); padding: 16px; position: relative; opacity: .35; transition: opacity .4s, border-color .4s; }
.doc.in { opacity: 1; border-color: rgba(255,255,255,.5); }
.doc b { display: block; font-weight: 500; margin-top: 10px; }
.doc span { font-size: 14px; color: var(--td); }
.doc::after { content: "✓"; position: absolute; right: 12px; top: 10px; width: 22px; height: 22px; display: grid; place-items: center; background: var(--volt); color: var(--on); font-size: 12px; opacity: 0; transform: scale(.4); transition: opacity .3s .2s, transform .3s .2s; }
.doc.in::after { opacity: 1; transform: none; }

/* ---------- Kunden ---------- */
.cases { display: grid; gap: 24px; grid-template-columns: 1fr; margin-top: 64px; }
@media (min-width: 960px) { .cases { grid-template-columns: repeat(3, 1fr); } }
.case { background: var(--w); display: flex; flex-direction: column; }
.case-img { aspect-ratio: 4 / 3; overflow: hidden; background: #111; }
.case-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.9) contrast(1.15) brightness(.85); transition: transform 1.2s cubic-bezier(.2,.7,.2,1), filter .5s; }
.case:hover .case-img img { transform: scale(1.06); filter: none; }
.case-b { padding: 32px; display: flex; flex-direction: column; flex: 1; }
.case-n { font-size: clamp(46px, 4.2vw, 68px); font-weight: 300; letter-spacing: -.04em; line-height: 1; margin-top: 22px; }
.case-b p { margin-top: 14px; color: var(--tl); }
.case-b .more { margin-top: auto; align-self: flex-start; }
.case-b .sp { height: 34px; }

/* ---------- Vorgehen ---------- */
.way { border-top: 1px solid var(--ld); }
.way .h2 { font-size: clamp(42px, 6vw, 104px); letter-spacing: -.04em; line-height: 1.02; margin-top: 30px; }
.days { display: grid; grid-template-columns: repeat(14, 1fr); margin-top: 96px; }
.days i { font-style: normal; position: relative; padding: 14px 0 0; border-top: 1px solid var(--ld); font-family: var(--mono); font-size: 10.5px; letter-spacing: 1px; color: rgba(255,255,255,.3); transition: border-color .6s ease, color .6s ease; }
.days i::before { content: ""; position: absolute; left: 0; top: -1px; width: 1px; height: 7px; background: rgba(255,255,255,.3); }
.days.vis i { border-top-color: var(--vb); color: rgba(255,255,255,.55); }
.days i.ms::before { top: -4px; width: 7px; height: 7px; background: var(--k); border: 1px solid rgba(255,255,255,.4); transition: background-color .4s ease, border-color .4s ease; transition-delay: inherit; }
.days.vis i.ms { color: #fff; }
.days.vis i.ms::before { background: var(--vb); border-color: var(--vb); }
@media (max-width: 640px) { .days i { font-size: 8.5px; letter-spacing: 0; } }
.way-steps { display: grid; grid-template-columns: 1fr; margin-top: 72px; }
@media (min-width: 900px) { .way-steps { grid-template-columns: repeat(4, 1fr); } }
.way-steps li { padding: 0 28px 36px 0; }
.way-steps i { font-style: normal; font-family: var(--mono); font-size: 11px; letter-spacing: 1.4px; color: var(--td); }
.way-steps b { display: block; font-weight: 350; font-size: 23px; letter-spacing: -.02em; margin-top: 16px; }
.way-steps p { color: var(--td); margin-top: 8px; font-size: 16px; max-width: 18em; }
.way-foot { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: flex-end; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--ld); }

/* ---------- Sicherheit ---------- */
.sec-grid { display: grid; grid-template-columns: 1fr; gap: 48px; margin-top: 64px; }
@media (min-width: 1040px) { .sec-grid { grid-template-columns: 1.1fr 2fr; gap: 80px; } }
.sec-items { display: grid; gap: 0; }
.sec-items li { display: grid; grid-template-columns: 1fr; gap: 6px 40px; padding: 32px 0; border-top: 1px solid var(--ll); }
@media (min-width: 700px) { .sec-items li { grid-template-columns: 260px 1fr; } }
.sec-items b { font-weight: 400; font-size: 19px; letter-spacing: -.01em; }
.sec-items p { color: var(--tl); }
.certs { display: flex; flex-wrap: wrap; gap: 14px 0; margin-top: 40px; }
.cert { padding: 0 28px 0 0; }
.cert b { display: block; font-weight: 500; }
.cert span { font-family: var(--mono); font-size: 10.5px; letter-spacing: 1.3px; text-transform: uppercase; color: var(--tl); }

/* ---------- Closing ---------- */
.closing { overflow: hidden; padding: 28px 0 56px; background: var(--volt); color: var(--on); }
@media (min-width: 900px) { .closing { padding: 44px 0 80px; } }
.closing .tag { color: var(--on); } .closing .tag::before { background: var(--on); }
.closing .h1 { font-size: clamp(60px, 10.5vw, 184px); letter-spacing: -.045em; line-height: .94; margin-top: clamp(96px, 13vw, 220px); }
.closing .dot { background: var(--on); }
.closing-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 28px; margin-top: 72px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.35); }
.closing-row p { font-size: clamp(17px, 1.35vw, 20px); font-weight: 350; max-width: 24em; }
.closing .cta { margin-top: 0; }
.closing .btn { background: #fff; border-color: #fff; color: #0a0a0a; }
.closing .btn:hover { background: #0a0a0a; border-color: #0a0a0a; color: #fff; }
.closing .btn.ghost { background: transparent; color: var(--on); border-color: rgba(255,255,255,.5); }
.closing .btn.ghost:hover { background: #0a0a0a; border-color: #0a0a0a; color: #fff; }

/* ---------- Footer ---------- */
footer { padding: 72px 0 40px; border-top: 1px solid var(--ld); }
.foot { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 24px; }
@media (min-width: 900px) { .foot { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.foot h4 { margin: 0 0 16px; font-family: var(--mono); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 400; color: rgba(255,255,255,.45); }
.foot a { display: block; padding: 5px 0; color: rgba(255,255,255,.8); font-size: 16px; }
.foot a:hover { color: #fff; }
.foot a.brand { display: flex; margin-bottom: 18px; }
.foot p { color: var(--td); font-size: 15px; max-width: 22em; }
.legal { margin-top: 64px; padding-top: 22px; border-top: 1px solid var(--ld); font-family: var(--mono); font-size: 11px; letter-spacing: 1.2px; text-transform: uppercase; color: rgba(255,255,255,.4); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }

.rv { opacity: 0; transform: translateY(18px); transition: opacity 1.2s cubic-bezier(.2,.7,.2,1), transform 1.2s cubic-bezier(.2,.7,.2,1); }
.rv.vis { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .rv, .rise { opacity: 1; transform: none; }
  .slip.s2 { left: 45%; } .slip.s3 { left: 75%; }
}

/* =====================================================================
   Shared components for subpages
   Context vars: --line / --mute follow the section tone (dark default, .light)
   ===================================================================== */
body { --line: var(--ld); --mute: var(--td); }
.light { --line: var(--ll); --mute: var(--tl); }
.dark { background: var(--k); color: var(--w); --line: var(--ld); --mute: var(--td); }
.dark .tag { color: var(--td); } .dark .tag::before { background: var(--vb); }
.mute { color: var(--mute); }
.mono { font-family: var(--mono); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; }
.mt-s { margin-top: 28px; } .mt-m { margin-top: 56px; } .mt-l { margin-top: 96px; }
.maxw-s { max-width: 18em; } .maxw-m { max-width: 26em; } .maxw-l { max-width: 40em; }
.tight { padding-top: 0 !important; }
.border-top { border-top: 1px solid var(--line); }

/* nav dropdown + language */
.dd { position: relative; }
.dd-menu { position: absolute; left: -20px; top: 100%; padding-top: 18px; display: none; min-width: 250px; }
.dd:hover .dd-menu, .dd:focus-within .dd-menu { display: block; }
.dd-menu div { background: var(--k2); border: 1px solid var(--ld); padding: 8px 0; }
.dd-menu a { display: block; padding: 11px 20px; font-size: 14.5px; }
.dd-menu a:hover { background: var(--k3); }
.nav-links a.lang { font-family: var(--mono); font-size: 11px; letter-spacing: 1.5px; color: rgba(255,255,255,.5); }
.menu a.sub { padding-left: 18px; font-size: 16px; color: var(--td); }

/* subpage hero: dark, type only (add .photo + .hero-bg for an image) */
.page-hero { padding: 190px 0 96px; overflow: hidden; }
@media (min-width: 900px) { .page-hero { padding: 250px 0 130px; } }
.page-hero .h1 { margin-top: 30px; max-width: 13em; }
.page-hero .lead { margin-top: 32px; }
.page-hero .wrap { position: relative; z-index: 2; }
.h1.sm { font-size: clamp(38px, 4.6vw, 74px); }
.facts { display: flex; flex-wrap: wrap; gap: 14px 44px; margin-top: 72px; padding-top: 22px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 11px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--mute); }
.facts b { color: inherit; font-weight: 400; display: inline-flex; align-items: center; gap: 10px; }
.facts b::before { content: ""; width: 5px; height: 5px; background: var(--vb); }
.light .facts b::before { background: var(--vl); }

/* section head */
.head { display: grid; grid-template-columns: 1fr; gap: 24px 64px; align-items: end; }
@media (min-width: 1000px) { .head.two { grid-template-columns: 1.2fr 1fr; } }
.head .h2 { margin-top: 28px; }
.head .lead { margin: 0; }

/* two columns: sticky intro left, content right */
.split { display: grid; grid-template-columns: 1fr; gap: 48px; }
@media (min-width: 1040px) { .split { grid-template-columns: 1.1fr 2fr; gap: 80px; } .split.even { grid-template-columns: 1fr 1fr; } }
.split .h2 { margin-top: 28px; }

/* cells: numbered stations / principles / features */
.cells { display: grid; grid-template-columns: 1fr; gap: 0 32px; margin-top: 72px; }
@media (min-width: 700px) { .cells { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .cells.c3 { grid-template-columns: repeat(3, 1fr); } .cells.c4 { grid-template-columns: repeat(4, 1fr); } .cells.c5 { grid-template-columns: repeat(5, 1fr); } }
.cell { border-top: 1px solid var(--line); padding: 22px 0 48px; }
.cell i { font-style: normal; font-family: var(--mono); font-size: 11px; letter-spacing: 1.5px; color: var(--vb); }
.light .cell i { color: var(--vl); }
.cell b { display: block; font-weight: 350; font-size: 23px; letter-spacing: -.02em; line-height: 1.2; margin-top: 18px; }
.cell p { color: var(--mute); margin-top: 10px; font-size: 16px; max-width: 24em; }

/* rows: title left, text right */
.rows li, .rows > div { display: grid; grid-template-columns: 1fr; gap: 6px 40px; padding: 32px 0; border-top: 1px solid var(--line); }
.rows li:last-child, .rows > div:last-child { border-bottom: 1px solid var(--line); }
@media (min-width: 700px) { .rows li, .rows > div { grid-template-columns: 260px 1fr; } }
.rows b { font-weight: 400; font-size: 19px; letter-spacing: -.01em; }
.rows p { color: var(--mute); }

/* large statement / pull quote */
.statement { font-weight: 300; font-size: clamp(28px, 3.3vw, 50px); line-height: 1.16; letter-spacing: -.028em; max-width: 22em; text-wrap: balance; }
.statement + .mono { display: block; margin-top: 28px; color: var(--mute); }

/* big figures with source (use .stats/.stat for the plain row) */
.figs { display: grid; grid-template-columns: 1fr; gap: 0 32px; margin-top: 72px; }
@media (min-width: 700px) { .figs { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .figs { grid-template-columns: repeat(3, 1fr); } }
.fig { border-top: 1px solid var(--line); padding: 22px 0 52px; }
.fig-v { font-size: clamp(46px, 4.6vw, 76px); font-weight: 300; letter-spacing: -.04em; line-height: 1; }
.fig-v small { font-size: .4em; letter-spacing: -.01em; margin-left: .12em; color: var(--mute); }
.fig p { margin-top: 14px; color: var(--mute); max-width: 22em; font-size: 16px; }
.fig .mono { display: block; margin-top: 14px; font-size: 10px; color: var(--mute); opacity: .8; }

/* media: full photo block inside a section */
.media { position: relative; overflow: hidden; background: #111; aspect-ratio: 16 / 8; }
.media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.85) contrast(1.1) brightness(.85); }
.media.tall { aspect-ratio: 4 / 5; }

/* people */
.people { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 72px; }
@media (min-width: 800px) { .people { grid-template-columns: repeat(3, 1fr); } }
.person-img { aspect-ratio: 4 / 5; overflow: hidden; background: #111; }
.person-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter .5s; }
.person:hover .person-img img { filter: none; }
.person b { display: block; font-weight: 400; font-size: 21px; letter-spacing: -.01em; margin-top: 20px; }
.person .mono { display: block; margin-top: 6px; color: var(--mute); font-size: 10.5px; }
.person p { color: var(--mute); margin-top: 14px; font-size: 16px; }

/* link rows (jobs, downloads) */
.links a { display: grid; grid-template-columns: 1fr auto; gap: 8px 32px; align-items: baseline; padding: 30px 0; border-top: 1px solid var(--line); transition: padding .3s cubic-bezier(.2,.7,.2,1); }
.links a:last-child { border-bottom: 1px solid var(--line); }
.links a:hover { padding-left: 14px; }
.links b { font-weight: 350; font-size: clamp(22px, 2.2vw, 32px); letter-spacing: -.02em; }
.links span { color: var(--mute); }
.links i { font-style: normal; font-size: 22px; }
.links small { grid-column: 1 / -1; color: var(--mute); font-size: 16px; }

/* prose: legal pages, manifest, job descriptions */
.prose { max-width: 760px; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-weight: 350; font-size: clamp(26px, 2.4vw, 34px); letter-spacing: -.02em; line-height: 1.2; margin-top: 2.4em; }
.prose h3 { font-weight: 400; font-size: 20px; letter-spacing: -.01em; margin-top: 2em; }
.prose p, .prose li { color: var(--mute); }
.prose strong, .prose b { color: inherit; font-weight: 500; }
.light .prose strong, .light .prose b { color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose ul { list-style: square; } .prose ol { list-style: decimal; }
.prose li + li { margin-top: .5em; }
.prose a { border-bottom: 1px solid currentColor; }
.prose a:hover { color: var(--vl); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 12px 16px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-family: var(--mono); font-size: 10.5px; letter-spacing: 1.4px; text-transform: uppercase; font-weight: 400; color: var(--mute); }

/* manifest lines */
.manifest p { font-weight: 300; font-size: clamp(26px, 3vw, 46px); line-height: 1.2; letter-spacing: -.028em; padding: 30px 0; border-top: 1px solid var(--line); max-width: 24em; }

/* forms */
.form { display: grid; gap: 22px; max-width: 620px; }
.form label { display: grid; gap: 8px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--mute); }
.form input, .form textarea, .form select { font: inherit; font-family: 'KMR Apparat', system-ui, sans-serif; font-size: 17px; letter-spacing: 0; text-transform: none; color: inherit; background: transparent; border: 0; border-bottom: 1px solid var(--line); padding: 10px 0 12px; border-radius: 0; width: 100%; }
.form input:focus, .form textarea:focus, .form select:focus { outline: 0; border-bottom-color: var(--vl); }
.dark .form input:focus, .dark .form textarea:focus { border-bottom-color: var(--vb); }
.form textarea { min-height: 120px; resize: vertical; }
.form .btn { justify-self: start; cursor: pointer; }

/* generic data window on light sections */
.light .win { background: var(--k2); color: #fff; --line: var(--ld); --mute: var(--td); }

/* closing band (flat Volt) is .closing; compact variant */
.closing.compact .h1 { font-size: clamp(44px, 6.4vw, 110px); margin-top: clamp(64px, 8vw, 130px); }

/* running copy inside a section (right column of .split) */
.copy p { color: var(--mute); font-size: clamp(17px, 1.3vw, 19px); max-width: 38em; }
.copy p + p { margin-top: 1.2em; }
.copy strong { font-weight: 400; color: var(--w); }
.light .copy strong { color: var(--ink); }
.copy .statement, .copy .facts, .copy .logos { margin-top: 56px; }
.idx { color: var(--w); } .light .idx { color: var(--ink); }
.logos .more-tile { font-family: var(--mono); font-size: 10.5px; letter-spacing: 1.3px; text-transform: uppercase; color: var(--td); text-align: center; line-height: 1.6; }
.copy p.statement { font-size: clamp(24px, 2.4vw, 36px); color: inherit; max-width: 20em; }
.lead strong { font-weight: 400; color: var(--w); }
.light .lead strong { color: var(--ink); }

/* ---------- Herkunft: self-playing film of machines (homepage) ---------- */
.saga { padding: 0; border-top: 1px solid var(--ld); }
.saga-head { padding-top: 110px; padding-bottom: 64px; }
@media (min-width: 900px) { .saga-head { padding-top: 184px; padding-bottom: 96px; } }
button.more { cursor: pointer; }
.saga-track { position: relative; }
.saga-track[hidden] { display: none; }
.saga-stage { position: relative; height: min(100vh, 880px); height: min(100svh, 880px); min-height: 560px; overflow: hidden; background: var(--k); }

/* photographs fill the right side and bleed off the edge */
.saga-photos { position: absolute; top: 0; right: 0; bottom: 0; width: 64%; background: #0e0e10; overflow: hidden; }
.saga-ph { position: absolute; inset: 0; margin: 0; opacity: 0; will-change: clip-path, opacity; }
.saga-ph img, .saga-ph video { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) brightness(.84) contrast(1.04); will-change: transform; }
.saga-note { position: absolute; right: 16px; top: 16px; z-index: 5; font-family: var(--mono); font-size: 9.5px; letter-spacing: 1.2px; text-transform: uppercase; color: rgba(255,255,255,.55); }
.saga-ph figcaption { position: absolute; right: 0; top: 0; padding: 7px 14px; background: rgba(9,9,11,.7); font-family: var(--mono); font-size: 9.5px; letter-spacing: .8px; text-transform: uppercase; color: rgba(255,255,255,.55); z-index: 2; }
.saga-ph figcaption a:hover { color: #fff; }
.saga-photos::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, var(--k) 0%, rgba(9,9,11,.55) 22%, rgba(9,9,11,0) 55%), linear-gradient(0deg, rgba(9,9,11,.85) 0%, rgba(9,9,11,0) 38%); }
.saga-plan { position: absolute; left: 54%; top: 46%; width: min(66%, 600px); transform: translate(-50%, -50%); overflow: visible; z-index: 3; }
.saga-dr { opacity: 0; --d: 0; }
.saga-dr .s { fill: none; stroke: #fff; stroke-width: 1.2; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--d)); }
.saga-dr .t { font-family: var(--mono); font-size: 9px; letter-spacing: 1px; fill: rgba(255,255,255,.55); }
.saga-scan { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--vb); box-shadow: 0 0 24px 2px color-mix(in srgb, var(--vb) 70%, transparent); opacity: 0; z-index: 4; }

/* finale */
.saga-flood { position: absolute; inset: 0; background: var(--volt); visibility: hidden; display: grid; place-items: center; z-index: 5; }
.saga-flood svg { width: min(34vh, 30vw); height: auto; margin-left: 28%; overflow: visible; }
.saga-flood path { fill: #fff; fill-opacity: 0; stroke: #fff; stroke-width: 1; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; }

/* interface layer */
.saga-ui { position: absolute; inset: 0; z-index: 6; pointer-events: none; }
.saga-gap, .saga-text, .saga-year { position: absolute; left: max(44px, calc((100vw - 1440px) / 2 + 44px)); }
@media (max-width: 767px) { .saga-gap, .saga-text, .saga-year { left: 20px; } }
.saga-gap { top: 56px; }
.saga-gap i { display: block; width: min(300px, 60vw); height: 1px; background: rgba(255,255,255,.18); margin-top: 14px; }
.saga-gap b { display: block; height: 100%; background: var(--vb); transform-origin: 0 50%; transform: scaleX(0); transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.saga-text { top: 30%; max-width: 30em; }
.saga-text .h3 { margin-top: 16px; font-size: clamp(28px, 3vw, 46px); font-weight: 300; letter-spacing: -.03em; }
.saga-text p { margin-top: 12px; color: rgba(255,255,255,.72); max-width: 22em; }
.saga-text.is-last { max-width: none; }
.saga-text.is-last .h3 { font-size: clamp(40px, 5.6vw, 88px); letter-spacing: -.04em; line-height: 1; margin-top: 20px; }
.saga-text.is-last p { margin-top: 20px; font-size: clamp(17px, 1.35vw, 20px); }
.saga-year { bottom: 78px; display: flex; font-weight: 300; font-size: clamp(110px, 19vw, 320px); line-height: 1; letter-spacing: -.06em; height: 1em; overflow: hidden; color: #fff; margin-left: -.05em; text-shadow: 0 2px 40px rgba(9,9,11,.45); }
.saga-year .reel { display: flex; flex-direction: column; height: 11em; will-change: transform; }
.saga-year .reel span { height: 1em; display: block; font-variant-numeric: tabular-nums; }
.saga-rule { position: absolute; left: max(44px, calc((100vw - 1440px) / 2 + 44px)); right: max(44px, calc((100vw - 1440px) / 2 + 44px)); bottom: 44px; height: 1px; background: rgba(255,255,255,.2); pointer-events: auto; }
@media (max-width: 767px) { .saga-rule { left: 20px; right: 20px; } }
.saga-rule-fill { position: absolute; inset: 0; background: var(--vb); transform-origin: 0 50%; transform: scaleX(0); }
.saga-head-dot { position: absolute; top: -4px; width: 9px; height: 9px; margin-left: -4px; background: var(--vb); }
.saga-tick { position: absolute; top: -10px; width: 13px; height: 21px; margin-left: -6px; }
.saga-tick::before { content: ""; position: absolute; left: 6px; top: 7px; width: 1px; height: 7px; background: rgba(255,255,255,.35); transition: background-color .3s; }
.saga-tick.past::before { background: #fff; }
.saga-rule-a, .saga-rule-b { position: absolute; top: 14px; font-family: var(--mono); font-size: 10px; letter-spacing: 1.2px; text-transform: uppercase; color: rgba(255,255,255,.5); }
.saga-rule-a { left: 0; } .saga-rule-b { right: 0; }
.saga-stage.is-volt .saga-year { mix-blend-mode: normal; }
.saga-stage.is-volt .tag { color: #fff; } .saga-stage.is-volt .tag::before { background: #fff; }
.saga-stage.is-volt .saga-text p { color: #fff; }
.saga-stage.is-volt .saga-rule-fill, .saga-stage.is-volt .saga-head-dot, .saga-stage.is-volt .saga-gap b { background: #fff; }
.saga-stage.is-volt .saga-rule { background: rgba(255,255,255,.35); }
.saga-stage.is-volt .saga-rule-a, .saga-stage.is-volt .saga-rule-b { color: rgba(255,255,255,.8); }

@media (max-width: 800px) {
  .saga-photos { width: 100%; bottom: auto; height: 50%; }
  .saga-photos::after { background: linear-gradient(0deg, var(--k) 0%, rgba(9,9,11,0) 45%); }
  .saga-plan { left: 50%; top: 50%; }
  .saga-gap { top: 52%; }
  .saga-text { top: calc(52% + 52px); }
  .saga-text p { font-size: 15px; }
  .saga-year { font-size: 27vw; bottom: 70px; }
  .saga-flood svg { margin-left: 0; margin-top: -40%; width: 38vw; }
}

/* reduced motion: static list */
.saga-list { display: grid; grid-template-columns: 1fr; gap: 0 32px; padding-bottom: 110px; }
.saga-list[hidden] { display: none; }
@media (min-width: 700px) { .saga-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .saga-list { grid-template-columns: repeat(4, 1fr); } }
.saga-item { border-top: 1px solid var(--ld); padding: 18px 0 44px; }
.saga-item-img { aspect-ratio: 4 / 3; background: #0e0e10; overflow: hidden; margin-bottom: 18px; }
.saga-item-img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) brightness(.9); }
.saga-item i { font-style: normal; font-family: var(--mono); font-size: 10.5px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--vb); }
.saga-item b { display: block; font-weight: 350; font-size: 22px; letter-spacing: -.02em; margin-top: 12px; }
.saga-item p { color: var(--td); margin-top: 8px; font-size: 15.5px; }

/* ---------- Systems, grouped by kind (homepage) ---------- */
.sysgroups { margin-top: 24px; border-bottom: 1px solid var(--ld); }
.sysgroup { display: grid; grid-template-columns: 1fr; gap: 4px 32px; padding: 22px 0 18px; border-top: 1px solid var(--ld); }
@media (min-width: 900px) { .sysgroup { grid-template-columns: 210px minmax(0, 1fr); align-items: start; } .sysgroup > .mono { padding-top: 34px; } }
.sysgroup > .mono { color: var(--td); font-size: 10.5px; }
.systiles { display: grid; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 600px) { .systiles { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .systiles { grid-template-columns: repeat(5, 1fr); } }
.systiles > div, .systiles > a { height: 84px; display: flex; align-items: center; justify-content: flex-start; }
.systiles img { max-height: 62px; max-width: 150px; width: auto; margin-left: -14px; filter: grayscale(1) invert(1) brightness(1.5); mix-blend-mode: screen; opacity: .5; transition: opacity .25s; }
.systiles img.sv { margin-left: 0; filter: grayscale(1) brightness(3); mix-blend-mode: normal; }
.systiles > div:hover img, .systiles > div:hover .sys-word, .systiles > a:hover img, .systiles > a:hover .sys-word { opacity: 1; }
.sys-all { display: inline-block; margin-top: 12px; color: var(--vb); }
.sys-all:hover { color: #fff; }
.sys-word { display: inline-flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 500; letter-spacing: -.01em; color: #fff; opacity: .5; transition: opacity .25s; }
.sys-word img { opacity: 1; }
.sys-note { margin-top: 18px; color: rgba(255,255,255,.4); font-size: 10.5px; }
.sysgroups ~ .stats { margin-top: 88px; }
@media (min-width: 1000px) { .sysgroups ~ .stats { margin-top: 120px; } }
.sys-word { white-space: nowrap; }

/* ---------- Hero video loop ---------- */
.hero-bg video { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; filter: saturate(.85) brightness(.8) contrast(1.04); }
.hero:has(video) .hero-bg::after { background:
  linear-gradient(180deg, rgba(9,9,11,.8) 0%, rgba(9,9,11,.1) 24%, rgba(9,9,11,.05) 50%, rgba(9,9,11,.92) 100%),
  linear-gradient(90deg, rgba(9,9,11,.9) 0%, rgba(9,9,11,.72) 30%, rgba(9,9,11,.25) 58%, rgba(9,9,11,0) 82%); }
.systiles img.vec { margin-left: 0; }
.hero-note { position: absolute; right: 20px; bottom: 64px; z-index: 3; font-family: var(--mono); font-size: 9.5px; letter-spacing: 1.2px; text-transform: uppercase; color: rgba(255,255,255,.5); }
@media (min-width: 768px) { .hero-note { right: 44px; } }
/* subpage hero with a film behind the type (Über uns: Schwarzwald) */
.page-hero:has(video) .hero-bg::after { background:
  linear-gradient(180deg, rgba(9,9,11,.5) 0%, rgba(9,9,11,.05) 20%, rgba(9,9,11,.05) 55%, rgba(9,9,11,.95) 100%),
  linear-gradient(90deg, rgba(9,9,11,.88) 0%, rgba(9,9,11,.62) 30%, rgba(9,9,11,.12) 58%, rgba(9,9,11,0) 80%); }
.page-hero .hero-bg video { object-position: 60% 30%; filter: saturate(.9) brightness(.92) contrast(1.02); }
.page-hero .hero-note { bottom: 22px; }
