/* =========================================================
   Erbe Tech – Stylesheet
   Idee: Schaltplan trifft Werkstatt. Dunkler Kopf mit Raster
   wie auf Millimeterpapier, helle Inhaltsflächen, ein einziges
   Signalgelb als Akzent.
   ========================================================= */

/* Schriften liegen auf dem eigenen Server (kein Google-Abruf = DSGVO-freundlich) */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("fonts/bricolage-grotesque-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  /* Farben */
  --ink: #101418;        /* Graphit: Text und dunkle Flächen */
  --ink-2: #1A2027;      /* etwas heller für Karten im Dunkeln */
  --paper: #F3F4F1;      /* heller Hintergrund */
  --white: #FFFFFF;
  --line: #D8DBD5;       /* feine Linien */
  --muted: #59626B;      /* Nebentext */
  --signal: #FFC531;     /* Signalgelb: Knöpfe, Hervorhebungen */
  --signal-dark: #E0A800;
  --on-dark: #E9ECEF;
  --on-dark-muted: #9AA4AE;

  /* Schrift */
  --font-display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --radius: 14px;
  --max: 1120px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; border-radius: 4px; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
  margin: 0;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 800; }
h3 { font-size: 1.3rem; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0; }

/* kleine Schaltplan-Kennzeichnung über Überschriften, z. B. "-K1  Leistungen" */
.tag {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.tag b { color: var(--ink); background: var(--signal); padding: 2px 7px; border-radius: 4px; font-weight: 600; }

/* ---------- Knöpfe ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--signal); color: var(--ink); }
.btn-primary:hover { background: var(--signal-dark); }
.btn-ghost { border-color: currentColor; }

/* ---------- Kopfzeile ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(16, 20, 24, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--on-dark);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; letter-spacing: -0.02em; }
.logo-text span { color: var(--signal); }
.logo svg { width: 34px; height: 34px; flex: none; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { text-decoration: none; color: var(--on-dark-muted); font-size: 0.95rem; }
.nav a:hover { color: var(--white); }
.nav .btn { padding: 9px 18px; color: var(--ink); font-size: 0.95rem; }
@media (max-width: 860px) { .nav a:not(.btn) { display: none; } }

/* ---------- Hero ---------- */
.hero {
  background-color: var(--ink);
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 28px 28px;
  color: var(--on-dark);
  padding-block: 72px 88px;
}
.hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.hero .wrap > * { min-width: 0; }
.hero .tag { color: var(--on-dark-muted); }
.hero h1 { color: var(--white); margin-top: 18px; }
.hero h1 em { font-style: normal; color: var(--signal); }
.hero .lead { margin-top: 22px; font-size: 1.2rem; color: var(--on-dark); max-width: 34em; }
.hero .actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero .btn-ghost { color: var(--on-dark); }
.hero .facts { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 0.95rem; color: var(--on-dark-muted); padding: 0; list-style: none; }
.hero .facts li::before { content: "✓ "; color: var(--signal); font-weight: 700; }

/* Schaltplan-Grafik im Hero */
.schema {
  background: var(--ink-2);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 22px;
}
.schema-title { font-family: var(--font-mono); font-size: 0.78rem; color: var(--on-dark-muted); letter-spacing: 0.05em; display: flex; justify-content: space-between; }
.schema svg { display: block; width: 100%; height: auto; margin-top: 12px; }
.schema .pulse { animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .schema .pulse { animation: none; } }

@media (max-width: 900px) {
  .hero { padding-block: 48px 64px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
}

/* ---------- Abschnitte ---------- */
section { padding-block: 96px; }
.section-head { display: grid; gap: 14px; max-width: 46rem; margin-bottom: 48px; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
@media (max-width: 700px) { section { padding-block: 64px; } }

/* Leistungen */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.service .icon { width: 48px; height: 48px; border-radius: 12px; background: var(--ink); display: grid; place-items: center; }
.service .icon svg { width: 26px; height: 26px; }
.service p { color: var(--muted); }
.service ul { margin: 4px 0 0; padding-left: 1.1em; color: var(--ink); }
.service li { margin: 4px 0; }
.service .example { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 0.92rem; color: var(--muted); }
.service .example strong { color: var(--ink); }
@media (max-width: 900px) { .services { grid-template-columns: 1fr; } }

/* Über mich */
.about { background: var(--white); border-block: 1px solid var(--line); }
.about .wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: center; }
.about .wrap > * { min-width: 0; }
.photo {
  aspect-ratio: 4 / 5;
  max-width: 100%;
  border-radius: var(--radius);
  background:
    linear-gradient(rgba(16,20,24,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16,20,24,0.06) 1px, transparent 1px),
    var(--paper);
  background-size: 22px 22px;
  border: 2px dashed var(--line);
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  padding: 20px;
}
.photo img { width: 100%; height: 100%; object-fit: cover; border-radius: calc(var(--radius) - 2px); }
.about-text { display: grid; gap: 18px; }
.about-text p { font-size: 1.08rem; }
.cv { display: grid; gap: 0; margin-top: 8px; border-top: 1px solid var(--line); }
.cv div { display: grid; grid-template-columns: 7.5rem 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cv dt { font-family: var(--font-mono); font-size: 0.85rem; color: var(--muted); padding-top: 2px; }
.cv dd { margin: 0; }
@media (max-width: 860px) {
  .about .wrap { grid-template-columns: 1fr; gap: 32px; }
  .photo { max-width: 340px; }
}

/* Pakete */
.packages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.package {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.package.featured { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.package .for { font-size: 0.92rem; color: var(--muted); }
.package.featured .for { color: var(--on-dark-muted); }
.price { font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.price small { font-size: 1rem; font-weight: 600; letter-spacing: 0; }
.price-note { font-size: 0.9rem; color: var(--muted); margin-top: -8px; }
.package.featured .price-note { color: var(--on-dark-muted); }
.package ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.package li { padding-left: 26px; position: relative; }
.package li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 12px; height: 12px; border-radius: 50%; border: 3px solid var(--signal-dark); }
.package.featured li::before { border-color: var(--signal); }
.package .btn { margin-top: auto; justify-content: center; }
.package:not(.featured) .btn { border-color: var(--ink); }
.badge { align-self: flex-start; background: var(--signal); color: var(--ink); font-size: 0.78rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
@media (max-width: 960px) { .packages { grid-template-columns: 1fr; max-width: 520px; } }

.care {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 16px 32px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 28px;
  background: var(--white);
}
.care p { color: var(--muted); }
.care .opt { font-variant-numeric: tabular-nums; }
.care .opt strong { font-family: var(--font-display); font-size: 1.4rem; }
@media (max-width: 760px) { .care { grid-template-columns: 1fr; } }
.tax-note { margin-top: 18px; font-size: 0.92rem; color: var(--muted); }

/* Ablauf */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.steps li { position: relative; padding-top: 58px; }
.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute; top: 0; left: 0;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--ink); color: var(--signal);
  font-family: var(--font-display); font-weight: 800;
  display: grid; place-items: center;
}
.steps li::after { content: ""; position: absolute; top: 20px; left: 52px; right: -8px; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px); }
.steps li:last-child::after { display: none; }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--muted); }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li::after { display: none; }
}
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Projekte */
.projects { background: var(--white); border-block: 1px solid var(--line); }
.project-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.project {
  border: 2px dashed var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: grid;
  gap: 10px;
  align-content: start;
}
.project .status { font-family: var(--font-mono); font-size: 0.8rem; color: var(--muted); }
.project p { color: var(--muted); }
@media (max-width: 760px) { .project-grid { grid-template-columns: 1fr; } }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 50rem; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 18px 22px; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-display); font-size: 1.4rem; line-height: 1; color: var(--signal-dark); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 10px; color: var(--muted); }

/* Kontakt */
.contact { background: var(--ink); color: var(--on-dark); }
.contact .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.contact .wrap > * { min-width: 0; }
.contact h2 { color: var(--white); }
.contact .tag { color: var(--on-dark-muted); }
.contact p { color: var(--on-dark-muted); font-size: 1.1rem; margin-top: 16px; }
.contact-card { background: var(--ink-2); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius); padding: 28px; display: grid; gap: 18px; }
.contact-card .label { font-family: var(--font-mono); font-size: 0.78rem; color: var(--on-dark-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.contact-card .value { font-size: 1.2rem; color: var(--white); word-break: break-word; }
.contact-card .value a { text-decoration: none; border-bottom: 2px solid var(--signal); }
@media (max-width: 860px) { .contact .wrap { grid-template-columns: 1fr; } }

/* Fußzeile */
.site-footer { background: var(--ink); color: var(--on-dark-muted); border-top: 1px solid rgba(255,255,255,0.08); font-size: 0.92rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-block: 28px; }
.site-footer nav { display: flex; gap: 22px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--white); }

/* ---------- Rechtstexte (Impressum, Datenschutz) ---------- */
.legal { padding-block: 64px 96px; }
.legal .wrap { max-width: 780px; }
.legal h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 32px; }
.legal h2 { font-size: 1.35rem; margin: 36px 0 10px; letter-spacing: -0.01em; }
.legal h3 { font-size: 1.08rem; margin: 22px 0 6px; }
.legal p, .legal li { color: #2B3238; }
.legal p + p { margin-top: 10px; }
.legal ul { padding-left: 1.2em; }
.legal address { font-style: normal; }

/* =========================================================
   3D-Showcase: Handy dreht sich beim Scrollen
   (reines CSS-3D + ein kleines Skript, keine Bibliothek,
   läuft dadurch auch auf älteren Handys flüssig)
   ========================================================= */
.showcase {
  position: relative;
  height: 330vh;               /* so lange "klebt" der Bereich beim Scrollen */
  padding: 0;
  background:
    radial-gradient(60% 55% at 28% 50%, rgba(255,197,49,0.28), transparent 70%),
    var(--paper);
}
.showcase-sticky {
  position: sticky;
  top: 64px;
  height: calc(100vh - 64px);
  height: calc(100svh - 64px);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.showcase-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; width: 100%; }
.showcase-grid > * { min-width: 0; }

.stage {
  --s: 1;                      /* Größe des Handys */
  position: relative;
  height: 600px;
  perspective: 1400px;
  display: grid;
  place-items: center;
  cursor: grab;
  touch-action: pan-y;         /* senkrecht scrollen bleibt auf dem Handy möglich */
  user-select: none;
  -webkit-user-select: none;
}
.stage.dragging { cursor: grabbing; }

.phone {
  --w: 250px; --h: 510px; --d: 18px;
  position: absolute;
  top: 50%; left: 50%;
  margin-top: calc(var(--h) / -2);
  margin-left: calc(var(--w) / -2);
  width: var(--w);
  height: var(--h);
  transform-style: preserve-3d;
  transform: scale(var(--s)) rotateX(8deg) rotateY(-22deg);
  will-change: transform;
}
.face { position: absolute; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.front, .back { inset: 0; border-radius: 38px; }
.front {
  transform: translateZ(calc(var(--d) / 2));
  background: #0B0E11;
  padding: 12px;
  box-shadow: inset 0 0 0 2px #2A323B;
}
.back {
  transform: rotateY(180deg) translateZ(calc(var(--d) / 2));
  background:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(160deg, #222A33, #101418);
  background-size: 20px 20px, 20px 20px, auto;
  box-shadow: inset 0 0 0 2px #2A323B;
  display: grid; place-content: center; justify-items: center; gap: 12px;
  color: var(--on-dark); font-family: var(--font-display); font-weight: 800; font-size: 1.3rem;
}
.back svg { width: 64px; height: 64px; }
.side { width: var(--d); height: calc(var(--h) - 56px); top: 28px; left: calc(50% - var(--d) / 2); background: linear-gradient(90deg, #2A323B, #3A444F, #2A323B); }
.side.left  { transform: rotateY(-90deg) translateZ(calc(var(--w) / 2 - 1px)); }
.side.right { transform: rotateY(90deg)  translateZ(calc(var(--w) / 2 - 1px)); }
.cap { height: var(--d); width: calc(var(--w) - 56px); left: 28px; top: calc(50% - var(--d) / 2); background: #2A323B; }
.cap.top    { transform: rotateX(90deg)  translateZ(calc(var(--h) / 2 - 1px)); }
.cap.bottom { transform: rotateX(-90deg) translateZ(calc(var(--h) / 2 - 1px)); }

.notch { position: absolute; top: 20px; left: 50%; width: 84px; height: 22px; margin-left: -42px; background: #0B0E11; border-radius: 999px; z-index: 3; }
.floor-shadow {
  position: absolute; bottom: 10px; left: 50%; width: 260px; height: 36px; margin-left: -130px;
  background: radial-gradient(closest-side, rgba(16,20,24,0.35), transparent);
  transform: scale(var(--s));
}
.drag-hint { position: absolute; bottom: -6px; left: 0; right: 0; text-align: center; font-family: var(--font-mono); font-size: 0.75rem; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }

/* Bildschirm-Inhalte */
.screen {
  position: absolute; inset: 12px; border-radius: 28px; overflow: hidden;
  background: #FFFFFF; color: #101418; font-size: 13px; line-height: 1.4;
  padding: 52px 16px 16px;
  display: flex; flex-direction: column; gap: 12px;
  opacity: 0; transition: opacity .25s ease;
}
.screen.is-active { opacity: 1; }
.m-top { display: flex; justify-content: space-between; align-items: center; }
.m-logo { font-family: var(--font-display); font-weight: 800; font-size: 15px; }
.m-burger { width: 20px; height: 12px; border-block: 2px solid #101418; position: relative; }
.m-burger::after { content: ""; position: absolute; left: 0; right: 0; top: 3px; border-top: 2px solid #101418; }
.m-hero { background: #2F4858; color: #fff; border-radius: 16px; padding: 18px 14px; display: grid; gap: 8px; }
.m-hero small { font-size: 9.5px; letter-spacing: .08em; opacity: .75; }
.m-hero strong { font-family: var(--font-display); font-size: 21px; line-height: 1.1; }
.m-btns { display: flex; gap: 8px; margin-top: 4px; }
.m-btn { padding: 7px 12px; border-radius: 999px; border: 1.5px solid #fff; font-weight: 600; font-size: 12px; }
.m-btn.y { background: var(--signal); border-color: var(--signal); color: #101418; }
.m-list { display: grid; gap: 0; }
.m-list div { display: flex; justify-content: space-between; padding: 9px 2px; border-bottom: 1px solid #E5E7E3; }
.m-list span { color: #59626B; font-variant-numeric: tabular-nums; }
.m-hours { margin-top: auto; background: #EEF6EC; color: #1E5B2A; border-radius: 12px; padding: 10px 12px; display: flex; justify-content: space-between; }

.c-head { display: flex; gap: 10px; align-items: center; padding-bottom: 10px; border-bottom: 1px solid #E5E7E3; }
.c-dot { width: 34px; height: 34px; border-radius: 50%; background: var(--signal); box-shadow: inset 0 0 0 9px #101418; }
.c-head b { display: block; }
.c-head small { color: #2E8B45; }
.c-body { display: grid; gap: 8px; align-content: start; }
.b { margin: 0; padding: 8px 11px; border-radius: 14px; max-width: 86%; }
.b.u { justify-self: end; background: #101418; color: #fff; border-bottom-right-radius: 4px; }
.b.a { background: #F1F2EE; border-bottom-left-radius: 4px; }
.c-input { margin-top: auto; border: 1px solid #E5E7E3; border-radius: 999px; padding: 9px 14px; color: #9AA4AE; }

.a-head { display: grid; gap: 2px; }
.a-head small { font-family: var(--font-mono); font-size: 10px; color: #59626B; }
.a-head b { font-family: var(--font-display); font-size: 20px; }
.a-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.a-list li { padding: 10px 12px 10px 38px; border: 1px solid #E5E7E3; border-radius: 12px; position: relative; }
.a-list li::before { content: ""; position: absolute; left: 12px; top: 50%; width: 16px; height: 16px; margin-top: -8px; border-radius: 5px; border: 2px solid #C5CAC2; }
.a-list li.ok::before { background: var(--signal); border-color: var(--signal); }
.a-list li.ok::after { content: ""; position: absolute; left: 17px; top: 50%; width: 5px; height: 9px; margin-top: -6px; border: solid #101418; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.a-sign { border: 1.5px dashed #C5CAC2; border-radius: 12px; height: 70px; display: grid; place-items: end center; padding-bottom: 8px; color: #9AA4AE; font-size: 11px; }
.a-btn { margin-top: auto; background: #101418; color: #fff; text-align: center; padding: 11px; border-radius: 999px; font-weight: 600; }

/* Texte rechts */
.captions { display: grid; gap: 22px; }
.caption-stack { display: grid; }
.caption {
  grid-area: 1 / 1;
  display: grid; gap: 14px; align-content: start;
  opacity: 0; transform: translateY(18px);
  transition: opacity .45s ease, transform .45s ease;
  pointer-events: none;
}
.caption.is-active { opacity: 1; transform: none; pointer-events: auto; }
.caption p { color: var(--muted); font-size: 1.1rem; max-width: 30em; }
.step-no { font-family: var(--font-mono); font-size: 0.8rem; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.progress { height: 4px; background: var(--line); border-radius: 999px; overflow: hidden; max-width: 320px; }
.progress span { display: block; height: 100%; width: 0; background: var(--ink); border-radius: inherit; }

@media (max-width: 860px) {
  .showcase { height: 300vh; }
  .showcase-grid { grid-template-columns: 1fr; gap: 8px; }
  .stage { --s: 0.6; height: 380px; }
  .captions .tag { display: none; }
  .floor-shadow { bottom: 0; }
  .drag-hint { display: none; }
  .captions { gap: 12px; }
  .caption h2 { font-size: 1.6rem; }
  .caption p { font-size: 1rem; }
}
@media (max-width: 860px) and (max-height: 700px) {
  .stage { --s: 0.48; height: 300px; }
}
@media (prefers-reduced-motion: reduce) {
  .caption, .screen { transition: none; }
}
