/* Co-Fox GmbH – co-fox.de
   Ohne externe Ressourcen (Fonts, CDNs, Tracking) und ohne Skripte: keine Datenübertragung an Dritte.
   Die CSP verbietet Inline-Styles; alles Gestalterische steht in dieser Datei. */

@font-face {
  font-family: "Inter Tight";
  src: url("/assets/fonts/InterTight.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --fox: #e0484e;
  --fox-deep: #c2363c;
  --ink: #14161b;
  --ink-2: #1d2027;
  --ink-3: #2b2f39;
  --on-ink: #f1f2f4;
  --on-ink-muted: #a9aeb9;
  --paper: #f1f2f4;
  --label: #fbfbfc;
  --card: #ffffff;
  --line: #d8dae0;
  --text: #22252d;
  --muted: #585e6b;
  --radius: 6px;
  --radius-lg: 12px;
  --wrap: 1240px;
  --gutter: 32px;
  --header: 68px;
  --section: clamp(80px, 9vw, 144px);
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --font: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 16px);
  -webkit-text-size-adjust: 100%;
  scrollbar-color: var(--ink-3) var(--ink);
}
body {
  margin: 0;
  font: 400 18px/1.6 var(--font);
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--fox); color: #fff; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, dl, dd, figure { margin: 0; }
ul { padding: 0; list-style: none; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

a {
  color: var(--fox-deep);
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
  transition: color .15s ease, text-decoration-color .15s ease;
}
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--fox); outline-offset: 3px; border-radius: 3px; }

.wrap { max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--card); color: var(--ink); padding: 10px 16px; border-radius: var(--radius); }

/* ---------- Kopf ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--ink);
  border-bottom: 1px solid var(--ink-3);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header); }
.brand { display: flex; flex: none; align-items: center; gap: 14px; color: var(--on-ink-muted); text-decoration: none; }
.brand img { width: 92px; height: 48px; }
.brand small { font-size: 14px; letter-spacing: .01em; padding-left: 14px; border-left: 1px solid var(--ink-3); }
.nav { display: flex; gap: 6px; }
.nav a {
  color: var(--on-ink); text-decoration: none; font-size: 16px; font-weight: 500;
  padding: 8px 14px; border-radius: var(--radius);
  transition: background-color .15s ease, color .15s ease;
}
.nav a:hover { background: var(--ink-3); color: #fff; }
.nav a:active { background: var(--ink-2); }

/* ---------- Schaltflächen ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: var(--radius);
  font-weight: 600; font-size: 17px; text-decoration: none;
  transition: transform .16s var(--ease-out), background-color .16s ease, color .16s ease, box-shadow .16s ease;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--fox-deep); color: #fff; box-shadow: 0 1px 0 rgba(20, 22, 27, .18); }
.btn-primary:hover { background: #a92c32; color: #fff; }
.btn-quiet { color: var(--ink); padding-inline: 8px; }
.btn-quiet::after {
  content: ""; width: 18px; height: 12px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 12' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 6h15M11.5 1.5L16 6l-4.5 4.5'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 12' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 6h15M11.5 1.5L16 6l-4.5 4.5'/%3E%3C/svg%3E") center/contain no-repeat;
  transition: transform .2s var(--ease-out);
}
.btn-quiet:hover { color: var(--fox-deep); }
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 18px -8px rgba(20, 22, 27, .45); }
  .btn-primary:active { transform: scale(.97); }
  .btn-quiet:hover::after { transform: translateX(4px); }
}

/* ---------- Hero: der Objektträger ---------- */
.hero { background: var(--ink); padding: 20px; }
.slide {
  display: grid; grid-template-columns: minmax(0, 13fr) minmax(0, 12fr);
  height: calc(100svh - var(--header) - 40px); min-height: 600px; max-height: 920px;
  border-radius: var(--radius-lg); overflow: hidden; background: var(--label);
}
.slide-label {
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(32px, 4.4vw, 72px);
  padding-left: max(clamp(32px, 4.4vw, 72px), calc((100vw - var(--wrap)) / 2 - 20px));
  background: var(--label);
}
.hero h1 {
  font-size: clamp(40px, 5vw, 80px); font-weight: 600; line-height: 1; letter-spacing: -.035em;
  color: var(--ink); hyphens: manual;
}
.hero h1 em { font-style: normal; color: var(--fox); display: block; }
.lead { margin-top: clamp(20px, 2.2vw, 32px); font-size: clamp(18px, 1.45vw, 21px); line-height: 1.5; color: var(--muted); max-width: 33em; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: clamp(28px, 2.8vw, 40px); }
.slide-print {
  display: flex; align-items: center; gap: 16px; margin-top: clamp(36px, 5vw, 72px);
  padding-top: 20px; border-top: 1px solid var(--line);
  font-size: 15px; line-height: 1.4; color: var(--muted); max-width: 30em;
}
.slide-print img { width: 44px; height: 44px; flex: none; }
.slide-tissue { position: relative; overflow: hidden; background: #c9a3c2; }
.slide-tissue img { width: 100%; height: 100%; object-fit: cover; }

@media (prefers-reduced-motion: no-preference) {
  .slide-tissue img { animation: settle 1.8s var(--ease-out) both; }
  .slide-label > * { animation: rise .7s var(--ease-out) both; }
  .slide-label > :nth-child(2) { animation-delay: .07s; }
  .slide-label > :nth-child(3) { animation-delay: .14s; }
  .slide-label > :nth-child(4) { animation-delay: .21s; }
}
@keyframes settle { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- Abschnitte ---------- */
section { padding-block: var(--section); }
.section-head { max-width: 860px; margin-bottom: clamp(48px, 6vw, 88px); }
h2 { font-size: clamp(32px, 3.7vw, 56px); font-weight: 600; line-height: 1.06; letter-spacing: -.03em; color: var(--ink); }
.section-head p { margin-top: 24px; font-size: clamp(19px, 1.5vw, 22px); line-height: 1.5; color: var(--muted); max-width: 34em; }
h3 { font-size: clamp(24px, 2.2vw, 32px); font-weight: 600; line-height: 1.15; letter-spacing: -.02em; color: var(--ink); }

/* ---------- Funktionen ---------- */
.functions { padding-bottom: 0; }
.feature {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px);
  align-items: center; padding-block: clamp(40px, 5vw, 72px);
}
.feature + .feature { border-top: 1px solid var(--line); }
.feature-flip .feature-text { order: 2; }
.feature-text p { margin-top: 18px; color: var(--muted); max-width: 30em; }
.functions > .wrap:last-child { padding-bottom: var(--section); }
.functions > .wrap:last-child .feature { padding-bottom: 0; }
.functions > .wrap:last-child .feature { padding-top: clamp(72px, 8vw, 120px); }

/* Szenen: nachgebaute Oberflächen mit Beispieldaten */
.scene { position: relative; font-size: 14px; line-height: 1.4; color: var(--text); }
.panel {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: 0 1px 2px rgba(20, 22, 27, .05), 0 24px 48px -24px rgba(20, 22, 27, .28);
  padding: 20px 22px;
}
.panel-title { display: flex; justify-content: space-between; gap: 16px; font-weight: 600; font-size: 15px; color: var(--ink); padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.panel-title span { font-weight: 400; color: var(--muted); font-variant-numeric: tabular-nums; }
.scene dl > div { display: grid; grid-template-columns: 9em minmax(0, 1fr); gap: 12px; padding: 9px 0; border-bottom: 1px solid #e7e8ec; }
.scene dt { color: var(--muted); }
.scene dd { color: var(--ink); font-weight: 500; }

.feature-capture { align-items: start; }
.feature-capture .feature-text { position: sticky; top: calc(var(--header) + 40px); }
.feature-text p + p { margin-top: 12px; }
.local { margin-top: 28px; border-top: 1px solid var(--ink); max-width: 31em; }
.local > div { display: grid; grid-template-columns: 8.5em minmax(0, 1fr); gap: 16px; padding-block: 14px; border-bottom: 1px solid var(--line); }
.local dt { font-weight: 600; color: var(--ink); }
.local dd { color: var(--muted); font-size: 16px; line-height: 1.5; }
.scan { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 1px 2px rgba(20, 22, 27, .08), 0 28px 56px -28px rgba(20, 22, 27, .45); }
.scan img { width: 100%; }
.scan svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.scan polygon { fill: rgba(255, 221, 87, .16); stroke: #ffcf24; stroke-width: 3; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.scene-capture .order { position: relative; width: 74%; margin: -72px 0 0 auto; }
.scene-capture dl > div { grid-template-columns: 8.5em minmax(0, 1fr) auto; }
.scene .src { font-weight: 400; font-size: 12px; color: var(--muted); align-self: center; padding: 1px 8px; border: 1px solid var(--line); border-radius: 99px; white-space: nowrap; }
.panel-foot { display: flex; align-items: center; gap: 10px; margin-top: 14px; color: var(--ink); font-weight: 600; }
.panel-foot svg { flex: none; fill: none; stroke: var(--fox-deep); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }

.scene-dictation { view-timeline: --diktat block; }
.dictation-bar { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.rec { width: 10px; height: 10px; border-radius: 50%; background: var(--fox); flex: none; box-shadow: 0 0 0 4px rgba(224, 72, 78, .18); }
.wave { flex: 1; height: 28px; fill: var(--ink); }
.wave-rest { fill: var(--line); }
.time { font-variant-numeric: tabular-nums; color: var(--muted); }
.field { padding: 14px 0; border-bottom: 1px solid #e7e8ec; font-size: 15px; line-height: 1.5; }
.field:last-child { border-bottom: 0; padding-bottom: 4px; }
.field-name { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.field-live { margin-inline: -22px; padding-inline: 22px; background: #fdf3f2; }
.field-live .field-name { color: var(--fox-deep); }
.field-empty p:last-child { height: 1.5em; border-bottom: 1px solid #e7e8ec; }

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .words span { animation: word linear both; animation-timeline: --diktat; }
    .words span:nth-child(1) { animation-range: cover 24.0% cover 26.4%; }
    .words span:nth-child(2) { animation-range: cover 25.6% cover 28.0%; }
    .words span:nth-child(3) { animation-range: cover 27.2% cover 29.6%; }
    .words span:nth-child(4) { animation-range: cover 28.8% cover 31.2%; }
    .words span:nth-child(5) { animation-range: cover 30.4% cover 32.8%; }
    .words span:nth-child(6) { animation-range: cover 32.0% cover 34.4%; }
    .words span:nth-child(7) { animation-range: cover 33.6% cover 36.0%; }
    .words span:nth-child(8) { animation-range: cover 35.2% cover 37.6%; }
    .words span:nth-child(9) { animation-range: cover 36.8% cover 39.2%; }
    .words span:nth-child(10) { animation-range: cover 38.4% cover 40.8%; }
    .words span:nth-child(11) { animation-range: cover 40.0% cover 42.4%; }
    .words span:nth-child(12) { animation-range: cover 41.6% cover 44.0%; }
    .words span:nth-child(13) { animation-range: cover 43.2% cover 45.6%; }
    .words span:nth-child(14) { animation-range: cover 44.8% cover 47.2%; }
    .words span:nth-child(15) { animation-range: cover 46.4% cover 48.8%; }
    .words span:nth-child(16) { animation-range: cover 48.0% cover 50.4%; }
    .words span:nth-child(17) { animation-range: cover 49.6% cover 52.0%; }
    .words span:nth-child(18) { animation-range: cover 51.2% cover 53.6%; }
    .words span:nth-child(19) { animation-range: cover 52.8% cover 55.2%; }
  }
}
@keyframes word { from { opacity: 0; } to { opacity: 1; } }

.scene-stats { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
.scene-stats .dash { display: none; }
.scene-stats.is-live { display: block; }
.scene-stats.is-live .static { display: none; }
.scene-stats.is-live .dash { display: block; }
.dash {
  --d-panel: #15181d; --d-line: #262b33; --d-fg: #e6e9ee; --d-muted: #8b94a3; --d-accent: #45a1bf;
  position: relative; background: var(--d-panel); color: var(--d-fg); border: 1px solid var(--d-line); border-radius: var(--radius-lg);
  box-shadow: 0 1px 2px rgba(20, 22, 27, .2), 0 28px 56px -28px rgba(20, 22, 27, .6);
  padding: 18px 20px 20px;
}
.dash-orders { padding-bottom: 72px; }
.dash-revenue { width: 82%; margin: -56px 0 0 auto; }
.dash-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-bottom: 12px; }
.dash-title { font-size: 15px; font-weight: 600; }
.dash-title span { display: inline-block; white-space: nowrap; font-weight: 400; color: var(--d-muted); margin-left: 8px; font-variant-numeric: tabular-nums; }
.dash button { font: inherit; font-size: 13px; color: var(--d-muted); background: #0e1115; border: 1px solid var(--d-line); cursor: pointer; transition: color .15s ease, background-color .15s ease, border-color .15s ease; }
.dash button:hover { color: var(--d-fg); border-color: #3a414b; }
.dash button:focus-visible { outline-color: var(--d-accent); }
.seg { display: flex; }
.seg button { padding: 6px 13px; }
@media (pointer: coarse) { .seg button, .dash-reset { min-height: 40px; padding-inline: 16px; } }
.seg button + button { margin-left: -1px; }
.seg button:first-child { border-radius: 7px 0 0 7px; }
.seg button:last-child { border-radius: 0 7px 7px 0; }
.seg button[aria-pressed="true"] { position: relative; color: #0b0d10; background: var(--d-accent); border-color: var(--d-accent); font-weight: 600; }
.dash-reset { padding: 6px 12px; border-radius: 7px; }
.dash-reset[hidden] { display: block; visibility: hidden; }
.chart-orders { height: 300px; }
.dash-body { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 20px; align-items: center; }
.chart-revenue { height: 190px; }
.payers li + li { margin-top: 2px; }
.dash .payer { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 40px; padding: 7px 10px; border-color: transparent; background: none; border-radius: 7px; color: var(--d-fg); text-align: left; font-size: 14px; }
.dash .payer::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 3px; background: var(--c); }
.dash .payer span { flex: 1; }
.dash .payer b { font-weight: 600; font-variant-numeric: tabular-nums; color: var(--d-muted); }
.dash .payer:hover { background: #1b1f26; border-color: transparent; }
.dash .payer[aria-pressed="true"] { background: #13303a; border-color: var(--d-accent); }
.dash .payer[aria-pressed="true"] b { color: var(--d-fg); }
.payer-0 { --c: #45a1bf; } .payer-1 { --c: #85c7c6; } .payer-2 { --c: #f4b548; } .payer-3 { --c: #46a485; } .payer-4 { --c: #8f3d56; }
.scene-stats .panel:last-child { width: 78%; margin-left: auto; margin-top: -40px; position: relative; }
.bars { width: 100%; height: 190px; margin-top: 18px; }
.bars rect { fill: var(--ink); }
.bars .now { fill: var(--fox); }
.bars .grid { stroke: #e7e8ec; stroke-width: 1; fill: none; }
.scene-stats table { width: 100%; border-collapse: collapse; margin-top: 6px; }
.scene-stats th { text-align: left; font-weight: 400; color: var(--muted); padding: 9px 12px 9px 0; white-space: nowrap; }
.scene-stats td { padding: 9px 0; }
.scene-stats td:nth-child(2) { width: 46%; }
.scene-stats td:last-child { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; padding-left: 12px; color: var(--ink); }
.scene-stats tr + tr { border-top: 1px solid #e7e8ec; }
.meter { display: block; height: 6px; border-radius: 3px; background: var(--ink); }
.m1 { width: 28%; } .m2 { width: 17%; } .m3 { width: 45%; } .m4 { width: 100%; }

/* ---------- Kiesl ---------- */
.viewer-band { background: var(--ink); color: var(--on-ink); padding-block: var(--section); margin-top: clamp(40px, 5vw, 72px); }
.viewer-text { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 6vw, 96px); align-items: end; margin-bottom: clamp(36px, 4vw, 56px); }
.viewer-text h3 { color: #fff; font-size: clamp(32px, 3.7vw, 56px); letter-spacing: -.03em; line-height: 1.06; }
.viewer-text p { color: var(--on-ink-muted); max-width: 34em; }
.viewer {
  position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3px;
  overflow: hidden; border-radius: var(--radius-lg); background: #0c0d10; border: 1px solid var(--ink-3);
  aspect-ratio: 1240 / 720; font-size: 13px; line-height: 1.3;
}
.pane { position: relative; overflow: hidden; }
.pane img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pane svg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; fill: none; }
.pane .cross { stroke: var(--ink); stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-dasharray: 6 5; }
.pane .draw { stroke: #58d6c9; stroke-width: 4; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.pane-label, .pane-state, .viewer-tools, .conference { position: absolute; background: rgba(20, 22, 27, .92); border: 1px solid var(--ink-3); border-radius: 8px; color: #fff; }
.pane-label { top: 16px; left: 16px; padding: 8px 12px 8px 8px; display: flex; align-items: center; gap: 8px; font-weight: 600; }
.pane-label b { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 5px; background: var(--on-ink); color: var(--ink); font-size: 12px; }
.pane-label span { font-weight: 400; color: var(--on-ink-muted); padding-left: 8px; border-left: 1px solid var(--ink-3); }
.pane-state { left: 16px; top: 62px; padding: 7px 12px; font-variant-numeric: tabular-nums; }
.pane-state span { color: var(--on-ink-muted); padding-left: 8px; margin-left: 4px; border-left: 1px solid var(--ink-3); }
.cursor { position: absolute; font-size: 12px; font-weight: 600; line-height: 1; white-space: nowrap; color: var(--ink); background: var(--c); padding: 4px 7px; border-radius: 4px; }
.cursor svg { position: absolute; left: -15px; top: -15px; width: 18px; height: 18px; max-width: none; stroke: var(--ink); stroke-width: 1; stroke-linejoin: round; }
.cursor-a { left: 62%; top: 30%; }
.cursor-b { left: 30%; top: 22%; }
.cursor-a { --c: #58d6c9; } .cursor-b { --c: #ffcf24; }
.cursor svg { fill: var(--c); }
.cursor { filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .35)); }
.viewer-tools { top: 16px; right: 16px; display: grid; gap: 4px; padding: 6px; }
.viewer-tools li { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 6px; color: var(--on-ink-muted); }
.viewer-tools .is-active { background: var(--on-ink); color: var(--ink); }
.viewer-tools svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.conference { left: 0; right: 0; bottom: 16px; width: max-content; max-width: calc(100% - 32px); margin-inline: auto; display: flex; align-items: center; gap: 16px; padding: 8px 10px 8px 14px; white-space: nowrap; }
.conference p { color: var(--on-ink-muted); }
.conference b { color: #fff; margin-right: 6px; }
.conference ul { display: flex; gap: 6px; }
.conference li { display: flex; align-items: center; gap: 7px; padding: 5px 10px; border-radius: 6px; background: var(--ink-3); font-weight: 500; }
.conference li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.conference li span { color: var(--ink); background: #ffcf24; border-radius: 4px; padding: 1px 6px; font-size: 11px; font-weight: 600; }
.p-a { --c: #58d6c9; } .p-b { --c: #ffcf24; } .p-c { --c: #ff8a8e; } .p-d { --c: #9ab8ff; }
.viewer-facts { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 5fr) minmax(0, 3fr); gap: clamp(24px, 4vw, 64px); margin-top: clamp(36px, 4vw, 56px); }
.viewer-facts > div { border-top: 1px solid var(--on-ink-muted); padding-top: 22px; }
.viewer-facts h4 { margin: 0 0 12px; font-size: 22px; font-weight: 600; letter-spacing: -.015em; line-height: 1.25; color: #fff; }
.viewer-facts p { color: var(--on-ink-muted); font-size: 17px; }
.devices li { padding-block: 7px; border-bottom: 1px solid var(--ink-3); color: var(--on-ink); font-size: 17px; }
.devices li:first-child { padding-top: 0; }

/* ---------- System ---------- */
.system { background: var(--card); border-top: 1px solid var(--line); }
.system .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.system .section-head { position: sticky; top: calc(var(--header) + 40px); margin-bottom: 0; }
.spec > div { display: grid; grid-template-columns: minmax(0, 11em) minmax(0, 1fr); gap: 8px 32px; padding-block: 28px; border-top: 1px solid var(--line); }
.spec > div:first-child { border-top-color: var(--ink); }
.spec > div:last-child { padding-bottom: 0; }
.spec dt { font-size: 22px; font-weight: 600; letter-spacing: -.015em; line-height: 1.25; color: var(--ink); }
.spec dd { color: var(--muted); }
.certs { margin-top: 20px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.certs a {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 13px 0; border-bottom: 1px solid var(--line);
  color: var(--ink); font-weight: 600; text-decoration: none;
  transition: color .15s ease, padding-left .2s var(--ease-out);
}
.certs small { font-weight: 400; font-size: 15px; color: var(--muted); white-space: nowrap; }
.certs a:hover { color: var(--fox-deep); }
@media (hover: hover) and (pointer: fine) { .certs a:hover { padding-left: 8px; } }

/* ---------- Ansatz ---------- */
.approach { position: relative; overflow: hidden; background: var(--ink); color: var(--on-ink); }
.approach::after {
  content: ""; position: absolute; right: -4%; bottom: -18%; width: min(46vw, 620px); aspect-ratio: 1;
  background: var(--ink-2);
  -webkit-mask: url("/assets/img/fox.svg") center/contain no-repeat; mask: url("/assets/img/fox.svg") center/contain no-repeat;
  pointer-events: none;
}
.approach .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.approach h2 { color: #fff; }
.approach-text p { margin-top: 24px; color: var(--on-ink-muted); max-width: 30em; }
.approach-text p + p { margin-top: 16px; color: var(--on-ink); }
.principles li { padding-block: 24px; border-top: 1px solid var(--ink-3); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px 32px; }
.principles li:first-child { border-top-color: var(--on-ink-muted); }
.principles li:last-child { padding-bottom: 0; }
.principles strong { font-size: 22px; font-weight: 600; letter-spacing: -.015em; line-height: 1.25; color: #fff; }
.principles span { color: var(--on-ink-muted); }

/* ---------- Team ---------- */
.roster { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); border-top: 1px solid var(--ink); padding-top: 28px; }
.roster h3 { font-size: 15px; font-weight: 600; letter-spacing: .01em; color: var(--muted); margin-bottom: 16px; }
.people li { font-size: clamp(20px, 1.7vw, 24px); font-weight: 500; letter-spacing: -.01em; line-height: 1.25; color: var(--ink); padding-block: 7px; break-inside: avoid; }
.people-columns { columns: 2; column-gap: 32px; }

/* ---------- Kontakt ---------- */
.contact { background: var(--fox-deep); color: #fff; }
.contact h2, .contact .section-head p { color: #fff; }
.contact ::selection { background: var(--ink); }
.contact :focus-visible { outline-color: #fff; }
.contact-lines { display: grid; gap: 4px; margin-bottom: clamp(48px, 6vw, 80px); }
.contact-big {
  justify-self: start; color: #fff; font-size: clamp(34px, 6.4vw, 96px); font-weight: 600; letter-spacing: -.04em; line-height: 1.08;
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) left 96% / 0 .045em no-repeat;
  transition: background-size .45s var(--ease-out);
}
.contact-big:hover { color: #fff; background-size: 100% .045em; }
.contact-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px clamp(32px, 6vw, 96px); padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .45); }
.contact-details dt { font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.contact-details dd { font-size: 20px; line-height: 1.45; }
.contact-details a { color: #fff; text-decoration-color: rgba(255, 255, 255, .6); }
.contact-details a:hover { color: #fff; text-decoration-color: #fff; text-decoration-thickness: 2px; }

/* ---------- Fuß ---------- */
.site-footer { background: var(--ink); color: var(--on-ink-muted); font-size: 15px; padding-block: 28px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: center; }
.site-footer .credit { margin-right: auto; }
.site-footer nav { display: flex; gap: 24px; }
.site-footer a { color: var(--on-ink); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }

/* ---------- Rechtstexte ---------- */
.legal { padding-block: clamp(56px, 7vw, 104px) var(--section); background: var(--card); }
.legal .wrap { max-width: calc(820px + 2 * var(--gutter)); }
.legal h1 { font-size: clamp(36px, 5vw, 64px); font-weight: 600; line-height: 1.04; letter-spacing: -.035em; color: var(--ink); margin-bottom: 40px; }
.legal h2 { font-size: 28px; letter-spacing: -.02em; line-height: 1.2; margin: 56px 0 14px; padding-top: 28px; border-top: 1px solid var(--line); }
.legal h3 { font-size: 21px; letter-spacing: -.01em; margin: 34px 0 8px; }
.legal h4 { font-size: 18px; font-weight: 600; color: var(--ink); margin: 26px 0 6px; }
.legal p, .legal li { color: var(--text); }
.legal p { margin-bottom: 14px; }
.legal ul { list-style: disc; padding-left: 1.2em; margin-bottom: 14px; }
.legal dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 32px; margin: 0 0 24px; }
.legal dt { color: var(--muted); }

/* ---------- Schmalere Fenster ---------- */
@media (max-width: 1000px) {
  .feature, .viewer-text, .system .wrap, .approach .wrap, .roster { grid-template-columns: minmax(0, 1fr); }
  .feature-capture .feature-text { position: static; }
  .conference li span { display: none; }
  .feature-flip .feature-text { order: 0; }
  .system .section-head { position: static; margin-bottom: 8px; }
  .viewer-text { align-items: start; }
  .scene { max-width: 640px; }
}
@media (max-width: 820px) {
  :root { --gutter: 20px; --header: 60px; }
  body { font-size: 17px; }
  .brand small { display: none; }
  .brand img { width: 77px; height: 40px; }
  .nav { gap: 0; }
  .nav a { padding: 8px 7px; font-size: 15px; }
  .site-header .wrap { gap: 8px; }
  .hero { padding: 12px; }
  .slide { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(160px, 1fr); height: auto; min-height: calc(100svh - var(--header) - 24px); max-height: none; }
  .slide-label { padding: 32px 24px 28px; }
  .slide-print { margin-top: 32px; }
  .viewer { aspect-ratio: 4 / 3.6; }
  .viewer-facts { grid-template-columns: minmax(0, 1fr); }
  .pane-label span, .pane-state span, .conference p { display: none; }
  .feature-capture .feature-text { position: static; }
  .spec > div, .principles li { grid-template-columns: minmax(0, 1fr); }
  .contact-details { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .cta { flex-direction: column; align-items: stretch; }
  .btn-quiet { justify-content: flex-start; }
  .scene-capture .order { width: 94%; margin-top: -28px; }
  .scene .src { display: none; }
  .scene-capture dl > div { grid-template-columns: 7.5em minmax(0, 1fr); }
  .local > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .scene dl > div { grid-template-columns: 7.5em minmax(0, 1fr); }
  .scene-stats .panel:last-child { width: 92%; margin-top: -20px; }
  .dash-revenue { width: 94%; margin-top: -44px; }
  .dash-body { grid-template-columns: minmax(0, 1fr); }
  .chart-orders { height: 260px; }
  .scene-stats th { white-space: normal; }
  .viewer-tools li { width: 30px; height: 30px; }
  .viewer { grid-template-columns: minmax(0, 1fr); grid-template-rows: repeat(2, minmax(0, 1fr)); aspect-ratio: 1 / 1.5; }
  .viewer-tools li:nth-child(n+5), .pane-state { display: none; }
  .viewer-tools { top: 10px; right: 10px; }
  .pane-label { top: 10px; left: 10px; }
  .conference { bottom: 10px; padding: 6px; gap: 6px; }
  .conference li:nth-child(n+3) { display: none; }
  .people-columns { columns: 1; }
  .legal dl { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .legal dd { margin-bottom: 12px; }
  .site-footer .credit { flex-basis: 100%; order: 3; }
}
@media (max-width: 380px) {
  .nav a { padding: 8px 5px; font-size: 14px; }
  .brand img { width: 65px; height: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
