/* =============================================================================
   TMG Company Deck — Design System & Slide Engine
   CI: Brand-Blue #0033A1 · Night #202B4D · Gold #FFC600 · Albert Sans / JetBrains Mono
   ========================================================================== */

:root {
  /* Brand (aus TMG-Website-Prototyp) */
  --brand-blue: #0033A1;
  --brand-blue-deep: #1E4185;
  --brand-blue-night: #202B4D;
  --gold: #FFC600;
  --gold-amber: #F7BF37;
  --cta: #F2A900;
  --cta-hover: #D9930A;

  --ink: #161B2E;
  --ink-soft: #5C6680;
  --paper: #FFFFFF;
  --paper-soft: #F0F3FC;
  --line: #E4E8F0;
  --line-night: rgba(255, 255, 255, 0.14);

  --font-sans: "Albert Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --maxw: 1180px;
  --radius: 16px;
  --radius-lg: 26px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-lg: 0 30px 70px -24px rgba(22, 27, 46, 0.45);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--brand-blue-night);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }

/* =============================================================================
   Deck viewport & horizontal paging
   ========================================================================== */
.deck {
  position: fixed; inset: 0;
  display: flex;
  transition: transform 0.62s var(--ease);
  will-change: transform;
}
.slide {
  position: relative;
  flex: 0 0 100vw;
  width: 100vw; height: 100vh;
  height: 100dvh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slide__inner {
  width: 100%; max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(72px, 9vh, 104px) clamp(28px, 6vw, 84px) clamp(88px, 11vh, 116px);
  max-height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
}
.slide__inner::-webkit-scrollbar { width: 0; height: 0; }

/* Reveal-Animation je Folie */
.slide [data-anim] {
  opacity: 0; transform: translateY(22px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.slide.is-active [data-anim] { opacity: 1; transform: none; }
.slide.is-active [data-anim="1"] { transition-delay: 0.10s; }
.slide.is-active [data-anim="2"] { transition-delay: 0.20s; }
.slide.is-active [data-anim="3"] { transition-delay: 0.30s; }
.slide.is-active [data-anim="4"] { transition-delay: 0.40s; }
.slide.is-active [data-anim="5"] { transition-delay: 0.50s; }
.slide.is-active [data-anim="6"] { transition-delay: 0.60s; }
@media (prefers-reduced-motion: reduce) {
  .deck { transition: none; }
  .slide [data-anim] { opacity: 1; transform: none; transition: none; }
}

/* ---------- Theme variants ---------- */
.slide--dark { background: var(--brand-blue-night); color: #EAF0FF; }
.slide--blue {
  background: radial-gradient(1200px 700px at 78% -10%, var(--brand-blue-deep), var(--brand-blue-night) 62%);
  color: #EAF0FF;
}
.slide--light { background: var(--paper); color: var(--ink); }
.slide--soft { background: var(--paper-soft); color: var(--ink); }
.slide--dark h1, .slide--dark h2, .slide--blue h1, .slide--blue h2 { color: #fff; }

/* =============================================================================
   Typography & shared bits
   ========================================================================== */
h1, h2, h3 { font-weight: 800; line-height: 1.06; letter-spacing: -0.02em; margin: 0; color: var(--brand-blue-deep); }
.slide__inner > h2.title { font-size: clamp(1.9rem, 4.4vw, 3.1rem); }
.lead { font-size: clamp(1.05rem, 1.7vw, 1.34rem); line-height: 1.55; color: var(--ink-soft); max-width: 46ch; }
.slide--dark .lead, .slide--blue .lead { color: #B9C6E6; }

.kicker {
  display: inline-flex; align-items: center; gap: 0.55em;
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--brand-blue);
}
.slide--dark .kicker, .slide--blue .kicker { color: var(--gold); }
.kicker::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }

.accent { color: var(--gold); }

/* =============================================================================
   COVER
   ========================================================================== */
.cover { position: relative; }
.cover-fx { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; }
.cover::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(32,43,77,0.9) 0%, rgba(32,43,77,0.6) 38%, rgba(32,43,77,0.15) 68%, rgba(32,43,77,0) 100%);
}
.cover .slide__inner { position: relative; z-index: 2; }
.cover__logo { height: clamp(30px, 4.4vh, 46px); width: auto; margin-bottom: clamp(28px, 6vh, 60px); }
.cover h1 {
  font-size: clamp(2.6rem, 7vw, 5.4rem); color: #fff; letter-spacing: -0.03em; margin: 0.2em 0 0.5em;
}
.cover__sub { font-size: clamp(1.05rem, 2vw, 1.4rem); color: #C7D3F0; max-width: 40ch; }
.cover__tag {
  margin-top: clamp(30px, 6vh, 58px); display: inline-flex; align-items: center; gap: 0.7em;
  font-family: var(--font-mono); font-size: 0.9rem; letter-spacing: 0.04em; color: var(--gold);
}
.cover__tag::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--gold);
  box-shadow: 0 0 0 6px rgba(255,198,0,0.18); }

/* =============================================================================
   FACTS — stat grid
   ========================================================================== */
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 26px); margin-top: clamp(26px, 4vh, 46px); }
.stat {
  background: rgba(255,255,255,0.04); border: 1px solid var(--line-night);
  border-radius: var(--radius); padding: clamp(18px, 2.6vh, 30px);
}
.slide--light .stat, .slide--soft .stat { background: #fff; border-color: var(--line); box-shadow: 0 12px 30px -20px rgba(22,27,46,0.3); }
.stat__v { font-family: var(--font-mono); font-weight: 700; font-size: clamp(1.9rem, 4.6vw, 3.3rem); line-height: 1; color: var(--gold); letter-spacing: -0.02em; }
.slide--light .stat__v, .slide--soft .stat__v { color: var(--brand-blue); }
.stat__u { font-size: 0.5em; color: inherit; opacity: 0.7; margin-left: 0.25em; }
.stat__k { margin-top: 0.55em; font-size: 0.98rem; color: #B9C6E6; line-height: 1.35; }
.slide--light .stat__k, .slide--soft .stat__k { color: var(--ink-soft); }

/* =============================================================================
   TIMELINE
   ========================================================================== */
/* Durchgehender horizontaler Zeitstrahl, ohne Scroll — alle Meilensteine sichtbar */
.timeline { position: relative; margin-top: clamp(30px, 6vh, 64px); display: flex; gap: clamp(6px, 1vw, 16px); }
.timeline::before { content: ""; position: absolute; left: 6px; right: 6px; top: 6px; height: 2px; background: linear-gradient(90deg, var(--gold), rgba(255,198,0,0.15)); }
.tl-item { flex: 1 1 0; min-width: 0; position: relative; padding-top: 30px; padding-right: 10px; }
.tl-item__dot { position: absolute; left: 0; top: 0; width: 13px; height: 13px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px rgba(255,198,0,0.16); }
.tl-item__y { font-family: var(--font-mono); font-weight: 700; font-size: clamp(1.15rem, 2vw, 1.5rem); color: var(--gold); }
.tl-item__t { margin-top: 0.45em; font-size: clamp(0.82rem, 1.1vw, 0.96rem); line-height: 1.4; color: #C7D3F0; }

/* =============================================================================
   POSITIONING (Warum TMG — der Hook)
   ========================================================================== */
.pos-title { max-width: 20ch; }
.pos-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(12px, 1.4vw, 18px); margin-top: clamp(24px, 4vh, 42px); }
.pos-card {
  background: rgba(255,255,255,0.04); border: 1px solid var(--line-night); border-radius: var(--radius);
  padding: clamp(16px, 2vh, 22px); display: flex; flex-direction: column; gap: 10px;
}
.pos-card__ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,198,0,0.14); color: var(--gold); }
.pos-card__ico svg { width: 23px; height: 23px; }
.pos-card__hd { display: flex; align-items: center; justify-content: space-between; }
.pos-card__num { font-family: var(--font-mono); font-weight: 700; font-size: 1.6rem; line-height: 1; color: rgba(255,255,255,0.22); }
.pos-card__t { font-weight: 700; font-size: 1.02rem; color: #fff; line-height: 1.2; }
.pos-card__d { font-size: 0.9rem; line-height: 1.42; color: #B9C6E6; }

/* Pillar-Erläuterungsfolien (①–⑤) */
.pillar-head { display: flex; align-items: center; gap: 14px; margin-bottom: 6px; }
.pillar-num {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; background: var(--gold); color: var(--brand-blue-night);
  font-family: var(--font-mono); font-weight: 700; font-size: 1.35rem;
}
.pillar-head .kicker { margin: 0; }
.pillar-visual {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 4/3; display: grid; place-items: center;
  background: radial-gradient(120% 120% at 30% 20%, var(--brand-blue-deep), var(--brand-blue-night));
  border: 1px solid var(--line-night); box-shadow: var(--shadow-lg);
}
.pillar-visual__ico { color: var(--gold); }
.pillar-visual__ico svg { width: clamp(90px, 14vw, 150px); height: clamp(90px, 14vw, 150px); }
.pillar-visual__n {
  position: absolute; right: 6%; bottom: 2%;
  font-family: var(--font-mono); font-weight: 700; font-size: clamp(6rem, 16vw, 12rem);
  line-height: 1; color: rgba(255,255,255,0.06);
}

/* =============================================================================
   NETWORK (Agentennetz)
   ========================================================================== */
.net-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.4vw, 18px); margin-top: clamp(22px, 3.5vh, 38px); }
.net-card { background: rgba(255,255,255,0.04); border: 1px solid var(--line-night); border-radius: var(--radius); padding: clamp(14px, 2vh, 20px); }
.net-card__top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.net-card__name { font-weight: 700; color: #fff; font-size: 1.02rem; }
.net-card__n { font-family: var(--font-mono); font-weight: 700; font-size: 1.5rem; color: var(--gold); line-height: 1; }
.net-card__ex { margin-top: 0.55em; font-size: 0.85rem; line-height: 1.45; color: #B9C6E6; }

/* KPI callout (Produktion) */
.kpi { display: flex; align-items: baseline; gap: 0.6em; margin-top: clamp(18px, 3vh, 28px); }
.kpi__v { font-family: var(--font-mono); font-weight: 700; font-size: clamp(2rem, 4.6vw, 3rem); color: var(--gold); line-height: 1; }
.kpi__k { font-size: 1rem; color: #C7D3F0; max-width: 22ch; }

/* =============================================================================
   OWNER / split with stats
   ========================================================================== */
.two { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.two--rev { grid-template-columns: 0.95fr 1.05fr; }
.media-frame {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  border: 1px solid var(--line-night); aspect-ratio: 4/3; background: #0d1730;
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.stat-row { display: flex; gap: clamp(18px, 3vw, 40px); margin-top: clamp(20px, 3vh, 34px); flex-wrap: wrap; }
.stat-row .stat__v { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
.stat-row > div { min-width: 120px; }

/* =============================================================================
   VISION
   ========================================================================== */
.vision { text-align: center; }
.vision h2 { font-size: clamp(3rem, 9vw, 6.5rem); color: #fff; letter-spacing: -0.03em; }
.vision h2 .accent { display: inline; }
.vision__sub { margin: 0.8em auto 0; max-width: 34ch; }
.vision__pills { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: clamp(30px, 5vh, 54px); }
.pill {
  padding: 0.7em 1.3em; border-radius: 999px; border: 1px solid var(--line-night);
  background: rgba(255,255,255,0.05); font-weight: 600; font-size: 0.98rem; color: #EAF0FF;
}
.pill::before { content: "✓"; color: var(--gold); font-weight: 800; margin-right: 0.55em; }

/* =============================================================================
   FEATURES (why us) — icon rows
   ========================================================================== */
.feat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2.4vw, 30px); margin-top: clamp(26px, 4vh, 44px); }
.feat { display: flex; gap: 16px; align-items: flex-start; }
.feat__ico {
  flex: 0 0 auto; width: 46px; height: 46px; border-radius: 13px;
  display: grid; place-items: center; background: rgba(255,198,0,0.14); color: var(--gold);
}
.slide--light .feat__ico, .slide--soft .feat__ico { background: rgba(0,51,161,0.09); color: var(--brand-blue); }
.feat__ico svg { width: 24px; height: 24px; }
.feat__t { font-size: 1.02rem; line-height: 1.45; color: #C7D3F0; }
.slide--light .feat__t, .slide--soft .feat__t { color: var(--ink); }

/* =============================================================================
   SPLIT (lab / production / smartCOUNT)
   ========================================================================== */
.bullets { list-style: none; margin: clamp(18px, 3vh, 30px) 0 0; padding: 0; display: grid; gap: 14px; }
.bullets li { position: relative; padding-left: 34px; font-size: 1.05rem; line-height: 1.45; color: var(--ink); }
.slide--dark .bullets li, .slide--blue .bullets li { color: #D5DEF5; }
.bullets li::before {
  content: ""; position: absolute; left: 0; top: 0.35em; width: 18px; height: 18px; border-radius: 6px;
  background: var(--gold);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(20px, 3vh, 30px); }
.badge {
  font-family: var(--font-mono); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.02em;
  padding: 0.5em 0.9em; border-radius: 8px; background: rgba(0,51,161,0.08); color: var(--brand-blue-deep);
  border: 1px solid var(--line);
}
.slide--dark .badge, .slide--blue .badge { background: rgba(255,255,255,0.06); color: var(--gold); border-color: var(--line-night); }
.tag-lozenge {
  display: inline-block; font-family: var(--font-mono); font-weight: 700; color: var(--brand-blue-night);
  background: var(--gold); padding: 0.35em 0.8em; border-radius: 8px; font-size: 0.9rem; margin-bottom: 0.8em;
}

/* =============================================================================
   PORTFOLIO grid
   ========================================================================== */
.pf-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(10px, 1.4vw, 16px); margin-top: clamp(12px, 2vh, 24px); }
.pf-grid > .pf-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
.pf-card {
  border-radius: var(--radius); overflow: hidden; background: rgba(255,255,255,0.04); border: 1px solid var(--line-night);
  display: flex; flex-direction: row; align-items: stretch; height: clamp(104px, 15.5vh, 146px);
  box-shadow: 0 14px 34px -22px rgba(0,0,0,0.5);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
}
.pf-card__media { flex: 0 0 clamp(112px, 13vw, 168px); background: linear-gradient(160deg, var(--brand-blue-deep), var(--brand-blue-night)); display: grid; place-items: center; overflow: hidden; }
.pf-card__media img { width: 100%; height: 100%; object-fit: cover; }
.pf-card__media.pad img { width: auto; height: auto; max-width: 80%; max-height: clamp(78px, 12.5vh, 122px); object-fit: contain; padding: 0; }
.pf-card { text-align: left; width: 100%; padding: 0; cursor: pointer; }
.pf-card:hover { transform: translateY(-4px); border-color: rgba(255,198,0,0.5); }
.pf-card__t { flex: 1; padding: 14px 18px; font-weight: 600; font-size: 1rem; line-height: 1.3; color: #EAF0FF; display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.pf-card__more { font-size: 0.82rem; font-weight: 600; color: #9fb0d6; }
.pf-card:hover .pf-card__more { color: var(--gold); }

/* =============================================================================
   SPEC (HVDC) — big spec numbers over image
   ========================================================================== */
.spec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: clamp(22px, 3.4vh, 34px); }
.spec {
  border: 1px solid var(--line-night); border-radius: var(--radius); padding: 16px 18px;
  background: rgba(255,255,255,0.04);
}
.spec__v { font-family: var(--font-mono); font-weight: 700; font-size: clamp(1.4rem, 3vw, 2.1rem); color: var(--gold); }
.spec__k { font-size: 0.9rem; color: #B9C6E6; margin-top: 0.3em; }

/* =============================================================================
   REFERENCES — world map + marquee
   ========================================================================== */
.ref-wrap { display: grid; grid-template-columns: 1fr 0.85fr; gap: clamp(24px, 4vw, 54px); align-items: center; }
.ref-map { position: relative; }
.ref-map img { width: 100%; filter: drop-shadow(0 20px 40px rgba(0,0,0,0.4)); opacity: 0.96; }
/* Lebendige Weltkarte — pulsierende Standort-Pins */
.map-pin { position: absolute; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 0 2px rgba(32,43,77,0.7); pointer-events: none; z-index: 2; }
.map-pin::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--gold);
  animation: pin-pulse 2.6s var(--ease) infinite; }
@keyframes pin-pulse { 0% { transform: scale(1); opacity: 0.7; } 70%, 100% { transform: scale(3.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .map-pin::before { animation: none; } }

/* Klickbare Referenzkarten */
.ref-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(10px, 1.4vw, 16px); margin-top: clamp(20px, 3.5vh, 34px); }
.ref-card {
  text-align: left; display: flex; flex-direction: column; gap: 6px; cursor: pointer;
  background: rgba(255,255,255,0.04); border: 1px solid var(--line-night); border-radius: var(--radius);
  padding: clamp(14px, 2vh, 18px); transition: 0.22s var(--ease);
}
.ref-card:hover { background: rgba(255,198,0,0.1); border-color: rgba(255,198,0,0.45); transform: translateY(-3px); }
.ref-card__tag { font-family: var(--font-mono); font-size: 0.78rem; font-weight: 700; color: var(--gold); letter-spacing: 0.04em; }
.ref-card__t { font-weight: 700; color: #fff; font-size: 1.02rem; line-height: 1.2; }
.ref-card__more { margin-top: auto; font-size: 0.82rem; color: #9fb0d6; }
.ref-card:hover .ref-card__more { color: var(--gold); }
.ref-hint { margin-top: clamp(12px, 2vh, 18px); font-size: 0.85rem; color: #8b98b8; }
.ref-hint::before { content: "↑ "; color: var(--gold); }

/* Detail-Overlay (wiederverwendbar) */
.overlay {
  position: fixed; inset: 0; z-index: 60; display: none; place-items: center; padding: 24px;
  background: rgba(6, 12, 28, 0.66); backdrop-filter: blur(6px);
}
.overlay.is-open { display: grid; }
.overlay__panel {
  position: relative; width: min(640px, 94vw); max-height: 86vh; overflow-y: auto;
  background: linear-gradient(160deg, var(--brand-blue-deep), var(--brand-blue-night));
  border: 1px solid var(--line-night); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: clamp(26px, 4vw, 42px); color: #EAF0FF;
  animation: overlay-in 0.32s var(--ease);
}
@keyframes overlay-in { from { opacity: 0; transform: translateY(16px) scale(0.98); } to { opacity: 1; transform: none; } }
.overlay__close {
  position: absolute; top: 14px; right: 16px; width: 38px; height: 38px; border-radius: 50%;
  font-size: 1.6rem; line-height: 1; color: #C7D3F0; background: rgba(255,255,255,0.06); border: 1px solid var(--line-night);
}
.overlay__close:hover { background: var(--gold); color: var(--brand-blue-night); }
/* Quick-Jump „nach oben" — erscheint beim Scrollen in langen Detailkarten */
.overlay__top {
  position: absolute; bottom: clamp(16px, 4vh, 32px); left: 50%; z-index: 2;
  width: 46px; height: 46px; border-radius: 50%; font-size: 1.35rem; line-height: 1;
  background: var(--gold); color: var(--brand-blue-night); font-weight: 700;
  box-shadow: 0 14px 32px -10px rgba(0,0,0,0.6);
  opacity: 0; pointer-events: none; transform: translate(-50%, 10px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.overlay__top.show { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
.overlay__top:hover { filter: brightness(1.06); }
@media (prefers-reduced-motion: reduce) { .overlay__top { transition: opacity 0.25s var(--ease); transform: translate(-50%, 0); } }
.overlay__media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/9; margin-bottom: clamp(14px, 2.5vh, 20px); background: linear-gradient(160deg, var(--brand-blue-deep), var(--brand-blue-night)); display: grid; place-items: center; }
.overlay__media img { width: 100%; height: 100%; object-fit: cover; }
/* Freigestellte Produkt-Renders (oft hochformatig): vollständig sichtbar, nicht beschnitten.
   Bildhöhe direkt in vh begrenzen (NICHT height/max-height:100% — Prozenthöhe löst im Grid falsch auf → Überlauf → Abschnitt). */
.overlay__media.pad { aspect-ratio: auto; height: auto; padding: clamp(16px, 3vh, 28px); }
.overlay__media.pad img { width: auto; height: auto; max-width: 100%; max-height: clamp(220px, 42vh, 420px); object-fit: contain; padding: 0; }
.overlay__tag { font-family: var(--font-mono); font-weight: 700; color: var(--gold); letter-spacing: 0.06em; font-size: 0.85rem; }
.overlay__title { color: #fff; font-size: clamp(1.5rem, 3.2vw, 2.1rem); margin: 0.3em 0 0.5em; }
.overlay .lead { color: #C7D3F0; margin-bottom: clamp(16px, 2.5vh, 24px); }
.overlay .spec-grid { margin-top: 8px; }
.detail-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 10px; }
.detail-list li { position: relative; padding-left: 22px; color: #D5DEF5; line-height: 1.4; }
.detail-list li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.marquee { overflow: hidden; margin-top: clamp(24px, 4vh, 40px); -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__row { display: flex; gap: 14px; width: max-content; animation: marquee 34s linear infinite; }
.marquee__row:hover { animation-play-state: paused; }
.marquee .chip {
  font-family: var(--font-mono); font-size: 0.82rem; white-space: nowrap; padding: 0.5em 0.9em;
  border-radius: 999px; border: 1px solid var(--line-night); background: rgba(255,255,255,0.05); color: #D5DEF5;
}
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__row { animation: none; flex-wrap: wrap; } }

/* =============================================================================
   VIDEO (Abschluss-Clip)
   ========================================================================== */
.video-warn {
  display: inline-flex; align-items: center; gap: 0.55em; margin: 0 auto clamp(12px, 2vh, 18px);
  padding: 0.6em 1.1em; border-radius: 999px; max-width: 60ch;
  background: rgba(242,169,0,0.14); border: 1px solid rgba(242,169,0,0.5);
  color: #FFE7A0; font-weight: 600; font-size: clamp(0.9rem, 1.4vw, 1.05rem); line-height: 1.3;
}
.video-warn__ico { font-size: 1.15em; line-height: 1; color: var(--cta); }
.video-wrap {
  position: relative; height: clamp(220px, 52vh, 520px); aspect-ratio: 16/9; width: auto;
  margin: 0 auto; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 1px solid var(--line-night); background: #0d1730;
}
.video-el { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-fallback {
  position: absolute; inset: 0; display: none; place-items: center; text-align: center; padding: 24px;
  background: radial-gradient(120% 120% at 50% 20%, var(--brand-blue-deep), var(--brand-blue-night));
}
.video-fallback span { max-width: 34ch; color: #B9C6E6; font-size: 1rem; line-height: 1.5; }
.video-wrap.is-missing .video-el { display: none; }
.video-wrap.is-missing .video-fallback { display: grid; }

/* =============================================================================
   STAKES (Was auf dem Spiel steht) · CASE STUDY · ZERTIFIZIERUNGEN
   ========================================================================== */
.stakes-stat { margin-bottom: clamp(16px, 2.8vh, 26px); }
.stakes-stat__v { display: block; font-family: var(--font-mono); font-weight: 700; font-size: clamp(3rem, 7vw, 5rem); color: var(--gold); line-height: 1; }
.stakes-stat__k { display: block; margin-top: 0.4em; color: #B9C6E6; font-size: 0.98rem; max-width: 28ch; line-height: 1.35; }
.stakes-list { display: grid; gap: 14px; }
.stakes-bridge { margin-top: clamp(16px, 2.6vh, 24px); font-weight: 700; font-size: clamp(1.1rem, 1.8vw, 1.4rem); color: var(--gold); }

/* Stakes-Folie: Blitz-Überschlag mit Funken (Hintergrund-Effekt) */
.stakes-fx { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.stakes-fx__bolt { position: absolute; top: clamp(-8px, -1.5vh, 0px); right: clamp(3%, 6vw, 9%);
  height: clamp(300px, 66vh, 580px); width: auto; overflow: visible; }
.stakes-fx__path, .stakes-fx__glow { fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 640; opacity: 0; }
.stakes-fx__path { stroke: #FFE7A0; stroke-width: 3.5; }
.stakes-fx__glow { stroke: var(--gold); stroke-width: 12; filter: blur(5px); }
.stakes-fx__flash { fill: #FFE7A0; opacity: 0; transform-box: fill-box; transform-origin: center; }
.stakes-fx__sparks i { display: none; } /* HTML-Fallback ungenutzt */
.stakes-fx__spark { fill: #FFE7A0; opacity: 0; transform-box: fill-box; transform-origin: center; }

@media (prefers-reduced-motion: no-preference) {
  .slide.is-active .stakes-fx__path  { animation: stk-strike 2s var(--ease) 0.35s forwards; }
  .slide.is-active .stakes-fx__glow  { animation: stk-strike 2s var(--ease) 0.35s forwards; }
  .slide.is-active .stakes-fx__flash { animation: stk-flash 2s var(--ease) 0.35s forwards; }
  .slide.is-active .stakes-fx__spark { animation: stk-spark 1s var(--ease) 0.72s forwards; }
  .slide.is-active .stakes-fx__spark:nth-child(1){ --sx: 34px;  --sy:-22px; }
  .slide.is-active .stakes-fx__spark:nth-child(2){ --sx: 46px;  --sy: 8px;  animation-delay:.76s; }
  .slide.is-active .stakes-fx__spark:nth-child(3){ --sx: 18px;  --sy: 34px; animation-delay:.70s; }
  .slide.is-active .stakes-fx__spark:nth-child(4){ --sx:-14px;  --sy: 36px; animation-delay:.80s; }
  .slide.is-active .stakes-fx__spark:nth-child(5){ --sx:-32px;  --sy: 14px; animation-delay:.74s; }
  .slide.is-active .stakes-fx__spark:nth-child(6){ --sx:-26px;  --sy:-18px; animation-delay:.78s; }
  .slide.is-active .stakes-fx__spark:nth-child(7){ --sx: 6px;   --sy:-38px; animation-delay:.72s; }
}
@keyframes stk-strike {
  0%   { stroke-dashoffset: 640; opacity: 0; }
  9%   { opacity: 1; }
  30%  { stroke-dashoffset: 0; opacity: 1; }
  44%  { stroke-dashoffset: 0; opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 0.14; }
}
@keyframes stk-flash {
  0%, 26% { opacity: 0; transform: scale(0.4); }
  33%     { opacity: 0.85; transform: scale(1); }
  55%     { opacity: 0; transform: scale(1.6); }
  100%    { opacity: 0; }
}
@keyframes stk-spark {
  0%   { opacity: 0; transform: translate(0,0) scale(1); }
  12%  { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--sx), var(--sy)) scale(0.3); }
}
@media (prefers-reduced-motion: reduce) {
  .stakes-fx__path { opacity: 0.14; stroke-dashoffset: 0; }
  .stakes-fx__glow { opacity: 0.07; stroke-dashoffset: 0; }
  .stakes-fx__flash, .stakes-fx__sparks { display: none; }
}

.cs-result { display: flex; align-items: baseline; gap: 0.4em; margin-top: clamp(16px, 2.6vh, 26px); font-family: var(--font-mono); font-weight: 700; line-height: 1; }
.cs-result__from { font-size: clamp(1.5rem, 3.2vw, 2.3rem); color: #8b98b8; text-decoration: line-through; }
.cs-result__arrow { font-size: clamp(1.5rem, 3.2vw, 2.3rem); color: #B9C6E6; }
.cs-result__to { font-size: clamp(2.6rem, 6vw, 4.2rem); color: var(--gold); }
.cs-result__label { margin-top: 0.5em; color: #B9C6E6; font-size: 0.95rem; }

/* Case study — spec band (HVDC & Co.) */
.cs-stats { display: flex; flex-wrap: wrap; gap: clamp(16px, 2.6vw, 34px); margin-top: clamp(18px, 3vh, 30px); }
.cs-stat { position: relative; padding-left: clamp(14px, 1.6vw, 22px); }
.cs-stat:first-child { padding-left: 0; }
.cs-stat + .cs-stat::before { content: ""; position: absolute; left: 0; top: 3px; bottom: 3px; width: 1px; background: var(--line-night); }
.cs-stat__v { display: block; font-family: var(--font-mono); font-weight: 700; font-size: clamp(1.6rem, 3.4vw, 2.6rem); line-height: 1; color: var(--gold); letter-spacing: -0.02em; }
.cs-stat__k { display: block; margin-top: 0.55em; font-size: 0.8rem; color: #9fb0d4; letter-spacing: 0.02em; max-width: 15ch; line-height: 1.3; }

/* Case study — media treatment (scrim + floating badge + pad for cut-out renders) */
.media-frame--cs { position: relative; box-shadow: var(--shadow-lg); }
.media-frame--cs::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: linear-gradient(180deg, transparent 46%, rgba(18,24,44,0.62)); }
.media-frame--pad { background: radial-gradient(120% 120% at 30% 12%, var(--brand-blue-deep), var(--brand-blue-night)); }
.media-frame--pad img { object-fit: contain; padding: clamp(18px, 3.2vw, 46px); }
.media-badge { position: absolute; left: clamp(12px, 1.6vw, 18px); bottom: clamp(12px, 1.6vh, 18px); z-index: 2;
  display: inline-flex; align-items: center; font-family: var(--font-mono); font-weight: 700;
  font-size: 0.76rem; letter-spacing: 0.03em; color: var(--brand-blue-night);
  background: var(--gold); padding: 0.5em 0.9em; border-radius: 999px;
  box-shadow: 0 8px 20px -8px rgba(0,0,0,0.5); }

/* =============================================================================
   Ambient depth — soft glow + faint grid behind content (dark & blue slides)
   ========================================================================== */
.slide--dark:not(.cover), .slide--blue:not(.cover) { position: relative; }
.slide--dark:not(.cover)::before, .slide--blue:not(.cover)::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(58% 52% at 86% 6%, rgba(255,198,0,0.11), transparent 60%),
    radial-gradient(52% 52% at 6% 96%, rgba(30,65,133,0.5), transparent 64%);
}
.slide--dark:not(.cover)::after, .slide--blue:not(.cover)::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0.55;
  background-image:
    linear-gradient(rgba(255,255,255,0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.028) 1px, transparent 1px);
  background-size: 48px 48px; background-position: center;
  -webkit-mask-image: radial-gradient(82% 78% at 50% 42%, #000 28%, transparent 80%);
  mask-image: radial-gradient(82% 78% at 50% 42%, #000 28%, transparent 80%);
}
.slide--dark:not(.cover) > .slide__inner, .slide--blue:not(.cover) > .slide__inner { position: relative; z-index: 1; }

.cert-groups { display: grid; gap: clamp(16px, 3vh, 30px); margin-top: clamp(20px, 3.5vh, 38px); }
.cert-group__t { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.cert-badges { display: flex; flex-wrap: wrap; gap: 12px; }
.cert-badge { font-family: var(--font-mono); font-weight: 700; font-size: clamp(0.9rem, 1.4vw, 1.1rem); color: #EAF0FF; background: rgba(255,255,255,0.05); border: 1px solid var(--line-night); border-radius: 10px; padding: 0.6em 1em; }
.cert-badge--logo { background: #fff; border-color: transparent; border-radius: 14px; padding: clamp(10px, 1.4vw, 16px); display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 10px 26px -14px rgba(0,0,0,0.5); }
.cert-badge--logo img { height: clamp(66px, 9vh, 96px); width: auto; display: block; }

/* =============================================================================
   HERO-MOMENT (millionenfach bewährt — hochzählende Zahl)
   ========================================================================== */
.hero-slide .slide__inner { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.hero-num { line-height: 1; margin: clamp(12px, 2.4vh, 26px) 0; }
.hero-num__v {
  font-family: var(--font-mono); font-weight: 700; letter-spacing: -0.02em;
  font-size: clamp(3.6rem, 15vw, 11rem); color: var(--gold);
  font-variant-numeric: tabular-nums; text-shadow: 0 0 70px rgba(255,198,0,0.28);
}
.hero-label { font-size: clamp(1.05rem, 2vw, 1.55rem); color: #C7D3F0; max-width: 30ch; margin: 0 auto; line-height: 1.5; }

/* =============================================================================
   TEAM (Die Menschen hinter dem Schutz)
   ========================================================================== */
.team-wrap { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: clamp(24px, 4vw, 56px); align-items: stretch; }
.team-hero { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-night); box-shadow: var(--shadow-lg); min-height: clamp(240px, 50vh, 440px); }
.team-hero img { width: 100%; height: 100%; object-fit: cover; }
.team-body { display: flex; flex-direction: column; justify-content: center; }
.team-quote { margin: clamp(12px, 2vh, 20px) 0 0; padding-left: 16px; border-left: 3px solid var(--gold); font-size: clamp(1.05rem, 1.6vw, 1.3rem); font-style: italic; line-height: 1.45; color: #EAF0FF; }
.team-stats { margin-top: clamp(14px, 2.4vh, 24px); gap: clamp(16px, 3vw, 36px); }
.team-stats .stat__v { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
.team-thumbs { display: flex; gap: 10px; margin-top: clamp(14px, 2.4vh, 22px); }
.team-thumb { position: relative; margin: 0; flex: 1; border-radius: 12px; overflow: hidden; height: clamp(66px, 10vh, 96px); border: 1px solid var(--line-night); }
.team-thumb img { width: 100%; height: 100%; object-fit: cover; }
.team-thumb figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 5px 8px; font-family: var(--font-mono); font-size: 0.66rem; font-weight: 700; color: #fff; background: linear-gradient(transparent, rgba(6,12,28,0.86)); }

/* =============================================================================
   RECAP (Abschluss — Bookend zur Übersicht)
   ========================================================================== */
.recap-row { display: flex; justify-content: center; flex-wrap: wrap; gap: clamp(10px, 1.4vw, 16px); margin: clamp(24px, 4.5vh, 46px) 0 clamp(20px, 4vh, 40px); }
.recap-item { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,0.05); border: 1px solid var(--line-night); border-radius: 999px; padding: 0.55em 1.15em 0.55em 0.55em; }
.recap-num { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; background: var(--gold); color: var(--brand-blue-night); font-family: var(--font-mono); font-weight: 700; display: grid; place-items: center; font-size: 0.95rem; }
.recap-t { font-weight: 600; color: #EAF0FF; font-size: 0.98rem; white-space: nowrap; }
.recap-tag { font-family: var(--font-sans); font-weight: 800; letter-spacing: -0.02em; color: #fff; font-size: clamp(2.6rem, 7vw, 5rem); line-height: 1.05; }
.recap-sub { font-family: var(--font-mono); color: var(--gold); font-size: clamp(0.85rem, 1.4vw, 1rem); margin-top: 0.7em; letter-spacing: 0.04em; }

/* =============================================================================
   CONTACT
   ========================================================================== */
.contact-card { display: grid; grid-template-columns: 1fr auto; gap: clamp(30px, 5vw, 60px); align-items: end; }
.contact-list { list-style: none; padding: 0; margin: clamp(20px, 3vh, 32px) 0 0; display: grid; gap: 12px; font-size: 1.12rem; }
.contact-list b { color: #fff; }
.contact-list a { color: var(--gold); text-decoration: none; }
.contact__signet { height: clamp(90px, 18vh, 150px); width: auto; opacity: 0.9; }
.contact__cta { margin-top: clamp(26px, 4vh, 40px); font-family: var(--font-mono); color: var(--gold); font-size: 0.95rem; }

/* =============================================================================
   CHROME — header (logo + lang), footer (progress, arrows, counter)
   ========================================================================== */
.chrome-top { position: fixed; top: 0; left: 0; right: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; padding: clamp(14px, 2.4vh, 22px) clamp(20px, 4vw, 40px); pointer-events: none; }
.chrome-top > * { pointer-events: auto; }
.brand-logo { height: clamp(22px, 3vh, 30px); width: auto; }
.brand-logo.on-light { display: none; }
.slide-light-active .brand-logo.on-dark { display: none; }
.slide-light-active .brand-logo.on-light { display: block; }
body.on-cover .chrome-top .brand-logo { display: none; }

.langbar { display: flex; gap: 4px; background: rgba(10,18,40,0.55); backdrop-filter: blur(10px); border: 1px solid var(--line-night); border-radius: 999px; padding: 4px; }
.slide-light-active .langbar { background: rgba(255,255,255,0.7); border-color: var(--line); }
.langbar button {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase;
  padding: 0.42em 0.75em; border-radius: 999px; color: #C7D3F0; transition: 0.2s;
}
.slide-light-active .langbar button { color: var(--ink-soft); }
.langbar button:hover { color: #fff; }
.slide-light-active .langbar button:hover { color: var(--brand-blue); }
.langbar button.is-active { background: var(--gold); color: var(--brand-blue-night); }
.langbar button[data-pending]::after { content: "•"; margin-left: 0.25em; color: var(--cta); }

.chrome-bottom { position: fixed; bottom: 0; left: 0; right: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: clamp(12px, 2.2vh, 20px) clamp(20px, 4vw, 40px); pointer-events: none; }
.chrome-bottom > * { pointer-events: auto; }
.dots { display: flex; gap: 8px; align-items: center; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.28); transition: 0.3s var(--ease); }
.slide-light-active .dot { background: rgba(22,27,46,0.2); }
.dot.is-active { background: var(--gold); transform: scale(1.35); }
.nav-cluster { display: flex; align-items: center; gap: 10px; }
.nav-btn {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(10,18,40,0.55); backdrop-filter: blur(10px); border: 1px solid var(--line-night); color: #EAF0FF; transition: 0.2s;
}
.slide-light-active .nav-btn { background: rgba(255,255,255,0.75); border-color: var(--line); color: var(--brand-blue); }
.nav-btn:hover { background: var(--gold); color: var(--brand-blue-night); border-color: var(--gold); }
.nav-btn:disabled { opacity: 0.3; cursor: default; }
.nav-btn svg { width: 22px; height: 22px; }
.counter { font-family: var(--font-mono); font-size: 0.85rem; color: #C7D3F0; min-width: 52px; text-align: center; }
.slide-light-active .counter { color: var(--ink-soft); }
.counter b { color: var(--gold); }

/* progress bar top */
.progress { position: fixed; top: 0; left: 0; height: 3px; background: var(--gold); z-index: 40; width: 0; transition: width 0.5s var(--ease); }

/* keyboard hint (fades) */
.hint { position: fixed; bottom: 84px; left: 50%; transform: translateX(-50%); z-index: 25; font-size: 0.82rem; color: rgba(255,255,255,0.6); background: rgba(10,18,40,0.5); padding: 0.5em 1em; border-radius: 999px; backdrop-filter: blur(8px); transition: opacity 0.6s; pointer-events: none; }
.hint.is-hidden { opacity: 0; }

/* =============================================================================
   Responsive
   ========================================================================== */
@media (max-width: 860px) {
  .two, .two--rev, .ref-wrap, .contact-card { grid-template-columns: 1fr; }
  .two--rev .media-frame, .contact__signet { display: none; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .feat-grid, .pf-grid, .spec-grid { grid-template-columns: 1fr; }
  .pf-grid { grid-template-columns: repeat(2, 1fr); }
  .slide__inner { padding: 78px 22px; }

  .net-grid { grid-template-columns: repeat(2, 1fr); }
  .ref-cards { grid-template-columns: repeat(2, 1fr); }
  .team-wrap { grid-template-columns: 1fr; }
  .team-hero { min-height: clamp(160px, 26vh, 240px); }

  /* Positionierung: 2 Spalten, GAP-Filler-Karte spannt volle Breite */
  .pos-grid { grid-template-columns: repeat(2, 1fr); }

  /* Zeitstrahl: vertikale Schiene mit allen Punkten */
  .timeline { flex-direction: column; gap: 0; padding-left: 26px; }
  .timeline::before { left: 6px; top: 6px; bottom: 6px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--gold), rgba(255,198,0,0.15)); }
  .tl-item { padding-top: 0; padding-bottom: clamp(12px, 2.2vh, 20px); padding-left: 8px; }
  .tl-item__dot { left: -20px; top: 4px; }
  .tl-item__y { font-size: 1.15rem; }
}
@media (max-width: 520px) {
  .stat-grid, .pf-grid { grid-template-columns: 1fr; }
}

/* Kapazitäts-Deck: kompakte ISO-Zertifikats-Logos auf pillar-Folien */
.pillar-certs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: clamp(14px, 2.2vh, 22px); }
.pillar-certs .cert-badge--logo { padding: clamp(7px, 0.9vw, 11px) clamp(9px, 1.1vw, 13px); border-radius: 12px; box-shadow: 0 8px 20px -12px rgba(0,0,0,0.5); }
.pillar-certs .cert-badge--logo img { height: clamp(42px, 5.4vh, 60px); width: auto; display: block; }

/* Kapazitäts-Deck: "Made in Germany"-Siegel als Overlay über der Bildecke */
.media-wrap { position: relative; display: block; }
.media-wrap .media-seal {
  position: absolute; z-index: 4;
  width: clamp(112px, 14vh, 168px); height: auto;
  left: clamp(-22px, -1.6vw, -12px); bottom: clamp(-22px, -1.8vh, -12px);
  filter: drop-shadow(0 16px 32px rgba(0,0,0,0.6));
}
@media (max-width: 720px) { .media-wrap .media-seal { width: clamp(92px, 20vw, 120px); left: -10px; bottom: -10px; } }

/* =============================================================================
   Druck / PDF-Export — eine Folie pro Querformat-Seite (16:9)
   Erzeugen: Browser öffnen -> Cmd+P -> "Als PDF sichern" (Querformat).
   ========================================================================== */
@media print {
  @page { size: 1280px 720px; margin: 0; }
  * { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }
  html, body { width: 1280px !important; height: auto !important; background: #202B4D !important; overflow: visible !important; }

  /* Bedien-Chrome ausblenden */
  .chrome-top, .chrome-bottom, .progress, .hint, .overlay { display: none !important; }

  /* Deck stapeln statt horizontal schieben */
  .deck {
    position: static !important; inset: auto !important;
    display: block !important; transform: none !important;
    transition: none !important; will-change: auto !important;
  }
  .slide {
    flex: none !important;
    width: 1280px !important; height: 720px !important;
    overflow: hidden !important;
    break-after: page; page-break-after: always; break-inside: avoid;
  }
  .slide:last-child { break-after: auto; page-break-after: auto; }
  .slide__inner { overflow: visible !important; }

  /* Reveal-Animationen sichtbar erzwingen (sonst leere Folien) */
  .slide [data-anim] { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* =============================================================================
   Kombi-Deck: größere Bilder auf den Pillar-Folien (Capacity & Co.)
   ========================================================================== */
.two      { grid-template-columns: 0.9fr 1.1fr; }
.two--rev { grid-template-columns: 1.1fr 0.9fr; }
.two .media-frame, .two--rev .media-frame { aspect-ratio: 3 / 2; }
@media (max-width: 900px) {
  .two, .two--rev { grid-template-columns: 1fr; }
  .two .media-frame, .two--rev .media-frame { aspect-ratio: 16 / 10; }
}
