/* ============================================================
   Schrift Manrope — lokal eingebunden (SIL Open Font License 1.1,
   Lizenztext siehe fonts/OFL.txt). Es geht kein Request an Google.
   ============================================================ */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200;
  font-display: swap;
  src: url('fonts/manrope-latin-ext-200-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200;
  font-display: swap;
  src: url('fonts/manrope-latin-200-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('fonts/manrope-latin-ext-300-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('fonts/manrope-latin-300-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/manrope-latin-ext-400-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/manrope-latin-400-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/manrope-latin-ext-500-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/manrope-latin-500-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/manrope-latin-ext-600-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/manrope-latin-600-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* ============================================================
   Zacher Metallform — gemeinsamer Stylesheet
   für alle Seiten (Home, Verfahren, Produkte, Kontakt)
   ============================================================ */

:root {
  --bg: #FAFAF7; --bg-soft: #F1F0EB; --bg-deep: #0B0B0C;
  --ink: #0A0A0B; --ink-2: #1F1F22; --muted: #6E6E73;
  --line: #E2E0DA; --line-strong: #C9C6BD;
  --accent: #B8623F; --accent-deep: #8E4A30;
  --font: "Manrope", system-ui, -apple-system, sans-serif;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --max-w: 1440px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font); font-weight: 400;
  font-size: clamp(1rem, 0.95rem + 0.15vw, 1.0625rem);
  line-height: 1.6; color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  letter-spacing: -0.005em;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--ink); color: var(--bg); }

/* TYPOGRAPHY */
h1, h2, h3, h4 {
  font-family: var(--font); font-weight: 300;
  letter-spacing: -0.035em; line-height: 1; color: var(--ink);
}
h1,
/* Slide 2 und 3 der Startseite tragen aus SEO-Gruenden ein h2 statt h1 —
   je Seite darf es nur eine Hauptueberschrift geben. Optisch bleibt es gleich. */
.hero-content h2 { font-size: clamp(3rem, 9vw + .2rem, 9rem); font-weight: 200; line-height: 0.92; }
.page-hero h1 { font-size: clamp(2.5rem, 7vw + .2rem, 6.5rem); line-height: 0.95; }
h2 { font-size: clamp(2rem, 4vw + .3rem, 3.75rem); font-weight: 300; }
h3 { font-size: clamp(1.4rem, 1.5vw + 1rem, 2.25rem); font-weight: 400; letter-spacing: -0.02em; }
h4 { font-size: 1rem; font-weight: 500; letter-spacing: 0; line-height: 1.3; }
p { max-width: 60ch; line-height: 1.65; }
p + p { margin-top: 1em; }

.label {
  font-size: 0.72rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.18em; color: var(--muted);
}
.label--accent { color: var(--accent-deep); }
.lead {
  font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.3rem);
  font-weight: 300; line-height: 1.5;
  color: var(--ink-2); max-width: 42ch; letter-spacing: -0.01em;
}

/* LAYOUT */
.wrap { width: 100%; max-width: var(--max-w); padding: 0 var(--gutter); margin: 0 auto; position: relative; }
section { position: relative; }
.section { padding: clamp(5rem, 11vw, 11rem) 0; }
.section--tight { padding: clamp(3rem, 6vw, 5.5rem) 0; }
.section--with-bg { position: relative; isolation: isolate; }
.section--with-bg::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: url("bg/werkzeug.svg");
  background-size: cover;
  background-position: center center;
  opacity: 0.5;
}

/* HEADER + NAV */
.site-header {
  position: sticky; top: 0; z-index: 9500;
  background: rgba(250,250,247,.85);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
/* Kopfzeile ueber die volle Fensterbreite: das Logo sitzt bei jeder
   Fenstergroesse am linken Rand, nicht in der zentrierten Inhaltsspalte. */
.site-header > .wrap {
  max-width: none;
  padding-left: clamp(1rem, 1.6vw, 1.75rem);
  padding-right: clamp(1rem, 1.6vw, 1.75rem);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 0.85rem 0; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }
.brand img { display: block; height: clamp(66px, 8.5vw, 116px); width: auto; transition: opacity .25s var(--ease); }
.brand:hover img { opacity: 0.78; }
.brand-text { display: inline-flex; align-items: baseline; gap: 0.5rem; font-size: 1.15rem; font-weight: 600; letter-spacing: -0.01em; }
.brand-text b { font-weight: 600; letter-spacing: 0.02em; }
.brand-text i { font-style: normal; font-weight: 300; color: var(--muted); }
.brand-mark { display: inline-block; width: 8px; height: 8px; background: var(--accent); border-radius: 50%; transform: translateY(-1px); }
/* Menue: groessere Schrift, jeder Punkt eine eigene Schaltflaeche.
   Die aktuelle Seite wird gefuellt hervorgehoben statt nur unterstrichen —
   das ist auf einen Blick erkennbar. */
.nav-links { display: flex; align-items: center; gap: 0.3rem; list-style: none; }
.nav-links > li { position: relative; }
.nav-links a {
  font-size: clamp(1rem, 0.94rem + 0.22vw, 1.14rem);
  font-weight: 500; letter-spacing: -0.01em;
  padding: 0.62rem 1.05rem;
  border-radius: 999px;
  color: var(--ink-2);
  transition: color .22s var(--ease), background .22s var(--ease);
  display: inline-flex; align-items: center; gap: 0.4rem;
  white-space: nowrap;
}
.nav-links > li > a:hover { color: var(--ink); background: var(--bg-soft); }
.nav-links > li > a[aria-current="page"],
.nav-links > li.is-current > a {
  color: var(--accent-deep);
  background: rgba(184, 98, 63, 0.11);
  font-weight: 600;
}
.nav-links a:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.nav-links .caret {
  width: 8px; height: 8px;
  border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .25s var(--ease);
}

/* Zwischenbreiten: zwischen Burger-Menue und voller Breite wird es eng.
   Dort ruecken die Punkte enger zusammen, statt die Zeile zu sprengen. */
@media (min-width: 961px) and (max-width: 1200px) {
  .nav-links { gap: 0.1rem; }
  .nav-links a { font-size: 0.98rem; padding: 0.55rem 0.66rem; }
  .nav-cta { padding: 0.68rem 1.05rem; font-size: 0.94rem; }
  .brand img { height: clamp(58px, 6vw, 72px); }
  .nav { gap: 1rem; }
}

/* DROPDOWN */
.nav-dropdown-menu {
  position: absolute; top: calc(100% + 0.5rem); left: -1rem;
  background: var(--bg); border: 1px solid var(--line);
  border-radius: 16px; padding: 0.55rem; min-width: 252px;
  list-style: none;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s;
  z-index: 60;
  box-shadow: 0 14px 40px rgba(0,0,0,.06);
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s 0s;
}
.nav-dropdown:hover > a .caret { transform: rotate(45deg) translate(-2px, -2px) rotate(180deg); }
.nav-dropdown-menu a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.8rem 1rem; border-radius: 10px;
  font-size: 1.02rem; font-weight: 450; color: var(--ink-2);
}
.nav-dropdown-menu a:hover { background: var(--bg-soft); color: var(--ink); }
.nav-dropdown-menu a::after { display: none !important; }
.nav-dropdown-menu .arrow { font-size: 0.85rem; color: var(--muted); }
.nav-dropdown-menu a:hover .arrow { color: var(--accent-deep); transform: translateX(2px); transition: transform .2s var(--ease); }
.nav-dropdown-menu a[aria-current="page"] { background: var(--bg-soft); color: var(--ink); }
.nav-dropdown-menu a[aria-current="page"] .arrow { color: var(--accent-deep); }

.nav-cta {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.85rem 1.5rem; background: var(--ink); color: var(--bg);
  border-radius: 999px;
  font-size: clamp(0.95rem, 0.9rem + 0.2vw, 1.06rem); font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 2px 10px -4px rgba(11,11,12,0.4);
  transition: background .25s var(--ease), transform .25s var(--ease),
              box-shadow .25s var(--ease);
}
.nav-cta:hover {
  background: var(--accent-deep); transform: translateY(-2px);
  box-shadow: 0 10px 22px -8px rgba(142,74,48,0.6);
}
.nav-cta span { transition: transform .25s var(--ease); }
.nav-cta:hover span { transform: translateX(3px); }
.nav-cta::after { display: none !important; }
.nav-toggle { display: none; background: transparent; border: 0; width: 44px; height: 44px; position: relative; cursor: pointer; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease), opacity .2s var(--ease), top .3s var(--ease); }
.nav-toggle span:nth-child(1) { top: 17px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 27px; }
body.menu-open .nav-toggle span:nth-child(1) { top: 22px; transform: rotate(45deg); }
body.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .nav-toggle span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* HERO + SLIDER (Home) */
.hero { position: relative; padding: 0; overflow: hidden; }

/* HINTERGRUND-VIDEO: verwischt, bläulich, deutlich sichtbar */
.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
  opacity: 1;   /* volle Präsenz — soll deutlich erkennbar sein */
}
/* Farb-Overlay: sanfte Cinema-Vignette, links etwas heller (Lesbarkeit Headline),
   rechts das Video freier */
.hero-bg-tint {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg,
      rgba(250,250,247,0.55) 0%,
      rgba(250,250,247,0.35) 30%,
      rgba(250,250,247,0.10) 60%,
      rgba(250,250,247,0.15) 100%),
    linear-gradient(180deg, rgba(10,20,40,0.10) 0%, rgba(10,20,40,0.05) 60%, rgba(10,20,40,0.15) 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: var(--hero-bg, url("bg/drueckform.svg"));
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
  opacity: 0.9;
  animation: heroRotate 80s linear infinite;
  transform-origin: 75% 50%;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(circle at 78% 50%, rgba(184, 98, 63, 0.18) 0%, transparent 45%);
  animation: heroPulse 8s ease-in-out infinite;
}
@keyframes heroRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes heroPulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(1.08); }
}
.hero-slider { position: relative; min-height: 88vh; display: flex; align-items: center; z-index: 2; }
.hero-slide {
  position: absolute; inset: 0;
  display: flex; align-items: center;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 1.5s var(--ease), visibility 0s 1.5s;
  padding: clamp(5rem, 8vw, 7rem) 0 clamp(4rem, 7vw, 6rem);
}
.hero-slide.is-active {
  opacity: 1; visibility: visible; pointer-events: auto;
  transition: opacity 1.5s var(--ease), visibility 0s 0s;
}
.hero-slide:first-child { position: relative; }
.hero-content { position: relative; z-index: 2; max-width: 1100px; }
.hero-slide h1 { margin: 1.5rem 0 2.25rem; }
.hero-slide.is-active h1 .word {
  display: inline-block;
  animation: wordIn 1.6s var(--ease) backwards;
}
.hero-slide.is-active h1 .word:nth-child(1) { animation-delay: 0.3s; }
.hero-slide.is-active h1 .word:nth-child(2) { animation-delay: 0.6s; }
.hero-slide.is-active h1 .word:nth-child(3) { animation-delay: 0.9s; }
.hero-slide.is-active h1 .word:nth-child(4) { animation-delay: 1.2s; }
.hero-slide.is-active h1 .word:nth-child(5) { animation-delay: 1.5s; }
@keyframes wordIn {
  from { opacity: 0; transform: translateY(40px); filter: blur(8px); }
  to { opacity: 1; transform: none; filter: none; }
}
.hero-slide.is-active .label,
.hero-slide.is-active .lead,
.hero-slide.is-active .hero-actions {
  animation: fadeUp 1.6s var(--ease) backwards;
}
.hero-slide.is-active .label { animation-delay: 0.15s; }
.hero-slide.is-active .lead { animation-delay: 2.4s; }
.hero-slide.is-active .hero-actions { animation-delay: 2.8s; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}
.hero-slide h1 .accent { font-style: italic; font-weight: 200; color: var(--accent-deep); }
.hero-bottom { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,1fr); gap: clamp(2rem, 5vw, 5rem); align-items: end; margin-top: clamp(2rem, 4vw, 3rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }

/* Orb-Grafik oben rechts im Hero (alle Slides) */
.hero-orb {
  position: absolute;
  top: clamp(2rem, 5vw, 4rem);
  right: clamp(1.5rem, 4vw, 4rem);
  width: clamp(280px, 32vw, 460px);
  height: auto;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  fill: none;
  stroke: var(--ink-2);
  stroke-width: 1.2;
  animation: orbIn 1.4s var(--ease) 0.4s forwards;
}
.hero-slide.is-active .hero-orb { opacity: 1; }
@keyframes orbIn {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 0.35; transform: translateX(0); }
}
@media (max-width: 1100px) {
  .hero-orb { display: none; }
}

/* Slider Controls */
.slider-controls {
  display: none;   /* Slider-Navigation ausgeblendet — Slider läuft weiterhin automatisch */
  position: absolute; bottom: clamp(1.5rem, 3vw, 3rem);
  left: var(--gutter); right: var(--gutter);
  align-items: center; justify-content: space-between;
  z-index: 10;
}
.slider-pagination { display: flex; align-items: center; gap: 16px; }
.slider-dot {
  background: transparent; border: 0; cursor: pointer;
  padding: 8px 0; display: flex; align-items: center; gap: 10px;
  font-family: inherit; font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.1em; color: var(--muted);
  transition: color .25s var(--ease);
}
.slider-dot::before { content: ""; width: 24px; height: 1.5px; background: var(--line-strong); transition: width .35s var(--ease), background .25s var(--ease); }
.slider-dot.is-active { color: var(--ink); }
.slider-dot.is-active::before { width: 56px; background: var(--ink); }
.slider-dot:hover::before { background: var(--ink); }
.slider-dot:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }

.slider-counter { font-size: 0.78rem; font-weight: 500; letter-spacing: 0.1em; color: var(--muted); display: flex; align-items: baseline; gap: 4px; }
.slider-counter b { color: var(--ink); font-weight: 500; font-size: 0.95rem; }

/* PAGE HERO (subpages) */
.page-hero {
  padding: clamp(4rem, 8vw, 7rem) 0 clamp(3rem, 5vw, 4.5rem);
  border-bottom: 1px solid var(--line); position: relative;
  /* clip statt hidden: schneidet genauso ab, macht aber keinen eigenen
     Scrollbereich auf — nur so kann die Ueberschrift darin haften bleiben. */
  overflow: hidden;
  overflow: clip;
}
.page-hero::before {
  content: ""; position: absolute; inset: -40% 0; pointer-events: none; z-index: 0;
  background-image: var(--page-hero-bg, url("bg/drueckform.svg"));
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
  opacity: 0.9;
  /* Der Versatz kommt beim Scrollen vom Skript — der Grund zieht schneller
     nach oben als die Seite, das Schild bleibt stehen. */
  transform: translate3d(0, var(--grund-versatz, 0px), 0);
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {html:not(.bewegung-an) .page-hero::before { transform: none; }
}
.page-hero-orb { display: none; }
.page-hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,1fr); gap: clamp(2rem, 5vw, 5rem); align-items: end; }
.page-hero h1 { margin: 1rem 0 1.75rem; font-weight: 200; }
.page-hero h1 .word {
  display: inline-block;
  animation: wordIn 0.9s var(--ease) backwards;
}
.page-hero h1 .word:nth-child(1) { animation-delay: 0.1s; }
.page-hero h1 .word:nth-child(2) { animation-delay: 0.25s; }
.page-hero h1 .word:nth-child(3) { animation-delay: 0.4s; }
.page-hero h1 .word:nth-child(4) { animation-delay: 0.55s; }
.page-hero .label,
.page-hero .lead,
.page-hero .breadcrumb,
.page-hero .spec-strip {
  animation: fadeUp 1s var(--ease) backwards;
}
.page-hero .breadcrumb { animation-delay: 0s; }
.page-hero .label { animation-delay: 0.05s; }
.page-hero .lead { animation-delay: 0.65s; }
.page-hero .spec-strip { animation-delay: 0.85s; }

/* BREADCRUMB */
.breadcrumb { display: flex; align-items: center; gap: 0.6rem; font-size: 0.8rem; color: var(--muted); margin-bottom: 1.25rem; flex-wrap: wrap; }
.breadcrumb a { color: var(--muted); transition: color .2s var(--ease); }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb .sep { color: var(--line-strong); }
.breadcrumb .current { color: var(--ink); }

/* SPEC STRIP */
.spec-strip,
.hero-rule {
  width: 100%; display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 3vw, 3rem);
  border-top: 1px solid var(--line); padding-top: 1.5rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
.hero-rule { padding: 1.5rem var(--gutter); margin: 0 auto; max-width: var(--max-w); }
.spec-strip .label, .hero-rule .label { display: block; margin-bottom: 0.6rem; }
.spec-strip b, .hero-rule b {
  display: block; font-weight: 300;
  font-size: clamp(1.2rem, 1.5vw + .5rem, 1.75rem);
  letter-spacing: -0.02em; color: var(--ink);
}

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 1rem 1.7rem; border-radius: 999px;
  font-weight: 500; font-size: 0.95rem; border: 1px solid transparent;
  cursor: pointer; position: relative; overflow: hidden;
  transition: transform .35s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), box-shadow .35s var(--ease);
  font-family: inherit;
  isolation: isolate;
}
.btn::before {
  content: "";
  position: absolute; top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transition: left 0.7s var(--ease);
  z-index: 1;
}
.btn:hover::before { left: 100%; }
.btn > * { position: relative; z-index: 2; }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--ink); color: var(--bg); }
.btn--primary:hover { background: var(--accent-deep); box-shadow: 0 18px 40px -12px rgba(184, 98, 63, 0.5); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--ink); background: var(--ink); color: var(--bg); box-shadow: 0 18px 40px -12px rgba(10, 10, 11, 0.4); }

/* SECTION HEAD */
.section-head { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.4fr); gap: clamp(2rem, 5vw, 6rem); margin-bottom: clamp(3rem, 6vw, 5.5rem); align-items: end; }
.section-head .label { margin-bottom: 1.25rem; display: block; }
.section-head h2 { max-width: 16ch; }

/* PILLARS */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(0.75rem, 1.2vw, 1.25rem); }
a.pillar, .pillar {
  display: flex; flex-direction: column; gap: 1rem; min-height: 360px;
  padding: clamp(1.5rem, 2.2vw, 2.25rem);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: border-color .4s var(--ease), transform .4s var(--ease), box-shadow .4s var(--ease);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
a.pillar::before, .pillar::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 0%),
    rgba(184, 98, 63, 0.10), transparent 40%);
  opacity: 0;
  transition: opacity .4s var(--ease);
  z-index: -1;
  pointer-events: none;
}
a.pillar { color: inherit; text-decoration: none; cursor: pointer; }
a.pillar:hover, .pillar:hover {
  border-color: var(--ink);
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -20px rgba(10, 10, 11, 0.18);
}
a.pillar:hover::before, .pillar:hover::before { opacity: 1; }
.pillar .pillar-icon {
  width: 44px; height: 44px;
  color: var(--ink); margin-bottom: 0.5rem;
  transition: transform .5s var(--ease), color .3s var(--ease);
}
a.pillar:hover .pillar-icon {
  transform: rotate(90deg) scale(1.1);
  color: var(--accent-deep);
}
.pillar .pillar-num { font-size: 0.78rem; font-weight: 500; color: var(--muted); letter-spacing: 0.1em; margin-top: auto; display: flex; align-items: center; justify-content: space-between; }
.pillar .pillar-arrow { font-size: 1.2rem; color: var(--muted); transition: transform .3s var(--ease), color .3s var(--ease); }
a.pillar:hover .pillar-arrow { transform: translateX(6px); color: var(--accent-deep); }
.pillar h3 { font-size: 1.5rem; font-weight: 400; transition: color .3s var(--ease); }
a.pillar:hover h3 { color: var(--accent-deep); }
.pillar p { color: var(--muted); font-size: 0.95rem; max-width: 28ch; line-height: 1.55; }

/* IMAGE-TEXT ROW */
.image-row { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(2rem, 5vw, 6rem); align-items: center; }
.image-row--reverse .image-row__media { order: 2; }
.image-row + .image-row { margin-top: clamp(4rem, 8vw, 8rem); }
.image-row__text { padding: clamp(1rem, 3vw, 2rem) 0; }
.image-row__text h2 { margin: 1rem 0 1.5rem; }
.image-row__text p { color: var(--ink-2); margin-bottom: 1rem; }
.image-row__list { list-style: none; margin-top: 1.5rem; display: grid; gap: 0.75rem; }
.image-row__list li { display: flex; align-items: baseline; gap: 0.85rem; padding-bottom: 0.85rem; border-bottom: 1px solid var(--line); font-size: 0.98rem; color: var(--ink-2); }
.image-row__list li:last-child { border-bottom: 0; }
.image-row__list li::before { content: ""; flex: 0 0 auto; width: 0.5rem; height: 1px; background: var(--accent); transform: translateY(-0.4em); }

/* PHOTO PLACEHOLDER */
.photo-ph { position: relative; aspect-ratio: 4 / 5; background: var(--bg-soft); border-radius: 20px; overflow: hidden; display: flex; align-items: center; justify-content: center; border: 1px dashed var(--line-strong); }
.photo-ph::before { content: "Foto-Platzhalter"; position: absolute; top: 1rem; left: 1rem; font-size: 0.7rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.16em; color: var(--muted); background: var(--bg); padding: 0.4rem 0.7rem; border-radius: 999px; }
.photo-ph__hint { text-align: center; font-size: 0.92rem; color: var(--muted); font-weight: 300; max-width: 22ch; padding: 0 1rem; position: relative; z-index: 2; }
.photo-ph__hint b { display: block; font-weight: 500; color: var(--ink-2); margin-bottom: 0.4rem; font-size: 1rem; }
.photo-ph svg.deco { position: absolute; inset: 0; margin: auto; width: 60%; height: 60%; opacity: 0.18; color: var(--ink); }
.photo-ph--landscape { aspect-ratio: 16 / 10; }

/* FACT GRID */
.fact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.fact { background: var(--bg); padding: clamp(1.5rem, 2.5vw, 2.25rem); }
.fact .label { display: block; margin-bottom: 1rem; }
.fact h3 { font-size: 1.4rem; font-weight: 400; margin-bottom: 0.85rem; }
.fact p { font-size: 0.95rem; color: var(--muted); line-height: 1.55; max-width: none; }

/* PRODUCTS */
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(0.75rem, 1vw, 1.25rem); }
.product-card { background: var(--bg); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; transition: border-color .3s var(--ease), transform .3s var(--ease); cursor: pointer; }
.product-card:hover { border-color: var(--ink); transform: translateY(-3px); }
.product-card__image { aspect-ratio: 1 / 1; background: var(--bg-soft); position: relative; display: flex; align-items: center; justify-content: center; }
.product-card__image svg { width: 50%; height: 50%; opacity: 0.35; color: var(--ink); }
.product-card__image::before { content: "Foto"; position: absolute; top: 0.75rem; left: 0.75rem; font-size: 0.62rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.15em; color: var(--muted); background: var(--bg); padding: 0.3rem 0.55rem; border-radius: 999px; }
.product-card__body { padding: 1.1rem 1.25rem 1.4rem; }
.product-card__name { font-size: 1.1rem; font-weight: 500; letter-spacing: -0.01em; }
.product-card__meta { display: block; margin-top: 0.35rem; font-size: 0.8rem; color: var(--muted); font-weight: 400; }

/* STATS */
.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat-band > div {
  padding: 2.5rem clamp(1rem, 2vw, 2rem);
  border-right: 1px solid var(--line);
  transition: background .3s var(--ease);
}
.stat-band > div:hover { background: var(--bg-soft); }
.stat-band > div:last-child { border-right: 0; }
.stat-band b { display: block; font-size: clamp(2.5rem, 4.5vw, 4.5rem); font-weight: 200; letter-spacing: -0.04em; line-height: 1; color: var(--ink); }
.stat-band span { display: block; margin-top: 0.85rem; color: var(--muted); font-size: 0.95rem; max-width: 24ch; }

/* CONTACT / FORM */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.info-block { display: grid; gap: 2rem; padding: clamp(1.75rem, 3vw, 2.5rem); background: var(--bg-soft); border-radius: 20px; }
.info-row { display: grid; gap: 0.4rem; }
.info-row .label { display: block; }
.info-row .value { font-size: 1.05rem; color: var(--ink); font-weight: 400; }
.info-row .value a { transition: color .2s var(--ease); }
.info-row .value a:hover { color: var(--accent-deep); }

.form { display: grid; gap: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-field { display: grid; gap: 0.5rem; }
.form-field label {
  font-size: 0.78rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--muted);
}
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%; background: transparent;
  border: 0; border-bottom: 1px solid var(--line-strong);
  padding: 0.7rem 0; font-family: var(--font);
  font-size: 1rem; color: var(--ink);
  border-radius: 0; outline: none;
  transition: border-color .25s var(--ease);
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus { border-bottom-color: var(--accent); }
.form-field textarea { resize: vertical; min-height: 110px; line-height: 1.5; }
.form-note { font-size: 0.85rem; color: var(--muted); padding: 1rem 1.25rem; background: var(--bg-soft); border-left: 2px solid var(--accent); border-radius: 4px; }

/* CTA */
.cta-section { background: var(--bg-deep); color: var(--bg); padding: clamp(4rem, 9vw, 8rem) 0; }
.cta-section .label { color: rgba(250,250,247,.55); display: block; margin-bottom: 1.5rem; }
.cta-section h2 { color: var(--bg); margin-bottom: 2.5rem; max-width: 18ch; }
.cta-section .btn--ghost { color: var(--bg); border-color: rgba(250,250,247,.4); }
.cta-section .btn--ghost:hover { background: var(--bg); color: var(--ink); border-color: var(--bg); }

/* FOOTER */
.site-footer { background: var(--bg-deep); color: rgba(250,250,247,.6); padding: clamp(3rem, 5vw, 5rem) 0 2rem; border-top: 1px solid rgba(250,250,247,.08); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem; }
.site-footer h4 { color: var(--bg); font-size: 0.78rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 1.2rem; }
.site-footer ul { list-style: none; display: grid; gap: 0.6rem; }
.site-footer a { color: rgba(250,250,247,.6); transition: color .2s var(--ease); font-size: 0.95rem; }
.site-footer a:hover { color: var(--bg); }
.site-footer .brand img { height: 96px; }
.site-footer .brand-text { color: var(--bg); font-size: 1.4rem; }
.site-footer .brand-mark { background: var(--accent); }
.site-footer .brand-text i { color: rgba(250,250,247,.5); }
.footer-meta { margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(250,250,247,.1); display: flex; justify-content: space-between; font-size: 0.85rem; flex-wrap: wrap; gap: 1rem; }

/* PREVIEW BANNER */
.preview-banner { position: fixed; left: 50%; transform: translateX(-50%); bottom: 1.25rem; background: var(--ink); color: var(--bg); padding: 0.65rem 1.25rem; border-radius: 999px; font-size: 0.78rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; z-index: 100; box-shadow: 0 6px 28px rgba(0,0,0,.18); }
.preview-banner b { color: #E2A07F; font-weight: 500; }


/* ============================================================
   FULL-BLEED VIDEO — selbst-gehostet, scrub-animiert
   ============================================================ */
.video-bleed {
  position: relative;
  width: 100vw;
  margin-left: 50%;
  transform: translateX(-50%);
  padding: clamp(3rem, 7vw, 7rem) 0;
  overflow: hidden;
}
.video-bleed__inner {
  position: relative;
  width: 100%;
  max-width: 100vw;
  margin: 0 auto;
  aspect-ratio: 21 / 9;
  overflow: hidden;
  border-radius: var(--video-radius, 24px);
  background: var(--bg-deep);
  box-shadow: 0 40px 80px -30px rgba(10, 10, 11, 0.35);
  transform: scale(var(--video-scale, 0.92));
  transition: transform .6s var(--ease), border-radius .6s var(--ease);
  will-change: transform;
}
.video-bleed.is-expanded .video-bleed__inner {
  --video-scale: 1;
  --video-radius: 0px;
}
.video-bleed__media {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.92);
  pointer-events: none;
}
.video-bleed__overlay {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: clamp(2rem, 5vw, 4rem) clamp(1.5rem, 5vw, 5rem);
  background: linear-gradient(to top, rgba(10,10,11,0.7) 0%, rgba(10,10,11,0.3) 60%, transparent 100%);
  color: var(--bg);
  z-index: 2;
  pointer-events: none;
}
.video-bleed__overlay .label {
  color: #E2A07F;
  display: block;
  margin-bottom: 0.75rem;
}
.video-bleed__title {
  color: var(--bg);
  font-size: clamp(2rem, 4vw + .3rem, 4rem);
  font-weight: 200;
  letter-spacing: -0.035em;
  line-height: 1;
  max-width: 16ch;
}
@media (max-width: 720px) {
  .video-bleed__inner {
    aspect-ratio: 4 / 5;
    transform: none;
    border-radius: 16px;
    margin: 0 var(--gutter);
    width: auto;
  }
  .video-bleed.is-expanded .video-bleed__inner {
    border-radius: 16px;
  }
  .video-bleed__title { font-size: 2rem; }
}

/* SCROLL REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }
.reveal--delay-4 { transition-delay: 0.4s; }

/* HERO DRAWINGS TICKER — läuft im Hero rechts durch, hinter der Headline */
.hero { position: relative; overflow: hidden; }
.hero-drawings {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 55%;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  display: flex;
  align-items: center;
  mask-image: linear-gradient(to right,
    transparent 0%,
    rgba(0,0,0,0.4) 12%,
    rgba(0,0,0,1) 30%,
    rgba(0,0,0,1) 100%);
  -webkit-mask-image: linear-gradient(to right,
    transparent 0%,
    rgba(0,0,0,0.4) 12%,
    rgba(0,0,0,1) 30%,
    rgba(0,0,0,1) 100%);
}
.hero-drawings__track {
  display: flex;
  align-items: center;
  gap: clamp(2rem, 4vw, 4rem);
  width: max-content;
  animation: heroDrawingsTrack 80s linear infinite;
  will-change: transform;
  padding-left: 100%;
}
.hero-drawings:hover .hero-drawings__track {
  animation-play-state: paused;
}
.hero-drawing {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.hero-drawing img {
  height: clamp(260px, 34vh, 420px);
  width: auto;
  max-width: min(38vw, 480px);
  object-fit: contain;
  display: block;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1rem;
  box-shadow: 0 20px 40px -20px rgba(10, 10, 11, 0.15);
  opacity: 0.7;
}
.hero-drawing figcaption {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  white-space: nowrap;
  opacity: 0.85;
}
@keyframes heroDrawingsTrack {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Text-Inhalte müssen über den Zeichnungen liegen */
.hero-slide .hero-content { position: relative; z-index: 3; }

/* Verstärkter Verlauf im hero-content-Bereich, damit die Headline lesbar bleibt */
.hero-slide .hero-content::before {
  content: "";
  position: absolute;
  inset: -2rem -3rem -2rem -3rem;
  background: radial-gradient(ellipse at center left, var(--bg) 15%, rgba(250,250,247,0.85) 40%, transparent 75%);
  z-index: -1;
  pointer-events: none;
}

/* Alte dekorative Hero-Grafiken komplett ausblenden — der Ticker rechts übernimmt */
.hero-orb { display: none; }

/* Auf Tablet: Zeichnungen kleiner, weniger Platz */
@media (max-width: 1100px) {
  .hero-drawings { width: 50%; }
  .hero-drawing img {
    height: clamp(220px, 30vh, 320px);
    max-width: 32vw;
  }
}

/* Auf Handy: Zeichnungen komplett aus (würden Text überlagern) */
@media (max-width: 720px) {
  .hero-drawings { display: none; }
}

@media (prefers-reduced-motion: reduce) {html:not(.bewegung-an) .hero-drawings__track { animation: none; }
}

/* ============================================================
   KUNDEN-KREISBAHN — Karten auf 3D-Ellipsenbahn
   Alles unter .zo gekapselt.
   ============================================================ */
.zo {
  --terracotta: var(--accent, #B8623F);
  --stahl: var(--ink, #2A2C2E);
  --stahl-hell: var(--muted, #4A4E52);
  --papier: var(--bg-soft, #F7F6F4);
  overflow: hidden;
}

/* Neue elegante Kopfzeile */
.branchen-head {
  text-align: center;
  max-width: 1180px;      /* breit genug, damit die sechs Branchen in eine Reihe passen */
  margin: 0 auto;
}
.branchen-head h2 { max-width: 900px; margin-left: auto; margin-right: auto; }
.branchen-head .label--accent {
  display: inline-block;
  margin-bottom: 1rem;
}
.branchen-head h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 2rem;
  color: var(--ink);
}
.branchen-head h2 .accent i {
  color: var(--accent);
  font-style: italic;
  font-weight: 300;
}
.branchen-chips {
  list-style: none;
  padding: 0;
  margin: 0 0 2.75rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}
/* Branchen als echte Schaltflaechen: jede fuehrt auf den passenden
   Abschnitt der Anwendungsseite. Punkt vorweg, gefuellter Zustand beim
   Ueberfahren — dadurch liest sich die Reihe als Angebot, nicht als Zierde. */
.branchen-chips li { display: block; }
.branchen-chips a {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.65rem;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: clamp(0.95rem, 0.88rem + 0.3vw, 1.1rem);
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--ink);
  background: var(--bg);
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(11,11,12,0.04);
  transition: background .28s var(--ease), border-color .28s var(--ease),
              color .28s var(--ease), transform .28s var(--ease),
              box-shadow .28s var(--ease);
}
.branchen-chips a::before {
  content: "";
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  flex: none;
  transition: background .28s var(--ease), transform .28s var(--ease);
}
.branchen-chips a:hover,
.branchen-chips a:focus-visible {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 12px 24px -10px rgba(184,98,63,0.55);
}
.branchen-chips a:hover::before,
.branchen-chips a:focus-visible::before {
  background: #fff;
  transform: scale(1.3);
}
.branchen-chips a:focus-visible { outline: 3px solid var(--accent-deep); outline-offset: 3px; }

/* Einlauf gestaffelt, sobald der Block ins Bild kommt */
.branchen-head.reveal .branchen-chips li {
  opacity: 0; transform: translateY(12px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.branchen-head.is-visible .branchen-chips li { opacity: 1; transform: none; }
.branchen-head.is-visible .branchen-chips li:nth-child(1) { transition-delay: .05s; }
.branchen-head.is-visible .branchen-chips li:nth-child(2) { transition-delay: .11s; }
.branchen-head.is-visible .branchen-chips li:nth-child(3) { transition-delay: .17s; }
.branchen-head.is-visible .branchen-chips li:nth-child(4) { transition-delay: .23s; }
.branchen-head.is-visible .branchen-chips li:nth-child(5) { transition-delay: .29s; }
.branchen-head.is-visible .branchen-chips li:nth-child(6) { transition-delay: .35s; }

.branchen-lead {
  font-size: clamp(1.15rem, 1.02rem + 0.45vw, 1.4rem);
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 44ch;
  margin: 0 auto;
  font-weight: 300;
}
@media (max-width: 720px) {
  .branchen-chips { gap: 0.55rem; }
  .branchen-chips a { padding: 0.7rem 1.2rem; gap: 0.45rem; }
  .branchen-chips a::before { width: 6px; height: 6px; }
}
@media (prefers-reduced-motion: reduce) {html:not(.bewegung-an) .branchen-head.reveal .branchen-chips li { opacity: 1; transform: none; }
}
.zo__buehne {
  position: relative;
  height: 900px;
  margin: clamp(2rem, 3vw, 2.5rem) auto 0;
  max-width: 1200px;
  touch-action: pan-y;
  cursor: grab;
}
.zo__buehne.is-drag { cursor: grabbing; }

.zo__teil {
  position: absolute; left: 50%; top: 50%;
  width: 280px; height: 300px;
  margin: -150px 0 0 -140px;
  background: #fff;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 20px 44px -20px rgba(42,44,46,.5);
  will-change: transform, opacity;
  border: 0; padding: 0;
  font: inherit; text-align: left;
  cursor: pointer;
  display: block;
}
.zo__teil:focus-visible { outline: 3px solid var(--terracotta); outline-offset: 4px; }

.zo__bild {
  position: absolute; inset: 0 0 58px 0; overflow: hidden;
  background: #F5F3F0;
}
.zo__bild img {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
  padding: 14px; box-sizing: border-box;
}
.zo__bild:has(img) .zo__ph { display: none; }
.zo__ph {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; letter-spacing: .14em;
  color: rgba(42,44,46,.32); font-weight: 500;
}

.zo__maske {
  position: absolute !important; inset: 0;
  pointer-events: none;
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 14px; box-sizing: border-box;
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s ease;
}
.zo__teil.is-vorne .zo__maske {
  visibility: visible;
  animation: zoBlink 2.0s ease-in-out;
}
@keyframes zoBlink {
  0%   { opacity: 0; }
  20%  { opacity: 1; }
  50%  { opacity: .6; }
  80%  { opacity: 1; }
  100% { opacity: 0; }
}

.zo__fuss {
  position: absolute; left: 0; right: 0; bottom: 0; height: 58px;
  border-top: 3px solid var(--terracotta);
  display: flex; align-items: center; padding: 0 18px;
  font-size: 17px; font-weight: 700;
  color: var(--stahl); letter-spacing: -.01em;
  background: #fff;
}

.zo__text {
  max-width: 46ch; margin: clamp(2.25rem, 3.5vw, 3rem) auto 0; padding: 0 24px;
  text-align: center;
  min-height: 108px;
  transition: opacity .28s ease;
}
.zo__text.is-weg { opacity: 0; }
.zo__text h3 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.4rem, 1.2rem + 0.7vw, 1.85rem);
  font-weight: 500;
  color: var(--ink); letter-spacing: -.02em;
}
.zo__text p {
  margin: 0;
  font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem);
  line-height: 1.68;
  color: var(--ink-2);
  font-weight: 300;
  max-width: none;
}

.zo__leiste {
  display: flex; align-items: center; justify-content: center;
  gap: 24px; margin-top: clamp(1.75rem, 2.5vw, 2.25rem);
}
.zo__pfeil {
  width: 54px; height: 54px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff;
  color: var(--accent);
  font-size: 23px; line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 1px 2px rgba(11,11,12,0.05);
  transition: border-color .25s var(--ease), background .25s var(--ease),
              color .25s var(--ease), transform .25s var(--ease),
              box-shadow .25s var(--ease);
}
.zo__pfeil:hover {
  border-color: var(--accent); background: var(--accent); color: #fff;
  transform: scale(1.08);
  box-shadow: 0 10px 22px -10px rgba(184,98,63,0.6);
}
.zo__pfeil:active { transform: scale(0.97); }
.zo__pfeil:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.zo__punkte { display: flex; align-items: center; gap: 10px; }
.zo__punkt {
  width: 9px; height: 9px; border-radius: 100px;
  border: 0; padding: 0;
  background: var(--line-strong); opacity: 1;
  cursor: pointer; transition: width .3s var(--ease), background .3s var(--ease);
}
.zo__punkt:hover { background: var(--accent-deep); }
.zo__punkt.is-aktiv {
  background: var(--accent);
  width: 30px;
}
.zo__punkt:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 3px; }

@media (max-width: 820px) {
  .zo__buehne { height: 720px; }
  .zo__teil { width: 230px; height: 250px; margin: -125px 0 0 -115px; }
  .zo__fuss { height: 52px; font-size: 15px; }
  .zo__bild { inset: 0 0 52px 0; }
}
@media (max-width: 520px) {
  .zo__buehne { height: 580px; }
  .zo__teil { width: 196px; height: 214px; margin: -107px 0 0 -98px; }
}

/* MARQUEE — laufender Werkstoff-Streifen */
.marquee {
  background: var(--ink);
  color: var(--bg);
  overflow: hidden;
  padding: 1.6rem 0;
  position: relative;
  border-top: 1px solid rgba(250,250,247,.08);
  border-bottom: 1px solid rgba(250,250,247,.08);
}
.marquee::before, .marquee::after {
  content: "";
  position: absolute; top: 0; bottom: 0;
  width: 120px; z-index: 2;
  pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(to right, var(--ink), transparent); }
.marquee::after { right: 0; background: linear-gradient(to left, var(--ink), transparent); }
.marquee-track {
  display: flex; gap: 4rem;
  width: max-content;
  animation: marquee 40s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  display: inline-flex; align-items: center; gap: 4rem;
  font-family: var(--font);
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
  font-weight: 200;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.marquee-item .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* STAT-BAND-Animation */
.stat-band b {
  display: block;
  font-size: clamp(2.5rem, 4.5vw, 4.5rem);
  font-weight: 200; letter-spacing: -0.04em;
  line-height: 1; color: var(--ink);
  background: linear-gradient(180deg, var(--ink) 0%, var(--ink) 60%, var(--accent-deep) 130%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* IMAGE-ROW: Bild-Hover Effekt */
.image-row__media .photo-ph {
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.image-row:hover .photo-ph {
  transform: translateY(-6px);
  box-shadow: 0 40px 80px -30px rgba(10,10,11,0.25);
}

/* SECTION HEAD verfeinert: kleine Linien-Animation */
.section-head h2 { position: relative; }
.section-head .label::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 1px;
  background: var(--accent);
  margin-left: 0.6rem;
  vertical-align: middle;
  transition: width .8s var(--ease);
}
.section-head.is-visible .label::after { width: 4rem; }
@media (max-width: 1100px) {
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .fact-grid { grid-template-columns: 1fr; }
  .products { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
  .hero-bottom { grid-template-columns: 1fr; gap: 2rem; }
  .page-hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .section-head { grid-template-columns: 1fr; gap: 1.5rem; }
  .image-row { grid-template-columns: 1fr; gap: 2.5rem; }
  .image-row--reverse .image-row__media { order: 0; }
  .stat-band { grid-template-columns: repeat(2, 1fr); }
  .stat-band > div:nth-child(2) { border-right: 0; }
  .stat-band > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-rule, .spec-strip { grid-template-columns: 1fr 1fr; gap: 1.25rem 2rem; }
  .products { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  .nav-toggle {
    display: block;
    position: relative;
    z-index: 60;   /* über allem, damit immer klickbar */
  }
  .brand img { height: 58px; }
  .brand { position: relative; z-index: 55; }
  .hero::before, .page-hero::before {
    background-position: center right -20vw;
    opacity: 0.6;
  }
  .section--with-bg::before { opacity: 0.35; }
  .nav-links {
    position: fixed;
    /* 86px = tatsaechliche Kopfhoehe in dieser Ansicht (Logo 58px + Polster).
       Mit 64px verdeckte das Menue die untere Zeile des Logos. */
    top: 86px; left: 0; right: 0; bottom: auto;
    max-height: calc(100vh - 86px);
    background: var(--bg);
    flex-direction: column; align-items: flex-start;
    padding: 2rem var(--gutter); gap: 1.5rem;
    /* Menue blendet an Ort und Stelle ein statt von oben hereinzufahren.
       Vorher wurde es mit translateY(-110%) geparkt: bei niedrigen Fenstern
       blieb ein Streifen sichtbar und waehrend der Bewegung lief das Menue
       ueber das Logo. */
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform .3s var(--ease), opacity .25s var(--ease), visibility 0s .3s;
    border-bottom: 1px solid var(--line);
    z-index: 9000;   /* über allem Content (auch über Slider-Slides) */
    overflow-y: auto;
  }
  body.menu-open .nav-links {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: transform .3s var(--ease), opacity .25s var(--ease), visibility 0s 0s;
  }
  /* waehrend der Fenstergroessenaenderung keine Menue-Animation */
  html.kein-uebergang .nav-links { transition: none !important; }
  .nav-links a {
    font-size: 1.5rem; font-weight: 400; letter-spacing: -0.02em;
    padding: 0.35rem 0.6rem; margin-left: -0.6rem;
  }
  .nav-links > li > a[aria-current="page"],
  .nav-links > li.is-current > a { background: rgba(184, 98, 63, 0.11); }
  .nav-links .caret { width: 7px; height: 7px; }
  .nav-dropdown-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    border: 0; padding: 0; margin: 0.6rem 0 0 1.25rem;
    box-shadow: none; background: transparent; min-width: 0;
  }
  .nav-dropdown-menu a { padding: 0.5rem 0; font-size: 1.1rem; font-weight: 300; }
  .nav-dropdown-menu a:hover { background: transparent; }
  .nav-cta { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .slider-controls { left: var(--gutter); right: var(--gutter); }
}
@media (max-width: 480px) {
  .pillars { grid-template-columns: 1fr; }
  .stat-band { grid-template-columns: 1fr; }
  .stat-band > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat-band > div:last-child { border-bottom: 0; }
  .slider-counter { display: none; }
  .products { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {html:not(.bewegung-an) *,
  html:not(.bewegung-an) *::before,
  html:not(.bewegung-an) *::after { animation: none !important; transition: none !important; }html:not(.bewegung-an) { scroll-behavior: auto; }html:not(.bewegung-an) .hero-slide { transition: opacity 0s; }html:not(.bewegung-an) .reveal { opacity: 1; transform: none; }html:not(.bewegung-an) .hero::before,
  html:not(.bewegung-an) .hero::after { animation: none; }html:not(.bewegung-an) .marquee-track { animation: none; }
}

/* ============================================================
   3D-Animation: Drückprozess auf der Home-Seite
   ============================================================ */
.section--demo3d {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 65%, var(--bg) 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.demo3d {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
}
.demo3d__head {
  max-width: 56ch;
}
.demo3d__head h2 {
  margin: 0.6rem 0 1rem;
}
.demo3d__head h2 .accent {
  color: var(--accent);
  font-style: italic;
  font-weight: 200;
}

.demo3d__stage {
  position: relative;
  background:
    radial-gradient(ellipse 80% 60% at 50% 35%, rgba(255,255,255,0.7) 0%, rgba(241,240,235,0.0) 70%),
    linear-gradient(180deg, #F6F4EE 0%, #ECEAE3 100%);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.6) inset,
    0 30px 80px -40px rgba(11,11,12,0.18);
  isolation: isolate;
}
.demo3d__stage::before,
.demo3d__stage::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 2;
  inset: 0;
}
/* Raster entfernt — nur noch dezente Vignette */
.demo3d__stage::before {
  background: none;
}
/* Vignette + Akzentecke */
.demo3d__stage::after {
  background:
    radial-gradient(circle at 12% 18%, rgba(184,98,63,0.10), transparent 35%),
    radial-gradient(circle at 88% 82%, rgba(11,11,12,0.10), transparent 45%);
}

.demo3d__canvas {
  position: relative;
  z-index: 1;
  width: 100%;
  height: min(85vh, 92vw * 0.5625);   /* 85% der Fensterhöhe ODER 16:9 der Breite */
  min-height: 480px;
}
.demo3d__canvas canvas { display: block; width: 100%; height: 100%; }

.demo3d__hud {
  position: absolute;
  z-index: 3;
  left: clamp(1rem, 2vw, 2rem);
  right: clamp(1rem, 2vw, 2rem);
  bottom: clamp(1rem, 2vw, 1.6rem);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  pointer-events: none;
}
.demo3d__hud-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}
.demo3d__phase {
  font-family: var(--font);
  font-size: clamp(1.1rem, 1.4vw + 0.7rem, 1.6rem);
  font-weight: 300;
  letter-spacing: -0.015em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.demo3d__bar {
  position: relative;
  height: 2px;
  background: var(--line);
  overflow: hidden;
  border-radius: 1px;
}
.demo3d__bar-fill {
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 0.18s linear;
}
.demo3d__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.demo3d__legend span { display: inline-flex; align-items: center; gap: 0.5rem; }
.demo3d__legend .dot {
  width: 8px; height: 8px; border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 1px rgba(11,11,12,0.15) inset;
}
.demo3d__legend .dot--ink    { background: #2a2a2c; }
.demo3d__legend .dot--sheet  { background: #d9d9d6; }
.demo3d__legend .dot--accent { background: var(--accent); box-shadow: 0 0 0 1px rgba(11,11,12,0.05) inset; }

.demo3d__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.demo3d__step {
  padding: 1.1rem 1.2rem 0.2rem;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.demo3d__step:last-child { border-right: 0; }
.demo3d__step b {
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--accent-deep);
}
.demo3d__step span {
  color: var(--ink-2);
  font-size: 0.95rem;
  line-height: 1.4;
  max-width: 28ch;
}

@media (max-width: 760px) {
  .demo3d__steps { grid-template-columns: repeat(2, 1fr); }
  .demo3d__step:nth-child(2) { border-right: 0; }
  .demo3d__step:nth-child(1),
  .demo3d__step:nth-child(2) { border-bottom: 1px solid var(--line); }
  .demo3d__hud { gap: 0.5rem; }
  .demo3d__legend { font-size: 0.7rem; gap: 0.85rem; }
}

@media (prefers-reduced-motion: reduce) {html:not(.bewegung-an) .demo3d__bar-fill { transition: none; }
}

/* ============================================================
   3D-Galerie & Zerspanung-Viewer
   ============================================================ */
.section--gallery3d {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 60%, var(--bg) 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.gallery3d__head {
  display: flex; flex-direction: column; gap: 0.6rem;
  max-width: 56ch; margin-bottom: clamp(2rem, 4vw, 3rem);
}
.gallery3d__head h2 { margin: 0.4rem 0 0.7rem; }
.gallery3d__head h2 .accent {
  color: var(--accent); font-style: italic; font-weight: 200;
}
.gallery3d__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.6rem);
}
.gallery3d__card {
  position: relative;
  background:
    radial-gradient(ellipse 80% 60% at 50% 35%, rgba(255,255,255,0.7) 0%, rgba(241,240,235,0.0) 70%),
    linear-gradient(180deg, #F6F4EE 0%, #ECEAE3 100%);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.gallery3d__card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background-image:
    linear-gradient(to right, rgba(11,11,12,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(11,11,12,0.03) 1px, transparent 1px);
  background-size: 32px 32px, 32px 32px;
  mask-image: radial-gradient(ellipse 90% 90% at 50% 60%, #000 35%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 90% 90% at 50% 60%, #000 35%, transparent 80%);
  opacity: 0.45;
}
.gallery3d__viewer {
  position: relative;
  z-index: 2;
  width: 100%;
  height: clamp(220px, 26vw, 300px);
}
.gallery3d__viewer canvas { display: block; width: 100% !important; height: 100% !important; }
.gallery3d__caption {
  position: relative;
  z-index: 2;
  padding: 0.9rem 1rem 1.1rem;
  border-top: 1px solid var(--line);
  background: rgba(255,255,255,0.55);
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
}
.gallery3d__caption .label {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
}
.gallery3d__caption b {
  font-family: var(--font);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.gallery3d__caption span {
  font-size: 0.85rem;
  color: var(--ink-2);
  line-height: 1.4;
}
.gallery3d__mode {
  position: absolute;
  top: 0.7rem; right: 0.85rem;
  z-index: 3;
  font-family: var(--font);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-deep);
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(184,98,63,0.2);
  padding: 0.18rem 0.55rem;
  border-radius: 99px;
  pointer-events: none;
}

@media (max-width: 900px) {
  .gallery3d__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .gallery3d__grid { grid-template-columns: 1fr; }
}

/* ---- Zerspanungsmaschine im Werkzeugbau-Bereich ---- */
.cnc3d {
  position: relative;
  width: 100%;
  height: clamp(280px, 38vw, 460px);
  background:
    radial-gradient(ellipse 80% 60% at 50% 35%, rgba(255,255,255,0.7) 0%, rgba(241,240,235,0.0) 70%),
    linear-gradient(180deg, #F4F2EC 0%, #E8E5DD 100%);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  isolation: isolate;
}
.cnc3d::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background-image:
    linear-gradient(to right, rgba(11,11,12,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(11,11,12,0.03) 1px, transparent 1px);
  background-size: 36px 36px, 36px 36px;
  mask-image: radial-gradient(ellipse 90% 90% at 50% 60%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 90% 90% at 50% 60%, #000 30%, transparent 80%);
  opacity: 0.45;
}
.cnc3d::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background:
    radial-gradient(circle at 12% 18%, rgba(184,98,63,0.08), transparent 35%),
    radial-gradient(circle at 88% 82%, rgba(11,11,12,0.10), transparent 45%);
}
.cnc3d > [data-3d] {
  position: relative;
  z-index: 3;
  width: 100%;
  height: 100%;
}
.cnc3d > [data-3d] canvas { display: block; width: 100% !important; height: 100% !important; }

/* Foto-Variante: Werkzeugbau-Block mit Foto statt 3D-Animation.
   Schaltet den dekorativen Hintergrund/Grid ab, damit das Bild flaechendeckend wirkt. */
.cnc3d--photo {
  background: #0B0B0C;
}
.cnc3d--photo::before,
.cnc3d--photo::after { display: none; }
.cnc3d__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 1;
}
.cnc3d--photo .cnc3d__caption {
  color: rgba(250,250,247,0.85);
  background: linear-gradient(180deg, rgba(11,11,12,0) 0%, rgba(11,11,12,0.55) 100%);
  padding: 1.5rem 1rem 0.9rem;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
}

.cnc3d__caption {
  position: absolute;
  bottom: 0.9rem; left: 1rem;
  z-index: 4;
  font-family: var(--font);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-2);
}

/* ---- Werkzeugbau-Stack: Video oben + Foto darunter (Home-Seite) ---- */
.werkzeugbau-stack {
  display: flex;
  flex-direction: column;
  gap: clamp(0.75rem, 1.5vw, 1.1rem);
  width: 100%;
}
.werkzeugbau-stack .process-video {
  /* uebernimmt den Look der bestehenden process-video Komponente */
  margin: 0;
}
.werkzeugbau-photo {
  position: relative;
  margin: 0;
  background: #1a1a1d;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  isolation: isolate;
  aspect-ratio: 16 / 9;
}
.werkzeugbau-photo__media {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.werkzeugbau-photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(11,11,12,0) 65%, rgba(11,11,12,0.55) 100%);
}
.werkzeugbau-photo__caption {
  position: absolute;
  left: clamp(0.85rem, 2vw, 1.4rem);
  bottom: clamp(0.7rem, 1.5vw, 1rem);
  z-index: 2;
  font-family: var(--font);
  font-size: clamp(0.62rem, 1.4vw, 0.72rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(250,250,247, 0.92);
}

/* ---- NC-Drückmaschine Video Block (auf Drücken-Seite) ---- */
.machine-video {
  position: relative;
  margin: clamp(2rem, 5vw, 3.5rem) 0 0;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  isolation: isolate;
  aspect-ratio: 16 / 9;
}
.machine-video__media {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.35);
  transform-origin: center center;
  filter: contrast(0.97) saturate(0.85);
}
.machine-video::after {
  /* Subtler accent gradient over the video */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(11,11,12,0) 55%, rgba(11,11,12,0.55) 100%),
    radial-gradient(ellipse 60% 40% at 8% 92%, rgba(184,98,63,0.15), transparent 60%);
}
.machine-video__caption {
  position: absolute;
  left: clamp(1rem, 3vw, 2rem);
  bottom: clamp(0.9rem, 2.5vw, 1.6rem);
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  max-width: 36ch;
}
.machine-video__caption .label {
  color: var(--accent);
  font-size: clamp(0.66rem, 1.5vw, 0.78rem);
}
.machine-video__sub {
  font-family: var(--font);
  font-weight: 300;
  color: rgba(250,250,247, 0.92);
  font-size: clamp(0.92rem, 2vw, 1.1rem);
  line-height: 1.4;
  letter-spacing: -0.005em;
}

@media (max-width: 640px) {
  .machine-video__caption { max-width: 28ch; }
}

@media (max-width: 760px) {
  .machine-video {
    background: transparent;
    border: 0;
  }
  .machine-video__media {
    border: 1px solid var(--line);
    border-radius: 4px;
  }
  .machine-video::after { display: none; }
  .machine-video__caption {
    position: static;
    margin-top: 0.85rem;
    max-width: none;
  }
  .machine-video__sub {
    color: var(--ink-2);
  }
}

/* ---- "Drücken in Bewegung" Prozess-Video (auf Drücken-Seite oben) ---- */
.process-video {
  position: relative;
  width: 100%;
  background: #1a1a1d;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  isolation: isolate;
  aspect-ratio: 16 / 9;
}
.process-video__media {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(0.96);
}
.process-video::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(11,11,12,0) 60%, rgba(11,11,12,0.55) 100%),
    radial-gradient(ellipse 50% 40% at 5% 95%, rgba(184,98,63,0.12), transparent 70%);
}
.process-video__caption {
  position: absolute;
  left: clamp(0.85rem, 2vw, 1.4rem);
  bottom: clamp(0.7rem, 1.5vw, 1rem);
  z-index: 2;
  font-family: var(--font);
  font-size: clamp(0.62rem, 1.4vw, 0.72rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(250,250,247, 0.92);
}

/* Stack zweier process-video Boxen untereinander (z.B. Verfahren-Schritte) */
.video-stack {
  display: flex;
  flex-direction: column;
  gap: clamp(0.75rem, 1.5vw, 1.1rem);
  width: 100%;
}
.video-stack .process-video { margin: 0; }

/* Hochformat-Video (Handy-Aufnahme): ganzes Bild sichtbar, nichts beschnitten */
.process-video--hoch {
  aspect-ratio: 9 / 16;
  max-width: 420px;
  margin-inline: auto;
}
.process-video--hoch .process-video__media {
  object-fit: contain;
}

/* Weiche, unscharfe Kante links und unten am Hochformat-Video */
.process-video--hoch::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  /* Maske: voll deckend an der linken bzw. unteren Kante, nach innen auslaufend */
  -webkit-mask-image:
    linear-gradient(to right, #000 0%, rgba(0,0,0,0) 40%),
    linear-gradient(to top,   #000 0%, rgba(0,0,0,0) 36%);
  mask-image:
    linear-gradient(to right, #000 0%, rgba(0,0,0,0) 40%),
    linear-gradient(to top,   #000 0%, rgba(0,0,0,0) 36%);
}

/* Produktkarte mit echtem Foto statt Icon-Platzhalter */
.product-card__image.has-foto::before { content: none; }
/* gleicher Studio-Grund wie bei den 3D-Karten, damit Foto und 3D
   nebeneinander nicht auseinanderfallen */
.product-card__image.has-foto {
  background: radial-gradient(ellipse 70% 60% at 50% 32%,
              #EDEBE3 0%, #DAD7CD 60%, #C6C3B8 100%);
}
.product-card__image.has-foto img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;   /* nichts abschneiden — ganzes Teil sichtbar */
}

/* Produktkarte mit 3D-Ansicht statt Foto */
.product-card__image.has-3d::before { content: none; }
.product-card__image.has-3d {
  overflow: hidden;
  /* heller Studio-Verlauf: nur so viel Abstufung, dass sich das Teil abhebt */
  background: radial-gradient(ellipse 70% 60% at 50% 32%,
              #EDEBE3 0%, #DAD7CD 60%, #C6C3B8 100%);
}
.product-card__image.has-3d canvas { display: block; width: 100% !important; height: 100% !important; }

/* ============================================================
   Kontakt-Lasche am rechten Bildrand
   ============================================================ */
.kontaktlasche {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9400;
  display: flex;
  align-items: center;      /* nicht strecken: der Reiter bleibt so lang wie sein Text */
  font-family: var(--font);
}

/* Der Reiter, der immer sichtbar am Rand klebt */
.kontaktlasche__reiter {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding: 0.6rem 0.5rem;
  border: 1px solid var(--line);
  border-right: 0;
  border-radius: 10px 0 0 10px;
  background: var(--bg);
  color: var(--ink);
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(11,11,12,0.10);
  transition: background .25s var(--ease), color .25s var(--ease);
}
.kontaktlasche__reiter:hover,
.kontaktlasche.is-offen .kontaktlasche__reiter {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
/* Geschlossen ist der Reiter nur so lang wie das Wort — das Symbol kommt
   erst dazu, wenn das Feld ausgefahren ist. */
.kontaktlasche__reiter svg {
  width: 0; height: 0; opacity: 0; flex-shrink: 0;
  transition: width .3s var(--ease), height .3s var(--ease), opacity .3s var(--ease);
}
.kontaktlasche.is-offen .kontaktlasche__reiter { gap: 0.5rem; padding: 1.05rem 0.6rem; }
.kontaktlasche.is-offen .kontaktlasche__reiter svg { width: 20px; height: 20px; opacity: 1; }
.kontaktlasche__reiter span {
  writing-mode: vertical-rl;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* Das Feld, das nach links aufrollt */
.kontaktlasche__feld {
  width: 0;
  overflow: hidden;
  opacity: 0;
  transition: width .42s var(--ease), opacity .28s var(--ease);
}
.kontaktlasche.is-offen .kontaktlasche__feld {
  width: min(302px, 82vw);
  opacity: 1;
}
.kontaktlasche__innen {
  width: min(302px, 82vw);
  padding: 1.35rem 1.35rem 1.2rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 14px 0 0 14px;
  box-shadow: 0 10px 40px rgba(11,11,12,0.14);
}
.kontaktlasche__label {
  display: block;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.kontaktlasche__adresse {
  display: block;
  margin-top: 0.45rem;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  word-break: break-all;
}
.kontaktlasche__text {
  margin: 0.5rem 0 0.9rem;
  font-size: 0.82rem;
  color: var(--muted);
}
.kontaktlasche__weg {
  display: block;
  padding: 0.65rem 0.8rem;
  margin-bottom: 0.45rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
  color: var(--ink);
  transition: border-color .22s var(--ease), background .22s var(--ease), transform .22s var(--ease);
}
.kontaktlasche__weg:hover {
  border-color: var(--ink);
  background: var(--bg-soft);
  transform: translateX(-2px);
}
.kontaktlasche__weg span { display: block; font-size: 0.9rem; font-weight: 500; }
.kontaktlasche__weg small { display: block; margin-top: 0.1rem; font-size: 0.72rem; color: var(--muted); }
.kontaktlasche__kopieren {
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.6rem 0.8rem;
  border: 0;
  border-radius: 8px;
  background: var(--bg-soft);
  color: var(--muted);
  font-family: var(--font);
  font-size: 0.8rem;
  cursor: pointer;
  transition: background .22s var(--ease), color .22s var(--ease);
}
.kontaktlasche__kopieren:hover { background: var(--ink); color: var(--bg); }
.kontaktlasche__kopieren.is-fertig { background: var(--accent); color: #fff; }

@media (max-width: 620px) {
  .kontaktlasche__reiter { padding: 0.5rem 0.42rem; }
  .kontaktlasche__reiter span { font-size: 0.66rem; letter-spacing: 0.12em; }
}
@media (prefers-reduced-motion: reduce) {html:not(.bewegung-an) .kontaktlasche__feld { transition: none; }
}

/* ============================================================
   Hochglanz-Schrift — poliertes Metall als Fuellung
   ============================================================ */
.page-hero h1.hochglanz {
  /* Mehr Strichstaerke als die uebrigen Ueberschriften: eine Haarlinie bietet
     dem Verlauf zu wenig Flaeche, die hellen Stellen wuerden im hellen
     Seitenhintergrund verschwinden. */
  font-weight: 500;
  letter-spacing: -0.035em;
  /* Wechsel aus dunklen Zonen und harten hellen Glanzkanten. Genau dieser
     schnelle Hell-Dunkel-Wechsel laesst eine Flaeche poliert wirken —
     ein weicher Verlauf wuerde nur matt aussehen. */
  background-image: linear-gradient(96deg,
      #3f3f43  0%,
      #6e6e74  9%,
      #b9b9c0 15%,
      #fbfbfd 19%,
      #cfcfd6 23%,
      #75757b 31%,
      #47474b 41%,
      #8c8c93 50%,
      #e6e6ec 56%,
      #ffffff 60%,
      #a8a8af 66%,
      #56565b 76%,
      #9b9ba2 88%,
      #434347 100%);
  /* stehende Optik: fester Glanz, kein Durchlauf */
  background-size: 175% 100%;
  background-position: 78% 0;
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  /* haarfeine dunkle Kontur: haelt die Buchstabenform lesbar, auch dort wo
     der Verlauf fast weiss wird */
  -webkit-text-stroke: 0.7px rgba(40,40,45,0.55);
  /* feine dunkle Kante, damit die hellen Stellen nicht im hellen
     Seitenhintergrund verschwinden */
  filter: drop-shadow(0 2px 1px rgba(11,11,12,0.22))
          drop-shadow(0 10px 24px rgba(11,11,12,0.14));
  position: relative;
}

/* Glanzsterne: blitzen abwechselnd links und rechts auf, wie das Reflexlicht,
   das ueber eine frisch polierte Flaeche wandert. */
.page-hero h1.hochglanz::before,
.page-hero h1.hochglanz::after {
  content: "";
  position: absolute;
  width: 0.46em;
  height: 0.46em;
  pointer-events: none;
  background: no-repeat center/contain
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cdefs%3E%3CradialGradient id='k'%3E%3Cstop offset='0' stop-color='%23fff'/%3E%3Cstop offset='0.55' stop-color='%23fff' stop-opacity='0.55'/%3E%3Cstop offset='1' stop-color='%23fff' stop-opacity='0'/%3E%3C/radialGradient%3E%3C/defs%3E%3Ccircle cx='50' cy='50' r='30' fill='url(%23k)'/%3E%3Cpath d='M50 2 C53 38 62 47 98 50 C62 53 53 62 50 98 C47 62 38 53 2 50 C38 47 47 38 50 2Z' fill='%23ffffff' stroke='%23555a63' stroke-width='1.6' stroke-opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0;
  /* dunkler Saum: sonst geht der weisse Stern auf den hellen Stellen des
     Verlaufs unter */
  filter: drop-shadow(0 0 1.5px rgba(45,45,52,0.85))
          drop-shadow(0 0 7px rgba(255,255,255,0.95));
  animation: glanzsternBlitz 2.2s ease-in-out infinite;
}
/* links, oben */
.page-hero h1.hochglanz::after  { left: 4.5%;  top: -6%; }
/* rechts, tiefer — und um die halbe Runde versetzt, daher das Nacheinander */
.page-hero h1.hochglanz::before { left: 33%;   top: 16%; animation-delay: 1.1s; }

@keyframes glanzsternBlitz {
  0%,  40%  { opacity: 0;    transform: scale(0.25) rotate(-12deg); }
  48%       { opacity: 1;    transform: scale(1)    rotate(0deg); }
  55%       { opacity: 0.5;  transform: scale(0.7)  rotate(5deg); }
  61%       { opacity: 0.95; transform: scale(0.9)  rotate(0deg); }
  72%, 100% { opacity: 0;    transform: scale(0.25) rotate(10deg); }
}

@media (prefers-reduced-motion: reduce) {html:not(.bewegung-an) .page-hero h1.hochglanz::before,
  html:not(.bewegung-an) .page-hero h1.hochglanz::after { animation: none; opacity: 0.9; transform: scale(0.9); }
}

/* Kopfbereich ohne Kennwert-Leiste: der Fussraum, den die Leiste gefuellt
   hat, wird mit entfernt, damit unter der Ueberschrift keine Luecke bleibt. */
.page-hero--knapp { padding-bottom: clamp(1.5rem, 2.5vw, 2.25rem); }

/* Foto in der rechten Haelfte des Finish-Kopfbereichs.
   Laeuft nach links weich aus, damit Ueberschrift und Lead lesbar bleiben. */
.page-hero__foto {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 50%;
  z-index: 1;
  pointer-events: none;
  /* heller Schleier ueber dem Foto — der Lead-Text liegt darauf und muss
     lesbar bleiben; nach rechts wird das Foto freier */
  background:
    linear-gradient(100deg,
      rgba(250,250,247,0.92) 0%,
      rgba(250,250,247,0.72) 38%,
      rgba(250,250,247,0.40) 68%,
      rgba(250,250,247,0.18) 100%),
    url("zacher-finish-hero-bg.jpg") center center / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg,
      rgba(0,0,0,0) 0%, rgba(0,0,0,0.25) 30%, rgba(0,0,0,0.85) 62%, #000 100%);
          mask-image: linear-gradient(90deg,
      rgba(0,0,0,0) 0%, rgba(0,0,0,0.25) 30%, rgba(0,0,0,0.85) 62%, #000 100%);
}
/* auf schmalen Schirmen wuerde das Foto den Text bedraengen */
@media (max-width: 820px) {
  .page-hero__foto { width: 42%; opacity: 0.55; }
}
@media (max-width: 560px) {
  .page-hero__foto { display: none; }
}

/* ============================================================
   Rubriken 01-03 auf polierter Metallflaeche
   Aufbau in drei Lagen, von oben nach unten:
     1. weisser Schleier  — haelt die Flaeche hell genug fuer den Text
     2. feine Schleifspuren — senkrecht, wie auf einer gedrueckten Flaeche
     3. Glanzverlauf      — helle Lichtbaender und dunklere Zonen
   ============================================================ */
.fact-grid--poliert .fact {
  position: relative;
  background:
    /* 1 — Lesbarkeitsschleier, oben dichter als unten */
    linear-gradient(180deg,
      rgba(252,252,250,0.58) 0%,
      rgba(252,252,250,0.46) 45%,
      rgba(252,252,250,0.40) 100%),
    /* 2 — Schleifspuren */
    repeating-linear-gradient(96deg,
      rgba(255,255,255,0.55) 0px,
      rgba(255,255,255,0.55) 1px,
      rgba(120,120,128,0.16) 2px,
      rgba(255,255,255,0.35) 3px,
      rgba(150,150,158,0.10) 5px),
    /* 3 — Glanzverlauf wie auf der polierten Kugel */
    linear-gradient(103deg,
      #b3b2ae  0%,
      #e4e2dd 12%,
      #ffffff 20%,
      #cecdc8 30%,
      #918f8d 42%,
      #bfbeba 54%,
      #efedea 64%,
      #ffffff 70%,
      #bcbbb7 80%,
      #8c8b89 92%,
      #b0afab 100%);
}

/* Lichtreflex oben links — das Kennzeichen einer polierten Woelbung */
.fact-grid--poliert .fact::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 55% 45% at 22% 12%,
      rgba(255,255,255,0.80) 0%,
      rgba(255,255,255,0.30) 45%,
      rgba(255,255,255,0) 75%);
}

/* Text ueber die Lagen heben und Kontrast sichern */
.fact-grid--poliert .fact > * { position: relative; z-index: 1; }
.fact-grid--poliert .fact h3 { color: #17171a; }
.fact-grid--poliert .fact p  { color: #46464b; }
.fact-grid--poliert .fact .label { color: #6a6a70; }

/* Trennfugen dunkler, damit die drei Felder als Flaechen lesbar bleiben */
.fact-grid--poliert { background: #b6b5b1; border-color: #b6b5b1; }

/* Gebuerstetes Edelstahl-Foto in der rechten Haelfte des Oberflaechen-
   Abschnitts. Gleiche Machart wie im Kopfbereich: nach links auslaufend,
   heller Schleier darueber, Inhalt liegt darauf. */
.section--stahlfoto { position: relative; overflow: hidden; }
.section--stahlfoto > .wrap { position: relative; z-index: 2; }
.section__foto {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 50%;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(100deg,
      rgba(250,250,247,0.94) 0%,
      rgba(250,250,247,0.80) 38%,
      rgba(250,250,247,0.58) 68%,
      rgba(250,250,247,0.38) 100%),
    var(--sektion-foto, url("zacher-oberflaechen-bg.jpg")) center center / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg,
      rgba(0,0,0,0) 0%, rgba(0,0,0,0.25) 30%, rgba(0,0,0,0.85) 62%, #000 100%);
          mask-image: linear-gradient(90deg,
      rgba(0,0,0,0) 0%, rgba(0,0,0,0.25) 30%, rgba(0,0,0,0.85) 62%, #000 100%);
}
@media (max-width: 820px) {
  .section__foto { width: 45%; opacity: 0.5; }
}
@media (max-width: 560px) {
  .section__foto { display: none; }
}

/* Stanzen: Abfallgitter als halber Hintergrund, Ronden im Fotorahmen */
.section--stanzfoto { --sektion-foto: url("zacher-stanzen-gitter.jpg"); }
.section--stanzfoto .section__foto {
  background-image:
    linear-gradient(100deg,
      rgba(250,250,247,0.96) 0%,
      rgba(250,250,247,0.88) 38%,
      rgba(250,250,247,0.74) 68%,
      rgba(250,250,247,0.58) 100%),
    var(--sektion-foto);
}

.photo-ph.has-foto {
  border-style: solid;
  border-color: var(--line);
  padding: 0;
}
.photo-ph.has-foto::before { content: none; }      /* Aufkleber "Foto-Platzhalter" weg */
.photo-ph.has-foto .deco,
.photo-ph.has-foto .photo-ph__hint { display: none; }
.photo-ph.has-foto img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

/* ============================================================
   Ueberschrift als Stanzvorgang
   Die Platte traegt eine Blechoptik, das Wort ist die Aussparung:
   es zeigt den Seitenhintergrund, umlaufend eine Schnittkante aus
   dunklem Schatten oben und heller Lichtkante unten.
   ============================================================ */
.stanzplatte {
  display: inline-block;
  position: relative;
  padding: 0.35em 0.6em 0.45em;
  /* Negativer Rand links: das Blech ragt um seine eigene Polsterung nach
     aussen, dadurch steht das ausgestanzte Wort buendig am Satzspiegel wie
     die Ueberschriften der uebrigen Seiten. Oben kein Abstand, damit die
     Platte nicht in den Kreis im Hintergrund faellt. */
  margin: 0 0 1.5rem calc(-0.6em - 2px);
  border-radius: 10px;
  /* Blechtafel: Schliffspuren plus Lichtverlauf */
  background:
    repeating-linear-gradient(94deg,
      rgba(255,255,255,0.50) 0px,
      rgba(255,255,255,0.50) 1px,
      rgba(120,120,128,0.13) 2px,
      rgba(255,255,255,0.30) 3px,
      rgba(150,150,158,0.09) 5px),
    linear-gradient(101deg,
      #b8b7b3  0%, #dedcd7 14%, #f2f0ec 22%, #c9c8c4 34%,
      #9d9c9a 46%, #c4c3bf 58%, #eae8e4 68%, #ffffff 74%,
      #c2c1bd 84%, #9a9997 94%, #b5b4b0 100%);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.75) inset,
    0 -1px 0 rgba(0,0,0,0.10) inset,
    0 10px 30px rgba(11,11,12,0.13);
}
/* Solange das Skript den Ablauf steuert, laeuft nichts von allein */
.stanzplatte.is-wort { animation: plattenSchlag 640ms var(--ease) both; }

.page-hero h1.ausgestanzt {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.03em;
  /* Farbe der Aussparung = Seitenhintergrund, dadurch der Durchblick */
  color: var(--bg);
  -webkit-text-fill-color: var(--bg);
  /* Schnittkante: oben Schatten, unten Lichtkante — das laesst die
     Buchstaben in die Platte hineinfallen statt darauf zu liegen */
  text-shadow:
    0 -1px 1px rgba(20,20,24,0.55),
    0 -2px 4px rgba(20,20,24,0.30),
    0  1px 0   rgba(255,255,255,0.90),
    0  2px 3px rgba(255,255,255,0.55);
}
/* ohne Skript (oder bei reduzierter Bewegung) steht das Wort sofort */
.stanzplatte.js-stanz h1.ausgestanzt { opacity: 0; }
.stanzplatte.is-wort  h1.ausgestanzt { animation: stanzHub 640ms var(--ease) both; }

/* Der Stempel faehrt herunter, setzt auf, das Wort bricht durch */
@keyframes stanzHub {
  0%      { opacity: 0; transform: translateY(-0.16em) scaleY(1.06); filter: blur(1.6px); }
  30%     { opacity: 0; transform: translateY(-0.05em) scaleY(1.02); filter: blur(0.8px); }
  40%     { opacity: 1; transform: translateY(0.035em) scaleY(0.965); filter: blur(0); }
  56%     { transform: translateY(-0.012em) scaleY(1.008); }
  72%     { transform: translateY(0.006em) scaleY(0.997); }
  100%    { opacity: 1; transform: translateY(0) scaleY(1); filter: blur(0); }
}

/* Die Platte federt im Moment des Aufsetzens kurz durch */
@keyframes plattenSchlag {
  0%, 36% { transform: translateY(0) scaleY(1); }
  41%     { transform: translateY(7px) scaleY(0.985); }   /* Aufschlag */
  47%     { transform: translateY(-3.5px) scaleY(1.008); }
  56%     { transform: translateY(2px) scaleY(0.996); }
  66%     { transform: translateY(-1px); }
  78%,100%{ transform: translateY(0) scaleY(1); }
}

@media (prefers-reduced-motion: reduce) {html:not(.bewegung-an) .stanzplatte,
  html:not(.bewegung-an) .stanzplatte.is-wort,
  html:not(.bewegung-an) .page-hero h1.ausgestanzt,
  html:not(.bewegung-an) .stanzplatte.is-wort h1.ausgestanzt { animation: none; opacity: 1; transform: none; filter: none; }
}

/* Rundloecher auf der Stanzplatte — gleiche Schnittkante wie beim Wort:
   oben Schatten, unten Lichtkante, Fuellung in Seitenhintergrundfarbe. */
.stanzloch {
  position: absolute;
  transform: translate(-50%, -50%) scale(0.35);
  border-radius: 50%;
  background: var(--bg);
  box-shadow:
    inset 0  2px 3px rgba(20,20,24,0.50),
    inset 0 -1px 1px rgba(255,255,255,0.55),
    0 1px 0 rgba(255,255,255,0.85);
  opacity: 0;
  pointer-events: none;
  animation: lochStanz 190ms var(--ease) both;
}

@keyframes lochStanz {
  0%   { opacity: 0; transform: translate(-50%, -50%) scale(0.30); }
  55%  { opacity: 1; transform: translate(-50%, -50%) scale(1.16); }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

/* Blech raeumen: die Loecher schliessen sich wieder */
.stanzloch.is-weg { animation: lochWeg 300ms var(--ease) both; }
@keyframes lochWeg {
  0%   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(0.25); }
}

/* etwas mehr Rand, damit die Loecher Platz neben dem Wort haben */
.stanzplatte { padding: 0.78em 0.9em 0.86em; }


/* ============================================================
   Wucht sichtbar machen
   ============================================================ */

/* Die Presse laeuft: das Blech zittert im Takt der Hube */
.stanzplatte.is-lochen { animation: presseLaeuft 96ms linear infinite; }
@keyframes presseLaeuft {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(0.7px); }
}

/* Jeder Lochhub schlaegt eine Druckwelle ins Blech */
.stanzloch::after {
  content: "";
  position: absolute;
  inset: -60%;
  border-radius: 50%;
  border: 2px solid rgba(30,30,36,0.55);
  opacity: 0;
  animation: druckwelle 320ms var(--ease) both;
  animation-delay: inherit;
  pointer-events: none;
}
@keyframes druckwelle {
  0%   { opacity: 0;    transform: scale(0.30); border-width: 3px; }
  18%  { opacity: 0.85; transform: scale(0.75); border-width: 2.5px; }
  100% { opacity: 0;    transform: scale(2.1);  border-width: 0.5px; }
}

/* Der Stempel: faehrt herunter, treibt durch das Blech, geht zurueck */
.stanzstempel {
  position: absolute;
  left: 50%;
  bottom: 6%;
  width: 88%;
  height: 118%;
  margin-left: -44%;
  border-radius: 4px 4px 3px 3px;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-118%);
  background:
    linear-gradient(180deg,
      rgba(255,255,255,0.22) 0%, rgba(255,255,255,0) 14%,
      rgba(0,0,0,0.10) 72%, rgba(0,0,0,0.42) 100%),
    linear-gradient(96deg,
      #6b6b73 0%, #9a9aa3 16%, #55555c 34%, #86868f 52%,
      #4c4c53 70%, #7c7c85 86%, #5a5a61 100%);
  box-shadow:
    0 -2px 0 rgba(255,255,255,0.18) inset,
    0 14px 26px rgba(11,11,12,0.45);
}
.stanzplatte.is-wort .stanzstempel { animation: stempelHub 640ms var(--ease) both; }

@keyframes stempelHub {
  0%   { opacity: 1; transform: translateY(-104%); }
  30%  { opacity: 1; transform: translateY(-30%); }    /* Anlauf */
  40%  { opacity: 1; transform: translateY(6%); }      /* durchgetrieben */
  47%  { opacity: 1; transform: translateY(-4%); }
  64%  { opacity: 1; transform: translateY(-62%); }    /* Rueckhub */
  86%  { opacity: 0.3; transform: translateY(-104%); }
  100% { opacity: 0; transform: translateY(-104%); }
}

/* Aufschlagblitz im Moment des Durchbruchs */
.stanzplatte.is-wort::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  z-index: 4;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(ellipse 70% 120% at 50% 50%,
      rgba(255,255,255,0.85) 0%, rgba(255,255,255,0) 70%);
  animation: aufschlagBlitz 640ms var(--ease) both;
}
@keyframes aufschlagBlitz {
  0%, 36% { opacity: 0; }
  41%     { opacity: 0.9; }
  52%     { opacity: 0; }
  100%    { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {html:not(.bewegung-an) .stanzplatte.is-lochen,
  html:not(.bewegung-an) .stanzloch::after,
  html:not(.bewegung-an) .stanzstempel,
  html:not(.bewegung-an) .stanzplatte.is-wort::after { animation: none; opacity: 0; }
}

/* ============================================================
   Ueberschrift 3D-Lasern: der Schnitt laeuft von links nach rechts
   Lagen:  Blech  →  fertiger Schnitt (waechst mit)  →  Glutzone
           →  Strahl  →  Funken
   ============================================================ */
.laserplatte {
  display: inline-block;
  position: relative;
  padding: 0.78em 0.9em 0.86em;
  margin: 0.5rem 0 1.5rem;
  border-radius: 10px;
  background:
    repeating-linear-gradient(94deg,
      rgba(255,255,255,0.50) 0px,
      rgba(255,255,255,0.50) 1px,
      rgba(120,120,128,0.13) 2px,
      rgba(255,255,255,0.30) 3px,
      rgba(150,150,158,0.09) 5px),
    linear-gradient(101deg,
      #b8b7b3  0%, #dedcd7 14%, #f2f0ec 22%, #c9c8c4 34%,
      #9d9c9a 46%, #c4c3bf 58%, #eae8e4 68%, #ffffff 74%,
      #c2c1bd 84%, #9a9997 94%, #b5b4b0 100%);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.75) inset,
    0 -1px 0 rgba(0,0,0,0.10) inset,
    0 10px 30px rgba(11,11,12,0.13);
}

/* Der fertige Schnitt — gleiche Kante wie beim Stanzen */
.page-hero h1.gelasert {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--bg);
  -webkit-text-fill-color: var(--bg);
  text-shadow:
    0 -1px 1px rgba(20,20,24,0.55),
    0 -2px 4px rgba(20,20,24,0.30),
    0  1px 0   rgba(255,255,255,0.90),
    0  2px 3px rgba(255,255,255,0.55);
}
/* Solange das Skript laeuft, waechst der Schnitt von links herein */
.laserplatte.js-laser h1.gelasert {
  clip-path: inset(0 100% 0 0);
  animation: schnittWaechst var(--laserzeit, 2.4s) linear both;
}
@keyframes schnittWaechst {
  from { clip-path: inset(0 100% 0 0); }
  to   { clip-path: inset(0 0%   0 0); }
}

/* Glutzone: dieselbe Schrift in Schnittfarbe, nur im wandernden Band sichtbar.
   Position und Schriftgroesse setzt das Skript vom h1 ab. */
.laserglut {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  white-space: pre;
  color: #fff5d8;
  text-shadow:
    0 0 4px #ffd98a,
    0 0 12px #ff9c2e,
    0 0 26px rgba(255,120,20,0.85),
    0 0 46px rgba(255,80,0,0.45);
  /* schmales Band, das dem Strahl nachlaeuft — vor dem Schnitt darf
     das Blech nicht gluehen */
  -webkit-mask-image: linear-gradient(90deg,
      transparent 0%, transparent 29.5%, rgba(0,0,0,0.35) 31.5%,
      #000 33%, #000 33.8%, rgba(0,0,0,0.30) 35%, transparent 36.5%,
      transparent 100%);
          mask-image: linear-gradient(90deg,
      transparent 0%, transparent 29.5%, rgba(0,0,0,0.35) 31.5%,
      #000 33%, #000 33.8%, rgba(0,0,0,0.30) 35%, transparent 36.5%,
      transparent 100%);
  -webkit-mask-size: 300% 100%;
          mask-size: 300% 100%;
  animation: glutBand var(--laserzeit, 2.4s) linear both;
}
@keyframes glutBand {
  from { -webkit-mask-position: -100% 0; mask-position: -100% 0; }
  to   { -webkit-mask-position:  100% 0; mask-position:  100% 0; }
}

/* Der Strahl mit Brennpunkt */
.laserstrahl {
  position: absolute;
  top: -14%;
  bottom: -14%;
  width: 3px;
  margin-left: -1.5px;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(180deg,
      rgba(255,255,255,0) 0%, rgba(255,240,200,0.55) 14%,
      #ffffff 46%, #ffe6a8 60%, rgba(255,150,40,0.5) 86%,
      rgba(255,120,0,0) 100%);
  box-shadow:
    0 0 6px 2px rgba(255,215,130,0.9),
    0 0 18px 6px rgba(255,150,40,0.55),
    0 0 40px 14px rgba(255,110,10,0.28);
  animation: strahlFahrt var(--laserzeit, 2.4s) linear both;
}
@keyframes strahlFahrt {
  from { left: 0.6em;  opacity: 1; }
  92%  { opacity: 1; }
  to   { left: calc(100% - 0.6em); opacity: 0; }
}

/* Funken */
.laserfunke {
  position: absolute;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: #fff1c4;
  box-shadow: 0 0 5px 1px rgba(255,170,50,0.95);
  opacity: 0;
  z-index: 4;
  pointer-events: none;
  animation: funkeFlug 620ms ease-out both;
}
@keyframes funkeFlug {
  0%   { opacity: 1; transform: translate(0,0) scale(1); }
  70%  { opacity: 0.9; }
  100% { opacity: 0; transform: translate(var(--fx), var(--fy)) scale(0.35); }
}

@media (prefers-reduced-motion: reduce) {html:not(.bewegung-an) .laserplatte.js-laser h1.gelasert { clip-path: none; animation: none; }html:not(.bewegung-an) .laserglut,
  html:not(.bewegung-an) .laserstrahl,
  html:not(.bewegung-an) .laserfunke { display: none; }
}

/* 3D-Ansicht im Fotorahmen (Laserschnitt) */
.photo-ph.has-3d {
  border-style: solid;
  border-color: var(--line);
  background: radial-gradient(ellipse 70% 60% at 50% 34%,
      #ecebe4 0%, #dcdad3 58%, #c8c6bd 100%);
}
.photo-ph.has-3d::before { content: none; }
.photo-ph.has-3d canvas { display: block; width: 100% !important; height: 100% !important; }

/* 3D-Lasern: Schneidkopf-Aufnahme als halber Hintergrund.
   Das Motiv ist dunkel und kontrastreich — der Schleier ist entsprechend
   dichter als bei den helleren Motiven auf den anderen Seiten. */
.section--laserfoto { --sektion-foto: url("zacher-lasern-bg.jpg"); }
.section--laserfoto .section__foto {
  background-image:
    linear-gradient(100deg,
      rgba(250,250,247,0.97) 0%,
      rgba(250,250,247,0.90) 36%,
      rgba(250,250,247,0.78) 66%,
      rgba(250,250,247,0.62) 100%),
    var(--sektion-foto);
}

/* ============================================================
   Konturschnitt: 2D-Laserschnitt eines Bronzerings
   ============================================================ */
.konturschnitt {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.62fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
}
.konturschnitt__svg {
  width: 100%;
  max-width: 460px;
  justify-self: center;
  aspect-ratio: 1 / 1;
  overflow: visible;
}

/* Blech und Teil */
.ks-blech { filter: drop-shadow(0 8px 22px rgba(11,11,12,0.18)); }
.ks-rest  { transition: opacity .5s var(--ease); }
.ks-teil  { transition: opacity .4s var(--ease), transform .7s var(--ease); transform-origin: center; }
.konturschnitt.is-fertig .ks-teil { transform: translate(0, -3px) scale(1.04); }

/* Schnittlinien */
.ks-linie {
  fill: none;
  stroke: #2a2a2e;
  stroke-width: 1.1;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
}
.ks-linie.is-aktiv { opacity: 1; }

/* Brennpunkt */
.ks-brenn {
  fill: #fff6e0;
  filter: drop-shadow(0 0 3px #ffd27a)
          drop-shadow(0 0 9px #ff9a2e)
          drop-shadow(0 0 20px rgba(255,110,10,0.75));
}

/* Schrittliste */
.konturschnitt__schritte {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: ks;
}
.konturschnitt__schritte li {
  counter-increment: ks;
  position: relative;
  padding: 0.75rem 0 0.75rem 2.6rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
  transition: color .3s var(--ease);
}
.konturschnitt__schritte li::before {
  content: "0" counter(ks);
  position: absolute;
  left: 0;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--line-strong);
  top: 1rem;
  transition: color .3s var(--ease);
}
.konturschnitt__schritte li.is-aktiv { color: var(--ink); }
.konturschnitt__schritte li.is-aktiv::before { color: var(--accent); }

@media (max-width: 820px) {
  .konturschnitt { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {html:not(.bewegung-an) .ks-brenn { display: none; }
}

/* ============================================================
   Abkanten auf dem Säulenstanzwerkzeug (Abschnitt Stanzen)
   ============================================================ */
.abkanten {
  display: block;
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
}
.abkanten__buehne {
  width: 100%;
  aspect-ratio: 21 / 9;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: radial-gradient(ellipse 70% 60% at 50% 30%,
      #ecebe4 0%, #dcdad3 58%, #c6c3ba 100%);
}
.abkanten__buehne canvas { display: block; width: 100% !important; height: 100% !important; }
.abkanten__hinweis {
  margin: 0.8rem 0 0;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: var(--muted);
  opacity: 0.78;
}
.abkanten__schritte {
  list-style: none; margin: 1.5rem 0 0; padding: 0; counter-reset: ab;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 clamp(1rem, 2.5vw, 2.25rem);
}
.abkanten__schritte li {
  counter-increment: ab;
  padding: 0.85rem 0 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}
.abkanten__schritte li::before {
  content: "0" counter(ab);
  display: block; margin-bottom: 0.4rem;
  font-size: 0.7rem; letter-spacing: 0.14em; color: var(--accent);
}
@media (max-width: 820px) {
  .abkanten__buehne { aspect-ratio: 16 / 10; }
  .abkanten__schritte { grid-template-columns: 1fr 1fr; gap: 0 1.25rem; }
}
@media (max-width: 560px) {
  .abkanten__buehne { aspect-ratio: 4 / 3; }
  .abkanten__schritte { grid-template-columns: 1fr; }
}

/* Abkanten: Zeichnung 07602 (Kontaktring) als halber Hintergrund */
.section--kontaktring { --sektion-foto: url("zacher-kontaktring-bg.jpg"); }
.section--kontaktring .section__foto {
  background-image:
    linear-gradient(100deg,
      rgba(250,250,247,0.95) 0%,
      rgba(250,250,247,0.84) 38%,
      rgba(250,250,247,0.60) 70%,
      rgba(250,250,247,0.42) 100%),
    var(--sektion-foto);
  background-size: cover, cover;
  background-position: center, center right;
}

/* Finish · Oberflächen: zweites Foto halb unten links */
.section__foto--unten-links {
  position: absolute;
  left: 0; bottom: 0; right: auto; top: auto;
  width: 52%; height: 74%;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(to top,
      rgba(250,250,247,0.10) 0%,
      rgba(250,250,247,0.38) 44%,
      rgba(250,250,247,0.80) 78%,
      rgba(250,250,247,0.97) 100%),
    var(--sektion-foto-links, url("zacher-finish-teile-bg.jpg")) center center / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg,
      #000 0%, rgba(0,0,0,0.95) 52%, rgba(0,0,0,0.48) 80%, rgba(0,0,0,0) 100%);
          mask-image: linear-gradient(90deg,
      #000 0%, rgba(0,0,0,0.95) 52%, rgba(0,0,0,0.48) 80%, rgba(0,0,0,0) 100%);
}
@media (max-width: 820px) {
  .section__foto--unten-links { width: 64%; height: 58%; opacity: 0.75; }
}
@media (max-width: 560px) {
  .section__foto--unten-links { display: none; }
}

/* Hinweis unter einer frei drehbaren 3D-Ansicht */
/* Hinweis unter einer frei drehbaren 3D-Ansicht — deutlich sichtbar, mit
   Drehpfeil-Symbol. Vorher war es eine blasse Kleinschrift, die niemand las. */
.drehhinweis {
  margin: 0.9rem 0 0;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.95rem 0.5rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: var(--bg);
  font-size: 0.9rem;
  line-height: 1.3;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.drehhinweis svg {
  width: 20px; height: 20px; flex: none;
  color: var(--accent);
  animation: drehWink 3.4s var(--ease) infinite;
}
.drehhinweis b { font-weight: 600; }
.drehhinweis span { color: var(--muted); }
@keyframes drehWink {
  0%, 62%, 100% { transform: rotate(0deg); }
  72%           { transform: rotate(28deg); }
  84%           { transform: rotate(-20deg); }
}

/* Kleines Zeichen in der Ecke jeder drehbaren Ansicht. Setzt das Skript
   selbst ein; verschwindet beim ersten Ziehen. */
.dreh-zeichen {
  position: absolute;
  right: 0.6rem; bottom: 0.6rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.28rem 0.55rem 0.28rem 0.42rem;
  border-radius: 100px;
  background: rgba(250, 250, 247, 0.82);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  pointer-events: none;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.dreh-zeichen svg {
  width: 14px; height: 14px;
  color: var(--accent);
  animation: drehWink 3.4s var(--ease) infinite;
}
.dreh-zeichen.ist-weg { opacity: 0; transform: translateY(4px); }

@media (prefers-reduced-motion: reduce) {html:not(.bewegung-an) .drehhinweis svg,
  html:not(.bewegung-an) .dreh-zeichen svg { animation: none; }
}

/* ============================================================
   Rechtsseiten (Impressum, Datenschutz)
   ============================================================ */
.rechtstext {
  max-width: 72ch;
}
.rechtstext h2 {
  font-size: clamp(1.15rem, 1.7vw, 1.42rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  margin: 2.6rem 0 0.7rem;
  color: var(--ink);
}
.rechtstext h2:first-child { margin-top: 0; }
.rechtstext p {
  margin: 0 0 0.9rem;
  color: var(--muted);
  line-height: 1.72;
  font-size: 0.98rem;
}
.rechtstext a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.rechtstext a:hover { color: var(--terracotta); }
.rechtstext .platzhalter {
  font-style: normal;
  color: var(--muted);
  opacity: 0.75;
  border-bottom: 1px dashed var(--line-strong);
}
.rechtstext .form-note { margin-top: 2.8rem; }

/* ============================================================
   Anfahrtskarte (laedt erst auf Klick)
   ============================================================ */
.karte {
  position: relative;
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  aspect-ratio: 21 / 9;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  background:
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 100% 46px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 46px 100%,
    var(--bg-soft);
}
.karte iframe { display: block; width: 100%; height: 100%; border: 0; }
.karte__platzhalter {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.9rem; text-align: center; padding: 1.5rem;
  background: radial-gradient(ellipse 70% 70% at 50% 50%,
      rgba(250,250,247,0.96) 0%, rgba(250,250,247,0.86) 60%, rgba(250,250,247,0.7) 100%);
}
.karte__platzhalter svg { width: 34px; height: 34px; color: var(--terracotta); }
.karte__adresse { margin: 0; font-size: 0.98rem; color: var(--muted); line-height: 1.6; }
.karte__adresse b { display: block; color: var(--ink); font-weight: 500; }
.karte__hinweis {
  margin: 0; max-width: 46ch;
  font-size: 0.76rem; line-height: 1.55; color: var(--muted); opacity: 0.8;
}
.karte__route { margin: 1rem 0 0; font-size: 0.92rem; }
.karte__route a { color: var(--ink-2); text-decoration: none; border-bottom: 1px solid var(--line-strong); padding-bottom: 2px; }
.karte__route a:hover { color: var(--terracotta); border-color: var(--terracotta); }
@media (max-width: 700px) { .karte { aspect-ratio: 4 / 3; } }

/* ============================================================
   Team
   ============================================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.2rem, 2.4vw, 2rem);
}
.team-karte {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.team-karte:hover { border-color: var(--ink); transform: translateY(-3px); }
.team-karte__bild {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: radial-gradient(ellipse 70% 60% at 50% 34%,
      #EDEBE3 0%, #DAD7CD 60%, #C6C3B8 100%);
}
.team-karte__bild img {
  display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
}
.team-karte__body { padding: 1.25rem 1.4rem 1.6rem; }
.team-karte__name {
  margin: 0;
  font-size: 1.2rem; font-weight: 500; letter-spacing: -0.01em; color: var(--ink);
}
.team-karte__rolle {
  display: block; margin-top: 0.3rem;
  font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.15em;
  color: var(--terracotta);
}
.team-karte__text {
  margin: 0.9rem 0 0;
  font-size: 0.92rem; line-height: 1.65; color: var(--muted);
}
.team-karte .platzhalter {
  font-style: normal; opacity: 0.7;
  border-bottom: 1px dashed var(--line-strong);
}
@media (max-width: 900px) { .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .team-grid { grid-template-columns: 1fr; } }

/* Datenschutzhinweis unter dem Kontaktformular */
.form-hinweis {
  margin: 0 0 1.2rem;
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--muted);
  opacity: 0.85;
}
.form-hinweis a { color: var(--ink-2); }

/* Pflichtangaben im Kontaktformular */
.pflicht {
  color: var(--accent, #c8102e);
  font-weight: 600;
  text-decoration: none;
  border: 0;
  cursor: help;
}
.form-hinweis .pflicht { opacity: 1; }

/* ============================================================
   Maße, Werkstoffe, Stückzahlen — der Könnensblock auf der
   Produktseite. Große Zahlen, danach Schlagwörter als Marken.
   ============================================================ */
.koennen {
  margin-top: clamp(3rem, 6vw, 5rem);
  padding: clamp(2rem, 4.5vw, 3.75rem) clamp(1.5rem, 4vw, 3.5rem);
  border-radius: 24px;
  background:
    radial-gradient(ellipse 80% 120% at 12% 0%, rgba(184,98,63,0.07) 0%, rgba(184,98,63,0) 62%),
    var(--bg-soft);
  border: 1px solid var(--line);
}
.koennen__kopf { text-align: center; margin-bottom: clamp(2rem, 4vw, 3rem); }
.koennen__kopf .label--accent { display: inline-block; margin-bottom: 0.9rem; }
.koennen__kopf h2 {
  margin: 0;
  font-size: clamp(1.85rem, 1.4rem + 2vw, 3rem);
  font-weight: 300; letter-spacing: -0.025em; line-height: 1.08;
}

.koennen__zahlen {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2.5vw, 2rem);
  margin-bottom: clamp(2.25rem, 4vw, 3.25rem);
}
.koennen__zahl {
  text-align: center;
  padding: clamp(1.1rem, 2vw, 1.6rem) 0.75rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 18px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease),
              border-color .3s var(--ease);
}
.koennen__zahl:hover {
  transform: translateY(-4px);
  border-color: rgba(184,98,63,0.4);
  box-shadow: 0 16px 30px -18px rgba(11,11,12,0.45);
}
.koennen__zahl b {
  display: block;
  font-size: clamp(2rem, 1.3rem + 2.6vw, 3.4rem);
  font-weight: 300; letter-spacing: -0.04em; line-height: 1;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.koennen__zahl span {
  display: block; margin-top: 0.7rem;
  font-size: clamp(0.92rem, 0.88rem + 0.18vw, 1.02rem);
  line-height: 1.45; color: var(--muted); font-weight: 400;
  max-width: 22ch; margin-left: auto; margin-right: auto;
}

.koennen__gruppe + .koennen__gruppe { margin-top: clamp(1.75rem, 3.5vw, 2.75rem); }
.koennen__titel {
  margin: 0 0 1.1rem;
  font-size: 0.78rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--muted);
}

/* Schlagwörter: dieselbe Sprache wie die Branchen auf der Startseite */
.schlagwoerter {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: 0.6rem;
}
.schlagwoerter li {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.72rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: var(--bg);
  font-size: clamp(0.98rem, 0.92rem + 0.25vw, 1.12rem);
  font-weight: 500; letter-spacing: -0.005em;
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(11,11,12,0.04);
  transition: transform .26s var(--ease), border-color .26s var(--ease),
              box-shadow .26s var(--ease);
}
.schlagwoerter li::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); flex: none;
}
.schlagwoerter li:hover {
  transform: translateY(-3px);
  border-color: rgba(184,98,63,0.45);
  box-shadow: 0 12px 22px -14px rgba(11,11,12,0.5);
}
/* Die lange Formenliste etwas zurückgenommen, damit die Werkstoffe führen */
.schlagwoerter--ruhig li {
  padding: 0.62rem 1.15rem;
  font-size: clamp(0.92rem, 0.88rem + 0.18vw, 1.02rem);
  font-weight: 450;
  color: var(--ink-2);
}
.schlagwoerter--ruhig li::before { background: var(--line-strong); width: 6px; height: 6px; }
.schlagwoerter--ruhig li:hover::before { background: var(--accent); }

.koennen__fussnote {
  margin: 1.1rem 0 0;
  font-size: clamp(0.95rem, 0.9rem + 0.2vw, 1.06rem);
  line-height: 1.6; color: var(--muted); font-weight: 300;
  max-width: 68ch;
}
.koennen__fussnote a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 3px; }
.koennen__fussnote a:hover { color: var(--accent); }

@media (max-width: 860px) {
  .koennen__zahlen { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 460px) {
  .koennen__zahlen { grid-template-columns: 1fr; }
  .schlagwoerter { gap: 0.45rem; }
  .schlagwoerter li { padding: 0.6rem 1rem; }
}

/* ============================================================
   Ablauf einer Anfrage — drei Schritte als Bildfolge.
   Die Symbole tragen die Aussage, der Text ist nur Beschriftung.
   ============================================================ */
.ablauf {
  list-style: none;
  margin: clamp(2.5rem, 5vw, 4rem) 0 0;
  padding: 0;
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: clamp(0.5rem, 1.5vw, 1.25rem);
}
.ablauf__schritt {
  position: relative;
  flex: 1 1 0;
  max-width: 340px;
  text-align: center;
  padding: clamp(2.25rem, 3.5vw, 3rem) clamp(1.25rem, 2vw, 1.75rem) clamp(1.75rem, 3vw, 2.25rem);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 22px;
  transition: transform .32s var(--ease), box-shadow .32s var(--ease),
              border-color .32s var(--ease);
}
.ablauf__schritt:hover {
  transform: translateY(-6px);
  border-color: rgba(184,98,63,0.42);
  box-shadow: 0 22px 40px -24px rgba(11,11,12,0.5);
}
.ablauf__nr {
  position: absolute; top: -17px; left: 50%; transform: translateX(-50%);
  width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent); color: #fff;
  font-size: 0.98rem; font-weight: 600;
  box-shadow: 0 4px 12px -4px rgba(184,98,63,0.75);
}
.ablauf__icon {
  display: block; margin: 0 auto 1.4rem;
  width: clamp(76px, 9vw, 104px); height: clamp(76px, 9vw, 104px);
  color: var(--accent);
}
.ablauf__icon svg { width: 100%; height: 100%; display: block; }
.ablauf__schritt h3 {
  margin: 0 0 0.7rem;
  font-size: clamp(1.25rem, 1.05rem + 0.75vw, 1.6rem);
  font-weight: 500; letter-spacing: -0.02em; line-height: 1.2;
  color: var(--ink);
}
.ablauf__schritt p {
  margin: 0 auto;
  font-size: clamp(1rem, 0.94rem + 0.22vw, 1.1rem);
  line-height: 1.5; font-weight: 300; color: var(--muted);
  max-width: 24ch;
}
.ablauf__pfeil {
  flex: 0 0 auto; align-self: center;
  width: clamp(28px, 3.5vw, 46px);
  color: var(--line-strong);
}
.ablauf__pfeil svg { width: 100%; height: auto; display: block; }

.ablauf__ort {
  display: flex; align-items: center; justify-content: center;
  gap: 0.7rem; flex-wrap: wrap;
  margin: clamp(2rem, 3.5vw, 2.75rem) auto 0;
  max-width: none;
  font-size: clamp(1rem, 0.94rem + 0.25vw, 1.12rem);
  font-weight: 300; color: var(--muted); text-align: center;
}
.ablauf__ort svg { width: 24px; height: 24px; flex: none; color: var(--accent); }
.ablauf__ort b { font-weight: 600; color: var(--ink-2); }

@media (max-width: 900px) {
  .ablauf { flex-direction: column; align-items: center; gap: 0; }
  .ablauf__schritt { max-width: 460px; width: 100%; }
  .ablauf__pfeil {
    width: 26px; height: 46px;
    display: flex; align-items: center; justify-content: center;
    transform: rotate(90deg);
    margin: 0.6rem 0;
  }
}
@media (prefers-reduced-motion: reduce) {html:not(.bewegung-an) .ablauf__schritt:hover { transform: none; }
}

/* ============================================================
   Anwendungen: Teile, Vorteile und Branchen als Bildtafeln.
   Die Zeichnung trägt die Aussage, der Text ist Beschriftung.
   ============================================================ */
.teileband, .vorteile-band {
  list-style: none; padding: 0;
  display: grid; gap: clamp(0.75rem, 1.6vw, 1.25rem);
  text-align: center;
}
.teileband {
  margin: clamp(2.25rem, 4vw, 3.25rem) 0 clamp(1rem, 2vw, 1.5rem);
  grid-template-columns: repeat(4, 1fr);
}
.vorteile-band {
  margin: 0 0 clamp(2rem, 3.5vw, 3rem);
  grid-template-columns: repeat(3, 1fr);
}
.teileband > li, .vorteile-band > li {
  padding: clamp(1.4rem, 2.4vw, 2rem) clamp(0.75rem, 1.5vw, 1.25rem);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 20px;
  transition: transform .3s var(--ease), border-color .3s var(--ease),
              box-shadow .3s var(--ease);
}
.teileband > li:hover, .vorteile-band > li:hover {
  transform: translateY(-5px);
  border-color: rgba(184,98,63,0.42);
  box-shadow: 0 20px 36px -22px rgba(11,11,12,0.5);
}
.teileband__icon, .vorteile-band__icon {
  display: block; margin: 0 auto 1rem;
  width: clamp(60px, 7vw, 82px); height: clamp(60px, 7vw, 82px);
  color: var(--accent);
}
.teileband__icon svg, .vorteile-band__icon svg { width: 100%; height: 100%; display: block; }
.teileband b, .vorteile-band b {
  display: block;
  font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.3rem);
  font-weight: 500; letter-spacing: -0.015em; color: var(--ink);
}
.teileband span:not([class]), .vorteile-band span:not([class]) {
  display: block; margin-top: 0.35rem;
  font-size: clamp(0.9rem, 0.86rem + 0.18vw, 1rem);
  font-weight: 300; line-height: 1.45; color: var(--muted);
}

.abgas-fuss {
  display: grid; grid-template-columns: repeat(3, auto);
  justify-content: start; align-items: start;
  gap: clamp(1.5rem, 3.5vw, 3rem);
}
.abgas-fuss__gruppe { min-width: 0; }
.abgas-fuss .koennen__titel a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.abgas-fuss .koennen__titel a:hover { color: var(--accent-deep); }

/* Branchenkarten mit Symbol */
.fact-grid--symbole .fact { position: relative; }
.fact__icon {
  display: block; margin-bottom: 1.1rem;
  width: clamp(54px, 5.5vw, 68px); height: clamp(54px, 5.5vw, 68px);
  color: var(--accent);
}
.fact__icon svg { width: 100%; height: 100%; display: block; }
.fact-grid--symbole .fact h3 { margin-top: 0.45rem; }
.fact-grid--symbole .fact p {
  font-size: clamp(0.98rem, 0.92rem + 0.22vw, 1.08rem);
  line-height: 1.55; font-weight: 300; color: var(--muted);
}

@media (max-width: 900px) {
  .teileband { grid-template-columns: repeat(2, 1fr); }
  .vorteile-band { grid-template-columns: 1fr; }
  .abgas-fuss { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .teileband { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {html:not(.bewegung-an) .teileband > li:hover,
  html:not(.bewegung-an) .vorteile-band > li:hover { transform: none; }
}

/* ============================================================
   Häufige Fragen als Symbolkacheln. Sichtbar sind Symbol und
   Frage; die Antwort klappt auf Klick auf. Sie steht trotzdem
   im Quelltext — Google liest sie weiterhin.
   ============================================================ */
.fragen {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(0.75rem, 1.6vw, 1.1rem);
  margin-top: clamp(2.25rem, 4vw, 3.25rem);
}
.frage {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--bg);
  transition: border-color .28s var(--ease), box-shadow .28s var(--ease);
}
.frage:hover { border-color: rgba(184,98,63,0.42); }
.frage[open] {
  border-color: rgba(184,98,63,0.42);
  box-shadow: 0 18px 34px -24px rgba(11,11,12,0.5);
}
.frage > summary {
  display: flex; align-items: center; gap: clamp(0.9rem, 1.6vw, 1.25rem);
  padding: clamp(1.1rem, 2vw, 1.5rem) clamp(1.1rem, 2vw, 1.5rem);
  cursor: pointer; list-style: none;
}
.frage > summary::-webkit-details-marker { display: none; }
.frage > summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 20px; }
.frage__icon {
  flex: none;
  width: clamp(44px, 4.4vw, 58px); height: clamp(44px, 4.4vw, 58px);
  color: var(--accent);
}
.frage__icon svg { width: 100%; height: 100%; display: block; }
.frage > summary h3 {
  flex: 1; margin: 0;
  font-size: clamp(1.05rem, 0.96rem + 0.38vw, 1.3rem);
  font-weight: 500; letter-spacing: -0.015em; line-height: 1.25;
  color: var(--ink);
}
/* Plus, das sich beim Aufklappen zum Minus dreht */
.frage__plus {
  flex: none; position: relative; width: 20px; height: 20px;
  color: var(--muted);
}
.frage__plus::before, .frage__plus::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  background: currentColor; border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.frage__plus::before { width: 15px; height: 1.8px; }
.frage__plus::after  { width: 1.8px; height: 15px; }
.frage[open] .frage__plus { color: var(--accent); }
.frage[open] .frage__plus::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.frage > p {
  margin: 0;
  padding: 0 clamp(1.1rem, 2vw, 1.5rem) clamp(1.3rem, 2.2vw, 1.7rem);
  padding-left: calc(clamp(1.1rem, 2vw, 1.5rem) + clamp(44px, 4.4vw, 58px) + clamp(0.9rem, 1.6vw, 1.25rem));
  font-size: clamp(1rem, 0.94rem + 0.22vw, 1.1rem);
  line-height: 1.65; font-weight: 300; color: var(--muted);
  max-width: none;
}
@media (max-width: 860px) {
  .fragen { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .frage > p { padding-left: clamp(1.1rem, 2vw, 1.5rem); }
}

/* Schalter, der erscheint, wenn das System Bewegung unterdrückt */
.bewegung-schalter {
  position: fixed; left: 1rem; bottom: 1rem; z-index: 9400;
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.7rem 1.15rem;
  background: var(--ink); color: var(--bg);
  border: 0; border-radius: 999px;
  font: inherit; font-size: 0.9rem; font-weight: 500;
  cursor: pointer;
  box-shadow: 0 10px 26px -10px rgba(11,11,12,0.6);
}
.bewegung-schalter:hover { background: var(--accent-deep); }
.bewegung-schalter:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.bewegung-schalter span { font-size: 0.78em; }
@media (max-width: 560px) {
  .bewegung-schalter { left: 0.75rem; bottom: 0.75rem; font-size: 0.82rem; padding: 0.6rem 1rem; }
}
