/* =====================================================================
   Butz-Schmidt Dreh- und Frästeile – Stylesheet (helles Industrial-Premium-Design)
   ---------------------------------------------------------------------
   1. Variablen (Farben, Schriften, Abstände, Schatten)  → hier zentral anpassen
   2. Basis
   3. Layout & Sektionen
   4. Komponenten (Buttons, Karten, Tags, Platzhalter …)
   5. Header & Navigation
   6. Footer
   7. Seiten-spezifisch (Hero, Leistungen, Maschinenpark, Über uns, Kontakt, Recht)
   8. Animationen
   9. Responsive
   ===================================================================== */

/* ---------- 1. Variablen ---------- */
:root {
  /* Helle Flächen */
  --bg: #ffffff;
  --bg-2: #f4f5f7;
  --bg-3: #eaecef;
  --surface: #ffffff;
  --line: #e3e6ea;
  --line-strong: #cdd2d8;

  /* Text */
  --text: #15181c;
  --text-2: #4d5560;
  --text-3: #858d96;

  /* Dunkle Kontrastflächen (Hero-Motiv, Stärken, Kontakt-Abschluss, Footer) */
  --dark: #17191d;
  --dark-2: #1f2227;
  --dark-line: #2f343a;
  --on-dark: #eef0f2;
  --on-dark-2: #a8afb7;

  /* Akzent */
  --accent: #e85a0c;
  --accent-hover: #cf4f09;
  --accent-text: #c2480a;
  --accent-soft: rgba(232, 90, 12, 0.08);

  /* Metallische Details */
  --metal: linear-gradient(90deg, #9ea5ac 0%, #e8ebee 28%, #b9c0c6 50%, #f6f7f8 72%, #a3aab1 100%);

  /* Schatten */
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.05), 0 1px 3px rgba(16, 24, 40, 0.05);
  --shadow: 0 2px 6px rgba(16, 24, 40, 0.04), 0 14px 34px -14px rgba(16, 24, 40, 0.16);
  --shadow-lg: 0 4px 12px rgba(16, 24, 40, 0.05), 0 34px 70px -24px rgba(16, 24, 40, 0.32);

  --font-sans: "Segoe UI Variable Display", "Segoe UI", -apple-system, BlinkMacSystemFont, "SF Pro Display",
    "Helvetica Neue", Roboto, Arial, sans-serif;
  --font-mono: ui-monospace, "Cascadia Mono", "SF Mono", "JetBrains Mono", Consolas, "Roboto Mono", monospace;

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-y: clamp(88px, 12vw, 168px);
  --radius: 8px;
  --radius-lg: 16px;
  --header-h: 84px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- 2. Basis ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent-text); }

h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--text);
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 5.8vw, 5rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); }
h3 { font-size: clamp(1.2rem, 1.7vw, 1.4rem); letter-spacing: -0.015em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
strong { font-weight: 650; }

::selection { background: var(--accent); color: #fff; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--accent); color: #fff; padding: 10px 16px; font-weight: 600; border-radius: var(--radius);
}
.skip-link:focus { top: 16px; color: #fff; }

/* ---------- 3. Layout & Sektionen ---------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); position: relative; background: var(--bg); }
.section--alt { background: var(--bg-2); }
.section--tight { padding-block: calc(var(--section-y) * 0.62); }
.section--light { background: var(--bg-2); }

/* Dunkle Kontrast-Sektion */
.section--dark,
.cta { background: var(--dark); color: var(--on-dark); }
.section--dark h2, .section--dark h3,
.cta h2, .cta h3 { color: #fff; }
.section--dark .lead, .section--dark p,
.cta .lead, .cta p { color: var(--on-dark-2); }
.section--dark .eyebrow__num, .cta .eyebrow__num { color: var(--on-dark-2); }
.section--dark .eyebrow, .cta .eyebrow { color: #ff7a33; }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px 72px;
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 84px);
}
.section-head h2 { margin: 0; }
.section-head .lead { margin: 0; }
.section-head--stack { grid-template-columns: minmax(0, 820px); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-text);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}
.eyebrow__num { color: var(--text-3); font-weight: 500; }

.lead {
  font-size: clamp(1.1rem, 1.35vw, 1.22rem);
  line-height: 1.65;
  color: var(--text-2);
  max-width: 60ch;
}

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(36px, 6vw, 96px); }

/* ---------- 4. Komponenten ---------- */

/* Buttons */
.btn {
  --btn-bg: var(--surface);
  --btn-fg: var(--text);
  --btn-bd: var(--line-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 54px;
  padding: 0 26px;
  border: 1px solid var(--btn-bd);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: inherit;
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.005em;
  border-radius: var(--radius);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease),
    transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform 0.3s var(--ease); }
.btn:hover { color: var(--btn-fg); border-color: var(--text-3); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn:hover svg { transform: translateX(4px); }
.btn--primary { --btn-bg: var(--accent); --btn-fg: #fff; --btn-bd: var(--accent); box-shadow: 0 8px 22px -10px rgba(232, 90, 12, 0.7); }
.btn--primary:hover { --btn-bg: var(--accent-hover); border-color: var(--accent-hover); color: #fff; box-shadow: 0 14px 30px -12px rgba(232, 90, 12, 0.75); }
.btn--dark { --btn-bg: var(--dark); --btn-fg: #fff; --btn-bd: var(--dark); }
.btn--dark:hover { --btn-bg: #000; color: #fff; border-color: #000; }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 0.92rem; }
.btn--lg { min-height: 60px; padding: 0 30px; font-size: 1.03rem; }
.cta .btn:not(.btn--primary),
.section--dark .btn:not(.btn--primary) { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: var(--dark-line); box-shadow: none; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.text-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; color: var(--text);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 4px;
  transition: border-color 0.25s, color 0.25s;
}
.text-link svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.text-link:hover { color: var(--accent-text); border-color: var(--accent); }
.text-link:hover svg { transform: translateX(4px); }

/* Tags */
.tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  background: var(--bg-2);
  font-family: var(--font-mono);
  font-size: 0.73rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-2);
  border-radius: 999px;
}
.tag--accent { border-color: rgba(232, 90, 12, 0.3); background: var(--accent-soft); color: var(--accent-text); }
.tag-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }

/* Platzhalter – gut sichtbar, damit nichts vergessen wird */
.ph {
  display: inline-block;
  padding: 1px 8px;
  border: 1px dashed var(--accent);
  background: var(--accent-soft);
  color: var(--accent-text);
  font-family: var(--font-mono);
  font-size: 0.82em;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 4px;
}
.site-footer .ph { color: #ff8a4a; background: rgba(255, 122, 51, 0.1); border-color: #ff7a33; }

/* Eckmarken (Passermarken) */
.corners { position: relative; }
.corners::before,
.corners::after {
  content: "";
  position: absolute;
  width: 14px; height: 14px;
  border-color: var(--accent);
  border-style: solid;
  pointer-events: none;
  z-index: 2;
}
.corners::before { top: 10px; left: 10px; border-width: 2px 0 0 2px; }
.corners::after { right: 10px; bottom: 10px; border-width: 0 2px 2px 0; }

/* Metallische Kante oben an Karten */
.metal-top { position: relative; }
.metal-top::before,
.service::after,
.machine-teaser::after,
.value::after,
.contact-card::after,
.range::after,
.machine__frame::after,
.checklist-card::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 3px;
  background: var(--metal);
  border-radius: inherit;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  opacity: 0.9;
  pointer-events: none;
}

/* Listen mit Strich */
.check-list { list-style: none; display: grid; gap: 12px; }
.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--text-2);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.8em;
  width: 16px; height: 2px;
  border-radius: 2px;
  background: var(--accent);
}

/* Icon */
.icon {
  display: grid; place-items: center; flex: none;
  width: 56px; height: 56px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
}
.icon svg { width: 30px; height: 30px; }

/* ---------- 5. Header & Navigation ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.7);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -18px rgba(16, 24, 40, 0.35);
}
.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

/* Firmenlogo: im Header für hellen Hintergrund, im Footer Negativ-Version */
.brand { display: inline-flex; align-items: center; flex: none; }
.brand__logo { height: 56px; width: auto; transition: opacity 0.25s var(--ease); }
.brand:hover .brand__logo { opacity: 0.8; }
.site-footer .brand__logo { height: 88px; }

.site-nav { display: flex; align-items: center; gap: 36px; }
.site-nav__list { display: flex; gap: 6px; list-style: none; }
.site-nav__list a {
  position: relative;
  display: block;
  font-size: 0.96rem;
  font-weight: 550;
  color: var(--text-2);
  padding: 8px 14px;
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}
.site-nav__list a:hover { color: var(--text); background: var(--bg-2); }
.site-nav__list a[aria-current="page"] { color: var(--text); background: var(--bg-2); }
.site-nav__list a[aria-current="page"]::after {
  content: "";
  position: absolute; left: 50%; bottom: 2px;
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--accent);
  transform: translateX(-50%);
}

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  border-radius: var(--radius);
  position: relative;
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  position: absolute;
  left: 50%;
  width: 20px; height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.nav-toggle__bars { top: 50%; transform: translate(-50%, -50%); }
.nav-toggle__bars::before,
.nav-toggle__bars::after { content: ""; transform: translateX(-50%); }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateX(-50%) translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateX(-50%) translateY(-6px) rotate(-45deg); }

/* ---------- 6. Footer ---------- */
.site-footer {
  position: relative;
  background: #111316;
  padding-top: clamp(64px, 8vw, 104px);
  font-size: 0.95rem;
  color: var(--on-dark-2);
}
.site-footer::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: var(--metal);
  opacity: 0.55;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 48px;
  padding-bottom: 64px;
}
.site-footer h2 {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7b838c;
  margin-bottom: 20px;
}
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a:hover { color: #fff; }
.site-footer address { font-style: normal; line-height: 1.8; }
.site-footer__brand p { max-width: 34ch; margin-top: 22px; }
.site-footer__mail {
  display: inline-block;
  color: #fff;
  font-weight: 600;
  border-bottom: 1px solid var(--accent);
  margin-bottom: 18px;
  word-break: break-all;
}
.site-footer__bottom {
  border-top: 1px solid var(--dark-line);
  padding-block: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.85rem;
  color: #7b838c;
}
.site-footer__bottom ul { display: flex; gap: 24px; }

/* ---------- 7. Seiten ---------- */

/* Feines Raster (Zeichenpapier) – hell */
.blueprint {
  background-color: var(--bg-2);
  background-image:
    linear-gradient(rgba(21, 24, 28, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 24, 28, 0.045) 1px, transparent 1px),
    linear-gradient(rgba(21, 24, 28, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 24, 28, 0.022) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  background-position: -1px -1px;
}
.cta.blueprint {
  background-color: var(--dark);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px;
}

/* --- Hero (Startseite) – Foto-Hintergrund mit dunklem Verlauf --- */
.hero {
  position: relative;
  min-height: min(100svh, 940px);
  display: flex;
  flex-direction: column;
  padding-top: calc(var(--header-h) + clamp(56px, 8vw, 120px));
  padding-bottom: clamp(32px, 4vw, 56px);
  overflow: hidden;
  background: var(--dark);
  color: #fff;
  isolation: isolate;
}
/* Bild gespiegelt, damit das Werkstück rechts steht und die Überschrift links frei bleibt */
.hero__bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 42% 50%;
  transform: scaleX(-1) scale(1.06);
  animation: heroZoom 2.4s var(--ease) forwards;
}
@keyframes heroZoom { to { transform: scaleX(-1) scale(1); } }
.hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(13, 15, 18, 0.9) 0%, rgba(13, 15, 18, 0.78) 30%, rgba(13, 15, 18, 0.35) 58%, rgba(13, 15, 18, 0.08) 100%),
    linear-gradient(180deg, rgba(13, 15, 18, 0.35) 0%, rgba(13, 15, 18, 0) 30%, rgba(13, 15, 18, 0) 62%, rgba(13, 15, 18, 0.6) 100%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 1;
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.hero__content { max-width: 640px; }
.hero h1 { color: #fff; margin-bottom: 28px; text-shadow: 0 2px 30px rgba(0, 0, 0, 0.35); }
.hero h1 .accent { color: #ff7a33; }
.hero .eyebrow { color: #ff8a4a; }
.hero__lead { font-size: clamp(1.12rem, 1.45vw, 1.28rem); color: rgba(255, 255, 255, 0.84); max-width: 34em; margin-bottom: 40px; }
.hero .btn:not(.btn--primary) {
  --btn-bg: rgba(255, 255, 255, 0.08); --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, 0.4);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: none;
}
.hero .btn:not(.btn--primary):hover { --btn-bg: rgba(255, 255, 255, 0.16); border-color: #fff; }

/* Schriftfeld als Glas-Karte unten rechts */
.drawing { position: relative; }
.hero__card {
  align-self: end;
  justify-self: end;
  width: min(100%, 440px);
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  color: var(--text);
}
.drawing__titleblock {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
}
.drawing__titleblock div { padding: 16px 18px; border-right: 1px solid var(--line); }
.drawing__titleblock div:last-child { border-right: 0; }
.drawing__titleblock strong { display: block; color: var(--text); font-weight: 600; margin-top: 4px; font-size: 0.78rem; letter-spacing: 0.04em; }

.hero__facts {
  position: relative;
  z-index: 1;
  margin-top: clamp(40px, 6vw, 80px);
}
.hero__facts ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.hero__facts li {
  padding: 26px 28px 28px;
  border-right: 1px solid var(--line);
}
.hero__facts li:last-child { border-right: 0; }
.hero__facts span {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 6px;
}
.hero__facts strong { font-size: 1.08rem; font-weight: 650; }
/* --- Seitenkopf (Unterseiten) --- */
.page-hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(64px, 9vw, 128px));
  padding-bottom: clamp(64px, 8vw, 110px);
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--bg-2) 15%, rgba(244, 245, 247, 0) 75%),
    linear-gradient(0deg, var(--bg-2) 0%, rgba(244, 245, 247, 0) 45%);
  pointer-events: none;
}
.page-hero::before {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--line);
  z-index: 1;
}
.page-hero > .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.5rem, 5.2vw, 4.4rem); max-width: 16ch; margin-bottom: 24px; }
.page-hero .lead { max-width: 58ch; }
.page-hero__coords {
  position: absolute;
  right: var(--gutter);
  bottom: 26px;
  z-index: 1;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--text-3);
}

.breadcrumb {
  display: flex; flex-wrap: wrap; gap: 10px;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 28px;
}
.breadcrumb li + li::before { content: "/"; margin-right: 10px; color: var(--line-strong); }
.breadcrumb a:hover { color: var(--accent-text); }
.breadcrumb [aria-current] { color: var(--text-2); }

/* --- Leistungskarten (Startseite) --- */
.services { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.service {
  position: relative;
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(28px, 3vw, 40px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.service::after { opacity: 0; transition: opacity 0.35s var(--ease); }
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.service:hover::after { opacity: 1; }
.service--lg { grid-column: span 3; padding: clamp(32px, 4vw, 52px); background: linear-gradient(180deg, #fff 0%, #fafbfc 100%); }
.service--lg h3 { font-size: clamp(1.6rem, 2.3vw, 2rem); }
.service__num { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.14em; color: var(--text-3); }
.service__top { display: flex; justify-content: space-between; align-items: flex-start; }
.service h3 { margin: 0; }
.service p { color: var(--text-2); margin: 0; }
.service .text-link { margin-top: auto; align-self: flex-start; }
.service--lg .check-list { margin: 4px 0 8px; }

/* --- Stückzahl-Skala --- */
.range {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 56px);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.range__head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 12px; margin-bottom: 44px; }
.range__head h3 { margin: 0; font-size: clamp(1.4rem, 2vw, 1.75rem); }
.range__track {
  position: relative;
  height: 4px;
  border-radius: 4px;
  background: var(--bg-3);
  margin: 0 8px 30px;
}
.range__fill {
  position: absolute; inset: 0;
  border-radius: 4px;
  background: linear-gradient(90deg, #f08a4b, var(--accent));
  transform-origin: left;
  transform: scaleX(1);
  transition: transform 1.6s var(--ease) 0.2s;
}
.js .reveal:not(.is-visible) .range__fill { transform: scaleX(0); }
.range__ticks { position: absolute; inset: -8px 0; display: flex; justify-content: space-between; align-items: center; }
.range__ticks span { width: 2px; height: 20px; background: var(--text-3); border-radius: 2px; }
.range__ticks span:first-child,
.range__ticks span:last-child { width: 18px; height: 18px; border: 3px solid var(--accent); background: #fff; border-radius: 50%; box-shadow: 0 0 0 5px var(--accent-soft); transform: translateX(var(--x, 0)); }
.range__ticks span:first-child { --x: -8px; }
.range__ticks span:last-child { --x: 8px; }
.range__labels { display: grid; grid-template-columns: 1fr 2fr 2fr 1fr; gap: 16px; }
.range__labels div:nth-child(2),
.range__labels div:nth-child(3) { text-align: center; }
.range__labels div:last-child { text-align: right; }
.range__labels strong { display: block; font-size: clamp(1.1rem, 1.8vw, 1.45rem); font-weight: 700; letter-spacing: -0.01em; }
.range__labels span { font-size: 0.9rem; color: var(--text-2); }

/* --- Kompetenzen (Spezifikationszeilen) --- */
.spec-rows { border-top: 1px solid var(--line); }
.spec-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 24px;
  padding: 28px 16px 28px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
  border-radius: var(--radius);
  transition: padding 0.3s var(--ease), background 0.3s var(--ease);
}
.spec-row:hover { padding-left: 16px; background: var(--bg-2); }
.spec-row__num {
  display: inline-grid; place-items: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--accent-soft);
  font-family: var(--font-mono); font-size: 0.8rem; font-weight: 600; color: var(--accent-text);
  margin-top: -4px;
}
.spec-row h3 { margin: 0; font-size: clamp(1.12rem, 1.5vw, 1.3rem); line-height: 1.4; }
.spec-row p { margin: 0; color: var(--text-2); }

/* --- Maschinen-Teaser --- */
.machine-teasers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.machine-teaser {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
  color: var(--text);
}
.machine-teaser:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); color: var(--text); }
.machine-teaser__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-2); }
.machine-teaser__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.machine-teaser:hover .machine-teaser__media img { transform: scale(1.05); }
.machine-teaser__id {
  position: absolute; left: 16px; top: 16px;
  font-family: var(--font-mono); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em;
  background: #fff; border: 1px solid var(--line);
  padding: 5px 10px; border-radius: 999px; color: var(--text-2);
  box-shadow: var(--shadow-sm);
}
.machine-teaser__body { padding: 26px 28px 30px; display: flex; flex-direction: column; gap: 4px; flex: 1; border-top: 1px solid var(--line); }
.machine-teaser__maker { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); margin: 0; }
.machine-teaser h3 { margin: 0 0 2px; }
.machine-teaser p { color: var(--text-2); margin: 0; font-size: 0.95rem; }
.machine-teaser__more { margin-top: 18px; display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 0.92rem; color: var(--accent-text); }
.machine-teaser__more svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.machine-teaser:hover .machine-teaser__more svg { transform: translateX(4px); }

/* --- Stärken (dunkle Kontrast-Sektion) --- */
.strengths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.strength {
  position: relative;
  padding: 36px 34px 38px;
  border: 1px solid var(--dark-line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  transition: border-color 0.35s var(--ease), background 0.35s var(--ease), transform 0.35s var(--ease);
}
.strength:hover { border-color: #4a5058; background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02)); transform: translateY(-3px); }
.strength .icon { margin-bottom: 24px; background: rgba(255, 122, 51, 0.12); color: #ff7a33; }
.strength h3 { margin-bottom: 10px; }
.strength p { margin: 0; }
/* falls die Sektion hell gesetzt wird */
.section--light .strength { background: var(--surface); border-color: var(--line); box-shadow: var(--shadow-sm); }

/* --- Ablauf --- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: step; list-style: none; }
.step {
  position: relative;
  padding: 56px 28px 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.step::before {
  content: "";
  position: absolute; left: 62px; right: -21px; top: 37px;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--line-strong) 0 6px, transparent 6px 12px);
}
.step:last-child::before { display: none; }
.step::after {
  content: "";
  position: absolute; left: 28px; top: 28px;
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 3px solid var(--accent);
  background: #fff;
  box-shadow: 0 0 0 5px var(--accent-soft);
}
.step__num { display: block; font-family: var(--font-mono); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.12em; color: var(--accent-text); margin: 16px 0 8px; }
.step h3 { font-size: 1.2rem; margin-bottom: 8px; }
.step p { color: var(--text-2); font-size: 0.97rem; margin: 0; }

/* --- Abschluss-CTA (dunkel) --- */
.cta { position: relative; overflow: hidden; }
.cta::before {
  content: "";
  position: absolute; right: -10%; top: -30%;
  width: 60%; height: 160%;
  background: radial-gradient(closest-side, rgba(255, 122, 51, 0.12), transparent);
  pointer-events: none;
}
.cta__inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}
.cta h2 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); margin-bottom: 20px; }
.cta__mail-label { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-dark-2); margin-bottom: 10px; }
.cta__mail {
  display: inline-block;
  font-size: clamp(1.3rem, 2.3vw, 1.9rem);
  font-weight: 650;
  letter-spacing: -0.01em;
  color: #fff;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 4px;
  margin-bottom: 32px;
  word-break: break-all;
}
.cta__mail:hover { color: #ff9a5c; }
.cta__box {
  position: relative;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--dark-line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.cta__box::before {
  content: "";
  position: absolute; left: 24px; right: 24px; top: 0; height: 2px;
  background: var(--metal);
  opacity: 0.7;
}

/* --- Leistungen: Verfahren --- */
.process-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.process-block + .process-block { margin-top: var(--section-y); }
.process-block--reverse .process-block__media { order: 2; }
.process-block__media {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.process-block__media img { width: 100%; height: auto; }
.process-block__media figcaption {
  display: flex; justify-content: space-between;
  border-top: 1px solid var(--line);
  padding: 14px 20px;
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3);
  background: var(--bg-2);
}
.process-block h2 { margin-bottom: 20px; }
.process-block .lead { margin-bottom: 28px; }
.process-block h3 { font-size: 0.78rem; font-family: var(--font-mono); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); margin: 34px 0 16px; }
.two-col-list { columns: 2; column-gap: 32px; }
.two-col-list li { break-inside: avoid; margin-bottom: 12px; }

.batch-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.batch {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3.5vw, 44px);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
}
.batch:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.batch__qty { display: inline-block; font-family: var(--font-mono); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-text); background: var(--accent-soft); padding: 5px 12px; border-radius: 999px; margin-bottom: 22px; }
.batch h3 { margin-bottom: 12px; }
.batch p { color: var(--text-2); margin: 0; }

.industries { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; list-style: none; }
.industries li {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 22px 22px 24px;
  font-weight: 600;
  display: flex; flex-direction: column; gap: 10px;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.industries li:hover { border-color: rgba(232, 90, 12, 0.4); box-shadow: var(--shadow); transform: translateY(-2px); }
.industries li span { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; color: var(--accent-text); font-weight: 500; }
.note { font-size: 0.92rem; color: var(--text-3); margin-top: 24px; }

/* --- Maschinenpark --- */
.machine-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  -webkit-overflow-scrolling: touch;
}
.machine-table { width: 100%; border-collapse: collapse; min-width: 720px; font-size: 0.96rem; }
.machine-table th,
.machine-table td { text-align: left; padding: 20px 24px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.machine-table thead th {
  font-family: var(--font-mono); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-3); background: var(--bg-2);
}
.machine-table tbody tr { transition: background 0.2s; }
.machine-table tbody tr:hover { background: #fafbfc; }
.machine-table tbody tr:last-child td,
.machine-table tbody tr:last-child th { border-bottom: 0; }
.machine-table tbody th { font-weight: 650; }
.machine-table tbody th small { display: block; font-family: var(--font-mono); font-weight: 600; font-size: 0.7rem; letter-spacing: 0.1em; color: var(--accent-text); }
.machine-table td { color: var(--text-2); }
.machine-table a { color: var(--accent-text); font-weight: 600; white-space: nowrap; }

.machine {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(32px, 5vw, 72px);
  padding: clamp(36px, 4.5vw, 64px);
  margin-top: clamp(28px, 3vw, 40px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  align-items: start;
}
.machine__media { position: sticky; top: calc(var(--header-h) + 24px); margin: 0; }
.machine__frame {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-2);
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.machine__frame img { width: 100%; height: 100%; object-fit: cover; }
.machine__media figcaption {
  display: flex; justify-content: space-between; gap: 12px;
  margin-top: 14px;
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3);
}
.machine__head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-bottom: 14px; }
.machine__id {
  font-family: var(--font-mono); font-size: 0.76rem; font-weight: 600; letter-spacing: 0.12em; color: #fff;
  background: var(--dark); padding: 4px 10px; border-radius: 6px;
}
.machine__maker { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); }
.machine h2 { font-size: clamp(2rem, 3.4vw, 2.8rem); margin-bottom: 14px; }
.machine__intro { color: var(--text-2); max-width: 56ch; }
.machine h3 {
  font-family: var(--font-mono); font-size: 0.76rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-3); margin: 38px 0 12px;
}

.specs { margin: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.specs > div {
  display: grid;
  grid-template-columns: minmax(150px, 0.9fr) minmax(0, 1.1fr);
  gap: 16px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 0.97rem;
}
.specs > div:nth-child(odd) { background: #fafbfc; }
.specs > div:last-child { border-bottom: 0; }
.specs dt { color: var(--text-3); }
.specs dd { margin: 0; color: var(--text); font-weight: 600; }

.machine-add {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--dark);
  color: var(--on-dark);
  padding: clamp(32px, 4.5vw, 56px);
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px;
  margin-top: clamp(28px, 3vw, 40px);
  box-shadow: var(--shadow-lg);
}
.machine-add::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: var(--metal);
}
.machine-add h2 { font-size: clamp(1.4rem, 2.2vw, 1.85rem); margin: 0 0 6px; color: #fff; }
.machine-add p { color: var(--on-dark-2); margin: 0; max-width: 60ch; }

/* --- Über uns --- */
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.value {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3.5vw, 42px);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
}
.value::after { opacity: 0; transition: opacity 0.35s var(--ease); }
.value:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.value:hover::after { opacity: 1; }
.value__num {
  display: inline-grid; place-items: center;
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--accent-soft);
  font-family: var(--font-mono); font-size: 0.78rem; font-weight: 600; color: var(--accent-text);
  margin-bottom: 22px;
}
.value h3 { margin-bottom: 10px; }
.value p { color: var(--text-2); margin: 0; }

.quote {
  position: relative;
  font-size: clamp(1.6rem, 2.9vw, 2.4rem);
  font-weight: 650;
  line-height: 1.28;
  letter-spacing: -0.02em;
  max-width: 24ch;
  margin: 0;
  padding: clamp(32px, 4vw, 48px);
  padding-top: clamp(56px, 6vw, 72px);
  background: var(--bg-2);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}
.quote::before {
  content: "\201E";
  position: absolute; left: clamp(28px, 4vw, 44px); top: -6px;
  font-size: 5.5rem; line-height: 1;
  color: var(--accent);
  font-family: Georgia, serif;
}
.prose p { color: var(--text-2); }
.prose p:first-of-type { color: var(--text); font-size: 1.18rem; }

/* --- Kontakt --- */
.contact-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: clamp(32px, 5vw, 72px);
  box-shadow: var(--shadow-lg);
}
.contact-card__label { font-family: var(--font-mono); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); margin-bottom: 14px; }
.contact-card__mail {
  display: inline-block;
  font-size: clamp(1.5rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text);
  border-bottom: 3px solid var(--accent);
  padding-bottom: 6px;
  margin-bottom: 36px;
  word-break: break-all;
}
.copy-btn[data-copied] { border-color: var(--accent); color: var(--accent-text); }
.contact-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 44px; }
.contact-meta > div { background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 24px 26px; }
.contact-meta h2 { font-family: var(--font-mono); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); margin-bottom: 12px; }
.contact-meta address,
.contact-meta p { font-style: normal; color: var(--text-2); margin: 0; line-height: 1.8; }

.checklist-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: clamp(28px, 4vw, 48px);
  box-shadow: var(--shadow);
}
.checklist-card ol { list-style: none; padding: 0; margin: 0; counter-reset: c; display: grid; }
.checklist-card li { counter-increment: c; display: grid; grid-template-columns: 52px 1fr; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line); color: var(--text-2); }
.checklist-card li:last-child { border-bottom: 0; }
.checklist-card li::before {
  content: counter(c, decimal-leading-zero);
  display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--accent-soft);
  font-family: var(--font-mono); font-size: 0.8rem; font-weight: 600; color: var(--accent-text);
}
.checklist-card li strong { display: block; color: var(--text); }

/* --- Rechtliche Seiten --- */
.legal { max-width: 820px; }
.legal h2 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); margin: 56px 0 16px; }
.legal h3 { font-size: 1.15rem; margin: 32px 0 10px; }
.legal p,
.legal li { color: var(--text-2); }
.legal ul { padding-left: 22px; margin-bottom: 1em; }
.legal a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }
.legal address { font-style: normal; color: var(--text); line-height: 1.9; }
.legal-hint {
  border: 1px dashed var(--accent);
  border-radius: var(--radius);
  background: var(--accent-soft);
  padding: 20px 24px;
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 40px;
}
.legal-hint strong { color: var(--accent-text); }

/* --- 404 --- */
.error-page { min-height: 100svh; display: flex; align-items: center; padding-top: var(--header-h); }
.error-page__code { font-family: var(--font-mono); font-size: clamp(4rem, 14vw, 10rem); font-weight: 600; line-height: 1; color: var(--accent); margin-bottom: 24px; letter-spacing: -0.04em; }

/* ---------- 8. Animationen ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0s);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

.draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2s var(--ease) forwards; animation-delay: var(--d, 0.2s); }
.fade-in { opacity: 0; animation: fadeIn 0.9s var(--ease) forwards; animation-delay: var(--d, 1.2s); }
.slide-in { opacity: 0; transform: translateX(-24px); animation: slideIn 1.2s var(--ease) forwards; animation-delay: var(--d, 0.3s); }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes slideIn { to { opacity: 1; transform: none; } }

.hero__content > * { opacity: 0; transform: translateY(20px); animation: rise 1s var(--ease) forwards; }
.hero__content > *:nth-child(1) { animation-delay: 0.05s; }
.hero__content > *:nth-child(2) { animation-delay: 0.15s; }
.hero__content > *:nth-child(3) { animation-delay: 0.3s; }
.hero__content > *:nth-child(4) { animation-delay: 0.45s; }
.hero__card { opacity: 0; transform: translateY(16px); animation: rise 1s var(--ease) 1s forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0s !important; transition-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .draw { stroke-dashoffset: 0; }
}

/* ---------- 9. Responsive ---------- */
@media (max-width: 1100px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .industries { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-nav { gap: 20px; }
  .site-nav__list a { padding: 8px 10px; }
}

@media (max-width: 960px) {
  :root { --header-h: 72px; }
  .brand__logo { height: 48px; }

  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    height: calc(100dvh - var(--header-h));
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
    gap: 32px;
    padding: 24px var(--gutter) 40px;
    background: #fff;
    border-top: 1px solid var(--line);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s linear 0.3s;
    overflow-y: auto;
  }
  .site-header.is-open .site-nav {
    opacity: 1; visibility: visible; transform: none;
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s;
  }
  .site-nav__list { flex-direction: column; gap: 0; }
  .site-nav__list a {
    font-size: 1.55rem;
    font-weight: 650;
    color: var(--text);
    padding: 18px 4px;
    border-radius: 0;
    border-bottom: 1px solid var(--line);
  }
  .site-nav__list a:hover,
  .site-nav__list a[aria-current="page"] { background: transparent; }
  .site-nav__list a[aria-current="page"] { color: var(--accent-text); }
  .site-nav__list a[aria-current="page"]::after { display: none; }
  .site-nav__cta { min-height: 58px; }
  body.nav-open { overflow: hidden; }

  .hero__inner,
  .section-head,
  .grid-2,
  .cta__inner,
  .process-block,
  .machine { grid-template-columns: minmax(0, 1fr); }
  .hero { min-height: auto; }
  .hero__card { justify-self: start; }
  .hero::before {
    background: linear-gradient(180deg, rgba(13, 15, 18, 0.86) 0%, rgba(13, 15, 18, 0.74) 42%, rgba(13, 15, 18, 0.22) 68%, rgba(13, 15, 18, 0.2) 86%, rgba(13, 15, 18, 0.55) 100%);
  }
  .hero__facts ul { grid-template-columns: repeat(2, 1fr); }
  .hero__facts li:nth-child(2) { border-right: 0; }
  .hero__facts li:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .process-block--reverse .process-block__media { order: 0; }
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service, .service--lg { grid-column: span 1; }
  .service:last-child { grid-column: span 2; }
  .machine-teasers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strengths,
  .values,
  .batch-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step:nth-child(2)::before { display: none; }
  .machine__media { position: static; }
  .spec-row { grid-template-columns: 52px minmax(0, 1fr); }
  .spec-row p { grid-column: 2; }
  .quote { max-width: none; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .brand__logo { height: 44px; }
  .site-footer .brand__logo { height: 72px; }
  .btn { width: 100%; white-space: normal; text-align: center; }
  .btn-row { flex-direction: column; }
  .hero__bg { object-position: 46% 50%; }
  .hero::before {
    background: linear-gradient(180deg, rgba(13, 15, 18, 0.86) 0%, rgba(13, 15, 18, 0.74) 42%, rgba(13, 15, 18, 0.22) 68%, rgba(13, 15, 18, 0.2) 86%, rgba(13, 15, 18, 0.55) 100%);
  }
  .hero__card { width: 100%; }
  .hero__facts ul { grid-template-columns: 1fr; }
  .hero__facts li { border-right: 0 !important; border-bottom: 1px solid var(--line); padding: 18px 22px; }
  .hero__facts li:last-child { border-bottom: 0; }
  .drawing__titleblock { grid-template-columns: 1fr 1fr; }
  .drawing__titleblock div:first-child { grid-column: span 2; border-right: 0; border-bottom: 1px solid var(--line); }
  .services,
  .machine-teasers,
  .strengths,
  .values,
  .batch-grid,
  .industries,
  .steps,
  .contact-meta,
  .site-footer__grid { grid-template-columns: minmax(0, 1fr); }
  .service:last-child { grid-column: span 1; }
  .step::before { display: none; }
  .range__labels { grid-template-columns: 1fr 1fr; row-gap: 20px; }
  .range__labels div:nth-child(n) { text-align: left; }
  .range__labels div:nth-child(even) { text-align: right; }
  .two-col-list { columns: 1; }
  .machine { padding: 22px; }
  .specs > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .page-hero__coords { display: none; }
  .site-footer__bottom ul { flex-wrap: wrap; gap: 16px; }
}
