/* ============================================================
   MACHINNOTEK GmbH – Präzisionsschleifmaschinen
   Design: German machine-tool aesthetic (graphite & steel blue)
   ============================================================ */
:root {
  --graphite: #161a1f;
  --graphite-2: #1e242c;
  --steel: #14619c;
  --steel-dark: #0f4a78;
  --steel-light: #eef4f8;
  --accent: #e8761d;
  --silver: #e3e7eb;
  --light: #f5f7f9;
  --gray: #5d6b78;
  --text: #262c33;
  --line: #dde3e8;
  --white: #ffffff;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 2px 12px rgba(22, 26, 31, .08);
  --shadow-lg: 0 12px 32px rgba(22, 26, 31, .18);
  --font-head: "Barlow Condensed", "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease-silk: cubic-bezier(0.16, 1, 0.3, 1);        /* ease-out-expo 丝滑减速 */
  --ease-silk-io: cubic-bezier(0.45, 0, 0.15, 1);    /* 丝滑 ease-in-out */
}

/* ---------- Entrance animations ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes scaleIn { from { opacity: 0; transform: scale(.82); } to { opacity: 1; transform: scale(1); } }
@keyframes slideDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: none; } }
@keyframes chipIn { 0% { opacity: 0; transform: translateY(16px); } 45% { opacity: 1; } 70% { transform: translateY(-6px); } 100% { opacity: 1; transform: translateY(0); } }
.site-header { animation: slideDown .8s var(--ease-silk) both; }
.topbar { animation: fadeIn .6s var(--ease-silk) both; }
.hero-content .kicker { animation: fadeUp .9s var(--ease-silk) .15s both; }
.hero-content h1 { animation: fadeUp .95s var(--ease-silk) .3s both; }
.hero-content p { animation: fadeUp .95s var(--ease-silk) .45s both; }
.hero-content a.btn { animation: fadeUp .95s var(--ease-silk) .6s both; }
.hero-content a.btn:last-of-type { animation-delay: .75s; }
.hero-reticle { animation: scaleIn 1.1s var(--ease-silk) .55s both; }
.hero-chip.c1 { animation: chipIn 1.2s var(--ease-silk) .8s both; }
.hero-chip.c2 { animation: chipIn 1.2s var(--ease-silk) .95s both; }
.hero-chip.c3 { animation: chipIn 1.2s var(--ease-silk) 1.1s both; }
.hero-claim { animation: fadeUp 1.1s var(--ease-silk) 1.2s both; }
.hero-dots { animation: fadeIn 1.1s var(--ease-silk) 1.4s both; }
@media (prefers-reduced-motion: reduce) {
  .site-header, .topbar, .hero-content * , .hero-reticle, .hero-chip, .hero-claim, .hero-dots { animation: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--steel); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent); }
h1, h2, h3, h4 { color: var(--graphite); line-height: 1.16; font-weight: 600; font-family: var(--font-head); }
h1 { font-size: 38px; font-weight: 700; }
h2 { font-size: 30px; }
h3 { font-size: 20px; }
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
section { padding: 96px 0; }

/* ---------- Section headers (technical style) ---------- */
.section-head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.section-head .kicker, .split .kicker {
  display: inline-block; text-transform: uppercase; letter-spacing: 3px;
  font-size: 12.5px; font-weight: 600; color: var(--steel); margin-bottom: 12px;
  font-family: var(--font-head);
}
.section-head .kicker::after, .split .kicker::after {
  content: ""; display: block; width: 42px; height: 2px; background: var(--steel);
  margin: 8px auto 0;
}
.section-head h2 { font-size: 34px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.section-head p { color: var(--gray); }
.lead { font-size: 17px; color: var(--gray); }

/* ---------- Buttons (clear click affordance) ---------- */
.btn {
  display: inline-block; padding: 14px 32px; border-radius: var(--radius);
  font-weight: 600; font-size: 14.5px; border: 1px solid transparent; cursor: pointer;
  text-transform: uppercase; letter-spacing: 1.5px; font-family: var(--font-head);
  transition: transform .28s var(--ease-silk), box-shadow .28s var(--ease-silk), background .28s var(--ease-silk), color .25s var(--ease-silk);
  position: relative;
}
.btn::after { content: "\2192"; margin-left: 10px; display: inline-block; transition: transform .32s var(--ease-silk); }
.btn:hover { transform: translateY(-3px); }
.btn:hover::after { transform: translateX(5px); }
.btn-primary { background: var(--steel); color: #fff; }
.btn-primary:hover { background: var(--steel-dark); color: #fff; box-shadow: 0 14px 30px -8px rgba(20,97,156,.3); }
.btn-outline { border-color: var(--steel); color: var(--steel); background: transparent; }
.btn-outline:hover { background: var(--steel); color: #fff; box-shadow: 0 14px 30px -8px rgba(20,97,156,.26); }
.btn-white { background: #fff; color: var(--graphite); }
.btn-white:hover { background: var(--silver); box-shadow: 0 10px 26px rgba(255,255,255,.25); }

/* ---------- Top bar ---------- */
.topbar { background: var(--graphite); color: #9fb2c0; font-size: 13px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; min-height: 40px; flex-wrap: wrap; }
.topbar a { color: #cfe0ef; }
.topbar a:hover { color: #fff; }
.topbar .tb-left span { margin-right: 22px; }
.lang-switch { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: 1px; }
.lang-switch a { color: #7f95a8; text-transform: uppercase; }
.lang-switch a:hover { color: #fff; }
.lang-switch a.active { color: #fff; border-bottom: 1px solid var(--accent); }
.lang-switch .sep { color: #55687a; }

/* ---------- Header ---------- */
.site-header {
  background: #fff; border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 100;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; min-height: 88px; }
.logo { display: flex; align-items: center; gap: 14px; }
.logo-img { height: 42px; width: auto; display: block; object-fit: contain; }
.logo-img-light {
  background: #fff; border-radius: var(--radius-sm);
  padding: 6px 12px; height: 42px;
}
.logo-mark {
  width: 46px; height: 46px; border-radius: var(--radius-sm); background: var(--graphite);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 16px; letter-spacing: 1px;
  font-family: var(--font-head);
}
.logo-text { line-height: 1.15; }
.logo-text .l1 { font-size: 21px; font-weight: 700; color: var(--graphite); letter-spacing: 2px; font-family: var(--font-head); }
.logo-text .l2 { font-size: 10.5px; color: var(--gray); text-transform: uppercase; letter-spacing: 2.5px; }
.nav { display: flex; gap: 6px; }
.nav a {
  padding: 10px 14px; font-weight: 600; font-size: 14.5px; color: var(--text);
  border-radius: var(--radius); position: relative; text-transform: uppercase;
  letter-spacing: 1px; font-family: var(--font-head);
}
.nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .32s var(--ease-silk);
}
.nav a:hover { color: var(--steel); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.nav a.active { color: var(--steel); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--graphite); margin: 5px 0; border-radius: 1px; }

/* ---------- Header dropdown (Produkte) ---------- */
.nav-item { position: relative; display: inline-flex; align-items: center; }
.nav-item > a { padding: 10px 14px; font-weight: 600; font-size: 14.5px; color: var(--text);
  border-radius: var(--radius); text-transform: uppercase; letter-spacing: 1px; font-family: var(--font-head); }
.nav-item > a.active { color: var(--steel); }
.nav-item .nav-dropdown {
  position: absolute; top: 100%; left: 0; min-width: 260px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 8px 0; z-index: 120;
  opacity: 0; visibility: hidden; transform: translateY(12px); pointer-events: none;
  transition: opacity .28s var(--ease-silk), transform .28s var(--ease-silk), visibility 0s linear .28s;
}
.nav-item:hover .nav-dropdown, .nav-item:focus-within .nav-dropdown {
  opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition-delay: 0s;
}
.nav-dropdown a {
  display: block; padding: 9px 18px; color: var(--text); font-weight: 600; font-size: 14px;
  text-transform: none; letter-spacing: 0; font-family: var(--font-head);
}
.nav-dropdown a::after { content: none; }
.nav-dropdown a:hover { color: var(--steel); background: var(--light); }

/* ---------- Sub navigation (in-page category tabs) ---------- */
.subnav { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 30px; }
.subnav a {
  padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff;
  color: var(--steel); font-weight: 600; font-size: 13px; font-family: var(--font-head);
  text-transform: uppercase; letter-spacing: .6px; transition: all .2s; display: inline-block;
}
.subnav a:hover { border-color: var(--steel); color: var(--steel); }
.category-head { margin: 18px 0 10px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.category-head h3 { font-size: 22px; color: var(--graphite); text-transform: uppercase; letter-spacing: 1px; font-family: var(--font-head); }
.category-head .models { display: block; color: var(--gray); font-size: 13px; font-weight: 500; text-transform: none; letter-spacing: 0; margin-top: 2px; }
[data-anchor], .cat-section { scroll-margin-top: 120px; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; height: 92vh; min-height: 580px; overflow: hidden; background: var(--graphite); }
.hero-slide {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity 2s var(--ease-silk);
  background-size: cover; background-position: center;
  will-change: opacity;
}
.hero-slide.active { opacity: 1; }
.hero-slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(10,14,18,.92) 0%, rgba(12,20,28,.66) 45%, rgba(12,20,28,.28) 100%);
}
#sparks { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.hero-scan {
  position: absolute; left: 0; right: 0; height: 2px; z-index: 2; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(232,118,29,.95), transparent);
  animation: scan 7s ease-in-out infinite;
}
@keyframes scan { 0% { top: -4px; opacity: 0; } 8% { opacity: .9; } 92% { opacity: .9; } 100% { top: 100%; opacity: 0; } }
.hero-content { position: relative; z-index: 4; height: 100%; display: flex; flex-direction: column; justify-content: center; color: #fff; }
.hero-content .kicker {
  text-transform: uppercase; letter-spacing: 4px; font-size: 13px; color: #ffb27a;
  font-weight: 600; margin-bottom: 16px; font-family: var(--font-head);
}
.hero-content h1 { color: #fff; font-size: 54px; max-width: 760px; margin-bottom: 18px; text-transform: uppercase; letter-spacing: 1px; }
.hero-content h1 .hl { color: var(--accent); text-shadow: 0 0 34px rgba(232,118,29,.55); }
.hero-content p { color: #c6d4df; font-size: 17px; max-width: 620px; margin-bottom: 30px; }
.hero-dots { position: absolute; z-index: 3; bottom: 28px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; }
.hero-dots button { width: 10px; height: 10px; border-radius: 50%; border: none; background: rgba(255,255,255,.35); cursor: pointer; }
.hero-dots button.active { background: var(--accent); }

/* ---------- Hero: precision-lab elements ---------- */
.hero-reticle {
  position: absolute; right: 6%; top: 50%; transform: translateY(-50%);
  width: 300px; height: 300px; opacity: .85; z-index: 2; pointer-events: none;
}
.hero-reticle svg { width: 100%; height: 100%; overflow: visible; }
.hero-reticle .ring { stroke: rgba(255,255,255,.28); fill: none; }
.hero-reticle .ring.outer { stroke: rgba(232,118,29,.5); stroke-dasharray: 6 10; animation: spin 26s linear infinite; transform-origin: center; }
.hero-reticle .tick { stroke: rgba(255,255,255,.6); }
.hero-reticle .center { fill: var(--accent); animation: pulse 2.2s ease-in-out infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
.hero-chip {
  position: absolute; z-index: 3; color: #d7e4ef; font-size: 12.5px; letter-spacing: .6px;
  border: 1px solid rgba(255,255,255,.28); border-left: 3px solid var(--accent);
  background: rgba(13,20,26,.55); backdrop-filter: blur(4px);
  padding: 8px 12px; line-height: 1.35; animation: floaty 5s ease-in-out infinite;
}
.hero-chip b { color: #fff; font-weight: 700; font-size: 15px; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.hero-chip.c1 { right: 30%; top: 16%; }
.hero-chip.c2 { right: 4%; top: 38%; animation-delay: 1s; }
.hero-chip.c3 { right: 22%; bottom: 14%; animation-delay: 2s; }
.hero-claim {
  position: absolute; left: 0; right: 0; bottom: 70px; z-index: 3; pointer-events: none;
  font-family: var(--font-head); font-size: 15px; letter-spacing: 6px; text-transform: uppercase;
  color: rgba(255,255,255,.5); text-align: center;
}
.hero-claim b { color: var(--accent); font-weight: 700; }
.hero-claim .line { display: block; width: 1px; height: 34px; background: var(--accent); margin: 10px auto 0; animation: pulse 2s ease-in-out infinite; }
@media (max-width: 992px) { .hero-reticle, .hero-chip { display: none; } .hero-claim { display: none; } }

/* ---------- Precision stats band (counters) ---------- */
.stats-band { background: linear-gradient(120deg, var(--graphite), var(--graphite-2)); border-top: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08); }
.stats-band .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; padding: 46px 24px; }
.stat { text-align: center; position: relative; }
.stat .num { font-family: var(--font-head); font-size: 46px; font-weight: 700; color: #fff; line-height: 1; }
.stat .num .unit { font-size: 22px; color: var(--accent); margin-left: 3px; }
.stat .lbl { margin-top: 8px; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: #8fa4b4; }
.stat + .stat::before { content: ""; position: absolute; left: -15px; top: 8px; bottom: 8px; width: 1px; background: rgba(255,255,255,.12); }
@media (max-width: 768px) { .stats-band .container { grid-template-columns: 1fr 1fr; gap: 26px; } .stat + .stat::before { display: none; } .stat .num { font-size: 36px; } }

/* ---------- Brand claim band ---------- */
.claim-band { position: relative; background: var(--graphite); overflow: hidden; }
.claim-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 20% 50%, rgba(20,97,156,.25), transparent 70%); }
.claim-band .container { position: relative; padding: 84px 24px; text-align: center; }
.claim-band .big { font-family: var(--font-head); font-size: 46px; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: 2px; line-height: 1.15; }
.claim-band .big em { font-style: normal; color: var(--accent); }
.claim-band .sub { margin: 18px auto 0; max-width: 620px; color: #9fb2c0; font-size: 15.5px; }
.claim-band .eng { margin-top: 22px; font-family: var(--font-head); letter-spacing: 4px; text-transform: uppercase; font-size: 13px; color: rgba(255,255,255,.45); }
@media (max-width: 768px) { .claim-band .big { font-size: 30px; } }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px) scale(.985); transition: opacity .85s var(--ease-silk), transform .85s var(--ease-silk); will-change: opacity, transform; }
.reveal.visible { opacity: 1; transform: none; }
/* 卡片/网格错峰入场 */
.grid-4 > .reveal:nth-child(2), .grid-2 > .reveal:nth-child(2) { transition-delay: .07s; }
.grid-4 > .reveal:nth-child(3) { transition-delay: .14s; }
.grid-4 > .reveal:nth-child(4), .grid-2 > .reveal:nth-child(3) { transition-delay: .21s; }
.grid-4 > .reveal:nth-child(5) { transition-delay: .28s; }
.grid-4 > .reveal:nth-child(6) { transition-delay: .35s; }

/* ---------- Product cards: technical corners + spec chips ---------- */
.card { position: relative; }
.card::before, .card::after { content: ""; position: absolute; width: 14px; height: 14px; border-color: var(--steel); border-style: solid; opacity: 0; transition: opacity .35s var(--ease-silk); }
.card::before { top: 8px; left: 8px; border-width: 2px 0 0 2px; }
.card::after { bottom: 8px; right: 8px; border-width: 0 2px 2px 0; }
.card:hover::before, .card:hover::after { opacity: 1; }
.spec-chip { display: inline-block; margin: 2px 6px 6px 0; padding: 3px 10px; font-size: 11.5px; font-weight: 600; letter-spacing: .5px; color: var(--steel); background: var(--steel-light); border: 1px solid var(--silver); border-radius: 999px; }
.spec-chip b { color: var(--graphite); }

/* ---------- Solutions: numbered index ---------- */
.solution-item { position: relative; }
.solution-num {
  position: absolute; top: -14px; right: 18px; font-family: var(--font-head); font-weight: 700;
  font-size: 64px; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(20,97,156,.35); pointer-events: none;
}

/* ---------- Floating contact button ---------- */
.float-contact {
  position: fixed; right: 22px; bottom: 22px; z-index: 900; display: flex; gap: 10px;
}
.float-contact a {
  width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--accent); color: #fff; font-size: 22px; box-shadow: 0 6px 20px rgba(232,118,29,.45);
  transition: transform .2s;
}
.float-contact a:hover { transform: translateY(-3px); color: #fff; }
.float-contact .fc-mail { background: var(--steel); box-shadow: 0 6px 20px rgba(20,97,156,.45); }
@media (max-width: 768px) { .float-contact { right: 14px; bottom: 14px; } .float-contact a { width: 46px; height: 46px; font-size: 19px; } }

/* ---------- Feature strip ---------- */
.feature-strip { background: var(--graphite); color: #c6d4df; }
.feature-strip .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; padding: 38px 24px; }
.feature-strip .f { display: flex; gap: 14px; align-items: flex-start; }
.feature-strip .f .ic { font-size: 24px; color: var(--accent); line-height: 1.4; }
.feature-strip .f h4 { color: #fff; font-size: 15px; margin-bottom: 4px; text-transform: uppercase; letter-spacing: 1px; }
.feature-strip .f p { font-size: 13px; color: #8fa4b4; }

/* ---------- Product cards ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; cursor: pointer; transition: transform .45s var(--ease-silk), box-shadow .45s var(--ease-silk), border-color .4s var(--ease-silk); }
.card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -12px rgba(22,26,31,.16); border-color: var(--steel); }
.card .thumb { aspect-ratio: 4/3; overflow: hidden; background: var(--light); }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-silk); }
.card:hover .thumb img { transform: scale(1.06); }
.card .body { padding: 22px 22px 24px; }
.prod-type {
  display: inline-block; margin-bottom: 8px; padding: 3px 10px;
  font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.4px;
  color: var(--graphite); background: var(--light);
  border: 1px solid var(--line); border-radius: 4px;
  font-family: var(--font-head);
}
.prod-type .m { color: var(--graphite); }
.card .body h3 { font-size: 17px; margin-bottom: 8px; text-transform: uppercase; letter-spacing: .5px; transition: color .3s var(--ease-silk); }
.card:hover .body h3 { color: var(--steel); }
.card .body p { font-size: 14px; color: var(--gray); margin-bottom: 12px; }
.card .body .more { font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 1.2px; font-family: var(--font-head); position: relative; }
.card .body .more::after { content: " →"; display: inline-block; transition: transform .32s var(--ease-silk); }
.card:hover .body .more::after { transform: translateX(5px); }
.card-more {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; transform: translateY(102%);
  background: linear-gradient(120deg, var(--accent), var(--accent-dark)); color: #fff; text-align: center;
  padding: 13px 12px; font-family: var(--font-head); letter-spacing: 2.5px; text-transform: uppercase; font-size: 14px;
  transition: transform .45s var(--ease-silk);
}
.card:hover .card-more { transform: translateY(0); }
/* Product card hover tooltips: name on card hover, model on image hover */
.card .thumb { position: relative; }
.card .thumb::before {
  content: attr(data-name);
  position: absolute; top: 0; left: 0; right: 0; z-index: 3;
  padding: 12px 14px 30px;
  font-family: var(--font-head); font-weight: 700; font-size: 15px; line-height: 1.15;
  text-transform: uppercase; letter-spacing: 1px; color: #fff;
  background: linear-gradient(180deg, rgba(22,26,31,.9) 0%, rgba(22,26,31,0) 100%);
  opacity: 0; transform: translateY(-10px); pointer-events: none;
  transition: opacity .34s var(--ease-silk), transform .34s var(--ease-silk);
}
.card:hover .thumb::before { opacity: 1; transform: translateY(0); }
.card .thumb::after {
  content: attr(data-model);
  position: absolute; left: 12px; bottom: 12px; z-index: 3;
  padding: 6px 12px;
  font-family: var(--font-body); font-weight: 600; font-size: 12.5px;
  letter-spacing: 1.2px; text-transform: uppercase; color: #fff;
  background: rgba(20,97,156,.92); border-radius: 4px;
  box-shadow: 0 4px 14px rgba(22,26,31,.22);
  opacity: 0; transform: translateY(8px); pointer-events: none;
  transition: opacity .34s var(--ease-silk), transform .34s var(--ease-silk);
}
.card .thumb:hover::after { opacity: 1; transform: translateY(0); }

/* ---------- About teaser / split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split .img-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.split .img-wrap img { width: 100%; }
.split .kicker::after { margin-left: 0; }
.split h2 { font-size: 32px; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 1px; }
.split p { color: var(--gray); margin-bottom: 14px; }
.split .btn { margin-top: 8px; }

/* ---------- Solution list ---------- */
.solution-item { display: grid; grid-template-columns: 320px 1fr; gap: 36px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; margin-bottom: 24px; transition: box-shadow .25s; }
.solution-item:hover { box-shadow: var(--shadow); }
.solution-item .si-img { border-radius: var(--radius-sm); overflow: hidden; background: var(--light); }
.solution-item .si-img img { width: 100%; height: 220px; object-fit: cover; }
.solution-item h3 { font-size: 22px; margin-bottom: 12px; text-transform: uppercase; letter-spacing: .5px; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.spec-table td { padding: 8px 12px; border-bottom: 1px solid var(--line); }
.spec-table td:first-child { color: var(--gray); width: 38%; font-weight: 500; }
.spec-table td:last-child { color: var(--text); font-weight: 600; }
.spec-table tr:last-child td { border-bottom: none; }
.spec-table th { background: var(--graphite); color: #fff; padding: 10px 12px; font-size: 13.5px; text-transform: uppercase; letter-spacing: 1px; text-align: left; }
.spec-table th:first-child { border-top-left-radius: var(--radius-sm); }
.spec-table th:last-child { border-top-right-radius: var(--radius-sm); }
.spec-table td:first-child { white-space: nowrap; }
.table-scroll { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.table-scroll .spec-table { min-width: 640px; }
.table-scroll .spec-table td, .table-scroll .spec-table th { border-right: 1px solid var(--line); }
.table-scroll .spec-table td:last-child, .table-scroll .spec-table th:last-child { border-right: none; }

/* ---------- News ---------- */
.news-list .item { display: flex; gap: 22px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.news-list .item:last-child { border-bottom: none; }
.news-date { background: var(--graphite); color: #fff; border-radius: var(--radius-sm); text-align: center; padding: 10px 14px; min-width: 64px; flex-shrink: 0; }
.news-date .d { font-size: 24px; font-weight: 700; line-height: 1; font-family: var(--font-head); }
.news-date .m { font-size: 11px; text-transform: uppercase; letter-spacing: 1.5px; margin-top: 3px; }
.news-date .y { font-size: 10px; font-weight: 600; color: rgba(255,255,255,.72); margin-top: 2px; font-family: var(--font-head); }
.news-list .item .tag { display: inline-block; font-size: 11px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 4px; font-family: var(--font-head); }
.news-list .item h3 { font-size: 18px; margin-bottom: 6px; }
.news-list .item h3 a { color: var(--graphite); position: relative; }
.news-list .item h3 a::after { content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.news-list .item h3 a:hover { color: var(--steel); }
.news-list .item h3 a:hover::after { transform: scaleX(1); }
.news-list .item p { font-size: 14.5px; color: var(--gray); }

/* ---------- Article page ---------- */
.article { max-width: 860px; margin: 0 auto; }
.article h1 { font-size: 34px; margin-bottom: 10px; text-transform: uppercase; letter-spacing: .5px; }
.article .meta { color: var(--gray); font-size: 14px; padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 26px; }
.article .meta span { margin-right: 20px; }
.article img { margin: 18px 0; }
.article p { margin-bottom: 16px; }
.article h2 { font-size: 24px; margin: 26px 0 12px; text-transform: uppercase; letter-spacing: .5px; }
.article ol, .article ul { margin: 0 0 16px 22px; }
.article li { margin-bottom: 8px; }
.article .back { display: inline-block; margin-top: 28px; font-weight: 600; }

/* ---------- Page hero (inner) ---------- */
.page-hero { position: relative; background-size: cover; background-position: center; padding: 150px 0 110px; min-height: 400px; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(22,26,31,.85) 0%, rgba(22,26,31,.42) 50%, rgba(22,26,31,.08) 100%); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: 40px; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 1px; }
.page-hero .crumb { color: #9fb2c0; font-size: 14px; }
.page-hero .crumb a { color: #9fb2c0; }
.page-hero .crumb a:hover { color: #fff; }
.page-hero .crumb span { color: #ffb27a; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-info .ci { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-info .ci .ic { font-size: 22px; color: var(--steel); min-width: 36px; }
.contact-info .ci h4 { font-size: 15px; margin-bottom: 2px; text-transform: uppercase; letter-spacing: 1px; }
.contact-info .ci p { color: var(--gray); font-size: 15px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; text-transform: uppercase; letter-spacing: 1px; font-family: var(--font-head); }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius);
  font-size: 15px; font-family: inherit; background: #fff; color: var(--text);
}
.form-group input:focus, .form-group textarea:focus { outline: 2px solid var(--steel); border-color: transparent; }
.form-note { font-size: 13px; color: var(--gray); margin-top: 10px; }
.map-wrap { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 40px; line-height: 0; }
.map-wrap iframe { width: 100%; height: 380px; border: 0; }

/* ---------- Culture cards ---------- */
.culture-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; text-align: center; transition: all .25s; }
.culture-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.culture-card .ic { font-size: 38px; margin-bottom: 14px; }
.culture-card h3 { font-size: 17px; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 1px; }
.culture-card p { color: var(--gray); font-size: 15px; }
.culture-card img { margin-bottom: 16px; width: 100%; }

/* ---------- Industry cards ---------- */
.industry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 8px; }
.industry-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; text-align: left; transition: all .25s; position: relative; overflow: hidden;
}
.industry-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.industry-card .ic { font-size: 34px; margin-bottom: 14px; }
.industry-card .ic svg { width: 40px; height: 40px; color: var(--steel); display: block; }
.industry-card h3 { font-size: 17px; margin-bottom: 12px; text-transform: uppercase; letter-spacing: 1px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.industry-card ul { list-style: none; }
.industry-card ul li {
  position: relative; padding-left: 16px; margin-bottom: 8px;
  color: var(--gray); font-size: 14.5px; line-height: 1.45;
}
.industry-card ul li::before { content: "▸"; position: absolute; left: 0; color: var(--accent); }
.industry-card .tag {
  display: inline-block; background: var(--accent); color: #fff; font-size: 10.5px;
  text-transform: uppercase; letter-spacing: 1.2px; padding: 4px 9px; border-radius: 20px; white-space: nowrap;
}
.industry-card.featured {
  border: 2px solid var(--accent);
  background: linear-gradient(160deg, #fff 0%, #fff7f0 100%);
}
.industry-card.featured .ic { color: var(--accent); }
@media (max-width: 900px) { .industry-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .industry-grid { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--graphite), var(--graphite-2)); color: #fff; }
.cta-band .container { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: 28px; margin-bottom: 6px; text-transform: uppercase; letter-spacing: 1px; }
.cta-band p { color: #9fb2c0; }

/* ---------- Footer ---------- */
.site-footer { background: #101418; color: #8fa4b4; font-size: 14px; }
.site-footer .container { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 44px; padding: 60px 24px 44px; }
.site-footer h4 { color: #fff; font-size: 14px; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 2px; font-family: var(--font-head); }
.site-footer a { color: #8fa4b4; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: 9px; }
.site-footer .f-about p { margin-bottom: 12px; }
.site-footer .f-contact li { display: flex; gap: 10px; margin-bottom: 11px; }
.site-footer .f-contact .ic { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 20px 24px; flex-wrap: wrap; }
.footer-bottom a { color: #61798d; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,.18); color: #9fb2c0; transition: all .2s;
}
.footer-social a svg { width: 18px; height: 18px; fill: currentColor; }
.footer-social a:hover { background: var(--accent); border-color: var(--accent); color: #fff; transform: translateY(-2px); }

/* ---------- 404 ---------- */
.page-404 { text-align: center; padding: 120px 20px; }
.page-404 h1 { font-size: 90px; color: var(--steel); }
.page-404 h2 { font-size: 28px; margin: 10px 0 16px; text-transform: uppercase; letter-spacing: 1px; }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 999;
  background: var(--graphite); color: #c6d4df; padding: 16px 24px;
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
  box-shadow: 0 -6px 24px rgba(0,0,0,.35); font-size: 14px;
}
.cookie-banner p { margin: 0; max-width: 900px; }
.cookie-banner .btn { padding: 10px 22px; font-size: 13px; flex-shrink: 0; }
.cookie-banner.hidden { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .feature-strip .container { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .site-footer .container { grid-template-columns: 1fr 1fr; }
  .hero { height: 500px; }
  .hero-content h1 { font-size: 38px; }
}
@media (max-width: 768px) {
  .nav { display: none; position: absolute; top: 88px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 12px 20px 20px; box-shadow: var(--shadow-lg); border-top: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav-toggle { display: block; }
  .topbar .tb-right { display: none; }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .solution-item { grid-template-columns: 1fr; }
  .site-footer .container { grid-template-columns: 1fr; gap: 28px; }
  .hero { height: 440px; }
  .hero-content h1 { font-size: 30px; }
  .section-head h2 { font-size: 26px; }
  .page-hero { padding: 64px 0 48px; }
  .page-hero h1 { font-size: 30px; }
  .news-list .item { flex-direction: column; gap: 10px; }
}

/* ---------- Scroll-driven premium motion ---------- */
/* 1) Mask wipe: Überschriften aufdecken (von unten nach oben) */
.head-wipe { clip-path: inset(100% 0 0 0); transition: clip-path .95s var(--ease-silk); will-change: clip-path; }
.head-wipe.in { clip-path: inset(0 0 0 0); }

/* Product overview (clean cards from Template 1) */
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.pcard { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: transform .45s var(--ease-silk), box-shadow .45s var(--ease-silk); }
.pcard:hover { transform: translateY(-8px); box-shadow: 0 26px 60px -24px rgba(16,21,27,.22); }
.pcard .ph { aspect-ratio: 4/3; overflow: hidden; background: #eef2f5; display: block; }
.pcard .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-silk); }
.pcard:hover .ph img { transform: scale(1.05); }
.pcard .b { padding: 22px 22px 24px; }
.pcard .m { color: var(--accent); font-family: var(--font-head); letter-spacing: 1.5px; font-size: 13px; font-weight: 700; text-transform: uppercase; }
.pcard h3 { font-family: var(--font-head); font-size: 19px; margin: 6px 0 8px; text-transform: uppercase; }
.pcard p { color: var(--gray); font-size: 14px; margin: 0; }
@media (max-width: 900px) { .prod-grid { grid-template-columns: 1fr; } }
