/* ════════════════════════════════════════════════════════════════════
   ATP — Product & Industry page templates (data-driven)
   Clean hierarchy, scannable sections, brand lime accent.
   Reuses tokens from atp-styles.css (--accent etc.); loaded after it.
   ════════════════════════════════════════════════════════════════════ */
.px { --px-lime: var(--accent, #e3fc53); --px-ink: #0a0a0a; --px-fog: #f0f0f0; }
.px section { position: relative; }
.px .wrap { max-width: 1180px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* ── Hero ───────────────────────────────────────────────────────── */
.px-hero { background: #0a0a0a; color: #fff; padding: 132px 0 64px; overflow: hidden; }
.px-crumb { display: flex; gap: 10px; align-items: center; font-family: "JetBrains Mono", monospace; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #6f6f6a; margin-bottom: 40px; }
.px-crumb a { color: #9a9a94; text-decoration: none; }
.px-crumb a:hover { color: var(--px-lime); }
.px-crumb-cur { color: var(--px-lime); }
.px-hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.px-hero-copy-wide { max-width: 880px; }
/* Headline colours need !important AND -webkit-text-fill-color: the handoff
   atp-styles.css colours bare h1/h2 (and children) with
   `color: var(--atp-ink) !important` and fills the glyphs via -webkit-text-fill-color. */
.px-h1, .px-h1 * { color: #fff !important; -webkit-text-fill-color: #fff !important; }
.px-h1 { font-family: "KLAPT","Space Grotesk",sans-serif; text-transform: uppercase; font-weight: 700; font-size: clamp(26px, 3vw, 42px); line-height: 1.06; letter-spacing: -0.015em; margin: 14px 0 20px; max-width: 18ch; }
.px-h1 .lime { color: var(--px-lime) !important; -webkit-text-fill-color: var(--px-lime) !important; }
.px-hero-sub { font-size: clamp(16px, 1.5vw, 20px); line-height: 1.55; color: rgba(255,255,255,0.82); max-width: 60ch; margin: 0 0 26px; }
.px-chips { list-style: none; display: flex; flex-wrap: nowrap; gap: 8px; padding: 0; margin: 0 0 30px; }
html body .px-chips li { font-family: "KLAPT", "Space Grotesk", sans-serif !important; font-size: 12px !important; font-weight: 400 !important; letter-spacing: .04em !important; text-transform: uppercase !important; color: #eaeaea !important; border: 1px solid #2a2a2a !important; padding: 3px 8px !important; white-space: nowrap !important; background: #141414 !important; clip-path: polygon(6px 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 0 100%, 0 6px) !important; -webkit-clip-path: polygon(6px 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 0 100%, 0 6px) !important; }
.px-hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
/* Buttons on the dark hero: keep text legible regardless of global .btn styles */
.px-hero .btn { font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 14px; letter-spacing: 0; text-transform: none; padding: 14px 22px; border-radius: 4px; }
.px-hero .btn-lime { background: var(--px-lime); color: #0a0a0a; }
.px-hero .btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.34); }
.px-hero .btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: var(--px-lime); color: var(--px-lime); }
.px-hero-art { display: grid; place-items: center; }
.px-gear { width: min(360px, 80%); height: auto; color: var(--px-lime); opacity: 0.92; }
.gear-spin { transform-origin: 50% 50%; animation: px-spin 28s linear infinite; }
@keyframes px-spin { to { transform: rotate(360deg); } }

/* ── Section scaffolding ────────────────────────────────────────── */
.px-section { padding: 76px 0; background: var(--px-fog); color: var(--px-ink); }
.px-section.on-paper { background: #fff; }
.px-head { max-width: 760px; margin: 0 0 40px; }
.px-h2, .px-h2 * { color: #0a0a0a !important; -webkit-text-fill-color: #0a0a0a !important; }
.px-h2 { font-family: "KLAPT","Space Grotesk",sans-serif; text-transform: uppercase; font-weight: 700; font-size: clamp(22px, 2.3vw, 31px); line-height: 1.06; letter-spacing: -0.01em; margin: 10px 0 0; }
/* Lime accent on LIGHT sections: pale lime text is barely readable, so use the
   brand highlight treatment (dark text + lime underline bar) instead. */
.px-h2 .lime { color: #0a0a0a !important; -webkit-text-fill-color: #0a0a0a !important; background: linear-gradient(180deg, transparent 62%, var(--px-lime) 62%); padding: 0 0.04em; }
.px-lede { font-size: clamp(15px, 1.3vw, 18px); line-height: 1.6; color: #44443f; margin: 16px 0 0; max-width: 64ch; }

/* ── Pain → Solution ────────────────────────────────────────────── */
.px-pain { padding: 76px 0; background: var(--px-fog); }
.px-pain-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.px-pain-card { padding: 34px 32px; clip-path: polygon(16px 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%, 0 16px); -webkit-clip-path: polygon(16px 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%, 0 16px); }
.px-pain-tag { display: inline-block; font-family: "JetBrains Mono", monospace; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 14px; }
.px-pain-card p { font-size: clamp(17px, 1.6vw, 21px); line-height: 1.45; margin: 0; font-weight: 500; }
.px-pain-problem { background: #0a0a0a; color: #fff; }
.px-pain-problem .px-pain-tag { color: var(--px-lime); }
.px-pain-answer { background: var(--px-lime); color: #0a0a0a; }
.px-pain-answer .px-pain-tag { color: #4d5b00; }

/* ── How / Solution feature cards ───────────────────────────────── */
.px-how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.px-how-card { background: #fff; border: 1px solid #e5e5e0; padding: 28px 26px; clip-path: polygon(16px 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%, 0 16px); -webkit-clip-path: polygon(16px 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%, 0 16px); }
.on-paper .px-how-card { background: var(--px-fog); border-color: #e2e2da; }
.px-how-num { font-family: "JetBrains Mono", monospace; font-size: 12px; letter-spacing: .1em; color: #0a0a0a; font-weight: 700; }
.px-how-num::before { content: ""; display: inline-block; width: 14px; height: 3px; background: var(--px-lime); margin-right: 8px; vertical-align: middle; }
.px-how-card h3 { font-family: "KLAPT","Space Grotesk",sans-serif; text-transform: uppercase; font-size: 19px; letter-spacing: -0.01em; margin: 12px 0 8px; line-height: 1.1; }
.px-how-card p { font-size: 14.5px; line-height: 1.6; color: #45453f; margin: 0; }

/* ── Specs grid ─────────────────────────────────────────────────── */
.px-specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: #e2e2da; border: 1px solid #e2e2da; border-radius: 14px; overflow: hidden; }
.px-spec { background: #fff; padding: 28px 26px; }
.px-spec-val { font-family: "KLAPT","Space Grotesk",sans-serif !important; font-weight: 700 !important; font-size: clamp(26px, 3vw, 38px); line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.px-spec-unit { font-size: 0.42em; letter-spacing: .04em; color: #6b6b66; margin-left: 7px; }
.px-spec-key { font-family: "JetBrains Mono", monospace; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #6b6b66; margin-top: 12px; }

/* ── Application list ───────────────────────────────────────────── */
.px-applist { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; }
.px-applist li { display: flex; align-items: flex-start; gap: 14px; padding: 16px 0; border-bottom: 1px solid #e2e2da; font-size: 15.5px; line-height: 1.45; }
.px-applist-dot { flex-shrink: 0; width: 8px; height: 8px; margin-top: 7px; background: var(--px-lime); border-radius: 2px; }

/* ── Challenge list (industry) ──────────────────────────────────── */
.px-challenge { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; max-width: 820px; }
.px-challenge li { display: flex; align-items: flex-start; gap: 14px; font-size: clamp(15px,1.4vw,17px); line-height: 1.5; color: #2a2a26; }
.px-challenge-mark { flex-shrink: 0; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: #e3fc53; border: 2px solid #e3fc53; }

/* ── Why ATP cards ──────────────────────────────────────────────── */
.px-why { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.px-why-card { background: #fff; border: 1px solid #e5e5e0; padding: 30px 30px; position: relative; clip-path: polygon(16px 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%, 0 16px); -webkit-clip-path: polygon(16px 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%, 0 16px); }
.on-paper .px-why-card { background: var(--px-fog); border-color: #e2e2da; }
.px-why-card::before { content: ""; position: absolute; left: 30px; top: 30px; width: 26px; height: 3px; background: var(--px-lime); }
.px-why-card h3 { font-family: "KLAPT","Space Grotesk",sans-serif; text-transform: uppercase; font-size: 20px; letter-spacing: -0.01em; margin: 20px 0 10px; line-height: 1.05; }
.px-why-card p { font-size: 15px; line-height: 1.6; color: #45453f; margin: 0; }

/* ── Internal link chips ────────────────────────────────────────── */
.px-linkchips { margin-top: 40px; }
.px-linkchips-label { display: block; font-family: "JetBrains Mono", monospace; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #6b6b66; margin-bottom: 14px; }
.px-linkchips-row { display: flex; flex-wrap: wrap; gap: 10px; }
.px-chip-link { display: inline-flex; align-items: center; gap: 12px; background: #0a0a0a; color: #fff; text-decoration: none; font-family: "KLAPT", "Space Grotesk", sans-serif; font-weight: 400; font-size: 13px; text-transform: uppercase; letter-spacing: .03em; padding: 14px 22px; transition: background .15s, color .15s; clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%, 0 10px); -webkit-clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%, 0 10px); }
.px-chip-link:hover { background: var(--px-lime); color: #0a0a0a; }
/* SVG arrow hidden — replaced by long arrow via ::after */
.px-chip-arrow { display: none; }
.px-chip-link::after { content: ""; display: inline-block; width: 28px; height: 10px; flex-shrink: 0; background: #fff; -webkit-mask: url("/assets/icons/arrow-long-black.png") center / contain no-repeat; mask: url("/assets/icons/arrow-long-black.png") center / contain no-repeat; transition: background .15s; }
.px-chip-link:hover::after { background: #0a0a0a; }

/* ── FAQ ────────────────────────────────────────────────────────── */
.px-faq { list-style: none; padding: 0; margin: 0; border-top: 1px solid #d9d9d2; }
.px-faq details { border-bottom: 1px solid #d9d9d2; }
.px-faq summary { display: flex; align-items: center; gap: 18px; padding: 22px 4px; cursor: pointer; list-style: none; }
.px-faq summary::-webkit-details-marker { display: none; }
.px-faq-num { font-family: "JetBrains Mono", monospace; font-size: 12px; color: #9a9a90; letter-spacing: .08em; }
.px-faq-q { flex: 1; font-family: "KLAPT","Space Grotesk",sans-serif; text-transform: uppercase; font-size: clamp(15px,1.5vw,19px); letter-spacing: -0.01em; }
.px-faq-toggle { display: inline-block; width: 34px; height: 26px; background: url("/assets/icons/arrow-long-black.png") center / contain no-repeat; color: transparent; font-size: 0; border: 0; flex: 0 0 auto; transition: transform .3s ease; }
.px-faq details[open] .px-faq-toggle { transform: rotate(90deg); }
.px-faq-a { padding: 0 4px 24px 56px; font-size: 15.5px; line-height: 1.65; color: #45453f; max-width: 76ch; }

/* ── CTA band ───────────────────────────────────────────────────── */
.px-cta { background: var(--px-lime); color: #0a0a0a; padding: 72px 0; }
.px-cta-inner { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 36px; align-items: center; }
.px-cta h2, .px-cta h2 *, html body .px-cta h2 .lime, html body .px-cta h2 span { color: #0a0a0a !important; -webkit-text-fill-color: #0a0a0a !important; -webkit-text-stroke: 0 !important; background: none !important; }
.px-cta h2 { font-family: "KLAPT","Space Grotesk",sans-serif; text-transform: uppercase; font-weight: 700; font-size: clamp(24px, 2.8vw, 34px); line-height: 1.04; letter-spacing: -0.015em; margin: 0 0 12px; }
.px-cta p { font-size: 16px; line-height: 1.55; margin: 0; max-width: 48ch; }
.px-cta-actions { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
.px-cta .btn { font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 14px; letter-spacing: 0; text-transform: none; padding: 14px 22px; border-radius: 4px; }
.px-cta .btn-lime { background: #0a0a0a; color: #fff; justify-content: center; }
.px-cta .px-cta-call { background: transparent; border: 1px solid #0a0a0a; color: #0a0a0a; justify-content: center; }

/* ── Responsive ─────────────────────────────────────────────────── */

/* Tablet breit (1080px): 3-Spalten-Grids → 2 Spalten */
@media (max-width: 1080px) {
  .px-how { grid-template-columns: repeat(2, 1fr); }
  .px-specs { grid-template-columns: repeat(2, 1fr); }
  .px-why { grid-template-columns: repeat(2, 1fr); }
}

/* Tablet / kleines Notebook (900px) */
@media (max-width: 900px) {
  .px-hero { padding: 110px 0 48px; }
  .px-hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .px-hero-art { order: -1; }
  .px-gear { width: 180px; }
  .px-pain-grid, .px-how, .px-specs, .px-why, .px-applist, .px-cta-inner { grid-template-columns: 1fr; }
  .px-section, .px-pain { padding: 52px 0; }
  .px-cta { padding: 56px 0; }
  .px-faq-a { padding-left: 4px; }
  .px-chips { flex-wrap: wrap; }
  .px-h1 { max-width: 100%; }
  .px-crumb { margin-bottom: 24px; }
  .px-pain-card { padding: 26px 24px; }
}

/* Mobil (600px) */
@media (max-width: 600px) {
  .px .wrap { padding-left: 16px; padding-right: 16px; }
  .px-hero { padding: 90px 0 40px; }
  .px-hero-sub { font-size: 15px; max-width: 100%; }
  .px-section, .px-pain { padding: 40px 0; }
  .px-cta { padding: 44px 0; }
  .px-cta-inner { gap: 24px; }
  .px-head { margin-bottom: 28px; }
  .px-how-card { padding: 22px 20px; }
  .px-why-card { padding: 22px 20px; }
  .px-ovcard { padding: 20px 20px 16px; }
  .px-pain-card { padding: 22px 20px; }
  .px-selection { padding: 22px 20px; }
  .px-spec { padding: 20px 18px; }
  .px-faq summary { padding: 16px 4px; gap: 10px; }
  .px-faq-q { font-size: 14px; }
  .px-faq-a { font-size: 14px; }
  .px-applist { gap: 0; }
  .px-applist li { font-size: 14.5px; padding: 13px 0; }
  .px-linkchips-row { gap: 8px; }
  .px-chip-link { font-size: 13px; padding: 9px 14px; }
  .px-glossary dl { gap: 16px; }
  .px-band { padding: clamp(48px, 10vw, 72px) 0; }
  .px-crumb { font-size: 10px; margin-bottom: 18px; flex-wrap: wrap; }
  .px-guide-row { padding: 14px 4px; }
}

/* ── Template-hero header (body.tpl-hero set by SiteScripts) ──────────────
   Matches homepage behaviour: transparent while at the top, dark on scroll.
   The handoff forces the header to white via !important — override that here. */
body.tpl-hero .site-header:not(.scrolled) {
  background: transparent !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  border-bottom: 1px solid transparent !important;
}
body.tpl-hero .site-header.scrolled {
  background: rgba(10, 10, 10, 0.92) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  backdrop-filter: blur(8px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}
body.tpl-hero .site-header .nav-inline .has-drop > a,
body.tpl-hero .site-header .nav-inline-right > a:not(.nav-cta) { color: #fff !important; }
body.tpl-hero .site-header .burger-bars span { background: #fff !important; }
body.tpl-hero .site-header .search-trigger { color: #fff !important; }

/* ── Logo-Höhe: auf allen Seiten und in allen Header-Zuständen 70px ────────
   Deckt alle Zustände ab: normal, scrolled, tpl-hero, data-screen-label. */
html body .site-header .brand-mark,
html body .site-header .brand-mark img,
html body .site-header:not(.scrolled) .brand-mark,
html body .site-header.scrolled .brand-mark,
body.tpl-hero .site-header .brand-mark,
body.tpl-hero .site-header.scrolled .brand-mark,
body[data-screen-label] .site-header .brand-mark,
body[data-screen-label] .site-header.scrolled .brand-mark {
  height: 70px !important;
  max-height: 70px !important;
  min-height: 70px !important;
}

/* ── Eyebrow arrow colour ───────────────────────────────────────── */
/* Dark hero background → lime arrow; light sections → black arrow. */
.px-hero .eyebrow::before {
  background: var(--px-lime) !important;
}
html body .px-pain .eyebrow,
html body .px-section .eyebrow { color: #6b6b66 !important; -webkit-text-fill-color: #6b6b66 !important; }
html body .px-pain .eyebrow::before,
html body .px-section .eyebrow::before,
html body .px-ovgrid ~ * .eyebrow::before {
  background: #0a0a0a !important;
}

/* ── Globe / Sprachschalter: lime wenn Header dunkel (scrolled auf tpl-hero) ── */
body.tpl-hero .site-header.scrolled .lang-trigger {
  color: var(--px-lime) !important;
  border-color: rgba(227,252,83,0.3) !important;
}
body.tpl-hero .site-header.scrolled .lang-trigger:hover {
  background: var(--px-lime) !important;
  color: #0a0a0a !important;
  border-color: var(--px-lime) !important;
}

/* ── Expertise / Engineering depth section ──────────────────────── */
.px-expertise { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 36px; align-items: stretch; }
.px-selection { background: #0a0a0a; color: #fff; padding: 30px 30px; height: 100%; box-sizing: border-box; display: flex; flex-direction: column; justify-content: center; clip-path: polygon(16px 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%, 0 16px); -webkit-clip-path: polygon(16px 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%, 0 16px); }
.px-selection-intro { font-size: 15px; line-height: 1.5; color: rgba(255,255,255,0.82); margin: 0 0 18px; font-weight: 600; }
.px-selection ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.px-selection li { position: relative; padding-left: 30px; font-size: 15px; line-height: 1.45; color: #eaeaea; }
.px-selection li::before { content: ""; position: absolute; left: 0; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--px-lime); }
.px-selection li::after { content: ""; position: absolute; left: 5px; top: 4px; width: 5px; height: 9px; border: solid #0a0a0a; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.px-eng { display: grid; gap: 4px; }
.px-eng-item { padding: 18px 0; border-bottom: 1px solid #e2e2da; }
.px-eng-item:first-child { padding-top: 0; }
.px-eng-item h3 { font-family: "KLAPT","Space Grotesk",sans-serif; text-transform: uppercase; font-size: 17px; letter-spacing: -0.01em; margin: 0 0 7px; line-height: 1.1; }
.px-eng-item p { font-size: 14.5px; line-height: 1.6; color: #45453f; margin: 0; }
.px-glossary { margin-top: 40px; border-top: 2px solid #0a0a0a; padding-top: 26px; }
.px-glossary-label { display: block; font-family: "JetBrains Mono", monospace; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #6b6b66; margin-bottom: 18px; }
.px-glossary dl { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 40px; margin: 0; }
.px-gterm dt { font-family: "KLAPT","Space Grotesk",sans-serif; text-transform: uppercase; font-size: 14px; letter-spacing: -0.005em; margin-bottom: 5px; }
.px-gterm dd { margin: 0; font-size: 13.5px; line-height: 1.6; color: #45453f; }
@media (max-width: 900px) {
  .px-expertise { grid-template-columns: 1fr; gap: 24px; }
  .px-glossary dl { grid-template-columns: 1fr; }
}

/* ── Overview pages (/produkte, /branchen) ──────────────────────── */
.px-ovgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.px-ovcard { display: flex; flex-direction: column; background: #fff; border: 1px solid #e5e5e0; padding: 28px 28px 24px; text-decoration: none; color: #0a0a0a; transition: border-color .15s, transform .15s; clip-path: polygon(28px 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 0 100%, 0 28px); -webkit-clip-path: polygon(28px 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 0 100%, 0 28px); }
.px-ovcard:hover { border-color: #0a0a0a; transform: translateY(-3px); }
.px-ovcard-num { font-family: "JetBrains Mono", monospace; font-size: 11px; letter-spacing: .14em; color: #9a9a90; }
.px-ovcard-name { font-family: "KLAPT","Space Grotesk",sans-serif; text-transform: uppercase; font-size: clamp(18px, 1.7vw, 22px) !important; line-height: 1.05 !important; letter-spacing: -0.01em; margin: 12px 0 10px; color: #0a0a0a !important; -webkit-text-fill-color: #0a0a0a !important; overflow-wrap: anywhere; hyphens: auto; }
.px-ovcard-blurb { font-size: 14.5px; line-height: 1.55; color: #45453f; margin: 0 0 18px; flex: 1; }
.px-ovcard-chip { align-self: flex-start; font-family: "JetBrains Mono", monospace; font-size: 11.5px; letter-spacing: .02em; background: var(--px-lime); color: #0a0a0a; padding: 5px 11px; margin-bottom: 16px; clip-path: polygon(6px 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 0 100%, 0 6px); -webkit-clip-path: polygon(6px 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 0 100%, 0 6px); }
.px-ovcard-go { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 13.5px; color: #0a0a0a; }
.px-ovcard:hover .px-ovcard-go { color: #5a6d00; }
.px-ovcard:hover .px-ovcard-go svg { transform: translate(2px,-2px); transition: transform .15s; }

.px-guide { border-top: 1px solid #d9d9d2; max-width: 880px; }
.px-guide-row { display: grid; grid-template-columns: 1fr auto auto; gap: 16px; align-items: center; padding: 18px 4px; border-bottom: 1px solid #d9d9d2; text-decoration: none; transition: background .12s; }
.px-guide-row:hover { background: rgba(227,252,83,0.12); }
.px-guide-q { font-size: clamp(15px,1.5vw,17px); color: #0a0a0a; }
.px-guide-arrow { color: #b6b6ad; font-size: 18px; }
.px-guide-a { font-family: "KLAPT","Space Grotesk",sans-serif; text-transform: uppercase; font-size: 15px; letter-spacing: -0.005em; background: linear-gradient(180deg, transparent 62%, var(--px-lime) 62%); padding: 0 .12em; }
@media (max-width: 900px) {
  .px-ovgrid { grid-template-columns: 1fr; }
  .px-guide-row { grid-template-columns: 1fr; gap: 4px; }
  .px-guide-arrow { display: none; }
  .px-guide-a { justify-self: start; }
}

/* ── Industry hero with atmospheric photo/video background ──────── */
.px-hero-photo { background: #0a0a0a; }
.px-hero-bg { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center; }
.px-hero-video { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.8s ease; }
.px-hero-video.is-ready { opacity: 1; }
/* Scrim: dark over the text column (left), image stays clearly visible right. */
.px-hero-scrim {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(10,10,10,0.94) 0%, rgba(10,10,10,0.72) 28%, rgba(10,10,10,0.18) 60%, rgba(10,10,10,0) 100%),
    linear-gradient(180deg, rgba(10,10,10,0.7) 0%, transparent 22%, transparent 66%, rgba(10,10,10,0.58) 100%);
}
.px-hero-photo > .wrap { position: relative; z-index: 3; }
@media (max-width: 900px) {
  .px-hero-scrim {
    background: linear-gradient(180deg, rgba(10,10,10,0.88) 0%, rgba(10,10,10,0.72) 50%, rgba(10,10,10,0.84) 100%);
  }
}

/* ── Full-bleed image band (cinematic section divider) ─────────────── */
.px-band {
  position: relative;
  overflow: hidden;
  background: #0a0a0a;
  padding: clamp(72px, 13vw, 168px) 0;
  isolation: isolate;
}
.px-band-bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
  transform: scale(1.04);
}
.px-band-scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(10,10,10,0.78) 0%, rgba(10,10,10,0.5) 42%, rgba(10,10,10,0.82) 100%),
    linear-gradient(90deg, rgba(10,10,10,0.62) 0%, rgba(10,10,10,0.12) 55%, rgba(10,10,10,0) 100%);
}
.px-band .px-band-inner { position: relative; z-index: 2; max-width: 880px !important; }
.px-band .px-band-kicker {
  display: inline-block; margin: 0 0 18px !important;
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 0.8rem !important; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--atp-lime, #c6f24e) !important;
  -webkit-text-fill-color: var(--atp-lime, #c6f24e) !important;
}
.px-band .px-band-statement {
  margin: 0 !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  font-weight: 600 !important;
  line-height: 1.12 !important;
  font-size: clamp(1.9rem, 4.4vw, 3.2rem) !important;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.px-band .px-band-statement .lime {
  color: var(--atp-lime, #c6f24e) !important;
  -webkit-text-fill-color: var(--atp-lime, #c6f24e) !important;
}
@media (max-width: 900px) {
  .px-band-scrim {
    background: linear-gradient(180deg, rgba(10,10,10,0.82) 0%, rgba(10,10,10,0.66) 50%, rgba(10,10,10,0.86) 100%);
  }
}

/* ── Service-Seite: dunkler Hero wie tpl-hero ───────────────────── */
/* [id] adds one extra attr selector → specificity (0,0,3,2) beats atp-styles fog rule (0,0,3,1) */
html body[data-screen-label="Service"] .page-hero[id] {
  background: #0a0a0a !important;
  color: #fff !important;
  border-bottom-color: #222 !important;
}
html body[data-screen-label="Service"] .page-hero[id] .page-title,
html body[data-screen-label="Service"] .page-hero[id] .page-title * {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}
html body[data-screen-label="Service"] .page-hero[id] .page-title .lime {
  color: var(--atp-lime) !important;
  -webkit-text-fill-color: var(--atp-lime) !important;
}
html body[data-screen-label="Service"] .page-hero[id] .page-lede {
  color: rgba(255,255,255,0.82) !important;
}
html body[data-screen-label="Service"] .page-hero[id] .breadcrumb,
html body[data-screen-label="Service"] .page-hero[id] .breadcrumb a,
html body[data-screen-label="Service"] .page-hero[id] .breadcrumb .sep {
  color: rgba(255,255,255,0.55) !important;
}
html body[data-screen-label="Service"] .page-hero[id] .breadcrumb .current {
  color: #0a0a0a !important;
  -webkit-text-fill-color: #0a0a0a !important;
}
html body[data-screen-label="Service"] .page-hero[id] .eyebrow {
  color: rgba(255,255,255,0.55) !important;
}
html body[data-screen-label="Service"] .page-hero[id] .eyebrow .eb-arr,
html body[data-screen-label="Service"] .page-hero[id] .eyebrow::before {
  background: var(--atp-lime, #e3fc53) !important;
}
html body[data-screen-label="Service"] .page-hero[id] .page-hero-media { display: none !important; }

/* ════════════════════════════════════════════════════════════════════
   Lesbarkeits- & Conversion-Iteration (staging)
   ════════════════════════════════════════════════════════════════════ */

/* ── Reveal entschärft: früher sichtbar, schneller, weniger Versatz.
   Überschreibt die 0.7s/24px-Regel aus atp-styles.css — beim normalen
   Scrollen darf Inhalt nie lange blass/ausgegraut wirken. */
.reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.32s ease-out, transform 0.32s ease-out;
}
.reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── Sticky Sprung-Navigation (Produkt-/Branchenseiten) ─────────── */
.px-jumpnav {
  position: sticky; top: 98px; z-index: 60;
  background: rgba(10, 10, 10, 0.94);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.px-jumpnav-inner { padding-top: 0; padding-bottom: 0; }
.px-jumpnav ul {
  list-style: none; display: flex; gap: 6px; margin: 0; padding: 0;
  overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.px-jumpnav ul::-webkit-scrollbar { display: none; }
.px-jumpnav li { flex: 0 0 auto; }
html body .px-jumpnav a {
  display: inline-block !important; padding: 13px 14px !important;
  font-family: "JetBrains Mono", monospace !important; font-size: 11px !important;
  font-weight: 500 !important; line-height: 1.2 !important;
  letter-spacing: .12em !important; text-transform: uppercase !important;
  color: #b9b9b2 !important; -webkit-text-fill-color: #b9b9b2 !important;
  text-decoration: none !important;
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
  white-space: nowrap;
}
html body .px-jumpnav a:hover {
  color: var(--px-lime) !important; -webkit-text-fill-color: var(--px-lime) !important;
  border-bottom-color: var(--px-lime);
}
/* Anker: Sektionen unter der Sticky-Leiste sauber anfahren */
.px [id] { scroll-margin-top: 156px; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ── Engineering-Wissen als Karten (statt langer Textstapel) ────── */
.px-eng { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-content: start; }
.px-eng-item {
  background: var(--px-fog); border: 1px solid #e2e2da; padding: 24px 22px;
  border-bottom: 1px solid #e2e2da;
  clip-path: polygon(14px 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%, 0 14px);
  -webkit-clip-path: polygon(14px 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%, 0 14px);
}
.px-eng-item:first-child { padding-top: 24px; }
.px-eng-item h3::before { content: ""; display: block; width: 26px; height: 3px; background: var(--px-lime); margin-bottom: 12px; }
.px-eng-item h3 { overflow-wrap: anywhere; hyphens: auto; -webkit-hyphens: auto; }
/* Expertise-Grid: dunkle Auswahlbox oben in voller Breite, Karten darunter */
.px-expertise { grid-template-columns: 1fr; gap: 24px; }
.px-selection { justify-content: flex-start; }
.px-selection ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; }
@media (max-width: 1080px) { .px-eng { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .px-eng { grid-template-columns: 1fr; }
  .px-selection ul { grid-template-columns: 1fr; }
}

/* ── Glossar als kompaktes Akkordeon ────────────────────────────── */
.px-glossary details { border-bottom: 1px solid #d9d9d2; }
.px-glossary details:first-of-type { border-top: 1px solid #d9d9d2; }
.px-glossary summary {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 4px; cursor: pointer; list-style: none;
}
.px-glossary summary::-webkit-details-marker { display: none; }
.px-glossary summary dt,
.px-glossary .px-gterm-term {
  font-family: "KLAPT","Space Grotesk",sans-serif; text-transform: uppercase;
  font-size: 14px; letter-spacing: -0.005em; flex: 1;
}
.px-glossary .px-gterm-toggle {
  display: inline-block; width: 26px; height: 18px; flex: 0 0 auto;
  background: url("/assets/icons/arrow-long-black.png") center / contain no-repeat;
  transition: transform .3s ease;
}
.px-glossary details[open] .px-gterm-toggle { transform: rotate(90deg); }
.px-glossary .px-gterm-def { margin: 0; padding: 0 4px 16px 0; font-size: 13.5px; line-height: 1.6; color: #45453f; max-width: 76ch; }
.px-glossary-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; align-items: start; }
@media (max-width: 900px) { .px-glossary-cols { grid-template-columns: 1fr; } }

/* ── Sticky Mobile-CTA-Leiste ───────────────────────────────────── */
.px-stickycta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  display: none; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(10, 10, 10, 0.96);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  transform: translateY(0); opacity: 1;
  transition: transform .25s ease, opacity .25s ease;
}
.px-stickycta.is-hidden { transform: translateY(110%); opacity: 0; pointer-events: none; }
.px-stickycta .btn {
  flex: 1; justify-content: center;
  font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 13.5px;
  text-transform: none; letter-spacing: 0; padding: 12px 14px; border-radius: 4px;
}
.px-stickycta .btn-lime { background: var(--px-lime); color: #0a0a0a; }
.px-stickycta .btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.34); }
@media (max-width: 900px) {
  .px-stickycta { display: flex; }
  /* Platz lassen, damit der Footer nicht verdeckt wird */
  body:has(.px-stickycta:not(.is-hidden)) .site-footer { padding-bottom: 84px; }
}

/* ── Inline-CTA unter den Specs (Desktop-Konversionspfad) ───────── */
.px-inline-cta { margin-top: 28px; }
.px-inline-cta .btn {
  font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 14px;
  text-transform: none; letter-spacing: 0; padding: 14px 22px; border-radius: 4px;
}
.px-inline-cta .btn-lime { background: var(--px-lime); color: #0a0a0a; }

/* ── Kein horizontales Wackeln auf Mobile: clip statt hidden, damit
   position:sticky (Jumpnav) weiter funktioniert. ─────────────────── */
html, body { overflow-x: clip; }

/* ── Rechtsseiten (Impressum/Datenschutz): die generischen Label-Regeln der
   Handoff-CSS kennen diese Labels nicht und liefern schwarze Sektion mit
   schwarzer Schrift. Heller Paper-Look erzwingen. ─────────────────────── */
/* :not(#_) lifts specificity to ID level — the handoff sheet has a
   (0,3,3)-!important rule painting unknown-label on-paper sections dark. */
html body[data-screen-label="Impressum"]:not(#_) section.on-paper,
html body[data-screen-label="Datenschutz"]:not(#_) section.on-paper {
  background: #f0f0f0 !important;
  color: #1a1a1a !important;
}
html body[data-screen-label="Impressum"]:not(#_) section.on-paper :is(h2, h3, p, li, strong, a),
html body[data-screen-label="Datenschutz"]:not(#_) section.on-paper :is(h2, h3, p, li, strong, a) {
  color: #222 !important;
  -webkit-text-fill-color: #222 !important;
}
html body[data-screen-label="Impressum"]:not(#_) section.on-paper a,
html body[data-screen-label="Datenschutz"]:not(#_) section.on-paper a {
  text-decoration: underline;
  text-decoration-color: rgba(0,0,0,0.3);
}

/* Rechtsseiten: generische Label-Regeln zentrieren/vergrößern h2 — kompakte
   linksbündige Typo für Rechtstexte erzwingen. */
html body[data-screen-label="Impressum"]:not(#_) section.on-paper .legal-block h2,
html body[data-screen-label="Datenschutz"]:not(#_) section.on-paper .legal-block h2 {
  font-size: 24px !important;
  line-height: 1.2 !important;
  text-align: left !important;
  margin: 0 0 10px !important;
  letter-spacing: 0 !important;
}
html body[data-screen-label="Impressum"]:not(#_) section.on-paper .legal-block h3,
html body[data-screen-label="Datenschutz"]:not(#_) section.on-paper .legal-block h3 {
  font-size: 17px !important;
  text-align: left !important;
  margin: 18px 0 8px !important;
}


/* ── Mobile: Hero-Headline darf nicht am Viewport abgeschnitten werden —
   das Wort „Antriebstechnologie" ist breiter als 375px. Umbruch erlauben. ── */
@media (max-width: 640px) {
  html body .hero-title {
    max-width: 100% !important;
    hyphens: auto;
    -webkit-hyphens: auto;
    overflow-wrap: anywhere;
    font-size: clamp(26px, 8.4vw, 34px) !important;
    line-height: 1.05 !important;
  }
  html body .hero-copy, html body .hero .wrap { max-width: 100%; }
}

/* ── Einheiten-Schreibweise (kNm, kW, Nm): KLAPT ist eine Versalschrift und
   macht aus "kNm" optisch "KNM". Einheiten-Kontexte auf Mono umstellen. ── */
html body .px-chips li {
  font-family: "JetBrains Mono", ui-monospace, monospace !important;
  text-transform: none !important;
  font-size: 11.5px !important;
  letter-spacing: .05em !important;
}
.px-spec-unit {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  text-transform: none;
}
html body .num .plus {
  font-family: "JetBrains Mono", ui-monospace, monospace !important;
  text-transform: none !important;
}
html body .stat .unit,
html body .stats-band .unit {
  font-family: "JetBrains Mono", ui-monospace, monospace !important;
  text-transform: none !important;
}

/* ── Produkt-Renderings (Eckdaten-Sektion + Übersichtskarten) ─────────── */
.px-specs-wrap {
  display: grid;
  grid-template-columns: 1fr minmax(300px, 420px);
  gap: clamp(24px, 3.5vw, 56px);
  align-items: center;
}
.px-render { margin: 0; }
.px-render img { width: 100%; height: auto; display: block; }
@media (max-width: 900px) {
  .px-specs-wrap { grid-template-columns: 1fr; }
  .px-render { max-width: 420px; margin: 0 auto; }
}
.px-ovcard-img { width: 100%; height: auto; display: block; margin: -6px 0 10px; }

/* ── Mobile-Menü-Fixes ───────────────────────────────────────────────── */
/* Floating-UI hinter dem offenen Menü ausblenden */
body.menu-open .cb-launcher,
body.menu-open .cb-launcher-label,
body.menu-open .px-stickycta { display: none !important; }
/* Menü-Fußzeile: Copyright nicht wortweise umbrechen */
html body .menu-foot { display: flex !important; flex-wrap: wrap; gap: 10px 18px; align-items: center; }
html body .menu-foot span { white-space: nowrap; }
/* Produkt-Hero-H1: lange Komposita auf Mobile sauber trennen */
@media (max-width: 640px) {
  .px-h1 { overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
}

/* ── Helle Produkt-Heroes (Studio-Renderings, grau + Lime) ───────────── */
.px-hero--light { background: #f4f4f2; }
html body .px-hero--light:not(#_) { padding-top: 172px !important; }
@media (max-width: 640px) {
  html body .px-hero--light:not(#_) { padding-top: 134px !important; }
}
html body .px-hero--light .px-crumb a { color: #6a6a64; }
html body .px-hero--light .px-crumb-cur { color: #55611c; }
.px-hero--light .px-hero-bg {
  background-position: 78% center;
  filter: none;
}
.px-hero--light .px-hero-scrim {
  /* Statt dunklem Scrim: sanfter heller Verlauf von links, damit der Text
     auch über hellen Bildpartien sicher lesbar bleibt. */
  background: linear-gradient(90deg, rgba(246,246,244,0.94) 0%, rgba(246,246,244,0.78) 38%, rgba(246,246,244,0.25) 60%, rgba(246,246,244,0) 78%);
}
html body .px-hero--light:not(#_) .px-h1,
html body .px-hero--light:not(#_) .px-h1 span { color: #0a0a0a !important; -webkit-text-fill-color: #0a0a0a !important; }
html body .px-hero--light:not(#_) .px-h1 span.lime { color: #6d7c00 !important; -webkit-text-fill-color: #6d7c00 !important; }
html body .px-hero--light .px-hero-sub { color: #3a3a36; }
html body .px-hero--light .px-crumb,
html body .px-hero--light .px-crumb a { color: #55554f; }
html body .px-hero--light .px-crumb-cur { color: #0a0a0a; }
html body .px-hero--light .eyebrow { color: #6a6a64; }
html body .px-hero--light .px-chips li {
  color: #22221f !important;
  background: #fff !important;
  border-color: #d8d8d2 !important;
}
html body .px-hero--light .btn-ghost {
  color: #0a0a0a;
  border-color: rgba(0,0,0,0.35);
}
/* Header über hellem Hero: transparent, beim Scrollen heller Grund */
html body.tpl-hero-light .site-header:not(#_) { background: transparent !important; box-shadow: none !important; }
html body.tpl-hero-light .site-header.scrolled:not(#_) { background: rgba(246,246,244,0.94) !important; }
body.tpl-hero-light .site-header .nav-inline a,
body.tpl-hero-light .site-header .burger-bars span { color: #0a0a0a; }
@media (max-width: 640px) {
  .px-hero--light .px-hero-bg { background-position: 72% center; opacity: 0.35; }
  .px-hero--light .px-hero-scrim { background: rgba(246,246,244,0.55); }
}
