/* ============ RiPixL — Industrial Dark One-Pager ============ */

:root {
  --bg: #0a0a0b;
  --bg-1: #0f0f11;
  --bg-2: #15151a;
  --bg-3: #1d1d22;
  --line: #2a2a31;
  --line-2: #3a3a44;
  --text: #ebe7df;
  --text-dim: #8a8a94;
  --text-mute: #5a5a64;
  --accent: #ff6a1f;
  --accent-dim: #ff6a1f33;
  --accent-glow: #ff6a1f1a;
  --green: #7fff5b;

  --font-display: "Space Grotesk", "Helvetica Neue", sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", Menlo, monospace;
  --font-body: "Inter", "Helvetica Neue", sans-serif;

  --container: 1320px;
}

* { box-sizing: border-box; margin: 0; padding: 0; min-width: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* ---- Grid background ---- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(to right, #ffffff05 1px, transparent 1px),
    linear-gradient(to bottom, #ffffff05 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  z-index: 0;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
}

/* ============ MONO LABELS ============ */
.mono {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.mono-accent { color: var(--accent); }
.mono-bright { color: var(--text); }

.led {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  vertical-align: middle;
  margin-right: 8px;
  animation: pulse 2.2s infinite;
}
.led.green { background: var(--green); box-shadow: 0 0 8px var(--green); }
@keyframes pulse { 50% { opacity: 0.35; } }

/* ============ NAV ============ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(10,10,11,0.75);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}
.logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-mark {
  display: inline-flex;
  width: 26px; height: 26px;
  background: var(--accent);
  color: #000;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  border-radius: 4px;
  transition: transform 0.4s cubic-bezier(.2,.7,.2,1), box-shadow 0.4s ease;
}
.logo:hover .logo-mark {
  transform: rotate(90deg);
  box-shadow: 0 0 24px var(--accent);
}
.logo-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-mute);
  letter-spacing: 0.1em;
  margin-left: 4px;
}
.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: color 0.2s;
  position: relative;
}
.nav-links a:hover { color: var(--text); }
.nav-links a::before {
  content: "[";
  color: var(--text-mute);
  margin-right: 4px;
  opacity: 0;
  transition: opacity 0.2s;
}
.nav-links a::after {
  content: "]";
  color: var(--text-mute);
  margin-left: 4px;
  opacity: 0;
  transition: opacity 0.2s;
}
.nav-links a:hover::before,
.nav-links a:hover::after { opacity: 1; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--line-2);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.18s ease-out;
  will-change: transform;
}
.nav-cta:hover {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
}

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: 140px 0 100px;
  z-index: 1;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: end;
}
.hero-status {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 24px;
  margin-bottom: 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.hero-status span { display: inline-flex; align-items: center; gap: 6px; }
.hero-status .uptime-val { color: var(--accent); }
@keyframes blink { 50% { opacity: 0; } }

/* Hero command-line tagline */
.hero-tagline {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin-bottom: 18px;
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,0.06);
  background: linear-gradient(90deg, rgba(255,91,31,0.06), transparent 60%);
  border-radius: 3px;
  width: fit-content;
  max-width: 100%;
  overflow: hidden;
}
.hero-tagline .ht-prompt { color: var(--accent); }
.hero-tagline .ht-cmd { color: var(--text); white-space: nowrap; }
.hero-tagline .ht-caret {
  color: var(--accent);
  animation: blink 0.9s steps(1) infinite;
  margin-left: -2px;
  font-weight: 700;
}

/* Headline */
.hero h1.hero-h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(56px, 8.4vw, 120px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  margin-bottom: 28px;
  text-wrap: balance;
}
.hero-h1-line {
  display: flex;
  align-items: baseline;
  gap: 0.18em;
  flex-wrap: wrap;
}
.hero-bracket {
  color: var(--accent);
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 0.55em;
  transform: translateY(-0.18em);
  opacity: 0.9;
}
.scramble {
  display: inline-block;
  position: relative;
  background: linear-gradient(180deg, #fff 0%, #fff 60%, rgba(255,91,31,0.85) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 40px rgba(255,91,31,0.18);
}
.scramble::before, .scramble::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  background: inherit;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.scramble::before { transform: translate(-2px, 0); color: rgba(91,140,255,0.6); }
.scramble::after { transform: translate(2px, 0); color: rgba(255,91,31,0.55); }
.scramble.glitch::before, .scramble.glitch::after { opacity: 1; }

.hero-h1-morph {
  font-style: italic;
  color: rgba(255,255,255,0.92);
}
.word-cycle {
  display: inline-block;
  position: relative;
  min-width: 4.5ch;
  vertical-align: baseline;
  color: var(--accent);
  font-style: normal;
}
.word-cycle .wc-item {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.3em) skewY(8deg);
  filter: blur(4px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(.2,.7,.2,1), filter 0.5s ease;
  position: absolute;
  left: 0; top: 0;
  white-space: nowrap;
}
.word-cycle .wc-item.active {
  opacity: 1;
  transform: none;
  filter: none;
  position: relative;
}
.word-cycle .wc-item.exit {
  opacity: 0;
  transform: translateY(-0.3em) skewY(-8deg);
  filter: blur(4px);
}

.hero-em {
  font-style: normal;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: clamp(11px, 0.9vw, 13px);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px dashed rgba(255,255,255,0.08);
}
.hero-em .em-bar {
  width: 28px; height: 2px;
  background: var(--accent);
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.hero-em .em-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, #fff, transparent);
  animation: em-bar-sweep 3s linear infinite;
}
@keyframes em-bar-sweep {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}
.hero-em .em-by {
  margin-left: auto;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.18em;
}

/* Ticker */
.hero-ticker {
  margin-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 10px 0;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker-track {
  display: flex;
  gap: 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.5);
  white-space: nowrap;
  animation: ticker-scroll 38s linear infinite;
  width: max-content;
}
.ticker-track span:nth-child(odd) { color: var(--accent); }
@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.btn-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  display: inline-block;
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
}
.hero-sub {
  font-size: 17px;
  color: var(--text-dim);
  max-width: 480px;
  line-height: 1.55;
}
.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 36px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 4px;
  transition: all 0.2s;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--accent);
  color: #000;
  will-change: transform;
}
.btn-primary {
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.25), transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.6s ease;
}
.btn-primary:hover::before { transform: translateX(120%); }
.btn-primary:hover {
  background: #ff8341;
  transform: translateY(-1px);
  box-shadow: 0 8px 30px -8px var(--accent);
}
.btn-ghost {
  border-color: var(--line-2);
  color: var(--text);
}
.btn-ghost:hover {
  border-color: var(--text);
  background: var(--bg-2);
}
.btn .arrow {
  transition: transform 0.2s;
}
.btn:hover .arrow { transform: translateX(3px); }

/* Hero image */
.hero-visual {
  position: relative;
  aspect-ratio: 4/5;
  background: var(--bg-2);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color 0.4s ease;
}
.hero-visual:hover { border-color: var(--line-2); }
.hero-visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: contrast(1.05) brightness(0.92);
  transition: transform 1.4s cubic-bezier(.2,.7,.2,1);
}
.hero-visual:hover img { transform: scale(1.03); }
.hero-visual::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: -2px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  animation: scan-line 6s linear infinite;
  z-index: 4;
  pointer-events: none;
  opacity: 0.6;
}
@keyframes scan-line {
  0% { transform: translateY(0); }
  100% { transform: translateY(calc(100% + 2px)); }
}
.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10,10,11,0.6));
  pointer-events: none;
}
.hero-hud {
  position: absolute;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--text);
  text-transform: uppercase;
  pointer-events: none;
}
.hud-tl { top: 16px; left: 16px; }
.hud-tr { top: 16px; right: 16px; text-align: right; }
.hud-bl { bottom: 16px; left: 16px; }
.hud-br { bottom: 16px; right: 16px; text-align: right; }

.hud-tag {
  display: inline-block;
  background: rgba(10,10,11,0.7);
  padding: 6px 10px;
  border: 1px solid var(--line-2);
  border-radius: 2px;
  backdrop-filter: blur(4px);
}
.hud-tag.accent { color: var(--accent); border-color: var(--accent); }

/* Crosshair */
.crosshair {
  position: absolute;
  width: 14px; height: 14px;
  border: 1px solid var(--accent);
  z-index: 3;
  animation: crosshair-pulse 3s ease-in-out infinite;
}
@keyframes crosshair-pulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}
.crosshair::before, .crosshair::after {
  content: "";
  position: absolute;
  background: var(--accent);
}
.crosshair::before {
  left: 50%; top: -6px; bottom: -6px;
  width: 1px; transform: translateX(-50%);
}
.crosshair::after {
  top: 50%; left: -6px; right: -6px;
  height: 1px; transform: translateY(-50%);
}

/* Stats strip */
.stats {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: 80px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat {
  padding: 36px 32px;
  border-right: 1px solid var(--line);
  position: relative;
  transition: background 0.3s ease;
  overflow: hidden;
}
.stat::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}
.stat:hover { background: var(--bg-1); }
.stat:hover::after { transform: scaleX(1); }
.stat:last-child { border-right: 0; }
.stat-num {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 10px;
}
.stat-num sup {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  margin-left: 4px;
  vertical-align: super;
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* ============ SECTION HEADER ============ */
section { position: relative; z-index: 1; }
.section {
  padding: 120px 0;
  border-top: 1px solid var(--line);
}
.section-head {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  margin-bottom: 64px;
  align-items: baseline;
}
.section-id {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-mute);
  padding-top: 12px;
  border-top: 1px solid var(--accent);
  display: block;
}
.section-id span { color: var(--accent); margin-right: 8px; }

.section h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.section-intro {
  margin-top: 18px;
  color: var(--text-dim);
  font-size: 17px;
  max-width: 620px;
}

/* ============ LEISTUNGEN ============ */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.service {
  background: var(--bg);
  padding: 32px;
  transition: background 0.3s, transform 0.4s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  transform-style: preserve-3d;
  will-change: transform;
}
.service:hover { background: var(--bg-1); }
.service-img {
  aspect-ratio: 4/3;
  background: var(--bg-2);
  overflow: hidden;
  margin: -32px -32px 28px;
  position: relative;
  border-bottom: 1px solid var(--line);
}
.service-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
  filter: contrast(1.05) brightness(0.95);
}
.service:hover .service-img img { transform: scale(1.04); }
.service-img-label {
  position: absolute;
  bottom: 12px; left: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(10,10,11,0.85);
  padding: 5px 9px;
  border: 1px solid var(--line-2);
  color: var(--text);
}
.service-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 12px;
  position: relative;
  padding-left: 0;
  transition: padding-left 0.3s ease;
}
.service:hover .service-num { padding-left: 14px; }
.service-num::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.3s ease;
}
.service:hover .service-num::before { width: 10px; }
.service h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 26px;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  line-height: 1.1;
}
.service p {
  color: var(--text-dim);
  font-size: 15px;
  margin-bottom: 20px;
  flex: 1;
}
.service-specs {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-top: 1px dashed var(--line);
  padding-top: 16px;
}
.service-specs dt { color: var(--text-mute); }
.service-specs dd { color: var(--text); }

/* ============ MATERIALS ============ */
.materials-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.material {
  background: var(--bg);
  padding: 24px 20px;
  position: relative;
  transition: background 0.3s ease, transform 0.3s ease;
}
.material:hover { background: var(--bg-2); transform: translateY(-2px); }
.material:hover .material-swatch { transform: scale(1.04); box-shadow: 0 8px 24px -10px rgba(0,0,0,0.6); }
.material-swatch {
  width: 100%;
  aspect-ratio: 1;
  margin-bottom: 16px;
  position: relative;
  border-radius: 2px;
  background-image:
    repeating-linear-gradient(45deg, transparent, transparent 8px, rgba(0,0,0,0.15) 8px, rgba(0,0,0,0.15) 10px);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.material-swatch::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 30px rgba(0,0,0,0.4);
  border-radius: 2px;
}
.material-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 17px;
  margin-bottom: 4px;
  transition: color 0.25s ease;
}
.material:hover .material-name { color: var(--accent); }
.material-code {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--text-mute);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.material-props {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-dim);
  letter-spacing: 0.05em;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.material-props span { display: flex; justify-content: space-between; }

.materials-foot {
  margin-top: 32px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-mute);
  letter-spacing: 0.05em;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ============ PROZESS ============ */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  position: relative;
}
.process::before {
  content: "";
  position: absolute;
  top: 38px;
  left: 8%; right: 8%;
  height: 1px;
  background: linear-gradient(90deg, var(--line), var(--accent), var(--line));
  z-index: 0;
}
.step {
  padding: 0 24px;
  position: relative;
  z-index: 1;
}
.step-marker {
  width: 80px; height: 80px;
  border: 1px solid var(--line-2);
  background: var(--bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 24px;
  position: relative;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.step:hover .step-marker { border-color: var(--accent); transform: rotate(4deg); }
.step:hover .step-marker::after { animation: spin 12s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.step-marker::after {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px dashed var(--accent-dim);
  border-radius: 50%;
}
.step h4 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 20px;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.step p {
  color: var(--text-dim);
  font-size: 14px;
}
.step-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 12px;
}

/* ============ GALLERY ============ */
.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.gallery-item {
  position: relative;
  background: var(--bg-2);
  border: 1px solid var(--line);
  overflow: hidden;
  cursor: pointer;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.9s cubic-bezier(.2,.7,.2,1), filter 0.4s;
  filter: contrast(1.04) brightness(0.92);
}
.gallery-item:hover img { transform: scale(1.06); filter: contrast(1.1) brightness(1); }
.gallery-item .gallery-meta { transform: translateY(4px); opacity: 0.9; transition: transform 0.4s ease, opacity 0.4s ease; }
.gallery-item:hover .gallery-meta { transform: none; opacity: 1; }
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10,10,11,0.85));
  pointer-events: none;
}
.gallery-meta {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  color: var(--text);
}
.gallery-meta strong { color: var(--accent); font-weight: 400; }

.g-1 { grid-column: span 8; aspect-ratio: 16/10; }
.g-2 { grid-column: span 4; aspect-ratio: 4/5; }
.g-3 { grid-column: span 4; aspect-ratio: 4/5; }
.g-4 { grid-column: span 4; aspect-ratio: 4/5; }
.g-5 { grid-column: span 4; aspect-ratio: 4/5; }
.g-6 { grid-column: span 12; aspect-ratio: 24/9; }

/* ============ FAQ ============ */
.faq {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--line);
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-q {
  width: 100%;
  text-align: left;
  padding: 28px 0;
  display: grid;
  grid-template-columns: 60px 1fr 48px;
  align-items: center;
  gap: 24px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.01em;
  transition: color 0.25s, padding-left 0.3s ease;
}
.faq-q:hover { padding-left: 10px; }
.faq-q:hover { color: var(--accent); }
.faq-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--text-mute);
}
.faq-toggle {
  width: 36px; height: 36px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  position: relative;
  justify-self: end;
  transition: all 0.2s;
}
.faq-toggle::before, .faq-toggle::after {
  content: "";
  position: absolute;
  background: var(--text);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.25s;
}
.faq-toggle::before { width: 12px; height: 1px; }
.faq-toggle::after { width: 1px; height: 12px; }
.faq-item.open .faq-toggle { background: var(--accent); border-color: var(--accent); }
.faq-item.open .faq-toggle::before { background: #000; }
.faq-item.open .faq-toggle::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq-a {
  display: grid;
  grid-template-columns: 60px 1fr 48px;
  gap: 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
}
.faq-item.open .faq-a {
  max-height: 400px;
  padding: 0 0 32px;
}
.faq-a > div:nth-child(2) {
  color: var(--text-dim);
  font-size: 15px;
  max-width: 640px;
  line-height: 1.6;
}

/* ============ HOURS + MAP ============ */
.hours-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: stretch;
}
.hours {
  border: 1px solid var(--line);
  padding: 36px;
  background: var(--bg-1);
}
.hours-title {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--line);
}
.hours-title h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 26px;
  letter-spacing: -0.02em;
}
.hours-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.hours-list li {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 16px;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.05em;
}
.hours-list li .day { color: var(--text); text-transform: uppercase; font-size: 11px; letter-spacing: 0.1em; }
.hours-list li .dots { border-bottom: 1px dotted var(--line-2); height: 1px; }
.hours-list li .time { color: var(--text-dim); }
.hours-list li.open .time { color: var(--green); }
.hours-list li.closed .time { color: var(--text-mute); }

.hours-note {
  margin-top: 28px;
  padding: 16px;
  border: 1px solid var(--line-2);
  background: var(--bg);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.hours-note strong { color: var(--accent); font-weight: 400; }

.map {
  border: 1px solid var(--line);
  background: var(--bg-1);
  position: relative;
  overflow: hidden;
  min-height: 420px;
  background-image:
    linear-gradient(to right, #ffffff08 1px, transparent 1px),
    linear-gradient(to bottom, #ffffff08 1px, transparent 1px);
  background-size: 40px 40px;
}
.map-streets {
  position: absolute; inset: 0;
}
.map-pin {
  position: absolute;
  top: 48%; left: 52%;
  transform: translate(-50%, -100%);
  z-index: 2;
}
.map-pin-dot {
  width: 18px; height: 18px;
  background: var(--accent);
  border-radius: 50%;
  position: relative;
  box-shadow: 0 0 0 4px rgba(255,106,31,0.2), 0 0 30px var(--accent);
}
.map-pin-dot::after {
  content: "";
  position: absolute;
  inset: -16px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  animation: ping 2.4s infinite;
}
@keyframes ping {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}
.map-label {
  position: absolute;
  top: 24px; left: 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.map-coords {
  position: absolute;
  bottom: 24px; right: 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-dim);
  background: rgba(10,10,11,0.85);
  border: 1px solid var(--line);
  padding: 10px 14px;
  text-align: right;
  line-height: 1.6;
}
.map-coords strong { color: var(--accent); font-weight: 400; }

/* ============ CONTACT ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
}
.contact-info h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 32px;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 24px;
}
.contact-info p {
  color: var(--text-dim);
  font-size: 16px;
  margin-bottom: 36px;
  max-width: 380px;
}
.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.channel {
  display: grid;
  grid-template-columns: 110px 1fr;
  align-items: baseline;
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  transition: color 0.25s ease, padding-left 0.3s ease;
  position: relative;
}
a.channel:hover { padding-left: 12px; }
.channel:last-child { border-bottom: 1px solid var(--line); }
.channel:hover { color: var(--accent); }
.channel-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.channel-value {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: -0.01em;
}

form.contact-form {
  border: 1px solid var(--line);
  padding: 36px;
  background: var(--bg-1);
}
.form-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.field {
  margin-bottom: 22px;
}
.field-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.field-label .req { color: var(--accent); }
.field input, .field textarea, .field select {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line-2);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  padding: 14px 16px;
  border-radius: 2px;
  transition: border-color 0.2s, background 0.2s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: 0;
  border-color: var(--accent);
  background: var(--bg-2);
}
.field textarea { resize: vertical; min-height: 120px; font-family: var(--font-body); }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 24px;
  line-height: 1.6;
}
.consent input { accent-color: var(--accent); margin-top: 2px; }

.service-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}
.chip {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 14px;
  border: 1px solid var(--line-2);
  border-radius: 2px;
  cursor: pointer;
  color: var(--text-dim);
  transition: all 0.25s ease;
}
.chip:active { transform: scale(0.96); }
.chip:hover { color: var(--text); border-color: var(--text-dim); }
.chip.active { background: var(--accent); border-color: var(--accent); color: #000; }

.form-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.form-foot .mono { font-size: 10px; }

/* ============ FOOTER ============ */
footer {
  margin-top: 0;
  border-top: 1px solid var(--line);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}
.footer-brand h4 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 36px;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}
.footer-brand p {
  color: var(--text-dim);
  max-width: 360px;
}
.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 18px;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a {
  font-size: 14px;
  color: var(--text-dim);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--accent); }

.footer-bar {
  padding-top: 32px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mute);
}

/* ============ 3D PRINTER SCENE (CSS 3D) ============ */
.hero-visual.has-3d {
  background: radial-gradient(ellipse at 50% 60%, #1a1410 0%, #0a0a0b 70%);
}
.hero-visual.has-3d::after { display: none; }
.hero-visual.has-3d::before { display: none; }

.printer-scene {
  position: absolute;
  inset: 0;
  perspective: 1200px;
  perspective-origin: 50% 45%;
  overflow: hidden;
}
.printer-stage {
  position: absolute;
  left: 50%;
  top: 58%;
  transform-style: preserve-3d;
  transform: translate3d(-50%, -50%, 0) rotateX(62deg) rotateZ(0deg);
  animation: stage-rotate 24s linear infinite;
}
@keyframes stage-rotate {
  to { transform: translate3d(-50%, -50%, 0) rotateX(62deg) rotateZ(360deg); }
}

.printer-grid {
  position: absolute;
  width: 320px; height: 320px;
  left: -160px; top: -160px;
  background-image:
    linear-gradient(rgba(255,106,31,0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,106,31,0.12) 1px, transparent 1px);
  background-size: 20px 20px;
  transform: translateZ(-2px);
  mask: radial-gradient(circle, #000 30%, transparent 75%);
  -webkit-mask: radial-gradient(circle, #000 30%, transparent 75%);
}
.printer-bed {
  position: absolute;
  width: 280px; height: 280px;
  left: -140px; top: -140px;
  background: radial-gradient(circle, rgba(255,106,31,0.18) 0%, rgba(255,106,31,0.04) 50%, transparent 70%);
  filter: blur(8px);
  transform: translateZ(0);
}

.printer-object {
  position: absolute;
  transform-style: preserve-3d;
  transform: translateZ(0);
}
.p-layer {
  position: absolute;
  width: calc(var(--r) * 2);
  height: calc(var(--r) * 2);
  left: calc(var(--r) * -1);
  top: calc(var(--r) * -1);
  border-radius: 50%;
  transform: translateZ(calc(var(--i) * 4px)) rotateZ(var(--rot));
  background: linear-gradient(135deg, #2a2a30 0%, #1a1a1f 100%);
  border: 1px solid rgba(255,106,31,0.3);
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.4),
    inset 0 0 12px rgba(0,0,0,0.5);
  opacity: 0;
  scale: 0.5;
  transition: opacity 0.35s ease, scale 0.45s cubic-bezier(.3,1.6,.5,1), background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  clip-path: polygon(50% 0%, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
}
.p-layer.built {
  opacity: 1;
  scale: 1;
}
.p-layer.current {
  background: linear-gradient(135deg, #ff8b3f 0%, #c44a10 100%);
  border-color: rgba(255,200,140,0.8);
  box-shadow:
    0 0 24px rgba(255,106,31,0.7),
    0 0 0 1px rgba(255,180,100,0.4);
  filter: drop-shadow(0 0 12px rgba(255,106,31,0.6));
}

.printer-head {
  position: absolute;
  left: 50%;
  top: 18%;
  transform: translate3d(-50%, 0, 0);
  transition: transform 0.18s linear;
  z-index: 4;
}
.printer-head-body {
  width: 64px; height: 28px;
  background: linear-gradient(180deg, #2a2a30 0%, #16161a 100%);
  border: 1px solid var(--line-2);
  border-radius: 3px;
  position: relative;
}
.printer-head-body::before {
  content: "";
  position: absolute;
  inset: 4px 6px 4px auto;
  width: 14px;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: head-led 1.2s ease-in-out infinite;
}
@keyframes head-led { 50% { opacity: 0.4; } }
.printer-head-nozzle {
  width: 0; height: 0;
  margin: 0 auto;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 14px solid #2a2a30;
  filter: drop-shadow(0 -1px 0 rgba(255,255,255,0.05));
}
.printer-head-extrude {
  width: 2px;
  height: 14px;
  margin: -2px auto 0;
  background: linear-gradient(180deg, var(--accent), transparent);
  box-shadow: 0 0 6px var(--accent);
  animation: extrude 0.4s ease-in-out infinite;
}
@keyframes extrude {
  0%, 100% { opacity: 0.4; height: 10px; }
  50% { opacity: 1; height: 18px; }
}

.printer-rays {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 60%, rgba(255,106,31,0.18) 0%, transparent 35%),
    radial-gradient(circle at 50% 90%, rgba(255,106,31,0.12) 0%, transparent 30%);
  animation: rays-pulse 4s ease-in-out infinite;
}
@keyframes rays-pulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

.printer-readout {
  position: absolute;
  bottom: 56px; left: 16px;
  background: rgba(10,10,11,0.75);
  border: 1px solid var(--line-2);
  padding: 10px 14px;
  backdrop-filter: blur(4px);
  z-index: 5;
  font-size: 10px;
  letter-spacing: 0.08em;
  min-width: 140px;
}
.readout-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 3px 0;
  text-transform: uppercase;
}
.readout-row span:first-child { color: var(--text-mute); }
.readout-row span:last-child { color: var(--accent); }
.readout-layer, .readout-height { color: var(--accent) !important; }

@media (max-width: 600px) {
  .printer-readout { font-size: 9px; padding: 8px 10px; }
}
.cinema {
  position: relative;
  height: 400vh; /* 4 frames × 1 viewport */
  z-index: 1;
}
.cinema-track {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}
.cinema-stage {
  position: absolute;
  inset: 0;
  background: var(--bg);
}
.cinema-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.cinema-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.9s cubic-bezier(.4,.0,.2,1), filter 0.9s ease;
  filter: contrast(1.05) brightness(0.85) saturate(0.92);
  will-change: opacity;
}
.cinema-img.active {
  opacity: 1;
}
.cinema-vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10,10,11,0.92) 0%, rgba(10,10,11,0.75) 35%, rgba(10,10,11,0.2) 65%, rgba(10,10,11,0.6) 100%),
    linear-gradient(180deg, rgba(10,10,11,0.5) 0%, transparent 25%, transparent 70%, rgba(10,10,11,0.8) 100%);
  pointer-events: none;
}
.cinema-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  mix-blend-mode: overlay;
}

.cinema-hud {
  position: absolute;
  inset: 32px;
  pointer-events: none;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  z-index: 3;
}
.cinema-hud-l { position: absolute; top: 0; left: 0; display: flex; gap: 8px; align-items: center; }
.cinema-hud-r { position: absolute; top: 0; right: 0; text-align: right; color: var(--text-dim); }
.cinema-hud-bl { position: absolute; bottom: 0; left: 0; color: var(--text-mute); }
.cinema-hud-br { position: absolute; bottom: 0; right: 0; text-align: right; color: var(--text-dim); line-height: 1.6; }
.cinema-hud .led { background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.cinema-frame { color: var(--accent); }

.cinema-progress {
  position: absolute;
  left: 32px; right: 32px;
  bottom: 50px;
  height: 1px;
  background: rgba(255,255,255,0.1);
  z-index: 3;
}
.cinema-progress-bar {
  height: 100%;
  background: var(--accent);
  width: 0%;
  box-shadow: 0 0 12px var(--accent);
}

.cinema-frames {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  z-index: 2;
}
.cinema-frame-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 96px;
  max-width: 760px;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(.4,0,.2,1), transform 0.9s cubic-bezier(.2,.6,.2,1);
  pointer-events: none;
}
.cinema-frame-text.active {
  opacity: 1;
  transform: none;
}
.cinema-frame-text .frame-label {
  color: var(--accent);
  margin-bottom: 24px;
  font-size: 12px;
}
.cinema-frame-text h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.96;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
  text-wrap: balance;
  color: #fff;
  text-shadow: 0 2px 30px rgba(0,0,0,0.7);
}
.cinema-frame-text p {
  font-size: 18px;
  color: rgba(255,255,255,0.88);
  max-width: 480px;
  line-height: 1.55;
  text-shadow: 0 2px 20px rgba(0,0,0,0.7);
}

@media (max-width: 760px) {
  .cinema-frame-text { padding: 0 24px; }
  .cinema-hud { inset: 20px; }
  .cinema-progress { left: 20px; right: 20px; }
}

/* ============ SCROLL-DRIVEN HERO ============ */
.hero-visual {
  will-change: transform;
}

/* Section header line-draw on reveal */
.section-head.in .section-id::after,
.section-head.in .section-id { }
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s cubic-bezier(.2,.7,.2,1), transform 0.9s cubic-bezier(.2,.7,.2,1);
}
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s cubic-bezier(.2,.7,.2,1), transform 0.7s cubic-bezier(.2,.7,.2,1);
}
.reveal-stagger.in > * { opacity: 1; transform: none; }
.reveal-stagger.in > *:nth-child(1) { transition-delay: 0.00s; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 0.04s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 0.08s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 0.12s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 0.16s; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: 0.20s; }
.reveal-stagger.in > *:nth-child(7) { transition-delay: 0.24s; }
.reveal-stagger.in > *:nth-child(8) { transition-delay: 0.28s; }
.reveal-stagger.in > *:nth-child(9) { transition-delay: 0.32s; }
.reveal-stagger.in > *:nth-child(10) { transition-delay: 0.36s; }
.reveal-stagger.in > *:nth-child(11) { transition-delay: 0.40s; }
.reveal-stagger.in > *:nth-child(12) { transition-delay: 0.44s; }
.reveal.in {
  opacity: 1;
  transform: none;
}
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
  .services { grid-template-columns: 1fr; }
  .materials-grid { grid-template-columns: repeat(3, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); gap: 32px 1px; }
  .process::before { display: none; }
  .section-head { grid-template-columns: 1fr; gap: 16px; }
  .hours-grid, .contact-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .gallery { grid-template-columns: repeat(6, 1fr); }
  .g-1, .g-6 { grid-column: span 6; }
  .g-2, .g-3, .g-4, .g-5 { grid-column: span 3; }
}
@media (max-width: 600px) {
  .container { padding: 0 20px; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .materials-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .field-row { grid-template-columns: 1fr; }
}

/* ============ FULL RESPONSIVE OVERHAUL ============ */

/* Tablet landscape & below */
@media (max-width: 1100px) {
  :root { --container: 100%; }
  .container { padding: 0 28px; }
  .section { padding: 96px 0; }
  .hero { padding: 120px 0 80px; }
  .nav-links { gap: 22px; }
}

/* Tablet portrait */
@media (max-width: 900px) {
  .nav-inner { height: 60px; padding: 0 24px; }
  .nav-links { display: none; }
  .logo-meta { display: none; }
  .nav-cta { padding: 7px 12px; font-size: 10px; }

  .hero { padding: 100px 0 60px; }
  .hero-status { gap: 14px 18px; font-size: 10px; margin-bottom: 20px; }
  .hero-tagline { font-size: 11px; padding: 7px 12px; }

  .section { padding: 80px 0; }
  .section-head { margin-bottom: 48px; }

  .stat { padding: 28px 24px; }
  .stat-num { font-size: 36px; }

  .service { padding: 28px; }
  .service-img { margin: -28px -28px 24px; }

  .hours-list li { grid-template-columns: 90px 1fr auto; }
  .map { min-height: 320px; }

  .contact-info h3 { font-size: 26px; }
  form.contact-form { padding: 28px; }
}

/* Large phone / small tablet */
@media (max-width: 720px) {
  .container { padding: 0 20px; }
  .hero { padding: 84px 0 48px; }
  .hero-status { font-size: 9px; gap: 10px 14px; }
  .hero-status .hero-uptime { display: none; }

  .hero-em {
    flex-wrap: wrap;
    gap: 8px;
    font-size: 10px;
    padding-top: 14px;
    margin-top: 18px;
  }
  .hero-em .em-by { margin-left: 0; width: 100%; }

  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }

  .ticker-track { font-size: 10px; gap: 14px; }

  .hero-visual {
    aspect-ratio: 4/3;
    margin-top: 32px;
  }
  .hero-hud { font-size: 9px; }
  .hud-tl, .hud-tr, .hud-bl, .hud-br {
    top: 10px; left: 10px; right: auto; bottom: auto;
  }
  .hud-tr { top: 10px; left: auto; right: 10px; }
  .hud-bl { top: auto; bottom: 10px; left: 10px; }
  .hud-br { top: auto; bottom: 10px; right: 10px; left: auto; }

  .stats { margin-top: 56px; }
  .stat { padding: 24px 20px; }
  .stat-num { font-size: 32px; }

  .section { padding: 64px 0; }
  .section-head { margin-bottom: 36px; gap: 12px; }
  .section-intro { font-size: 15px; }

  .services { gap: 1px; }
  .service { padding: 24px; }
  .service-img { margin: -24px -24px 20px; }
  .service h3 { font-size: 22px; }

  .materials-grid { grid-template-columns: repeat(2, 1fr); }
  .material { padding: 18px 16px; }

  .step { padding: 0; }
  .step-marker { width: 64px; height: 64px; font-size: 12px; }

  .gallery { grid-template-columns: 1fr; gap: 12px; }
  .g-1, .g-2, .g-3, .g-4, .g-5, .g-6 {
    grid-column: span 1;
    aspect-ratio: 16/10;
  }

  .faq-q {
    grid-template-columns: 40px 1fr 32px;
    gap: 14px;
    font-size: 17px;
    padding: 22px 0;
  }
  .faq-toggle { width: 28px; height: 28px; }
  .faq-a { grid-template-columns: 40px 1fr 32px; gap: 14px; }
  .faq-item.open .faq-a { padding: 0 0 24px; }

  .hours, form.contact-form { padding: 24px; }
  .hours-title h3 { font-size: 22px; }

  .contact-info h3 { font-size: 22px; }
  .channel { grid-template-columns: 90px 1fr; gap: 12px; padding: 14px 0; }
  .channel-value { font-size: 15px; }
  .channel-label { font-size: 10px; }

  .footer-grid { gap: 28px; }
  .footer-brand h4 { font-size: 28px; }
  .footer-bar {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }

  .cinema { height: 360vh; }
  .cinema-frame-text { padding: 0 20px; }
  .cinema-frame-text h2 { font-size: clamp(36px, 9vw, 56px); }
  .cinema-frame-text p { font-size: 15px; }
  .cinema-progress { bottom: 36px; }
}

/* Phone */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .nav-inner { padding: 0 16px; height: 56px; }
  .logo { font-size: 15px; gap: 7px; }
  .logo-mark { width: 20px; height: 20px; font-size: 10px; }
  .nav-cta { padding: 6px 10px; font-size: 9px; }
  .nav-cta .led { width: 5px; height: 5px; }

  .hero { padding: 72px 0 40px; }
  .hero h1.hero-h1 {
    font-size: clamp(32px, 9.5vw, 48px);
    line-height: 0.98;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
  }
  .hero-h1-line { gap: 0.12em; }
  .hero-bracket { font-size: 0.5em; }
  .hero-h1-morph { font-size: 0.9em; }
  .hero-sub { font-size: 14px; line-height: 1.5; }

  .hero-status { font-size: 9px; letter-spacing: 0.06em; gap: 8px 12px; }
  .hero-tagline { font-size: 10px; padding: 6px 10px; gap: 6px; }
  .hero-tagline .ht-cmd { font-size: 10px; overflow: hidden; text-overflow: ellipsis; }

  .hero-em {
    font-size: 9px;
    letter-spacing: 0.1em;
    padding-top: 12px;
    margin-top: 16px;
  }
  .hero-em .em-bar { width: 18px; }

  .stat-num { font-size: 28px; }
  .stat-label { font-size: 10px; }

  .section { padding: 56px 0; }
  .section h2 { font-size: clamp(26px, 7.5vw, 38px); }
  .section-intro { font-size: 14px; }
  .section-id { font-size: 10px; letter-spacing: 0.1em; }

  .service h3 { font-size: 19px; }
  .service p { font-size: 14px; }
  .service-specs { font-size: 10px; gap: 4px 12px; }

  .material-name { font-size: 14px; }
  .material-code, .material-props { font-size: 9px; }
  .materials-foot { font-size: 10px; flex-direction: column; gap: 8px; align-items: flex-start; }

  .step h4 { font-size: 17px; }
  .step p { font-size: 13px; }

  .gallery-meta { font-size: 9px; }

  .faq-q { font-size: 15px; grid-template-columns: 32px 1fr 28px; gap: 10px; padding: 20px 0; }
  .faq-num { font-size: 9px; }
  .faq-a { grid-template-columns: 32px 1fr 28px; gap: 10px; }
  .faq-a > div:nth-child(2) { font-size: 13px; line-height: 1.55; }

  .hours-list li {
    grid-template-columns: 70px 1fr auto;
    font-size: 11px;
    gap: 10px;
  }
  .hours-list li .day { font-size: 10px; }
  .hours-note { font-size: 10px; padding: 12px; }

  .map-coords { font-size: 9px; padding: 8px 10px; }
  .map-label { font-size: 9px; top: 14px; left: 14px; }
  .map { min-height: 260px; }

  .contact-info h3 { font-size: 20px; }
  .contact-info p { font-size: 14px; }
  form.contact-form { padding: 20px; }
  .form-header { font-size: 9px; }
  .field-label { font-size: 10px; }
  .field input, .field textarea, .field select { font-size: 14px; padding: 11px 13px; }
  .chip { font-size: 9px; padding: 6px 10px; letter-spacing: 0.04em; }

  .form-foot {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .form-foot .btn { justify-content: center; }

  .footer-grid { grid-template-columns: 1fr; gap: 24px; margin-bottom: 36px; }
  .footer-brand h4 { font-size: 22px; }
  .footer-bar { font-size: 9px; }

  .cinema-hud { inset: 12px; font-size: 9px; letter-spacing: 0.06em; }
  .cinema-hud-r, .cinema-hud-br { font-size: 8px; }
  .cinema-progress { left: 12px; right: 12px; bottom: 24px; }
  .cinema-frame-text { padding: 0 18px; }
  .cinema-frame-text h2 { font-size: clamp(28px, 9vw, 42px); margin-bottom: 14px; }
  .cinema-frame-text p { font-size: 13px; max-width: 100%; line-height: 1.5; }
  .cinema-frame-text .frame-label { font-size: 9px; margin-bottom: 12px; }

  .ticker-track { font-size: 10px; gap: 12px; }

  .hero-visual { aspect-ratio: 4/3; }
  .hud-tag { font-size: 8px; padding: 4px 7px; }
}

/* Tiny phones */
@media (max-width: 360px) {
  .hero-actions { gap: 10px; }
  .btn { padding: 12px 16px; font-size: 11px; }
  .materials-grid { grid-template-columns: 1fr; }
}

/* Landscape phones / short screens */
@media (max-height: 600px) and (max-width: 900px) {
  .hero { padding: 80px 0 40px; }
  .cinema-frame-text { justify-content: flex-end; padding-bottom: 60px; }
  .cinema-frame-text h2 { font-size: clamp(28px, 6vw, 44px); margin-bottom: 12px; }
  .cinema-frame-text p { font-size: 13px; }
}

/* High-DPI / Retina — sharper borders */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body::before {
    background-image:
      linear-gradient(to right, #ffffff04 0.5px, transparent 0.5px),
      linear-gradient(to bottom, #ffffff04 0.5px, transparent 0.5px);
  }
}

/* Reduced motion — sanftere Übergänge, aber Cinema bleibt erhalten */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.5s !important;
    transition-duration: 0.3s !important;
  }
  .ticker-track,
  .map-pin-dot::after,
  .em-bar::after,
  .cinema-img,
  .cinema-frame-text { animation: none !important; }
}
