/* ==========================================================================
   AFB Kulmbach – Basis-Stylesheet
   Struktur & Motion angelehnt an antimetal.com, Farben/Schrift aus der AFB-CI.
   Die ORO-Unterseite überschreibt die Tokens über body.theme-oro (oro.css).
   ========================================================================== */

:root {
  /* AFB-CI */
  --blue: #27509b;
  --blue-600: #1f437f;
  --blue-900: #0c1d3d;
  --ink: #0e1726;
  --ink-2: #2b3443;
  --muted: #5c6676;
  --bg: #f3f4f1;
  --bg-2: #eaece7;
  --card: #fbfbf9;
  --line: rgba(14, 23, 38, .10);
  --line-strong: rgba(14, 23, 38, .18);
  /* ORO-Akzent, nur für Teaser */
  --oro-yellow: #ffee00;
  --oro-navy: #003264;

  --font: 'Exo', ui-sans-serif, system-ui, sans-serif;
  --font-display: 'Exo', ui-sans-serif, system-ui, sans-serif;

  --radius: 18px;
  --radius-sm: 10px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 1px 2px rgba(14,23,38,.06), 0 8px 24px -12px rgba(14,23,38,.18);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
::selection { background: var(--blue); color: #fff; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Typografie ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; font-weight: 500; letter-spacing: -.02em; line-height: 1.08; }
.h-display { font-size: clamp(42px, 7vw, 92px); font-weight: 500; letter-spacing: -.035em; line-height: 1; }
.h-section { font-size: clamp(32px, 4.6vw, 56px); letter-spacing: -.03em; }
.h-card { font-size: clamp(20px, 2vw, 24px); font-weight: 600; letter-spacing: -.01em; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 46ch; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue);
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  --b-bg: var(--ink); --b-fg: #fff;
  display: inline-flex; align-items: center; gap: 10px;
  height: 46px; padding: 0 20px; border-radius: 999px; border: 0;
  background: var(--b-bg); color: var(--b-fg);
  font-weight: 600; font-size: 15px; letter-spacing: .01em;
  transition: transform .3s var(--ease), background .3s, box-shadow .3s;
  box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 6px 18px -8px rgba(14,23,38,.5);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn .arr { transition: transform .3s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
.btn--blue { --b-bg: var(--blue); }
.btn--ghost { --b-bg: transparent; --b-fg: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn--light { --b-bg: #fff; --b-fg: var(--ink); }
.btn--sm { height: 38px; padding: 0 16px; font-size: 14px; }

/* ---------- Header (schwebende Pille) ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center;
  animation: drop-in .9s var(--ease) both .1s;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; height: 44px; }
.brand img { height: 46px; width: auto; transition: opacity .3s; }
.brand .logo-dark { display: none; }
.nav-pill {
  display: flex; align-items: center; gap: 4px;
  padding: 6px; border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  transition: background .4s, border-color .4s, box-shadow .4s;
}
.nav-pill a:not(.btn) {
  padding: 8px 14px; border-radius: 999px; font-size: 14.5px; font-weight: 500; color: rgba(255,255,255,.88);
  transition: background .25s, color .25s;
}
.nav-pill a:not(.btn):hover { background: rgba(255,255,255,.12); color: #fff; }
.nav-pill .nav-oro { display: inline-flex; align-items: center; gap: 6px; }
.nav-pill .nav-oro i { width: 8px; height: 8px; border-radius: 50%; background: var(--oro-yellow); box-shadow: 0 0 0 3px rgba(255,238,0,.25); }
.nav-sep { width: 1px; height: 18px; background: rgba(255,255,255,.25); margin: 0 6px; }

.site-header.is-scrolled .nav-pill,
.site-header.on-light .nav-pill {
  background: rgba(251,251,249,.78);
  border-color: var(--line);
  box-shadow: 0 10px 30px -18px rgba(14,23,38,.35);
}
.site-header.is-scrolled .nav-pill a:not(.btn),
.site-header.on-light .nav-pill a:not(.btn) { color: var(--ink-2); }
.site-header.is-scrolled .nav-pill a:not(.btn):hover,
.site-header.on-light .nav-pill a:not(.btn):hover { background: rgba(14,23,38,.06); color: var(--ink); }
.site-header.is-scrolled .nav-sep, .site-header.on-light .nav-sep { background: var(--line-strong); }
.site-header.is-scrolled .brand .logo-light,
.site-header.on-light .brand .logo-light { display: none; }
.site-header.is-scrolled .brand .logo-dark,
.site-header.on-light .brand .logo-dark { display: block; }
.site-header.is-scrolled .brand {
  background: rgba(251,251,249,.78); border: 1px solid var(--line); border-radius: 14px; padding: 4px 10px;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}

.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.1); backdrop-filter: blur(10px); }
.menu-toggle span { display: block; width: 18px; height: 2px; margin: 4px auto; background: #fff; border-radius: 2px; transition: transform .3s, opacity .3s; }
.site-header.is-scrolled .menu-toggle { background: var(--card); border-color: var(--line); }
.site-header.is-scrolled .menu-toggle span { background: var(--ink); }

@keyframes drop-in { from { opacity: 0; transform: translateY(-24px); } to { opacity: 1; transform: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: min(100svh, 980px);
  display: flex; flex-direction: column; justify-content: flex-end;
  color: #fff; overflow: hidden; isolation: isolate;
  padding-top: calc(var(--header-h) + 40px);
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img, .hero-media video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); animation: hero-zoom 1.6s var(--ease) both; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 80% at 70% 10%, rgba(39,80,155,.25), transparent 60%),
    linear-gradient(180deg, rgba(8,18,38,.6) 0%, rgba(8,18,38,.45) 30%, rgba(8,18,38,.86) 72%, rgba(8,18,38,.9) 86%, var(--bg) 100%);
}
@keyframes hero-zoom { from { transform: scale(1.18); filter: blur(6px); } to { transform: scale(1.04); filter: none; } }
.hero-content { padding-bottom: clamp(80px, 13vh, 140px); }
.hero h1 { max-width: 14ch; }
.hero .lead { color: rgba(255,255,255,.82); margin: 24px 0 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .btn--ghost { --b-fg: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); backdrop-filter: blur(8px); }
.hero-meta {
  display: flex; gap: 28px; flex-wrap: wrap; margin-top: 46px;
  font-size: 14px; color: rgba(255,255,255,.75);
}
.hero-meta b { display: block; font-size: 22px; color: #fff; font-weight: 600; letter-spacing: -.01em; }

/* Wort-Reveal (JS splittet in .w) */
.split .w { display: inline-block; opacity: 0; filter: blur(10px); transform: translateY(.35em); transition: opacity .9s var(--ease), filter .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i) * 70ms + var(--d, 0ms)); }
.split.is-in .w { opacity: 1; filter: none; transform: none; }

/* ---------- Logo-Laufband ---------- */
.marquee-block { padding: 34px 0 20px; }
.marquee-label { text-align: center; font-size: 13px; color: var(--muted); letter-spacing: .04em; margin-bottom: 18px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 64px; width: max-content; animation: marquee 38s linear infinite; align-items: center; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img { height: 34px; width: auto; opacity: .55; transition: opacity .3s; }
.marquee-track img.sq { height: 50px; }
.marquee-track img:hover { opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sektionen ---------- */
section { position: relative; }
.section { padding: clamp(80px, 12vw, 150px) 0; }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head.center { text-align: center; justify-items: center; }
.section-head.split-head { grid-template-columns: 1.2fr 1fr; align-items: end; gap: 40px; }

/* Scroll-gescrubbter Statement-Text */
.statement { font-size: clamp(28px, 4vw, 50px); line-height: 1.15; letter-spacing: -.025em; font-weight: 500; max-width: 22ch; }
.statement .sw { color: var(--ink); opacity: .16; transition: opacity .25s linear; }
.statement .sw.on { opacity: 1; }
.statement-wrap { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; }
.statement-side { max-width: 34ch; color: var(--muted); font-size: 16px; }

/* ---------- Prozess (Sticky Steps) ---------- */
.steps { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 90px); }
.steps-list { display: grid; gap: 0; }
.step { padding: 34px 0 34px 28px; border-left: 1px solid var(--line-strong); position: relative; min-height: 46vh; display: flex; flex-direction: column; justify-content: center; }
.step::before { content: ""; position: absolute; left: -1px; top: 0; bottom: 0; width: 2px; background: var(--blue); transform: scaleY(0); transform-origin: top; transition: transform .7s var(--ease); }
.step.is-active::before { transform: scaleY(1); }
.step-num { font-size: 13px; font-weight: 700; color: var(--muted); letter-spacing: .1em; margin-bottom: 14px; transition: color .4s; }
.step.is-active .step-num { color: var(--blue); }
.step h3 { margin-bottom: 12px; transition: color .4s; color: var(--muted); }
.step.is-active h3 { color: var(--ink); }
.step p { margin: 0; color: var(--muted); max-width: 42ch; }
.step .step-mobile-visual { display: none; }
.steps-stage { position: sticky; top: calc(var(--header-h) + 30px); height: min(72vh, 620px); align-self: start; }
.stage-card {
  position: absolute; inset: 0; border-radius: 24px; overflow: hidden;
  background: var(--card); box-shadow: var(--shadow); border: 1px solid var(--line);
  opacity: 0; transform: translateY(18px) scale(.985); transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.stage-card.is-active { opacity: 1; transform: none; }
.stage-card > img { width: 100%; height: 100%; object-fit: cover; }
.stage-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(8,18,38,.55)); pointer-events: none; }

/* Mini-UI-Karten über den Fotos (Antimetal-Idee, inhaltlich AFB) */
.ui {
  position: absolute; z-index: 2; left: 20px; right: 20px; bottom: 20px;
  background: rgba(251,251,249,.92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.6); border-radius: 16px; padding: 16px 18px;
  box-shadow: 0 20px 40px -20px rgba(8,18,38,.5);
  font-size: 14px;
}
.ui-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); }
.ui-row:first-of-type { border-top: 0; }
.ui-title { font-weight: 700; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; display: flex; justify-content: space-between; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; background: rgba(39,80,155,.1); color: var(--blue); white-space: nowrap; }
.tag.ok { background: rgba(28,140,90,.12); color: #157a4b; }
.tag.live { background: rgba(230,160,20,.15); color: #9a5a00; }
.tag.live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: pulse 1.4s infinite; }
@keyframes pulse { 50% { opacity: .25; } }
.bar { height: 6px; border-radius: 6px; background: var(--bg-2); overflow: hidden; flex: 1; max-width: 160px; }
.bar i { display: block; height: 100%; width: var(--w, 60%); background: var(--blue); border-radius: inherit; transform-origin: left; animation: grow 1.6s var(--ease) both; }
@keyframes grow { from { transform: scaleX(0); } }
.ui-chat { display: grid; gap: 8px; }
.bubble { padding: 9px 13px; border-radius: 14px; background: var(--bg-2); max-width: 88%; }
.bubble.me { background: var(--blue); color: #fff; justify-self: end; }
.bubble small { display: block; font-size: 11px; opacity: .65; margin-bottom: 2px; font-weight: 600; }

/* ---------- Produkte ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip {
  border: 1px solid var(--line-strong); background: transparent; border-radius: 999px; height: 38px; padding: 0 16px;
  font-size: 14px; font-weight: 600; color: var(--ink-2); transition: all .25s var(--ease);
  display: inline-flex; align-items: center; gap: 8px;
}
.chip .n { font-size: 12px; color: var(--muted); font-weight: 600; }
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip.is-active .n { color: rgba(255,255,255,.6); }
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.product {
  position: relative; border-radius: var(--radius); overflow: hidden; background: var(--card);
  border: 1px solid var(--line); aspect-ratio: 4 / 5; isolation: isolate;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), opacity .4s;
}
.product img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform 1s var(--ease); }
.product::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 50%, rgba(8,18,38,.78)); }
.product:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -24px rgba(8,18,38,.5); }
.product:hover img { transform: scale(1.06); }
.product-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px; color: #fff; display: flex; align-items: end; justify-content: space-between; gap: 10px; }
.product-info h3 { font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.product-info .m { font-size: 12.5px; color: rgba(255,255,255,.7); margin-top: 4px; }
.product .ask {
  flex: none; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3);
  display: grid; place-items: center; backdrop-filter: blur(6px); transition: background .3s, transform .3s var(--ease);
}
.product:hover .ask { background: #fff; color: var(--ink); transform: rotate(-45deg); }
.product.is-feature { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.product.is-feature h3 { font-size: 26px; }
.product .badge-oro { position: absolute; top: 16px; left: 16px; background: var(--oro-navy); color: var(--oro-yellow); font-weight: 800; font-size: 12px; letter-spacing: .1em; padding: 6px 10px; border-radius: 8px; }
.product.is-hidden { display: none; }
.products-more { display: flex; justify-content: center; margin-top: 28px; gap: 12px; flex-wrap: wrap; align-items: center; }

/* ---------- Kennzahlen (dunkel) ---------- */
.dark { background: var(--blue-900); color: #fff; }
.dark .eyebrow { color: #8fb0ea; }
.dark .muted, .dark .lead { color: rgba(255,255,255,.66); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.14); }
.stat { padding: 34px 24px 6px 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid rgba(255,255,255,.14); }
.stat b { display: block; white-space: nowrap; font-size: clamp(34px, 4.4vw, 64px); font-weight: 500; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 10px; color: rgba(255,255,255,.6); font-size: 15px; }
.quote-block { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: center; margin-bottom: clamp(60px, 9vw, 110px); }
.quote { font-size: clamp(24px, 3vw, 36px); line-height: 1.25; letter-spacing: -.02em; font-weight: 500; margin: 0; }
.quote-author { display: flex; align-items: center; gap: 14px; margin-top: 26px; font-size: 15px; }
.quote-author b { display: block; }
.quote-img { border-radius: 22px; overflow: hidden; aspect-ratio: 3 / 2; }
.quote-img img { width: 100%; height: 100%; object-fit: cover; }
.dark-glow { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.dark-glow::before { content: ""; position: absolute; width: 900px; height: 900px; left: 50%; top: -500px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(39,80,155,.55), transparent); }

/* ---------- ORO-Teaser ---------- */
.oro-teaser {
  position: relative; border-radius: 28px; overflow: hidden; background: var(--oro-navy); color: #fff;
  display: grid; grid-template-columns: 1.05fr 1fr; min-height: 520px; isolation: isolate;
}
.oro-teaser::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 22px; z-index: 2;
  background: repeating-linear-gradient(-45deg, var(--oro-yellow) 0 18px, var(--oro-navy) 18px 36px);
}
.oro-teaser .oro-copy { padding: clamp(32px, 5vw, 64px); display: flex; flex-direction: column; justify-content: center; gap: 22px; }
.oro-teaser .oro-logo { height: 54px; width: auto; align-self: flex-start; }
.oro-teaser h2 { font-family: 'Kanit', var(--font); font-weight: 900; text-transform: uppercase; font-size: clamp(34px, 4.4vw, 58px); line-height: .98; letter-spacing: -.005em; }
.oro-teaser h2 em { font-style: normal; color: var(--oro-yellow); }
.oro-teaser p { color: rgba(255,255,255,.75); margin: 0; max-width: 42ch; }
.oro-teaser .btn { --b-bg: var(--oro-yellow); --b-fg: var(--oro-navy); font-family: 'Kanit', var(--font); text-transform: uppercase; letter-spacing: .04em; align-self: flex-start; }
.oro-teaser .oro-visual { position: relative; background: var(--oro-yellow); display: grid; place-items: center; overflow: hidden; }
.oro-teaser .oro-visual img.bucket { width: 82%; position: relative; z-index: 1; transform: rotate(-8deg); transition: transform 1.2s var(--ease); filter: drop-shadow(0 30px 30px rgba(0,50,100,.35)); }
.oro-teaser:hover .oro-visual img.bucket { transform: rotate(6deg) scale(1.03); }
.oro-teaser .oro-visual .swirl { position: absolute; width: 120%; max-width: none; opacity: .14; animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.oro-points { display: flex; flex-wrap: wrap; gap: 8px; }
.oro-points span { font-size: 13px; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.22); color: rgba(255,255,255,.88); }

/* ---------- Leistungen (Bento) ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.bento > * { grid-column: span 2; }
.bento .span-3 { grid-column: span 3; }
.bento .span-4 { grid-column: span 4; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; display: flex; flex-direction: column; gap: 12px; position: relative; overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }
.card .card-media { margin: -26px -26px 8px; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-2); }
.card .card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.card:hover .card-media img { transform: scale(1.05); }
.card .ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(39,80,155,.1); color: var(--blue); }
.list-tight { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 8px; font-size: 15px; }
.list-tight li { display: flex; gap: 10px; align-items: baseline; }
.list-tight li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 2px; background: var(--blue); transform: translateY(-2px); }
.machine-ops { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 6px; }
.op { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; background: var(--bg); }
.op b { display: block; font-size: 14.5px; }
.op span { font-size: 13px; color: var(--muted); }
.card-link { margin-top: auto; padding-top: 8px; font-weight: 600; font-size: 14.5px; color: var(--blue); display: inline-flex; gap: 8px; align-items: center; }
.card-link:hover .arr { transform: translateX(3px); }
.card-link .arr { transition: transform .3s var(--ease); }

/* ---------- Partner-Netzwerk ---------- */
.network { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.net-graph { position: relative; aspect-ratio: 1; max-width: 520px; width: 100%; justify-self: center; }
.net-graph svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.net-graph .edge { stroke: var(--line-strong); stroke-width: 1.5; fill: none; }
.net-graph .flow { stroke: var(--blue); stroke-width: 2; fill: none; stroke-dasharray: 6 10; animation: dash 1.6s linear infinite; opacity: 0; transition: opacity .6s; }
.net-graph.is-in .flow { opacity: .9; }
@keyframes dash { to { stroke-dashoffset: -32; } }
.node {
  position: absolute; transform: translate(-50%, -50%); background: var(--card); border: 1px solid var(--line);
  border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow); text-align: center; min-width: 130px;
  opacity: 0; scale: .9; transition: opacity .6s var(--ease), scale .6s var(--ease);
}
.net-graph.is-in .node { opacity: 1; scale: 1; }
.node b { display: block; font-size: 15px; }
.node span { font-size: 12.5px; color: var(--muted); }
.node.center { background: var(--blue); color: #fff; border: 0; padding: 18px 20px; }
.node.center img { height: 34px; margin: 0 auto 4px; }
.node.center span { color: rgba(255,255,255,.75); }
.motto { font-size: clamp(22px, 2.4vw, 28px); font-weight: 600; letter-spacing: -.015em; margin: 26px 0 14px; color: var(--blue); }

/* ---------- Karriere ---------- */
.jobs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.job { padding: 0; }
.job .card-media { margin: 0 0 4px; aspect-ratio: 3 / 2; }
.job .job-body { padding: 0 22px 22px; display: grid; gap: 8px; }
.job .meta { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- Kontakt ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 6vw, 80px); }
.people { display: grid; gap: 12px; margin-top: 30px; }
.person { display: flex; gap: 16px; align-items: center; padding: 14px; border-radius: 16px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04); transition: background .3s; }
.person:hover { background: rgba(255,255,255,.08); }
.person img, .person .ph { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; flex: none; }
.person .ph { display: grid; place-items: center; background: rgba(255,255,255,.12); font-weight: 700; }
.person b { display: block; }
.person span { display: block; font-size: 14px; color: rgba(255,255,255,.62); }
.person a { font-size: 14px; color: #a9c3f2; }
.address { margin-top: 28px; font-size: 15px; color: rgba(255,255,255,.7); line-height: 1.7; }
.address a { color: #fff; }
.form { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); border-radius: 22px; padding: clamp(20px, 3vw, 32px); display: grid; gap: 14px; grid-template-columns: 1fr 1fr; align-content: start; }
.form .full { grid-column: 1 / -1; }
.field { display: grid; gap: 6px; }
.field label { font-size: 13px; font-weight: 600; color: rgba(255,255,255,.7); }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 15.5px; color: #fff; background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.16); border-radius: 12px; padding: 12px 14px; outline: none; transition: border-color .25s, background .25s;
}
.field select option { color: var(--ink); }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: #8fb0ea; background: rgba(255,255,255,.09); }
.form-note { font-size: 12.5px; color: rgba(255,255,255,.5); }
.form-status { font-size: 14px; color: #9be3b8; min-height: 1em; }

/* ---------- Footer ---------- */
.site-footer { background: #08132a; color: rgba(255,255,255,.7); padding: 70px 0 30px; font-size: 15px; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.footer-grid h4 { color: #fff; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; font-weight: 600; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-grid a:hover { color: #fff; }
.footer-word { font-size: clamp(90px, 22vw, 320px); font-weight: 700; letter-spacing: -.06em; line-height: .8; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.12); margin: 50px 0 20px; white-space: nowrap; user-select: none; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; border-top: 1px solid rgba(255,255,255,.1); padding-top: 22px; font-size: 13.5px; }
.footer-bottom nav { display: flex; gap: 18px; }

/* ---------- Hinweisbalken Musterseite (html[data-muster]) ---------- */
.muster-bar { display: none; }
html[data-muster] .muster-bar {
  position: fixed; inset: 0 0 auto 0; z-index: 60; height: calc(34px + env(safe-area-inset-top, 0px));
  padding: env(safe-area-inset-top, 0px) max(16px, env(safe-area-inset-right, 0px)) 0 max(16px, env(safe-area-inset-left, 0px));
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: #121212; color: #fff; font-size: 13px; letter-spacing: .01em; white-space: nowrap; overflow: hidden;
}
html[data-muster] .muster-bar b { color: #ffd400; font-weight: 700; }
html[data-muster] .muster-bar i { width: 7px; height: 7px; border-radius: 50%; background: #ffd400; flex: none; }
html[data-muster] .site-header { top: calc(34px + env(safe-area-inset-top, 0px)); }
html[data-muster] .hero, html[data-muster] .oro-hero { padding-top: calc(var(--header-h) + 74px); }
@media (max-width: 640px) { html[data-muster] .muster-bar .more { display: none; } }
@media (max-width: 900px) { html[data-muster] .site-header.menu-open .nav-pill { top: calc(var(--header-h) + 38px); } }

/* ---------- Scroll-Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .products { grid-template-columns: repeat(3, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.14); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .nav-pill { display: none; }
  .menu-toggle { display: block; }
  .site-header.menu-open .nav-pill {
    display: flex; flex-direction: column; align-items: stretch; position: fixed; left: 16px; right: 16px; top: calc(var(--header-h) + 4px);
    border-radius: 22px; padding: 12px; background: rgba(251,251,249,.97); border-color: var(--line);
  }
  .site-header.menu-open .nav-pill a:not(.btn) { color: var(--ink); padding: 12px 14px; font-size: 16px; }
  .site-header.menu-open .nav-sep { display: none; }
  .site-header.menu-open .nav-pill .btn { justify-content: center; margin-top: 6px; }
  .site-header.menu-open .menu-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .site-header.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
  .site-header.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .section-head.split-head, .statement-wrap, .quote-block, .network, .contact, .oro-teaser { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .steps-stage { display: none; }
  .step { min-height: 0; padding: 26px 0 26px 22px; }
  .step .step-mobile-visual { display: block; margin-top: 18px; border-radius: 16px; overflow: hidden; aspect-ratio: 4/3; }
  .step .step-mobile-visual img { width: 100%; height: 100%; object-fit: cover; }
  .step h3, .step .step-num { color: var(--ink); }
  .bento > *, .bento .span-3, .bento .span-4 { grid-column: 1 / -1; }
  .jobs { grid-template-columns: 1fr; }
  .oro-teaser .oro-visual { min-height: 320px; }
  .oro-teaser::before { top: auto; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .products { grid-template-columns: 1fr 1fr; gap: 10px; }
  .product.is-feature { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 4 / 3; }
  .product-info { padding: 12px; }
  .product-info h3 { font-size: 15px; }
  .product .ask { display: none; }
  .form { grid-template-columns: 1fr; }
  .machine-ops { grid-template-columns: 1fr; }
  .hero-meta { gap: 18px; }
  .footer-grid { grid-template-columns: 1fr; }
  .marquee-track { gap: 40px; }
  .marquee-track img { height: 30px; }
  .net-graph .node { min-width: 0; padding: 8px 10px; }
  .net-graph .node b { font-size: 13px; }
  .net-graph .node span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0ms !important; }
  html { scroll-behavior: auto; }
}
