/* ==========================================================================
   geminiware – Webseite
   Keine externen Fonts (DSGVO): Inter wird genutzt, falls lokal installiert,
   sonst System-Schrift.
   ========================================================================== */

:root {
  --red:        #d10030;
  --red-dark:   #a8002a;
  --red-soft:   rgba(209, 0, 48, .08);
  --ink:        #1b1c1f;
  --ink-2:      #3a3c41;
  --muted:      #6b6e75;
  --line:       #e4e6ea;
  --bg:         #ffffff;
  --bg-soft:    #eef1f5;
  --dark:       #202226;
  --dark-2:     #2a2d32;
  --dark-3:     #34373d;
  --on-dark:    #f3f4f6;
  --on-dark-2:  #b7bac1;

  --radius:     12px;
  --radius-sm:  8px;
  --shadow:     0 1px 2px rgba(16, 18, 22, .06), 0 8px 24px rgba(16, 18, 22, .08);
  --shadow-lg:  0 2px 4px rgba(16, 18, 22, .06), 0 18px 48px rgba(16, 18, 22, .16);
  --container:  1320px;
  --header-h:   72px;

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; }
p { margin: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 32px; }

.skip-link {
  position: absolute; left: 16px; top: -48px; z-index: 100;
  background: var(--ink); color: #fff; padding: 8px 14px; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 42px; padding: 0 20px;
  border-radius: var(--radius-sm); border: 1px solid transparent;
  font-size: 15px; font-weight: 500; text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: background .2s, border-color .2s, color .2s, transform .2s, box-shadow .2s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 4px 14px rgba(209, 0, 48, .28); }
.btn-primary:hover { background: var(--red-dark); }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .55); background: transparent; }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn-outline { color: var(--ink); border-color: var(--line); background: #fff; }
.btn-outline:hover { border-color: var(--ink-2); }
.btn-lg { min-height: 50px; padding: 0 28px; font-size: 16px; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  transition: box-shadow .25s;
}
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line), 0 6px 20px rgba(16, 18, 22, .06); }

.header-inner { display: flex; align-items: center; gap: 32px; height: var(--header-h); }
.brand img { width: 150px; height: auto; }

.main-nav { display: flex; gap: 32px; margin: 0 auto; }
.main-nav a {
  position: relative; text-decoration: none; font-size: 15px; font-weight: 500; color: var(--ink-2);
  padding: 6px 0;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.main-nav a:hover, .main-nav a.is-active { color: var(--ink); }
.main-nav a:hover::after, .main-nav a.is-active::after { transform: scaleX(1); }
.nav-cta-mobile { display: none; }

.nav-toggle {
  display: none; width: 44px; height: 44px; margin-left: auto; padding: 0;
  border: 0; background: transparent; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Sections ---------- */
.section { position: relative; padding: 96px 0; overflow: hidden; }
.section h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 600; margin-bottom: 40px; }
.eyebrow { font-size: 15px; font-weight: 500; color: var(--ink-2); margin-bottom: 6px; }
.eyebrow::before { content: ""; display: inline-block; width: 18px; height: 2px; background: var(--red); vertical-align: middle; margin-right: 10px; }

.dark { background: var(--dark); color: var(--on-dark); }
.dark .eyebrow { color: var(--on-dark-2); }

.icon {
  width: 44px; height: 44px; fill: none; stroke: var(--red);
  stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round;
}

/* Rote Schwünge – angelehnt an die Bögen im Logo */
.curve { position: absolute; pointer-events: none; fill: none; stroke: var(--red); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.curve path { vector-effect: non-scaling-stroke; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 88px 0 96px; }
.curve-hero { left: 0; top: 40px; width: 100%; height: 360px; opacity: .9; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 480px at 78% 40%, rgba(255, 255, 255, .07), transparent 60%),
    radial-gradient(600px 400px at 10% 100%, rgba(209, 0, 48, .10), transparent 60%);
}

.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5.2vw, 64px); font-weight: 600; margin-bottom: 20px; }
.hero .lead { font-size: clamp(17px, 1.6vw, 21px); color: var(--on-dark-2); max-width: 30ch; margin-bottom: 36px; font-weight: 300; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

.hero .lead { max-width: 38ch; }

/* Hero-Visual: wechselnde Anwendungsbeispiele (initHeroSlides in main.js). Alle Slides liegen in derselben
   Grid-Zelle -> Höhe = höchster Slide, kein Springen beim Wechsel. Aufbau je Slide: Input-Karte -> Bild -> Output-Karte. */
.hero-visual { position: relative; justify-self: end; width: min(100%, 560px); }
.hv-stage { display: grid; }
.hv-slide {
  grid-area: 1 / 1; position: relative; margin: 0; padding: 56px 0 72px 40px;
  opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility 0s linear .6s;
}
.hv-slide.is-active { opacity: 1; visibility: visible; transition: opacity .6s ease; }
.hero-frame {
  position: relative; border-radius: 20px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5), 0 0 0 1px rgba(255, 255, 255, .08);
  transform: perspective(1400px) rotateY(-6deg) rotateX(2deg);
  transition: transform .6s ease;
}
.hero-visual:hover .hero-frame { transform: perspective(1400px) rotateY(0) rotateX(0); }
.hero-frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hv-tag {
  position: absolute; right: 14px; top: 14px; padding: 6px 12px; border-radius: 999px;
  background: var(--red); color: #fff; font-size: 12.5px; font-weight: 600; box-shadow: 0 4px 14px rgba(209, 0, 48, .35);
}

/* Input-Karte oben links */
.hv-input {
  position: absolute; left: 0; top: 0; z-index: 2;
  display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px;
  background: #fff; color: var(--ink); border-radius: var(--radius); box-shadow: var(--shadow-lg);
}
.hv-input img { width: 64px; height: 52px; object-fit: cover; border-radius: 8px; background: var(--bg-soft); flex: none; }
.hv-input-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 8px; background: var(--red-soft); flex: none; }
.hv-input-icon svg, .hv-badge-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--red); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.hv-input b { display: block; font-size: 13.5px; }
.hv-input small { display: block; font-size: 11.5px; color: var(--muted); line-height: 1.3; }
.hv-input::after {
  content: ""; position: absolute; left: 36px; top: 100%; width: 2px; height: 34px;
  background: linear-gradient(var(--red), rgba(209, 0, 48, 0));
}

/* Output-Karten unten rechts: Chat (Assistenten) oder Badge (Visualisierung) */
.hv-chat, .hv-badge {
  position: absolute; right: -24px; bottom: 0; z-index: 2;
  background: #fff; color: var(--ink); box-shadow: var(--shadow-lg); font-size: 13px;
}
.hv-chat { width: 250px; padding: 12px; border-radius: 14px; }
.hv-chat-head { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-weight: 600; font-size: 13px; }
.hv-chat-avatar { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--red); }
.hv-chat-avatar img { width: 14px; height: 14px; }
.hv-q { margin: 0 0 8px auto; width: fit-content; max-width: 90%; padding: 7px 11px; border-radius: 12px 12px 3px 12px; background: var(--dark); color: #fff; }
.hv-a { padding: 8px 11px 10px; border-radius: 12px 12px 12px 3px; background: var(--bg-soft); }
.hv-a span { display: block; margin-bottom: 7px; color: var(--ink-2); }
/* Platzhalter-Zeilen statt erfundener Antworten */
.hv-a i { display: block; height: 6px; border-radius: 3px; background: #d7dbe1; }
.hv-a i + i { margin-top: 6px; }
.hv-a i:nth-child(3) { width: 82%; }
.hv-a i:nth-child(4) { width: 60%; }
.hv-badge { display: flex; align-items: center; gap: 12px; max-width: 280px; padding: 12px 16px 12px 12px; border-radius: var(--radius); bottom: 28px; line-height: 1.35; }
.hv-badge-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: var(--red-soft); flex: none; }
.hv-badge b { display: block; font-size: 14px; }
.hv-badge small { display: block; font-size: 12px; color: var(--muted); }

/* Reiter: Branche wählen, Balken zeigt die Restzeit bis zum Wechsel */
.hv-tabs { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 8px; padding-left: 40px; }
.hv-tab {
  position: relative; padding: 6px 0 9px; border: 0; background: none; cursor: pointer;
  font: inherit; font-size: 13.5px; color: var(--on-dark-2); transition: color .2s;
}
.hv-tab:hover, .hv-tab.is-active { color: #fff; }
.hv-tab::before, .hv-tab::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; border-radius: 1px; }
.hv-tab::before { right: 0; background: rgba(255, 255, 255, .14); }
.hv-tab::after { width: 0; background: var(--red); }
.hv-tab.is-active::after { width: 100%; }
.hv-tabs.is-playing .hv-tab.is-active::after { animation: hv-progress var(--hv-duration, 6s) linear; }
.hero-visual:hover .hv-tabs.is-playing .hv-tab.is-active::after,
.hero-visual:focus-within .hv-tabs.is-playing .hv-tab.is-active::after { animation-play-state: paused; }
@keyframes hv-progress { from { width: 0; } to { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .hv-slide { transition: none; } }

@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(46, 204, 113, 0); } 100% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); } }

/* ---------- Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.grid-4 { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }

/* ---------- Value chain ---------- */
.curve-value { left: 0; top: 50%; width: 100%; height: 200px; transform: translateY(-10%); }
.feature-card { display: flex; flex-direction: column; padding: 24px 22px 20px; }
.feature-card h3 { font-size: 19px; font-weight: 600; margin: 16px 0 6px; }
.feature-card p { color: var(--ink-2); font-size: 15px; line-height: 1.5; flex: 1; }
.card-link {
  align-self: flex-start; margin-top: 16px; padding: 0; border: 0; background: none; cursor: pointer;
  color: var(--red); font-size: 14px; font-weight: 500;
}
.card-link span { display: inline-block; transition: transform .2s; }
.card-link:hover span { transform: translateX(4px); }

/* ---------- So funktioniert's: Ihre Daten -> VisuPal -> Anwendungen ---------- */
.df { display: grid; grid-template-columns: 1fr auto 210px auto 1.35fr; align-items: center; gap: 18px; }
.df-panel { background: var(--bg-soft); border-radius: 16px; padding: 20px; }
.df-label { font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.df-panel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.df-icon { flex: none; width: 36px; height: 36px; padding: 8px; border-radius: 10px; fill: none; stroke: var(--red); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; background: var(--red-soft); }
.df-in li { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.df-in b, .df-out-body b { display: block; font-size: 15px; font-weight: 600; color: var(--ink); }
.df-in small { display: block; font-size: 13px; color: var(--muted); }
.df-arrow {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--red); color: #fff; font-size: 17px; font-weight: 700; box-shadow: 0 6px 16px rgba(209, 0, 48, .3);
}
.df-hub {
  display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center;
  background: var(--dark); color: var(--on-dark-2); border-radius: 18px; padding: 30px 18px; box-shadow: var(--shadow-lg);
}
.df-hub img { width: 150px; height: auto; }
.df-hub span { font-size: 13.5px; }
.df-hub a { font-size: 13.5px; font-weight: 500; color: #ff8aa3; text-decoration: none; }
.df-hub a:hover { color: #fff; }
.df-out-link {
  width: 100%; display: flex; align-items: center; gap: 12px; text-align: left; cursor: pointer; font: inherit;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; color: inherit; text-decoration: none;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.df-out-link:hover { border-color: var(--red); transform: translateX(3px); box-shadow: var(--shadow); }
.df-out-body { flex: 1; min-width: 0; }
.df-out-body > span { display: block; font-size: 13.5px; color: var(--ink-2); line-height: 1.4; }
.df-out-body small { display: block; font-size: 12px; color: var(--muted); margin-top: 3px; }
.df-out-body em { font-style: normal; font-weight: 600; color: var(--red); }
.df-go { flex: none; color: var(--red); font-weight: 600; font-size: 13px; white-space: nowrap; }

/* ---------- Solutions ---------- */
.solutions { background: var(--bg-soft); padding-bottom: 120px; }
.solutions-stage { position: relative; }
.solutions-stage .grid-5 { position: relative; z-index: 2; }

.solution-card { display: flex; flex-direction: column; overflow: hidden; }
.solution-card h3 { font-size: 16px; font-weight: 600; text-align: center; padding: 14px 14px 4px; }
.solution-card p {
  font-size: 13.5px; line-height: 1.45; color: var(--muted); text-align: center;
  padding: 0 14px 16px;
}
.solution-visual { aspect-ratio: 1 / 1; display: grid; place-items: center; position: relative; }
.grid-solutions { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1080px) { .grid-solutions { grid-template-columns: repeat(2, 1fr); } }
.solution-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, .12)); }
.solution-visual svg {
  width: 78%; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .18)); transition: transform .4s;
}
.solution-card:hover .solution-visual svg { transform: scale(1.06); }
.solution-visual .thin  { stroke-width: 1.6; }
.solution-visual .teeth { stroke-width: 5; }
.solution-visual .ground { stroke-width: 1.4; opacity: .6; }
.solution-visual .accent { stroke: #ff5a7a; }
.solution-visual .wheel { fill: currentColor; }

.v-auto     { background: linear-gradient(160deg, #7b8a99, #3b4550); color: #4a5561; }
.v-service  { background: linear-gradient(160deg, #9aa4ae, #56606b); color: #5d6772; }
.v-factory  { background: linear-gradient(160deg, #5e656e, #2b3036); color: #30353b; }
.v-building { background: linear-gradient(160deg, #a7917a, #5f5247); color: #6a5c50; }

.solution-open {
  align-items: center; justify-content: center; gap: 10px; padding: 24px 16px; min-height: 100%;
  border: 1.5px dashed #c3c7ce; background: rgba(255, 255, 255, .6); box-shadow: none;
  cursor: pointer; color: var(--ink); text-align: center;
}
.solution-open:hover { border-color: var(--red); background: #fff; }
.solution-open .q {
  width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--ink-2);
  display: grid; place-items: center; font-size: 20px; transition: border-color .2s, color .2s;
}
.solution-open:hover .q { border-color: var(--red); color: var(--red); }
.solution-open-title { font-size: 16px; font-weight: 600; }
.solution-open-text { font-size: 13.5px; color: var(--muted); line-height: 1.45; }

/* „Bühne“: Branchen-Karten sind Säulen, die über Stützen auf der geminiware-Basis stehen.
   Stützen nutzen dasselbe Spaltenraster wie die Karten und liegen im normalen Fluss -> immer bündig. */
.stage-legs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; height: 28px; }
.leg {
  justify-self: center; width: 46%; height: 100%;
  background: linear-gradient(180deg, #aab0b8, #c3c8ce);
  clip-path: polygon(14% 0, 86% 0, 100% 100%, 0 100%);
}
.leg-open { opacity: .45; }
.stage-plate {
  position: relative; margin: 0 -40px; padding: 20px 24px;
  display: flex; align-items: center; justify-content: center; gap: 16px;
  background: linear-gradient(180deg, #d3d7dc, #bfc4ca);
  border-radius: 8px;
  box-shadow: 0 22px 40px rgba(16, 18, 22, .14), inset 0 1px 0 rgba(255, 255, 255, .8);
}
.stage-plate img { width: 120px; height: auto; display: block; }
.stage-plate span {
  font-size: 14px; font-weight: 600; color: var(--ink-2);
  padding-left: 16px; border-left: 1px solid rgba(0, 0, 0, .15);
}

/* Chips auf den Branchen-Säulen: welche Anwendungen dort genutzt werden (Namen wie in „So funktioniert's“) */
.app-chips { list-style: none; margin: 0; padding: 0 12px 12px; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; }
.app-chips li { font-size: 11.5px; font-weight: 600; padding: 3px 8px; border-radius: 999px; color: var(--red); background: var(--red-soft); }

.curve-stage { left: 0; bottom: 30px; width: 100%; height: 120px; }

/* ---------- Platform ---------- */
.platform { padding-top: 88px; }
.platform h2 { margin-bottom: 48px; }
.platform-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 56px; align-items: center; }

.app-window {
  background: #17181b; border-radius: 12px; overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .07);
}
.app-bar { display: flex; align-items: center; gap: 14px; height: 36px; padding: 0 14px; background: #101113; border-bottom: 1px solid #26282c; }
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #3a3d42; }
.dots i:first-child { background: #ff5f57; } .dots i:nth-child(2) { background: #febc2e; } .dots i:nth-child(3) { background: #28c840; }
.url { flex: 1; max-width: 320px; font-size: 12px; color: #8b8f96; background: #1d1f22; border-radius: 6px; padding: 3px 10px; }
.app-bar-btn { margin-left: auto; font-size: 11px; color: #fff; background: var(--red); padding: 3px 10px; border-radius: 5px; }

.app-body { display: grid; grid-template-columns: 44px 1fr 150px; min-height: 340px; }
.app-side { border-right: 1px solid #26282c; display: flex; flex-direction: column; align-items: center; gap: 14px; padding-top: 14px; }
.app-side i { width: 18px; height: 18px; border-radius: 5px; background: #2c2f34; }
.app-side i:first-child { background: var(--red); }

.app-viewport { position: relative; background: radial-gradient(circle at 50% 40%, #2c2f35, #1a1b1e 75%); display: grid; place-items: center; }
.app-viewport svg { width: 92%; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.app-viewport .grid path { stroke: #3a3e44; stroke-width: 1; }
.app-viewport .machine path { stroke: #d6d9de; stroke-width: 1.6; }
.app-viewport .machine .glass { fill: rgba(120, 200, 220, .07); stroke: none; }
.app-viewport .machine .thin { stroke: #8d9299; stroke-width: 1; }
.app-viewport .robot path { stroke: var(--red); stroke-width: 5; }
.app-viewport .robot circle { fill: #fff; stroke: var(--red); stroke-width: 2; }
.app-viewport .conveyor path { stroke: #aeb3ba; stroke-width: 1.4; fill: rgba(255, 255, 255, .04); }
.viewport-tag { position: absolute; left: 12px; bottom: 10px; font-size: 11px; color: #8b8f96; letter-spacing: .08em; }

.app-panel { border-left: 1px solid #26282c; padding: 14px 12px; display: flex; flex-direction: column; gap: 9px; }
.app-panel b { height: 8px; width: 60%; border-radius: 3px; background: #4a4e55; margin-top: 6px; }
.app-panel i { height: 16px; border-radius: 4px; background: #24262a; }
.app-panel i.s { width: 70%; }

.platform-features-wrap { position: relative; }
.platform-features { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 36px 28px; }
.platform-features h3 { font-size: 20px; font-weight: 500; margin: 10px 0 6px; }
.platform-features p { font-size: 14.5px; color: var(--on-dark-2); line-height: 1.5; }
.platform-features .icon { width: 46px; height: 46px; }
.curve-features { left: -60px; top: -40px; width: calc(100% + 80px); height: calc(100% + 80px); opacity: .7; }

/* ---------- Referenzen ---------- */
.gallery { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; gap: 18px; }
.gallery-item { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-height: 220px; }
.gallery-large { grid-row: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transition: transform .6s; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 14px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .72));
  color: #fff; font-size: 14.5px; font-weight: 500;
}

/* ---------- Unternehmen ---------- */
.company { background: var(--bg-soft); }
.company-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.company h2 { margin-bottom: 20px; }
.company-copy p { color: var(--ink-2); margin-bottom: 16px; }
.check-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 30px; font-weight: 500; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--red-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d10030' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.team-mosaic { display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: 170px 170px; gap: 14px; }
.team-mosaic img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.team-mosaic .m1 { grid-column: 1 / 3; }
.team-mosaic .m2 { grid-column: 3 / 7; }
.team-mosaic .m3 { grid-column: 1 / 3; object-position: center 30%; }
.team-mosaic .m4 { grid-column: 3 / 7; }

/* ---------- CTA ---------- */
.cta { padding: 96px 0 72px; text-align: center; }
.cta h2 { margin-bottom: 14px; }
.cta p { color: var(--muted); max-width: 52ch; margin: 0 auto 28px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: #fafbfc; font-size: 14.5px; color: var(--muted); }
.footer-main { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 40px; padding: 56px 0 44px; }
.footer-brand img { width: 150px; }
.footer-claim { margin: 14px 0 18px; color: var(--ink-2); font-weight: 500; }
.footer-brand address { font-style: normal; line-height: 1.7; }
.footer-social { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; color: var(--ink-2); text-decoration: none; font-weight: 500; transition: color .2s; }
.footer-social svg { width: 20px; height: 20px; fill: #0a66c2; }
.footer-social:hover { color: var(--red); }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h2 { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); margin-bottom: 4px; }
.footer-col a { text-decoration: none; width: fit-content; transition: color .2s; }
.footer-col a:hover { color: var(--red); }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 20px 0 28px; border-top: 1px solid var(--line); font-size: 13px; color: #9a9da3;
}
.footer-made { display: inline-flex; align-items: center; gap: 5px; }
.heart { width: 14px; height: 14px; fill: var(--red); animation: heartbeat 1.8s ease-in-out infinite; }
@keyframes heartbeat { 0%, 40%, 100% { transform: scale(1); } 20% { transform: scale(1.2); } }
@media (prefers-reduced-motion: reduce) { .heart { animation: none; } }

/* ---------- Kontakt-Dialog ---------- */
.contact-dialog {
  width: min(640px, calc(100% - 32px)); max-height: calc(100% - 32px);
  padding: 0; border: 0; border-radius: 16px; box-shadow: var(--shadow-lg); color: var(--ink);
}
.contact-dialog::backdrop { background: rgba(16, 18, 22, .55); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.contact-dialog[open] { animation: dialog-in .25s ease; }
@keyframes dialog-in { from { opacity: 0; transform: translateY(12px) scale(.98); } }

.contact-form { padding: 28px 28px 24px; }
.dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.dialog-head h2 { font-size: 24px; font-weight: 600; }
.dialog-close { width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--bg-soft); font-size: 22px; line-height: 1; cursor: pointer; }
.dialog-close:hover { background: var(--line); }
.dialog-intro { color: var(--muted); margin: 6px 0 22px; font-size: 15px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.field { display: flex; flex-direction: column; gap: 5px; font-size: 13.5px; font-weight: 500; color: var(--ink-2); }
.field-full { grid-column: 1 / -1; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 15px; font-weight: 400; color: var(--ink);
  border: 1px solid #d3d6db; border-radius: var(--radius-sm); padding: 10px 12px; background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px var(--red-soft); }
.field.has-error input, .field.has-error select { border-color: var(--red); }
.field-error { color: var(--red); font-size: 12.5px; font-weight: 400; min-height: 0; }
.field-error:empty { display: none; }

.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--ink-2); line-height: 1.45; }
.check input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--red); flex: none; }
.check a { color: var(--red); }

.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form-status { margin-top: 16px; font-size: 14px; }
.form-status:empty { display: none; }
.form-status.is-error { color: var(--red); }
.form-status.is-success { color: #1d7a45; background: #e8f6ee; padding: 12px 14px; border-radius: var(--radius-sm); }

.dialog-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 22px; }

/* ---------- Scroll-Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .df { grid-template-columns: 1fr; justify-items: stretch; }
  .df-arrow { justify-self: center; transform: rotate(90deg); }
  .df-hub { flex-direction: row; justify-content: center; flex-wrap: wrap; padding: 18px; }
  .main-nav { gap: 22px; }
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .stage-legs { display: none; }
  .grid-5.grid-solutions { grid-template-columns: repeat(2, 1fr); }
  .stage-plate { margin: 18px 0 0; flex-direction: column; gap: 8px; text-align: center; }
  .stage-plate span { padding-left: 0; border-left: 0; }
  .platform-grid { grid-template-columns: 1fr; }
  .curve-features { display: none; }
  .platform-features { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; margin: 0;
    flex-direction: column; gap: 0; padding: 8px 24px 24px;
    background: #fff; box-shadow: 0 16px 30px rgba(16, 18, 22, .12);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: transform .25s, opacity .25s, visibility .25s;
  }
  .main-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .main-nav a::after { display: none; }
  .nav-cta-mobile { display: inline-flex; margin-top: 18px; }

  .section { padding: 72px 0; }
  .hero { padding: 56px 0 72px; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { justify-self: center; width: min(100%, 520px); }
  .hv-slide { padding: 48px 0 84px 16px; }
  .hero-frame { transform: none; }
  .hv-chat, .hv-badge { right: 0; }
  .hv-tabs { padding-left: 16px; }

  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .curve-value { display: none; }
  .platform-features { grid-template-columns: 1fr 1fr; }
  .company-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .brand img { width: 128px; }
  .grid-4 { grid-template-columns: 1fr; }
  .grid-5 { grid-template-columns: 1fr 1fr; gap: 12px; }
  .solution-card p { display: none; }
  .solution-open { grid-column: 1 / -1; }
  .app-body { grid-template-columns: 34px 1fr; min-height: 220px; }
  .app-panel { display: none; }
  .gallery { grid-template-columns: 1fr; grid-template-rows: none; }
  .gallery-large { grid-row: auto; }
  .gallery-item { min-height: 240px; }
  .team-mosaic { grid-template-rows: 120px 120px; gap: 10px; }
  .form-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 22px 18px 18px; }
  .dialog-actions { flex-direction: column-reverse; }
  .dialog-actions .btn { width: 100%; }
}

/* ==========================================================================
   Unterseiten (Impressum, Datenschutz, 404)
   ========================================================================== */
.legal { padding: 64px 0 96px; }
.legal .container { max-width: 820px; }
.legal h1 { font-size: clamp(30px, 4vw, 42px); font-weight: 600; margin-bottom: 32px; }
.legal h2 { font-size: 21px; font-weight: 600; margin: 36px 0 10px; }
.legal h3 { font-size: 17px; font-weight: 600; margin: 24px 0 8px; }
.legal p, .legal li { color: var(--ink-2); }
.legal p { margin-bottom: 12px; }
.legal a { color: var(--red); }
.legal ul { margin: 0 0 12px; padding-left: 22px; }
.legal li { margin-bottom: 4px; }
.legal .note {
  background: #fff7e6; border: 1px solid #f3d9a4; color: #7a5a14;
  border-radius: var(--radius-sm); padding: 12px 16px; font-size: 14px; margin-bottom: 32px;
}
.back-link { display: inline-flex; gap: 6px; margin-bottom: 24px; color: var(--muted); text-decoration: none; font-size: 14px; }
.back-link:hover { color: var(--red); }

.error-page { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 64px 16px; }
.error-page .code { color: var(--red); font-weight: 600; letter-spacing: .08em; margin-bottom: 8px; }
.error-page h1 { font-size: clamp(30px, 4vw, 44px); font-weight: 600; margin-bottom: 14px; }
.error-page p { color: var(--muted); margin-bottom: 28px; }

/* ==========================================================================
   Navigation: Lösungen-Dropdown
   ========================================================================== */
.nav-group { position: relative; display: flex; align-items: center; }
.nav-group-label { margin-right: 12px; }
.nav-group-label::before {
  content: ""; position: absolute; right: -14px; top: 50%; width: 6px; height: 6px; margin-top: -5px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg);
}
.nav-dropdown {
  position: absolute; top: 100%; left: -18px; width: 320px; padding: 8px; margin-top: 14px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .2s, visibility .2s;
}
.nav-dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.nav-group:hover .nav-dropdown, .nav-group:focus-within .nav-dropdown { opacity: 1; visibility: visible; transform: none; }
.main-nav .nav-dropdown a { display: block; padding: 10px 12px; border-radius: var(--radius-sm); }
.main-nav .nav-dropdown a::after { display: none; }
.main-nav .nav-dropdown a:hover, .main-nav .nav-dropdown a[aria-current="page"] { background: var(--bg-soft); }
.nav-dropdown strong { display: block; color: var(--ink); font-size: 14.5px; }
.nav-dropdown small { display: block; color: var(--muted); font-size: 13px; font-weight: 400; line-height: 1.4; }

@media (max-width: 900px) {
  .nav-group { display: block; }
  .nav-group-label { display: block; margin-right: 0; }
  .nav-group-label::before { display: none; }
  .nav-dropdown {
    position: static; width: auto; margin: 0; padding: 4px 0 8px 12px; border: 0; box-shadow: none;
    opacity: 1; visibility: visible; transform: none; border-bottom: 1px solid var(--line); border-radius: 0;
  }
  .nav-dropdown::before { display: none; }
  .main-nav .nav-dropdown a { border-bottom: 0; padding: 8px 12px; }
}

/* ==========================================================================
   Startseite: verlinkte Branchen-Karten + Anwendungsfall-Teaser
   ========================================================================== */
.solution-link { text-decoration: none; color: inherit; }
.solution-link p { flex: 1; padding-bottom: 8px; }
.solution-more { display: block; text-align: center; color: var(--red); font-size: 13.5px; font-weight: 500; padding: 0 14px 16px; }
.solution-link:hover { border-color: var(--red); }
a.card-link { text-decoration: none; }

.teaser-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.teaser-card {
  display: flex; flex-direction: column; text-decoration: none; color: inherit; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
}
.teaser-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.teaser-img { aspect-ratio: 16 / 8; overflow: hidden; }
.teaser-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.teaser-card:hover .teaser-img img { transform: scale(1.04); }
.teaser-body { padding: 24px 26px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.teaser-body h3 { font-size: 23px; font-weight: 600; }
.teaser-body p { color: var(--ink-2); font-size: 15px; flex: 1; }
.teaser-more { color: var(--red); font-weight: 500; font-size: 15px; }
.teaser-more span { display: inline-block; transition: transform .2s; }
.teaser-card:hover .teaser-more span { transform: translateX(4px); }

.tag {
  align-self: flex-start; display: inline-block; font-size: 12.5px; font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase; color: var(--red); background: var(--red-soft); padding: 4px 10px; border-radius: 999px;
}
.tag-dark { color: #ff8aa3; background: rgba(209, 0, 48, .18); margin-bottom: 14px; }

/* ==========================================================================
   Anwendungsfall-Seiten
   ========================================================================== */
.uc-hero { position: relative; overflow: hidden; padding: 64px 0 88px; }
.uc-hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(800px 460px at 80% 50%, rgba(255, 255, 255, .06), transparent 60%),
              radial-gradient(600px 400px at 0% 100%, rgba(209, 0, 48, .12), transparent 60%);
}
.uc-hero-inner { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.uc-hero h1 { font-size: clamp(34px, 4.6vw, 56px); font-weight: 600; margin-bottom: 18px; }
.uc-hero .lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--on-dark-2); font-weight: 300; margin-bottom: 32px; max-width: 36ch; }
.uc-hero-visual { margin: 0; border-radius: 16px; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, .5), 0 0 0 1px rgba(255, 255, 255, .08); }
.uc-hero-visual img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }


.section-soft { background: var(--bg-soft); }
.section-lead { font-size: 18px; color: var(--ink-2); max-width: 62ch; margin: -24px 0 48px; }
.muted { color: var(--muted); font-size: 14.5px; }

/* Zahlen-Band */
.stats-band { background: var(--dark-2); color: var(--on-dark); padding: 48px 0 40px; border-top: 1px solid rgba(255, 255, 255, .06); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.stat strong { display: block; font-size: clamp(38px, 4.4vw, 54px); font-weight: 600; color: #fff; line-height: 1.1; letter-spacing: -0.02em; }
.stat strong::after { content: ""; display: block; width: 32px; height: 3px; background: var(--red); margin: 12px 0 10px; }
.stat span { color: var(--on-dark-2); font-size: 15px; }
.stats-claim { margin-top: 28px; font-size: 20px; font-weight: 600; color: #fff; }
.stats-source { margin-top: 6px; font-size: 12.5px; color: #8b8f96; }

/* Problem */
.problem-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: start; }
.problem-text .intro { color: var(--ink-2); font-size: 16.5px; margin-bottom: 28px; }
.pain-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.pain-card { background: var(--bg-soft); border-radius: var(--radius); padding: 20px 20px 16px; }
.pain-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 10px; }
.pain-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pain-list li { position: relative; padding-left: 22px; font-size: 14.5px; color: var(--ink-2); line-height: 1.45; }
.pain-list li::before { content: ""; position: absolute; left: 2px; top: 10px; width: 10px; height: 2px; background: var(--red); }
.problem-visual { margin: 0; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-lg); position: relative; }
.problem-visual img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
/* Autohaus: Hauptbild + Einschub der Online-Suche (oben rechts) */
.problem-visual-combo > img { object-position: 55% center; }
.problem-visual-combo figcaption { background: linear-gradient(180deg, transparent, rgba(10, 11, 13, .88) 45%); padding-top: 48px; }
.combo-inset {
  position: absolute; top: 14px; right: 14px; width: 40%; z-index: 1; transform: rotate(2deg);
  background: #fff; padding: 5px; border-radius: 10px; box-shadow: 0 14px 30px rgba(0, 0, 0, .4);
}
.problem-visual .combo-inset img { display: block; width: 100%; aspect-ratio: auto; border-radius: 6px; }
/* ---- Motion: Ken-Burns, auftauchende Ausstattungs-Tags, Fragezeichen, unbeantworteter Chat ---- */
.problem-visual-combo > img { animation: kenburns 20s ease-in-out infinite alternate; transform-origin: 58% 30%; }
@keyframes kenburns { to { transform: scale(1.09); } }
.js .problem-visual-combo .combo-inset { opacity: 0; transform: translateX(40px) rotate(6deg); transition: opacity .8s .3s ease, transform .9s .3s cubic-bezier(.2, .8, .2, 1.2); }
.js .problem-visual-combo.is-visible .combo-inset { opacity: 1; transform: rotate(2deg); }
.fx { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.fx-tag {
  position: absolute; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  font-size: 12px; font-weight: 600; color: #fff; padding: 5px 10px 5px 12px; border-radius: 999px;
  background: rgba(20, 21, 24, .62); border: 1px solid rgba(255, 255, 255, .22);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; animation: fx-tag 9s ease-in-out infinite;
}
.fx-tag::after {
  content: "?"; display: grid; place-items: center; width: 17px; height: 17px; border-radius: 50%;
  background: var(--red); font-size: 11px; font-weight: 800;
}
.fx-tag:nth-child(1) { left: 4%;  top: 16%; animation-delay: .2s; }
.fx-tag:nth-child(2) { left: 7%;  top: 34%; animation-delay: 1.7s; }
.fx-tag:nth-child(3) { left: 3%;  top: 52%; animation-delay: 3.2s; }
.fx-tag:nth-child(4) { left: 68%; top: 46%; animation-delay: 4.7s; }
.fx-tag:nth-child(5) { left: 62%; top: 62%; animation-delay: 6.2s; }
.fx-tag:nth-child(6) { left: 66%; top: 78%; animation-delay: 7.7s; }
@keyframes fx-tag {
  0%   { opacity: 0; transform: translateY(10px) scale(.85); }
  6%   { opacity: 1; transform: none; }
  30%  { opacity: 1; transform: translateY(-6px); }
  38%, 100% { opacity: 0; transform: translateY(-14px) scale(.95); }
}
.fx-q {
  position: absolute; font-size: 30px; font-weight: 800; color: #fff; text-shadow: 0 4px 14px rgba(0, 0, 0, .5);
  opacity: 0; animation: fx-q 3.6s ease-in-out infinite;
}
.fx-q:nth-child(7) { left: 44%; top: 10%; }
.fx-q:nth-child(8) { left: 52%; top: 4%; font-size: 40px; color: #ff5a7a; animation-delay: .9s; }
.fx-q:nth-child(9) { left: 61%; top: 11%; animation-delay: 1.8s; }
@keyframes fx-q {
  0%   { opacity: 0; transform: translateY(8px) rotate(-8deg); }
  20%  { opacity: 1; }
  60%  { opacity: 1; transform: translateY(-8px) rotate(8deg); }
  100% { opacity: 0; transform: translateY(-16px) rotate(0); }
}
.fx-chat {
  position: absolute; left: 14px; bottom: 58px; width: 46%; max-width: 250px;
  background: rgba(255, 255, 255, .96); border-radius: 14px 14px 14px 4px; padding: 10px 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .35);
}
.js .problem-visual-combo .fx-chat { opacity: 0; transform: translateY(14px); transition: opacity .6s 1s ease, transform .6s 1s ease; }
.js .problem-visual-combo.is-visible .fx-chat { opacity: 1; transform: none; }
.fx-chat p { margin: 0 0 6px; font-size: 12.5px; line-height: 1.35; color: var(--ink); font-weight: 500; }
.fx-chat small { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--muted); }
.fx-chat small::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); animation: fx-blink 1.2s steps(2) infinite; }
@keyframes fx-blink { 50% { opacity: .15; } }
.fx-typing { display: inline-flex; gap: 3px; padding: 5px 8px; margin-bottom: 6px; border-radius: 10px; background: #eef0f3; }
.fx-typing i { width: 5px; height: 5px; border-radius: 50%; background: #9aa0a8; animation: fx-dot 1.2s ease-in-out infinite; }
.fx-typing i:nth-child(2) { animation-delay: .15s; }
.fx-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes fx-dot { 0%, 60%, 100% { transform: none; opacity: .5; } 30% { transform: translateY(-3px); opacity: 1; } }
@media (max-width: 640px) {
  .fx-tag { font-size: 10.5px; }
  .fx-tag:nth-child(n+4) { display: none; }
  .fx-chat { width: 62%; }
}
@media (prefers-reduced-motion: reduce) {
  .problem-visual-combo > img, .fx-tag, .fx-q, .fx-typing i, .fx-chat small::before { animation: none; }
  .fx-tag:nth-child(-n+3) { opacity: 1; }
  .fx-q { display: none; }
  .js .problem-visual-combo .combo-inset { opacity: 1; transform: rotate(2deg); transition: none; }
  .js .problem-visual-combo .fx-chat { opacity: 1; transform: none; transition: none; }
}
.combo-inset b {
  position: absolute; left: 50%; bottom: -11px; transform: translateX(-50%); white-space: nowrap;
  font-size: 11.5px; color: #fff; background: var(--red); padding: 3px 10px; border-radius: 999px;
}
.problem-visual figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 14px; color: #fff; font-size: 14px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .75));
}

/* Module (abwechselnd Text/Visual) */
.module { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 40px 0; }
.module + .module { border-top: 1px solid #dde1e6; }
.module-reverse .module-copy { order: 2; }
.module-no { display: block; font-size: 14px; font-weight: 600; color: var(--red); letter-spacing: .1em; margin-bottom: 8px; }
.module-copy h3 { font-size: clamp(22px, 2.3vw, 28px); font-weight: 600; margin-bottom: 12px; }
.module-copy > p { color: var(--ink-2); margin-bottom: 12px; }
.module-copy .check-list { margin-top: 16px; }
.module-copy .check-list li { font-weight: 400; color: var(--ink-2); }
.module-visual { display: flex; justify-content: center; }

/* Autohaus: Vorher/Nachher der KI-Fahrzeugbilder (ein Bild, zwei Hälften) */
.compare-figure { position: relative; margin: 0; width: 100%; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-lg); }
.compare-figure img { display: block; width: 100%; height: auto; }
.compare-figure figcaption { position: absolute; inset: auto 0 10px; display: grid; grid-template-columns: 1fr 1fr; pointer-events: none; }
.compare-figure figcaption span {
  justify-self: start; margin-left: 10px; font-size: 12px; font-weight: 600; color: #fff;
  background: rgba(20, 21, 24, .72); padding: 4px 10px; border-radius: 999px;
}
.compare-figure figcaption span + span { background: var(--red); }

/* Autohaus: stilisierter Video-Player für die automatische Fahrzeugvorstellung */
.video-mock { width: 100%; max-width: 480px; background: #16171a; border-radius: 14px; padding: 10px; box-shadow: var(--shadow-lg); }
.video-frame { position: relative; border-radius: 8px; overflow: hidden; }
.video-frame img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.video-play {
  position: absolute; left: 50%; top: 42%; width: 54px; height: 54px; transform: translate(-50%, -50%);
  border-radius: 50%; background: rgba(209, 0, 48, .92); box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
}
.video-play::after { content: ""; position: absolute; left: 21px; top: 16px; border-style: solid; border-width: 11px 0 11px 17px; border-color: transparent transparent transparent #fff; }
.video-sub {
  position: absolute; left: 8%; right: 8%; bottom: 10px; text-align: center; font-size: 12.5px; line-height: 1.4; color: #fff;
  background: rgba(0, 0, 0, .6); padding: 5px 10px; border-radius: 6px;
}
.video-bar { display: flex; align-items: center; gap: 10px; padding: 10px 4px 6px; }
.video-bar i { flex: 1; height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--red) 27%, #3a3d42 27%); }
.video-bar span { font-size: 11.5px; color: #9ea2a9; }
.video-tags { list-style: none; margin: 0; padding: 2px 4px 4px; display: flex; flex-wrap: wrap; gap: 6px; }
.video-tags li { font-size: 11.5px; color: #d7d9dd; background: #2a2d32; padding: 3px 9px; border-radius: 999px; }

/* Chat-Mockup */
.chat-mock, .phone { background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden; width: 100%; max-width: 420px; font-size: 13.5px; }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: var(--dark); color: #fff; font-weight: 600; font-size: 14px; }
.chat-avatar { width: 26px; height: 26px; border-radius: 50%; background: #fff url("/favicon.svg") center / 80% no-repeat; }
.chat-online { margin-left: auto; font-size: 11.5px; font-weight: 400; color: #8fe3b0; }
.chat-online::before { content: "● "; }
.chat-body { display: flex; flex-direction: column; gap: 10px; padding: 16px; background: #f6f7f9; }
.msg { max-width: 86%; padding: 9px 12px; border-radius: 12px; line-height: 1.45; }
.msg.bot { background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; align-self: flex-start; }
.msg.user { background: var(--red); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.chat-input { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-top: 1px solid var(--line); color: #9a9da3; }
.chat-input span { flex: 1; border: 1px solid var(--line); border-radius: 999px; padding: 7px 12px; }
.chat-input b { background: var(--red); color: #fff; font-weight: 500; border-radius: 999px; padding: 7px 14px; font-size: 12.5px; }

/* Beispielanfragen */
.query-cloud { display: flex; flex-wrap: wrap; gap: 10px; max-width: 480px; }
.query-cloud span {
  background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; font-size: 14px;
  box-shadow: 0 1px 2px rgba(16, 18, 22, .05); color: var(--ink-2);
}
.query-cloud .hl { background: var(--dark); color: #fff; border-color: var(--dark); }

/* Exposé-Flow */
.flow { display: grid; grid-template-columns: 1fr auto 1.4fr; gap: 14px; align-items: center; width: 100%; max-width: 480px; }
.flow-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 8px; }
.flow-box b { font-size: 13px; }
.flow-box i { height: 8px; border-radius: 3px; background: #e7e9ed; }
.flow-box i.s { width: 60%; }
.flow-out p { font-size: 13px; line-height: 1.5; color: var(--ink-2); }
.flow-arrow { display: flex; flex-direction: column; align-items: center; color: var(--red); font-size: 26px; line-height: 1; }
.flow-arrow small { font-size: 11px; color: var(--muted); margin-top: 4px; white-space: nowrap; }

/* QR-Karte */
/* Autohaus: QR-Code am echten Fahrzeug -> Inserat mit Chatbot auf dem Smartphone.
   Positionen in % beziehen sich auf das Foto (Preisschild hinter der Windschutzscheibe). */
.qr-scene { position: relative; width: 100%; max-width: 580px; display: grid; grid-template-columns: 1fr 38%; align-items: center; }
.qr-scene-car { position: relative; }
.qr-scene-photo { display: block; width: 100%; height: auto; border-radius: 14px; box-shadow: var(--shadow-lg); }
.qr-sticker {
  position: absolute; left: 47%; top: 48%; width: 13%; aspect-ratio: 1; padding: .8%;
  background: #fff; border-radius: 4px; box-shadow: 0 0 0 3px var(--red), 0 0 22px 6px rgba(209, 0, 48, .55);
  animation: qr-pulse 2.4s ease-in-out infinite;
}
.qr-sticker svg { display: block; width: 100%; height: 100%; fill: var(--ink); }
@keyframes qr-pulse { 50% { box-shadow: 0 0 0 3px var(--red), 0 0 34px 12px rgba(209, 0, 48, .35); } }
.qr-scan-label {
  position: absolute; left: 63%; top: 56%; font-size: 11.5px; font-weight: 700; letter-spacing: .04em; white-space: nowrap;
  color: #fff; background: var(--red); padding: 4px 10px; border-radius: 999px; box-shadow: 0 6px 16px rgba(0, 0, 0, .35);
}
.qr-phone {
  position: relative; z-index: 1; margin-left: -12%; margin-top: 44px;
  background: #16171a; border-radius: 22px; padding: 7px; box-shadow: 0 24px 50px rgba(0, 0, 0, .35);
}
.qr-phone-top { display: grid; place-items: center; height: 14px; }
.qr-phone-top i { width: 34%; height: 5px; border-radius: 3px; background: #2e3136; }
.qr-phone-ad { background: #fff; border-radius: 14px 14px 4px 4px; padding: 10px 12px; }
.qr-phone-ad small { display: block; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--red); font-weight: 700; }
.qr-phone-ad b { display: block; font-size: 13.5px; color: var(--ink); }
.qr-phone-ad span { font-size: 11px; color: var(--muted); }
.qr-phone-chat { background: #f4f5f7; border-radius: 4px 4px 14px 14px; padding: 9px; margin-top: 3px; display: flex; flex-direction: column; gap: 6px; }
.qr-phone-chat .msg { margin: 0; font-size: 11px; line-height: 1.35; padding: 6px 9px; max-width: 92%; }
.qr-scene-caption { grid-column: 1 / -1; margin-top: 10px; font-size: 13.5px; color: var(--muted); font-style: italic; }

/* Dashboard-Mockup */
.dash-mock { width: 100%; max-width: 460px; background: #17181b; border-radius: 14px; padding: 18px; box-shadow: var(--shadow-lg); }
.dash-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
.dash-kpis div { background: #222428; border-radius: 10px; padding: 10px 12px; }
.dash-kpis small { display: block; color: #8b8f96; font-size: 11.5px; }
.dash-kpis b { color: #fff; font-size: 20px; font-weight: 600; }
.dash-bars { display: flex; align-items: flex-end; gap: 6px; height: 120px; }
.dash-bars i { flex: 1; border-radius: 3px 3px 0 0; background: linear-gradient(180deg, #ff4d73, var(--red)); opacity: .9; }
.dash-bars i:nth-child(1) { height: 35%; } .dash-bars i:nth-child(2) { height: 52%; } .dash-bars i:nth-child(3) { height: 44%; } .dash-bars i:nth-child(4) { height: 70%; } .dash-bars i:nth-child(5) { height: 58%; } .dash-bars i:nth-child(6) { height: 82%; } .dash-bars i:nth-child(7) { height: 64%; } .dash-bars i:nth-child(8) { height: 48%; } .dash-bars i:nth-child(9) { height: 76%; } .dash-bars i:nth-child(10) { height: 90%; } .dash-bars i:nth-child(11) { height: 68%; } .dash-bars i:nth-child(12) { height: 55%; } .dash-bars i:nth-child(13) { height: 73%; } .dash-bars i:nth-child(14) { height: 86%; }

/* Nutzen */
.benefit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.benefit-card { padding: 28px; }
.benefit-card:hover { transform: none; }
.benefit-card h3 { font-size: 21px; font-weight: 600; margin-bottom: 16px; }
.benefit-card .check-list { margin-top: 0; }
.benefit-card .check-list li { font-weight: 400; color: var(--ink-2); }
.benefit-list { margin: 0; display: grid; gap: 14px; }
.benefit-list div { padding-left: 16px; border-left: 2px solid var(--red); }
.benefit-list dt { font-weight: 600; }
.benefit-list dd { margin: 2px 0 0; color: var(--ink-2); font-size: 14.5px; }

/* Schritte + Smartphone */
.steps-layout { display: grid; grid-template-columns: 1fr auto; gap: 64px; align-items: center; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 26px; }
.steps li { display: flex; gap: 18px; }
.step-no {
  flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--red); color: #fff; font-weight: 600; font-size: 18px; box-shadow: 0 6px 16px rgba(209, 0, 48, .3);
}
.steps h3 { font-size: 19px; font-weight: 600; margin: 8px 0 4px; }
.steps p { color: var(--ink-2); }
.phone { position: relative; width: 300px; border-radius: 34px; border: 10px solid #1b1c1f; }
.phone .chat-head { padding-top: 26px; }
.phone-notch { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 110px; height: 18px; background: #1b1c1f; border-radius: 0 0 12px 12px; z-index: 2; }
.phone .chat-body { font-size: 12.5px; }

/* Szenarien */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.scenario-card { padding: 26px 24px; }
.scenario-card h3 { font-size: 18px; font-weight: 600; margin: 14px 0 12px; }
.quote-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.quote-list li { font-size: 14.5px; color: var(--ink-2); background: var(--bg-soft); border-radius: 10px; padding: 10px 12px; font-style: italic; }

/* Ausbaustufen + Roadmap */
.levels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.level { position: relative; padding: 24px; border-radius: var(--radius); background: var(--bg-soft); }
.level:nth-child(2) { background: #e3e7ec; }
.level:nth-child(3) { background: var(--dark); color: var(--on-dark); }
.level:nth-child(3) p { color: var(--on-dark-2); }
.level-tag { font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.level:nth-child(3) .level-tag { color: #ff8aa3; }
.level h3 { font-size: 19px; font-weight: 600; margin: 6px 0 8px; }
.level p { color: var(--ink-2); font-size: 15px; }

.roadmap-title { font-size: 21px; font-weight: 600; margin: 56px 0 24px; }
.roadmap { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.roadmap::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: linear-gradient(90deg, var(--red), #e4e6ea); }
.roadmap li { position: relative; padding-top: 30px; display: flex; flex-direction: column; gap: 6px; }
.roadmap li::before { content: ""; position: absolute; top: 0; left: 0; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--red); }
.roadmap b { font-size: 15.5px; }
.roadmap span { color: var(--ink-2); font-size: 14.5px; }

/* CTA dunkel */
.cta-dark { padding: 88px 0; }
.cta-dark p { color: var(--on-dark-2); }
.cta-dark .cta-alt { margin: 26px auto 0; font-size: 14.5px; }
.cta-alt a { color: #fff; }

/* Responsive Anwendungsfälle */
@media (max-width: 900px) {
  .footer-main { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .teaser-grid, .uc-hero-inner, .problem-grid, .module, .benefit-grid, .steps-layout { grid-template-columns: 1fr; }
  .uc-hero-inner { gap: 40px; }
  .module { gap: 32px; }
  .module-reverse .module-copy { order: 0; }
  .problem-grid > .problem-visual:first-child { order: 2; }
  .grid-3, .levels { grid-template-columns: 1fr; }
  .roadmap { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .roadmap::before { display: none; }
  .phone-mock { display: flex; justify-content: center; }
}
@media (max-width: 640px) {
  .footer-main { padding: 44px 0 32px; }
  .stats { grid-template-columns: 1fr; gap: 20px; }
  .pain-cols { grid-template-columns: 1fr; }
  .section-lead { font-size: 16.5px; }
  .roadmap { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; }
  .flow-arrow { transform: rotate(90deg); }
  .qr-scene { grid-template-columns: 1fr 46%; }
  .phone { width: 280px; }
}

/* ==========================================================================
   Unternehmensseite
   ========================================================================== */
.company-more { margin-top: 28px; }
.company-more span { transition: transform .2s; }
.company-more:hover span { transform: translateX(4px); }

.stats-4 { grid-template-columns: repeat(4, 1fr); }

/* Vision & Mission */
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.vm-card { padding: 36px 34px; border-radius: 16px; background: var(--bg-soft); }
.vm-card h3 { font-size: 24px; font-weight: 600; margin: 16px 0 14px; }
.vm-card p { color: var(--ink-2); margin-bottom: 12px; }
.vm-card-dark { background: var(--dark); color: var(--on-dark); position: relative; overflow: hidden; }
.vm-card-dark p { color: var(--on-dark-2); }
.vm-card-dark::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%;
  border: 1.5px solid rgba(209, 0, 48, .5); pointer-events: none;
}

/* Wurzeln / Kompetenzen */
.roots-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.roots-copy h2 { margin-bottom: 20px; }
.roots-copy p { color: var(--ink-2); margin-bottom: 14px; }
.competences { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.competence { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.competence .icon { width: 38px; height: 38px; }
.competence h3 { font-size: 16.5px; font-weight: 600; margin: 12px 0 6px; }
.competence p { color: var(--ink-2); font-size: 14.5px; line-height: 1.5; }

/* Gründerteam */
.founders { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.founder { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.founder-photo { aspect-ratio: 1 / 1; background: var(--bg-soft); overflow: hidden; }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.founder:hover .founder-photo img { transform: scale(1.03); }
.founder-monogram {
  display: grid; place-items: center; position: relative;
  background: radial-gradient(circle at 30% 20%, #3a3d43, var(--dark) 70%);
}
.founder-monogram::after {
  content: ""; position: absolute; inset: 22% ; border-radius: 50%; border: 1.5px solid rgba(209, 0, 48, .6);
}
.founder-monogram span { position: relative; z-index: 1; color: #fff; font-size: 54px; font-weight: 600; letter-spacing: .02em; }
.founder-body { padding: 24px 24px 22px; }
.founder-body h3 { font-size: 20px; font-weight: 600; }
.founder-role { color: var(--red); font-weight: 500; font-size: 14.5px; margin: 4px 0 14px; }
.founder-quote { font-size: 15px; color: var(--ink-2); font-style: italic; line-height: 1.55; padding-left: 14px; border-left: 2px solid var(--red); margin-bottom: 16px; }
.founder-facts { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 6px; }
.founder-facts li { font-size: 14px; color: var(--muted); padding-left: 18px; position: relative; }
.founder-facts li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 2px; background: var(--muted); }
.founder-more { border-top: 1px solid var(--line); padding-top: 12px; }
.founder-more summary { cursor: pointer; color: var(--red); font-weight: 500; font-size: 14.5px; list-style: none; }
.founder-more summary::-webkit-details-marker { display: none; }
.founder-more summary::after { content: " +"; }
.founder-more[open] summary::after { content: " –"; }
.founder-more p { font-size: 14.5px; color: var(--ink-2); margin-top: 12px; line-height: 1.6; }

/* Einblicke – Mauerwerk-Layout: Bilder behalten ihr Seitenverhältnis, nichts wird abgeschnitten */
.insights { columns: 3; column-gap: 16px; }
.insight { position: relative; margin: 0 0 16px; break-inside: avoid; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.insight img { width: 100%; height: auto; transition: transform .6s; }
.insight:hover img { transform: scale(1.03); }
.insight figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 14px 12px; color: #fff; font-size: 13.5px; font-weight: 500;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .7));
}

/* Standort */
.location-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.location-photo { margin: 0; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-lg); }
.location-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.impulse { display: flex; gap: 16px; margin: 22px 0 26px; padding: 20px 22px; border-radius: var(--radius); background: var(--bg-soft); border-left: 3px solid var(--red); }
/* Deutschland- und EU-Flagge statt Weltkugel-Icon */
.flag-duo { display: flex; flex: none; gap: 4px; align-self: flex-start; margin-top: 2px; }
.flag { width: 33px; height: 22px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .12); }
.impulse h3 { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.impulse p { margin: 0; color: var(--ink-2); font-size: 15px; }
.impulse .impulse-tagline { margin-top: 8px; font-weight: 600; color: var(--ink); }
.location-copy h2 { margin-bottom: 20px; }
.location-copy p { color: var(--ink-2); margin-bottom: 14px; }
.location-card {
  font-style: normal; display: flex; flex-direction: column; gap: 4px; padding: 30px;
  background: var(--bg-soft); border-radius: 16px; border-top: 4px solid var(--red);
}
.location-card .icon { margin-bottom: 10px; }
.location-card strong { font-size: 18px; }
.location-card span { color: var(--ink-2); }
.location-sep { height: 1px; background: #d8dce1; margin: 12px 0; }
.location-card .btn { align-self: flex-start; margin-top: 18px; }

@media (max-width: 1080px) {
  .founders { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .stats-4 { grid-template-columns: 1fr 1fr; }
  .vm-grid, .roots-grid, .location-grid { grid-template-columns: 1fr; gap: 32px; }
  .insights { columns: 2; }
}
@media (max-width: 640px) {
  .founders, .competences { grid-template-columns: 1fr; }
  .insights { columns: 1; }
  .stats-4 { grid-template-columns: 1fr; }
  .vm-card { padding: 28px 22px; }
  .founder-photo { aspect-ratio: 4 / 3; }
  .founder-photo img { object-position: center 25%; }
}

/* ==========================================================================
   Referenzseite
   ========================================================================== */
.section-more { margin-top: 32px; text-align: center; }
.section-more .btn span { transition: transform .2s; }
.section-more .btn:hover span { transform: translateX(4px); }

.ref-hero-visual { position: relative; }
/* Bildwechsel: erstes Bild bestimmt die Höhe, die weiteren liegen deckungsgleich darüber */
.ref-hero-visual img { display: block; transition: opacity 1.2s ease; }
.ref-hero-visual img + img { position: absolute; inset: 0; height: 100%; }
.ref-hero-visual img:not(.is-active) { opacity: 0; }
.ref-hero-visual figcaption { transition: opacity .4s ease; }
.ref-hero-visual figcaption.is-fading { opacity: 0; }
.ref-hero-visual figcaption {
  position: absolute; left: 14px; bottom: 14px; font-size: 12.5px; color: #fff;
  background: rgba(20, 21, 24, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .14);
}
/* Restzeit bis zum nächsten Bild (Balken wird von main.js eingefügt, animationend löst den Wechsel aus) */
.rotator-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, .14); }
.rotator-progress::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 0; background: var(--red); }
.rotator-progress.is-running::after { animation: hv-progress var(--rotator-duration, 6s) linear forwards; }
.ref-hero-visual:hover .rotator-progress::after { animation-play-state: paused; }

.award-logo { flex: none; display: grid; place-items: center; width: 64px; height: 48px; padding: 5px; background: #fff; border-radius: 8px; }
.award-logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }

/* Partner-Wand (Wortmarken statt Logos – Logos nur mit Freigabe der Partner) */
.partner-groups { display: grid; gap: 36px; }
.partner-group h3 { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.logo-wall { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.logo-wall-sm { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.wm {
  display: grid; place-items: center; text-align: center; min-height: 76px; padding: 12px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  font-size: 17px; font-weight: 600; color: #50545b; letter-spacing: .01em;
  transition: color .2s, border-color .2s, box-shadow .2s, transform .2s;
}
.wm:hover { color: var(--ink); border-color: #cfd3d9; box-shadow: var(--shadow); transform: translateY(-2px); }
.wm-bold { font-size: 21px; font-weight: 800; letter-spacing: .06em; color: #3a3d42; }
.logo-wall-sm .wm { min-height: 60px; font-size: 15px; background: var(--bg-soft); border-color: transparent; }
.partner-note { margin-top: 10px; font-size: 13px; color: var(--muted); }

/* Case Studies */
.case {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 0; margin-bottom: 32px; overflow: hidden;
  background: #fff; border-radius: 18px; border: 1px solid var(--line); box-shadow: var(--shadow);
}
.case:last-child { margin-bottom: 0; }
.case-reverse .case-media { order: 2; }
.case-media { position: relative; min-height: 360px; background: #111; }
.case-media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.case-media-grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1.5fr 1fr; gap: 3px; background: #fff; }
.case-media-grid figure { position: relative; margin: 0; overflow: hidden; min-height: 120px; }
.case-media-grid .cm-main { grid-column: 1 / -1; }
.case-media-grid img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.case-media-grid figure:hover img { transform: scale(1.04); }
.case-media-grid figcaption {
  position: absolute; left: 8px; bottom: 8px; font-size: 11.5px; font-weight: 600; color: #fff;
  background: rgba(20, 21, 24, .7); padding: 3px 9px; border-radius: 999px;
}
.case-body { padding: 36px 38px; display: flex; flex-direction: column; gap: 14px; }
.case-client { font-size: 14px; font-weight: 600; color: var(--red); }
.case-client span { display: block; color: var(--muted); font-weight: 400; font-size: 13px; margin-top: 2px; }
.case-body h3 { font-size: clamp(21px, 2vw, 26px); font-weight: 600; }
.case-body > p { color: var(--ink-2); }
.case-benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: 16px 0 4px; border-top: 1px solid var(--line); }
.case-benefits h4 { margin: 0 0 8px; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.case-benefits ul, .case-modules { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.case-benefits li, .case-modules li { position: relative; padding-left: 20px; font-size: 14.5px; color: var(--ink-2); line-height: 1.45; }
.case-benefits li::before, .case-modules li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 10px; height: 10px; border-radius: 50%;
  border: 2px solid var(--red);
}
.case-modules { gap: 12px; }
.case-modules b { color: var(--ink); }
.case-tags { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.case-tags li { font-size: 12.5px; font-weight: 500; color: var(--ink-2); background: var(--bg-soft); padding: 4px 10px; border-radius: 999px; }
.case-link { color: var(--red); font-weight: 500; text-decoration: none; margin-top: 4px; }
.case-link span { display: inline-block; transition: transform .2s; }
.case-link:hover span { transform: translateX(4px); }

/* Innovationsvorhaben */
.innovation { position: relative; }
.innovation::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(700px 400px at 90% 10%, rgba(209, 0, 48, .16), transparent 60%),
              radial-gradient(600px 400px at 0% 100%, rgba(255, 255, 255, .05), transparent 60%);
}
.innovation .container { position: relative; }
.section-lead-dark { color: var(--on-dark-2); }
.innovation-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.innov-card {
  display: flex; flex-direction: column; gap: 14px; padding: 32px;
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); border-radius: 18px;
  transition: border-color .25s, background .25s;
}
.innov-card:hover { border-color: rgba(209, 0, 48, .6); background: rgba(255, 255, 255, .06); }
.innov-kicker { align-self: flex-start; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #ff8aa3; background: rgba(209, 0, 48, .18); padding: 4px 10px; border-radius: 999px; }
.innov-card h3 { font-size: 23px; font-weight: 600; color: #fff; }
.innov-card > p { color: var(--on-dark-2); }
.innov-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.innov-points li { position: relative; padding-left: 22px; color: var(--on-dark); font-size: 14.5px; }
.innov-points li::before { content: "→"; position: absolute; left: 0; color: #ff5a7a; }
.innov-partners {
  margin-top: auto; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .1);
  display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; align-items: center;
}
.innov-partners > span { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #8b8f96; }
.innov-partners ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.innov-partners li { font-size: 13px; font-weight: 600; color: #fff; background: rgba(255, 255, 255, .08); padding: 4px 10px; border-radius: 6px; }

/* Timeline */

/* Innovationsvorhaben als Kacheln (wie Referenzen) */
.innovation-cases .case { border-color: transparent; box-shadow: 0 20px 50px rgba(0, 0, 0, .35); }
.innovation-cases .case:last-child { margin-bottom: 0; }
.case-media-duo { display: grid; grid-template-rows: 1.25fr 1fr; gap: 3px; background: #fff; }
.case-media-duo figure { position: relative; margin: 0; overflow: hidden; background: #fff; min-height: 160px; }
.case-media-duo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: transform .6s; }
.case-media-duo figure:hover img { transform: scale(1.03); }
.case-media-duo video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; }
.case-media-duo figcaption {
  position: absolute; left: 8px; bottom: 8px; font-size: 11.5px; font-weight: 600; color: #fff;
  background: rgba(20, 21, 24, .7); padding: 3px 9px; border-radius: 999px;
}
.innov-case .innov-kicker { color: var(--red); background: var(--red-soft); }
.innov-case { color: var(--ink); }
.innov-case h3 { color: var(--ink); }
.innov-case .case-body > p { color: var(--ink-2); }
/* Quick Check: Übergang von der Skizze (oben) zur 3D-Szene (unten) – sitzt auf der Nahtstelle der beiden Bilder */
.qc-media { position: relative; }
.qc-media figure { z-index: 1; }
.qc-flow {
  position: absolute; left: 50%; top: 55.5%; z-index: 3; transform: translate(-50%, -50%);
  display: flex; align-items: center; gap: 10px; padding: 7px 14px 7px 7px; white-space: nowrap;
  background: var(--red); color: #fff; border-radius: 999px; font-size: 12.5px; line-height: 1.25;
  box-shadow: 0 0 0 4px #fff, 0 10px 24px rgba(0, 0, 0, .25);
}
.qc-flow-icon {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: #fff; color: var(--red); font-weight: 800; font-size: 13px; letter-spacing: .02em;
}
.qc-flow-text b { display: block; font-size: 13.5px; }
.qc-flow-arrow { font-size: 20px; font-weight: 700; margin-left: 2px; }
.innov-case .innov-funding img.funding-sm { height: 64px; }
.case-media-duo figure.fig-dark, .case-media-duo figure.fig-dark img { background: #000; }
.innov-case .innov-partners { margin-top: 2px; padding-top: 14px; border-top: 1px solid var(--line); }
.innov-case .innov-partners > span { color: var(--muted); }
.innov-case .innov-partners li { border: 1px solid var(--line); }
.innov-case .innov-funding { border: 1px solid var(--line); padding: 8px 12px; }
.innov-case .innov-funding img { height: 110px; }

/* Echte Partner-Logos */
.logo-tile {
  display: grid; place-items: center; min-height: 92px; padding: 16px 20px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.logo-tile:hover { border-color: #cfd3d9; box-shadow: var(--shadow); transform: translateY(-2px); }
.logo-img { max-height: 50px; max-width: 100%; width: auto; height: auto; object-fit: contain; filter: grayscale(1); opacity: .72; transition: filter .25s, opacity .25s; }
.logo-tile:hover .logo-img { filter: none; opacity: 1; }
.logo-wall-sm .logo-tile { min-height: 72px; background: #fff; }
.logo-wall-sm .logo-img { max-height: 38px; }
.logo-tile.wm { font-size: 16px; font-weight: 600; color: #6b6e75; }
.logo-wall-partners { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 1080px) { .logo-wall-partners { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 640px) { .logo-wall-partners { grid-template-columns: 1fr 1fr; } }
.logo-tile { gap: 6px; align-content: center; }
.logo-tile small { font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: .03em; }
.logo-wall-color .logo-img { filter: none; opacity: 1; }
.logo-wall-color .logo-tile { min-height: 104px; }
.logo-wall-6 { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 1080px) { .logo-wall-6 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .logo-wall-6 { grid-template-columns: 1fr 1fr; } }

/* Logo in Projektkarten */
.case-logo { display: block; height: 38px; width: auto; max-width: 170px; object-fit: contain; object-position: left center; margin-bottom: 2px; }

/* Bilder in Innovationsvorhaben */
.innov-media { margin: -32px -32px 6px; background: #fff; border-radius: 18px 18px 0 0; overflow: hidden; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.innov-media img { width: 100%; aspect-ratio: 16 / 8.5; object-fit: contain; background: #fff; transition: transform .5s; }
.innov-media a:hover img { transform: scale(1.02); }
.innov-media figcaption { background: #2a2c31; padding: 8px 14px; font-size: 13px; }
.innov-media figcaption a { color: #ff8aa3; text-decoration: none; }
.innov-media figcaption a:hover { color: #fff; }
.innov-partners li { display: inline-flex; align-items: center; gap: 6px; background: #fff; padding: 6px 10px; border-radius: 6px; color: var(--ink); }
.innov-partners li img { height: 22px; width: auto; max-width: 110px; object-fit: contain; }
.innov-funding { align-self: flex-start; background: #fff; border-radius: 10px; padding: 10px 16px; margin-top: 6px; max-width: 100%; }
.innov-funding img { display: block; height: 130px; width: auto; max-width: 100%; object-fit: contain; }
.innov-partners li small { font-size: 11px; font-weight: 600; color: var(--muted); }

/* Logos in der Zeitleiste */

/* Forschungsumfeld */
.research-photo { margin: 0; position: relative; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-lg); }
.research-photo > img { display: block; width: 100%; height: auto; }
/* Preise als dunkle Leiste direkt unter dem Foto - verdeckt das Team nicht */
.research-photo figcaption {
  padding: 16px 18px 18px; color: #fff; font-size: 13.5px; background: var(--dark-2);
  display: flex; flex-direction: column; gap: 4px;
}
.ra-kicker { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #ffd27a; }
.ra-title { font-weight: 500; margin-bottom: 10px; }
.ra-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ra-list li {
  display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 10px; font-size: 13px; line-height: 1.4;
  color: var(--on-dark-2); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 210, 122, .3);
}
.ra-list b { display: block; color: #fff; font-size: 14px; font-weight: 600; }
.ra-list time { color: #ffd27a; font-weight: 600; margin-left: 4px; }
.ra-list .award-logo { width: 44px; height: 40px; padding: 4px; }

@media (max-width: 900px) {
  .case, .innovation-grid { grid-template-columns: 1fr; }
  .case-reverse .case-media { order: 0; }
  .case-media { min-height: 260px; }
  .case-media-grid { min-height: 380px; }
}
@media (max-width: 640px) {
  .case-body { padding: 26px 22px; }
  .case-benefits { grid-template-columns: 1fr; }
  .innov-card { padding: 24px 20px; }
  .logo-wall { grid-template-columns: 1fr 1fr; }
}

/* ==========================================================================
   Plattform-Seite (VisuPal)
   ========================================================================== */
.pf-grid-bg {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 80%);
}

/* Hero */
.pf-hero { position: relative; overflow: hidden; padding: 64px 0 104px; }
.pf-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(700px 460px at 78% 45%, rgba(209, 0, 48, .16), transparent 65%),
              radial-gradient(600px 400px at 5% 100%, rgba(255, 255, 255, .05), transparent 60%);
}
.pf-hero-inner { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.pf-brand { width: 190px; height: auto; margin: 4px 0 22px; opacity: .95; }
.pf-hero h1 { font-size: clamp(34px, 4.4vw, 56px); font-weight: 600; margin-bottom: 20px; }
.pf-hero .lead { font-size: clamp(16.5px, 1.45vw, 19px); color: var(--on-dark-2); font-weight: 300; margin-bottom: 32px; max-width: 46ch; }

.pf-hero-visual { position: relative; padding: 30px 40px 60px 0; }
.pf-window {
  position: relative; background: #111214; border-radius: 12px; overflow: hidden;
  box-shadow: 0 40px 90px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .08);
  transform: perspective(1600px) rotateY(-7deg) rotateX(3deg); transition: transform .6s ease;
}
.pf-hero-visual:hover .pf-window { transform: perspective(1600px) rotateY(0) rotateX(0); }
.pf-window img { width: 100%; aspect-ratio: 621 / 480; object-fit: cover; object-position: top; }
.pf-float {
  position: absolute; right: -8px; bottom: 0; width: 44%; margin: 0; border-radius: 12px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .55), 0 0 0 3px rgba(255, 255, 255, .9);
  animation: pf-bob 7s ease-in-out infinite;
}
.pf-float img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.pf-float figcaption {
  position: absolute; left: 8px; bottom: 8px; display: flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; color: #fff; background: rgba(20, 21, 24, .8); padding: 5px 10px; border-radius: 999px;
}
.pf-float .dot, .pf-chip .pulse { width: 7px; height: 7px; border-radius: 50%; background: #2ecc71; box-shadow: 0 0 0 0 rgba(46, 204, 113, .6); animation: pulse 2s infinite; }
.pf-chip {
  position: absolute; display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--on-dark);
  background: rgba(32, 34, 38, .85); border: 1px solid rgba(255, 255, 255, .14); padding: 8px 14px; border-radius: 999px;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}
.pf-chip svg { width: 15px; height: 15px; fill: none; stroke: #ff8aa3; stroke-width: 1.8; }
.pf-chip-data { left: -24px; top: 6px; animation: pf-bob 8s ease-in-out infinite reverse; }
.pf-chip-browser { left: 10px; bottom: 14px; }
@keyframes pf-bob { 50% { transform: translateY(-10px); } }

/* Kennzahlen */
.pf-facts { background: var(--dark-2); color: var(--on-dark); border-top: 1px solid rgba(255, 255, 255, .06); padding: 40px 0; }
.pf-facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.pf-fact strong {
  display: block; font-size: clamp(30px, 3.2vw, 42px); font-weight: 600; line-height: 1.1; letter-spacing: -.02em;
  background: linear-gradient(90deg, #fff, #ffb3c2); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.pf-fact span { display: block; margin-top: 8px; color: var(--on-dark-2); font-size: 14.5px; line-height: 1.45; }

/* Architektur */
.pf-arch { display: grid; grid-template-columns: 1fr 70px 1.15fr 70px 1fr; align-items: center; }
.pf-arch-col h3 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.pf-io { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pf-io li {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: #fff; border: 1px solid var(--line);
  border-radius: 10px; font-size: 14.5px; font-weight: 500; box-shadow: 0 1px 2px rgba(16, 18, 22, .04);
  transition: border-color .2s, transform .2s;
}
.pf-io li:hover { border-color: var(--red); transform: translateX(3px); }
.pf-io small { display: block; font-weight: 400; color: var(--muted); font-size: 12.5px; }
.pf-io li > small { margin-left: auto; }
.io-ic { flex: none; width: 34px; height: 34px; border-radius: 8px; background: var(--bg-soft); display: grid; place-items: center; }
.io-ic svg { width: 19px; height: 19px; fill: none; stroke: var(--ink-2); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pf-io-out .io-ic { background: var(--red-soft); }
.pf-io-out .io-ic svg { stroke: var(--red); }

.pf-arch-flow { position: relative; height: 180px; display: flex; flex-direction: column; justify-content: space-around; }
.pf-arch-flow span {
  display: block; height: 2px; margin: 0 6px; border-radius: 2px;
  background: repeating-linear-gradient(90deg, var(--red) 0 10px, transparent 10px 20px);
  background-size: 40px 2px; animation: pf-flow 1.2s linear infinite; opacity: .75;
}
.pf-arch-flow span:nth-child(2) { animation-duration: .9s; opacity: 1; }
.pf-arch-flow span:nth-child(3) { animation-duration: 1.5s; }
@keyframes pf-flow { to { background-position: 40px 0; } }

.pf-core {
  position: relative; overflow: hidden; text-align: center; padding: 34px 26px 26px; border-radius: 20px; color: var(--on-dark);
  background: radial-gradient(circle at 50% 0%, #3a2027, #1b1c1f 70%);
  box-shadow: 0 30px 70px rgba(16, 18, 22, .35), 0 0 0 1px rgba(209, 0, 48, .35), inset 0 1px 0 rgba(255, 255, 255, .08);
}
.pf-core-glow { position: absolute; inset: -40% -20% auto; height: 260px; background: radial-gradient(circle, rgba(209, 0, 48, .45), transparent 65%); filter: blur(10px); animation: pf-glow 5s ease-in-out infinite; }
@keyframes pf-glow { 50% { opacity: .55; transform: scale(1.08); } }
.pf-core > img { position: relative; width: 170px; height: auto; margin: 0 auto; }
.pf-core-sub { position: relative; margin: 8px 0 20px; font-size: 14px; color: var(--on-dark-2); }
.pf-core-layers { position: relative; display: grid; gap: 8px; text-align: left; }
.pf-core-layers div {
  padding: 11px 14px; border-radius: 10px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1);
}
.pf-core-layers b { display: block; font-size: 14.5px; color: #fff; }
.pf-core-layers span { font-size: 12.5px; color: var(--on-dark-2); }

/* Autorensystem */
.pf-author { position: relative; overflow: hidden; }
.pf-author::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(600px 400px at 85% 30%, rgba(209, 0, 48, .14), transparent 65%); }
.pf-author-grid { position: relative; display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: center; }
.pf-author-copy > p:not(.eyebrow) { color: var(--on-dark-2); margin-bottom: 24px; }
.pf-author h2 { margin-bottom: 20px; }
.pf-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.pf-steps li { display: flex; gap: 16px; align-items: flex-start; font-size: 14.5px; color: var(--on-dark-2); }
.pf-steps li > span {
  flex: none; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
  font-size: 13px; font-weight: 700; color: #ff8aa3; background: rgba(209, 0, 48, .15); border: 1px solid rgba(209, 0, 48, .4);
}
.pf-steps b { display: block; color: #fff; font-size: 16px; margin-bottom: 2px; }
.pf-author-visual { position: relative; padding-bottom: 70px; }
.pf-window-lg { transform: perspective(1600px) rotateY(-5deg); }
.pf-window-lg img { aspect-ratio: 791 / 422; object-position: center; }
.pf-author-photo {
  position: absolute; left: -30px; bottom: 0; width: 42%; margin: 0; border-radius: 12px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .55), 0 0 0 3px rgba(255, 255, 255, .9);
}
.pf-author-photo img { width: 100%; aspect-ratio: 5 / 3; object-fit: cover; }
.pf-author-photo figcaption { position: absolute; left: 8px; bottom: 8px; font-size: 12px; font-weight: 600; color: #fff; background: rgba(20, 21, 24, .8); padding: 4px 10px; border-radius: 999px; }

/* Outputs */
.pf-outputs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pf-out { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; }
.pf-out:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pf-out-img { aspect-ratio: 4 / 3; overflow: hidden; background: #111; }
.pf-out-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.pf-out:hover .pf-out-img img { transform: scale(1.05); }
.pf-out-body { padding: 20px 20px 22px; }
.pf-out-no { font-size: 12.5px; font-weight: 700; letter-spacing: .1em; color: var(--red); }
.pf-out h3 { font-size: 18px; font-weight: 600; margin: 6px 0 8px; }
.pf-out p { font-size: 14.5px; color: var(--ink-2); line-height: 1.5; }

/* Anwendungsstränge */
.pf-stack { display: grid; gap: 14px; }
.pf-pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.pf-pillar {
  position: relative; display: flex; flex-direction: column; gap: 6px; padding: 24px 22px 22px; min-height: 210px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--ink);
  box-shadow: var(--shadow); transition: transform .25s, border-color .25s, box-shadow .25s;
}
.pf-pillar::after {
  content: ""; position: absolute; left: 50%; bottom: -15px; width: 2px; height: 14px; background: linear-gradient(var(--red), rgba(209, 0, 48, .2));
}
.pf-pillar:hover { transform: translateY(-4px); border-color: var(--red); box-shadow: var(--shadow-lg); }
.pf-pillar-tag { align-self: flex-start; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--red); background: var(--red-soft); padding: 3px 9px; border-radius: 999px; margin-bottom: 6px; }
.pf-pillar b { font-size: 18px; }
.pf-pillar > span:not(.pf-pillar-tag) { font-size: 14px; color: var(--ink-2); flex: 1; }
.pf-pillar em { font-style: normal; font-size: 13.5px; font-weight: 500; color: var(--red); }
.pf-foundation {
  position: relative; overflow: hidden; display: flex; align-items: center; gap: 28px; padding: 24px 28px; border-radius: 16px;
  background: linear-gradient(100deg, #1b1c1f, #2b1e22 60%, #1b1c1f); color: var(--on-dark);
  box-shadow: 0 20px 50px rgba(16, 18, 22, .25), 0 0 0 1px rgba(209, 0, 48, .3);
}
.pf-foundation::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .08), transparent); transform: translateX(-100%); animation: pf-sheen 6s ease-in-out infinite;
}
@keyframes pf-sheen { 60%, 100% { transform: translateX(100%); } }
.pf-foundation > img { width: 150px; height: auto; flex: none; }
.pf-foundation-items { display: flex; flex-wrap: wrap; gap: 8px; }
.pf-foundation-items span { font-size: 13px; font-weight: 500; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); }

/* Systemoffen */
.pf-open-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.pf-open-grid h2 { margin-bottom: 18px; }
.pf-open-text { color: var(--ink-2); font-size: 16.5px; }
.pf-open-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pf-open-card { padding: 22px; border-radius: var(--radius); background: var(--bg-soft); border: 1px solid transparent; transition: border-color .2s, background .2s; }
.pf-open-card:hover { border-color: var(--line); background: #fff; }
.pf-open-card .icon { width: 36px; height: 36px; }
.pf-open-card h3 { font-size: 16.5px; font-weight: 600; margin: 12px 0 6px; }
.pf-open-card p { font-size: 14.5px; color: var(--ink-2); line-height: 1.5; }

.cta-brand { width: 170px; height: auto; margin: 0 auto 18px; opacity: .9; }

@media (prefers-reduced-motion: reduce) {
  .pf-float, .pf-chip-data, .pf-core-glow, .pf-arch-flow span, .pf-foundation::before { animation: none; }
}
@media (max-width: 1080px) {
  .pf-arch { grid-template-columns: 1fr; gap: 0; }
  .pf-arch-flow { height: 56px; flex-direction: row; justify-content: center; gap: 30px; }
  .pf-arch-flow span { width: 2px; height: 100%; margin: 0; background: repeating-linear-gradient(180deg, var(--red) 0 8px, transparent 8px 16px); background-size: 2px 32px; animation-name: pf-flow-v; }
  @keyframes pf-flow-v { to { background-position: 0 32px; } }
  .pf-core { max-width: 460px; width: 100%; margin: 0 auto; }
  .pf-outputs, .pf-pillars { grid-template-columns: 1fr 1fr; }
  .pf-pillar::after { display: none; }
}
@media (max-width: 900px) {
  .pf-hero-inner, .pf-author-grid, .pf-open-grid { grid-template-columns: 1fr; gap: 40px; }
  .pf-facts-grid { grid-template-columns: 1fr 1fr; }
  .pf-window, .pf-window-lg { transform: none; }
  .pf-hero-visual { padding-right: 20px; }
  .pf-chip-data { left: 0; }
  .pf-author-photo { left: 0; }
  .pf-foundation { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .pf-facts-grid, .pf-outputs, .pf-pillars, .pf-open-cards { grid-template-columns: 1fr; }
  .pf-chip-browser { display: none; }
}

/* ==========================================================================
   Anwendungsfall Digital Twin Engineering
   ========================================================================== */
.eng-ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.eng-way { padding: 26px; border-radius: 16px; background: var(--bg-soft); display: flex; flex-direction: column; gap: 10px; }
.eng-way h3 { font-size: 20px; font-weight: 600; }
.eng-way > p { color: var(--ink-2); font-size: 15px; }
.eng-way-tag { align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: #fff; padding: 3px 10px; border-radius: 999px; }
.eng-way-ours { background: var(--dark); color: var(--on-dark); box-shadow: 0 20px 50px rgba(16, 18, 22, .25), 0 0 0 1px rgba(209, 0, 48, .4); }
.eng-way-ours > p { color: var(--on-dark-2); }
.eng-way-ours strong { color: #fff; }
.eng-way-ours .eng-way-tag { color: #ff8aa3; background: rgba(209, 0, 48, .2); }
.eng-way-ours .check-list li { color: var(--on-dark); font-weight: 500; }

.eng-photo { position: relative; margin: 0; width: 100%; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-lg); }
.eng-photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.eng-photo figcaption { position: absolute; left: 12px; bottom: 12px; font-size: 12.5px; font-weight: 600; color: #fff; background: rgba(20, 21, 24, .75); padding: 5px 12px; border-radius: 999px; }
.module-no { letter-spacing: .06em; }

.eng-festo { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: center; padding: 28px; border-radius: 18px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.eng-festo-media { display: grid; grid-template-columns: 1.3fr auto 1fr; gap: 12px; align-items: center; }
.eng-festo-media figure { position: relative; margin: 0; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.eng-festo-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.eng-festo-media figcaption { position: absolute; left: 8px; bottom: 8px; font-size: 11.5px; font-weight: 600; color: #fff; background: rgba(20, 21, 24, .75); padding: 3px 9px; border-radius: 999px; }
.eng-festo-arrow { font-size: 28px; color: var(--red); }
.eng-festo-body { display: flex; flex-direction: column; gap: 14px; }
.eng-festo-body > p { color: var(--ink-2); }
.eng-festo-claim { font-size: 22px; line-height: 1.35; color: var(--ink) !important; }
.eng-festo-claim strong { color: var(--red); }

.eng-levels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 28px; }
.eng-level { padding: 24px; border-radius: 16px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); }
.eng-level > span { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #ff8aa3; }
.eng-level h3 { font-size: 19px; font-weight: 600; color: #fff; margin: 8px 0; }
.eng-level p { font-size: 14.5px; color: var(--on-dark-2); line-height: 1.55; }
.eng-arch { margin: 0; padding: 14px; background: #fff; border-radius: 16px; }
.eng-arch img { width: 100%; }

@media (max-width: 900px) {
  .eng-ways, .eng-levels, .eng-festo { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .eng-festo-media { grid-template-columns: 1fr; }
  .eng-festo-arrow { transform: rotate(90deg); justify-self: center; }
}

/* Digital Twin as a Service – natives Schichtenmodell */
.innovation .pf-grid-bg { opacity: .35; }
.dt-stack { position: relative; display: grid; gap: 0; }
.dt-layer {
  position: relative; display: grid; grid-template-columns: 200px 1fr; gap: 0; overflow: hidden;
  border-radius: 18px; background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .1);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.dt-layer::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--layer, var(--red)); }
.dt-client { --layer: #ff3d67; box-shadow: 0 0 0 1px rgba(209, 0, 48, .25), 0 30px 60px rgba(0, 0, 0, .3); }
.dt-server { --layer: #b7bac1; }
.dt-asset  { --layer: #6b6e75; }
.dt-label { display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 24px 24px 24px 28px; border-right: 1px solid rgba(255, 255, 255, .08); background: rgba(0, 0, 0, .15); }
.dt-label span { font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--layer); }
.dt-label b { font-size: 19px; color: #fff; }
.dt-label small { font-size: 13px; color: var(--on-dark-2); }
.dt-body { padding: 22px 24px; display: grid; gap: 14px; }
.dt-row { display: flex; align-items: center; gap: 14px; }
.dt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.dt-node {
  flex: 1; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 12px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); transition: border-color .25s, transform .25s, background .25s;
}
.dt-node:hover { border-color: rgba(255, 61, 103, .7); background: rgba(255, 255, 255, .09); transform: translateY(-2px); }
.dt-node b { display: block; font-size: 15px; color: #fff; }
.dt-node small { display: block; font-size: 12.5px; color: var(--on-dark-2); line-height: 1.4; }
.dt-node-hot { background: linear-gradient(120deg, rgba(209, 0, 48, .35), rgba(209, 0, 48, .12)); border-color: rgba(255, 61, 103, .55); }
.dt-ic { flex: none; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); }
.dt-ic svg, .dt-hosting svg { width: 21px; height: 21px; fill: none; stroke: #ff8aa3; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.dt-node-hot .dt-ic svg { stroke: #fff; }

.dt-deploy { position: relative; flex: 0 0 180px; height: 44px; display: grid; place-items: center; }
.dt-deploy em { position: relative; z-index: 1; font-style: normal; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: #1b1c1f; border: 1px solid rgba(255, 61, 103, .6); padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.dt-beam { position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: repeating-linear-gradient(90deg, #ff3d67 0 10px, transparent 10px 20px); background-size: 40px 2px; animation: pf-flow 1s linear infinite; }
.dt-beam::after { content: ""; position: absolute; right: -2px; top: -4px; border: 5px solid transparent; border-left: 7px solid #ff3d67; }

.dt-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.dt-chips span { font-size: 12.5px; font-weight: 500; color: var(--on-dark); padding: 5px 11px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.dt-chips-proto span { font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: 12.5px; background: rgba(0, 0, 0, .25); }

.dt-hosting { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.dt-hosting > span:not(.dt-or) { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 500; color: #fff; padding: 7px 14px; border-radius: 10px; background: rgba(255, 255, 255, .06); border: 1px dashed rgba(255, 255, 255, .25); }
.dt-or { font-size: 12.5px; color: var(--on-dark-2); }

.dt-link { position: relative; height: 44px; display: flex; justify-content: center; gap: 120px; }
.dt-link i { display: block; width: 2px; height: 100%; background: repeating-linear-gradient(180deg, #ff3d67 0 7px, transparent 7px 14px); background-size: 2px 28px; animation: pf-flow-v2 1s linear infinite; opacity: .8; }
.dt-link i:nth-child(2) { animation-direction: reverse; opacity: .45; }
@keyframes pf-flow-v2 { to { background-position: 0 28px; } }

@media (prefers-reduced-motion: reduce) { .dt-beam, .dt-link i { animation: none; } }
@media (max-width: 900px) {
  .dt-layer { grid-template-columns: 1fr; }
  .dt-label { flex-direction: row; align-items: baseline; gap: 10px; flex-wrap: wrap; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .08); padding: 16px 20px 14px 22px; }
  .dt-row { flex-direction: column; align-items: stretch; }
  .dt-deploy { flex-basis: 50px; }
  .dt-beam { left: 50%; right: auto; top: 0; bottom: 0; width: 2px; height: auto; margin: 0; background: repeating-linear-gradient(180deg, #ff3d67 0 8px, transparent 8px 16px); background-size: 2px 32px; animation-name: pf-flow-v2; }
  .dt-beam::after { display: none; }
  .dt-grid { grid-template-columns: 1fr; }
  .dt-link { gap: 60px; height: 32px; }
}

/* Digital Twin as a Service – leichter verständlich */
.dt-simple { display: grid; grid-template-columns: 1fr 48px 1fr 48px 1fr; align-items: stretch; margin-bottom: 40px; }
.dt-step {
  position: relative; display: flex; gap: 14px; align-items: flex-start; padding: 22px 20px 20px; border-radius: 16px;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12);
}
.dt-step > svg { flex: none; width: 34px; height: 34px; fill: none; stroke: #ff8aa3; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }
.dt-step b { display: block; font-size: 16.5px; color: #fff; margin-bottom: 4px; }
.dt-step small { display: block; font-size: 14px; color: var(--on-dark-2); line-height: 1.45; }
.dt-step-no {
  position: absolute; top: -12px; left: 18px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  font-size: 13px; font-weight: 700; color: #fff; background: var(--red); box-shadow: 0 4px 14px rgba(209, 0, 48, .5);
}
.dt-step-hot { background: linear-gradient(120deg, rgba(209, 0, 48, .3), rgba(209, 0, 48, .08)); border-color: rgba(255, 61, 103, .5); }
.dt-step-hot > svg { stroke: #fff; }
.dt-step-arrow { position: relative; align-self: center; height: 2px; margin: 0 8px; background: repeating-linear-gradient(90deg, #ff3d67 0 8px, transparent 8px 16px); background-size: 32px 2px; animation: pf-flow 1s linear infinite; }
.dt-step-arrow::after { content: ""; position: absolute; right: -4px; top: -5px; border: 6px solid transparent; border-left: 8px solid #ff3d67; }

.dt-caption { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; font-size: 13.5px; color: var(--on-dark-2); }
.dt-caption span { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #ff8aa3; }
.dt-caption::after { content: ""; flex: 1; height: 1px; background: rgba(255, 255, 255, .1); }

.dt-layer { grid-template-columns: 200px 1fr 300px; }
.dt-explain { display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 22px 24px; border-left: 1px solid rgba(255, 255, 255, .08); background: rgba(255, 255, 255, .025); }
.dt-explain-tag { align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #1b1c1f; background: #ffd27a; padding: 2px 8px; border-radius: 999px; }
.dt-explain p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--on-dark); }
.dt-explain .dt-example { font-size: 13px; color: var(--on-dark-2); padding-left: 10px; border-left: 2px solid rgba(255, 210, 122, .5); }
.dt-explain .dt-example b { color: #ffd27a; font-weight: 600; }

@media (prefers-reduced-motion: reduce) { .dt-step-arrow { animation: none; } }
@media (max-width: 1180px) {
  .dt-layer { grid-template-columns: 180px 1fr; }
  .dt-explain { grid-column: 1 / -1; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .08); }
}
@media (max-width: 900px) {
  .dt-simple { grid-template-columns: 1fr; gap: 22px; }
  .dt-step-arrow { display: none; }
  .dt-layer { grid-template-columns: 1fr; }
}

.dt-body { align-content: center; }
.dt-chips { align-items: flex-start; }
.dt-deploy { flex-basis: 150px; }
.dt-row .dt-node { min-width: 0; }
.dt-label span {
  display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; margin-bottom: 6px;
  font-size: 13px; letter-spacing: 0; color: #fff; background: var(--layer);
}
.dt-server .dt-label span, .dt-asset .dt-label span { color: #1b1c1f; }

/* ==========================================================================
   Anwendungsfall KI-Marketingvisuals
   ========================================================================== */
.mk-hero-visual { position: relative; }
.mk-inset {
  position: absolute; left: 14px; bottom: 14px; width: 28%; min-width: 110px; padding: 6px 6px 0; border-radius: 10px;
  background: #fff; box-shadow: 0 12px 30px rgba(0, 0, 0, .35);
}
.mk-inset img { width: 100%; aspect-ratio: 5 / 4; object-fit: contain; }
.mk-inset span { display: block; text-align: center; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 3px 0 5px; }
.mk-badge {
  position: absolute; right: 14px; top: 14px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: #fff; background: var(--red); padding: 5px 11px; border-radius: 999px; box-shadow: 0 6px 16px rgba(209, 0, 48, .45);
}

.mk-compare { margin: 0; display: grid; grid-template-columns: .8fr auto 1.5fr; align-items: center; gap: 14px; }
.mk-compare-before, .mk-compare-after { position: relative; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-lg); background: #fff; }
.mk-compare-before img { width: 100%; aspect-ratio: 4 / 5; object-fit: contain; padding: 12px; }
.mk-compare-after img { width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; }
.mk-compare span { position: absolute; left: 10px; top: 10px; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; color: var(--ink-2); background: var(--bg-soft); }
.mk-compare-after span { color: #fff; background: var(--red); }
.mk-compare-arrow { font-size: 30px; color: var(--red); }

.mk-flow { display: grid; grid-template-columns: 1fr 60px 1fr 60px 1fr; align-items: stretch; }
.mk-flow-step { position: relative; padding: 30px 24px 24px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.mk-flow-step h3 { font-size: 19px; font-weight: 600; margin: 14px 0 6px; }
.mk-flow-step p { font-size: 14.5px; color: var(--ink-2); }
.mk-flow-no { position: absolute; top: -13px; left: 22px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; color: #fff; background: var(--red); box-shadow: 0 4px 14px rgba(209, 0, 48, .4); }
.mk-flow-hot { background: var(--dark); color: var(--on-dark); border-color: transparent; }
.mk-flow-hot p { color: var(--on-dark-2); }
.mk-flow-arrow, .mk-cad-arrow { position: relative; align-self: center; height: 2px; margin: 0 10px; background: repeating-linear-gradient(90deg, var(--red) 0 8px, transparent 8px 16px); background-size: 32px 2px; animation: pf-flow 1s linear infinite; }
.mk-flow-arrow::after, .mk-cad-arrow::after { content: ""; position: absolute; right: -4px; top: -5px; border: 6px solid transparent; border-left: 8px solid var(--red); }

.mk-gallery { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; gap: 18px; }
.mk-item { position: relative; margin: 0; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-lg); min-height: 240px; }
.mk-item-lg { grid-row: span 2; }
.mk-item > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.mk-item:hover > img { transform: scale(1.03); }
.mk-item .mk-inset { width: 26%; }

.mk-cad { display: grid; grid-template-columns: 1fr 90px 1.6fr; align-items: center; }
.mk-cad figure { position: relative; margin: 0; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.mk-cad img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.mk-cad figcaption { position: absolute; left: 8px; bottom: 8px; font-size: 12px; font-weight: 600; color: #fff; background: rgba(20, 21, 24, .75); padding: 4px 10px; border-radius: 999px; }
.mk-cad figcaption b { color: #ff8aa3; margin-right: 4px; }
.mk-cad-arrow span { position: absolute; left: 50%; top: -30px; transform: translateX(-50%); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--red); white-space: nowrap; }
.mk-cad-outputs { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.mk-cad-outputs img { aspect-ratio: 3 / 4; }

.mk-sector .icon { margin-bottom: 12px; }

@media (prefers-reduced-motion: reduce) { .mk-flow-arrow, .mk-cad-arrow { animation: none; } }
@media (max-width: 900px) {
  .mk-flow, .mk-cad { grid-template-columns: 1fr; gap: 26px; }
  .mk-flow-arrow, .mk-cad-arrow { display: none; }
  .mk-gallery { grid-template-columns: 1fr; grid-template-rows: none; }
  .mk-item-lg { grid-row: auto; }
  .mk-item { min-height: 0; aspect-ratio: 16 / 9; }
}
@media (max-width: 640px) {
  .mk-compare { grid-template-columns: 1fr; }
  .mk-compare-arrow { transform: rotate(90deg); justify-self: center; }
  .mk-cad-outputs { grid-template-columns: 1fr; }
  .mk-cad-outputs img { aspect-ratio: 16 / 9; }
}

/* CAD -> Visuals: generierte Bilder übereinander, vollständig sichtbar */
.mk-cad { grid-template-columns: 1.05fr 120px 1fr; }
.mk-cad-outputs { grid-template-columns: 1fr; gap: 14px; }
.mk-cad-outputs img { aspect-ratio: 1400 / 732; object-fit: cover; }
.mk-cad-arrow span { top: -34px; font-size: 12px; }
@media (max-width: 900px) { .mk-cad { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .mk-cad-outputs img { aspect-ratio: 1400 / 732; } }

/* ==========================================================================
   Presse & Media Kit (/media)
   ========================================================================== */
.mk-bg-light { background: #fff; }
.mk-bg-dark  { background: var(--dark); }
.mk-bg-red   { background: #d40032; }
.mk-hero-visual { display: grid; gap: 14px; }
.mk-hero-row { display: grid; grid-template-columns: 1.6fr 1fr; gap: 14px; }
.mk-hero-card { display: grid; place-items: center; border-radius: 16px; padding: 34px; box-shadow: 0 20px 50px rgba(0, 0, 0, .35), 0 0 0 1px rgba(255, 255, 255, .08); }
.mk-hero-card img { width: 100%; max-width: 360px; height: auto; }
.mk-hero-signet img { max-width: 96px; }

.mk-about { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: start; }
.mk-text { background: var(--bg-soft); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 14px; }
.mk-text-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.mk-text p { color: var(--ink-2); font-size: 15.5px; line-height: 1.6; }
.mk-copy, .mk-copy-inline {
  font: inherit; font-size: 13px; font-weight: 500; cursor: pointer; border-radius: 999px;
  color: var(--red); background: #fff; border: 1px solid var(--line); padding: 4px 12px; transition: border-color .2s, color .2s;
}
.mk-copy:hover, .mk-copy-inline:hover { border-color: var(--red); }
.mk-copy.is-copied, .mk-copy-inline.is-copied { color: #1a7f37; border-color: #1a7f37; }
.mk-copy-inline { padding: 1px 8px; font-family: ui-monospace, Consolas, monospace; }
.mk-facts { display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; margin: 0; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.mk-facts dt { font-size: 13px; font-weight: 600; color: var(--muted); }
.mk-facts dd { margin: 0; font-size: 14.5px; color: var(--ink); }

.mk-logos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mk-logos-2 { grid-template-columns: repeat(2, minmax(0, 380px)); }
.mk-logo { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.mk-logo-preview { display: grid; place-items: center; aspect-ratio: 16 / 10; padding: 22px; border-bottom: 1px solid var(--line); }
.mk-logo-preview img { max-width: 72%; max-height: 64px; height: auto; }
.mk-logo-preview img[src*="signet"] { max-height: 130px; }
.mk-logo figcaption { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 16px; flex: 1; }
.mk-logo figcaption b { font-size: 15px; }
.mk-logo figcaption span { font-size: 13px; color: var(--muted); line-height: 1.4; }
.mk-dl { display: flex; gap: 8px; margin-top: auto; padding-top: 8px; }
.mk-dl a { font-size: 12.5px; font-weight: 600; color: var(--red); text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: 3px 11px; }
.mk-dl a::before { content: "↓ "; }
.mk-dl a:hover { border-color: var(--red); }

.mk-rules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.mk-rule { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.mk-rule h3 { font-size: 16px; font-weight: 600; margin-bottom: 12px; }
.mk-rule p { font-size: 13.5px; color: var(--ink-2); line-height: 1.5; margin-top: 12px; }
.mk-clearspace { position: relative; display: grid; place-items: center; height: 110px; background: var(--bg-soft); border-radius: 8px; }
.mk-clearspace img { width: 55%; outline: 14px solid rgba(212, 0, 50, .12); outline-offset: 0; box-shadow: 0 0 0 15px rgba(212, 0, 50, .5); }
.mk-minsize { display: flex; align-items: flex-end; justify-content: center; gap: 28px; height: 110px; background: var(--bg-soft); border-radius: 8px; padding-bottom: 14px; }
.mk-minsize span { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.mk-minsize small { font-size: 11.5px; color: var(--muted); }
.mk-donts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mk-donts li { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 12px; color: var(--muted); }
.mk-donts span { position: relative; display: grid; place-items: center; width: 100%; height: 44px; border-radius: 6px; background: var(--bg-soft); overflow: hidden; }
.mk-donts span::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top right, transparent calc(50% - 1px), var(--red) calc(50% - 1px), var(--red) calc(50% + 1px), transparent calc(50% + 1px)); }
.mk-donts img { width: 70%; }
.d-stretch img { transform: scaleX(1.35) scaleY(.7); }
.d-rotate img  { transform: rotate(-14deg); }
.d-recolor img { filter: hue-rotate(160deg) saturate(2); }
.d-busy { background: repeating-linear-gradient(45deg, #9aa3ad 0 6px, #cfd5dc 6px 12px) !important; }

.mk-colors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mk-color { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; padding: 0 16px 16px; }
.mk-swatch { display: block; height: 96px; margin: 0 -16px 14px; }
.mk-sw-red { background: #d40032; } .mk-sw-gray { background: #737373; } .mk-sw-dark { background: #202226; } .mk-sw-soft { background: #eef1f5; border-bottom: 1px solid var(--line); }
.mk-color b { display: block; font-size: 15px; margin-bottom: 8px; }
.mk-color dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; margin: 0 0 8px; font-size: 13px; }
.mk-color dt { color: var(--muted); font-weight: 600; }
.mk-color dd { margin: 0; font-family: ui-monospace, Consolas, monospace; color: var(--ink); }
.mk-color small { font-size: 12.5px; color: var(--muted); }

.mk-brand-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 16px; margin-top: 16px; }
.mk-type, .mk-naming { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.mk-type h3, .mk-naming h3 { font-size: 16px; font-weight: 600; margin-bottom: 10px; }
.mk-type-sample { font-size: 46px; font-weight: 600; letter-spacing: -.01em; color: var(--ink); margin-bottom: 6px; }
.mk-type p:last-child { font-size: 14px; color: var(--ink-2); }
.mk-naming ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.mk-naming li { position: relative; padding-left: 26px; font-size: 14.5px; color: var(--ink-2); }
.mk-naming li::before { position: absolute; left: 0; top: 1px; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 800; color: #fff; }
.mk-naming li.ok::before { content: "✓"; background: #1a7f37; }
.mk-naming li.no::before { content: "✕"; background: var(--red); }
.mk-naming li.no { text-decoration: line-through; text-decoration-color: rgba(212, 0, 50, .6); }

.mk-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mk-photo { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #fff; }
.mk-photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.mk-photo figcaption { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 14px; font-size: 13.5px; }
.mk-photo figcaption a { flex: none; font-size: 12.5px; font-weight: 600; color: var(--red); text-decoration: none; }
.mk-mail { color: #fff; font-weight: 600; }

@media (max-width: 1080px) {
  .mk-logos { grid-template-columns: repeat(2, 1fr); }
  .mk-colors { grid-template-columns: repeat(2, 1fr); }
  .mk-rules, .mk-photos { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .mk-about, .mk-brand-grid { grid-template-columns: 1fr; }
  .mk-logos, .mk-logos-2, .mk-rules, .mk-photos { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .mk-logos, .mk-logos-2, .mk-rules, .mk-photos, .mk-colors { grid-template-columns: 1fr; }
}

/* Pipeline Fahrzeugvideo */
.vf {
  display: grid; grid-template-columns: 1fr 56px 1.15fr 56px 1fr; align-items: center;
  margin: -8px 0 48px; padding: 28px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
}
.vf-label { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.vf-inputs { display: grid; gap: 14px; }
.vf-card { padding: 14px; border-radius: 14px; background: var(--bg-soft); }
.vf-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.vf-photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; transition: transform .3s; }
.vf-photos img:hover { transform: scale(1.04); }
.vf-features { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.vf-features li { font-size: 12px; padding: 4px 9px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink-2); }
.vf-features li::before { content: "✓ "; color: #2e9e5b; font-weight: 700; }
.vf-features li:last-child::before { content: ""; }

.vf-arrow { position: relative; height: 2px; margin: 0 8px; background: repeating-linear-gradient(90deg, var(--red) 0 8px, transparent 8px 16px); background-size: 32px 2px; animation: pf-flow 1s linear infinite; }
.vf-arrow::after { content: ""; position: absolute; right: -4px; top: -5px; border: 6px solid transparent; border-left: 8px solid var(--red); }

.vf-engine {
  position: relative; padding: 22px 20px 18px; border-radius: 16px; color: var(--on-dark);
  background: radial-gradient(circle at 50% 0%, #3a2027, #1b1c1f 70%);
  box-shadow: 0 24px 50px rgba(16, 18, 22, .3), 0 0 0 1px rgba(209, 0, 48, .35);
}
.vf-engine-logo { width: 140px; margin: 0 auto; padding: 6px 12px; background: #fff; border-radius: 8px; box-sizing: content-box; }
.vf-engine-sub { text-align: center; font-size: 12.5px; color: var(--on-dark-2); margin: 10px 0 14px; }
.vf-steps { list-style: none; margin: 0; padding: 0; counter-reset: vf; display: grid; gap: 7px; }
.vf-steps li {
  counter-increment: vf; position: relative; padding: 8px 10px 8px 40px; border-radius: 9px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1);
}
.vf-steps li::before {
  content: counter(vf); position: absolute; left: 10px; top: 50%; transform: translateY(-50%);
  width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  font-size: 11.5px; font-weight: 700; color: #fff; background: var(--red);
}
.vf-steps b { display: block; font-size: 13.5px; color: #fff; }
.vf-steps span { display: block; font-size: 12px; color: var(--on-dark-2); line-height: 1.35; }

.vf-video { position: relative; border-radius: 12px; overflow: hidden; background: #000; aspect-ratio: 16 / 9; }
.vf-kenburns { width: 100%; height: 100%; object-fit: cover; animation: vf-kb 12s ease-in-out infinite alternate; }
@keyframes vf-kb { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.12) translate(-3%, -2%); } }
.vf-sub {
  position: absolute; left: 8%; right: 8%; bottom: 10px; margin: 0; text-align: center; font-size: 12px; line-height: 1.35;
  color: #fff; background: rgba(0, 0, 0, .6); padding: 5px 8px; border-radius: 6px;
}
.vf-output .video-play { width: 44px; height: 44px; }
.vf-output .video-bar { margin-top: 10px; }

@media (prefers-reduced-motion: reduce) { .vf-arrow, .vf-kenburns { animation: none; } }
@media (max-width: 1080px) {
  .vf { grid-template-columns: 1fr; gap: 20px; }
  .vf-arrow { width: 2px; height: 34px; margin: 0 auto; background: repeating-linear-gradient(180deg, var(--red) 0 8px, transparent 8px 16px); background-size: 2px 32px; animation-name: pf-flow-v2; }
  .vf-arrow::after { right: -5px; top: auto; bottom: -8px; border: 6px solid transparent; border-top: 8px solid var(--red); }
  .vf-inputs { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .vf { padding: 18px; }
  .vf-inputs { grid-template-columns: 1fr; }
}

/* Referenzen: Kundenstimme innerhalb einer Projektkachel */
.case-quote { position: relative; margin: 4px 0 0; padding: 18px 20px 16px 22px; background: var(--bg-soft); border-left: 3px solid var(--red); border-radius: 0 var(--radius) var(--radius) 0; }
.case-quote::before { content: "“"; position: absolute; right: 16px; top: -8px; font-size: 72px; line-height: 1; font-weight: 700; color: var(--red); opacity: .18; }
.case-quote blockquote { margin: 0 0 14px; font-size: 15.5px; line-height: 1.55; font-style: italic; color: var(--ink); }
.case-quote figcaption { display: flex; align-items: center; gap: 12px; }
.case-quote img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--line); }
.case-quote figcaption span { font-size: 13px; color: var(--muted); line-height: 1.35; }
.case-quote figcaption b { display: block; font-size: 14.5px; color: var(--ink); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-hero { padding: 64px 0 72px; }
.faq-hero-copy { position: relative; max-width: 760px; }
.faq-hero .lead { max-width: 60ch; margin-bottom: 0; }
.faq-section { overflow: visible; }
.faq-layout { display: grid; grid-template-columns: 220px 1fr; gap: 56px; align-items: start; }
.faq-nav { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; gap: 2px; }
.faq-nav-title { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.faq-nav a { padding: 8px 12px; border-radius: 8px; text-decoration: none; color: var(--ink-2); font-size: 15px; border-left: 2px solid transparent; transition: background .2s, color .2s, border-color .2s; }
.faq-nav a:hover { background: var(--bg-soft); color: var(--ink); border-left-color: var(--red); }
.faq-groups { display: grid; gap: 48px; }
.faq-group { scroll-margin-top: calc(var(--header-h) + 24px); }
.faq-group h2 { font-size: 24px; font-weight: 600; margin-bottom: 16px; }
.faq-item { border: 1px solid var(--line); border-radius: 12px; background: #fff; margin-bottom: 10px; transition: border-color .2s, box-shadow .2s; }
.faq-item[open] { border-color: #d6d9de; box-shadow: var(--shadow); }
.faq-item summary {
  position: relative; list-style: none; cursor: pointer; padding: 18px 56px 18px 20px; font-size: 16.5px; font-weight: 600; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%;
  background: var(--red-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d10030' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 12px no-repeat;
  transition: transform .25s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--red); }
.faq-answer { padding: 0 20px 18px; }
.faq-answer p { margin: 0; color: var(--ink-2); line-height: 1.65; }
.faq-answer a { color: var(--red); }
@media (max-width: 900px) {
  .faq-layout { grid-template-columns: 1fr; gap: 28px; }
  .faq-nav { position: static; flex-direction: row; flex-wrap: wrap; gap: 6px; }
  .faq-nav-title { width: 100%; }
  .faq-nav a { border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 14px; }
}

/* ==========================================================================
   KI-Assistent (Chat-Widget unten rechts)
   ========================================================================== */
.gwa { position: fixed; right: 20px; bottom: 20px; z-index: 90; font-size: 15px; }

.gwa-launcher {
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 20px 0 14px;
  border: 0; border-radius: 999px; background: var(--dark); color: #fff; font: inherit; font-size: 15px; font-weight: 600;
  box-shadow: var(--shadow-lg); cursor: pointer; transition: transform .2s, background .2s;
}
.gwa-launcher:hover { background: var(--dark-3); transform: translateY(-2px); }
.gwa-launcher svg { width: 26px; height: 26px; flex: none; fill: var(--red); }
.gwa-launcher .gwa-spark { fill: #fff; }
.gwa.is-open .gwa-launcher { display: none; }

.gwa-panel {
  display: flex; flex-direction: column; width: 400px; height: min(620px, calc(100vh - 40px)); height: min(620px, calc(100dvh - 40px));
  background: var(--bg); border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden; color: var(--ink);
  animation: dialog-in .25s ease;
}
.gwa-panel[hidden] { display: none; }

.gwa-head { display: flex; align-items: center; gap: 12px; padding: 14px 12px 14px 16px; background: var(--dark); color: var(--on-dark); }
.gwa-avatar { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--red); flex: none; }
.gwa-avatar img { width: 22px; height: 22px; }
.gwa-head-text { flex: 1; min-width: 0; }
.gwa-head h2 { font-size: 16px; font-weight: 600; color: #fff; margin: 0; }
.gwa-head small { display: block; font-size: 12.5px; color: var(--on-dark-2); }
.gwa-icon-btn { display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: var(--on-dark); cursor: pointer; }
.gwa-icon-btn:hover { background: var(--dark-3); }
.gwa-icon-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.gwa-log { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 18px 16px 8px; display: flex; flex-direction: column; gap: 10px; background: var(--bg-soft); }
.gwa-msg { max-width: 88%; padding: 10px 14px; border-radius: 14px; line-height: 1.55; overflow-wrap: anywhere; }
.gwa-msg p { margin: 0; }
.gwa-msg p + p, .gwa-msg p + ul, .gwa-msg p + ol, .gwa-msg ul + p, .gwa-msg ol + p { margin-top: 8px; }
.gwa-msg ul, .gwa-msg ol { margin: 0; padding-left: 20px; }
.gwa-msg li + li { margin-top: 3px; }
.gwa-msg a { color: var(--red); font-weight: 500; }
.gwa-assistant { align-self: flex-start; background: #fff; border-bottom-left-radius: 4px; box-shadow: 0 1px 2px rgba(16, 18, 22, .06); }
.gwa-user { align-self: flex-end; background: var(--dark); color: #fff; border-bottom-right-radius: 4px; white-space: pre-wrap; }
.gwa-error { align-self: flex-start; background: var(--red-soft); color: var(--red-dark); font-size: 14px; }
.gwa-msg a.gwa-cta {
  display: inline-block; margin-top: 4px; padding: 6px 14px; border-radius: 999px; background: var(--red); color: #fff;
  font-weight: 600; text-decoration: none;
}
.gwa-msg a.gwa-cta:hover { background: var(--red-dark); }

.gwa-msg.is-typing { display: flex; gap: 5px; padding: 15px 16px; }
.gwa-msg.is-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: gwa-dot 1s infinite; }
.gwa-msg.is-typing i:nth-child(2) { animation-delay: .15s; }
.gwa-msg.is-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes gwa-dot { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }

.gwa-suggestions { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 4px; }
.gwa-chip {
  padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink);
  font: inherit; font-size: 14px; text-align: left; cursor: pointer; transition: border-color .2s, color .2s;
}
.gwa-chip:hover { border-color: var(--red); color: var(--red); }

.gwa-form { display: flex; align-items: flex-end; gap: 8px; padding: 12px 12px 6px; border-top: 1px solid var(--line); background: #fff; }
.gwa-form textarea {
  flex: 1; resize: none; max-height: 140px; padding: 10px 12px; border: 1px solid #d3d6db; border-radius: 12px;
  font: inherit; font-size: 15px; line-height: 1.4; color: var(--ink); background: #fff;
}
.gwa-form textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px var(--red-soft); }
.gwa-send { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border: 0; border-radius: 50%; background: var(--red); color: #fff; cursor: pointer; }
.gwa-send:hover { background: var(--red-dark); }
.gwa-send[disabled] { opacity: .5; cursor: progress; }
.gwa-send svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.gwa-note { margin: 0; padding: 2px 14px 10px; background: #fff; font-size: 11.5px; color: var(--muted); line-height: 1.4; }
.gwa-note a { color: var(--muted); }
.gwa-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (max-width: 600px) {
  .hv-slide { padding: 44px 0 96px; }
  .hv-chat { width: 220px; }
  .hv-badge { max-width: 240px; }
  .hv-tabs { padding-left: 0; gap: 4px 14px; }
}
@media (max-width: 600px) {
  .gwa { right: 16px; bottom: 16px; }
  .gwa-launcher { width: 56px; height: 56px; padding: 0; justify-content: center; }
  .gwa-launcher-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .gwa.is-open { inset: 0; }
  .gwa-panel { width: 100%; height: 100%; border-radius: 0; }
  .gwa-form textarea { font-size: 16px; }   /* kein Auto-Zoom unter iOS */
}
@media (prefers-reduced-motion: reduce) {
  .gwa-panel { animation: none; }
  .gwa-msg.is-typing i { animation: none; }
}
@media print { .gwa { display: none; } }

/* Lösungen-Dropdown: Gruppenüberschriften + Kennzeichnung des VisuPal-Produktumfangs */
.nav-dropdown { width: 360px; }
.nav-dropdown-label { margin: 8px 12px 2px; font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.nav-dropdown-label ~ .nav-dropdown-label { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.nav-badge { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 999px; background: var(--red-soft); color: var(--red); font-size: 11px; font-weight: 600; vertical-align: 1px; }
@media (max-width: 900px) { .nav-dropdown { width: auto; } }

/* „So funktioniert's“: Technologie-Baustein in der Mitte (VisuPal + KI-Agenten + Datenanbindung) */
.df-hub-title { color: #fff; font-size: 15px; font-weight: 600; }
.df-hub-parts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; width: 100%; }
.df-hub-parts li {
  padding: 9px 12px; border-radius: 10px; background: var(--dark-2); border: 1px solid rgba(255, 255, 255, .08);
  color: var(--on-dark); font-size: 13.5px; font-weight: 500;
}
.df-hub-parts li:first-child { border-color: rgba(209, 0, 48, .5); }
.df-hub-parts img { display: block; width: 104px; height: auto; margin: 2px auto 4px; }
.df-hub-parts small { display: block; color: var(--on-dark-2); font-size: 12px; font-weight: 400; }
@media (max-width: 1080px) { .df-hub-parts { flex-direction: row; flex-wrap: wrap; justify-content: center; width: auto; } }

/* Anwendungsfall-Karten: Branche als Kicker über dem Titel; Technologie-Platte als Textmarke */
.solution-kicker { margin: 0 0 4px; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.stage-plate-title { font-size: 16px; font-weight: 700; color: var(--ink); white-space: nowrap; }

/* Plattform-Seite: VisuPal-Produktsäule hervorheben, Technologie-Fundament als Textmarke */
.pf-pillar-product { border-color: rgba(209, 0, 48, .45); box-shadow: 0 0 0 1px rgba(209, 0, 48, .15), var(--shadow); }
.pf-pillar-product .pf-pillar-tag { background: var(--red); color: #fff; }
.pf-foundation-title { position: relative; flex: none; font-size: 17px; font-weight: 700; color: #fff; white-space: nowrap; }

/* ==========================================================================
   Motion Graphics (Referenzen: PLC-as-a-Service, FLASH)
   Ein Zyklus = 5 s; SMIL (animateMotion) bewegt die Datenpunkte, CSS die Zustände.
   Beide starten beim Laden und laufen mit gleicher Dauer, daher synchron genug.
   ========================================================================== */
.case-media-motion {
  display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 32px 28px 22px;
  background: radial-gradient(420px 260px at 70% 20%, rgba(209, 0, 48, .14), transparent 70%), linear-gradient(160deg, #1d1f23, #141518);
}
.mg { margin: 0; }
.mg-svg { display: block; width: 100%; height: auto; font-family: var(--font); overflow: visible; }

.mg-card { fill: #26292e; stroke: rgba(255, 255, 255, .1); }
.mg-label { fill: #fff; font-size: 15px; font-weight: 600; }
.mg-sub { fill: var(--on-dark-2); font-size: 12.5px; }
.mg-zone { fill: #ff8aa3; font-size: 11px; font-weight: 700; letter-spacing: .12em; }
.mg-step { fill: #fff; font-size: 13px; font-weight: 600; }
.mg-step-no { fill: var(--red); font-weight: 800; }
.mg-divider { stroke: rgba(255, 255, 255, .18); stroke-dasharray: 4 6; }
.mg-flow { fill: none; stroke: rgba(209, 0, 48, .55); stroke-width: 2; stroke-linecap: round; }
.mg-flow-soft { stroke: rgba(255, 255, 255, .18); }
.mg-flow-arc { stroke-dasharray: 3 6; }
.mg-dot { fill: var(--red); filter: drop-shadow(0 0 6px rgba(209, 0, 48, .9)); }
.mg-dot-soft { fill: #fff; filter: none; opacity: .7; }
.mg-icon { fill: none; stroke: #e6e8eb; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mg-icon-accent { stroke: var(--red); }
.mg-chip-text { fill: #fff; font-size: 11px; font-weight: 700; letter-spacing: .04em; }
.mg-code { fill: rgba(255, 255, 255, .28); }
.mg-code-kw { fill: #ff8aa3; }
.mg-field { fill: #1b1d21; stroke: rgba(255, 255, 255, .14); }
.mg-result { fill: #1f2226; stroke: rgba(255, 255, 255, .08); }
.mg-tiles rect { fill: #33373d; }
.mg-app { fill: var(--red); }
.mg-bolt { fill: #fff; }
.mg-slot { fill: #33373d; }
.mg-slot-target { fill: none; stroke: rgba(255, 255, 255, .3); stroke-dasharray: 3 3; }
.mg-slot-text { fill: #fff; font-size: 10.5px; font-weight: 600; }
.mg-slot-fill { fill: var(--red); opacity: 0; }
.mg-ota-track { fill: rgba(255, 255, 255, .1); }
.mg-ota { fill: #2ecc71; transform-box: fill-box; transform-origin: left center; transform: scaleX(0); }
.mg-led { fill: #4a4e55; }
.mg-ring { fill: none; stroke: var(--red); stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.mg-benefits rect { fill: rgba(255, 255, 255, .05); stroke: rgba(255, 255, 255, .12); }
.mg-benefits text { fill: var(--on-dark); font-size: 12.5px; font-weight: 500; }

.mg-detail { align-self: flex-start; font-size: 13px; font-weight: 500; color: #ff8aa3; text-decoration: none; }
.mg-detail:hover { color: #fff; }

/* PLC: Code tippt sich (nach Ankunft Punkt 1), vPLC pulsiert (Punkt 2), LED geht an (Punkt 3) */
.mg-type { transform-box: fill-box; transform-origin: left center; animation: mg-type 5s linear infinite; }
.mg-t2 { animation-delay: .2s; } .mg-t3 { animation-delay: .4s; } .mg-t4 { animation-delay: .6s; } .mg-t5 { animation-delay: .8s; }
@keyframes mg-type { 0%, 16% { transform: scaleX(0); } 22%, 94% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
.mg-ring { animation: mg-ring 5s ease-out infinite; }
@keyframes mg-ring { 0%, 59% { opacity: 0; transform: scale(.8); } 62% { opacity: .9; } 80%, 100% { opacity: 0; transform: scale(1.35); } }
.mg-led { animation: mg-led 5s linear infinite; }
@keyframes mg-led { 0%, 84% { fill: #4a4e55; } 86%, 98% { fill: #2ecc71; } 100% { fill: #4a4e55; } }

/* FLASH: Treffer leuchtet, App-Kachel im Marktplatz verschwindet beim Abflug, Slot füllt sich, OTA-Balken */
.mg-result-hit { animation: mg-hit 5s linear infinite; }
@keyframes mg-hit { 0%, 3% { stroke: rgba(255, 255, 255, .08); } 6%, 30% { stroke: var(--red); } 36%, 100% { stroke: rgba(255, 255, 255, .08); } }
.mg-app-home { animation: mg-home 5s linear infinite; }
@keyframes mg-home { 0%, 35% { opacity: 1; } 36%, 90% { opacity: .15; } 96%, 100% { opacity: 1; } }
.mg-slot-fill { animation: mg-fill 5s linear infinite; }
@keyframes mg-fill { 0%, 62% { opacity: 0; } 64%, 94% { opacity: 1; } 100% { opacity: 0; } }
.mg-ota { animation: mg-ota 5s ease-in-out infinite; }
@keyframes mg-ota { 0%, 36% { transform: scaleX(0); } 62%, 94% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
.mg-led-flash { animation-name: mg-led-flash; }
@keyframes mg-led-flash { 0%, 62% { fill: #4a4e55; } 64%, 94% { fill: #2ecc71; } 100% { fill: #4a4e55; } }

@media (prefers-reduced-motion: reduce) {
  .mg-move { display: none; }
  .mg-type, .mg-ring, .mg-led, .mg-result-hit, .mg-app-home, .mg-slot-fill, .mg-ota { animation: none; }
  .mg-type, .mg-ota { transform: none; }
  .mg-slot-fill { opacity: 1; }
  .mg-led { fill: #2ecc71; }
}
@media (max-width: 600px) { .case-media-motion { padding: 24px 12px 18px; } }

/* SNAP: Video-Zeile (unten) bekommt ihre eigene Höhe im Video-Seitenverhältnis (16:9, 1920x1080),
   statt einer festen Anteilshöhe – so wird das Bild weder beschnitten noch mit schwarzen
   Balken oben/unten aufgefüllt. Die obere Zeile (Motion Graphic) füllt den Rest. */
.case-media-duo:has(video) { grid-template-rows: 1fr auto; }
.case-media-duo:has(video) figure.fig-dark { aspect-ratio: 16 / 9; }

/* SNAP: Motion Graphic in der unteren Zelle unter dem Video (case-media-duo) */
.case-media-duo figure.mg-cell {
  display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 18px 20px 14px;
  background: radial-gradient(360px 200px at 75% 10%, rgba(209, 0, 48, .14), transparent 70%), linear-gradient(160deg, #1d1f23, #141518);
}
.mg-cell .mg-svg { flex: 1; min-height: 0; max-height: 100%; }
.mg-detail-cell { font-size: 12.5px; }
.mg-prompt { fill: #fff; font-size: 13px; font-style: italic; }
.mg-prompt-text { clip-path: url(#snap-clip); }
.mg-kbadge { fill: var(--red); }
.mg-kbadge-text { fill: #fff; font-size: 12px; font-weight: 700; letter-spacing: .06em; }
.mg-skill { fill: #33373d; stroke: rgba(255, 255, 255, .08); animation: 6s linear infinite; }
.mg-skill-text { fill: #fff; font-size: 12.5px; font-weight: 500; pointer-events: none; }
.mg-s1 { animation-name: mg-s1; } .mg-s2 { animation-name: mg-s2; } .mg-s3 { animation-name: mg-s3; } .mg-s4 { animation-name: mg-s4; }
@keyframes mg-s1 { 0%, 27% { fill: #33373d; } 28%, 39% { fill: var(--red); } 40%, 100% { fill: #33373d; } }
@keyframes mg-s2 { 0%, 39% { fill: #33373d; } 40%, 54% { fill: var(--red); } 55%, 100% { fill: #33373d; } }
@keyframes mg-s3 { 0%, 54% { fill: #33373d; } 55%, 69% { fill: var(--red); } 70%, 100% { fill: #33373d; } }
@keyframes mg-s4 { 0%, 69% { fill: #33373d; } 70%, 85% { fill: var(--red); } 86%, 100% { fill: #33373d; } }
.mg-carriage { fill: #e6e8eb; }
.mg-arm { stroke: #e6e8eb; stroke-width: 3; stroke-linecap: round; }
.mg-grip { fill: none; stroke: #e6e8eb; stroke-width: 2.5; stroke-linecap: round; animation: mg-grip 6s linear infinite; }
@keyframes mg-grip { 0%, 54% { stroke: #e6e8eb; } 55%, 85% { stroke: var(--red); } 86%, 100% { stroke: #e6e8eb; } }
.mg-static { display: none; }
@media (prefers-reduced-motion: reduce) {
  .mg-static { display: inline; }
  .mg-prompt-text { clip-path: none; }
  .mg-skill, .mg-grip { animation: none; }
}
@media (max-width: 900px) { .case-media-duo figure.mg-cell { min-height: 240px; } }
