/* ferro design – Entwurf
   Anlauffarben: die Farben, die Stahl beim Erhitzen annimmt.
   Strohgelb, Gold, Bronze, Violett, Blau. Das ist die Farbe der Marke. */
@property --b1x { syntax: "<percentage>"; inherits: false; initial-value: 88%; }
@property --b1y { syntax: "<percentage>"; inherits: false; initial-value: 10%; }
@property --b2x { syntax: "<percentage>"; inherits: false; initial-value: 74%; }
@property --b2y { syntax: "<percentage>"; inherits: false; initial-value: 46%; }
@property --b3x { syntax: "<percentage>"; inherits: false; initial-value: 30%; }

:root {
  --stroh: #F0D79A;
  --gold: #E2B468;
  --bronze: #C4814F;
  --violett: #7C4C93;
  --blau: #3D5DB8;
  --eis: #A9C0DD;

  --graphit: #1E2022;
  --stahl: #D5D8D7;
  --stahl-hell: #E7E9E8;
  --schwarz: #000;
  --blitz: #FFFDF8;

  --anlauf: linear-gradient(100deg, var(--stroh) 0%, var(--gold) 20%, var(--bronze) 40%, var(--violett) 62%, var(--blau) 82%, var(--eis) 100%);
  --anlauf-hell: linear-gradient(90deg, #F3DFA9 0%, #E9C487 30%, #DDB3C4 65%, #BCCDE8 100%);

  --display: "Barlow Condensed", "DIN Condensed", "Arial Narrow", sans-serif;
  --text: "Barlow", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --step-0: clamp(1.02rem, .98rem + .2vw, 1.15rem);
  --step-1: clamp(1.25rem, 1.1rem + .6vw, 1.6rem);
  --step-2: clamp(1.7rem, 1.3rem + 1.6vw, 2.7rem);
  --step-3: clamp(2.4rem, 1.6rem + 3.4vw, 4.6rem);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--graphit);
  color: var(--graphit);
  font: 400 var(--step-0)/1.55 var(--text);
  font-feature-settings: "tnum" 1, "lnum" 1;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, figure, blockquote, dl, dd, ol, ul { margin: 0; padding: 0; }
ol, ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 3px solid var(--blitz); outline-offset: 3px; box-shadow: 0 0 0 6px var(--graphit); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 300; background: var(--blitz); padding: 8px 12px; }
.skip:focus { left: 8px; }

/* ---------- Anlauf-Fläche ---------- */
.anlauf {
  position: relative; isolation: isolate;
  background:
    radial-gradient(55% 70% at var(--b1x) var(--b1y), var(--blau) 0%, rgba(61,93,184,0) 70%),
    radial-gradient(45% 60% at var(--b2x) var(--b2y), var(--violett) 0%, rgba(124,76,147,0) 72%),
    radial-gradient(70% 80% at var(--b3x) 92%, var(--bronze) 0%, rgba(196,129,79,0) 70%),
    linear-gradient(160deg, var(--stroh) 0%, var(--gold) 48%, var(--bronze) 100%);
  animation: drift 16s ease-in-out infinite alternate;
}
.anlauf::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .18; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@keyframes drift {
  to { --b1x: 76%; --b1y: 24%; --b2x: 84%; --b2y: 62%; --b3x: 52%; }
}

/* ---------- Leiste ---------- */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 120;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px var(--gutter);
  color: var(--graphit);
  transition: color .3s, background-color .3s;
}
.bar[data-tone="dark"] { color: var(--stahl); }
.bar.is-solid { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.bar.is-solid[data-tone="anlauf"] { background: rgba(240, 215, 154, .55); }
.bar.is-solid[data-tone="light"] { background: color-mix(in srgb, var(--stahl-hell) 86%, transparent); }
.bar.is-solid[data-tone="dark"] { background: rgba(0, 0, 0, .66); }
body.menu-open .bar { color: var(--stahl); background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.bar-logo { font: 700 1.3rem/1 var(--display); letter-spacing: .01em; text-decoration: none; position: relative; z-index: 2; }
.bar-right { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); position: relative; z-index: 2; }
.bar-mail { font: 600 1.05rem/1 var(--display); letter-spacing: .02em; text-decoration: none; }
.bar-mail:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 700px) { .bar-mail { display: none; } }
.menu-btn {
  display: inline-flex; align-items: center; gap: 12px;
  font: 700 1.15rem/1 var(--display); letter-spacing: .02em;
  padding: 10px 16px; border: 2px solid currentColor;
}
.menu-btn-lines { width: 22px; height: 10px; position: relative; }
.menu-btn-lines::before, .menu-btn-lines::after {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; transition: transform .45s var(--ease), top .45s var(--ease);
}
.menu-btn-lines::before { top: 0; }
.menu-btn-lines::after { top: 8px; }
body.menu-open .menu-btn-lines::before { top: 4px; transform: rotate(45deg); }
body.menu-open .menu-btn-lines::after { top: 4px; transform: rotate(-45deg); }

/* ---------- Grosses Menü ---------- */
.menu {
  position: fixed; inset: 0; z-index: 110;
  background: var(--schwarz); color: var(--stahl);
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: var(--gutter);
  padding: 110px var(--gutter) 32px;
  clip-path: circle(0px at var(--ox, 95%) var(--oy, 32px));
  visibility: hidden;
}
.menu.is-open { visibility: visible; }
.menu-list { align-self: center; }
.menu-list li { overflow: hidden; padding-bottom: .1em; margin-bottom: -.06em; }
.menu-link {
  display: flex; align-items: baseline; gap: 18px; text-decoration: none;
  padding: .02em 0;
}
.menu-word {
  font: 800 clamp(3.6rem, 10.5vw, 10.5rem)/.9 var(--display); letter-spacing: -.03em;
  color: var(--stahl);
  background: var(--anlauf); background-size: 220% 100%; background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text;
  transition: color .35s, background-position .9s var(--ease), transform .5s var(--ease);
}
.menu-note { font: 500 1.05rem/1.2 var(--display); color: #7d8284; letter-spacing: .02em; transition: color .3s; }
.menu-link:hover .menu-word, .menu-link:focus-visible .menu-word { color: transparent; background-position: 0 0; transform: translateX(.08em); }
.menu-link:hover .menu-note { color: var(--stahl); }
.menu-link[aria-current="page"] .menu-word { color: transparent; background-position: 30% 0; }
.menu-preview { position: relative; align-self: center; aspect-ratio: 4 / 5; max-height: 68svh; overflow: hidden; }
.menu-preview > * { position: absolute; inset: 0; opacity: 0; transition: opacity .45s, transform .9s var(--ease); transform: scale(1.08); }
.menu-preview > .is-on { opacity: 1; transform: scale(1); }
.menu-preview img { width: 100%; height: 100%; object-fit: cover; }
.pv-print { background: repeating-linear-gradient(to bottom, rgba(0,0,0,.28) 0 3px, transparent 3px 7px), var(--anlauf); }
.pv-mail { display: grid; place-items: center; }
.pv-mail span { font: 800 clamp(3rem, 7vw, 7rem)/.85 var(--display); color: var(--graphit); letter-spacing: -.03em; }
.menu-foot { grid-column: 1 / -1; align-self: end; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font: 600 1.05rem/1.2 var(--display); color: #7d8284; letter-spacing: .02em; }
.menu-foot a { color: var(--stahl); text-decoration: none; }
@media (max-width: 860px) {
  .menu { grid-template-columns: 1fr; padding-top: 96px; }
  .menu-preview { display: none; }
  .menu-note { display: none; }
}

/* ---------- Seitenwechsel ---------- */
.curtain {
  position: fixed; inset: 0; z-index: 200; pointer-events: none;
  background: var(--anlauf); background-size: 100% 100%;
  transform: scaleY(0); transform-origin: bottom;
}
html.from-nav .curtain { transform: scaleY(1); transform-origin: top; }

/* ---------- Seitenkopf ---------- */
.page-head { padding: clamp(130px, 18vw, 230px) var(--gutter) clamp(56px, 8vw, 110px); }
.page-head h1 { font: 800 clamp(4rem, 15vw, 16rem)/.82 var(--display); letter-spacing: -.035em; }
.page-head p { margin-top: clamp(24px, 3vw, 40px); max-width: 44ch; font: 500 var(--step-1)/1.35 var(--text); }
.page-head.is-dark { background: var(--schwarz); color: var(--stahl); }
.page-head.is-dark h1 { color: var(--blitz); }
.page-head.is-dark p { color: #a4a9aa; }
.page-head.is-light { background: var(--stahl); }
.page-head.is-graphit { background: var(--graphit); color: var(--stahl); }
.h-line { display: block; overflow: hidden; padding-bottom: .16em; margin-bottom: -.11em; }
.h-line > span { display: block; }

/* ---------- Hero (Start) ---------- */
.hero {
  min-height: 100svh; overflow: hidden;
  display: grid; grid-template-rows: 1fr auto; align-items: end;
  padding: 96px var(--gutter) clamp(24px, 4vw, 48px);
  cursor: grab;
}
.hero:active { cursor: grabbing; }
#print { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; }
.hero-flash { position: absolute; inset: 0; background: var(--blitz); opacity: 0; pointer-events: none; z-index: 3; }
.wordmark {
  position: relative; z-index: 2; pointer-events: none;
  font: 800 clamp(6rem, 21vw, 23rem)/.74 var(--display);
  letter-spacing: -.035em; text-transform: lowercase;
  color: var(--graphit);
  margin-left: -.04em;
}
.wm-line { display: block; overflow: hidden; padding-bottom: .18em; margin-bottom: -.12em; }
.wm-line > span { display: block; }
.wm-line:nth-child(2) { margin-left: .42em; }
.hero-lede {
  position: relative; z-index: 2; max-width: 30ch; margin-top: clamp(18px, 2.5vw, 32px);
  font: 500 var(--step-1)/1.3 var(--text); pointer-events: none;
}
.hud {
  position: absolute; z-index: 2; right: var(--gutter); bottom: clamp(24px, 4vw, 48px);
  display: grid; gap: 2px; text-align: right;
  font: 600 1rem/1.2 var(--display); letter-spacing: .02em; pointer-events: none; color: var(--blitz);
}
.hud-state { font-weight: 700; }
@media (max-width: 860px) {
  .hud { top: 84px; bottom: auto; color: var(--graphit); }
  .hero-lede { max-width: 22ch; }
}

/* ---------- Gedanke ---------- */
.manifest { background: var(--stahl); padding: clamp(96px, 14vw, 200px) var(--gutter); }
.manifest blockquote { margin: 0; }
.manifest-text { max-width: 17ch; font: 700 var(--step-3)/1.02 var(--display); letter-spacing: -.01em; }
.manifest-text .w { opacity: .13; }
.manifest footer { margin-top: 28px; font: 600 var(--step-1)/1 var(--display); }
@media (min-width: 900px) { .manifest blockquote { margin-left: 33%; } }

/* ---------- Horizontale Strecken ---------- */
.hs { position: relative; overflow: hidden; }
.hs-inner { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 100px 0 40px; }
.hs-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; padding: 0 var(--gutter); margin-bottom: clamp(24px, 3vw, 40px); }
.hs-head h2 { font: 800 clamp(2.6rem, 6vw, 6rem)/.88 var(--display); letter-spacing: -.02em; }
.hs-progress { width: min(260px, 30vw); height: 3px; background: rgba(127,127,127,.3); position: relative; flex: none; margin-bottom: .6em; }
.hs-progress i { position: absolute; inset: 0; background: var(--anlauf); transform-origin: left; transform: scaleX(0); }
.hs-track { display: flex; gap: clamp(16px, 2vw, 28px); padding: 0 var(--gutter); width: max-content; will-change: transform; }
@media (max-width: 899px), (prefers-reduced-motion: reduce) {
  .hs-inner { min-height: 0; padding: 80px 0 56px; }
  .hs-viewport { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .hs-viewport::-webkit-scrollbar { display: none; }
  .hs-track > * { scroll-snap-align: start; scroll-margin-left: var(--gutter); }
  .hs-progress { display: none; }
}

.hs.is-dark { background: var(--schwarz); color: var(--stahl); }
.hs.is-dark .hs-head h2 { color: var(--blitz); }
.hs.is-graphit { background: var(--graphit); color: var(--stahl); }
.hs.is-light { background: var(--stahl-hell); }

/* Arbeitskarten */
.card {
  flex: none; width: clamp(260px, 31vw, 520px); text-decoration: none;
  display: grid; grid-template-rows: auto auto; gap: 16px;
  transform-origin: center;
}
.card-img {
  position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 5; background: #0b0b0b;
}
.card-img img {
  position: absolute; top: 50%; left: 50%; width: 82%; height: 82%; object-fit: contain;
  translate: -50% -50%;
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000 45%, transparent 100%);
          mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000 45%, transparent 100%);
  transition: scale .8s var(--ease);
}
.card-img::after {
  content: ""; position: absolute; inset: 0; background: var(--anlauf); mix-blend-mode: color; opacity: 0; transition: opacity .5s;
}
.card:hover .card-img img { scale: 1.06; }
.card:hover .card-img::after { opacity: .35; }
.card-meta { display: grid; gap: 4px; }
.card-meta b { font: 800 clamp(2rem, 3.6vw, 3.4rem)/.9 var(--display); letter-spacing: -.015em; }
.card-meta span { font: 500 1.05rem/1.3 var(--display); letter-spacing: .02em; opacity: .7; }
.card.is-light-img .card-img { background: #fff; }
.card.is-light-img .card-img img { -webkit-mask-image: none; mask-image: none; }

.card-end {
  flex: none; width: clamp(260px, 31vw, 520px); aspect-ratio: 4 / 5; text-decoration: none;
  display: grid; align-content: end; padding: 28px; color: var(--graphit);
}
.card-end b { font: 800 clamp(2.6rem, 5vw, 5rem)/.88 var(--display); letter-spacing: -.02em; }
.card-end span { margin-top: 12px; font: 600 1.1rem/1.2 var(--display); }

.cat-card {
  flex: none; width: clamp(140px, 13vw, 220px); display: grid; align-items: end; justify-items: start;
  border-left: 2px solid currentColor; padding-left: 16px;
}
.cat-card b {
  font: 800 clamp(3rem, 6vw, 6.4rem)/.8 var(--display); letter-spacing: -.02em;
  writing-mode: vertical-rl; transform: rotate(180deg);
  background: var(--anlauf); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Prozessschritte */
.step {
  flex: none; width: clamp(280px, 34vw, 560px); min-height: 56svh;
  display: grid; grid-template-rows: 1fr auto; gap: 20px;
  border-top: 2px solid #45494b; padding-top: 22px;
}
.step-n {
  font: 800 clamp(8rem, 20vw, 20rem)/.78 var(--display); letter-spacing: -.04em;
  background: var(--anlauf); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
}
.step:nth-child(2) .step-n { background-position: 25% 0; }
.step:nth-child(3) .step-n { background-position: 50% 0; }
.step:nth-child(4) .step-n { background-position: 75% 0; }
.step:nth-child(5) .step-n { background-position: 100% 0; }
.step h3 { font: 700 var(--step-2)/1 var(--display); color: var(--blitz); }
.step p { margin-top: 10px; max-width: 34ch; color: #a4a9aa; }

/* ---------- Studio (Industrie) ---------- */
.studio { background: var(--schwarz); color: var(--stahl); }
.studio-pin {
  position: relative; min-height: 100svh;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  grid-template-rows: 1fr auto; gap: 0 var(--gutter);
  padding: 110px var(--gutter) 32px;
}
.studio-head { align-self: start; max-width: 30ch; position: relative; z-index: 3; }
.studio-head h2 { font: 700 var(--step-3)/.95 var(--display); letter-spacing: -.01em; color: var(--blitz); }
.studio-head p { margin-top: 18px; color: #9da2a3; }
.studio-links { display: flex; gap: 10px; flex-wrap: wrap; }
.studio-links a { font: 700 1.1rem/1 var(--display); letter-spacing: .02em; color: var(--stahl); text-decoration: none; padding: 10px 14px; border: 2px solid #3a3d3f; transition: border-color .25s, color .25s; }
.studio-links a:hover { border-color: var(--gold); color: var(--blitz); }
.studio-stage { position: relative; grid-row: 1 / span 2; grid-column: 2; min-height: 70svh; }
.studio-name {
  position: absolute; inset: 0; display: grid; place-items: center; z-index: 0;
  font: 800 clamp(5rem, 17vw, 17rem)/.8 var(--display); letter-spacing: -.03em;
  color: #1a1a1a; white-space: nowrap; overflow: hidden; pointer-events: none;
}
.shots { position: absolute; inset: 0; z-index: 1; }
.shot { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 22px; opacity: 0; visibility: hidden; }
.shot.is-on { opacity: 1; visibility: visible; }
.shot img {
  width: auto; max-width: min(78%, 440px); max-height: 56svh;
  -webkit-mask-image: radial-gradient(ellipse 58% 58% at 50% 50%, #000 42%, transparent 100%);
          mask-image: radial-gradient(ellipse 58% 58% at 50% 50%, #000 42%, transparent 100%);
}
.shot figcaption { font: 500 1.1rem/1.3 var(--display); letter-spacing: .02em; text-align: center; color: #b9bdbe; }
.shot figcaption b { font-weight: 700; color: var(--blitz); font-size: 1.35em; margin-right: .35em; }
.shot figcaption span { display: block; color: #6f7476; font-size: .92em; }
.flash { position: absolute; inset: -10%; z-index: 2; pointer-events: none; opacity: 0;
  background: radial-gradient(circle at 50% 45%, var(--blitz) 0%, rgba(255,253,248,.85) 30%, rgba(255,253,248,0) 70%); }
.charge {
  grid-column: 1; align-self: end; position: relative; z-index: 3;
  display: grid; grid-template-columns: auto auto 1fr auto; align-items: center; gap: 12px;
  font: 600 1rem/1 var(--display); letter-spacing: .03em; color: #8d9294; max-width: 380px;
}
.charge-lamp { width: 12px; height: 12px; border-radius: 50%; background: #2a2c2d; transition: background .15s, box-shadow .15s; }
.charge.is-ready .charge-lamp { background: var(--eis); box-shadow: 0 0 14px var(--blau), 0 0 4px var(--eis); }
.charge.is-ready .charge-label { color: var(--blitz); }
.charge-bar { height: 3px; background: #222; position: relative; overflow: hidden; }
.charge-bar i { position: absolute; inset: 0; background: var(--anlauf); transform-origin: left; transform: scaleX(0); }
.charge-count b { color: var(--blitz); }
@media (max-width: 899px) {
  .studio-pin { display: block; padding-top: 40px; padding-bottom: 64px; }
  .studio-stage { min-height: 0; }
  .studio-name, .charge { display: none; }
  .shots { position: static; display: grid; gap: 56px; margin-top: 48px; }
  .shot { position: relative; opacity: 1; visibility: visible; }
  .flash { display: none; }
  .shot .shot-flash { position: absolute; inset: -20px; pointer-events: none; opacity: 0;
    background: radial-gradient(circle, var(--blitz) 0%, rgba(255,253,248,0) 65%); }
}
.clients { background: var(--schwarz); color: #8d9294; padding: 0 var(--gutter) clamp(80px, 10vw, 140px); }
.clients p { max-width: 60ch; font: 500 var(--step-1)/1.35 var(--text); }
.clients b { color: var(--stahl); font-weight: 600; }

/* ---------- Stückliste ---------- */
.parts {
  position: relative; background: var(--stahl-hell);
  padding: clamp(88px, 12vw, 160px) var(--gutter) clamp(140px, 14vw, 200px);
  background-image:
    linear-gradient(rgba(30,32,34,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30,32,34,.07) 1px, transparent 1px);
  background-size: 24px 24px;
}
.parts-head { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: var(--gutter); align-items: end; margin-bottom: clamp(40px, 6vw, 80px); }
.parts-head h2 { font: 800 clamp(3.4rem, 9vw, 9rem)/.85 var(--display); letter-spacing: -.025em; }
.parts-head p { max-width: 42ch; }
.bom { width: 100%; border-collapse: collapse; border: 2px solid var(--graphit); background: var(--stahl-hell); }
.bom th, .bom td { text-align: left; vertical-align: top; padding: 18px 20px; border: 1px solid var(--graphit); }
.bom thead th { font: 600 1rem/1 var(--display); letter-spacing: .03em; padding: 12px 20px; border-bottom-width: 2px; }
.bom tbody td:first-child { width: 4.5rem; font: 700 1.6rem/1 var(--display); }
.bom tbody th { width: 30%; font: 700 var(--step-2)/1 var(--display); letter-spacing: -.005em; }
.bom tbody tr { transition: background-color .25s; }
.bom tbody tr:hover { background: var(--anlauf-hell); }
.titleblock {
  position: absolute; right: var(--gutter); bottom: 40px;
  display: grid; grid-template-columns: repeat(3, auto) 1fr; border: 2px solid var(--graphit);
  font: 500 .9rem/1.2 var(--display); background: var(--stahl-hell); min-width: min(520px, calc(100% - 2*var(--gutter)));
}
.titleblock > div { padding: 6px 12px; border-right: 1px solid var(--graphit); }
.titleblock > div:last-child { border-right: 0; }
.titleblock dt { color: #5d6264; font-size: .8rem; }
.titleblock dd { font-weight: 700; font-size: 1.05rem; }
@media (max-width: 760px) {
  .parts-head { grid-template-columns: 1fr; }
  .bom thead { display: none; }
  .bom, .bom tbody, .bom tr, .bom th, .bom td { display: block; width: auto !important; }
  .bom tr { border-bottom: 1px solid var(--graphit); padding: 16px; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; }
  .bom tr:last-child { border-bottom: 0; }
  .bom th, .bom td { border: 0; padding: 0; }
  .bom tbody td:last-child { grid-column: 2; }
  .titleblock { grid-template-columns: 1fr 1fr; left: var(--gutter); right: var(--gutter); min-width: 0; }
  .titleblock > div:nth-child(2) { border-right: 0; }
  .titleblock > div:nth-child(-n+2) { border-bottom: 1px solid var(--graphit); }
}

/* ---------- 3D-Druck ---------- */
.druck { background: var(--graphit); color: var(--stahl); padding: clamp(130px, 16vw, 200px) var(--gutter) clamp(80px, 10vw, 140px); overflow: hidden; }
.druck-type { position: relative; line-height: .8; margin-left: -.04em; --p: 0; }
.druck-word {
  display: inline-block;
  font: 800 clamp(5rem, 22vw, 24rem)/.8 var(--display); letter-spacing: -.035em;
  color: transparent;
  background:
    repeating-linear-gradient(to bottom, transparent 0 5px, rgba(30,32,34,.55) 5px 6px),
    var(--anlauf);
  -webkit-background-clip: text; background-clip: text;
  clip-path: inset(calc((1 - var(--p)) * 100%) 0 0 0);
  padding-bottom: .04em;
}
.druck-nozzle {
  position: absolute; left: 0; height: 3px; width: 18%;
  bottom: calc(var(--p) * 100%);
  background: linear-gradient(90deg, transparent, var(--gold) 30%, #fff8e6 50%, var(--gold) 70%, transparent);
  box-shadow: 0 0 18px var(--gold);
  opacity: calc(1 - var(--done, 0));
  translate: calc(var(--x, 0) * 1%) 0;
}
.druck-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px var(--gutter); margin-top: clamp(40px, 6vw, 80px); }
.druck-lede { font: 700 var(--step-2)/1.05 var(--display); color: var(--blitz); max-width: 18ch; grid-row: span 2; }
.druck-body > p:not(.druck-lede) { max-width: 52ch; color: #b8bcbd; }
.druck-list { display: grid; border-top: 1px solid #45494b; }
.druck-list > div { display: grid; grid-template-columns: minmax(0, 15ch) 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid #45494b; }
.druck-list dt { font: 700 1.2rem/1.2 var(--display); color: var(--blitz); }
.druck-list dd { color: #9da2a3; }
@media (max-width: 760px) {
  .druck-body { grid-template-columns: 1fr; }
  .druck-lede { grid-row: auto; }
  .druck-list > div { grid-template-columns: 1fr; gap: 4px; }
}

/* ---------- Objekte: Verzeichnis ---------- */
.objects { position: relative; background: var(--stahl); padding: clamp(88px, 12vw, 160px) var(--gutter); }
.objects-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px var(--gutter); align-items: end; margin-bottom: 40px; }
.objects-head h2 { font: 800 clamp(3.4rem, 9vw, 9rem)/.85 var(--display); letter-spacing: -.025em; }
.objects-head p { max-width: 40ch; }
.filters { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { font: 600 1.05rem/1 var(--display); letter-spacing: .02em; padding: 10px 16px; border: 2px solid var(--graphit); transition: background-color .2s, color .2s; }
.filters button:hover { background: rgba(30,32,34,.08); }
.filters button.is-on { background: var(--graphit); color: var(--stahl); }
.index { border-top: 2px solid var(--graphit); }
.index li { border-bottom: 1px solid rgba(30,32,34,.35); }
.index li[hidden] { display: none; }
.index button {
  width: 100%; text-align: left;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr) minmax(0, .9fr); gap: 16px; align-items: baseline;
  padding: 14px 0; transition: padding-left .35s var(--ease);
}
.ix-name { font: 700 clamp(1.7rem, 3.4vw, 3.2rem)/1 var(--display); letter-spacing: -.01em; }
.ix-kind { color: #3c4042; }
.ix-dim { font: 600 1.05rem/1 var(--display); text-align: right; letter-spacing: .02em; }
.ix-detail { display: none; }
@media (hover: hover) and (pointer: fine) {
  .index button:hover { padding-left: 18px; background: var(--anlauf-hell); }
}
.peek { position: fixed; left: 0; top: 0; z-index: 40; pointer-events: none; width: 300px; opacity: 0; scale: .85; box-shadow: 0 30px 60px -20px rgba(0,0,0,.45); }
.peek img { width: 100%; }
@media (max-width: 760px) {
  .objects-head { grid-template-columns: 1fr; }
  .index button { grid-template-columns: 1fr auto; }
  .ix-kind { grid-column: 1 / -1; grid-row: 2; font-size: .95rem; }
  .ix-dim { font-size: .95rem; }
  .ix-detail { display: block; padding: 0 0 18px; }
  .ix-detail img { max-height: 60svh; width: auto; margin: 0 auto; }
  .peek { display: none; }
}

/* ---------- Atelier ---------- */
.about {
  background: var(--graphit); color: var(--stahl);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gutter); align-items: center;
  padding: clamp(120px, 14vw, 180px) var(--gutter) clamp(80px, 10vw, 140px);
}
.about-photo { position: relative; overflow: hidden; aspect-ratio: 912 / 934; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-text h1 { font: 800 clamp(3.6rem, 9vw, 9rem)/.84 var(--display); letter-spacing: -.025em; color: var(--blitz); }
.about-lede { margin-top: 26px; font: 500 var(--step-1)/1.35 var(--text); color: var(--stahl); max-width: 32ch; }
.about-text p + p { margin-top: 18px; max-width: 46ch; color: #9da2a3; }
@media (max-width: 760px) { .about { grid-template-columns: 1fr; } }

/* ---------- Kontakt ---------- */
.contact { padding: clamp(100px, 14vw, 200px) var(--gutter) clamp(80px, 10vw, 140px); }
.contact.is-page { min-height: 100svh; display: grid; align-content: end; }
.contact-title { font: 800 clamp(3.2rem, 10vw, 11rem)/.86 var(--display); letter-spacing: -.03em; max-width: 12ch; }
.contact-text { margin-top: 28px; max-width: 36ch; font: 500 var(--step-1)/1.35 var(--text); }
.contact-mail {
  display: inline-block; margin-top: clamp(40px, 6vw, 72px); justify-self: start;
  font: 700 clamp(1.8rem, 5.4vw, 5rem)/1 var(--display); letter-spacing: -.01em;
  text-decoration: none; border-bottom: 4px solid currentColor; padding-bottom: 6px;
  transition: color .2s;
  overflow-wrap: anywhere;
}
.contact-mail:hover { color: var(--blitz); }
.contact-more { margin-top: 18px; font: 600 1.1rem/1.3 var(--display); letter-spacing: .02em; }
.contact-more a { text-decoration: none; border-bottom: 2px solid currentColor; }

/* ---------- Weiter ---------- */
.next {
  display: block; text-decoration: none; background: var(--schwarz); color: var(--stahl);
  padding: clamp(60px, 9vw, 120px) var(--gutter);
  border-top: 1px solid #2a2c2d;
}
.next small { display: block; font: 600 1.1rem/1 var(--display); letter-spacing: .02em; color: #7d8284; margin-bottom: 14px; }
.next b {
  display: inline-block;
  font: 800 clamp(4rem, 14vw, 15rem)/.82 var(--display); letter-spacing: -.035em;
  color: var(--stahl);
  background: var(--anlauf); background-size: 220% 100%; background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text;
  transition: color .4s, background-position 1s var(--ease), transform .6s var(--ease);
}
.next:hover b, .next:focus-visible b { color: transparent; background-position: 0 0; transform: translateX(.06em); }

.foot { background: var(--graphit); color: #8d9294; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 22px var(--gutter); font: 500 1rem/1.3 var(--display); letter-spacing: .02em; }
.foot a { text-decoration: none; margin-left: 18px; }
.foot a:hover { color: var(--stahl); }
.foot-credit { flex-basis: 100%; padding-top: 12px; border-top: 1px solid #34373a; }
.foot-credit a { margin-left: 0; color: transparent; background: var(--anlauf); -webkit-background-clip: text; background-clip: text; font-weight: 700; }
.foot-credit a:hover { color: transparent; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .manifest-text .w { opacity: 1; }
  .druck-type { --p: 1; --done: 1; }
  html.from-nav .curtain { transform: scaleY(0); }
}
