/* =============================================================================
   READS.systems - _17 (verbesserte _15), "technical" theme, zweifarbig:
   Aenderungen ggue. _15: Hero ohne Partikel-Netz (nur Grid), Burger-Menue,
   durchgehende Responsive-Breakpoints (900px / 640px).

   LIGHT (Default)  - technische Zeichnung: Papier-Grau, Millimeter-Grid,
                      Tusche-Text, zurueckhaltendes Zeichnungs-Blau, scharfe
                      1px-Linien, Eckmarken wie auf einem Zeichnungsblatt.
   DARK             - Control-Room: deep navy, Cyan/Teal-Daten-Akzente, Glow.

   Umschaltung via <html data-theme="light|dark">, alle Komponenten haengen
   an den Custom-Properties unten. Fonts: Inter + JetBrains Mono.
   ============================================================================= */

:root {
  --side-gap: 5cm;
}

:root, [data-theme="light"] {
  --bg: #eef0ee;             /* Zeichenkarton */
  --bg-2: #e6e8e5;
  --panel: #ffffff;
  --panel-solid: #ffffff;
  --border: #c4cad2;
  --border-hi: #c57f74;
  --text-1: #16191f;
  --text-2: #454d5a;
  --text-3: #7c8492;
  --acc: #c57f74;
  --acc-2: #44617e;          /* Grau-Blau */
  --acc-soft: rgba(47, 109, 184, 0.12);
  --red: #b3261e;
  --grid-line: rgba(40, 50, 65, 0.075);
  --grid-line-strong: rgba(40, 50, 65, 0.14);
  --glow: 0 2px 14px rgba(30, 45, 70, 0.14);
  --shadow: 0 10px 30px rgba(25, 32, 44, 0.10);
  --shadow-l: 0 18px 50px rgba(25, 32, 44, 0.14);
  --btn-grad: #bd6a50;
  --btn-grad-text: #ffffff;
  --btn-grad-shadow: 0 4px 18px rgba(189, 106, 80, 0.35);
  --grad-a: #bd6a50; --grad-b: #bd6a50; --grad-c: #bd6a50;
  --topbar-bg: rgba(238, 240, 238, 0.82);
  --paper: #ffffff;          /* Zeichnungsblatt in den Visual-Frames */
  --pipe-line: rgba(60, 75, 95, 0.4);
  --pipe-node-fill: #ffffff;
  --packet-1: #2f6db8;
  --packet-2: #16191f;
  --chrome-bg: #1a212e;      /* Browser-Chrome der Demo bleibt dunkel */
  --chrome-border: rgba(86, 110, 150, 0.25);
}

[data-theme="dark"] {
  --bg: #04070d;
  --bg-2: #070c16;
  --panel: rgba(13, 20, 34, 0.72);
  --panel-solid: #0c1322;
  --border: rgba(86, 110, 150, 0.22);
  --border-hi: rgba(188, 147, 75, 0.45);
  --text-1: #e8eef7;
  --text-2: #9aa7bd;
  --text-3: #5f6c84;
  --acc: #c57f74;
  --acc-2: #38bdf8;
  --acc-soft: rgba(94, 234, 212, 0.08);
  --red: #e04438;
  --grid-line: rgba(86, 110, 150, 0.07);
  --grid-line-strong: rgba(86, 110, 150, 0.12);
  --glow: 0 0 24px rgba(234, 213, 94, 0.25);
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
  --shadow-l: 0 24px 90px rgba(0, 0, 0, 0.55);
  --btn-grad: #cf8a73;
  --btn-grad-text: #04131a;
  --btn-grad-shadow: 0 4px 24px rgba(207, 138, 115, 0.35);
  --grad-a: #cf8a73; --grad-b: #cf8a73; --grad-c: #cf8a73;
  --topbar-bg: rgba(4, 7, 13, 0.78);
  --paper: #f2f4f6;
  --pipe-line: rgba(153, 126, 57, 0.608);
  --pipe-node-fill: rgba(13, 20, 34, 0.9);
  --packet-1: #dc5e24;
  --packet-2: #ead05e;
  --chrome-bg: #0c1322;
  --chrome-border: var(--border);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text-1);
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  transition: background 0.35s ease, color 0.35s ease;
}
.mono { font-family: 'JetBrains Mono', ui-monospace, monospace; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.015em; }
h2 { font-size: clamp(26px, 4vw, 35px); font-weight: 800; }
h3 { font-size: 17px; font-weight: 650; }
p  { color: var(--text-2); }

::selection { background: var(--acc-soft); }

/* ── Buttons ──────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 8px;
  font-weight: 650; font-size: 14px; letter-spacing: 0.01em;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.btn-primary {
  background: var(--btn-grad);
  color: var(--btn-grad-text);
  box-shadow: var(--btn-grad-shadow);
}
.btn-primary:hover { transform: translateY(-2px); }
.btn-ghost {
  border-color: var(--border); color: var(--text-1);
  background: var(--panel);
}
.btn-ghost:hover { border-color: var(--border-hi); box-shadow: var(--glow); }
.btn-s { padding: 8px 14px; font-size: 13px; }
.btn-l { padding: 15px 30px; font-size: 16px; }

/* ── Topbar ───────────────────────────────────────────────────────────── */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; gap: 28px;
  /* padding: 14px 28px; */
  padding: 14px var(--side-gap);
  background: var(--topbar-bg);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.topbar.scrolled { border-bottom-color: var(--border); }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 26px; height: 26px; }
.brand-mark.s { width: 20px; height: 20px; }
.brand-name { font-weight: 800; font-size: 17px; letter-spacing: 0.02em; }
.brand-dot { color: var(--acc); font-weight: 650; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a {
  font-size: 13.5px; color: var(--text-2); position: relative; padding: 4px 0;
  transition: color 0.2s ease;
}
.nav a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
  background: linear-gradient(90deg, var(--grad-a), var(--grad-b));
  transition: right 0.25s ease;
}
.nav a:hover { color: var(--text-1); }
.nav a:hover::after { right: 0; }
.top-right { display: flex; align-items: center; gap: 14px; }
.lang { display: flex; align-items: center; gap: 6px; color: var(--text-3); font-size: 12px; }
.lang button {
  background: none; border: 0; color: var(--text-3); font: 600 12.5px 'JetBrains Mono', monospace;
  cursor: pointer; padding: 3px 4px; letter-spacing: 0.05em;
}
.lang button.active { color: var(--acc); }
/* Burger (nur mobil sichtbar) */
.nav-burger {
  display: none; margin-left: auto;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; padding: 9px;
  background: var(--panel); border: 1px solid var(--border); border-radius: 8px;
  cursor: pointer;
}
.nav-burger i { display: block; height: 2px; border-radius: 2px; background: var(--text-1); transition: transform 0.25s ease, opacity 0.2s ease; }
.nav-burger.open i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open i:nth-child(2) { opacity: 0; }
.nav-burger.open i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.theme-toggle {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--panel); border: 1px solid var(--border); border-radius: 999px;
  padding: 6px 13px; cursor: pointer;
  font: 600 11px 'JetBrains Mono', monospace; letter-spacing: 0.1em;
  color: var(--text-2);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}
.theme-toggle:hover { border-color: var(--border-hi); box-shadow: var(--glow); color: var(--text-1); }
.theme-toggle .sw {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--acc); box-shadow: 0 0 8px var(--acc);
}

/* ── Hero ─────────────────────────────────────────────────────────────── */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  /* padding: 120px 24px 70px; */
  padding: 120px var(--side-gap) 70px;
  text-align: center;
  overflow: hidden;
}
.hero-inner { position: relative; max-width: 880px; }
.eyebrow {
  font-size: 11.5px; letter-spacing: 0.42em; color: var(--acc);
  margin-bottom: 22px; opacity: 0.95;
}
.hero-title { font-size: clamp(38px, 6.4vw, 72px); font-weight: 800; margin-bottom: 20px; }
.grad {
  background: linear-gradient(92deg, var(--grad-a) 0%, var(--grad-c) 55%, var(--grad-b) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { max-width: 640px; margin: 0 auto 30px; font-size: clamp(15px, 1.8vw, 18px); }
.hero-cta { display: flex; gap: 14px; justify-content: center; margin-bottom: 38px; flex-wrap: wrap; }

.hero-stats {
  position: relative; display: flex; gap: clamp(20px, 5vw, 70px);
  margin-top: 56px; flex-wrap: wrap; justify-content: center;
}
.stat { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.stat-v { font-size: 26px; font-weight: 600; color: var(--text-1); }
.stat-l { font-size: 11px; color: var(--text-3); letter-spacing: 0.08em; text-transform: uppercase; }

.scroll-hint {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  width: 22px; height: 36px; border: 1.5px solid var(--border);
  border-radius: 12px; opacity: 0.8;
}
.scroll-hint span {
  position: absolute; left: 50%; top: 7px; width: 3px; height: 7px;
  margin-left: -1.5px; border-radius: 2px; background: var(--acc);
  animation: scrollhint 1.8s ease-in-out infinite;
}
@keyframes scrollhint { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* ── Sections ─────────────────────────────────────────────────────────── */
.section { 
	position: relative; 
	/* max-width: 1180px; */
	/* margin: 0 auto; */
	/* padding: 110px 24px; */
	padding: 110px var(--side-gap);
}

.section-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.section-sub { font-size: 16px; }
.kicker { font-size: 16px; letter-spacing: 0.3em; color: var(--acc); margin-bottom: 14px; }

.reveal { opacity: 0; transform: translateY(28px); }
.reveal.in { opacity: 1; transform: none; transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1); }

/* ── Pipeline (Stationen = animierte Assets auf Zeichnungsblatt-Karten,
     Verbinder = gestrichelte Leitung mit wandernden Paketen) ──────────── */
.pipeline { padding-top: 40px; }
.pipe-flow {
  display: flex; align-items: stretch; gap: clamp(10px, 1.6vw, 20px);
}
.pf-station { flex: 1 1 0; min-width: 0; text-align: center; display: flex; flex-direction: column; }
.pf-station:first-child { flex: 0 0 auto; width: fit-content; }
.pf-station:first-child .pf-card { margin: 0 auto; }
/* Klickbare Stationen (Anker zu den Produkt-Sektionen) */
a.pf-station { cursor: pointer; }
a.pf-station:hover .pf-card {
  border-color: var(--border-hi);
  box-shadow: var(--shadow), var(--glow);
}
a.pf-station:hover .pf-label b { color: var(--acc); }
.pf-label b { transition: color 0.2s ease; }
.pf-card {
  position: relative;
  border: 1px solid var(--border); border-radius: 10px;
  background: var(--panel-solid);
  box-shadow: var(--shadow);
  padding: 12px;
  flex: 1;
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.pf-card.pf-sensor-grid {
  display: grid;
  background: #ffffff;
  /* grid-template-columns: 1fr 1fr; */
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 2px;
  border-radius: 10px; /* rectangle with slightly rounded corners */
  width: fit-content;
}

.pf-card.pf-sensor-grid img {
  /* width: 100%; */
  /* width: 50%; */
  width: 42px;
  height: auto;
  display: block;
}

.pf-card.lit { 
  border-color: var(--border-hi); 
  box-shadow: 
  var(--shadow), var(--glow); 
}
.sheet-mini {
  background:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px),
    var(--paper);
  background-size: 12px 12px;
  width: 100%;
  align-self: stretch;
}
.sheet-mini::before {
  content: ''; 
  position: absolute; 
  top: 5px; 
  left: 5px; 
  width: 11px; 
  height: 11px;
  border: solid var(--text-3); 
  border-width: 1.5px 0 0 1.5px; 
  opacity: 0.55;
}
.pf-card img { width: 100%; display: block; }
.pf-round {
  width: 96px; height: 96px; margin: 0 auto;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--panel-solid);
}
.pf-round svg { width: 64px; height: 64px; }
.pf-icon { stroke: var(--acc); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.pf-icon circle { fill: var(--acc); stroke: none; }
.pf-label { margin-top: 12px; }
.pf-label b { display: block; font-size: 14.5px; }
.pf-label span { font-size: 10.5px; color: var(--text-3); letter-spacing: 0.04em; white-space: nowrap; }

/* Verbinder: gestrichelte Linie, Pakete laufen via CSS-Keyframes */
.pf-track {
  position: relative; flex: 0 1 90px; min-width: 36px;
  height: 2px; margin-top: 56px;
  background: repeating-linear-gradient(90deg, var(--pipe-line) 0 6px, transparent 6px 13px);
}
.pf-track::after {
  content: ''; position: absolute; right: -1px; top: -4px;
  border: 5px solid transparent; border-left-color: var(--pipe-line);
}
.pf-track .pkt {
  position: absolute; top: -3.5px; left: 0;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--packet-1);
  box-shadow: 0 0 8px var(--packet-1);
  animation: pf-pkt 2.4s linear infinite;
}
.pf-track .pkt.d2 { animation-delay: 0.8s; background: var(--packet-2); box-shadow: 0 0 8px var(--packet-2); }
.pf-track .pkt.d3 { animation-delay: 1.6s; }
@keyframes pf-pkt {
  0%   { left: 0; opacity: 0; }
  12%  { opacity: 1; }
  86%  { opacity: 1; }
  100% { left: calc(100% - 9px); opacity: 0; }
}

/* ── Produkt-Sektionen ────────────────────────────────────────────────── */
.product.alt {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
  background: linear-gradient(180deg, transparent, var(--bg-2) 18% 82%, transparent);
}
.product.alt .prod-grid {
  max-width: none;
  margin: 0;
  padding-left: var(--side-gap);
  padding-right: var(--side-gap);
}
.prod-grid {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.prod-grid.flip .prod-copy { order: 2; }
.prod-grid.flip .prod-visual { order: 1; }
.prod-copy p { font-size: 15.5px; }

/* Feature-Listen ohne Tag-Spalte - dezenter Strich-Marker im Akzent */
.feat { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; }
.feat li { display: flex; align-items: baseline; gap: 12px; font-size: 14.5px; color: var(--text-2); }
.feat li::before { content: '-'; color: var(--acc); font-weight: 600; flex: 0 0 auto; }

/* Southbound-Protokoll-Badges: abgerundete Karten im Zeichnungsstil */
.proto-row {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 24px;
}
.proto-chip {
  display: inline-flex; 
  align-items: center; 
  justify-content: center;
  padding: 9px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  /* background: var(--panel-solid); */
  background: #ffffffe2;
  box-shadow: var(--shadow);
}
.proto-name {
  font: 600 12.5px 'JetBrains Mono', monospace;
  letter-spacing: 0.06em;
  /* color: var(--text-2); */
  color: #513d29;
  white-space: nowrap;
}

.proto-chip img {
  height: 22px;
  width: auto;
  display: block;
}

/* Zeichnungsblatt: weisses Papier + feines Raster + Eckmarken (Passkreuze) */
.visual-frame {
  position: relative; border-radius: 10px; overflow: hidden;
  border: 1px solid var(--border-hi);
  background: var(--panel-solid);
  padding: 26px;
  box-shadow: var(--shadow-l), var(--glow);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.3s ease;
}
.visual-frame:hover { border-color: var(--border-hi); box-shadow: var(--shadow-l), var(--glow); }
.sheet-inner {
  position: relative;
  background:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px),
    var(--paper);
  background-size: 14px 14px;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 18px;
}
.sheet-inner::before, .sheet-inner::after {
  content: ''; position: absolute; width: 14px; height: 14px;
  border-color: var(--text-3); border-style: solid; opacity: 0.65;
}
.sheet-inner::before { top: 6px; left: 6px; border-width: 1.5px 0 0 1.5px; }
.sheet-inner::after { bottom: 6px; right: 6px; border-width: 0 1.5px 1.5px 0; }
.prod-visual { min-width: 0; }
.visual-frame { width: 100%; }
.visual-frame img,
.sheet-inner img { width: 100%; height: auto; display: block; max-width: 100%; }
.sheet-inner img[src$=".svg"] { width: 100% !important; height: auto !important; }
.visual-caption {
  margin-top: 14px; font-size: 11px; color: var(--text-3); letter-spacing: 0.08em;
  text-transform: uppercase; text-align: center;
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.visual-caption::before, .visual-caption::after {
  content: ''; height: 1px; flex: 0 0 26px; background: var(--border);
}



.anim-pics {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 120px;
}

.anim-pics .frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
}

.anim-pics .frame.active-frame {
  position: absolute;
  opacity: 1;
}


/* ── Demo-Sektion ─────────────────────────────────────────────────────── */
/* .demo-sec { max-width: 1240px; } */
.demo-frame {
  border-radius: 14px; overflow: hidden;
  border: 1px solid var(--border);
  background: #0a0e16;
  box-shadow: var(--shadow-l);
}
.demo-chrome {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  background: var(--chrome-bg); border-bottom: 1px solid var(--chrome-border);
  font-size: 11.5px; color: #8a93a5;
}
.demo-chrome .dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.r { background: #ff5f57; } .dot.y { background: #febc2e; } .dot.g { background: #28c840; }
.demo-url {
  margin-left: 12px; padding: 4px 14px; border-radius: 6px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.06);
}
.live-pill {
  margin-left: auto; display: inline-flex; align-items: center; gap: 6px;
  color: #2dd4a7; font-weight: 600; letter-spacing: 0.12em; font-size: 10.5px;
}
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: #2dd4a7; animation: blink 1.4s ease-in-out infinite; }
.demo-frame iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; display: block; background: #0a0e16; }
.dash-extra { margin-top: 56px; align-items: center; }

/* ── Security ─────────────────────────────────────────────────────────── */
.sec-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.sec-card {
  border: 1px solid var(--border); border-radius: 12px;
  background: var(--panel); padding: 26px 22px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
/* .sec-card:hover { border-color: var(--border-hi); box-shadow: var(--shadow-l), var(--glow); } */
.sec-card p { font-size: 13.5px; margin: 0; }
.sec-ico {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 54px; height: 32px; padding: 0 10px; margin-bottom: 16px;
  border-radius: 6px; font-size: 12.5px; font-weight: 600; letter-spacing: 0.08em;
  color: var(--acc); border: 1px solid var(--border-hi);
  background: var(--acc-soft);
}

/* ── CTA / Footer ─────────────────────────────────────────────────────── */
.cta-sec { padding-bottom: 80px; }
.cta-box {
  text-align: center; padding: clamp(40px, 7vw, 80px) 24px;
  border-radius: 16px; border: 1px solid var(--border);
  background:
    radial-gradient(60% 120% at 50% 0%, var(--acc-soft), transparent 60%),
    var(--panel-solid);
  box-shadow: var(--shadow-l);
}
.cta-box p { margin-bottom: 28px; }

.footer {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  flex-wrap: wrap;
  padding: 26px var(--side-gap) 38px;
  border-top: 1px solid var(--border);
  color: var(--text-3); font-size: 12px;
}
.footer-l { display: flex; align-items: center; gap: 10px; }
.footer-r { display: flex; align-items: center; gap: 10px; }
.footer-r a:hover { color: var(--acc); }
.sep { opacity: 0.5; }

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  :root { --side-gap: 24px; }

  /* Topbar: Desktop-Nav → Burger + Slide-down-Panel */
  .topbar { gap: 14px; padding: 12px 16px; }
  .nav {
    display: none;
    position: fixed; top: 60px; left: 12px; right: 12px;
    flex-direction: column; gap: 0;
    background: var(--panel-solid);
    border: 1px solid var(--border); border-radius: 12px;
    box-shadow: var(--shadow-l);
    padding: 8px;
    z-index: 60;
  }
  .nav.open { display: flex; }
  .nav a { padding: 13px 14px; font-size: 15px; border-radius: 8px; }
  .nav a:hover { background: var(--acc-soft); }
  .nav a::after { display: none; }
  .nav-burger { display: flex; }
  .top-right { gap: 8px; }
  .top-right .btn { display: none; }   /* Kontakt steckt im CTA + Footer */
  .theme-toggle { padding: 6px 10px; }

  .prod-grid { grid-template-columns: 1fr; }
  .prod-grid.flip .prod-copy { order: 1; }
  .prod-grid.flip .prod-visual { order: 2; }
  .section { padding: 70px 18px; }
  .product.alt { padding-left: 0; padding-right: 0; }
  .product.alt .prod-grid { padding-left: 18px; padding-right: 18px; }
  .visual-frame { padding: 16px; }

  /* Pipeline stapelt vertikal, Verbinder werden senkrecht */
  .pipe-flow { flex-direction: column; align-items: center; }
  .pf-station, .pf-station:first-child { width: min(80vw, 340px); flex: 0 0 auto; }
  .pf-label span { white-space: normal; }
  .pf-track {
    flex: 0 0 44px; width: 2px; min-width: 2px; height: 44px; margin: 10px 0;
    background: repeating-linear-gradient(180deg, var(--pipe-line) 0 6px, transparent 6px 13px);
  }
  .pf-track::after {
    right: auto; top: auto; bottom: -1px; left: -4px;
    border: 5px solid transparent; border-top-color: var(--pipe-line);
  }
  .pf-track .pkt { animation-name: pf-pkt-v; left: -3.5px; top: 0; }
  @keyframes pf-pkt-v {
    0%   { top: 0; opacity: 0; }
    12%  { opacity: 1; }
    86%  { opacity: 1; }
    100% { top: calc(100% - 9px); opacity: 0; }
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 100px 20px 56px;
    overflow-x: hidden;
  }
  .hero-title { font-size: clamp(28px, 9vw, 48px); }
  .hero-sub { font-size: 14.5px; max-width: 100%; }
  .eyebrow { font-size: 10px; letter-spacing: 0.25em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { padding: 13px 18px; font-size: 14px; text-align: center; }
  .proto-chip { padding: 7px 12px; }
  .proto-chip img { height: 18px; }
  .proto-name { font-size: 11.5px; }
  /* Stats: 2×2-Raster statt langer Zeile */
  .hero-stats {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 22px 12px; margin-top: 44px; width: 100%; max-width: 420px;
  }
  .stat-v { font-size: 22px; }
  .stat-l { font-size: 9.5px; text-align: center; }
  .section-head { margin-bottom: 36px; }
  .feat li { font-size: 13.5px; gap: 10px; }
  .feat .fx { flex-basis: 52px; }
  .demo-frame iframe { aspect-ratio: 16 / 10; }
  .demo-url { display: none; }          /* Chrome-Zeile kompakt */
  .cta-box { border-radius: 12px; }
  .footer { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* ── Reduced motion ───────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .live-dot, .scroll-hint span { animation: none; }
  .anim-pics .frame { transition: none; }
  .pf-track .pkt { animation: none; display: none; }
}


